{"version":3,"file":"collection-workspace-view.element-BSGEziPX.js","sources":["../../../src/packages/core/collection/workspace-view/collection-workspace-view.element.ts"],"sourcesContent":["import type { UmbCollectionConfiguration } from '../types.js';\r\nimport type { ManifestWorkspaceViewCollectionKind } from './types.js';\r\nimport { html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';\r\nimport { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';\r\n\r\n@customElement('umb-collection-workspace-view')\r\nexport class UmbCollectionWorkspaceViewElement extends UmbLitElement {\r\n\t@property({ type: Object, attribute: false })\r\n\tpublic manifest?: ManifestWorkspaceViewCollectionKind;\r\n\r\n\t@state()\r\n\tprotected _config?: UmbCollectionConfiguration;\r\n\r\n\t@state()\r\n\tprotected _filter?: unknown;\r\n\r\n\toverride render() {\r\n\t\tif (!this.manifest) return html`
No Manifest
`;\r\n\t\tif (!this.manifest.meta.collectionAlias) return html`
No Collection Alias in Manifest
`;\r\n\t\treturn html``;\r\n\t}\r\n}\r\n\r\nexport { UmbCollectionWorkspaceViewElement as element };\r\n\r\ndeclare global {\r\n\tinterface HTMLElementTagNameMap {\r\n\t\t'umb-collection-workspace-view': UmbCollectionWorkspaceViewElement;\r\n\t}\r\n}\r\n"],"names":["UmbCollectionWorkspaceViewElement","UmbLitElement","html","__decorateClass","property","state","customElement"],"mappings":";;;;;;;AAMa,IAAAA,IAAN,cAAgDC,EAAc;AAAA,EAU3D,SAAS;AACb,WAAC,KAAK,WACL,KAAK,SAAS,KAAK,kBACjBC;AAAA,WACE,KAAK,SAAS,KAAK,eAAe;AAAA,aAChC,KAAK,OAAO;AAAA,aACZ,KAAK,OAAO,uBAJyBA,iDADrBA;AAAA,EAKJ;AAEzB;AAhBQC,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,GAAO,CAAA;AAAA,GADhCJ,EAEL,WAAA,YAAA,CAAA;AAGGG,EAAA;AAAA,EADTE,EAAM;AAAA,GAJKL,EAKF,WAAA,WAAA,CAAA;AAGAG,EAAA;AAAA,EADTE,EAAM;AAAA,GAPKL,EAQF,WAAA,WAAA,CAAA;AAREA,IAANG,EAAA;AAAA,EADNG,EAAc,+BAA+B;AAAA,GACjCN,CAAA;"}