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,kBAAI,GACH,OAAO,KAAK,WAAW,cAAc,kBACtC,CACA,WAAI,GACH,OAAO,KAAK,WAAW,cAAc,SACtC,CACA,QAAI,GACH,OAAO,KAAK,QAAQ,IACrB,GAED,eAAe,IAAI,aAAe,eAAe,OAAO,WAAY,UAE3D,WAAY","file":"/npm/@proximus/lavender-modal@2.0.0-alpha.229/dist/index.es.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.48.0.\n * Original file: /npm/@proximus/lavender-modal@2.0.0-alpha.229/dist/index.es.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import \"@proximus/lavender-container\";\nimport \"@proximus/lavender-separator\";\nimport \"@proximus/lavender-layout\";\nimport \"@proximus/lavender-icon\";\nimport \"@proximus/lavender-heading\";\nimport \"@proximus/lavender-paragraph\";\nimport { createTemplate as e, propertyToAttributeSetter as t, renderTemplate as n } from \"@proximus/lavender-common\";\n//#region src/modal.css?inline\nvar r = \"*{box-sizing:border-box}#container{font-family:var(--px-font-family);font-size:var(--px-font-size-base);color:var(--px-color-text-neutral-default);width:inherit;border-radius:var(--px-radius-main);background-color:var(--px-color-background-surface-default);flex-wrap:nowrap;display:flex;overflow:hidden}#container.info{border-left:5px var(--px-color-icon-brand-default) solid}#container.success{border-left:5px var(--px-color-icon-purpose-success-default) solid}#container.warning{border-left:5px var(--px-color-icon-purpose-warning-default) solid}#container.error{border-left:5px var(--px-color-icon-purpose-error-default) solid}#container.has-close-button #icon-container{max-width:calc(100% - (var(--px-size-m) + var(--px-spacing-s-mobile)))}#content-container{padding:var(--px-padding-m-mobile);flex-grow:1;display:flex}#content-container px-vstack{flex-grow:1;max-height:100%}#media-container{display:none}::slotted(px-button-icon[slot=close-button]){top:var(--px-padding-m-mobile);right:var(--px-padding-m-mobile);position:absolute}dialog{box-shadow:none;box-sizing:border-box;max-width:calc(100% - (var(--px-spacing-s-mobile) * 2));max-height:calc(100% - (var(--px-spacing-s-mobile) * 2));background:0 0;border:0;border-radius:0;padding:0;animation:.3s ease-out forwards modalIn;transform:scale(.95)}dialog[open]{display:flex}::backdrop{-webkit-backdrop-filter:saturate(180%)blur(15px);backdrop-filter:saturate(180%)blur(15px);background:#0000004d}#content{max-height:12.5rem;overflow:auto}@media screen and (width>=48rem){dialog{max-width:calc(100% - (var(--px-spacing-s-tablet) * 2));max-height:calc(100% - (var(--px-spacing-s-tablet) * 2))}#container.has-close-button #icon-container{max-width:calc(100% - (var(--px-size-m) + var(--px-spacing-s-tablet)))}::slotted(px-button-icon[slot=close-button]){top:var(--px-padding-m-tablet);right:var(--px-padding-m-tablet);position:absolute}#content{max-height:25rem}}@media screen and (width>=64.0625rem){dialog{max-width:calc(100% - (var(--px-spacing-s-laptop) * 2));max-height:calc(100% - (var(--px-spacing-s-laptop) * 2))}#container.has-close-button #icon-container{max-width:calc(100% - (var(--px-size-m) + var(--px-spacing-s-laptop)))}::slotted(px-button-icon[slot=close-button]){top:var(--px-padding-m-laptop);right:var(--px-padding-m-laptop)}:host([media-src]) #container.has-close-button #icon-container{max-width:100%}:host([media-src]) #media-container{background-position:50%;background-repeat:no-repeat;background-size:cover;flex-shrink:0;flex-basis:25rem;display:block}}@media screen and (width>=69.875rem){#container{width:1080px}}@media screen and (width>=90.0625rem){dialog{max-width:calc(100% - (var(--px-spacing-s-desktop) * 2));max-height:calc(100% - (var(--px-spacing-s-desktop) * 2))}:host(:not([media-src])) #container.has-close-button #icon-container{max-width:calc(100% - (var(--px-size-m) + var(--px-spacing-s-desktop)))}::slotted(px-button-icon[slot=close-button]){top:var(--px-padding-m-desktop);right:var(--px-padding-m-desktop);position:absolute}}@keyframes modalIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}\", i = new CSSStyleSheet();\ni.replaceSync(r);\nvar a = \"px.lavender.modal.close\", o = [\n\t\"\",\n\t\"info\",\n\t\"success\",\n\t\"error\",\n\t\"warning\"\n], s = class r extends HTMLElement {\n\tstatic {\n\t\tthis.template = e(\"<dialog><div id=\\\"container\\\"><div id=\\\"content-container\\\"><px-vstack gap=\\\"default\\\" ><px-hstack id=\\\"icon-container\\\" gap=\\\"s\\\" align-items=\\\"flex-start\\\"><px-vstack gap=\\\"xs\\\"><px-h1 variant=\\\"title-l\\\"><slot name=\\\"title\\\"></slot></px-h1><px-p font-weight=\\\"title\\\"><slot name=\\\"description\\\"></slot></px-p></px-vstack></px-hstack><div id=\\\"content\\\"><slot name=\\\"content\\\"></slot><slot></slot></div><px-separator size=\\\"m\\\"></px-separator><px-stack\\n            gap=\\\"s\\\"\\n            justify-content=\\\"flex-end\\\"\\n            align-items=\\\"center\\\"\\n            align-items--mobile=\\\"stretch\\\"\\n            direction=\\\"row\\\"\\n            direction--mobile=\\\"column-reverse\\\"\\n          ><slot name=\\\"footer\\\"></slot></px-stack></px-vstack><slot name=\\\"close-button\\\"></slot></div><div id=\\\"media-container\\\"></div></div></dialog>\");\n\t}\n\tconstructor() {\n\t\tsuper(), this.onOpenClick = () => this.show(), this.onCloseClick = () => this.close(), this.onDialogCancel = () => this.close(), this.commandButtonCleanups = [], this.opener = null, this.openerElement = null, this.closerElement = null, this.attachShadow({ mode: \"open\" }), n(this.shadowRoot, r.template), this.shadowRoot.adoptedStyleSheets = [i];\n\t}\n\tconnectedCallback() {\n\t\tthis.$dialog.addEventListener(\"cancel\", this.onDialogCancel), this.addEventListenersToCommandButtons(), this.toggleDescriptionVisibility = this.toggleDescriptionVisibility.bind(this), this.toggleCloseButtonSafeArea = this.toggleCloseButtonSafeArea.bind(this), this.hasAttribute(\"open\") && this.show(), this.hasAttribute(\"openedby\") && this.addOpenListener(), this.hasAttribute(\"closedby\") && this.addCloseListener(this.getAttribute(\"closedby\")), this.toggleDescriptionVisibility(), this.$slotDescription?.addEventListener(\"slotchange\", this.toggleDescriptionVisibility), this.toggleCloseButtonSafeArea(), this.$slotCloseButton?.addEventListener(\"slotchange\", this.toggleCloseButtonSafeArea);\n\t}\n\tstatic get observedAttributes() {\n\t\treturn [\n\t\t\t\"open\",\n\t\t\t\"status\",\n\t\t\t\"media-src\",\n\t\t\t\"openedby\",\n\t\t\t\"closedby\",\n\t\t\t\"id\"\n\t\t];\n\t}\n\tattributeChangedCallback(e, t, n) {\n\t\tswitch (e) {\n\t\t\tcase \"open\":\n\t\t\t\tthis.isConnected && this.handleOpenChange();\n\t\t\t\tbreak;\n\t\t\tcase \"status\":\n\t\t\t\tthis.handleStatusChange(t, n);\n\t\t\t\tbreak;\n\t\t\tcase \"media-src\":\n\t\t\t\tthis.updateMediaSrc(n);\n\t\t\t\tbreak;\n\t\t\tcase \"openedby\":\n\t\t\t\tthis.isConnected && this.addOpenListener();\n\t\t\t\tbreak;\n\t\t\tcase \"closedby\":\n\t\t\t\tthis.isConnected && this.addCloseListener(n);\n\t\t\t\tbreak;\n\t\t\tcase \"id\": this.addEventListenersToCommandButtons();\n\t\t}\n\t}\n\tdisconnectedCallback() {\n\t\tthis.$dialog.removeEventListener(\"cancel\", this.onDialogCancel), this.$slotDescription?.removeEventListener(\"slotchange\", this.toggleDescriptionVisibility), this.$slotCloseButton?.removeEventListener(\"slotchange\", this.toggleCloseButtonSafeArea), this.removeCommandButtonListeners(), this.removeOpenListener(), this.removeCloseListener();\n\t}\n\taddEventListenersToCommandButtons() {\n\t\tthis.removeCommandButtonListeners(), this.id && document.querySelectorAll(`[commandfor=\"${this.id}\"]`).forEach((e) => {\n\t\t\te.getAttribute(\"command\") === \"show-modal\" ? (e.addEventListener(\"click\", this.onOpenClick), this.commandButtonCleanups.push(() => e.removeEventListener(\"click\", this.onOpenClick))) : e.getAttribute(\"command\") === \"close\" && (e.addEventListener(\"click\", this.onCloseClick), this.commandButtonCleanups.push(() => e.removeEventListener(\"click\", this.onCloseClick)));\n\t\t});\n\t}\n\tremoveCommandButtonListeners() {\n\t\tthis.commandButtonCleanups.forEach((e) => e()), this.commandButtonCleanups = [];\n\t}\n\thandleOpenChange() {\n\t\tthis.hasAttribute(\"open\") ? this.show() : this.close();\n\t}\n\thandleStatusChange(e, t) {\n\t\tif (o.includes(t) ? this.$titleContainer.setAttribute(\"color\", \"neutral\") : this.$titleContainer.hasAttribute(\"color\") && this.$titleContainer.removeAttribute(\"color\"), t === \"info\" ? this.$container.classList.add(\"info\") : this.$container.classList.remove(\"info\"), t === \"success\" ? this.$container.classList.add(\"success\") : this.$container.classList.remove(\"success\"), t === \"error\" ? this.$container.classList.add(\"error\") : this.$container.classList.remove(\"error\"), t === \"warning\" ? this.$container.classList.add(\"warning\") : this.$container.classList.remove(\"warning\"), t === null && this.$statusIcon) this.$statusIcon?.remove();\n\t\telse if (e === null && t && !this.$statusIcon) {\n\t\t\tlet e = document.createElement(\"px-icon\");\n\t\t\te.setAttribute(\"name\", this.getIcon(t)), e.setAttribute(\"from\", \"lavender\"), e.setAttribute(\"color\", `purpose-${t}`), e.setAttribute(\"size\", \"l\"), this.$iconContainer.prepend(e);\n\t\t} else this.$statusIcon?.setAttribute(\"name\", this.getIcon(t)), this.$statusIcon?.setAttribute(\"color\", `purpose-${t}`);\n\t}\n\tgetIcon(e) {\n\t\treturn e === \"success\" ? \"checkmark_fill\" : e === \"warning\" ? \"exclamation_mark_fill\" : e === \"error\" ? \"minus_fill\" : \"information_fill\";\n\t}\n\tshow() {\n\t\tthis.$dialog.showModal(), document.body.style.overflow = \"hidden\";\n\t}\n\tclose() {\n\t\tthis.$dialog.close(), document.body.style.overflow = \"\", this.dispatchEvent(new CustomEvent(a, {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t}));\n\t}\n\tupdateMediaSrc(e) {\n\t\tthis.$mediaContainer.style.backgroundImage = `url(${e})`;\n\t}\n\taddOpenListener() {\n\t\tthis.removeOpenListener(), this.$opener ? (this.openerElement = this.$opener, this.openerElement.addEventListener(\"click\", this.onOpenClick)) : (this.opener?.disconnect(), this.opener = new MutationObserver(() => {\n\t\t\tthis.$opener && (this.opener.disconnect(), this.opener = null, this.addOpenListener());\n\t\t}), this.opener.observe(document.body, {\n\t\t\tchildList: !0,\n\t\t\tsubtree: !0\n\t\t}));\n\t}\n\tremoveOpenListener() {\n\t\tthis.opener?.disconnect(), this.opener = null, this.openerElement?.removeEventListener(\"click\", this.onOpenClick), this.openerElement = null;\n\t}\n\taddCloseListener(e) {\n\t\te === \"none\" && this.$dialog?.setAttribute(\"closedby\", \"none\"), this.removeCloseListener(), e && e !== \"none\" && (this.closerElement = document.querySelector(`#${e}`), this.closerElement?.addEventListener(\"click\", this.onCloseClick));\n\t}\n\tremoveCloseListener() {\n\t\tthis.closerElement?.removeEventListener(\"click\", this.onCloseClick), this.closerElement = null;\n\t}\n\ttoggleDescriptionVisibility() {\n\t\tthis.$slottedDescription ? this.$descriptionContainer.style.display = \"block\" : this.$descriptionContainer.style.display = \"none\";\n\t}\n\ttoggleCloseButtonSafeArea() {\n\t\tthis.$slottedCloseButton ? this.$container?.classList.add(\"has-close-button\") : this.$container?.classList.contains(\"has-close-button\") && this.$container?.classList.remove(\"has-close-button\");\n\t}\n\tget $slottedCloseButton() {\n\t\treturn this.querySelector(\"[slot=\\\"close-button\\\"]\");\n\t}\n\tget $slotCloseButton() {\n\t\treturn this.shadowRoot.querySelector(\"slot[name=\\\"close-button\\\"]\");\n\t}\n\tget $slottedDescription() {\n\t\treturn this.querySelector(\"[slot=\\\"description\\\"]\");\n\t}\n\tget $slotDescription() {\n\t\treturn this.shadowRoot.querySelector(\"slot[name=\\\"description\\\"]\");\n\t}\n\tget $descriptionContainer() {\n\t\treturn this.shadowRoot.querySelector(\"px-p[font-weight=\\\"title\\\"]\");\n\t}\n\tget $titleContainer() {\n\t\treturn this.shadowRoot.querySelector(\"px-h1\");\n\t}\n\tget $opener() {\n\t\treturn document.querySelector(`px-button#${this.getAttribute(\"openedby\")}`);\n\t}\n\tget status() {\n\t\treturn this.getAttribute(\"status\");\n\t}\n\tset status(e) {\n\t\tt(this, \"status\", e);\n\t}\n\tget openedby() {\n\t\treturn this.getAttribute(\"openedby\");\n\t}\n\tset openedby(e) {\n\t\tt(this, \"openedby\", e);\n\t}\n\tget closedby() {\n\t\treturn this.getAttribute(\"closedby\");\n\t}\n\tset closedby(e) {\n\t\tt(this, \"closedby\", e);\n\t}\n\tget $closeButton() {\n\t\treturn this.shadowRoot.querySelector(\"px-button-icon\");\n\t}\n\tget $statusIcon() {\n\t\treturn this.$iconContainer.querySelector(\"#icon-container > px-icon\");\n\t}\n\tget $mediaContainer() {\n\t\treturn this.shadowRoot.querySelector(\"#media-container\");\n\t}\n\tget mediaSrc() {\n\t\treturn this.getAttribute(\"media-src\");\n\t}\n\tset mediaSrc(e) {\n\t\tt(this, \"media-src\", e);\n\t}\n\tget $container() {\n\t\treturn this.shadowRoot.querySelector(\"#container\");\n\t}\n\tget $iconContainer() {\n\t\treturn this.shadowRoot.querySelector(\"#icon-container\");\n\t}\n\tget $dialog() {\n\t\treturn this.shadowRoot.querySelector(\"dialog\");\n\t}\n\tget open() {\n\t\treturn this.$dialog.open;\n\t}\n};\ncustomElements.get(\"px-modal\") || customElements.define(\"px-modal\", s);\n//#endregion\nexport { s as Modal, o as statusValues };\n"]}