@baloise/ds-core 19.9.4 → 20.0.0-next.4
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/LICENSE +2 -2
- package/README.md +2 -6
- package/components/all.d.ts +84 -234
- package/components/all.js +126 -351
- package/components/ds-accordion.d.ts +11 -0
- package/components/ds-accordion.js +4 -0
- package/components/ds-alert-container.d.ts +11 -0
- package/components/ds-alert-container.js +4 -0
- package/components/ds-app.d.ts +11 -0
- package/components/ds-app.js +4 -0
- package/components/ds-badge.d.ts +11 -0
- package/components/ds-badge.js +4 -0
- package/components/ds-button-group.d.ts +11 -0
- package/components/ds-button-group.js +4 -0
- package/components/ds-button.d.ts +11 -0
- package/components/ds-button.js +4 -0
- package/components/ds-card-actions.d.ts +11 -0
- package/components/ds-card-actions.js +4 -0
- package/components/ds-card-content.d.ts +11 -0
- package/components/ds-card-content.js +4 -0
- package/components/ds-card-header.d.ts +11 -0
- package/components/ds-card-header.js +4 -0
- package/components/ds-card-subtitle.d.ts +11 -0
- package/components/ds-card-subtitle.js +4 -0
- package/components/ds-card-title.d.ts +11 -0
- package/components/ds-card-title.js +4 -0
- package/components/ds-card.d.ts +11 -0
- package/components/ds-card.js +4 -0
- package/components/ds-checkbox-group.d.ts +11 -0
- package/components/ds-checkbox-group.js +4 -0
- package/components/ds-checkbox.d.ts +11 -0
- package/components/ds-checkbox.js +4 -0
- package/components/ds-close.d.ts +11 -0
- package/components/ds-close.js +4 -0
- package/components/ds-content.d.ts +11 -0
- package/components/ds-content.js +4 -0
- package/components/ds-divider.d.ts +11 -0
- package/components/ds-divider.js +4 -0
- package/components/ds-heading.d.ts +11 -0
- package/components/ds-heading.js +4 -0
- package/components/ds-icon.d.ts +11 -0
- package/components/ds-icon.js +4 -0
- package/components/ds-input.d.ts +11 -0
- package/components/ds-input.js +4 -0
- package/components/ds-item.d.ts +11 -0
- package/components/ds-item.js +4 -0
- package/components/ds-label.d.ts +11 -0
- package/components/ds-label.js +4 -0
- package/components/ds-list.d.ts +11 -0
- package/components/ds-list.js +4 -0
- package/components/ds-logo.d.ts +11 -0
- package/components/ds-logo.js +4 -0
- package/components/ds-notification.d.ts +11 -0
- package/components/ds-notification.js +4 -0
- package/components/ds-number-input.d.ts +11 -0
- package/components/ds-number-input.js +4 -0
- package/components/ds-pagination.d.ts +11 -0
- package/components/ds-pagination.js +4 -0
- package/components/ds-progress-bar.d.ts +11 -0
- package/components/ds-progress-bar.js +4 -0
- package/components/ds-radio-group.d.ts +11 -0
- package/components/ds-radio-group.js +4 -0
- package/components/ds-radio.d.ts +11 -0
- package/components/ds-radio.js +4 -0
- package/components/ds-segment-item.d.ts +11 -0
- package/components/ds-segment-item.js +4 -0
- package/components/ds-segment.d.ts +11 -0
- package/components/ds-segment.js +4 -0
- package/components/ds-shape.d.ts +11 -0
- package/components/ds-shape.js +4 -0
- package/components/ds-snackbar.d.ts +11 -0
- package/components/ds-snackbar.js +4 -0
- package/components/ds-spinner.d.ts +11 -0
- package/components/ds-spinner.js +4 -0
- package/components/ds-stack.d.ts +11 -0
- package/components/ds-stack.js +4 -0
- package/components/ds-tag-group.d.ts +11 -0
- package/components/ds-tag-group.js +4 -0
- package/components/ds-tag.d.ts +11 -0
- package/components/ds-tag.js +4 -0
- package/components/ds-text.d.ts +11 -0
- package/components/ds-text.js +4 -0
- package/components/ds-textarea.d.ts +11 -0
- package/components/ds-textarea.js +4 -0
- package/components/ds-toast.d.ts +11 -0
- package/components/ds-toast.js +4 -0
- package/components/ds-toggle.d.ts +11 -0
- package/components/ds-toggle.js +4 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +3 -622
- package/components/p-5Sp1eJOt.js +4 -0
- package/components/p-82RSSk25.js +4 -0
- package/components/p-B62ocg4Q.js +4 -0
- package/components/p-BATOumsf.js +4 -0
- package/components/p-BEngECpF.js +4 -0
- package/components/p-BFeO6Gq4.js +4 -0
- package/components/p-BMBthpLd.js +4 -0
- package/components/p-BNY3JzuV.js +4 -0
- package/components/p-BOTkpyFe.js +5 -0
- package/components/p-BOgMmRCt.js +4 -0
- package/components/p-BR1SYpQO.js +4 -0
- package/components/p-BTyFgjT3.js +4 -0
- package/components/p-Bbn3sYo5.js +4 -0
- package/components/p-BdyfOBon.js +4 -0
- package/components/p-BlyIAln5.js +4 -0
- package/components/p-Bt20CEww.js +4 -0
- package/components/p-C7I7OlaM.js +4 -0
- package/components/p-CDYlUuhB.js +4 -0
- package/components/p-CYHzHtnv.js +4 -0
- package/components/p-Cb75Rr6o.js +4 -0
- package/components/p-Ceu7FIWM.js +4 -0
- package/components/p-CojUmpFm.js +4 -0
- package/components/p-D86WpWIE.js +4 -0
- package/components/p-DDKh7hkm.js +4 -0
- package/components/p-DHeVI6dR.js +4 -0
- package/components/p-DR5LIaCn.js +4 -0
- package/components/p-DTPbL3uY.js +4 -0
- package/components/p-DYfTMCkl.js +4 -0
- package/components/p-DZqqelPH.js +4 -0
- package/components/p-Diz11uvt.js +4 -0
- package/components/p-DnnGnukM.js +4 -0
- package/components/p-Dr4dquer.js +4 -0
- package/components/p-DtuTnY5l.js +4 -0
- package/components/p-Duhf3ymL.js +4 -0
- package/components/p-E1SnOz0L.js +4 -0
- package/components/p-E8U6M5ii.js +4 -0
- package/components/p-HDclecaJ.js +4 -0
- package/components/p-JZ1uDtZv.js +4 -0
- package/components/p-LCAsAZzj.js +4 -0
- package/components/p-Urcs7-vS.js +4 -0
- package/components/p-cSbDziZm.js +4 -0
- package/components/p-gA-94RPS.js +4 -0
- package/components/p-ng5ZzTOj.js +4 -0
- package/components/p-xDEngwqW.js +4 -0
- package/components/p-z1jJgtep.js +4 -0
- package/components/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-DVhpm0hL.js +13 -0
- package/dist/cjs/_getTag-B468r9bu.js +950 -0
- package/dist/cjs/accordion.interfaces-BPzfNHzH.js +16 -0
- package/dist/cjs/app.focus.util-DOa3ViTR.js +77 -0
- package/dist/cjs/aria-C3Tx6AHY.js +13 -0
- package/dist/cjs/attributes-D57TMQsY.js +31 -0
- package/dist/cjs/breakpoints.decorator-qaoHOU6Q.js +22 -0
- package/dist/cjs/breakpoints.subject-DhAN_ZAn.js +268 -0
- package/dist/cjs/button.interfaces-BueDWsuH.js +36 -0
- package/dist/cjs/card.interfaces-BnIQxJmW.js +64 -0
- package/dist/cjs/checkbox.interfaces-CboipPFV.js +12 -0
- package/dist/cjs/close.i18n-CSDAywTb.js +39 -0
- package/dist/cjs/config.decorator-Qmrq4ZYj.js +22 -0
- package/dist/cjs/config.utils-Cv4cx_Xa.js +98 -0
- package/dist/cjs/contact-SPfz2A_q.js +1647 -0
- package/dist/cjs/design-system.cjs.js +48 -0
- package/dist/cjs/device-CptgCtVc.js +57 -0
- package/dist/cjs/ds-accordion.cjs.entry.js +255 -0
- package/dist/cjs/ds-alert-container.cjs.entry.js +191 -0
- package/dist/cjs/ds-app.cjs.entry.js +93 -0
- package/dist/cjs/ds-badge.cjs.entry.js +93 -0
- package/dist/cjs/ds-button-group.cjs.entry.js +89 -0
- package/dist/cjs/ds-button_2.cjs.entry.js +528 -0
- package/dist/cjs/ds-card-actions.cjs.entry.js +41 -0
- package/dist/cjs/ds-card-content.cjs.entry.js +31 -0
- package/dist/cjs/ds-card-header.cjs.entry.js +38 -0
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +67 -0
- package/dist/cjs/ds-card-title.cjs.entry.js +59 -0
- package/dist/cjs/ds-card.cjs.entry.js +185 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +2351 -0
- package/dist/cjs/ds-checkbox.cjs.entry.js +235 -0
- package/dist/cjs/ds-content.cjs.entry.js +154 -0
- package/dist/cjs/ds-divider.cjs.entry.js +131 -0
- package/dist/cjs/ds-heading.cjs.entry.js +242 -0
- package/dist/cjs/ds-icon_2.cjs.entry.js +1463 -0
- package/dist/cjs/ds-input.cjs.entry.js +830 -0
- package/dist/cjs/ds-item.cjs.entry.js +258 -0
- package/dist/cjs/ds-label.cjs.entry.js +186 -0
- package/dist/cjs/ds-list.cjs.entry.js +56 -0
- package/dist/cjs/ds-logo.cjs.entry.js +223 -0
- package/dist/cjs/ds-notification.cjs.entry.js +150 -0
- package/dist/cjs/ds-number-input.cjs.entry.js +648 -0
- package/dist/cjs/ds-pagination.cjs.entry.js +342 -0
- package/dist/cjs/ds-progress-bar.cjs.entry.js +228 -0
- package/dist/cjs/ds-radio-group.cjs.entry.js +399 -0
- package/dist/cjs/ds-radio.cjs.entry.js +338 -0
- package/dist/cjs/ds-segment-item.cjs.entry.js +86 -0
- package/dist/cjs/ds-segment.cjs.entry.js +447 -0
- package/dist/cjs/ds-shape.cjs.entry.js +90 -0
- package/dist/cjs/ds-snackbar.cjs.entry.js +253 -0
- package/dist/cjs/ds-stack.cjs.entry.js +224 -0
- package/dist/cjs/ds-tag-group.cjs.entry.js +35 -0
- package/dist/cjs/ds-tag.cjs.entry.js +150 -0
- package/dist/cjs/ds-text.cjs.entry.js +241 -0
- package/dist/cjs/ds-textarea.cjs.entry.js +312 -0
- package/dist/cjs/ds-toast.cjs.entry.js +271 -0
- package/dist/cjs/ds-toggle.cjs.entry.js +252 -0
- package/dist/cjs/field.util-RjuvTLNZ.js +19 -0
- package/dist/cjs/form-control-Bno2tBGf.js +120 -0
- package/dist/cjs/heading.interfaces-B5NJ2yjL.js +33 -0
- package/dist/cjs/index-CdD-TT_n.js +3514 -0
- package/dist/cjs/index.cjs.js +8456 -206
- package/dist/cjs/input.interfaces-YapUUaRx.js +116 -0
- package/dist/cjs/isEmpty-BmKp4bH4.js +99 -0
- package/dist/cjs/isNil-DuJ_OV5R.js +46 -0
- package/dist/cjs/isObjectLike-h-ta_ikf.js +259 -0
- package/dist/cjs/keys.constant-BYIApas2.js +26 -0
- package/dist/cjs/label.i18n-C00ZY0P9.js +39 -0
- package/dist/cjs/listener-DgVWqfa1.js +92 -0
- package/dist/cjs/loader.cjs.js +6 -10
- package/dist/cjs/logo.animation-Bfx2buFZ.js +2610 -0
- package/dist/cjs/lottie_light_html-BHYW2LDx.js +13651 -0
- package/dist/cjs/pagination.i18n-D2ElLaZ_.js +59 -0
- package/dist/cjs/radio.interfaces-BdYDfzHd.js +12 -0
- package/dist/cjs/spinner.animation-HRyBK4iv.js +2605 -0
- package/dist/cjs/stack.interfaces-6vlKvBmb.js +68 -0
- package/dist/cjs/svg-D7Mwbcvp.js +1482 -0
- package/dist/cjs/t-shirt-AyhbnEdJ.js +53 -0
- package/dist/cjs/tslib.es6-BTi-SLnA.js +117 -0
- package/dist/cjs/validate.decorator-C9-9HA0Y.js +115 -0
- package/dist/collection/collection-manifest.json +47 -395
- package/dist/collection/components/accordion/accordion.host.css +1 -0
- package/dist/collection/components/accordion/accordion.interfaces.js +8 -0
- package/dist/collection/components/accordion/accordion.js +729 -0
- package/dist/collection/components/accordion/test/accordion.a11y.play.js +20 -0
- package/dist/collection/components/accordion/test/accordion.component.play.js +65 -0
- package/dist/collection/components/accordion/test/accordion.visual.play.js +32 -0
- package/dist/collection/components/alert/alert-container.host.css +1 -0
- package/dist/collection/components/alert/alert-container.interfaces.js +17 -0
- package/dist/collection/components/alert/alert-container.js +331 -0
- package/dist/collection/components/alert/alert.controller.js +43 -0
- package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -0
- package/dist/collection/components/alert/snackbar/snackbar.interfaces.js +4 -0
- package/dist/collection/components/alert/snackbar/snackbar.js +656 -0
- package/dist/collection/components/alert/test/alert.visual.play.js +65 -0
- package/dist/collection/components/alert/test/snackbar.a11y.play.js +17 -0
- package/dist/collection/components/alert/test/snackbar.component.play.js +29 -0
- package/dist/collection/components/alert/test/snackbar.visual.play.js +26 -0
- package/dist/collection/components/alert/test/toast.a11y.play.js +17 -0
- package/dist/collection/components/alert/test/toast.visual.play.js +16 -0
- package/dist/collection/components/alert/toast/toast.host.css +1 -0
- package/dist/collection/components/alert/toast/toast.interfaces.js +5 -0
- package/dist/collection/components/alert/toast/toast.js +768 -0
- package/dist/collection/components/app/app.css +1 -0
- package/dist/collection/components/app/app.focus.util.js +73 -0
- package/dist/collection/components/app/app.js +217 -0
- package/dist/collection/components/badge/badge.host.css +1 -0
- package/dist/collection/components/badge/badge.interfaces.js +6 -0
- package/dist/collection/components/badge/badge.js +225 -0
- package/dist/collection/components/badge/test/badge.a11y.play.js +17 -0
- package/dist/collection/components/badge/test/badge.component.play.js +22 -0
- package/dist/collection/components/badge/test/badge.visual.play.js +16 -0
- package/dist/collection/components/button/button-group/button-group.host.css +1 -0
- package/dist/collection/components/button/button-group/button-group.js +196 -0
- package/dist/collection/components/button/button.host.css +1 -0
- package/dist/collection/components/button/button.interfaces.js +27 -0
- package/dist/collection/components/button/button.js +1139 -0
- package/dist/collection/components/button/test/button-group.visual.play.js +29 -0
- package/dist/collection/components/button/test/button.a11y.play.js +39 -0
- package/dist/collection/components/button/test/button.component.play.js +32 -0
- package/dist/collection/components/button/test/button.visual.play.js +50 -0
- package/dist/collection/components/card/card-actions/card-actions.js +74 -0
- package/dist/collection/components/card/card-content/card-content.host.css +1 -0
- package/dist/collection/components/card/card-content/card-content.js +39 -0
- package/dist/collection/components/card/card-header/card-header.host.css +1 -0
- package/dist/collection/components/card/card-header/card-header.js +78 -0
- package/dist/collection/components/card/card-subtitle/card-subtitle.host.css +1 -0
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +147 -0
- package/dist/collection/components/card/card-title/card-title.host.css +1 -0
- package/dist/collection/components/card/card-title/card-title.js +146 -0
- package/dist/collection/components/card/card.host.css +1 -0
- package/dist/collection/components/card/card.interfaces.js +56 -0
- package/dist/collection/components/card/card.js +484 -0
- package/dist/collection/components/card/test/card.a11y.play.js +84 -0
- package/dist/collection/components/card/test/card.component.play.js +65 -0
- package/dist/collection/components/card/test/card.visual.play.js +42 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +930 -0
- package/dist/collection/components/checkbox/checkbox.host.css +1 -0
- package/dist/collection/components/checkbox/checkbox.interfaces.js +6 -0
- package/dist/collection/components/checkbox/checkbox.js +666 -0
- package/dist/collection/components/checkbox/test/checkbox.a11y.play.js +36 -0
- package/dist/collection/components/checkbox/test/checkbox.component.play.js +157 -0
- package/dist/collection/components/checkbox/test/checkbox.visual.play.js +58 -0
- package/dist/collection/components/close/close.host.css +1 -0
- package/dist/collection/components/close/close.i18n.js +35 -0
- package/dist/collection/components/close/close.interfaces.js +4 -0
- package/dist/collection/components/close/close.js +278 -0
- package/dist/collection/components/close/test/close.a11y.play.js +12 -0
- package/dist/collection/components/close/test/close.component.play.js +20 -0
- package/dist/collection/components/close/test/close.visual.play.js +16 -0
- package/dist/collection/components/container/test/container.visual.play.js +16 -0
- package/dist/collection/components/content/content.host.css +1 -0
- package/dist/collection/components/content/content.interfaces.js +22 -0
- package/dist/collection/components/content/content.js +314 -0
- package/dist/collection/components/content/test/content.component.play.js +14 -0
- package/dist/collection/components/content/test/content.visual.play.js +29 -0
- package/dist/collection/components/divider/divider.host.css +1 -0
- package/dist/collection/components/divider/divider.interfaces.js +42 -0
- package/dist/collection/components/divider/divider.js +206 -0
- package/dist/collection/components/divider/test/divider.a11y.play.js +31 -0
- package/dist/collection/components/divider/test/divider.component.play.js +13 -0
- package/dist/collection/components/divider/test/divider.visual.play.js +29 -0
- package/dist/collection/components/form/test/form.visual.play.js +16 -0
- package/dist/collection/components/grid/test/grid.visual.play.js +25 -0
- package/dist/collection/components/heading/heading.const.js +51 -0
- package/dist/collection/components/heading/heading.host.css +1 -0
- package/dist/collection/components/heading/heading.interfaces.js +25 -0
- package/dist/collection/components/heading/heading.js +428 -0
- package/dist/collection/components/heading/test/heading.a11y.play.js +41 -0
- package/dist/collection/components/heading/test/heading.component.play.js +14 -0
- package/dist/collection/components/heading/test/heading.visual.play.js +29 -0
- package/dist/collection/components/icon/icon.host.css +1 -0
- package/dist/collection/components/icon/icon.interfaces.js +44 -0
- package/dist/collection/components/icon/icon.js +564 -0
- package/dist/collection/components/icon/test/icon.a11y.play.js +8 -0
- package/dist/collection/components/icon/test/icon.component.play.js +13 -0
- package/dist/collection/components/icon/test/icon.visual.play.js +28 -0
- package/dist/collection/components/input/field.util.js +14 -0
- package/dist/collection/components/input/input.host.css +1 -0
- package/dist/collection/components/input/input.interfaces.js +107 -0
- package/dist/collection/components/input/input.js +1341 -0
- package/dist/collection/components/input/input.mask.js +27 -0
- package/dist/collection/components/input/masks/basic-contract-number.js +58 -0
- package/dist/collection/components/input/masks/be-enterprise-number.js +48 -0
- package/dist/collection/components/input/masks/be-iban.js +55 -0
- package/dist/collection/components/input/masks/claim-number.js +59 -0
- package/dist/collection/components/input/masks/contract-number.js +59 -0
- package/dist/collection/components/input/masks/index.js +20 -0
- package/dist/collection/components/input/masks/offer-number.js +55 -0
- package/dist/collection/components/input/masks/vehicle-registration-number.js +55 -0
- package/dist/collection/components/input/test/input.a11y.play.js +32 -0
- package/dist/collection/components/input/test/input.component.play.js +119 -0
- package/dist/collection/components/input/test/input.visual.play.js +43 -0
- package/dist/collection/components/label/label.host.css +1 -0
- package/dist/collection/components/label/label.i18n.js +35 -0
- package/dist/collection/components/label/label.interfaces.js +17 -0
- package/dist/collection/components/label/label.js +437 -0
- package/dist/collection/components/label/test/label.a11y.play.js +30 -0
- package/dist/collection/components/label/test/label.component.play.js +14 -0
- package/dist/collection/components/label/test/label.visual.play.js +31 -0
- package/dist/collection/components/link/test/link.a11y.play.js +8 -0
- package/dist/collection/components/link/test/link.visual.play.js +16 -0
- package/dist/collection/components/list/item/item.host.css +1 -0
- package/dist/collection/components/list/item/item.interfaces.js +7 -0
- package/dist/collection/components/list/item/item.js +711 -0
- package/dist/collection/components/list/list.host.css +1 -0
- package/dist/collection/components/list/list.js +89 -0
- package/dist/collection/components/list/test/list-native.visual.play.js +15 -0
- package/dist/collection/components/list/test/list.component.play.js +61 -0
- package/dist/collection/components/logo/logo.animation.js +20 -0
- package/dist/collection/components/logo/logo.data.js +2588 -0
- package/dist/collection/components/logo/logo.host.css +1 -0
- package/dist/collection/components/logo/logo.icons.js +14 -0
- package/dist/collection/components/logo/logo.interfaces.js +6 -0
- package/dist/collection/components/logo/logo.js +360 -0
- package/dist/collection/components/logo/test/logo.a11y.play.js +8 -0
- package/dist/collection/components/logo/test/logo.component.play.js +13 -0
- package/dist/collection/components/logo/test/logo.visual.play.js +16 -0
- package/dist/collection/components/notification/notification.host.css +1 -0
- package/dist/collection/components/notification/notification.interfaces.js +17 -0
- package/dist/collection/components/notification/notification.js +368 -0
- package/dist/collection/components/notification/test/notification.a11y.play.js +28 -0
- package/dist/collection/components/notification/test/notification.component.play.js +23 -0
- package/dist/collection/components/notification/test/notification.visual.play.js +29 -0
- package/dist/collection/components/number-input/number-input.host.css +1 -0
- package/dist/collection/components/number-input/number-input.js +1049 -0
- package/dist/collection/components/number-input/number-input.utils.js +109 -0
- package/dist/collection/components/number-input/test/number-input.a11y.play.js +32 -0
- package/dist/collection/components/number-input/test/number-input.component.play.js +97 -0
- package/dist/collection/components/number-input/test/number-input.visual.play.js +18 -0
- package/dist/collection/components/pagination/pagination.host.css +1 -0
- package/dist/collection/components/pagination/pagination.i18n.js +55 -0
- package/dist/collection/components/pagination/pagination.interfaces.js +7 -0
- package/dist/collection/components/pagination/pagination.js +630 -0
- package/dist/collection/components/pagination/pagination.util.js +80 -0
- package/dist/collection/components/pagination/test/pagination.a11y.play.js +32 -0
- package/dist/collection/components/pagination/test/pagination.component.play.js +98 -0
- package/dist/collection/components/pagination/test/pagination.visual.play.js +18 -0
- package/dist/collection/components/progress-bar/progress-bar.host.css +1 -0
- package/dist/collection/components/progress-bar/progress-bar.i18n.js +35 -0
- package/dist/collection/components/progress-bar/progress-bar.interfaces.js +6 -0
- package/dist/collection/components/progress-bar/progress-bar.js +273 -0
- package/dist/collection/components/progress-bar/test/progress-bar.a11y.play.js +8 -0
- package/dist/collection/components/progress-bar/test/progress-bar.visual.play.js +16 -0
- package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -0
- package/dist/collection/components/radio/radio-group/radio-group.js +986 -0
- package/dist/collection/components/radio/radio.host.css +1 -0
- package/dist/collection/components/radio/radio.interfaces.js +6 -0
- package/dist/collection/components/radio/radio.js +846 -0
- package/dist/collection/components/radio/test/radio.a11y.play.js +37 -0
- package/dist/collection/components/radio/test/radio.component.play.js +140 -0
- package/dist/collection/components/radio/test/radio.visual.play.js +58 -0
- package/dist/collection/components/segment/segment/segment.host.css +1 -0
- package/dist/collection/components/segment/segment/segment.js +826 -0
- package/dist/collection/components/segment/segment-item.host.css +1 -0
- package/dist/collection/components/segment/segment-item.interfaces.js +4 -0
- package/dist/collection/components/segment/segment-item.js +217 -0
- package/dist/collection/components/segment/test/segment.a11y.play.js +37 -0
- package/dist/collection/components/segment/test/segment.component.play.js +99 -0
- package/dist/collection/components/segment/test/segment.visual.play.js +50 -0
- package/dist/collection/components/shape/shape.data.js +9 -0
- package/dist/collection/components/shape/shape.host.css +1 -0
- package/dist/collection/components/shape/shape.interfaces.js +15 -0
- package/dist/collection/components/shape/shape.js +167 -0
- package/dist/collection/components/shape/test/shape.component.play.js +13 -0
- package/dist/collection/components/shape/test/shape.visual.play.js +16 -0
- package/dist/collection/components/spinner/spinner.animation.js +15 -0
- package/dist/collection/components/spinner/spinner.data.js +2588 -0
- package/dist/collection/components/spinner/spinner.host.css +1 -0
- package/dist/collection/components/spinner/spinner.i18n.js +35 -0
- package/dist/collection/components/spinner/spinner.interfaces.js +7 -0
- package/dist/collection/components/spinner/spinner.js +509 -0
- package/dist/collection/components/spinner/test/spinner.a11y.play.js +8 -0
- package/dist/collection/components/spinner/test/spinner.visual.play.js +16 -0
- package/dist/collection/components/stack/stack.host.css +1 -0
- package/dist/collection/components/stack/stack.interfaces.js +60 -0
- package/dist/collection/components/stack/stack.js +543 -0
- package/dist/collection/components/stack/test/stack.component.play.js +14 -0
- package/dist/collection/components/stack/test/stack.visual.play.js +44 -0
- package/dist/collection/components/table/test/table.visual.play.js +16 -0
- package/dist/collection/components/tag/tag-group/tag-group.host.css +1 -0
- package/dist/collection/components/tag/tag-group/tag-group.js +42 -0
- package/dist/collection/components/tag/tag.host.css +1 -0
- package/dist/collection/components/tag/tag.interfaces.js +28 -0
- package/dist/collection/components/tag/tag.js +330 -0
- package/dist/collection/components/tag/test/tag.a11y.play.js +42 -0
- package/dist/collection/components/tag/test/tag.component.play.js +22 -0
- package/dist/collection/components/tag/test/tag.visual.play.js +29 -0
- package/dist/collection/components/text/test/text.a11y.play.js +40 -0
- package/dist/collection/components/text/test/text.component.play.js +14 -0
- package/dist/collection/components/text/test/text.visual.play.js +40 -0
- package/dist/collection/components/text/text.host.css +1 -0
- package/dist/collection/components/text/text.interfaces.js +38 -0
- package/dist/collection/components/text/text.js +552 -0
- package/dist/collection/components/textarea/test/textarea.a11y.play.js +32 -0
- package/dist/collection/components/textarea/test/textarea.component.play.js +58 -0
- package/dist/collection/components/textarea/test/textarea.visual.play.js +29 -0
- package/dist/collection/components/textarea/textarea.host.css +1 -0
- package/dist/collection/components/textarea/textarea.interfaces.js +4 -0
- package/dist/collection/components/textarea/textarea.js +1023 -0
- package/dist/collection/components/toggle/test/toggle.a11y.play.js +28 -0
- package/dist/collection/components/toggle/test/toggle.component.play.js +90 -0
- package/dist/collection/components/toggle/test/toggle.visual.play.js +30 -0
- package/dist/collection/components/toggle/toggle.host.css +1 -0
- package/dist/collection/components/toggle/toggle.interfaces.js +16 -0
- package/dist/collection/components/toggle/toggle.js +692 -0
- package/dist/collection/global/config/config.const.js +4 -0
- package/dist/collection/global/config/config.decorator.js +17 -0
- package/dist/collection/global/config/config.default.js +63 -0
- package/dist/collection/global/config/config.js +146 -0
- package/dist/collection/global/config/config.utils.js +82 -0
- package/dist/collection/global/config/index.js +10 -0
- package/dist/collection/global/config/initialize.js +14 -0
- package/dist/collection/global/constants/icons.constant.js +42 -0
- package/dist/collection/global/constants/keys.constant.js +20 -0
- package/dist/collection/global/constants/tags.constant.js +48 -0
- package/dist/collection/global/constants/version.constant.js +5 -0
- package/dist/collection/global/global.js +7 -0
- package/dist/collection/global/index.js +14 -0
- package/dist/collection/global/initialize.js +53 -0
- package/dist/collection/index.js +35 -40
- package/dist/collection/utils/aria.js +3 -0
- package/dist/collection/utils/array.js +5 -2
- package/dist/collection/utils/attributes.js +5 -2
- package/dist/collection/utils/breakpoints/breakpoints.const.js +6 -3
- package/dist/collection/utils/breakpoints/breakpoints.decorator.js +6 -3
- package/dist/collection/utils/breakpoints/breakpoints.js +23 -20
- package/dist/collection/utils/breakpoints/breakpoints.map.js +18 -16
- package/dist/collection/utils/breakpoints/breakpoints.subject.js +13 -10
- package/dist/collection/utils/breakpoints/index.js +4 -0
- package/dist/collection/utils/browser.js +6 -3
- package/dist/collection/utils/constants/icons.constant.js +41 -28
- package/dist/collection/utils/date/date.helpers.js +3 -0
- package/dist/collection/utils/date/date.js +15 -12
- package/dist/collection/utils/date/index.js +3 -0
- package/dist/collection/utils/device.js +12 -9
- package/dist/collection/utils/element-states/element-states.decorator.js +10 -7
- package/dist/collection/utils/element-states/element-states.listener.js +14 -11
- package/dist/collection/utils/element-states/element-states.subject.js +7 -4
- package/dist/collection/utils/element-states/index.js +3 -0
- package/dist/collection/utils/form-control.js +121 -0
- package/dist/collection/utils/helpers.js +84 -48
- package/dist/collection/utils/index.js +25 -0
- package/dist/collection/utils/keyboard/index.js +3 -0
- package/dist/collection/utils/keyboard/keyboard.decorator.js +10 -7
- package/dist/collection/utils/keyboard/keyboard.helpers.js +3 -0
- package/dist/collection/utils/keyboard/keyboard.listener.js +5 -2
- package/dist/collection/utils/keyboard/keyboard.subject.js +7 -4
- package/dist/collection/utils/log.js +10 -7
- package/dist/collection/utils/number.js +16 -6
- package/dist/collection/utils/orientation/index.js +3 -0
- package/dist/collection/utils/orientation/orientation.decorator.js +6 -3
- package/dist/collection/utils/orientation/orientation.subject.js +12 -9
- package/dist/collection/utils/property-checkers/check-array-of.js +13 -0
- package/dist/collection/utils/property-checkers/check-date.js +18 -0
- package/dist/collection/utils/property-checkers/check-iso-date.js +14 -0
- package/dist/collection/utils/property-checkers/check-one-of.js +13 -0
- package/dist/collection/utils/property-checkers/check-pattern.js +13 -0
- package/dist/collection/utils/property-checkers/check-type.js +20 -0
- package/dist/collection/utils/property-checkers/check-url.js +20 -0
- package/dist/collection/utils/property-checkers/constants.js +4 -0
- package/dist/collection/utils/property-checkers/empty-or.js +15 -0
- package/dist/collection/utils/property-checkers/index.js +57 -0
- package/dist/collection/utils/property-checkers/is-iso-date.js +17 -0
- package/dist/collection/utils/property-checkers/is-value-empty.js +7 -0
- package/dist/collection/utils/property-checkers/required-and.js +20 -0
- package/dist/collection/utils/resize/index.js +3 -0
- package/dist/collection/utils/resize/resize.decorator.js +10 -7
- package/dist/collection/utils/resize/resize.listener.js +6 -3
- package/dist/collection/utils/resize/resize.subject.js +7 -4
- package/dist/collection/utils/resize/window-resize.decorator.js +10 -7
- package/dist/collection/utils/resize/window-resize.handler.js +14 -11
- package/dist/collection/utils/resize/window-resize.listener.js +7 -4
- package/dist/collection/utils/resize/window-resize.subject.js +10 -7
- package/dist/collection/utils/scroll.js +9 -6
- package/dist/collection/utils/svg.js +3 -0
- package/dist/collection/utils/swipe/index.js +3 -0
- package/dist/collection/utils/swipe/swipe.decorator.js +10 -7
- package/dist/collection/utils/swipe/swipe.listener.js +4 -20
- package/dist/collection/utils/swipe/swipe.subject.js +9 -6
- package/dist/collection/utils/t-shirt.js +52 -0
- package/dist/collection/utils/timer.js +24 -0
- package/dist/collection/utils/types/listener.js +5 -2
- package/dist/collection/utils/types/signal.js +3 -0
- package/dist/collection/utils/validate.decorator.js +203 -0
- package/dist/design-system/design-system.css +1 -0
- package/dist/design-system/design-system.esm.js +4 -0
- package/dist/design-system/index.esm.js +4 -0
- package/dist/design-system/p-03bbcdf9de.entry.js +4 -0
- package/dist/design-system/p-1154323457.entry.js +4 -0
- package/dist/design-system/p-15bc012833.entry.js +4 -0
- package/dist/design-system/p-1d312498a6.entry.js +4 -0
- package/dist/design-system/p-1f0601a4f4.entry.js +4 -0
- package/dist/design-system/p-21b080a49a.entry.js +4 -0
- package/dist/design-system/p-27c34c4e5f.entry.js +4 -0
- package/dist/design-system/p-2b91de302f.entry.js +4 -0
- package/dist/design-system/p-31c1235ac5.entry.js +4 -0
- package/dist/design-system/p-3259acaa64.entry.js +4 -0
- package/dist/design-system/p-339d85cca0.entry.js +4 -0
- package/dist/design-system/p-35e63b52e7.entry.js +4 -0
- package/dist/design-system/p-363f3a7ab4.entry.js +4 -0
- package/dist/design-system/p-3d901720f7.entry.js +4 -0
- package/dist/design-system/p-40ba8b9812.entry.js +4 -0
- package/dist/design-system/p-432430e14f.entry.js +4 -0
- package/dist/design-system/p-487807f228.entry.js +4 -0
- package/dist/design-system/p-4a049d1b7f.entry.js +4 -0
- package/dist/design-system/p-4f4cce8ce4.entry.js +4 -0
- package/dist/design-system/p-5a901a9b8e.entry.js +4 -0
- package/dist/design-system/p-5d3330bf93.entry.js +4 -0
- package/dist/design-system/p-640223834c.entry.js +4 -0
- package/dist/design-system/p-6b9aab417f.entry.js +4 -0
- package/dist/design-system/p-799705af3a.entry.js +4 -0
- package/dist/design-system/p-7e6ed497e7.entry.js +4 -0
- package/dist/design-system/p-82RSSk25.js +4 -0
- package/dist/design-system/p-8e0872fef0.entry.js +4 -0
- package/dist/design-system/p-9617d56181.entry.js +4 -0
- package/dist/design-system/p-B62ocg4Q.js +4 -0
- package/dist/design-system/p-BATOumsf.js +4 -0
- package/dist/design-system/p-BFeO6Gq4.js +4 -0
- package/dist/design-system/p-BLPSziW-.js +4 -0
- package/dist/design-system/p-BR1SYpQO.js +4 -0
- package/dist/design-system/p-BTyFgjT3.js +4 -0
- package/dist/design-system/p-BUK_uRdC.js +4 -0
- package/dist/design-system/p-BaIoYrFa.js +5 -0
- package/dist/design-system/p-Bbn3sYo5.js +4 -0
- package/dist/design-system/p-BkESlUMc.js +4 -0
- package/dist/design-system/p-BlyIAln5.js +4 -0
- package/dist/design-system/p-Br3Spw-v.js +4 -0
- package/dist/design-system/p-BwrOVItb.js +4 -0
- package/dist/design-system/p-C7EnKCpl.js +4 -0
- package/dist/design-system/p-C7I7OlaM.js +4 -0
- package/dist/design-system/p-C7u0gyLh.js +4 -0
- package/dist/design-system/p-CAcwu8uP.js +4 -0
- package/dist/design-system/p-CYHzHtnv.js +4 -0
- package/dist/design-system/p-Cb75Rr6o.js +4 -0
- package/dist/design-system/p-Ceu7FIWM.js +4 -0
- package/dist/design-system/p-CqZ6YSy9.js +4 -0
- package/dist/design-system/p-CqzM3doy.js +4 -0
- package/dist/design-system/p-CuwLeg-T.js +5 -0
- package/dist/design-system/p-D2tr7015.js +4 -0
- package/dist/design-system/p-D86WpWIE.js +4 -0
- package/dist/design-system/p-DCf2fJmI.js +4 -0
- package/dist/design-system/p-DDKh7hkm.js +4 -0
- package/dist/design-system/p-DHeVI6dR.js +4 -0
- package/dist/design-system/p-DJxr2Dcd.js +4 -0
- package/dist/design-system/p-DR5LIaCn.js +4 -0
- package/dist/design-system/p-DTPbL3uY.js +4 -0
- package/dist/design-system/p-DYfTMCkl.js +4 -0
- package/dist/design-system/p-Dnjznncd.js +4 -0
- package/dist/design-system/p-Duhf3ymL.js +4 -0
- package/dist/design-system/p-LCAsAZzj.js +4 -0
- package/dist/design-system/p-aff68865ee.entry.js +4 -0
- package/dist/design-system/p-b3c6327744.entry.js +4 -0
- package/dist/design-system/p-be9023a38b.entry.js +4 -0
- package/dist/design-system/p-c031d1dce5.entry.js +4 -0
- package/dist/design-system/p-c3ae96e220.entry.js +4 -0
- package/dist/design-system/p-d430812a57.entry.js +4 -0
- package/dist/design-system/p-de1354f022.entry.js +4 -0
- package/dist/design-system/p-e3d0c82e2a.entry.js +4 -0
- package/dist/design-system/p-ea1a5e1f75.entry.js +4 -0
- package/dist/design-system/p-ea7169501c.entry.js +4 -0
- package/dist/design-system/p-eab397e041.entry.js +4 -0
- package/dist/design-system/p-ecba4deb9a.entry.js +4 -0
- package/dist/design-system/p-fe0dbd4b03.entry.js +4 -0
- package/dist/design-system/p-ng5ZzTOj.js +4 -0
- package/dist/esm/_commonjsHelpers-Duhf3ymL.js +10 -0
- package/dist/esm/_getTag-DFxL3s3h.js +940 -0
- package/dist/esm/accordion.interfaces-C7u0gyLh.js +10 -0
- package/dist/esm/app.focus.util-BTyFgjT3.js +74 -0
- package/dist/esm/aria-DYfTMCkl.js +11 -0
- package/dist/esm/attributes-B62ocg4Q.js +29 -0
- package/dist/esm/breakpoints.decorator-L2xeP46f.js +20 -0
- package/dist/esm/breakpoints.subject-BhbzG-rl.js +261 -0
- package/dist/esm/button.interfaces-BkESlUMc.js +29 -0
- package/dist/esm/card.interfaces-BlyIAln5.js +57 -0
- package/dist/esm/checkbox.interfaces-LCAsAZzj.js +8 -0
- package/dist/esm/close.i18n-Bbn3sYo5.js +37 -0
- package/dist/esm/config.decorator-BQNIja4k.js +20 -0
- package/dist/esm/config.utils-COlKFRlV.js +85 -0
- package/dist/esm/contact-Cb75Rr6o.js +1636 -0
- package/dist/esm/design-system.js +44 -0
- package/dist/esm/device-Dhwt3m7W.js +54 -0
- package/dist/esm/ds-accordion.entry.js +253 -0
- package/dist/esm/ds-alert-container.entry.js +189 -0
- package/dist/esm/ds-app.entry.js +91 -0
- package/dist/esm/ds-badge.entry.js +91 -0
- package/dist/esm/ds-button-group.entry.js +87 -0
- package/dist/esm/ds-button_2.entry.js +525 -0
- package/dist/esm/ds-card-actions.entry.js +39 -0
- package/dist/esm/ds-card-content.entry.js +29 -0
- package/dist/esm/ds-card-header.entry.js +36 -0
- package/dist/esm/ds-card-subtitle.entry.js +65 -0
- package/dist/esm/ds-card-title.entry.js +57 -0
- package/dist/esm/ds-card.entry.js +183 -0
- package/dist/esm/ds-checkbox-group.entry.js +2349 -0
- package/dist/esm/ds-checkbox.entry.js +233 -0
- package/dist/esm/ds-content.entry.js +152 -0
- package/dist/esm/ds-divider.entry.js +129 -0
- package/dist/esm/ds-heading.entry.js +240 -0
- package/dist/esm/ds-icon_2.entry.js +1460 -0
- package/dist/esm/ds-input.entry.js +828 -0
- package/dist/esm/ds-item.entry.js +256 -0
- package/dist/esm/ds-label.entry.js +184 -0
- package/dist/esm/ds-list.entry.js +54 -0
- package/dist/esm/ds-logo.entry.js +221 -0
- package/dist/esm/ds-notification.entry.js +148 -0
- package/dist/esm/ds-number-input.entry.js +646 -0
- package/dist/esm/ds-pagination.entry.js +340 -0
- package/dist/esm/ds-progress-bar.entry.js +226 -0
- package/dist/esm/ds-radio-group.entry.js +397 -0
- package/dist/esm/ds-radio.entry.js +336 -0
- package/dist/esm/ds-segment-item.entry.js +84 -0
- package/dist/esm/ds-segment.entry.js +445 -0
- package/dist/esm/ds-shape.entry.js +88 -0
- package/dist/esm/ds-snackbar.entry.js +251 -0
- package/dist/esm/ds-stack.entry.js +222 -0
- package/dist/esm/ds-tag-group.entry.js +33 -0
- package/dist/esm/ds-tag.entry.js +148 -0
- package/dist/esm/ds-text.entry.js +239 -0
- package/dist/esm/ds-textarea.entry.js +310 -0
- package/dist/esm/ds-toast.entry.js +269 -0
- package/dist/esm/ds-toggle.entry.js +250 -0
- package/dist/esm/field.util-BXxRO7CD.js +17 -0
- package/dist/esm/form-control-D2O-sb65.js +117 -0
- package/dist/esm/heading.interfaces-Ceu7FIWM.js +27 -0
- package/dist/esm/index-CuwLeg-T.js +3454 -0
- package/dist/esm/index.js +8401 -133
- package/dist/esm/input.interfaces-C7EnKCpl.js +109 -0
- package/dist/esm/isEmpty-DmZYZqE9.js +97 -0
- package/dist/esm/isNil--HeEBNs3.js +44 -0
- package/dist/esm/isObjectLike-BAYao9w7.js +252 -0
- package/dist/esm/keys.constant-D86WpWIE.js +22 -0
- package/dist/esm/label.i18n-C7I7OlaM.js +37 -0
- package/dist/esm/listener-C_kjUVTE.js +88 -0
- package/dist/esm/loader.js +6 -10
- package/dist/esm/logo.animation-DwNj8wwS.js +2608 -0
- package/dist/esm/lottie_light_html-C2-ebQsQ.js +13648 -0
- package/dist/esm/pagination.i18n-BR1SYpQO.js +57 -0
- package/dist/esm/radio.interfaces-BFeO6Gq4.js +8 -0
- package/dist/esm/spinner.animation-rYIM3SEm.js +2603 -0
- package/dist/esm/stack.interfaces-ng5ZzTOj.js +62 -0
- package/dist/esm/svg-BaIoYrFa.js +1480 -0
- package/dist/esm/t-shirt-DR5LIaCn.js +51 -0
- package/dist/esm/tslib.es6-tdchDLyb.js +113 -0
- package/dist/esm/validate.decorator-82RSSk25.js +110 -0
- package/dist/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +129 -0
- package/dist/types/components/accordion/accordion.interfaces.d.ts +20 -0
- package/dist/types/components/alert/alert-container.d.ts +67 -0
- package/dist/types/components/alert/alert-container.interfaces.d.ts +24 -0
- package/dist/types/components/alert/alert.controller.d.ts +9 -0
- package/dist/types/components/alert/snackbar/snackbar.d.ts +129 -0
- package/dist/types/components/alert/snackbar/snackbar.interfaces.d.ts +11 -0
- package/dist/types/components/alert/toast/toast.d.ts +143 -0
- package/dist/types/components/alert/toast/toast.interfaces.d.ts +16 -0
- package/dist/types/components/app/app.d.ts +39 -0
- package/dist/types/components/app/app.focus.util.d.ts +6 -0
- package/dist/types/components/app/app.interfaces.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +39 -0
- package/dist/types/components/badge/badge.interfaces.d.ts +6 -0
- package/dist/types/components/button/button-group/button-group.d.ts +46 -0
- package/dist/types/components/button/button.d.ts +197 -0
- package/dist/types/components/button/button.interfaces.d.ts +32 -0
- package/dist/types/components/card/card-actions/card-actions.d.ts +21 -0
- package/dist/types/components/card/card-content/card-content.d.ts +15 -0
- package/dist/types/components/card/card-header/card-header.d.ts +17 -0
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +29 -0
- package/dist/types/components/card/card-title/card-title.d.ts +30 -0
- package/dist/types/components/card/card.d.ts +74 -0
- package/dist/types/components/card/card.interfaces.d.ts +17 -0
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +157 -0
- package/dist/types/components/checkbox/checkbox.d.ts +136 -0
- package/dist/types/components/checkbox/checkbox.interfaces.d.ts +26 -0
- package/dist/types/components/close/close.d.ts +45 -0
- package/dist/types/components/close/close.i18n.d.ts +6 -0
- package/dist/types/components/close/close.interfaces.d.ts +2 -0
- package/dist/types/components/content/content.d.ts +55 -0
- package/dist/types/components/content/content.interfaces.d.ts +10 -0
- package/dist/types/components/divider/divider.d.ts +42 -0
- package/dist/types/components/divider/divider.interfaces.d.ts +8 -0
- package/dist/types/components/heading/heading.const.d.ts +12 -0
- package/dist/types/components/heading/heading.d.ts +85 -0
- package/dist/types/components/heading/heading.interfaces.d.ts +10 -0
- package/dist/types/components/icon/icon.d.ts +99 -0
- package/dist/types/components/icon/icon.interfaces.d.ts +8 -0
- package/dist/types/components/input/field.util.d.ts +22 -0
- package/dist/types/components/input/input.d.ts +242 -0
- package/dist/types/components/input/input.interfaces.d.ts +28 -0
- package/dist/types/components/input/input.mask.d.ts +21 -0
- package/dist/types/components/input/masks/basic-contract-number.d.ts +10 -0
- package/dist/types/components/input/masks/be-enterprise-number.d.ts +10 -0
- package/dist/types/components/input/masks/be-iban.d.ts +10 -0
- package/dist/types/components/input/masks/claim-number.d.ts +10 -0
- package/dist/types/components/input/masks/contract-number.d.ts +11 -0
- package/dist/types/components/input/masks/index.d.ts +4 -0
- package/dist/types/components/input/masks/offer-number.d.ts +10 -0
- package/dist/types/components/input/masks/vehicle-registration-number.d.ts +10 -0
- package/dist/types/components/label/label.d.ts +86 -0
- package/dist/types/components/label/label.i18n.d.ts +6 -0
- package/dist/types/components/label/label.interfaces.d.ts +4 -0
- package/dist/types/components/list/item/item.d.ts +129 -0
- package/dist/types/components/list/item/item.interfaces.d.ts +8 -0
- package/dist/types/components/list/list.d.ts +32 -0
- package/dist/types/components/logo/logo.animation.d.ts +2 -0
- package/dist/types/components/logo/logo.d.ts +75 -0
- package/dist/types/components/logo/logo.data.d.ts +1756 -0
- package/dist/types/components/logo/logo.icons.d.ts +9 -0
- package/dist/types/components/logo/logo.interfaces.d.ts +6 -0
- package/dist/types/components/notification/notification.d.ts +81 -0
- package/dist/types/components/notification/notification.interfaces.d.ts +12 -0
- package/dist/types/components/number-input/number-input.d.ts +193 -0
- package/dist/types/components/number-input/number-input.interfaces.d.ts +16 -0
- package/dist/types/components/pagination/pagination.d.ts +116 -0
- package/dist/types/components/pagination/pagination.i18n.d.ts +8 -0
- package/dist/types/components/pagination/pagination.interfaces.d.ts +12 -0
- package/dist/types/components/pagination/pagination.util.d.ts +7 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +61 -0
- package/dist/types/components/progress-bar/progress-bar.i18n.d.ts +6 -0
- package/dist/types/components/progress-bar/progress-bar.interfaces.d.ts +4 -0
- package/dist/types/components/radio/radio-group/radio-group.d.ts +160 -0
- package/dist/types/components/radio/radio.d.ts +161 -0
- package/dist/types/components/radio/radio.interfaces.d.ts +26 -0
- package/dist/types/components/segment/segment/segment.d.ts +150 -0
- package/dist/types/components/segment/segment-item.d.ts +63 -0
- package/dist/types/components/segment/segment-item.interfaces.d.ts +16 -0
- package/dist/types/components/segment/segment-item.type.d.ts +7 -0
- package/dist/types/components/shape/shape.d.ts +41 -0
- package/dist/types/components/shape/shape.data.d.ts +1 -0
- package/dist/types/components/shape/shape.interfaces.d.ts +6 -0
- package/dist/types/components/spinner/spinner.d.ts +89 -0
- package/dist/types/components/spinner/spinner.data.d.ts +1756 -0
- package/dist/types/components/spinner/spinner.i18n.d.ts +6 -0
- package/dist/types/components/spinner/spinner.interfaces.d.ts +8 -0
- package/dist/types/components/stack/stack.d.ts +84 -0
- package/dist/types/components/stack/stack.interfaces.d.ts +10 -0
- package/dist/types/components/tag/tag-group/tag-group.d.ts +18 -0
- package/dist/types/components/tag/tag.d.ts +65 -0
- package/dist/types/components/tag/tag.interfaces.d.ts +16 -0
- package/dist/types/components/text/text.d.ts +96 -0
- package/dist/types/components/text/text.interfaces.d.ts +8 -0
- package/dist/types/components/textarea/textarea.d.ts +191 -0
- package/dist/types/components/textarea/textarea.interfaces.d.ts +20 -0
- package/dist/types/components/toggle/toggle.d.ts +130 -0
- package/dist/types/components/toggle/toggle.interfaces.d.ts +16 -0
- package/dist/types/components.d.ts +4213 -8424
- package/dist/types/global/component.type.d.ts +6 -0
- package/dist/types/global/config/config.const.d.ts +1 -0
- package/dist/types/global/config/config.d.ts +39 -0
- package/dist/types/global/config/config.decorator.d.ts +3 -0
- package/dist/types/global/config/config.default.d.ts +43 -0
- package/dist/types/global/config/config.types.d.ts +48 -0
- package/dist/types/global/config/config.utils.d.ts +16 -0
- package/dist/types/global/config/initialize.d.ts +3 -0
- package/dist/types/global/config/observable/observer.d.ts +4 -0
- package/dist/types/global/config/observable/subject.d.ts +6 -0
- package/dist/types/global/constants/icons.constant.d.ts +38 -0
- package/dist/types/global/constants/version.constant.d.ts +1 -0
- package/dist/types/global/index.d.ts +7 -0
- package/dist/types/global/initialize.d.ts +2 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/accordion.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/app.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/badge.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/button.po.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/card.po.d.ts +25 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/checkbox.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/close.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/content.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/divider.po.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/heading.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/icon.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +29 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/label.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/list.po.d.ts +18 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/logo.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/notification.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/number-input.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/pagination.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/radio.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/segment.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/shape.po.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/snackbar.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/spinner.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/stack.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tag.po.d.ts +8 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/text.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/textarea.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/toast.po.d.ts +14 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/toggle.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +7 -3
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +3 -3
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +4 -3
- package/dist/types/index.d.ts +13 -40
- package/dist/types/interfaces.d.ts +60 -64
- package/dist/types/stencil-public-runtime.d.ts +110 -6
- package/dist/types/utils/aria.d.ts +1 -1
- package/dist/types/utils/attributes.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.const.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.d.ts +14 -14
- package/dist/types/utils/breakpoints/breakpoints.decorator.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.interfaces.d.ts +6 -6
- package/dist/types/utils/breakpoints/breakpoints.map.d.ts +3 -3
- package/dist/types/utils/breakpoints/breakpoints.subject.d.ts +5 -5
- package/dist/types/utils/breakpoints/index.d.ts +1 -0
- package/dist/types/utils/browser.d.ts +1 -1
- package/dist/types/utils/constants/icons.constant.d.ts +38 -28
- package/dist/types/utils/date/date.d.ts +9 -9
- package/dist/types/utils/device.d.ts +4 -4
- package/dist/types/utils/element-states/element-states.decorator.d.ts +2 -2
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +4 -4
- package/dist/types/utils/element-states/element-states.listener.d.ts +3 -3
- package/dist/types/utils/element-states/element-states.subject.d.ts +3 -3
- package/dist/types/utils/form-control.d.ts +63 -0
- package/dist/types/utils/helpers.d.ts +7 -7
- package/dist/types/utils/index.d.ts +22 -0
- package/dist/types/utils/keyboard/keyboard.decorator.d.ts +2 -2
- package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +4 -4
- package/dist/types/utils/keyboard/keyboard.listener.d.ts +2 -2
- package/dist/types/utils/keyboard/keyboard.subject.d.ts +3 -3
- package/dist/types/utils/log.d.ts +2 -2
- package/dist/types/utils/orientation/orientation.decorator.d.ts +2 -2
- package/dist/types/utils/orientation/orientation.interfaces.d.ts +3 -3
- package/dist/types/utils/orientation/orientation.subject.d.ts +4 -4
- package/dist/types/utils/property-checkers/check-array-of.d.ts +2 -0
- package/dist/types/utils/property-checkers/check-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-one-of.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-pattern.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-type.d.ts +2 -0
- package/dist/types/utils/property-checkers/check-url.d.ts +1 -0
- package/dist/types/utils/property-checkers/constants.d.ts +1 -0
- package/dist/types/utils/property-checkers/empty-or.d.ts +1 -0
- package/dist/types/utils/property-checkers/index.d.ts +19 -0
- package/dist/types/utils/property-checkers/is-iso-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/is-value-empty.d.ts +1 -0
- package/dist/types/utils/property-checkers/property-types.d.ts +3 -0
- package/dist/types/utils/property-checkers/required-and.d.ts +1 -0
- package/dist/types/utils/resize/resize.decorator.d.ts +2 -2
- package/dist/types/utils/resize/resize.interfaces.d.ts +4 -4
- package/dist/types/utils/resize/resize.listener.d.ts +2 -2
- package/dist/types/utils/resize/resize.subject.d.ts +3 -3
- package/dist/types/utils/resize/window-resize.decorator.d.ts +2 -2
- package/dist/types/utils/resize/window-resize.handler.d.ts +4 -4
- package/dist/types/utils/resize/window-resize.interfaces.d.ts +3 -3
- package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
- package/dist/types/utils/resize/window-resize.subject.d.ts +4 -4
- package/dist/types/utils/scroll.d.ts +1 -1
- package/dist/types/utils/svg.d.ts +1 -1
- package/dist/types/utils/swipe/swipe.decorator.d.ts +2 -2
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +4 -4
- package/dist/types/utils/swipe/swipe.listener.d.ts +2 -3
- package/dist/types/utils/swipe/swipe.subject.d.ts +3 -3
- package/dist/types/utils/t-shirt.d.ts +26 -0
- package/dist/types/utils/timer.d.ts +6 -0
- package/dist/types/utils/types/signal.d.ts +2 -2
- package/dist/types/utils/validate.decorator.d.ts +114 -0
- package/docs/components.json +42790 -0
- package/docs/html.html-data.json +4894 -0
- package/docs/tags.json +44 -0
- package/loader/cdn.js +4 -2
- package/loader/index.cjs.js +4 -2
- package/loader/index.es2017.js +3 -1
- package/loader/index.js +4 -2
- package/package.json +38 -32
- package/components/_commonjsHelpers.js +0 -7
- package/components/animation.decorator.js +0 -75
- package/components/aria.js +0 -8
- package/components/array.js +0 -20
- package/components/attributes.js +0 -38
- package/components/bal-accordion-details.d.ts +0 -11
- package/components/bal-accordion-details.js +0 -103
- package/components/bal-accordion-summary.d.ts +0 -11
- package/components/bal-accordion-summary.js +0 -139
- package/components/bal-accordion-trigger.d.ts +0 -11
- package/components/bal-accordion-trigger.js +0 -284
- package/components/bal-accordion.d.ts +0 -11
- package/components/bal-accordion.js +0 -404
- package/components/bal-app.d.ts +0 -11
- package/components/bal-app.js +0 -107
- package/components/bal-badge.d.ts +0 -11
- package/components/bal-badge.js +0 -6
- package/components/bal-badge2.js +0 -63
- package/components/bal-button-group.d.ts +0 -11
- package/components/bal-button-group.js +0 -6
- package/components/bal-button-group2.js +0 -52
- package/components/bal-button.d.ts +0 -11
- package/components/bal-button.js +0 -6
- package/components/bal-button2.js +0 -315
- package/components/bal-card-actions.d.ts +0 -11
- package/components/bal-card-actions.js +0 -43
- package/components/bal-card-button.d.ts +0 -11
- package/components/bal-card-button.js +0 -83
- package/components/bal-card-content.d.ts +0 -11
- package/components/bal-card-content.js +0 -6
- package/components/bal-card-content2.js +0 -28
- package/components/bal-card-subtitle.d.ts +0 -11
- package/components/bal-card-subtitle.js +0 -49
- package/components/bal-card-title.d.ts +0 -11
- package/components/bal-card-title.js +0 -43
- package/components/bal-card.d.ts +0 -11
- package/components/bal-card.js +0 -6
- package/components/bal-card2.js +0 -91
- package/components/bal-carousel-item.d.ts +0 -11
- package/components/bal-carousel-item.js +0 -163
- package/components/bal-carousel.d.ts +0 -11
- package/components/bal-carousel.js +0 -324
- package/components/bal-check.d.ts +0 -11
- package/components/bal-check.js +0 -6
- package/components/bal-check2.js +0 -82
- package/components/bal-checkbox-group.d.ts +0 -11
- package/components/bal-checkbox-group.js +0 -413
- package/components/bal-checkbox.d.ts +0 -11
- package/components/bal-checkbox.js +0 -6
- package/components/bal-checkbox2.js +0 -428
- package/components/bal-close.d.ts +0 -11
- package/components/bal-close.i18n.js +0 -34
- package/components/bal-close.js +0 -6
- package/components/bal-close2.js +0 -76
- package/components/bal-content.d.ts +0 -11
- package/components/bal-content.js +0 -6
- package/components/bal-content2.js +0 -95
- package/components/bal-data-item.d.ts +0 -11
- package/components/bal-data-item.js +0 -44
- package/components/bal-data-label.d.ts +0 -11
- package/components/bal-data-label.js +0 -38
- package/components/bal-data-value.d.ts +0 -11
- package/components/bal-data-value.js +0 -82
- package/components/bal-data.d.ts +0 -11
- package/components/bal-data.js +0 -70
- package/components/bal-date-calendar-cell.d.ts +0 -11
- package/components/bal-date-calendar-cell.js +0 -6
- package/components/bal-date-calendar-cell2.js +0 -61
- package/components/bal-date-calendar.d.ts +0 -11
- package/components/bal-date-calendar.js +0 -6
- package/components/bal-date-calendar2.js +0 -505
- package/components/bal-date.d.ts +0 -11
- package/components/bal-date.i18n.js +0 -64
- package/components/bal-date.js +0 -459
- package/components/bal-divider.d.ts +0 -11
- package/components/bal-divider.js +0 -81
- package/components/bal-dropdown.d.ts +0 -11
- package/components/bal-dropdown.js +0 -881
- package/components/bal-field-control.d.ts +0 -11
- package/components/bal-field-control.js +0 -79
- package/components/bal-field-hint.d.ts +0 -11
- package/components/bal-field-hint.js +0 -134
- package/components/bal-field-label.d.ts +0 -11
- package/components/bal-field-label.js +0 -108
- package/components/bal-field-message.d.ts +0 -11
- package/components/bal-field-message.js +0 -79
- package/components/bal-field.d.ts +0 -11
- package/components/bal-field.js +0 -256
- package/components/bal-file-upload.d.ts +0 -11
- package/components/bal-file-upload.js +0 -505
- package/components/bal-file-upload.type.js +0 -10
- package/components/bal-footer.d.ts +0 -11
- package/components/bal-footer.js +0 -239
- package/components/bal-form-col.d.ts +0 -11
- package/components/bal-form-col.js +0 -46
- package/components/bal-form-grid.d.ts +0 -11
- package/components/bal-form-grid.js +0 -34
- package/components/bal-form.d.ts +0 -11
- package/components/bal-form.js +0 -69
- package/components/bal-heading.d.ts +0 -11
- package/components/bal-heading.js +0 -6
- package/components/bal-heading2.js +0 -206
- package/components/bal-hint-text.d.ts +0 -11
- package/components/bal-hint-text.js +0 -6
- package/components/bal-hint-text2.js +0 -33
- package/components/bal-hint-title.d.ts +0 -11
- package/components/bal-hint-title.js +0 -6
- package/components/bal-hint-title2.js +0 -33
- package/components/bal-hint.d.ts +0 -11
- package/components/bal-hint.js +0 -6
- package/components/bal-hint2.js +0 -224
- package/components/bal-icon.d.ts +0 -11
- package/components/bal-icon.js +0 -6
- package/components/bal-icon2.js +0 -1156
- package/components/bal-input-date.d.ts +0 -11
- package/components/bal-input-date.js +0 -6
- package/components/bal-input-date2.js +0 -1095
- package/components/bal-input-group.d.ts +0 -11
- package/components/bal-input-group.js +0 -6
- package/components/bal-input-group2.js +0 -54
- package/components/bal-input-slider.d.ts +0 -11
- package/components/bal-input-slider.js +0 -252
- package/components/bal-input-stepper.d.ts +0 -11
- package/components/bal-input-stepper.i18n.js +0 -44
- package/components/bal-input-stepper.js +0 -1277
- package/components/bal-input.d.ts +0 -11
- package/components/bal-input.js +0 -639
- package/components/bal-label.d.ts +0 -11
- package/components/bal-label.i18n.js +0 -34
- package/components/bal-label.js +0 -6
- package/components/bal-label2.js +0 -177
- package/components/bal-list-item-accordion-body.d.ts +0 -11
- package/components/bal-list-item-accordion-body.js +0 -6
- package/components/bal-list-item-accordion-body2.js +0 -152
- package/components/bal-list-item-accordion-head.d.ts +0 -11
- package/components/bal-list-item-accordion-head.js +0 -6
- package/components/bal-list-item-accordion-head2.js +0 -207
- package/components/bal-list-item-content.d.ts +0 -11
- package/components/bal-list-item-content.js +0 -6
- package/components/bal-list-item-content2.js +0 -33
- package/components/bal-list-item-icon.d.ts +0 -11
- package/components/bal-list-item-icon.js +0 -6
- package/components/bal-list-item-icon2.js +0 -37
- package/components/bal-list-item-subtitle.d.ts +0 -11
- package/components/bal-list-item-subtitle.js +0 -6
- package/components/bal-list-item-subtitle2.js +0 -28
- package/components/bal-list-item-title.d.ts +0 -11
- package/components/bal-list-item-title.js +0 -6
- package/components/bal-list-item-title2.js +0 -41
- package/components/bal-list-item.d.ts +0 -11
- package/components/bal-list-item.js +0 -6
- package/components/bal-list-item2.js +0 -329
- package/components/bal-list.d.ts +0 -11
- package/components/bal-list.js +0 -6
- package/components/bal-list2.js +0 -76
- package/components/bal-logo.animation.js +0 -2599
- package/components/bal-logo.d.ts +0 -11
- package/components/bal-logo.js +0 -6
- package/components/bal-logo2.js +0 -198
- package/components/bal-modal-body.d.ts +0 -11
- package/components/bal-modal-body.js +0 -31
- package/components/bal-modal-header.d.ts +0 -11
- package/components/bal-modal-header.js +0 -59
- package/components/bal-modal.d.ts +0 -11
- package/components/bal-modal.js +0 -324
- package/components/bal-nav-link-grid-col.d.ts +0 -11
- package/components/bal-nav-link-grid-col.js +0 -6
- package/components/bal-nav-link-grid-col2.js +0 -59
- package/components/bal-nav-link-grid.d.ts +0 -11
- package/components/bal-nav-link-grid.js +0 -6
- package/components/bal-nav-link-grid2.js +0 -48
- package/components/bal-nav-link-group.d.ts +0 -11
- package/components/bal-nav-link-group.js +0 -62
- package/components/bal-nav-link.d.ts +0 -11
- package/components/bal-nav-link.js +0 -6
- package/components/bal-nav-link2.js +0 -87
- package/components/bal-nav-menu-bar.d.ts +0 -11
- package/components/bal-nav-menu-bar.js +0 -6
- package/components/bal-nav-menu-bar2.js +0 -76
- package/components/bal-nav-menu-flyout.d.ts +0 -11
- package/components/bal-nav-menu-flyout.js +0 -6
- package/components/bal-nav-menu-flyout2.js +0 -109
- package/components/bal-nav-meta-bar.d.ts +0 -11
- package/components/bal-nav-meta-bar.js +0 -6
- package/components/bal-nav-meta-bar2.js +0 -120
- package/components/bal-nav.d.ts +0 -11
- package/components/bal-nav.js +0 -1041
- package/components/bal-navbar-brand.d.ts +0 -11
- package/components/bal-navbar-brand.js +0 -220
- package/components/bal-navbar-menu-end.d.ts +0 -11
- package/components/bal-navbar-menu-end.js +0 -42
- package/components/bal-navbar-menu-start.d.ts +0 -11
- package/components/bal-navbar-menu-start.js +0 -42
- package/components/bal-navbar-menu.d.ts +0 -11
- package/components/bal-navbar-menu.js +0 -79
- package/components/bal-navbar.d.ts +0 -11
- package/components/bal-navbar.js +0 -86
- package/components/bal-notices.d.ts +0 -11
- package/components/bal-notices.js +0 -54
- package/components/bal-notification.d.ts +0 -11
- package/components/bal-notification.js +0 -54
- package/components/bal-number-input.d.ts +0 -11
- package/components/bal-number-input.js +0 -462
- package/components/bal-option-list.d.ts +0 -11
- package/components/bal-option-list.js +0 -6
- package/components/bal-option-list2.js +0 -504
- package/components/bal-option.d.ts +0 -11
- package/components/bal-option.js +0 -6
- package/components/bal-option2.js +0 -197
- package/components/bal-pagination.d.ts +0 -11
- package/components/bal-pagination.js +0 -333
- package/components/bal-popover-content.d.ts +0 -11
- package/components/bal-popover-content.js +0 -6
- package/components/bal-popover-content2.js +0 -124
- package/components/bal-popover.d.ts +0 -11
- package/components/bal-popover.js +0 -6
- package/components/bal-popover2.js +0 -2146
- package/components/bal-popup.d.ts +0 -11
- package/components/bal-popup.js +0 -6
- package/components/bal-popup2.js +0 -732
- package/components/bal-progress-bar.d.ts +0 -11
- package/components/bal-progress-bar.js +0 -122
- package/components/bal-radio-group.d.ts +0 -11
- package/components/bal-radio-group.js +0 -427
- package/components/bal-radio-icon.d.ts +0 -11
- package/components/bal-radio-icon.js +0 -6
- package/components/bal-radio-icon2.js +0 -76
- package/components/bal-radio.d.ts +0 -11
- package/components/bal-radio.js +0 -6
- package/components/bal-radio2.js +0 -422
- package/components/bal-segment-item.d.ts +0 -11
- package/components/bal-segment-item.js +0 -249
- package/components/bal-segment.d.ts +0 -11
- package/components/bal-segment.js +0 -437
- package/components/bal-select-option.d.ts +0 -11
- package/components/bal-select-option.js +0 -6
- package/components/bal-select-option2.js +0 -54
- package/components/bal-select.d.ts +0 -11
- package/components/bal-select.js +0 -6
- package/components/bal-select2.js +0 -913
- package/components/bal-shape.d.ts +0 -11
- package/components/bal-shape.js +0 -6
- package/components/bal-shape2.js +0 -88
- package/components/bal-sheet.d.ts +0 -11
- package/components/bal-sheet.js +0 -45
- package/components/bal-snackbar.d.ts +0 -11
- package/components/bal-snackbar.js +0 -167
- package/components/bal-spinner.animation.js +0 -4543
- package/components/bal-spinner.d.ts +0 -11
- package/components/bal-spinner.js +0 -6
- package/components/bal-spinner2.js +0 -208
- package/components/bal-stack.d.ts +0 -11
- package/components/bal-stack.js +0 -6
- package/components/bal-stack2.js +0 -124
- package/components/bal-stage-back-link.d.ts +0 -11
- package/components/bal-stage-back-link.js +0 -56
- package/components/bal-stage-body.d.ts +0 -11
- package/components/bal-stage-body.js +0 -34
- package/components/bal-stage-foot.d.ts +0 -11
- package/components/bal-stage-foot.js +0 -32
- package/components/bal-stage-head.d.ts +0 -11
- package/components/bal-stage-head.js +0 -32
- package/components/bal-stage-image.d.ts +0 -11
- package/components/bal-stage-image.js +0 -51
- package/components/bal-stage.d.ts +0 -11
- package/components/bal-stage.js +0 -95
- package/components/bal-step-item.d.ts +0 -11
- package/components/bal-step-item.js +0 -128
- package/components/bal-step.util.js +0 -5
- package/components/bal-steps.d.ts +0 -11
- package/components/bal-steps.js +0 -300
- package/components/bal-switch.d.ts +0 -11
- package/components/bal-switch.js +0 -79
- package/components/bal-tab-item.d.ts +0 -11
- package/components/bal-tab-item.js +0 -168
- package/components/bal-tab.util.js +0 -5
- package/components/bal-table.d.ts +0 -11
- package/components/bal-table.js +0 -45
- package/components/bal-tabs.d.ts +0 -11
- package/components/bal-tabs.js +0 -6
- package/components/bal-tabs2.js +0 -968
- package/components/bal-tag-group.d.ts +0 -11
- package/components/bal-tag-group.js +0 -31
- package/components/bal-tag.d.ts +0 -11
- package/components/bal-tag.js +0 -6
- package/components/bal-tag2.js +0 -110
- package/components/bal-text.d.ts +0 -11
- package/components/bal-text.js +0 -143
- package/components/bal-textarea.d.ts +0 -11
- package/components/bal-textarea.js +0 -205
- package/components/bal-time-input.d.ts +0 -11
- package/components/bal-time-input.i18n.js +0 -44
- package/components/bal-time-input.js +0 -242
- package/components/bal-toast.d.ts +0 -11
- package/components/bal-toast.js +0 -104
- package/components/bal-tooltip.d.ts +0 -11
- package/components/bal-tooltip.js +0 -313
- package/components/bem.js +0 -10
- package/components/breakpoints.decorator.js +0 -17
- package/components/breakpoints.subject.js +0 -251
- package/components/browser.js +0 -62
- package/components/config.decorator.js +0 -17
- package/components/config.default.js +0 -48
- package/components/config.utils.js +0 -102
- package/components/contact.js +0 -1633
- package/components/date.js +0 -7840
- package/components/device.js +0 -51
- package/components/element-states.decorator.js +0 -95
- package/components/floating-ui.dom.js +0 -2100
- package/components/floating-ui.js +0 -26
- package/components/focus-visible.js +0 -71
- package/components/focus.decorator.js +0 -86
- package/components/form-input.js +0 -86
- package/components/form.js +0 -21
- package/components/helpers.js +0 -307
- package/components/index.esm.js +0 -210
- package/components/index2.js +0 -48
- package/components/index3.js +0 -569
- package/components/index4.js +0 -600
- package/components/index5.js +0 -1866
- package/components/index6.js +0 -125
- package/components/keyboard.helpers.js +0 -68
- package/components/keys.constant.js +0 -19
- package/components/listener.js +0 -85
- package/components/log.js +0 -77
- package/components/lottie_light_html.js +0 -11702
- package/components/mask-util.js +0 -3
- package/components/mutation.decorator.js +0 -124
- package/components/number.js +0 -34
- package/components/option.js +0 -50
- package/components/overlays.js +0 -364
- package/components/resize.decorator.js +0 -94
- package/components/scroll.js +0 -84
- package/components/string.js +0 -12
- package/components/svg.js +0 -1605
- package/components/swipe.decorator.js +0 -23
- package/components/swipe.subject.js +0 -75
- package/components/swiper.util.js +0 -437
- package/components/tokens.esm.js +0 -21
- package/components/tslib.es6.js +0 -29
- package/components/utils.js +0 -76
- package/components/visibility.decorator.js +0 -88
- package/components/window-resize.decorator.js +0 -46
- package/dist/baloise-design-system/baloise-design-system.esm.js +0 -1
- package/dist/baloise-design-system/baloise-design-system.js +0 -127
- package/dist/baloise-design-system/index.esm.js +0 -1
- package/dist/baloise-design-system/p-00d493e589.system.entry.js +0 -1
- package/dist/baloise-design-system/p-02323ca1fe.entry.js +0 -1
- package/dist/baloise-design-system/p-041bf35913.entry.js +0 -1
- package/dist/baloise-design-system/p-07b3561d34.entry.js +0 -1
- package/dist/baloise-design-system/p-08644e325b.entry.js +0 -1
- package/dist/baloise-design-system/p-09341cadc6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0974dcb139.entry.js +0 -1
- package/dist/baloise-design-system/p-1b1fdadab3.entry.js +0 -1
- package/dist/baloise-design-system/p-1d8afd6f97.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2264ba1f28.entry.js +0 -1
- package/dist/baloise-design-system/p-23537928fa.entry.js +0 -1
- package/dist/baloise-design-system/p-24185181f1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29d68d2132.entry.js +0 -1
- package/dist/baloise-design-system/p-29defa9270.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2dbbdfb785.system.entry.js +0 -1
- package/dist/baloise-design-system/p-340cd7b9e8.entry.js +0 -1
- package/dist/baloise-design-system/p-345901e33b.entry.js +0 -1
- package/dist/baloise-design-system/p-34d75cbfe8.entry.js +0 -1
- package/dist/baloise-design-system/p-353111ebe0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3678c7a958.entry.js +0 -1
- package/dist/baloise-design-system/p-36934c6f59.system.entry.js +0 -1
- package/dist/baloise-design-system/p-372ba2be28.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3bb89f6a82.entry.js +0 -1
- package/dist/baloise-design-system/p-3c2762a456.entry.js +0 -1
- package/dist/baloise-design-system/p-3ff089ddd6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-40f2569a17.system.entry.js +0 -1
- package/dist/baloise-design-system/p-41c63c9a82.system.entry.js +0 -1
- package/dist/baloise-design-system/p-427fe8eede.entry.js +0 -1
- package/dist/baloise-design-system/p-43878b51c9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-46986c305d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-47a709940f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-484747871b.entry.js +0 -1
- package/dist/baloise-design-system/p-495621ad03.entry.js +0 -1
- package/dist/baloise-design-system/p-49c12d2474.entry.js +0 -1
- package/dist/baloise-design-system/p-4RgSLeC0.system.js +0 -1
- package/dist/baloise-design-system/p-4Y53iwfN.system.js +0 -1
- package/dist/baloise-design-system/p-4b2eeb8c37.entry.js +0 -1
- package/dist/baloise-design-system/p-4be902176f.entry.js +0 -1
- package/dist/baloise-design-system/p-4c23ab651a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4f036f58ab.entry.js +0 -1
- package/dist/baloise-design-system/p-50a9cbd963.entry.js +0 -1
- package/dist/baloise-design-system/p-52c76f1bdd.entry.js +0 -1
- package/dist/baloise-design-system/p-54f5a92feb.entry.js +0 -1
- package/dist/baloise-design-system/p-5965694a0f.entry.js +0 -1
- package/dist/baloise-design-system/p-5d95c50514.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5f105bc63d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-608249b400.system.entry.js +0 -1
- package/dist/baloise-design-system/p-627def5e99.entry.js +0 -1
- package/dist/baloise-design-system/p-670a2bf1e7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-67f2a7fbef.system.entry.js +0 -1
- package/dist/baloise-design-system/p-68e405562e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-692f76ee0c.entry.js +0 -1
- package/dist/baloise-design-system/p-6d9619c9d0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-71d9805e14.system.entry.js +0 -1
- package/dist/baloise-design-system/p-72b37feadf.entry.js +0 -1
- package/dist/baloise-design-system/p-744c19c66d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-746165a211.system.entry.js +0 -1
- package/dist/baloise-design-system/p-75f3abf19e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-77404bcf6d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-79d0e94ea1.entry.js +0 -1
- package/dist/baloise-design-system/p-7b52e9987d.entry.js +0 -1
- package/dist/baloise-design-system/p-813c277b9f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8346d5f6ae.entry.js +0 -1
- package/dist/baloise-design-system/p-85428cc869.entry.js +0 -1
- package/dist/baloise-design-system/p-87d7996b33.system.entry.js +0 -1
- package/dist/baloise-design-system/p-88f9358a95.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8f06689f6a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-90d225c57c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9417cf5581.system.entry.js +0 -1
- package/dist/baloise-design-system/p-979dfed703.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9871800426.entry.js +0 -1
- package/dist/baloise-design-system/p-9be82de5a5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9bf6adbd21.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9fc710438a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-B-L34nz8.js +0 -1
- package/dist/baloise-design-system/p-B1u-Mq75.js +0 -1
- package/dist/baloise-design-system/p-B4aDEwd8.js +0 -1
- package/dist/baloise-design-system/p-B6GTvSSK.js +0 -1
- package/dist/baloise-design-system/p-B9BMZmYk.js +0 -1
- package/dist/baloise-design-system/p-BAaDJIzy.js +0 -1
- package/dist/baloise-design-system/p-BERg8BNc.js +0 -1
- package/dist/baloise-design-system/p-BFRjY4w3.js +0 -1
- package/dist/baloise-design-system/p-BFTU3MAI.js +0 -1
- package/dist/baloise-design-system/p-BG4j3FEv.js +0 -1
- package/dist/baloise-design-system/p-BHFw3KrT.js +0 -1
- package/dist/baloise-design-system/p-BJHY1rVR.system.js +0 -1
- package/dist/baloise-design-system/p-BLp4ll3i.js +0 -1
- package/dist/baloise-design-system/p-BM_oHMik.system.js +0 -1
- package/dist/baloise-design-system/p-BNWt5z9B.system.js +0 -1
- package/dist/baloise-design-system/p-BPUKeAhO.system.js +0 -1
- package/dist/baloise-design-system/p-BRAmUyPx.system.js +0 -1
- package/dist/baloise-design-system/p-B_C7V4Sa.js +0 -1
- package/dist/baloise-design-system/p-Ba5qjFjW.js +0 -1
- package/dist/baloise-design-system/p-BbAtjg9Y.system.js +0 -1
- package/dist/baloise-design-system/p-BdVwMG9u.js +0 -2
- package/dist/baloise-design-system/p-BhPUGxAx.system.js +0 -1
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +0 -1
- package/dist/baloise-design-system/p-BkEdlCZJ.js +0 -1
- package/dist/baloise-design-system/p-BktTDSq4.system.js +0 -1
- package/dist/baloise-design-system/p-BmOE4zEk.system.js +0 -1
- package/dist/baloise-design-system/p-BmVI6cLw.js +0 -1
- package/dist/baloise-design-system/p-BnVL_HEz.js +0 -1
- package/dist/baloise-design-system/p-Bp0A6Ore.system.js +0 -1
- package/dist/baloise-design-system/p-BpMXwP_q.system.js +0 -1
- package/dist/baloise-design-system/p-BwTzTXZG.js +0 -1
- package/dist/baloise-design-system/p-ByiN-QjD.js +0 -1
- package/dist/baloise-design-system/p-Bzy18UgU.system.js +0 -1
- package/dist/baloise-design-system/p-C20cwFWy.js +0 -1
- package/dist/baloise-design-system/p-C4sZQbkT.js +0 -1
- package/dist/baloise-design-system/p-C6x8G3mu.system.js +0 -1
- package/dist/baloise-design-system/p-C78VTo3I.js +0 -1
- package/dist/baloise-design-system/p-CAb2C8az.js +0 -1
- package/dist/baloise-design-system/p-CBkFUwrD.js +0 -1
- package/dist/baloise-design-system/p-CDeyBUqm.system.js +0 -1
- package/dist/baloise-design-system/p-CDt5sRVY.system.js +0 -1
- package/dist/baloise-design-system/p-CEOTg0oT.system.js +0 -1
- package/dist/baloise-design-system/p-CGJ8YYiA.system.js +0 -1
- package/dist/baloise-design-system/p-CKN3W8qn.js +0 -1
- package/dist/baloise-design-system/p-CLDmOIBx.system.js +0 -1
- package/dist/baloise-design-system/p-CLfE_o7e.system.js +0 -1
- package/dist/baloise-design-system/p-CM1lc2ni.system.js +0 -1
- package/dist/baloise-design-system/p-CM3hCeNH.js +0 -1
- package/dist/baloise-design-system/p-CTl0uAFp.system.js +0 -1
- package/dist/baloise-design-system/p-CTuoH3RE.system.js +0 -1
- package/dist/baloise-design-system/p-CXAw6SMX.system.js +0 -1
- package/dist/baloise-design-system/p-C_FHgwWW.js +0 -1
- package/dist/baloise-design-system/p-CbvOgU0G.js +0 -1
- package/dist/baloise-design-system/p-CeRECGC7.js +0 -1
- package/dist/baloise-design-system/p-Cj6DXhmQ.js +0 -1
- package/dist/baloise-design-system/p-Cjiw70Dk.system.js +0 -15
- package/dist/baloise-design-system/p-Ck7YRry-.system.js +0 -2
- package/dist/baloise-design-system/p-CpDHeXfo.js +0 -1
- package/dist/baloise-design-system/p-CpWDVANq.system.js +0 -1
- package/dist/baloise-design-system/p-Cr2H7Jt3.js +0 -1
- package/dist/baloise-design-system/p-CsPrCX4f.system.js +0 -1
- package/dist/baloise-design-system/p-Ct27z6g9.js +0 -1
- package/dist/baloise-design-system/p-Cu1ebAbd.system.js +0 -1
- package/dist/baloise-design-system/p-CuyVPNj2.system.js +0 -1
- package/dist/baloise-design-system/p-CvHtWfhm.system.js +0 -1
- package/dist/baloise-design-system/p-CviYHi5s.system.js +0 -1
- package/dist/baloise-design-system/p-CwRoS0HB.js +0 -1
- package/dist/baloise-design-system/p-Czl2AFQD.system.js +0 -1
- package/dist/baloise-design-system/p-D-yL3ygS.system.js +0 -1
- package/dist/baloise-design-system/p-D1opIX9W.system.js +0 -1
- package/dist/baloise-design-system/p-D5Gy6WbU.system.js +0 -1
- package/dist/baloise-design-system/p-D5aEF_JU.system.js +0 -1
- package/dist/baloise-design-system/p-D7M-7v58.js +0 -1
- package/dist/baloise-design-system/p-D7_eHNTI.system.js +0 -1
- package/dist/baloise-design-system/p-D7ovid3w.js +0 -1
- package/dist/baloise-design-system/p-DAOAbG5Y.system.js +0 -1
- package/dist/baloise-design-system/p-DBsOHTWj.js +0 -1
- package/dist/baloise-design-system/p-DDPYMMGG.system.js +0 -1
- package/dist/baloise-design-system/p-DEb5iNGc.js +0 -1
- package/dist/baloise-design-system/p-DIC_sxLd.js +0 -1
- package/dist/baloise-design-system/p-DKjTFqnu.system.js +0 -1
- package/dist/baloise-design-system/p-DOUIg6bI.js +0 -1
- package/dist/baloise-design-system/p-DPYRyPTD.system.js +0 -1
- package/dist/baloise-design-system/p-DRqAN-8G.js +0 -1
- package/dist/baloise-design-system/p-DST0VloN.system.js +0 -1
- package/dist/baloise-design-system/p-DV-2u4Pm.system.js +0 -1
- package/dist/baloise-design-system/p-DWgCJRpS.system.js +0 -1
- package/dist/baloise-design-system/p-Dd7xQwRJ.system.js +0 -1
- package/dist/baloise-design-system/p-DdX8FaaK.system.js +0 -1
- package/dist/baloise-design-system/p-DkfWaTsH.system.js +0 -1
- package/dist/baloise-design-system/p-DojUs2K8.js +0 -2
- package/dist/baloise-design-system/p-Dou6adza.system.js +0 -1
- package/dist/baloise-design-system/p-DowF7e07.system.js +0 -1
- package/dist/baloise-design-system/p-Dp4edqFK.js +0 -1
- package/dist/baloise-design-system/p-DpQhsHDk.system.js +0 -9
- package/dist/baloise-design-system/p-DqCbGYzv.js +0 -1
- package/dist/baloise-design-system/p-DtlqgdI2.system.js +0 -1
- package/dist/baloise-design-system/p-DuObDTix.js +0 -1
- package/dist/baloise-design-system/p-Dvgek0Sb.js +0 -1
- package/dist/baloise-design-system/p-DwxDqMbM.system.js +0 -1
- package/dist/baloise-design-system/p-Dxz8zGB7.system.js +0 -1
- package/dist/baloise-design-system/p-FCLKfv6B.js +0 -1
- package/dist/baloise-design-system/p-IZFfLjcz.js +0 -1
- package/dist/baloise-design-system/p-JHAE10yr.js +0 -1
- package/dist/baloise-design-system/p-MBsgW7uz.js +0 -1
- package/dist/baloise-design-system/p-PNu_g_s6.system.js +0 -2
- package/dist/baloise-design-system/p-PSBwy3yf.js +0 -1
- package/dist/baloise-design-system/p-RzJv7e7Y.system.js +0 -1
- package/dist/baloise-design-system/p-S5-HQnxq.js +0 -1
- package/dist/baloise-design-system/p-Yg1qLcvR.js +0 -1
- package/dist/baloise-design-system/p-a0020dcf30.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1482cbe4a.entry.js +0 -1
- package/dist/baloise-design-system/p-a3c4c9d422.entry.js +0 -1
- package/dist/baloise-design-system/p-a576422cb2.entry.js +0 -1
- package/dist/baloise-design-system/p-a584c6763e.entry.js +0 -1
- package/dist/baloise-design-system/p-a6135f2559.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a97c5309f7.entry.js +0 -1
- package/dist/baloise-design-system/p-aaf33f152f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-af292102b8.entry.js +0 -1
- package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b13d48cf28.entry.js +0 -1
- package/dist/baloise-design-system/p-b4fa55782e.entry.js +0 -1
- package/dist/baloise-design-system/p-b66021b38c.entry.js +0 -1
- package/dist/baloise-design-system/p-c78c0dd43a.entry.js +0 -1
- package/dist/baloise-design-system/p-c900ad58d0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ccdbef8f33.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce3e34fa95.entry.js +0 -1
- package/dist/baloise-design-system/p-cf77551018.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d20d698c0b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d41ca5c096.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d5365ffe38.entry.js +0 -1
- package/dist/baloise-design-system/p-d5de84380b.entry.js +0 -1
- package/dist/baloise-design-system/p-d680dc3dd0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ddd75e43d6.entry.js +0 -1
- package/dist/baloise-design-system/p-def5a43710.entry.js +0 -1
- package/dist/baloise-design-system/p-dfXERft2.js +0 -15
- package/dist/baloise-design-system/p-e125257826.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e7a78b097d.entry.js +0 -1
- package/dist/baloise-design-system/p-ea29fa4382.entry.js +0 -1
- package/dist/baloise-design-system/p-ec911df779.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ed1aad24be.entry.js +0 -1
- package/dist/baloise-design-system/p-ee070d06bc.entry.js +0 -1
- package/dist/baloise-design-system/p-eeff81381f.entry.js +0 -1
- package/dist/baloise-design-system/p-f12905324e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f217ad88a9.entry.js +0 -1
- package/dist/baloise-design-system/p-f2222919fc.entry.js +0 -1
- package/dist/baloise-design-system/p-f393662ba3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f7b16f08ab.entry.js +0 -1
- package/dist/baloise-design-system/p-fc8024a9d7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fc9a46b295.entry.js +0 -1
- package/dist/baloise-design-system/p-fd5d4c0fd7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ff649f9b8a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-giOY60zQ.system.js +0 -1
- package/dist/baloise-design-system/p-hcWLO6Gg.js +0 -1
- package/dist/baloise-design-system/p-j851_ZaC.js +0 -1
- package/dist/baloise-design-system/p-j8ENYrr7.js +0 -1
- package/dist/baloise-design-system/p-jQQqRgMt.system.js +0 -1
- package/dist/baloise-design-system/p-jv0tWyso.js +0 -1
- package/dist/baloise-design-system/p-lFDHYLJ4.system.js +0 -1
- package/dist/baloise-design-system/p-m5GX4h3i.system.js +0 -1
- package/dist/baloise-design-system/p-ncoiCFQ1.system.js +0 -1
- package/dist/baloise-design-system/p-rBUN7c88.js +0 -1
- package/dist/baloise-design-system/p-wTePExHL.system.js +0 -1
- package/dist/baloise-design-system/p-xVPGsAdF.js +0 -1
- package/dist/baloise-design-system/p-xbSOW78W.js +0 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
- package/dist/cjs/animation.decorator-B4NJvcMF.js +0 -77
- package/dist/cjs/app-globals-D4xKyILL.js +0 -11
- package/dist/cjs/aria-BzkqcV7W.js +0 -10
- package/dist/cjs/array-Db63Hhl1.js +0 -22
- package/dist/cjs/attributes-Cp0kpySW.js +0 -41
- package/dist/cjs/bal-accordion_4.cjs.entry.js +0 -761
- package/dist/cjs/bal-app.cjs.entry.js +0 -86
- package/dist/cjs/bal-badge.cjs.entry.js +0 -38
- package/dist/cjs/bal-button_2.cjs.entry.js +0 -291
- package/dist/cjs/bal-card_6.cjs.entry.js +0 -165
- package/dist/cjs/bal-carousel_2.cjs.entry.js +0 -395
- package/dist/cjs/bal-check.cjs.entry.js +0 -55
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +0 -734
- package/dist/cjs/bal-close.cjs.entry.js +0 -53
- package/dist/cjs/bal-close.i18n-B3X5xlkl.js +0 -36
- package/dist/cjs/bal-content.cjs.entry.js +0 -76
- package/dist/cjs/bal-data_4.cjs.entry.js +0 -123
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +0 -41
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +0 -1501
- package/dist/cjs/bal-date.cjs.entry.js +0 -378
- package/dist/cjs/bal-divider.cjs.entry.js +0 -60
- package/dist/cjs/bal-dropdown_3.cjs.entry.js +0 -1374
- package/dist/cjs/bal-field_5.cjs.entry.js +0 -436
- package/dist/cjs/bal-file-upload.cjs.entry.js +0 -406
- package/dist/cjs/bal-file-upload.type-BzNkF3YQ.js +0 -10
- package/dist/cjs/bal-footer.cjs.entry.js +0 -200
- package/dist/cjs/bal-form-col_2.cjs.entry.js +0 -40
- package/dist/cjs/bal-form.cjs.entry.js +0 -49
- package/dist/cjs/bal-heading_2.cjs.entry.js +0 -284
- package/dist/cjs/bal-hint_5.cjs.entry.js +0 -2380
- package/dist/cjs/bal-icon.cjs.entry.js +0 -1123
- package/dist/cjs/bal-input-group.cjs.entry.js +0 -36
- package/dist/cjs/bal-input-slider.cjs.entry.js +0 -217
- package/dist/cjs/bal-input-stepper.cjs.entry.js +0 -1224
- package/dist/cjs/bal-input-stepper.i18n-D57DHpYR.js +0 -46
- package/dist/cjs/bal-input.cjs.entry.js +0 -587
- package/dist/cjs/bal-label.cjs.entry.js +0 -146
- package/dist/cjs/bal-label.i18n-BcNNm9Es.js +0 -36
- package/dist/cjs/bal-list_8.cjs.entry.js +0 -698
- package/dist/cjs/bal-logo.animation-B4LvXc5Q.js +0 -2602
- package/dist/cjs/bal-logo.cjs.entry.js +0 -179
- package/dist/cjs/bal-modal_3.cjs.entry.js +0 -317
- package/dist/cjs/bal-nav_8.cjs.entry.js +0 -1227
- package/dist/cjs/bal-navbar_5.cjs.entry.js +0 -312
- package/dist/cjs/bal-notices_3.cjs.entry.js +0 -203
- package/dist/cjs/bal-notification.cjs.entry.js +0 -33
- package/dist/cjs/bal-number-input.cjs.entry.js +0 -417
- package/dist/cjs/bal-pagination.cjs.entry.js +0 -298
- package/dist/cjs/bal-popup.cjs.entry.js +0 -664
- package/dist/cjs/bal-progress-bar.cjs.entry.js +0 -105
- package/dist/cjs/bal-radio-icon.cjs.entry.js +0 -55
- package/dist/cjs/bal-radio_2.cjs.entry.js +0 -733
- package/dist/cjs/bal-segment_2.cjs.entry.js +0 -590
- package/dist/cjs/bal-select_2.cjs.entry.js +0 -855
- package/dist/cjs/bal-shape.cjs.entry.js +0 -70
- package/dist/cjs/bal-sheet.cjs.entry.js +0 -26
- package/dist/cjs/bal-spinner.animation-BL6PkxOx.js +0 -4545
- package/dist/cjs/bal-spinner.cjs.entry.js +0 -186
- package/dist/cjs/bal-stack.cjs.entry.js +0 -99
- package/dist/cjs/bal-stage_6.cjs.entry.js +0 -149
- package/dist/cjs/bal-step-item.cjs.entry.js +0 -96
- package/dist/cjs/bal-step.util-DQcaqybX.js +0 -7
- package/dist/cjs/bal-steps.cjs.entry.js +0 -271
- package/dist/cjs/bal-switch.cjs.entry.js +0 -50
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +0 -988
- package/dist/cjs/bal-tab.util-DFGwGbfr.js +0 -7
- package/dist/cjs/bal-table.cjs.entry.js +0 -26
- package/dist/cjs/bal-tag_2.cjs.entry.js +0 -85
- package/dist/cjs/bal-textarea.cjs.entry.js +0 -162
- package/dist/cjs/bal-time-input.cjs.entry.js +0 -196
- package/dist/cjs/bal-time-input.i18n-Bfr3EMVD.js +0 -46
- package/dist/cjs/bal-tooltip.cjs.entry.js +0 -279
- package/dist/cjs/baloise-design-system.cjs.js +0 -31
- package/dist/cjs/bem-p0PWVN8n.js +0 -12
- package/dist/cjs/breakpoints.decorator-DIeNdkiK.js +0 -19
- package/dist/cjs/breakpoints.subject-YppJaklV.js +0 -257
- package/dist/cjs/browser-BwmkTmm8.js +0 -64
- package/dist/cjs/config.decorator-CUe4yCTd.js +0 -19
- package/dist/cjs/config.default-Cko-wpRU.js +0 -51
- package/dist/cjs/config.utils-Civnz2jT.js +0 -142
- package/dist/cjs/contact-qHJM5IBh.js +0 -1644
- package/dist/cjs/date-BPyuc34s.js +0 -7907
- package/dist/cjs/device-CoogBamh.js +0 -54
- package/dist/cjs/element-states.decorator-BG2oNUsO.js +0 -98
- package/dist/cjs/floating-ui-BE1Qsw-b.js +0 -28
- package/dist/cjs/floating-ui.dom-DCg2YBDr.js +0 -2115
- package/dist/cjs/focus-visible-DFZa8IIA.js +0 -74
- package/dist/cjs/focus.decorator-BL2kLsNv.js +0 -88
- package/dist/cjs/form-BSlIiqcR.js +0 -24
- package/dist/cjs/form-input-BwFB4Rej.js +0 -100
- package/dist/cjs/helpers-HuaiWXrB.js +0 -331
- package/dist/cjs/index-BZ67Dcnb.js +0 -50
- package/dist/cjs/index-BobQkZjn.js +0 -1868
- package/dist/cjs/index-C413E-IK.js +0 -571
- package/dist/cjs/index-CuY5w2n4.js +0 -602
- package/dist/cjs/index-feA4skrY.js +0 -2024
- package/dist/cjs/index-ifu9fMyU.js +0 -127
- package/dist/cjs/index.esm-CKDqUwIC.js +0 -216
- package/dist/cjs/initialize-BzrcZo6Y.js +0 -457
- package/dist/cjs/keyboard.helpers-BkZpVT-9.js +0 -80
- package/dist/cjs/keys.constant-LnwxHAZo.js +0 -23
- package/dist/cjs/listener-DspXpqzY.js +0 -89
- package/dist/cjs/log-CXDMiw7o.js +0 -80
- package/dist/cjs/lottie_light_html-OP40Exqq.js +0 -11704
- package/dist/cjs/mask-util-B8hrxmqO.js +0 -5
- package/dist/cjs/mutation.decorator-BolUYaKD.js +0 -126
- package/dist/cjs/number-Zs70JOU-.js +0 -39
- package/dist/cjs/option-kGk4eTdA.js +0 -53
- package/dist/cjs/overlays-DQGlu5jj.js +0 -371
- package/dist/cjs/resize.decorator-ChuFQ8x3.js +0 -96
- package/dist/cjs/scroll-B_kvfDui.js +0 -86
- package/dist/cjs/string-CKS6CsMi.js +0 -453
- package/dist/cjs/svg-qEvvK3mS.js +0 -1607
- package/dist/cjs/swipe.decorator-C_jX7Il5.js +0 -25
- package/dist/cjs/swipe.subject-iyL-XVHG.js +0 -77
- package/dist/cjs/tokens.esm-CGjXTIYw.js +0 -36
- package/dist/cjs/tslib.es6-DrfCPgT9.js +0 -32
- package/dist/cjs/utils-Bl0u6rg1.js +0 -87
- package/dist/cjs/visibility.decorator-DTARY-5M.js +0 -90
- package/dist/cjs/window-resize.decorator-CnkxxD9I.js +0 -48
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +0 -167
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +0 -200
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +0 -485
- package/dist/collection/components/bal-accordion/bal-accordion.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion.i18n.js +0 -42
- package/dist/collection/components/bal-accordion/bal-accordion.interfaces.js +0 -4
- package/dist/collection/components/bal-accordion/bal-accordion.js +0 -691
- package/dist/collection/components/bal-accordion/test/bal-accordion.visual.play.js +0 -16
- package/dist/collection/components/bal-app/bal-app.css +0 -1
- package/dist/collection/components/bal-app/bal-app.interfaces.js +0 -4
- package/dist/collection/components/bal-app/bal-app.js +0 -181
- package/dist/collection/components/bal-badge/bal-badge.css +0 -1
- package/dist/collection/components/bal-badge/bal-badge.interfaces.js +0 -4
- package/dist/collection/components/bal-badge/bal-badge.js +0 -138
- package/dist/collection/components/bal-badge/test/bal-badge.visual.play.js +0 -13
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +0 -103
- package/dist/collection/components/bal-button/bal-button.css +0 -1
- package/dist/collection/components/bal-button/bal-button.interfaces.js +0 -4
- package/dist/collection/components/bal-button/bal-button.js +0 -954
- package/dist/collection/components/bal-button/test/bal-button.visual.play.js +0 -32
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +0 -42
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +0 -206
- package/dist/collection/components/bal-card/bal-card-content/bal-card-content.js +0 -7
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +0 -92
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +0 -37
- package/dist/collection/components/bal-card/bal-card.css +0 -1
- package/dist/collection/components/bal-card/bal-card.interfaces.js +0 -4
- package/dist/collection/components/bal-card/bal-card.js +0 -263
- package/dist/collection/components/bal-card/test/bal-card.visual.play.js +0 -13
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +0 -470
- package/dist/collection/components/bal-carousel/bal-carousel.css +0 -1
- package/dist/collection/components/bal-carousel/bal-carousel.interfaces.js +0 -4
- package/dist/collection/components/bal-carousel/bal-carousel.js +0 -688
- package/dist/collection/components/bal-carousel/controls/tab-control.js +0 -14
- package/dist/collection/components/bal-carousel/test/bal-carousel.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +0 -187
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +0 -880
- package/dist/collection/components/bal-checkbox/bal-checkbox.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.interfaces.js +0 -4
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +0 -1028
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +0 -162
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-icons.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/test/bal-checkbox.visual.play.js +0 -30
- package/dist/collection/components/bal-checkbox/utils/bal-checkbox.util.js +0 -3
- package/dist/collection/components/bal-close/bal-close.css +0 -1
- package/dist/collection/components/bal-close/bal-close.i18n.js +0 -32
- package/dist/collection/components/bal-close/bal-close.interfaces.js +0 -4
- package/dist/collection/components/bal-close/bal-close.js +0 -139
- package/dist/collection/components/bal-close/test/bal-close.visual.play.js +0 -13
- package/dist/collection/components/bal-content/bal-content.css +0 -1
- package/dist/collection/components/bal-content/bal-content.interfaces.js +0 -4
- package/dist/collection/components/bal-content/bal-content.js +0 -212
- package/dist/collection/components/bal-content/test/bal-content.visual.play.js +0 -13
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +0 -63
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +0 -38
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +0 -162
- package/dist/collection/components/bal-data/bal-data.css +0 -1
- package/dist/collection/components/bal-data/bal-data.interfaces.js +0 -4
- package/dist/collection/components/bal-data/bal-data.js +0 -97
- package/dist/collection/components/bal-data/test/bal-data.visual.play.js +0 -13
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +0 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.interfaces.js +0 -4
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +0 -505
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.js +0 -8
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.js +0 -14
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.js +0 -13
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +0 -214
- package/dist/collection/components/bal-date/bal-date.css +0 -1
- package/dist/collection/components/bal-date/bal-date.i18n.js +0 -62
- package/dist/collection/components/bal-date/bal-date.interfaces.js +0 -4
- package/dist/collection/components/bal-date/bal-date.js +0 -1142
- package/dist/collection/components/bal-date/test/bal-date.visual.play.js +0 -24
- package/dist/collection/components/bal-date/utils/calendar.js +0 -154
- package/dist/collection/components/bal-divider/bal-divider.css +0 -1
- package/dist/collection/components/bal-divider/bal-divider.interfaces.js +0 -4
- package/dist/collection/components/bal-divider/bal-divider.js +0 -165
- package/dist/collection/components/bal-divider/test/bal-divider.visual.play.js +0 -13
- package/dist/collection/components/bal-dropdown/bal-dropdown.css +0 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.interfaces.js +0 -4
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +0 -1078
- package/dist/collection/components/bal-dropdown/test/bal-dropdown.visual.play.js +0 -85
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +0 -137
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +0 -130
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.i18n.js +0 -32
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +0 -246
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +0 -215
- package/dist/collection/components/bal-field/bal-field.css +0 -1
- package/dist/collection/components/bal-field/bal-field.interfaces.js +0 -4
- package/dist/collection/components/bal-field/bal-field.js +0 -405
- package/dist/collection/components/bal-field/test/bal-field-horizontal.visual.play.js +0 -13
- package/dist/collection/components/bal-field/test/bal-field.visual.play.js +0 -26
- package/dist/collection/components/bal-file-upload/bal-file-upload.css +0 -1
- package/dist/collection/components/bal-file-upload/bal-file-upload.interfaces.js +0 -15
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +0 -865
- package/dist/collection/components/bal-file-upload/bal-file-upload.type.js +0 -8
- package/dist/collection/components/bal-file-upload/components/file-list.js +0 -9
- package/dist/collection/components/bal-file-upload/test/bal-file-upload.visual.play.js +0 -13
- package/dist/collection/components/bal-file-upload/test/file.mock.js +0 -16
- package/dist/collection/components/bal-file-upload/utils/file-list.util.js +0 -17
- package/dist/collection/components/bal-file-upload/utils/file-validation.util.js +0 -46
- package/dist/collection/components/bal-footer/bal-footer.css +0 -1
- package/dist/collection/components/bal-footer/bal-footer.i18n.js +0 -32
- package/dist/collection/components/bal-footer/bal-footer.js +0 -336
- package/dist/collection/components/bal-footer/test/bal-footer.visual.play.js +0 -42
- package/dist/collection/components/bal-form/bal-form.css +0 -1
- package/dist/collection/components/bal-form/bal-form.js +0 -134
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +0 -51
- package/dist/collection/components/bal-form-grid/bal-form-gird.interfaces.js +0 -4
- package/dist/collection/components/bal-form-grid/bal-form-grid.css +0 -1
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +0 -17
- package/dist/collection/components/bal-form-grid/test/bal-form-grid.visual.play.js +0 -13
- package/dist/collection/components/bal-heading/bal-heading.const.js +0 -57
- package/dist/collection/components/bal-heading/bal-heading.css +0 -1
- package/dist/collection/components/bal-heading/bal-heading.interfaces.js +0 -4
- package/dist/collection/components/bal-heading/bal-heading.js +0 -335
- package/dist/collection/components/bal-heading/test/bal-heading.visual.play.js +0 -24
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +0 -12
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +0 -12
- package/dist/collection/components/bal-hint/bal-hint.css +0 -1
- package/dist/collection/components/bal-hint/bal-hint.js +0 -287
- package/dist/collection/components/bal-hint/test/bal-hint.visual.play.js +0 -15
- package/dist/collection/components/bal-icon/bal-icon.css +0 -1
- package/dist/collection/components/bal-icon/bal-icon.interfaces.js +0 -4
- package/dist/collection/components/bal-icon/bal-icon.js +0 -600
- package/dist/collection/components/bal-icon/test/bal-icon.visual.play.js +0 -13
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.css +0 -1
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +0 -720
- package/dist/collection/components/bal-input/bal-input-util.js +0 -155
- package/dist/collection/components/bal-input/bal-input.css +0 -1
- package/dist/collection/components/bal-input/bal-input.interfaces.js +0 -4
- package/dist/collection/components/bal-input/bal-input.js +0 -1245
- package/dist/collection/components/bal-input/test/bal-input.visual.play.js +0 -13
- package/dist/collection/components/bal-input-group/bal-input-group.css +0 -1
- package/dist/collection/components/bal-input-group/bal-input-group.js +0 -102
- package/dist/collection/components/bal-input-group/test/bal-input-group.visual.play.js +0 -26
- package/dist/collection/components/bal-input-slider/bal-input-slider.css +0 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.interfaces.js +0 -4
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +0 -674
- package/dist/collection/components/bal-input-slider/test/bal-input-slider.visual.play.js +0 -13
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +0 -1
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.i18n.js +0 -42
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.interfaces.js +0 -4
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +0 -629
- package/dist/collection/components/bal-input-stepper/test/bal-input-stepper.visual.play.js +0 -13
- package/dist/collection/components/bal-label/bal-label.css +0 -1
- package/dist/collection/components/bal-label/bal-label.i18n.js +0 -32
- package/dist/collection/components/bal-label/bal-label.interfaces.js +0 -4
- package/dist/collection/components/bal-label/bal-label.js +0 -494
- package/dist/collection/components/bal-label/test/bal-label.visual.play.js +0 -13
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +0 -654
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +0 -238
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.js +0 -42
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +0 -266
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +0 -33
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +0 -40
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +0 -7
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +0 -66
- package/dist/collection/components/bal-list/bal-list.css +0 -1
- package/dist/collection/components/bal-list/bal-list.interfaces.js +0 -4
- package/dist/collection/components/bal-list/bal-list.js +0 -173
- package/dist/collection/components/bal-list/test/bal-list.visual.play.js +0 -13
- package/dist/collection/components/bal-logo/bal-logo.animation.js +0 -11
- package/dist/collection/components/bal-logo/bal-logo.css +0 -1
- package/dist/collection/components/bal-logo/bal-logo.data.js +0 -2585
- package/dist/collection/components/bal-logo/bal-logo.interfaces.js +0 -4
- package/dist/collection/components/bal-logo/bal-logo.js +0 -284
- package/dist/collection/components/bal-logo/test/bal-logo.visual.play.js +0 -13
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +0 -7
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +0 -19
- package/dist/collection/components/bal-modal/bal-modal.controller.js +0 -47
- package/dist/collection/components/bal-modal/bal-modal.css +0 -1
- package/dist/collection/components/bal-modal/bal-modal.interfaces.js +0 -4
- package/dist/collection/components/bal-modal/bal-modal.js +0 -778
- package/dist/collection/components/bal-modal/test/bal-modal.visual.play.js +0 -13
- package/dist/collection/components/bal-nav/bal-nav-focus.util.js +0 -87
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +0 -200
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +0 -34
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +0 -74
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +0 -74
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +0 -119
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +0 -154
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +0 -239
- package/dist/collection/components/bal-nav/bal-nav.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav.i18n.js +0 -72
- package/dist/collection/components/bal-nav/bal-nav.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav.js +0 -571
- package/dist/collection/components/bal-nav/components/accordion-button.js +0 -6
- package/dist/collection/components/bal-nav/components/overview-link.js +0 -12
- package/dist/collection/components/bal-nav/components/section-list.js +0 -15
- package/dist/collection/components/bal-nav/components/service-list.js +0 -15
- package/dist/collection/components/bal-nav/models/bal-nav-link-item.js +0 -55
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +0 -49
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +0 -78
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +0 -38
- package/dist/collection/components/bal-nav/models/bal-nav-section-link-item.js +0 -28
- package/dist/collection/components/bal-nav/models/bal-nav-service-link-item.js +0 -26
- package/dist/collection/components/bal-nav/test/bal-nav-colors.visual.play.js +0 -9
- package/dist/collection/components/bal-nav/test/bal-nav-long.visual.play.js +0 -9
- package/dist/collection/components/bal-nav/test/bal-nav.visual.play.js +0 -9
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.js +0 -32
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +0 -467
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +0 -117
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +0 -50
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +0 -50
- package/dist/collection/components/bal-navbar/bal-navbar.css +0 -1
- package/dist/collection/components/bal-navbar/bal-navbar.interfaces.js +0 -4
- package/dist/collection/components/bal-navbar/bal-navbar.js +0 -161
- package/dist/collection/components/bal-navbar/test/bal-navbar.visual.play.js +0 -20
- package/dist/collection/components/bal-notices/bal-notices.css +0 -1
- package/dist/collection/components/bal-notices/bal-notices.js +0 -108
- package/dist/collection/components/bal-notification/bal-notification.css +0 -1
- package/dist/collection/components/bal-notification/bal-notification.interfaces.js +0 -4
- package/dist/collection/components/bal-notification/bal-notification.js +0 -104
- package/dist/collection/components/bal-notification/test/bal-notification.visual.play.js +0 -13
- package/dist/collection/components/bal-number-input/bal-number-input.css +0 -1
- package/dist/collection/components/bal-number-input/bal-number-input.interfaces.js +0 -4
- package/dist/collection/components/bal-number-input/bal-number-input.js +0 -881
- package/dist/collection/components/bal-number-input/bal-number-input.utils.js +0 -106
- package/dist/collection/components/bal-number-input/test/bal-number-input.visual.play.js +0 -13
- package/dist/collection/components/bal-option/bal-option.css +0 -1
- package/dist/collection/components/bal-option/bal-option.interfaces.js +0 -4
- package/dist/collection/components/bal-option/bal-option.js +0 -404
- package/dist/collection/components/bal-option/test/bal-option.visual.play.js +0 -13
- package/dist/collection/components/bal-option-list/bal-option-list.css +0 -1
- package/dist/collection/components/bal-option-list/bal-option-list.interfaces.js +0 -4
- package/dist/collection/components/bal-option-list/bal-option-list.js +0 -1016
- package/dist/collection/components/bal-option-list/test/bal-option-list.visual.play.js +0 -13
- package/dist/collection/components/bal-pagination/bal-pagination.css +0 -1
- package/dist/collection/components/bal-pagination/bal-pagination.i18n.js +0 -42
- package/dist/collection/components/bal-pagination/bal-pagination.interfaces.js +0 -4
- package/dist/collection/components/bal-pagination/bal-pagination.js +0 -472
- package/dist/collection/components/bal-pagination/bal-pagination.util.js +0 -77
- package/dist/collection/components/bal-pagination/test/bal-pagination.visual.play.js +0 -13
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +0 -292
- package/dist/collection/components/bal-popover/bal-popover.css +0 -1
- package/dist/collection/components/bal-popover/bal-popover.interfaces.js +0 -4
- package/dist/collection/components/bal-popover/bal-popover.js +0 -769
- package/dist/collection/components/bal-popover/test/bal-popover.visual.play.js +0 -13
- package/dist/collection/components/bal-popup/bal-popup.css +0 -1
- package/dist/collection/components/bal-popup/bal-popup.interfaces.js +0 -4
- package/dist/collection/components/bal-popup/bal-popup.js +0 -882
- package/dist/collection/components/bal-popup/test/bal-popup.visual.play.js +0 -13
- package/dist/collection/components/bal-popup/variants/abstract-variant.renderer.js +0 -49
- package/dist/collection/components/bal-popup/variants/drawer-variant.renderer.js +0 -36
- package/dist/collection/components/bal-popup/variants/fullscreen-variant.renderer.js +0 -41
- package/dist/collection/components/bal-popup/variants/index.js +0 -4
- package/dist/collection/components/bal-popup/variants/popover-variant.renderer.js +0 -136
- package/dist/collection/components/bal-popup/variants/variant.renderer.js +0 -31
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.css +0 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +0 -205
- package/dist/collection/components/bal-progress-bar/test/bal-progress-bar.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +0 -895
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +0 -187
- package/dist/collection/components/bal-radio/bal-radio.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio.interfaces.js +0 -4
- package/dist/collection/components/bal-radio/bal-radio.js +0 -994
- package/dist/collection/components/bal-radio/test/bal-radio-icons.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/test/bal-radio-tiles.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/test/bal-radio.visual.play.js +0 -25
- package/dist/collection/components/bal-radio/test/car.svg +0 -15
- package/dist/collection/components/bal-radio/utils/bal-radio.util.js +0 -3
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +0 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +0 -395
- package/dist/collection/components/bal-segment/bal-segment.css +0 -1
- package/dist/collection/components/bal-segment/bal-segment.interfaces.js +0 -4
- package/dist/collection/components/bal-segment/bal-segment.js +0 -720
- package/dist/collection/components/bal-segment/test/bal-segment.visual.play.js +0 -13
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +0 -115
- package/dist/collection/components/bal-select/bal-select.css +0 -1
- package/dist/collection/components/bal-select/bal-select.interfaces.js +0 -4
- package/dist/collection/components/bal-select/bal-select.js +0 -1568
- package/dist/collection/components/bal-select/test/bal-select-multiple.visual.play.js +0 -28
- package/dist/collection/components/bal-select/test/bal-select.visual.play.js +0 -28
- package/dist/collection/components/bal-select/utils/bal-option.util.js +0 -11
- package/dist/collection/components/bal-select/utils/utils.js +0 -73
- package/dist/collection/components/bal-select/utils/watch-options.js +0 -19
- package/dist/collection/components/bal-shape/bal-shape.css +0 -1
- package/dist/collection/components/bal-shape/bal-shape.interfaces.js +0 -4
- package/dist/collection/components/bal-shape/bal-shape.js +0 -151
- package/dist/collection/components/bal-shape/test/bal-shape.visual.play.js +0 -13
- package/dist/collection/components/bal-sheet/bal-sheet.css +0 -1
- package/dist/collection/components/bal-sheet/bal-sheet.interfaces.js +0 -4
- package/dist/collection/components/bal-sheet/bal-sheet.js +0 -57
- package/dist/collection/components/bal-sheet/test/bal-sheet.visual.play.js +0 -12
- package/dist/collection/components/bal-snackbar/bal-snackbar.controller.js +0 -12
- package/dist/collection/components/bal-snackbar/bal-snackbar.css +0 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.interfaces.js +0 -4
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +0 -413
- package/dist/collection/components/bal-snackbar/test/bal-snackbar.visual.play.js +0 -13
- package/dist/collection/components/bal-spinner/bal-spinner.animation.js +0 -12
- package/dist/collection/components/bal-spinner/bal-spinner.css +0 -1
- package/dist/collection/components/bal-spinner/bal-spinner.data.js +0 -2585
- package/dist/collection/components/bal-spinner/bal-spinner.interfaces.js +0 -4
- package/dist/collection/components/bal-spinner/bal-spinner.js +0 -309
- package/dist/collection/components/bal-stack/bal-stack.css +0 -1
- package/dist/collection/components/bal-stack/bal-stack.interfaces.js +0 -4
- package/dist/collection/components/bal-stack/bal-stack.js +0 -373
- package/dist/collection/components/bal-stack/test/bal-stack.visual.play.js +0 -13
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +0 -105
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +0 -10
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +0 -8
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +0 -8
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +0 -72
- package/dist/collection/components/bal-stage/bal-stage.css +0 -1
- package/dist/collection/components/bal-stage/bal-stage.interfaces.js +0 -4
- package/dist/collection/components/bal-stage/bal-stage.js +0 -214
- package/dist/collection/components/bal-stage/test/bal-stage.visual.play.js +0 -11
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +0 -393
- package/dist/collection/components/bal-steps/bal-step.util.js +0 -3
- package/dist/collection/components/bal-steps/bal-steps.css +0 -1
- package/dist/collection/components/bal-steps/bal-steps.interfaces.js +0 -4
- package/dist/collection/components/bal-steps/bal-steps.js +0 -448
- package/dist/collection/components/bal-steps/components/step-button.js +0 -14
- package/dist/collection/components/bal-steps/components/step-icon.js +0 -6
- package/dist/collection/components/bal-steps/components/step-label.js +0 -6
- package/dist/collection/components/bal-steps/test/bal-steps.visual.play.js +0 -13
- package/dist/collection/components/bal-table/bal-table.css +0 -1
- package/dist/collection/components/bal-table/bal-table.js +0 -52
- package/dist/collection/components/bal-table/test/bal-table.visual.play.js +0 -13
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +0 -551
- package/dist/collection/components/bal-tabs/bal-tab.util.js +0 -3
- package/dist/collection/components/bal-tabs/bal-tabs.css +0 -1
- package/dist/collection/components/bal-tabs/bal-tabs.interfaces.js +0 -4
- package/dist/collection/components/bal-tabs/bal-tabs.js +0 -1409
- package/dist/collection/components/bal-tabs/components/tab-button.js +0 -51
- package/dist/collection/components/bal-tabs/components/tab-icon.js +0 -10
- package/dist/collection/components/bal-tabs/components/tab-label.js +0 -6
- package/dist/collection/components/bal-tabs/components/tab-nav.js +0 -27
- package/dist/collection/components/bal-tabs/components/tab-select.js +0 -21
- package/dist/collection/components/bal-tabs/test/bal-tabs.visual.play.js +0 -25
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +0 -7
- package/dist/collection/components/bal-tag/bal-tag.css +0 -1
- package/dist/collection/components/bal-tag/bal-tag.interfaces.js +0 -4
- package/dist/collection/components/bal-tag/bal-tag.js +0 -281
- package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +0 -20
- package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +0 -19
- package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +0 -18
- package/dist/collection/components/bal-text/bal-text.css +0 -1
- package/dist/collection/components/bal-text/bal-text.interfaces.js +0 -4
- package/dist/collection/components/bal-text/bal-text.js +0 -399
- package/dist/collection/components/bal-text/test/bal-text.visual.play.js +0 -13
- package/dist/collection/components/bal-textarea/bal-textarea.css +0 -1
- package/dist/collection/components/bal-textarea/bal-textarea.interfaces.js +0 -4
- package/dist/collection/components/bal-textarea/bal-textarea.js +0 -767
- package/dist/collection/components/bal-textarea/test/bal-textarea.visual.play.js +0 -13
- package/dist/collection/components/bal-time-input/bal-time-input.css +0 -1
- package/dist/collection/components/bal-time-input/bal-time-input.i18n.js +0 -42
- package/dist/collection/components/bal-time-input/bal-time-input.interfaces.js +0 -4
- package/dist/collection/components/bal-time-input/bal-time-input.js +0 -621
- package/dist/collection/components/bal-time-input/bal-time-input.util.js +0 -19
- package/dist/collection/components/bal-time-input/test/bal-time-input.visual.play.js +0 -13
- package/dist/collection/components/bal-toast/bal-toast.controller.js +0 -12
- package/dist/collection/components/bal-toast/bal-toast.css +0 -1
- package/dist/collection/components/bal-toast/bal-toast.interfaces.js +0 -4
- package/dist/collection/components/bal-toast/bal-toast.js +0 -243
- package/dist/collection/components/bal-toast/test/bal-toast.visual.play.js +0 -13
- package/dist/collection/components/bal-tooltip/bal-tooltip.css +0 -1
- package/dist/collection/components/bal-tooltip/bal-tooltip.interfaces.js +0 -4
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +0 -471
- package/dist/collection/components/bal-tooltip/bal-tooltip.util.js +0 -37
- package/dist/collection/components/bal-tooltip/test/bal-tooltip.visual.play.js +0 -15
- package/dist/collection/global.js +0 -4
- package/dist/collection/initialize.js +0 -51
- package/dist/collection/tags-all.js +0 -119
- package/dist/collection/test/css-border.visual.play.js +0 -23
- package/dist/collection/test/css-color.visual.play.js +0 -27
- package/dist/collection/test/css-core.visual.play.js +0 -13
- package/dist/collection/test/css-display.visual.play.js +0 -19
- package/dist/collection/test/css-flex.visual.play.js +0 -21
- package/dist/collection/test/css-grid.visual.play.js +0 -23
- package/dist/collection/test/css-inheritance.visual.play.js +0 -13
- package/dist/collection/test/css-opacity.visual.play.js +0 -13
- package/dist/collection/test/css-radius.visual.play.js +0 -13
- package/dist/collection/test/css-shadow.visual.play.js +0 -13
- package/dist/collection/test/css-spacing.visual.play.js +0 -27
- package/dist/collection/test/css-structure.visual.play.js +0 -13
- package/dist/collection/test/css-typography.visual.play.js +0 -12
- package/dist/collection/test/theme-compact.visual.play.js +0 -13
- package/dist/collection/utils/animation/animation.decorator.js +0 -23
- package/dist/collection/utils/animation/animation.listener.js +0 -30
- package/dist/collection/utils/animation/animation.subject.js +0 -20
- package/dist/collection/utils/animation/index.js +0 -2
- package/dist/collection/utils/bem.js +0 -8
- package/dist/collection/utils/config/config.const.js +0 -1
- package/dist/collection/utils/config/config.decorator.js +0 -14
- package/dist/collection/utils/config/config.default.js +0 -45
- package/dist/collection/utils/config/config.js +0 -143
- package/dist/collection/utils/config/config.utils.js +0 -69
- package/dist/collection/utils/config/index.js +0 -7
- package/dist/collection/utils/config/initialize.js +0 -11
- package/dist/collection/utils/constants/keys.constant.js +0 -17
- package/dist/collection/utils/constants/version.constant.js +0 -2
- package/dist/collection/utils/css-classes.js +0 -15
- package/dist/collection/utils/dropdown/auto-fill.js +0 -38
- package/dist/collection/utils/dropdown/dropdown.i18n.js +0 -52
- package/dist/collection/utils/dropdown/events.js +0 -56
- package/dist/collection/utils/dropdown/filters.js +0 -10
- package/dist/collection/utils/dropdown/focus.js +0 -19
- package/dist/collection/utils/dropdown/form-submit.js +0 -35
- package/dist/collection/utils/dropdown/icon.js +0 -18
- package/dist/collection/utils/dropdown/index.js +0 -12
- package/dist/collection/utils/dropdown/input.js +0 -12
- package/dist/collection/utils/dropdown/option.js +0 -48
- package/dist/collection/utils/dropdown/popup.js +0 -48
- package/dist/collection/utils/dropdown/value.js +0 -108
- package/dist/collection/utils/floating-ui.js +0 -23
- package/dist/collection/utils/focus/focus.decorator.js +0 -20
- package/dist/collection/utils/focus/focus.listener.js +0 -34
- package/dist/collection/utils/focus/focus.subject.js +0 -30
- package/dist/collection/utils/focus/index.js +0 -2
- package/dist/collection/utils/focus-visible.js +0 -70
- package/dist/collection/utils/form-input.js +0 -87
- package/dist/collection/utils/form.js +0 -19
- package/dist/collection/utils/framework-delegate.js +0 -31
- package/dist/collection/utils/legacy.js +0 -32
- package/dist/collection/utils/mask/__test__/mask-component.mock.js +0 -19
- package/dist/collection/utils/mask/__test__/mask-context.mocks.js +0 -6
- package/dist/collection/utils/mask/__test__/mask.mock.js +0 -16
- package/dist/collection/utils/mask/blocks/index.js +0 -3
- package/dist/collection/utils/mask/blocks/mask-block-list.js +0 -85
- package/dist/collection/utils/mask/blocks/mask-block.js +0 -59
- package/dist/collection/utils/mask/component/index.js +0 -2
- package/dist/collection/utils/mask/component/mask-component-adapter.js +0 -124
- package/dist/collection/utils/mask/context/index.js +0 -9
- package/dist/collection/utils/mask/context/mask-clipboard-context.js +0 -7
- package/dist/collection/utils/mask/context/mask-context.js +0 -61
- package/dist/collection/utils/mask/context/mask-focus-context.js +0 -3
- package/dist/collection/utils/mask/context/mask-keyboard-context.js +0 -58
- package/dist/collection/utils/mask/context/mask-locale-context.js +0 -6
- package/dist/collection/utils/mask/context/mask-mouse-context.js +0 -3
- package/dist/collection/utils/mask/context/mask-position.js +0 -65
- package/dist/collection/utils/mask/context/mask-value-changed-context.js +0 -12
- package/dist/collection/utils/mask/index.js +0 -5
- package/dist/collection/utils/mask/mask-util.js +0 -1
- package/dist/collection/utils/mask/mask.js +0 -266
- package/dist/collection/utils/mask/types/index.js +0 -1
- package/dist/collection/utils/mask/types/mask-date.js +0 -129
- package/dist/collection/utils/mutation/index.js +0 -2
- package/dist/collection/utils/mutation/mutation.decorator.js +0 -20
- package/dist/collection/utils/mutation/mutation.listener.js +0 -69
- package/dist/collection/utils/mutation/mutation.subject.js +0 -34
- package/dist/collection/utils/overlays/focus-trap.js +0 -91
- package/dist/collection/utils/overlays/notice.controller.js +0 -100
- package/dist/collection/utils/overlays/overlays.js +0 -272
- package/dist/collection/utils/string.js +0 -10
- package/dist/collection/utils/style.js +0 -35
- package/dist/collection/utils/swiper/controls/dot-control.js +0 -17
- package/dist/collection/utils/swiper/controls/index.js +0 -3
- package/dist/collection/utils/swiper/controls/large-control.js +0 -8
- package/dist/collection/utils/swiper/controls/small-control.js +0 -8
- package/dist/collection/utils/swiper/index.js +0 -1
- package/dist/collection/utils/swiper/swiper.i18n.js +0 -42
- package/dist/collection/utils/swiper/swiper.util.js +0 -330
- package/dist/collection/utils/visibility/index.js +0 -2
- package/dist/collection/utils/visibility/visibility.decorator.js +0 -23
- package/dist/collection/utils/visibility/visibility.listener.js +0 -41
- package/dist/collection/utils/visibility/visibility.subject.js +0 -23
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/animation.decorator-zbSqKhw6.js +0 -75
- package/dist/esm/app-globals-Blx--ecs.js +0 -9
- package/dist/esm/aria-DBsOHTWj.js +0 -8
- package/dist/esm/array-CDfSqLEo.js +0 -20
- package/dist/esm/attributes-C4sZQbkT.js +0 -38
- package/dist/esm/bal-accordion_4.entry.js +0 -756
- package/dist/esm/bal-app.entry.js +0 -84
- package/dist/esm/bal-badge.entry.js +0 -36
- package/dist/esm/bal-button_2.entry.js +0 -288
- package/dist/esm/bal-card_6.entry.js +0 -158
- package/dist/esm/bal-carousel_2.entry.js +0 -392
- package/dist/esm/bal-check.entry.js +0 -53
- package/dist/esm/bal-checkbox_2.entry.js +0 -731
- package/dist/esm/bal-close.entry.js +0 -51
- package/dist/esm/bal-close.i18n-Ct27z6g9.js +0 -34
- package/dist/esm/bal-content.entry.js +0 -74
- package/dist/esm/bal-data_4.entry.js +0 -118
- package/dist/esm/bal-date-calendar-cell.entry.js +0 -39
- package/dist/esm/bal-date-calendar_2.entry.js +0 -1498
- package/dist/esm/bal-date.entry.js +0 -376
- package/dist/esm/bal-divider.entry.js +0 -58
- package/dist/esm/bal-dropdown_3.entry.js +0 -1370
- package/dist/esm/bal-field_5.entry.js +0 -430
- package/dist/esm/bal-file-upload.entry.js +0 -404
- package/dist/esm/bal-file-upload.type-rBUN7c88.js +0 -10
- package/dist/esm/bal-footer.entry.js +0 -198
- package/dist/esm/bal-form-col_2.entry.js +0 -37
- package/dist/esm/bal-form.entry.js +0 -47
- package/dist/esm/bal-heading_2.entry.js +0 -281
- package/dist/esm/bal-hint_5.entry.js +0 -2374
- package/dist/esm/bal-icon.entry.js +0 -1121
- package/dist/esm/bal-input-group.entry.js +0 -34
- package/dist/esm/bal-input-slider.entry.js +0 -215
- package/dist/esm/bal-input-stepper.entry.js +0 -1222
- package/dist/esm/bal-input-stepper.i18n-DEb5iNGc.js +0 -44
- package/dist/esm/bal-input.entry.js +0 -585
- package/dist/esm/bal-label.entry.js +0 -144
- package/dist/esm/bal-label.i18n-JHAE10yr.js +0 -34
- package/dist/esm/bal-list_8.entry.js +0 -689
- package/dist/esm/bal-logo.animation-DQd9HTdg.js +0 -2600
- package/dist/esm/bal-logo.entry.js +0 -177
- package/dist/esm/bal-modal_3.entry.js +0 -313
- package/dist/esm/bal-nav_8.entry.js +0 -1218
- package/dist/esm/bal-navbar_5.entry.js +0 -306
- package/dist/esm/bal-notices_3.entry.js +0 -199
- package/dist/esm/bal-notification.entry.js +0 -31
- package/dist/esm/bal-number-input.entry.js +0 -415
- package/dist/esm/bal-pagination.entry.js +0 -296
- package/dist/esm/bal-popup.entry.js +0 -662
- package/dist/esm/bal-progress-bar.entry.js +0 -103
- package/dist/esm/bal-radio-icon.entry.js +0 -53
- package/dist/esm/bal-radio_2.entry.js +0 -730
- package/dist/esm/bal-segment_2.entry.js +0 -587
- package/dist/esm/bal-select_2.entry.js +0 -852
- package/dist/esm/bal-shape.entry.js +0 -68
- package/dist/esm/bal-sheet.entry.js +0 -24
- package/dist/esm/bal-spinner.animation-Bv2Ow6xu.js +0 -4543
- package/dist/esm/bal-spinner.entry.js +0 -184
- package/dist/esm/bal-stack.entry.js +0 -97
- package/dist/esm/bal-stage_6.entry.js +0 -142
- package/dist/esm/bal-step-item.entry.js +0 -94
- package/dist/esm/bal-step.util-DIC_sxLd.js +0 -5
- package/dist/esm/bal-steps.entry.js +0 -269
- package/dist/esm/bal-switch.entry.js +0 -48
- package/dist/esm/bal-tab-item_2.entry.js +0 -985
- package/dist/esm/bal-tab.util-BmVI6cLw.js +0 -5
- package/dist/esm/bal-table.entry.js +0 -24
- package/dist/esm/bal-tag_2.entry.js +0 -82
- package/dist/esm/bal-textarea.entry.js +0 -160
- package/dist/esm/bal-time-input.entry.js +0 -194
- package/dist/esm/bal-time-input.i18n-B4aDEwd8.js +0 -44
- package/dist/esm/bal-tooltip.entry.js +0 -277
- package/dist/esm/baloise-design-system.js +0 -27
- package/dist/esm/bem-ByiN-QjD.js +0 -10
- package/dist/esm/breakpoints.decorator-CLJL1mrw.js +0 -17
- package/dist/esm/breakpoints.subject-CaVH5CdH.js +0 -251
- package/dist/esm/browser-B1u-Mq75.js +0 -62
- package/dist/esm/config.decorator-3bfyZ-0Y.js +0 -17
- package/dist/esm/config.default-RE8-gLMQ.js +0 -48
- package/dist/esm/config.utils-B7jugjyM.js +0 -102
- package/dist/esm/contact-BkEdlCZJ.js +0 -1633
- package/dist/esm/date-W0XtD641.js +0 -7903
- package/dist/esm/device-TtMibDFL.js +0 -51
- package/dist/esm/element-states.decorator-B68ANq1p.js +0 -95
- package/dist/esm/floating-ui-gZ7E41T8.js +0 -26
- package/dist/esm/floating-ui.dom-Cr2H7Jt3.js +0 -2100
- package/dist/esm/focus-visible-DqCbGYzv.js +0 -71
- package/dist/esm/focus.decorator-C1s3OoqI.js +0 -86
- package/dist/esm/form-FCLKfv6B.js +0 -21
- package/dist/esm/form-input-DYvzaBlM.js +0 -86
- package/dist/esm/helpers-BNj87EbG.js +0 -307
- package/dist/esm/index-B4k_dH6V.js +0 -1866
- package/dist/esm/index-BU7FUSdu.js +0 -569
- package/dist/esm/index-BdVwMG9u.js +0 -2013
- package/dist/esm/index-D6JOtC1P.js +0 -125
- package/dist/esm/index-dYcsHLfj.js +0 -600
- package/dist/esm/index-zWZxKBfo.js +0 -48
- package/dist/esm/index.esm-Btc0yydR.js +0 -210
- package/dist/esm/initialize-W3od-FM9.js +0 -450
- package/dist/esm/keyboard.helpers-BERg8BNc.js +0 -68
- package/dist/esm/keys.constant-xVPGsAdF.js +0 -19
- package/dist/esm/listener-CClDIhvK.js +0 -85
- package/dist/esm/log-CwssmmaV.js +0 -77
- package/dist/esm/lottie_light_html-DuyI5RA6.js +0 -11702
- package/dist/esm/mask-util-DuObDTix.js +0 -3
- package/dist/esm/mutation.decorator-DhVeNnnY.js +0 -124
- package/dist/esm/number-DfnRcL0e.js +0 -34
- package/dist/esm/option-BLp4ll3i.js +0 -50
- package/dist/esm/overlays-DuvWMrlA.js +0 -364
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/resize.decorator-ZKPOJfw5.js +0 -94
- package/dist/esm/scroll-X92R_eyZ.js +0 -84
- package/dist/esm/string-Dk4PnSfl.js +0 -448
- package/dist/esm/svg-DhNz-XmR.js +0 -1605
- package/dist/esm/swipe.decorator-B-pmjyNr.js +0 -23
- package/dist/esm/swipe.subject-BXuaiulg.js +0 -75
- package/dist/esm/tokens.esm-PSBwy3yf.js +0 -21
- package/dist/esm/tslib.es6-dfXERft2.js +0 -29
- package/dist/esm/utils-C_qktPg7.js +0 -76
- package/dist/esm/visibility.decorator-zTjPC2du.js +0 -88
- package/dist/esm/window-resize.decorator-B6C5v87J.js +0 -46
- package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +0 -1
- package/dist/esm-es5/animation.decorator-zbSqKhw6.js +0 -1
- package/dist/esm-es5/app-globals-Blx--ecs.js +0 -1
- package/dist/esm-es5/aria-DBsOHTWj.js +0 -1
- package/dist/esm-es5/array-CDfSqLEo.js +0 -1
- package/dist/esm-es5/attributes-C4sZQbkT.js +0 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +0 -1
- package/dist/esm-es5/bal-app.entry.js +0 -1
- package/dist/esm-es5/bal-badge.entry.js +0 -1
- package/dist/esm-es5/bal-button_2.entry.js +0 -1
- package/dist/esm-es5/bal-card_6.entry.js +0 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +0 -1
- package/dist/esm-es5/bal-check.entry.js +0 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +0 -1
- package/dist/esm-es5/bal-close.entry.js +0 -1
- package/dist/esm-es5/bal-close.i18n-Ct27z6g9.js +0 -1
- package/dist/esm-es5/bal-content.entry.js +0 -1
- package/dist/esm-es5/bal-data_4.entry.js +0 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +0 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +0 -1
- package/dist/esm-es5/bal-date.entry.js +0 -1
- package/dist/esm-es5/bal-divider.entry.js +0 -1
- package/dist/esm-es5/bal-dropdown_3.entry.js +0 -1
- package/dist/esm-es5/bal-field_5.entry.js +0 -1
- package/dist/esm-es5/bal-file-upload.entry.js +0 -1
- package/dist/esm-es5/bal-file-upload.type-rBUN7c88.js +0 -1
- package/dist/esm-es5/bal-footer.entry.js +0 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +0 -1
- package/dist/esm-es5/bal-form.entry.js +0 -1
- package/dist/esm-es5/bal-heading_2.entry.js +0 -1
- package/dist/esm-es5/bal-hint_5.entry.js +0 -1
- package/dist/esm-es5/bal-icon.entry.js +0 -1
- package/dist/esm-es5/bal-input-group.entry.js +0 -1
- package/dist/esm-es5/bal-input-slider.entry.js +0 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +0 -1
- package/dist/esm-es5/bal-input-stepper.i18n-DEb5iNGc.js +0 -1
- package/dist/esm-es5/bal-input.entry.js +0 -1
- package/dist/esm-es5/bal-label.entry.js +0 -1
- package/dist/esm-es5/bal-label.i18n-JHAE10yr.js +0 -1
- package/dist/esm-es5/bal-list_8.entry.js +0 -1
- package/dist/esm-es5/bal-logo.animation-DQd9HTdg.js +0 -1
- package/dist/esm-es5/bal-logo.entry.js +0 -1
- package/dist/esm-es5/bal-modal_3.entry.js +0 -1
- package/dist/esm-es5/bal-nav_8.entry.js +0 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +0 -1
- package/dist/esm-es5/bal-notices_3.entry.js +0 -1
- package/dist/esm-es5/bal-notification.entry.js +0 -1
- package/dist/esm-es5/bal-number-input.entry.js +0 -1
- package/dist/esm-es5/bal-pagination.entry.js +0 -1
- package/dist/esm-es5/bal-popup.entry.js +0 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +0 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +0 -1
- package/dist/esm-es5/bal-radio_2.entry.js +0 -1
- package/dist/esm-es5/bal-segment_2.entry.js +0 -1
- package/dist/esm-es5/bal-select_2.entry.js +0 -1
- package/dist/esm-es5/bal-shape.entry.js +0 -1
- package/dist/esm-es5/bal-sheet.entry.js +0 -1
- package/dist/esm-es5/bal-spinner.animation-Bv2Ow6xu.js +0 -1
- package/dist/esm-es5/bal-spinner.entry.js +0 -1
- package/dist/esm-es5/bal-stack.entry.js +0 -1
- package/dist/esm-es5/bal-stage_6.entry.js +0 -1
- package/dist/esm-es5/bal-step-item.entry.js +0 -1
- package/dist/esm-es5/bal-step.util-DIC_sxLd.js +0 -1
- package/dist/esm-es5/bal-steps.entry.js +0 -1
- package/dist/esm-es5/bal-switch.entry.js +0 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +0 -1
- package/dist/esm-es5/bal-tab.util-BmVI6cLw.js +0 -1
- package/dist/esm-es5/bal-table.entry.js +0 -1
- package/dist/esm-es5/bal-tag_2.entry.js +0 -1
- package/dist/esm-es5/bal-textarea.entry.js +0 -1
- package/dist/esm-es5/bal-time-input.entry.js +0 -1
- package/dist/esm-es5/bal-time-input.i18n-B4aDEwd8.js +0 -1
- package/dist/esm-es5/bal-tooltip.entry.js +0 -1
- package/dist/esm-es5/baloise-design-system.js +0 -1
- package/dist/esm-es5/bem-ByiN-QjD.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-CLJL1mrw.js +0 -1
- package/dist/esm-es5/breakpoints.subject-CaVH5CdH.js +0 -1
- package/dist/esm-es5/browser-B1u-Mq75.js +0 -1
- package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +0 -1
- package/dist/esm-es5/config.default-RE8-gLMQ.js +0 -1
- package/dist/esm-es5/config.utils-B7jugjyM.js +0 -1
- package/dist/esm-es5/contact-BkEdlCZJ.js +0 -1
- package/dist/esm-es5/date-W0XtD641.js +0 -1
- package/dist/esm-es5/device-TtMibDFL.js +0 -1
- package/dist/esm-es5/element-states.decorator-B68ANq1p.js +0 -1
- package/dist/esm-es5/floating-ui-gZ7E41T8.js +0 -1
- package/dist/esm-es5/floating-ui.dom-Cr2H7Jt3.js +0 -1
- package/dist/esm-es5/focus-visible-DqCbGYzv.js +0 -1
- package/dist/esm-es5/focus.decorator-C1s3OoqI.js +0 -1
- package/dist/esm-es5/form-FCLKfv6B.js +0 -1
- package/dist/esm-es5/form-input-DYvzaBlM.js +0 -1
- package/dist/esm-es5/helpers-BNj87EbG.js +0 -1
- package/dist/esm-es5/index-B4k_dH6V.js +0 -1
- package/dist/esm-es5/index-BU7FUSdu.js +0 -1
- package/dist/esm-es5/index-BdVwMG9u.js +0 -2
- package/dist/esm-es5/index-D6JOtC1P.js +0 -1
- package/dist/esm-es5/index-dYcsHLfj.js +0 -1
- package/dist/esm-es5/index-zWZxKBfo.js +0 -1
- package/dist/esm-es5/index.esm-Btc0yydR.js +0 -1
- package/dist/esm-es5/index.js +0 -1
- package/dist/esm-es5/initialize-W3od-FM9.js +0 -1
- package/dist/esm-es5/keyboard.helpers-BERg8BNc.js +0 -1
- package/dist/esm-es5/keys.constant-xVPGsAdF.js +0 -1
- package/dist/esm-es5/listener-CClDIhvK.js +0 -1
- package/dist/esm-es5/loader.js +0 -1
- package/dist/esm-es5/log-CwssmmaV.js +0 -1
- package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +0 -9
- package/dist/esm-es5/mask-util-DuObDTix.js +0 -1
- package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +0 -1
- package/dist/esm-es5/number-DfnRcL0e.js +0 -1
- package/dist/esm-es5/option-BLp4ll3i.js +0 -1
- package/dist/esm-es5/overlays-DuvWMrlA.js +0 -1
- package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +0 -1
- package/dist/esm-es5/scroll-X92R_eyZ.js +0 -1
- package/dist/esm-es5/string-Dk4PnSfl.js +0 -1
- package/dist/esm-es5/svg-DhNz-XmR.js +0 -2
- package/dist/esm-es5/swipe.decorator-B-pmjyNr.js +0 -1
- package/dist/esm-es5/swipe.subject-BXuaiulg.js +0 -1
- package/dist/esm-es5/tokens.esm-PSBwy3yf.js +0 -1
- package/dist/esm-es5/tslib.es6-dfXERft2.js +0 -15
- package/dist/esm-es5/utils-C_qktPg7.js +0 -1
- package/dist/esm-es5/visibility.decorator-zTjPC2du.js +0 -1
- package/dist/esm-es5/window-resize.decorator-B6C5v87J.js +0 -1
- package/dist/html.html-data.json +0 -7860
- package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +0 -48
- package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +0 -54
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +0 -133
- package/dist/types/components/bal-accordion/bal-accordion.d.ts +0 -134
- package/dist/types/components/bal-accordion/bal-accordion.i18n.d.ts +0 -7
- package/dist/types/components/bal-accordion/bal-accordion.interfaces.d.ts +0 -16
- package/dist/types/components/bal-app/bal-app.d.ts +0 -28
- package/dist/types/components/bal-app/bal-app.interfaces.d.ts +0 -6
- package/dist/types/components/bal-badge/bal-badge.d.ts +0 -22
- package/dist/types/components/bal-badge/bal-badge.interfaces.d.ts +0 -5
- package/dist/types/components/bal-button/bal-button-group/bal-button-group.d.ts +0 -17
- package/dist/types/components/bal-button/bal-button.d.ts +0 -158
- package/dist/types/components/bal-button/bal-button.interfaces.d.ts +0 -30
- package/dist/types/components/bal-card/bal-card-actions/bal-card-actions.d.ts +0 -7
- package/dist/types/components/bal-card/bal-card-button/bal-card-button.d.ts +0 -37
- package/dist/types/components/bal-card/bal-card-content/bal-card-content.d.ts +0 -3
- package/dist/types/components/bal-card/bal-card-subtitle/bal-card-subtitle.d.ts +0 -15
- package/dist/types/components/bal-card/bal-card-title/bal-card-title.d.ts +0 -7
- package/dist/types/components/bal-card/bal-card.d.ts +0 -40
- package/dist/types/components/bal-card/bal-card.interfaces.d.ts +0 -7
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +0 -91
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +0 -136
- package/dist/types/components/bal-carousel/bal-carousel.interfaces.d.ts +0 -21
- package/dist/types/components/bal-carousel/controls/tab-control.d.ts +0 -12
- package/dist/types/components/bal-checkbox/bal-check/bal-check.d.ts +0 -36
- package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +0 -154
- package/dist/types/components/bal-checkbox/bal-checkbox.d.ts +0 -193
- package/dist/types/components/bal-checkbox/bal-checkbox.interfaces.d.ts +0 -28
- package/dist/types/components/bal-checkbox/bal-checkbox.type.d.ts +0 -17
- package/dist/types/components/bal-checkbox/bal-switch/bal-switch.d.ts +0 -32
- package/dist/types/components/bal-checkbox/utils/bal-checkbox.util.d.ts +0 -18
- package/dist/types/components/bal-close/bal-close.d.ts +0 -21
- package/dist/types/components/bal-close/bal-close.i18n.d.ts +0 -6
- package/dist/types/components/bal-close/bal-close.interfaces.d.ts +0 -3
- package/dist/types/components/bal-content/bal-content.d.ts +0 -39
- package/dist/types/components/bal-content/bal-content.interfaces.d.ts +0 -6
- package/dist/types/components/bal-data/bal-data-item/bal-data-item.d.ts +0 -11
- package/dist/types/components/bal-data/bal-data-label/bal-data-label.d.ts +0 -7
- package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +0 -31
- package/dist/types/components/bal-data/bal-data.d.ts +0 -17
- package/dist/types/components/bal-data/bal-data.interfaces.d.ts +0 -12
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +0 -121
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.interfaces.d.ts +0 -17
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.d.ts +0 -12
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.d.ts +0 -11
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.d.ts +0 -14
- package/dist/types/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.d.ts +0 -29
- package/dist/types/components/bal-date/bal-date.d.ts +0 -228
- package/dist/types/components/bal-date/bal-date.i18n.d.ts +0 -8
- package/dist/types/components/bal-date/bal-date.interfaces.d.ts +0 -25
- package/dist/types/components/bal-date/utils/calendar.d.ts +0 -38
- package/dist/types/components/bal-divider/bal-divider.d.ts +0 -32
- package/dist/types/components/bal-divider/bal-divider.interfaces.d.ts +0 -6
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +0 -203
- package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +0 -16
- package/dist/types/components/bal-field/bal-field-control/bal-field-control.d.ts +0 -23
- package/dist/types/components/bal-field/bal-field-hint/bal-field-hint.d.ts +0 -22
- package/dist/types/components/bal-field/bal-field-label/bal-field-label.d.ts +0 -55
- package/dist/types/components/bal-field/bal-field-label/bal-field-label.i18n.d.ts +0 -6
- package/dist/types/components/bal-field/bal-field-message/bal-field-message.d.ts +0 -33
- package/dist/types/components/bal-field/bal-field.d.ts +0 -63
- package/dist/types/components/bal-field/bal-field.interfaces.d.ts +0 -13
- package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +0 -181
- package/dist/types/components/bal-file-upload/bal-file-upload.interfaces.d.ts +0 -31
- package/dist/types/components/bal-file-upload/bal-file-upload.type.d.ts +0 -11
- package/dist/types/components/bal-file-upload/components/file-list.d.ts +0 -8
- package/dist/types/components/bal-file-upload/test/file.mock.d.ts +0 -1
- package/dist/types/components/bal-file-upload/utils/file-list.util.d.ts +0 -9
- package/dist/types/components/bal-file-upload/utils/file-validation.util.d.ts +0 -13
- package/dist/types/components/bal-footer/bal-footer.d.ts +0 -67
- package/dist/types/components/bal-footer/bal-footer.i18n.d.ts +0 -5
- package/dist/types/components/bal-form/bal-form.d.ts +0 -22
- package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +0 -8
- package/dist/types/components/bal-form-grid/bal-form-gird.interfaces.d.ts +0 -3
- package/dist/types/components/bal-form-grid/bal-form-grid.d.ts +0 -4
- package/dist/types/components/bal-heading/bal-heading.const.d.ts +0 -13
- package/dist/types/components/bal-heading/bal-heading.d.ts +0 -75
- package/dist/types/components/bal-heading/bal-heading.interfaces.d.ts +0 -5
- package/dist/types/components/bal-hint/bal-hint-text/bal-hint-text.d.ts +0 -3
- package/dist/types/components/bal-hint/bal-hint-title/bal-hint-title.d.ts +0 -3
- package/dist/types/components/bal-hint/bal-hint.d.ts +0 -45
- package/dist/types/components/bal-icon/bal-icon.d.ts +0 -96
- package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +0 -5
- package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +0 -156
- package/dist/types/components/bal-input/bal-input-util.d.ts +0 -49
- package/dist/types/components/bal-input/bal-input.d.ts +0 -200
- package/dist/types/components/bal-input/bal-input.interfaces.d.ts +0 -37
- package/dist/types/components/bal-input-group/bal-input-group.d.ts +0 -18
- package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +0 -116
- package/dist/types/components/bal-input-slider/bal-input-slider.interfaces.d.ts +0 -16
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +0 -111
- package/dist/types/components/bal-input-stepper/bal-input-stepper.i18n.d.ts +0 -7
- package/dist/types/components/bal-input-stepper/bal-input-stepper.interfaces.d.ts +0 -18
- package/dist/types/components/bal-label/bal-label.d.ts +0 -97
- package/dist/types/components/bal-label/bal-label.i18n.d.ts +0 -6
- package/dist/types/components/bal-label/bal-label.interfaces.d.ts +0 -4
- package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +0 -132
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +0 -67
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +0 -70
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.d.ts +0 -7
- package/dist/types/components/bal-list/bal-list-item-content/bal-list-item-content.d.ts +0 -4
- package/dist/types/components/bal-list/bal-list-item-icon/bal-list-item-icon.d.ts +0 -7
- package/dist/types/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.d.ts +0 -3
- package/dist/types/components/bal-list/bal-list-item-title/bal-list-item-title.d.ts +0 -13
- package/dist/types/components/bal-list/bal-list.d.ts +0 -27
- package/dist/types/components/bal-list/bal-list.interfaces.d.ts +0 -28
- package/dist/types/components/bal-logo/bal-logo.animation.d.ts +0 -2
- package/dist/types/components/bal-logo/bal-logo.d.ts +0 -65
- package/dist/types/components/bal-logo/bal-logo.data.d.ts +0 -1756
- package/dist/types/components/bal-logo/bal-logo.interfaces.d.ts +0 -5
- package/dist/types/components/bal-modal/bal-modal-body/bal-modal-body.d.ts +0 -3
- package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +0 -7
- package/dist/types/components/bal-modal/bal-modal.controller.d.ts +0 -10
- package/dist/types/components/bal-modal/bal-modal.d.ts +0 -125
- package/dist/types/components/bal-modal/bal-modal.interfaces.d.ts +0 -30
- package/dist/types/components/bal-modal/bal-modal.type.d.ts +0 -39
- package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +0 -34
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.d.ts +0 -41
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.d.ts +0 -11
- package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.d.ts +0 -19
- package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.d.ts +0 -19
- package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +0 -32
- package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.interfaces.d.ts +0 -5
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +0 -45
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +0 -45
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.interfaces.d.ts +0 -7
- package/dist/types/components/bal-nav/bal-nav.d.ts +0 -110
- package/dist/types/components/bal-nav/bal-nav.i18n.d.ts +0 -10
- package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +0 -76
- package/dist/types/components/bal-nav/bal-nav.types.d.ts +0 -5
- package/dist/types/components/bal-nav/components/accordion-button.d.ts +0 -13
- package/dist/types/components/bal-nav/components/overview-link.d.ts +0 -9
- package/dist/types/components/bal-nav/components/section-list.d.ts +0 -6
- package/dist/types/components/bal-nav/components/service-list.d.ts +0 -6
- package/dist/types/components/bal-nav/models/bal-nav-link-item.d.ts +0 -28
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +0 -21
- package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +0 -19
- package/dist/types/components/bal-nav/models/bal-nav-meta-link-item.d.ts +0 -17
- package/dist/types/components/bal-nav/models/bal-nav-section-link-item.d.ts +0 -16
- package/dist/types/components/bal-nav/models/bal-nav-service-link-item.d.ts +0 -16
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +0 -82
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.d.ts +0 -5
- package/dist/types/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.d.ts +0 -20
- package/dist/types/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.d.ts +0 -10
- package/dist/types/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.d.ts +0 -10
- package/dist/types/components/bal-navbar/bal-navbar.d.ts +0 -26
- package/dist/types/components/bal-navbar/bal-navbar.interfaces.d.ts +0 -15
- package/dist/types/components/bal-notices/bal-notices.d.ts +0 -15
- package/dist/types/components/bal-notification/bal-notification.d.ts +0 -16
- package/dist/types/components/bal-notification/bal-notification.interfaces.d.ts +0 -3
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +0 -176
- package/dist/types/components/bal-number-input/bal-number-input.interfaces.d.ts +0 -16
- package/dist/types/components/bal-option/bal-option.d.ts +0 -92
- package/dist/types/components/bal-option/bal-option.interfaces.d.ts +0 -18
- package/dist/types/components/bal-option-list/bal-option-list.d.ts +0 -174
- package/dist/types/components/bal-option-list/bal-option-list.interfaces.d.ts +0 -4
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +0 -70
- package/dist/types/components/bal-pagination/bal-pagination.i18n.d.ts +0 -7
- package/dist/types/components/bal-pagination/bal-pagination.interfaces.d.ts +0 -13
- package/dist/types/components/bal-pagination/bal-pagination.util.d.ts +0 -7
- package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +0 -51
- package/dist/types/components/bal-popover/bal-popover.d.ts +0 -144
- package/dist/types/components/bal-popover/bal-popover.interfaces.d.ts +0 -17
- package/dist/types/components/bal-popup/bal-popup.d.ts +0 -175
- package/dist/types/components/bal-popup/bal-popup.interfaces.d.ts +0 -17
- package/dist/types/components/bal-popup/variants/abstract-variant.renderer.d.ts +0 -14
- package/dist/types/components/bal-popup/variants/drawer-variant.renderer.d.ts +0 -9
- package/dist/types/components/bal-popup/variants/fullscreen-variant.renderer.d.ts +0 -8
- package/dist/types/components/bal-popup/variants/index.d.ts +0 -4
- package/dist/types/components/bal-popup/variants/popover-variant.renderer.d.ts +0 -14
- package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +0 -31
- package/dist/types/components/bal-popup/variants/variant.renderer.d.ts +0 -8
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +0 -49
- package/dist/types/components/bal-progress-bar/bal-progress-bar.interfaces.d.ts +0 -4
- package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +0 -157
- package/dist/types/components/bal-radio/bal-radio-icon/bal-radio-icon.d.ts +0 -36
- package/dist/types/components/bal-radio/bal-radio.d.ts +0 -183
- package/dist/types/components/bal-radio/bal-radio.interfaces.d.ts +0 -28
- package/dist/types/components/bal-radio/bal-radio.type.d.ts +0 -16
- package/dist/types/components/bal-radio/utils/bal-radio.util.d.ts +0 -17
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +0 -68
- package/dist/types/components/bal-segment/bal-segment.d.ts +0 -140
- package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +0 -21
- package/dist/types/components/bal-segment/bal-segment.types.d.ts +0 -1
- package/dist/types/components/bal-select/bal-select-option/bal-select-option.d.ts +0 -24
- package/dist/types/components/bal-select/bal-select.d.ts +0 -271
- package/dist/types/components/bal-select/bal-select.interfaces.d.ts +0 -23
- package/dist/types/components/bal-select/utils/bal-option.type.d.ts +0 -6
- package/dist/types/components/bal-select/utils/bal-option.util.d.ts +0 -3
- package/dist/types/components/bal-select/utils/utils.d.ts +0 -11
- package/dist/types/components/bal-select/utils/watch-options.d.ts +0 -2
- package/dist/types/components/bal-shape/bal-shape.d.ts +0 -19
- package/dist/types/components/bal-shape/bal-shape.interfaces.d.ts +0 -5
- package/dist/types/components/bal-sheet/bal-sheet.d.ts +0 -7
- package/dist/types/components/bal-sheet/bal-sheet.interfaces.d.ts +0 -3
- package/dist/types/components/bal-snackbar/bal-snackbar.controller.d.ts +0 -13
- package/dist/types/components/bal-snackbar/bal-snackbar.d.ts +0 -66
- package/dist/types/components/bal-snackbar/bal-snackbar.interfaces.d.ts +0 -13
- package/dist/types/components/bal-spinner/bal-spinner.d.ts +0 -68
- package/dist/types/components/bal-spinner/bal-spinner.data.d.ts +0 -1756
- package/dist/types/components/bal-spinner/bal-spinner.interfaces.d.ts +0 -5
- package/dist/types/components/bal-stack/bal-stack.d.ts +0 -64
- package/dist/types/components/bal-stack/bal-stack.interfaces.d.ts +0 -7
- package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +0 -23
- package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +0 -18
- package/dist/types/components/bal-stage/bal-stage.d.ts +0 -30
- package/dist/types/components/bal-stage/bal-stage.interfaces.d.ts +0 -5
- package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +0 -85
- package/dist/types/components/bal-steps/bal-step.type.d.ts +0 -20
- package/dist/types/components/bal-steps/bal-step.util.d.ts +0 -16
- package/dist/types/components/bal-steps/bal-steps.d.ts +0 -92
- package/dist/types/components/bal-steps/bal-steps.interfaces.d.ts +0 -17
- package/dist/types/components/bal-steps/components/step-button.d.ts +0 -10
- package/dist/types/components/bal-steps/components/step-icon.d.ts +0 -6
- package/dist/types/components/bal-steps/components/step-label.d.ts +0 -5
- package/dist/types/components/bal-table/bal-table.d.ts +0 -10
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +0 -117
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +0 -73
- package/dist/types/components/bal-tabs/bal-tab.util.d.ts +0 -16
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +0 -240
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +0 -30
- package/dist/types/components/bal-tabs/components/tab-button.d.ts +0 -23
- package/dist/types/components/bal-tabs/components/tab-icon.d.ts +0 -11
- package/dist/types/components/bal-tabs/components/tab-label.d.ts +0 -12
- package/dist/types/components/bal-tabs/components/tab-nav.d.ts +0 -31
- package/dist/types/components/bal-tabs/components/tab-select.d.ts +0 -8
- package/dist/types/components/bal-tag/bal-tag-group/bal-tag-group.d.ts +0 -3
- package/dist/types/components/bal-tag/bal-tag.d.ts +0 -46
- package/dist/types/components/bal-tag/bal-tag.interfaces.d.ts +0 -14
- package/dist/types/components/bal-text/bal-text.d.ts +0 -72
- package/dist/types/components/bal-text/bal-text.interfaces.d.ts +0 -5
- package/dist/types/components/bal-textarea/bal-textarea.d.ts +0 -145
- package/dist/types/components/bal-textarea/bal-textarea.interfaces.d.ts +0 -20
- package/dist/types/components/bal-time-input/bal-time-input.d.ts +0 -114
- package/dist/types/components/bal-time-input/bal-time-input.i18n.d.ts +0 -7
- package/dist/types/components/bal-time-input/bal-time-input.interfaces.d.ts +0 -18
- package/dist/types/components/bal-time-input/bal-time-input.util.d.ts +0 -7
- package/dist/types/components/bal-toast/bal-toast.controller.d.ts +0 -10
- package/dist/types/components/bal-toast/bal-toast.d.ts +0 -41
- package/dist/types/components/bal-toast/bal-toast.interfaces.d.ts +0 -11
- package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +0 -82
- package/dist/types/components/bal-tooltip/bal-tooltip.interfaces.d.ts +0 -17
- package/dist/types/components/bal-tooltip/bal-tooltip.util.d.ts +0 -6
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +0 -8
- package/dist/types/initialize.d.ts +0 -2
- package/dist/types/test/css-spacing.visual.play.d.ts +0 -1
- package/dist/types/test/css-structure.visual.play.d.ts +0 -1
- package/dist/types/test/css-typography.visual.play.d.ts +0 -1
- package/dist/types/test/theme-compact.visual.play.d.ts +0 -1
- package/dist/types/utils/animation/animation.decorator.d.ts +0 -3
- package/dist/types/utils/animation/animation.interfaces.d.ts +0 -8
- package/dist/types/utils/animation/animation.listener.d.ts +0 -10
- package/dist/types/utils/animation/animation.subject.d.ts +0 -9
- package/dist/types/utils/animation/index.d.ts +0 -2
- package/dist/types/utils/bem.d.ts +0 -9
- package/dist/types/utils/config/config.const.d.ts +0 -1
- package/dist/types/utils/config/config.d.ts +0 -39
- package/dist/types/utils/config/config.decorator.d.ts +0 -3
- package/dist/types/utils/config/config.default.d.ts +0 -33
- package/dist/types/utils/config/config.types.d.ts +0 -48
- package/dist/types/utils/config/config.utils.d.ts +0 -15
- package/dist/types/utils/config/initialize.d.ts +0 -3
- package/dist/types/utils/config/observable/observer.d.ts +0 -4
- package/dist/types/utils/config/observable/subject.d.ts +0 -6
- package/dist/types/utils/constants/version.constant.d.ts +0 -1
- package/dist/types/utils/css-classes.d.ts +0 -5
- package/dist/types/utils/dropdown/auto-fill.d.ts +0 -8
- package/dist/types/utils/dropdown/component.d.ts +0 -36
- package/dist/types/utils/dropdown/dropdown.i18n.d.ts +0 -8
- package/dist/types/utils/dropdown/events.d.ts +0 -15
- package/dist/types/utils/dropdown/filters.d.ts +0 -2
- package/dist/types/utils/dropdown/focus.d.ts +0 -13
- package/dist/types/utils/dropdown/form-submit.d.ts +0 -22
- package/dist/types/utils/dropdown/icon.d.ts +0 -15
- package/dist/types/utils/dropdown/index.d.ts +0 -12
- package/dist/types/utils/dropdown/input.d.ts +0 -26
- package/dist/types/utils/dropdown/option.d.ts +0 -25
- package/dist/types/utils/dropdown/popup.d.ts +0 -11
- package/dist/types/utils/dropdown/value.d.ts +0 -26
- package/dist/types/utils/floating-ui.d.ts +0 -15
- package/dist/types/utils/focus/focus.decorator.d.ts +0 -3
- package/dist/types/utils/focus/focus.interfaces.d.ts +0 -13
- package/dist/types/utils/focus/focus.listener.d.ts +0 -9
- package/dist/types/utils/focus/focus.subject.d.ts +0 -8
- package/dist/types/utils/focus/index.d.ts +0 -2
- package/dist/types/utils/focus-visible.d.ts +0 -6
- package/dist/types/utils/form-input.d.ts +0 -31
- package/dist/types/utils/form.d.ts +0 -17
- package/dist/types/utils/framework-delegate.d.ts +0 -9
- package/dist/types/utils/legacy.d.ts +0 -23
- package/dist/types/utils/mask/__test__/mask-component.mock.d.ts +0 -28
- package/dist/types/utils/mask/__test__/mask-context.mocks.d.ts +0 -4
- package/dist/types/utils/mask/__test__/mask.mock.d.ts +0 -15
- package/dist/types/utils/mask/blocks/index.d.ts +0 -3
- package/dist/types/utils/mask/blocks/mask-block-interfaces.d.ts +0 -11
- package/dist/types/utils/mask/blocks/mask-block-list.d.ts +0 -17
- package/dist/types/utils/mask/blocks/mask-block.d.ts +0 -21
- package/dist/types/utils/mask/component/index.d.ts +0 -2
- package/dist/types/utils/mask/component/mask-component-adapter.d.ts +0 -23
- package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +0 -44
- package/dist/types/utils/mask/context/index.d.ts +0 -9
- package/dist/types/utils/mask/context/mask-clipboard-context.d.ts +0 -10
- package/dist/types/utils/mask/context/mask-context-interfaces.d.ts +0 -11
- package/dist/types/utils/mask/context/mask-context.d.ts +0 -18
- package/dist/types/utils/mask/context/mask-focus-context.d.ts +0 -6
- package/dist/types/utils/mask/context/mask-keyboard-context.d.ts +0 -25
- package/dist/types/utils/mask/context/mask-locale-context.d.ts +0 -8
- package/dist/types/utils/mask/context/mask-mouse-context.d.ts +0 -6
- package/dist/types/utils/mask/context/mask-position.d.ts +0 -25
- package/dist/types/utils/mask/context/mask-value-changed-context.d.ts +0 -11
- package/dist/types/utils/mask/index.d.ts +0 -5
- package/dist/types/utils/mask/mask-interfaces.d.ts +0 -15
- package/dist/types/utils/mask/mask-util.d.ts +0 -1
- package/dist/types/utils/mask/mask.d.ts +0 -54
- package/dist/types/utils/mask/types/index.d.ts +0 -1
- package/dist/types/utils/mask/types/mask-date.d.ts +0 -18
- package/dist/types/utils/mutation/index.d.ts +0 -2
- package/dist/types/utils/mutation/mutation.decorator.d.ts +0 -3
- package/dist/types/utils/mutation/mutation.interfaces.d.ts +0 -11
- package/dist/types/utils/mutation/mutation.listener.d.ts +0 -14
- package/dist/types/utils/mutation/mutation.subject.d.ts +0 -10
- package/dist/types/utils/overlays/focus-trap.d.ts +0 -36
- package/dist/types/utils/overlays/notice.controller.d.ts +0 -36
- package/dist/types/utils/overlays/overlays.d.ts +0 -25
- package/dist/types/utils/string.d.ts +0 -1
- package/dist/types/utils/style.d.ts +0 -10
- package/dist/types/utils/swiper/controls/dot-control.d.ts +0 -11
- package/dist/types/utils/swiper/controls/index.d.ts +0 -3
- package/dist/types/utils/swiper/controls/large-control.d.ts +0 -13
- package/dist/types/utils/swiper/controls/small-control.d.ts +0 -12
- package/dist/types/utils/swiper/index.d.ts +0 -2
- package/dist/types/utils/swiper/swiper.i18n.d.ts +0 -7
- package/dist/types/utils/swiper/swiper.type.d.ts +0 -33
- package/dist/types/utils/swiper/swiper.util.d.ts +0 -92
- package/dist/types/utils/visibility/index.d.ts +0 -2
- package/dist/types/utils/visibility/visibility.decorator.d.ts +0 -3
- package/dist/types/utils/visibility/visibility.interfaces.d.ts +0 -5
- package/dist/types/utils/visibility/visibility.listener.d.ts +0 -10
- package/dist/types/utils/visibility/visibility.subject.d.ts +0 -9
- /package/dist/collection/components/{bal-checkbox/bal-checkbox.type.js → app/app.interfaces.js} +0 -0
- /package/dist/collection/components/{bal-modal/bal-modal.type.js → number-input/number-input.interfaces.js} +0 -0
- /package/dist/collection/components/{bal-nav/bal-nav.types.js → segment/segment-item.type.js} +0 -0
- /package/dist/collection/{components/bal-popup/variants/variant.interfaces.js → global/component.type.js} +0 -0
- /package/dist/collection/{utils → global}/config/config.types.js +0 -0
- /package/dist/collection/{utils → global}/config/observable/observer.js +0 -0
- /package/dist/collection/{utils → global}/config/observable/subject.js +0 -0
- /package/dist/collection/{components/bal-radio/bal-radio.type.js → utils/property-checkers/property-types.js} +0 -0
- /package/dist/{collection/components/bal-segment/bal-segment.types.js → types/components/accordion/test/accordion.a11y.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-select/utils/bal-option.type.js → types/components/accordion/test/accordion.component.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-steps/bal-step.type.js → types/components/accordion/test/accordion.visual.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-tabs/bal-tab.type.js → types/components/alert/test/alert.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/animation/animation.interfaces.js → types/components/alert/test/snackbar.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/dropdown/component.js → types/components/alert/test/snackbar.component.play.d.ts} +0 -0
- /package/dist/{collection/utils/focus/focus.interfaces.js → types/components/alert/test/snackbar.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/blocks/mask-block-interfaces.js → types/components/alert/test/toast.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/component/mask-component-interfaces.js → types/components/alert/test/toast.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/context/mask-context-interfaces.js → types/components/badge/test/badge.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/mask-interfaces.js → types/components/badge/test/badge.component.play.d.ts} +0 -0
- /package/dist/{collection/utils/mutation/mutation.interfaces.js → types/components/badge/test/badge.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/swiper/swiper.type.js → types/components/button/test/button-group.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/visibility/visibility.interfaces.js → types/components/button/test/button.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-accordion/test/bal-accordion.visual.play.d.ts → button/test/button.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-badge/test/bal-badge.visual.play.d.ts → button/test/button.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-button/test/bal-button.visual.play.d.ts → card/test/card.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-card/test/bal-card.visual.play.d.ts → card/test/card.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-carousel/test/bal-carousel.visual.play.d.ts → card/test/card.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox-icons.visual.play.d.ts → checkbox/test/checkbox.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox-tiles.visual.play.d.ts → checkbox/test/checkbox.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox.visual.play.d.ts → checkbox/test/checkbox.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-close/test/bal-close.visual.play.d.ts → close/test/close.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-content/test/bal-content.visual.play.d.ts → close/test/close.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-data/test/bal-data.visual.play.d.ts → close/test/close.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-date/test/bal-date.visual.play.d.ts → container/test/container.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-divider/test/bal-divider.visual.play.d.ts → content/test/content.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-dropdown/test/bal-dropdown.visual.play.d.ts → content/test/content.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-field/test/bal-field-horizontal.visual.play.d.ts → divider/test/divider.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-field/test/bal-field.visual.play.d.ts → divider/test/divider.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-file-upload/test/bal-file-upload.visual.play.d.ts → divider/test/divider.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-footer/test/bal-footer.visual.play.d.ts → form/test/form.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-form-grid/test/bal-form-grid.visual.play.d.ts → grid/test/grid.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-heading/test/bal-heading.visual.play.d.ts → heading/test/heading.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-hint/test/bal-hint.visual.play.d.ts → heading/test/heading.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-icon/test/bal-icon.visual.play.d.ts → heading/test/heading.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-group/test/bal-input-group.visual.play.d.ts → icon/test/icon.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-slider/test/bal-input-slider.visual.play.d.ts → icon/test/icon.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-stepper/test/bal-input-stepper.visual.play.d.ts → icon/test/icon.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input/test/bal-input.visual.play.d.ts → input/test/input.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-label/test/bal-label.visual.play.d.ts → input/test/input.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-list/test/bal-list.visual.play.d.ts → input/test/input.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-logo/test/bal-logo.visual.play.d.ts → label/test/label.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-modal/test/bal-modal.visual.play.d.ts → label/test/label.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav-colors.visual.play.d.ts → label/test/label.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav-long.visual.play.d.ts → link/test/link.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav.visual.play.d.ts → link/test/link.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-navbar/test/bal-navbar.visual.play.d.ts → list/test/list-native.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-notification/test/bal-notification.visual.play.d.ts → list/test/list.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-number-input/test/bal-number-input.visual.play.d.ts → logo/test/logo.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-option-list/test/bal-option-list.visual.play.d.ts → logo/test/logo.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-option/test/bal-option.visual.play.d.ts → logo/test/logo.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-pagination/test/bal-pagination.visual.play.d.ts → notification/test/notification.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-popover/test/bal-popover.visual.play.d.ts → notification/test/notification.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-popup/test/bal-popup.visual.play.d.ts → notification/test/notification.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-number-input/bal-number-input.utils.d.ts → number-input/number-input.utils.d.ts} +0 -0
- /package/dist/types/components/{bal-progress-bar/test/bal-progress-bar.visual.play.d.ts → number-input/test/number-input.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio-icons.visual.play.d.ts → number-input/test/number-input.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio-tiles.visual.play.d.ts → number-input/test/number-input.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio.visual.play.d.ts → pagination/test/pagination.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-segment/test/bal-segment.visual.play.d.ts → pagination/test/pagination.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-select/test/bal-select-multiple.visual.play.d.ts → pagination/test/pagination.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-select/test/bal-select.visual.play.d.ts → progress-bar/test/progress-bar.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-shape/test/bal-shape.visual.play.d.ts → progress-bar/test/progress-bar.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-sheet/test/bal-sheet.visual.play.d.ts → radio/test/radio.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-snackbar/test/bal-snackbar.visual.play.d.ts → radio/test/radio.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-stack/test/bal-stack.visual.play.d.ts → radio/test/radio.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-stage/test/bal-stage.visual.play.d.ts → segment/test/segment.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-steps/test/bal-steps.visual.play.d.ts → segment/test/segment.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-table/test/bal-table.visual.play.d.ts → segment/test/segment.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tabs/test/bal-tabs.visual.play.d.ts → shape/test/shape.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.a11y.play.d.ts → shape/test/shape.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-spinner/bal-spinner.animation.d.ts → spinner/spinner.animation.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.component.play.d.ts → spinner/test/spinner.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.visual.play.d.ts → spinner/test/spinner.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-text/test/bal-text.visual.play.d.ts → stack/test/stack.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-textarea/test/bal-textarea.visual.play.d.ts → stack/test/stack.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-time-input/test/bal-time-input.visual.play.d.ts → table/test/table.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-toast/test/bal-toast.visual.play.d.ts → tag/test/tag.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tooltip/test/bal-tooltip.visual.play.d.ts → tag/test/tag.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-border.visual.play.d.ts → components/tag/test/tag.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-color.visual.play.d.ts → components/text/test/text.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-core.visual.play.d.ts → components/text/test/text.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-display.visual.play.d.ts → components/text/test/text.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-flex.visual.play.d.ts → components/textarea/test/textarea.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-grid.visual.play.d.ts → components/textarea/test/textarea.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-inheritance.visual.play.d.ts → components/textarea/test/textarea.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-opacity.visual.play.d.ts → components/toggle/test/toggle.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-radius.visual.play.d.ts → components/toggle/test/toggle.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-shadow.visual.play.d.ts → components/toggle/test/toggle.visual.play.d.ts} +0 -0
- /package/dist/types/{utils → global}/config/index.d.ts +0 -0
- /package/dist/types/{utils → global}/constants/keys.constant.d.ts +0 -0
- /package/dist/types/{tags-all.d.ts → global/constants/tags.constant.d.ts} +0 -0
- /package/dist/types/{global.d.ts → global/global.d.ts} +0 -0
|
@@ -0,0 +1,3454 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const NAMESPACE = 'design-system';
|
|
5
|
+
const BUILD = /* design-system */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: true, slotRelocation: true, state: true, updatable: true};
|
|
6
|
+
|
|
7
|
+
// This file is auto-generated by stencil.config.ts - do not edit manually
|
|
8
|
+
const tags = [
|
|
9
|
+
"ds-accordion",
|
|
10
|
+
"ds-alert-container",
|
|
11
|
+
"ds-app",
|
|
12
|
+
"ds-badge",
|
|
13
|
+
"ds-button",
|
|
14
|
+
"ds-button-group",
|
|
15
|
+
"ds-card",
|
|
16
|
+
"ds-card-actions",
|
|
17
|
+
"ds-card-content",
|
|
18
|
+
"ds-card-header",
|
|
19
|
+
"ds-card-subtitle",
|
|
20
|
+
"ds-card-title",
|
|
21
|
+
"ds-checkbox",
|
|
22
|
+
"ds-checkbox-group",
|
|
23
|
+
"ds-close",
|
|
24
|
+
"ds-content",
|
|
25
|
+
"ds-divider",
|
|
26
|
+
"ds-heading",
|
|
27
|
+
"ds-icon",
|
|
28
|
+
"ds-input",
|
|
29
|
+
"ds-item",
|
|
30
|
+
"ds-label",
|
|
31
|
+
"ds-list",
|
|
32
|
+
"ds-logo",
|
|
33
|
+
"ds-notification",
|
|
34
|
+
"ds-number-input",
|
|
35
|
+
"ds-pagination",
|
|
36
|
+
"ds-progress-bar",
|
|
37
|
+
"ds-radio",
|
|
38
|
+
"ds-radio-group",
|
|
39
|
+
"ds-segment",
|
|
40
|
+
"ds-segment-item",
|
|
41
|
+
"ds-shape",
|
|
42
|
+
"ds-snackbar",
|
|
43
|
+
"ds-spinner",
|
|
44
|
+
"ds-stack",
|
|
45
|
+
"ds-tag",
|
|
46
|
+
"ds-tag-group",
|
|
47
|
+
"ds-text",
|
|
48
|
+
"ds-textarea",
|
|
49
|
+
"ds-toast",
|
|
50
|
+
"ds-toggle"
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
class BrowserWindow {
|
|
54
|
+
/**
|
|
55
|
+
* Returns the width of the window
|
|
56
|
+
*/
|
|
57
|
+
get width() {
|
|
58
|
+
if (dsBrowser.hasWindow) {
|
|
59
|
+
return window.innerWidth;
|
|
60
|
+
}
|
|
61
|
+
return 0;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns the height of the window
|
|
65
|
+
*/
|
|
66
|
+
get height() {
|
|
67
|
+
if (dsBrowser.hasWindow) {
|
|
68
|
+
return window.innerHeight;
|
|
69
|
+
}
|
|
70
|
+
return 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
class Browser {
|
|
74
|
+
constructor() {
|
|
75
|
+
this.window = new BrowserWindow();
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Is true when it is a Safari browser
|
|
79
|
+
*/
|
|
80
|
+
get isSafari() {
|
|
81
|
+
return /^((?!chrome|android).)*safari/i.test(this.userAgent);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Is true when the window object is defined
|
|
85
|
+
*/
|
|
86
|
+
get hasWindow() {
|
|
87
|
+
return typeof window !== 'undefined';
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Is true when the navigator object is defined
|
|
91
|
+
*/
|
|
92
|
+
get hasNavigator() {
|
|
93
|
+
return typeof navigator !== 'undefined';
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Is true when the document object is defined
|
|
97
|
+
*/
|
|
98
|
+
get hasDocument() {
|
|
99
|
+
return typeof document !== 'undefined';
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns a string with the user agents
|
|
103
|
+
*/
|
|
104
|
+
get userAgent() {
|
|
105
|
+
var _a;
|
|
106
|
+
if (this.hasWindow && this.hasNavigator) {
|
|
107
|
+
return (_a = navigator.userAgent) !== null && _a !== void 0 ? _a : '';
|
|
108
|
+
}
|
|
109
|
+
return '';
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
const dsBrowser = new Browser();
|
|
113
|
+
|
|
114
|
+
// generated file
|
|
115
|
+
const IconYoutube = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';
|
|
116
|
+
const IconXing = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';
|
|
117
|
+
const IconX = '<svg fill="#000D6E" viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';
|
|
118
|
+
const IconWeb = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';
|
|
119
|
+
const IconVideo = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';
|
|
120
|
+
const IconUpload = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';
|
|
121
|
+
const IconTwitter = '<svg fill="#000D6E" viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';
|
|
122
|
+
const IconTrash = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';
|
|
123
|
+
const IconPlus = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';
|
|
124
|
+
const IconPicture = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M12.5 14a1.5 1.5 0 0 0 1.5-1.5v-11A1.5 1.5 0 0 0 12.5 0h-11A1.5 1.5 0 0 0 0 1.5v11A1.5 1.5 0 0 0 1.5 14h11zM7.374 6.635a.783.783 0 0 1 .58-.265.783.783 0 0 1 .594.282l3.495 4.226a.5.5 0 0 1-.385.818h-7.32a.5.5 0 0 1-.388-.814l3.405-4.225a.5.5 0 0 1 .02-.022zM3.586 2.304a1.744 1.744 0 1 0 0 3.488 1.744 1.744 0 0 0 0-3.488z" clip-rule="evenodd"/></svg>';
|
|
125
|
+
const IconNavGoUp = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
126
|
+
const IconNavGoRight = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
127
|
+
const IconNavGoLeft = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
128
|
+
const IconNavGoDown = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
129
|
+
const IconMinus = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';
|
|
130
|
+
const IconMenuBars = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';
|
|
131
|
+
const IconLinkedin = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';
|
|
132
|
+
const IconLink = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M12.5 0C13.3284 0 14 0.671573 14 1.5V9.5C14 10.3284 13.3284 11 12.5 11H4.5C3.67157 11 3 10.3284 3 9.5V1.5C3 0.671573 3.67157 0 4.5 0H12.5ZM6.05806 7.05806L8.11613 4.99999L7.05808 3.94194C6.87933 3.76319 6.82586 3.49437 6.92259 3.26082C7.01933 3.02728 7.24723 2.875 7.50002 2.875H10.5C10.5875 2.875 10.6707 2.89296 10.7463 2.92538C10.8066 2.95124 10.8638 2.98704 10.9152 3.03279C10.934 3.04955 10.9518 3.06744 10.9685 3.08634C11.0106 3.13386 11.0441 3.18625 11.0692 3.24155C11.1051 3.32031 11.125 3.40783 11.125 3.5V6.5C11.125 6.75279 10.9727 6.98069 10.7392 7.07743C10.5056 7.17416 10.2368 7.12069 10.0581 6.94194L9.00001 5.88387L6.94194 7.94194C6.69786 8.18602 6.30214 8.18602 6.05806 7.94194C5.81398 7.69786 5.81398 7.30214 6.05806 7.05806ZM1.5 4.25C1.5 3.83579 1.16421 3.5 0.75 3.5C0.335786 3.5 0 3.83579 0 4.25V11.75C0 12.9926 1.00736 14 2.25 14H9.75C10.1642 14 10.5 13.6642 10.5 13.25C10.5 12.8358 10.1642 12.5 9.75 12.5H2.25C1.83579 12.5 1.5 12.1642 1.5 11.75V4.25Z" clip-rule="evenodd"/></svg>';
|
|
133
|
+
const IconInstagram = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';
|
|
134
|
+
const IconInformation = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g clip-path="url(#a)"><path fill="#000D6E" d="M4.176 11.705c-.65 0-1.176.514-1.176 1.147 0 .635.526 1.149 1.176 1.149h5.648c.65 0 1.176-.514 1.176-1.149 0-.633-.526-1.147-1.176-1.147H8.177V6.426c0-.634-.526-1.147-1.176-1.147H5.118c-.65 0-1.177.513-1.177 1.147 0 .633.526 1.147 1.176 1.147h.706v4.132zm4.706-9.869c0 1.014-.843 1.836-1.882 1.836S5.118 2.85 5.118 1.836 5.96 0 7 0s1.882.822 1.882 1.836"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h14v14H0z"/></clipPath></defs></svg>';
|
|
135
|
+
const IconInfoCircle = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';
|
|
136
|
+
const IconFile = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M6.875 0H2.5C2.10218 0 1.72064 0.158035 1.43934 0.43934C1.15804 0.720644 1 1.10218 1 1.5V12.5C1 12.8978 1.15804 13.2794 1.43934 13.5607C1.72064 13.842 2.10217 14 2.5 14H11.5C11.8978 14 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8978 13 12.5V6.125H7.5C7.15482 6.125 6.875 5.84518 6.875 5.5V0ZM12.5821 4.875L8.125 0.417893V4.875H12.5821Z" clip-rule="evenodd"/></svg>';
|
|
137
|
+
const IconFacebook = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';
|
|
138
|
+
const IconEdit = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';
|
|
139
|
+
const IconDownload = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 6.5C9.2883 6.5 9.55108 6.66526 9.67597 6.92511C9.80086 7.18496 9.76575 7.49339 9.58564 7.71852L7.58564 10.2185C7.44332 10.3964 7.22783 10.5 6.99999 10.5C6.77215 10.5 6.55667 10.3964 6.41434 10.2185L4.41434 7.71852C4.23424 7.49339 4.19913 7.18496 4.32402 6.92511C4.44891 6.66526 4.71169 6.5 4.99999 6.5H6V1C6 0.447716 6.44772 0 7 0C7.55229 0 8 0.447716 8 1V6.5H8.99999ZM11 12V5.99998C10.4477 5.99998 10 5.55227 10 4.99998C10 4.4477 10.4477 3.99998 11 3.99998H11.5C11.8978 3.99998 12.2794 4.15802 12.5607 4.43932C12.842 4.72062 13 5.10216 13 5.49998V12.5C13 12.8979 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14L2.5 14.0001C2.10218 14.0001 1.72065 13.842 1.43934 13.5607C1.15803 13.2794 1 12.8979 1 12.5001V5.5C1 5.10218 1.15803 4.72065 1.43934 4.43934C1.72064 4.15804 2.10218 4 2.5 4H3C3.55229 4 4 4.44772 4 5C4 5.55228 3.55229 6 3 6V12.0001L11 12Z" clip-rule="evenodd"/></svg>';
|
|
140
|
+
const IconDocument = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';
|
|
141
|
+
const IconDate = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';
|
|
142
|
+
const IconClose = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path 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"/></svg>';
|
|
143
|
+
const IconClock = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7.625 4.5C7.625 4.15482 7.34518 3.875 7 3.875C6.65482 3.875 6.375 4.15482 6.375 4.5V7C6.375 7.14621 6.42626 7.28779 6.51986 7.40012L9.01986 10.4001C9.24084 10.6653 9.63494 10.7011 9.90012 10.4801C10.1653 10.2592 10.2011 9.86506 9.98014 9.59988L7.625 6.77372V4.5Z" clip-rule="evenodd"/></svg>';
|
|
144
|
+
const IconCheck = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';
|
|
145
|
+
const IconCaretUp = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
146
|
+
const IconCaretRight = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
147
|
+
const IconCaretLeft = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
148
|
+
const IconCaretDown = '<svg fill="#000D6E" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';
|
|
149
|
+
const IconBell = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z" fill="#000D6E"/></svg>';
|
|
150
|
+
const IconAudio = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M12.781.23a1.227 1.227 0 0 0-.555.02h-.006L4.587 2.37a1.227 1.227 0 0 0-.905 1.176V9.04a2.477 2.477 0 1 0 1.5 2.277V6.076l7.09-1.97V6.57a2.477 2.477 0 1 0 1.5 2.345V1.402a1.226 1.226 0 0 0-.99-1.172z" clip-rule="evenodd"/></svg>';
|
|
151
|
+
const IconAlert = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><path fill="#000D6E" d="M7 0c.69 0 1.25.514 1.25 1.148v5.508c0 .634-.56 1.148-1.25 1.148S5.75 7.29 5.75 6.656V1.148C5.75.514 6.31 0 7 0m0 14c1.104 0 2-.822 2-1.836s-.896-1.836-2-1.836-2 .822-2 1.836S5.895 14 7 14"/></svg>';
|
|
152
|
+
const IconAlertTriangle = '<svg fill="#000D6E" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7.00003 0.00585938C6.72396 0.00585938 6.45324 0.0820473 6.21769 0.226033C5.98215 0.370019 5.7909 0.576216 5.66503 0.821919L5.665 0.821908L5.66281 0.826292L0.163513 11.8249L0.163109 11.8257C0.0483198 12.0538 -0.0063228 12.3075 0.00436625 12.5627C0.0150678 12.8182 0.0908985 13.0667 0.224657 13.2846C0.358416 13.5025 0.545662 13.6826 0.768612 13.8078C0.991563 13.933 1.24282 13.9991 1.49851 13.9999L1.50003 13.9999H12.5L12.5015 13.9999C12.7572 13.9991 13.0085 13.933 13.2314 13.8078C13.4544 13.6826 13.6416 13.5025 13.7754 13.2846C13.9092 13.0667 13.985 12.8182 13.9957 12.5627C14.0064 12.3075 13.9517 12.0537 13.8369 11.8256L13.8365 11.8249L8.33724 0.826292L8.33726 0.826281L8.33503 0.821919C8.20915 0.576216 8.01791 0.370019 7.78236 0.226033C7.54681 0.0820473 7.2761 0.00585938 7.00003 0.00585938ZM7 4.37598C7.34518 4.37598 7.625 4.6558 7.625 5.00098V8.00098C7.625 8.34615 7.34518 8.62598 7 8.62598C6.65482 8.62598 6.375 8.34615 6.375 8.00098V5.00098C6.375 4.6558 6.65482 4.37598 7 4.37598ZM7 12.001C7.55228 12.001 8 11.5533 8 11.001C8 10.4487 7.55228 10.001 7 10.001C6.44772 10.001 6 10.4487 6 11.001C6 11.5533 6.44772 12.001 7 12.001Z" clip-rule="evenodd"/></svg>';
|
|
153
|
+
|
|
154
|
+
// generated by .build/version.js
|
|
155
|
+
const VERSION = '20.0.0-next.4';
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Request Largest Contentful Paint (LCP) callback
|
|
159
|
+
*/
|
|
160
|
+
const rLCP = (callback, timeout = 3000) => {
|
|
161
|
+
let isLargestContentPatinDone = false;
|
|
162
|
+
if (!dsBrowser.isSafari && dsBrowser.hasWindow && 'PerformanceObserver' in window) {
|
|
163
|
+
const observer = new PerformanceObserver(entryList => {
|
|
164
|
+
const entries = entryList.getEntries();
|
|
165
|
+
const lcpEntry = entries[entries.length - 1]; // Get the last (largest) entry
|
|
166
|
+
if (lcpEntry) {
|
|
167
|
+
// Disconnect the observer as we only need the LCP
|
|
168
|
+
observer.disconnect();
|
|
169
|
+
// Load the script after LCP
|
|
170
|
+
isLargestContentPatinDone = true;
|
|
171
|
+
rIC(() => callback());
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
// Start observing for Largest Contentful Paint (LCP) entries
|
|
175
|
+
observer.observe({ type: 'largest-contentful-paint', buffered: true });
|
|
176
|
+
setTimeout(() => {
|
|
177
|
+
if (!isLargestContentPatinDone) {
|
|
178
|
+
observer.disconnect();
|
|
179
|
+
callback();
|
|
180
|
+
}
|
|
181
|
+
}, timeout);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
setTimeout(callback, 32);
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
const rOnLoad = (callback, timeout = 32) => {
|
|
188
|
+
let called = false;
|
|
189
|
+
const callOnce = () => {
|
|
190
|
+
if (!called) {
|
|
191
|
+
called = true;
|
|
192
|
+
callback();
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
if (dsBrowser.hasWindow) {
|
|
196
|
+
const timer = setTimeout(callOnce, timeout);
|
|
197
|
+
window.addEventListener('load', () => {
|
|
198
|
+
clearTimeout(timer);
|
|
199
|
+
callOnce();
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
setTimeout(callOnce, 32);
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
const rIC = (callback, timeout = 5000) => {
|
|
207
|
+
if (dsBrowser.hasWindow && 'requestIdleCallback' in window) {
|
|
208
|
+
window.requestIdleCallback(callback, { timeout });
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
setTimeout(callback, 32);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
const wait = (ms = 0) => {
|
|
215
|
+
return new Promise(resolve => {
|
|
216
|
+
setTimeout(() => resolve(), ms);
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
const debounceEvent = (ev, wait) => {
|
|
220
|
+
const original = ev._original || ev;
|
|
221
|
+
return {
|
|
222
|
+
_original: ev,
|
|
223
|
+
emit: debounce(original.emit.bind(original), wait),
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
const debounce = (func, wait = 0) => {
|
|
227
|
+
let timer;
|
|
228
|
+
return (...args) => {
|
|
229
|
+
clearTimeout(timer);
|
|
230
|
+
timer = setTimeout(func, wait, ...args);
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
const hasTagName = (element, tag) => {
|
|
234
|
+
return element && element.tagName && element.tagName === tag.toUpperCase();
|
|
235
|
+
};
|
|
236
|
+
const isDescendant = (parent, child) => {
|
|
237
|
+
let node = child.parentNode;
|
|
238
|
+
while (node != null) {
|
|
239
|
+
if (node == parent) {
|
|
240
|
+
return true;
|
|
241
|
+
}
|
|
242
|
+
node = node.parentNode;
|
|
243
|
+
}
|
|
244
|
+
return false;
|
|
245
|
+
};
|
|
246
|
+
const getAppRoot = (doc) => {
|
|
247
|
+
return doc.querySelector('ds-app') || doc.body;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Waits for a component to be ready for
|
|
251
|
+
* both custom element and non-custom element builds.
|
|
252
|
+
* If non-custom element build, el.componentOnReady
|
|
253
|
+
* will be used.
|
|
254
|
+
* For custom element builds, we wait a frame
|
|
255
|
+
* so that the inner contents of the component
|
|
256
|
+
* have a chance to render.
|
|
257
|
+
*
|
|
258
|
+
* Use this utility rather than calling
|
|
259
|
+
* el.componentOnReady yourself.
|
|
260
|
+
*/
|
|
261
|
+
const componentOnReady = (el, callback) => {
|
|
262
|
+
if (el.componentOnReady !== null && el.componentOnReady !== undefined) {
|
|
263
|
+
el.componentOnReady().then((resolvedEl) => callback(resolvedEl));
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
raf(() => callback(el));
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Patched version of requestAnimationFrame that avoids ngzone
|
|
271
|
+
* Use only when you know ngzone should not run
|
|
272
|
+
*/
|
|
273
|
+
const raf = (h) => {
|
|
274
|
+
if (typeof __zone_symbol__requestAnimationFrame === 'function') {
|
|
275
|
+
return __zone_symbol__requestAnimationFrame(h);
|
|
276
|
+
}
|
|
277
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
278
|
+
return requestAnimationFrame(h);
|
|
279
|
+
}
|
|
280
|
+
return setTimeout(h);
|
|
281
|
+
};
|
|
282
|
+
const addEventListener = (el, eventName, callback, opts) => {
|
|
283
|
+
if (dsBrowser.hasWindow) {
|
|
284
|
+
// Lazy import to break circular dependency: import only when function is called
|
|
285
|
+
try {
|
|
286
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
287
|
+
const { useDsConfig } = require('@global');
|
|
288
|
+
const config = useDsConfig();
|
|
289
|
+
if (config) {
|
|
290
|
+
const ael = config._ael;
|
|
291
|
+
if (ael) {
|
|
292
|
+
return ael(el, eventName, callback, opts);
|
|
293
|
+
}
|
|
294
|
+
else if (config._ael) {
|
|
295
|
+
return config._ael(el, eventName, callback, opts);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
catch (e) {
|
|
300
|
+
// Fallback if @global is not yet initialized
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
return el.addEventListener(eventName, callback, opts);
|
|
304
|
+
};
|
|
305
|
+
const removeEventListener = (el, eventName, callback, opts) => {
|
|
306
|
+
if (dsBrowser.hasWindow) {
|
|
307
|
+
// Lazy import to break circular dependency: import only when function is called
|
|
308
|
+
try {
|
|
309
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
310
|
+
const { useDsConfig } = require('@global');
|
|
311
|
+
const config = useDsConfig();
|
|
312
|
+
if (config) {
|
|
313
|
+
const rel = config._rel;
|
|
314
|
+
if (rel) {
|
|
315
|
+
return rel(el, eventName, callback, opts);
|
|
316
|
+
}
|
|
317
|
+
else if (config._rel) {
|
|
318
|
+
return config._rel(el, eventName, callback, opts);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
catch (e) {
|
|
323
|
+
// Fallback if @global is not yet initialized
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
return el.removeEventListener(eventName, callback, opts);
|
|
327
|
+
};
|
|
328
|
+
const shallowReady = (el) => {
|
|
329
|
+
if (el) {
|
|
330
|
+
return new Promise(resolve => componentOnReady(el, resolve));
|
|
331
|
+
}
|
|
332
|
+
return Promise.resolve();
|
|
333
|
+
};
|
|
334
|
+
const deepReady = async (el, full = false) => {
|
|
335
|
+
const element = el;
|
|
336
|
+
if (element) {
|
|
337
|
+
if (element.componentOnReady !== null && element.componentOnReady !== undefined) {
|
|
338
|
+
const stencilEl = await element.componentOnReady();
|
|
339
|
+
if (!full && stencilEl !== null && stencilEl !== undefined) {
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
await Promise.all(Array.from(element.children).map(child => deepReady(child, full)));
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
const waitForComponent = async (el) => {
|
|
347
|
+
await deepReady(el, true);
|
|
348
|
+
await waitAfterFramePaint();
|
|
349
|
+
await waitAfterIdleCallback();
|
|
350
|
+
};
|
|
351
|
+
const waitForDesignSystem = async (el, _config) => {
|
|
352
|
+
const config = Object.assign({ animated: false, icons: {
|
|
353
|
+
IconClock,
|
|
354
|
+
IconClose,
|
|
355
|
+
IconInfoCircle,
|
|
356
|
+
IconPlus,
|
|
357
|
+
IconMinus,
|
|
358
|
+
IconEdit,
|
|
359
|
+
IconTrash,
|
|
360
|
+
IconNavGoLeft,
|
|
361
|
+
IconNavGoRight,
|
|
362
|
+
IconNavGoDown,
|
|
363
|
+
IconNavGoUp,
|
|
364
|
+
IconCheck,
|
|
365
|
+
IconDate,
|
|
366
|
+
IconDocument,
|
|
367
|
+
IconUpload,
|
|
368
|
+
IconMenuBars,
|
|
369
|
+
IconFacebook,
|
|
370
|
+
IconInstagram,
|
|
371
|
+
IconLink,
|
|
372
|
+
IconLinkedin,
|
|
373
|
+
IconTwitter,
|
|
374
|
+
IconX,
|
|
375
|
+
IconXing,
|
|
376
|
+
IconYoutube,
|
|
377
|
+
IconWeb,
|
|
378
|
+
IconCaretDown,
|
|
379
|
+
IconCaretLeft,
|
|
380
|
+
IconCaretRight,
|
|
381
|
+
IconCaretUp,
|
|
382
|
+
IconFile,
|
|
383
|
+
IconPicture,
|
|
384
|
+
IconVideo,
|
|
385
|
+
IconAudio,
|
|
386
|
+
IconDownload,
|
|
387
|
+
IconAlert,
|
|
388
|
+
IconBell,
|
|
389
|
+
IconInformation,
|
|
390
|
+
} }, _config);
|
|
391
|
+
const element = el;
|
|
392
|
+
if (element !== null && element !== undefined) {
|
|
393
|
+
await deepReady(element, true);
|
|
394
|
+
const webComponents = Array.prototype.slice
|
|
395
|
+
.call(element.querySelectorAll('*'))
|
|
396
|
+
.filter(el => el.tagName.match(/^bal/i));
|
|
397
|
+
await Promise.all(webComponents.map(c => {
|
|
398
|
+
if (c.configChanged !== null && c.configChanged !== undefined) {
|
|
399
|
+
return c.configChanged(config);
|
|
400
|
+
}
|
|
401
|
+
}));
|
|
402
|
+
}
|
|
403
|
+
await Promise.all([waitAfterFramePaint(), waitAfterLargestContentfulPaintCallback(), waitAfterIdleCallback()]);
|
|
404
|
+
};
|
|
405
|
+
const waitAfterFramePaint = () => {
|
|
406
|
+
return new Promise(resolve => raf(() => runHighPrioritizedTask(resolve)));
|
|
407
|
+
};
|
|
408
|
+
const waitAfterIdleCallback = () => {
|
|
409
|
+
return new Promise(resolve => rIC(() => runHighPrioritizedTask(resolve)));
|
|
410
|
+
};
|
|
411
|
+
const waitAfterLargestContentfulPaintCallback = () => {
|
|
412
|
+
return new Promise(resolve => rLCP(() => runHighPrioritizedTask(resolve)));
|
|
413
|
+
};
|
|
414
|
+
const waitOnLoadEventCallback = () => {
|
|
415
|
+
return new Promise(resolve => rOnLoad(() => runHighPrioritizedTask(resolve)));
|
|
416
|
+
};
|
|
417
|
+
const runHighPrioritizedTask = (callback) => {
|
|
418
|
+
if (dsBrowser.hasWindow && 'MessageChannel' in window) {
|
|
419
|
+
const messageChannel = new window.MessageChannel();
|
|
420
|
+
messageChannel.port1.onmessage = callback;
|
|
421
|
+
messageChannel.port2.postMessage(undefined);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
setTimeout(callback, 32);
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
const DS_ANIMATION_KEY = 'ds-animated';
|
|
429
|
+
|
|
430
|
+
const defaultIcons = {
|
|
431
|
+
IconClock,
|
|
432
|
+
IconClose,
|
|
433
|
+
IconInfoCircle,
|
|
434
|
+
IconPlus,
|
|
435
|
+
IconMinus,
|
|
436
|
+
IconEdit,
|
|
437
|
+
IconTrash,
|
|
438
|
+
IconNavGoLeft,
|
|
439
|
+
IconNavGoRight,
|
|
440
|
+
IconNavGoDown,
|
|
441
|
+
IconNavGoUp,
|
|
442
|
+
IconCheck,
|
|
443
|
+
IconDate,
|
|
444
|
+
IconDocument,
|
|
445
|
+
IconUpload,
|
|
446
|
+
IconMenuBars,
|
|
447
|
+
IconFacebook,
|
|
448
|
+
IconInstagram,
|
|
449
|
+
IconLink,
|
|
450
|
+
IconLinkedin,
|
|
451
|
+
IconTwitter,
|
|
452
|
+
IconX,
|
|
453
|
+
IconXing,
|
|
454
|
+
IconYoutube,
|
|
455
|
+
IconWeb,
|
|
456
|
+
IconCaretDown,
|
|
457
|
+
IconCaretLeft,
|
|
458
|
+
IconCaretRight,
|
|
459
|
+
IconCaretUp,
|
|
460
|
+
IconFile,
|
|
461
|
+
IconPicture,
|
|
462
|
+
IconVideo,
|
|
463
|
+
IconAudio,
|
|
464
|
+
IconDownload,
|
|
465
|
+
IconAlert,
|
|
466
|
+
IconAlertTriangle,
|
|
467
|
+
IconBell,
|
|
468
|
+
IconInformation,
|
|
469
|
+
};
|
|
470
|
+
const defaultConfig = {
|
|
471
|
+
brand: 'helvetia',
|
|
472
|
+
region: 'CH',
|
|
473
|
+
language: 'de',
|
|
474
|
+
allowedLanguages: ['de', 'fr', 'it', 'en'],
|
|
475
|
+
icons: defaultIcons,
|
|
476
|
+
fallbackLanguage: 'de',
|
|
477
|
+
logger: {
|
|
478
|
+
components: [],
|
|
479
|
+
event: false,
|
|
480
|
+
lifecycle: false,
|
|
481
|
+
render: false,
|
|
482
|
+
custom: false,
|
|
483
|
+
},
|
|
484
|
+
animated: true,
|
|
485
|
+
httpFormSubmit: true,
|
|
486
|
+
_generateHydrateForCustomElementsOutput: false,
|
|
487
|
+
};
|
|
488
|
+
const defaultLocale = `${defaultConfig.language}-${defaultConfig.region}`;
|
|
489
|
+
|
|
490
|
+
class Config {
|
|
491
|
+
constructor() {
|
|
492
|
+
this._componentObservers = [];
|
|
493
|
+
this._observers = [];
|
|
494
|
+
this._config = defaultConfig;
|
|
495
|
+
}
|
|
496
|
+
get brand() {
|
|
497
|
+
return this._config.brand;
|
|
498
|
+
}
|
|
499
|
+
set brand(brand) {
|
|
500
|
+
if (brand !== this._config.brand) {
|
|
501
|
+
this._config.brand = brand;
|
|
502
|
+
this._notify();
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
get locale() {
|
|
506
|
+
return `${this._config.language}-${this._config.region}`;
|
|
507
|
+
}
|
|
508
|
+
get region() {
|
|
509
|
+
return this._config.region;
|
|
510
|
+
}
|
|
511
|
+
set region(region) {
|
|
512
|
+
if (region !== this._config.region) {
|
|
513
|
+
this._config.region = region;
|
|
514
|
+
this._notify();
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
get language() {
|
|
518
|
+
return this._config.language;
|
|
519
|
+
}
|
|
520
|
+
set language(language) {
|
|
521
|
+
if (language !== this._config.language) {
|
|
522
|
+
if (this._config.allowedLanguages.includes(language)) {
|
|
523
|
+
this._config.language = language;
|
|
524
|
+
}
|
|
525
|
+
else {
|
|
526
|
+
this._config.language = this._config.fallbackLanguage;
|
|
527
|
+
}
|
|
528
|
+
this._notify();
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
get allowedLanguages() {
|
|
532
|
+
return this._config.allowedLanguages;
|
|
533
|
+
}
|
|
534
|
+
set allowedLanguages(allowedLanguages) {
|
|
535
|
+
if (allowedLanguages !== this._config.allowedLanguages) {
|
|
536
|
+
this._config.allowedLanguages = allowedLanguages;
|
|
537
|
+
this._notify();
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
get icons() {
|
|
541
|
+
return this._config.icons;
|
|
542
|
+
}
|
|
543
|
+
set icons(icons) {
|
|
544
|
+
this._config.icons = Object.assign(Object.assign({}, this._config.icons), icons);
|
|
545
|
+
this._notify();
|
|
546
|
+
}
|
|
547
|
+
get logger() {
|
|
548
|
+
return this._config.logger;
|
|
549
|
+
}
|
|
550
|
+
set logger(logger) {
|
|
551
|
+
this._config.logger = Object.assign({}, logger);
|
|
552
|
+
this._notify();
|
|
553
|
+
}
|
|
554
|
+
get animated() {
|
|
555
|
+
return this._config.animated;
|
|
556
|
+
}
|
|
557
|
+
set animated(animated) {
|
|
558
|
+
this._config.animated = animated;
|
|
559
|
+
this._notify();
|
|
560
|
+
}
|
|
561
|
+
get httpFormSubmit() {
|
|
562
|
+
return this._config.httpFormSubmit;
|
|
563
|
+
}
|
|
564
|
+
set httpFormSubmit(httpFormSubmit) {
|
|
565
|
+
this._config.httpFormSubmit = httpFormSubmit;
|
|
566
|
+
this._notify();
|
|
567
|
+
}
|
|
568
|
+
attach(observer) {
|
|
569
|
+
const isExist = this._observers.includes(observer);
|
|
570
|
+
if (isExist) {
|
|
571
|
+
return console.log('Subject: Observer has been attached already.');
|
|
572
|
+
}
|
|
573
|
+
this._observers.push(observer);
|
|
574
|
+
observer.configChanged(this._config);
|
|
575
|
+
}
|
|
576
|
+
detach(observer) {
|
|
577
|
+
const observerIndex = this._observers.indexOf(observer);
|
|
578
|
+
if (observerIndex === -1) {
|
|
579
|
+
return console.log('Subject: Nonexistent observer.');
|
|
580
|
+
}
|
|
581
|
+
this._observers.splice(observerIndex, 1);
|
|
582
|
+
}
|
|
583
|
+
attachComponent(observer) {
|
|
584
|
+
const isExist = this._componentObservers.includes(observer);
|
|
585
|
+
if (isExist) {
|
|
586
|
+
return console.log('Subject: Observer has been attached already.');
|
|
587
|
+
}
|
|
588
|
+
this._componentObservers.push(observer);
|
|
589
|
+
observer.configChanged(this._config);
|
|
590
|
+
}
|
|
591
|
+
detachComponent(observer) {
|
|
592
|
+
const observerIndex = this._componentObservers.indexOf(observer);
|
|
593
|
+
if (observerIndex === -1) {
|
|
594
|
+
return console.log('Subject: Nonexistent observer.');
|
|
595
|
+
}
|
|
596
|
+
this._componentObservers.splice(observerIndex, 1);
|
|
597
|
+
}
|
|
598
|
+
toString() {
|
|
599
|
+
return JSON.stringify(this._config);
|
|
600
|
+
}
|
|
601
|
+
reset(config) {
|
|
602
|
+
this._config = Object.assign(Object.assign(Object.assign({}, this._config), config), { icons: Object.assign(Object.assign({}, this._config.icons), config.icons) });
|
|
603
|
+
this._notify(false);
|
|
604
|
+
}
|
|
605
|
+
_notify(all = true) {
|
|
606
|
+
for (const observer of this._componentObservers) {
|
|
607
|
+
observer.configChanged(this._config);
|
|
608
|
+
}
|
|
609
|
+
if (all) {
|
|
610
|
+
for (const observer of this._observers) {
|
|
611
|
+
observer.configChanged(this._config);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
const config = /*@__PURE__*/ new Config();
|
|
617
|
+
const configFromLocalStorage = (win) => {
|
|
618
|
+
try {
|
|
619
|
+
const animated = JSON.parse(win.localStorage.getItem(DS_ANIMATION_KEY) || 'true');
|
|
620
|
+
if (animated !== null) {
|
|
621
|
+
return {
|
|
622
|
+
animated,
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
return {};
|
|
626
|
+
}
|
|
627
|
+
catch (e) {
|
|
628
|
+
return {};
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
const setupDsConfig = (userConfig = {}, win = {}) => {
|
|
633
|
+
if (Object.keys(win).length === 0 && dsBrowser.hasWindow) {
|
|
634
|
+
win = window;
|
|
635
|
+
}
|
|
636
|
+
win.DesignSystem = win.DesignSystem || {};
|
|
637
|
+
config.reset(Object.assign(Object.assign(Object.assign({}, configFromLocalStorage(win)), userConfig), { icons: Object.assign({}, userConfig.icons) }));
|
|
638
|
+
win.DesignSystem.config = config;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
class AlertControllerImpl {
|
|
642
|
+
constructor(type) {
|
|
643
|
+
this.type = type;
|
|
644
|
+
this.container = null;
|
|
645
|
+
}
|
|
646
|
+
async create(options) {
|
|
647
|
+
var _a;
|
|
648
|
+
this.setupContainer(options);
|
|
649
|
+
return (_a = this.container) === null || _a === void 0 ? void 0 : _a.addAlert(options);
|
|
650
|
+
}
|
|
651
|
+
async remove(id) {
|
|
652
|
+
var _a;
|
|
653
|
+
await ((_a = this.container) === null || _a === void 0 ? void 0 : _a.removeAlert(id));
|
|
654
|
+
}
|
|
655
|
+
async removeAll() {
|
|
656
|
+
var _a;
|
|
657
|
+
await ((_a = this.container) === null || _a === void 0 ? void 0 : _a.removeAll());
|
|
658
|
+
}
|
|
659
|
+
setupContainer(options) {
|
|
660
|
+
// Check if there is already a container for the given type, if so reuse it
|
|
661
|
+
const containerId = `ds-${this.type}-container`;
|
|
662
|
+
this.container = document.getElementById(containerId);
|
|
663
|
+
if (this.container)
|
|
664
|
+
return;
|
|
665
|
+
// If not, create a new one and append it to the app root
|
|
666
|
+
if (!this.container) {
|
|
667
|
+
this.container = document.createElement('ds-alert-container');
|
|
668
|
+
this.container.id = containerId;
|
|
669
|
+
this.container.setAttribute('type', this.type);
|
|
670
|
+
const root = getAppRoot(document);
|
|
671
|
+
root.appendChild(this.container);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
const createAlertController = (type) => {
|
|
676
|
+
return new AlertControllerImpl(type);
|
|
677
|
+
};
|
|
678
|
+
const dsToastController = createAlertController('toast');
|
|
679
|
+
const dsSnackbarController = createAlertController('snackbar');
|
|
680
|
+
|
|
681
|
+
const initializeDesignSystem = (userConfig = {}, platformConfig = undefined, win = {}) => {
|
|
682
|
+
if (Object.keys(win).length === 0 && dsBrowser.hasWindow) {
|
|
683
|
+
win = window;
|
|
684
|
+
}
|
|
685
|
+
win.DesignSystem = win.DesignSystem || {};
|
|
686
|
+
if (platformConfig) {
|
|
687
|
+
setPlatformHelpers(platformConfig);
|
|
688
|
+
}
|
|
689
|
+
setupDsConfig(Object.assign(Object.assign({}, userConfig), platformConfig), win);
|
|
690
|
+
win.DesignSystem.toastController = dsToastController;
|
|
691
|
+
win.DesignSystem.snackbarController = dsSnackbarController;
|
|
692
|
+
win.DesignSystem.initialize = () => setupDsConfig(win.DesignSystem.config, win);
|
|
693
|
+
win.DesignSystem.version = VERSION;
|
|
694
|
+
if (userConfig._generateHydrateForCustomElementsOutput) {
|
|
695
|
+
generateHydrateForCustomElementsOutput(tags);
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* This function generates the CSS needed for custom elements hydration and inserts it into the document head.
|
|
700
|
+
* The CSS rules include styles for slot fallback and the hydrated class.
|
|
701
|
+
*
|
|
702
|
+
* This is copied from the Stencil core library.
|
|
703
|
+
* src/runtime/bootstrap-lazy.ts
|
|
704
|
+
*/
|
|
705
|
+
const generateHydrateForCustomElementsOutput = (cmpTags = []) => {
|
|
706
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
707
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
708
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
709
|
+
if (!win.document) {
|
|
710
|
+
console.warn('Stencil: No document found. Skipping bootstrapping lazy components.');
|
|
711
|
+
return;
|
|
712
|
+
}
|
|
713
|
+
const head = win.document.head;
|
|
714
|
+
const metaCharset = /* @__PURE__ */ head.querySelector('meta[charset]');
|
|
715
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement('style');
|
|
716
|
+
if (cmpTags.length > 0) {
|
|
717
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
718
|
+
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
719
|
+
if (dataStyles.innerHTML.length) {
|
|
720
|
+
dataStyles.setAttribute('data-styles', '');
|
|
721
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
function global () {
|
|
727
|
+
initializeDesignSystem();
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
const appGlobalScript = global || (() => {});
|
|
731
|
+
const globalScripts = appGlobalScript;
|
|
732
|
+
const globalStyles = "/*! 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}";
|
|
733
|
+
|
|
734
|
+
/*
|
|
735
|
+
Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
736
|
+
*/
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
// src/utils/constants.ts
|
|
740
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
741
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
742
|
+
|
|
743
|
+
// src/utils/get-prop-descriptor.ts
|
|
744
|
+
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
745
|
+
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
746
|
+
while (obj && obj !== stopAt) {
|
|
747
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
748
|
+
if (desc && (!getOnly || desc.get)) return desc;
|
|
749
|
+
obj = Object.getPrototypeOf(obj);
|
|
750
|
+
}
|
|
751
|
+
return void 0;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
755
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
756
|
+
var _a;
|
|
757
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
758
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
759
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
760
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
761
|
+
const ogValue = instance[memberName];
|
|
762
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
763
|
+
if (ogDescriptor) {
|
|
764
|
+
Object.defineProperty(instance, memberName, {
|
|
765
|
+
get() {
|
|
766
|
+
return ogDescriptor.get.call(this);
|
|
767
|
+
},
|
|
768
|
+
set(newValue) {
|
|
769
|
+
ogDescriptor.set.call(this, newValue);
|
|
770
|
+
},
|
|
771
|
+
configurable: true,
|
|
772
|
+
enumerable: true
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
if (hostRef.$instanceValues$.has(memberName)) {
|
|
776
|
+
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
777
|
+
} else if (ogValue !== void 0) {
|
|
778
|
+
instance[memberName] = ogValue;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
});
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
// src/client/client-host-ref.ts
|
|
785
|
+
var getHostRef = (ref) => {
|
|
786
|
+
if (ref.__stencil__getHostRef) {
|
|
787
|
+
return ref.__stencil__getHostRef();
|
|
788
|
+
}
|
|
789
|
+
return void 0;
|
|
790
|
+
};
|
|
791
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
792
|
+
if (!hostRef) return;
|
|
793
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
794
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
795
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
796
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
797
|
+
}
|
|
798
|
+
};
|
|
799
|
+
var registerHost = (hostElement, cmpMeta) => {
|
|
800
|
+
const hostRef = {
|
|
801
|
+
$flags$: 0,
|
|
802
|
+
$hostElement$: hostElement,
|
|
803
|
+
$cmpMeta$: cmpMeta,
|
|
804
|
+
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
805
|
+
$serializerValues$: /* @__PURE__ */ new Map()
|
|
806
|
+
};
|
|
807
|
+
{
|
|
808
|
+
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
809
|
+
}
|
|
810
|
+
{
|
|
811
|
+
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
812
|
+
hostElement["s-p"] = [];
|
|
813
|
+
hostElement["s-rc"] = [];
|
|
814
|
+
}
|
|
815
|
+
{
|
|
816
|
+
hostRef.$fetchedCbList$ = [];
|
|
817
|
+
}
|
|
818
|
+
const ref = hostRef;
|
|
819
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
820
|
+
return ref;
|
|
821
|
+
};
|
|
822
|
+
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
823
|
+
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
824
|
+
|
|
825
|
+
// src/client/client-load-module.ts
|
|
826
|
+
var cmpModules = /* @__PURE__ */ new Map();
|
|
827
|
+
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
828
|
+
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
829
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
830
|
+
if (!bundleId) {
|
|
831
|
+
return void 0;
|
|
832
|
+
}
|
|
833
|
+
const module = cmpModules.get(bundleId) ;
|
|
834
|
+
if (module) {
|
|
835
|
+
return module[exportName];
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
839
|
+
const processMod = importedModule => {
|
|
840
|
+
cmpModules.set(bundleId, importedModule);
|
|
841
|
+
return importedModule[exportName];
|
|
842
|
+
}
|
|
843
|
+
switch(bundleId) {
|
|
844
|
+
|
|
845
|
+
case 'ds-alert-container':
|
|
846
|
+
return import(
|
|
847
|
+
/* webpackMode: "lazy" */
|
|
848
|
+
'./ds-alert-container.entry.js').then(processMod, consoleError);
|
|
849
|
+
case 'ds-app':
|
|
850
|
+
return import(
|
|
851
|
+
/* webpackMode: "lazy" */
|
|
852
|
+
'./ds-app.entry.js').then(processMod, consoleError);
|
|
853
|
+
case 'ds-badge':
|
|
854
|
+
return import(
|
|
855
|
+
/* webpackMode: "lazy" */
|
|
856
|
+
'./ds-badge.entry.js').then(processMod, consoleError);
|
|
857
|
+
case 'ds-card':
|
|
858
|
+
return import(
|
|
859
|
+
/* webpackMode: "lazy" */
|
|
860
|
+
'./ds-card.entry.js').then(processMod, consoleError);
|
|
861
|
+
case 'ds-card-actions':
|
|
862
|
+
return import(
|
|
863
|
+
/* webpackMode: "lazy" */
|
|
864
|
+
'./ds-card-actions.entry.js').then(processMod, consoleError);
|
|
865
|
+
case 'ds-card-content':
|
|
866
|
+
return import(
|
|
867
|
+
/* webpackMode: "lazy" */
|
|
868
|
+
'./ds-card-content.entry.js').then(processMod, consoleError);
|
|
869
|
+
case 'ds-card-header':
|
|
870
|
+
return import(
|
|
871
|
+
/* webpackMode: "lazy" */
|
|
872
|
+
'./ds-card-header.entry.js').then(processMod, consoleError);
|
|
873
|
+
case 'ds-card-subtitle':
|
|
874
|
+
return import(
|
|
875
|
+
/* webpackMode: "lazy" */
|
|
876
|
+
'./ds-card-subtitle.entry.js').then(processMod, consoleError);
|
|
877
|
+
case 'ds-card-title':
|
|
878
|
+
return import(
|
|
879
|
+
/* webpackMode: "lazy" */
|
|
880
|
+
'./ds-card-title.entry.js').then(processMod, consoleError);
|
|
881
|
+
case 'ds-checkbox':
|
|
882
|
+
return import(
|
|
883
|
+
/* webpackMode: "lazy" */
|
|
884
|
+
'./ds-checkbox.entry.js').then(processMod, consoleError);
|
|
885
|
+
case 'ds-checkbox-group':
|
|
886
|
+
return import(
|
|
887
|
+
/* webpackMode: "lazy" */
|
|
888
|
+
'./ds-checkbox-group.entry.js').then(processMod, consoleError);
|
|
889
|
+
case 'ds-content':
|
|
890
|
+
return import(
|
|
891
|
+
/* webpackMode: "lazy" */
|
|
892
|
+
'./ds-content.entry.js').then(processMod, consoleError);
|
|
893
|
+
case 'ds-divider':
|
|
894
|
+
return import(
|
|
895
|
+
/* webpackMode: "lazy" */
|
|
896
|
+
'./ds-divider.entry.js').then(processMod, consoleError);
|
|
897
|
+
case 'ds-input':
|
|
898
|
+
return import(
|
|
899
|
+
/* webpackMode: "lazy" */
|
|
900
|
+
'./ds-input.entry.js').then(processMod, consoleError);
|
|
901
|
+
case 'ds-item':
|
|
902
|
+
return import(
|
|
903
|
+
/* webpackMode: "lazy" */
|
|
904
|
+
'./ds-item.entry.js').then(processMod, consoleError);
|
|
905
|
+
case 'ds-label':
|
|
906
|
+
return import(
|
|
907
|
+
/* webpackMode: "lazy" */
|
|
908
|
+
'./ds-label.entry.js').then(processMod, consoleError);
|
|
909
|
+
case 'ds-list':
|
|
910
|
+
return import(
|
|
911
|
+
/* webpackMode: "lazy" */
|
|
912
|
+
'./ds-list.entry.js').then(processMod, consoleError);
|
|
913
|
+
case 'ds-logo':
|
|
914
|
+
return import(
|
|
915
|
+
/* webpackMode: "lazy" */
|
|
916
|
+
'./ds-logo.entry.js').then(processMod, consoleError);
|
|
917
|
+
case 'ds-notification':
|
|
918
|
+
return import(
|
|
919
|
+
/* webpackMode: "lazy" */
|
|
920
|
+
'./ds-notification.entry.js').then(processMod, consoleError);
|
|
921
|
+
case 'ds-number-input':
|
|
922
|
+
return import(
|
|
923
|
+
/* webpackMode: "lazy" */
|
|
924
|
+
'./ds-number-input.entry.js').then(processMod, consoleError);
|
|
925
|
+
case 'ds-pagination':
|
|
926
|
+
return import(
|
|
927
|
+
/* webpackMode: "lazy" */
|
|
928
|
+
'./ds-pagination.entry.js').then(processMod, consoleError);
|
|
929
|
+
case 'ds-progress-bar':
|
|
930
|
+
return import(
|
|
931
|
+
/* webpackMode: "lazy" */
|
|
932
|
+
'./ds-progress-bar.entry.js').then(processMod, consoleError);
|
|
933
|
+
case 'ds-radio':
|
|
934
|
+
return import(
|
|
935
|
+
/* webpackMode: "lazy" */
|
|
936
|
+
'./ds-radio.entry.js').then(processMod, consoleError);
|
|
937
|
+
case 'ds-radio-group':
|
|
938
|
+
return import(
|
|
939
|
+
/* webpackMode: "lazy" */
|
|
940
|
+
'./ds-radio-group.entry.js').then(processMod, consoleError);
|
|
941
|
+
case 'ds-segment':
|
|
942
|
+
return import(
|
|
943
|
+
/* webpackMode: "lazy" */
|
|
944
|
+
'./ds-segment.entry.js').then(processMod, consoleError);
|
|
945
|
+
case 'ds-segment-item':
|
|
946
|
+
return import(
|
|
947
|
+
/* webpackMode: "lazy" */
|
|
948
|
+
'./ds-segment-item.entry.js').then(processMod, consoleError);
|
|
949
|
+
case 'ds-shape':
|
|
950
|
+
return import(
|
|
951
|
+
/* webpackMode: "lazy" */
|
|
952
|
+
'./ds-shape.entry.js').then(processMod, consoleError);
|
|
953
|
+
case 'ds-snackbar':
|
|
954
|
+
return import(
|
|
955
|
+
/* webpackMode: "lazy" */
|
|
956
|
+
'./ds-snackbar.entry.js').then(processMod, consoleError);
|
|
957
|
+
case 'ds-stack':
|
|
958
|
+
return import(
|
|
959
|
+
/* webpackMode: "lazy" */
|
|
960
|
+
'./ds-stack.entry.js').then(processMod, consoleError);
|
|
961
|
+
case 'ds-tag':
|
|
962
|
+
return import(
|
|
963
|
+
/* webpackMode: "lazy" */
|
|
964
|
+
'./ds-tag.entry.js').then(processMod, consoleError);
|
|
965
|
+
case 'ds-tag-group':
|
|
966
|
+
return import(
|
|
967
|
+
/* webpackMode: "lazy" */
|
|
968
|
+
'./ds-tag-group.entry.js').then(processMod, consoleError);
|
|
969
|
+
case 'ds-text':
|
|
970
|
+
return import(
|
|
971
|
+
/* webpackMode: "lazy" */
|
|
972
|
+
'./ds-text.entry.js').then(processMod, consoleError);
|
|
973
|
+
case 'ds-textarea':
|
|
974
|
+
return import(
|
|
975
|
+
/* webpackMode: "lazy" */
|
|
976
|
+
'./ds-textarea.entry.js').then(processMod, consoleError);
|
|
977
|
+
case 'ds-toast':
|
|
978
|
+
return import(
|
|
979
|
+
/* webpackMode: "lazy" */
|
|
980
|
+
'./ds-toast.entry.js').then(processMod, consoleError);
|
|
981
|
+
case 'ds-toggle':
|
|
982
|
+
return import(
|
|
983
|
+
/* webpackMode: "lazy" */
|
|
984
|
+
'./ds-toggle.entry.js').then(processMod, consoleError);
|
|
985
|
+
case 'ds-accordion':
|
|
986
|
+
return import(
|
|
987
|
+
/* webpackMode: "lazy" */
|
|
988
|
+
'./ds-accordion.entry.js').then(processMod, consoleError);
|
|
989
|
+
case 'ds-heading':
|
|
990
|
+
return import(
|
|
991
|
+
/* webpackMode: "lazy" */
|
|
992
|
+
'./ds-heading.entry.js').then(processMod, consoleError);
|
|
993
|
+
case 'ds-button-group':
|
|
994
|
+
return import(
|
|
995
|
+
/* webpackMode: "lazy" */
|
|
996
|
+
'./ds-button-group.entry.js').then(processMod, consoleError);
|
|
997
|
+
case 'ds-button_2':
|
|
998
|
+
return import(
|
|
999
|
+
/* webpackMode: "lazy" */
|
|
1000
|
+
'./ds-button_2.entry.js').then(processMod, consoleError);
|
|
1001
|
+
case 'ds-icon_2':
|
|
1002
|
+
return import(
|
|
1003
|
+
/* webpackMode: "lazy" */
|
|
1004
|
+
'./ds-icon_2.entry.js').then(processMod, consoleError);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
return import(
|
|
1008
|
+
/* @vite-ignore */
|
|
1009
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
1010
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1011
|
+
/* webpackMode: "lazy" */
|
|
1012
|
+
`./${bundleId}.entry.js${""}`
|
|
1013
|
+
).then(
|
|
1014
|
+
(importedModule) => {
|
|
1015
|
+
{
|
|
1016
|
+
cmpModules.set(bundleId, importedModule);
|
|
1017
|
+
}
|
|
1018
|
+
return importedModule[exportName];
|
|
1019
|
+
},
|
|
1020
|
+
(e) => {
|
|
1021
|
+
consoleError(e, hostRef.$hostElement$);
|
|
1022
|
+
}
|
|
1023
|
+
);
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
// src/client/client-style.ts
|
|
1027
|
+
var styles = /* @__PURE__ */ new Map();
|
|
1028
|
+
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
1029
|
+
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
1030
|
+
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
1031
|
+
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
1032
|
+
"formAssociatedCallback",
|
|
1033
|
+
"formResetCallback",
|
|
1034
|
+
"formDisabledCallback",
|
|
1035
|
+
"formStateRestoreCallback"
|
|
1036
|
+
];
|
|
1037
|
+
var win = typeof window !== "undefined" ? window : {};
|
|
1038
|
+
var H = win.HTMLElement || class {
|
|
1039
|
+
};
|
|
1040
|
+
var plt = {
|
|
1041
|
+
$flags$: 0,
|
|
1042
|
+
$resourcesUrl$: "",
|
|
1043
|
+
jmp: (h2) => h2(),
|
|
1044
|
+
raf: (h2) => requestAnimationFrame(h2),
|
|
1045
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1046
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1047
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
1048
|
+
};
|
|
1049
|
+
var setPlatformHelpers = (helpers) => {
|
|
1050
|
+
Object.assign(plt, helpers);
|
|
1051
|
+
};
|
|
1052
|
+
var supportsShadow = BUILD.shadowDom;
|
|
1053
|
+
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
1054
|
+
var _a;
|
|
1055
|
+
let supportsListenerOptions2 = false;
|
|
1056
|
+
try {
|
|
1057
|
+
(_a = win.document) == null ? void 0 : _a.addEventListener(
|
|
1058
|
+
"e",
|
|
1059
|
+
null,
|
|
1060
|
+
Object.defineProperty({}, "passive", {
|
|
1061
|
+
get() {
|
|
1062
|
+
supportsListenerOptions2 = true;
|
|
1063
|
+
}
|
|
1064
|
+
})
|
|
1065
|
+
);
|
|
1066
|
+
} catch (e) {
|
|
1067
|
+
}
|
|
1068
|
+
return supportsListenerOptions2;
|
|
1069
|
+
})();
|
|
1070
|
+
var promiseResolve = (v) => Promise.resolve(v);
|
|
1071
|
+
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
1072
|
+
try {
|
|
1073
|
+
if (!win.document.adoptedStyleSheets) {
|
|
1074
|
+
return false;
|
|
1075
|
+
}
|
|
1076
|
+
new CSSStyleSheet();
|
|
1077
|
+
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
1078
|
+
} catch (e) {
|
|
1079
|
+
}
|
|
1080
|
+
return false;
|
|
1081
|
+
})() ;
|
|
1082
|
+
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
|
1083
|
+
var queuePending = false;
|
|
1084
|
+
var queueDomReads = [];
|
|
1085
|
+
var queueDomWrites = [];
|
|
1086
|
+
var queueTask = (queue, write) => (cb) => {
|
|
1087
|
+
queue.push(cb);
|
|
1088
|
+
if (!queuePending) {
|
|
1089
|
+
queuePending = true;
|
|
1090
|
+
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
1091
|
+
nextTick(flush);
|
|
1092
|
+
} else {
|
|
1093
|
+
plt.raf(flush);
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
var consume = (queue) => {
|
|
1098
|
+
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
1099
|
+
try {
|
|
1100
|
+
queue[i2](performance.now());
|
|
1101
|
+
} catch (e) {
|
|
1102
|
+
consoleError(e);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
queue.length = 0;
|
|
1106
|
+
};
|
|
1107
|
+
var flush = () => {
|
|
1108
|
+
consume(queueDomReads);
|
|
1109
|
+
{
|
|
1110
|
+
consume(queueDomWrites);
|
|
1111
|
+
if (queuePending = queueDomReads.length > 0) {
|
|
1112
|
+
plt.raf(flush);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
var nextTick = (cb) => promiseResolve().then(cb);
|
|
1117
|
+
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
1118
|
+
|
|
1119
|
+
// src/utils/style.ts
|
|
1120
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
1121
|
+
if (!supportsConstructableStylesheets) return void 0;
|
|
1122
|
+
const sheet = new CSSStyleSheet();
|
|
1123
|
+
sheet.replaceSync(styles2);
|
|
1124
|
+
return sheet;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
// src/utils/shadow-root.ts
|
|
1128
|
+
var globalStyleSheet;
|
|
1129
|
+
function createShadowRoot(cmpMeta) {
|
|
1130
|
+
var _a;
|
|
1131
|
+
const opts = { mode: "open" };
|
|
1132
|
+
const shadowRoot = this.attachShadow(opts);
|
|
1133
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
1134
|
+
if (globalStyleSheet) {
|
|
1135
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1136
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
1137
|
+
} else {
|
|
1138
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
1139
|
+
}
|
|
1140
|
+
} else if (!supportsConstructableStylesheets) {
|
|
1141
|
+
const styleElm = document.createElement("style");
|
|
1142
|
+
styleElm.innerHTML = globalStyles;
|
|
1143
|
+
shadowRoot.prepend(styleElm);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
var updateFallbackSlotVisibility = (elm) => {
|
|
1147
|
+
const childNodes = internalCall(elm, "childNodes");
|
|
1148
|
+
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
1149
|
+
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
1150
|
+
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
1151
|
+
if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
|
|
1152
|
+
slotNode.hidden = true;
|
|
1153
|
+
} else {
|
|
1154
|
+
slotNode.hidden = false;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
let i2 = 0;
|
|
1160
|
+
for (i2 = 0; i2 < childNodes.length; i2++) {
|
|
1161
|
+
const childNode = childNodes[i2];
|
|
1162
|
+
if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
|
|
1163
|
+
updateFallbackSlotVisibility(childNode);
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
};
|
|
1167
|
+
var getSlottedChildNodes = (childNodes) => {
|
|
1168
|
+
const result = [];
|
|
1169
|
+
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
1170
|
+
const slottedNode = childNodes[i2]["s-nr"] || void 0;
|
|
1171
|
+
if (slottedNode && slottedNode.isConnected) {
|
|
1172
|
+
result.push(slottedNode);
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
return result;
|
|
1176
|
+
};
|
|
1177
|
+
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
1178
|
+
let i2 = 0;
|
|
1179
|
+
let slottedNodes = [];
|
|
1180
|
+
let childNode;
|
|
1181
|
+
for (; i2 < childNodes.length; i2++) {
|
|
1182
|
+
childNode = childNodes[i2];
|
|
1183
|
+
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
1184
|
+
slottedNodes.push(childNode);
|
|
1185
|
+
if (typeof slotName !== "undefined") return slottedNodes;
|
|
1186
|
+
}
|
|
1187
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
|
1188
|
+
}
|
|
1189
|
+
return slottedNodes;
|
|
1190
|
+
}
|
|
1191
|
+
var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
|
|
1192
|
+
const childNodes = [];
|
|
1193
|
+
if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
|
|
1194
|
+
let node = slot;
|
|
1195
|
+
while (node = node.nextSibling) {
|
|
1196
|
+
if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
|
|
1197
|
+
}
|
|
1198
|
+
return childNodes;
|
|
1199
|
+
};
|
|
1200
|
+
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
1201
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1202
|
+
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
1203
|
+
return true;
|
|
1204
|
+
}
|
|
1205
|
+
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
1206
|
+
return true;
|
|
1207
|
+
}
|
|
1208
|
+
return false;
|
|
1209
|
+
}
|
|
1210
|
+
if (nodeToRelocate["s-sn"] === slotName) {
|
|
1211
|
+
return true;
|
|
1212
|
+
}
|
|
1213
|
+
return slotName === "";
|
|
1214
|
+
};
|
|
1215
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
1216
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
1217
|
+
return;
|
|
1218
|
+
}
|
|
1219
|
+
const slottedNodeLocation = document.createTextNode("");
|
|
1220
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
1221
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
1222
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
1223
|
+
const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
|
|
1224
|
+
{
|
|
1225
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
1226
|
+
}
|
|
1227
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
1228
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
1229
|
+
};
|
|
1230
|
+
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
|
1231
|
+
function patchSlotNode(node) {
|
|
1232
|
+
if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
|
|
1233
|
+
const assignedFactory = (elementsOnly) => (function(opts) {
|
|
1234
|
+
const toReturn = [];
|
|
1235
|
+
const slotName = this["s-sn"];
|
|
1236
|
+
if (opts == null ? void 0 : opts.flatten) {
|
|
1237
|
+
console.error(`
|
|
1238
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
1239
|
+
You can use \`.childNodes\` to nested slot fallback content.
|
|
1240
|
+
If you have a particular use case, please open an issue on the Stencil repo.
|
|
1241
|
+
`);
|
|
1242
|
+
}
|
|
1243
|
+
const parent = this["s-cr"].parentElement;
|
|
1244
|
+
const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
|
|
1245
|
+
slottedNodes.forEach((n) => {
|
|
1246
|
+
if (slotName === getSlotName(n)) {
|
|
1247
|
+
toReturn.push(n);
|
|
1248
|
+
}
|
|
1249
|
+
});
|
|
1250
|
+
if (elementsOnly) {
|
|
1251
|
+
return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
|
|
1252
|
+
}
|
|
1253
|
+
return toReturn;
|
|
1254
|
+
}).bind(node);
|
|
1255
|
+
node.assignedElements = assignedFactory(true);
|
|
1256
|
+
node.assignedNodes = assignedFactory(false);
|
|
1257
|
+
}
|
|
1258
|
+
function dispatchSlotChangeEvent(elm) {
|
|
1259
|
+
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
1260
|
+
}
|
|
1261
|
+
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
1262
|
+
var _a;
|
|
1263
|
+
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
1264
|
+
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
1265
|
+
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
1266
|
+
const childNodes = internalCall(parentHost, "childNodes");
|
|
1267
|
+
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
1268
|
+
return { slotNode, slotName };
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
// src/runtime/dom-extras.ts
|
|
1272
|
+
var patchPseudoShadowDom = (hostElementPrototype) => {
|
|
1273
|
+
patchCloneNode(hostElementPrototype);
|
|
1274
|
+
patchSlotAppendChild(hostElementPrototype);
|
|
1275
|
+
patchSlotAppend(hostElementPrototype);
|
|
1276
|
+
patchSlotPrepend(hostElementPrototype);
|
|
1277
|
+
patchSlotInsertAdjacentElement(hostElementPrototype);
|
|
1278
|
+
patchSlotInsertAdjacentHTML(hostElementPrototype);
|
|
1279
|
+
patchSlotInsertAdjacentText(hostElementPrototype);
|
|
1280
|
+
patchInsertBefore(hostElementPrototype);
|
|
1281
|
+
patchTextContent(hostElementPrototype);
|
|
1282
|
+
patchChildSlotNodes(hostElementPrototype);
|
|
1283
|
+
patchSlotRemoveChild(hostElementPrototype);
|
|
1284
|
+
};
|
|
1285
|
+
var patchCloneNode = (HostElementPrototype) => {
|
|
1286
|
+
if (HostElementPrototype.__cloneNode) return;
|
|
1287
|
+
const orgCloneNode = HostElementPrototype.__cloneNode = HostElementPrototype.cloneNode;
|
|
1288
|
+
HostElementPrototype.cloneNode = function(deep) {
|
|
1289
|
+
const srcNode = this;
|
|
1290
|
+
const isShadowDom = srcNode.shadowRoot && supportsShadow ;
|
|
1291
|
+
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
|
1292
|
+
if (!isShadowDom && deep) {
|
|
1293
|
+
let i2 = 0;
|
|
1294
|
+
let slotted, nonStencilNode;
|
|
1295
|
+
const stencilPrivates = [
|
|
1296
|
+
"s-id",
|
|
1297
|
+
"s-cr",
|
|
1298
|
+
"s-lr",
|
|
1299
|
+
"s-rc",
|
|
1300
|
+
"s-sc",
|
|
1301
|
+
"s-p",
|
|
1302
|
+
"s-cn",
|
|
1303
|
+
"s-sr",
|
|
1304
|
+
"s-sn",
|
|
1305
|
+
"s-hn",
|
|
1306
|
+
"s-ol",
|
|
1307
|
+
"s-nr",
|
|
1308
|
+
"s-si",
|
|
1309
|
+
"s-rf",
|
|
1310
|
+
"s-scs"
|
|
1311
|
+
];
|
|
1312
|
+
const childNodes = this.__childNodes || this.childNodes;
|
|
1313
|
+
for (; i2 < childNodes.length; i2++) {
|
|
1314
|
+
slotted = childNodes[i2]["s-nr"];
|
|
1315
|
+
nonStencilNode = stencilPrivates.every((privateField) => !childNodes[i2][privateField]);
|
|
1316
|
+
if (slotted) {
|
|
1317
|
+
if (clonedNode.__appendChild) {
|
|
1318
|
+
clonedNode.__appendChild(slotted.cloneNode(true));
|
|
1319
|
+
} else {
|
|
1320
|
+
clonedNode.appendChild(slotted.cloneNode(true));
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
if (nonStencilNode) {
|
|
1324
|
+
clonedNode.appendChild(childNodes[i2].cloneNode(true));
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
return clonedNode;
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
var patchSlotAppendChild = (HostElementPrototype) => {
|
|
1332
|
+
if (HostElementPrototype.__appendChild) return;
|
|
1333
|
+
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
1334
|
+
HostElementPrototype.appendChild = function(newChild) {
|
|
1335
|
+
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
1336
|
+
if (slotNode) {
|
|
1337
|
+
addSlotRelocateNode(newChild, slotNode);
|
|
1338
|
+
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
|
1339
|
+
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
|
1340
|
+
const parent = internalCall(appendAfter, "parentNode");
|
|
1341
|
+
const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
|
|
1342
|
+
dispatchSlotChangeEvent(slotNode);
|
|
1343
|
+
updateFallbackSlotVisibility(this);
|
|
1344
|
+
return insertedNode;
|
|
1345
|
+
}
|
|
1346
|
+
return this.__appendChild(newChild);
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
var patchSlotRemoveChild = (ElementPrototype) => {
|
|
1350
|
+
if (ElementPrototype.__removeChild) return;
|
|
1351
|
+
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
1352
|
+
ElementPrototype.removeChild = function(toRemove) {
|
|
1353
|
+
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
|
1354
|
+
const childNodes = this.__childNodes || this.childNodes;
|
|
1355
|
+
const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
|
|
1356
|
+
if (slotNode && toRemove.isConnected) {
|
|
1357
|
+
toRemove.remove();
|
|
1358
|
+
updateFallbackSlotVisibility(this);
|
|
1359
|
+
return;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
return this.__removeChild(toRemove);
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
var patchSlotPrepend = (HostElementPrototype) => {
|
|
1366
|
+
if (HostElementPrototype.__prepend) return;
|
|
1367
|
+
HostElementPrototype.__prepend = HostElementPrototype.prepend;
|
|
1368
|
+
HostElementPrototype.prepend = function(...newChildren) {
|
|
1369
|
+
newChildren.forEach((newChild) => {
|
|
1370
|
+
if (typeof newChild === "string") {
|
|
1371
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
1372
|
+
}
|
|
1373
|
+
const slotName = (newChild["s-sn"] = getSlotName(newChild)) || "";
|
|
1374
|
+
const childNodes = internalCall(this, "childNodes");
|
|
1375
|
+
const slotNode = getHostSlotNodes(childNodes, this.tagName, slotName)[0];
|
|
1376
|
+
if (slotNode) {
|
|
1377
|
+
addSlotRelocateNode(newChild, slotNode, true);
|
|
1378
|
+
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
|
1379
|
+
const appendAfter = slotChildNodes[0];
|
|
1380
|
+
const parent = internalCall(appendAfter, "parentNode");
|
|
1381
|
+
const toReturn = internalCall(parent, "insertBefore")(newChild, internalCall(appendAfter, "nextSibling"));
|
|
1382
|
+
dispatchSlotChangeEvent(slotNode);
|
|
1383
|
+
return toReturn;
|
|
1384
|
+
}
|
|
1385
|
+
if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
|
|
1386
|
+
newChild.hidden = true;
|
|
1387
|
+
}
|
|
1388
|
+
return HostElementPrototype.__prepend(newChild);
|
|
1389
|
+
});
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
var patchSlotAppend = (HostElementPrototype) => {
|
|
1393
|
+
if (HostElementPrototype.__append) return;
|
|
1394
|
+
HostElementPrototype.__append = HostElementPrototype.append;
|
|
1395
|
+
HostElementPrototype.append = function(...newChildren) {
|
|
1396
|
+
newChildren.forEach((newChild) => {
|
|
1397
|
+
if (typeof newChild === "string") {
|
|
1398
|
+
newChild = this.ownerDocument.createTextNode(newChild);
|
|
1399
|
+
}
|
|
1400
|
+
this.appendChild(newChild);
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
|
1405
|
+
if (HostElementPrototype.__insertAdjacentHTML) return;
|
|
1406
|
+
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
|
1407
|
+
HostElementPrototype.insertAdjacentHTML = function(position, text) {
|
|
1408
|
+
if (position !== "afterbegin" && position !== "beforeend") {
|
|
1409
|
+
return originalInsertAdjacentHtml.call(this, position, text);
|
|
1410
|
+
}
|
|
1411
|
+
const container = this.ownerDocument.createElement("_");
|
|
1412
|
+
let node;
|
|
1413
|
+
container.innerHTML = text;
|
|
1414
|
+
if (position === "afterbegin") {
|
|
1415
|
+
while (node = container.firstChild) {
|
|
1416
|
+
this.prepend(node);
|
|
1417
|
+
}
|
|
1418
|
+
} else if (position === "beforeend") {
|
|
1419
|
+
while (node = container.firstChild) {
|
|
1420
|
+
this.append(node);
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
var patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
|
1426
|
+
HostElementPrototype.insertAdjacentText = function(position, text) {
|
|
1427
|
+
this.insertAdjacentHTML(position, text);
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
var patchInsertBefore = (HostElementPrototype) => {
|
|
1431
|
+
if (HostElementPrototype.__insertBefore) return;
|
|
1432
|
+
const eleProto = HostElementPrototype;
|
|
1433
|
+
if (eleProto.__insertBefore) return;
|
|
1434
|
+
eleProto.__insertBefore = HostElementPrototype.insertBefore;
|
|
1435
|
+
HostElementPrototype.insertBefore = function(newChild, currentChild) {
|
|
1436
|
+
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
1437
|
+
const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
1438
|
+
if (slotNode) {
|
|
1439
|
+
let found = false;
|
|
1440
|
+
slottedNodes.forEach((childNode) => {
|
|
1441
|
+
if (childNode === currentChild || currentChild === null) {
|
|
1442
|
+
found = true;
|
|
1443
|
+
if (currentChild === null || slotName !== currentChild["s-sn"]) {
|
|
1444
|
+
this.appendChild(newChild);
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
if (slotName === currentChild["s-sn"]) {
|
|
1448
|
+
addSlotRelocateNode(newChild, slotNode);
|
|
1449
|
+
const parent = internalCall(currentChild, "parentNode");
|
|
1450
|
+
internalCall(parent, "insertBefore")(newChild, currentChild);
|
|
1451
|
+
dispatchSlotChangeEvent(slotNode);
|
|
1452
|
+
}
|
|
1453
|
+
return;
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
if (found) return newChild;
|
|
1457
|
+
}
|
|
1458
|
+
const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
|
|
1459
|
+
if (parentNode && !this.isSameNode(parentNode)) {
|
|
1460
|
+
return this.appendChild(newChild);
|
|
1461
|
+
}
|
|
1462
|
+
return this.__insertBefore(newChild, currentChild);
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
|
1466
|
+
if (HostElementPrototype.__insertAdjacentElement) return;
|
|
1467
|
+
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
|
1468
|
+
HostElementPrototype.insertAdjacentElement = function(position, element) {
|
|
1469
|
+
if (position !== "afterbegin" && position !== "beforeend") {
|
|
1470
|
+
return originalInsertAdjacentElement.call(this, position, element);
|
|
1471
|
+
}
|
|
1472
|
+
if (position === "afterbegin") {
|
|
1473
|
+
this.prepend(element);
|
|
1474
|
+
return element;
|
|
1475
|
+
} else if (position === "beforeend") {
|
|
1476
|
+
this.append(element);
|
|
1477
|
+
return element;
|
|
1478
|
+
}
|
|
1479
|
+
return element;
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
var patchTextContent = (hostElementPrototype) => {
|
|
1483
|
+
patchHostOriginalAccessor("textContent", hostElementPrototype);
|
|
1484
|
+
Object.defineProperty(hostElementPrototype, "textContent", {
|
|
1485
|
+
get: function() {
|
|
1486
|
+
let text = "";
|
|
1487
|
+
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
1488
|
+
childNodes.forEach((node) => text += node.textContent || "");
|
|
1489
|
+
return text;
|
|
1490
|
+
},
|
|
1491
|
+
set: function(value) {
|
|
1492
|
+
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
1493
|
+
childNodes.forEach((node) => {
|
|
1494
|
+
if (node["s-ol"]) node["s-ol"].remove();
|
|
1495
|
+
node.remove();
|
|
1496
|
+
});
|
|
1497
|
+
this.insertAdjacentHTML("beforeend", value);
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
};
|
|
1501
|
+
var patchChildSlotNodes = (elm) => {
|
|
1502
|
+
class FakeNodeList extends Array {
|
|
1503
|
+
item(n) {
|
|
1504
|
+
return this[n];
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
patchHostOriginalAccessor("children", elm);
|
|
1508
|
+
Object.defineProperty(elm, "children", {
|
|
1509
|
+
get() {
|
|
1510
|
+
return this.childNodes.filter((n) => n.nodeType === 1);
|
|
1511
|
+
}
|
|
1512
|
+
});
|
|
1513
|
+
Object.defineProperty(elm, "childElementCount", {
|
|
1514
|
+
get() {
|
|
1515
|
+
return this.children.length;
|
|
1516
|
+
}
|
|
1517
|
+
});
|
|
1518
|
+
patchHostOriginalAccessor("firstChild", elm);
|
|
1519
|
+
Object.defineProperty(elm, "firstChild", {
|
|
1520
|
+
get() {
|
|
1521
|
+
return this.childNodes[0];
|
|
1522
|
+
}
|
|
1523
|
+
});
|
|
1524
|
+
patchHostOriginalAccessor("lastChild", elm);
|
|
1525
|
+
Object.defineProperty(elm, "lastChild", {
|
|
1526
|
+
get() {
|
|
1527
|
+
return this.childNodes[this.childNodes.length - 1];
|
|
1528
|
+
}
|
|
1529
|
+
});
|
|
1530
|
+
patchHostOriginalAccessor("childNodes", elm);
|
|
1531
|
+
Object.defineProperty(elm, "childNodes", {
|
|
1532
|
+
get() {
|
|
1533
|
+
const result = new FakeNodeList();
|
|
1534
|
+
result.push(...getSlottedChildNodes(this.__childNodes));
|
|
1535
|
+
return result;
|
|
1536
|
+
}
|
|
1537
|
+
});
|
|
1538
|
+
};
|
|
1539
|
+
var patchParentNode = (node) => {
|
|
1540
|
+
if (!node || node.__parentNode) return;
|
|
1541
|
+
patchHostOriginalAccessor("parentNode", node);
|
|
1542
|
+
Object.defineProperty(node, "parentNode", {
|
|
1543
|
+
get: function() {
|
|
1544
|
+
var _a;
|
|
1545
|
+
return ((_a = this["s-ol"]) == null ? void 0 : _a.parentNode) || this.__parentNode;
|
|
1546
|
+
},
|
|
1547
|
+
set: function(value) {
|
|
1548
|
+
this.__parentNode = value;
|
|
1549
|
+
}
|
|
1550
|
+
});
|
|
1551
|
+
};
|
|
1552
|
+
var validElementPatches = ["children", "nextElementSibling", "previousElementSibling"];
|
|
1553
|
+
var validNodesPatches = [
|
|
1554
|
+
"childNodes",
|
|
1555
|
+
"firstChild",
|
|
1556
|
+
"lastChild",
|
|
1557
|
+
"nextSibling",
|
|
1558
|
+
"previousSibling",
|
|
1559
|
+
"textContent",
|
|
1560
|
+
"parentNode"
|
|
1561
|
+
];
|
|
1562
|
+
function patchHostOriginalAccessor(accessorName, node) {
|
|
1563
|
+
if (!globalThis.Node || !globalThis.Element) {
|
|
1564
|
+
return;
|
|
1565
|
+
}
|
|
1566
|
+
let accessor;
|
|
1567
|
+
if (validElementPatches.includes(accessorName)) {
|
|
1568
|
+
accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
|
|
1569
|
+
} else if (validNodesPatches.includes(accessorName)) {
|
|
1570
|
+
accessor = Object.getOwnPropertyDescriptor(Node.prototype, accessorName);
|
|
1571
|
+
}
|
|
1572
|
+
if (!accessor) {
|
|
1573
|
+
accessor = Object.getOwnPropertyDescriptor(node, accessorName);
|
|
1574
|
+
}
|
|
1575
|
+
if (accessor) Object.defineProperty(node, "__" + accessorName, accessor);
|
|
1576
|
+
}
|
|
1577
|
+
function internalCall(node, method) {
|
|
1578
|
+
if ("__" + method in node) {
|
|
1579
|
+
const toReturn = node["__" + method];
|
|
1580
|
+
if (typeof toReturn !== "function") return toReturn;
|
|
1581
|
+
return toReturn.bind(node);
|
|
1582
|
+
} else {
|
|
1583
|
+
if (typeof node[method] !== "function") return node[method];
|
|
1584
|
+
return node[method].bind(node);
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
var createTime = (fnName, tagName = "") => {
|
|
1588
|
+
{
|
|
1589
|
+
return () => {
|
|
1590
|
+
return;
|
|
1591
|
+
};
|
|
1592
|
+
}
|
|
1593
|
+
};
|
|
1594
|
+
var uniqueTime = (key, measureText) => {
|
|
1595
|
+
{
|
|
1596
|
+
return () => {
|
|
1597
|
+
return;
|
|
1598
|
+
};
|
|
1599
|
+
}
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
1603
|
+
function queryNonceMetaTagContent(doc) {
|
|
1604
|
+
var _a, _b, _c;
|
|
1605
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
// src/runtime/styles.ts
|
|
1609
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1610
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1611
|
+
let style = styles.get(scopeId2);
|
|
1612
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
1613
|
+
style = style || new CSSStyleSheet();
|
|
1614
|
+
if (typeof style === "string") {
|
|
1615
|
+
style = cssText;
|
|
1616
|
+
} else {
|
|
1617
|
+
style.replaceSync(cssText);
|
|
1618
|
+
}
|
|
1619
|
+
} else {
|
|
1620
|
+
style = cssText;
|
|
1621
|
+
}
|
|
1622
|
+
styles.set(scopeId2, style);
|
|
1623
|
+
};
|
|
1624
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1625
|
+
var _a, _b, _c;
|
|
1626
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
1627
|
+
const style = styles.get(scopeId2);
|
|
1628
|
+
if (!win.document) {
|
|
1629
|
+
return scopeId2;
|
|
1630
|
+
}
|
|
1631
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1632
|
+
if (style) {
|
|
1633
|
+
if (typeof style === "string") {
|
|
1634
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1635
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1636
|
+
let styleElm;
|
|
1637
|
+
if (!appliedStyles) {
|
|
1638
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1639
|
+
}
|
|
1640
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1641
|
+
styleElm = win.document.createElement("style");
|
|
1642
|
+
styleElm.textContent = style;
|
|
1643
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1644
|
+
if (nonce != null) {
|
|
1645
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1646
|
+
}
|
|
1647
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1648
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1649
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1650
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1651
|
+
styleContainerNode.insertBefore(
|
|
1652
|
+
styleElm,
|
|
1653
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1654
|
+
);
|
|
1655
|
+
} else if ("host" in styleContainerNode) {
|
|
1656
|
+
if (supportsConstructableStylesheets) {
|
|
1657
|
+
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
1658
|
+
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
1659
|
+
stylesheet.replaceSync(style);
|
|
1660
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1661
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
1662
|
+
} else {
|
|
1663
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1664
|
+
}
|
|
1665
|
+
} else {
|
|
1666
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1667
|
+
if (existingStyleContainer && true) {
|
|
1668
|
+
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
1669
|
+
} else {
|
|
1670
|
+
styleContainerNode.prepend(styleElm);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
} else {
|
|
1674
|
+
styleContainerNode.append(styleElm);
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1678
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1679
|
+
}
|
|
1680
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1681
|
+
styleElm.textContent += SLOT_FB_CSS;
|
|
1682
|
+
}
|
|
1683
|
+
if (appliedStyles) {
|
|
1684
|
+
appliedStyles.add(scopeId2);
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
} else {
|
|
1688
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1689
|
+
if (!appliedStyles) {
|
|
1690
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1691
|
+
}
|
|
1692
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1693
|
+
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
1694
|
+
let stylesheet;
|
|
1695
|
+
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
1696
|
+
stylesheet = style;
|
|
1697
|
+
} else {
|
|
1698
|
+
stylesheet = new currentWindow.CSSStyleSheet();
|
|
1699
|
+
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
1700
|
+
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1704
|
+
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
1705
|
+
} else {
|
|
1706
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
1707
|
+
}
|
|
1708
|
+
appliedStyles.add(scopeId2);
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
return scopeId2;
|
|
1713
|
+
};
|
|
1714
|
+
var attachStyles = (hostRef) => {
|
|
1715
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1716
|
+
const elm = hostRef.$hostElement$;
|
|
1717
|
+
const flags = cmpMeta.$flags$;
|
|
1718
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1719
|
+
const scopeId2 = addStyle(
|
|
1720
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1721
|
+
cmpMeta);
|
|
1722
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
1723
|
+
elm["s-sc"] = scopeId2;
|
|
1724
|
+
elm.classList.add(scopeId2 + "-h");
|
|
1725
|
+
}
|
|
1726
|
+
endAttachStyles();
|
|
1727
|
+
};
|
|
1728
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1729
|
+
var isComplexType = (o) => {
|
|
1730
|
+
o = typeof o;
|
|
1731
|
+
return o === "object" || o === "function";
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
// src/runtime/vdom/h.ts
|
|
1735
|
+
var h = (nodeName, vnodeData, ...children) => {
|
|
1736
|
+
if (typeof nodeName === "string") {
|
|
1737
|
+
nodeName = transformTag(nodeName);
|
|
1738
|
+
}
|
|
1739
|
+
let child = null;
|
|
1740
|
+
let key = null;
|
|
1741
|
+
let slotName = null;
|
|
1742
|
+
let simple = false;
|
|
1743
|
+
let lastSimple = false;
|
|
1744
|
+
const vNodeChildren = [];
|
|
1745
|
+
const walk = (c) => {
|
|
1746
|
+
for (let i2 = 0; i2 < c.length; i2++) {
|
|
1747
|
+
child = c[i2];
|
|
1748
|
+
if (Array.isArray(child)) {
|
|
1749
|
+
walk(child);
|
|
1750
|
+
} else if (child != null && typeof child !== "boolean") {
|
|
1751
|
+
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
1752
|
+
child = String(child);
|
|
1753
|
+
}
|
|
1754
|
+
if (simple && lastSimple) {
|
|
1755
|
+
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
1756
|
+
} else {
|
|
1757
|
+
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
|
1758
|
+
}
|
|
1759
|
+
lastSimple = simple;
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
};
|
|
1763
|
+
walk(children);
|
|
1764
|
+
if (vnodeData) {
|
|
1765
|
+
if (vnodeData.key) {
|
|
1766
|
+
key = vnodeData.key;
|
|
1767
|
+
}
|
|
1768
|
+
if (vnodeData.name) {
|
|
1769
|
+
slotName = vnodeData.name;
|
|
1770
|
+
}
|
|
1771
|
+
{
|
|
1772
|
+
const classData = vnodeData.className || vnodeData.class;
|
|
1773
|
+
if (classData) {
|
|
1774
|
+
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
if (typeof nodeName === "function") {
|
|
1779
|
+
return nodeName(
|
|
1780
|
+
vnodeData === null ? {} : vnodeData,
|
|
1781
|
+
vNodeChildren,
|
|
1782
|
+
vdomFnUtils
|
|
1783
|
+
);
|
|
1784
|
+
}
|
|
1785
|
+
const vnode = newVNode(nodeName, null);
|
|
1786
|
+
vnode.$attrs$ = vnodeData;
|
|
1787
|
+
if (vNodeChildren.length > 0) {
|
|
1788
|
+
vnode.$children$ = vNodeChildren;
|
|
1789
|
+
}
|
|
1790
|
+
{
|
|
1791
|
+
vnode.$key$ = key;
|
|
1792
|
+
}
|
|
1793
|
+
{
|
|
1794
|
+
vnode.$name$ = slotName;
|
|
1795
|
+
}
|
|
1796
|
+
return vnode;
|
|
1797
|
+
};
|
|
1798
|
+
var newVNode = (tag, text) => {
|
|
1799
|
+
const vnode = {
|
|
1800
|
+
$flags$: 0,
|
|
1801
|
+
$tag$: tag,
|
|
1802
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
1803
|
+
$text$: text != null ? text : null,
|
|
1804
|
+
$elm$: null,
|
|
1805
|
+
$children$: null
|
|
1806
|
+
};
|
|
1807
|
+
{
|
|
1808
|
+
vnode.$attrs$ = null;
|
|
1809
|
+
}
|
|
1810
|
+
{
|
|
1811
|
+
vnode.$key$ = null;
|
|
1812
|
+
}
|
|
1813
|
+
{
|
|
1814
|
+
vnode.$name$ = null;
|
|
1815
|
+
}
|
|
1816
|
+
return vnode;
|
|
1817
|
+
};
|
|
1818
|
+
var Host = {};
|
|
1819
|
+
var isHost = (node) => node && node.$tag$ === Host;
|
|
1820
|
+
var vdomFnUtils = {
|
|
1821
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
1822
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
|
1823
|
+
};
|
|
1824
|
+
var convertToPublic = (node) => ({
|
|
1825
|
+
vattrs: node.$attrs$,
|
|
1826
|
+
vchildren: node.$children$,
|
|
1827
|
+
vkey: node.$key$,
|
|
1828
|
+
vname: node.$name$,
|
|
1829
|
+
vtag: node.$tag$,
|
|
1830
|
+
vtext: node.$text$
|
|
1831
|
+
});
|
|
1832
|
+
var convertToPrivate = (node) => {
|
|
1833
|
+
if (typeof node.vtag === "function") {
|
|
1834
|
+
const vnodeData = { ...node.vattrs };
|
|
1835
|
+
if (node.vkey) {
|
|
1836
|
+
vnodeData.key = node.vkey;
|
|
1837
|
+
}
|
|
1838
|
+
if (node.vname) {
|
|
1839
|
+
vnodeData.name = node.vname;
|
|
1840
|
+
}
|
|
1841
|
+
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
|
1842
|
+
}
|
|
1843
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
1844
|
+
vnode.$attrs$ = node.vattrs;
|
|
1845
|
+
vnode.$children$ = node.vchildren;
|
|
1846
|
+
vnode.$key$ = node.vkey;
|
|
1847
|
+
vnode.$name$ = node.vname;
|
|
1848
|
+
return vnode;
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1851
|
+
// src/runtime/normalize-watchers.ts
|
|
1852
|
+
var normalizeWatchers = (raw) => {
|
|
1853
|
+
if (!raw) return void 0;
|
|
1854
|
+
const keys = Object.keys(raw);
|
|
1855
|
+
if (keys.length === 0) return void 0;
|
|
1856
|
+
let hasLegacy = false;
|
|
1857
|
+
for (const propName of keys) {
|
|
1858
|
+
if (hasLegacy) break;
|
|
1859
|
+
for (const h2 of raw[propName]) {
|
|
1860
|
+
if (typeof h2 === "string") {
|
|
1861
|
+
hasLegacy = true;
|
|
1862
|
+
break;
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
if (!hasLegacy) return raw;
|
|
1867
|
+
const out = {};
|
|
1868
|
+
for (const propName of keys) {
|
|
1869
|
+
out[propName] = raw[propName].map(
|
|
1870
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
1871
|
+
);
|
|
1872
|
+
}
|
|
1873
|
+
return out;
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
// src/runtime/parse-property-value.ts
|
|
1877
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1878
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
1879
|
+
if (propType & 4 /* Boolean */) {
|
|
1880
|
+
if (isFormAssociated && typeof propValue === "string") {
|
|
1881
|
+
return propValue === "" || !!propValue;
|
|
1882
|
+
} else {
|
|
1883
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
if (propType & 2 /* Number */) {
|
|
1887
|
+
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
1888
|
+
}
|
|
1889
|
+
if (propType & 1 /* String */) {
|
|
1890
|
+
return String(propValue);
|
|
1891
|
+
}
|
|
1892
|
+
return propValue;
|
|
1893
|
+
}
|
|
1894
|
+
return propValue;
|
|
1895
|
+
};
|
|
1896
|
+
var getElement = (ref) => {
|
|
1897
|
+
var _a;
|
|
1898
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
// src/runtime/event-emitter.ts
|
|
1902
|
+
var createEvent = (ref, name, flags) => {
|
|
1903
|
+
const elm = getElement(ref);
|
|
1904
|
+
return {
|
|
1905
|
+
emit: (detail) => {
|
|
1906
|
+
return emitEvent(elm, name, {
|
|
1907
|
+
bubbles: true,
|
|
1908
|
+
composed: true,
|
|
1909
|
+
cancelable: true,
|
|
1910
|
+
detail
|
|
1911
|
+
});
|
|
1912
|
+
}
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1915
|
+
var emitEvent = (elm, name, opts) => {
|
|
1916
|
+
const ev = plt.ce(name, opts);
|
|
1917
|
+
elm.dispatchEvent(ev);
|
|
1918
|
+
return ev;
|
|
1919
|
+
};
|
|
1920
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
1921
|
+
if (oldValue === newValue) {
|
|
1922
|
+
return;
|
|
1923
|
+
}
|
|
1924
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
1925
|
+
let ln = memberName.toLowerCase();
|
|
1926
|
+
if (memberName === "class") {
|
|
1927
|
+
const classList = elm.classList;
|
|
1928
|
+
const oldClasses = parseClassList(oldValue);
|
|
1929
|
+
let newClasses = parseClassList(newValue);
|
|
1930
|
+
{
|
|
1931
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
1932
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
1933
|
+
}
|
|
1934
|
+
} else if (memberName === "style") {
|
|
1935
|
+
{
|
|
1936
|
+
for (const prop in oldValue) {
|
|
1937
|
+
if (!newValue || newValue[prop] == null) {
|
|
1938
|
+
if (prop.includes("-")) {
|
|
1939
|
+
elm.style.removeProperty(prop);
|
|
1940
|
+
} else {
|
|
1941
|
+
elm.style[prop] = "";
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
for (const prop in newValue) {
|
|
1947
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
1948
|
+
if (prop.includes("-")) {
|
|
1949
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
1950
|
+
} else {
|
|
1951
|
+
elm.style[prop] = newValue[prop];
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
1956
|
+
if (newValue) {
|
|
1957
|
+
queueRefAttachment(newValue, elm);
|
|
1958
|
+
}
|
|
1959
|
+
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
1960
|
+
if (memberName[2] === "-") {
|
|
1961
|
+
memberName = memberName.slice(3);
|
|
1962
|
+
} else if (isMemberInElement(win, ln)) {
|
|
1963
|
+
memberName = ln.slice(2);
|
|
1964
|
+
} else {
|
|
1965
|
+
memberName = ln[2] + memberName.slice(3);
|
|
1966
|
+
}
|
|
1967
|
+
if (oldValue || newValue) {
|
|
1968
|
+
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
1969
|
+
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
1970
|
+
if (oldValue) {
|
|
1971
|
+
plt.rel(elm, memberName, oldValue, capture);
|
|
1972
|
+
}
|
|
1973
|
+
if (newValue) {
|
|
1974
|
+
plt.ael(elm, memberName, newValue, capture);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
} else if (memberName[0] === "a" && memberName.startsWith("attr:")) {
|
|
1978
|
+
const propName = memberName.slice(5);
|
|
1979
|
+
let attrName;
|
|
1980
|
+
{
|
|
1981
|
+
const hostRef = getHostRef(elm);
|
|
1982
|
+
if (hostRef && hostRef.$cmpMeta$ && hostRef.$cmpMeta$.$members$) {
|
|
1983
|
+
const memberMeta = hostRef.$cmpMeta$.$members$[propName];
|
|
1984
|
+
if (memberMeta && memberMeta[1]) {
|
|
1985
|
+
attrName = memberMeta[1];
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
if (!attrName) {
|
|
1990
|
+
attrName = propName.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
1991
|
+
}
|
|
1992
|
+
if (newValue == null || newValue === false) {
|
|
1993
|
+
if (newValue !== false || elm.getAttribute(attrName) === "") {
|
|
1994
|
+
elm.removeAttribute(attrName);
|
|
1995
|
+
}
|
|
1996
|
+
} else {
|
|
1997
|
+
elm.setAttribute(attrName, newValue === true ? "" : newValue);
|
|
1998
|
+
}
|
|
1999
|
+
return;
|
|
2000
|
+
} else if (memberName[0] === "p" && memberName.startsWith("prop:")) {
|
|
2001
|
+
const propName = memberName.slice(5);
|
|
2002
|
+
try {
|
|
2003
|
+
elm[propName] = newValue;
|
|
2004
|
+
} catch (e) {
|
|
2005
|
+
}
|
|
2006
|
+
return;
|
|
2007
|
+
} else {
|
|
2008
|
+
const isComplex = isComplexType(newValue);
|
|
2009
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
2010
|
+
try {
|
|
2011
|
+
if (!elm.tagName.includes("-")) {
|
|
2012
|
+
const n = newValue == null ? "" : newValue;
|
|
2013
|
+
if (memberName === "list") {
|
|
2014
|
+
isProp = false;
|
|
2015
|
+
} else if (oldValue == null || elm[memberName] !== n) {
|
|
2016
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
2017
|
+
elm[memberName] = n;
|
|
2018
|
+
} else {
|
|
2019
|
+
elm.setAttribute(memberName, n);
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
} else if (elm[memberName] !== newValue) {
|
|
2023
|
+
elm[memberName] = newValue;
|
|
2024
|
+
}
|
|
2025
|
+
} catch (e) {
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
let xlink = false;
|
|
2029
|
+
{
|
|
2030
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
|
2031
|
+
memberName = ln;
|
|
2032
|
+
xlink = true;
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
if (newValue == null || newValue === false) {
|
|
2036
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
2037
|
+
if (xlink) {
|
|
2038
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
2039
|
+
} else {
|
|
2040
|
+
elm.removeAttribute(memberName);
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
2044
|
+
newValue = newValue === true ? "" : newValue;
|
|
2045
|
+
if (xlink) {
|
|
2046
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
2047
|
+
} else {
|
|
2048
|
+
elm.setAttribute(memberName, newValue);
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2052
|
+
};
|
|
2053
|
+
var parseClassListRegex = /\s/;
|
|
2054
|
+
var parseClassList = (value) => {
|
|
2055
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
2056
|
+
value = value.baseVal;
|
|
2057
|
+
}
|
|
2058
|
+
if (!value || typeof value !== "string") {
|
|
2059
|
+
return [];
|
|
2060
|
+
}
|
|
2061
|
+
return value.split(parseClassListRegex);
|
|
2062
|
+
};
|
|
2063
|
+
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
2064
|
+
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
2065
|
+
|
|
2066
|
+
// src/runtime/vdom/update-element.ts
|
|
2067
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
2068
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
2069
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
2070
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
2071
|
+
{
|
|
2072
|
+
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
2073
|
+
if (!(memberName in newVnodeAttrs)) {
|
|
2074
|
+
setAccessor(
|
|
2075
|
+
elm,
|
|
2076
|
+
memberName,
|
|
2077
|
+
oldVnodeAttrs[memberName],
|
|
2078
|
+
void 0,
|
|
2079
|
+
isSvgMode2,
|
|
2080
|
+
newVnode.$flags$);
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
2085
|
+
setAccessor(
|
|
2086
|
+
elm,
|
|
2087
|
+
memberName,
|
|
2088
|
+
oldVnodeAttrs[memberName],
|
|
2089
|
+
newVnodeAttrs[memberName],
|
|
2090
|
+
isSvgMode2,
|
|
2091
|
+
newVnode.$flags$);
|
|
2092
|
+
}
|
|
2093
|
+
};
|
|
2094
|
+
function sortedAttrNames(attrNames) {
|
|
2095
|
+
return attrNames.includes("ref") ? (
|
|
2096
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
2097
|
+
[...attrNames.filter((attr) => attr !== "ref"), "ref"]
|
|
2098
|
+
) : (
|
|
2099
|
+
// no need to sort, return the original array
|
|
2100
|
+
attrNames
|
|
2101
|
+
);
|
|
2102
|
+
}
|
|
2103
|
+
var contentRef;
|
|
2104
|
+
var hostTagName;
|
|
2105
|
+
var useNativeShadowDom = false;
|
|
2106
|
+
var checkSlotFallbackVisibility = false;
|
|
2107
|
+
var checkSlotRelocate = false;
|
|
2108
|
+
var isSvgMode = false;
|
|
2109
|
+
var refCallbacksToRemove = [];
|
|
2110
|
+
var refCallbacksToAttach = [];
|
|
2111
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
2112
|
+
var _a;
|
|
2113
|
+
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
2114
|
+
let i2 = 0;
|
|
2115
|
+
let elm;
|
|
2116
|
+
let childNode;
|
|
2117
|
+
let oldVNode;
|
|
2118
|
+
if (!useNativeShadowDom) {
|
|
2119
|
+
checkSlotRelocate = true;
|
|
2120
|
+
if (newVNode2.$tag$ === "slot") {
|
|
2121
|
+
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
2122
|
+
// slot element has fallback content
|
|
2123
|
+
// still create an element that "mocks" the slot element
|
|
2124
|
+
2 /* isSlotFallback */
|
|
2125
|
+
) : (
|
|
2126
|
+
// slot element does not have fallback content
|
|
2127
|
+
// create an html comment we'll use to always reference
|
|
2128
|
+
// where actual slot content should sit next to
|
|
2129
|
+
1 /* isSlotReference */
|
|
2130
|
+
);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
if (newVNode2.$text$ != null) {
|
|
2134
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
2135
|
+
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
2136
|
+
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
2137
|
+
{
|
|
2138
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
2139
|
+
}
|
|
2140
|
+
} else {
|
|
2141
|
+
if (!isSvgMode) {
|
|
2142
|
+
isSvgMode = newVNode2.$tag$ === "svg";
|
|
2143
|
+
}
|
|
2144
|
+
if (!win.document) {
|
|
2145
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
2146
|
+
}
|
|
2147
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
2148
|
+
isSvgMode ? SVG_NS : HTML_NS,
|
|
2149
|
+
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
2150
|
+
) ;
|
|
2151
|
+
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
2152
|
+
isSvgMode = false;
|
|
2153
|
+
}
|
|
2154
|
+
{
|
|
2155
|
+
updateElement(null, newVNode2, isSvgMode);
|
|
2156
|
+
}
|
|
2157
|
+
if (newVNode2.$children$) {
|
|
2158
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
2159
|
+
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
2160
|
+
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
2161
|
+
if (childNode) {
|
|
2162
|
+
appendTarget.appendChild(childNode);
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
{
|
|
2167
|
+
if (newVNode2.$tag$ === "svg") {
|
|
2168
|
+
isSvgMode = false;
|
|
2169
|
+
} else if (elm.tagName === "foreignObject") {
|
|
2170
|
+
isSvgMode = true;
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
elm["s-hn"] = hostTagName;
|
|
2175
|
+
{
|
|
2176
|
+
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
2177
|
+
elm["s-sr"] = true;
|
|
2178
|
+
elm["s-cr"] = contentRef;
|
|
2179
|
+
elm["s-sn"] = newVNode2.$name$ || "";
|
|
2180
|
+
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
2181
|
+
patchSlotNode(elm);
|
|
2182
|
+
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
2183
|
+
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
2184
|
+
relocateToHostRoot(oldParentVNode.$elm$);
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
return elm;
|
|
2189
|
+
};
|
|
2190
|
+
var relocateToHostRoot = (parentElm) => {
|
|
2191
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2192
|
+
const host = parentElm.closest(hostTagName.toLowerCase());
|
|
2193
|
+
if (host != null) {
|
|
2194
|
+
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
|
2195
|
+
(ref) => ref["s-cr"]
|
|
2196
|
+
);
|
|
2197
|
+
const childNodeArray = Array.from(
|
|
2198
|
+
parentElm.__childNodes || parentElm.childNodes
|
|
2199
|
+
);
|
|
2200
|
+
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
|
2201
|
+
if (childNode["s-sh"] != null) {
|
|
2202
|
+
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
2203
|
+
childNode["s-sh"] = void 0;
|
|
2204
|
+
checkSlotRelocate = true;
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
2209
|
+
};
|
|
2210
|
+
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
2211
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2212
|
+
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
2213
|
+
if (parentElm["s-sr"]) {
|
|
2214
|
+
let node = parentElm;
|
|
2215
|
+
while (node = node.nextSibling) {
|
|
2216
|
+
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
2217
|
+
oldSlotChildNodes.push(node);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
2222
|
+
const childNode = oldSlotChildNodes[i2];
|
|
2223
|
+
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
2224
|
+
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
2225
|
+
childNode["s-ol"].remove();
|
|
2226
|
+
childNode["s-ol"] = void 0;
|
|
2227
|
+
childNode["s-sh"] = void 0;
|
|
2228
|
+
checkSlotRelocate = true;
|
|
2229
|
+
}
|
|
2230
|
+
if (recursive) {
|
|
2231
|
+
putBackInOriginalLocation(childNode, recursive);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
2235
|
+
};
|
|
2236
|
+
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2237
|
+
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
2238
|
+
let childNode;
|
|
2239
|
+
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2240
|
+
containerElm = containerElm.shadowRoot;
|
|
2241
|
+
}
|
|
2242
|
+
if (parentVNode.$tag$ === "template") {
|
|
2243
|
+
containerElm = containerElm.content;
|
|
2244
|
+
}
|
|
2245
|
+
for (; startIdx <= endIdx; ++startIdx) {
|
|
2246
|
+
if (vnodes[startIdx]) {
|
|
2247
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
2248
|
+
if (childNode) {
|
|
2249
|
+
vnodes[startIdx].$elm$ = childNode;
|
|
2250
|
+
insertBefore(containerElm, childNode, referenceNode(before) );
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
};
|
|
2255
|
+
var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
2256
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
2257
|
+
const vnode = vnodes[index];
|
|
2258
|
+
if (vnode) {
|
|
2259
|
+
const elm = vnode.$elm$;
|
|
2260
|
+
nullifyVNodeRefs(vnode);
|
|
2261
|
+
if (elm) {
|
|
2262
|
+
{
|
|
2263
|
+
checkSlotFallbackVisibility = true;
|
|
2264
|
+
if (elm["s-ol"]) {
|
|
2265
|
+
elm["s-ol"].remove();
|
|
2266
|
+
} else {
|
|
2267
|
+
putBackInOriginalLocation(elm, true);
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
elm.remove();
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
};
|
|
2275
|
+
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
|
|
2276
|
+
let oldStartIdx = 0;
|
|
2277
|
+
let newStartIdx = 0;
|
|
2278
|
+
let idxInOld = 0;
|
|
2279
|
+
let i2 = 0;
|
|
2280
|
+
let oldEndIdx = oldCh.length - 1;
|
|
2281
|
+
let oldStartVnode = oldCh[0];
|
|
2282
|
+
let oldEndVnode = oldCh[oldEndIdx];
|
|
2283
|
+
let newEndIdx = newCh.length - 1;
|
|
2284
|
+
let newStartVnode = newCh[0];
|
|
2285
|
+
let newEndVnode = newCh[newEndIdx];
|
|
2286
|
+
let node;
|
|
2287
|
+
let elmToMove;
|
|
2288
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
2289
|
+
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
2290
|
+
if (oldStartVnode == null) {
|
|
2291
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2292
|
+
} else if (oldEndVnode == null) {
|
|
2293
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2294
|
+
} else if (newStartVnode == null) {
|
|
2295
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2296
|
+
} else if (newEndVnode == null) {
|
|
2297
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2298
|
+
} else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
2299
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
2300
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2301
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2302
|
+
} else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
2303
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
2304
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2305
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2306
|
+
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
2307
|
+
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
2308
|
+
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
2309
|
+
}
|
|
2310
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
2311
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
2312
|
+
oldStartVnode = oldCh[++oldStartIdx];
|
|
2313
|
+
newEndVnode = newCh[--newEndIdx];
|
|
2314
|
+
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
2315
|
+
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
2316
|
+
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
2317
|
+
}
|
|
2318
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
2319
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
2320
|
+
oldEndVnode = oldCh[--oldEndIdx];
|
|
2321
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2322
|
+
} else {
|
|
2323
|
+
idxInOld = -1;
|
|
2324
|
+
{
|
|
2325
|
+
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
|
2326
|
+
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
|
2327
|
+
idxInOld = i2;
|
|
2328
|
+
break;
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
if (idxInOld >= 0) {
|
|
2333
|
+
elmToMove = oldCh[idxInOld];
|
|
2334
|
+
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
2335
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
|
2336
|
+
} else {
|
|
2337
|
+
patch(elmToMove, newStartVnode, isInitialRender);
|
|
2338
|
+
oldCh[idxInOld] = void 0;
|
|
2339
|
+
node = elmToMove.$elm$;
|
|
2340
|
+
}
|
|
2341
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2342
|
+
} else {
|
|
2343
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
2344
|
+
newStartVnode = newCh[++newStartIdx];
|
|
2345
|
+
}
|
|
2346
|
+
if (node) {
|
|
2347
|
+
{
|
|
2348
|
+
insertBefore(
|
|
2349
|
+
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
2350
|
+
node,
|
|
2351
|
+
referenceNode(oldStartVnode.$elm$)
|
|
2352
|
+
);
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
if (oldStartIdx > oldEndIdx) {
|
|
2358
|
+
addVnodes(
|
|
2359
|
+
parentElm,
|
|
2360
|
+
newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
|
|
2361
|
+
newVNode2,
|
|
2362
|
+
newCh,
|
|
2363
|
+
newStartIdx,
|
|
2364
|
+
newEndIdx
|
|
2365
|
+
);
|
|
2366
|
+
} else if (newStartIdx > newEndIdx) {
|
|
2367
|
+
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
2368
|
+
}
|
|
2369
|
+
};
|
|
2370
|
+
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
2371
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
2372
|
+
if (leftVNode.$tag$ === "slot") {
|
|
2373
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
2374
|
+
}
|
|
2375
|
+
if (!isInitialRender) {
|
|
2376
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
2377
|
+
}
|
|
2378
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
2379
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
2380
|
+
}
|
|
2381
|
+
return true;
|
|
2382
|
+
}
|
|
2383
|
+
return false;
|
|
2384
|
+
};
|
|
2385
|
+
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
2386
|
+
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
2387
|
+
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
2388
|
+
const oldChildren = oldVNode.$children$;
|
|
2389
|
+
const newChildren = newVNode2.$children$;
|
|
2390
|
+
const tag = newVNode2.$tag$;
|
|
2391
|
+
const text = newVNode2.$text$;
|
|
2392
|
+
let defaultHolder;
|
|
2393
|
+
if (text == null) {
|
|
2394
|
+
{
|
|
2395
|
+
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
2396
|
+
}
|
|
2397
|
+
{
|
|
2398
|
+
if (tag === "slot" && !useNativeShadowDom) {
|
|
2399
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
2400
|
+
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
2401
|
+
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
2405
|
+
}
|
|
2406
|
+
if (oldChildren !== null && newChildren !== null) {
|
|
2407
|
+
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
2408
|
+
} else if (newChildren !== null) {
|
|
2409
|
+
if (oldVNode.$text$ !== null) {
|
|
2410
|
+
elm.textContent = "";
|
|
2411
|
+
}
|
|
2412
|
+
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
2413
|
+
} else if (
|
|
2414
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
2415
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
2416
|
+
) {
|
|
2417
|
+
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
2418
|
+
} else ;
|
|
2419
|
+
if (isSvgMode && tag === "svg") {
|
|
2420
|
+
isSvgMode = false;
|
|
2421
|
+
}
|
|
2422
|
+
} else if ((defaultHolder = elm["s-cr"])) {
|
|
2423
|
+
defaultHolder.parentNode.textContent = text;
|
|
2424
|
+
} else if (oldVNode.$text$ !== text) {
|
|
2425
|
+
elm.data = text;
|
|
2426
|
+
}
|
|
2427
|
+
};
|
|
2428
|
+
var relocateNodes = [];
|
|
2429
|
+
var markSlotContentForRelocation = (elm) => {
|
|
2430
|
+
let node;
|
|
2431
|
+
let hostContentNodes;
|
|
2432
|
+
let j;
|
|
2433
|
+
const children = elm.__childNodes || elm.childNodes;
|
|
2434
|
+
for (const childNode of children) {
|
|
2435
|
+
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
2436
|
+
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
2437
|
+
const slotName = childNode["s-sn"];
|
|
2438
|
+
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
2439
|
+
node = hostContentNodes[j];
|
|
2440
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
|
2441
|
+
if (isNodeLocatedInSlot(node, slotName)) {
|
|
2442
|
+
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2443
|
+
checkSlotFallbackVisibility = true;
|
|
2444
|
+
node["s-sn"] = node["s-sn"] || slotName;
|
|
2445
|
+
if (relocateNodeData) {
|
|
2446
|
+
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
|
2447
|
+
relocateNodeData.$slotRefNode$ = childNode;
|
|
2448
|
+
} else {
|
|
2449
|
+
node["s-sh"] = childNode["s-hn"];
|
|
2450
|
+
relocateNodes.push({
|
|
2451
|
+
$slotRefNode$: childNode,
|
|
2452
|
+
$nodeToRelocate$: node
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
if (node["s-sr"]) {
|
|
2456
|
+
relocateNodes.map((relocateNode) => {
|
|
2457
|
+
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
2458
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2459
|
+
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
2460
|
+
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
});
|
|
2464
|
+
}
|
|
2465
|
+
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
2466
|
+
relocateNodes.push({
|
|
2467
|
+
$nodeToRelocate$: node
|
|
2468
|
+
});
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
2474
|
+
markSlotContentForRelocation(childNode);
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
};
|
|
2478
|
+
var nullifyVNodeRefs = (vNode) => {
|
|
2479
|
+
{
|
|
2480
|
+
if (vNode.$attrs$ && vNode.$attrs$.ref) {
|
|
2481
|
+
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
2482
|
+
}
|
|
2483
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
2484
|
+
}
|
|
2485
|
+
};
|
|
2486
|
+
var queueRefAttachment = (refCallback, elm) => {
|
|
2487
|
+
{
|
|
2488
|
+
refCallbacksToAttach.push(() => refCallback(elm));
|
|
2489
|
+
}
|
|
2490
|
+
};
|
|
2491
|
+
var flushQueuedRefCallbacks = () => {
|
|
2492
|
+
{
|
|
2493
|
+
refCallbacksToRemove.forEach((cb) => cb());
|
|
2494
|
+
refCallbacksToRemove.length = 0;
|
|
2495
|
+
refCallbacksToAttach.forEach((cb) => cb());
|
|
2496
|
+
refCallbacksToAttach.length = 0;
|
|
2497
|
+
}
|
|
2498
|
+
};
|
|
2499
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
2500
|
+
{
|
|
2501
|
+
if (typeof newNode["s-sn"] === "string") {
|
|
2502
|
+
if (parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
|
2503
|
+
patchParentNode(newNode);
|
|
2504
|
+
}
|
|
2505
|
+
parent.insertBefore(newNode, reference);
|
|
2506
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
2507
|
+
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
2508
|
+
return newNode;
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
if (parent.__insertBefore) {
|
|
2512
|
+
return parent.__insertBefore(newNode, reference);
|
|
2513
|
+
} else {
|
|
2514
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
2515
|
+
}
|
|
2516
|
+
};
|
|
2517
|
+
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
2518
|
+
var _a, _b, _c, _d, _e;
|
|
2519
|
+
const hostElm = hostRef.$hostElement$;
|
|
2520
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
2521
|
+
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
2522
|
+
const isHostElement = isHost(renderFnResults);
|
|
2523
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
2524
|
+
hostTagName = hostElm.tagName;
|
|
2525
|
+
if (cmpMeta.$attrsToReflect$) {
|
|
2526
|
+
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
2527
|
+
cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
|
|
2528
|
+
{
|
|
2529
|
+
rootVnode.$attrs$[attribute] = hostElm[propName];
|
|
2530
|
+
}
|
|
2531
|
+
});
|
|
2532
|
+
}
|
|
2533
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
2534
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
2535
|
+
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
|
2536
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
rootVnode.$tag$ = null;
|
|
2541
|
+
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2542
|
+
hostRef.$vnode$ = rootVnode;
|
|
2543
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
2544
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
2545
|
+
{
|
|
2546
|
+
contentRef = hostElm["s-cr"];
|
|
2547
|
+
checkSlotFallbackVisibility = false;
|
|
2548
|
+
}
|
|
2549
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2550
|
+
{
|
|
2551
|
+
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2552
|
+
if (checkSlotRelocate) {
|
|
2553
|
+
markSlotContentForRelocation(rootVnode.$elm$);
|
|
2554
|
+
for (const relocateData of relocateNodes) {
|
|
2555
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
2556
|
+
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
2557
|
+
const orgLocationNode = win.document.createTextNode("");
|
|
2558
|
+
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
2559
|
+
insertBefore(
|
|
2560
|
+
nodeToRelocate.parentNode,
|
|
2561
|
+
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
2562
|
+
nodeToRelocate,
|
|
2563
|
+
isInitialLoad
|
|
2564
|
+
);
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
for (const relocateData of relocateNodes) {
|
|
2568
|
+
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
2569
|
+
const slotRefNode = relocateData.$slotRefNode$;
|
|
2570
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
2571
|
+
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
2572
|
+
}
|
|
2573
|
+
if (slotRefNode) {
|
|
2574
|
+
const parentNodeRef = slotRefNode.parentNode;
|
|
2575
|
+
let insertBeforeNode = slotRefNode.nextSibling;
|
|
2576
|
+
if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
2577
|
+
let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
|
|
2578
|
+
while (orgLocationNode) {
|
|
2579
|
+
let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
|
|
2580
|
+
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
2581
|
+
refNode = refNode.nextSibling;
|
|
2582
|
+
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
2583
|
+
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
2584
|
+
}
|
|
2585
|
+
if (!refNode || !refNode["s-nr"]) {
|
|
2586
|
+
insertBeforeNode = refNode;
|
|
2587
|
+
break;
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
orgLocationNode = orgLocationNode.previousSibling;
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
|
|
2594
|
+
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
2595
|
+
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
2596
|
+
if (nodeToRelocate !== insertBeforeNode) {
|
|
2597
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
|
|
2598
|
+
if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
|
|
2599
|
+
const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
|
|
2600
|
+
textNode["s-hn"] = nodeToRelocate["s-hn"];
|
|
2601
|
+
textNode["s-sn"] = nodeToRelocate["s-sn"];
|
|
2602
|
+
textNode["s-sh"] = nodeToRelocate["s-sh"];
|
|
2603
|
+
textNode["s-sr"] = nodeToRelocate["s-sr"];
|
|
2604
|
+
textNode["s-ol"] = nodeToRelocate["s-ol"];
|
|
2605
|
+
textNode["s-ol"]["s-nr"] = textNode;
|
|
2606
|
+
insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
|
|
2607
|
+
nodeToRelocate.parentNode.removeChild(nodeToRelocate);
|
|
2608
|
+
}
|
|
2609
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
2610
|
+
nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
2615
|
+
} else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
2616
|
+
nodeToRelocate.hidden = true;
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
if (checkSlotFallbackVisibility) {
|
|
2621
|
+
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
2622
|
+
}
|
|
2623
|
+
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
2624
|
+
relocateNodes.length = 0;
|
|
2625
|
+
}
|
|
2626
|
+
if (!useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
|
|
2627
|
+
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
2628
|
+
for (const childNode of children) {
|
|
2629
|
+
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
2630
|
+
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
2631
|
+
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
2632
|
+
}
|
|
2633
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
2634
|
+
childNode.hidden = true;
|
|
2635
|
+
} else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
|
|
2636
|
+
const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
|
|
2637
|
+
textCommentNode["s-sn"] = childNode["s-sn"];
|
|
2638
|
+
insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
|
|
2639
|
+
childNode.parentNode.removeChild(childNode);
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
contentRef = void 0;
|
|
2645
|
+
flushQueuedRefCallbacks();
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
// src/runtime/update-component.ts
|
|
2649
|
+
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
2650
|
+
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
2651
|
+
const index = ancestorComponent["s-p"].push(
|
|
2652
|
+
new Promise(
|
|
2653
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
2654
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
2655
|
+
r();
|
|
2656
|
+
}
|
|
2657
|
+
)
|
|
2658
|
+
);
|
|
2659
|
+
}
|
|
2660
|
+
};
|
|
2661
|
+
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
2662
|
+
{
|
|
2663
|
+
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
2664
|
+
}
|
|
2665
|
+
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
2666
|
+
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
2667
|
+
return;
|
|
2668
|
+
}
|
|
2669
|
+
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
2670
|
+
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
2671
|
+
if (isInitialLoad) {
|
|
2672
|
+
queueMicrotask(() => {
|
|
2673
|
+
dispatch();
|
|
2674
|
+
});
|
|
2675
|
+
return;
|
|
2676
|
+
}
|
|
2677
|
+
return writeTask(dispatch) ;
|
|
2678
|
+
};
|
|
2679
|
+
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
2680
|
+
const elm = hostRef.$hostElement$;
|
|
2681
|
+
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
|
2682
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2683
|
+
if (!instance) {
|
|
2684
|
+
throw new Error(
|
|
2685
|
+
`Can't render component <${elm.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`
|
|
2686
|
+
);
|
|
2687
|
+
}
|
|
2688
|
+
let maybePromise;
|
|
2689
|
+
if (isInitialLoad) {
|
|
2690
|
+
{
|
|
2691
|
+
if (hostRef.$deferredConnectedCallback$) {
|
|
2692
|
+
hostRef.$deferredConnectedCallback$ = false;
|
|
2693
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
2694
|
+
}
|
|
2695
|
+
{
|
|
2696
|
+
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
2697
|
+
if (hostRef.$queuedListeners$) {
|
|
2698
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
2699
|
+
hostRef.$queuedListeners$ = void 0;
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2703
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
2707
|
+
} else {
|
|
2708
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
2709
|
+
}
|
|
2710
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
2711
|
+
endSchedule();
|
|
2712
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
2713
|
+
};
|
|
2714
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
|
|
2715
|
+
console.error(err);
|
|
2716
|
+
fn();
|
|
2717
|
+
}) : fn();
|
|
2718
|
+
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
2719
|
+
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
2720
|
+
var _a;
|
|
2721
|
+
const elm = hostRef.$hostElement$;
|
|
2722
|
+
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
2723
|
+
const rc = elm["s-rc"];
|
|
2724
|
+
if (isInitialLoad) {
|
|
2725
|
+
attachStyles(hostRef);
|
|
2726
|
+
}
|
|
2727
|
+
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
2728
|
+
{
|
|
2729
|
+
callRender(hostRef, instance, elm, isInitialLoad);
|
|
2730
|
+
}
|
|
2731
|
+
if (rc) {
|
|
2732
|
+
rc.map((cb) => cb());
|
|
2733
|
+
elm["s-rc"] = void 0;
|
|
2734
|
+
}
|
|
2735
|
+
endRender();
|
|
2736
|
+
endUpdate();
|
|
2737
|
+
{
|
|
2738
|
+
const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
|
|
2739
|
+
const postUpdate = () => postUpdateComponent(hostRef);
|
|
2740
|
+
if (childrenPromises.length === 0) {
|
|
2741
|
+
postUpdate();
|
|
2742
|
+
} else {
|
|
2743
|
+
Promise.all(childrenPromises).then(postUpdate).catch(postUpdate);
|
|
2744
|
+
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
2745
|
+
childrenPromises.length = 0;
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
};
|
|
2749
|
+
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
2750
|
+
try {
|
|
2751
|
+
instance = instance.render() ;
|
|
2752
|
+
{
|
|
2753
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
2754
|
+
}
|
|
2755
|
+
{
|
|
2756
|
+
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
2757
|
+
}
|
|
2758
|
+
{
|
|
2759
|
+
{
|
|
2760
|
+
{
|
|
2761
|
+
renderVdom(hostRef, instance, isInitialLoad);
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
} catch (e) {
|
|
2766
|
+
consoleError(e, hostRef.$hostElement$);
|
|
2767
|
+
}
|
|
2768
|
+
return null;
|
|
2769
|
+
};
|
|
2770
|
+
var postUpdateComponent = (hostRef) => {
|
|
2771
|
+
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
2772
|
+
const elm = hostRef.$hostElement$;
|
|
2773
|
+
const endPostUpdate = createTime("postUpdate", tagName);
|
|
2774
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2775
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2776
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
2777
|
+
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
2778
|
+
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
2779
|
+
{
|
|
2780
|
+
addHydratedFlag(elm);
|
|
2781
|
+
}
|
|
2782
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
2783
|
+
endPostUpdate();
|
|
2784
|
+
{
|
|
2785
|
+
hostRef.$onReadyResolve$(elm);
|
|
2786
|
+
if (!ancestorComponent) {
|
|
2787
|
+
appDidLoad();
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
} else {
|
|
2791
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
2792
|
+
endPostUpdate();
|
|
2793
|
+
}
|
|
2794
|
+
{
|
|
2795
|
+
hostRef.$onInstanceResolve$(elm);
|
|
2796
|
+
}
|
|
2797
|
+
{
|
|
2798
|
+
if (hostRef.$onRenderResolve$) {
|
|
2799
|
+
hostRef.$onRenderResolve$();
|
|
2800
|
+
hostRef.$onRenderResolve$ = void 0;
|
|
2801
|
+
}
|
|
2802
|
+
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
2803
|
+
nextTick(() => scheduleUpdate(hostRef, false));
|
|
2804
|
+
}
|
|
2805
|
+
hostRef.$flags$ &= -517;
|
|
2806
|
+
}
|
|
2807
|
+
};
|
|
2808
|
+
var appDidLoad = (who) => {
|
|
2809
|
+
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
2810
|
+
};
|
|
2811
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
2812
|
+
if (instance && instance[method]) {
|
|
2813
|
+
try {
|
|
2814
|
+
return instance[method](arg);
|
|
2815
|
+
} catch (e) {
|
|
2816
|
+
consoleError(e, elm);
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2819
|
+
return void 0;
|
|
2820
|
+
};
|
|
2821
|
+
var addHydratedFlag = (elm) => {
|
|
2822
|
+
var _a;
|
|
2823
|
+
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
// src/runtime/set-value.ts
|
|
2827
|
+
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
2828
|
+
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
2829
|
+
const hostRef = getHostRef(ref);
|
|
2830
|
+
if (!hostRef) {
|
|
2831
|
+
return;
|
|
2832
|
+
}
|
|
2833
|
+
if (!hostRef) {
|
|
2834
|
+
throw new Error(
|
|
2835
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
2836
|
+
);
|
|
2837
|
+
}
|
|
2838
|
+
const elm = hostRef.$hostElement$ ;
|
|
2839
|
+
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
2840
|
+
const flags = hostRef.$flags$;
|
|
2841
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
2842
|
+
newVal = parsePropertyValue(
|
|
2843
|
+
newVal,
|
|
2844
|
+
cmpMeta.$members$[propName][0],
|
|
2845
|
+
!!(cmpMeta.$flags$ & 64 /* formAssociated */)
|
|
2846
|
+
);
|
|
2847
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
2848
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
2849
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
2850
|
+
hostRef.$instanceValues$.set(propName, newVal);
|
|
2851
|
+
if (cmpMeta.$watchers$) {
|
|
2852
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
2853
|
+
if (watchMethods) {
|
|
2854
|
+
watchMethods.map((watcher) => {
|
|
2855
|
+
try {
|
|
2856
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
2857
|
+
if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
|
|
2858
|
+
if (!instance) {
|
|
2859
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
2860
|
+
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
2861
|
+
});
|
|
2862
|
+
} else {
|
|
2863
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
} catch (e) {
|
|
2867
|
+
consoleError(e, elm);
|
|
2868
|
+
}
|
|
2869
|
+
});
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
if (flags & 2 /* hasRendered */) {
|
|
2873
|
+
if (instance.componentShouldUpdate) {
|
|
2874
|
+
const shouldUpdate = instance.componentShouldUpdate(newVal, oldVal, propName);
|
|
2875
|
+
if (shouldUpdate === false && !(flags & 16 /* isQueuedForUpdate */)) {
|
|
2876
|
+
return;
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
if (!(flags & 16 /* isQueuedForUpdate */)) {
|
|
2880
|
+
scheduleUpdate(hostRef, false);
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
};
|
|
2885
|
+
|
|
2886
|
+
// src/runtime/proxy-component.ts
|
|
2887
|
+
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2888
|
+
var _a, _b;
|
|
2889
|
+
const prototype = Cstr.prototype;
|
|
2890
|
+
if (cmpMeta.$flags$ & 64 /* formAssociated */ && flags & 1 /* isElementConstructor */) {
|
|
2891
|
+
FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach((cbName) => {
|
|
2892
|
+
Object.defineProperty(prototype, cbName, {
|
|
2893
|
+
value(...args) {
|
|
2894
|
+
var _a2;
|
|
2895
|
+
const hostRef = getHostRef(this);
|
|
2896
|
+
const instance = hostRef == null ? void 0 : hostRef.$lazyInstance$ ;
|
|
2897
|
+
if (!instance) {
|
|
2898
|
+
(_a2 = hostRef == null ? void 0 : hostRef.$onReadyPromise$) == null ? void 0 : _a2.then((asyncInstance) => {
|
|
2899
|
+
const cb = asyncInstance[cbName];
|
|
2900
|
+
typeof cb === "function" && cb.call(asyncInstance, ...args);
|
|
2901
|
+
});
|
|
2902
|
+
} else {
|
|
2903
|
+
const cb = instance[cbName] ;
|
|
2904
|
+
typeof cb === "function" && cb.call(instance, ...args);
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
});
|
|
2908
|
+
});
|
|
2909
|
+
}
|
|
2910
|
+
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
2911
|
+
{
|
|
2912
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
2913
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
2914
|
+
}
|
|
2915
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
2916
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
2917
|
+
}
|
|
2918
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
2919
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2923
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
2924
|
+
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
2925
|
+
const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
|
|
2926
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
2927
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
2928
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
2929
|
+
Object.defineProperty(prototype, memberName, {
|
|
2930
|
+
get() {
|
|
2931
|
+
{
|
|
2932
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
2933
|
+
return getValue(this, memberName);
|
|
2934
|
+
}
|
|
2935
|
+
const ref = getHostRef(this);
|
|
2936
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
2937
|
+
if (!instance) return;
|
|
2938
|
+
return instance[memberName];
|
|
2939
|
+
}
|
|
2940
|
+
},
|
|
2941
|
+
configurable: true,
|
|
2942
|
+
enumerable: true
|
|
2943
|
+
});
|
|
2944
|
+
}
|
|
2945
|
+
Object.defineProperty(prototype, memberName, {
|
|
2946
|
+
set(newValue) {
|
|
2947
|
+
const ref = getHostRef(this);
|
|
2948
|
+
if (!ref) {
|
|
2949
|
+
return;
|
|
2950
|
+
}
|
|
2951
|
+
if (origSetter) {
|
|
2952
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2953
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2954
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
2955
|
+
}
|
|
2956
|
+
origSetter.apply(this, [
|
|
2957
|
+
parsePropertyValue(
|
|
2958
|
+
newValue,
|
|
2959
|
+
memberFlags,
|
|
2960
|
+
!!(cmpMeta.$flags$ & 64 /* formAssociated */)
|
|
2961
|
+
)
|
|
2962
|
+
]);
|
|
2963
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2964
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2965
|
+
return;
|
|
2966
|
+
}
|
|
2967
|
+
{
|
|
2968
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
2969
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
2970
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
2971
|
+
ref.$fetchedCbList$.push(() => {
|
|
2972
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
2973
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
2974
|
+
}
|
|
2975
|
+
});
|
|
2976
|
+
}
|
|
2977
|
+
return;
|
|
2978
|
+
}
|
|
2979
|
+
const setterSetVal = () => {
|
|
2980
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
2981
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2982
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
2983
|
+
}
|
|
2984
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(
|
|
2985
|
+
newValue,
|
|
2986
|
+
memberFlags,
|
|
2987
|
+
!!(cmpMeta.$flags$ & 64 /* formAssociated */)
|
|
2988
|
+
);
|
|
2989
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
2990
|
+
};
|
|
2991
|
+
if (ref.$lazyInstance$) {
|
|
2992
|
+
setterSetVal();
|
|
2993
|
+
} else {
|
|
2994
|
+
ref.$fetchedCbList$.push(() => {
|
|
2995
|
+
setterSetVal();
|
|
2996
|
+
});
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
});
|
|
3001
|
+
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
|
3002
|
+
Object.defineProperty(prototype, memberName, {
|
|
3003
|
+
value(...args) {
|
|
3004
|
+
var _a2;
|
|
3005
|
+
const ref = getHostRef(this);
|
|
3006
|
+
return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
|
|
3007
|
+
var _a3;
|
|
3008
|
+
return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
|
|
3009
|
+
});
|
|
3010
|
+
}
|
|
3011
|
+
});
|
|
3012
|
+
}
|
|
3013
|
+
});
|
|
3014
|
+
if ((flags & 1 /* isElementConstructor */)) {
|
|
3015
|
+
const attrNameToPropName = /* @__PURE__ */ new Map();
|
|
3016
|
+
prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
|
|
3017
|
+
plt.jmp(() => {
|
|
3018
|
+
var _a2;
|
|
3019
|
+
const propName = attrNameToPropName.get(attrName);
|
|
3020
|
+
const hostRef = getHostRef(this);
|
|
3021
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
3022
|
+
newValue = this[propName];
|
|
3023
|
+
delete this[propName];
|
|
3024
|
+
}
|
|
3025
|
+
if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
3026
|
+
this[propName] == newValue) {
|
|
3027
|
+
return;
|
|
3028
|
+
} else if (propName == null) {
|
|
3029
|
+
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
3030
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
3031
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
3032
|
+
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
3033
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
3034
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
3035
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
3036
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
3037
|
+
}
|
|
3038
|
+
});
|
|
3039
|
+
}
|
|
3040
|
+
return;
|
|
3041
|
+
}
|
|
3042
|
+
const propFlags = members.find(([m]) => m === propName);
|
|
3043
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
3044
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
3045
|
+
if (isBooleanTarget) {
|
|
3046
|
+
newValue = newValue === null || newValue === "false" ? false : true;
|
|
3047
|
+
}
|
|
3048
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3049
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
3050
|
+
this[propName] = newValue;
|
|
3051
|
+
}
|
|
3052
|
+
});
|
|
3053
|
+
};
|
|
3054
|
+
Cstr.observedAttributes = Array.from(
|
|
3055
|
+
/* @__PURE__ */ new Set([
|
|
3056
|
+
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
3057
|
+
...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
|
|
3058
|
+
var _a2;
|
|
3059
|
+
const attrName = m[1] || propName;
|
|
3060
|
+
attrNameToPropName.set(attrName, propName);
|
|
3061
|
+
if (m[0] & 512 /* ReflectAttr */) {
|
|
3062
|
+
(_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
|
|
3063
|
+
}
|
|
3064
|
+
return attrName;
|
|
3065
|
+
})
|
|
3066
|
+
])
|
|
3067
|
+
);
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
return Cstr;
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3073
|
+
// src/runtime/initialize-component.ts
|
|
3074
|
+
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
3075
|
+
let Cstr;
|
|
3076
|
+
try {
|
|
3077
|
+
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
3078
|
+
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
3079
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
3080
|
+
if (bundleId) {
|
|
3081
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
3082
|
+
if (CstrImport && "then" in CstrImport) {
|
|
3083
|
+
const endLoad = uniqueTime();
|
|
3084
|
+
Cstr = await CstrImport;
|
|
3085
|
+
endLoad();
|
|
3086
|
+
} else {
|
|
3087
|
+
Cstr = CstrImport;
|
|
3088
|
+
}
|
|
3089
|
+
if (!Cstr) {
|
|
3090
|
+
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
3091
|
+
}
|
|
3092
|
+
if (!Cstr.isProxied) {
|
|
3093
|
+
{
|
|
3094
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
3095
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3096
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
3097
|
+
}
|
|
3098
|
+
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
3099
|
+
Cstr.isProxied = true;
|
|
3100
|
+
}
|
|
3101
|
+
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
|
3102
|
+
{
|
|
3103
|
+
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
3104
|
+
}
|
|
3105
|
+
try {
|
|
3106
|
+
new Cstr(hostRef);
|
|
3107
|
+
} catch (e) {
|
|
3108
|
+
consoleError(e, elm);
|
|
3109
|
+
}
|
|
3110
|
+
{
|
|
3111
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
3112
|
+
}
|
|
3113
|
+
{
|
|
3114
|
+
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
3115
|
+
}
|
|
3116
|
+
endNewInstance();
|
|
3117
|
+
const needsDeferredCallback = cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
|
|
3118
|
+
if (!needsDeferredCallback) {
|
|
3119
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
3120
|
+
} else {
|
|
3121
|
+
hostRef.$deferredConnectedCallback$ = true;
|
|
3122
|
+
}
|
|
3123
|
+
} else {
|
|
3124
|
+
Cstr = elm.constructor;
|
|
3125
|
+
const cmpTag = elm.localName;
|
|
3126
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
3127
|
+
}
|
|
3128
|
+
if (Cstr && Cstr.style) {
|
|
3129
|
+
let style;
|
|
3130
|
+
if (typeof Cstr.style === "string") {
|
|
3131
|
+
style = Cstr.style;
|
|
3132
|
+
}
|
|
3133
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
3134
|
+
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
3135
|
+
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
3136
|
+
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
3137
|
+
endRegisterStyles();
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
3142
|
+
const schedule = () => scheduleUpdate(hostRef, true);
|
|
3143
|
+
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
|
3144
|
+
ancestorComponent["s-rc"].push(schedule);
|
|
3145
|
+
} else {
|
|
3146
|
+
schedule();
|
|
3147
|
+
}
|
|
3148
|
+
} catch (e) {
|
|
3149
|
+
consoleError(e, elm);
|
|
3150
|
+
if (hostRef.$onRenderResolve$) {
|
|
3151
|
+
hostRef.$onRenderResolve$();
|
|
3152
|
+
hostRef.$onRenderResolve$ = void 0;
|
|
3153
|
+
}
|
|
3154
|
+
if (hostRef.$onReadyResolve$) {
|
|
3155
|
+
hostRef.$onReadyResolve$(elm);
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
};
|
|
3159
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
3160
|
+
{
|
|
3161
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
3162
|
+
}
|
|
3163
|
+
};
|
|
3164
|
+
|
|
3165
|
+
// src/runtime/connected-callback.ts
|
|
3166
|
+
var connectedCallback = (elm) => {
|
|
3167
|
+
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
3168
|
+
const hostRef = getHostRef(elm);
|
|
3169
|
+
if (!hostRef) {
|
|
3170
|
+
return;
|
|
3171
|
+
}
|
|
3172
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
3173
|
+
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
3174
|
+
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
3175
|
+
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
3176
|
+
{
|
|
3177
|
+
if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
3178
|
+
cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
|
|
3179
|
+
setContentReference(elm);
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
{
|
|
3183
|
+
let ancestorComponent = elm;
|
|
3184
|
+
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
|
3185
|
+
if (ancestorComponent["s-p"]) {
|
|
3186
|
+
attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
|
|
3187
|
+
break;
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
if (cmpMeta.$members$) {
|
|
3192
|
+
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
3193
|
+
if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
|
|
3194
|
+
const value = elm[memberName];
|
|
3195
|
+
delete elm[memberName];
|
|
3196
|
+
elm[memberName] = value;
|
|
3197
|
+
}
|
|
3198
|
+
});
|
|
3199
|
+
}
|
|
3200
|
+
{
|
|
3201
|
+
nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
|
|
3202
|
+
}
|
|
3203
|
+
} else {
|
|
3204
|
+
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
3205
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
3206
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
3207
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
3208
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
endConnected();
|
|
3212
|
+
}
|
|
3213
|
+
};
|
|
3214
|
+
var setContentReference = (elm) => {
|
|
3215
|
+
if (!win.document) {
|
|
3216
|
+
return;
|
|
3217
|
+
}
|
|
3218
|
+
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
|
3219
|
+
""
|
|
3220
|
+
);
|
|
3221
|
+
contentRefElm["s-cn"] = true;
|
|
3222
|
+
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
3223
|
+
};
|
|
3224
|
+
var disconnectInstance = (instance, elm) => {
|
|
3225
|
+
{
|
|
3226
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
3227
|
+
}
|
|
3228
|
+
};
|
|
3229
|
+
var disconnectedCallback = async (elm) => {
|
|
3230
|
+
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
3231
|
+
const hostRef = getHostRef(elm);
|
|
3232
|
+
{
|
|
3233
|
+
if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
|
|
3234
|
+
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
3235
|
+
hostRef.$rmListeners$ = void 0;
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
3239
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
3240
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
3241
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
if (rootAppliedStyles.has(elm)) {
|
|
3245
|
+
rootAppliedStyles.delete(elm);
|
|
3246
|
+
}
|
|
3247
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
3248
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
3249
|
+
}
|
|
3250
|
+
};
|
|
3251
|
+
|
|
3252
|
+
// src/runtime/bootstrap-lazy.ts
|
|
3253
|
+
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
3254
|
+
var _a;
|
|
3255
|
+
if (!win.document) {
|
|
3256
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
3257
|
+
return;
|
|
3258
|
+
}
|
|
3259
|
+
const endBootstrap = createTime();
|
|
3260
|
+
const cmpTags = [];
|
|
3261
|
+
const exclude = options.exclude || [];
|
|
3262
|
+
const customElements2 = win.customElements;
|
|
3263
|
+
const head = win.document.head;
|
|
3264
|
+
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
3265
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
3266
|
+
const deferredConnectedCallbacks = [];
|
|
3267
|
+
let appLoadFallback;
|
|
3268
|
+
let isBootstrapping = true;
|
|
3269
|
+
Object.assign(plt, options);
|
|
3270
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
3271
|
+
let hasSlotRelocation = false;
|
|
3272
|
+
lazyBundles.map((lazyBundle) => {
|
|
3273
|
+
lazyBundle[1].map((compactMeta) => {
|
|
3274
|
+
var _a2, _b;
|
|
3275
|
+
const cmpMeta = {
|
|
3276
|
+
$flags$: compactMeta[0],
|
|
3277
|
+
$tagName$: compactMeta[1],
|
|
3278
|
+
$members$: compactMeta[2],
|
|
3279
|
+
$listeners$: compactMeta[3]
|
|
3280
|
+
};
|
|
3281
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
3282
|
+
hasSlotRelocation = true;
|
|
3283
|
+
}
|
|
3284
|
+
{
|
|
3285
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
3286
|
+
}
|
|
3287
|
+
{
|
|
3288
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
3289
|
+
}
|
|
3290
|
+
{
|
|
3291
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
3292
|
+
}
|
|
3293
|
+
{
|
|
3294
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
3295
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
3296
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
3297
|
+
}
|
|
3298
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
3299
|
+
const HostElement = class extends HTMLElement {
|
|
3300
|
+
["s-p"];
|
|
3301
|
+
["s-rc"];
|
|
3302
|
+
hasRegisteredEventListeners = false;
|
|
3303
|
+
// StencilLazyHost
|
|
3304
|
+
constructor(self) {
|
|
3305
|
+
super(self);
|
|
3306
|
+
self = this;
|
|
3307
|
+
registerHost(self, cmpMeta);
|
|
3308
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
3309
|
+
{
|
|
3310
|
+
if (!self.shadowRoot) {
|
|
3311
|
+
createShadowRoot.call(self, cmpMeta);
|
|
3312
|
+
} else {
|
|
3313
|
+
if (self.shadowRoot.mode !== "open") {
|
|
3314
|
+
throw new Error(
|
|
3315
|
+
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
3316
|
+
);
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
connectedCallback() {
|
|
3323
|
+
const hostRef = getHostRef(this);
|
|
3324
|
+
if (!hostRef) {
|
|
3325
|
+
return;
|
|
3326
|
+
}
|
|
3327
|
+
if (!this.hasRegisteredEventListeners) {
|
|
3328
|
+
this.hasRegisteredEventListeners = true;
|
|
3329
|
+
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
3330
|
+
}
|
|
3331
|
+
if (appLoadFallback) {
|
|
3332
|
+
clearTimeout(appLoadFallback);
|
|
3333
|
+
appLoadFallback = null;
|
|
3334
|
+
}
|
|
3335
|
+
if (isBootstrapping) {
|
|
3336
|
+
deferredConnectedCallbacks.push(this);
|
|
3337
|
+
} else {
|
|
3338
|
+
plt.jmp(() => connectedCallback(this));
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3341
|
+
disconnectedCallback() {
|
|
3342
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
3343
|
+
plt.raf(() => {
|
|
3344
|
+
var _a3;
|
|
3345
|
+
const hostRef = getHostRef(this);
|
|
3346
|
+
if (!hostRef) {
|
|
3347
|
+
return;
|
|
3348
|
+
}
|
|
3349
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
3350
|
+
if (i2 > -1) {
|
|
3351
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
3352
|
+
}
|
|
3353
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
3354
|
+
delete hostRef.$vnode$.$elm$;
|
|
3355
|
+
}
|
|
3356
|
+
});
|
|
3357
|
+
}
|
|
3358
|
+
componentOnReady() {
|
|
3359
|
+
var _a3;
|
|
3360
|
+
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
3361
|
+
}
|
|
3362
|
+
};
|
|
3363
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasSlot */) {
|
|
3364
|
+
{
|
|
3365
|
+
patchPseudoShadowDom(HostElement.prototype);
|
|
3366
|
+
}
|
|
3367
|
+
} else {
|
|
3368
|
+
patchCloneNode(HostElement.prototype);
|
|
3369
|
+
}
|
|
3370
|
+
if (cmpMeta.$flags$ & 64 /* formAssociated */) {
|
|
3371
|
+
HostElement.formAssociated = true;
|
|
3372
|
+
}
|
|
3373
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
3374
|
+
if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
|
|
3375
|
+
cmpTags.push(tagName);
|
|
3376
|
+
customElements2.define(
|
|
3377
|
+
tagName,
|
|
3378
|
+
proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
|
|
3379
|
+
);
|
|
3380
|
+
}
|
|
3381
|
+
});
|
|
3382
|
+
});
|
|
3383
|
+
if (cmpTags.length > 0) {
|
|
3384
|
+
if (hasSlotRelocation) {
|
|
3385
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
3386
|
+
}
|
|
3387
|
+
{
|
|
3388
|
+
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
3389
|
+
}
|
|
3390
|
+
if (dataStyles.innerHTML.length) {
|
|
3391
|
+
dataStyles.setAttribute("data-styles", "");
|
|
3392
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
3393
|
+
if (nonce != null) {
|
|
3394
|
+
dataStyles.setAttribute("nonce", nonce);
|
|
3395
|
+
}
|
|
3396
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
isBootstrapping = false;
|
|
3400
|
+
if (deferredConnectedCallbacks.length) {
|
|
3401
|
+
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
3402
|
+
} else {
|
|
3403
|
+
{
|
|
3404
|
+
plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
endBootstrap();
|
|
3408
|
+
};
|
|
3409
|
+
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
3410
|
+
if (listeners && win.document) {
|
|
3411
|
+
listeners.map(([flags, name, method]) => {
|
|
3412
|
+
const target = getHostListenerTarget(win.document, elm, flags) ;
|
|
3413
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
3414
|
+
const opts = hostListenerOpts(flags);
|
|
3415
|
+
plt.ael(target, name, handler, opts);
|
|
3416
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
3417
|
+
});
|
|
3418
|
+
}
|
|
3419
|
+
};
|
|
3420
|
+
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
3421
|
+
var _a;
|
|
3422
|
+
try {
|
|
3423
|
+
{
|
|
3424
|
+
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
3425
|
+
(_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
|
|
3426
|
+
} else {
|
|
3427
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
} catch (e) {
|
|
3431
|
+
consoleError(e, hostRef.$hostElement$);
|
|
3432
|
+
}
|
|
3433
|
+
};
|
|
3434
|
+
var getHostListenerTarget = (doc, elm, flags) => {
|
|
3435
|
+
if (flags & 4 /* TargetDocument */) {
|
|
3436
|
+
return doc;
|
|
3437
|
+
}
|
|
3438
|
+
if (flags & 8 /* TargetWindow */) {
|
|
3439
|
+
return win;
|
|
3440
|
+
}
|
|
3441
|
+
return elm;
|
|
3442
|
+
};
|
|
3443
|
+
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
3444
|
+
passive: (flags & 1 /* Passive */) !== 0,
|
|
3445
|
+
capture: (flags & 2 /* Capture */) !== 0
|
|
3446
|
+
} : (flags & 2 /* Capture */) !== 0;
|
|
3447
|
+
|
|
3448
|
+
// src/runtime/nonce.ts
|
|
3449
|
+
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
3450
|
+
function transformTag(tag) {
|
|
3451
|
+
return tag;
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
export { dsSnackbarController as A, registerInstance as B, Config as C, raf as D, h as E, Host as F, getElement as G, H, createEvent as I, debounce as J, rIC as K, hasTagName as L, debounceEvent as M, addEventListener as N, removeEventListener as O, deepReady as a, bootstrapLazy as b, componentOnReady as c, dsBrowser as d, getAppRoot as e, isDescendant as f, globalScripts as g, shallowReady as h, initializeDesignSystem as i, waitAfterFramePaint as j, waitAfterIdleCallback as k, waitAfterLargestContentfulPaintCallback as l, waitForComponent as m, waitForDesignSystem as n, waitOnLoadEventCallback as o, promiseResolve as p, setupDsConfig as q, rOnLoad as r, setNonce as s, config as t, configFromLocalStorage as u, defaultIcons as v, wait as w, defaultConfig as x, defaultLocale as y, dsToastController as z };
|