@public-ui/components 5.0.0-beta.1 → 5.0.0-beta.3
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/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +31 -77
- package/dist/cjs/{Heading-C9osvqjY.js → Heading-D1EJem-Q.js} +7 -7
- package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BCyKbrgd.js} +2 -0
- package/dist/cjs/{api-U7I3XBPI.js → api-DU50b7pU.js} +39 -41
- package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-Cshxaw1i.js} +6 -5
- package/dist/cjs/aria-current-service-XKodxE3I.js +30 -0
- package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-Du7FNBK5.js} +2 -13
- package/dist/cjs/{base-CyqDmoZZ.js → base-2k8L5Z0t.js} +14 -15
- package/dist/cjs/{base-l99dGLYo.js → base-CrH3N2Zu.js} +108 -80
- package/dist/cjs/{base-DcN_YC72.js → base-DXysZJF0.js} +13 -14
- package/dist/cjs/{base-DCxbMk0f.js → base-lY3OV-WH.js} +17 -19
- package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-CB32nH5g.js} +17 -19
- package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-CnTCSVmC.js} +16 -19
- package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-vlBTFoc9.js} +2 -1
- package/dist/cjs/{behavior-CTaw4dj3.js → behavior-BonfWPFJ.js} +6 -6
- package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-DdUDpqCO.js} +10 -10
- package/dist/cjs/{behavior-DrFJy0QC.js → behavior-Dznxy-IT.js} +33 -33
- package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CGf0w2u7.js} +61 -15
- package/dist/cjs/bootstrap-W0pDCbwR.js +59 -0
- package/dist/cjs/{color-BW4t1Cif.js → color-gGnOnvt7.js} +4 -4
- package/dist/cjs/component-B6wRTFBN.js +19 -0
- package/dist/cjs/component-B7ixbeft.js +52 -0
- package/dist/cjs/{component-4OErV1Bg.js → component-BaHA5GQ0.js} +11 -13
- package/dist/cjs/{component-Cty_HlJR.js → component-BeAWp-m9.js} +6 -5
- package/dist/cjs/component-Bnj9veMz.js +177 -0
- package/dist/cjs/{component-Cvjqbxf4.js → component-C9dVa2_4.js} +16 -19
- package/dist/cjs/{component-DF5q9ssd.js → component-D680TPaU.js} +13 -14
- package/dist/cjs/{component-DtxKrISb.js → component-DNRlsQ2M.js} +6 -7
- package/dist/cjs/{component-lmJOXuD6.js → component-WkG3-M2X.js} +8 -11
- package/dist/cjs/component-names-B-xDXf8U.js +121 -0
- package/dist/cjs/{component-DAQ1XSNA.js → component-vjLswij7.js} +6 -8
- package/dist/cjs/{contrast-4mAdSLs0.js → contrast-B6L84xFP.js} +5 -5
- package/dist/cjs/{controller-tEyAFJN9.js → controller-BcC7oIkq.js} +20 -20
- package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-Bk_hA4qQ.js} +9 -10
- package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-CJixr1wI.js} +24 -25
- package/dist/cjs/{disabled-jYcvcwjv.js → disabled-BoM7lglH.js} +2 -1
- package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-BL2fXDD1.js} +1 -0
- package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CKiHuPu0.js} +2 -1
- package/dist/cjs/{events-BJC5JJcU.js → events-Ce8f_epW.js} +2 -0
- package/dist/cjs/{field-control-Btb5zapE.js → field-control-Bn_hd-6N.js} +12 -13
- package/dist/cjs/{group-Dg2gJze5.js → group-TVkuA3Dx.js} +8 -9
- package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-CKT_frM5.js} +2 -1
- package/dist/cjs/{href-BBhiVyPb.js → href-yo_BPSR1.js} +2 -1
- package/dist/cjs/{i18n-BSWM5nea.js → i18n-DOGd0sdR.js} +15 -10
- package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-DdWdytnt.js} +3 -3
- package/dist/cjs/{id-D1VZsLkg.js → id-C7_ak25l.js} +2 -1
- package/dist/cjs/{index-BacpU-d0.js → index-DLwNpyJ5.js} +1740 -61
- package/dist/cjs/index.cjs.js +21 -15
- package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-CvDde8uk.js} +17 -20
- package/dist/cjs/input-uZRNVUsq.js +18 -0
- package/dist/cjs/{item-CLnIJY4J.js → item-D23h7gmK.js} +10 -10
- package/dist/cjs/{item-CPxmIcoq.js → item-D5hmTqf_.js} +17 -18
- package/dist/cjs/{item-Cckqxc6T.js → item-DimqWDZ7.js} +65 -44
- package/dist/cjs/{item-CErU-EPA.js → item-FYvfrXLj.js} +10 -10
- package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-BJcplkbh.js} +2 -0
- package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-21hAUDzL.js} +2 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
- package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
- package/dist/cjs/kol-alert.cjs.entry.js +35 -37
- package/dist/cjs/kol-avatar.cjs.entry.js +22 -25
- package/dist/cjs/kol-badge.cjs.entry.js +35 -38
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +41 -44
- package/dist/cjs/kol-button-link.cjs.entry.js +34 -36
- package/dist/cjs/kol-button.cjs.entry.js +34 -36
- package/dist/cjs/kol-card.cjs.entry.js +59 -101
- package/dist/cjs/kol-combobox.cjs.entry.js +88 -90
- package/dist/cjs/kol-details.cjs.entry.js +23 -25
- package/dist/cjs/kol-dialog.cjs.entry.js +39 -42
- package/dist/cjs/kol-drawer.cjs.entry.js +39 -42
- package/dist/cjs/kol-form.cjs.entry.js +34 -37
- package/dist/cjs/kol-heading.cjs.entry.js +20 -22
- package/dist/cjs/kol-icon.cjs.entry.js +20 -18
- package/dist/cjs/kol-image.cjs.entry.js +25 -27
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +95 -96
- package/dist/cjs/kol-input-color.cjs.entry.js +69 -70
- package/dist/cjs/kol-input-date.cjs.entry.js +82 -84
- package/dist/cjs/kol-input-email.cjs.entry.js +85 -86
- package/dist/cjs/kol-input-file.cjs.entry.js +62 -63
- package/dist/cjs/kol-input-number.cjs.entry.js +84 -85
- package/dist/cjs/kol-input-password.cjs.entry.js +84 -85
- package/dist/cjs/kol-input-radio.cjs.entry.js +66 -69
- package/dist/cjs/kol-input-range.cjs.entry.js +67 -69
- package/dist/cjs/kol-input-text.cjs.entry.js +98 -99
- package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
- package/dist/cjs/kol-link-button.cjs.entry.js +43 -45
- package/dist/cjs/kol-link.cjs.entry.js +41 -43
- package/dist/cjs/kol-meter.cjs.entry.js +27 -36
- package/dist/cjs/kol-modal.cjs.entry.js +39 -42
- package/dist/cjs/kol-nav.cjs.entry.js +51 -54
- package/dist/cjs/kol-pagination.cjs.entry.js +70 -73
- package/dist/cjs/kol-popover-button.cjs.entry.js +67 -104
- package/dist/cjs/kol-progress.cjs.entry.js +27 -27
- package/dist/cjs/kol-quote.cjs.entry.js +17 -19
- package/dist/cjs/kol-select.cjs.entry.js +73 -75
- package/dist/cjs/kol-single-select.cjs.entry.js +96 -93
- package/dist/cjs/kol-skip-nav.cjs.entry.js +40 -43
- package/dist/cjs/kol-spin.cjs.entry.js +26 -29
- package/dist/cjs/kol-split-button.cjs.entry.js +40 -42
- package/dist/cjs/kol-table-stateful.cjs.entry.js +140 -113
- package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -74
- package/dist/cjs/kol-tabs.cjs.entry.js +58 -64
- package/dist/cjs/kol-textarea.cjs.entry.js +84 -84
- package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
- package/dist/cjs/kol-toolbar.cjs.entry.js +68 -67
- package/dist/cjs/kol-tree-item.cjs.entry.js +44 -44
- package/dist/cjs/kol-tree.cjs.entry.js +35 -25
- package/dist/cjs/kol-version.cjs.entry.js +26 -29
- package/dist/cjs/kolibri.cjs.js +6 -5
- package/dist/cjs/{label-vVOiX4dC.js → label-CCqNq5tW.js} +4 -3
- package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-qecpxRCt.js} +4 -4
- package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BGLGUvz3.js} +3 -2
- package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-VcIxokIa.js} +4 -3
- package/dist/cjs/{level-BAiEYu4U.js → level-CVJUatGG.js} +2 -1
- package/dist/cjs/{link-target-4AzB3I84.js → link-target-BchnvpO8.js} +2 -1
- package/dist/cjs/{links-CPNK7VZo.js → links-B1TspXWw.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-7DpoM.js} +2 -1
- package/dist/cjs/{number-value-B2yoKlvx.js → number-value-C4kXarZR.js} +3 -2
- package/dist/cjs/{open-CvoX_qxD.js → open-Cmz8IDwx.js} +2 -1
- package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-C162W-_D.js} +2 -0
- package/dist/cjs/{options-z7FKffHh.js → options-B5TaPd9X.js} +2 -0
- package/dist/cjs/{options-B2pQC9w2.js → options-CYbRA9bk.js} +3 -3
- package/dist/cjs/{orientation-u2cvwgBc.js → orientation-qw5D2TnY.js} +2 -1
- package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-BKqOq75d.js} +2 -1
- package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-utp9cExR.js} +149 -74
- package/dist/cjs/{read-only-DfWF-Coi.js → read-only-BA_w8-u1.js} +2 -1
- package/dist/cjs/{required-CdXn16dq.js → required-CxAjKjbz.js} +2 -1
- package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props--Nci0LhR.js} +9 -9
- package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-Dj6sEqG7.js} +9 -10
- package/dist/cjs/{rows-Ca5ya9tG.js → rows-DIswNtTH.js} +2 -1
- package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DCG-yvr9.js} +8 -7
- package/dist/cjs/shared-state-DgRutURI.js +16 -0
- package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DseYlks-.js} +3 -3
- package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-dk8U8oOc.js} +2 -1
- package/dist/cjs/{src-C3NG0rLO.js → src-CtFQUaCM.js} +2 -1
- package/dist/cjs/{step-CZNyTb2h.js → step-CvPxSo00.js} +2 -1
- package/dist/cjs/{suggestions-BRclldK2.js → suggestions-DUxsRVmB.js} +4 -4
- package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DgLZZdei.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +3 -3
- package/dist/cjs/theme-store-CLf_JZmz.js +13 -0
- package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-B-_ojZ0I.js} +13 -16
- package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-CewIRZOe.js} +8 -5
- package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CFCBdBmd.js} +3 -3
- package/dist/cjs/{unit-bsoemclF.js → unit-DexLlB8H.js} +2 -1
- package/dist/cjs/{validators-DuLdbf2D.js → validators-CxXwm4f6.js} +4 -1
- package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-Ct7kzFWf.js} +2 -1
- package/dist/cjs/{width-BklaRCqt.js → width-BXrduM1f.js} +2 -1
- package/dist/collection/collection-manifest.json +1 -8
- package/dist/collection/components/abbr/component.js +2 -2
- package/dist/collection/components/abbr/style.css +21 -0
- package/dist/collection/components/accordion/component.js +2 -2
- package/dist/collection/components/accordion/style.css +23 -2
- package/dist/collection/components/alert/component.js +8 -6
- package/dist/collection/components/alert/style.css +23 -2
- package/dist/collection/components/avatar/component.js +5 -8
- package/dist/collection/components/avatar/style.css +21 -0
- package/dist/collection/components/badge/component.js +5 -5
- package/dist/collection/components/badge/style.css +23 -2
- package/dist/collection/components/breadcrumb/component.js +4 -4
- package/dist/collection/components/breadcrumb/style.css +23 -2
- package/dist/collection/components/button/component.js +3 -3
- package/dist/collection/components/button/style.css +23 -2
- package/dist/collection/components/button-link/component.js +3 -3
- package/dist/collection/components/button-link/style.css +23 -2
- package/dist/collection/components/card/component.js +54 -19
- package/dist/collection/components/card/style.css +26 -2
- package/dist/collection/components/combobox/component.js +116 -116
- package/dist/collection/components/combobox/style.css +23 -2
- package/dist/collection/components/details/component.js +2 -2
- package/dist/collection/components/details/style.css +23 -2
- package/dist/collection/components/dialog/base.js +2 -2
- package/dist/collection/components/dialog/component.js +6 -6
- package/dist/collection/components/dialog/style.css +26 -2
- package/dist/collection/components/drawer/component.js +4 -4
- package/dist/collection/components/drawer/style.css +26 -2
- package/dist/collection/components/form/component.js +4 -4
- package/dist/collection/components/form/controller.js +4 -3
- package/dist/collection/components/form/style.css +23 -2
- package/dist/collection/components/heading/component.js +5 -5
- package/dist/collection/components/heading/style.css +21 -0
- package/dist/collection/components/icon/component.js +6 -6
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +40 -40
- package/dist/collection/components/image/style.css +21 -0
- package/dist/collection/components/input-checkbox/component.js +119 -117
- package/dist/collection/components/input-checkbox/style.css +23 -2
- package/dist/collection/components/input-color/component.js +42 -40
- package/dist/collection/components/input-color/style.css +23 -2
- package/dist/collection/components/input-date/component.js +83 -81
- package/dist/collection/components/input-date/style.css +23 -2
- package/dist/collection/components/input-email/component.js +89 -86
- package/dist/collection/components/input-email/style.css +23 -2
- package/dist/collection/components/input-file/component.js +37 -34
- package/dist/collection/components/input-file/style.css +23 -2
- package/dist/collection/components/input-number/component.js +70 -68
- package/dist/collection/components/input-number/style.css +23 -2
- package/dist/collection/components/input-password/component.js +90 -87
- package/dist/collection/components/input-password/style.css +23 -2
- package/dist/collection/components/input-radio/component.js +36 -37
- package/dist/collection/components/input-radio/style.css +23 -2
- package/dist/collection/components/input-range/component.js +38 -38
- package/dist/collection/components/input-range/style.css +23 -2
- package/dist/collection/components/input-text/component.js +148 -146
- package/dist/collection/components/input-text/style.css +23 -2
- package/dist/collection/components/kolibri/component.js +2 -2
- package/dist/collection/components/kolibri/style.css +21 -0
- package/dist/collection/components/link/base.js +1 -1
- package/dist/collection/components/link/component.js +27 -27
- package/dist/collection/components/link/style.css +23 -2
- package/dist/collection/components/link-button/component.js +28 -28
- package/dist/collection/components/link-button/style.css +23 -2
- package/dist/collection/components/meter/component.js +7 -13
- package/dist/collection/components/meter/style.css +21 -0
- package/dist/collection/components/modal/component.js +6 -6
- package/dist/collection/components/modal/style.css +26 -2
- package/dist/collection/components/nav/component.js +3 -3
- package/dist/collection/components/nav/style.css +23 -2
- package/dist/collection/components/pagination/component.js +92 -94
- package/dist/collection/components/pagination/style.css +23 -2
- package/dist/collection/components/popover-button/component.js +40 -11
- package/dist/collection/components/popover-button/style.css +23 -2
- package/dist/collection/components/progress/component.js +10 -10
- package/dist/collection/components/progress/style.css +21 -0
- package/dist/collection/components/public-api/contract.js +46 -6
- package/dist/collection/components/quote/component.js +6 -6
- package/dist/collection/components/quote/style.css +21 -0
- package/dist/collection/components/select/component.js +61 -61
- package/dist/collection/components/select/style.css +23 -2
- package/dist/collection/components/single-select/component.js +141 -137
- package/dist/collection/components/single-select/style.css +23 -2
- package/dist/collection/components/skip-nav/component.js +3 -3
- package/dist/collection/components/skip-nav/style.css +23 -2
- package/dist/collection/components/spin/component.js +30 -30
- package/dist/collection/components/spin/style.css +29 -1
- package/dist/collection/components/split-button/component.js +5 -5
- package/dist/collection/components/split-button/style.css +23 -2
- package/dist/collection/components/table-stateful/component.js +118 -122
- package/dist/collection/components/table-stateful/style.css +35 -4
- package/dist/collection/components/table-stateless/base.js +11 -2
- package/dist/collection/components/table-stateless/component.js +34 -75
- package/dist/collection/components/table-stateless/style.css +35 -4
- package/dist/collection/components/tabs/component.js +19 -28
- package/dist/collection/components/tabs/style.css +24 -3
- package/dist/collection/components/textarea/component.js +91 -89
- package/dist/collection/components/textarea/style.css +23 -2
- package/dist/collection/components/toaster/shadow.js +3 -4
- package/dist/collection/components/toaster/style.css +23 -2
- package/dist/collection/components/toaster/toaster.js +2 -1
- package/dist/collection/components/toolbar/component.js +46 -42
- package/dist/collection/components/toolbar/style.css +23 -2
- package/dist/collection/components/tree/component.js +23 -12
- package/dist/collection/components/tree/style.css +21 -0
- package/dist/collection/components/tree-item/component.js +43 -40
- package/dist/collection/components/tree-item/style.css +23 -2
- package/dist/collection/components/version/component.js +3 -3
- package/dist/collection/components/version/style.css +23 -2
- package/dist/collection/core/bootstrap.js +8 -5
- package/dist/collection/core/component-names.js +52 -106
- package/dist/collection/core/i18n.js +7 -6
- package/dist/collection/core/shared-state.js +10 -0
- package/dist/collection/core/tag-transformer.js +27 -0
- package/dist/collection/core/theme-store.js +8 -0
- package/dist/collection/global/script.js +3 -1
- package/dist/collection/index.js +3 -1
- package/dist/collection/internal/functional-components/alert/component.js +2 -1
- package/dist/collection/internal/functional-components/avatar/component.js +2 -2
- package/dist/collection/internal/functional-components/badge/component.js +2 -1
- package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
- package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
- package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
- package/dist/collection/internal/functional-components/button/item.js +2 -2
- package/dist/collection/internal/functional-components/card/component.js +3 -1
- package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
- package/dist/collection/internal/functional-components/counter/api.js +1 -1
- package/dist/collection/internal/functional-components/dialog/component.js +6 -3
- package/dist/collection/internal/functional-components/dialog/item.js +4 -4
- package/dist/collection/internal/functional-components/drawer/component.js +1 -1
- package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -8
- package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
- package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
- package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
- package/dist/collection/internal/functional-components/heading/component.js +3 -4
- package/dist/collection/internal/functional-components/icon/api.js +2 -2
- package/dist/collection/internal/functional-components/icon/component.js +2 -2
- package/dist/collection/internal/functional-components/image/component.js +2 -4
- package/dist/collection/internal/functional-components/link/api.js +1 -1
- package/dist/collection/internal/functional-components/link/aria-current-service.js +23 -0
- package/dist/collection/internal/functional-components/link/component.js +2 -2
- package/dist/collection/internal/functional-components/link/item.js +3 -3
- package/dist/collection/internal/functional-components/meter/component.js +5 -7
- package/dist/collection/internal/functional-components/pagination/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/component.js +2 -3
- package/dist/collection/internal/functional-components/pagination/item.js +26 -11
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +17 -9
- package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
- package/dist/collection/internal/functional-components/progress/api.js +1 -1
- package/dist/collection/internal/functional-components/progress/component.js +2 -1
- package/dist/collection/internal/functional-components/quote/component.js +2 -3
- package/dist/collection/internal/functional-components/single-select/component.js +2 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
- package/dist/collection/internal/functional-components/span/component.js +3 -2
- package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
- package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
- package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/component.js +11 -8
- package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
- package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -7
- package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
- package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
- package/dist/collection/internal/functional-components/tabs/component.js +7 -1
- package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
- package/dist/collection/internal/functional-components/tree/component.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
- package/dist/collection/internal/props/helpers/factory.js +1 -1
- package/dist/collection/internal/props/helpers/normalizers.js +2 -5
- package/dist/collection/internal/props/helpers/validators.js +1 -0
- package/dist/collection/internal/props/index.js +1 -1
- package/dist/collection/internal/props/label-decorative.js +10 -0
- package/dist/collection/locales/de.js +3 -2
- package/dist/collection/locales/en.js +3 -2
- package/dist/collection/schema/bem-registry.js +59 -13
- package/dist/collection/schema/components/index.js +0 -29
- package/dist/collection/schema/i18n-keys.js +29 -28
- package/dist/collection/schema/props/accept.js +1 -7
- package/dist/collection/schema/props/access-key.js +1 -7
- package/dist/collection/schema/props/active.js +1 -7
- package/dist/collection/schema/props/adjust-height.js +1 -7
- package/dist/collection/schema/props/alert-type.js +0 -7
- package/dist/collection/schema/props/align.js +0 -4
- package/dist/collection/schema/props/allow-multi-sort.js +1 -7
- package/dist/collection/schema/props/alt.js +1 -7
- package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
- package/dist/collection/schema/props/aria-controls.js +1 -7
- package/dist/collection/schema/props/aria-current-value.js +1 -10
- package/dist/collection/schema/props/aria-description.js +1 -7
- package/dist/collection/schema/props/aria-details.js +1 -22
- package/dist/collection/schema/props/aria-expanded.js +1 -7
- package/dist/collection/schema/props/aria-labelledby.js +8 -15
- package/dist/collection/schema/props/aria-owns.js +1 -9
- package/dist/collection/schema/props/aria-selected.js +1 -7
- package/dist/collection/schema/props/auto-complete.js +0 -6
- package/dist/collection/schema/props/badge-text.js +1 -7
- package/dist/collection/schema/props/button-callbacks.js +1 -7
- package/dist/collection/schema/props/button-type.js +1 -8
- package/dist/collection/schema/props/button-variant.js +1 -10
- package/dist/collection/schema/props/checked.js +1 -7
- package/dist/collection/schema/props/collapsible.js +1 -7
- package/dist/collection/schema/props/color.js +1 -14
- package/dist/collection/schema/props/current-length.js +1 -7
- package/dist/collection/schema/props/custom-class.js +1 -9
- package/dist/collection/schema/props/disabled.js +1 -15
- package/dist/collection/schema/props/download.js +1 -7
- package/dist/collection/schema/props/error-list.js +1 -14
- package/dist/collection/schema/props/has-closer.js +1 -7
- package/dist/collection/schema/props/has-compact-button.js +1 -7
- package/dist/collection/schema/props/has-counter.js +1 -7
- package/dist/collection/schema/props/has-create-button.js +1 -7
- package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
- package/dist/collection/schema/props/has-settings-menu.js +1 -7
- package/dist/collection/schema/props/has-value.js +1 -7
- package/dist/collection/schema/props/hide-label.js +1 -7
- package/dist/collection/schema/props/hide-msg.js +1 -7
- package/dist/collection/schema/props/hint.js +1 -7
- package/dist/collection/schema/props/href.js +1 -7
- package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
- package/dist/collection/schema/props/icons.js +0 -43
- package/dist/collection/schema/props/id.js +1 -7
- package/dist/collection/schema/props/image-sizes.js +1 -7
- package/dist/collection/schema/props/image-source.js +1 -7
- package/dist/collection/schema/props/image-srcset.js +1 -7
- package/dist/collection/schema/props/indeterminate.js +1 -7
- package/dist/collection/schema/props/index.js +5 -1
- package/dist/collection/schema/props/inline.js +1 -7
- package/dist/collection/schema/props/label-align.js +1 -8
- package/dist/collection/schema/props/label.js +0 -35
- package/dist/collection/schema/props/link-on-callbacks.js +1 -8
- package/dist/collection/schema/props/link-target.js +1 -7
- package/dist/collection/schema/props/loading.js +1 -8
- package/dist/collection/schema/props/max-length-behavior.js +1 -8
- package/dist/collection/schema/props/max-length.js +1 -7
- package/dist/collection/schema/props/max.js +1 -7
- package/dist/collection/schema/props/modal.js +1 -7
- package/dist/collection/schema/props/msg.js +1 -24
- package/dist/collection/schema/props/multiple.js +1 -7
- package/dist/collection/schema/props/name.js +1 -7
- package/dist/collection/schema/props/open.js +1 -7
- package/dist/collection/schema/props/options.js +1 -11
- package/dist/collection/schema/props/orientation.js +1 -10
- package/dist/collection/schema/props/pagination-position.js +1 -10
- package/dist/collection/schema/props/pattern.js +1 -7
- package/dist/collection/schema/props/placeholder.js +1 -7
- package/dist/collection/schema/props/popover-align.js +1 -7
- package/dist/collection/schema/props/read-only.js +1 -7
- package/dist/collection/schema/props/required.js +1 -7
- package/dist/collection/schema/props/resize-textarea.js +0 -9
- package/dist/collection/schema/props/rows.js +1 -7
- package/dist/collection/schema/props/short-key.js +1 -7
- package/dist/collection/schema/props/show.js +1 -7
- package/dist/collection/schema/props/spell-check.js +1 -9
- package/dist/collection/schema/props/suggestions.js +1 -16
- package/dist/collection/schema/props/tab-behavior.js +1 -8
- package/dist/collection/schema/props/tab-index.js +1 -16
- package/dist/collection/schema/props/table-data-foot.js +1 -21
- package/dist/collection/schema/props/table-data.js +1 -21
- package/dist/collection/schema/props/table-fixed-cols.js +1 -14
- package/dist/collection/schema/props/table-selection.js +1 -22
- package/dist/collection/schema/props/toolbar-items.js +1 -21
- package/dist/collection/schema/props/tooltip-align.js +1 -7
- package/dist/collection/schema/props/touched.js +1 -7
- package/dist/collection/schema/props/type-input-date.js +0 -7
- package/dist/collection/schema/props/type-input-text.js +0 -7
- package/dist/collection/schema/props/unit.js +1 -7
- package/dist/collection/schema/props/variant/dialog.js +1 -8
- package/dist/collection/schema/props/variant/modal.js +1 -4
- package/dist/collection/schema/props/variant/password-variant.js +1 -8
- package/dist/collection/schema/props/variant-alert.js +0 -7
- package/dist/collection/schema/props/variant-class-name.js +0 -33
- package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
- package/dist/collection/schema/props/variant-progress.js +0 -7
- package/dist/collection/schema/props/visibility-toggle.js +1 -7
- package/dist/collection/schema/props/width.js +1 -7
- package/dist/collection/schema/utils/contrast.js +1 -1
- package/dist/collection/schema/utils/prop.validators.js +1 -1
- package/dist/collection/schema/validators/common.js +4 -0
- package/dist/collection/schema/validators/index.js +0 -1
- package/dist/collection/utils/aria-labelledby.js +0 -12
- package/dist/collection/utils/dev.utils.js +1 -2
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/collection/utils/testing/logged-messages.js +4 -0
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
- package/dist/collection/utils/testing/snapshot-testing.js +2 -1
- package/dist/collection/utils/tooltip-open-tracking.js +6 -5
- package/dist/components/Heading.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/aria-current-service.js +4 -0
- package/dist/components/base-web-component.js +1 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-component3.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base3.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/behavior4.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bootstrap.js +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +4 -0
- package/dist/components/component13.js +4 -0
- package/dist/components/component14.js +4 -0
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/element-focus.js +1 -1
- package/dist/components/element-interaction.js +1 -1
- package/dist/components/events.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/group.js +1 -1
- package/dist/components/has-closer.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n2.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item-pool.js +1 -1
- package/dist/components/item.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item3.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/keyboard.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/link-target.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/multiple.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/open-items-cache.js +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/options.js +1 -1
- package/dist/components/options2.js +1 -1
- package/dist/components/orientation.js +1 -1
- package/dist/components/placeholder.js +1 -1
- package/dist/components/prop.validators.js +4 -0
- package/dist/components/read-only.js +1 -1
- package/dist/components/required.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/resolve-props2.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/scroll-lock.js +1 -1
- package/dist/components/shared-state.js +4 -0
- package/dist/components/smart-button.js +1 -1
- package/dist/components/spell-check.js +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/suggestions2.js +1 -1
- package/dist/components/test-component.js +1 -1
- package/dist/components/toggle-handler.js +1 -1
- package/dist/components/tooltip-open-tracking.js +1 -1
- package/dist/components/unique-nav-labels.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/components/value-string.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-BVhjT9av.js → Heading-foerLIu9.js} +2 -2
- package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-BTEwnScd.js} +2 -0
- package/dist/esm/{api-D92_O-0H.js → api-Ba9FNPRn.js} +29 -31
- package/dist/esm/{app-globals-CBGjgNge.js → app-globals-CqYpXngl.js} +4 -3
- package/dist/esm/aria-current-service-4eUMzpeO.js +27 -0
- package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-C4wUnR-v.js} +3 -13
- package/dist/esm/{base-BLBSJu_1.js → base-AKIr0rpk.js} +13 -14
- package/dist/esm/{base-qvPPg-dn.js → base-C7nTPc7u.js} +95 -67
- package/dist/esm/{base-DIcqHqMz.js → base-CpUNedp9.js} +13 -14
- package/dist/esm/{base-CHmdLgoO.js → base-D7qItqyf.js} +14 -16
- package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-B3wi5eWH.js} +2 -1
- package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-BpL_hXcg.js} +16 -18
- package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-DorOeD_U.js} +10 -13
- package/dist/esm/{behavior-B08CXmI4.js → behavior-D9BHiFnH.js} +29 -28
- package/dist/esm/{behavior-CwUUkdaP.js → behavior-DDo87iUM.js} +6 -6
- package/dist/esm/{behavior-DW7_5Wxp.js → behavior-XAV9GSxI.js} +6 -6
- package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CrZZQahR.js} +60 -14
- package/dist/esm/bootstrap-Cz7Iq2I2.js +52 -0
- package/dist/esm/{color-eAL9I7Wq.js → color-CnVBqZd5.js} +3 -3
- package/dist/esm/{component-8ALsFV4i.js → component-0npqUhj2.js} +5 -6
- package/dist/esm/{component-nR5Bf9G5.js → component-BCKsZOoB.js} +6 -5
- package/dist/esm/component-BZjDp_Lf.js +17 -0
- package/dist/esm/component-CjdTbGlP.js +172 -0
- package/dist/esm/component-Cn693XeT.js +47 -0
- package/dist/esm/{component-D0mBOGjS.js → component-Cvd5HXbX.js} +10 -12
- package/dist/esm/{component-DCw1ZAE5.js → component-CvdxCpjC.js} +5 -7
- package/dist/esm/{component-CdKSiR5P.js → component-DFhRTaqb.js} +6 -9
- package/dist/esm/{component-BTMWoACz.js → component-DP_p5few.js} +11 -13
- package/dist/esm/{component-DBAicJ2u.js → component-DlROeCCe.js} +14 -17
- package/dist/esm/component-names-DzmdvSkQ.js +115 -0
- package/dist/esm/{contrast-D78VGPFR.js → contrast-BHjNzQvB.js} +2 -2
- package/dist/esm/{controller-C3O9ohSP.js → controller-DYkXzFqc.js} +5 -5
- package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils-BgFDROtc.js} +1 -2
- package/dist/esm/{devtools-DrBkkLdP.js → devtools-B6h2bVMJ.js} +4 -5
- package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZIZZ6wy.js} +2 -1
- package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-C0L8NWU8.js} +1 -0
- package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-B3GEli6r.js} +2 -1
- package/dist/esm/{events-BIT-JUP2.js → events-DdfMb1U7.js} +2 -0
- package/dist/esm/{field-control-Cs5VvsYo.js → field-control-QF0yTcyb.js} +7 -8
- package/dist/esm/{group-uNo1CfbK.js → group-8Me6YSO8.js} +6 -7
- package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-B-uYNNCw.js} +2 -1
- package/dist/esm/{href-JqLbNBsW.js → href-DKPJq0Rh.js} +2 -1
- package/dist/esm/{i18n-Dl6Jjofb.js → i18n-TlIXBsgS.js} +15 -10
- package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Uze_l4Ts.js} +2 -2
- package/dist/esm/{id-CIYvVaNr.js → id-CkUYl2hO.js} +2 -1
- package/dist/esm/{index-BKEJuyFi.js → index-D1fZ9xFt.js} +1677 -46
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-Dja5Qioc.js → input-DwlolkOG.js} +4 -6
- package/dist/esm/{input-container-C2Am7LEP.js → input-container-DC3x4oGg.js} +6 -9
- package/dist/esm/{item-DIAFIFSy.js → item-DThxrTZc.js} +60 -39
- package/dist/esm/{item-C4AmpdVD.js → item-cArH2C6l.js} +9 -9
- package/dist/esm/{item-pool-BOxAYePG.js → item-pool-D4qvvY-S.js} +2 -0
- package/dist/esm/{item-D627ShRd.js → item-uC3h4pj3.js} +15 -16
- package/dist/esm/{item-ConW1c81.js → item-zPmzbSvE.js} +9 -9
- package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-DzlBdECG.js} +2 -0
- package/dist/esm/kol-abbr.entry.js +11 -15
- package/dist/esm/kol-accordion.entry.js +22 -24
- package/dist/esm/kol-alert.entry.js +35 -37
- package/dist/esm/kol-avatar.entry.js +22 -25
- package/dist/esm/kol-badge.entry.js +32 -35
- package/dist/esm/kol-breadcrumb.entry.js +38 -41
- package/dist/esm/kol-button-link.entry.js +34 -36
- package/dist/esm/kol-button.entry.js +34 -36
- package/dist/esm/kol-card.entry.js +59 -101
- package/dist/esm/kol-combobox.entry.js +87 -89
- package/dist/esm/kol-details.entry.js +22 -24
- package/dist/esm/kol-dialog.entry.js +39 -42
- package/dist/esm/kol-drawer.entry.js +39 -42
- package/dist/esm/kol-form.entry.js +32 -35
- package/dist/esm/kol-heading.entry.js +20 -22
- package/dist/esm/kol-icon.entry.js +20 -18
- package/dist/esm/kol-image.entry.js +25 -27
- package/dist/esm/kol-input-checkbox.entry.js +90 -91
- package/dist/esm/kol-input-color.entry.js +69 -70
- package/dist/esm/kol-input-date.entry.js +81 -83
- package/dist/esm/kol-input-email.entry.js +85 -86
- package/dist/esm/kol-input-file.entry.js +62 -63
- package/dist/esm/kol-input-number.entry.js +83 -84
- package/dist/esm/kol-input-password.entry.js +83 -84
- package/dist/esm/kol-input-radio.entry.js +63 -66
- package/dist/esm/kol-input-range.entry.js +67 -69
- package/dist/esm/kol-input-text.entry.js +98 -99
- package/dist/esm/kol-kolibri.entry.js +12 -15
- package/dist/esm/kol-link-button.entry.js +42 -44
- package/dist/esm/kol-link.entry.js +41 -43
- package/dist/esm/kol-meter.entry.js +27 -36
- package/dist/esm/kol-modal.entry.js +39 -42
- package/dist/esm/kol-nav.entry.js +44 -47
- package/dist/esm/kol-pagination.entry.js +70 -73
- package/dist/esm/kol-popover-button.entry.js +67 -104
- package/dist/esm/kol-progress.entry.js +27 -27
- package/dist/esm/kol-quote.entry.js +17 -19
- package/dist/esm/kol-select.entry.js +73 -75
- package/dist/esm/kol-single-select.entry.js +95 -92
- package/dist/esm/kol-skip-nav.entry.js +38 -41
- package/dist/esm/kol-spin.entry.js +26 -29
- package/dist/esm/kol-split-button.entry.js +38 -40
- package/dist/esm/kol-table-stateful.entry.js +136 -109
- package/dist/esm/kol-table-stateless.entry.js +62 -74
- package/dist/esm/kol-tabs.entry.js +54 -60
- package/dist/esm/kol-textarea.entry.js +82 -82
- package/dist/esm/kol-toast-container.entry.js +22 -26
- package/dist/esm/kol-toolbar.entry.js +63 -62
- package/dist/esm/kol-tree-item.entry.js +44 -44
- package/dist/esm/kol-tree.entry.js +35 -25
- package/dist/esm/kol-version.entry.js +25 -28
- package/dist/esm/kolibri.js +7 -6
- package/dist/esm/{label-BRosRgdX.js → label-G82W4YoW.js} +4 -3
- package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-DiRb_zIZ.js} +2 -2
- package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-BSVexfSR.js} +3 -2
- package/dist/esm/label-with-expert-slot-C1i0atAL.js +13 -0
- package/dist/esm/{level-CA1s1_Mf.js → level-CWkPM-CS.js} +2 -1
- package/dist/esm/{link-target-FX94oqMo.js → link-target-B2OC2sZU.js} +2 -1
- package/dist/esm/{links-DwucTqcR.js → links-CiNHSAYH.js} +2 -2
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{multiple-DqrZxybx.js → multiple-CuU2AuEM.js} +2 -1
- package/dist/esm/{number-value-B-SJ1dRo.js → number-value-adUq1zr1.js} +2 -1
- package/dist/esm/{open-DRRv1KFK.js → open-DR8Z7RtS.js} +2 -1
- package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-CS2mDRNB.js} +2 -0
- package/dist/esm/{options-B0rBHetL.js → options-BDTJtk6H.js} +2 -0
- package/dist/esm/{options-DCaUcfAu.js → options-BPwcDIDO.js} +2 -2
- package/dist/esm/{orientation-XNOCaPwy.js → orientation-BUPO9LJU.js} +2 -1
- package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-BTFnryTd.js} +2 -1
- package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DqFgiUwD.js} +136 -63
- package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DRmmHb2G.js} +2 -1
- package/dist/esm/{required-hoaT7UmZ.js → required-D4CdAA4s.js} +2 -1
- package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-BAambGug.js} +9 -9
- package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-Dpl38Wpe.js} +7 -8
- package/dist/esm/{rows-B0x8CR7K.js → rows-DRKSoawJ.js} +2 -1
- package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-C66lpb8L.js} +9 -7
- package/dist/esm/shared-state-Dn94ivRg.js +14 -0
- package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BYEk3DzS.js} +2 -2
- package/dist/esm/{spell-check-DzgftyqL.js → spell-check-DlQ_d2GL.js} +2 -1
- package/dist/esm/{src-DaGhmCL1.js → src-Cikg9qhP.js} +2 -1
- package/dist/esm/{step-Bdj89bGO.js → step-C7WPZrUp.js} +2 -1
- package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-CotfxJG1.js} +2 -2
- package/dist/esm/{suggestions-DuqzGDve.js → suggestions-qW9OdwO3.js} +3 -3
- package/dist/esm/test-component.entry.js +3 -3
- package/dist/esm/theme-store-DroJsU6S.js +11 -0
- package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-BB_SIgS1.js} +12 -15
- package/dist/esm/tooltip-open-tracking-CxHWKk8f.js +21 -0
- package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CQgKoOXd.js} +2 -2
- package/dist/esm/{unit-BUhhJbhT.js → unit-D2lG-lEM.js} +2 -1
- package/dist/esm/{validators-BVM40IEr.js → validators-yh10eyXe.js} +4 -2
- package/dist/esm/{value-string-e9pwLcS-.js → value-string-DwEIOG1f.js} +2 -1
- package/dist/esm/{width-CgYY17tL.js → width-xawzWTVW.js} +2 -1
- package/dist/kolibri/Heading-foerLIu9.js +4 -0
- package/dist/kolibri/access-and-short-key-BTEwnScd.js +4 -0
- package/dist/kolibri/api-Ba9FNPRn.js +4 -0
- package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
- package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
- package/dist/kolibri/aria-labelledby-C4wUnR-v.js +4 -0
- package/dist/kolibri/base-AKIr0rpk.js +4 -0
- package/dist/kolibri/base-C7nTPc7u.js +4 -0
- package/dist/kolibri/base-CpUNedp9.js +4 -0
- package/dist/kolibri/base-D7qItqyf.js +4 -0
- package/dist/kolibri/base-web-component-B3wi5eWH.js +4 -0
- package/dist/kolibri/base-web-component-BpL_hXcg.js +4 -0
- package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
- package/dist/kolibri/behavior-D9BHiFnH.js +4 -0
- package/dist/kolibri/behavior-DDo87iUM.js +4 -0
- package/dist/kolibri/behavior-XAV9GSxI.js +4 -0
- package/dist/kolibri/bem-registry-CrZZQahR.js +4 -0
- package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
- package/dist/kolibri/color-CnVBqZd5.js +4 -0
- package/dist/kolibri/component-0npqUhj2.js +4 -0
- package/dist/kolibri/component-BCKsZOoB.js +4 -0
- package/dist/kolibri/component-BZjDp_Lf.js +4 -0
- package/dist/kolibri/component-CjdTbGlP.js +4 -0
- package/dist/kolibri/component-Cn693XeT.js +4 -0
- package/dist/kolibri/component-Cvd5HXbX.js +4 -0
- package/dist/kolibri/component-CvdxCpjC.js +4 -0
- package/dist/kolibri/component-DFhRTaqb.js +4 -0
- package/dist/kolibri/component-DP_p5few.js +4 -0
- package/dist/kolibri/component-DlROeCCe.js +4 -0
- package/dist/kolibri/component-names-DzmdvSkQ.js +4 -0
- package/dist/kolibri/contrast-BHjNzQvB.js +4 -0
- package/dist/kolibri/controller-DYkXzFqc.js +4 -0
- package/dist/kolibri/dev.utils-BgFDROtc.js +4 -0
- package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
- package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
- package/dist/kolibri/element-focus-C0L8NWU8.js +4 -0
- package/dist/kolibri/element-interaction-B3GEli6r.js +4 -0
- package/dist/kolibri/events-DdfMb1U7.js +4 -0
- package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
- package/dist/kolibri/group-8Me6YSO8.js +4 -0
- package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
- package/dist/kolibri/href-DKPJq0Rh.js +4 -0
- package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
- package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
- package/dist/kolibri/id-CkUYl2hO.js +4 -0
- package/dist/kolibri/index-D1fZ9xFt.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-DwlolkOG.js +4 -0
- package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
- package/dist/kolibri/item-DThxrTZc.js +4 -0
- package/dist/kolibri/item-cArH2C6l.js +4 -0
- package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
- package/dist/kolibri/item-uC3h4pj3.js +4 -0
- package/dist/kolibri/item-zPmzbSvE.js +4 -0
- package/dist/kolibri/keyboard-DzlBdECG.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/label-G82W4YoW.js +4 -0
- package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
- package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
- package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
- package/dist/kolibri/level-CWkPM-CS.js +4 -0
- package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
- package/dist/kolibri/links-CiNHSAYH.js +4 -0
- package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
- package/dist/kolibri/number-value-adUq1zr1.js +4 -0
- package/dist/kolibri/open-DR8Z7RtS.js +4 -0
- package/dist/kolibri/open-items-cache-CS2mDRNB.js +4 -0
- package/dist/kolibri/options-BDTJtk6H.js +4 -0
- package/dist/kolibri/options-BPwcDIDO.js +4 -0
- package/dist/kolibri/orientation-BUPO9LJU.js +4 -0
- package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
- package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
- package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
- package/dist/kolibri/required-D4CdAA4s.js +4 -0
- package/dist/kolibri/resolve-props-BAambGug.js +4 -0
- package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
- package/dist/kolibri/rows-DRKSoawJ.js +4 -0
- package/dist/kolibri/scroll-lock-C66lpb8L.js +4 -0
- package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
- package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
- package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
- package/dist/kolibri/src-Cikg9qhP.js +4 -0
- package/dist/kolibri/step-C7WPZrUp.js +4 -0
- package/dist/kolibri/suggestions-CotfxJG1.js +4 -0
- package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
- package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
- package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
- package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
- package/dist/kolibri/unit-D2lG-lEM.js +4 -0
- package/dist/kolibri/validators-yh10eyXe.js +4 -0
- package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
- package/dist/kolibri/width-xawzWTVW.js +4 -0
- package/dist/types/components/accordion/component.d.ts +2 -2
- package/dist/types/components/alert/component.d.ts +3 -2
- package/dist/types/components/badge/component.d.ts +2 -2
- package/dist/types/components/breadcrumb/component.d.ts +2 -2
- package/dist/types/components/button/base.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +2 -2
- package/dist/types/components/button-link/component.d.ts +2 -2
- package/dist/types/components/card/component.d.ts +12 -5
- package/dist/types/components/combobox/component.d.ts +10 -10
- package/dist/types/components/details/component.d.ts +2 -2
- package/dist/types/components/dialog/base.d.ts +1 -1
- package/dist/types/components/dialog/component.d.ts +3 -3
- package/dist/types/components/drawer/component.d.ts +2 -2
- package/dist/types/components/form/component.d.ts +2 -2
- package/dist/types/components/heading/component.d.ts +2 -2
- package/dist/types/components/image/component.d.ts +2 -2
- package/dist/types/components/input-checkbox/component.d.ts +9 -9
- package/dist/types/components/input-color/component.d.ts +4 -4
- package/dist/types/components/input-date/component.d.ts +7 -7
- package/dist/types/components/input-email/component.d.ts +8 -8
- package/dist/types/components/input-file/component.d.ts +4 -4
- package/dist/types/components/input-number/component.d.ts +6 -6
- package/dist/types/components/input-password/component.d.ts +8 -8
- package/dist/types/components/input-radio/component.d.ts +5 -5
- package/dist/types/components/input-range/component.d.ts +4 -4
- package/dist/types/components/input-text/component.d.ts +12 -12
- package/dist/types/components/kolibri/component.d.ts +2 -2
- package/dist/types/components/link/component.d.ts +4 -4
- package/dist/types/components/link-button/component.d.ts +4 -4
- package/dist/types/components/modal/component.d.ts +3 -3
- package/dist/types/components/nav/component.d.ts +2 -2
- package/dist/types/components/pagination/component.d.ts +8 -8
- package/dist/types/components/popover-button/component.d.ts +10 -3
- package/dist/types/components/progress/component.d.ts +1 -0
- package/dist/types/components/public-api/contract.d.ts +7 -2
- package/dist/types/components/select/component.d.ts +6 -6
- package/dist/types/components/single-select/component.d.ts +11 -10
- package/dist/types/components/skip-nav/component.d.ts +2 -2
- package/dist/types/components/spin/component.d.ts +2 -2
- package/dist/types/components/split-button/component.d.ts +2 -2
- package/dist/types/components/table-stateful/component.d.ts +10 -11
- package/dist/types/components/table-stateless/base.d.ts +4 -2
- package/dist/types/components/table-stateless/component.d.ts +5 -8
- package/dist/types/components/tabs/component.d.ts +4 -5
- package/dist/types/components/textarea/component.d.ts +8 -8
- package/dist/types/components/toolbar/component.d.ts +6 -6
- package/dist/types/components/tree/component.d.ts +3 -2
- package/dist/types/components/tree-item/component.d.ts +4 -4
- package/dist/types/components/version/component.d.ts +2 -2
- package/dist/types/components.d.ts +64 -177
- package/dist/types/core/component-names.d.ts +52 -53
- package/dist/types/core/i18n.d.ts +1 -1
- package/dist/types/core/shared-state.d.ts +1 -0
- package/dist/types/core/tag-transformer.d.ts +4 -0
- package/dist/types/core/theme-store.d.ts +1 -0
- package/dist/types/index.d.ts +4 -2
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
- package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
- package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
- package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/button/item.d.ts +1 -1
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
- package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
- package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
- package/dist/types/internal/functional-components/dialog/component.d.ts +8 -4
- package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
- package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
- package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/image/api.d.ts +2 -2
- package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -1
- package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
- package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateful/model.d.ts +4 -2
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
- package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +5 -5
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
- package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
- package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
- package/dist/types/internal/functional-components/version/api.d.ts +1 -1
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
- package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
- package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
- package/dist/types/internal/props/helpers/validators.d.ts +2 -1
- package/dist/types/internal/props/index.d.ts +2 -1
- package/dist/types/internal/props/info-popover.d.ts +1 -1
- package/dist/types/internal/props/input-date-max.d.ts +1 -1
- package/dist/types/internal/props/input-date-min.d.ts +1 -1
- package/dist/types/internal/props/label-decorative.d.ts +4 -0
- package/dist/types/internal/props/nav-links.d.ts +1 -1
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
- package/dist/types/internal/props/smart-button.d.ts +1 -25
- package/dist/types/internal/props/table-headers.d.ts +2 -2
- package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
- package/dist/types/internal/props/value-input-date.d.ts +1 -1
- package/dist/types/locales/de.d.ts +1 -0
- package/dist/types/locales/en.d.ts +1 -0
- package/dist/types/schema/bem-registry.d.ts +87 -23
- package/dist/types/schema/components/alert.d.ts +2 -8
- package/dist/types/schema/components/badge.d.ts +3 -16
- package/dist/types/schema/components/breadcrumb.d.ts +0 -15
- package/dist/types/schema/components/button.d.ts +3 -3
- package/dist/types/schema/components/card.d.ts +0 -9
- package/dist/types/schema/components/form.d.ts +0 -13
- package/dist/types/schema/components/index.d.ts +0 -29
- package/dist/types/schema/components/link.d.ts +2 -2
- package/dist/types/schema/components/pagination.d.ts +3 -17
- package/dist/types/schema/components/popover-button.d.ts +3 -6
- package/dist/types/schema/components/table.d.ts +2 -3
- package/dist/types/schema/components/tableStateless.d.ts +5 -4
- package/dist/types/schema/components/tabs.d.ts +3 -21
- package/dist/types/schema/components/textarea.d.ts +0 -28
- package/dist/types/schema/i18n-keys.d.ts +29 -28
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/props/accept.d.ts +0 -3
- package/dist/types/schema/props/access-key.d.ts +0 -2
- package/dist/types/schema/props/active.d.ts +0 -3
- package/dist/types/schema/props/adjust-height.d.ts +0 -2
- package/dist/types/schema/props/alert-type.d.ts +0 -2
- package/dist/types/schema/props/align.d.ts +0 -2
- package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
- package/dist/types/schema/props/alt.d.ts +0 -3
- package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
- package/dist/types/schema/props/aria-controls.d.ts +0 -2
- package/dist/types/schema/props/aria-current-value.d.ts +1 -5
- package/dist/types/schema/props/aria-description.d.ts +0 -2
- package/dist/types/schema/props/aria-details.d.ts +0 -2
- package/dist/types/schema/props/aria-expanded.d.ts +0 -2
- package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
- package/dist/types/schema/props/aria-owns.d.ts +0 -2
- package/dist/types/schema/props/aria-selected.d.ts +0 -2
- package/dist/types/schema/props/auto-complete.d.ts +0 -2
- package/dist/types/schema/props/badge-text.d.ts +0 -2
- package/dist/types/schema/props/button-callbacks.d.ts +0 -3
- package/dist/types/schema/props/button-type.d.ts +1 -5
- package/dist/types/schema/props/button-variant.d.ts +1 -5
- package/dist/types/schema/props/checked.d.ts +0 -2
- package/dist/types/schema/props/collapsible.d.ts +0 -2
- package/dist/types/schema/props/color.d.ts +0 -4
- package/dist/types/schema/props/current-length.d.ts +0 -3
- package/dist/types/schema/props/custom-class.d.ts +0 -2
- package/dist/types/schema/props/disabled.d.ts +0 -2
- package/dist/types/schema/props/download.d.ts +0 -2
- package/dist/types/schema/props/error-list.d.ts +0 -2
- package/dist/types/schema/props/has-closer.d.ts +0 -2
- package/dist/types/schema/props/has-compact-button.d.ts +0 -2
- package/dist/types/schema/props/has-counter.d.ts +0 -3
- package/dist/types/schema/props/has-create-button.d.ts +0 -2
- package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
- package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
- package/dist/types/schema/props/has-value.d.ts +0 -3
- package/dist/types/schema/props/hide-label.d.ts +0 -3
- package/dist/types/schema/props/hide-msg.d.ts +0 -3
- package/dist/types/schema/props/hint.d.ts +0 -2
- package/dist/types/schema/props/href.d.ts +2 -4
- package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/icons.d.ts +0 -3
- package/dist/types/schema/props/id.d.ts +0 -2
- package/dist/types/schema/props/image-sizes.d.ts +0 -3
- package/dist/types/schema/props/image-source.d.ts +0 -3
- package/dist/types/schema/props/image-srcset.d.ts +0 -3
- package/dist/types/schema/props/indeterminate.d.ts +0 -2
- package/dist/types/schema/props/index.d.ts +5 -1
- package/dist/types/schema/props/inline.d.ts +0 -3
- package/dist/types/schema/props/label-align.d.ts +1 -5
- package/dist/types/schema/props/label.d.ts +4 -7
- package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
- package/dist/types/schema/props/link-target.d.ts +0 -2
- package/dist/types/schema/props/loading.d.ts +1 -5
- package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
- package/dist/types/schema/props/max-length.d.ts +0 -3
- package/dist/types/schema/props/max.d.ts +0 -4
- package/dist/types/schema/props/modal.d.ts +0 -2
- package/dist/types/schema/props/msg.d.ts +0 -2
- package/dist/types/schema/props/multiple.d.ts +0 -3
- package/dist/types/schema/props/name.d.ts +0 -3
- package/dist/types/schema/props/open.d.ts +0 -3
- package/dist/types/schema/props/options.d.ts +0 -4
- package/dist/types/schema/props/orientation.d.ts +1 -5
- package/dist/types/schema/props/pagination-position.d.ts +1 -5
- package/dist/types/schema/props/pattern.d.ts +0 -3
- package/dist/types/schema/props/placeholder.d.ts +0 -3
- package/dist/types/schema/props/popover-align.d.ts +0 -2
- package/dist/types/schema/props/read-only.d.ts +0 -2
- package/dist/types/schema/props/required.d.ts +0 -2
- package/dist/types/schema/props/resize-textarea.d.ts +0 -2
- package/dist/types/schema/props/rows.d.ts +0 -2
- package/dist/types/schema/props/short-key.d.ts +0 -2
- package/dist/types/schema/props/show.d.ts +0 -3
- package/dist/types/schema/props/spell-check.d.ts +0 -2
- package/dist/types/schema/props/suggestions.d.ts +0 -2
- package/dist/types/schema/props/tab-behavior.d.ts +1 -5
- package/dist/types/schema/props/tab-index.d.ts +0 -2
- package/dist/types/schema/props/table-callbacks.d.ts +5 -5
- package/dist/types/schema/props/table-data-foot.d.ts +0 -3
- package/dist/types/schema/props/table-data.d.ts +0 -3
- package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
- package/dist/types/schema/props/table-headers.d.ts +3 -0
- package/dist/types/schema/props/table-selection.d.ts +0 -2
- package/dist/types/schema/props/toolbar-items.d.ts +0 -2
- package/dist/types/schema/props/tooltip-align.d.ts +0 -2
- package/dist/types/schema/props/touched.d.ts +0 -2
- package/dist/types/schema/props/type-input-date.d.ts +4 -2
- package/dist/types/schema/props/type-input-text.d.ts +0 -2
- package/dist/types/schema/props/unit.d.ts +0 -2
- package/dist/types/schema/props/variant/dialog.d.ts +1 -5
- package/dist/types/schema/props/variant/modal.d.ts +0 -1
- package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
- package/dist/types/schema/props/variant-alert.d.ts +0 -2
- package/dist/types/schema/props/variant-class-name.d.ts +0 -3
- package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/variant-progress.d.ts +0 -2
- package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
- package/dist/types/schema/props/width.d.ts +0 -3
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/validators/common.d.ts +2 -0
- package/dist/types/schema/validators/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/dist/types/utils/testing/logged-messages.d.ts +1 -0
- package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
- package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
- package/doc/badge.md +21 -6
- package/doc/button.md +13 -0
- package/doc/combobox.md +23 -23
- package/doc/input-checkbox.md +17 -2
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +28 -28
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +22 -22
- package/doc/input-number.md +43 -28
- package/doc/input-password.md +29 -29
- package/doc/input-radio.md +19 -19
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +31 -31
- package/doc/link.md +13 -0
- package/doc/pagination.md +13 -13
- package/doc/quote.md +13 -0
- package/doc/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/table-stateful.md +33 -16
- package/doc/table-stateless.md +31 -15
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +29 -29
- package/package.json +25 -17
- package/vscode-custom-data.json +53 -158
- package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
- package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
- package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/common-C-hcIfzh.js +0 -1755
- package/dist/cjs/component-BEzksV1U.js +0 -9300
- package/dist/cjs/component-BQUKg-qY.js +0 -53
- package/dist/cjs/component-BlAPlTfV.js +0 -20
- package/dist/cjs/component-DMfcX1br.js +0 -14
- package/dist/cjs/component-Dkx5Zyhq.js +0 -18
- package/dist/cjs/component-names-BMpML1sX.js +0 -113
- package/dist/cjs/input-CgTL2oH6.js +0 -20
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
- package/dist/cjs/name-D4qpL1m-.js +0 -10
- package/dist/collection/components/card/base.js +0 -79
- package/dist/collection/components/click-button/component.js +0 -105
- package/dist/collection/components/link/ariaCurrentService.js +0 -23
- package/dist/collection/components/popover-button/base.js +0 -69
- package/dist/collection/components/skeleton/component.js +0 -215
- package/dist/collection/internal/functional-components/click-button/api.js +0 -7
- package/dist/collection/internal/functional-components/click-button/component.js +0 -9
- package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
- package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
- package/dist/collection/schema/components/button-link.js +0 -1
- package/dist/collection/schema/components/collapsible.js +0 -1
- package/dist/collection/schema/components/combobox.js +0 -1
- package/dist/collection/schema/components/details.js +0 -1
- package/dist/collection/schema/components/dialog.js +0 -1
- package/dist/collection/schema/components/drawer.js +0 -1
- package/dist/collection/schema/components/heading.js +0 -1
- package/dist/collection/schema/components/input-checkbox.js +0 -1
- package/dist/collection/schema/components/input-color.js +0 -1
- package/dist/collection/schema/components/input-date.js +0 -1
- package/dist/collection/schema/components/input-email.js +0 -1
- package/dist/collection/schema/components/input-file.js +0 -1
- package/dist/collection/schema/components/input-number.js +0 -1
- package/dist/collection/schema/components/input-password.js +0 -1
- package/dist/collection/schema/components/input-radio.js +0 -1
- package/dist/collection/schema/components/input-range.js +0 -1
- package/dist/collection/schema/components/input-text.js +0 -1
- package/dist/collection/schema/components/kolibri.js +0 -1
- package/dist/collection/schema/components/link-button.js +0 -1
- package/dist/collection/schema/components/modal.js +0 -1
- package/dist/collection/schema/components/nav.js +0 -1
- package/dist/collection/schema/components/select.js +0 -1
- package/dist/collection/schema/components/single-select.js +0 -1
- package/dist/collection/schema/components/skip-nav.js +0 -1
- package/dist/collection/schema/components/split-button.js +0 -1
- package/dist/collection/schema/components/toolbar.js +0 -1
- package/dist/collection/schema/components/tree-item.js +0 -1
- package/dist/collection/schema/components/tree.js +0 -1
- package/dist/collection/schema/components/version.js +0 -1
- package/dist/collection/schema/props/table-header-cells.js +0 -36
- package/dist/collection/schema/validators/alignment.js +0 -10
- package/dist/collection/utils/testing/legacy-component.js +0 -16
- package/dist/components/aria-labelledby.js +0 -4
- package/dist/components/ariaCurrentService.js +0 -4
- package/dist/components/block-bem.js +0 -4
- package/dist/components/clsx.js +0 -4
- package/dist/components/href.js +0 -4
- package/dist/components/kol-click-button.d.ts +0 -11
- package/dist/components/kol-click-button.js +0 -4
- package/dist/components/kol-skeleton.d.ts +0 -11
- package/dist/components/kol-skeleton.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/components/props-from-config.js +0 -4
- package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
- package/dist/esm/block-bem-BpQSY04L.js +0 -16
- package/dist/esm/bootstrap-B9DtStuh.js +0 -28
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/common-OzsC_6kt.js +0 -1709
- package/dist/esm/component-Bc1n82Y8.js +0 -16
- package/dist/esm/component-CZZNha2e.js +0 -9295
- package/dist/esm/component-Cdnq5GYF.js +0 -18
- package/dist/esm/component-DLSlbWg8.js +0 -12
- package/dist/esm/component-DeMf195P.js +0 -48
- package/dist/esm/component-names-CrfBV37S.js +0 -111
- package/dist/esm/kol-click-button.entry.js +0 -53
- package/dist/esm/kol-skeleton.entry.js +0 -105
- package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
- package/dist/esm/name-B2Yf3EpX.js +0 -8
- package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
- package/dist/kolibri/Heading-BVhjT9av.js +0 -4
- package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
- package/dist/kolibri/api-D92_O-0H.js +0 -4
- package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
- package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
- package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
- package/dist/kolibri/base-BLBSJu_1.js +0 -4
- package/dist/kolibri/base-CHmdLgoO.js +0 -4
- package/dist/kolibri/base-DIcqHqMz.js +0 -4
- package/dist/kolibri/base-qvPPg-dn.js +0 -4
- package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
- package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
- package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
- package/dist/kolibri/behavior-B08CXmI4.js +0 -4
- package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
- package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
- package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
- package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
- package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/color-eAL9I7Wq.js +0 -4
- package/dist/kolibri/common-OzsC_6kt.js +0 -4
- package/dist/kolibri/component-8ALsFV4i.js +0 -4
- package/dist/kolibri/component-BTMWoACz.js +0 -4
- package/dist/kolibri/component-Bc1n82Y8.js +0 -4
- package/dist/kolibri/component-CZZNha2e.js +0 -4
- package/dist/kolibri/component-CdKSiR5P.js +0 -4
- package/dist/kolibri/component-Cdnq5GYF.js +0 -4
- package/dist/kolibri/component-D0mBOGjS.js +0 -4
- package/dist/kolibri/component-DBAicJ2u.js +0 -4
- package/dist/kolibri/component-DCw1ZAE5.js +0 -4
- package/dist/kolibri/component-DLSlbWg8.js +0 -4
- package/dist/kolibri/component-DeMf195P.js +0 -4
- package/dist/kolibri/component-nR5Bf9G5.js +0 -4
- package/dist/kolibri/component-names-CrfBV37S.js +0 -4
- package/dist/kolibri/contrast-D78VGPFR.js +0 -4
- package/dist/kolibri/controller-C3O9ohSP.js +0 -4
- package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
- package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
- package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
- package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
- package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
- package/dist/kolibri/events-BIT-JUP2.js +0 -4
- package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
- package/dist/kolibri/group-uNo1CfbK.js +0 -4
- package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
- package/dist/kolibri/href-JqLbNBsW.js +0 -4
- package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
- package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
- package/dist/kolibri/id-CIYvVaNr.js +0 -4
- package/dist/kolibri/index-BKEJuyFi.js +0 -6
- package/dist/kolibri/input-Dja5Qioc.js +0 -4
- package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
- package/dist/kolibri/item-C4AmpdVD.js +0 -4
- package/dist/kolibri/item-ConW1c81.js +0 -4
- package/dist/kolibri/item-D627ShRd.js +0 -4
- package/dist/kolibri/item-DIAFIFSy.js +0 -4
- package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
- package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
- package/dist/kolibri/kol-click-button.entry.js +0 -4
- package/dist/kolibri/kol-skeleton.entry.js +0 -4
- package/dist/kolibri/label-BRosRgdX.js +0 -4
- package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
- package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
- package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
- package/dist/kolibri/level-CA1s1_Mf.js +0 -4
- package/dist/kolibri/link-target-FX94oqMo.js +0 -4
- package/dist/kolibri/links-DwucTqcR.js +0 -4
- package/dist/kolibri/multiple-DqrZxybx.js +0 -4
- package/dist/kolibri/name-B2Yf3EpX.js +0 -4
- package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
- package/dist/kolibri/open-DRRv1KFK.js +0 -4
- package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
- package/dist/kolibri/options-B0rBHetL.js +0 -4
- package/dist/kolibri/options-DCaUcfAu.js +0 -4
- package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
- package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
- package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
- package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
- package/dist/kolibri/required-hoaT7UmZ.js +0 -4
- package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
- package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
- package/dist/kolibri/rows-B0x8CR7K.js +0 -4
- package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
- package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
- package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
- package/dist/kolibri/src-DaGhmCL1.js +0 -4
- package/dist/kolibri/step-Bdj89bGO.js +0 -4
- package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
- package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
- package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
- package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
- package/dist/kolibri/unit-BUhhJbhT.js +0 -4
- package/dist/kolibri/validators-BVM40IEr.js +0 -4
- package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
- package/dist/kolibri/width-CgYY17tL.js +0 -4
- package/dist/types/components/card/base.d.ts +0 -27
- package/dist/types/components/click-button/component.d.ts +0 -15
- package/dist/types/components/popover-button/base.d.ts +0 -21
- package/dist/types/components/skeleton/component.d.ts +0 -26
- package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
- package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
- package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
- package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
- package/dist/types/schema/components/accordion.d.ts +0 -11
- package/dist/types/schema/components/button-link.d.ts +0 -7
- package/dist/types/schema/components/collapsible.d.ts +0 -7
- package/dist/types/schema/components/combobox.d.ts +0 -26
- package/dist/types/schema/components/details.d.ts +0 -11
- package/dist/types/schema/components/dialog.d.ts +0 -21
- package/dist/types/schema/components/drawer.d.ts +0 -17
- package/dist/types/schema/components/heading.d.ts +0 -17
- package/dist/types/schema/components/input-checkbox.d.ts +0 -25
- package/dist/types/schema/components/input-color.d.ts +0 -25
- package/dist/types/schema/components/input-date.d.ts +0 -34
- package/dist/types/schema/components/input-email.d.ts +0 -31
- package/dist/types/schema/components/input-file.d.ts +0 -22
- package/dist/types/schema/components/input-number.d.ts +0 -33
- package/dist/types/schema/components/input-password.d.ts +0 -31
- package/dist/types/schema/components/input-radio.d.ts +0 -22
- package/dist/types/schema/components/input-range.d.ts +0 -27
- package/dist/types/schema/components/input-text.d.ts +0 -33
- package/dist/types/schema/components/kolibri.d.ts +0 -21
- package/dist/types/schema/components/link-button.d.ts +0 -7
- package/dist/types/schema/components/modal.d.ts +0 -4
- package/dist/types/schema/components/nav.d.ts +0 -16
- package/dist/types/schema/components/select.d.ts +0 -24
- package/dist/types/schema/components/single-select.d.ts +0 -24
- package/dist/types/schema/components/skip-nav.d.ts +0 -16
- package/dist/types/schema/components/split-button.d.ts +0 -9
- package/dist/types/schema/components/toolbar.d.ts +0 -11
- package/dist/types/schema/components/tree-item.d.ts +0 -12
- package/dist/types/schema/components/tree.d.ts +0 -10
- package/dist/types/schema/components/version.d.ts +0 -10
- package/dist/types/schema/props/table-header-cells.d.ts +0 -11
- package/dist/types/schema/validators/alignment.d.ts +0 -3
- package/dist/types/utils/testing/legacy-component.d.ts +0 -4
- package/doc/skeleton.md +0 -54
- /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
- /package/dist/collection/schema/{components/accordion.js → props/table-headers.js} +0 -0
- /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
- /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
|
@@ -3,32 +3,1668 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
require('./common-C-hcIfzh.js');
|
|
7
|
-
|
|
8
6
|
function _interopNamespace(e) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
if (e && e.__esModule) return e;
|
|
8
|
+
var n = Object.create(null);
|
|
9
|
+
if (e) {
|
|
10
|
+
Object.keys(e).forEach(function (k) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return e[k]; }
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
const NAMESPACE = 'kolibri';
|
|
27
25
|
const BUILD = /* kolibri */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
28
|
-
const Env = /* kolibri */ {"kolibriVersion":"5.0.0-beta.
|
|
26
|
+
const Env = /* kolibri */ {"kolibriVersion":"5.0.0-beta.3"};
|
|
27
|
+
|
|
28
|
+
function getDefaultExportFromCjs (x) {
|
|
29
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var loglevel$1 = {exports: {}};
|
|
29
33
|
|
|
30
34
|
/*
|
|
31
|
-
|
|
35
|
+
* loglevel - https://github.com/pimterry/loglevel
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) 2013 Tim Perry
|
|
38
|
+
* Licensed under the MIT license.
|
|
39
|
+
*/
|
|
40
|
+
var loglevel = loglevel$1.exports;
|
|
41
|
+
|
|
42
|
+
var hasRequiredLoglevel;
|
|
43
|
+
|
|
44
|
+
function requireLoglevel () {
|
|
45
|
+
if (hasRequiredLoglevel) return loglevel$1.exports;
|
|
46
|
+
hasRequiredLoglevel = 1;
|
|
47
|
+
(function (module) {
|
|
48
|
+
(function (root, definition) {
|
|
49
|
+
if (module.exports) {
|
|
50
|
+
module.exports = definition();
|
|
51
|
+
} else {
|
|
52
|
+
root.log = definition();
|
|
53
|
+
}
|
|
54
|
+
}(loglevel, function () {
|
|
55
|
+
|
|
56
|
+
// Slightly dubious tricks to cut down minimized file size
|
|
57
|
+
var noop = function() {};
|
|
58
|
+
var undefinedType = "undefined";
|
|
59
|
+
var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (
|
|
60
|
+
/Trident\/|MSIE /.test(window.navigator.userAgent)
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
var logMethods = [
|
|
64
|
+
"trace",
|
|
65
|
+
"debug",
|
|
66
|
+
"info",
|
|
67
|
+
"warn",
|
|
68
|
+
"error"
|
|
69
|
+
];
|
|
70
|
+
|
|
71
|
+
var _loggersByName = {};
|
|
72
|
+
var defaultLogger = null;
|
|
73
|
+
|
|
74
|
+
// Cross-browser bind equivalent that works at least back to IE6
|
|
75
|
+
function bindMethod(obj, methodName) {
|
|
76
|
+
var method = obj[methodName];
|
|
77
|
+
if (typeof method.bind === 'function') {
|
|
78
|
+
return method.bind(obj);
|
|
79
|
+
} else {
|
|
80
|
+
try {
|
|
81
|
+
return Function.prototype.bind.call(method, obj);
|
|
82
|
+
} catch (e) {
|
|
83
|
+
// Missing bind shim or IE8 + Modernizr, fallback to wrapping
|
|
84
|
+
return function() {
|
|
85
|
+
return Function.prototype.apply.apply(method, [obj, arguments]);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Trace() doesn't print the message in IE, so for that case we need to wrap it
|
|
92
|
+
function traceForIE() {
|
|
93
|
+
if (console.log) {
|
|
94
|
+
if (console.log.apply) {
|
|
95
|
+
console.log.apply(console, arguments);
|
|
96
|
+
} else {
|
|
97
|
+
// In old IE, native console methods themselves don't have apply().
|
|
98
|
+
Function.prototype.apply.apply(console.log, [console, arguments]);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
if (console.trace) console.trace();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Build the best logging method possible for this env
|
|
105
|
+
// Wherever possible we want to bind, not wrap, to preserve stack traces
|
|
106
|
+
function realMethod(methodName) {
|
|
107
|
+
if (methodName === 'debug') {
|
|
108
|
+
methodName = 'log';
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (typeof console === undefinedType) {
|
|
112
|
+
return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives
|
|
113
|
+
} else if (methodName === 'trace' && isIE) {
|
|
114
|
+
return traceForIE;
|
|
115
|
+
} else if (console[methodName] !== undefined) {
|
|
116
|
+
return bindMethod(console, methodName);
|
|
117
|
+
} else if (console.log !== undefined) {
|
|
118
|
+
return bindMethod(console, 'log');
|
|
119
|
+
} else {
|
|
120
|
+
return noop;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// These private functions always need `this` to be set properly
|
|
125
|
+
|
|
126
|
+
function replaceLoggingMethods() {
|
|
127
|
+
/*jshint validthis:true */
|
|
128
|
+
var level = this.getLevel();
|
|
129
|
+
|
|
130
|
+
// Replace the actual methods.
|
|
131
|
+
for (var i = 0; i < logMethods.length; i++) {
|
|
132
|
+
var methodName = logMethods[i];
|
|
133
|
+
this[methodName] = (i < level) ?
|
|
134
|
+
noop :
|
|
135
|
+
this.methodFactory(methodName, level, this.name);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Define log.log as an alias for log.debug
|
|
139
|
+
this.log = this.debug;
|
|
140
|
+
|
|
141
|
+
// Return any important warnings.
|
|
142
|
+
if (typeof console === undefinedType && level < this.levels.SILENT) {
|
|
143
|
+
return "No console available for logging";
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// In old IE versions, the console isn't present until you first open it.
|
|
148
|
+
// We build realMethod() replacements here that regenerate logging methods
|
|
149
|
+
function enableLoggingWhenConsoleArrives(methodName) {
|
|
150
|
+
return function () {
|
|
151
|
+
if (typeof console !== undefinedType) {
|
|
152
|
+
replaceLoggingMethods.call(this);
|
|
153
|
+
this[methodName].apply(this, arguments);
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// By default, we use closely bound real methods wherever possible, and
|
|
159
|
+
// otherwise we wait for a console to appear, and then try again.
|
|
160
|
+
function defaultMethodFactory(methodName, _level, _loggerName) {
|
|
161
|
+
/*jshint validthis:true */
|
|
162
|
+
return realMethod(methodName) ||
|
|
163
|
+
enableLoggingWhenConsoleArrives.apply(this, arguments);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
function Logger(name, factory) {
|
|
167
|
+
// Private instance variables.
|
|
168
|
+
var self = this;
|
|
169
|
+
/**
|
|
170
|
+
* The level inherited from a parent logger (or a global default). We
|
|
171
|
+
* cache this here rather than delegating to the parent so that it stays
|
|
172
|
+
* in sync with the actual logging methods that we have installed (the
|
|
173
|
+
* parent could change levels but we might not have rebuilt the loggers
|
|
174
|
+
* in this child yet).
|
|
175
|
+
* @type {number}
|
|
176
|
+
*/
|
|
177
|
+
var inheritedLevel;
|
|
178
|
+
/**
|
|
179
|
+
* The default level for this logger, if any. If set, this overrides
|
|
180
|
+
* `inheritedLevel`.
|
|
181
|
+
* @type {number|null}
|
|
182
|
+
*/
|
|
183
|
+
var defaultLevel;
|
|
184
|
+
/**
|
|
185
|
+
* A user-specific level for this logger. If set, this overrides
|
|
186
|
+
* `defaultLevel`.
|
|
187
|
+
* @type {number|null}
|
|
188
|
+
*/
|
|
189
|
+
var userLevel;
|
|
190
|
+
|
|
191
|
+
var storageKey = "loglevel";
|
|
192
|
+
if (typeof name === "string") {
|
|
193
|
+
storageKey += ":" + name;
|
|
194
|
+
} else if (typeof name === "symbol") {
|
|
195
|
+
storageKey = undefined;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function persistLevelIfPossible(levelNum) {
|
|
199
|
+
var levelName = (logMethods[levelNum] || 'silent').toUpperCase();
|
|
200
|
+
|
|
201
|
+
if (typeof window === undefinedType || !storageKey) return;
|
|
202
|
+
|
|
203
|
+
// Use localStorage if available
|
|
204
|
+
try {
|
|
205
|
+
window.localStorage[storageKey] = levelName;
|
|
206
|
+
return;
|
|
207
|
+
} catch (ignore) {}
|
|
208
|
+
|
|
209
|
+
// Use session cookie as fallback
|
|
210
|
+
try {
|
|
211
|
+
window.document.cookie =
|
|
212
|
+
encodeURIComponent(storageKey) + "=" + levelName + ";";
|
|
213
|
+
} catch (ignore) {}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function getPersistedLevel() {
|
|
217
|
+
var storedLevel;
|
|
218
|
+
|
|
219
|
+
if (typeof window === undefinedType || !storageKey) return;
|
|
220
|
+
|
|
221
|
+
try {
|
|
222
|
+
storedLevel = window.localStorage[storageKey];
|
|
223
|
+
} catch (ignore) {}
|
|
224
|
+
|
|
225
|
+
// Fallback to cookies if local storage gives us nothing
|
|
226
|
+
if (typeof storedLevel === undefinedType) {
|
|
227
|
+
try {
|
|
228
|
+
var cookie = window.document.cookie;
|
|
229
|
+
var cookieName = encodeURIComponent(storageKey);
|
|
230
|
+
var location = cookie.indexOf(cookieName + "=");
|
|
231
|
+
if (location !== -1) {
|
|
232
|
+
storedLevel = /^([^;]+)/.exec(
|
|
233
|
+
cookie.slice(location + cookieName.length + 1)
|
|
234
|
+
)[1];
|
|
235
|
+
}
|
|
236
|
+
} catch (ignore) {}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// If the stored level is not valid, treat it as if nothing was stored.
|
|
240
|
+
if (self.levels[storedLevel] === undefined) {
|
|
241
|
+
storedLevel = undefined;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return storedLevel;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function clearPersistedLevel() {
|
|
248
|
+
if (typeof window === undefinedType || !storageKey) return;
|
|
249
|
+
|
|
250
|
+
// Use localStorage if available
|
|
251
|
+
try {
|
|
252
|
+
window.localStorage.removeItem(storageKey);
|
|
253
|
+
} catch (ignore) {}
|
|
254
|
+
|
|
255
|
+
// Use session cookie as fallback
|
|
256
|
+
try {
|
|
257
|
+
window.document.cookie =
|
|
258
|
+
encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
|
259
|
+
} catch (ignore) {}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function normalizeLevel(input) {
|
|
263
|
+
var level = input;
|
|
264
|
+
if (typeof level === "string" && self.levels[level.toUpperCase()] !== undefined) {
|
|
265
|
+
level = self.levels[level.toUpperCase()];
|
|
266
|
+
}
|
|
267
|
+
if (typeof level === "number" && level >= 0 && level <= self.levels.SILENT) {
|
|
268
|
+
return level;
|
|
269
|
+
} else {
|
|
270
|
+
throw new TypeError("log.setLevel() called with invalid level: " + input);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/*
|
|
275
|
+
*
|
|
276
|
+
* Public logger API - see https://github.com/pimterry/loglevel for details
|
|
277
|
+
*
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
self.name = name;
|
|
281
|
+
|
|
282
|
+
self.levels = { "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3,
|
|
283
|
+
"ERROR": 4, "SILENT": 5};
|
|
284
|
+
|
|
285
|
+
self.methodFactory = factory || defaultMethodFactory;
|
|
286
|
+
|
|
287
|
+
self.getLevel = function () {
|
|
288
|
+
if (userLevel != null) {
|
|
289
|
+
return userLevel;
|
|
290
|
+
} else if (defaultLevel != null) {
|
|
291
|
+
return defaultLevel;
|
|
292
|
+
} else {
|
|
293
|
+
return inheritedLevel;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
self.setLevel = function (level, persist) {
|
|
298
|
+
userLevel = normalizeLevel(level);
|
|
299
|
+
if (persist !== false) { // defaults to true
|
|
300
|
+
persistLevelIfPossible(userLevel);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// NOTE: in v2, this should call rebuild(), which updates children.
|
|
304
|
+
return replaceLoggingMethods.call(self);
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
self.setDefaultLevel = function (level) {
|
|
308
|
+
defaultLevel = normalizeLevel(level);
|
|
309
|
+
if (!getPersistedLevel()) {
|
|
310
|
+
self.setLevel(level, false);
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
self.resetLevel = function () {
|
|
315
|
+
userLevel = null;
|
|
316
|
+
clearPersistedLevel();
|
|
317
|
+
replaceLoggingMethods.call(self);
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
self.enableAll = function(persist) {
|
|
321
|
+
self.setLevel(self.levels.TRACE, persist);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
self.disableAll = function(persist) {
|
|
325
|
+
self.setLevel(self.levels.SILENT, persist);
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
self.rebuild = function () {
|
|
329
|
+
if (defaultLogger !== self) {
|
|
330
|
+
inheritedLevel = normalizeLevel(defaultLogger.getLevel());
|
|
331
|
+
}
|
|
332
|
+
replaceLoggingMethods.call(self);
|
|
333
|
+
|
|
334
|
+
if (defaultLogger === self) {
|
|
335
|
+
for (var childName in _loggersByName) {
|
|
336
|
+
_loggersByName[childName].rebuild();
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
// Initialize all the internal levels.
|
|
342
|
+
inheritedLevel = normalizeLevel(
|
|
343
|
+
defaultLogger ? defaultLogger.getLevel() : "WARN"
|
|
344
|
+
);
|
|
345
|
+
var initialLevel = getPersistedLevel();
|
|
346
|
+
if (initialLevel != null) {
|
|
347
|
+
userLevel = normalizeLevel(initialLevel);
|
|
348
|
+
}
|
|
349
|
+
replaceLoggingMethods.call(self);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/*
|
|
353
|
+
*
|
|
354
|
+
* Top-level API
|
|
355
|
+
*
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
defaultLogger = new Logger();
|
|
359
|
+
|
|
360
|
+
defaultLogger.getLogger = function getLogger(name) {
|
|
361
|
+
if ((typeof name !== "symbol" && typeof name !== "string") || name === "") {
|
|
362
|
+
throw new TypeError("You must supply a name when creating a logger.");
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
var logger = _loggersByName[name];
|
|
366
|
+
if (!logger) {
|
|
367
|
+
logger = _loggersByName[name] = new Logger(
|
|
368
|
+
name,
|
|
369
|
+
defaultLogger.methodFactory
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
return logger;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
// Grab the current global log variable in case of overwrite
|
|
376
|
+
var _log = (typeof window !== undefinedType) ? window.log : undefined;
|
|
377
|
+
defaultLogger.noConflict = function() {
|
|
378
|
+
if (typeof window !== undefinedType &&
|
|
379
|
+
window.log === defaultLogger) {
|
|
380
|
+
window.log = _log;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
return defaultLogger;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
defaultLogger.getLoggers = function getLoggers() {
|
|
387
|
+
return _loggersByName;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
// ES6 default export, for compatibility
|
|
391
|
+
defaultLogger['default'] = defaultLogger;
|
|
392
|
+
|
|
393
|
+
return defaultLogger;
|
|
394
|
+
}));
|
|
395
|
+
} (loglevel$1));
|
|
396
|
+
return loglevel$1.exports;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
var loglevelExports = requireLoglevel();
|
|
400
|
+
var f$1 = /*@__PURE__*/getDefaultExportFromCjs(loglevelExports);
|
|
401
|
+
|
|
402
|
+
const k=(t,e)=>s=>s(t,e),G=(t,e,s)=>o=>o(t,e,{append:false},s),x=()=>{const t=typeof process<"u"&&process.env?process.env:{},e=t.NODE_ENV==="test",s="VITEST"in t,o="JEST_WORKER_ID"in t,a="PLAYWRIGHT_TEST_BASE_URL"in t,r=t.CI==="true",i=t.TEST==="true"||t.IS_TEST==="true",c=typeof navigator<"u"&&navigator.webdriver===true,m=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return e||s||o||a||r||i||c||m},n$1={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:x(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const t={};for(const[s,o]of n$1.A11yUi.PERFORMANCE_MEASURES.entries())t[s]=[o.totalTime/o.count,o.count];const e=Object.entries(t).sort((s,o)=>o[1][0]-s[1][0]);return console.table(Object.fromEntries(e.map(([s,[o,a]])=>[s,{"avg (ms)":parseFloat(o.toFixed(2)),count:a}]))),t}}};let E=true,u$1=false;const K=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,B=t=>typeof t=="string"&&K.test(t),U=t=>{if(!B(t))throw new Error(`[Theming] The theme identifier "${typeof t=="string"?t:""}" (Type: ${typeof t}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},b=t=>t.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),D=(t,e,s,o)=>p(t,e,s,o),p=(t,e,s,o)=>{o=o??{},o.append=o.append??false,U(t),E&&!u$1&&(u$1=true,f$1.warn(`[Theming] The theme process is locked. This means that the theme "${t}" should not be patched.
|
|
403
|
+
|
|
404
|
+
import { register } from 'adopted-style-sheets';
|
|
405
|
+
import { defineCustomElements } from '...';
|
|
406
|
+
import { THEME } from '...';
|
|
407
|
+
|
|
408
|
+
register(THEME, defineCustomElements)
|
|
409
|
+
.then(() => {
|
|
410
|
+
// run your app or website
|
|
411
|
+
})
|
|
412
|
+
.catch(console.warn);`));let a=n$1.A11yUi.THEMES.get(t);if(a||(a=new Map,n$1.A11yUi.THEMES.set(t,a)),o.append&&a.has(e)){const r=a.get(e);a.set(e,b(`${r}${s}`));}else a.set(e,b(s));},z=(t,e,s,o)=>g(t,e,s,o),g=(t,e,s,o)=>(U(t),typeof e=="object"&&e!==null&&Object.getOwnPropertyNames(e).forEach(a=>{const r=e[a],i=a.toLowerCase(),c=typeof o?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(a)?o.transformTagName(i):a;typeof r=="string"&&r.length>0&&p(t,c.toUpperCase(),r,s);}),t),C=t=>{if(t instanceof HTMLElement){if(typeof t.dataset.theme=="string")return t;{let e=t.parentNode;for(;typeof ShadowRoot<"u"&&e instanceof ShadowRoot;)e=e.host;return C(e)}}else return null},M=(t={})=>t.themeEncroachCss==="false"||t.themeReset==="true"?false:{mode:t.themeEncroachCssMode==="after"||t.themeEncroachCssMode==="before"?t.themeEncroachCssMode:"before"},y=()=>typeof n$1.A11yUi.Theme=="object"&&n$1.A11yUi.Theme!==null&&typeof n$1.A11yUi.Theme.cache=="boolean"&&typeof n$1.A11yUi.Theme.encroachCss=="object"&&n$1.A11yUi.Theme.encroachCss!==null&&typeof n$1.A11yUi.Theme.encroachCss.mode=="string"&&typeof n$1.A11yUi.Theme.name=="string",Q=()=>!(typeof n$1.A11yUi.Theme=="object"&&n$1.A11yUi.Theme!==null)||n$1.A11yUi.Theme.name!=="default",w=t=>{if(y())return n$1.A11yUi.Theme;{const e={cache:true,encroachCss:M(),loglevel:"silent",mode:"csr",name:null},s=C(t);return s instanceof HTMLElement&&(e.cache=s.dataset.themeCache!=="false",e.encroachCss=M(s.dataset),e.loglevel=s.dataset.themeLoglevel==="debug"?s.dataset.themeLoglevel:"silent",e.mode=s.dataset.themeMode==="ssr"?s.dataset.themeMode:"csr",e.name=s.dataset.theme||null),e}},v=t=>w(t).name,R=()=>y()?n$1.A11yUi.Theme.name:null,W=(t,e)=>({cache:e.cache!==false,detect:e.detect==="auto"?"auto":"fixed",encroachCss:e.encroachCss===false?false:typeof e.encroachCss=="object"&&e.encroachCss!=null&&(e.encroachCss.mode==="after"||e.encroachCss.mode==="before")?e.encroachCss:{mode:"before"},loglevel:e.loglevel==="debug"?e.loglevel:"silent",mode:e.mode==="ssr"?e.mode:"csr",name:typeof e.name=="string"?e.name:t}),q=(t,e)=>{y()===false&&Q()&&typeof e=="object"&&e!==null&&(e=W(t,e),e.detect==="fixed"?(e.name===null&&typeof t=="string"&&(e.name=t),t===e.name&&(n$1.A11yUi.Theme=e,f$1.info(`[Theming] Theme "${t}" was set as default theme.`))):u$1||(u$1=true,f$1.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")));},A=(...t)=>{const e={};for(const s of t)s&&Object.assign(e,s);return e},X=(t,e)=>{const s=n$1.A11yUi.FEATURES[t];if(s!==void 0)return s;const o=v(e??null)??R();if(o!==null){const a=n$1.A11yUi.THEME_FEATURES[o];if(a&&a[t]!==void 0)return a[t]}};let N=false;const se=(t,e,s={})=>{N||(N=true,E=false,typeof window<"u"&&(window.A11yUi=n$1.A11yUi)),typeof t=="function"?t=new Set([t]):Array.isArray(t)&&(t=new Set(t)),t instanceof Set&&t.forEach(a=>{typeof a=="function"&&a.length===1?q(a((r,i,c,m)=>(m&&(n$1.A11yUi.THEME_FEATURES[r]=A(n$1.A11yUi.THEME_FEATURES[r],m)),g(r,i,c,s))),{cache:s.theme?.cache,detect:s.theme?.detect,encroachCss:s.theme?.encroachCss,mode:s.theme?.mode,name:s.theme?.name}):f$1.error("[Theming] An attempt was made to load an incompatible theme.");}),E=true,s.features&&(n$1.A11yUi.FEATURES=A(n$1.A11yUi.FEATURES,s.features)),typeof e=="function"?e=new Set([e]):Array.isArray(e)&&(e=new Set(e));const o=[];return e.forEach(a=>{const r=a();r instanceof Promise&&o.push(r);}),Promise.all(o)};const _=new Set,L=new Map,oe=/--[^;]+/g,ae=/:/,ne=typeof MutationObserver<"u";let F=25,H=()=>{F=Math.min(25+Math.log2(n$1.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250);};const re=(t,e)=>{let s=e.match(oe);if(Array.isArray(s)){s=s.filter(a=>ae.test(a));const o=document.createElement("style");o.innerHTML=`.${t} {${s.join(";")}}`,document.querySelector("head")?.appendChild(o);}_.add(t);},T=(t,e)=>{const s=n$1.A11yUi.THEMES.get(t);if(s instanceof Map){const o=s.get(e);if(o!==void 0)return o}return ""},ie=t=>{const e=t.firstChild;if(!(!(e instanceof HTMLStyleElement)||e.dataset.themingFallback!==void 0))for(const s of Array.from(t.childNodes))if(s instanceof HTMLStyleElement&&s.tagName==="STYLE"&&s.dataset.themingFallback===void 0)t.removeChild(s);else break},ce=(t,e)=>{try{if(n$1.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const s=e.filter(o=>typeof o=="string"&&o.length>0).map(o=>{let a=L.get(o);return a||(a=new CSSStyleSheet,a.replaceSync(o),L.set(o,a)),a});t.adoptedStyleSheets=s;}catch{for(let o=e.length-1;o>=0;o--){const a=e[o];if(typeof a!="string"||a.length===0)continue;const r=e.length-1-o,i=document.createElement("style");switch(i.dataset.themingFallback="",r){case 4:i.dataset.themingBaseA11y="";break;case 3:i.dataset.themingBaseGlobal="";break;case 2:i.dataset.themingBaseComponent="";break;case 1:i.dataset.themingCustomGlobal="";break;case 0:i.dataset.themingCustomComponent="";break;default:i.dataset.themingUnknown="";break}i.innerHTML=a,t.insertBefore(i,t.firstChild);}}},le=(t,e,s)=>{if(s===false||s?.mode!=="before"&&s?.mode!=="after")return;const o=Array.from(t.childNodes).filter(r=>r instanceof HTMLStyleElement&&r.tagName==="STYLE");let a;try{a=Array.from(t.adoptedStyleSheets);}catch{a=[];}if(!(o.length===0&&a.length===0))if(s.mode==="before"){const r=[...a.map(i=>Array.from(i.cssRules).map(c=>c.cssText).join("")),...o.map(i=>i.innerHTML)];e.unshift(...r);}else o.forEach(r=>e.push(r.innerHTML)),a.forEach(r=>e.push(Array.from(r.cssRules).map(i=>i.cssText).join("")));},me=(t,e,s)=>{const o=e.name||"default";let a;try{if(t.shadowRoot===null)throw new Error("ShadowRoot is null");a=t.shadowRoot;}catch{a=t;}const r=n$1.A11yUi.CSS_STYLE_CACHE.get(o)?.get(t.tagName);if(r)O(t,a,r,s);else {const i=T(o,"PROPERTIES"),c=T(o,"GLOBAL"),m=T(o,t.tagName);_.has(o)===false&&re(o,c);const d=[i,c,m];if(le(a,d,e.encroachCss),e.cache===true){let h=n$1.A11yUi.CSS_STYLE_CACHE.get(o);h||(h=new Map,n$1.A11yUi.CSS_STYLE_CACHE.set(o,h)),h.set(t.tagName,d);}O(t,a,d,s);}},O=(t,e,s,o)=>{const a=n$1.A11yUi.Theme?.loglevel==="debug",r=a?performance.now():0;if(ie(e),ce(e,s),Te(t),requestAnimationFrame(o),a){const i=performance.now()-r,c=n$1.A11yUi.PERFORMANCE_MEASURES.get(t.tagName);c?(c.count+=1,c.totalTime+=i):n$1.A11yUi.PERFORMANCE_MEASURES.set(t.tagName,{count:1,totalTime:i});}},I=t=>{const e=n$1.A11yUi.STYLING_TASK_QUEUE.get(t);if(e){const{resetCss:s,themeDetails:o}=e;me(t,o,s);}},he=100;let S=(t,e=0)=>{if(e>=he)return;const s=setTimeout(()=>{clearTimeout(s),t.classList.contains("hydrated")?I(t):S(t,e+1);},F);};const fe={attributes:true,attributeFilter:["class"],childList:false,subtree:false},ue={attributes:true,attributeFilter:[],childList:false,subtree:false},P=ne?new MutationObserver((t,e)=>{const s=[];for(const o of t){const a=o.target;a.classList.contains("hydrated")&&n$1.A11yUi.STYLING_TASK_QUEUE.has(a)&&(I(a),s.push(a));}for(const o of s)e.observe(o,ue);}):null;P&&(S=t=>P.observe(t,fe),H=()=>{});const $=new Map;let j=(t,e)=>{if(e){const a=$.get(e);if(a!==void 0)return a}const s=getComputedStyle(t).getPropertyValue("--theme-visibility-delay").trim();let o;if(s.endsWith("ms"))o=parseFloat(s);else if(s.endsWith("s"))o=parseFloat(s)*1e3;else {const a=parseFloat(s);o=isNaN(a)?0:a;}return e&&$.set(e,o),o};n$1.A11yUi.IS_TEST_ENVIRONMENT&&(j=()=>0);const Y=(t,e)=>{t.style.setProperty("visibility",e),t.dataset.themed="";},ye=(t,e)=>{const s=t.style.visibility||null,o=e.name||"default";n$1.A11yUi.STYLING_TASK_QUEUE.set(t,{resetCss:()=>{const a=j(t,o);a>0?setTimeout(()=>{Y(t,s);},a):Y(t,s);},themeDetails:e}),e.mode!=="ssr"&&t.style.setProperty("visibility","hidden","important"),S(t);},Te=t=>{n$1.A11yUi.STYLING_TASK_QUEUE.delete(t),H();},de=(t,e)=>{ye(t,{...n$1.A11yUi.Theme,...e});};class Ee{Prefix;Key;Tag;createTheme=(e,s,o)=>G(e,s,o);createTranslation=(e,s)=>k(e,s);constructor(e,s,o){this.Prefix=e,this.Key=Object.getOwnPropertyNames(s),this.Tag=Object.getOwnPropertyNames(o);}}
|
|
413
|
+
|
|
414
|
+
exports.KeyEnum = void 0;
|
|
415
|
+
(function (KeyEnum) {
|
|
416
|
+
KeyEnum[KeyEnum["action-done"] = 0] = "action-done";
|
|
417
|
+
KeyEnum[KeyEnum["action-running"] = 1] = "action-running";
|
|
418
|
+
KeyEnum[KeyEnum["avatar-alt"] = 2] = "avatar-alt";
|
|
419
|
+
KeyEnum[KeyEnum["character-counter-current"] = 3] = "character-counter-current";
|
|
420
|
+
KeyEnum[KeyEnum["character-counter-current-of-max"] = 4] = "character-counter-current-of-max";
|
|
421
|
+
KeyEnum[KeyEnum["character-counter-current-of-max-aria"] = 5] = "character-counter-current-of-max-aria";
|
|
422
|
+
KeyEnum[KeyEnum["character-counter-max-aria"] = 6] = "character-counter-max-aria";
|
|
423
|
+
KeyEnum[KeyEnum["character-limit-exceeded"] = 7] = "character-limit-exceeded";
|
|
424
|
+
KeyEnum[KeyEnum["character-limit-hint"] = 8] = "character-limit-hint";
|
|
425
|
+
KeyEnum[KeyEnum["character-limit-remaining"] = 9] = "character-limit-remaining";
|
|
426
|
+
KeyEnum[KeyEnum["clear-search"] = 10] = "clear-search";
|
|
427
|
+
KeyEnum[KeyEnum["close"] = 11] = "close";
|
|
428
|
+
KeyEnum[KeyEnum["close-alert"] = 12] = "close-alert";
|
|
429
|
+
KeyEnum[KeyEnum["data-browse-text"] = 13] = "data-browse-text";
|
|
430
|
+
KeyEnum[KeyEnum["delete-selection"] = 14] = "delete-selection";
|
|
431
|
+
KeyEnum[KeyEnum["entries-per-site"] = 15] = "entries-per-site";
|
|
432
|
+
KeyEnum[KeyEnum["error"] = 16] = "error";
|
|
433
|
+
KeyEnum[KeyEnum["error-list"] = 17] = "error-list";
|
|
434
|
+
KeyEnum[KeyEnum["error-list-message"] = 18] = "error-list-message";
|
|
435
|
+
KeyEnum[KeyEnum["filename-text"] = 19] = "filename-text";
|
|
436
|
+
KeyEnum[KeyEnum["form-description"] = 20] = "form-description";
|
|
437
|
+
KeyEnum[KeyEnum["hide-password"] = 21] = "hide-password";
|
|
438
|
+
KeyEnum[KeyEnum["info"] = 22] = "info";
|
|
439
|
+
KeyEnum[KeyEnum["kolibri-logo"] = 23] = "kolibri-logo";
|
|
440
|
+
KeyEnum[KeyEnum["live-value"] = 24] = "live-value";
|
|
441
|
+
KeyEnum[KeyEnum["live-value-bounded"] = 25] = "live-value-bounded";
|
|
442
|
+
KeyEnum[KeyEnum["message"] = 26] = "message";
|
|
443
|
+
KeyEnum[KeyEnum["meter-state-critical"] = 27] = "meter-state-critical";
|
|
444
|
+
KeyEnum[KeyEnum["meter-state-optimum"] = 28] = "meter-state-optimum";
|
|
445
|
+
KeyEnum[KeyEnum["meter-state-suboptimal"] = 29] = "meter-state-suboptimal";
|
|
446
|
+
KeyEnum[KeyEnum["nav-maximize"] = 30] = "nav-maximize";
|
|
447
|
+
KeyEnum[KeyEnum["nav-minimize"] = 31] = "nav-minimize";
|
|
448
|
+
KeyEnum[KeyEnum["new"] = 32] = "new";
|
|
449
|
+
KeyEnum[KeyEnum["no-entries"] = 33] = "no-entries";
|
|
450
|
+
KeyEnum[KeyEnum["no-results-message"] = 34] = "no-results-message";
|
|
451
|
+
KeyEnum[KeyEnum["open-link-in-tab"] = 35] = "open-link-in-tab";
|
|
452
|
+
KeyEnum[KeyEnum["page"] = 36] = "page";
|
|
453
|
+
KeyEnum[KeyEnum["page-back"] = 37] = "page-back";
|
|
454
|
+
KeyEnum[KeyEnum["page-first"] = 38] = "page-first";
|
|
455
|
+
KeyEnum[KeyEnum["page-last"] = 39] = "page-last";
|
|
456
|
+
KeyEnum[KeyEnum["page-next"] = 40] = "page-next";
|
|
457
|
+
KeyEnum[KeyEnum["pagination"] = 41] = "pagination";
|
|
458
|
+
KeyEnum[KeyEnum["pagination-position-bottom"] = 42] = "pagination-position-bottom";
|
|
459
|
+
KeyEnum[KeyEnum["pagination-position-top"] = 43] = "pagination-position-top";
|
|
460
|
+
KeyEnum[KeyEnum["progress"] = 44] = "progress";
|
|
461
|
+
KeyEnum[KeyEnum["readonly"] = 45] = "readonly";
|
|
462
|
+
KeyEnum[KeyEnum["show-password"] = 46] = "show-password";
|
|
463
|
+
KeyEnum[KeyEnum["show-suggestions"] = 47] = "show-suggestions";
|
|
464
|
+
KeyEnum[KeyEnum["sort"] = 48] = "sort";
|
|
465
|
+
KeyEnum[KeyEnum["split-button-dropdown-label-open"] = 49] = "split-button-dropdown-label-open";
|
|
466
|
+
KeyEnum[KeyEnum["success"] = 50] = "success";
|
|
467
|
+
KeyEnum[KeyEnum["table-data-loading"] = 51] = "table-data-loading";
|
|
468
|
+
KeyEnum[KeyEnum["table-data-loaded"] = 52] = "table-data-loaded";
|
|
469
|
+
KeyEnum[KeyEnum["table-pagination-label"] = 53] = "table-pagination-label";
|
|
470
|
+
KeyEnum[KeyEnum["table-selection"] = 54] = "table-selection";
|
|
471
|
+
KeyEnum[KeyEnum["table-selection-all"] = 55] = "table-selection-all";
|
|
472
|
+
KeyEnum[KeyEnum["table-selection-indeterminate"] = 56] = "table-selection-indeterminate";
|
|
473
|
+
KeyEnum[KeyEnum["table-selection-none"] = 57] = "table-selection-none";
|
|
474
|
+
KeyEnum[KeyEnum["table-settings"] = 58] = "table-settings";
|
|
475
|
+
KeyEnum[KeyEnum["table-settings-apply"] = 59] = "table-settings-apply";
|
|
476
|
+
KeyEnum[KeyEnum["table-settings-cancel"] = 60] = "table-settings-cancel";
|
|
477
|
+
KeyEnum[KeyEnum["table-settings-column-hidable"] = 61] = "table-settings-column-hidable";
|
|
478
|
+
KeyEnum[KeyEnum["table-settings-column-not-hidable"] = 62] = "table-settings-column-not-hidable";
|
|
479
|
+
KeyEnum[KeyEnum["table-settings-column-width"] = 63] = "table-settings-column-width";
|
|
480
|
+
KeyEnum[KeyEnum["table-settings-error-all-invisible"] = 64] = "table-settings-error-all-invisible";
|
|
481
|
+
KeyEnum[KeyEnum["table-settings-move-down"] = 65] = "table-settings-move-down";
|
|
482
|
+
KeyEnum[KeyEnum["table-settings-move-up"] = 66] = "table-settings-move-up";
|
|
483
|
+
KeyEnum[KeyEnum["table-settings-not-move"] = 67] = "table-settings-not-move";
|
|
484
|
+
KeyEnum[KeyEnum["table-sort-order"] = 68] = "table-sort-order";
|
|
485
|
+
KeyEnum[KeyEnum["table-visible-range"] = 69] = "table-visible-range";
|
|
486
|
+
KeyEnum[KeyEnum["toast-close-all"] = 70] = "toast-close-all";
|
|
487
|
+
KeyEnum[KeyEnum["version"] = 71] = "version";
|
|
488
|
+
KeyEnum[KeyEnum["warning"] = 72] = "warning";
|
|
489
|
+
})(exports.KeyEnum || (exports.KeyEnum = {}));
|
|
490
|
+
|
|
491
|
+
exports.TagEnum = void 0;
|
|
492
|
+
(function (TagEnum) {
|
|
493
|
+
TagEnum[TagEnum["abbr"] = 0] = "abbr";
|
|
494
|
+
TagEnum[TagEnum["accordion"] = 1] = "accordion";
|
|
495
|
+
TagEnum[TagEnum["alert"] = 2] = "alert";
|
|
496
|
+
TagEnum[TagEnum["avatar"] = 3] = "avatar";
|
|
497
|
+
TagEnum[TagEnum["badge"] = 4] = "badge";
|
|
498
|
+
TagEnum[TagEnum["breadcrumb"] = 5] = "breadcrumb";
|
|
499
|
+
TagEnum[TagEnum["button"] = 6] = "button";
|
|
500
|
+
TagEnum[TagEnum["button-link"] = 7] = "button-link";
|
|
501
|
+
TagEnum[TagEnum["card"] = 8] = "card";
|
|
502
|
+
TagEnum[TagEnum["combobox"] = 9] = "combobox";
|
|
503
|
+
TagEnum[TagEnum["details"] = 10] = "details";
|
|
504
|
+
TagEnum[TagEnum["dialog"] = 11] = "dialog";
|
|
505
|
+
TagEnum[TagEnum["drawer"] = 12] = "drawer";
|
|
506
|
+
TagEnum[TagEnum["form"] = 13] = "form";
|
|
507
|
+
TagEnum[TagEnum["heading"] = 14] = "heading";
|
|
508
|
+
TagEnum[TagEnum["icon"] = 15] = "icon";
|
|
509
|
+
TagEnum[TagEnum["image"] = 16] = "image";
|
|
510
|
+
TagEnum[TagEnum["input-checkbox"] = 17] = "input-checkbox";
|
|
511
|
+
TagEnum[TagEnum["input-color"] = 18] = "input-color";
|
|
512
|
+
TagEnum[TagEnum["input-date"] = 19] = "input-date";
|
|
513
|
+
TagEnum[TagEnum["input-email"] = 20] = "input-email";
|
|
514
|
+
TagEnum[TagEnum["input-file"] = 21] = "input-file";
|
|
515
|
+
TagEnum[TagEnum["input-number"] = 22] = "input-number";
|
|
516
|
+
TagEnum[TagEnum["input-password"] = 23] = "input-password";
|
|
517
|
+
TagEnum[TagEnum["input-radio"] = 24] = "input-radio";
|
|
518
|
+
TagEnum[TagEnum["input-range"] = 25] = "input-range";
|
|
519
|
+
TagEnum[TagEnum["input-text"] = 26] = "input-text";
|
|
520
|
+
TagEnum[TagEnum["kolibri"] = 27] = "kolibri";
|
|
521
|
+
TagEnum[TagEnum["link"] = 28] = "link";
|
|
522
|
+
TagEnum[TagEnum["link-button"] = 29] = "link-button";
|
|
523
|
+
TagEnum[TagEnum["logo"] = 30] = "logo";
|
|
524
|
+
TagEnum[TagEnum["meter"] = 31] = "meter";
|
|
525
|
+
TagEnum[TagEnum["modal"] = 32] = "modal";
|
|
526
|
+
TagEnum[TagEnum["nav"] = 33] = "nav";
|
|
527
|
+
TagEnum[TagEnum["pagination"] = 34] = "pagination";
|
|
528
|
+
TagEnum[TagEnum["popover-button"] = 35] = "popover-button";
|
|
529
|
+
TagEnum[TagEnum["progress"] = 36] = "progress";
|
|
530
|
+
TagEnum[TagEnum["quote"] = 37] = "quote";
|
|
531
|
+
TagEnum[TagEnum["select"] = 38] = "select";
|
|
532
|
+
TagEnum[TagEnum["single-select"] = 39] = "single-select";
|
|
533
|
+
TagEnum[TagEnum["skip-nav"] = 40] = "skip-nav";
|
|
534
|
+
TagEnum[TagEnum["spin"] = 41] = "spin";
|
|
535
|
+
TagEnum[TagEnum["split-button"] = 42] = "split-button";
|
|
536
|
+
TagEnum[TagEnum["symbol"] = 43] = "symbol";
|
|
537
|
+
TagEnum[TagEnum["table"] = 44] = "table";
|
|
538
|
+
TagEnum[TagEnum["table-stateful"] = 45] = "table-stateful";
|
|
539
|
+
TagEnum[TagEnum["table-stateless"] = 46] = "table-stateless";
|
|
540
|
+
TagEnum[TagEnum["tabs"] = 47] = "tabs";
|
|
541
|
+
TagEnum[TagEnum["textarea"] = 48] = "textarea";
|
|
542
|
+
TagEnum[TagEnum["toast-container"] = 49] = "toast-container";
|
|
543
|
+
TagEnum[TagEnum["toolbar"] = 50] = "toolbar";
|
|
544
|
+
TagEnum[TagEnum["tooltip"] = 51] = "tooltip";
|
|
545
|
+
TagEnum[TagEnum["tree"] = 52] = "tree";
|
|
546
|
+
TagEnum[TagEnum["tree-item"] = 53] = "tree-item";
|
|
547
|
+
TagEnum[TagEnum["version"] = 54] = "version";
|
|
548
|
+
})(exports.TagEnum || (exports.TagEnum = {}));
|
|
549
|
+
|
|
550
|
+
const getWindow = () => {
|
|
551
|
+
if (typeof window !== 'undefined')
|
|
552
|
+
return window;
|
|
553
|
+
return {};
|
|
554
|
+
};
|
|
555
|
+
const getDocument = () => {
|
|
556
|
+
const win = getWindow();
|
|
557
|
+
if (win && typeof win.document !== 'undefined')
|
|
558
|
+
return win.document;
|
|
559
|
+
return {};
|
|
560
|
+
};
|
|
561
|
+
const MODES = ['development', 'production', 'test'];
|
|
562
|
+
let runtimeMode = 'production';
|
|
563
|
+
const setRuntimeMode = (mode) => {
|
|
564
|
+
try {
|
|
565
|
+
if (MODES.includes(mode)) {
|
|
566
|
+
runtimeMode = mode;
|
|
567
|
+
}
|
|
568
|
+
else {
|
|
569
|
+
throw new Error(`Invalid NODE_ENV value: ${mode}. Expected one of ${MODES.join(', ')}.`);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
catch (_a) {
|
|
573
|
+
runtimeMode = 'production';
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
const getNodeEnv = () => {
|
|
577
|
+
try {
|
|
578
|
+
return typeof process !== 'undefined' && process.env ? process.env['NODE_ENV'] : undefined;
|
|
579
|
+
}
|
|
580
|
+
catch (_a) {
|
|
581
|
+
return undefined;
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
const getInitialMode = () => {
|
|
585
|
+
const nodeEnv = getNodeEnv();
|
|
586
|
+
return nodeEnv && MODES.includes(nodeEnv) ? nodeEnv : 'production';
|
|
587
|
+
};
|
|
588
|
+
setRuntimeMode(getInitialMode());
|
|
589
|
+
let EXPERIMENTAL_MODE = false;
|
|
590
|
+
let COLOR_CONTRAST_ANALYSIS = false;
|
|
591
|
+
const isDevMode = () => runtimeMode === 'development';
|
|
592
|
+
const isTestMode = () => runtimeMode === 'test';
|
|
593
|
+
const isValidationEnabled = () => runtimeMode !== 'production' || getNodeEnv() !== 'production';
|
|
594
|
+
const getExperimentalMode = () => EXPERIMENTAL_MODE === true;
|
|
595
|
+
const setExperimentalMode = (mode) => {
|
|
596
|
+
EXPERIMENTAL_MODE = mode === true;
|
|
597
|
+
};
|
|
598
|
+
const getColorContrastAnalysis = () => COLOR_CONTRAST_ANALYSIS === true;
|
|
599
|
+
const setColorContrastAnalysis = (mode) => {
|
|
600
|
+
COLOR_CONTRAST_ANALYSIS = mode === true;
|
|
601
|
+
};
|
|
602
|
+
const LOG_STYLE = 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000';
|
|
603
|
+
const mapToArray = (msg) => {
|
|
604
|
+
return Array.isArray(msg) ? msg : [msg];
|
|
605
|
+
};
|
|
606
|
+
const getLogLabel = (label) => {
|
|
607
|
+
return `%c${label}`;
|
|
608
|
+
};
|
|
609
|
+
const handleClassifier = (label, classifier) => {
|
|
610
|
+
if (typeof classifier === 'string' && classifier.length > 0) {
|
|
611
|
+
return `${getLogLabel(label)} | ${classifier}`;
|
|
612
|
+
}
|
|
613
|
+
else {
|
|
614
|
+
return getLogLabel(label);
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
const getShield = (label, options) => {
|
|
618
|
+
return [handleClassifier(label, options === null || options === void 0 ? void 0 : options.classifier), `${LOG_STYLE};${(options === null || options === void 0 ? void 0 : options.overwriteStyle) || ''}`];
|
|
619
|
+
};
|
|
620
|
+
const isDevModeOrForceLog = (forceLog) => isDevMode() || forceLog === true;
|
|
621
|
+
class Logger {
|
|
622
|
+
constructor(label) {
|
|
623
|
+
this.label = label;
|
|
624
|
+
}
|
|
625
|
+
debug(msg, options) {
|
|
626
|
+
if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
627
|
+
console.debug(...getShield(this.label, options), ...mapToArray(msg));
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
info(msg, options) {
|
|
631
|
+
if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
632
|
+
console.info(...getShield(this.label, options), ...mapToArray(msg));
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
trace(msg, options) {
|
|
636
|
+
if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
637
|
+
console.trace(...getShield(this.label, options), ...mapToArray(msg));
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
warn(msg, options) {
|
|
641
|
+
if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
642
|
+
console.warn(...getShield(this.label, options), ...mapToArray(msg));
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
error(msg, options) {
|
|
646
|
+
console.error(...getShield(this.label, options), ...mapToArray(msg));
|
|
647
|
+
}
|
|
648
|
+
throw(msg, options) {
|
|
649
|
+
if (isDevModeOrForceLog(options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
650
|
+
throw new Error(...getShield(this.label, options), ...mapToArray(msg));
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
const Log = new Logger('KoliBri');
|
|
655
|
+
|
|
656
|
+
const a11yCache = new Set();
|
|
657
|
+
const a11yHint = (msg, options) => {
|
|
658
|
+
if (a11yCache.has(msg) === false || false) {
|
|
659
|
+
a11yCache.add(msg);
|
|
660
|
+
Log.debug([msg].concat([]), {
|
|
661
|
+
classifier: `✋ a11y`,
|
|
662
|
+
forceLog: false,
|
|
663
|
+
overwriteStyle: '; background-color: #09f',
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
const deprecatedCache = new Set();
|
|
668
|
+
const deprecatedHint = (msg, options) => {
|
|
669
|
+
if (deprecatedCache.has(msg) === false || false) {
|
|
670
|
+
deprecatedCache.add(msg);
|
|
671
|
+
Log.warn([msg].concat([]), {
|
|
672
|
+
classifier: `🔥 deprecated`,
|
|
673
|
+
forceLog: false,
|
|
674
|
+
overwriteStyle: '; background-color: #f00',
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
const devCache = new Set();
|
|
679
|
+
const devHint = (msg, options) => {
|
|
680
|
+
if (devCache.has(msg) === false || !!(options === null || options === void 0 ? void 0 : options.force)) {
|
|
681
|
+
devCache.add(msg);
|
|
682
|
+
Log.debug([msg].concat((options === null || options === void 0 ? void 0 : options.details) || []), {
|
|
683
|
+
classifier: `💻 dev`,
|
|
684
|
+
forceLog: !!(options === null || options === void 0 ? void 0 : options.force),
|
|
685
|
+
overwriteStyle: '; background-color: #f09',
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
};
|
|
689
|
+
const devWarning = (msg, options) => {
|
|
690
|
+
if (devCache.has(msg) === false || false) {
|
|
691
|
+
devCache.add(msg);
|
|
692
|
+
Log.warn([msg].concat([]), {
|
|
693
|
+
classifier: `⚠️ dev`,
|
|
694
|
+
forceLog: false,
|
|
695
|
+
overwriteStyle: '; background-color: #f09',
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
const featureCache = new Set();
|
|
700
|
+
const featureHint = (msg, done = false, options) => {
|
|
701
|
+
if (featureCache.has(msg) === false || false) {
|
|
702
|
+
featureCache.add(msg);
|
|
703
|
+
msg += done === true ? ' ✅' : '';
|
|
704
|
+
Log.debug([msg].concat([]), {
|
|
705
|
+
classifier: `🌟 feature`,
|
|
706
|
+
forceLog: false,
|
|
707
|
+
overwriteStyle: '; background-color: #309',
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
devHint(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);
|
|
712
|
+
const uiUxCache = new Set();
|
|
713
|
+
const uiUxHint = (msg, options) => {
|
|
714
|
+
if (uiUxCache.has(msg) === false || false) {
|
|
715
|
+
uiUxCache.add(msg);
|
|
716
|
+
Log.debug([msg].concat([]), {
|
|
717
|
+
classifier: `📑 ui/ux`,
|
|
718
|
+
forceLog: false,
|
|
719
|
+
overwriteStyle: '; background-color: #060;',
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
};
|
|
723
|
+
const a11yHintLabelingLandmarks = (value) => {
|
|
724
|
+
if (typeof value !== 'string' || value === '') {
|
|
725
|
+
a11yHint(`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
const uiUxHintMillerscheZahl = (className, length = 8) => {
|
|
729
|
+
if (length > 7) {
|
|
730
|
+
uiUxHint(`[${className}] Within navigation structures, it is recommended to use no more than 7 menu items.
|
|
731
|
+
|
|
732
|
+
Link:
|
|
733
|
+
- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`);
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
const NUMBER_STRING_PATTERN = /^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;
|
|
738
|
+
function isNumberString(value) {
|
|
739
|
+
return typeof value === 'string' && NUMBER_STRING_PATTERN.test(value) && Number.isFinite(Number(value));
|
|
740
|
+
}
|
|
741
|
+
const isObject = (value) => typeof value === 'object' && value !== null;
|
|
742
|
+
const isString = (value, minLength = 0) => typeof value === 'string' && value.length >= minLength;
|
|
743
|
+
const isStyle = (style) => {
|
|
744
|
+
if (typeof style === 'object' && style !== null) {
|
|
745
|
+
for (const property in style) {
|
|
746
|
+
if (isString(property, 1) === false) {
|
|
747
|
+
return false;
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
else {
|
|
752
|
+
return isString(style, 1);
|
|
753
|
+
}
|
|
754
|
+
return true;
|
|
755
|
+
};
|
|
756
|
+
const STATE_CHANGE_EVENT = new Event('StateChange');
|
|
757
|
+
|
|
758
|
+
var colorName;
|
|
759
|
+
var hasRequiredColorName;
|
|
760
|
+
|
|
761
|
+
function requireColorName () {
|
|
762
|
+
if (hasRequiredColorName) return colorName;
|
|
763
|
+
hasRequiredColorName = 1;
|
|
764
|
+
|
|
765
|
+
colorName = {
|
|
766
|
+
"aliceblue": [240, 248, 255],
|
|
767
|
+
"antiquewhite": [250, 235, 215],
|
|
768
|
+
"aqua": [0, 255, 255],
|
|
769
|
+
"aquamarine": [127, 255, 212],
|
|
770
|
+
"azure": [240, 255, 255],
|
|
771
|
+
"beige": [245, 245, 220],
|
|
772
|
+
"bisque": [255, 228, 196],
|
|
773
|
+
"black": [0, 0, 0],
|
|
774
|
+
"blanchedalmond": [255, 235, 205],
|
|
775
|
+
"blue": [0, 0, 255],
|
|
776
|
+
"blueviolet": [138, 43, 226],
|
|
777
|
+
"brown": [165, 42, 42],
|
|
778
|
+
"burlywood": [222, 184, 135],
|
|
779
|
+
"cadetblue": [95, 158, 160],
|
|
780
|
+
"chartreuse": [127, 255, 0],
|
|
781
|
+
"chocolate": [210, 105, 30],
|
|
782
|
+
"coral": [255, 127, 80],
|
|
783
|
+
"cornflowerblue": [100, 149, 237],
|
|
784
|
+
"cornsilk": [255, 248, 220],
|
|
785
|
+
"crimson": [220, 20, 60],
|
|
786
|
+
"cyan": [0, 255, 255],
|
|
787
|
+
"darkblue": [0, 0, 139],
|
|
788
|
+
"darkcyan": [0, 139, 139],
|
|
789
|
+
"darkgoldenrod": [184, 134, 11],
|
|
790
|
+
"darkgray": [169, 169, 169],
|
|
791
|
+
"darkgreen": [0, 100, 0],
|
|
792
|
+
"darkgrey": [169, 169, 169],
|
|
793
|
+
"darkkhaki": [189, 183, 107],
|
|
794
|
+
"darkmagenta": [139, 0, 139],
|
|
795
|
+
"darkolivegreen": [85, 107, 47],
|
|
796
|
+
"darkorange": [255, 140, 0],
|
|
797
|
+
"darkorchid": [153, 50, 204],
|
|
798
|
+
"darkred": [139, 0, 0],
|
|
799
|
+
"darksalmon": [233, 150, 122],
|
|
800
|
+
"darkseagreen": [143, 188, 143],
|
|
801
|
+
"darkslateblue": [72, 61, 139],
|
|
802
|
+
"darkslategray": [47, 79, 79],
|
|
803
|
+
"darkslategrey": [47, 79, 79],
|
|
804
|
+
"darkturquoise": [0, 206, 209],
|
|
805
|
+
"darkviolet": [148, 0, 211],
|
|
806
|
+
"deeppink": [255, 20, 147],
|
|
807
|
+
"deepskyblue": [0, 191, 255],
|
|
808
|
+
"dimgray": [105, 105, 105],
|
|
809
|
+
"dimgrey": [105, 105, 105],
|
|
810
|
+
"dodgerblue": [30, 144, 255],
|
|
811
|
+
"firebrick": [178, 34, 34],
|
|
812
|
+
"floralwhite": [255, 250, 240],
|
|
813
|
+
"forestgreen": [34, 139, 34],
|
|
814
|
+
"fuchsia": [255, 0, 255],
|
|
815
|
+
"gainsboro": [220, 220, 220],
|
|
816
|
+
"ghostwhite": [248, 248, 255],
|
|
817
|
+
"gold": [255, 215, 0],
|
|
818
|
+
"goldenrod": [218, 165, 32],
|
|
819
|
+
"gray": [128, 128, 128],
|
|
820
|
+
"green": [0, 128, 0],
|
|
821
|
+
"greenyellow": [173, 255, 47],
|
|
822
|
+
"grey": [128, 128, 128],
|
|
823
|
+
"honeydew": [240, 255, 240],
|
|
824
|
+
"hotpink": [255, 105, 180],
|
|
825
|
+
"indianred": [205, 92, 92],
|
|
826
|
+
"indigo": [75, 0, 130],
|
|
827
|
+
"ivory": [255, 255, 240],
|
|
828
|
+
"khaki": [240, 230, 140],
|
|
829
|
+
"lavender": [230, 230, 250],
|
|
830
|
+
"lavenderblush": [255, 240, 245],
|
|
831
|
+
"lawngreen": [124, 252, 0],
|
|
832
|
+
"lemonchiffon": [255, 250, 205],
|
|
833
|
+
"lightblue": [173, 216, 230],
|
|
834
|
+
"lightcoral": [240, 128, 128],
|
|
835
|
+
"lightcyan": [224, 255, 255],
|
|
836
|
+
"lightgoldenrodyellow": [250, 250, 210],
|
|
837
|
+
"lightgray": [211, 211, 211],
|
|
838
|
+
"lightgreen": [144, 238, 144],
|
|
839
|
+
"lightgrey": [211, 211, 211],
|
|
840
|
+
"lightpink": [255, 182, 193],
|
|
841
|
+
"lightsalmon": [255, 160, 122],
|
|
842
|
+
"lightseagreen": [32, 178, 170],
|
|
843
|
+
"lightskyblue": [135, 206, 250],
|
|
844
|
+
"lightslategray": [119, 136, 153],
|
|
845
|
+
"lightslategrey": [119, 136, 153],
|
|
846
|
+
"lightsteelblue": [176, 196, 222],
|
|
847
|
+
"lightyellow": [255, 255, 224],
|
|
848
|
+
"lime": [0, 255, 0],
|
|
849
|
+
"limegreen": [50, 205, 50],
|
|
850
|
+
"linen": [250, 240, 230],
|
|
851
|
+
"magenta": [255, 0, 255],
|
|
852
|
+
"maroon": [128, 0, 0],
|
|
853
|
+
"mediumaquamarine": [102, 205, 170],
|
|
854
|
+
"mediumblue": [0, 0, 205],
|
|
855
|
+
"mediumorchid": [186, 85, 211],
|
|
856
|
+
"mediumpurple": [147, 112, 219],
|
|
857
|
+
"mediumseagreen": [60, 179, 113],
|
|
858
|
+
"mediumslateblue": [123, 104, 238],
|
|
859
|
+
"mediumspringgreen": [0, 250, 154],
|
|
860
|
+
"mediumturquoise": [72, 209, 204],
|
|
861
|
+
"mediumvioletred": [199, 21, 133],
|
|
862
|
+
"midnightblue": [25, 25, 112],
|
|
863
|
+
"mintcream": [245, 255, 250],
|
|
864
|
+
"mistyrose": [255, 228, 225],
|
|
865
|
+
"moccasin": [255, 228, 181],
|
|
866
|
+
"navajowhite": [255, 222, 173],
|
|
867
|
+
"navy": [0, 0, 128],
|
|
868
|
+
"oldlace": [253, 245, 230],
|
|
869
|
+
"olive": [128, 128, 0],
|
|
870
|
+
"olivedrab": [107, 142, 35],
|
|
871
|
+
"orange": [255, 165, 0],
|
|
872
|
+
"orangered": [255, 69, 0],
|
|
873
|
+
"orchid": [218, 112, 214],
|
|
874
|
+
"palegoldenrod": [238, 232, 170],
|
|
875
|
+
"palegreen": [152, 251, 152],
|
|
876
|
+
"paleturquoise": [175, 238, 238],
|
|
877
|
+
"palevioletred": [219, 112, 147],
|
|
878
|
+
"papayawhip": [255, 239, 213],
|
|
879
|
+
"peachpuff": [255, 218, 185],
|
|
880
|
+
"peru": [205, 133, 63],
|
|
881
|
+
"pink": [255, 192, 203],
|
|
882
|
+
"plum": [221, 160, 221],
|
|
883
|
+
"powderblue": [176, 224, 230],
|
|
884
|
+
"purple": [128, 0, 128],
|
|
885
|
+
"rebeccapurple": [102, 51, 153],
|
|
886
|
+
"red": [255, 0, 0],
|
|
887
|
+
"rosybrown": [188, 143, 143],
|
|
888
|
+
"royalblue": [65, 105, 225],
|
|
889
|
+
"saddlebrown": [139, 69, 19],
|
|
890
|
+
"salmon": [250, 128, 114],
|
|
891
|
+
"sandybrown": [244, 164, 96],
|
|
892
|
+
"seagreen": [46, 139, 87],
|
|
893
|
+
"seashell": [255, 245, 238],
|
|
894
|
+
"sienna": [160, 82, 45],
|
|
895
|
+
"silver": [192, 192, 192],
|
|
896
|
+
"skyblue": [135, 206, 235],
|
|
897
|
+
"slateblue": [106, 90, 205],
|
|
898
|
+
"slategray": [112, 128, 144],
|
|
899
|
+
"slategrey": [112, 128, 144],
|
|
900
|
+
"snow": [255, 250, 250],
|
|
901
|
+
"springgreen": [0, 255, 127],
|
|
902
|
+
"steelblue": [70, 130, 180],
|
|
903
|
+
"tan": [210, 180, 140],
|
|
904
|
+
"teal": [0, 128, 128],
|
|
905
|
+
"thistle": [216, 191, 216],
|
|
906
|
+
"tomato": [255, 99, 71],
|
|
907
|
+
"turquoise": [64, 224, 208],
|
|
908
|
+
"violet": [238, 130, 238],
|
|
909
|
+
"wheat": [245, 222, 179],
|
|
910
|
+
"white": [255, 255, 255],
|
|
911
|
+
"whitesmoke": [245, 245, 245],
|
|
912
|
+
"yellow": [255, 255, 0],
|
|
913
|
+
"yellowgreen": [154, 205, 50]
|
|
914
|
+
};
|
|
915
|
+
return colorName;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* @module color-parse
|
|
920
|
+
*/
|
|
921
|
+
|
|
922
|
+
var colorParse;
|
|
923
|
+
var hasRequiredColorParse;
|
|
924
|
+
|
|
925
|
+
function requireColorParse () {
|
|
926
|
+
if (hasRequiredColorParse) return colorParse;
|
|
927
|
+
hasRequiredColorParse = 1;
|
|
928
|
+
|
|
929
|
+
var names = requireColorName();
|
|
930
|
+
|
|
931
|
+
colorParse = parse;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Base hues
|
|
935
|
+
* http://dev.w3.org/csswg/css-color/#typedef-named-hue
|
|
936
|
+
*/
|
|
937
|
+
//FIXME: use external hue detector
|
|
938
|
+
var baseHues = {
|
|
939
|
+
red: 0,
|
|
940
|
+
orange: 60,
|
|
941
|
+
yellow: 120,
|
|
942
|
+
green: 180,
|
|
943
|
+
blue: 240,
|
|
944
|
+
purple: 300
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Parse color from the string passed
|
|
949
|
+
*
|
|
950
|
+
* @return {Object} A space indicator `space`, an array `values` and `alpha`
|
|
951
|
+
*/
|
|
952
|
+
function parse(cstr) {
|
|
953
|
+
var m, parts = [], alpha = 1, space;
|
|
954
|
+
|
|
955
|
+
if (typeof cstr === 'string') {
|
|
956
|
+
cstr = cstr.toLowerCase();
|
|
957
|
+
|
|
958
|
+
//keyword
|
|
959
|
+
if (names[cstr]) {
|
|
960
|
+
parts = names[cstr].slice();
|
|
961
|
+
space = 'rgb';
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
//reserved words
|
|
965
|
+
else if (cstr === 'transparent') {
|
|
966
|
+
alpha = 0;
|
|
967
|
+
space = 'rgb';
|
|
968
|
+
parts = [0, 0, 0];
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
//hex
|
|
972
|
+
else if (/^#[A-Fa-f0-9]+$/.test(cstr)) {
|
|
973
|
+
var base = cstr.slice(1);
|
|
974
|
+
var size = base.length;
|
|
975
|
+
var isShort = size <= 4;
|
|
976
|
+
alpha = 1;
|
|
977
|
+
|
|
978
|
+
if (isShort) {
|
|
979
|
+
parts = [
|
|
980
|
+
parseInt(base[0] + base[0], 16),
|
|
981
|
+
parseInt(base[1] + base[1], 16),
|
|
982
|
+
parseInt(base[2] + base[2], 16)
|
|
983
|
+
];
|
|
984
|
+
if (size === 4) {
|
|
985
|
+
alpha = parseInt(base[3] + base[3], 16) / 255;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
else {
|
|
989
|
+
parts = [
|
|
990
|
+
parseInt(base[0] + base[1], 16),
|
|
991
|
+
parseInt(base[2] + base[3], 16),
|
|
992
|
+
parseInt(base[4] + base[5], 16)
|
|
993
|
+
];
|
|
994
|
+
if (size === 8) {
|
|
995
|
+
alpha = parseInt(base[6] + base[7], 16) / 255;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
if (!parts[0]) parts[0] = 0;
|
|
1000
|
+
if (!parts[1]) parts[1] = 0;
|
|
1001
|
+
if (!parts[2]) parts[2] = 0;
|
|
1002
|
+
|
|
1003
|
+
space = 'rgb';
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
//color space
|
|
1007
|
+
else if (m = /^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(cstr)) {
|
|
1008
|
+
var name = m[1];
|
|
1009
|
+
var isRGB = name === 'rgb';
|
|
1010
|
+
var base = name.replace(/a$/, '');
|
|
1011
|
+
space = base;
|
|
1012
|
+
var size = base === 'cmyk' ? 4 : base === 'gray' ? 1 : 3;
|
|
1013
|
+
parts = m[2].trim()
|
|
1014
|
+
.split(/\s*[,\/]\s*|\s+/)
|
|
1015
|
+
.map(function (x, i) {
|
|
1016
|
+
//<percentage>
|
|
1017
|
+
if (/%$/.test(x)) {
|
|
1018
|
+
//alpha
|
|
1019
|
+
if (i === size) return parseFloat(x) / 100
|
|
1020
|
+
//rgb
|
|
1021
|
+
if (base === 'rgb') return parseFloat(x) * 255 / 100
|
|
1022
|
+
return parseFloat(x)
|
|
1023
|
+
}
|
|
1024
|
+
//hue
|
|
1025
|
+
else if (base[i] === 'h') {
|
|
1026
|
+
//<deg>
|
|
1027
|
+
if (/deg$/.test(x)) {
|
|
1028
|
+
return parseFloat(x)
|
|
1029
|
+
}
|
|
1030
|
+
//<base-hue>
|
|
1031
|
+
else if (baseHues[x] !== undefined) {
|
|
1032
|
+
return baseHues[x]
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
return parseFloat(x)
|
|
1036
|
+
});
|
|
1037
|
+
|
|
1038
|
+
if (name === base) parts.push(1);
|
|
1039
|
+
alpha = (isRGB) ? 1 : (parts[size] === undefined) ? 1 : parts[size];
|
|
1040
|
+
parts = parts.slice(0, size);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
//named channels case
|
|
1044
|
+
else if (cstr.length > 10 && /[0-9](?:\s|\/)/.test(cstr)) {
|
|
1045
|
+
parts = cstr.match(/([0-9]+)/g).map(function (value) {
|
|
1046
|
+
return parseFloat(value)
|
|
1047
|
+
});
|
|
1048
|
+
|
|
1049
|
+
space = cstr.match(/([a-z])/ig).join('').toLowerCase();
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
//numeric case
|
|
1054
|
+
else if (!isNaN(cstr)) {
|
|
1055
|
+
space = 'rgb';
|
|
1056
|
+
parts = [cstr >>> 16, (cstr & 0x00ff00) >>> 8, cstr & 0x0000ff];
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
//array-like
|
|
1060
|
+
else if (Array.isArray(cstr) || cstr.length) {
|
|
1061
|
+
parts = [cstr[0], cstr[1], cstr[2]];
|
|
1062
|
+
space = 'rgb';
|
|
1063
|
+
alpha = cstr.length === 4 ? cstr[3] : 1;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
//object case - detects css cases of rgb and hsl
|
|
1067
|
+
else if (cstr instanceof Object) {
|
|
1068
|
+
if (cstr.r != null || cstr.red != null || cstr.R != null) {
|
|
1069
|
+
space = 'rgb';
|
|
1070
|
+
parts = [
|
|
1071
|
+
cstr.r || cstr.red || cstr.R || 0,
|
|
1072
|
+
cstr.g || cstr.green || cstr.G || 0,
|
|
1073
|
+
cstr.b || cstr.blue || cstr.B || 0
|
|
1074
|
+
];
|
|
1075
|
+
}
|
|
1076
|
+
else {
|
|
1077
|
+
space = 'hsl';
|
|
1078
|
+
parts = [
|
|
1079
|
+
cstr.h || cstr.hue || cstr.H || 0,
|
|
1080
|
+
cstr.s || cstr.saturation || cstr.S || 0,
|
|
1081
|
+
cstr.l || cstr.lightness || cstr.L || cstr.b || cstr.brightness
|
|
1082
|
+
];
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
alpha = cstr.a || cstr.alpha || cstr.opacity || 1;
|
|
1086
|
+
|
|
1087
|
+
if (cstr.opacity != null) alpha /= 100;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
return {
|
|
1091
|
+
space: space,
|
|
1092
|
+
values: parts,
|
|
1093
|
+
alpha: alpha
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
return colorParse;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
var colorParseExports = requireColorParse();
|
|
1100
|
+
var parse = /*@__PURE__*/getDefaultExportFromCjs(colorParseExports);
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* RGB space.
|
|
1104
|
+
*
|
|
1105
|
+
* @module color-space/rgb
|
|
1106
|
+
*/
|
|
1107
|
+
const rgb = {
|
|
1108
|
+
min: [0, 0, 0],
|
|
1109
|
+
max: [255, 255, 255]};
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @module color-space/hsl
|
|
1113
|
+
*/
|
|
1114
|
+
|
|
1115
|
+
var hsl = {
|
|
1116
|
+
name: 'hsl',
|
|
1117
|
+
min: [0, 0, 0],
|
|
1118
|
+
max: [360, 100, 100],
|
|
1119
|
+
channel: ['hue', 'saturation', 'lightness'],
|
|
1120
|
+
alias: ['HSL'],
|
|
1121
|
+
|
|
1122
|
+
rgb: function (hsl) {
|
|
1123
|
+
var h = hsl[0] / 360, s = hsl[1] / 100, l = hsl[2] / 100, t1, t2, t3, rgb, val, i = 0;
|
|
1124
|
+
|
|
1125
|
+
if (s === 0) return val = l * 255, [val, val, val];
|
|
1126
|
+
|
|
1127
|
+
t2 = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
1128
|
+
t1 = 2 * l - t2;
|
|
1129
|
+
|
|
1130
|
+
rgb = [0, 0, 0];
|
|
1131
|
+
for (; i < 3;) {
|
|
1132
|
+
t3 = h + 1 / 3 * - (i - 1);
|
|
1133
|
+
t3 < 0 ? t3++ : t3 > 1 && t3--;
|
|
1134
|
+
val = 6 * t3 < 1 ? t1 + (t2 - t1) * 6 * t3 :
|
|
1135
|
+
2 * t3 < 1 ? t2 :
|
|
1136
|
+
3 * t3 < 2 ? t1 + (t2 - t1) * (2 / 3 - t3) * 6 :
|
|
1137
|
+
t1;
|
|
1138
|
+
rgb[i++] = val * 255;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
return rgb;
|
|
1142
|
+
}
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
//extend rgb
|
|
1147
|
+
rgb.hsl = function (rgb) {
|
|
1148
|
+
var r = rgb[0] / 255,
|
|
1149
|
+
g = rgb[1] / 255,
|
|
1150
|
+
b = rgb[2] / 255,
|
|
1151
|
+
min = Math.min(r, g, b),
|
|
1152
|
+
max = Math.max(r, g, b),
|
|
1153
|
+
delta = max - min,
|
|
1154
|
+
h, s, l;
|
|
1155
|
+
|
|
1156
|
+
if (max === min) {
|
|
1157
|
+
h = 0;
|
|
1158
|
+
}
|
|
1159
|
+
else if (r === max) {
|
|
1160
|
+
h = (g - b) / delta;
|
|
1161
|
+
}
|
|
1162
|
+
else if (g === max) {
|
|
1163
|
+
h = 2 + (b - r) / delta;
|
|
1164
|
+
}
|
|
1165
|
+
else if (b === max) {
|
|
1166
|
+
h = 4 + (r - g) / delta;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
//FIXME h is possibly undefined
|
|
1170
|
+
//@ts-ignore
|
|
1171
|
+
h = Math.min(h * 60, 360);
|
|
1172
|
+
|
|
1173
|
+
if (h < 0) {
|
|
1174
|
+
h += 360;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
l = (min + max) / 2;
|
|
1178
|
+
|
|
1179
|
+
if (max === min) {
|
|
1180
|
+
s = 0;
|
|
1181
|
+
}
|
|
1182
|
+
else if (l <= 0.5) {
|
|
1183
|
+
s = delta / (max + min);
|
|
1184
|
+
}
|
|
1185
|
+
else {
|
|
1186
|
+
s = delta / (2 - max - min);
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
return [h, s * 100, l * 100];
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
var rgbaConvert = {exports: {}};
|
|
1193
|
+
|
|
1194
|
+
var hasRequiredRgbaConvert;
|
|
1195
|
+
|
|
1196
|
+
function requireRgbaConvert () {
|
|
1197
|
+
if (hasRequiredRgbaConvert) return rgbaConvert.exports;
|
|
1198
|
+
hasRequiredRgbaConvert = 1;
|
|
1199
|
+
rgbaConvert.exports = arr;
|
|
1200
|
+
rgbaConvert.exports.arr = arr;
|
|
1201
|
+
rgbaConvert.exports.obj = obj;
|
|
1202
|
+
rgbaConvert.exports.css = css;
|
|
1203
|
+
rgbaConvert.exports.hex = hex;
|
|
1204
|
+
rgbaConvert.exports.num = num;
|
|
1205
|
+
|
|
1206
|
+
function arr(data) {
|
|
1207
|
+
var a = parse(data);
|
|
1208
|
+
if (a.length == 3) {
|
|
1209
|
+
return a.concat(255)
|
|
1210
|
+
} else {
|
|
1211
|
+
a[3] = Math.round(a[3]);
|
|
1212
|
+
return a
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
function obj(data) {
|
|
1217
|
+
var a = parse(data);
|
|
1218
|
+
return {
|
|
1219
|
+
r: a[0],
|
|
1220
|
+
g: a[1],
|
|
1221
|
+
b: a[2],
|
|
1222
|
+
a: a.length == 3
|
|
1223
|
+
? 255
|
|
1224
|
+
: Math.round(a[3])
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
function css(data) {
|
|
1229
|
+
var a = parse(data);
|
|
1230
|
+
if (a.length == 3) a.push(255);
|
|
1231
|
+
|
|
1232
|
+
return a[3] == 255
|
|
1233
|
+
? 'rgb(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')'
|
|
1234
|
+
: a[3] == 0
|
|
1235
|
+
? 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', 0)'
|
|
1236
|
+
: 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + String(a[3] / 255).substr(1) + ')'
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
function hex(data) {
|
|
1240
|
+
var a = parse(data);
|
|
1241
|
+
if (a.length == 3) a.push(255);
|
|
1242
|
+
var opaque = a[3] == 255;
|
|
1243
|
+
var r = num2hex(a[0]);
|
|
1244
|
+
var g = num2hex(a[1]);
|
|
1245
|
+
var b = num2hex(a[2]);
|
|
1246
|
+
var a = num2hex(Math.round(a[3]));
|
|
1247
|
+
var is = isshort(r, g, b, a);
|
|
1248
|
+
if (opaque) {
|
|
1249
|
+
return is
|
|
1250
|
+
? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0)
|
|
1251
|
+
: '#' + r + g + b
|
|
1252
|
+
}
|
|
1253
|
+
return is
|
|
1254
|
+
? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0) + a.charAt(0)
|
|
1255
|
+
: '#' + r + g + b + a
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
function num(data) {
|
|
1259
|
+
var a = parse(data);
|
|
1260
|
+
if (a.length == 3) a.push(255);
|
|
1261
|
+
else a[3] = Math.round(a[3]);
|
|
1262
|
+
return ((a[3] << 24) >>> 0 | a[0] << 16 | a[1] << 8 | a[2]) >>> 0
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
function parse(data) {
|
|
1266
|
+
if (typeof data == 'string') {
|
|
1267
|
+
data = data.toLowerCase();
|
|
1268
|
+
return name(data)
|
|
1269
|
+
|| hex3(data)
|
|
1270
|
+
|| hex6(data)
|
|
1271
|
+
|| rgb(data)
|
|
1272
|
+
|| rgba(data)
|
|
1273
|
+
|| [0, 0, 0, 255]
|
|
1274
|
+
}
|
|
1275
|
+
return object(data)
|
|
1276
|
+
|| array(data)
|
|
1277
|
+
|| number(data)
|
|
1278
|
+
|| [0, 0, 0, 255]
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
function num2hex(num) {
|
|
1282
|
+
var s = num.toString(16);
|
|
1283
|
+
return s.length == 1
|
|
1284
|
+
? '0' + s
|
|
1285
|
+
: s
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
function isshort(r, g, b, a) {
|
|
1289
|
+
var h = ['ff', '00', '11', '22', '33', '44', '55', '66',
|
|
1290
|
+
'77', '88', '99', 'aa', 'bb', 'cc', 'dd', 'ee'];
|
|
1291
|
+
return h.indexOf(r) != -1
|
|
1292
|
+
&& h.indexOf(g) != -1
|
|
1293
|
+
&& h.indexOf(b) != -1
|
|
1294
|
+
&& h.indexOf(a) != -1
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
function name(str) {
|
|
1298
|
+
if (str == 'red') return [255, 0, 0]
|
|
1299
|
+
if (str == 'green') return [0, 255, 0]
|
|
1300
|
+
if (str == 'blue') return [0, 0, 255]
|
|
1301
|
+
if (str == 'black') return [0, 0, 0]
|
|
1302
|
+
if (str == 'white') return [255, 255, 255]
|
|
1303
|
+
if (str == 'cyan') return [0, 255, 255]
|
|
1304
|
+
if (str == 'gray') return [128, 128, 128]
|
|
1305
|
+
if (str == 'grey') return [128, 128, 128]
|
|
1306
|
+
if (str == 'magenta') return [255, 0, 255]
|
|
1307
|
+
// ok, not the real css `pink` but my personal `magenta` alias
|
|
1308
|
+
// `pink` is simpler than `fuchsia`, whatever...
|
|
1309
|
+
if (str == 'pink') return [255, 0, 255]
|
|
1310
|
+
if (str == 'yellow') return [255, 255, 0]
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
function hex2num(str) {
|
|
1314
|
+
return str.length == 1
|
|
1315
|
+
? parseInt(str + str, 16)
|
|
1316
|
+
: parseInt(str, 16)
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
function hex3(str) {
|
|
1320
|
+
var s = str.replace(/^#/,'');
|
|
1321
|
+
var l = s.length;
|
|
1322
|
+
if (l == 3 || l == 4) {
|
|
1323
|
+
var r = hex2num(s[0]);
|
|
1324
|
+
var g = hex2num(s[1]);
|
|
1325
|
+
var b = hex2num(s[2]);
|
|
1326
|
+
var a = l == 3
|
|
1327
|
+
? 255
|
|
1328
|
+
: hex2num(s[3]);
|
|
1329
|
+
|
|
1330
|
+
if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return
|
|
1331
|
+
|
|
1332
|
+
return [r, g, b, a]
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
function hex6(str) {
|
|
1337
|
+
var s = str.replace(/^#/,'');
|
|
1338
|
+
var l = s.length;
|
|
1339
|
+
if (l == 6 || l == 8) {
|
|
1340
|
+
var r = hex2num(s.slice(0, 2));
|
|
1341
|
+
var g = hex2num(s.slice(2, 4));
|
|
1342
|
+
var b = hex2num(s.slice(4, 6));
|
|
1343
|
+
var a = l == 6
|
|
1344
|
+
? 255
|
|
1345
|
+
: hex2num(s.slice(6, 8));
|
|
1346
|
+
|
|
1347
|
+
if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return
|
|
1348
|
+
|
|
1349
|
+
return [r, g, b, a]
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
function getnum(val, integer) {
|
|
1354
|
+
if (typeof val != 'number') return -1
|
|
1355
|
+
if (integer === true && Math.floor(val) !== val) return -1
|
|
1356
|
+
return val >= 0 && val <= 255
|
|
1357
|
+
? val
|
|
1358
|
+
: -1
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
function object(obj) {
|
|
1362
|
+
if (Object.prototype.toString.call(obj) === '[object Object]'
|
|
1363
|
+
&& Object.getPrototypeOf(obj) === Object.getPrototypeOf({})) {
|
|
1364
|
+
var r = getnum(obj.r != undefined ? obj.r : obj.red != undefined ? obj.red : 0, true);
|
|
1365
|
+
var g = getnum(obj.g != undefined ? obj.g : obj.green != undefined ? obj.green : 0, true);
|
|
1366
|
+
var b = getnum(obj.b != undefined ? obj.b : obj.blue != undefined ? obj.blue : 0, true);
|
|
1367
|
+
var a = getnum(obj.a != undefined ? obj.a : obj.alpha != undefined ? obj.alpha : 255, true);
|
|
1368
|
+
if (r != -1 && g != -1 && b != -1 && a != -1) {
|
|
1369
|
+
return [r, g, b, a]
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
function array(arr) {
|
|
1375
|
+
if (Array.isArray(arr) && (arr.length == 3 || arr.length == 4)) {
|
|
1376
|
+
var r = getnum(arr[0], true);
|
|
1377
|
+
var g = getnum(arr[1], true);
|
|
1378
|
+
var b = getnum(arr[2], true);
|
|
1379
|
+
var a = getnum(arr[3] != undefined ? arr[3] : 255, true);
|
|
1380
|
+
if (r != -1 && g != -1 && b != -1 && a != -1) {
|
|
1381
|
+
return [r, g, b, a]
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
function number(num) {
|
|
1387
|
+
if (typeof num == 'number' && Math.floor(num) == num && num <= 4294967295 && num >= 0) {
|
|
1388
|
+
var a = num >> 24 & 255;
|
|
1389
|
+
var r = num >> 16 & 255;
|
|
1390
|
+
var g = num >> 8 & 255;
|
|
1391
|
+
var b = num & 255;
|
|
1392
|
+
return [r, g, b, a]
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
function rgb(str) {
|
|
1397
|
+
if (str.substr(0, 4) == 'rgb(') {
|
|
1398
|
+
str = str.match(/^rgb\(([^)]+)\)/)[1];
|
|
1399
|
+
var t = str.split(/ *, */).map(Number);
|
|
1400
|
+
var r = getnum(t[0], true);
|
|
1401
|
+
var g = getnum(t[1], true);
|
|
1402
|
+
var b = getnum(t[2], true);
|
|
1403
|
+
if (r != -1 && g != -1 && b != -1) {
|
|
1404
|
+
return [r, g, b, 255]
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
function rgba(str) {
|
|
1410
|
+
if (str.substr(0, 5) == 'rgba(') {
|
|
1411
|
+
str = str.match(/^rgba\(([^)]+)\)/)[1];
|
|
1412
|
+
var t = str.split(/ *, */).map(Number);
|
|
1413
|
+
var r = getnum(t[0], true);
|
|
1414
|
+
var g = getnum(t[1], true);
|
|
1415
|
+
var b = getnum(t[2], true);
|
|
1416
|
+
var a = getnum(t[3] * 255);
|
|
1417
|
+
if (r != -1 && g != -1 && b != -1 && a != -1) {
|
|
1418
|
+
return [r, g, b, a]
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
return rgbaConvert.exports;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
var rgbaConvertExports = requireRgbaConvert();
|
|
1426
|
+
var rgba = /*@__PURE__*/getDefaultExportFromCjs(rgbaConvertExports);
|
|
1427
|
+
|
|
1428
|
+
var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,"")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return [t>>16,t>>8&255,255&t,r]}function c(n,r){return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s(n,r){return o(i(n),i(r))}function f(n){return n>=7?"AAA":n>=4.5?"AA":n>=3?"AA Large":"Fail"}
|
|
1429
|
+
|
|
1430
|
+
const OBJECT_OBJECT = /\[object Object\]/;
|
|
1431
|
+
const objectObjectHandler = (value, cb) => {
|
|
1432
|
+
if (typeof value === 'string' && OBJECT_OBJECT.test(value)) {
|
|
1433
|
+
return;
|
|
1434
|
+
}
|
|
1435
|
+
cb();
|
|
1436
|
+
};
|
|
1437
|
+
const setEventTarget = (event, target) => {
|
|
1438
|
+
if (getExperimentalMode()) {
|
|
1439
|
+
Log.debug([event, target]);
|
|
1440
|
+
Log.debug(`↑ We propagate the (submit) event to this target.`);
|
|
1441
|
+
}
|
|
1442
|
+
Object.defineProperty(event, 'target', {
|
|
1443
|
+
value: target,
|
|
1444
|
+
writable: false,
|
|
1445
|
+
});
|
|
1446
|
+
};
|
|
1447
|
+
const stringifyJson = (value) => {
|
|
1448
|
+
try {
|
|
1449
|
+
return JSON.stringify(value).replace(/"/g, "'");
|
|
1450
|
+
}
|
|
1451
|
+
catch (_a) {
|
|
1452
|
+
Log.warn(['stringifyJson', value]);
|
|
1453
|
+
Log.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`);
|
|
1454
|
+
throw new Error();
|
|
1455
|
+
}
|
|
1456
|
+
};
|
|
1457
|
+
const JSON_CHARS = /^[{[]/;
|
|
1458
|
+
const parseJson = (value) => {
|
|
1459
|
+
if (typeof value === 'string') {
|
|
1460
|
+
try {
|
|
1461
|
+
return JSON.parse(value);
|
|
1462
|
+
}
|
|
1463
|
+
catch (_a) {
|
|
1464
|
+
if (JSON_CHARS.test(value)) {
|
|
1465
|
+
try {
|
|
1466
|
+
return JSON.parse(value.replace(/'/g, '"'));
|
|
1467
|
+
}
|
|
1468
|
+
catch (_b) {
|
|
1469
|
+
Log.warn(['parseJson', value]);
|
|
1470
|
+
Log.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).`);
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
throw new Error();
|
|
1476
|
+
};
|
|
1477
|
+
const traverseShadowDom = (rootNode, onNode) => {
|
|
1478
|
+
if (!rootNode) {
|
|
1479
|
+
return;
|
|
1480
|
+
}
|
|
1481
|
+
const visited = new Set();
|
|
1482
|
+
const queue = [rootNode];
|
|
1483
|
+
let index = 0;
|
|
1484
|
+
while (index < queue.length) {
|
|
1485
|
+
const current = queue[index++];
|
|
1486
|
+
if (visited.has(current)) {
|
|
1487
|
+
continue;
|
|
1488
|
+
}
|
|
1489
|
+
visited.add(current);
|
|
1490
|
+
if (onNode(current)) {
|
|
1491
|
+
return;
|
|
1492
|
+
}
|
|
1493
|
+
const children = Array.from(current.children || []);
|
|
1494
|
+
for (let i = 0; i < children.length; i++) {
|
|
1495
|
+
queue.push(children[i]);
|
|
1496
|
+
}
|
|
1497
|
+
if (current instanceof HTMLElement && current.shadowRoot) {
|
|
1498
|
+
queue.push(current.shadowRoot);
|
|
1499
|
+
}
|
|
1500
|
+
if (current instanceof HTMLSlotElement) {
|
|
1501
|
+
const assigned = current.assignedNodes({ flatten: true });
|
|
1502
|
+
for (let i = 0; i < assigned.length; i++) {
|
|
1503
|
+
if (assigned[i] instanceof Element) {
|
|
1504
|
+
queue.push(assigned[i]);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
};
|
|
1510
|
+
const querySelectorShadow = (selector, rootNode) => {
|
|
1511
|
+
let result = null;
|
|
1512
|
+
traverseShadowDom(rootNode, (current) => {
|
|
1513
|
+
if (current instanceof Element && current.matches(selector)) {
|
|
1514
|
+
result = current;
|
|
1515
|
+
return true;
|
|
1516
|
+
}
|
|
1517
|
+
return false;
|
|
1518
|
+
});
|
|
1519
|
+
return result;
|
|
1520
|
+
};
|
|
1521
|
+
const querySelectorAllShadow = (selector, rootNode) => {
|
|
1522
|
+
const results = [];
|
|
1523
|
+
traverseShadowDom(rootNode, (current) => {
|
|
1524
|
+
if (current instanceof Element && current.matches(selector)) {
|
|
1525
|
+
results.push(current);
|
|
1526
|
+
}
|
|
1527
|
+
return false;
|
|
1528
|
+
});
|
|
1529
|
+
return results;
|
|
1530
|
+
};
|
|
1531
|
+
const koliBriQuerySelector = (selector, node) => querySelectorShadow(selector, node || getDocument());
|
|
1532
|
+
const koliBriQuerySelectorAll = (selector, node) => querySelectorAllShadow(selector, node || getDocument());
|
|
1533
|
+
let DEFAULT_COLOR_CONTRAST = null;
|
|
1534
|
+
const getDefaultColorContrast = () => {
|
|
1535
|
+
DEFAULT_COLOR_CONTRAST = DEFAULT_COLOR_CONTRAST || {
|
|
1536
|
+
backgroundColor: '#00000000',
|
|
1537
|
+
color: '#00000000',
|
|
1538
|
+
domNode: getDocument().body,
|
|
1539
|
+
level: 'Fail',
|
|
1540
|
+
score: 1,
|
|
1541
|
+
};
|
|
1542
|
+
return DEFAULT_COLOR_CONTRAST;
|
|
1543
|
+
};
|
|
1544
|
+
const TRANSPARENT_REGEXP = /(\d+, ){3}0\)/;
|
|
1545
|
+
const koliBriA11yColorContrast = (domNode, a11yColorContrast = getDefaultColorContrast()) => {
|
|
1546
|
+
const computedStyle = getComputedStyle(domNode);
|
|
1547
|
+
const hexBG = TRANSPARENT_REGEXP.test(computedStyle.backgroundColor) ? a11yColorContrast.backgroundColor : rgba.hex(computedStyle.backgroundColor);
|
|
1548
|
+
const hexC = TRANSPARENT_REGEXP.test(computedStyle.color) ? a11yColorContrast.color : rgba.hex(computedStyle.color);
|
|
1549
|
+
const diff = s(hexBG, hexC);
|
|
1550
|
+
const contrast = {
|
|
1551
|
+
backgroundColor: hexBG,
|
|
1552
|
+
color: hexC,
|
|
1553
|
+
domNode: domNode,
|
|
1554
|
+
level: f(diff),
|
|
1555
|
+
score: diff,
|
|
1556
|
+
};
|
|
1557
|
+
if (diff < 4.5) {
|
|
1558
|
+
Log.error([
|
|
1559
|
+
'Color-Contrast-Error',
|
|
1560
|
+
{
|
|
1561
|
+
backgroundColor: contrast.backgroundColor,
|
|
1562
|
+
color: contrast.color,
|
|
1563
|
+
level: contrast.level,
|
|
1564
|
+
score: contrast.score,
|
|
1565
|
+
},
|
|
1566
|
+
contrast.domNode,
|
|
1567
|
+
]);
|
|
1568
|
+
}
|
|
1569
|
+
return contrast;
|
|
1570
|
+
};
|
|
1571
|
+
const koliBriQuerySelectorColors = (selector, a11yColorContrast = getDefaultColorContrast()) => {
|
|
1572
|
+
if (a11yColorContrast.domNode instanceof HTMLElement) {
|
|
1573
|
+
a11yColorContrast = koliBriA11yColorContrast(a11yColorContrast.domNode, a11yColorContrast);
|
|
1574
|
+
}
|
|
1575
|
+
const selectedNode = a11yColorContrast.domNode.querySelector(selector);
|
|
1576
|
+
if (selectedNode === null) {
|
|
1577
|
+
const nodeList = a11yColorContrast.domNode.querySelectorAll('[class="hydrated"]');
|
|
1578
|
+
for (let i = 0; i < nodeList.length; i++) {
|
|
1579
|
+
a11yColorContrast.domNode = nodeList[i];
|
|
1580
|
+
a11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);
|
|
1581
|
+
if (a11yColorContrast.domNode !== null) {
|
|
1582
|
+
break;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
return a11yColorContrast;
|
|
1586
|
+
}
|
|
1587
|
+
else {
|
|
1588
|
+
return koliBriA11yColorContrast(selectedNode, a11yColorContrast);
|
|
1589
|
+
}
|
|
1590
|
+
};
|
|
1591
|
+
class KoliBriUtils {
|
|
1592
|
+
static queryHtmlElementColors(targetNode, a11yColorContrast, recursion = false, log = true) {
|
|
1593
|
+
let returnValue = null;
|
|
1594
|
+
if (recursion === true || KoliBriUtils.executionLock === false) {
|
|
1595
|
+
if (recursion === false) {
|
|
1596
|
+
KoliBriUtils.cache.clear();
|
|
1597
|
+
KoliBriUtils.cache.set(a11yColorContrast.domNode, a11yColorContrast);
|
|
1598
|
+
KoliBriUtils.executionLock = true;
|
|
1599
|
+
if (log === true) {
|
|
1600
|
+
Log.debug(`[KoliBriUtils] Color contrast analysis started...`);
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
if (targetNode === a11yColorContrast.domNode) {
|
|
1604
|
+
returnValue = a11yColorContrast;
|
|
1605
|
+
}
|
|
1606
|
+
else {
|
|
1607
|
+
const children = new Set();
|
|
1608
|
+
if (a11yColorContrast.domNode.shadowRoot) {
|
|
1609
|
+
const shadowChildren = a11yColorContrast.domNode.shadowRoot.children;
|
|
1610
|
+
for (let i = 0; i < shadowChildren.length; i++) {
|
|
1611
|
+
children.add(shadowChildren[i]);
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
const slotElement = a11yColorContrast.domNode;
|
|
1615
|
+
if (typeof slotElement.assignedNodes === 'function') {
|
|
1616
|
+
const slotChildren = slotElement.assignedNodes();
|
|
1617
|
+
for (let i = 0; i < slotChildren.length; i++) {
|
|
1618
|
+
if (slotChildren[i] instanceof HTMLElement) {
|
|
1619
|
+
children.add(slotChildren[i]);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
const domChildren = a11yColorContrast.domNode.children;
|
|
1624
|
+
for (let i = 0; i < domChildren.length; i++) {
|
|
1625
|
+
children.add(domChildren[i]);
|
|
1626
|
+
}
|
|
1627
|
+
const arrayChildren = Array.from(children);
|
|
1628
|
+
for (let i = 0; i < arrayChildren.length; i++) {
|
|
1629
|
+
let colorContrast = KoliBriUtils.cache.get(arrayChildren[i]);
|
|
1630
|
+
if (colorContrast === undefined) {
|
|
1631
|
+
colorContrast = koliBriA11yColorContrast(arrayChildren[i], a11yColorContrast);
|
|
1632
|
+
}
|
|
1633
|
+
KoliBriUtils.cache.set(arrayChildren[i], colorContrast);
|
|
1634
|
+
const colors = KoliBriUtils.queryHtmlElementColors(targetNode, colorContrast, true, false);
|
|
1635
|
+
if (colors !== null) {
|
|
1636
|
+
returnValue = colors;
|
|
1637
|
+
break;
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
else {
|
|
1643
|
+
Log.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);
|
|
1644
|
+
}
|
|
1645
|
+
if (recursion === false) {
|
|
1646
|
+
if (log === true) {
|
|
1647
|
+
Log.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`);
|
|
1648
|
+
}
|
|
1649
|
+
KoliBriUtils.executionLock = false;
|
|
1650
|
+
KoliBriUtils.cache.clear();
|
|
1651
|
+
}
|
|
1652
|
+
return returnValue;
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
KoliBriUtils.executionLock = false;
|
|
1656
|
+
KoliBriUtils.cache = new Map();
|
|
1657
|
+
class KoliBriDevHelper {
|
|
1658
|
+
}
|
|
1659
|
+
KoliBriDevHelper.getCssStyle = T;
|
|
1660
|
+
KoliBriDevHelper.patchTheme = z;
|
|
1661
|
+
KoliBriDevHelper.patchThemeTag = D;
|
|
1662
|
+
KoliBriDevHelper.querySelector = koliBriQuerySelector;
|
|
1663
|
+
KoliBriDevHelper.querySelectorAll = koliBriQuerySelectorAll;
|
|
1664
|
+
KoliBriDevHelper.stringifyJson = stringifyJson;
|
|
1665
|
+
|
|
1666
|
+
/*
|
|
1667
|
+
Stencil Client Platform v4.45.3 | MIT Licensed | https://stenciljs.com
|
|
32
1668
|
*/
|
|
33
1669
|
|
|
34
1670
|
|
|
@@ -309,10 +1945,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
309
1945
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
310
1946
|
/* webpackMode: "lazy" */
|
|
311
1947
|
'./kol-select.cjs.entry.js')); }).then(processMod, consoleError);
|
|
312
|
-
case 'kol-skeleton.cjs':
|
|
313
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
314
|
-
/* webpackMode: "lazy" */
|
|
315
|
-
'./kol-skeleton.cjs.entry.js')); }).then(processMod, consoleError);
|
|
316
1948
|
case 'kol-skip-nav.cjs':
|
|
317
1949
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
318
1950
|
/* webpackMode: "lazy" */
|
|
@@ -361,10 +1993,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
361
1993
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
362
1994
|
/* webpackMode: "lazy" */
|
|
363
1995
|
'./kol-version.cjs.entry.js')); }).then(processMod, consoleError);
|
|
364
|
-
case 'kol-click-button.cjs':
|
|
365
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
366
|
-
/* webpackMode: "lazy" */
|
|
367
|
-
'./kol-click-button.cjs.entry.js')); }).then(processMod, consoleError);
|
|
368
1996
|
case 'kol-combobox.cjs':
|
|
369
1997
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
370
1998
|
/* webpackMode: "lazy" */
|
|
@@ -389,6 +2017,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
389
2017
|
}
|
|
390
2018
|
return (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(
|
|
391
2019
|
/* @vite-ignore */
|
|
2020
|
+
/* turbopackIgnore: true */
|
|
392
2021
|
/* webpackInclude: /\.entry\.js$/ */
|
|
393
2022
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
394
2023
|
/* webpackMode: "lazy" */
|
|
@@ -657,7 +2286,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
657
2286
|
}
|
|
658
2287
|
const existingStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
659
2288
|
if (existingStyleElm) {
|
|
660
|
-
|
|
2289
|
+
appliedStyles.add(scopeId2);
|
|
661
2290
|
} else if (!appliedStyles.has(scopeId2)) {
|
|
662
2291
|
styleElm = win.document.createElement("style");
|
|
663
2292
|
styleElm.textContent = style;
|
|
@@ -756,14 +2385,21 @@ var attachStyles = (hostRef) => {
|
|
|
756
2385
|
};
|
|
757
2386
|
var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
758
2387
|
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
759
|
-
var hydrateScopedToShadow = () => {
|
|
2388
|
+
var hydrateScopedToShadow = (cmpMetas) => {
|
|
760
2389
|
if (!win.document) {
|
|
761
2390
|
return;
|
|
762
2391
|
}
|
|
763
|
-
const
|
|
2392
|
+
const styleElms = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
764
2393
|
let i2 = 0;
|
|
765
|
-
for (; i2 <
|
|
766
|
-
|
|
2394
|
+
for (; i2 < styleElms.length; i2++) {
|
|
2395
|
+
const scopeId2 = styleElms[i2].getAttribute(HYDRATED_STYLE_ID);
|
|
2396
|
+
const isShadowCmpStyle = cmpMetas.some((cmpMeta) => {
|
|
2397
|
+
const cmpScopeId = "sc-" + cmpMeta.$tagName$;
|
|
2398
|
+
return cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && (scopeId2 === cmpScopeId || cmpMeta.$flags$ & 32 /* hasMode */ && scopeId2.startsWith(cmpScopeId + "-"));
|
|
2399
|
+
});
|
|
2400
|
+
if (isShadowCmpStyle) {
|
|
2401
|
+
registerStyle(scopeId2, convertScopedToShadow(styleElms[i2].innerHTML), true);
|
|
2402
|
+
}
|
|
767
2403
|
}
|
|
768
2404
|
};
|
|
769
2405
|
var isComplexType = (o) => {
|
|
@@ -1032,7 +2668,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1032
2668
|
let i2;
|
|
1033
2669
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
1034
2670
|
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1035
|
-
if (childNodeType) {
|
|
2671
|
+
if (childNodeType && node !== hostElm) {
|
|
1036
2672
|
childIdSplt = childNodeType.split(".");
|
|
1037
2673
|
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
1038
2674
|
childVNode = createSimpleVNode({
|
|
@@ -1442,21 +3078,6 @@ var getElement = (ref) => {
|
|
|
1442
3078
|
var _a;
|
|
1443
3079
|
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
1444
3080
|
};
|
|
1445
|
-
|
|
1446
|
-
// src/runtime/event-emitter.ts
|
|
1447
|
-
var createEvent = (ref, name, flags) => {
|
|
1448
|
-
const elm = getElement(ref);
|
|
1449
|
-
return {
|
|
1450
|
-
emit: (detail) => {
|
|
1451
|
-
return emitEvent(elm, name, {
|
|
1452
|
-
bubbles: true,
|
|
1453
|
-
composed: true,
|
|
1454
|
-
cancelable: true,
|
|
1455
|
-
detail
|
|
1456
|
-
});
|
|
1457
|
-
}
|
|
1458
|
-
};
|
|
1459
|
-
};
|
|
1460
3081
|
var emitEvent = (elm, name, opts) => {
|
|
1461
3082
|
const ev = plt.ce(name, opts);
|
|
1462
3083
|
elm.dispatchEvent(ev);
|
|
@@ -2346,7 +3967,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2346
3967
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
2347
3968
|
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
2348
3969
|
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
2349
|
-
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
3970
|
+
if ((instance == null ? void 0 : instance[watchMethodName]) != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
2350
3971
|
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
2351
3972
|
}
|
|
2352
3973
|
});
|
|
@@ -2366,7 +3987,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2366
3987
|
newValue = newValue === null || newValue === "false" && true ? false : true;
|
|
2367
3988
|
}
|
|
2368
3989
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2369
|
-
|
|
3990
|
+
const isUnchanged = newValue === this[propName] || newValue == null && this[propName] == null;
|
|
3991
|
+
if (!isSpuriousBooleanRemoval && !isUnchanged && (!propDesc.get || !!propDesc.set)) {
|
|
2370
3992
|
this[propName] = newValue;
|
|
2371
3993
|
}
|
|
2372
3994
|
});
|
|
@@ -2599,7 +4221,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2599
4221
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
2600
4222
|
}
|
|
2601
4223
|
{
|
|
2602
|
-
|
|
4224
|
+
const cmpMetas = [];
|
|
4225
|
+
lazyBundles.map((lazyBundle) => lazyBundle[1].map(([$flags$, $tagName$]) => cmpMetas.push({ $flags$, $tagName$ })));
|
|
4226
|
+
hydrateScopedToShadow(cmpMetas);
|
|
2603
4227
|
}
|
|
2604
4228
|
lazyBundles.map((lazyBundle) => {
|
|
2605
4229
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -2624,7 +4248,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2624
4248
|
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
2625
4249
|
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
2626
4250
|
}
|
|
2627
|
-
const tagName =
|
|
4251
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
2628
4252
|
const HostElement = class extends HTMLElement {
|
|
2629
4253
|
["s-p"];
|
|
2630
4254
|
["s-rc"];
|
|
@@ -2728,7 +4352,7 @@ var Fragment = (_, children) => children;
|
|
|
2728
4352
|
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
2729
4353
|
if (listeners && win.document) {
|
|
2730
4354
|
listeners.map(([flags, name, method]) => {
|
|
2731
|
-
const target =
|
|
4355
|
+
const target = elm;
|
|
2732
4356
|
const handler = hostListenerProxy(hostRef, method);
|
|
2733
4357
|
const opts = hostListenerOpts(flags);
|
|
2734
4358
|
plt.ael(target, name, handler, opts);
|
|
@@ -2750,12 +4374,6 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
2750
4374
|
consoleError(e, hostRef.$hostElement$);
|
|
2751
4375
|
}
|
|
2752
4376
|
};
|
|
2753
|
-
var getHostListenerTarget = (doc, elm, flags) => {
|
|
2754
|
-
if (flags & 8 /* TargetWindow */) {
|
|
2755
|
-
return win;
|
|
2756
|
-
}
|
|
2757
|
-
return elm;
|
|
2758
|
-
};
|
|
2759
4377
|
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
2760
4378
|
passive: (flags & 1 /* Passive */) !== 0,
|
|
2761
4379
|
capture: (flags & 2 /* Capture */) !== 0
|
|
@@ -2763,19 +4381,80 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
2763
4381
|
|
|
2764
4382
|
// src/runtime/nonce.ts
|
|
2765
4383
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
4384
|
+
|
|
4385
|
+
// src/runtime/tag-transform.ts
|
|
4386
|
+
var tagTransformer = void 0;
|
|
2766
4387
|
function transformTag(tag) {
|
|
2767
|
-
return tag;
|
|
4388
|
+
if (!tagTransformer) return tag;
|
|
4389
|
+
return tagTransformer(tag);
|
|
4390
|
+
}
|
|
4391
|
+
function setTagTransformer(transformer) {
|
|
4392
|
+
if (tagTransformer) {
|
|
4393
|
+
console.warn(`
|
|
4394
|
+
A tagTransformer has already been set.
|
|
4395
|
+
Overwriting it may lead to error and unexpected results if your components have already been defined.
|
|
4396
|
+
`);
|
|
4397
|
+
}
|
|
4398
|
+
tagTransformer = transformer;
|
|
2768
4399
|
}
|
|
2769
4400
|
|
|
4401
|
+
exports.Ee = Ee;
|
|
2770
4402
|
exports.Env = Env;
|
|
2771
4403
|
exports.Fragment = Fragment;
|
|
2772
4404
|
exports.Host = Host;
|
|
4405
|
+
exports.KoliBriDevHelper = KoliBriDevHelper;
|
|
4406
|
+
exports.KoliBriUtils = KoliBriUtils;
|
|
4407
|
+
exports.Log = Log;
|
|
4408
|
+
exports.R = R;
|
|
4409
|
+
exports.STATE_CHANGE_EVENT = STATE_CHANGE_EVENT;
|
|
4410
|
+
exports.X = X;
|
|
4411
|
+
exports.a11yHint = a11yHint;
|
|
4412
|
+
exports.a11yHintLabelingLandmarks = a11yHintLabelingLandmarks;
|
|
2773
4413
|
exports.bootstrapLazy = bootstrapLazy;
|
|
2774
|
-
exports.
|
|
4414
|
+
exports.de = de;
|
|
4415
|
+
exports.deprecatedHint = deprecatedHint;
|
|
4416
|
+
exports.devHint = devHint;
|
|
4417
|
+
exports.devWarning = devWarning;
|
|
4418
|
+
exports.featureHint = featureHint;
|
|
2775
4419
|
exports.forceUpdate = forceUpdate;
|
|
4420
|
+
exports.getColorContrastAnalysis = getColorContrastAnalysis;
|
|
4421
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
4422
|
+
exports.getDocument = getDocument;
|
|
2776
4423
|
exports.getElement = getElement;
|
|
4424
|
+
exports.getExperimentalMode = getExperimentalMode;
|
|
4425
|
+
exports.getWindow = getWindow;
|
|
2777
4426
|
exports.h = h;
|
|
4427
|
+
exports.hsl = hsl;
|
|
4428
|
+
exports.isDevMode = isDevMode;
|
|
4429
|
+
exports.isNumberString = isNumberString;
|
|
4430
|
+
exports.isObject = isObject;
|
|
4431
|
+
exports.isString = isString;
|
|
4432
|
+
exports.isStyle = isStyle;
|
|
4433
|
+
exports.isTestMode = isTestMode;
|
|
4434
|
+
exports.isValidationEnabled = isValidationEnabled;
|
|
4435
|
+
exports.koliBriA11yColorContrast = koliBriA11yColorContrast;
|
|
4436
|
+
exports.koliBriQuerySelector = koliBriQuerySelector;
|
|
4437
|
+
exports.koliBriQuerySelectorAll = koliBriQuerySelectorAll;
|
|
4438
|
+
exports.koliBriQuerySelectorColors = koliBriQuerySelectorColors;
|
|
4439
|
+
exports.n = n$1;
|
|
4440
|
+
exports.objectObjectHandler = objectObjectHandler;
|
|
4441
|
+
exports.parse = parse;
|
|
4442
|
+
exports.parseJson = parseJson;
|
|
2778
4443
|
exports.promiseResolve = promiseResolve;
|
|
2779
4444
|
exports.registerInstance = registerInstance;
|
|
4445
|
+
exports.rgb = rgb;
|
|
4446
|
+
exports.rgba = rgba;
|
|
4447
|
+
exports.s = s;
|
|
4448
|
+
exports.se = se;
|
|
4449
|
+
exports.setColorContrastAnalysis = setColorContrastAnalysis;
|
|
4450
|
+
exports.setEventTarget = setEventTarget;
|
|
4451
|
+
exports.setExperimentalMode = setExperimentalMode;
|
|
2780
4452
|
exports.setMode = setMode;
|
|
2781
4453
|
exports.setNonce = setNonce;
|
|
4454
|
+
exports.setRuntimeMode = setRuntimeMode;
|
|
4455
|
+
exports.setTagTransformer = setTagTransformer;
|
|
4456
|
+
exports.stringifyJson = stringifyJson;
|
|
4457
|
+
exports.transformTag = transformTag;
|
|
4458
|
+
exports.uiUxHint = uiUxHint;
|
|
4459
|
+
exports.uiUxHintMillerscheZahl = uiUxHintMillerscheZahl;
|
|
4460
|
+
exports.w = w;
|