{"version":3,"file":"workspace-modal.element-CQ6UkzEM.js","sources":["../../../src/packages/core/workspace/modals/workspace-modal.element.ts"],"sourcesContent":["import { UmbTextStyles } from '@umbraco-cms/backoffice/style';\nimport type { CSSResultGroup } from '@umbraco-cms/backoffice/external/lit';\nimport { css, html, customElement, property } from '@umbraco-cms/backoffice/external/lit';\nimport type { UmbWorkspaceModalData } from '@umbraco-cms/backoffice/modal';\nimport { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';\n\n@customElement('umb-workspace-modal')\nexport class UmbWorkspaceModalElement extends UmbLitElement {\n\t@property({ attribute: false })\n\tdata?: UmbWorkspaceModalData;\n\n\t/**\n\t * TODO: Consider if this binding and events integration is the right for communicating back the modal handler. Or if we should go with some Context API. like a Modal Context API.\n\t *\n\t */\n\toverride render() {\n\t\treturn this.data ? html`` : '';\n\t}\n\n\tstatic override styles: CSSResultGroup = [\n\t\tUmbTextStyles,\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t`,\n\t];\n}\n\nexport default UmbWorkspaceModalElement;\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'umb-workspace-modal': UmbWorkspaceModalElement;\n\t}\n}\n"],"names":["UmbWorkspaceModalElement","UmbLitElement","html","UmbTextStyles","css","__decorateClass","property","customElement","UmbWorkspaceModalElement$1"],"mappings":";;;;;;;;AAOa,IAAAA,IAAN,cAAuCC,EAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlD,SAAS;AACjB,WAAO,KAAK,OAAOC,+BAAkC,KAAK,KAAK,UAAU,sBAAsB;AAAA,EAChG;AAWD;AArBaF,EAYI,SAAyB;AAAA,EACxCG;AAAA,EACAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAMD;AAlBAC,EAAA;AAAA,EADCC,EAAS,EAAE,WAAW,IAAO;AAAA,GADlBN,EAEZ,WAAA,QAAA,CAAA;AAFYA,IAANK,EAAA;AAAA,EADNE,EAAc,qBAAqB;AAAA,GACvBP,CAAA;AAuBb,MAAAQ,IAAeR;"}