{"version":3,"file":"unsupported-property.element-BLTHB_ZJ.js","sources":["../../../src/packages/core/property/components/property-layout/property-layout.element.ts","../../../src/packages/core/property/property-dataset/property-dataset-context.token.ts","../../../src/packages/core/property/property-dataset/nameable-property-dataset-context.token.ts","../../../src/packages/core/property/property-dataset/property-dataset-base-context.ts","../../../src/packages/core/property/property-dataset/property-dataset.element.ts","../../../src/packages/core/property/components/property/property.context.ts","../../../src/packages/core/property/components/property/property.element.ts","../../../src/packages/core/property/components/unsupported-property/unsupported-property.element.ts"],"sourcesContent":["import { css, customElement, html, property, when } from '@umbraco-cms/backoffice/external/lit';\r\nimport { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';\r\nimport { UmbTextStyles } from '@umbraco-cms/backoffice/style';\r\n\r\nimport '@umbraco-cms/backoffice/ufm';\r\n\r\n/**\r\n * @element umb-property-layout\r\n * @description - Element for displaying a property in an workspace.\r\n * @slot editor - Slot for rendering the Property Editor\r\n * @slot description - Slot for rendering things below the label.\r\n * @slot action-menu - Slot for rendering the Property Action Menu\r\n */\r\n@customElement('umb-property-layout')\r\nexport class UmbPropertyLayoutElement extends UmbLitElement {\r\n\t/**\r\n\t * Alias. The technical name of the property.\r\n\t * @type {string}\r\n\t * @attr\r\n\t * @default ''\r\n\t */\r\n\t@property({ type: String })\r\n\tpublic alias = '';\r\n\r\n\t/**\r\n\t * Label. Name of the property.\r\n\t * @type {string}\r\n\t * @attr\r\n\t * @default ''\r\n\t */\r\n\t@property({ type: String })\r\n\tpublic label = '';\r\n\r\n\t/**\r\n\t * Orientation: Horizontal is the default where label goes left and editor right.\r\n\t * Vertical is where label goes above the editor.\r\n\t * @enum ['horizontal', 'vertical']\r\n\t * @attr\r\n\t * @default ''\r\n\t */\r\n\t@property({ type: String, reflect: true })\r\n\tpublic orientation: 'horizontal' | 'vertical' = 'horizontal';\r\n\r\n\t/**\r\n\t * Description: render a description underneath the label.\r\n\t * @type {string}\r\n\t * @attr\r\n\t * @default ''\r\n\t */\r\n\t@property({ type: String })\r\n\tpublic description = '';\r\n\r\n\t/**\r\n\t * @description Make the property appear invalid.\r\n\t * @type {boolean}\r\n\t * @attr\r\n\t * @default undefined\r\n\t */\r\n\t@property({ type: Boolean, reflect: true })\r\n\tpublic invalid?: boolean;\r\n\r\n\t/**\r\n\t * @description Display a mandatory indicator.\r\n\t * @type {boolean}\r\n\t * @attr\r\n\t * @default false\r\n\t */\r\n\t@property({ type: Boolean, reflect: true })\r\n\tpublic mandatory?: boolean;\r\n\r\n\toverride render() {\r\n\t\t// TODO: Only show alias on label if user has access to DocumentType within settings:\r\n\t\treturn html`\r\n\t\t\t