@public-ui/components 5.0.0-beta.2 → 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 +23 -23
- package/dist/cjs/{Heading-o_m1bQbh.js → Heading-D1EJem-Q.js} +2 -2
- package/dist/cjs/{access-and-short-key-BrLP4fF_.js → access-and-short-key-BCyKbrgd.js} +1 -1
- package/dist/cjs/{api-SFTkHR9W.js → api-DU50b7pU.js} +27 -27
- package/dist/cjs/{app-globals-BVGzsN2O.js → app-globals-Cshxaw1i.js} +3 -3
- package/dist/cjs/{ariaCurrentService-aysGX58T.js → aria-current-service-XKodxE3I.js} +2 -2
- package/dist/cjs/{aria-labelledby-CgJJS0K5.js → aria-labelledby-Du7FNBK5.js} +1 -1
- package/dist/cjs/{base-DoujJ-Xz.js → base-2k8L5Z0t.js} +13 -13
- package/dist/cjs/{base-DGpJZOXm.js → base-CrH3N2Zu.js} +70 -36
- package/dist/cjs/{base-DJhwvwdo.js → base-DXysZJF0.js} +12 -12
- package/dist/cjs/{base-4xLnw9ep.js → base-lY3OV-WH.js} +14 -14
- package/dist/cjs/{base-web-component-nGb9E-GX.js → base-web-component-CB32nH5g.js} +16 -16
- package/dist/cjs/{base-web-component-BgX5i_fc.js → base-web-component-CnTCSVmC.js} +10 -10
- package/dist/cjs/{base-web-component-DSCg1arP.js → base-web-component-vlBTFoc9.js} +2 -2
- package/dist/cjs/{behavior-DhfuU2HF.js → behavior-BonfWPFJ.js} +6 -6
- package/dist/cjs/{behavior-CBwUdaXu.js → behavior-DdUDpqCO.js} +6 -6
- package/dist/cjs/{behavior-S2U8skNd.js → behavior-Dznxy-IT.js} +5 -5
- package/dist/cjs/{bem-registry-CMf1T2kb.js → bem-registry-CGf0w2u7.js} +1 -1
- package/dist/cjs/{bootstrap-C4GRmpTI.js → bootstrap-W0pDCbwR.js} +5 -5
- package/dist/cjs/{color-BWamMCyw.js → color-gGnOnvt7.js} +3 -3
- package/dist/cjs/{component-SeQac11p.js → component-B6wRTFBN.js} +3 -3
- package/dist/cjs/{component-DTC3WbHR.js → component-B7ixbeft.js} +13 -13
- package/dist/cjs/{component-DPCpVWBj.js → component-BaHA5GQ0.js} +8 -8
- package/dist/cjs/{component-CweSM_ze.js → component-BeAWp-m9.js} +5 -5
- package/dist/cjs/{component-BM6eWMuC.js → component-Bnj9veMz.js} +4 -4
- package/dist/cjs/{component-CKc_-O64.js → component-C9dVa2_4.js} +13 -13
- package/dist/cjs/{component-DUvRV4FE.js → component-D680TPaU.js} +8 -8
- package/dist/cjs/{component-t6Upgw7f.js → component-DNRlsQ2M.js} +5 -5
- package/dist/cjs/{component-BGIFlgKu.js → component-WkG3-M2X.js} +6 -6
- package/dist/cjs/{component-names-CyEXMjv9.js → component-names-B-xDXf8U.js} +1 -1
- package/dist/cjs/{component-DSlW2KVw.js → component-vjLswij7.js} +5 -5
- package/dist/cjs/{contrast-CXinV5ii.js → contrast-B6L84xFP.js} +2 -2
- package/dist/cjs/{controller-D4usgPg-.js → controller-BcC7oIkq.js} +2 -2
- package/dist/cjs/{dev.utils-glOxiW4E.js → dev.utils-Bk_hA4qQ.js} +1 -1
- package/dist/cjs/{devtools-VDx5moKY.js → devtools-CJixr1wI.js} +2 -2
- package/dist/cjs/{disabled-CZJO6fbW.js → disabled-BoM7lglH.js} +2 -2
- package/dist/cjs/{element-focus-IBv4yiNw.js → element-focus-BL2fXDD1.js} +1 -1
- package/dist/cjs/{element-interaction-CvCJFwUh.js → element-interaction-CKiHuPu0.js} +2 -2
- package/dist/cjs/{events-fafEzzml.js → events-Ce8f_epW.js} +1 -1
- package/dist/cjs/{field-control-xEw1WZFL.js → field-control-Bn_hd-6N.js} +7 -7
- package/dist/cjs/{group-CMns8Vns.js → group-TVkuA3Dx.js} +5 -5
- package/dist/cjs/{has-closer-Cs7BCj4r.js → has-closer-CKT_frM5.js} +2 -2
- package/dist/cjs/{href-C93ktLo4.js → href-yo_BPSR1.js} +2 -2
- package/dist/cjs/{i18n-DXYL9rIn.js → i18n-DOGd0sdR.js} +6 -6
- package/dist/cjs/{i18n-YdI7_XKo.js → i18n-DdWdytnt.js} +2 -2
- package/dist/cjs/{id-CtES_I0D.js → id-C7_ak25l.js} +2 -2
- package/dist/cjs/{index-B65pR1Ir.js → index-DLwNpyJ5.js} +25 -92
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-container-BErSDYvG.js → input-container-CvDde8uk.js} +6 -6
- package/dist/cjs/{input-Bi8Zo8Bv.js → input-uZRNVUsq.js} +4 -4
- package/dist/cjs/{item-BHQRF4Sp.js → item-D23h7gmK.js} +9 -9
- package/dist/cjs/{item-N9AmF46D.js → item-D5hmTqf_.js} +15 -15
- package/dist/cjs/{item-BVHbqXo2.js → item-DimqWDZ7.js} +23 -23
- package/dist/cjs/{item-BLhkAIub.js → item-FYvfrXLj.js} +9 -9
- package/dist/cjs/{item-pool-ecjkEvCG.js → item-pool-BJcplkbh.js} +1 -1
- package/dist/cjs/{keyboard-DHPlsLs0.js → keyboard-21hAUDzL.js} +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +7 -7
- package/dist/cjs/kol-accordion.cjs.entry.js +19 -19
- package/dist/cjs/kol-alert.cjs.entry.js +30 -30
- package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
- package/dist/cjs/kol-badge.cjs.entry.js +29 -29
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +34 -34
- package/dist/cjs/kol-button-link.cjs.entry.js +32 -32
- package/dist/cjs/kol-button.cjs.entry.js +32 -32
- package/dist/cjs/kol-card.cjs.entry.js +59 -98
- package/dist/cjs/kol-combobox.cjs.entry.js +84 -84
- package/dist/cjs/kol-details.cjs.entry.js +19 -19
- package/dist/cjs/kol-dialog.cjs.entry.js +36 -36
- package/dist/cjs/kol-drawer.cjs.entry.js +35 -35
- package/dist/cjs/kol-form.cjs.entry.js +29 -29
- package/dist/cjs/kol-heading.cjs.entry.js +14 -14
- package/dist/cjs/kol-icon.cjs.entry.js +11 -11
- package/dist/cjs/kol-image.cjs.entry.js +20 -20
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +77 -77
- package/dist/cjs/kol-input-color.cjs.entry.js +64 -64
- package/dist/cjs/kol-input-date.cjs.entry.js +76 -76
- package/dist/cjs/kol-input-email.cjs.entry.js +82 -82
- package/dist/cjs/kol-input-file.cjs.entry.js +58 -58
- package/dist/cjs/kol-input-number.cjs.entry.js +78 -78
- package/dist/cjs/kol-input-password.cjs.entry.js +79 -79
- package/dist/cjs/kol-input-radio.cjs.entry.js +60 -60
- package/dist/cjs/kol-input-range.cjs.entry.js +65 -65
- package/dist/cjs/kol-input-text.cjs.entry.js +94 -94
- package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
- package/dist/cjs/kol-link-button.cjs.entry.js +39 -39
- package/dist/cjs/kol-link.cjs.entry.js +38 -38
- package/dist/cjs/kol-meter.cjs.entry.js +19 -25
- package/dist/cjs/kol-modal.cjs.entry.js +36 -36
- package/dist/cjs/kol-nav.cjs.entry.js +41 -41
- package/dist/cjs/kol-pagination.cjs.entry.js +65 -65
- package/dist/cjs/kol-popover-button.cjs.entry.js +65 -100
- package/dist/cjs/kol-progress.cjs.entry.js +18 -21
- package/dist/cjs/kol-quote.cjs.entry.js +12 -12
- package/dist/cjs/kol-select.cjs.entry.js +71 -71
- package/dist/cjs/kol-single-select.cjs.entry.js +85 -85
- package/dist/cjs/kol-skip-nav.cjs.entry.js +34 -34
- package/dist/cjs/kol-spin.cjs.entry.js +23 -23
- package/dist/cjs/kol-split-button.cjs.entry.js +36 -36
- package/dist/cjs/kol-table-stateful.cjs.entry.js +132 -104
- package/dist/cjs/kol-table-stateless.cjs.entry.js +57 -57
- package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
- package/dist/cjs/kol-textarea.cjs.entry.js +77 -77
- package/dist/cjs/kol-toast-container.cjs.entry.js +20 -20
- package/dist/cjs/kol-toolbar.cjs.entry.js +48 -48
- package/dist/cjs/kol-tree-item.cjs.entry.js +34 -34
- package/dist/cjs/kol-tree.cjs.entry.js +11 -11
- package/dist/cjs/kol-version.cjs.entry.js +22 -22
- package/dist/cjs/kolibri.cjs.js +5 -5
- package/dist/cjs/{label-0j3-2J3C.js → label-CCqNq5tW.js} +4 -4
- package/dist/cjs/{label-hints-DEiM49uy.js → label-hints-qecpxRCt.js} +2 -2
- package/dist/cjs/{label-lang-segment-BBCLeyBy.js → label-lang-segment-BGLGUvz3.js} +3 -3
- package/dist/cjs/{label-with-expert-slot-D0wokf7-.js → label-with-expert-slot-VcIxokIa.js} +4 -4
- package/dist/cjs/{level-xVivGv7t.js → level-CVJUatGG.js} +2 -2
- package/dist/cjs/{link-target-D9qpCovV.js → link-target-BchnvpO8.js} +2 -2
- package/dist/cjs/{links-DlW9up_d.js → links-B1TspXWw.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{multiple-DO-asa_4.js → multiple-DO-7DpoM.js} +2 -2
- package/dist/cjs/{number-value-BUKMKQvN.js → number-value-C4kXarZR.js} +3 -3
- package/dist/cjs/{open-BVqlpoxd.js → open-Cmz8IDwx.js} +2 -2
- package/dist/cjs/{open-items-cache-DuXVixiW.js → open-items-cache-C162W-_D.js} +1 -1
- package/dist/cjs/{options-Dg3zz7Wo.js → options-B5TaPd9X.js} +1 -1
- package/dist/cjs/{options-vneqbPL0.js → options-CYbRA9bk.js} +2 -2
- package/dist/cjs/{orientation-DL6G4K4r.js → orientation-qw5D2TnY.js} +2 -2
- package/dist/cjs/{placeholder-C-ecB96f.js → placeholder-BKqOq75d.js} +2 -2
- package/dist/cjs/{props-from-config-Bm6Pf2tK.js → props-from-config-utp9cExR.js} +55 -60
- package/dist/cjs/{read-only-D__auxXg.js → read-only-BA_w8-u1.js} +2 -2
- package/dist/cjs/{required-DqW-WueJ.js → required-CxAjKjbz.js} +2 -2
- package/dist/cjs/{resolve-props-CjhxUwj-.js → resolve-props--Nci0LhR.js} +9 -9
- package/dist/cjs/{resolve-props-DKYD6i56.js → resolve-props-Dj6sEqG7.js} +7 -7
- package/dist/cjs/{rows-Z8UDqY9u.js → rows-DIswNtTH.js} +2 -2
- package/dist/cjs/{scroll-lock-DgqKifg3.js → scroll-lock-DCG-yvr9.js} +3 -3
- package/dist/cjs/{shared-state-C2e8sL5f.js → shared-state-DgRutURI.js} +1 -1
- package/dist/cjs/{smart-button-C_S63qaB.js → smart-button-DseYlks-.js} +2 -2
- package/dist/cjs/{spell-check-CT0WE9tq.js → spell-check-dk8U8oOc.js} +2 -2
- package/dist/cjs/{src-Bwu1rJi2.js → src-CtFQUaCM.js} +2 -2
- package/dist/cjs/{step-W8T4AA1l.js → step-CvPxSo00.js} +2 -2
- package/dist/cjs/{suggestions-C-tM7INY.js → suggestions-DUxsRVmB.js} +2 -2
- package/dist/cjs/{suggestions-DvPhi4lP.js → suggestions-DgLZZdei.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{theme-store-CHGfvYB-.js → theme-store-CLf_JZmz.js} +2 -2
- package/dist/cjs/{toggle-handler-DHEfrMM0.js → toggle-handler-B-_ojZ0I.js} +10 -10
- package/dist/cjs/{tooltip-open-tracking-DaQFzT-b.js → tooltip-open-tracking-CewIRZOe.js} +2 -2
- package/dist/cjs/{unique-nav-labels-CpJcPNBO.js → unique-nav-labels-CFCBdBmd.js} +2 -2
- package/dist/cjs/{unit-CNVBdvOH.js → unit-DexLlB8H.js} +2 -2
- package/dist/cjs/{validators-BM9XrnzJ.js → validators-CxXwm4f6.js} +2 -2
- package/dist/cjs/{value-string-DXRes-dR.js → value-string-Ct7kzFWf.js} +2 -2
- package/dist/cjs/{width-BAwXHART.js → width-BXrduM1f.js} +2 -2
- package/dist/collection/components/abbr/component.js +1 -1
- package/dist/collection/components/accordion/component.js +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/component.js +3 -3
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/avatar/component.js +4 -7
- package/dist/collection/components/badge/component.js +4 -4
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/component.js +3 -3
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/component.js +3 -3
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/component.js +3 -3
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/component.js +53 -18
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/component.js +115 -115
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/component.js +1 -1
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/component.js +5 -5
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/component.js +3 -3
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/component.js +3 -3
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/heading/component.js +4 -4
- package/dist/collection/components/icon/component.js +3 -3
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +39 -39
- package/dist/collection/components/input-checkbox/component.js +110 -110
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +39 -39
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +77 -77
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +86 -86
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +34 -34
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +67 -67
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +87 -87
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/component.js +35 -35
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/component.js +38 -38
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +145 -145
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/kolibri/component.js +1 -1
- package/dist/collection/components/link/base.js +1 -1
- package/dist/collection/components/link/component.js +26 -26
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/component.js +27 -27
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/meter/component.js +6 -12
- package/dist/collection/components/modal/component.js +5 -5
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/component.js +2 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/component.js +85 -85
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +40 -11
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/progress/component.js +5 -8
- package/dist/collection/components/public-api/contract.js +46 -6
- package/dist/collection/components/quote/component.js +5 -5
- package/dist/collection/components/select/component.js +61 -61
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/component.js +134 -134
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/component.js +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/spin/component.js +29 -29
- package/dist/collection/components/spin/style.css +8 -1
- package/dist/collection/components/split-button/component.js +5 -5
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +111 -110
- package/dist/collection/components/table-stateful/style.css +11 -4
- package/dist/collection/components/table-stateless/base.js +7 -1
- package/dist/collection/components/table-stateless/component.js +36 -36
- package/dist/collection/components/table-stateless/style.css +11 -4
- package/dist/collection/components/tabs/component.js +12 -12
- package/dist/collection/components/tabs/style.css +3 -3
- package/dist/collection/components/textarea/component.js +88 -88
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/shadow.js +3 -3
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +33 -33
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tree/component.js +2 -2
- package/dist/collection/components/tree-item/component.js +35 -35
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/component.js +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/global/script.js +1 -1
- package/dist/collection/index.js +1 -1
- 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/counter/api.js +1 -1
- package/dist/collection/internal/functional-components/dialog/item.js +2 -2
- package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
- 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/link/api.js +1 -1
- package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +1 -1
- package/dist/collection/internal/functional-components/link/component.js +1 -1
- package/dist/collection/internal/functional-components/link/item.js +3 -3
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +9 -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/skip-nav/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -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/component.js +6 -3
- package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
- package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
- package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
- package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
- 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/index.js +0 -1
- package/dist/collection/locales/de.js +2 -2
- package/dist/collection/locales/en.js +2 -2
- package/dist/collection/schema/components/index.js +0 -29
- 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-expanded.js +1 -7
- package/dist/collection/schema/props/aria-labelledby.js +6 -4
- 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 +4 -0
- 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/dev.utils.js +1 -2
- 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/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 +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component14.js +1 -1
- 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-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.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-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-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-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/{common.js → prop.validators.js} +1 -1
- 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 +1 -1
- 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-Cynkalqu.js → Heading-foerLIu9.js} +2 -2
- package/dist/esm/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
- package/dist/esm/{api-B76-Osk1.js → api-Ba9FNPRn.js} +27 -27
- package/dist/esm/{app-globals-Dtu1AIr1.js → app-globals-CqYpXngl.js} +3 -3
- package/dist/esm/{ariaCurrentService-B9TgWLEw.js → aria-current-service-4eUMzpeO.js} +2 -2
- package/dist/esm/{aria-labelledby-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
- package/dist/esm/{base-BpgzOuy3.js → base-AKIr0rpk.js} +12 -12
- package/dist/esm/{base-CAiOx0qs.js → base-C7nTPc7u.js} +70 -36
- package/dist/esm/{base-BZCFxul4.js → base-CpUNedp9.js} +13 -13
- package/dist/esm/{base-DJ3lTPYp.js → base-D7qItqyf.js} +14 -14
- package/dist/esm/{base-web-component-D16FuHFf.js → base-web-component-B3wi5eWH.js} +2 -2
- package/dist/esm/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +16 -16
- package/dist/esm/{base-web-component-aOhHFXxF.js → base-web-component-DorOeD_U.js} +10 -10
- package/dist/esm/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +5 -5
- package/dist/esm/{behavior-DJQFXyfi.js → behavior-DDo87iUM.js} +6 -6
- package/dist/esm/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +6 -6
- package/dist/esm/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
- package/dist/esm/{bootstrap-DUmk0ILT.js → bootstrap-Cz7Iq2I2.js} +5 -5
- package/dist/esm/{color-CEoIhjJR.js → color-CnVBqZd5.js} +3 -3
- package/dist/esm/{component-BPL1Mikq.js → component-0npqUhj2.js} +5 -5
- package/dist/esm/{component-CAEpgoSo.js → component-BCKsZOoB.js} +5 -5
- package/dist/esm/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +3 -3
- package/dist/esm/{component-DTV1Kuf1.js → component-CjdTbGlP.js} +4 -4
- package/dist/esm/{component-C58IwTEf.js → component-Cn693XeT.js} +13 -13
- package/dist/esm/{component-C0ijstyp.js → component-Cvd5HXbX.js} +8 -8
- package/dist/esm/{component-DeFANBua.js → component-CvdxCpjC.js} +5 -5
- package/dist/esm/{component-CiTw4ODP.js → component-DFhRTaqb.js} +6 -6
- package/dist/esm/{component-XbTjo2nm.js → component-DP_p5few.js} +8 -8
- package/dist/esm/{component-S6ib3O8N.js → component-DlROeCCe.js} +13 -13
- package/dist/esm/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
- package/dist/esm/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +2 -2
- package/dist/esm/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +2 -2
- package/dist/esm/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
- package/dist/esm/{devtools-CosbyboJ.js → devtools-B6h2bVMJ.js} +2 -2
- package/dist/esm/{disabled-Cu0e92-b.js → disabled-BZIZZ6wy.js} +2 -2
- package/dist/esm/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
- package/dist/esm/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +2 -2
- package/dist/esm/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
- package/dist/esm/{field-control-DbmtKHc1.js → field-control-QF0yTcyb.js} +7 -7
- package/dist/esm/{group-CqAFhkgE.js → group-8Me6YSO8.js} +5 -5
- package/dist/esm/{has-closer-DOs1CXhp.js → has-closer-B-uYNNCw.js} +2 -2
- package/dist/esm/{href-DQbHtp6T.js → href-DKPJq0Rh.js} +2 -2
- package/dist/esm/{i18n-Bcb0tuyF.js → i18n-TlIXBsgS.js} +6 -6
- package/dist/esm/{i18n-Cf0DhAke.js → i18n-Uze_l4Ts.js} +2 -2
- package/dist/esm/{id-BXwy9iRy.js → id-CkUYl2hO.js} +2 -2
- package/dist/esm/{index-Bsx5X6jK.js → index-D1fZ9xFt.js} +24 -92
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-RvLnUp6C.js → input-DwlolkOG.js} +4 -4
- package/dist/esm/{input-container-BpG3WHug.js → input-container-DC3x4oGg.js} +6 -6
- package/dist/esm/{item-DMttg5uX.js → item-DThxrTZc.js} +23 -23
- package/dist/esm/{item-KqTsA-5a.js → item-cArH2C6l.js} +9 -9
- package/dist/esm/{item-pool-C_4Isquh.js → item-pool-D4qvvY-S.js} +1 -1
- package/dist/esm/{item-Cw_jdgc6.js → item-uC3h4pj3.js} +15 -15
- package/dist/esm/{item-DibV9jD7.js → item-zPmzbSvE.js} +9 -9
- package/dist/esm/{keyboard-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
- package/dist/esm/kol-abbr.entry.js +7 -7
- package/dist/esm/kol-accordion.entry.js +19 -19
- package/dist/esm/kol-alert.entry.js +30 -30
- package/dist/esm/kol-avatar.entry.js +17 -20
- package/dist/esm/kol-badge.entry.js +29 -29
- package/dist/esm/kol-breadcrumb.entry.js +34 -34
- package/dist/esm/kol-button-link.entry.js +32 -32
- package/dist/esm/kol-button.entry.js +32 -32
- package/dist/esm/kol-card.entry.js +59 -98
- package/dist/esm/kol-combobox.entry.js +84 -84
- package/dist/esm/kol-details.entry.js +19 -19
- package/dist/esm/kol-dialog.entry.js +36 -36
- package/dist/esm/kol-drawer.entry.js +35 -35
- package/dist/esm/kol-form.entry.js +29 -29
- package/dist/esm/kol-heading.entry.js +14 -14
- package/dist/esm/kol-icon.entry.js +11 -11
- package/dist/esm/kol-image.entry.js +20 -20
- package/dist/esm/kol-input-checkbox.entry.js +77 -77
- package/dist/esm/kol-input-color.entry.js +64 -64
- package/dist/esm/kol-input-date.entry.js +76 -76
- package/dist/esm/kol-input-email.entry.js +82 -82
- package/dist/esm/kol-input-file.entry.js +58 -58
- package/dist/esm/kol-input-number.entry.js +78 -78
- package/dist/esm/kol-input-password.entry.js +79 -79
- package/dist/esm/kol-input-radio.entry.js +60 -60
- package/dist/esm/kol-input-range.entry.js +65 -65
- package/dist/esm/kol-input-text.entry.js +94 -94
- package/dist/esm/kol-kolibri.entry.js +8 -8
- package/dist/esm/kol-link-button.entry.js +39 -39
- package/dist/esm/kol-link.entry.js +38 -38
- package/dist/esm/kol-meter.entry.js +19 -25
- package/dist/esm/kol-modal.entry.js +36 -36
- package/dist/esm/kol-nav.entry.js +41 -41
- package/dist/esm/kol-pagination.entry.js +65 -65
- package/dist/esm/kol-popover-button.entry.js +65 -100
- package/dist/esm/kol-progress.entry.js +18 -21
- package/dist/esm/kol-quote.entry.js +12 -12
- package/dist/esm/kol-select.entry.js +71 -71
- package/dist/esm/kol-single-select.entry.js +85 -85
- package/dist/esm/kol-skip-nav.entry.js +34 -34
- package/dist/esm/kol-spin.entry.js +23 -23
- package/dist/esm/kol-split-button.entry.js +36 -36
- package/dist/esm/kol-table-stateful.entry.js +132 -104
- package/dist/esm/kol-table-stateless.entry.js +57 -57
- package/dist/esm/kol-tabs.entry.js +36 -36
- package/dist/esm/kol-textarea.entry.js +77 -77
- package/dist/esm/kol-toast-container.entry.js +20 -20
- package/dist/esm/kol-toolbar.entry.js +48 -48
- package/dist/esm/kol-tree-item.entry.js +34 -34
- package/dist/esm/kol-tree.entry.js +11 -11
- package/dist/esm/kol-version.entry.js +22 -22
- package/dist/esm/kolibri.js +6 -6
- package/dist/esm/{label-DEZIsnKw.js → label-G82W4YoW.js} +4 -4
- package/dist/esm/{label-hints-C--ftrg_.js → label-hints-DiRb_zIZ.js} +2 -2
- package/dist/esm/{label-lang-segment-B8ayoizG.js → label-lang-segment-BSVexfSR.js} +3 -3
- package/dist/esm/{label-with-expert-slot-DXi27J4o.js → label-with-expert-slot-C1i0atAL.js} +4 -4
- package/dist/esm/{level-BV6M_zmM.js → level-CWkPM-CS.js} +2 -2
- package/dist/esm/{link-target-C9qzQAQg.js → link-target-B2OC2sZU.js} +2 -2
- package/dist/esm/{links-Dt0OhMXb.js → links-CiNHSAYH.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{multiple-DQdOCIyW.js → multiple-CuU2AuEM.js} +2 -2
- package/dist/esm/{number-value-DtZloH4P.js → number-value-adUq1zr1.js} +2 -2
- package/dist/esm/{open-DaO7wXMr.js → open-DR8Z7RtS.js} +2 -2
- package/dist/esm/{open-items-cache-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
- package/dist/esm/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
- package/dist/esm/{options-C8BsBGBl.js → options-BPwcDIDO.js} +2 -2
- package/dist/esm/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +2 -2
- package/dist/esm/{placeholder-7pbjAn-x.js → placeholder-BTFnryTd.js} +2 -2
- package/dist/esm/{props-from-config-DVxNB2Lx.js → props-from-config-DqFgiUwD.js} +55 -59
- package/dist/esm/{read-only-3XuQIAB8.js → read-only-DRmmHb2G.js} +2 -2
- package/dist/esm/{required-CNgdXJ8H.js → required-D4CdAA4s.js} +2 -2
- package/dist/esm/{resolve-props-DOaJCd7Y.js → resolve-props-BAambGug.js} +9 -9
- package/dist/esm/{resolve-props-B1DQKjTD.js → resolve-props-Dpl38Wpe.js} +7 -7
- package/dist/esm/{rows-DL1whQNh.js → rows-DRKSoawJ.js} +2 -2
- package/dist/esm/{scroll-lock-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +3 -3
- package/dist/esm/{shared-state-sWI1upS8.js → shared-state-Dn94ivRg.js} +1 -1
- package/dist/esm/{smart-button-BdA5-cUG.js → smart-button-BYEk3DzS.js} +2 -2
- package/dist/esm/{spell-check-B7J-eU5K.js → spell-check-DlQ_d2GL.js} +2 -2
- package/dist/esm/{src-C2baLPDp.js → src-Cikg9qhP.js} +2 -2
- package/dist/esm/{step-DmzcVFZB.js → step-C7WPZrUp.js} +2 -2
- package/dist/esm/{suggestions-BJxNFtkL.js → suggestions-CotfxJG1.js} +2 -2
- package/dist/esm/{suggestions-BXp8OhOi.js → suggestions-qW9OdwO3.js} +3 -3
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{theme-store-CEu5d_EK.js → theme-store-DroJsU6S.js} +2 -2
- package/dist/esm/{toggle-handler-D7oFDKvq.js → toggle-handler-BB_SIgS1.js} +10 -10
- package/dist/esm/{tooltip-open-tracking-DXhnfmA2.js → tooltip-open-tracking-CxHWKk8f.js} +2 -2
- package/dist/esm/{unique-nav-labels-BOqpcYk4.js → unique-nav-labels-CQgKoOXd.js} +2 -2
- package/dist/esm/{unit-BFYz7QfA.js → unit-D2lG-lEM.js} +2 -2
- package/dist/esm/{validators-DPSQyOeQ.js → validators-yh10eyXe.js} +2 -2
- package/dist/esm/{value-string-Cmozozek.js → value-string-DwEIOG1f.js} +2 -2
- package/dist/esm/{width-D5-Licpp.js → width-xawzWTVW.js} +2 -2
- package/dist/kolibri/Heading-foerLIu9.js +4 -0
- package/dist/kolibri/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
- 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-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
- package/dist/kolibri/{base-BpgzOuy3.js → base-AKIr0rpk.js} +1 -1
- 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-D16FuHFf.js → base-web-component-B3wi5eWH.js} +1 -1
- package/dist/kolibri/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +1 -1
- package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
- package/dist/kolibri/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +1 -1
- package/dist/kolibri/behavior-DDo87iUM.js +4 -0
- package/dist/kolibri/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +1 -1
- package/dist/kolibri/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
- package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
- package/dist/kolibri/{color-CEoIhjJR.js → color-CnVBqZd5.js} +1 -1
- package/dist/kolibri/component-0npqUhj2.js +4 -0
- package/dist/kolibri/component-BCKsZOoB.js +4 -0
- package/dist/kolibri/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +1 -1
- 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-DeFANBua.js → component-CvdxCpjC.js} +1 -1
- package/dist/kolibri/{component-CiTw4ODP.js → component-DFhRTaqb.js} +1 -1
- package/dist/kolibri/component-DP_p5few.js +4 -0
- package/dist/kolibri/component-DlROeCCe.js +4 -0
- package/dist/kolibri/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
- package/dist/kolibri/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +1 -1
- package/dist/kolibri/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +1 -1
- package/dist/kolibri/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
- package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
- package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
- package/dist/kolibri/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
- package/dist/kolibri/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +1 -1
- package/dist/kolibri/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
- package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
- package/dist/kolibri/{group-CqAFhkgE.js → group-8Me6YSO8.js} +1 -1
- 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-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
- 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-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
- package/dist/kolibri/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
- package/dist/kolibri/options-BPwcDIDO.js +4 -0
- package/dist/kolibri/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +1 -1
- 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-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +1 -1
- 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-BJxNFtkL.js → suggestions-CotfxJG1.js} +1 -1
- 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-D5-Licpp.js → width-xawzWTVW.js} +1 -1
- package/dist/types/components/accordion/component.d.ts +2 -2
- package/dist/types/components/alert/component.d.ts +2 -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 +6 -6
- 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/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 +10 -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 +7 -7
- package/dist/types/components/table-stateless/base.d.ts +2 -0
- package/dist/types/components/table-stateless/component.d.ts +2 -2
- package/dist/types/components/tabs/component.d.ts +3 -3
- 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 +2 -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 +47 -53
- package/dist/types/index.d.ts +1 -1
- 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/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- 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 +1 -1
- 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-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/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/page-size-select.d.ts +1 -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/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 +2 -0
- 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 +1 -1
- 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/index.d.ts +1 -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/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/value-input-date.d.ts +1 -1
- 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 +1 -15
- package/dist/types/schema/components/popover-button.d.ts +3 -6
- package/dist/types/schema/components/tabs.d.ts +3 -21
- package/dist/types/schema/components/textarea.d.ts +0 -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-expanded.d.ts +0 -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 +4 -0
- 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 +3 -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 +2 -2
- 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-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/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 +6 -6
- package/doc/combobox.md +23 -23
- package/doc/input-checkbox.md +2 -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 +28 -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/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +29 -29
- package/package.json +3 -3
- package/vscode-custom-data.json +50 -138
- package/dist/collection/components/card/base.js +0 -79
- package/dist/collection/components/popover-button/base.js +0 -69
- package/dist/collection/schema/components/accordion.js +0 -1
- 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/validators/alignment.js +0 -10
- package/dist/collection/utils/testing/legacy-component.js +0 -16
- package/dist/components/ariaCurrentService.js +0 -4
- package/dist/kolibri/Heading-Cynkalqu.js +0 -4
- package/dist/kolibri/api-B76-Osk1.js +0 -4
- package/dist/kolibri/app-globals-Dtu1AIr1.js +0 -4
- package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +0 -4
- package/dist/kolibri/base-BZCFxul4.js +0 -4
- package/dist/kolibri/base-CAiOx0qs.js +0 -4
- package/dist/kolibri/base-DJ3lTPYp.js +0 -4
- package/dist/kolibri/base-web-component-aOhHFXxF.js +0 -4
- package/dist/kolibri/behavior-DJQFXyfi.js +0 -4
- package/dist/kolibri/bootstrap-DUmk0ILT.js +0 -4
- package/dist/kolibri/component-BPL1Mikq.js +0 -4
- package/dist/kolibri/component-C0ijstyp.js +0 -4
- package/dist/kolibri/component-C58IwTEf.js +0 -4
- package/dist/kolibri/component-CAEpgoSo.js +0 -4
- package/dist/kolibri/component-DTV1Kuf1.js +0 -4
- package/dist/kolibri/component-S6ib3O8N.js +0 -4
- package/dist/kolibri/component-XbTjo2nm.js +0 -4
- package/dist/kolibri/devtools-CosbyboJ.js +0 -4
- package/dist/kolibri/disabled-Cu0e92-b.js +0 -4
- package/dist/kolibri/field-control-DbmtKHc1.js +0 -4
- package/dist/kolibri/has-closer-DOs1CXhp.js +0 -4
- package/dist/kolibri/href-DQbHtp6T.js +0 -4
- package/dist/kolibri/i18n-Bcb0tuyF.js +0 -4
- package/dist/kolibri/i18n-Cf0DhAke.js +0 -4
- package/dist/kolibri/id-BXwy9iRy.js +0 -4
- package/dist/kolibri/index-Bsx5X6jK.js +0 -6
- package/dist/kolibri/input-RvLnUp6C.js +0 -4
- package/dist/kolibri/input-container-BpG3WHug.js +0 -4
- package/dist/kolibri/item-Cw_jdgc6.js +0 -4
- package/dist/kolibri/item-DMttg5uX.js +0 -4
- package/dist/kolibri/item-DibV9jD7.js +0 -4
- package/dist/kolibri/item-KqTsA-5a.js +0 -4
- package/dist/kolibri/item-pool-C_4Isquh.js +0 -4
- package/dist/kolibri/label-DEZIsnKw.js +0 -4
- package/dist/kolibri/label-hints-C--ftrg_.js +0 -4
- package/dist/kolibri/label-lang-segment-B8ayoizG.js +0 -4
- package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +0 -4
- package/dist/kolibri/level-BV6M_zmM.js +0 -4
- package/dist/kolibri/link-target-C9qzQAQg.js +0 -4
- package/dist/kolibri/links-Dt0OhMXb.js +0 -4
- package/dist/kolibri/multiple-DQdOCIyW.js +0 -4
- package/dist/kolibri/number-value-DtZloH4P.js +0 -4
- package/dist/kolibri/open-DaO7wXMr.js +0 -4
- package/dist/kolibri/options-C8BsBGBl.js +0 -4
- package/dist/kolibri/placeholder-7pbjAn-x.js +0 -4
- package/dist/kolibri/props-from-config-DVxNB2Lx.js +0 -4
- package/dist/kolibri/read-only-3XuQIAB8.js +0 -4
- package/dist/kolibri/required-CNgdXJ8H.js +0 -4
- package/dist/kolibri/resolve-props-B1DQKjTD.js +0 -4
- package/dist/kolibri/resolve-props-DOaJCd7Y.js +0 -4
- package/dist/kolibri/rows-DL1whQNh.js +0 -4
- package/dist/kolibri/shared-state-sWI1upS8.js +0 -4
- package/dist/kolibri/smart-button-BdA5-cUG.js +0 -4
- package/dist/kolibri/spell-check-B7J-eU5K.js +0 -4
- package/dist/kolibri/src-C2baLPDp.js +0 -4
- package/dist/kolibri/step-DmzcVFZB.js +0 -4
- package/dist/kolibri/suggestions-BXp8OhOi.js +0 -4
- package/dist/kolibri/theme-store-CEu5d_EK.js +0 -4
- package/dist/kolibri/toggle-handler-D7oFDKvq.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +0 -4
- package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +0 -4
- package/dist/kolibri/unit-BFYz7QfA.js +0 -4
- package/dist/kolibri/validators-DPSQyOeQ.js +0 -4
- package/dist/kolibri/value-string-Cmozozek.js +0 -4
- package/dist/types/components/card/base.d.ts +0 -27
- package/dist/types/components/popover-button/base.d.ts +0 -21
- 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/validators/alignment.d.ts +0 -3
- package/dist/types/utils/testing/legacy-component.d.ts +0 -4
- /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
let stubCount = 0;
|
|
5
|
-
export const createLegacyComponent = (state = {}) => {
|
|
6
|
-
stubCount += 1;
|
|
7
|
-
const LegacyComponentStub = class {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.state = Object.assign({}, state);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(LegacyComponentStub, 'name', { value: `LegacyComponentStub${stubCount}` });
|
|
13
|
-
return new LegacyComponentStub();
|
|
14
|
-
};
|
|
15
|
-
export const getLoggedMessages = (calls) => calls.map(([message]) => String(Array.isArray(message) ? message[0] : message));
|
|
16
|
-
export const getInvalidValueWarnings = (calls, propName) => getLoggedMessages(calls).filter((message) => message.includes(`for '${propName}' is not valid`));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{g as s}from"./shared-state.js";import"./common.js";const o=s("location",(()=>({subscribers:[]}))),t=s=>{o.current=s,o.subscribers.forEach((o=>{o(s)}))},r=(s,t=!0)=>(t&&"string"==typeof o.current&&s(o.current),o.subscribers.push(s),()=>{const t=o.subscribers.indexOf(s);t>=0&&o.subscribers.splice(t,1)});export{r as o,t as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as e}from"./index-Bsx5X6jK.js";import{a as s}from"./tslib.es6-QNbPBOk5.js";import{e as l}from"./props-from-config-DVxNB2Lx.js";const a=1;function o(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const r=(r,n)=>{var{class:c,level:t=a}=r,i=s(r,["class","level"]);const d=o(t);return e(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(a,o)=>{var{class:r}=a,n=s(a,["class"]);return e("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",r)},n),o)},c=(o,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,j=s(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const g=Object.assign({level:i},j);if(!t)return e(r,Object.assign({class:l(d,"kol-headline--single")},g),c);const{class:h}=p,b=s(p,["class"]),k=Object.assign({class:l("kol-heading-group",h)},b);return e("hgroup",Object.assign({},k),e(r,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},g),c),e(n,Object.assign({},u),t))};export{c as K,o as g}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{j as e,x as i,V as t,h as o}from"./index-Bsx5X6jK.js";import{S as s,b as l,s as a}from"./component-DTV1Kuf1.js";import{r}from"./aria-labelledby-DQov9uSv.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as b}from"./props-from-config-DVxNB2Lx.js";import{a as m}from"./tslib.es6-QNbPBOk5.js";import{a as v,c as f,n as y}from"./dev.utils--eVyQ4zr.js";import{K as g,d as j}from"./events-B2UzbUT7.js";import{d as B}from"./disabled-Cu0e92-b.js";import{T as _,k as L,h as T,e as O}from"./component-BPL1Mikq.js";import{l as D}from"./label-with-expert-slot-DXi27J4o.js";import{n as x}from"./component-XbTjo2nm.js";import{B as F}from"./base-web-component-D16FuHFf.js";import{c as K}from"./item-KqTsA-5a.js";import{F as N}from"./behavior-DnTJtQBK.js";import{c as C}from"./item-Cw_jdgc6.js";import{T as k}from"./behavior-DJQFXyfi.js";import{t as P}from"./i18n-Cf0DhAke.js";import{b as w}from"./bem-registry-CK2s_XZ4.js";import{P as A}from"./component-CiTw4ODP.js";import{A as H}from"./component-C0ijstyp.js";function M(e,i){return Boolean(e)&&!0===i}function I(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=n("ariaDetails","",d),q=n("hideMsg",!1,h),E=n("hint","",d),z=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),Q=c(),V=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),X=n("touched",!1,h),$=e=>{var{id:i,class:t,hint:s,baseClassName:l="kol-form-field"}=e,a=m(e,["id","class","hint","baseClassName"]);return s?o("span",Object.assign({class:p(`${l}__hint`,t),id:v(i||"","hint")},a),s):null},J=e=>{var{component:i="label",id:t,baseClassName:a="kol-form-field",class:r,accessKey:n,shortKey:d,label:h,hideLabel:c,hasExpertSlot:u,omitId:b,showBadge:f=!0,readOnly:y,infoPopover:g}=e,j=m(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const B=!u&&c,_=!1===f?void 0:l(n,d);return o(i,Object.assign({},j,{class:p(`${a}__label`,r),id:B||b?void 0:v(t,"label"),hidden:B,htmlFor:"legend"===i?void 0:t}),o(s,{class:`${a}__label-text`,label:u?"":null!=h?h:"",badgeText:_},o("slot",{name:"expert"})),!u&&y&&o("span",{class:`${a}__label__read-only`,"aria-hidden":"true"},"(",P("kol-readonly"),")"),!u&&g&&o("span",null,o(A,Object.assign({},g.popoverButton),o("div",{class:"kol-popover-button__popover--styled"},g.content))))},U=i=>{var t,s,{alert:l,hideMsg:a,msg:r,id:n,class:d}=i,h=m(i,["alert","hideMsg","msg","id","class"]);const c=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return o(H,Object.assign({alert:!a&&(null!==(t=null==c?void 0:c._alert)&&void 0!==t?t:!0===l),class:p("kol-form-field__msg",a&&"visually-hidden",d),closerAriaDescriptionId:y(),handleCloserClick:()=>{},hasCloser:!1,headingId:f("alert-heading"),id:v(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},R=w.forBlock("kol-form-field"),Z=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!a(i)&&!0===e,G=e=>{const i=I(e);return{[i]:!0,[`msg-type-${i}`]:!0}},W=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:s,renderNoHint:r,id:n,required:d,alert:h,disabled:c,class:b,msg:f,hideMsg:y,hideLabel:g,label:j,infoPopover:B,hint:T,accessKey:O,shortKey:D,counter:x,readOnly:F,touched:K,maxLength:N,ariaDescribedBy:C,showBadge:k,tooltipAlign:w,variant:A,component:H="div",orientation:I,refInput:S,refTooltip:q}=e,E=m(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),z=a(j),Q=M(f,K),V=l(O,D),X=Z({hideLabel:g,label:j,renderNoTooltip:s}),W="fieldset"===H;return o(u,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(K),"hide-label":Boolean(g),"read-only":Boolean(F),"hidden-msg":Boolean(y)},Q?G(f):{}),class:p(A&&L(A,"form-field"),b),disabled:!(!W||!c)||void 0,"aria-describedby":C},E),!t&&o(J,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:n,hasExpertSlot:z,hideLabel:g,label:j,accessKey:O,shortKey:D,readOnly:F,showBadge:k,infoPopover:B}),o("div",{class:R("input",{"orientation-horizontal":"horizontal"===I,"orientation-vertical":"vertical"===I}),ref:S},i,X&&o("div",{class:R("tooltip")},o(_,{badgeText:V||"",label:j,align:w,id:v(n,"label"),refFloating:q}))),x&&!("soft"===x.maxLengthBehavior&&"number"!=typeof x.maxLength)&&o("div",{class:R("counter")},o("span",{"aria-hidden":"true",class:R("counter"),ref:x.visualRef}),o("span",{"aria-live":"polite",class:"visually-hidden",id:v(n,"counter"),ref:x.ariaRef})),Q&&o(U,{id:n,alert:h,hideMsg:y,msg:f}),!r&&o($,{id:n,hint:T}),"number"==typeof N&&!x&&o("span",{id:v(n,"character-limit-hint"),class:"visually-hidden"},P("kol-character-limit-hint",{placeholders:{limit:String(N)}})))};class Y extends F{constructor(){super(...arguments),this.tooltipBehavior=new k(F.stateLess),this.smartButton=K((()=>this.host)),this.infoPopover=C({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(g.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(g.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(g.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new N(F.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=m(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){S.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=r(this.host,this.shared.getRenderProp("ariaDetails")),a=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==a?void 0:a.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){B.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){T.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){z.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){D.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){V.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){x.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){Q.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){O.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){X.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&j(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(g.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),a="error"===I(i)&&l&&!0===o,r="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(v(e,"msg")),r&&n.push(v(e,"hint")),{hasError:a,hasHint:r,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return Z({hideLabel:e.getRenderProp("hideLabel"),label:b(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:a,readOnly:r,renderNoLabel:n,renderNoTooltip:d,required:h}){const c=this.shared,p=c.getState("id"),u=c.getRenderProp("label"),b=c.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(b),this.tooltipBehavior.watchBadgeText(l(i,t)||""),this.tooltipBehavior.watchId(v(p,"label")),this.tooltipBehavior.watchLabel(u)):this.tooltipBehavior.destroy(),{id:p,disabled:c.getRenderProp("disabled"),msg:c.getRenderProp("msg"),hint:c.getRenderProp("hint"),label:u,hideLabel:c.getRenderProp("hideLabel"),hideMsg:c.getRenderProp("hideMsg"),touched:c.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:h,readOnly:r,accessKey:i,shortKey:t,maxLength:a,counter:s,variant:o,class:e,tooltipAlign:b,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:n,renderNoTooltip:d,refInput:d?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?b(t):void 0}}const ie={required:[D],optional:[S,B,T,q,E,z,Q,V,x,O,X]};export{Y as B,W as F,$ as a,J as b,ee as c,ie as f,I as g,M as i}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{L as o,a as t,d as s,w as e}from"./index-Bsx5X6jK.js";import{s as a}from"./theme-store-CEu5d_EK.js";const r=(()=>{a(),t((o=>{try{o.shadowRoot instanceof ShadowRoot&&s(o,e(o))}catch(o){}return"default"})),import("./devtools-CosbyboJ.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}))})||(()=>{});export{r as g}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{g as s}from"./shared-state-sWI1upS8.js";import"./index-Bsx5X6jK.js";const o=s("location",(()=>({subscribers:[]}))),t=s=>{o.current=s,o.subscribers.forEach((o=>{o(s)}))},r=(s,t=!0)=>(t&&"string"==typeof o.current&&s(o.current),o.subscribers.push(s),()=>{const t=o.subscribers.indexOf(s);t>=0&&o.subscribers.splice(t,1)});export{r as o,t as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i,h as s}from"./index-Bsx5X6jK.js";import{B as t}from"./base-web-component-D16FuHFf.js";import{l as a,a as r,c as e,d as o,b as h,L as n}from"./component-S6ib3O8N.js";import{T as l}from"./behavior-DJQFXyfi.js";import{a as p,b as d,c,f as b,g as y,h as f,s as m,i as u,l as C,d as x,t as g,e as L,v as j}from"./component-BPL1Mikq.js";import{d as A}from"./disabled-Cu0e92-b.js";import{h as v}from"./href-DQbHtp6T.js";import"./props-from-config-DVxNB2Lx.js";import{l as D}from"./label-with-expert-slot-DXi27J4o.js";import{l as w}from"./link-target-C9qzQAQg.js";import{c as I}from"./element-interaction-C2pgnQ6t.js";import{d as T,K}from"./events-B2UzbUT7.js";import{o as B}from"./ariaCurrentService-B9TgWLEw.js";class k extends t{constructor(){super(...arguments),this.ctaRef=I((()=>!0===this.getRenderProp("disabled"))),this.tooltipBehavior=new l(this.stateAccess),this.propsConfig=a,this.handleAnchorClick=s=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp("disabled"))return void s.preventDefault();const t=this.getRenderProp("href"),a=this.getRenderProp("on");"function"==typeof(null==a?void 0:a.onClick)&&(i(s,this.ctaRef.el),a.onClick(s,t)),this.host&&T(this.host,K.click,t)},this.setAnchorRef=i=>{this.ctaRef(i)}}unsetLinkTabIndex(){this.unsetRenderProp("tabIndex")}initLinkBehaviors(){this.unsubscribeOnLocationChange=B((i=>{const s=this.getRenderProp("href"),t=this.getRenderProp("ariaCurrentValue"),a=i===s?t:"";this.getState("ariaCurrent")!==a&&this.setState("ariaCurrent",a)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){const i=this.getRenderProp("label");if("string"==typeof i&&i.length>0)return i;const s=this.getRenderProp("href");return"string"==typeof s?s:""}applyAccessKey(i){p.apply(i,(i=>this.setRenderProp("accessKey",i)))}applyAriaControls(i){d.apply(i,(i=>this.setRenderProp("ariaControls",i)))}applyAriaCurrentValue(i){r.apply(i,(i=>this.setRenderProp("ariaCurrentValue",i)))}applyAriaDescription(i){c.apply(i,(i=>this.setRenderProp("ariaDescription",i)))}applyAriaExpanded(i){b.apply(i,(i=>this.setRenderProp("ariaExpanded",i)))}applyAriaOwns(i){e.apply(i,(i=>this.setRenderProp("ariaOwns",i)))}applyCustomClass(i){y.apply(i,(i=>this.setRenderProp("customClass",i)))}applyDisabled(i){A.apply(i,(i=>this.setRenderProp("disabled",i)))}applyDownload(i){o.apply(i,(i=>this.setRenderProp("download",i)))}applyHideLabel(i){f.apply(i,(i=>this.setRenderProp("hideLabel",i)))}applyHref(i){v.apply(i,(i=>this.setRenderProp("href",i)),this.isRequired("href"))}applyIcons(i){m.apply(i,(i=>this.setRenderProp("icons",i)))}applyInline(i){u.apply(i,(i=>this.setRenderProp("inline",i)))}applyLabel(i){D.apply(i,(s=>{this.setRenderProp("label",s),this.setState("expertSlot",""===i),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired("label"))}applyOn(i){h.apply(i,(i=>this.setRenderProp("on",i)))}applyRole(i){C.apply(i,(i=>this.setRenderProp("role",i)))}applyShortKey(i){x.apply(i,(i=>this.setRenderProp("shortKey",i)))}applyTabIndex(i){"number"==typeof i?g.apply(i,(i=>this.setRenderProp("tabIndex",i))):this.unsetRenderProp("tabIndex")}applyTarget(i){w.apply(i,(i=>this.setRenderProp("target",i)))}applyTooltipAlign(i){L.apply(i,(i=>{this.setRenderProp("tooltipAlign",i),this.tooltipBehavior.watchAlign(i)}))}applyVariant(i){j.apply(i,(i=>this.setRenderProp("variant",i)))}renderLinkFC(){return s(n,{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaCurrent:this.getState("ariaCurrent"),ariaCurrentValue:this.getRenderProp("ariaCurrentValue"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaOwns:this.getRenderProp("ariaOwns"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),download:this.getRenderProp("download"),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp("hideLabel"),href:this.getRenderProp("href"),icons:this.getRenderProp("icons"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),on:this.getRenderProp("on"),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),target:this.getRenderProp("target"),tooltipAlign:this.getRenderProp("tooltipAlign"),variant:this.getRenderProp("variant"),expertSlot:this.getState("expertSlot")})}}export{k as B}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as t,j as e,h as o,F as l,L as i,Y as s}from"./index-Bsx5X6jK.js";import{r as n}from"./aria-labelledby-DQov9uSv.js";import{B as a}from"./base-web-component-D16FuHFf.js";import{c as r}from"./item-KqTsA-5a.js";import{c}from"./item-pool-C_4Isquh.js";import{c as d}from"./item-DibV9jD7.js";import{c as h,f as u,n as b,a as v,r as p,t as f,B as m,v as y}from"./props-from-config-DVxNB2Lx.js";import{l as g}from"./label-lang-segment-B8ayoizG.js";import{v as k,k as j,T as C}from"./component-BPL1Mikq.js";import{t as S}from"./i18n-Cf0DhAke.js";import{b as w}from"./bem-registry-CK2s_XZ4.js";import{B as _}from"./component-XbTjo2nm.js";import{I as x}from"./component-CDyoNoJe.js";import{L as O}from"./component-S6ib3O8N.js";import{r as $}from"./component-DTV1Kuf1.js";import{S as D}from"./component-DeFANBua.js";import{a as F}from"./tslib.es6-QNbPBOk5.js";import{n as L,c as T}from"./dev.utils--eVyQ4zr.js";import{d as z,K as B}from"./events-B2UzbUT7.js";import{A}from"./component-C0ijstyp.js";import{l as I}from"./level-BV6M_zmM.js";import{c as M}from"./element-interaction-C2pgnQ6t.js";import{u as E,l as K,D as H}from"./scroll-lock-CF_Z7MzO.js";import{h as N}from"./tooltip-open-tracking-DXhnfmA2.js";import{d as P,w as V}from"./width-D5-Licpp.js";import{r as Q,C as X}from"./component-C58IwTEf.js";import{T as q}from"./behavior-DJQFXyfi.js";import{C as R}from"./keyboard-Cc1-_wSt.js";const W=(e,o,l)=>{const i=t=>"string"==typeof t||void 0===t;return t(e,"_ariaLabelledby",i,new Set(["string"]),l),i(l)?n(o,l):[]},U=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,J=h("fixedCols",[0,0],(t=>u(t)),(t=>2===t.length&&t.every(U))),Z=h("hasSettingsMenu",!1,b),G=v();function Y(t){const o="string"==typeof t?e(t):t;if(Array.isArray(o))return o;throw new Error("Invalid table data: expected an array of row objects.")}function tt(t){return t.every((t=>"object"==typeof t&&null!==t))}const et=h("data",[],Y,tt),ot=h("dataFoot",[],Y,tt),lt=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),it=h("headers",{horizontal:[],vertical:[]},(function(t){const o="string"==typeof t?e(t):t;if("object"!=typeof o||null===o)throw new Error("Invalid table headers: expected an object.");const{horizontal:l=[],vertical:i=[]}=o;if(!lt(l)||!lt(i))throw new Error("Invalid table headers: horizontal and vertical must be arrays of header rows.");return{horizontal:l,vertical:i}}),(function({horizontal:t,vertical:e}){return[...t,...e].every((t=>t.every((t=>void 0===t.width||"number"==typeof t.width))))})),st=h("loading",!1,b),nt=h("selection",!1,(function(t){const o="string"==typeof t?e(t):t;if("object"==typeof o&&null!==o)return o;throw new Error("Invalid table selection: expected an object.")}),(function(t){return!1===t||"function"==typeof t.label&&(!t.selectedKeys||Array.isArray(t.selectedKeys))})),at={required:[g,et,it],optional:[J,Z,G,ot,st,nt,k]},rt=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),ct=t=>{const e=rt(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=rt(t.vertical);return{cells:o,horizontal:0===o.length}},dt=(t,e)=>{let o=0;return Array.isArray(t)&&t.forEach((t=>{var l;o+=null!==(l=t[e])&&void 0!==l?l:1})),o},ht=(t,e)=>{const o=Math.max(0,...t.map((t=>dt(t,"colSpan"))));return 0===o?e.length:o},ut=t=>{var e;return null!==(e=null==t?void 0:t.reduce(((t,e)=>"visible"in e&&!1===e.visible?t:t+(e.colSpan||1)),0))&&void 0!==e?e:0},bt=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},vt=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===bt(o,l,e,a)&&(d[a]=(null!==(i=d[a-1])&&void 0!==i?i:0)+(null!==(n=null===(s=t[a-1])||void 0===s?void 0:s.width)&&void 0!==n?n:0));for(let i=e-1;i>=0;i--)"right"===bt(o,l,e,i)&&(d[i]=(null!==(a=d[i+1])&&void 0!==a?a:0)+(null!==(c=null===(r=t[i+1])||void 0===r?void 0:r.width)&&void 0!==c?c:0));return d},pt=(t,e,o,l)=>{const i=void 0===e?void 0:t[e];return o&&l?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},ft=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=ht(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>dt(t,"rowSpan"))));return 0===l?e.length:l-o})(o.vertical,t,e.length),c=0;l&&(c=r,r+=e.length);const d=[],h=[],u=[];o.vertical.forEach(((t,e)=>{h[e]=0,u[e]=[]}));for(let i=c;i<r;i++){const r=[];o.vertical.forEach(((t,e)=>{let o=0;if(u[e].forEach((t=>o+=t)),o<=i){const l=t[i-o+h[e]];if("object"==typeof l){r.push(Object.assign(Object.assign({},l),{headerCell:!0,data:{}}));let t=1;if("number"==typeof l.rowSpan&&l.rowSpan>1&&(t=l.rowSpan),u[e].push(t),"number"==typeof l.colSpan&&l.colSpan>1)for(let o=1;o<l.colSpan;o++)u[e+o].push(t);h[e]++}}}));for(let o=0;o<n;o++)if(s.horizontal){const s=l?e[i-c]:t[i],n=a[o];"object"==typeof n&&null!==n&&"object"==typeof s&&null!==s&&r.push(Object.assign(Object.assign({},n),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:s,label:s[n.key]}))}else{const e=a[i];"object"==typeof e&&null!==e&&"object"==typeof t[o]&&null!==t[o]&&r.push(Object.assign(Object.assign({},e),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:t[o],label:t[o][e.key]}))}d.push(r)}if(0===t.length){let t=ut(o.horizontal[0]),e=0;o.vertical.length>0&&(t-=o.vertical.length,o.vertical[0].forEach((t=>{e+=t.rowSpan||1})));const l={colSpan:t,label:i,render:void 0,rowSpan:Math.max(e,1)};0===d.length?d.push([l]):d[0].push(l)}return d},mt=({horizontal:t,vertical:e})=>{const o=t.flatMap((t=>t.filter((t=>!1!==t.visible&&void 0!==t.width&&t.width>0)).map((t=>t.width)))),l=[...e.flatMap((t=>t.filter((t=>void 0!==t.width&&t.width>0)).map((t=>t.width)))),...o];return 0===l.length?"0px":1===l.length?`${l[0]}px`:`calc(${l.map((t=>`${t}px`)).join(" + ")})`},yt=t=>void 0===t?[]:Array.isArray(t)?t:[t],gt=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},kt=t=>{const e=t?yt(t.selectedKeys):[];return{disabledKeys:new Set((t?yt(t.disabledKeys):[]).map(String)),keyPropertyName:gt(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},jt=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),Ct=w.forBlock("kol-table"),St=Ct("body"),wt=Ct("cell-actions"),_t=Ct("cell-states"),xt=Ct("footer"),Ot=Ct("head"),$t=Ct("head-row"),Dt=Ct("scroll-container"),Ft=Ct("selection-icon"),Lt=Ct("selection-input-tooltip"),Tt=Ct("sort"),zt=Ct("sort-button"),Bt=Ct("sort-order"),At=Ct("table"),It=`${Ct("focus-element")} ${Ct("caption")}`,Mt="caption",Et=(t,e)=>bt(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Kt=(t,e,o)=>({left:"left"===e?pt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?pt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Ht=(t,e,o)=>{var l,i;return null!==(i=t.primaryHeaders.horizontal&&(null===(l=e[0])||void 0===l?void 0:l.data)?t.rowKeys.get(e[0].data):void 0)&&void 0!==i?i:String(o)},Nt=t=>{const e=S("kol-sort");return"number"==typeof t&&t>0?`${e} – ${S("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Pt=(t,e,l,i,s)=>{if(!1===e.visible)return"";const n=!1!==(null==e?void 0:e.sortable)&&"string"==typeof e.sortDirection;let a="none",r="kolicon-sort-neutral";if(n&&e.sortDirection)switch(e.sortDirection){case"ASC":r="kolicon-sort-asc",a="ascending";break;case"DESC":r="kolicon-sort-desc",a="descending";break;default:a="none"}const c=s?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col",d="number"==typeof e.sortOrder&&e.sortOrder>0?e.sortOrder:void 0,h=void 0!==e.width?`${e.width}px`:void 0,u=Et(t,i),{left:b,right:v}=Kt(t,u,i),p=e.textAlign,f=n?e.sortDirection:void 0;return o("th",{key:`${l}-${i}-${e.label}`,class:Ct("cell",{[a]:!0,"align-center":"center"===p,"align-justify":"justify"===p,"align-left":"left"===p,"align-right":"right"===p,header:!0,"sticky-left":"left"===u,"sticky-right":"right"===u}),scope:c,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:h,left:b,right:v},"aria-sort":a,"data-sort":f?`sort-${f}`:void 0},f?o("span",{class:Tt},o(_,Object.assign({},t.getButtonFcProps(`sort-${s?"vertical":"horizontal"}-${l}-${i}`,{_icons:{right:r},_label:e.label,_ariaDescription:Nt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:zt}))),d&&o("span",{"aria-hidden":"true",class:Bt},d)):e.label)},Vt=(t,e,l,i,s=!1)=>o("tr",{class:Ct("row",{body:!s,footer:s}),key:`row-${Ht(t,e,l)}`},((t,e,l)=>{var i;const{handleSelectionChange:s,selection:n,selectionModel:a}=t;if(!n)return"";const r=null===(i=e[0])||void 0===i?void 0:i.data;if(!r)return"";const c=r[a.keyPropertyName],d=n.multiple||void 0===n.multiple,h=String(c),u=a.selectedKeysSet.has(h),b=a.disabledKeys.has(h),v=n.label(r),p={name:"selection",checked:u,disabled:b,id:String(c),"aria-label":v};return o("td",{key:`tbody-${l}-selection`,class:Ct("cell",{selection:!0})},o("div",{class:Ct("selection",{checked:u})},d?o("label",{class:Ct("selection-label",{disabled:b})},o(x,{class:Ft,icons:"kolicon "+(u?"kolicon-check":""),label:""}),o("input",Object.assign({class:Ct("selection-input",{checkbox:!0})},p,{type:"checkbox",onInput:t=>{const e=u?a.selectedKeys.filter((t=>String(t)!==h)):[...a.selectedKeys,c];s(t,e)}}))):o("label",{class:Ct("selection-label")},o("input",Object.assign({class:Ct("selection-input",{radio:!0})},p,{type:"radio",onInput:t=>{s(t,[c])}}))),o("div",{class:Lt},o(C,{label:v,badgeText:"",id:`${c}-label`,refFloating:()=>{}}))))})(t,e,l),e.map(((e,s)=>((t,e,l,i,s)=>{if(!1===e.visible)return"";let n=`${l}-${i}-${e.label}`;if(e.data){const o=t.rowKeys.get(e.data);n=o?`${o}-${t.primaryHeaders.horizontal?i:l}`:n}if(e.headerCell)return Pt(t,e,l,i,s);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=((t,e,o)=>{if(0!==(e.horizontal?t.horizontal:t.vertical).length)return e.cells[o]})(t.headers,t.primaryHeaders,i),c="action"===(null==r?void 0:r.type)?r:void 0,d=Boolean(c&&e.data),h="state"===(null==r?void 0:r.type)?r:void 0,u=Boolean(h&&e.data),b=Et(t,i),{left:v,right:p}=Kt(t,b,e.colIndex),f="function"==typeof e.render,m=e.textAlign;return o("td",{key:`cell-${n}-${t.settingsChangedCounter}`,class:Ct("cell",{actions:d,"align-center":"center"===m,"align-justify":"justify"===m,"align-left":"left"===m,"align-right":"right"===m,body:!0,states:u,"sticky-left":"left"===b,"sticky-right":"right"===b}),"aria-atomic":a?"false":void 0,"aria-live":a?"polite":void 0,"aria-relevant":a?"text":void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:m,left:v,right:p},ref:f?o=>t.handleRenderCell(e,o):void 0},d&&c&&e.data?((t,e,l,i)=>o("div",{class:wt},e.actions(l).map(((e,l)=>{const s=`action-${i}-${l}`;return"button"===e.type?o("span",{key:s},o(_,Object.assign({},t.getButtonFcProps(s,e)))):"link"===e.type?o("span",{key:s},o(O,Object.assign({},t.getLinkFcProps(s,e)))):null}))))(t,c,e.data,n):u&&h&&e.data?((t,e,l)=>{const i=t.key;if(!i)return"";const s=e[i];return s?o("div",{class:_t},s.map(((t,e)=>"badge"===t.type?o("kol-badge",Object.assign({key:`state-${l}-${e}`},t)):null))):""})(h,e.data,n):f?"":e.label)})(t,e,l,s,i)))),Qt=(t,e,l)=>{const i=t.headers.vertical.length+ut(null==l?void 0:l[0])+(t.selection?1:0);return o("tr",{"aria-hidden":"true",class:Ct("spacer",{[e]:!0})},o("td",{class:Ct("spacer-line",{[e]:!0}),colSpan:i}))},Xt=t=>{const e=p(at,t),{data:i,dataFoot:s,externalLabelElements:n,fixedCols:a,hasScrollbar:r,hasSettingsMenu:c,headers:d,label:h,loading:u,refScrollContainer:b,refTable:v,selection:y,stickyColsDisabled:g,variant:k}=e,w=S("kol-no-entries"),_=ct(d),O=ht(d.horizontal,i),F=Object.assign(Object.assign({},e),{fixedOffsets:vt(_.cells,O,a,g),maxCols:O,primaryHeaders:_,selectionModel:kt(y),translateNoEntries:w}),L=ft({data:i,dataFoot:s,headers:d,isFoot:!1,noEntriesLabel:w,primaryHeaders:_}),T=0===n.length;return o(m,{block:"kol-table",class:j(k,"table")},c&&t.renderSettings(d.horizontal),o("div",{ref:b,class:Dt,tabindex:r?T?"-1":"0":void 0},o("table",{ref:v,"aria-labelledby":T?Mt:void 0,class:At,style:{minWidth:mt(d)}},T&&o("caption",{class:It,id:Mt,ref:t=>{t&&(r?t.tabIndex=0:t.removeAttribute("tabindex"))}},$(h)),o("thead",{class:Ot},[d.horizontal.map(((t,e)=>o("tr",{class:$t,key:`thead-${e}`},y&&(t=>{const{data:e,handleSelectionChange:l,selection:i,selectionModel:s}=t;if(!i)return o("td",{class:Ct("cell",{header:!0}),key:"thead-0"});if(!1===i.multiple)return o("th",{scope:"col",key:"thead-0-selection",class:Ct("cell",{header:!0,selection:!0})},o("span",{class:"visually-hidden"},S("kol-table-selection")));const n=s.selectedKeys.filter((t=>!s.disabledKeys.has(String(t)))).length,a=n===jt(e,s).length,r=0!==n&&!a;let c;return c=S(0===n?"kol-table-selection-all":a&&!r?"kol-table-selection-none":"kol-table-selection-indeterminate"),o("th",{scope:"col",key:"thead-0-selection",class:Ct("cell",{header:!0,selection:!0})},o("span",{class:"visually-hidden"},S("kol-table-selection")),o("div",{class:Ct("selection",{checked:a,indeterminate:r})},o("label",{class:Ct("selection-label")},o(x,{class:Ft,icons:"kolicon "+(r?"kolicon-minus":a?"kolicon-check":""),label:""}),o("input",{class:Ct("selection-input",{checkbox:!0}),name:"selection",checked:a&&!r,indeterminate:r,"aria-label":c,type:"checkbox",onInput:t=>{l(t,((t,e,o)=>{const l=e.selectedKeys.filter((t=>e.disabledKeys.has(String(t))));return o&&l.push(...jt(t,e).map((t=>null==t?void 0:t[e.keyPropertyName]))),l})(e,s,!a))}})),o("div",{class:Lt},o(C,{label:c,badgeText:"",refFloating:()=>{}}))))})(F),0===e&&(({headers:t})=>{const{horizontal:e,vertical:i}=t;if(0===e.length||0===i.length)return o(l,null);const s=i.reduce(((t,e)=>{var o,l;return t+(null!==(l=null===(o=null==e?void 0:e[0])||void 0===o?void 0:o.width)&&void 0!==l?l:0)}),0);return o("td",{"aria-hidden":"true",colSpan:i.length,rowSpan:e.length,style:s>0?{width:`${s}px`}:void 0})})(F),Array.isArray(t)&&t.map(((t,o)=>Pt(F,t,e,o,!1)))))),Qt(F,"head",d.horizontal)]),o("tbody",{class:St},o("div",{class:Ct("loader",{shown:u})},o(D,{label:S(u?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",f(h)),show:u,variant:"cycle"})),L.map(((t,e)=>Vt(F,t,e,!0)))),(t=>{const{dataFoot:e,headers:l,primaryHeaders:i,translateNoEntries:s}=t;if(0===e.length)return null;const n=ft({data:e,dataFoot:e,headers:l,isFoot:!0,noEntriesLabel:s,primaryHeaders:i}),a=ht(l.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:vt(i.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return o("tfoot",{class:xt},[Qt(t,"foot",n),n.map(((t,e)=>Vt(r,t,e,!0,!0)))])})(F))))},qt=({dialog:t,card:e},l)=>o(H,Object.assign({},t),e?o(X,Object.assign({},e),l):l),Rt=w.forBlock("kol-table")("settings"),Wt=w.forBlock("kol-table-settings"),Ut=Wt(),Jt=Wt("actions"),Zt=Wt("columns"),Gt=Wt("content"),Yt=Wt("error-message"),te=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,ee=()=>{},oe=(t,e)=>{const l=S("kol-table-settings"),i=S("kol-table-settings-cancel"),s=S("kol-table-settings-apply"),n=S("kol-table-settings-error-all-invisible");let d,h=!1,u=!1;const b=()=>{h=!0,e()},v=c((()=>r(t)),(t=>t.syncListeners()),(t=>t.destroy())),p=((t,e)=>{const o=M(),l=M(),i=new q(a.stateLess),s=L(),n=T("dialog-heading"),r={};let c,h=!0,u={};const b=t=>!d||z(d,t),v=()=>{var t,e;null===(e=null===(t=o.el)||void 0===t?void 0:t.close)||void 0===e||e.call(t)},p=t=>{var e;N(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||b(B.cancel)||t.preventDefault())},m=t=>{var e;t.target===o.el&&(E(r),null===(e=u.onClose)||void 0===e||e.call(u),b(B.close))},k=()=>{i.hideTooltip(),v(),b(B.close)};return{getFcProps:e=>{var a,r,d;let b="",v=0,j="blank",C="100%";g.apply(e.label,(t=>{b=t})),I.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{v=t})),P.apply(e.on,(t=>{u=t})),y.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{j=t})),V.apply(null!==(d=e.width)&&void 0!==d?d:"100%",(t=>{C=t}));const S="card"===j;return S&&!c&&(c=Q(t()),i.componentWillLoad({label:c.label,align:c.tooltipAlign})),{dialog:{handleCancel:p,handleClose:m,label:f(b),labelledBy:S?n:void 0,modal:h,refDialog:o,variant:j,width:C},card:S&&c?{ariaDescriptionId:s,closeButtonProps:c,handleClose:k,hasCloser:!0,headingId:n,label:b,level:v,refCloseButton:l,refTooltip:i.setTooltipElementRef}:void 0}},show:t=>{var l,i;const s=o.el;(null==s?void 0:s.open)||(h!==t&&(h=t,e()),t?(null===(l=null==s?void 0:s.showModal)||void 0===l||l.call(s),s&&K(r)):null===(i=null==s?void 0:s.show)||void 0===i||i.call(s))},close:v,syncListeners:()=>{l.el&&i.syncListeners(void 0,l.el,!0)},destroy:()=>{v(),E(r),i.destroy()}}})(t,b),m=T("alert-heading"),k=L();let j,C=[],w=[],x=null;const O=()=>{var t;return null!==(t=w[w.length-1])&&void 0!==t?t:[]},$=t=>{w=w.map(((e,o,l)=>o===l.length-1?t:e)),b()},D=(t,e)=>{const o=[...O()],l=o.findIndex((e=>e.key===t));if(-1===l)return;let i;if("up"===e){if(0===l)return;i=l-1}else{if(l===o.length-1)return;i=l+1}const[s]=o.splice(l,1);o.splice(i,0,s),$(o)},H=t=>{if(t.preventDefault(),!O().some((t=>!1!==t.visible)))return x=n,void b();if(d){x=null,C=w.map((t=>t.map((t=>Object.assign({},t))))),b();const t=w.map((t=>t.map((t=>{const e=t,{hidable:o,resizable:l,sortable:i,visible:s,width:n}=e,a=F(e,["hidable","resizable","sortable","visible","width"]),r=Object.assign({},a);return void 0!==s&&(r.visible=s),void 0!==o&&(r.hidable=o),void 0!==i&&(r.sortable=i),void 0!==l&&(r.resizable=l),null!=n&&(r.width=n),r}))));z(d,B.changeHeaderCells,t),p.close()}},X=t=>{t&&(d=t)};return{beginRender:()=>{v.beginRender(),u=h,h=!1},render:t=>{var e;u||t===j||(j=t,C=(e=t).map((t=>[...t])),w=e.map((t=>t.map((t=>Object.assign({},t))))));const n=O();return o("div",{class:Rt,ref:X},o("div",{class:Ut},o(_,Object.assign({},v.get("toggle").getFcProps({_icons:"kolicon-settings",_label:l,_hideLabel:!0,_on:{onClick:()=>p.show(!0)}})))),o(qt,Object.assign({},p.getFcProps({label:l,variant:"card",width:"fit-content"})),o("div",{class:Gt},x&&o("div",{class:Yt},o(A,{alert:!1,closerAriaDescriptionId:k,handleCloserClick:ee,hasCloser:!1,headingId:m,label:x,level:0,refCloserButton:ee,refCloserTooltip:ee,type:"error",variant:"msg"})),o("form",{onSubmit:H},o("div",{class:Zt},n.map(((t,e)=>((t,e,l)=>o("div",{key:t.key,class:"kol-table-settings__column"},o("kol-input-checkbox",{_checked:!1!==t.visible,_label:S(t.hidable?"kol-table-settings-column-hidable":"kol-table-settings-column-not-hidable",{placeholders:{column:t.label}}),_value:!0,_hideLabel:!0,_disabled:!1===t.hidable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=O().map((o=>o.key===t&&!1!==o.hidable?Object.assign(Object.assign({},o),{visible:Boolean(e)}):o));$(o)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),o("span",{class:"kol-table-settings__column-label"},t.label),o("kol-input-number",{_hideLabel:!0,_value:te(t.width),_label:S("kol-table-settings-column-width",{placeholders:{column:t.label}}),_min:1,_disabled:!1===t.resizable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=te(Number(e)),l=O().map((e=>e.key===t&&!1!==e.resizable?Object.assign(Object.assign({},e),{width:o}):e));$(l)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),o(_,Object.assign({},v.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:S(!1===t.sortable||0===e?"kol-table-settings-not-move":"kol-table-settings-move-up",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","up")}},_disabled:!1===t.sortable||0===e}))),o(_,Object.assign({},v.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:S(!1===t.sortable||e===l.length-1?"kol-table-settings-not-move":"kol-table-settings-move-down",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","down")}},_disabled:!1===t.sortable||e===l.length-1})))))(t,e,n)))),o("div",{class:Jt},o(_,Object.assign({},v.get("cancel").getFcProps({_label:i,_variant:"secondary",_on:{onClick:()=>(w=C.map((t=>[...t])),x=null,b(),void p.close())}}))),o(_,Object.assign({},v.get("apply").getFcProps({_label:s,_variant:"primary",_type:"submit"}))))))))},sync:()=>{v.endRender(),p.syncListeners()},destroy:()=>{v.destroy(),p.destroy()}}};class le extends a{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=c((()=>r((()=>this.host))),(t=>t.syncListeners()),(t=>t.destroy())),this.settings=oe((()=>this.host),(()=>s(this))),this.linkItems=c((()=>d((()=>s(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.propsConfig=at,this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(t,e)=>{this.emitSelectionChange(t,e)},this.handleSort=(t,e)=>{this.emitSort(t,e)},this.handleRenderCell=(t,e)=>{e&&(clearTimeout(this.cellRenderTimeouts.get(e)),this.cellRenderTimeouts.set(e,setTimeout((()=>{if(this.cellRenderTimeouts.delete(e),"function"==typeof t.render){const o=t.render(e,t,t.data,this.getRenderProp("data"));"string"==typeof o&&(e.textContent=o)}}))))},this.refScrollContainer=t=>{this.scrollContainerElement=t},this.refTable=t=>{this.tableElement=t,this.syncTableLabel(this.getState("externalLabelElements"))},this.getButtonFcProps=(t,e,o)=>this.buttonItems.get(t).getFcProps(e,o),this.renderSettings=t=>this.settings.render(t),this.getLinkFcProps=(t,e)=>this.linkItems.get(t).getFcProps(e)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.cellRenderTimeouts.forEach((t=>clearTimeout(t))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(t){et.apply(t,(t=>{this.setRenderProp("data",t),this.setState("rowKeys",((t,e)=>new Map(t.map((t=>{var o;return[t,null!==(o=e.get(t))&&void 0!==o?o:L()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){ot.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){J.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){Z.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){it.apply(t,(t=>this.setRenderProp("headers",(t=>0===t.horizontal.length?t:Object.assign(Object.assign({},t),{horizontal:t.horizontal.map((t=>t.map((t=>Object.assign(Object.assign({},t),{visible:"boolean"!=typeof t.visible||t.visible,hidable:"boolean"!=typeof t.hidable||t.hidable})))))}))(t))),this.isRequired("headers"))}applyLabel(t){g.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}applyLoading(t){st.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){G.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){nt.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){k.apply(t,(t=>this.setRenderProp("variant",t)))}syncTableLabel(t){this.tableElement&&"ariaLabelledByElements"in this.tableElement&&((null==t?void 0:t.length)?(this.tableElement.ariaLabelledByElements=t,this.hasExternalTableLabelRefs=!0,i.debug([this.tableElement,t,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute("aria-labelledby",Mt)))}moveCheckboxFocus(t){var e,o,l;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key)return;const i=Array.from(null!==(o=null===(e=this.scrollContainerElement)||void 0===e?void 0:e.querySelectorAll(".kol-table__selection-input--checkbox"))&&void 0!==o?o:[]),s=null===(l=this.scrollContainerElement)||void 0===l?void 0:l.querySelector(":focus");let n=i.indexOf(s);n>-1&&(t.preventDefault(),n=(n+("ArrowDown"===t.key?1:i.length-1))%i.length,i[n].focus())}applyChangedHeaderCells(t){const e=Object.assign(Object.assign({},this.getRenderProp("headers")),{horizontal:t.detail});this.setRenderProp("headers",e),this.setState("settingsChangedCounter",this.getState("settingsChangedCounter")+1);const o=this.getRenderProp("on")[R.onChangeHeaderCells];"function"==typeof o&&o(t,e)}updateScrollbarState(){if(this.scrollContainerElement){const{clientHeight:t,clientWidth:e,scrollHeight:o,scrollWidth:l}=this.scrollContainerElement;this.setState("hasScrollbar",l>e||o>t&&["auto","scroll"].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){var t,e,o,l,i,s;const[n,a]=this.getRenderProp("fixedCols"),r=this.getRenderProp("headers"),c=ct(r).cells,d=ht(r.horizontal,this.getRenderProp("data"));let h=0;for(let o=0;o<n&&o<c.length;o++)h+=null!==(e=null===(t=c[o])||void 0===t?void 0:t.width)&&void 0!==e?e:0;for(let t=d-a;t<d&&t<c.length;t++)h+=null!==(l=null===(o=c[t])||void 0===o?void 0:o.width)&&void 0!==l?l:0;if(this.getRenderProp("selection")){const t=null===(i=this.scrollContainerElement)||void 0===i?void 0:i.querySelector(".kol-table__cell--selection");h+=null!==(s=null==t?void 0:t.offsetWidth)&&void 0!==s?s:0}return h}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState("stickyColsDisabled",!1);const t=this.calculateFixedColsWidth();this.setState("stickyColsDisabled",t>0&&t>=this.scrollContainerElement.clientWidth)}emitSelectionChange(t,e){const o=this.getRenderProp("on")[R.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&z(this.host,B.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[R.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&z(this.host,B.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),o(Xt,{data:this.getRenderProp("data"),dataFoot:this.getRenderProp("dataFoot"),externalLabelElements:this.getState("externalLabelElements"),fixedCols:this.getRenderProp("fixedCols"),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState("hasScrollbar"),hasSettingsMenu:this.getRenderProp("hasSettingsMenu"),headers:this.getRenderProp("headers"),label:this.getRenderProp("label"),loading:this.getRenderProp("loading"),on:this.getRenderProp("on"),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState("rowKeys"),selection:this.getRenderProp("selection"),settingsChangedCounter:this.getState("settingsChangedCounter"),stickyColsDisabled:this.getState("stickyColsDisabled"),variant:this.getRenderProp("variant")})}}export{le as B,ot as a,et as t,W as v}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as s,X as i,h as t}from"./index-Bsx5X6jK.js";import{B as a}from"./base-web-component-D16FuHFf.js";import{b as e,e as o,a as h,n as l,c as n,d as r,B as p}from"./component-XbTjo2nm.js";import{F as d}from"./behavior-DnTJtQBK.js";import{T as c}from"./behavior-DJQFXyfi.js";import{a as m,b as y,c as b,f as u,g as f,h as v,s as x,i as B,l as j,d as C,t as D,e as A,v as I}from"./component-BPL1Mikq.js";import{d as T}from"./disabled-Cu0e92-b.js";import{i as g}from"./id-BXwy9iRy.js";import"./props-from-config-DVxNB2Lx.js";import{l as K}from"./label-with-expert-slot-DXi27J4o.js";import{v as F}from"./access-and-short-key-CW0oxi_q.js";import{c as L}from"./element-interaction-C2pgnQ6t.js";import{d as P,K as S}from"./events-B2UzbUT7.js";import{p as w,a as H}from"./controller-BdPVgWDs.js";class V extends a{constructor(){super(...arguments),this.ctaRef=L(),this.propsConfig=e,this.tooltipBehavior=new c(this.stateAccess),this.handleClick=i=>{i.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)w({form:this.host});else if("reset"===t)H({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(s(i,this.ctaRef.el),t(i,this.formValue))}this.host&&P(this.host,S.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&P(this.host,S.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&P(this.host,S.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&P(this.host,S.blur)}}initFormAssociation(){this.formAssociation=new d(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),F(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){b.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){u.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){o.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){T.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){x.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){g.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){B.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){K.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){l.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){n.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){j.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){C.apply(s,(s=>this.setRenderProp("shortKey",s))),F(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?D.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){A.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){r.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var t;I.apply(null!==(t=null!=s?s:i("buttonVariantDefault",this.host))&&void 0!==t?t:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return t(p,Object.assign({},this.getButtonFCProps()))}}export{V as B}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{C as e,j as s,h as i,F as t}from"./index-Bsx5X6jK.js";import{a as o,d as r,t as a,v as l}from"./component-BPL1Mikq.js";import{h as n,g as d,I as h}from"./input-container-BpG3WHug.js";import{o as c,p,c as u,g as b,e as v}from"./props-from-config-DVxNB2Lx.js";import{m}from"./multiple-DQdOCIyW.js";import{r as y}from"./required-CNgdXJ8H.js";import{r as f}from"./rows-DL1whQNh.js";import{f as O,i as j,g,c as B,B as A,F as K}from"./api-B76-Osk1.js";import{v as w}from"./access-and-short-key-CW0oxi_q.js";import{f as q}from"./options-CKAHQbcF.js";import{a as x}from"./tslib.es6-QNbPBOk5.js";const P=s=>{if("object"==typeof s&&null!==s){if("string"==typeof s.label&&s.label.length>0)return s.disabled=!0===s.disabled,s.label=`${s.label}`.trim(),!1===c(s.label,3)&&!1===p(s.label)&&e(`A differing Aria-Label (${s.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(s.options)||void 0===s.options.find((e=>!1===P(e)));if("number"==typeof s.label)return!0}return!1},k=u("options",[],(function(e){const i="string"==typeof e?s(e):e;if(Array.isArray(i)&&i.every((e=>P(e))))return i;throw new Error("Invalid select options")})),L=u("value",[],(e=>Array.isArray(e)?e:[e])),D={required:[...O.required],optional:[...O.optional,o,n,m,k,y,f,L,r,a,l]},C=b("kol-select"),I=e=>{var{class:s,index:t,selectedValue:o,selected:r,value:a,label:l,disabled:n}=e,d=x(e,["class","index","selectedValue","selected","value","label","disabled"]);const h=void 0===o?[]:Array.isArray(o)?o:[o],c=r||h.includes(a);return i("option",Object.assign({class:v(C("option",{selected:Boolean(c),disabled:Boolean(n)}),s),selected:c,disabled:n,value:t},d),l)},V=({preKey:e,options:s,disabled:o,value:r,OptionProps:a={},OptionGroupProps:l={}})=>(null==s?void 0:s.length)?i(t,null,s.map(((s,t)=>{const n=[e,`-${t}`].join("");if("options"in s){const e=Boolean(o||s.disabled),{label:t}=s,d=x(s,["label"]);return i("optgroup",Object.assign({class:C("optgroup",{disabled:e}),key:n},l,{label:null==t?void 0:t.toString(),disabled:e}),i(V,Object.assign({OptionGroupProps:l,OptionProps:a,value:r,preKey:n},d,{disabled:e})))}return"value"in s?i(I,Object.assign({key:n},a,{index:n,selectedValue:r},s,{disabled:Boolean(o||s.disabled)})):null}))):null,$=e=>{const{class:s,msg:t,touched:o,disabled:r,required:a,options:l,value:n,OptionProps:d,OptionGroupProps:h,ariaDescribedBy:c,hideLabel:p,label:u}=e,b=x(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),m=Object.assign(Object.assign({class:v(C(Object.assign({disabled:Boolean(r),required:Boolean(a),touched:Boolean(o)},j(t,o)?{[g(t)]:!0}:{})),s),required:a,disabled:r},B({ariaDescribedBy:c,hideLabel:p,label:u})),b);return i("select",Object.assign({},m),i(V,{OptionGroupProps:h,OptionProps:d,disabled:r,options:l,value:n}))},E=(e,s,i)=>{const t=Array.isArray(e);if(s){if(void 0!==e&&!t)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${i} = ${JSON.stringify(e)})`)}else if(t)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${i} = ${JSON.stringify(e)})`)},G=(e,s=!1)=>e.flatMap((e=>"options"in e&&Array.isArray(e.options)?G(e.options,Boolean(s||e.disabled)):[Object.assign(Object.assign({},e),{disabled:Boolean(s||e.disabled)})])),N=(e,s,i)=>{if(0===s.length)return e;const t=G(s),o=t.map((e=>e.value)),r=e.every((e=>o.includes(e)))?e:e.filter((e=>o.includes(e)));if(!1===i&&0===r.length){const e=t.find((e=>!0!==e.disabled));return e?[e.value]:r}return r};class F extends A{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{var s;const i=Array.from((null===(s=this.ctaRef.el)||void 0===s?void 0:s.options)||[]).filter((e=>e.selected)).map((e=>{var s;return null===(s=this.keyOptionMap.get(e.value))||void 0===s?void 0:s.value}));if(this._multiple)this._value=i,this.handleInput(e,i);else{const s=i.length>0?i[0]:void 0;this._value=s,this.handleInput(e,s)}},this.handleSelectChange=e=>{const s=this._value;this.handleChange(e,s),this.hasValue=!!s}}applyAccessKey(e){o.apply(e,(e=>this.setRenderProp("accessKey",e))),w(e,this.getShortKeyProp())}applyShortKey(e){r.apply(e,(e=>this.setRenderProp("shortKey",e))),w(this.getAccessKeyProp(),e)}applyIcons(e){n.apply(e,(e=>this.setRenderProp("icons",e)))}applyMultiple(e){E(this._value,!0===e,"current"),m.apply(e,(e=>{this.setRenderProp("multiple",e),this.setRenderProp("value",N(this.getRenderProp("value"),this.getRenderProp("options"),this._multiple))}))}applyOptions(e){k.apply(e,(e=>{this.setRenderProp("options",e),e.length>0&&(this.keyOptionMap.clear(),q(this.keyOptionMap,e),this.setRenderProp("value",N(this.getRenderProp("value"),e,this._multiple)))}))}applyRequired(e){y.apply(e,(e=>this.setRenderProp("required",e)))}applyRows(e){f.apply(e,(e=>this.setRenderProp("rows",e)))}applyTabIndex(e){a.apply(e,(e=>this.setRenderProp("tabIndex",e)))}applyValue(e){E(e,!0===this._multiple,"received");const s=e=>{const s=N(e,this.getRenderProp("options"),this._multiple);this.setRenderProp("value",s),this.formAssociation.setFormAssociatedValue(this.getModelValue())};null===e?s([null]):L.apply(e,s)}applyVariant(e){l.apply(e,(e=>this.setRenderProp("variant",e)))}getModelValue(){const e=this.getRenderProp("value");return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){const{ariaDescribedBy:e,hasError:s}=this.getAria(),i=this.getRenderProp("multiple"),t=this.getRenderProp("shortKey");return Object.assign(Object.assign({id:this.getState("id"),hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),options:this.getRenderProp("options"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0,"aria-invalid":s?"true":void 0,ariaDescribedBy:e,size:i?this.getRenderProp("rows"):void 0,multiple:i,required:this.getRenderProp("required"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},t?{"aria-keyshortcuts":t}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){const e=this.getRenderProp("disabled"),{startAdornment:s,endAdornment:t}=d({icons:this.getRenderProp("icons")});return i(K,Object.assign({},this.getFormFieldProps({class:v("kol-form-field-select",{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")}),{onClick:()=>{var e;return null===(e=this.ctaRef.el)||void 0===e?void 0:e.focus()}}),i(h,{disabled:e,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:s,endAdornment:t},i($,Object.assign({},this.getSelectProps()))))}}export{F as B,D as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{O as t,I as e}from"./index-Bsx5X6jK.js";import{t as n,a as i}from"./tooltip-open-tracking-DXhnfmA2.js";import{j as o}from"./component-BPL1Mikq.js";import{c as r,b as s,d as l}from"./props-from-config-DVxNB2Lx.js";import{i as a}from"./id-BXwy9iRy.js";import{l as c}from"./label-lang-segment-B8ayoizG.js";const u=o("align","top"),f=r("badgeText","",s),h=Math.min,d=Math.max,m=Math.round,p=Math.floor,y=t=>({x:t,y:t}),w={left:"right",right:"left",bottom:"top",top:"bottom"};function x(t,e,n){return d(t,h(e,n))}function g(t,e){return"function"==typeof t?t(e):t}function v(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function A(t){return"x"===t?"y":"x"}function T(t){return"y"===t?"height":"width"}function S(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return A(S(t))}function R(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const O=["left","right"],F=["right","left"],L=["top","bottom"],j=["bottom","top"];function E(t){const e=v(t);return w[e]+t.slice(e.length)}function z(t){return"number"!=typeof t?function(t){var e,n,i,o;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(o=t.left)?o:0}}(t):{top:t,right:t,bottom:t,left:t}}function B(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function C(t,e,n){let{reference:i,floating:o}=t;const r=S(e),s=k(e),l=T(s),a=v(e),c="y"===r,u=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let d;switch(a){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-o.width,y:f};break;default:d={x:i.x,y:i.y}}const m=b(e);return m&&(d[s]+=h*("end"===m?1:-1)*(n&&c?-1:1)),d}async function D(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=g(e,t),m=z(d),p=l[h?"floating"===f?"reference":"floating":f],y=B(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),w="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=B(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:x,strategy:a}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const P=new Set(["left","top"]);function M(){return"undefined"!=typeof window}function $(t){return V(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function N(t){var e;return null==(e=(V(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function V(t){return!!M()&&(t instanceof Node||t instanceof I(t).Node)}function q(t){return!!M()&&(t instanceof Element||t instanceof I(t).Element)}function H(t){return!!M()&&(t instanceof HTMLElement||t instanceof I(t).HTMLElement)}function X(t){return!(!M()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof I(t).ShadowRoot)}function _(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function W(t){return/^(table|td|th)$/.test($(t))}function G(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const K=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,J=t=>!!t&&"none"!==t;let Q;function U(t){const e=q(t)?et(t):t;return J(e.transform)||J(e.translate)||J(e.scale)||J(e.rotate)||J(e.perspective)||!Z()&&(J(e.backdropFilter)||J(e.filter))||K.test(e.willChange||"")||Y.test(e.contain||"")}function Z(){return null==Q&&(Q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Q}function tt(t){return/^(html|body|#document)$/.test($(t))}function et(t){return I(t).getComputedStyle(t)}function nt(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===$(t))return t;const e=t.assignedSlot||t.parentNode||X(t)&&t.host||N(t);return X(e)?e.host:e}function ot(t){const e=it(t);return tt(e)?(t.ownerDocument||t).body:H(e)&&_(e)?e:ot(e)}function rt(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=I(o);if(r){const t=st(s);return e.concat(s,s.visualViewport||[],_(o)?o:[],t&&n?rt(t):[])}return e.concat(o,rt(o,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=et(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=H(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=m(n)!==r||m(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function at(t){return q(t)?t:t.contextElement}function ct(t){const e=at(t);if(!H(e))return y(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=lt(e);let s=(r?m(n.width):n.width)/i,l=(r?m(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ut=y(0);function ft(t){const e=I(t);return Z()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function ht(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=at(t);let s=y(1);e&&(i?q(i)&&(s=ct(i)):s=ct(t));const l=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===I(t)}(r,n,i)?ft(r):y(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(r&&i){const t=I(r),e=q(i)?I(i):i;let n=t,o=st(n);for(;o&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),i=et(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,u*=t.x,f*=t.y,a+=r,c+=s,n=I(o),o=st(n)}}return B({width:u,height:f,x:a,y:c})}function dt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:ht(N(t)).left+n}function mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-dt(t,n),y:n.top+e.scrollTop}}function pt(t,e,n){let i;if("viewport"===e||"layoutViewport"===e)i=function(t,e,n){void 0===n&&(n="viewport");const i="layoutViewport"===n,o=I(t),r=N(t),s=o.visualViewport;let l=r.clientWidth,a=r.clientHeight,c=0,u=0;if(s){const t=!Z()||"fixed"===e;i?t||(c=-s.offsetLeft,u=-s.offsetTop):(l=s.width,a=s.height,t&&(c=s.offsetLeft,u=s.offsetTop))}if(dt(r)<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-e.clientWidth-i),s="stable both-edges"===getComputedStyle(r).scrollbarGutter?o/2:o;s<=25&&(l-=s)}return{width:l,height:a,x:c,y:u}}(t,n,e);else if("document"===e)i=function(t){const e=nt(t),n=t.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=d(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+dt(t);const s=-e.scrollTop;return"rtl"===et(n).direction&&(r+=d(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}(N(t));else if(q(e))i=function(t,e){const n=ht(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ct(t);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=ft(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return B(i)}function yt(t,e,n){const i=H(e),o=N(e),r="fixed"===n,s=ht(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=y(0);if((i||!r)&&(("body"!==$(e)||_(o))&&(l=nt(e)),i)){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}!i&&o&&(a.x=dt(o));const c=!o||i||r?y(0):mt(o,l);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function wt(t){return"static"===et(t).position}function xt(t,e){if(!H(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function gt(t,e){const n=I(t);if(G(t))return n;if(!H(t)){let e=it(t);for(;e&&!tt(e);){if(q(e)&&!wt(e))return e;e=it(e)}return n}let i=xt(t,e);for(;i&&W(i)&&wt(i);)i=xt(i,e);return i&&tt(i)&&wt(i)&&!U(i)?n:i||function(t){let e=it(t);for(;H(e)&&!tt(e);){if(U(e))return e;if(G(e))return null;e=it(e)}return null}(t)||n}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=N(i),l=!!e&&G(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=y(1);const u=y(0),f=H(i);if((f||!r)&&(("body"!==$(i)||_(s))&&(a=nt(i)),f)){const t=ht(i);c=ct(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}const h=!s||f||r?y(0):mt(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}},getDocumentElement:N,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?G(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter((t=>q(t)&&"body"!==$(t))),o=null;const r="fixed"===et(t).position;let s=r?it(t):t;for(;q(s)&&!tt(s);){const t=et(s),e=U(s),n=o?o.position:r?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=t:i=i.filter((t=>t!==s)),s=it(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=pt(e,r[0],o);let l=s.top,a=s.right,c=s.bottom,u=s.left;for(let t=1;t<r.length;t++){const n=pt(e,r[t],o);l=d(n.top,l),a=h(n.right,a),c=h(n.bottom,c),u=d(n.left,u)}return{width:a-u,height:c-l,x:u,y:l}},getOffsetParent:gt,getElementRects:async function(t){const e=this.getOffsetParent||gt,n=this.getDimensions,i=await n(t.floating);return{reference:yt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ct,isElement:q,isRTL:function(t){return"rtl"===et(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function At(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=at(t),u=o||r?[...c?rt(c):[],...e?rt(e):[]]:[];u.forEach((t=>{o&&t.addEventListener("scroll",n),r&&t.addEventListener("resize",n)}));const f=c&&l?function(t,e,n){let i,o=null;const r=N(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function l(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();const c=t.getBoundingClientRect(),{left:u,top:f,width:m,height:y}=c;if(n||e(),!m||!y)return;const w={rootMargin:-p(f)+"px "+-p(r.clientWidth-(u+m))+"px "+-p(r.clientHeight-(f+y))+"px "+-p(u)+"px",threshold:d(0,h(1,a))||1};let x=!0;function g(e){const n=e[0].intersectionRatio;if(!bt(c,t.getBoundingClientRect()))return l();if(n!==a){if(!x)return l();n?l(!1,n):i=setTimeout((()=>{l(!1,1e-7)}),1e3)}x=!1}try{o=new IntersectionObserver(g,{...w,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(g,w)}o.observe(t)}const a=I(t),c=()=>l(n);return a.addEventListener("resize",c),l(!0),()=>{a.removeEventListener("resize",c),s()}}(c,n,r):null;let m,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&w&&e&&(w.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(e)}))),n()})),c&&!a&&w.observe(c),e&&w.observe(e));let x=a?ht(t):null;return a&&function e(){const i=ht(t);x&&!bt(x,i)&&n(),x=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==f||f(),null==(t=w)||t.disconnect(),w=null,a&&cancelAnimationFrame(m)}}const Tt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=g(t,e),u={x:n,y:i},f=await r.detectOverflow(e,c),h=S(o),d=A(h);let m=u[d],p=u[h];const y=(t,e)=>x(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(m=y(d,m)),l&&(p=y(h,p));const w=a.fn({...e,[d]:m,[h]:p});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[d]:s,[h]:l}}}}}},St=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=g(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const w=v(o),x=S(l),A=v(l)===l,z=await(null==a.isRTL?void 0:a.isRTL(c.floating)),B=h||(A||!p?[E(l)]:function(t){const e=E(t);return[R(t),e,R(e)]}(l)),C="none"!==m;!h&&C&&B.push(...function(t,e,n,i){const o=b(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?F:O:e?O:F;case"left":case"right":return e?L:j;default:return[]}}(v(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(R)))),r}(l,p,m,z));const D=[l,...B],P=await a.detectOverflow(e,y),M=[];let $=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&M.push(P[w]),f){const t=function(t,e,n){void 0===n&&(n=!1);const i=b(t),o=k(t),r=T(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=E(s)),[s,E(s)]}(o,s,z);M.push(P[t[0]],P[t[1]])}if($=[...$,{placement:o,overflows:M}],!M.every((t=>t<=0))){var I,N;const t=((null==(I=r.flip)?void 0:I.index)||0)+1,e=D[t];if(e&&("alignment"!==f||x===S(e)||$.every((t=>S(t.placement)!==x||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:N.placement;if(!n)switch(d){case"bestFit":{var V;const t=null==(V=$.filter((t=>{if(C){const e=S(t.placement);return e===x||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:V[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},kt=async({floatingElement:e,referenceElement:n,arrowElement:i,align:o="top"})=>{var r,s,l;if(!t()){const t=[(l=(null==i?void 0:i.offsetHeight)||10,void 0===l&&(l=0),{name:"offset",options:l,async fn(t){var e,n;const{x:i,y:o,placement:r,middlewareData:s}=t,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=v(n),l=b(n),a="y"===S(n),c=P.has(s)?-1:1,u=r&&a?-1:1,f=g(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(d="end"===l?-1*m:m),a?{x:d*u,y:h*c}:{x:h*c,y:d*u}}(t,l);return r===(null==(e=s.offset)?void 0:e.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:r}}}}),St(),Tt()];i&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=g(t,e)||{};if(null==c)return{};const f=z(u),d={x:n,y:i},m=k(o),p=T(m),y=await s.getDimensions(c),w="y"===m,v=w?"top":"left",A=w?"bottom":"right",S=w?"clientHeight":"clientWidth",R=r.reference[p]+r.reference[m]-d[m]-r.floating[p],O=d[m]-r.reference[m],F=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let L=F?F[S]:0;L&&await(null==s.isElement?void 0:s.isElement(F))||(L=l.floating[S]||r.floating[p]);const j=R/2-O/2,E=L/2-y[p]/2-1,B=h(f[v],E),C=h(f[A],E),D=L-y[p]-C,P=L/2-y[p]/2+j,M=x(B,P,D),$=!a.arrow&&null!=b(o)&&P!==M&&r.reference[p]/2-(P<B?B:C)-y[p]/2<0,I=$?P<B?P-B:P-D:0;return{[m]:d[m]+I,data:{[m]:M,centerOffset:P-M-I,...$&&{alignmentOffset:I}},reset:$}}}))({element:i}));const{x:a,y:c,middlewareData:u,placement:f}=await((t,e,n)=>{const i=new Map,o=null!=n?n:{},r={...vt,...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:D},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=C(c,i,a),h=i,d=0;const m={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:y,fn:w}=p,{x,y:g,data:v,reset:b}=await w({x:u,y:f,initialPlacement:i,placement:h,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=x?x:u,f=null!=g?g:f,m[y]={...m[y],...v},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):b.rects),({x:u,y:f}=C(c,h,a))),n=-1)}return{x:u,y:f,placement:h,strategy:o,middlewareData:m}})(t,e,{...o,platform:r})})(n,e,{placement:o,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),i&&((null===(r=u.arrow)||void 0===r?void 0:r.x)?Object.assign(i.style,{left:`${u.arrow.x}px`,top:"bottom"===f?-i.offsetHeight/2+"px":"",bottom:"top"===f?-i.offsetHeight/2+"px":""}):(null===(s=u.arrow)||void 0===s?void 0:s.y)&&Object.assign(i.style,{left:"right"===f?-i.offsetWidth/2+"px":"",right:"left"===f?-i.offsetWidth/2+"px":"",top:`${u.arrow.y}px`}))}},Rt=new Set;let Ot=null;class Ft{constructor(t,e){this.setState=t.setState,this.getState=t.getState,this.renderProps=l(e)}setRenderProp(t,e){this.renderProps[t]=e}getRenderProp(t){return this.renderProps[t]}}const Lt={required:[c],optional:[u,f,a]};class jt extends Ft{constructor(t){super(t,Lt),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=t=>{this.tooltipElement=t,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(t.stopPropagation(),t.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{const t=this.isNewVisit();this.hasMouseIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{const t=this.isNewVisit();this.hasFocusIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(t){this.watchLabel(t.label),this.watchAlign(t.align),this.watchBadgeText(t.badgeText),this.watchId(t.id)}watchLabel(t){c.apply(t||void 0,(t=>{this.setRenderProp("label",t)}))}watchAlign(t){u.apply(t,(t=>{this.setRenderProp("align",t)}))}watchBadgeText(t){f.apply(t,(t=>{this.setRenderProp("badgeText",t)}))}watchId(t){a.apply(t,(t=>{this.setRenderProp("id",t)}))}initContext(t){this.previousSibling=t}syncListeners(t,e,n=!1){t&&this.removeListeners(t),e&&(n&&(this.previousSibling=e),this.removeListeners(e),this.addListeners(e))}handleEventListeners(t){this.syncListeners(this.previousSibling,t.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(t){if(Rt.delete(t)&&Ot===t){Ot=null;for(const t of Rt)Ot=t;Ot&&Ot.style.setProperty("z-index","1000")}}(this.tooltipElement),n(),this.tooltipElement.classList.remove("show"),this.tooltipElement.classList.add("hide"),this.tooltipElement.addEventListener("animationend",(()=>{var t;(null===(t=this.tooltipElement)||void 0===t?void 0:t.classList.contains("hide"))&&this.tooltipElement.style.removeProperty("display")}),{once:!0}),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0)),e().removeEventListener("keydown",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&(this.removeListeners(this.previousSibling),this.previousSibling=void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0),e().removeEventListener("keydown",this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await kt({align:this.getRenderProp("align"),arrowElement:this.tooltipElement.querySelector(".kol-tooltip__arrow"),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var t;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Ot!==(t=this.tooltipElement)&&(Ot&&Ot.style.setProperty("z-index","999"),Rt.delete(t),Rt.add(t),t.style.setProperty("z-index","1000"),Ot=t),i(),this.tooltipElement.classList.remove("hide"),this.tooltipElement.classList.add("show"),this.tooltipElement.style.setProperty("display","block"),e().addEventListener("keydown",this.hideTooltipByEscape),this.cleanupAutoPositioning=At(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(t){t.addEventListener("mouseover",this.handleMouseEnter),t.addEventListener("mouseout",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut)}removeListeners(t){t.removeEventListener("mouseover",this.handleMouseEnter),t.removeEventListener("mouseout",this.handleMouseLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut)}}export{Ft as B,jt as T,u as a,kt as b,At as c}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{L as e,c as o,t,q as r,u as s}from"./index-Bsx5X6jK.js";import{s as n}from"./theme-store-CEu5d_EK.js";import{i as a}from"./i18n-Bcb0tuyF.js";import{g as d}from"./shared-state-sWI1upS8.js";import{a as i}from"./component-names-Ur_UbEzI.js";const l=d("tag-transformer",(()=>({}))),m=e=>"undefined"!=typeof customElements&&void 0!==customElements.get(t(e)),u=t=>{l.transformer&&e.warn("The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.",{forceLog:!0}),Object.values(i).some((e=>m(e)||m(t(e))))&&e.warn("Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.",{forceLog:!0});const r=e=>e.startsWith("kol-")?t(e):e;return o(r),l.transformer=r,r},c=()=>l.transformer,p=d("bootstrap",(()=>({})));let f=!1;n();const v=async(o,t,n)=>{var d,i;const l="undefined"!=typeof process&&process.env?"production":void 0;r((null==n?void 0:n.environment)||l||"production"),a(null!==(i=null===(d=null==n?void 0:n.translation)||void 0===d?void 0:d.name)&&void 0!==i?i:"de",null==n?void 0:n.translations),(null==n?void 0:n.transformTagName)&&u(n.transformTagName);const m=await s(o,t,n);return f=!0,p.options=n,e.info("Development mode active - Enhanced debugging features available"),m},g=v,h=()=>f,y=()=>p.options;export{u as a,v as b,y as c,c as g,h as i,g as r}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{C as r,h as t}from"./index-Bsx5X6jK.js";import{c as e,b as n,i as o,x as a,n as s,y as i,q as l}from"./props-from-config-DVxNB2Lx.js";import{a as f}from"./validators-DPSQyOeQ.js";import{b as c}from"./bem-registry-CK2s_XZ4.js";import{S as d}from"./component-DTV1Kuf1.js";const u=["left","right","top","bottom"],p=(r,t)=>{let e="";return Array.isArray(r)&&r.forEach((r=>{e+="kol-"+t+"--"+r+" "})),e},b=e("accessKey","",n);function m(r,t){return e(r,t,(t=>{const e=n(t);if(o(e,u))return e;throw new Error(`Invalid ${r} value: ${e}`)}))}const y=e("ariaControls","",n),g=e("ariaDescription","",n),v=e("ariaExpanded","",(function(r){return a(r,"aria-expanded")})),x=e("customClass","",n,(function(r){return""===r||f(r)})),h=e("hideLabel",!1,s),j=e("inline",!0,s),w=["tab","treeitem"],I=e("role","",(function(r){if(""===r)return"";if(o(r,w))return r;throw new Error(`Invalid role: expected one of ${w.join(", ")}, got ${JSON.stringify(r)}`)})),D=e("shortKey","",n),K=e("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return i(r);if("string"==typeof r)return n(r);if("object"==typeof r)return i(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),$=e("tabIndex",0,l,void 0,{hints:(t,e)=>{"number"==typeof e&&e>0&&r(`Positive tabIndex values ("${e}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),A=m("tooltipAlign","right"),C=e("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),E=({description:r,descriptionId:e})=>r?t("span",{class:"visually-hidden",id:e},r):null,T=c.forBlock("kol-tooltip"),k=({label:r,badgeText:e,id:n,refFloating:o})=>t("div",{class:T("floating"),hidden:!r,ref:o},t("div",{class:T("arrow")}),t(d,{class:T("content"),badgeText:e,id:n,label:r}));export{E as A,k as T,b as a,y as b,g as c,D as d,A as e,v as f,x as g,h,j as i,m as j,p as k,I as l,K as s,$ as t,C as v}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o,F as l}from"./index-Bsx5X6jK.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";import{g as a}from"./Heading-Cynkalqu.js";import{t as s}from"./i18n-Cf0DhAke.js";import{e as r,t as i,B as n}from"./props-from-config-DVxNB2Lx.js";import{b as t}from"./bem-registry-CK2s_XZ4.js";import{B as c}from"./component-XbTjo2nm.js";import{r as d}from"./component-DTV1Kuf1.js";import{I as p}from"./component-CDyoNoJe.js";const m=t.forBlock("kol-alert")("icon"),f={error:{label:s("kol-error"),icon:"kolicon-alert-error"},info:{label:s("kol-info"),icon:"kolicon-alert-info"},warning:{label:s("kol-warning"),icon:"kolicon-alert-warning"},success:{label:s("kol-success"),icon:"kolicon-alert-success"},default:{label:s("kol-message"),icon:"kolicon-alert-info"}},k=({type:e="default"})=>{const a=f[e||"default"];return o(l,null,o("span",{class:"visually-hidden"},a.label),o(p,{class:m,label:"",icons:a.icon}))},u=t.forBlock("kol-alert"),b=u("closer"),h=u("content"),C=t.forBlock("kol-close-button")(),g=void 0,v=(l,t)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:v,hasCloser:y,headingId:j,label:B,level:D,refCloserButton:x,refCloserTooltip:I,type:A,variant:K}=l,T=e(l,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),w=s("kol-close-alert"),$=a(null!=D?D:0);return o(n,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===y,[`type-${A}`]:!0,[`variant-${K}`]:!0},role:p?"alert":void 0},T),o(k,{type:A}),!!(null==B?void 0:B.length)&&o($,{class:r("kol-headline",`kol-headline--${$}`,u("heading",{[`h${D}`]:!0}),"kol-headline--single"),id:j},d(B)),y&&o(c,{accessKey:"",ariaControls:"",ariaDescription:i(B),ariaDescriptionId:f,ariaExpanded:g,ariaHasPopup:"",ariaSelected:g,class:r(b,C),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:v,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:w,name:"",on:{},refButton:x,refTooltip:I,role:g,shortKey:"",tabIndex:g,tooltipAlign:"top",type:"button",variant:["normal"]}),o("div",{"aria-describedby":(null==B?void 0:B.length)?j:void 0,class:h},t))};export{v as A}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o}from"./index-Bsx5X6jK.js";import{t as e}from"./i18n-Cf0DhAke.js";import{r as s}from"./resolve-props-B1DQKjTD.js";import{K as l}from"./Heading-Cynkalqu.js";import{b as r}from"./bem-registry-CK2s_XZ4.js";import{a,r as t,e as n,B as i}from"./props-from-config-DVxNB2Lx.js";import{B as c}from"./component-XbTjo2nm.js";import{r as m}from"./component-DTV1Kuf1.js";import{l as p}from"./level-BV6M_zmM.js";import{h as d}from"./has-closer-DOs1CXhp.js";import{h as f}from"./href-DQbHtp6T.js";import{l as h}from"./label-lang-segment-B8ayoizG.js";import{l as u}from"./link-target-C9qzQAQg.js";const b=a(),j={required:[h],optional:[b,d,f,p,u]};function g(o){return s({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:e("kol-close"),_tooltipAlign:"top"},o)}const B=r.forBlock("kol-card"),k=B("close-button"),C=B("content"),v=B("header"),D=B("link"),I=r.forBlock("kol-close-button")(),T=()=>{},_=({headingId:e,label:s,level:r})=>o(l,{class:v,id:e,level:r},m(s)),x=(e,s)=>{const{ariaDescriptionId:l,class:r,closeButtonProps:a,handleBlur:m,handleClose:p,handleFocus:d,hasCloser:f,headingId:h,href:u,label:b,level:g,refCloseButton:B,refCta:v,refTooltip:x,target:K}=t(j,e);return o(i,{component:"article","aria-labelledby":h,block:"kol-card",class:r},u.length>0?o("a",{class:D,href:u,target:K||void 0,onBlur:m,onFocus:d,ref:v},o(_,{headingId:h,label:b,level:g})):o(_,{headingId:h,label:b,level:g}),o("div",{class:C},s),f&&o("div",{class:n(k,I)},o(c,Object.assign({},a,{ariaDescriptionId:l,handleBlur:T,handleClick:p,handleFocus:T,handleMouseDown:T,refButton:B,refTooltip:x}))))};export{x as C,b as a,j as c,g as r}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o}from"./index-Bsx5X6jK.js";import{b as r}from"./bem-registry-CK2s_XZ4.js";import{B as s}from"./props-from-config-DVxNB2Lx.js";import{B as l}from"./component-XbTjo2nm.js";import{S as a}from"./component-DTV1Kuf1.js";const t=r.forBlock("kol-badge"),n=t("label"),e=t("smart-button"),i=({color:r,icons:t,label:i,smartButton:m})=>o(s,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==m},style:{backgroundColor:r.backgroundColor,color:r.foregroundColor}},o(a,{class:n,id:null==m?void 0:m.labelId,allowMarkdown:!0,icons:t,label:i}),m&&o(l,Object.assign({},m.resolvedButton,{class:e,ariaDescriptionId:m.ariaDescriptionId,handleBlur:m.handleBlur,handleClick:m.handleClick,handleFocus:m.handleFocus,handleMouseDown:m.handleMouseDown,refButton:m.refSmartButton,refTooltip:m.refTooltip})),o("br",null));export{i as B}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as n,F as e}from"./index-Bsx5X6jK.js";import{a as s}from"./tslib.es6-QNbPBOk5.js";import{b as l}from"./bem-registry-CK2s_XZ4.js";import{s as r,u as t,w as o,B as a,e as i}from"./props-from-config-DVxNB2Lx.js";import{I as u}from"./component-CDyoNoJe.js";function g(n){return"string"==typeof n||!t(n)&&r(n)&&"[object String]"==o(n)}const c=n=>""===n,p=(n,e)=>n||e||"",b=new RegExp(String.fromCharCode(0),"g"),m=String.fromCharCode(65533),d={amp:"&",apos:"'",gt:">",lt:"<",nbsp:String.fromCharCode(160),quot:'"'},$=n=>Number.isInteger(n)&&n>=32&&n<=1114111&&!(n>=55296&&n<=57343)?String.fromCodePoint(n):void 0,f="\\s!-/:-@\\[-^`{-~",_=`(^|[${f}])`,x=`(?=$|[${f}])`,v="\\S(?:[\\s\\S]*\\S)?",w=/[ \t]{2,}\n/g,j=new RegExp(`~~(${v})~~`,"g"),h=new RegExp(`\\*\\*(${v})\\*\\*`,"g"),y=/\*([^\s*](?:[^*]*[^\s*])?)\*/g,S=new RegExp(`\\*\\*\\*(${v})\\*\\*\\*`,"g"),k=new RegExp(`${_}__(${v})__${x}`,"g"),E=new RegExp(`${_}_([^\\s_](?:[^_]*[^\\s_])?)_${x}`,"g"),N=new RegExp(`${_}___(${v})___${x}`,"g"),R=n=>{const e=[];return(n=>n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""))((n=>n.replace(/&#(\d+);/g,((n,e)=>{var s;return null!==(s=$(Number.parseInt(e,10)))&&void 0!==s?s:n})).replace(/&#x([0-9a-f]+);/gi,((n,e)=>{var s;return null!==(s=$(Number.parseInt(e,16)))&&void 0!==s?s:n})).replace(/&([a-z]+);/gi,((n,e)=>{var s;return null!==(s=d[e.toLowerCase()])&&void 0!==s?s:n})))(n.replace(/\r\n?/g,"\n").replace(b,m))).replace(/\\([\\`*_~[\]()#+\-.!>{}])/g,((n,s)=>(e.push(s),`<${e.length-1}>`))).split(/(`[^`]+`)/).map(((n,e)=>e%2==0?(n=>n.replace(w,"<br>\n").replace(S,"<em><strong>$1</strong></em>").replace(N,"$1<em><strong>$2</strong></em>").replace(j,"<s>$1</s>").replace(h,"<strong>$1</strong>").replace(k,"$1<strong>$2</strong>").replace(y,"<em>$1</em>").replace(E,"$1<em>$2</em>"))(n):`<code>${n.slice(1,-1)}</code>`)).join("").replace(/<(\d+)>/g,((n,s)=>{var l;return null!==(l=e[Number.parseInt(s,10)])&&void 0!==l?l:""}))},B=l.forBlock("kol-span");function L(n){return null!=n&&function(n){return"object"==typeof n&&null!==n&&"icon"in n}(n)?n:g(n)&&n.length>0?{icon:n}:null}function A(s){return Array.isArray(s)?n("span",null,s.map((e=>n("span",{lang:e.lang},e.text)))):n(e,null,s)}const M=(l,r)=>{const{allowMarkdown:t,badgeText:o,class:p,hideLabel:b=!1,icons:m,label:d}=l,$=s(l,["allowMarkdown","badgeText","class","hideLabel","icons","label"]);let f=null,_=null,x=null,v=null;!function(n){return"object"==typeof n&&null!==n&&!Array.isArray(n)}(m)?g(m)&&m.length>0&&(_={icon:m}):(f=L(m.top),_=L(m.left),x=L(m.right),v=L(m.bottom));const w=(e,s)=>{var l;return e?n(u,{class:B("icon",{[s]:!0}),icons:e.icon,label:null!==(l=e.label)&&void 0!==l?l:"",style:e.style}):null},j=!c(d);return n(a,Object.assign({component:"span"},$,{block:"kol-span",modifiers:{"has-badge":!!o,"hide-label":!!b},class:p}),w(f,"top"),n("span",{class:B("container")},w(_,"left"),j&&function(s,l,r,t){return l?null:Array.isArray(s)?n("span",{class:B("label")},s.map((e=>n("span",{lang:e.lang},e.text)))):r?n("span",{class:i(B("label"),"md"),innerHTML:R(s)}):n("span",{class:B("label")},t?function(s,l){let r=l,[t,...o]=s.split(r);return 0===o.length&&(r=l.toUpperCase(),[t,...o]=s.split(r)),0===o.length&&(r=l.toLowerCase(),[t,...o]=s.split(r)),n(e,null,t,o.length?n(e,null,n("u",null,r),o.join(r)):null)}(s,t):s)}(d,b,t,o),n("span",{"aria-hidden":j?"true":void 0,class:B("slot"),hidden:j},r),g(o)&&o.length>0&&n("kbd",{"aria-hidden":"true",class:"badge-text-hint"},o),w(x,"right")),w(v,"bottom"))};export{M as S,p as b,A as r,c as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{m as a,h as e}from"./index-Bsx5X6jK.js";import{t as o}from"./i18n-Cf0DhAke.js";import{c as s,b as i,a as r,r as t,t as n,e as l,B as d}from"./props-from-config-DVxNB2Lx.js";import{a as c,b as p,c as m,f,g as b,h as k,s as v,i as g,l as h,d as u,t as x,e as j,v as y,A as C,T as w,k as D}from"./component-BPL1Mikq.js";import{b as K}from"./bem-registry-CK2s_XZ4.js";import{p as _}from"./element-interaction-C2pgnQ6t.js";import{I as A}from"./component-CDyoNoJe.js";import{S as L}from"./component-DTV1Kuf1.js";import{d as T}from"./disabled-Cu0e92-b.js";import{h as I}from"./href-DQbHtp6T.js";import{l as B}from"./label-with-expert-slot-DXi27J4o.js";import{l as Q}from"./link-target-C9qzQAQg.js";const q=["date","location","page","step","time","true","false"],O=s("ariaCurrentValue","page",(function(a){const e=i(a);return q.includes(e)?e:"page"})),V=s("ariaOwns","",i),X=s("download",void 0,i),$=r(),J={required:[I],optional:[c,p,O,m,f,V,b,T,X,k,v,g,B,$,h,Q,u,x,j,y]},M=K.forBlock("kol-link"),N=(s,i)=>{const{accessKey:r,ariaControls:c,ariaCurrent:p,ariaDescription:m,ariaDescriptionId:f,ariaExpanded:b,ariaOwns:k,class:v,customClass:g,disabled:h,download:u,handleAnchorClick:x,hideLabel:j,href:y,icons:K,inline:T,label:I,on:B,ref:Q,refAnchor:q,refTooltip:O,role:V,shortKey:X,tabIndex:$,target:N,variant:S,expertSlot:z}=t(J,s),E=o("kol-open-link-in-tab"),F="string"==typeof N&&N.length>0&&"_self"!==N,H={href:"string"==typeof y&&y.length>0?y:"javascript:void(0);",target:"string"==typeof N&&N.length>0?N:void 0,rel:F?"noopener":void 0,download:"string"==typeof u?u:void 0};!0===j&&""===n(I)&&a("[KolLink] An aria-label must be set when _hide-label is set.");const P=null==m?void 0:m.trim(),Z=V||void 0;return e(d,{block:"kol-link",ref:Q,class:l(v,{[g]:S.includes("custom")&&g.length>0,[D(S,"link")]:S.length>0}),modifiers:{disabled:!0===h,"external-link":F,"hide-label":!0===j,inline:!0===T,standalone:!1===T}},e("a",Object.assign({ref:q},H,{href:H.href,accessKey:r||void 0,"aria-current":p||void 0,"aria-controls":c||void 0,"aria-describedby":P?f:void 0,"aria-disabled":h?"true":void 0,"aria-expanded":""===b?void 0:b,"aria-owns":k||void 0,"aria-label":j&&""!==n(I)?`${n(I)}${F?` (${E})`:""}`:void 0,"aria-keyshortcuts":X||void 0,class:M("interactive-element")},B,{onClick:x,onMouseDown:h?_:void 0,role:Z,tabIndex:h?-1:$}),e(L,{class:"kol-link__text",badgeText:r||X,icons:K,hideLabel:j,label:z?"":I||y},i.length>0?i:e("slot",{name:"expert",slot:"expert"})),F&&e(A,{class:"kol-link__icon",label:j?"":E,icons:"kolicon-link-external","aria-hidden":j})),!0===j&&!z&&e("div",{class:M("tooltip")},e(w,{badgeText:r||X||"",label:""!==n(I)?I:"string"==typeof y?y:"",refFloating:O})),P&&e(C,{description:P,descriptionId:f}))};export{N as L,O as a,$ as b,V as c,X as d,J as l}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as a}from"./index-Bsx5X6jK.js";import{a as e}from"./tslib.es6-QNbPBOk5.js";import{c as s,i as o,x as i,a as t,b as r,r as n,t as l,e as d,B as c}from"./props-from-config-DVxNB2Lx.js";import{a as p,b,c as u,f as m,g as f,h,i as x,l as v,d as y,s as B,t as j,e as g,v as k,A as D,T as w,k as C}from"./component-BPL1Mikq.js";import{b as I}from"./bem-registry-CK2s_XZ4.js";import{S as K}from"./component-DTV1Kuf1.js";import{d as T}from"./disabled-Cu0e92-b.js";import{i as L}from"./id-BXwy9iRy.js";import{l as P}from"./label-with-expert-slot-DXi27J4o.js";const S=["dialog","false","grid","listbox","menu","tree","true"],E=s("ariaHasPopup","",(function(a){if(""===a)return"";if(o(a,S))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${S.join(", ")}, got ${JSON.stringify(a)}`)})),F=s("ariaSelected","",(function(a){return i(a,"aria-selected")})),M=t(),X=["button","reset","submit"],H=s("type","button",(function(a){const e=r(a);if(o(e,X))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>X.includes(a))),N=s("name","",r),O={required:[P],optional:[p,b,u,m,E,F,M,H,f,T,h,L,x,v,N,y,B,j,g,k]},$=I.forBlock("kol-button"),q=$("interactive-element"),A=$("text"),J=$("tooltip"),V=s=>{const o=n(O,s),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:p,ariaExpanded:b,ariaHasPopup:u,ariaSelected:m,class:f,customClass:h,disabled:x,handleBlur:v,handleClick:y,handleFocus:B,handleMouseDown:j,hideLabel:g,icons:k,id:I,inline:T,label:L,name:P,refButton:S,refTooltip:E,role:F,shortKey:M,tabIndex:X,type:H,variant:N}=o,$=e(o,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),V=i||M,Q=l(L).length>0,R=r.trim().length>0;return a(c,Object.assign({block:"kol-button",class:d(f,{[C(N,"button")]:N.length>0,[h]:h.length>0}),modifiers:{disabled:x,"hide-label":g,inline:!0===T,standalone:!1===T}},$),a("button",{ref:S,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":R?p:void 0,"aria-expanded":b||void 0,"aria-haspopup":u||void 0,"aria-keyshortcuts":M||void 0,"aria-label":g&&Q?l(L):void 0,"aria-selected":m||void 0,class:q,disabled:x,id:I||void 0,name:P||void 0,onBlur:v,onClick:y,onFocus:B,onMouseDown:j,role:F||void 0,tabIndex:X,type:H},a(K,{class:A,badgeText:V,icons:k,hideLabel:g,label:L},a("slot",{name:"expert",slot:"expert"}))),g&&Q&&a("div",{class:J},a(w,{badgeText:V,label:L,refFloating:E})),R&&a(D,{description:r,descriptionId:p}))};export{V as B,F as a,O as b,M as c,H as d,E as e,N as n}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a0 as t,L as o,I as e,t as i,N as n,a1 as a,$ as l,a2 as s,a3 as r,a4 as c,j as d,a5 as u,U as f,a6 as p}from"./index-Bsx5X6jK.js";import{i as L,r as v}from"./dev.utils--eVyQ4zr.js";function m(t,e){try{Object.defineProperty((()=>{let t=n().KoliBri;return void 0===t&&(t={},Object.defineProperty(n(),"KoliBri",{value:t,writable:!1})),t})(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const y=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(L(),t()&&(v(),m("a11yColorContrast",a),m("querySelector",l),m("querySelectorAll",s),m("querySelectorColors",r),m("utils",(function(){return c})),m("parseJson",d),m("stringifyJson",u),y("Development mode",t()),y("Experimental mode",f()),y("Color contrast analysis",p()),setTimeout((()=>{try{const t=e(),o=null==t?void 0:t.body;if(t&&o&&"function"==typeof t.createElement){const e=t.createElement(i("svg"));e.setAttribute("aria-label","KoliBri-DevTools"),e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("role","toolbar"),e.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),e.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',o.appendChild(e)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}}),100),p())){const t=setTimeout((()=>{clearTimeout(t);try{const t=e(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval((()=>{c.queryHtmlElementColors(t.createElement(i("div")),a(o),!1,!1)}),1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}}),2500)}};export{h as initialize}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as e}from"./index-Bsx5X6jK.js";import{a as o}from"./tslib.es6-QNbPBOk5.js";import{s as l,b as i}from"./component-DTV1Kuf1.js";import{a,g as r,b as s,i as t}from"./api-B76-Osk1.js";import{b as n}from"./bem-registry-CK2s_XZ4.js";import{a as d}from"./dev.utils--eVyQ4zr.js";import{B as b}from"./props-from-config-DVxNB2Lx.js";import{T as p}from"./component-BPL1Mikq.js";const f=n.forBlock("kol-field-control"),c=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,m=(n,m)=>{const{class:h,id:g,label:u,hint:j,hideLabel:y,labelAlign:B,infoPopover:k,accessKey:N,shortKey:K,tooltipAlign:T,disabled:v,msg:O,touched:x,required:P,readOnly:L,renderNoHint:_,renderNoTooltip:q,labelProps:A,refInput:C,refTooltip:I}=n,V=o(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),D=l(u),F=c({hideLabel:y,label:u,renderNoTooltip:q}),H=i(N,K),Q=t(O,x),X=()=>e("div",{class:f("input"),ref:C},m),z=()=>F?e("div",{class:"kol-form-field__tooltip"},e(p,{badgeText:H||"",label:u,align:T,id:d(g,"label"),refFloating:I})):null,E=()=>e(s,Object.assign({},A,{id:g,baseClassName:"kol-field-control",class:y?"kol-field-control__label--visually-hidden":void 0,omitId:F,hasExpertSlot:D,label:u,accessKey:N,shortKey:K,infoPopover:k}));return e(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(v),required:Boolean(P),touched:Boolean(x),"hide-label":Boolean(y),"read-only":Boolean(L)},Q?{[r(O)]:!0}:{}),{"label-align-left":"left"===B,"label-align-right":"right"===B}),class:h},V),"left"===B?[E(),X(),z()]:[X(),z(),E()],!_&&e(a,{baseClassName:"kol-field-control",id:g,hint:j}))};export{m as F,c as i}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{g as e}from"./shared-state-sWI1upS8.js";import"./index-Bsx5X6jK.js";var t={"action-done":"Aktion abgeschlossen","action-running":"Aktion wird ausgeführt...","avatar-alt":"Avatar von {{name}}","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen","character-counter-max-aria":"Zeichenlimit erreicht!","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","clear-search":"Suche löschen",close:"Schließen","close-alert":"Benachrichtigung schließen","data-browse-text":"Datei auswählen","delete-selection":"Auswahl entfernen","entries-per-site":"Einträge pro Seite",error:"Fehler","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:","filename-text":"Datei auswählen oder hier ablegen...","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.","hide-password":"Passwort verbergen",info:"Hinweis","kolibri-logo":"Logo von KoliBri","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} von {{max}} {{unit}}",message:"Nachricht","meter-state-critical":"Kritisch","meter-state-optimum":"Optimal","meter-state-suboptimal":"Suboptimal","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","no-results-message":"Keine Ergebnisse gefunden.","open-link-in-tab":"Öffnet in neuem Tab.",page:"Seite","page-back":"Eine Seite zurück","page-first":"Direkt zur ersten Seite","page-last":"Direkt zur letzten Seite","page-next":"Eine Seite weiter",pagination:"Paginierung","pagination-position-bottom":"unten","pagination-position-top":"oben",progress:"Fortschritt",readonly:"schreibgeschützt","show-password":"Passwort einblenden","show-suggestions":"Vorschläge anzeigen",sort:"sortieren","split-button-dropdown-label-open":"Optionen anzeigen",success:"Erfolg","table-data-loading":"Daten für Tabelle {{caption}} werden geladen.","table-data-loaded":"Daten für Tabelle {{caption}} wurden geladen.","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-selection":"Auswahl","table-selection-all":"Alle auswählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-selection-none":"Alle abwählen","table-settings":"Tabellenkonfiguration","table-settings-apply":"Übernehmen","table-settings-cancel":"Abbrechen","table-settings-column-hidable":'Spalte "{{column}}" ausblenden.',"table-settings-column-not-hidable":'Spalte "{{column}}" kann nicht ausgeblendet werden.',"table-settings-column-width":'Breite von Spalte "{{column}}" in Pixel.',"table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-move-down":'Spalte "{{column}}" nach unten verschieben.',"table-settings-move-up":'Spalte "{{column}}" nach oben verschieben.',"table-settings-not-move":'Spalte "{{column}}" kann nicht verschoben werden.',"table-sort-order":"Priorität {{order}}","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","toast-close-all":"Alle Benachrichtigungen schließen",version:"Versionsnummer",warning:"Warnung"},n={"action-done":"Action done","action-running":"Action is running...","avatar-alt":"Avatar of {{name}}","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters","character-counter-max-aria":"Character limit reached!","character-limit-exceeded":"You have {{over}} characters too many.","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","clear-search":"Clear search",close:"Close","close-alert":"Close notification","data-browse-text":"Browse","delete-selection":"Delete selection","entries-per-site":"Entries per page",error:"Error","error-list":"Error list","error-list-message":"Please correct the following errors","filename-text":"Choose a file or drop it here...","form-description":"Form fields marked with an asterisk (*) are mandatory.","hide-password":"Hide password",info:"Note","kolibri-logo":"KoliBri logo","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} of {{max}} {{unit}}",message:"Message","meter-state-critical":"Critical","meter-state-optimum":"Optimum","meter-state-suboptimal":"Suboptimal","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation",new:"New","no-entries":"No entries available.","no-results-message":"No results found.","open-link-in-tab":"Opens in new tab.",page:"Page","page-back":"One page back","page-first":"Directly to the first page","page-last":"Directly to the last page","page-next":"One page further",pagination:"Pagination","pagination-position-bottom":"bottom","pagination-position-top":"top",progress:"Progress",readonly:"read-only","show-password":"Show password","show-suggestions":"Show suggestions",sort:"sort","split-button-dropdown-label-open":"Show options",success:"Success","table-data-loading":"Data in table {{caption}} is loading.","table-data-loaded":"Data in table {{caption}} got loaded.","table-pagination-label":"Pagination for table {{label}}","table-selection":"Selection","table-selection-all":"Select all","table-selection-indeterminate":"Select all with partial selection","table-selection-none":"Deselect all","table-settings":"Table configuration","table-settings-apply":"Apply","table-settings-cancel":"Cancel","table-settings-column-hidable":'Hide column "{{column}}".',"table-settings-column-not-hidable":'Column "{{column}}" cannot be hidden.',"table-settings-column-width":'Width of column "{{column}}" in pixel.',"table-settings-error-all-invisible":"At least one column must be visible.","table-settings-move-down":'Move column "{{column}}" down.',"table-settings-move-up":'Move column "{{column}}" up.',"table-settings-not-move":'Column "{{column}}" cannot be moved.',"table-sort-order":"Priority {{order}}","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","toast-close-all":"Close all notifications",version:"Version number",warning:"Warning"};const a=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),i=new Set([e=>e("en",a(n)),e=>e("de",a(t))]);class r{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){var n;let a=null===(n=this.resourceMap.get(this.language))||void 0===n?void 0:n.get(e);return a?(null==t?void 0:t.placeholders)&&Object.entries(t.placeholders).forEach((([e,t])=>{var n;n=t,a=a.split(`{{${e}}}`).join(n)})):a=e,a}}const o=e("i18n",(()=>({}))),l=()=>o.instance,s=(e,t)=>{const n=new r(e);return n.addTranslations(i),n.addTranslations(t),o.instance=n,n};export{l as g,s as i}
|