@helvetia-design/core 0.0.5 → 0.0.6
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-Dz4gbncy.js → p-B1celIGd.js} +1 -1
- package/components/{p-AjhCP5sN.js → p-B4PwKlaW.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-j7VsKeVd.js → p-BI_5Zbrm.js} +1 -1
- package/components/{p-Dl7R2ZPs.js → p-BJ2D8QfA.js} +1 -1
- package/components/{p-xQf4GJxM.js → p-BJK2OSM1.js} +1 -1
- package/{dist/design-system/p-CZ_qlWWQ.js → components/p-BVNhJBnn.js} +1 -1
- package/components/{p-Bl_soFOX.js → p-BWrjPWjt.js} +1 -1
- package/components/{p-B8nj0zHa.js → p-Bd5NhwlZ.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-BUZBtnQL.js → p-CJycEnj5.js} +1 -1
- package/components/{p-Dl4u6w0V.js → p-C_1UxX8G.js} +1 -1
- package/components/{p-BfVlVhQa.js → p-Ce1uMkAI.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-CiZ4PMen.js → p-D6jvX9E6.js} +1 -1
- package/components/p-D8RaAucx.js +5 -0
- package/components/{p-BV65welS.js → p-DEnVBHne.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-VWxo1gxA.js → p-DgLUmdPH.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-El2snbN5.js +4 -0
- package/components/{p-Cpaj76bt.js → p-VnJFXLI2.js} +1 -1
- package/components/{p-CpxLBgza.js → p-VwgiuJog.js} +1 -1
- package/components/{p-CvM0ZzoU.js → p-kwr2iIN4.js} +1 -1
- package/{dist/design-system/p-bTeo6KbL.js → components/p-vUPe8Qmy.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 +2 -2
- 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 +6 -6
- package/dist/cjs/ds-brand-icon_3.cjs.entry.js +8 -8
- 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 +6 -6
- package/dist/cjs/ds-card-title.cjs.entry.js +6 -6
- 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 +6 -6
- package/dist/cjs/ds-counter.cjs.entry.js +8 -8
- 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 +9 -9
- package/dist/cjs/ds-divider_2.cjs.entry.js +12 -12
- package/dist/cjs/ds-drawer_2.cjs.entry.js +8 -8
- package/dist/cjs/ds-file-upload.cjs.entry.js +10 -10
- package/dist/cjs/ds-heading.cjs.entry.js +6 -6
- 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 +14 -12
- package/dist/cjs/ds-input.cjs.entry.js +10 -10
- 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 +10 -10
- package/dist/cjs/ds-pagination.cjs.entry.js +11 -11
- package/dist/cjs/ds-phone-input.cjs.entry.js +10 -10
- 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 +91 -137
- 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 +10 -10
- package/dist/cjs/ds-snackbar.cjs.entry.js +11 -11
- 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 +6 -6
- package/dist/cjs/ds-text.cjs.entry.js +6 -6
- package/dist/cjs/ds-textarea.cjs.entry.js +8 -8
- package/dist/cjs/ds-toast.cjs.entry.js +9 -9
- package/dist/cjs/ds-toggle.cjs.entry.js +7 -7
- 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/{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 +1 -1
- 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/{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/indicators/spinner/spinner.js +5 -3
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-ecfec0f033.entry.js → p-03f71b802d.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-03b95da587.entry.js → p-1832a8b10c.entry.js} +1 -1
- package/dist/design-system/{p-6722fff689.entry.js → p-199e5794f9.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-868cdfa283.entry.js → p-387808b33b.entry.js} +1 -1
- package/dist/design-system/{p-a5ddb670f6.entry.js → p-42bc0ecdea.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-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-7e0181bf02.entry.js → p-65913aa877.entry.js} +1 -1
- package/dist/design-system/{p-355ad7eb13.entry.js → p-68f1c98ef3.entry.js} +1 -1
- package/dist/design-system/{p-293c1d7f54.entry.js → p-6b6fdc57c1.entry.js} +1 -1
- package/dist/design-system/p-6c9ebf73a3.entry.js +4 -0
- 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-a4a063f280.entry.js → p-76551271c7.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-9cb2b5b812.entry.js → p-836ac75016.entry.js} +1 -1
- package/dist/design-system/{p-45f3014f29.entry.js → p-870e3c0138.entry.js} +1 -1
- package/dist/design-system/{p-3543892968.entry.js → p-8734bc6735.entry.js} +1 -1
- package/dist/design-system/{p-0b66853b5b.entry.js → p-89418d345c.entry.js} +1 -1
- package/dist/design-system/{p-c7943ebfc0.entry.js → p-8c18e03816.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-4859ab8eef.entry.js → p-94a2067cb2.entry.js} +1 -1
- package/dist/design-system/{p-fe1e907d10.entry.js → p-94a8f24fe1.entry.js} +1 -1
- package/dist/design-system/{p-e9c5ac32da.entry.js → p-97670520d2.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/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/{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-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-46bd8e78a8.entry.js → p-a4621dc9f7.entry.js} +1 -1
- package/dist/design-system/{p-14569675ee.entry.js → p-a6709bd6a4.entry.js} +1 -1
- package/dist/design-system/{p-ec64c341a0.entry.js → p-af756319ff.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-9be15dfb8d.entry.js → p-bcadbbe619.entry.js} +1 -1
- package/dist/design-system/p-bdbf9a394c.entry.js +4 -0
- package/dist/design-system/{p-6996c344f7.entry.js → p-bee20202e4.entry.js} +1 -1
- 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-21e0f63b01.entry.js → p-d12febf08e.entry.js} +1 -1
- package/dist/design-system/p-d429f6e937.entry.js +4 -0
- package/dist/design-system/{p-945c165b6b.entry.js → p-d5c0b5ddf3.entry.js} +1 -1
- package/dist/design-system/{p-82f48d1748.entry.js → p-d65c14d35e.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-503bfc3ac4.entry.js → p-f67413bb28.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 +3 -3
- 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 +6 -6
- package/dist/esm/ds-brand-icon_3.entry.js +8 -8
- 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 +6 -6
- package/dist/esm/ds-card-title.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/ds-counter.entry.js +8 -8
- 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 +9 -9
- package/dist/esm/ds-divider_2.entry.js +12 -12
- package/dist/esm/ds-drawer_2.entry.js +8 -8
- package/dist/esm/ds-file-upload.entry.js +10 -10
- package/dist/esm/ds-heading.entry.js +6 -6
- 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 +14 -12
- package/dist/esm/ds-input.entry.js +10 -10
- 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 +10 -10
- package/dist/esm/ds-pagination.entry.js +11 -11
- package/dist/esm/ds-phone-input.entry.js +10 -10
- 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 +91 -137
- 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 +10 -10
- package/dist/esm/ds-snackbar.entry.js +11 -11
- 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 +6 -6
- package/dist/esm/ds-text.entry.js +6 -6
- package/dist/esm/ds-textarea.entry.js +8 -8
- package/dist/esm/ds-toast.entry.js +9 -9
- package/dist/esm/ds-toggle.entry.js +7 -7
- 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/{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 +2 -2
- 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/{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/docs/components.json +1 -1
- package/hydrate/index.js +496 -321
- package/hydrate/index.mjs +496 -321
- package/package.json +14 -14
- package/sbom.cdx.json +9086 -9578
- package/components/p-BKQaXv5U.js +0 -5
- package/components/p-CeFbrWv3.js +0 -14
- 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-7b3106cdba.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-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-a942075486.entry.js +0 -4
- package/dist/design-system/p-bAyVKTSh.js +0 -4
- package/dist/design-system/p-vF16SDFF.js +0 -6
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, J as createEvent, x as defaultConfig, E as raf, F as h$1, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
4
|
+
import { D as registerInstance, J as createEvent, x as defaultConfig, E as raf, F as h$1, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
6
|
import { i as inheritAttributes } from './attributes-ChyhE5ro.js';
|
|
7
|
-
import { s as stopEventBubbling, a as setFormValue } from './form-control-
|
|
7
|
+
import { s as stopEventBubbling, a as setFormValue } from './form-control-CDcwGSHl.js';
|
|
8
8
|
import { w as watchInvalidTextSlot } from './invalid-text-slot-DK-5xkJt.js';
|
|
9
|
-
import { F as Field } from './field.util-
|
|
9
|
+
import { F as Field } from './field.util-Bynx8isK.js';
|
|
10
10
|
import { I as INPUT_COLORS } from './input.interfaces-tQJW0EmK.js';
|
|
11
|
-
import { T as Type } from './type-
|
|
12
|
-
import { O as OneOf } from './one-of-
|
|
13
|
-
import { L as ListenToConfig } from './config.utils-
|
|
11
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
12
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
13
|
+
import { L as ListenToConfig } from './config.utils-C2ZxpLao.js';
|
|
14
14
|
import './dom-BbGwCnDa.js';
|
|
15
15
|
import './aria-Bo-aKWH3.js';
|
|
16
16
|
import './label.i18n-TfUKLdG8.js';
|
|
17
|
-
import './create-validator-decorator-
|
|
17
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
18
18
|
|
|
19
19
|
//#region src/slim-select/classes.ts
|
|
20
20
|
var e = class {
|
|
@@ -285,9 +285,7 @@ function T(e, t) {
|
|
|
285
285
|
if (a !== S(i)) return false;
|
|
286
286
|
if (a) {
|
|
287
287
|
if (!w(r, i)) return false;
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
if (!C(r, i)) return false;
|
|
288
|
+
} else if (!C(r, i)) return false;
|
|
291
289
|
}
|
|
292
290
|
return true;
|
|
293
291
|
}
|
|
@@ -348,11 +346,7 @@ var O = class {
|
|
|
348
346
|
if (this.state === "opening" || this.state === "open") return;
|
|
349
347
|
this.cancelPending();
|
|
350
348
|
let e = ++this.generation;
|
|
351
|
-
|
|
352
|
-
this.state === "opening" && (this.state = "closed");
|
|
353
|
-
return;
|
|
354
|
-
}
|
|
355
|
-
this.state = "open", this.handlers.afterOpen && this.handlers.afterOpen(), this.handlers.onOpenReady && this.handlers.onOpenReady();
|
|
349
|
+
this.handlers.beforeOpen && this.handlers.beforeOpen(), this.state = "opening", await this.waitForPhase("open", e), e === this.generation ? (this.state = "open", this.handlers.afterOpen && this.handlers.afterOpen(), this.handlers.onOpenReady && this.handlers.onOpenReady()) : this.state === "opening" && (this.state = "closed");
|
|
356
350
|
}
|
|
357
351
|
async requestClose(e = {
|
|
358
352
|
source: "api",
|
|
@@ -476,13 +470,9 @@ var O = class {
|
|
|
476
470
|
return e.id === t.id || t.value !== "" && e.value !== "" && e.value === t.value;
|
|
477
471
|
}
|
|
478
472
|
findOptionInData(e, t) {
|
|
479
|
-
for (let n of e) {
|
|
480
|
-
if (n
|
|
481
|
-
|
|
482
|
-
continue;
|
|
483
|
-
}
|
|
484
|
-
for (let e of n.options) if (this.optionMatchesSelected(e, t)) return e;
|
|
485
|
-
}
|
|
473
|
+
for (let n of e) if (n instanceof A) {
|
|
474
|
+
if (this.optionMatchesSelected(n, t)) return n;
|
|
475
|
+
} else for (let e of n.options) if (this.optionMatchesSelected(e, t)) return e;
|
|
486
476
|
return null;
|
|
487
477
|
}
|
|
488
478
|
setData(e, t = false) {
|
|
@@ -595,14 +585,11 @@ var O = class {
|
|
|
595
585
|
}), e.forEach((e) => {
|
|
596
586
|
let n = false;
|
|
597
587
|
t.forEach((t) => {
|
|
598
|
-
|
|
599
|
-
n = true;
|
|
600
|
-
return;
|
|
601
|
-
}
|
|
588
|
+
e.id === t.id && (n = true);
|
|
602
589
|
}), n || t.push(e);
|
|
603
590
|
}), t;
|
|
604
591
|
}
|
|
605
|
-
}, N = class {
|
|
592
|
+
}, N = 1e3, P = class {
|
|
606
593
|
settings;
|
|
607
594
|
store;
|
|
608
595
|
callbacks;
|
|
@@ -617,6 +604,8 @@ var O = class {
|
|
|
617
604
|
positionObserverRaf = 0;
|
|
618
605
|
lastObservedContentHeight = -1;
|
|
619
606
|
overflowShiftRaf = 0;
|
|
607
|
+
typeaheadQuery = "";
|
|
608
|
+
typeaheadTimer = null;
|
|
620
609
|
modalElements = null;
|
|
621
610
|
modalSessionActive = null;
|
|
622
611
|
bodyScrollLocked = false;
|
|
@@ -744,16 +733,17 @@ var O = class {
|
|
|
744
733
|
mainDiv() {
|
|
745
734
|
let e = document.createElement("div");
|
|
746
735
|
e.dataset.id = this.settings.id, e.setAttribute("aria-label", this.settings.ariaLabel), e.tabIndex = 0, e.onkeydown = (e) => {
|
|
736
|
+
if (this.isTypeaheadKey(e)) return e.preventDefault(), this.callbacks.open(), this.typeahead(e.key), false;
|
|
747
737
|
switch (e.key) {
|
|
748
738
|
case "ArrowUp":
|
|
749
|
-
case "ArrowDown": return this.callbacks.open(), e.key === "ArrowDown" ? this.highlight("down") : this.highlight("up"), false;
|
|
750
|
-
case "Tab": return this.requestClose("tab"), true;
|
|
739
|
+
case "ArrowDown": return this.clearTypeahead(), this.callbacks.open(), e.key === "ArrowDown" ? this.highlight("down") : this.highlight("up"), false;
|
|
740
|
+
case "Tab": return this.clearTypeahead(), this.requestClose("tab"), true;
|
|
751
741
|
case "Enter":
|
|
752
742
|
case " ":
|
|
753
|
-
this.callbacks.open();
|
|
743
|
+
this.clearTypeahead(), this.callbacks.open();
|
|
754
744
|
let t = this.content.list.querySelector("." + this.classes.getFirst("highlighted"));
|
|
755
745
|
return t && t.click(), false;
|
|
756
|
-
case "Escape": return this.requestClose("escape"), false;
|
|
746
|
+
case "Escape": return this.clearTypeahead(), this.requestClose("escape"), false;
|
|
757
747
|
}
|
|
758
748
|
return e.key.length === 1 && this.callbacks.open(), true;
|
|
759
749
|
}, e.onclick = (e) => {
|
|
@@ -815,11 +805,7 @@ var O = class {
|
|
|
815
805
|
return this.addClasses(n, this.classes.placeholder), n.innerHTML = t, n;
|
|
816
806
|
}
|
|
817
807
|
renderValues() {
|
|
818
|
-
|
|
819
|
-
this.renderSingleValue();
|
|
820
|
-
return;
|
|
821
|
-
}
|
|
822
|
-
this.renderMultipleValues(), this.updateDeselectAll();
|
|
808
|
+
this.settings.isMultiple ? (this.renderMultipleValues(), this.updateDeselectAll()) : this.renderSingleValue();
|
|
823
809
|
}
|
|
824
810
|
renderSingleValue() {
|
|
825
811
|
let e = this.store.filter((e) => e.selected && !e.placeholder, false, false), t = e.length > 0 ? e[0] : null;
|
|
@@ -967,21 +953,7 @@ var O = class {
|
|
|
967
953
|
this.settings.isOpen && !this.isModalViewActive() && this.settings.contentPosition !== "relative" && this.content.main.classList.contains(this.classes.getFirst("dirAbove")) && this.moveContentAbove();
|
|
968
954
|
}
|
|
969
955
|
moveContent() {
|
|
970
|
-
|
|
971
|
-
if (this.settings.contentPosition === "relative") {
|
|
972
|
-
this.moveContentBelow();
|
|
973
|
-
return;
|
|
974
|
-
}
|
|
975
|
-
if (this.settings.openPosition === "down") {
|
|
976
|
-
this.moveContentBelow();
|
|
977
|
-
return;
|
|
978
|
-
}
|
|
979
|
-
if (this.settings.openPosition === "up") {
|
|
980
|
-
this.moveContentAbove();
|
|
981
|
-
return;
|
|
982
|
-
}
|
|
983
|
-
this.putContent() === "up" ? this.moveContentAbove() : this.moveContentBelow();
|
|
984
|
-
}
|
|
956
|
+
this.isModalViewActive() || (this.settings.contentPosition === "relative" || this.settings.openPosition === "down" ? this.moveContentBelow() : this.settings.openPosition === "up" || this.putContent() === "up" ? this.moveContentAbove() : this.moveContentBelow());
|
|
985
957
|
}
|
|
986
958
|
startPositionTracking() {
|
|
987
959
|
this.settings.contentPosition !== "absolute" || this.isModalViewActive() || (this.stopPositionTracking(), typeof ResizeObserver < "u" && (this.lastObservedContentHeight = -1, this.positionObserver = new ResizeObserver((e) => {
|
|
@@ -1124,6 +1096,41 @@ var O = class {
|
|
|
1124
1096
|
let r = t[e === "down" ? 0 : t.length - 1];
|
|
1125
1097
|
this.addClasses(r, this.classes.highlighted), r.id && this.main.main.setAttribute("aria-activedescendant", r.id), this.ensureElementInView(this.content.list, r);
|
|
1126
1098
|
}
|
|
1099
|
+
isTypeaheadKey(e) {
|
|
1100
|
+
return this.settings.showSearch || this.settings.disabled || e.ctrlKey || e.metaKey || e.altKey || e.isComposing ? false : e.key.length === 1 && /[\p{L}\p{N}]/u.test(e.key);
|
|
1101
|
+
}
|
|
1102
|
+
typeahead(e) {
|
|
1103
|
+
let t = this.getOptions(true, true, true);
|
|
1104
|
+
if (t.length === 0) return;
|
|
1105
|
+
let n = e.toLowerCase(), r = this.typeaheadQuery.length > 0 && [...this.typeaheadQuery].every((e) => e === n);
|
|
1106
|
+
this.typeaheadTimer !== null && clearTimeout(this.typeaheadTimer), this.typeaheadTimer = setTimeout(() => {
|
|
1107
|
+
this.typeaheadQuery = "", this.typeaheadTimer = null;
|
|
1108
|
+
}, N);
|
|
1109
|
+
let i = this.classes.getFirst("highlighted"), a = this.classes.getFirst("selected"), o = t.findIndex((e) => e.classList.contains(i));
|
|
1110
|
+
o < 0 && (o = t.findIndex((e) => e.classList.contains(a)));
|
|
1111
|
+
let s;
|
|
1112
|
+
r ? (this.typeaheadQuery = n, s = o >= 0 ? (o + 1) % t.length : 0) : (this.typeaheadQuery += n, s = o >= 0 ? o : 0);
|
|
1113
|
+
let c = this.findTypeaheadOption(t, this.typeaheadQuery, s);
|
|
1114
|
+
c && this.highlightOption(c);
|
|
1115
|
+
}
|
|
1116
|
+
findTypeaheadOption(e, t, n) {
|
|
1117
|
+
for (let r = 0; r < e.length; r++) {
|
|
1118
|
+
let i = e[(n + r) % e.length];
|
|
1119
|
+
if ((i.textContent || "").trim().toLowerCase().startsWith(t)) return i;
|
|
1120
|
+
}
|
|
1121
|
+
return null;
|
|
1122
|
+
}
|
|
1123
|
+
highlightOption(e) {
|
|
1124
|
+
let t = this.classes.getFirst("highlighted");
|
|
1125
|
+
this.content.list.querySelectorAll("." + t).forEach((t) => {
|
|
1126
|
+
t !== e && this.removeClasses(t, this.classes.highlighted);
|
|
1127
|
+
}), this.addClasses(e, this.classes.highlighted), e.id && this.main.main.setAttribute("aria-activedescendant", e.id);
|
|
1128
|
+
let n = e.parentElement;
|
|
1129
|
+
n && n.classList.contains(this.classes.getFirst("close")) && n.querySelector("." + this.classes.getFirst("optgroupLabel"))?.click(), this.ensureElementInView(this.content.list, e);
|
|
1130
|
+
}
|
|
1131
|
+
clearTypeahead() {
|
|
1132
|
+
this.typeaheadQuery = "", this.typeaheadTimer !== null && (clearTimeout(this.typeaheadTimer), this.typeaheadTimer = null);
|
|
1133
|
+
}
|
|
1127
1134
|
listDiv() {
|
|
1128
1135
|
let e = document.createElement("div");
|
|
1129
1136
|
this.addClasses(e, this.classes.list);
|
|
@@ -1176,9 +1183,7 @@ var O = class {
|
|
|
1176
1183
|
return true;
|
|
1177
1184
|
});
|
|
1178
1185
|
this.callbacks.setSelected(t, true);
|
|
1179
|
-
|
|
1180
|
-
}
|
|
1181
|
-
{
|
|
1186
|
+
} else {
|
|
1182
1187
|
let t = n.options.map((e) => e.id).filter((e) => e !== void 0), r = e.concat(t);
|
|
1183
1188
|
for (let e of n.options) e.id && !this.store.getOptionByID(e.id) && this.callbacks.addOption(new A(e));
|
|
1184
1189
|
this.callbacks.setSelected(r, true);
|
|
@@ -1256,11 +1261,7 @@ var O = class {
|
|
|
1256
1261
|
r = true;
|
|
1257
1262
|
break;
|
|
1258
1263
|
}
|
|
1259
|
-
|
|
1260
|
-
this.addClasses(n, this.classes.hide);
|
|
1261
|
-
continue;
|
|
1262
|
-
}
|
|
1263
|
-
this.removeClasses(n, this.classes.hide), e !== "" && (this.removeClasses(n, this.classes.close), this.addClasses(n, this.classes.mainOpen));
|
|
1264
|
+
r ? (this.removeClasses(n, this.classes.hide), e !== "" && (this.removeClasses(n, this.classes.close), this.addClasses(n, this.classes.mainOpen))) : this.addClasses(n, this.classes.hide);
|
|
1264
1265
|
}
|
|
1265
1266
|
}
|
|
1266
1267
|
updateSearchResultsMessage(e, t) {
|
|
@@ -1326,9 +1327,7 @@ var O = class {
|
|
|
1326
1327
|
if (this.isGlobalAllSelected(t)) {
|
|
1327
1328
|
let t = new Set(e.map((e) => e.id)), n = this.store.getSelected().filter((e) => !t.has(e));
|
|
1328
1329
|
this.callbacks.setSelected(n, true);
|
|
1329
|
-
|
|
1330
|
-
}
|
|
1331
|
-
this.callbacks.setSelected(e.map((e) => e.id), true);
|
|
1330
|
+
} else this.callbacks.setSelected(e.map((e) => e.id), true);
|
|
1332
1331
|
}
|
|
1333
1332
|
updateGlobalSelectAllState() {
|
|
1334
1333
|
let e = this.content.search.selectAll;
|
|
@@ -1377,11 +1376,7 @@ var O = class {
|
|
|
1377
1376
|
t.preventDefault(), t.stopPropagation();
|
|
1378
1377
|
let n = this.store.getSelected(), r = t.currentTarget, i = String(r.dataset.id), a = this.store.getOptionByID(i) ?? e, o = n.includes(i), s = t.ctrlKey || t.metaKey;
|
|
1379
1378
|
if (e.disabled) return;
|
|
1380
|
-
if (!this.settings.isMultiple && o && !this.settings.allowDeselect) {
|
|
1381
|
-
this.closeOnSingleSelectReclick(a);
|
|
1382
|
-
return;
|
|
1383
|
-
}
|
|
1384
|
-
if (o && a.mandatory) {
|
|
1379
|
+
if (!this.settings.isMultiple && o && !this.settings.allowDeselect || o && a.mandatory) {
|
|
1385
1380
|
this.closeOnSingleSelectReclick(a);
|
|
1386
1381
|
return;
|
|
1387
1382
|
}
|
|
@@ -1408,7 +1403,7 @@ var O = class {
|
|
|
1408
1403
|
}), t;
|
|
1409
1404
|
}
|
|
1410
1405
|
destroy() {
|
|
1411
|
-
this.stopPositionTracking(), this.modalElements ? (this.unlockBodyScroll(), this.content.main.parentElement === this.modalElements.dialog && this.restoreContentOffscreen(), this.modalElements.overlay.remove(), this.modalElements = null) : this.bodyScrollLocked && this.unlockBodyScroll(), this.main.main.remove(), this.content.main.remove(), this.removeDetachedInstanceDom();
|
|
1406
|
+
this.clearTypeahead(), this.stopPositionTracking(), this.modalElements ? (this.unlockBodyScroll(), this.content.main.parentElement === this.modalElements.dialog && this.restoreContentOffscreen(), this.modalElements.overlay.remove(), this.modalElements = null) : this.bodyScrollLocked && this.unlockBodyScroll(), this.main.main.remove(), this.content.main.remove(), this.removeDetachedInstanceDom();
|
|
1412
1407
|
}
|
|
1413
1408
|
removeDetachedInstanceDom() {
|
|
1414
1409
|
let e = this.settings.id, t = this.classes.getFirst("main"), n = this.classes.getFirst("content"), r = this.classes.getFirst("modalOverlay");
|
|
@@ -1454,21 +1449,13 @@ var O = class {
|
|
|
1454
1449
|
let t, n;
|
|
1455
1450
|
this.settings.contentPosition === "fixed" ? (t = e.top + e.height, n = e.left) : (t = e.top + window.scrollY + e.height, n = e.left + window.scrollX), this.content.main.style.top = t + "px", this.content.main.style.left = n + "px", this.applyContentWidth(e);
|
|
1456
1451
|
let r = this.getKnownContentWidth(e);
|
|
1457
|
-
|
|
1458
|
-
this.content.main.style.left = this.adjustLeftForOverflow(n, e.left, r) + "px";
|
|
1459
|
-
return;
|
|
1460
|
-
}
|
|
1461
|
-
this.overflowShiftRaf = requestAnimationFrame(() => {
|
|
1452
|
+
r === null ? this.overflowShiftRaf = requestAnimationFrame(() => {
|
|
1462
1453
|
this.overflowShiftRaf = 0, this.applyOverflowShiftFromMeasure();
|
|
1463
|
-
});
|
|
1454
|
+
}) : this.content.main.style.left = this.adjustLeftForOverflow(n, e.left, r) + "px";
|
|
1464
1455
|
}
|
|
1465
1456
|
applyContentWidth(e) {
|
|
1466
1457
|
let t = this.settings.contentWidth;
|
|
1467
|
-
|
|
1468
|
-
this.settings.contentPosition !== "relative" && (this.content.main.style.width = e.width + "px");
|
|
1469
|
-
return;
|
|
1470
|
-
}
|
|
1471
|
-
t === "auto" ? this.content.main.style.minWidth = e.width + "px" : t.startsWith(">") ? this.content.main.style.minWidth = t.slice(1) : t.startsWith("<") ? this.content.main.style.maxWidth = t.slice(1) : this.content.main.style.width = t;
|
|
1458
|
+
this.content.main.style.width = "", this.content.main.style.minWidth = "", this.content.main.style.maxWidth = "", t ? t === "auto" ? this.content.main.style.minWidth = e.width + "px" : t.startsWith(">") ? this.content.main.style.minWidth = t.slice(1) : t.startsWith("<") ? this.content.main.style.maxWidth = t.slice(1) : this.content.main.style.width = t : this.settings.contentPosition !== "relative" && (this.content.main.style.width = e.width + "px");
|
|
1472
1459
|
}
|
|
1473
1460
|
cancelOverflowShift() {
|
|
1474
1461
|
this.overflowShiftRaf &&= (cancelAnimationFrame(this.overflowShiftRaf), 0);
|
|
@@ -1514,7 +1501,7 @@ var O = class {
|
|
|
1514
1501
|
};
|
|
1515
1502
|
//#endregion
|
|
1516
1503
|
//#region src/slim-select/mutations.ts
|
|
1517
|
-
function
|
|
1504
|
+
function F(e, t) {
|
|
1518
1505
|
let n = {
|
|
1519
1506
|
classChanged: false,
|
|
1520
1507
|
titleChanged: false,
|
|
@@ -1536,7 +1523,7 @@ function P(e, t) {
|
|
|
1536
1523
|
}
|
|
1537
1524
|
//#endregion
|
|
1538
1525
|
//#region src/slim-select/select.ts
|
|
1539
|
-
var
|
|
1526
|
+
var I = class {
|
|
1540
1527
|
select;
|
|
1541
1528
|
onValueChange;
|
|
1542
1529
|
onClassChange;
|
|
@@ -1599,7 +1586,7 @@ var F = class {
|
|
|
1599
1586
|
}
|
|
1600
1587
|
observeCall(e) {
|
|
1601
1588
|
if (!this.listen) return;
|
|
1602
|
-
let { classChanged: t, titleChanged: n, disabledChanged: r, optgroupOptionChanged: i, selectionChanged: a } =
|
|
1589
|
+
let { classChanged: t, titleChanged: n, disabledChanged: r, optgroupOptionChanged: i, selectionChanged: a } = F(e, this.select), o = a;
|
|
1603
1590
|
if (t && this.onClassChange && this.onClassChange(this.select.className.split(" ")), n && this.onTitleChange && this.onTitleChange(this.select.getAttribute("title") || ""), r && this.onDisabledChange && (this.changeListen(false), this.onDisabledChange(this.select.disabled), this.changeListen(true)), i && this.clearLeftoverHiddenDisplay(e), i && this.onOptionsChange) {
|
|
1604
1591
|
if (this.isUpdating) {
|
|
1605
1592
|
if (this.select.options.length > 0) {
|
|
@@ -1791,21 +1778,16 @@ var F = class {
|
|
|
1791
1778
|
};
|
|
1792
1779
|
//#endregion
|
|
1793
1780
|
//#region src/slim-select/sync.ts
|
|
1794
|
-
function
|
|
1781
|
+
function L(e, t) {
|
|
1795
1782
|
return T(e.getData(false), t);
|
|
1796
1783
|
}
|
|
1797
|
-
function
|
|
1784
|
+
function R(e, t) {
|
|
1798
1785
|
let n = Array.isArray(t) ? t : [t], r = e.getDataOptions(false), i = [];
|
|
1799
|
-
for (let e of n)
|
|
1800
|
-
|
|
1801
|
-
i.push(e);
|
|
1802
|
-
continue;
|
|
1803
|
-
}
|
|
1804
|
-
for (let t of r.filter((t) => t.value == e)) i.push(t.id);
|
|
1805
|
-
}
|
|
1786
|
+
for (let e of n) if (r.find((t) => t.id == e)) i.push(e);
|
|
1787
|
+
else for (let t of r.filter((t) => t.value == e)) i.push(t.id);
|
|
1806
1788
|
return i;
|
|
1807
1789
|
}
|
|
1808
|
-
var
|
|
1790
|
+
var z = class {
|
|
1809
1791
|
deps;
|
|
1810
1792
|
queue = [];
|
|
1811
1793
|
flushScheduled = false;
|
|
@@ -1814,11 +1796,7 @@ var R = class {
|
|
|
1814
1796
|
this.deps = e;
|
|
1815
1797
|
}
|
|
1816
1798
|
enqueue(e) {
|
|
1817
|
-
|
|
1818
|
-
this.flushScheduled || (this.flushScheduled = true, queueMicrotask(() => this.flush()));
|
|
1819
|
-
return;
|
|
1820
|
-
}
|
|
1821
|
-
this.isSyncing || this.flush();
|
|
1799
|
+
this.queue.push(e), e.source === "native" ? this.flushScheduled || (this.flushScheduled = true, queueMicrotask(() => this.flush())) : this.isSyncing || this.flush();
|
|
1822
1800
|
}
|
|
1823
1801
|
flush() {
|
|
1824
1802
|
if (this.flushScheduled = false, this.queue.length === 0) return;
|
|
@@ -1852,7 +1830,7 @@ var R = class {
|
|
|
1852
1830
|
}
|
|
1853
1831
|
applyStructure(e, t, n = false, r = false) {
|
|
1854
1832
|
let { store: i, select: a, render: o, events: s } = this.deps;
|
|
1855
|
-
if (!r &&
|
|
1833
|
+
if (!r && L(i, e)) return;
|
|
1856
1834
|
let c = i.getSelected(), l = i.validateDataArray(e);
|
|
1857
1835
|
if (l) {
|
|
1858
1836
|
s.error ? s.error(l) : this.deps.onError && this.deps.onError(l);
|
|
@@ -1881,7 +1859,7 @@ var R = class {
|
|
|
1881
1859
|
t.setSelectedByValue(r);
|
|
1882
1860
|
}
|
|
1883
1861
|
applySelection(e, t, n) {
|
|
1884
|
-
let { store: r, render: a, events: o } = this.deps, s = r.getSelected(), c =
|
|
1862
|
+
let { store: r, render: a, events: o } = this.deps, s = r.getSelected(), c = R(r, e);
|
|
1885
1863
|
if (v(s, c)) return;
|
|
1886
1864
|
r.setSelectedBy("id", c), this.syncNativeSelection(), a.renderValues();
|
|
1887
1865
|
let l = a.content.search.input.value.trim();
|
|
@@ -1889,13 +1867,9 @@ var R = class {
|
|
|
1889
1867
|
}
|
|
1890
1868
|
applyAddOption(e) {
|
|
1891
1869
|
let { store: t, select: n, render: r, events: i } = this.deps, a = t.getSelected(), o = r.content.search.input.value.trim() !== "" && !!this.deps.search, s = e.value ?? e.text ?? "", c = (e) => {
|
|
1892
|
-
for (let t of e) {
|
|
1893
|
-
if (t
|
|
1894
|
-
|
|
1895
|
-
continue;
|
|
1896
|
-
}
|
|
1897
|
-
if ((t.value ?? t.text) === s) return true;
|
|
1898
|
-
}
|
|
1870
|
+
for (let t of e) if (t instanceof j) {
|
|
1871
|
+
if (t.options.some((e) => (e.value ?? e.text) === s)) return true;
|
|
1872
|
+
} else if ((t.value ?? t.text) === s) return true;
|
|
1899
1873
|
return false;
|
|
1900
1874
|
};
|
|
1901
1875
|
if (!c(t.getData(false))) {
|
|
@@ -1911,7 +1885,7 @@ var R = class {
|
|
|
1911
1885
|
} else n.updateOptions(l);
|
|
1912
1886
|
r.renderValues(), r.renderOptions(l), i.afterChange && !v(a, t.getSelected()) && i.afterChange(t.getSelectedOptions());
|
|
1913
1887
|
}
|
|
1914
|
-
},
|
|
1888
|
+
}, B = class {
|
|
1915
1889
|
selectEl;
|
|
1916
1890
|
settings;
|
|
1917
1891
|
cssClasses;
|
|
@@ -1949,7 +1923,7 @@ var R = class {
|
|
|
1949
1923
|
"afterClose"
|
|
1950
1924
|
];
|
|
1951
1925
|
for (let e in t.events) t.events.hasOwnProperty(e) && (n.indexOf(e) === -1 ? this.events[e] = t.events[e] : this.events[e] = _(t.events[e], 100));
|
|
1952
|
-
this.settings.disabled = t.settings?.disabled ? t.settings.disabled : this.selectEl.disabled, this.settings.isMultiple = this.selectEl.multiple, this.settings.style = this.selectEl.style.cssText, this.settings.class = this.selectEl.className.split(" "), this.select = new
|
|
1926
|
+
this.settings.disabled = t.settings?.disabled ? t.settings.disabled : this.selectEl.disabled, this.settings.isMultiple = this.selectEl.multiple, this.settings.style = this.selectEl.style.cssText, this.settings.class = this.selectEl.className.split(" "), this.select = new I(this.selectEl), this.selectEl.id || (this.selectEl.id = this.settings.id), this.select.updateSelect(this.settings.id, this.settings.style, this.settings.class), this.select.hideUI(), this.select.onClassChange = (e) => {
|
|
1953
1927
|
this.settings.class = e, this.render.updateClassStyles();
|
|
1954
1928
|
}, this.select.onTitleChange = (e) => {
|
|
1955
1929
|
this.render.updateTitle(e);
|
|
@@ -1987,7 +1961,7 @@ var R = class {
|
|
|
1987
1961
|
beforeChange: this.events.beforeChange,
|
|
1988
1962
|
afterChange: this.events.afterChange
|
|
1989
1963
|
};
|
|
1990
|
-
this.settings.modalTitle = t.settings?.modalTitle ?? m(this.selectEl), this.render = new
|
|
1964
|
+
this.settings.modalTitle = t.settings?.modalTitle ?? m(this.selectEl), this.render = new P(this.settings, this.cssClasses, this.store, i), this.settings.timeoutDelay = a(this.render.content.main, t.settings?.timeoutDelay), this.sync = new z({
|
|
1991
1965
|
select: this.select,
|
|
1992
1966
|
store: this.store,
|
|
1993
1967
|
render: this.render,
|
|
@@ -2100,27 +2074,15 @@ var R = class {
|
|
|
2100
2074
|
}
|
|
2101
2075
|
search(e) {
|
|
2102
2076
|
let t = e.trim();
|
|
2103
|
-
|
|
2104
|
-
this.runApiSearch(t);
|
|
2105
|
-
return;
|
|
2106
|
-
}
|
|
2107
|
-
if (t === "") {
|
|
2108
|
-
this.clearSearch();
|
|
2109
|
-
return;
|
|
2110
|
-
}
|
|
2111
|
-
this.runLocalSearch(t);
|
|
2077
|
+
t === "" ? this.render.content.search.input.value = "" : this.render.content.search.input.value !== e && (this.render.content.search.input.value = e), this.events.search ? this.runApiSearch(t) : t === "" ? this.clearSearch() : this.runLocalSearch(t);
|
|
2112
2078
|
}
|
|
2113
2079
|
clearSearch() {
|
|
2114
|
-
|
|
2115
|
-
this.render.filterOptionsInPlace("", this.events.searchFilter), this.render.resetSearchFilterState();
|
|
2116
|
-
return;
|
|
2117
|
-
}
|
|
2118
|
-
this.render.resetSearchFilterState(), this.sync.enqueue({
|
|
2080
|
+
this.render.content.search.input.value = "", this.searchGeneration++, !this.events.search && this.render.canFilterOptionsInPlace() ? (this.render.filterOptionsInPlace("", this.events.searchFilter), this.render.resetSearchFilterState()) : (this.render.resetSearchFilterState(), this.sync.enqueue({
|
|
2119
2081
|
type: "structure",
|
|
2120
2082
|
data: this.store.getCatalogData(),
|
|
2121
2083
|
source: "api",
|
|
2122
2084
|
preserveSelection: true
|
|
2123
|
-
});
|
|
2085
|
+
}));
|
|
2124
2086
|
}
|
|
2125
2087
|
runLocalSearch(e) {
|
|
2126
2088
|
if (this.render.canFilterOptionsInPlace()) {
|
|
@@ -2142,17 +2104,9 @@ var R = class {
|
|
|
2142
2104
|
isSearchResult: true
|
|
2143
2105
|
});
|
|
2144
2106
|
};
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
});
|
|
2149
|
-
return;
|
|
2150
|
-
}
|
|
2151
|
-
if (Array.isArray(n)) {
|
|
2152
|
-
r(n);
|
|
2153
|
-
return;
|
|
2154
|
-
}
|
|
2155
|
-
this.render.renderError("Search event must return a promise or an array of data");
|
|
2107
|
+
n instanceof Promise ? n.then(r).catch((e) => {
|
|
2108
|
+
t === this.searchGeneration && this.render.renderError(typeof e == "string" ? e : e.message);
|
|
2109
|
+
}) : Array.isArray(n) ? r(n) : this.render.renderError("Search event must return a promise or an array of data");
|
|
2156
2110
|
}
|
|
2157
2111
|
destroy() {
|
|
2158
2112
|
this.lifecycle.destroy(), this.render.stopPositionTracking(), this.globalEvents.detach({ listenScroll: this.settings.openPosition === "auto" }), this.store.setData([]), this.render.destroy(), this.select.destroy(), delete this.selectEl.slim;
|
|
@@ -2297,7 +2251,7 @@ class SelectPickerController {
|
|
|
2297
2251
|
}
|
|
2298
2252
|
init() {
|
|
2299
2253
|
const { selectEl, popupEl, language, searchable, placeholder, disabled, readonly, multiple, clearable, data } = this.config;
|
|
2300
|
-
this.slimSelect = new
|
|
2254
|
+
this.slimSelect = new B({
|
|
2301
2255
|
select: selectEl,
|
|
2302
2256
|
settings: {
|
|
2303
2257
|
contentLocation: popupEl,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { F as h, D as registerInstance, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
6
|
-
import { O as OneOf } from './one-of-
|
|
7
|
-
import './create-validator-decorator-
|
|
4
|
+
import { F as h, D as registerInstance, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
7
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
8
8
|
|
|
9
9
|
const shapes = [
|
|
10
10
|
h("g", { id: "e8353d3b-35a2-4e20-9245-0eceed641ae5" }, h("g", { id: "af87362a-72b2-42cf-8efe-c9917dc1f7f6" }, h("path", { class: "st0", d: "M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M191.6,0c2.2,0,3.4,0,4.2,0.4c0.7,0.4,1.4,1,1.7,1.7c0.4,0.9,0.4,2,0.4,4.2V66h-66V0H191.6z M0,125.6V66h66\n v66H6.4H0 M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z" }))),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, F as h, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
4
|
+
import { D as registerInstance, F as h, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
6
|
import { S as SHEET_CONTAINER_SIZES } from './sheet.interfaces-D4PDkOD_.js';
|
|
7
|
-
import { O as OneOf } from './one-of-
|
|
8
|
-
import './create-validator-decorator-
|
|
7
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
8
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
9
9
|
|
|
10
10
|
const sheetHostCss = () => `:host{--_sheet-background:var(--sheet-background, var(--mod-sheet-background, var(--ds-sheet-background)));--_sheet-radius:var(--sheet-radius, var(--mod-sheet-radius, var(--ds-sheet-radius)));--_sheet-shadow:var(--sheet-shadow, var(--mod-sheet-shadow, var(--ds-sheet-shadow)));--_sheet-position-bottom:var(--sheet-position-bottom, var(--mod-sheet-position-bottom, var(--ds-sheet-position-bottom)));display:block;position:fixed;bottom:var(--_sheet-position-bottom);left:0;right:0;width:100%;z-index:var(--ds-alias-z-index-sticky)}:host .ds-container{margin:0 var(--ds-device-container-space);max-width:var(--ds-alias-container-width-default)}@media screen and (min-width: 1024px){:host .ds-container{margin:0 auto}}:host .ds-container{background-color:var(--_sheet-background);border-radius:var(--_sheet-radius);-webkit-box-shadow:var(--_sheet-shadow);box-shadow:var(--_sheet-shadow);padding:1rem}@media screen and (min-width: 769px){:host .ds-container{padding:1rem 1.5rem}}:host .ds-container.is-fluid{max-width:var(--ds-alias-container-width-fluid)}:host .ds-container.is-compact{max-width:var(--ds-alias-container-width-compact)}`;
|
|
11
11
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, J as createEvent, x as defaultConfig, M as debounceEvent, F as h, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
6
|
-
import { i as isNaN$1 } from './isNaN-
|
|
4
|
+
import { D as registerInstance, J as createEvent, x as defaultConfig, M as debounceEvent, F as h, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
|
+
import { i as isNaN$1 } from './isNaN-CnSbS9y5.js';
|
|
7
7
|
import { i as inheritAttributes } from './attributes-ChyhE5ro.js';
|
|
8
|
-
import { a as setFormValue } from './form-control-
|
|
9
|
-
import { h as hasValue } from './has-value-
|
|
8
|
+
import { a as setFormValue } from './form-control-CDcwGSHl.js';
|
|
9
|
+
import { h as hasValue } from './has-value-Bo85hk4Z.js';
|
|
10
10
|
import { w as watchInvalidTextSlot } from './invalid-text-slot-DK-5xkJt.js';
|
|
11
|
-
import { i as isValueEmpty } from './create-validator-decorator-
|
|
12
|
-
import { F as Field } from './field.util-
|
|
11
|
+
import { i as isValueEmpty } from './create-validator-decorator-DoOlbRcm.js';
|
|
12
|
+
import { F as Field } from './field.util-Bynx8isK.js';
|
|
13
13
|
import { I as INPUT_COLORS } from './input.interfaces-tQJW0EmK.js';
|
|
14
|
-
import { T as Type } from './type-
|
|
15
|
-
import { O as OneOf } from './one-of-
|
|
16
|
-
import { L as ListenToConfig } from './config.utils-
|
|
14
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
15
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
16
|
+
import { L as ListenToConfig } from './config.utils-C2ZxpLao.js';
|
|
17
17
|
import './dom-BbGwCnDa.js';
|
|
18
18
|
import './aria-Bo-aKWH3.js';
|
|
19
19
|
import './label.i18n-TfUKLdG8.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, J as createEvent, E as raf, F as h, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
6
|
-
import { s as stopEventBubbling } from './form-control-
|
|
7
|
-
import { h as hasValue } from './has-value-
|
|
4
|
+
import { D as registerInstance, J as createEvent, E as raf, F as h, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
|
+
import { s as stopEventBubbling } from './form-control-CDcwGSHl.js';
|
|
7
|
+
import { h as hasValue } from './has-value-Bo85hk4Z.js';
|
|
8
8
|
import { s as sanitizeSvg } from './svg-BNUaCToz.js';
|
|
9
9
|
import { B as BUTTON_TARGETS } from './button.interfaces-B2Xeuprg.js';
|
|
10
|
-
import { d as dsBreakpoints } from './breakpoints.subject-
|
|
11
|
-
import { O as OneOf } from './one-of-
|
|
12
|
-
import { T as Type } from './type-
|
|
13
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
14
|
-
import './create-validator-decorator-
|
|
15
|
-
import './listener-
|
|
16
|
-
import './device-
|
|
10
|
+
import { d as dsBreakpoints } from './breakpoints.subject-1t_GD0pz.js';
|
|
11
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
12
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
13
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-BCEvQ01q.js';
|
|
14
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
15
|
+
import './listener-D0i_9cCL.js';
|
|
16
|
+
import './device-C6cGaC0a.js';
|
|
17
17
|
|
|
18
18
|
const SNACKBAR_COLORS = ['primary', 'info', 'success', 'warning', 'danger'];
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, F as h, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
6
|
-
import { R as Required } from './required-
|
|
7
|
-
import { T as Type } from './type-
|
|
8
|
-
import './create-validator-decorator-
|
|
4
|
+
import { D as registerInstance, F as h, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
|
+
import { R as Required } from './required-DFokOkqn.js';
|
|
7
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
8
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
9
9
|
|
|
10
10
|
const stepPanelHostCss = () => `:host{--_step-panel-p:var(--step-panel-p, var(--mod-step-panel-p, var(--ds-step-panel-padding)));display:none}:host(.is-selected){display:block;padding:var(--_step-panel-p)}`;
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, J as createEvent, F as h, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
6
|
-
import { T as Type } from './type-
|
|
7
|
-
import { R as Required } from './required-
|
|
8
|
-
import './create-validator-decorator-
|
|
4
|
+
import { D as registerInstance, J as createEvent, F as h, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
7
|
+
import { R as Required } from './required-DFokOkqn.js';
|
|
8
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
9
9
|
|
|
10
10
|
const stepHostCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1;min-width:0;position:relative;outline:none}:host(.is-hidden){display:none}.circle{-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;position:relative;z-index:1;-ms-flex-negative:0;flex-shrink:0;width:var(--_steps-circle-size);height:var(--_steps-circle-size);border-radius:9999px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--_steps-circle-color-bg);color:var(--_steps-circle-color-text);font-family:var(--_steps-step-font-family);font-size:var(--_steps-step-font-size);font-weight:var(--_steps-step-font-weight);line-height:1;-webkit-transition:background-color 180ms ease,color 180ms ease;transition:background-color 180ms ease,color 180ms ease;cursor:pointer}:host(.is-disabled) .circle{cursor:not-allowed}.step-invalid{color:var(--_steps-circle-color-text-invalid);font-family:var(--_steps-step-font-family);font-size:var(--_steps-step-font-size);font-weight:var(--_steps-step-font-weight);line-height:1}:host(.is-selected) .circle{background-color:var(--_steps-circle-color-bg-selected);color:var(--_steps-circle-color-text-selected)}:host(.is-done) .circle{background-color:var(--_steps-circle-color-bg-done);color:var(--_steps-circle-color-text-done)}:host(.is-invalid) .circle{background-color:var(--_steps-circle-color-bg-invalid);color:var(--_steps-circle-color-text-invalid)}:host(.is-disabled) .circle{background-color:var(--_steps-circle-color-bg-disabled);color:var(--_steps-circle-color-text-disabled);opacity:.5}.step-label{-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;margin-top:.5rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--_steps-step-color);font-family:var(--_steps-step-font-family);font-size:var(--_steps-step-font-size);font-weight:var(--_steps-step-font-weight);line-height:var(--_steps-step-line-height);-webkit-transition:color 180ms ease;transition:color 180ms ease}:host(.is-selected) .step-label{color:var(--_steps-step-color-selected)}:host(.is-done) .step-label{color:var(--_steps-step-color-done)}:host(.is-disabled) .step-label{color:var(--_steps-step-color-disabled);opacity:.4}.connector{position:absolute;top:calc(var(--_steps-circle-size)/2);-webkit-transform:translateY(-50%);transform:translateY(-50%);left:calc(50% + var(--_steps-circle-size)/2 + 4px);right:calc(-50% + var(--_steps-circle-size)/2 + 4px);height:var(--_steps-connector-height);border-radius:9999px;background-color:var(--_steps-connector-color);z-index:0;-webkit-transition:background-color 180ms ease;transition:background-color 180ms ease}:host(.is-filled) .connector{background-color:var(--_steps-connector-color-filled)}:host(:last-of-type) .connector{display:none}@media screen and (max-width: 768px){.circle{width:var(--_steps-circle-size-sm);height:var(--_steps-circle-size-sm);font-size:var(--_steps-step-font-size-sm);--mod-icon-size:var(--ds-icon-size-sm);--mod-icon-inner-size:var(--ds-icon-size-sm)}.step-label{display:none}.connector{top:calc(var(--_steps-circle-size-sm)/2);left:calc(50% + var(--_steps-circle-size-sm)/2 + 4px);right:calc(-50% + var(--_steps-circle-size-sm)/2 + 4px)}}@media (hover: hover)and (pointer: fine){:host(:focus-visible:not(:active)) .circle{-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_steps-step-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_steps-step-color-focus) 0 0 0 5px !important}}:host(.is-vertical){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex:unset;flex:unset;width:100%;padding:.5rem 0}:host(.is-vertical) .circle{-ms-flex-negative:0;flex-shrink:0}:host(.is-vertical) .step-label{display:block;margin-top:0;margin-left:.75rem;text-align:left;white-space:normal}:host(.is-vertical) .connector{display:none}:host(.is-navigation){cursor:default}:host(.is-navigation) ::slotted(a){-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:block;margin-top:.5rem;text-align:center;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--_steps-step-color);font-family:var(--_steps-step-font-family);font-size:var(--_steps-step-font-size);font-weight:var(--_steps-step-font-weight);line-height:var(--_steps-step-line-height);-webkit-transition:color 180ms ease;transition:color 180ms ease;outline:none}:host(.is-navigation.is-selected) ::slotted(a),:host(.is-navigation) ::slotted([aria-current]){color:var(--_steps-step-color-selected)}:host(.is-navigation.is-disabled) ::slotted(a){color:var(--_steps-step-color-disabled);opacity:.4}:host(.is-navigation) ::slotted(a:focus-visible){border-radius:var(--ds-alias-radius-base)}@media (hover: hover)and (pointer: fine){:host(.is-navigation) ::slotted(a:focus-visible){-webkit-box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_steps-step-color-focus) 0 0 0 5px !important;box-shadow:var(--ds-alias-interaction-focus-color-border) 0 0 0 2px,var(--_steps-step-color-focus) 0 0 0 5px !important}}:host(.is-navigation.is-vertical) ::slotted(a){margin-top:0;margin-left:.75rem;text-align:left;white-space:normal}@media screen and (max-width: 768px){:host(.is-navigation) ::slotted(a){font-size:var(--_steps-step-font-size-sm)}}`;
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://helvetia-design.vercel.app/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
import { D as registerInstance, J as createEvent, F as h, G as Host, I as getElement } from './index-
|
|
5
|
-
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-
|
|
4
|
+
import { D as registerInstance, J as createEvent, F as h, G as Host, I as getElement } from './index-BZEWgXed.js';
|
|
5
|
+
import { _ as __decorate, L as Logger, a as __metadata } from './tslib.es6-syzWW8yN.js';
|
|
6
6
|
import { d as directChildren, b as byTagName } from './dom-BbGwCnDa.js';
|
|
7
|
-
import { s as stopEventBubbling } from './form-control-
|
|
8
|
-
import { O as OneOf } from './one-of-
|
|
9
|
-
import { T as Type } from './type-
|
|
10
|
-
import './create-validator-decorator-
|
|
7
|
+
import { s as stopEventBubbling } from './form-control-CDcwGSHl.js';
|
|
8
|
+
import { O as OneOf } from './one-of-CEp_lE0A.js';
|
|
9
|
+
import { T as Type } from './type-Djd2i_VN.js';
|
|
10
|
+
import './create-validator-decorator-DoOlbRcm.js';
|
|
11
11
|
|
|
12
12
|
const STEPS_COLORS = ['purple', 'green', 'red', 'yellow'];
|
|
13
13
|
|