@helvetia-design/core 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-alert-container.js +1 -1
- package/components/ds-app-footer.js +1 -1
- package/components/ds-app-navbar.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-brand-icon.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-header.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel-item.js +1 -1
- package/components/ds-carousel.js +1 -1
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-counter.js +1 -1
- package/components/ds-data-item.js +1 -1
- package/components/ds-data-label.js +1 -1
- package/components/ds-data-value.js +1 -1
- package/components/ds-data.js +1 -1
- package/components/ds-datepicker.js +1 -1
- package/components/ds-divider.js +1 -1
- package/components/ds-drawer.js +1 -1
- package/components/ds-file-upload.js +1 -1
- package/components/ds-heading.js +1 -1
- package/components/ds-hint-text.js +1 -1
- package/components/ds-hint-title.js +1 -1
- package/components/ds-hint.js +1 -1
- package/components/ds-icon.js +1 -1
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.js +1 -1
- package/components/ds-modal-header.js +1 -1
- package/components/ds-modal.js +1 -1
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-phone-input.js +1 -1
- package/components/ds-popup.js +1 -1
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-root.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.js +1 -1
- package/components/ds-select-option.js +1 -1
- package/components/ds-select.js +1 -1
- package/components/ds-shape.js +1 -1
- package/components/ds-sheet.js +1 -1
- package/components/ds-slider.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.js +1 -1
- package/components/ds-step.js +1 -1
- package/components/ds-steps.js +1 -1
- package/components/ds-tab-panel.js +1 -1
- package/components/ds-tab.js +1 -1
- package/components/ds-tabs.js +1 -1
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.js +1 -1
- package/components/index.js +1 -1
- package/components/p-3DnZqMoY.js +14 -0
- package/components/{p-Bl_soFOX.js → p-B0Z95Hj1.js} +1 -1
- package/components/{p-C2olRmZ-.js → p-B9El_sPq.js} +1 -1
- package/{dist/design-system/p-DqEwL34o.js → components/p-B9OReveE.js} +1 -1
- package/components/p-BB4SRrRj.js +4 -0
- package/components/{p-j7VsKeVd.js → p-BI_5Zbrm.js} +1 -1
- package/{dist/design-system/p-B3VN_5Hp.js → components/p-BPtibja3.js} +1 -1
- package/{dist/design-system/p-CZ_qlWWQ.js → components/p-BVNhJBnn.js} +1 -1
- package/components/{p-Dz4gbncy.js → p-C0OHfTQ0.js} +1 -1
- package/{dist/design-system/p-nVdGbZYj.js → components/p-C8OqQuJ7.js} +1 -1
- package/{dist/design-system/p-zuNnnG1x.js → components/p-CDNe0ZaI.js} +1 -1
- package/components/{p-CenSJbHh.js → p-CEPnyz7c.js} +1 -1
- package/components/{p-Dl7R2ZPs.js → p-CTSANrsO.js} +1 -1
- package/components/{p-Dl4u6w0V.js → p-C_1UxX8G.js} +1 -1
- package/components/{p-VWxo1gxA.js → p-CjK_T5vp.js} +1 -1
- package/components/{p-CaZA7z9r.js → p-CkQK5z17.js} +1 -1
- package/components/{p-CFt9NQdE.js → p-CpB1Qjh1.js} +1 -1
- package/components/p-D8RaAucx.js +5 -0
- package/components/p-DBqTFl8O.js +4 -0
- package/components/{p-BV65welS.js → p-DEnVBHne.js} +1 -1
- package/components/p-DFgZk16R.js +6 -0
- package/components/{p-BfVlVhQa.js → p-DO00xKgx.js} +1 -1
- package/components/p-DOP4fM2o.js +4 -0
- package/{dist/design-system/p-Bo3ozMyW.js → components/p-DaqLtBr3.js} +1 -1
- package/components/{p-EjCh38Af.js → p-Dbt7_-_D.js} +1 -1
- package/components/{p-BUZBtnQL.js → p-Dj9PaUM0.js} +1 -1
- package/components/{p-n8QXleYD.js → p-DpLrRYE7.js} +1 -1
- package/components/{p-Br89jVgJ.js → p-Dq0RGuR5.js} +1 -1
- package/components/{p-H-j7GE58.js → p-Dwybw1sf.js} +1 -1
- package/components/{p-B8nj0zHa.js → p-DyfdPmyS.js} +1 -1
- package/components/p-El2snbN5.js +4 -0
- package/components/p-V50XCJTN.js +4 -0
- package/components/{p-CpxLBgza.js → p-VwgiuJog.js} +1 -1
- package/components/{p-xQf4GJxM.js → p-hhVbp_AN.js} +1 -1
- package/components/{p-CiZ4PMen.js → p-qIRMq8Bl.js} +1 -1
- package/{dist/design-system/p-bTeo6KbL.js → components/p-vUPe8Qmy.js} +1 -1
- package/components/{p-CsftG7WI.js → p-xUHc9oRK.js} +1 -1
- package/dist/cjs/{array-CzUg2Ga6.js → array-DoZQchdZ.js} +2 -2
- package/dist/cjs/{breakpoints.decorator-CFC7J7xQ.js → breakpoints.decorator-Dm8t1zZX.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DPaQVsnU.js → breakpoints.subject-BPlVZABg.js} +3 -3
- package/dist/cjs/{config.utils-obklVSg-.js → config.utils-BC0OM7Do.js} +1 -1
- package/dist/cjs/{create-validator-decorator-D1N31xdI.js → create-validator-decorator-BthpaMGb.js} +1 -1
- package/dist/cjs/design-system.cjs.js +3 -3
- package/dist/cjs/{device-CkwueF-7.js → device-DoKzl-_E.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +7 -7
- package/dist/cjs/ds-alert-container.cjs.entry.js +6 -6
- package/dist/cjs/ds-app-footer.cjs.entry.js +6 -6
- package/dist/cjs/ds-app-navbar.cjs.entry.js +13 -13
- package/dist/cjs/ds-badge.cjs.entry.js +7 -7
- package/dist/cjs/ds-brand-icon_3.cjs.entry.js +25 -11
- package/dist/cjs/ds-button-group.cjs.entry.js +6 -6
- package/dist/cjs/ds-card-actions.cjs.entry.js +4 -4
- package/dist/cjs/ds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/ds-card-header.cjs.entry.js +5 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +7 -15
- package/dist/cjs/ds-card-title.cjs.entry.js +7 -7
- package/dist/cjs/ds-card.cjs.entry.js +6 -6
- package/dist/cjs/ds-carousel-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-carousel.cjs.entry.js +7 -7
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +11 -11
- package/dist/cjs/ds-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/ds-content_2.cjs.entry.js +15 -13
- package/dist/cjs/ds-counter.cjs.entry.js +12 -12
- package/dist/cjs/ds-data-item.cjs.entry.js +5 -5
- package/dist/cjs/ds-data-label.cjs.entry.js +4 -4
- package/dist/cjs/ds-data-value.cjs.entry.js +2 -2
- package/dist/cjs/ds-data.cjs.entry.js +4 -4
- package/dist/cjs/ds-datepicker.cjs.entry.js +10 -10
- package/dist/cjs/ds-divider_2.cjs.entry.js +15 -15
- package/dist/cjs/ds-drawer_2.cjs.entry.js +8 -8
- package/dist/cjs/ds-file-upload.cjs.entry.js +11 -11
- package/dist/cjs/ds-heading.cjs.entry.js +11 -30
- package/dist/cjs/ds-hint-text.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint-title.cjs.entry.js +2 -2
- package/dist/cjs/ds-hint.cjs.entry.js +10 -10
- package/dist/cjs/ds-icon_2.cjs.entry.js +16 -14
- package/dist/cjs/ds-input.cjs.entry.js +12 -12
- package/dist/cjs/ds-item.cjs.entry.js +6 -6
- package/dist/cjs/ds-label.cjs.entry.js +7 -7
- package/dist/cjs/ds-list.cjs.entry.js +6 -6
- package/dist/cjs/ds-modal-body.cjs.entry.js +2 -2
- package/dist/cjs/ds-modal-header.cjs.entry.js +2 -2
- package/dist/cjs/ds-modal.cjs.entry.js +6 -6
- package/dist/cjs/ds-notification.cjs.entry.js +7 -7
- package/dist/cjs/ds-number-input.cjs.entry.js +11 -11
- package/dist/cjs/ds-pagination.cjs.entry.js +11 -11
- package/dist/cjs/ds-phone-input.cjs.entry.js +11 -11
- package/dist/cjs/ds-progress-bar.cjs.entry.js +11 -11
- package/dist/cjs/ds-radio-group.cjs.entry.js +8 -8
- package/dist/cjs/ds-radio.cjs.entry.js +7 -7
- package/dist/cjs/ds-root.cjs.entry.js +9 -9
- package/dist/cjs/ds-segment-item.cjs.entry.js +4 -4
- package/dist/cjs/ds-segment.cjs.entry.js +9 -9
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +4 -4
- package/dist/cjs/ds-select-option.cjs.entry.js +4 -4
- package/dist/cjs/ds-select.cjs.entry.js +92 -138
- package/dist/cjs/ds-shape.cjs.entry.js +4 -4
- package/dist/cjs/ds-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ds-slider.cjs.entry.js +11 -11
- package/dist/cjs/ds-snackbar.cjs.entry.js +12 -12
- package/dist/cjs/ds-step-panel.cjs.entry.js +5 -5
- package/dist/cjs/ds-step.cjs.entry.js +5 -5
- package/dist/cjs/ds-steps.cjs.entry.js +6 -6
- package/dist/cjs/ds-tab-panel.cjs.entry.js +5 -5
- package/dist/cjs/ds-tab.cjs.entry.js +5 -5
- package/dist/cjs/ds-tabs.cjs.entry.js +7 -7
- package/dist/cjs/ds-tag-group.cjs.entry.js +2 -2
- package/dist/cjs/ds-tag.cjs.entry.js +7 -7
- package/dist/cjs/ds-text.cjs.entry.js +6 -6
- package/dist/cjs/ds-textarea.cjs.entry.js +9 -9
- package/dist/cjs/ds-toast.cjs.entry.js +10 -10
- package/dist/cjs/ds-toggle.cjs.entry.js +8 -8
- package/dist/cjs/ds-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{field.util-BZ0-f1v6.js → field.util-BtZI1wzx.js} +1 -1
- package/dist/cjs/{focus-Bv0hrXz3.js → focus-CWX7XV7l.js} +7 -4
- package/dist/cjs/{form-control-ByeZXHpq.js → form-control-DM3FxzL9.js} +1 -1
- package/dist/cjs/{has-value-CBVBjBwO.js → has-value-DWblEJUY.js} +1 -1
- package/dist/cjs/{heading.interfaces-C-G-ZqUa.js → heading.interfaces-BGskP9PB.js} +0 -2
- package/dist/cjs/{index-CwPTwAjW.js → index-CyaxwkZQ.js} +42 -28
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{isNaN-DIIUFyAr.js → isNaN-CEewdlJZ.js} +1 -1
- package/dist/cjs/{isNil-DrqNFqs2.js → isNil-D0mNOhrh.js} +1 -1
- package/dist/cjs/{listener-BKouf67K.js → listener-DOKLlUb5.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{logo.animation-Cuja-JN4.js → logo.animation-dvcSskVG.js} +2 -2
- package/dist/cjs/{lottie_light_html-C_mBwRBh.js → lottie_light_html-DzsXdx4w.js} +1 -1
- package/dist/cjs/{one-of-D0xhgLU-.js → one-of-D0uVlyvx.js} +1 -1
- package/dist/cjs/{required-HiflFAT7.js → required-BX5d5kDo.js} +1 -1
- package/dist/cjs/{resize.decorator-CqEDvHo5.js → resize.decorator-CHSUnK5V.js} +2 -2
- package/dist/cjs/{scroll-DCvj4nye.js → scroll-i0uYOSWH.js} +1 -1
- package/dist/cjs/{spinner.animation-CUVRmAW-.js → spinner.animation-DzuE_Ien.js} +2 -2
- package/dist/cjs/{svg-Cs3pO28w.js → svg-CH7qWfV-.js} +272 -195
- package/dist/cjs/{t-shirt-DWHArrUC.js → t-shirt-DqirWTL2.js} +2 -6
- package/dist/cjs/{tslib.es6-S4D9nLEw.js → tslib.es6-BZEK5U4Y.js} +1 -1
- package/dist/cjs/{type-7b7yRER9.js → type-CwlDjRSC.js} +1 -1
- package/dist/cjs/{upperFirst-cad3Eler.js → upperFirst-DMFyd865.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/actions/button/button.js +36 -2
- package/dist/collection/components/actions/button/test/button.component.play.js +53 -0
- package/dist/collection/components/forms/counter/counter.host.css +1 -1
- package/dist/collection/components/forms/counter/counter.js +5 -3
- package/dist/collection/components/forms/datepicker/datepicker.host.css +1 -1
- package/dist/collection/components/forms/file-upload/file-upload.host.css +1 -1
- package/dist/collection/components/forms/input/input.host.css +1 -1
- package/dist/collection/components/forms/input/input.js +3 -1
- package/dist/collection/components/forms/number-input/number-input.host.css +1 -1
- package/dist/collection/components/forms/phone-input/phone-input.host.css +1 -1
- package/dist/collection/components/forms/select/select.host.css +1 -1
- package/dist/collection/components/forms/slider/slider.host.css +1 -1
- package/dist/collection/components/forms/textarea/textarea.host.css +1 -1
- package/dist/collection/components/forms/toggle/toggle.host.css +1 -1
- package/dist/collection/components/indicators/spinner/spinner.js +5 -3
- package/dist/collection/components/structure/card/card-subtitle/card-subtitle.js +5 -37
- package/dist/collection/components/structure/content/content.js +3 -3
- package/dist/collection/components/structure/divider/divider.js +3 -3
- package/dist/collection/components/structure/heading/heading.const.js +0 -8
- package/dist/collection/components/structure/heading/heading.host.css +1 -1
- package/dist/collection/components/structure/heading/heading.interfaces.js +0 -1
- package/dist/collection/components/structure/heading/heading.js +5 -42
- package/dist/collection/components/structure/heading/test/heading.a11y.play.js +3 -8
- package/dist/collection/components/structure/stack/stack.interfaces.js +2 -2
- package/dist/collection/components/structure/stack/stack.js +10 -8
- package/dist/collection/components/structure/stack/test/stack.component.play.js +27 -1
- package/dist/collection/foundation/normalize.component.play.js +39 -0
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/collection/utils/t-shirt.js +7 -6
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-503bfc3ac4.entry.js → p-083f25371d.entry.js} +1 -1
- package/dist/design-system/{p-5ca9a48d4a.entry.js → p-08cc8257b5.entry.js} +1 -1
- package/dist/design-system/{p-BBgONt6X.js → p-0Tzaj6-a.js} +1 -1
- package/dist/design-system/{p-9f37df0fe5.entry.js → p-0be74307ee.entry.js} +1 -1
- package/dist/design-system/{p-cd86672996.entry.js → p-12008e4b4a.entry.js} +1 -1
- package/dist/design-system/{p-0b66853b5b.entry.js → p-1ca8c93650.entry.js} +1 -1
- package/dist/design-system/{p-65762bf10a.entry.js → p-1e2fdd526f.entry.js} +1 -1
- package/dist/design-system/{p-d03b0204bf.entry.js → p-227bf7005f.entry.js} +1 -1
- package/dist/design-system/{p-f1c14f2d6d.entry.js → p-273efbd0f4.entry.js} +1 -1
- package/dist/design-system/{p-53a026d51f.entry.js → p-2984e0c419.entry.js} +1 -1
- package/dist/design-system/p-2b04230249.entry.js +4 -0
- package/dist/design-system/p-3790705fde.entry.js +4 -0
- package/dist/design-system/{p-868cdfa283.entry.js → p-387808b33b.entry.js} +1 -1
- package/dist/design-system/{p-fbea94a9f1.entry.js → p-4434546768.entry.js} +1 -1
- package/dist/design-system/{p-068ccfad8e.entry.js → p-4560cd05e2.entry.js} +1 -1
- package/dist/design-system/{p-aa818d939d.entry.js → p-46f29960b4.entry.js} +1 -1
- package/dist/design-system/{p-293c1d7f54.entry.js → p-4722d55123.entry.js} +1 -1
- package/dist/design-system/p-49ec36993d.entry.js +4 -0
- package/dist/design-system/{p-5861eed0cd.entry.js → p-5448f94833.entry.js} +1 -1
- package/dist/design-system/{p-0aa4490aef.entry.js → p-590395ca65.entry.js} +1 -1
- package/dist/design-system/{p-26dfe27017.entry.js → p-6317524d37.entry.js} +1 -1
- package/dist/design-system/{p-4859ab8eef.entry.js → p-68c0b49d0f.entry.js} +1 -1
- package/dist/design-system/{p-45f3014f29.entry.js → p-6d133bb1c4.entry.js} +1 -1
- package/dist/design-system/{p-7e0181bf02.entry.js → p-707ddadb07.entry.js} +1 -1
- package/dist/design-system/{p-4d73ae2824.entry.js → p-70d98ea08d.entry.js} +1 -1
- package/dist/design-system/{p-4eaac5ca6b.entry.js → p-72843320f7.entry.js} +1 -1
- package/dist/design-system/{p-2345e9fed5.entry.js → p-78fa42f19b.entry.js} +1 -1
- package/dist/design-system/{p-8d04a63919.entry.js → p-7c1ce160fe.entry.js} +1 -1
- package/dist/design-system/{p-14569675ee.entry.js → p-812fca6694.entry.js} +1 -1
- package/dist/design-system/{p-9cb2b5b812.entry.js → p-836ac75016.entry.js} +1 -1
- package/dist/design-system/{p-3543892968.entry.js → p-8734bc6735.entry.js} +1 -1
- package/dist/design-system/{p-03b95da587.entry.js → p-8d919b39a2.entry.js} +1 -1
- package/dist/design-system/{p-24adf9e503.entry.js → p-8e0ce35e32.entry.js} +1 -1
- package/dist/design-system/p-8ecf64f703.entry.js +4 -0
- package/dist/design-system/{p-cf785c381a.entry.js → p-903d110824.entry.js} +1 -1
- package/dist/design-system/{p-fe1e907d10.entry.js → p-94a8f24fe1.entry.js} +1 -1
- package/dist/design-system/p-9705c44121.entry.js +4 -0
- package/dist/design-system/{p-a5ddb670f6.entry.js → p-98a83e848d.entry.js} +1 -1
- package/dist/design-system/{p-6fb65596cb.entry.js → p-9ada63ba4b.entry.js} +1 -1
- package/dist/design-system/p-B0WMymhT.js +4 -0
- package/dist/design-system/{p-CqgSz7Zj.js → p-B6z5TnDK.js} +1 -1
- package/dist/design-system/p-B7VRmbiX.js +14 -0
- package/{components/p-BF-2xfmq.js → dist/design-system/p-B8_nVD8J.js} +1 -1
- package/{components/p-B3VN_5Hp.js → dist/design-system/p-BPtibja3.js} +1 -1
- package/dist/design-system/{p-DQwXy0j5.js → p-BXt6QjIx.js} +1 -1
- package/dist/design-system/{p-DWaM_oN0.js → p-BYD3IPs8.js} +1 -1
- package/dist/design-system/p-BZEWgXed.js +6 -0
- package/{components/p-C7Qb2sJV.js → dist/design-system/p-BZsCW9yV.js} +1 -1
- package/dist/design-system/p-BaZBnuEF.js +4 -0
- package/{components/p-CxDrGhiv.js → dist/design-system/p-Bwb-pdM2.js} +1 -1
- package/dist/design-system/{p-CnMdxr0m.js → p-C0WbBTf4.js} +1 -1
- package/dist/design-system/p-CBGuu-I2.js +4 -0
- package/dist/design-system/p-CZXt-zTQ.js +4 -0
- package/{components/p-Bv45jA_n.js → dist/design-system/p-D4hbhLgQ.js} +1 -1
- package/dist/design-system/p-D9mt3Oq6.js +4 -0
- package/dist/design-system/{p-PoatOrqI.js → p-DDkg6jid.js} +1 -1
- package/{components/p-PmBBNJAS.js → dist/design-system/p-DE5aqD5-.js} +1 -1
- package/dist/design-system/p-DFgZk16R.js +6 -0
- package/dist/design-system/{p-CvAtwmbq.js → p-DYqA7KF0.js} +1 -1
- package/dist/design-system/p-Dd1T3Uhf.js +4 -0
- package/dist/design-system/p-Dw7BDW7b.js +4 -0
- package/dist/design-system/{p-DtLg8ChN.js → p-FibyOiqE.js} +1 -1
- package/{components/p-C6y5h01N.js → dist/design-system/p-GV5U_dO3.js} +1 -1
- package/dist/design-system/{p-C8zA_Viz.js → p-ZGXsBgE3.js} +1 -1
- package/dist/design-system/{p-ecfec0f033.entry.js → p-a2921f8048.entry.js} +1 -1
- package/dist/design-system/{p-355ad7eb13.entry.js → p-a3755079c9.entry.js} +1 -1
- package/dist/design-system/{p-46bd8e78a8.entry.js → p-a4621dc9f7.entry.js} +1 -1
- package/dist/design-system/{p-945c165b6b.entry.js → p-a99f6b63d3.entry.js} +1 -1
- package/dist/design-system/{p-a4a063f280.entry.js → p-ac0d1f82c0.entry.js} +1 -1
- package/dist/design-system/p-b5c2efdef4.entry.js +4 -0
- package/dist/design-system/{p-d63e48925b.entry.js → p-b64cafbcbf.entry.js} +1 -1
- package/dist/design-system/{p-66e34dc71f.entry.js → p-b7b13b1f3a.entry.js} +1 -1
- package/dist/design-system/{p-0bc7faf8c4.entry.js → p-b81604634a.entry.js} +1 -1
- package/dist/design-system/{p-c7943ebfc0.entry.js → p-ba7800f8e6.entry.js} +1 -1
- package/dist/design-system/{p-9be15dfb8d.entry.js → p-bcadbbe619.entry.js} +1 -1
- package/dist/design-system/p-bdbf9a394c.entry.js +4 -0
- package/dist/design-system/{p-51fed987db.entry.js → p-bfa52f09c1.entry.js} +1 -1
- package/dist/design-system/{p-6354401906.entry.js → p-c0efe2d99d.entry.js} +1 -1
- package/dist/design-system/{p-8226ff1223.entry.js → p-c1058ab51d.entry.js} +1 -1
- package/dist/design-system/{p-d9c00436ba.entry.js → p-c7b33c067e.entry.js} +1 -1
- package/dist/design-system/p-d2c33fa11f.entry.js +4 -0
- package/dist/design-system/p-d429f6e937.entry.js +4 -0
- package/dist/design-system/{p-21e0f63b01.entry.js → p-d85136052d.entry.js} +1 -1
- package/dist/design-system/{p-1e2c6ef668.entry.js → p-dcab67df56.entry.js} +1 -1
- package/dist/design-system/{p-e5c6227929.entry.js → p-dcc1c89e7a.entry.js} +1 -1
- package/dist/design-system/{p-64911e079d.entry.js → p-e6ac93cc12.entry.js} +1 -1
- package/dist/design-system/{p-a2d5d98d3a.entry.js → p-e862697fd0.entry.js} +1 -1
- package/dist/design-system/p-eae2a1547c.entry.js +4 -0
- package/dist/design-system/{p-da193757b7.entry.js → p-ebbec13d79.entry.js} +1 -1
- package/dist/design-system/{p-8f47eaa1b3.entry.js → p-ee0928114d.entry.js} +1 -1
- package/dist/design-system/{p-65dc693177.entry.js → p-eea3eb3953.entry.js} +1 -1
- package/dist/design-system/{p-e3942a6edb.entry.js → p-eff94c9727.entry.js} +1 -1
- package/dist/design-system/{p-ec64c341a0.entry.js → p-f799b1412c.entry.js} +1 -1
- package/dist/design-system/{p-20067695d5.entry.js → p-fd42d172be.entry.js} +1 -1
- package/dist/design-system/{p-bdb708d712.entry.js → p-fd53c6d59f.entry.js} +1 -1
- package/{components/p-DwoEAAFz.js → dist/design-system/p-reH0cIhP.js} +1 -1
- package/dist/esm/{array-DoJNFnXv.js → array-e_JtE-nB.js} +2 -2
- package/dist/esm/{breakpoints.decorator-CnkvAW5b.js → breakpoints.decorator-BCEvQ01q.js} +1 -1
- package/dist/esm/{breakpoints.subject-I5r5lNF8.js → breakpoints.subject-1t_GD0pz.js} +3 -3
- package/dist/esm/{config.utils-Dp02shGd.js → config.utils-C2ZxpLao.js} +1 -1
- package/dist/esm/{create-validator-decorator-C9h9tdvI.js → create-validator-decorator-DoOlbRcm.js} +1 -1
- package/dist/esm/design-system.js +4 -4
- package/dist/esm/{device-Cgmtx8Rt.js → device-C6cGaC0a.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +7 -7
- package/dist/esm/ds-alert-container.entry.js +6 -6
- package/dist/esm/ds-app-footer.entry.js +6 -6
- package/dist/esm/ds-app-navbar.entry.js +13 -13
- package/dist/esm/ds-badge.entry.js +7 -7
- package/dist/esm/ds-brand-icon_3.entry.js +25 -11
- package/dist/esm/ds-button-group.entry.js +6 -6
- package/dist/esm/ds-card-actions.entry.js +4 -4
- package/dist/esm/ds-card-content.entry.js +2 -2
- package/dist/esm/ds-card-header.entry.js +5 -5
- package/dist/esm/ds-card-subtitle.entry.js +7 -15
- package/dist/esm/ds-card-title.entry.js +7 -7
- package/dist/esm/ds-card.entry.js +6 -6
- package/dist/esm/ds-carousel-item.entry.js +6 -6
- package/dist/esm/ds-carousel.entry.js +7 -7
- package/dist/esm/ds-checkbox-group.entry.js +11 -11
- package/dist/esm/ds-checkbox.entry.js +8 -8
- package/dist/esm/ds-content_2.entry.js +15 -13
- package/dist/esm/ds-counter.entry.js +12 -12
- package/dist/esm/ds-data-item.entry.js +5 -5
- package/dist/esm/ds-data-label.entry.js +4 -4
- package/dist/esm/ds-data-value.entry.js +2 -2
- package/dist/esm/ds-data.entry.js +4 -4
- package/dist/esm/ds-datepicker.entry.js +10 -10
- package/dist/esm/ds-divider_2.entry.js +15 -15
- package/dist/esm/ds-drawer_2.entry.js +8 -8
- package/dist/esm/ds-file-upload.entry.js +11 -11
- package/dist/esm/ds-heading.entry.js +11 -30
- package/dist/esm/ds-hint-text.entry.js +2 -2
- package/dist/esm/ds-hint-title.entry.js +2 -2
- package/dist/esm/ds-hint.entry.js +10 -10
- package/dist/esm/ds-icon_2.entry.js +16 -14
- package/dist/esm/ds-input.entry.js +12 -12
- package/dist/esm/ds-item.entry.js +6 -6
- package/dist/esm/ds-label.entry.js +7 -7
- package/dist/esm/ds-list.entry.js +6 -6
- package/dist/esm/ds-modal-body.entry.js +2 -2
- package/dist/esm/ds-modal-header.entry.js +2 -2
- package/dist/esm/ds-modal.entry.js +6 -6
- package/dist/esm/ds-notification.entry.js +7 -7
- package/dist/esm/ds-number-input.entry.js +11 -11
- package/dist/esm/ds-pagination.entry.js +11 -11
- package/dist/esm/ds-phone-input.entry.js +11 -11
- package/dist/esm/ds-progress-bar.entry.js +11 -11
- package/dist/esm/ds-radio-group.entry.js +8 -8
- package/dist/esm/ds-radio.entry.js +7 -7
- package/dist/esm/ds-root.entry.js +9 -9
- package/dist/esm/ds-segment-item.entry.js +4 -4
- package/dist/esm/ds-segment.entry.js +9 -9
- package/dist/esm/ds-select-optgroup.entry.js +4 -4
- package/dist/esm/ds-select-option.entry.js +4 -4
- package/dist/esm/ds-select.entry.js +92 -138
- package/dist/esm/ds-shape.entry.js +4 -4
- package/dist/esm/ds-sheet.entry.js +4 -4
- package/dist/esm/ds-slider.entry.js +11 -11
- package/dist/esm/ds-snackbar.entry.js +12 -12
- package/dist/esm/ds-step-panel.entry.js +5 -5
- package/dist/esm/ds-step.entry.js +5 -5
- package/dist/esm/ds-steps.entry.js +6 -6
- package/dist/esm/ds-tab-panel.entry.js +5 -5
- package/dist/esm/ds-tab.entry.js +5 -5
- package/dist/esm/ds-tabs.entry.js +7 -7
- package/dist/esm/ds-tag-group.entry.js +2 -2
- package/dist/esm/ds-tag.entry.js +7 -7
- package/dist/esm/ds-text.entry.js +6 -6
- package/dist/esm/ds-textarea.entry.js +9 -9
- package/dist/esm/ds-toast.entry.js +10 -10
- package/dist/esm/ds-toggle.entry.js +8 -8
- package/dist/esm/ds-tooltip.entry.js +5 -5
- package/dist/esm/{field.util-Df-hqJaT.js → field.util-Bynx8isK.js} +1 -1
- package/dist/esm/{focus-DD2is1gX.js → focus-DxBiWf5t.js} +7 -4
- package/dist/esm/{form-control-BJWSlSG_.js → form-control-CDcwGSHl.js} +1 -1
- package/dist/esm/{has-value-gNK_M3-3.js → has-value-Bo85hk4Z.js} +1 -1
- package/dist/esm/{heading.interfaces-QyQjrb1P.js → heading.interfaces-CZXt-zTQ.js} +1 -2
- package/dist/esm/{index-vF16SDFF.js → index-BZEWgXed.js} +42 -28
- package/dist/esm/index.js +8 -8
- package/dist/esm/{isNaN-7y2s4B42.js → isNaN-CnSbS9y5.js} +1 -1
- package/dist/esm/{isNil-CdsPICws.js → isNil-CSyb5N-K.js} +1 -1
- package/dist/esm/{listener-CoC_59Q5.js → listener-D0i_9cCL.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{logo.animation-DFnRNKvb.js → logo.animation-d3SUvNsa.js} +2 -2
- package/dist/esm/{lottie_light_html-DcbRcQ3w.js → lottie_light_html-BvqthL78.js} +1 -1
- package/dist/esm/{one-of-0XcP43f0.js → one-of-CEp_lE0A.js} +1 -1
- package/dist/esm/{required-BbKCKkv2.js → required-DFokOkqn.js} +1 -1
- package/dist/esm/{resize.decorator-DuBNoG5Y.js → resize.decorator-BFNXd4pc.js} +2 -2
- package/dist/esm/{scroll-w5Ky8GVa.js → scroll-Dg5YCtp0.js} +1 -1
- package/dist/esm/{spinner.animation-Dy_M0hD_.js → spinner.animation-jNZuSaBw.js} +2 -2
- package/dist/esm/{svg-BNUaCToz.js → svg-DFgZk16R.js} +272 -195
- package/dist/esm/{t-shirt-B3VN_5Hp.js → t-shirt-BPtibja3.js} +2 -6
- package/dist/esm/{tslib.es6-CJY5Vco2.js → tslib.es6-syzWW8yN.js} +1 -1
- package/dist/esm/{type-CGNubZpn.js → type-Djd2i_VN.js} +1 -1
- package/dist/esm/{upperFirst-oiegw5tz.js → upperFirst-DpjZayHD.js} +1 -1
- package/dist/types/components/actions/button/button.d.ts +4 -0
- package/dist/types/components/forms/counter/counter.d.ts +2 -0
- package/dist/types/components/forms/input/input.d.ts +2 -0
- package/dist/types/components/structure/card/card-subtitle/card-subtitle.d.ts +1 -6
- package/dist/types/components/structure/content/content.d.ts +1 -1
- package/dist/types/components/structure/divider/divider.d.ts +1 -1
- package/dist/types/components/structure/heading/heading.const.d.ts +0 -3
- package/dist/types/components/structure/heading/heading.d.ts +1 -6
- package/dist/types/components/structure/heading/heading.interfaces.d.ts +0 -2
- package/dist/types/components/structure/stack/stack.interfaces.d.ts +2 -2
- package/dist/types/components.d.ts +21 -28
- package/dist/types/foundation/normalize.component.play.d.ts +1 -0
- package/dist/types/utils/t-shirt.d.ts +5 -0
- package/docs/cem.json +50 -76
- package/docs/components.json +104 -135
- package/docs/html.html-data.json +25 -45
- package/hydrate/index.js +846 -604
- package/hydrate/index.mjs +846 -604
- package/package.json +15 -15
- package/sbom.cdx.json +8518 -8719
- package/components/p-AjhCP5sN.js +0 -4
- package/components/p-BKQaXv5U.js +0 -5
- package/components/p-BNUaCToz.js +0 -6
- package/components/p-CeFbrWv3.js +0 -14
- package/components/p-Cpaj76bt.js +0 -4
- package/components/p-CvM0ZzoU.js +0 -4
- package/components/p-QyQjrb1P.js +0 -4
- package/components/p-ZM4hf44X.js +0 -4
- package/dist/design-system/p-0be478196e.entry.js +0 -4
- package/dist/design-system/p-0fdfaf35ed.entry.js +0 -4
- package/dist/design-system/p-1610742ec0.entry.js +0 -4
- package/dist/design-system/p-5996168bba.entry.js +0 -4
- package/dist/design-system/p-6722fff689.entry.js +0 -4
- package/dist/design-system/p-6996c344f7.entry.js +0 -4
- package/dist/design-system/p-7b3106cdba.entry.js +0 -4
- package/dist/design-system/p-82f48d1748.entry.js +0 -4
- package/dist/design-system/p-BDn2kGoY.js +0 -14
- package/dist/design-system/p-BJZKXpi_.js +0 -4
- package/dist/design-system/p-BNUaCToz.js +0 -6
- package/dist/design-system/p-BVkfpg--.js +0 -4
- package/dist/design-system/p-BwDOnHtD.js +0 -4
- package/dist/design-system/p-C2tiilHE.js +0 -4
- package/dist/design-system/p-CYTkqxYD.js +0 -4
- package/dist/design-system/p-DljpDnEC.js +0 -4
- package/dist/design-system/p-QyQjrb1P.js +0 -4
- package/dist/design-system/p-a942075486.entry.js +0 -4
- package/dist/design-system/p-bAyVKTSh.js +0 -4
- package/dist/design-system/p-e9c5ac32da.entry.js +0 -4
- package/dist/design-system/p-vF16SDFF.js +0 -6
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const t="hydrated";class e{get width(){return n.hasWindow?window.innerWidth:0}get height(){return n.hasWindow?window.innerHeight:0}}const n=new class{constructor(){this.window=new e}get isSafari(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)}get hasWindow(){return"undefined"!=typeof window}get hasNavigator(){return"undefined"!=typeof navigator}get hasDocument(){return"undefined"!=typeof document}get userAgent(){var t;return this.hasWindow&&this.hasNavigator&&null!==(t=navigator.userAgent)&&void 0!==t?t:""}},s=":where(ds-accordion,ds-alert-container,ds-app-footer,ds-app-navbar,ds-badge,ds-brand-icon,ds-button,ds-button-group,ds-card,ds-card-actions,ds-card-content,ds-card-header,ds-card-subtitle,ds-card-title,ds-carousel,ds-carousel-item,ds-checkbox,ds-checkbox-group,ds-close,ds-content,ds-counter,ds-data,ds-data-item,ds-data-label,ds-data-value,ds-datepicker,ds-divider,ds-drawer,ds-file-upload,ds-heading,ds-hint,ds-hint-text,ds-hint-title,ds-icon,ds-input,ds-item,ds-label,ds-list,ds-logo,ds-modal,ds-modal-body,ds-modal-header,ds-notification,ds-number-input,ds-pagination,ds-phone-input,ds-popup,ds-progress-bar,ds-radio,ds-radio-group,ds-root,ds-segment,ds-segment-item,ds-select,ds-select-optgroup,ds-select-option,ds-shape,ds-sheet,ds-slider,ds-snackbar,ds-spinner,ds-stack,ds-step,ds-step-panel,ds-steps,ds-tab,ds-tab-panel,ds-tabs,ds-tag,ds-tag-group,ds-text,ds-textarea,ds-toast,ds-toggle,ds-tooltip):not(:defined):not(.hydrated){visibility:hidden}@media (scripting: none){:where(ds-accordion,ds-alert-container,ds-app-footer,ds-app-navbar,ds-badge,ds-brand-icon,ds-button,ds-button-group,ds-card,ds-card-actions,ds-card-content,ds-card-header,ds-card-subtitle,ds-card-title,ds-carousel,ds-carousel-item,ds-checkbox,ds-checkbox-group,ds-close,ds-content,ds-counter,ds-data,ds-data-item,ds-data-label,ds-data-value,ds-datepicker,ds-divider,ds-drawer,ds-file-upload,ds-heading,ds-hint,ds-hint-text,ds-hint-title,ds-icon,ds-input,ds-item,ds-label,ds-list,ds-logo,ds-modal,ds-modal-body,ds-modal-header,ds-notification,ds-number-input,ds-pagination,ds-phone-input,ds-popup,ds-progress-bar,ds-radio,ds-radio-group,ds-root,ds-segment,ds-segment-item,ds-select,ds-select-optgroup,ds-select-option,ds-shape,ds-sheet,ds-slider,ds-snackbar,ds-spinner,ds-stack,ds-step,ds-step-panel,ds-steps,ds-tab,ds-tab-panel,ds-tabs,ds-tag,ds-tag-group,ds-text,ds-textarea,ds-toast,ds-toggle,ds-tooltip):not(:defined):not(.hydrated){visibility:visible}}/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}:host{-webkit-box-sizing:border-box;box-sizing:border-box}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}";var o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),i=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(i||{}),l="type",r="value",c="serialized:";function d(t,e,n){const s="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==s;){const s=Object.getOwnPropertyDescriptor(t,e);if(s&&(!n||s.get))return s;t=Object.getPrototypeOf(t)}}var a,u=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[s]])=>{if(31&s||32&s){const s=t[n],o=d(Object.getPrototypeOf(t),n,!0)||Object.getOwnPropertyDescriptor(t,n);o&&Object.defineProperty(t,n,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(n)?t[n]=e.i.get(n):void 0!==s&&(t[n]=s)}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,e)=>e in t,p=(t,e)=>(0,console.error)(t,e),b=new Map,g="s-id",v="sty-id",m="c-id",$="http://www.w3.org/1999/xlink",y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w="undefined"!=typeof window?window:{},j=w.HTMLElement||class{},O={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},S=t=>{Object.assign(O,t)},x=(()=>{var t;let e=!1;try{null==(t=w.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),N=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),k=!!N&&(()=>!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable)(),C=!1,E=[],M=[],A=()=>{var t;return(null==(t=w.document)?void 0:t.hidden)?setTimeout(L,16):O.raf(L)},I=(t,e)=>n=>{t.push(n),C||(C=!0,e&&4&O.l?_(L):A())},T=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){p(t)}t.length=0},L=()=>{T(E),T(M),(C=E.length>0)&&A()},_=t=>Promise.resolve(undefined).then(t),R=I(M,!0),B=t=>{const e=new URL(t,O.u);return e.origin!==w.location.origin?e.href:e.pathname},D=t=>O.u=t;function z(){var t;const e=this.attachShadow({mode:"open"});if(void 0===a&&(a=null!=(t=function(t){if(!N)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(s))?t:null),a)k?e.adoptedStyleSheets.push(a):e.adoptedStyleSheets=[...e.adoptedStyleSheets,a];else if(!N){const t=document.createElement("style");t.innerHTML=s,e.prepend(t)}}var F=t=>{const e=bt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&V(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!W(t,q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&bt(t,"childNodes").length&&F(t)}},U=t=>{const e=[];for(let n=0;n<t.length;n++){const s=t[n]["s-nr"]||void 0;s&&s.isConnected&&e.push(s)}return e};function V(t,e,n){let s,o=0,i=[];for(;o<t.length;o++){if(s=t[o],s["s-sr"]&&(!e||s["s-hn"]===e)&&(void 0===n||q(s)===n)&&(i.push(s),void 0!==n))return i;i=[...i,...V(bt(s,"childNodes"),e,n)]}return i}var W=(t,e,n=!0)=>{const s=[];(n&&t["s-sr"]||!t["s-sr"])&&s.push(t);let o=t;for(;o=o.nextSibling;)q(o)!==e||!n&&o["s-sr"]||s.push(o);return s},H=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,P=(t,e,n,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const i=e["s-cr"].parentNode,l=bt(i,n?"prepend":"appendChild");if(void 0!==s){o["s-oo"]=s;const t=bt(i,"childNodes"),e=[o];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function Y(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],s=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:U(o.childNodes)).forEach((t=>{s===q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function J(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Z(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=t["s-sn"]=q(t)||"";return{slotNode:V(bt(e,"childNodes"),e.tagName,s)[0],slotName:s}}var G=t=>{if(t.__cloneNode)return;const e=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,s=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;n<i.length;n++)t=i[n]["s-nr"],e=o.every((t=>!i[n][t])),t&&(s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),e&&s.appendChild(i[n].cloneNode(!0))}return s}},K=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=Z(t,this);if(n){P(t,n);const s=W(n,e),o=s[s.length-1],i=bt(o,"parentNode"),l=bt(i,"insertBefore")(t,o.nextSibling);return J(n),F(this),l}return this.__appendChild(t)})},Q=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&V(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void F(this)):this.__removeChild(t)})},X=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=q(e))||"",s=V(bt(this,"childNodes"),this.tagName,n)[0];if(s){P(e,s,!0);const t=W(s,n)[0],o=bt(t,"parentNode"),i=bt(o,"insertBefore")(e,bt(t,"nextSibling"));return J(s),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},tt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},et=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===t)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===t)for(;o=s.firstChild;)this.append(o)}},nt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},st=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:s}=Z(t,this),o=this.__childNodes?this.childNodes:U(this.childNodes);if(s){let i=!1;if(o.forEach((o=>{if(o!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){P(t,s);const n=bt(e,"parentNode");bt(n,"insertBefore")(t,e),J(s)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},ot=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},it=t=>{pt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:U(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:U(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},lt=t=>{class e extends Array{item(t){return this[t]}}pt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),pt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),pt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),pt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...U(this.__childNodes)),t}})},rt=t=>{t&&!t.__nextSibling&&(pt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextSibling}}))},ct=t=>{t&&!t.__nextElementSibling&&(pt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextElementSibling}}))},dt=t=>{t&&!t.__previousSibling&&(pt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousSibling}}))},at=t=>{t&&!t.__previousElementSibling&&(pt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousElementSibling}}))},ut=t=>{t&&!t.__parentNode&&(pt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},ft=["children","nextElementSibling","previousElementSibling"],ht=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function pt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;ft.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):ht.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function bt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var gt=new WeakMap,vt=(t,e,n)=>{let s=b.get(t);N&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,b.set(t,s)},mt=(t,e)=>{var n,s,o;const i=$t(e),l=b.get(i);if(!w.document)return i;if(t=11===t.nodeType?t:w.document,l)if("string"==typeof l){let o,r=gt.get(t=t.head||t);r||gt.set(t,r=new Set);const c=t.querySelector(`[${v}="${i}"]`);if(c)c.textContent=l;else if(!r.has(i)){o=w.document.createElement("style"),o.textContent=l;const c=null!=(n=O.h)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=w.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=c&&o.setAttribute("nonce",c),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(N){const e=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(l),k?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=l+e.textContent:t.prepend(o)}else t.append(o);1&e.l&&t.insertBefore(o,null),4&e.l&&(o.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=gt.get(t);if(e||gt.set(t,e=new Set),!e.has(i)){const n=null!=(o=t.defaultView)?o:t.ownerDocument.defaultView;let s;if(l.constructor===n.CSSStyleSheet)s=l;else{s=new n.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)s.insertRule(l.cssRules[t].cssText,t)}if(k?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],e.add(i),"host"in t){const e=t.querySelector(`[${v}="${i}"]`);e&&R((()=>e.remove()))}}}return i},$t=t=>"sc-"+t.p,yt=t=>"object"==(t=typeof t)||"function"===t,wt=(t,e,...n)=>{let s=null,o=null,i=null,l=!1,r=!1;const c=[],d=e=>{for(let n=0;n<e.length;n++)if(s=e[n],Array.isArray(s))d(s);else if(null!=s&&"boolean"!=typeof s){if(l="function"!=typeof t&&!yt(s))s=String(s);else if("function"!=typeof t&&void 0===s.l){p("Invalid vNode child");continue}l&&r?c[c.length-1].v+=s:c.push(l?jt(null,s):s),r=l}};if(d(n),e){e.key&&(o=e.key),e.name&&(i=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,St);const a=jt(t,null);return a.m=e,c.length>0&&(a.$=c),a.j=o,a.O=i,a},jt=(t,e)=>({l:0,S:t,v:null!=e?e:null,N:null,$:null,m:null,j:null,O:null}),Ot={},St={forEach:(t,e)=>t.map(xt).forEach(e),map:(t,e)=>t.map(xt).map(e).map(Nt)},xt=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),Nt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),wt(t.vtag,e,...t.vchildren||[])}const e=jt(t.vtag,t.vtext);return e.m=t.vattrs,e.$=t.vchildren,e.j=t.vkey,e.O=t.vname,e},kt=(t,e,n,s,o,i,l,r=[])=>{let c,d,a,u;if(1===i.nodeType){if(c=i.getAttribute(m),c&&(d=c.split("."),d[0]===l||"0"===d[0])){a=Et({l:0,k:d[0],C:d[1],M:d[2],A:d[3],S:i.tagName.toLowerCase(),N:i,m:{class:i.className||""}}),e.push(a),i.removeAttribute(m),t.$||(t.$=[]);const o=a.N.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===a.S&&Mt(o,d[2],a,i,t,e,n,s,r),a.N["s-sn"]=o,a.N.removeAttribute("s-sn")),void 0!==a.A&&(t.$[a.A]=a),t=a,s&&"0"===a.M&&(s[a.A]=a.N)}if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)kt(t,e,n,s,o,i.shadowRoot.childNodes[u],l,r);const f=i.__childNodes||i.childNodes;for(u=f.length-1;u>=0;u--)kt(t,e,n,s,o,f[u],l,r)}else if(8===i.nodeType)d=i.nodeValue.split("."),(d[1]===l||"0"===d[1])&&(c=d[0],a=Et({k:d[1],C:d[2],M:d[3],A:d[4]||"0",N:i,m:null,$:null,j:null,O:null,S:null,v:null}),"t"===c?(a.N=It(i,3),a.N&&3===a.N.nodeType&&(a.v=a.N.textContent,e.push(a),i.remove(),l===a.k&&(t.$||(t.$=[]),t.$[a.A]=a),s&&"0"===a.M&&(s[a.A]=a.N))):"c"===c?(a.N=It(i,8),a.N&&8===a.N.nodeType&&(e.push(a),i.remove())):a.k===l&&("s"===c?Mt(i["s-sn"]=d[5]||"",d[2],a,i,t,e,n,s,r):"r"===c&&(s?i.remove():(o["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.S){const e=jt(null,i.textContent);e.N=i,e.A="0",t.$=[e]}return t},Ct=(t,e)=>{if(1===t.nodeType){const n=t[g]||t.getAttribute(g);n&&e.set(n,t);let s=0;if(t.shadowRoot)for(;s<t.shadowRoot.childNodes.length;s++)Ct(t.shadowRoot.childNodes[s],e);const o=t.__childNodes||t.childNodes;for(s=0;s<o.length;s++)Ct(o[s],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Et=t=>({l:0,k:null,C:null,M:null,A:"0",N:null,m:null,$:null,j:null,O:null,S:null,v:null,...t});function Mt(t,e,n,s,o,i,l,r,c){s["s-sr"]=!0,n.O=t||null,n.S="slot";const d=(null==o?void 0:o.N)?o.N["s-id"]||o.N.getAttribute("s-id"):"";if(r&&w.document){const i=n.N=w.document.createElement(n.S);n.O&&n.N.setAttribute("name",t),o.N.shadowRoot&&d&&d!==n.k?bt(o.N,"insertBefore")(i,bt(o.N,"children")[0]):bt(bt(s,"parentNode"),"insertBefore")(i,s),At(c,e,t,s,n.k),s.remove(),"0"===n.M&&(r[n.A]=n.N)}else{const i=n.N,l=d&&d!==n.k&&o.N.shadowRoot;At(c,e,t,s,l?d:n.k),Y(s),l&&o.N.insertBefore(i,o.N.children[0])}i.push(n),l.push(n),o.$||(o.$=[]),o.$[n.A]=n}var At=(t,e,n,s,o)=>{var i,l;let r=s.nextSibling;if(t[e]=t[e]||[],r&&!(null==(i=r.nodeValue)?void 0:i.startsWith("s.")))do{!r||(r.getAttribute&&r.getAttribute("slot")||r["s-sn"])!==n&&(""!==n||r["s-sn"]||r.getAttribute&&r.getAttribute("slot")||8!==r.nodeType&&3!==r.nodeType)||(r["s-sn"]=n,t[e].push({slot:s,node:r,hostId:o})),r=null==r?void 0:r.nextSibling}while(r&&!(null==(l=r.nodeValue)?void 0:l.startsWith("s.")))},It=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Tt=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const s of e){if(n)break;for(const e of t[s])if("string"==typeof e){n=!0;break}}if(!n)return t;const s={};for(const n of e)s[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return s},Lt=class t{static fromLocalValue(e){const n=e[l],s=r in e?e[r]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[n,o]of s){const s="object"==typeof n&&null!==n?t.fromLocalValue(n):n,i=t.fromLocalValue(o);e.set(s,i)}return e;case"object":const o={};for(const[e,n]of s)o[e]=t.fromLocalValue(n);return o;case"regexp":const{pattern:i,flags:l}=s;return new RegExp(i,l);case"set":const r=new Set;for(const e of s)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(s);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const e=t[l];return!!Object.values({...o,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(r))}};var _t,Rt,Bt=(t,e,n)=>{return"string"==typeof t&&t.startsWith(c)?t="string"==typeof(s=t)&&s.startsWith(c)?Lt.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(s.slice(11)))):s:null==t||yt(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?String(t):t;var s},Dt=t=>t,zt=(t,e)=>{const n=t;return{emit:t=>Ft(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},Ft=(t,e,n)=>{const s=O.ce(e,n);return t.dispatchEvent(s),s},Ut=(t,e,n,s,o,i,l)=>{if(n===s)return;let r=h(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=qt(n);let r=qt(s);if((t["s-si"]||t["s-sc"])&&l){const n=t["s-sc"]||t["s-si"];r.push(n),o.forEach((t=>{t.startsWith(n)&&r.push(t)})),r=[...new Set(r)].filter((t=>t)),e.add(...r)}else{let n=o.filter((t=>t&&!r.includes(t)));if(l&&!(4&i)){const e=Pt(t);n=n.filter((t=>!e.includes(t)))}e.remove(...n),e.add(...r.filter((t=>t&&!o.includes(t))))}}else if("style"===e){for(const e in n)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)n&&s[e]===n[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if("ref"===e)s&&pe(s,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let o;{const e=f(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(o=t[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(o)||t.removeAttribute(o):t.setAttribute(o,!0===s?"":s))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=s}catch(t){}return}{const l=yt(s);if((r||l&&null!==s)&&!o)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const o=null==s?"":s;"list"===e?r=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,d=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(e)||4&i&&!Wt(e))&&(d?t.removeAttributeNS($,e):t.removeAttribute(e)):(!r||4&i||o)&&!l&&1===t.nodeType&&(s=!0===s?"":s,d?t.setAttributeNS($,e,s):t.setAttribute(e,s))}}else if(e="-"===e[2]?e.slice(3):h(w,c)?c.slice(2):c[2]+e.slice(3),n||s){const o=e.endsWith(Yt);e=e.replace(Jt,""),n&&O.rel(t,e,n,o),s&&O.ael(t,e,s,o)}},Vt=new Set(["draggable","contenteditable","spellcheck"]),Wt=t=>Vt.has(t)||t.startsWith("aria-"),Ht=/\s/,Pt=e=>{var n,s,o;const i=f(e);if(!(i&&2&i.l))return[];const l=qt(null==(s=null==(n=i.I)?void 0:n.m)?void 0:s.class);return l.push(null!=(o=t)?o:"hydrated"),l},qt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ht):[]),Yt="Capture",Jt=new RegExp(Yt+"$"),Zt=(t,e,n,s)=>{const o=11===e.N.nodeType&&e.N.host?e.N.host:e.N,i=t&&t.m||{},l=e.m||{};for(const t of Gt(Object.keys(i)))t in l||Ut(o,t,i[t],void 0,n,e.l,s);for(const t of Gt(Object.keys(l)))Ut(o,t,i[t],l[t],n,e.l,s)};function Gt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Kt=!1,Qt=!1,Xt=!1,te=!1,ee=[],ne=[],se=(t,e,n)=>{var s;const o=e.$[n];let i,l,r,c=0;if(Kt||(Xt=!0,"slot"===o.S&&(o.l|=o.$?2:1)),null!=o.v)i=o.N=w.document.createTextNode(o.v);else if(1&o.l)i=o.N=w.document.createTextNode(""),Zt(null,o,te);else{if(te||(te="svg"===o.S),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=o.N=w.document.createElementNS(te?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Kt&&2&o.l?"slot-fb":o.S),te&&"foreignObject"===o.S&&(te=!1),Zt(null,o,te),o.$){const e="template"===o.S?i.content:i;for(c=0;c<o.$.length;++c)l=se(t,o,c),l&&e.appendChild(l)}"svg"===o.S?te=!1:"foreignObject"===i.tagName&&(te=!0)}return i["s-hn"]=Rt,3&o.l&&(i["s-sr"]=!0,i["s-cr"]=_t,i["s-sn"]=o.O||"",i["s-rf"]=null==(s=o.m)?void 0:s.ref,Y(i),r=t&&t.$&&t.$[n],r&&r.S===o.S&&t.N&&oe(t.N)),i},oe=t=>{O.l|=1;const e=t.closest(Rt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),s=Array.from(t.__childNodes||t.childNodes);for(const t of n?s.reverse():s)null!=t["s-sh"]&&(be(e,t,null!=n?n:null),t["s-sh"]=void 0,Xt=!0)}O.l&=-2},ie=(t,e)=>{O.l|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Rt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const s=n[t];s["s-hn"]!==Rt&&s["s-ol"]&&(be(de(s).parentNode,s,de(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Xt=!0),e&&ie(s,e)}O.l&=-2},le=(t,e,n,s,o,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Rt&&(r=r.shadowRoot),"template"===n.S&&(r=r.content);o<=i;++o)s[o]&&(l=se(null,n,o),l&&(s[o].N=l,be(r,l,de(e))))},re=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.N;he(e),t&&(Qt=!0,t["s-ol"]?t["s-ol"].remove():ie(t,!0),t.remove())}}},ce=(t,e,n=!1)=>t.S===e.S&&("slot"===t.S?t.O===e.O:n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),de=t=>t&&t["s-ol"]||t,ae=(t,e,n=!1)=>{const s=e.N=t.N,o=t.$,i=e.$,l=e.S,r=e.v;let c;null==r?(te="svg"===l||"foreignObject"!==l&&te,"slot"!==l||Kt||t.O!==e.O&&(e.N["s-sn"]=e.O||"",oe(e.N.parentElement)),Zt(t,e,te,n),null!==o&&null!==i?((t,e,n,s,o=!1)=>{let i,l,r=0,c=0,d=0,a=0,u=e.length-1,f=e[0],h=e[u],p=s.length-1,b=s[0],g=s[p];const v="template"===n.S?t.content:t;for(;r<=u&&c<=p;)if(null==f)f=e[++r];else if(null==h)h=e[--u];else if(null==b)b=s[++c];else if(null==g)g=s[--p];else if(ce(f,b,o))ae(f,b,o),f=e[++r],b=s[++c];else if(ce(h,g,o))ae(h,g,o),h=e[--u],g=s[--p];else if(ce(f,g,o))"slot"!==f.S&&"slot"!==g.S||ie(f.N.parentNode,!1),ae(f,g,o),be(v,f.N,h.N.nextSibling),f=e[++r],g=s[--p];else if(ce(h,b,o))"slot"!==f.S&&"slot"!==g.S||ie(h.N.parentNode,!1),ae(h,b,o),be(v,h.N,f.N),h=e[--u],b=s[++c];else{for(d=-1,a=r;a<=u;++a)if(e[a]&&null!==e[a].j&&e[a].j===b.j){d=a;break}d>=0?(l=e[d],l.S!==b.S?i=se(e&&e[c],n,c):(ae(l,b,o),e[d]=void 0,i=l.N),b=s[++c]):(i=se(e&&e[c],n,c),b=s[++c]),i&&be(de(f.N).parentNode,i,de(f.N))}r>u?le(t,null==s[p+1]?null:s[p+1].N,n,s,c,p):c>p&&re(e,r,u)})(s,o,e,i,n):null!==i?(null!==t.v&&(s.textContent=""),le(s,null,e,i,0,i.length-1)):n||null===o?n&&null!==o&&null===i&&(e.$=o):re(o,0,o.length-1),te&&"svg"===l&&(te=!1)):(c=s["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(s.data=r)},ue=[],fe=t=>{let e,n,s;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(s=n.length-1;s>=0;s--)if(e=n[s],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==t["s-hn"]||""!==o&&q(e)===o))if(H(e,o)){let n=ue.find((t=>t.T===e));Qt=!0,e["s-sn"]=e["s-sn"]||o,n?(n.T["s-sh"]=t["s-hn"],n.L=t):(e["s-sh"]=t["s-hn"],ue.push({L:t,T:e})),e["s-sr"]&&ue.map((t=>{H(t.T,e["s-sn"])&&(n=ue.find((t=>t.T===e)),n&&!t.L&&(t.L=n.L))}))}else ue.some((t=>t.T===e))||ue.push({T:e})}1===t.nodeType&&fe(t)}},he=t=>{t.m&&t.m.ref&&ee.push((()=>t.m.ref(null))),t.$&&t.$.map(he)},pe=(t,e)=>{ne.push((()=>t(e)))},be=(t,e,n,s)=>{if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&ut(e),t.insertBefore(e,n);const{slotNode:o}=Z(e);return o&&!s&&J(o),e}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)},ge=(t,e,n=!1)=>{var s,o,i,l,r;const c=t.$hostElement$,d=t.o,a=t.I||jt(null,null);var u;const f=(u=e)&&u.S===Ot?e:wt(null,null,e);if(Rt=c.tagName,d._&&(f.m=f.m||{},d._.forEach((([t,e])=>{f.m[e]=c[t]}))),n&&f.m)for(const t of Object.keys(f.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.m[t]=c[t]);if(f.S=null,f.l|=4,t.I=f,f.N=a.N=c.shadowRoot||c,Kt=!(!(1&d.l)||128&d.l),_t=c["s-cr"],Qt=!1,ae(a,f,n),O.l|=1,Xt){fe(f.N);for(const t of ue){const e=t.T;if(!e["s-ol"]&&w.document){const t=w.document.createTextNode("");t["s-nr"]=e,be(e.parentNode,e["s-ol"]=t,e,n)}}for(const t of ue){const e=t.T,r=t.L;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(s=e.hidden)&&s),r){const t=r.parentNode;let s=r.nextSibling;if(s&&1===s.nodeType){let n=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;n;){let o=null!=(i=n["s-nr"])?i:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}if((!s&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==s)&&e!==s){if(be(t,e,s,n),8===e.nodeType&&e.nodeValue.startsWith("s-nt-")){const t=w.document.createTextNode(e.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=e["s-hn"],t["s-sn"]=e["s-sn"],t["s-sh"]=e["s-sh"],t["s-sr"]=e["s-sr"],t["s-ol"]=e["s-ol"],t["s-ol"]["s-nr"]=t,be(e.parentNode,t,e,n),e.parentNode.removeChild(e)}1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)}e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(e.hidden=!0)}}if(Qt&&F(f.N),O.l&=-2,ue.length=0,!Kt&&!(1&d.l)&&c["s-cr"]){const t=f.N.__childNodes||f.N.childNodes;for(const e of t)if(e["s-hn"]!==Rt&&!e["s-sh"])if(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=w.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],be(e.parentNode,t,e,n),e.parentNode.removeChild(e)}}_t=void 0,ee.forEach((t=>t())),ee.length=0,ne.forEach((t=>t())),ne.length=0},ve=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((s=>t.R=()=>{e["s-p"].splice(n-1,1),s()})))}},me=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);ve(t,t.B);const n=()=>$e(t,e);if(!e)return R(n);queueMicrotask((()=>{n()}))},$e=(t,e)=>{const n=t.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=Ne(s,e?"componentWillLoad":"componentWillUpdate",void 0,n),o=ye(o,(()=>Ne(s,"componentWillRender",void 0,n))),ye(o,(()=>je(t,s,e)))},ye=(t,e)=>we(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),we=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,je=async(t,e,n)=>{var s;const o=t.$hostElement$,i=o["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,s=e.l,o=mt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&s&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);Oe(t,e,o,n),i&&(i.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(s=o["s-p"])?s:[],n=()=>Se(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},Oe=(t,e,n,s)=>{try{e=e.render(),t.l&=-17,t.l|=2,ge(t,e,s)}catch(e){p(e,t.$hostElement$)}return null},Se=t=>{const e=t.$hostElement$,n=e,s=t.B;Ne(n,"componentDidRender",void 0,e),64&t.l?Ne(n,"componentDidUpdate",void 0,e):(t.l|=64,ke(e),Ne(n,"componentDidLoad",void 0,e),t.D(e),s||xe()),t.R&&(t.R(),t.R=void 0),512&t.l&&_((()=>me(t,!1))),t.l&=-517},xe=()=>{var t;_((()=>Ft(w,"appload",{detail:{namespace:"design-system"}}))),(null==(t=O.F)?void 0:t.size)&&O.F.clear()},Ne=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){p(t,s)}},ke=e=>{var n;return e.classList.add(null!=(n=t)?n:"hydrated")},Ce=(t,e,n,s)=>{const o=f(t);if(!o)return;const i=t,l=o.i.get(e),r=o.l,c=i;n=Bt(n,s.t[e][0],!!(64&s.l));const d=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!d){if(o.i.set(e,n),s.U){const t=s.U[e];t&&t.map((t=>{try{const[[s,i]]=Object.entries(t);(128&r||1&i)&&(c?c[s](n,l,e):o.V.push((()=>{o.W[s](n,l,e)})))}catch(t){p(t,i)}}))}if(2&r){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,l,e)&&!(16&r))return;16&r||me(o,!1)}}},Ee=(t,e,n)=>{var s,o;const i=t.prototype;64&e.l&&1&n&&y.forEach((t=>{const e=i[t];Object.defineProperty(i,t,{value(...n){var s;const o=f(this),i=this;i?"function"==typeof e&&e.call(i,...n):null==(s=null==o?void 0:o.H)||s.then((e=>{const s=e[t];"function"==typeof s&&s.call(e,...n)}))}})}));{t.watchers&&!e.U&&(e.U=Tt(t.watchers)),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.q&&(e.q=t.serializers);const n=Object.entries(null!=(s=e.t)?s:{});n.map((([t,[n]])=>{if(31&n||32&n){const{get:s,set:o}=d(i,t)||{};s&&(e.t[t][0]|=2048),o&&(e.t[t][0]|=4096),Object.defineProperty(i,t,{get(){return s?s.apply(this):(e=t,f(this).i.get(e));var e},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=f(this);if(i){if(o)return void 0===(32&n?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(s=i.i.get(t)),o.apply(this,[Bt(s,n,!!(64&e.l))]),void Ce(this,t,s=32&n?this[t]:i.$hostElement$[t],e);Ce(this,t,s,e)}}})}}));{const s=new Map;i.attributeChangedCallback=function(t,o,l){O.jmp((()=>{var r;const c=s.get(t),d=f(this);if(this.hasOwnProperty(c),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const n=null==d?void 0:d.l;if(d&&n&&!(8&n)&&l!==o){const s=this,i=null==(r=e.U)?void 0:r[t];null==i||i.forEach((e=>{const[[i,r]]=Object.entries(e);null!=s[i]&&(128&n||1&r)&&s[i].call(s,l,o,t)}))}return}const a=n.find((([t])=>t===c)),u=a?a[1][0]:0,h=4&u;if(512&u&&8&u&&!yt(this[c])&&(null==(p=this[c])||!1===p?null:!0===p?"":String(p))===l)return;var p;const b=h&&null===l&&void 0===this[c];h&&(l=!(null===l||"false"===l&&!(64&e.l)));const g=Object.getOwnPropertyDescriptor(i,c);b||l==this[c]||g.get&&!g.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.U)?o:{}),...n.filter((([t,e])=>31&e[0])).map((([t,n])=>{var o;const i=n[1]||t;return s.set(i,t),512&n[0]&&(null==(o=e._)||o.push([t,i])),i}))]))}}return t},Me=async(t,e,n)=>{let s;try{if(!(32&e.l)&&(e.l|=32,e.l&=-1025,s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),s&&s.style)){let t;"string"==typeof s.style&&(t=s.style);const e=$t(n);if(!b.has(e)){const s=()=>{};vt(e,t,!!(1&n.l)),s()}}const o=e.B,i=()=>me(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()}catch(n){p(n,t),e.R&&(e.R(),e.R=void 0),!e.D||1024&e.l||e.D(t)}},Ae=t=>{if(!w.document)return;const e=t["s-cr"]=w.document.createComment("");e["s-cn"]=!0,be(t,e,t.firstChild)},Ie=(t,e)=>{const n={l:e[0],p:e[1]};try{n.t=e[2],n.Y=e[3],n.U=Tt(t.U),n.P=t.P,n.q=t.q,n._=[],!(1&n.l)&&256&n.l?(G(s=t.prototype),K(s),tt(s),X(s),ot(s),et(s),nt(s),st(s),it(s),lt(s),Q(s)):G(t.prototype),(()=>{if(!w.document)return;const t=w.document.querySelectorAll(`[${v}]`);let e=0;for(;e<t.length;e++)vt(t[e].getAttribute(v),t[e].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)})();const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,o:e,i:new Map,J:new Map};n.H=new Promise((t=>n.D=t)),t["s-p"]=[],t["s-rc"]=[];const s=n;t.__stencil__getHostRef=()=>s,512&e.l&&u(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=f(this);if(!t)return;Le(this,t,n.Y),this.__hasHostListenerAttached=!0}(t=>{if(!(1&O.l)){const e=f(t);if(!e)return;const n=e.o,s=()=>{};if(1&e.l)Le(t,e,n.Y),(null==e?void 0:e.W)||(1024&e.l?setTimeout((()=>Me(t,e,n)),1e3):(null==e?void 0:e.H)&&e.H.then((()=>{})));else{let s;if(e.l|=1,s=t.getAttribute(g),s){if(1&n.l){const e=mt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}((t,e,n,s)=>{var o,i,l,r;const c=t.shadowRoot,d=[],a=[],u=c?[]:null,h=jt(e,null);h.N=t,!w.document||O.F&&O.F.size||Ct(w.document.body,O.F=new Map),t[g]=n,t.removeAttribute(g),s.I=kt(h,d,[],u,t,t,n,a);let p=0;const b=d.length;let v;for(;p<b;p++){v=d[p];const n=v.k+"."+v.C,s=O.F.get(n),i=v.N;if(c){if((null==(o=v.S)?void 0:o.toString().includes("-"))&&"slot-fb"!==v.S&&!v.N.shadowRoot){const t=f(v.N);if(t){const e=$t(t.o),n=w.document.querySelector(`style[sty-id="${e}"]`);n&&u.unshift(n.cloneNode(!0))}}}else i["s-hn"]=e.toUpperCase(),"slot"===v.S&&(i["s-cr"]=t["s-cr"]);"slot"===v.S&&(v.O=v.N["s-sn"]||v.N.name||null,v.$?(v.l|=2,v.N.childNodes.length||v.$.forEach((t=>{v.N.appendChild(t.N)}))):v.l|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),c||(i["s-oo"]=parseInt(v.C))),s&&!s["s-id"]&&O.F.delete(n)}const m=[],$=a.length;let y,j,S,x,N=0,k=0;for(;N<$;N++)if(y=a[N],y&&y.length)for(S=y.length,j=0;j<S;j++){if(x=y[j],m[x.hostId]||(m[x.hostId]=O.F.get(x.hostId)),!m[x.hostId])continue;const t=m[x.hostId];t.shadowRoot&&x.node.parentElement!==t&&t.insertBefore(x.node,null==(l=null==(i=y[j-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&c||(x.slot["s-cr"]||(x.slot["s-cr"]=t["s-cr"],x.slot["s-cr"]=!x.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),P(x.node,x.slot,!1,x.node["s-oo"]||k),(null==(r=x.node.parentElement)?void 0:r.shadowRoot)&&x.node.getAttribute&&x.node.getAttribute("slot")&&x.node.removeAttribute("slot"),(C=x.node)&&void 0===C.__nextSibling&&globalThis.Node&&(rt(C),dt(C),ut(C),C.nodeType===Node.ELEMENT_NODE&&(ct(C),at(C)))),k=(x.node["s-oo"]||k)+1}var C;if(c&&!c.childNodes.length){let e=0;const n=u.length;if(n){for(;e<n;e++){const t=u[e];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t})(t,n.p,s,e)}s||12&n.l&&Ae(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ve(e,e.B=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),_((()=>Me(t,e,n)))}s()}})(this),o&&o.call(this)},disconnectedCallback(){(async t=>{if(!(1&O.l)){const e=f(t);(null==e?void 0:e.Z)&&(e.Z.map((t=>t())),e.Z=void 0)}gt.has(t)&>.delete(t),t.shadowRoot&>.has(t.shadowRoot)&>.delete(t.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else z.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),Ee(t,n,3)}catch(e){return p(e),t}var s},Te=(t,e)=>e,Le=(t,e,n)=>{n&&w.document&&n.map((([n,s,o])=>{const i=Re(w.document,t,n),l=_e(e,o),r=Be(n);O.ael(i,s,l,r),(e.Z=e.Z||[]).push((()=>O.rel(i,s,l,r)))}))},_e=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){p(e,t.$hostElement$)}},Re=(t,e,n)=>4&n?t:8&n?w:e,Be=t=>x?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),De=t=>O.h=t,ze=t=>Object.assign(O,t),Fe=new WeakMap;function Ue(t,e){let n=Fe.get(e);n||(n={l:0,o:{l:0,p:e.tagName},$hostElement$:e},Fe.set(e,n)),ge(n,t)}function Ve(t){return t}export{Te as F,j as H,De as a,ze as b,Ot as c,n as d,zt as e,S as f,B as g,wt as h,Dt as i,Ie as p,Ue as r,D as s,Ve as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{c as r,g as o}from"./p-
|
|
4
|
+
import{c as r,g as o}from"./p-CkQK5z17.js";function n(n){return r({priority:1,blocking:!1,run(r,t){const{value:s,showError:e}=o(r,t);return!!n.includes(s)||(e(`must be one of [${n.join(", ")}]`),!1)}})}export{n as O}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./p-
|
|
4
|
+
import{d as e}from"./p-DOP4fM2o.js";const t=()=>{const e=window;return e&&e.DesignSystem&&e.DesignSystem.config},n=(t,n=32)=>{let s=!1;const i=()=>{s||(s=!0,t())};if(e.hasWindow){const e=setTimeout(i,n);window.addEventListener("load",(()=>{clearTimeout(e),i()}))}else setTimeout(i,32)},s=(t,n=5e3)=>{e.hasWindow&&"requestIdleCallback"in window?window.requestIdleCallback(t,{timeout:n}):setTimeout(t,32)},i=(e=0)=>new Promise((t=>{setTimeout((()=>t()),e)})),o=(e,t)=>{const n=e._original||e;return{_original:e,emit:r(n.emit.bind(n),t)}},r=(e,t=0)=>{let n;return(...s)=>{clearTimeout(n),n=setTimeout(e,t,...s)}},a=(e,t)=>e&&e.tagName&&e.tagName===t.toUpperCase(),u=(e,t)=>{let n=t.parentNode;for(;null!=n;){if(n==e)return!0;n=n.parentNode}return!1},m=["ds-root","ds-app"],l=e=>{for(const t of m){const n=e.querySelector(t);if(n)return n}return e.body},w=e=>l(e),c=(e,t)=>{null!=e.componentOnReady?e.componentOnReady().then((e=>t(e))):f((()=>t(e)))},f=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),d=(n,s,i,o)=>{if(e.hasWindow){const e=t();if(e&&e._ael)return e._ael(n,s,i,o)}return n.addEventListener(s,i,o)},P=(n,s,i,o)=>{if(e.hasWindow){const e=t();if(e&&e._rel)return e._rel(n,s,i,o)}return n.removeEventListener(s,i,o)},T=e=>e?new Promise((t=>c(e,t))):Promise.resolve(),_=async(e,t=!1)=>{const n=e;if(n){if(null!=n.componentOnReady){const e=await n.componentOnReady();if(!t&&null!=e)return}await Promise.all(Array.from(n.children).map((e=>_(e,t))))}},p=async e=>{await _(e,!0),await b(),await q()},y=async(e,t)=>{const n=Object.assign({animated:!1},t),s=e;if(null!=s){await _(s,!0);const e=Array.prototype.slice.call(s.querySelectorAll("*")).filter((e=>e.tagName.match(/^bal/i)));await Promise.all(e.map((e=>{if(null!=e.configChanged)return e.configChanged(n)})))}await Promise.all([b(),A(),q()])},b=()=>new Promise((e=>f((()=>F(e))))),q=()=>new Promise((e=>s((()=>F(e))))),A=()=>new Promise((t=>((t,n=3e3)=>{let i=!1;if(!e.isSafari&&e.hasWindow&&"PerformanceObserver"in window){const e=new PerformanceObserver((n=>{const o=n.getEntries();o[o.length-1]&&(e.disconnect(),i=!0,s((()=>t())))}));e.observe({type:"largest-contentful-paint",buffered:!0}),setTimeout((()=>{i||(e.disconnect(),t())}),n)}else setTimeout(t,32)})((()=>F(t))))),g=()=>new Promise((e=>n((()=>F(e))))),F=t=>{if(e.hasWindow&&"MessageChannel"in window){const e=new window.MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}else setTimeout(t,32)};export{l as a,b,c,_ as d,q as e,A as f,w as g,p as h,u as i,y as j,g as k,a as l,s as m,o as n,d as o,P as p,r as q,f as r,T as s,n as t,i as w}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as t,H as i,e as s,h as a,c as o,t as e,d as p}from"./p-ZM4hf44X.js";import{_ as r,L as n,a as d}from"./p-C7Qb2sJV.js";import{a as h,c,s as l,f as u,o as m,b}from"./p-C1kAmkEd.js";import{F as g}from"./p-CeFbrWv3.js";import{w as v}from"./p-EjCh38Af.js";import{i as f}from"./p-BsFXlUpb.js";import{d as w}from"./p-B8nj0zHa.js";import{d as y}from"./p-Cpaj76bt.js";import{d as k}from"./p-xQf4GJxM.js";import{d as x}from"./p-Bl_soFOX.js";import{d as _}from"./p-BKQaXv5U.js";import{T as z}from"./p-BV65welS.js";import{O as j}from"./p-PmBBNJAS.js";import{L as C}from"./p-DwoEAAFz.js";const B=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],D=new Map,E=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=s(this,"dsWillPresent"),this.dsDidPresent=s(this,"dsDidPresent"),this.dsWillDismiss=s(this,"dsWillDismiss"),this.dsDidDismiss=s(this,"dsDidDismiss"),this.currentTrigger=void 0,this.focusHandler=new g,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.trigger=void 0,this.placement="bottom",this.offset=8,this.role="dialog",this.closable=!1,this.backdropDismiss=!1,this.backdrop=!1,this.group=void 0,this.label="",this.arrow=!1,this.trapFocus=void 0,this.handleCloseClick=()=>{this.dismiss()}}createLogger(t){this.log=t}openChanged(t){t?this.runPresent():this.runDismiss()}triggerChanged(t,i){i&&(i.removeAttribute("aria-haspopup"),i.removeAttribute("aria-expanded")),t&&(t.setAttribute("aria-haspopup",this.role),t.setAttribute("aria-expanded","false"))}connectedCallback(){this.registerGroup()}componentDidLoad(){this.trigger&&(this.trigger.setAttribute("aria-haspopup",this.role),this.trigger.setAttribute("aria-expanded","false")),this.open&&this.runPresent()}disconnectedCallback(){var t;null===(t=this.cleanupPositioner)||void 0===t||t.call(this),this.focusHandler.disconnect(),this.trigger&&(this.trigger.removeAttribute("aria-haspopup"),this.trigger.removeAttribute("aria-expanded")),this.unregisterGroup()}async listenToClick(t){var i;if(this.el.id){const i=t.target.closest(`[data-popup="${this.el.id}"]`);if(i)return this.currentTrigger=i,void await this.toggle()}if(this.backdropDismiss&&this.isOpen){const s=t.composedPath(),a=s.includes(this.panelEl),o=null!==(i=this.currentTrigger)&&void 0!==i?i:this.trigger,e=!!o&&s.includes(o);a||e||await this.dismiss()}}listenToKeyDown(t){this.isOpen&&this.closable&&f(t)&&(t.stopPropagation(),this.dismiss())}async present(){this.open=!0}async dismiss(){this.open=!1}async toggle(){this.open?this.dismiss():this.present()}async configChanged(t){this.animated=t.animated}get shouldTrapFocus(){return void 0!==this.trapFocus?this.trapFocus:this.backdrop}runPresent(){this.transitionQueue=this.transitionQueue.then((()=>this.doPresent())).catch((()=>{}))}runDismiss(){this.transitionQueue=this.transitionQueue.then((()=>this.doDismiss())).catch((()=>{}))}async doPresent(){var t;if(this.isOpen)return;const i=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;await this.dismissGroupSiblings(),this.dsWillPresent.emit({trigger:i}),i&&(i.setAttribute("aria-expanded","true"),await this.updatePosition(i),this.startPositioner(i)),this.isOpen=!0,this.animated&&await v(300),this.shouldTrapFocus?this.focusHandler.enable({target:this.panelEl,restoreElement:null!=i?i:null}):this.focusPanel(),this.dsDidPresent.emit({trigger:i})}async doDismiss(){var t,i;if(!this.isOpen)return;const s=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;this.dsWillDismiss.emit({trigger:s}),null===(i=this.cleanupPositioner)||void 0===i||i.call(this),this.cleanupPositioner=void 0,s&&s.setAttribute("aria-expanded","false"),this.isOpen=!1,this.animated&&await v(300),this.shouldTrapFocus?(this.focusHandler.disable(),this.focusHandler.restoreFocus()):null==s||s.focus(),this.dsDidDismiss.emit({trigger:s})}startPositioner(t){this.panelEl&&(this.cleanupPositioner=h(t,this.panelEl,(()=>this.updatePosition(t)),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!1}))}async updatePosition(t){if(!this.panelEl)return;const{x:i,y:s,placement:a,middlewareData:o}=await c(t,this.panelEl,{placement:this.placement,strategy:"fixed",middleware:[p.hasWindow&&!window.frameElement?l():void 0,u(),m(this.offset),this.arrow&&this.arrowEl?b({element:this.arrowEl}):void 0].filter(Boolean)});if(Object.assign(this.panelEl.style,{left:`${i}px`,top:`${s}px`}),this.panelEl.dataset.placement=a.split("-")[0],this.arrow&&this.arrowEl&&o.arrow){const{x:t,y:i}=o.arrow;Object.assign(this.arrowEl.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:""})}}focusPanel(){if(!this.panelEl)return;const t=Array.from(this.panelEl.querySelectorAll('button:not([disabled]):not([tabindex^="-"]),input:not([type=hidden]):not([disabled]):not([tabindex^="-"]),select:not([disabled]):not([tabindex^="-"]),textarea:not([disabled]):not([tabindex^="-"]),a[href]:not([tabindex^="-"]),[tabindex]:not([tabindex^="-"])'));t.length>0?t[0].focus({preventScroll:!0}):this.panelEl.focus({preventScroll:!0})}registerGroup(){this.group&&(D.has(this.group)||D.set(this.group,new Set),D.get(this.group).add(this.el))}unregisterGroup(){var t;this.group&&(null===(t=D.get(this.group))||void 0===t||t.delete(this.el))}async dismissGroupSiblings(){if(!this.group)return;const t=D.get(this.group);if(t)for(const i of t)i!==this.el&&await i.dismiss()}render(){return a(o,{key:"fbcc73545dbe44938d0a26ece77f85858c652b71",class:{"is-open":this.isOpen,"is-animated":this.animated,"is-closable":this.closable}},this.backdrop&&a("div",{key:"6c78f88d7af762d56b580fac1ba9aa264ae69073",part:"backdrop"}),a("div",{key:"31f233c1a59254655c8b90aa9c42cd99a9a57fa0",part:"panel",ref:t=>this.panelEl=t,role:this.role,"aria-modal":"dialog"===this.role?"true":void 0,"aria-label":this.label||void 0,tabindex:"-1","data-testid":"ds-popup-panel"},this.arrow&&a("div",{key:"8ac2486a85fbf11448c851493ba3d452059fa65e",part:"arrow",ref:t=>this.arrowEl=t}),this.closable&&a("ds-close",{key:"83393ec4be0971eb48dcadf76b2341b6e94e71e7",part:"close",onClick:this.handleCloseClick}),a("slot",{key:"53a0d290554605dbafd3192c7bf086b752e81808"})))}get el(){return this}static get watchers(){return{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}}static get style(){return":host{--_popup-background:var(--popup-background, var(--mod-popup-background, var(--ds-popup-color-background)));--_popup-radius:var(--popup-radius, var(--mod-popup-radius, var(--ds-popup-radius)));--_popup-shadow:var(--popup-shadow, var(--mod-popup-shadow, var(--ds-popup-shadow)));--_popup-p:var(--popup-p, var(--mod-popup-p, var(--ds-popup-padding)));--_popup-min-width:var(--popup-min-width, var(--mod-popup-min-width, var(--ds-popup-min-width)));--_popup-max-width:var(--popup-max-width, var(--mod-popup-max-width, none));--_popup-z-index:var(--popup-z-index, var(--mod-popup-z-index, var(--ds-popup-z-index)));--_popup-backdrop-background:var(--popup-backdrop-background, var(--mod-popup-backdrop-background, var(--ds-popup-backdrop-background)));--_popup-backdrop-opacity:var(--popup-backdrop-opacity, var(--mod-popup-backdrop-opacity, var(--ds-popup-backdrop-opacity)));--_popup-arrow-size:var(--popup-arrow-size, var(--mod-popup-arrow-size, var(--ds-popup-arrow-size, 8px)));display:contents}[part=backdrop]{position:fixed;inset:0;z-index:calc(var(--_popup-z-index) - 1);background:var(--_popup-backdrop-background);opacity:0;pointer-events:none;-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}:host(.is-open) [part=backdrop]{opacity:var(--_popup-backdrop-opacity);pointer-events:auto}:host(.is-animated) [part=backdrop]{-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}[part=panel]{position:fixed;z-index:var(--_popup-z-index);background:var(--_popup-background);border-radius:var(--_popup-radius);-webkit-box-shadow:var(--_popup-shadow);box-shadow:var(--_popup-shadow);padding:var(--_popup-p);min-width:var(--_popup-min-width);max-width:var(--_popup-max-width);opacity:0;visibility:hidden;pointer-events:none;outline:none !important}[part=panel]::-moz-focus-inner{border:0}:host(.is-open) [part=panel]{opacity:1;visibility:visible;pointer-events:auto}:host(.is-animated) [part=panel]{-webkit-transition:opacity 200ms ease,visibility 200ms ease;transition:opacity 200ms ease,visibility 200ms ease}[part=close]{position:absolute;top:.5rem;right:.5rem}:host(.is-closable) [part=panel]{padding-right:calc(var(--_popup-p) + var(--_popup-p))}[part=arrow]{position:absolute;width:var(--_popup-arrow-size);height:var(--_popup-arrow-size);background:var(--_popup-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);pointer-events:none}[part=panel][data-placement=bottom] [part=arrow]{top:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=top] [part=arrow]{bottom:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=right] [part=arrow]{left:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=left] [part=arrow]{right:calc(var(--_popup-arrow-size)/-2)}@media (prefers-reduced-motion: reduce){:host(.is-animated) [part=panel],:host(.is-animated) [part=backdrop]{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-popup",{open:[1540],trigger:[16],placement:[1],offset:[2],role:[1],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],backdrop:[4],group:[1],label:[1],arrow:[4],trapFocus:[4,"trap-focus"],animated:[32],isOpen:[32],present:[64],dismiss:[64],toggle:[64],configChanged:[64]},[[4,"click","listenToClick"],[4,"keydown","listenToKeyDown"]],{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}]);function F(){"undefined"!=typeof customElements&&["ds-popup","ds-brand-icon","ds-button","ds-close","ds-icon","ds-spinner"].forEach((t=>{switch(t){case"ds-popup":customElements.get(e(t))||customElements.define(e(t),E);break;case"ds-brand-icon":customElements.get(e(t))||w();break;case"ds-button":customElements.get(e(t))||y();break;case"ds-close":customElements.get(e(t))||k();break;case"ds-icon":customElements.get(e(t))||x();break;case"ds-spinner":customElements.get(e(t))||_()}}))}r([n("popup"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],E.prototype,"createLogger",null),r([z("boolean"),d("design:type",Boolean)],E.prototype,"open",void 0),r([j(B),d("design:type",String)],E.prototype,"placement",void 0),r([z("number"),d("design:type",Number)],E.prototype,"offset",void 0),r([j(["dialog","listbox","menu","tree","grid"]),d("design:type",String)],E.prototype,"role",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"closable",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"backdropDismiss",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"backdrop",void 0),r([z("string"),d("design:type",Object)],E.prototype,"group",void 0),r([z("string"),d("design:type",String)],E.prototype,"label",void 0),r([z("boolean"),d("design:type",Boolean)],E.prototype,"arrow",void 0),r([z("boolean"),d("design:type",Object)],E.prototype,"trapFocus",void 0),r([C(),d("design:type",Function),d("design:paramtypes",[Object]),d("design:returntype",Promise)],E.prototype,"configChanged",null);export{B as P,E as a,F as d}
|
|
4
|
+
import{p as t,H as i,e as s,h as a,c as o,t as e,d as p}from"./p-DOP4fM2o.js";import{_ as r,L as n,a as d}from"./p-C8OqQuJ7.js";import{a as h,c,s as u,f as l,o as m,b}from"./p-C1kAmkEd.js";import{F as g}from"./p-3DnZqMoY.js";import{w as v}from"./p-Dbt7_-_D.js";import{i as f}from"./p-BsFXlUpb.js";import{d as w}from"./p-DyfdPmyS.js";import{d as y}from"./p-BB4SRrRj.js";import{d as k}from"./p-hhVbp_AN.js";import{d as x}from"./p-B0Z95Hj1.js";import{d as _}from"./p-D8RaAucx.js";import{T as j}from"./p-DEnVBHne.js";import{O as z}from"./p-DaqLtBr3.js";import{L as D}from"./p-B9OReveE.js";const C=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],B=new Map,E=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.dsWillPresent=s(this,"dsWillPresent"),this.dsDidPresent=s(this,"dsDidPresent"),this.dsWillDismiss=s(this,"dsWillDismiss"),this.dsDidDismiss=s(this,"dsDidDismiss"),this.currentTrigger=void 0,this.focusHandler=new g,this.transitionQueue=Promise.resolve(),this.animated=!0,this.isOpen=!1,this.open=!1,this.trigger=void 0,this.placement="bottom",this.offset=8,this.role="dialog",this.closable=!1,this.backdropDismiss=!1,this.backdrop=!1,this.group=void 0,this.label="",this.arrow=!1,this.trapFocus=void 0,this.handleCloseClick=()=>{this.dismiss()}}createLogger(t){this.log=t}openChanged(t){t?this.runPresent():this.runDismiss()}triggerChanged(t,i){i&&(i.removeAttribute("aria-haspopup"),i.removeAttribute("aria-expanded")),t&&(t.setAttribute("aria-haspopup",this.role),t.setAttribute("aria-expanded","false"))}connectedCallback(){this.registerGroup()}componentDidLoad(){this.trigger&&(this.trigger.setAttribute("aria-haspopup",this.role),this.trigger.setAttribute("aria-expanded","false")),this.open&&this.runPresent()}disconnectedCallback(){var t;null===(t=this.cleanupPositioner)||void 0===t||t.call(this),this.focusHandler.disconnect(),this.trigger&&(this.trigger.removeAttribute("aria-haspopup"),this.trigger.removeAttribute("aria-expanded")),this.unregisterGroup()}async listenToClick(t){var i;if(this.el.id){const i=t.target.closest(`[data-popup="${this.el.id}"]`);if(i)return this.currentTrigger=i,void await this.toggle()}if(this.backdropDismiss&&this.isOpen){const s=t.composedPath(),a=s.includes(this.panelEl),o=null!==(i=this.currentTrigger)&&void 0!==i?i:this.trigger,e=!!o&&s.includes(o);a||e||await this.dismiss()}}listenToKeyDown(t){this.isOpen&&this.closable&&f(t)&&(t.stopPropagation(),this.dismiss())}async present(){this.open=!0}async dismiss(){this.open=!1}async toggle(){this.open?this.dismiss():this.present()}async configChanged(t){this.animated=t.animated}get shouldTrapFocus(){return void 0!==this.trapFocus?this.trapFocus:this.backdrop}runPresent(){this.transitionQueue=this.transitionQueue.then((()=>this.doPresent())).catch((()=>{}))}runDismiss(){this.transitionQueue=this.transitionQueue.then((()=>this.doDismiss())).catch((()=>{}))}async doPresent(){var t;if(this.isOpen)return;const i=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;await this.dismissGroupSiblings(),this.dsWillPresent.emit({trigger:i}),i&&(i.setAttribute("aria-expanded","true"),await this.updatePosition(i),this.startPositioner(i)),this.isOpen=!0,this.animated&&await v(300),this.shouldTrapFocus?this.focusHandler.enable({target:this.panelEl,restoreElement:null!=i?i:null}):this.focusPanel(),this.dsDidPresent.emit({trigger:i})}async doDismiss(){var t,i;if(!this.isOpen)return;const s=null!==(t=this.currentTrigger)&&void 0!==t?t:this.trigger;this.dsWillDismiss.emit({trigger:s}),null===(i=this.cleanupPositioner)||void 0===i||i.call(this),this.cleanupPositioner=void 0,s&&s.setAttribute("aria-expanded","false"),this.isOpen=!1,this.animated&&await v(300),this.shouldTrapFocus?(this.focusHandler.disable(),this.focusHandler.restoreFocus()):null==s||s.focus(),this.dsDidDismiss.emit({trigger:s})}startPositioner(t){this.panelEl&&(this.cleanupPositioner=h(t,this.panelEl,(()=>this.updatePosition(t)),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!1}))}async updatePosition(t){if(!this.panelEl)return;const{x:i,y:s,placement:a,middlewareData:o}=await c(t,this.panelEl,{placement:this.placement,strategy:"fixed",middleware:[p.hasWindow&&!window.frameElement?u():void 0,l(),m(this.offset),this.arrow&&this.arrowEl?b({element:this.arrowEl}):void 0].filter(Boolean)});if(Object.assign(this.panelEl.style,{left:`${i}px`,top:`${s}px`}),this.panelEl.dataset.placement=a.split("-")[0],this.arrow&&this.arrowEl&&o.arrow){const{x:t,y:i}=o.arrow;Object.assign(this.arrowEl.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:""})}}focusPanel(){if(!this.panelEl)return;const t=Array.from(this.panelEl.querySelectorAll('button:not([disabled]):not([tabindex^="-"]),input:not([type=hidden]):not([disabled]):not([tabindex^="-"]),select:not([disabled]):not([tabindex^="-"]),textarea:not([disabled]):not([tabindex^="-"]),a[href]:not([tabindex^="-"]),[tabindex]:not([tabindex^="-"])'));t.length>0?t[0].focus({preventScroll:!0}):this.panelEl.focus({preventScroll:!0})}registerGroup(){this.group&&(B.has(this.group)||B.set(this.group,new Set),B.get(this.group).add(this.el))}unregisterGroup(){var t;this.group&&(null===(t=B.get(this.group))||void 0===t||t.delete(this.el))}async dismissGroupSiblings(){if(!this.group)return;const t=B.get(this.group);if(t)for(const i of t)i!==this.el&&await i.dismiss()}render(){return a(o,{key:"fbcc73545dbe44938d0a26ece77f85858c652b71",class:{"is-open":this.isOpen,"is-animated":this.animated,"is-closable":this.closable}},this.backdrop&&a("div",{key:"6c78f88d7af762d56b580fac1ba9aa264ae69073",part:"backdrop"}),a("div",{key:"31f233c1a59254655c8b90aa9c42cd99a9a57fa0",part:"panel",ref:t=>this.panelEl=t,role:this.role,"aria-modal":"dialog"===this.role?"true":void 0,"aria-label":this.label||void 0,tabindex:"-1","data-testid":"ds-popup-panel"},this.arrow&&a("div",{key:"8ac2486a85fbf11448c851493ba3d452059fa65e",part:"arrow",ref:t=>this.arrowEl=t}),this.closable&&a("ds-close",{key:"83393ec4be0971eb48dcadf76b2341b6e94e71e7",part:"close",onClick:this.handleCloseClick}),a("slot",{key:"53a0d290554605dbafd3192c7bf086b752e81808"})))}get el(){return this}static get watchers(){return{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}}static get style(){return":host{--_popup-background:var(--popup-background, var(--mod-popup-background, var(--ds-popup-color-background)));--_popup-radius:var(--popup-radius, var(--mod-popup-radius, var(--ds-popup-radius)));--_popup-shadow:var(--popup-shadow, var(--mod-popup-shadow, var(--ds-popup-shadow)));--_popup-p:var(--popup-p, var(--mod-popup-p, var(--ds-popup-padding)));--_popup-min-width:var(--popup-min-width, var(--mod-popup-min-width, var(--ds-popup-min-width)));--_popup-max-width:var(--popup-max-width, var(--mod-popup-max-width, none));--_popup-z-index:var(--popup-z-index, var(--mod-popup-z-index, var(--ds-popup-z-index)));--_popup-backdrop-background:var(--popup-backdrop-background, var(--mod-popup-backdrop-background, var(--ds-popup-backdrop-background)));--_popup-backdrop-opacity:var(--popup-backdrop-opacity, var(--mod-popup-backdrop-opacity, var(--ds-popup-backdrop-opacity)));--_popup-arrow-size:var(--popup-arrow-size, var(--mod-popup-arrow-size, var(--ds-popup-arrow-size, 8px)));display:contents}[part=backdrop]{position:fixed;inset:0;z-index:calc(var(--_popup-z-index) - 1);background:var(--_popup-backdrop-background);opacity:0;pointer-events:none;-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}:host(.is-open) [part=backdrop]{opacity:var(--_popup-backdrop-opacity);pointer-events:auto}:host(.is-animated) [part=backdrop]{-webkit-transition:opacity 200ms ease;transition:opacity 200ms ease}[part=panel]{position:fixed;z-index:var(--_popup-z-index);background:var(--_popup-background);border-radius:var(--_popup-radius);-webkit-box-shadow:var(--_popup-shadow);box-shadow:var(--_popup-shadow);padding:var(--_popup-p);min-width:var(--_popup-min-width);max-width:var(--_popup-max-width);opacity:0;visibility:hidden;pointer-events:none;outline:none !important}[part=panel]::-moz-focus-inner{border:0}:host(.is-open) [part=panel]{opacity:1;visibility:visible;pointer-events:auto}:host(.is-animated) [part=panel]{-webkit-transition:opacity 200ms ease,visibility 200ms ease;transition:opacity 200ms ease,visibility 200ms ease}[part=close]{position:absolute;top:.5rem;right:.5rem}:host(.is-closable) [part=panel]{padding-right:calc(var(--_popup-p) + var(--_popup-p))}[part=arrow]{position:absolute;width:var(--_popup-arrow-size);height:var(--_popup-arrow-size);background:var(--_popup-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);pointer-events:none}[part=panel][data-placement=bottom] [part=arrow]{top:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=top] [part=arrow]{bottom:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=right] [part=arrow]{left:calc(var(--_popup-arrow-size)/-2)}[part=panel][data-placement=left] [part=arrow]{right:calc(var(--_popup-arrow-size)/-2)}@media (prefers-reduced-motion: reduce){:host(.is-animated) [part=panel],:host(.is-animated) [part=backdrop]{-webkit-transition:none !important;transition:none !important}}"}},[257,"ds-popup",{open:[1540],trigger:[16],placement:[1],offset:[2],role:[1],closable:[4],backdropDismiss:[4,"backdrop-dismiss"],backdrop:[4],group:[1],label:[1],arrow:[4],trapFocus:[4,"trap-focus"],animated:[32],isOpen:[32],present:[64],dismiss:[64],toggle:[64],configChanged:[64]},[[4,"click","listenToClick"],[4,"keydown","listenToKeyDown"]],{open:[{openChanged:0}],trigger:[{triggerChanged:0}]}]);function P(){"undefined"!=typeof customElements&&["ds-popup","ds-brand-icon","ds-button","ds-close","ds-icon","ds-spinner"].forEach((t=>{switch(t){case"ds-popup":customElements.get(e(t))||customElements.define(e(t),E);break;case"ds-brand-icon":customElements.get(e(t))||w();break;case"ds-button":customElements.get(e(t))||y();break;case"ds-close":customElements.get(e(t))||k();break;case"ds-icon":customElements.get(e(t))||x();break;case"ds-spinner":customElements.get(e(t))||_()}}))}r([n("popup"),d("design:type",Function),d("design:paramtypes",[Function]),d("design:returntype",void 0)],E.prototype,"createLogger",null),r([j("boolean"),d("design:type",Boolean)],E.prototype,"open",void 0),r([z(C),d("design:type",String)],E.prototype,"placement",void 0),r([j("number"),d("design:type",Number)],E.prototype,"offset",void 0),r([z(["dialog","listbox","menu","tree","grid"]),d("design:type",String)],E.prototype,"role",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"closable",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"backdropDismiss",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"backdrop",void 0),r([j("string"),d("design:type",Object)],E.prototype,"group",void 0),r([j("string"),d("design:type",String)],E.prototype,"label",void 0),r([j("boolean"),d("design:type",Boolean)],E.prototype,"arrow",void 0),r([j("boolean"),d("design:type",Object)],E.prototype,"trapFocus",void 0),r([D(),d("design:type",Function),d("design:paramtypes",[Object]),d("design:returntype",Promise)],E.prototype,"configChanged",null);export{C as P,E as a,P as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{q as t,o as s,p as i}from"./p-
|
|
4
|
+
import{q as t,o as s,p as i}from"./p-Dbt7_-_D.js";import{L as e,S as h}from"./p-BVNhJBnn.js";import{d as o}from"./p-DOP4fM2o.js";import{d as r}from"./p-CpB1Qjh1.js";class n{constructor(t={}){this.previousWidth=o.window.width,this.previousHeight=o.window.height,this.previousIsLandscape=this.isLandscape,this.options={onlyListenToWidthChanges:!1},this.options=Object.assign(Object.assign({},this.options),t)}async hasResized(){if(r.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape)return this.resetPreviousValues(),!0}else if(this.options.onlyListenToWidthChanges){if(!this.sameWidth)return this.resetPreviousValues(),!0}else if(!this.sameWidth||!this.sameHeight)return this.resetPreviousValues(),!0;return!1}get isLandscape(){return o.window.width>o.window.height}get sameWidth(){return this.previousWidth===o.window.width}get sameHeight(){return this.previousHeight===o.window.height}resetPreviousValues(){this.previousWidth=o.window.width,this.previousHeight=o.window.height,this.previousIsLandscape=this.isLandscape}}class a extends e{constructor(){super(...arguments),this.resizeHandler=new n({onlyListenToWidthChanges:!0}),this.debouncedNotify=t((()=>this.notify()),100),this.notify=async()=>{await this.resizeHandler.hasResized()&&super.notify(void 0)}}connect(t){super.connect(t),this.el&&s(this.el,"resize",this.debouncedNotify,{passive:!0})}disconnect(){super.disconnect(),this.el&&i(this.el,"resize",this.debouncedNotify)}}const p="#000d6e",u="#ffffff",c=24,d=32,l=24,k=24,g=32,b=48,f=t=>t.innerWidth<769,m=t=>{const s=t.innerWidth;return s>=769&&s<1024},X=t=>f(t)||m(t),j={mobile:f,tablet:m,touch:X,desktop:t=>!X(t),desktopLg:t=>{const s=t.innerWidth;return s>=1280&&s<1440},desktopXl:t=>{const s=t.innerWidth;return s>=1440&&s<1920},desktop2Xl:t=>t.innerWidth>=1920};class L{constructor(){this.breakpoints=[],o.hasWindow&&(this.win=window,this.win.DesignSystem=this.win.DesignSystem||{},this.detect())}get isMobile(){return this.includes("mobile")}get isTablet(){return this.includes("tablet")}get isTouch(){return this.includes("touch")}get isDesktop(){return this.includes("desktop")}get isDesktopLg(){return this.includes("desktopLg")}get isDesktopXl(){return this.includes("desktopXl")}get isDesktop2Xl(){return this.includes("desktop2Xl")}includes(t){var s;return this.detect(),!!(null===(s=this.breakpoints)||void 0===s?void 0:s.includes(t))}detect(){return this.win&&(this.breakpoints=Object.keys(j).filter((t=>j[t](this.win))),this.win.DesignSystem.breakpoints=this.breakpoints,this.win.DesignSystem.platforms=this.breakpoints),this.breakpoints}toObject(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),desktopLg:this.breakpoints.includes("desktopLg"),desktopXl:this.breakpoints.includes("desktopXl"),desktop2Xl:this.breakpoints.includes("desktop2Xl")}}}const D=new L,w={mobile:!1,tablet:!1,touch:!1,desktop:!1,desktopLg:!1,desktopXl:!1,desktop2Xl:!1};class O extends h{constructor(){super((t=>t.listenToBreakpoint(this.state))),this.state=w,this.listener=new a,this.debouncedNotify=t((()=>this.notify()),50),this.listener.connect(),this.listener.add((()=>{D.detect();const t=D.toObject();this.isEqual(t)||(this.state=t,this.debouncedNotify())}))}attach(t){super.attach(t),D.detect();const s=D.toObject();this.isEqual(s)||(this.state=s,this.debouncedNotify())}isEqual(t){return JSON.stringify(this.state)===JSON.stringify(t)}}const v=new O;export{O as D,a as W,v as a,L as b,u as c,D as d,p as e,l as f,k as g,g as h,b as i,c as j,d as k,w as l}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{a as n}from"./p-
|
|
4
|
+
import{a as n}from"./p-DpLrRYE7.js";function t(){return function(t){const{connectedCallback:c,disconnectedCallback:i}=t;t.connectedCallback=function(){return n.attach(this),c&&c.call(this)},t.disconnectedCallback=function(){return n.detach(this),i&&i.call(this)}}}export{t as L}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{q as s,m as t}from"./p-
|
|
4
|
+
import{q as s,m as t}from"./p-Dbt7_-_D.js";import{L as i,a as e}from"./p-BVNhJBnn.js";import{d as h}from"./p-DOP4fM2o.js";class n extends i{constructor(){super(...arguments),this.debouncedNotify=s((s=>this.notify(s)),42)}connect(s){var t;super.connect(s),"undefined"!=typeof ResizeObserver&&(void 0!==this.resizeObserver&&(null===(t=this.resizeObserver)||void 0===t||t.disconnect(),this.resizeObserver=void 0),this.resizeObserver=new ResizeObserver((s=>{h.hasWindow&&window.requestAnimationFrame((()=>{if(!Array.isArray(s)||!s.length)return;const t=s[0];if(void 0===this.lastWidth&&void 0===this.lastHeight)this.lastWidth=t.contentRect.width,this.lastHeight=t.contentRect.height;else{const s=this.lastWidth!==t.contentRect.width,i=this.lastHeight!==t.contentRect.height;(s||i)&&(this.debouncedNotify({width:s,height:i}),this.lastWidth=t.contentRect.width,this.lastHeight=t.contentRect.height)}}))})),this.resizeObserver.observe(s))}disconnect(){var s;super.disconnect(),null===(s=this.resizeObserver)||void 0===s||s.disconnect(),this.resizeObserver=void 0}}class r extends e{constructor(){super(((s,i)=>{t((()=>i&&s.listenToResize(i)))})),this.listener=new n}attach(s){super.attach(s),this.listener.connect(s.el),this.listener.add((s=>super.notify(s)))}detach(){super.detach(),this.listener.disconnect()}}function o(){return function(s){const{connectedCallback:t,disconnectedCallback:i}=s;s.connectedCallback=function(){return this._dsResizeSubject||(this._dsResizeSubject=new r,this._dsResizeSubject.attach(this)),t&&t.call(this)},s.disconnectedCallback=function(){return this._dsResizeSubject&&(this._dsResizeSubject.detach(),this._dsResizeSubject=void 0),i&&i.call(this)}}}export{o as L}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as i,H as n,h as o,c as r,t as e}from"./p-ZM4hf44X.js";import{_ as a,L as d,a as l}from"./p-C7Qb2sJV.js";import{h as s}from"./p-CenSJbHh.js";import{f as c,s as t}from"./p-BNUaCToz.js";import{B as b,a as v}from"./p-BE8gDnW7.js";import{T as m}from"./p-BV65welS.js";import{O as g}from"./p-PmBBNJAS.js";const h=i(class extends n{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this._fetchedSrc="",this.svgContent="",this.svg="",this.src="",this.tile=!1,this.disabled=!1,this.invalid=!1,this.generateSvgContent=async()=>{if(this.src&&this.src!==this._fetchedSrc)return this._fetchedSrc=this.src,void(this.svgContent=await c(this.src));if(this.svg){const i=t(this.svg);i!==this.svgContent&&(this.svgContent=i)}}}createLogger(i){this.log=i}connectedCallback(){this.generateSvgContent()}async componentWillRender(){await this.generateSvgContent()}render(){return o(r,{key:"3e15d3aa7a3983c18904b64dca52df79bbb3231e","aria-hidden":"true",class:{[`is-${this.color}`]:s(this.color),[`is-${this.size}`]:s(this.size),"is-tile":this.tile,"is-disabled":this.disabled,"is-invalid":this.invalid}},o("div",{key:"e58eac2807533fb1efea2cc0a26da5f729be7a82",id:"inner",part:"inner",innerHTML:this.svgContent}))}get el(){return this}static get style(){return':host{--_brand-icon-position:var(--brand-icon-position, var(--mod-brand-icon-position, static));--_brand-icon-top:var(--brand-icon-top, var(--mod-brand-icon-top));--_brand-icon-right:var(--brand-icon-right, var(--mod-brand-icon-right));--_brand-icon-bottom:var(--brand-icon-bottom, var(--mod-brand-icon-bottom));--_brand-icon-left:var(--brand-icon-left, var(--mod-brand-icon-left));position:var(--_brand-icon-position);top:var(--_brand-icon-top);right:var(--_brand-icon-right);bottom:var(--_brand-icon-bottom);left:var(--_brand-icon-left);--_brand-icon-m:var(--brand-icon-m, var(--mod-brand-icon-m, 0));--_brand-icon-my:var(--brand-icon-my, var(--mod-brand-icon-my));--_brand-icon-mx:var(--brand-icon-mx, var(--mod-brand-icon-mx));--_brand-icon-ml:var(--brand-icon-ml, var(--mod-brand-icon-ml));--_brand-icon-mr:var(--brand-icon-mr, var(--mod-brand-icon-mr));--_brand-icon-mt:var(--brand-icon-mt, var(--mod-brand-icon-mt));--_brand-icon-mb:var(--brand-icon-mb, var(--mod-brand-icon-mb));margin:var(--_brand-icon-m);margin-inline:var(--_brand-icon-mx);margin-block:var(--_brand-icon-my);margin-left:var(--_brand-icon-ml);margin-right:var(--_brand-icon-mr);margin-top:var(--_brand-icon-mt);margin-bottom:var(--_brand-icon-mb);--_brand-icon-size:var(--brand-icon-size, var(--mod-brand-icon-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-size:var(--brand-icon-inner-size, var(--mod-brand-icon-inner-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-mt:var(--brand-icon-inner-mt, var(--mod-brand-icon-inner-mt, 0));--_brand-icon-color-background:var(--brand-icon-color-background, var(--mod-brand-icon-color-background, var(--ds-brand-icon-color-purple-background)));--_brand-icon-color-level-1:var(--brand-icon-color-level-1, var(--mod-brand-icon-color-level-1, var(--ds-brand-icon-color-purple-level1)));--_brand-icon-color-level-2:var(--brand-icon-color-level-2, var(--mod-brand-icon-color-level-2, var(--ds-brand-icon-color-purple-level2)));--_brand-icon-color-level-3:var(--brand-icon-color-level-3, var(--mod-brand-icon-color-level-3, var(--ds-brand-icon-color-purple-level3)));--_brand-icon-tile-size:var(--brand-icon-tile-size, var(--mod-brand-icon-tile-size, var(--ds-brand-icon-tile-size-base-mobile)));--_brand-icon-tile-size-tablet:var(--brand-icon-tile-size-tablet, var(--mod-brand-icon-tile-size-tablet, var(--ds-brand-icon-tile-size-base-tablet)));--_brand-icon-tile-size-desktop:var(--brand-icon-tile-size-desktop, var(--mod-brand-icon-tile-size-desktop, var(--ds-brand-icon-tile-size-base-desktop)));--_brand-icon-tile-color-background:var(--brand-icon-tile-color-background, var(--mod-brand-icon-tile-color-background, var(--ds-brand-icon-tile-color-purple)));--_brand-icon-tile-radius:var(--brand-icon-tile-radius, var(--mod-brand-icon-tile-radius, var(--ds-brand-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_brand-icon-size);height:var(--_brand-icon-size);max-height:var(--_brand-icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;margin-top:var(--_brand-icon-inner-mt);width:var(--_brand-icon-inner-size);height:var(--_brand-icon-inner-size);max-height:var(--_brand-icon-inner-size)}:host #inner svg{vertical-align:top;fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#000d6e"]{fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#fa9319"],:host #inner svg * [fill="#d9304c"],:host #inner svg * [fill="#1b5951"],:host #inner svg * [fill="#6c2273"]{fill:var(--_brand-icon-color-level-2)}:host #inner svg * [fill="#fae052"],:host #inner svg * [fill="#ffaca6"],:host #inner svg * [fill="#b8b2ff"],:host #inner svg * [fill="#94e3d4"]{fill:var(--_brand-icon-color-level-3)}:host(.is-tile){background:var(--_brand-icon-color-background);border-radius:var(--_brand-icon-tile-radius);height:var(--_brand-icon-tile-size);--mod-brand-icon-size:var(--_brand-icon-tile-size);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-size:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-tablet)}}@media screen and (min-width: 1024px){:host(.is-tile){height:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-size:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-desktop)}}:host(.is-sm:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-sm);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-sm)}:host(.is-sm.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-sm-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-sm-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-sm-desktop)}:host(.is-lg:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-lg);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-lg)}:host(.is-lg.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-lg-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-lg-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-lg-desktop)}:host(.is-purple:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-purple-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-purple-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-purple-level3)}:host(.is-purple.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-purple-background)}:host(.is-red:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-red-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-red-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-red-level3)}:host(.is-red.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-red-background)}:host(.is-green:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-green-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-green-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-green-level3)}:host(.is-green.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-green-background)}:host(.is-yellow:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-yellow-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-yellow-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-yellow-level3)}:host(.is-yellow.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-yellow-background)}:host(.is-disabled){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-disabled-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-disabled-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-disabled-level3)}:host(.is-disabled.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-disabled-background)}:host(.is-invalid){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-invalid-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-invalid-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-invalid-level3)}:host(.is-invalid.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-invalid-background)}'}},[1,"ds-brand-icon",{svg:[1],src:[1],size:[513],color:[1],tile:[4],disabled:[4],invalid:[4],svgContent:[32]}]);function p(){"undefined"!=typeof customElements&&["ds-brand-icon"].forEach((i=>{"ds-brand-icon"===i&&(customElements.get(e(i))||customElements.define(e(i),h))}))}a([d("brand-icon"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],h.prototype,"createLogger",null),a([m("string"),l("design:type",String)],h.prototype,"svg",void 0),a([m("string"),l("design:type",String)],h.prototype,"src",void 0),a([g(b),l("design:type",Object)],h.prototype,"size",void 0),a([g(v),l("design:type",Object)],h.prototype,"color",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"tile",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"disabled",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"invalid",void 0);export{h as B,p as d}
|
|
4
|
+
import{p as i,H as n,h as o,c as r,t as e}from"./p-DOP4fM2o.js";import{_ as a,L as d,a as l}from"./p-C8OqQuJ7.js";import{h as s}from"./p-CEPnyz7c.js";import{f as c,s as t}from"./p-DFgZk16R.js";import{B as b,a as v}from"./p-BE8gDnW7.js";import{T as m}from"./p-DEnVBHne.js";import{O as g}from"./p-DaqLtBr3.js";const h=i(class extends n{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this._fetchedSrc="",this.svgContent="",this.svg="",this.src="",this.tile=!1,this.disabled=!1,this.invalid=!1,this.generateSvgContent=async()=>{if(this.src&&this.src!==this._fetchedSrc)return this._fetchedSrc=this.src,void(this.svgContent=await c(this.src));if(this.svg){const i=t(this.svg);i!==this.svgContent&&(this.svgContent=i)}}}createLogger(i){this.log=i}connectedCallback(){this.generateSvgContent()}async componentWillRender(){await this.generateSvgContent()}render(){return o(r,{key:"3e15d3aa7a3983c18904b64dca52df79bbb3231e","aria-hidden":"true",class:{[`is-${this.color}`]:s(this.color),[`is-${this.size}`]:s(this.size),"is-tile":this.tile,"is-disabled":this.disabled,"is-invalid":this.invalid}},o("div",{key:"e58eac2807533fb1efea2cc0a26da5f729be7a82",id:"inner",part:"inner",innerHTML:this.svgContent}))}get el(){return this}static get style(){return':host{--_brand-icon-position:var(--brand-icon-position, var(--mod-brand-icon-position, static));--_brand-icon-top:var(--brand-icon-top, var(--mod-brand-icon-top));--_brand-icon-right:var(--brand-icon-right, var(--mod-brand-icon-right));--_brand-icon-bottom:var(--brand-icon-bottom, var(--mod-brand-icon-bottom));--_brand-icon-left:var(--brand-icon-left, var(--mod-brand-icon-left));position:var(--_brand-icon-position);top:var(--_brand-icon-top);right:var(--_brand-icon-right);bottom:var(--_brand-icon-bottom);left:var(--_brand-icon-left);--_brand-icon-m:var(--brand-icon-m, var(--mod-brand-icon-m, 0));--_brand-icon-my:var(--brand-icon-my, var(--mod-brand-icon-my));--_brand-icon-mx:var(--brand-icon-mx, var(--mod-brand-icon-mx));--_brand-icon-ml:var(--brand-icon-ml, var(--mod-brand-icon-ml));--_brand-icon-mr:var(--brand-icon-mr, var(--mod-brand-icon-mr));--_brand-icon-mt:var(--brand-icon-mt, var(--mod-brand-icon-mt));--_brand-icon-mb:var(--brand-icon-mb, var(--mod-brand-icon-mb));margin:var(--_brand-icon-m);margin-inline:var(--_brand-icon-mx);margin-block:var(--_brand-icon-my);margin-left:var(--_brand-icon-ml);margin-right:var(--_brand-icon-mr);margin-top:var(--_brand-icon-mt);margin-bottom:var(--_brand-icon-mb);--_brand-icon-size:var(--brand-icon-size, var(--mod-brand-icon-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-size:var(--brand-icon-inner-size, var(--mod-brand-icon-inner-size, var(--ds-brand-icon-size-base)));--_brand-icon-inner-mt:var(--brand-icon-inner-mt, var(--mod-brand-icon-inner-mt, 0));--_brand-icon-color-background:var(--brand-icon-color-background, var(--mod-brand-icon-color-background, var(--ds-brand-icon-color-purple-background)));--_brand-icon-color-level-1:var(--brand-icon-color-level-1, var(--mod-brand-icon-color-level-1, var(--ds-brand-icon-color-purple-level1)));--_brand-icon-color-level-2:var(--brand-icon-color-level-2, var(--mod-brand-icon-color-level-2, var(--ds-brand-icon-color-purple-level2)));--_brand-icon-color-level-3:var(--brand-icon-color-level-3, var(--mod-brand-icon-color-level-3, var(--ds-brand-icon-color-purple-level3)));--_brand-icon-tile-size:var(--brand-icon-tile-size, var(--mod-brand-icon-tile-size, var(--ds-brand-icon-tile-size-base-mobile)));--_brand-icon-tile-size-tablet:var(--brand-icon-tile-size-tablet, var(--mod-brand-icon-tile-size-tablet, var(--ds-brand-icon-tile-size-base-tablet)));--_brand-icon-tile-size-desktop:var(--brand-icon-tile-size-desktop, var(--mod-brand-icon-tile-size-desktop, var(--ds-brand-icon-tile-size-base-desktop)));--_brand-icon-tile-color-background:var(--brand-icon-tile-color-background, var(--mod-brand-icon-tile-color-background, var(--ds-brand-icon-tile-color-purple)));--_brand-icon-tile-radius:var(--brand-icon-tile-radius, var(--mod-brand-icon-tile-radius, var(--ds-brand-icon-tile-radius)))}:host{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;vertical-align:middle;pointer-events:visible;width:var(--_brand-icon-size);height:var(--_brand-icon-size);max-height:var(--_brand-icon-size)}:host #inner{display:block;position:static;z-index:1;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out;margin-top:var(--_brand-icon-inner-mt);width:var(--_brand-icon-inner-size);height:var(--_brand-icon-inner-size);max-height:var(--_brand-icon-inner-size)}:host #inner svg{vertical-align:top;fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#000d6e"]{fill:var(--_brand-icon-color-level-1)}:host #inner svg * [fill="#fa9319"],:host #inner svg * [fill="#d9304c"],:host #inner svg * [fill="#1b5951"],:host #inner svg * [fill="#6c2273"]{fill:var(--_brand-icon-color-level-2)}:host #inner svg * [fill="#fae052"],:host #inner svg * [fill="#ffaca6"],:host #inner svg * [fill="#b8b2ff"],:host #inner svg * [fill="#94e3d4"]{fill:var(--_brand-icon-color-level-3)}:host(.is-tile){background:var(--_brand-icon-color-background);border-radius:var(--_brand-icon-tile-radius);height:var(--_brand-icon-tile-size);--mod-brand-icon-size:var(--_brand-icon-tile-size);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size)}@media screen and (min-width: 769px){:host(.is-tile){height:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-size:var(--_brand-icon-tile-size-tablet);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-tablet)}}@media screen and (min-width: 1024px){:host(.is-tile){height:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-size:var(--_brand-icon-tile-size-desktop);--mod-brand-icon-inner-size:var(--_brand-icon-tile-size-desktop)}}:host(.is-sm:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-sm);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-sm)}:host(.is-sm.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-sm-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-sm-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-sm-desktop)}:host(.is-lg:not(.is-tile)){--mod-brand-icon-size:var(--ds-brand-icon-size-lg);--mod-brand-icon-inner-size:var(--ds-brand-icon-size-lg)}:host(.is-lg.is-tile){--mod-brand-icon-tile-size:var(--ds-brand-icon-tile-size-lg-mobile);--mod-brand-icon-tile-size-tablet:var(--ds-brand-icon-tile-size-lg-tablet);--mod-brand-icon-tile-size-desktop:var(--ds-brand-icon-tile-size-lg-desktop)}:host(.is-purple:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-purple-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-purple-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-purple-level3)}:host(.is-purple.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-purple-background)}:host(.is-red:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-red-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-red-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-red-level3)}:host(.is-red.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-red-background)}:host(.is-green:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-green-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-green-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-green-level3)}:host(.is-green.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-green-background)}:host(.is-yellow:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-yellow-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-yellow-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-yellow-level3)}:host(.is-yellow.is-tile:not(.is-disabled,.is-invalid)){--mod-brand-icon-color-background:var(--ds-brand-icon-color-yellow-background)}:host(.is-disabled){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-disabled-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-disabled-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-disabled-level3)}:host(.is-disabled.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-disabled-background)}:host(.is-invalid){--mod-brand-icon-color-level-1:var(--ds-brand-icon-color-invalid-level1);--mod-brand-icon-color-level-2:var(--ds-brand-icon-color-invalid-level2);--mod-brand-icon-color-level-3:var(--ds-brand-icon-color-invalid-level3)}:host(.is-invalid.is-tile){--mod-brand-icon-color-background:var(--ds-brand-icon-color-invalid-background)}'}},[1,"ds-brand-icon",{svg:[1],src:[1],size:[513],color:[1],tile:[4],disabled:[4],invalid:[4],svgContent:[32]}]);function p(){"undefined"!=typeof customElements&&["ds-brand-icon"].forEach((i=>{"ds-brand-icon"===i&&(customElements.get(e(i))||customElements.define(e(i),h))}))}a([d("brand-icon"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],h.prototype,"createLogger",null),a([m("string"),l("design:type",String)],h.prototype,"svg",void 0),a([m("string"),l("design:type",String)],h.prototype,"src",void 0),a([g(b),l("design:type",Object)],h.prototype,"size",void 0),a([g(v),l("design:type",Object)],h.prototype,"color",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"tile",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"disabled",void 0),a([m("boolean"),l("design:type",Boolean)],h.prototype,"invalid",void 0);export{h as B,p as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{e as i}from"./p-Dbt7_-_D.js";const t=(i,t)=>{"function"==typeof i.setFormValue&&i.setFormValue(t)};class s{constructor(s){this.component=s,this.initialValue=null,this.inputValue=null,this.listenOnClick=i=>{(this.component.disabled||this.component.readonly)&&i.target&&i.target===this.component.el&&o(i)},this.listenOnReset=i=>{const t=i.target;(null==t?void 0:t.contains(this.component.el))&&(this.setValue(this.initialValue),clearTimeout(this.resetHandlerTimer),this.resetHandlerTimer=setTimeout((()=>{this.nativeEl&&(this.nativeEl.value=this.component.value)})))},this.onClick=i=>{var t;this.component.disabled||this.component.readonly||null===(t=this.component)||void 0===t||t.dsClick.emit(i)},this.onFocus=i=>{var t;this.component.focused=!0,this.inputValue=this.component.value,this.component.disabled||null===(t=this.component)||void 0===t||t.dsFocus.emit(i)},this.onBlur=i=>{var t;this.component.focused=!1,this.component.disabled||(null===(t=this.component)||void 0===t||t.dsBlur.emit(i),this.setValue(this.inputValue))},this.onInput=()=>{var i;this.inputValue=(null===(i=this.nativeEl)||void 0===i?void 0:i.value)||null,this.component.dsInput.emit(this.inputValue||void 0)},this.setValue=i=>{l(this.component.value,i)&&(this.component.value=i,this.inputValue=i,t(this.component.internals,this.inputValue),this.component.dsChange.emit(this.component.value))},this.setBlur=async()=>{var i;null===(i=null==this?void 0:this.nativeEl)||void 0===i||i.blur()},this.setFocus=async()=>{var t;await i(),null===(t=null==this?void 0:this.nativeEl)||void 0===t||t.focus()}}connectedCallback(){this.initialValue=this.component.value}componentDidLoad(){this.inputValue=this.component.value,t(this.component.internals,this.inputValue)}}const h=i=>(i=>""===i||null==i||Array.isArray(i)&&!i.length||"number"==typeof i&&isNaN(i))(i)?void 0:i,l=(i,t)=>h(i)!==h(t),o=i=>{i&&(i.preventDefault(),i.stopPropagation())};export{s as F,t as a,o as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{p as e,H as i,d as a,h,c as d,t as n}from"./p-DOP4fM2o.js";import{_ as g,L as t,a as l}from"./p-C8OqQuJ7.js";import{h as o}from"./p-CEPnyz7c.js";import{O as s}from"./p-DaqLtBr3.js";import{T as r}from"./p-DEnVBHne.js";const v=["display","display-2","h1","h2","h3","h4","h5","5xl","4xl","3xl","2xl","xl","lg","md","base"],m=["h1","h2","h3","h4","h5","span","p"],f={display:"h1","display-2":"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",span:"span",p:"p","5xl":"h1","4xl":"h1","3xl":"h1","2xl":"h1",xl:"h2",lg:"h3",md:"h4",base:"h5"},p=["5xl","4xl","3xl","2xl","xl","lg","md","base"],y={display:"5xl","display-2":"4xl",h1:"3xl",h2:"2xl",h3:"xl",h4:"lg",h5:"base",p:"base",span:"base","5xl":"5xl","4xl":"4xl","3xl":"3xl","2xl":"2xl",xl:"xl",lg:"lg",md:"md",base:"base"},b=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.level="h1",this.noWrap=!1,this.subtitle=!1,this.inverted=!1,this.shadow=!1}createLogger(e){this.log=e}levelChanged(){this.updateAutoFontSize()}visualLevelChanged(){this.updateAutoFontSize()}autoLevelChanged(){this.updateAutoFontSize()}componentWillLoad(){this.updateAutoFontSize()}componentDidRender(){const e=this.autoLevel;if(e&&this.autoFontSize&&this.rows>1&&y[e]!==this.autoFontSize){const e=p.indexOf(this.autoFontSize)+1;this.autoFontSize=p[e]}}updateAutoFontSize(){this.autoFontSize=this.fontSize}get rows(){if(this.headingEl&&a.hasWindow){const e=window.getComputedStyle(this.headingEl),i=parseInt(e.lineHeight.slice(0,-2),10);return this.headingEl.offsetHeight/i}return 1}get fontSize(){return y[this.visualLevel?this.visualLevel:this.level]}get tag(){return f[this.level]}render(){const e=this.tag;return h(d,{key:"b14aed2c5da373bb0b5da6a0a9ebc2b183bea56a",class:{[`is-${this.autoFontSize}`]:void 0!==this.autoFontSize,"is-inverted":this.inverted,"is-subtitle":this.subtitle,[`has-space-${this.space}`]:o(this.space),"has-no-wrap":this.noWrap,"has-shadow":this.shadow}},h(e,{key:"292e98f4ac28e40767dace83d1c7f859794b22e5",id:"heading",part:"heading",ref:e=>this.headingEl=e},h("slot",{key:"52c01fec4eb9518ba832010f100988a357a1eb2c"})))}get el(){return this}static get watchers(){return{level:[{levelChanged:0}],visualLevel:[{visualLevelChanged:0}],autoLevel:[{autoLevelChanged:0}]}}static get style(){return":host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-level-1-font-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-level-1-font-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-level-1-line-height)));--_heading-size:var(--heading-size, var(--mod-heading-size, var(--ds-heading-level-1-font-size)));--_heading-color:var(--heading-color, var(--mod-heading-color, var(--ds-heading-color-primary)));--_heading-margin:var(--heading-margin, var(--mod-heading-margin, var(--ds-device-space-xs)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}:host{--_heading-position:var(--heading-position, var(--mod-heading-position, static));--_heading-top:var(--heading-top, var(--mod-heading-top));--_heading-right:var(--heading-right, var(--mod-heading-right));--_heading-bottom:var(--heading-bottom, var(--mod-heading-bottom));--_heading-left:var(--heading-left, var(--mod-heading-left));position:var(--_heading-position);top:var(--_heading-top);right:var(--_heading-right);bottom:var(--_heading-bottom);left:var(--_heading-left);--_heading-m:var(--heading-m, var(--mod-heading-m, 0));--_heading-my:var(--heading-my, var(--mod-heading-my));--_heading-mx:var(--heading-mx, var(--mod-heading-mx));--_heading-ml:var(--heading-ml, var(--mod-heading-ml));--_heading-mr:var(--heading-mr, var(--mod-heading-mr));--_heading-mt:var(--heading-mt, var(--mod-heading-mt));--_heading-mb:var(--heading-mb, var(--mod-heading-mb));margin:var(--_heading-m);margin-inline:var(--_heading-mx);margin-block:var(--_heading-my);margin-left:var(--_heading-ml);margin-right:var(--_heading-mr);margin-top:var(--_heading-mt);margin-bottom:var(--_heading-mb);--_heading-family:var(--heading-family, var(--mod-heading-family, var(--ds-heading-level-light1-font-family)));--_heading-weight:var(--heading-weight, var(--mod-heading-weight, var(--ds-heading-level-light1-font-weight)));--_heading-line-height:var(--heading-line-height, var(--mod-heading-line-height, var(--ds-heading-level-light1-line-height)));--_heading-size:var(--heading-size, var(--mod-heading-size, var(--ds-heading-level-light1-font-size)));--_heading-color:var(--heading-color, var(--mod-heading-color, var(--ds-heading-color-primary)));--_heading-margin:var(--heading-margin, var(--mod-heading-margin, var(--ds-device-space-xs)));--_heading-shadow:var(--heading-shadow, var(--mod-heading-shadow, none));--_heading-text-align:var(--heading-text-align, var(--mod-heading-text-align, inherit))}#heading{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;text-wrap:balance;color:var(--_heading-color);font-family:var(--_heading-family);font-weight:var(--_heading-weight);font-size:var(--_heading-size);line-height:var(--_heading-line-height);text-align:var(--_heading-text-align);text-shadow:var(--_heading-shadow)}#heading em:not(.ds-text),#heading span:not(.ds-text){font-weight:inherit}#heading b,#heading strong,#heading .is-bold{font-weight:var(--ds-alias-text-weight-bold)}:host(.has-no-wrap) #heading{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host(.has-shadow){--mod-heading-shadow:var(--ds-heading-shadow)}:host(.is-inverted){--mod-heading-color:var(--ds-heading-color-inverted)}:host(.is-5xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-display1-font-family);--mod-heading-weight:var(--ds-heading-level-display1-font-weight);--mod-heading-line-height:var(--ds-heading-level-display1-line-height);--mod-heading-size:var(--ds-heading-level-display1-font-size)}:host(.is-5xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light-display1-font-family);--mod-heading-weight:var(--ds-heading-level-light-display1-font-weight);--mod-heading-line-height:var(--ds-heading-level-light-display1-line-height);--mod-heading-size:var(--ds-heading-level-light-display1-font-size)}:host(.is-4xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-display2-font-family);--mod-heading-weight:var(--ds-heading-level-display2-font-weight);--mod-heading-line-height:var(--ds-heading-level-display2-line-height);--mod-heading-size:var(--ds-heading-level-display2-font-size)}:host(.is-4xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light-display2-font-family);--mod-heading-weight:var(--ds-heading-level-light-display2-font-weight);--mod-heading-line-height:var(--ds-heading-level-light-display2-line-height);--mod-heading-size:var(--ds-heading-level-light-display2-font-size)}:host(.is-3xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-1-font-family);--mod-heading-weight:var(--ds-heading-level-1-font-weight);--mod-heading-line-height:var(--ds-heading-level-1-line-height);--mod-heading-size:var(--ds-heading-level-1-font-size)}:host(.is-3xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light1-font-family);--mod-heading-weight:var(--ds-heading-level-light1-font-weight);--mod-heading-line-height:var(--ds-heading-level-light1-line-height);--mod-heading-size:var(--ds-heading-level-light1-font-size)}:host(.is-2xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-2-font-family);--mod-heading-weight:var(--ds-heading-level-2-font-weight);--mod-heading-line-height:var(--ds-heading-level-2-line-height);--mod-heading-size:var(--ds-heading-level-2-font-size)}:host(.is-2xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light2-font-family);--mod-heading-weight:var(--ds-heading-level-light2-font-weight);--mod-heading-line-height:var(--ds-heading-level-light2-line-height);--mod-heading-size:var(--ds-heading-level-light2-font-size)}:host(.is-xl:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-3-font-family);--mod-heading-weight:var(--ds-heading-level-3-font-weight);--mod-heading-line-height:var(--ds-heading-level-3-line-height);--mod-heading-size:var(--ds-heading-level-3-font-size)}:host(.is-xl.is-subtitle){--mod-heading-family:var(--ds-heading-level-light3-font-family);--mod-heading-weight:var(--ds-heading-level-light3-font-weight);--mod-heading-line-height:var(--ds-heading-level-light3-line-height);--mod-heading-size:var(--ds-heading-level-light3-font-size)}:host(.is-lg:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-4-font-family);--mod-heading-weight:var(--ds-heading-level-4-font-weight);--mod-heading-line-height:var(--ds-heading-level-4-line-height);--mod-heading-size:var(--ds-heading-level-4-font-size)}:host(.is-lg.is-subtitle){--mod-heading-family:var(--ds-heading-level-light4-font-family);--mod-heading-weight:var(--ds-heading-level-light4-font-weight);--mod-heading-line-height:var(--ds-heading-level-light4-line-height);--mod-heading-size:var(--ds-heading-level-light4-font-size)}:host(.is-base:not(.is-subtitle)){--mod-heading-family:var(--ds-heading-level-5-font-family);--mod-heading-weight:var(--ds-heading-level-5-font-weight);--mod-heading-line-height:var(--ds-heading-level-5-line-height);--mod-heading-size:var(--ds-heading-level-5-font-size)}:host(.is-base.is-subtitle){--mod-heading-family:var(--ds-heading-level-light5-font-family);--mod-heading-weight:var(--ds-heading-level-light5-font-weight);--mod-heading-line-height:var(--ds-heading-level-light5-line-height);--mod-heading-size:var(--ds-heading-level-light5-font-size)}:host(.has-space-all){--heading-mt:var(--_heading-margin);--heading-mb:var(--_heading-margin)}:host(.has-space-top){--heading-mt:var(--_heading-margin);--heading-mb:0}:host(.has-space-bottom){--heading-mt:0;--heading-mb:var(--_heading-margin)}:host(.has-space-none){--heading-mt:0;--heading-mb:0}:host{display:block}"}},[257,"ds-heading",{level:[513],visualLevel:[513,"visual-level"],autoLevel:[513,"auto-level"],noWrap:[516,"no-wrap"],subtitle:[516],space:[513],inverted:[516],shadow:[516],autoFontSize:[32]},void 0,{level:[{levelChanged:0}],visualLevel:[{visualLevelChanged:0}],autoLevel:[{autoLevelChanged:0}]}]);function _(){"undefined"!=typeof customElements&&["ds-heading"].forEach((e=>{"ds-heading"===e&&(customElements.get(n(e))||customElements.define(n(e),b))}))}g([t("heading"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],b.prototype,"createLogger",null),g([s(["display","display-2","h1","h2","h3","h4","h5","span","p"]),l("design:type",String)],b.prototype,"level",void 0),g([s(v),l("design:type",String)],b.prototype,"visualLevel",void 0),g([s(v),l("design:type",String)],b.prototype,"autoLevel",void 0),g([r("boolean"),l("design:type",Boolean)],b.prototype,"noWrap",void 0),g([r("boolean"),l("design:type",Boolean)],b.prototype,"subtitle",void 0),g([s(["none","bottom","top","all"]),l("design:type",String)],b.prototype,"space",void 0),g([r("boolean"),l("design:type",Boolean)],b.prototype,"inverted",void 0),g([r("boolean"),l("design:type",Boolean)],b.prototype,"shadow",void 0);export{m as H,v as a,b,_ as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{c as r,i as o,g as t}from"./p-
|
|
4
|
+
import{c as r,i as o,g as t}from"./p-CkQK5z17.js";function i(){const i=r({priority:0,blocking:!0,validateEmptyValues:!0,run(r,i){const{value:n,showError:s}=t(r,i);return!o(n)||(s("is required"),!1)}});return function(r,o){i(r,o)}}export{i as R}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as o,H as e,h as s,c as r,t as c}from"./p-
|
|
4
|
+
import{p as o,H as e,h as s,c as r,t as c}from"./p-DOP4fM2o.js";import{_ as a,L as t,a as i}from"./p-C8OqQuJ7.js";import{h as n}from"./p-CEPnyz7c.js";import{i as l}from"./p-HeR2XrjO.js";import{B as d}from"./p-BoHP-k4E.js";import{d as m}from"./p-DyfdPmyS.js";import{d as v}from"./p-BB4SRrRj.js";import{d as b}from"./p-B0Z95Hj1.js";import{d as u}from"./p-D8RaAucx.js";import{d as p}from"./p-CKMUtsmn.js";import{O as g}from"./p-DaqLtBr3.js";import{T as h}from"./p-DEnVBHne.js";import{L as k}from"./p-B9OReveE.js";const f=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.language=p.language,this.region=p.region,this.inverted=!1,this.disabled=!1,this.button=!1}createLogger(o){this.log=o}async configChanged(o){this.language=o.language,this.region=o.region}render(){const o=l[this.language].close;return this.button?s(r,null,s("ds-button",{id:"close",part:"button",disabled:this.disabled,inverted:this.inverted,color:this.buttonColor,size:this.buttonSize},o)):s(r,{class:{[`is-${this.size}`]:n(this.size),"is-inverted":this.inverted,"is-disabled":this.disabled}},s("button",{id:"close",part:"button",type:"button","aria-label":o,title:o,tabindex:"0",disabled:this.disabled}))}get el(){return this}static get style(){return":host{--_close-position:var(--close-position, var(--mod-close-position, static));--_close-top:var(--close-top, var(--mod-close-top));--_close-right:var(--close-right, var(--mod-close-right));--_close-bottom:var(--close-bottom, var(--mod-close-bottom));--_close-left:var(--close-left, var(--mod-close-left));position:var(--_close-position);top:var(--_close-top);right:var(--_close-right);bottom:var(--_close-bottom);left:var(--_close-left);--_close-m:var(--close-m, var(--mod-close-m, 0));--_close-my:var(--close-my, var(--mod-close-my));--_close-mx:var(--close-mx, var(--mod-close-mx));--_close-ml:var(--close-ml, var(--mod-close-ml));--_close-mr:var(--close-mr, var(--mod-close-mr));--_close-mt:var(--close-mt, var(--mod-close-mt));--_close-mb:var(--close-mb, var(--mod-close-mb));margin:var(--_close-m);margin-inline:var(--_close-mx);margin-block:var(--_close-my);margin-left:var(--_close-ml);margin-right:var(--_close-mr);margin-top:var(--_close-mt);margin-bottom:var(--_close-mb);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}@media print{:host{display:none !important}}:host{display:inline-block}button{--_close-color-background:var(--close-color-background, var(--mod-close-color-background, var(--ds-close-primary-color-background-base)));--_close-color-background-hover:var(--close-color-background-hover, var(--mod-close-color-background-hover, var(--ds-close-primary-color-background-hover)));--_close-color-background-active:var(--close-color-background-active, var(--mod-close-color-background-active, var(--ds-close-primary-color-background-active)));--_close-color-icon:var(--close-color-icon, var(--mod-close-color-icon, var(--ds-close-primary-color-icon-base)));--_close-color-focus:var(--close-color-focus, var(--mod-close-color-focus, var(--ds-alias-interaction-focus-color-base)));--_close-radius:var(--close-radius, var(--mod-close-radius, var(--ds-close-radius)));--_close-size-icon:var(--close-size-icon, var(--mod-close-size-icon, var(--ds-close-size-base)));--_close-p:var(--close-p, var(--mod-close-p, var(--ds-close-padding-base)));--_close-icon:var(--close-icon, var(--mod-close-icon, url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill-rule='evenodd' d='M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z' clip-rule='evenodd'/%3E%3C/svg%3E\")));-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none;user-drag:none}@media print{button{display:none !important}}button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:top;border:none;background:var(--_close-color-background);border-radius:var(--_close-radius);width:var(--_close-size-icon);height:var(--_close-size-icon);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,text-shadow,-webkit-box-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow;transition-property:color,background-color,border-color,box-shadow,text-shadow,-webkit-box-shadow;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}button::after{content:\"\";display:block;min-width:calc(var(--_close-size-icon) - var(--_close-p));min-height:calc(var(--_close-size-icon) - var(--_close-p));max-width:calc(var(--_close-size-icon) - var(--_close-p));max-height:calc(var(--_close-size-icon) - var(--_close-p));-webkit-mask-image:var(--_close-icon);mask-image:var(--_close-icon);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;background:var(--_close-color-icon)}button:not(:disabled){cursor:pointer}button:not(:disabled):hover{background:var(--_close-color-background-hover)}button:not(:disabled):active{background:var(--_close-color-background-active)}@media (hover: hover)and (pointer: fine){button:not(:disabled):focus-visible:not(:active),button:not(:disabled).is-focused:not(:active){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_close-color-focus) 0 0 0 5px !important}}:host(.is-sm){--mod-close-p:var(--ds-close-padding-sm);--mod-close-size-icon:var(--ds-close-size-sm)}:host(.is-md){--mod-close-p:var(--ds-close-padding-md);--mod-close-size-icon:var(--ds-close-size-md)}:host(.is-inverted:not(.is-disabled)){--mod-close-color-icon:var(--ds-close-inverted-color-icon-base);--mod-close-color-background-hover:var(--ds-close-inverted-color-background-hover);--mod-close-color-background-active:var(--ds-close-inverted-color-background-active);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-inverted)}:host(.is-disabled:not(.is-inverted)){--mod-close-color-icon:var(--ds-close-primary-color-icon-disabled);--mod-close-color-background:var(--ds-close-primary-color-background-disabled);--mod-close-color-background-hover:var(--ds-close-primary-color-background-disabled);--mod-close-color-background-active:var(--ds-close-primary-color-background-disabled);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-base)}:host(.is-inverted.is-disabled){--mod-close-color-icon:var(--ds-close-inverted-color-icon-disabled);--mod-close-color-background:var(--ds-close-inverted-color-background-disabled);--mod-close-color-background-hover:var(--ds-close-inverted-color-background-disabled);--mod-close-color-background-active:var(--ds-close-inverted-color-background-disabled);--mod-close-color-focus:var(--ds-alias-interaction-focus-color-inverted)}"}},[1,"ds-close",{size:[513],inverted:[4],disabled:[516],button:[4],buttonColor:[1,"button-color"],buttonSize:[513,"button-size"],language:[32],region:[32],configChanged:[64]}]);function _(){"undefined"!=typeof customElements&&["ds-close","ds-brand-icon","ds-button","ds-icon","ds-spinner"].forEach((o=>{switch(o){case"ds-close":customElements.get(c(o))||customElements.define(c(o),f);break;case"ds-brand-icon":customElements.get(c(o))||m();break;case"ds-button":customElements.get(c(o))||v();break;case"ds-icon":customElements.get(c(o))||b();break;case"ds-spinner":customElements.get(c(o))||u()}}))}a([t("close"),i("design:type",Function),i("design:paramtypes",[Function]),i("design:returntype",void 0)],f.prototype,"createLogger",null),a([g(["sm","md"]),i("design:type",String)],f.prototype,"size",void 0),a([h("boolean"),i("design:type",Boolean)],f.prototype,"inverted",void 0),a([h("boolean"),i("design:type",Boolean)],f.prototype,"disabled",void 0),a([h("boolean"),i("design:type",Boolean)],f.prototype,"button",void 0),a([g(d),i("design:type",String)],f.prototype,"buttonColor",void 0),a([g(["sm","lg"]),i("design:type",String)],f.prototype,"buttonSize",void 0),a([k(),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",Promise)],f.prototype,"configChanged",null);export{f as C,_ as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{p as i,H as d,h as r,t as e,c as a}from"./p-
|
|
4
|
+
import{p as i,H as d,h as r,t as e,c as a}from"./p-DOP4fM2o.js";import{_ as s,L as v,a as o}from"./p-C8OqQuJ7.js";import{h as t}from"./p-CEPnyz7c.js";import{n as m}from"./p-BPtibja3.js";import{O as n}from"./p-DaqLtBr3.js";import{T as c}from"./p-DEnVBHne.js";const l=i(class extends d{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.layout="horizontal",this.space="none",this.color="default",this.dashed=!1}createLogger(i){this.log=i}render(){const i=m(this.space)||"";return r(a,{key:"cfa7a80d514d569d162515d21d79c7083cd903d8",role:"separator",class:{[`is-${this.layout}`]:t(this.layout),[`is-${this.color}`]:t(this.color),[`has-space-${i}`]:t(this.space),"is-dashed":this.dashed}})}get el(){return this}static get style(){return":host{--_divider-position:var(--divider-position, var(--mod-divider-position, static));--_divider-top:var(--divider-top, var(--mod-divider-top));--_divider-right:var(--divider-right, var(--mod-divider-right));--_divider-bottom:var(--divider-bottom, var(--mod-divider-bottom));--_divider-left:var(--divider-left, var(--mod-divider-left));position:var(--_divider-position);top:var(--_divider-top);right:var(--_divider-right);bottom:var(--_divider-bottom);left:var(--_divider-left);--_divider-m:var(--divider-m, var(--mod-divider-m, 0));--_divider-my:var(--divider-my, var(--mod-divider-my));--_divider-mx:var(--divider-mx, var(--mod-divider-mx));--_divider-ml:var(--divider-ml, var(--mod-divider-ml));--_divider-mr:var(--divider-mr, var(--mod-divider-mr));--_divider-mt:var(--divider-mt, var(--mod-divider-mt));--_divider-mb:var(--divider-mb, var(--mod-divider-mb));margin:var(--_divider-m);margin-inline:var(--_divider-mx);margin-block:var(--_divider-my);margin-left:var(--_divider-ml);margin-right:var(--_divider-mr);margin-top:var(--_divider-mt);margin-bottom:var(--_divider-mb);--_divider-color:var(--divider-color, var(--mod-divider-color, var(--ds-divider-color-default)));--_divider-size:var(--divider-size, var(--mod-divider-size, var(--ds-divider-size)));--_divider-radius:var(--divider-radius, var(--mod-divider-radius, var(--ds-divider-radius)));--_divider-margin:var(--divider-margin, var(--mod-divider-margin, 0))}:host{display:block;padding:0;margin:0;border:none;border-radius:var(--_divider-radius);height:var(--_divider-size);background-color:var(--_divider-color)}:host(:not(.is-vertical)),:host(.is-horizontal){-ms-flex:1 0 100%;flex:1 0 100%;width:100%;min-height:var(--_divider-size);height:var(--_divider-size);margin-top:var(--_divider-margin);margin-bottom:var(--_divider-margin)}:host(.is-vertical){height:auto;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:stretch;align-self:stretch;width:var(--_divider-size);margin-left:var(--_divider-margin);margin-right:var(--_divider-margin)}:host(.is-primary){--mod-divider-color:var(--ds-divider-color-primary)}:host(.is-secondary){--mod-divider-color:var(--ds-divider-color-secondary)}:host(.is-default){--mod-divider-color:var(--ds-divider-color-default)}:host(.is-inverted){--mod-divider-color:var(--ds-divider-color-inverted)}:host(.has-space-none){--mod-divider-margin:var(--ds-device-space-none)}:host(.has-space-2xs){--mod-divider-margin:var(--ds-device-space-2xs)}:host(.has-space-xs){--mod-divider-margin:var(--ds-device-space-xs)}:host(.has-space-sm){--mod-divider-margin:var(--ds-device-space-sm)}:host(.has-space-base){--mod-divider-margin:var(--ds-device-space-base)}:host(.has-space-md){--mod-divider-margin:var(--ds-device-space-md)}:host(.has-space-lg){--mod-divider-margin:var(--ds-device-space-lg)}:host(.has-space-xl){--mod-divider-margin:var(--ds-device-space-xl)}:host(.has-space-2xl){--mod-divider-margin:var(--ds-device-space-2xl)}:host(.has-space-3xl){--mod-divider-margin:var(--ds-device-space-3xl)}:host(:not(.is-vertical).is-dashed){background:repeating-linear-gradient(90deg, var(--_divider-color) 0, var(--_divider-color) 8px, transparent 8px, transparent 16px)}:host(.is-vertical.is-dashed){background:repeating-linear-gradient(180deg, var(--_divider-color) 0, var(--_divider-color) 8px, transparent 8px, transparent 16px)}:host{display:block}"}},[1,"ds-divider",{layout:[1],space:[1],color:[1],dashed:[4]}]);function p(){"undefined"!=typeof customElements&&["ds-divider"].forEach((i=>{"ds-divider"===i&&(customElements.get(e(i))||customElements.define(e(i),l))}))}s([v("divider"),o("design:type",Function),o("design:paramtypes",[Function]),o("design:returntype",void 0)],l.prototype,"createLogger",null),s([n(["horizontal","vertical"]),o("design:type",String)],l.prototype,"layout",void 0),s([n(["none","2xs","xs","sm","base","md","lg","xl","2xl","3xl"]),o("design:type",String)],l.prototype,"space",void 0),s([n(["primary","secondary","default","inverted"]),o("design:type",String)],l.prototype,"color",void 0),s([c("boolean"),o("design:type",Boolean)],l.prototype,"dashed",void 0);export{l as D,p as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{h as e,c as i}from"./p-DOP4fM2o.js";import{a}from"./p-Bo-aKWH3.js";import{I as l}from"./p-TfUKLdG8.js";const r=(r,s)=>{var n;const t=null!==(n=r.inputId)&&void 0!==n?n:"input",d="fieldset"===r.role?"group":void 0,o="fieldset"===r.role?"fieldset":"div";return e(i,{class:Object.assign({"ds-field ":!0,"is-disabled":!!r.disabled,"is-danger":"danger"===r.color||!!r.invalid,"is-success":"success"===r.color&&!r.invalid,"is-warning":"warning"===r.color&&!r.invalid},r.cssClasses)},e(o,{id:"inner",part:"inner",role:d,"aria-disabled":a(r.disabled),"aria-invalid":a(r.invalid),"aria-labelledby":"label","aria-describedby":"description",onClick:e=>{var i;return null===(i=r.onClick)||void 0===i?void 0:i.call(r,e)}},r.label&&("fieldset"===r.role?e("legend",{part:"label",id:"label"},e("slot",{name:"label"},r.label),!r.required&&e("span",null,l[r.language].optional||"")):e("label",{htmlFor:t,part:"label",id:"label"},e("slot",{name:"label"},r.label),!r.required&&e("span",null,l[r.language].optional||""))),e("div",{id:"container",part:"control"},e("slot",{name:"start"}),s,e("slot",{name:"end"}),!0===r.loading&&e("ds-spinner",{size:"sm",variation:"circle",color:r.disabled?"inverted":"primary"})),(r.label||r.description||r.invalidText||r.invalid)&&e("span",{id:"description",part:"description",role:r.invalid&&r.invalidText?"alert":void 0},r.invalid&&r.invalidText&&e("ds-icon",{name:"alert"}),r.invalid?e("slot",{name:"invalid-text"},r.invalidText||r.description):e("slot",{name:"description"},r.description))))};export{r as F}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
const e=["horizontal","vertical","horizontal-reverse","vertical-reverse"],t=["auto","none","2xs","xs","sm","base","md","lg","xl","
|
|
4
|
+
const e=["horizontal","vertical","horizontal-reverse","vertical-reverse"],t=["auto","none","2xs","xs","sm","base","md","lg","xl","2xl"],o=["none","2xs","xs","sm","base","md","lg","xl","2xl"],r=["top start","top center","top end","start","center","end","bottom start","bottom center","bottom end"],s=["row","column","row-reverse","column-reverse"];export{e as S,r as a,s as b,o as c,t as d}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var listener = require('./listener-
|
|
8
|
-
var device = require('./device-
|
|
6
|
+
var index = require('./index-CyaxwkZQ.js');
|
|
7
|
+
var listener = require('./listener-DOKLlUb5.js');
|
|
8
|
+
var device = require('./device-DoKzl-_E.js');
|
|
9
9
|
|
|
10
10
|
class WindowResizeHandler {
|
|
11
11
|
constructor(options = {}) {
|