@public-ui/components 4.6.0-rc.0 → 4.6.0-rc.1
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 +4 -42
- package/dist/cjs/{Heading-CSxHzc97.js → Heading-DpKpW9_U.js} +1 -1
- package/dist/cjs/{api-CgWeKMMq.js → api-DSnFV5pX.js} +16 -16
- package/dist/cjs/{app-globals-pY-Cyxgv.js → app-globals-DWk29tH4.js} +2 -2
- package/dist/cjs/{base-qwdvh9pf.js → base-B1L6tTOu.js} +4 -4
- package/dist/cjs/{base-YsLg9vB1.js → base-Cdk10fDz.js} +4 -4
- package/dist/cjs/{base-Bza2102z.js → base-DB-5MCfF.js} +6 -7
- package/dist/cjs/{base-CYqcl2o4.js → base-uTtcb6OV.js} +17 -17
- package/dist/cjs/{base-web-component-CkEUtzNr.js → base-web-component-BdHm5Oq9.js} +5 -5
- package/dist/cjs/{base-web-component-Cp4fQ2Mh.js → base-web-component-CyF5QpIH.js} +6 -6
- package/dist/cjs/{behavior-DV-LMyJJ.js → behavior-BnUihLzw.js} +4 -4
- package/dist/cjs/{behavior-BqwUv55g.js → behavior-C3w_8ifK.js} +2 -2
- package/dist/cjs/{behavior-DvLNQY2U.js → behavior-D5F_9gEC.js} +1 -1
- package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-ZJZujhCi.js} +0 -15
- package/dist/cjs/{block-bem-BI7yfoFU.js → block-bem-CMvCkLkl.js} +1 -1
- package/dist/cjs/{component-DtmmNGjm.js → component-B2l8N5t_.js} +4 -4
- package/dist/cjs/{component-COEAaB_B.js → component-BE_gS80r.js} +2 -2
- package/dist/cjs/{component-B9y7UnKg.js → component-BXz1XtoE.js} +7 -7
- package/dist/cjs/{component-DXBzTkOY.js → component-BwrQID5A.js} +3 -3
- package/dist/cjs/{component-D_9ZydZA.js → component-C46QQbMS.js} +10 -8
- package/dist/cjs/{component-q87oQHev.js → component-CWEYNtAH.js} +3 -3
- package/dist/cjs/{component-CRDSSR7G.js → component-CrW05zUq.js} +2 -2
- package/dist/cjs/{component-BM0H6uUo.js → component-DfChjUi8.js} +7 -7
- package/dist/cjs/{component-CeT2UQLF.js → component-DsWMXDya.js} +3 -3
- package/dist/cjs/{component-Br2jlQXL.js → component-N-3XFtFS.js} +6 -6
- package/dist/cjs/{component-CKMtvWhe.js → component-_p4OHWcc.js} +6 -6
- package/dist/cjs/{component-D5PYQ9Ku.js → component-eYoUHQ64.js} +2 -2
- package/dist/cjs/{dev.utils-DOgQN_zk.js → dev.utils-Bxq7b-n1.js} +1 -1
- package/dist/cjs/{devtools-CG9Ov5FS.js → devtools-BLvPSoCH.js} +2 -2
- package/dist/cjs/{field-control-BT1ZyKNR.js → field-control-D9t3USqP.js} +7 -7
- package/dist/cjs/{group-0C7hEZpp.js → group-CFBPF3hG.js} +5 -5
- package/dist/cjs/{index-14cLFAPd.js → index-CNhjOFBg.js} +2 -32
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{input-DOHuLJaE.js → input-C3F73RZW.js} +4 -4
- package/dist/cjs/{input-container-Ddovz1-b.js → input-container-B5-_NcRy.js} +6 -6
- package/dist/cjs/{item--tny4oQM.js → item-CfCrfeQL.js} +3 -3
- package/dist/cjs/{item-CWoQfEPo.js → item-DvddzW3M.js} +3 -3
- package/dist/cjs/{item-aV2WKcK3.js → item-dlea1NHr.js} +13 -13
- package/dist/cjs/{item-ZLQ1Yy47.js → item-nAB1wPvv.js} +7 -8
- package/dist/cjs/kol-abbr.cjs.entry.js +5 -5
- package/dist/cjs/kol-accordion.cjs.entry.js +10 -10
- package/dist/cjs/kol-alert.cjs.entry.js +15 -16
- package/dist/cjs/kol-avatar.cjs.entry.js +3 -3
- package/dist/cjs/kol-badge.cjs.entry.js +15 -16
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +13 -13
- package/dist/cjs/kol-button-link.cjs.entry.js +15 -16
- package/dist/cjs/kol-button.cjs.entry.js +15 -16
- package/dist/cjs/kol-card.cjs.entry.js +16 -17
- package/dist/cjs/kol-combobox.cjs.entry.js +26 -27
- package/dist/cjs/kol-details.cjs.entry.js +10 -10
- package/dist/cjs/kol-dialog.cjs.entry.js +18 -19
- package/dist/cjs/kol-drawer.cjs.entry.js +17 -18
- package/dist/cjs/kol-form.cjs.entry.js +15 -16
- package/dist/cjs/kol-heading.cjs.entry.js +5 -5
- package/dist/cjs/kol-icon.cjs.entry.js +5 -5
- package/dist/cjs/kol-image.cjs.entry.js +3 -3
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +29 -30
- package/dist/cjs/kol-input-color.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-date.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-email.cjs.entry.js +31 -32
- package/dist/cjs/kol-input-file.cjs.entry.js +24 -25
- package/dist/cjs/kol-input-number.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-password.cjs.entry.js +26 -27
- package/dist/cjs/kol-input-radio.cjs.entry.js +24 -25
- package/dist/cjs/kol-input-range.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-text.cjs.entry.js +26 -27
- package/dist/cjs/kol-kolibri.cjs.entry.js +5 -5
- package/dist/cjs/kol-link-button.cjs.entry.js +14 -14
- package/dist/cjs/kol-link.cjs.entry.js +14 -14
- package/dist/cjs/kol-meter.cjs.entry.js +5 -5
- package/dist/cjs/kol-modal.cjs.entry.js +18 -19
- package/dist/cjs/kol-nav.cjs.entry.js +18 -19
- package/dist/cjs/kol-pagination.cjs.entry.js +26 -28
- package/dist/cjs/kol-popover-button.cjs.entry.js +16 -17
- package/dist/cjs/kol-progress.cjs.entry.js +5 -5
- package/dist/cjs/kol-quote.cjs.entry.js +3 -3
- package/dist/cjs/kol-select.cjs.entry.js +23 -24
- package/dist/cjs/kol-single-select.cjs.entry.js +26 -27
- package/dist/cjs/kol-skip-nav.cjs.entry.js +13 -13
- package/dist/cjs/kol-spin.cjs.entry.js +6 -6
- package/dist/cjs/kol-split-button.cjs.entry.js +18 -19
- package/dist/cjs/kol-table-stateful.cjs.entry.js +31 -32
- package/dist/cjs/kol-table-stateless.cjs.entry.js +24 -25
- package/dist/cjs/kol-tabs.cjs.entry.js +14 -15
- package/dist/cjs/kol-textarea.cjs.entry.js +24 -25
- package/dist/cjs/kol-toast-container.cjs.entry.js +14 -15
- package/dist/cjs/kol-toolbar.cjs.entry.js +16 -17
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +7 -7
- package/dist/cjs/kol-tree-item.cjs.entry.js +12 -12
- package/dist/cjs/kol-tree.cjs.entry.js +3 -3
- package/dist/cjs/kol-version.cjs.entry.js +12 -13
- package/dist/cjs/kolibri.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{resolve-props-DhLgYN4l.js → resolve-props-BUSerQcI.js} +2 -2
- package/dist/cjs/{resolve-props-BpLJmK75.js → resolve-props-ClWlRbhz.js} +3 -4
- package/dist/cjs/{scroll-lock-C7PeigI_.js → scroll-lock-CSW_wA0P.js} +2 -2
- package/dist/cjs/{suggestions-CZjGY0Eu.js → suggestions-CIGYxDps.js} +2 -2
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-rQkcX4QY.js → toggle-handler-Cy5RcTS_.js} +4 -4
- package/dist/collection/collection-manifest.json +0 -7
- 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 +1 -1
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/avatar/component.js +1 -1
- package/dist/collection/components/badge/component.js +1 -1
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/component.js +1 -1
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/component.js +1 -1
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/component.js +1 -1
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/component.js +1 -1
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/component.js +3 -3
- 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 +1 -1
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/component.js +1 -1
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/component.js +1 -1
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/heading/component.js +1 -1
- package/dist/collection/components/icon/component.js +1 -1
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +1 -1
- package/dist/collection/components/input-checkbox/component.js +3 -3
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +2 -2
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +2 -2
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +1 -1
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +2 -2
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +2 -2
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +1 -1
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/component.js +1 -1
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/component.js +2 -2
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +1 -1
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/kolibri/component.js +1 -1
- package/dist/collection/components/link/component.js +1 -1
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/component.js +1 -1
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/meter/component.js +1 -1
- package/dist/collection/components/modal/component.js +1 -1
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/component.js +1 -1
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/component.js +7 -9
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +1 -1
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/progress/component.js +1 -1
- package/dist/collection/components/quote/component.js +1 -1
- package/dist/collection/components/select/component.js +1 -1
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/component.js +3 -3
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/component.js +1 -1
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/spin/component.js +1 -1
- package/dist/collection/components/split-button/component.js +1 -1
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +2 -2
- package/dist/collection/components/table-stateful/style.css +2 -2
- package/dist/collection/components/table-stateless/component.js +1 -1
- package/dist/collection/components/table-stateless/style.css +2 -2
- package/dist/collection/components/tabs/component.js +1 -1
- package/dist/collection/components/tabs/style.css +2 -2
- package/dist/collection/components/textarea/component.js +2 -2
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/shadow.js +1 -1
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +1 -1
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tooltip/component.js +1 -1
- package/dist/collection/components/tree/component.js +1 -1
- package/dist/collection/components/tree-item/component.js +1 -1
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/component.js +1 -1
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/internal/functional-components/pagination/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/item.js +3 -3
- package/dist/collection/schema/bem-registry.js +0 -15
- package/dist/components/base-web-component2.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/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/component10.js +1 -1
- package/dist/components/component11.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/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/field-control.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tooltip-wc.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/level.js +1 -1
- package/dist/components/props-from-config.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/esm/{Heading-Bj2Ma7Tr.js → Heading-wrhAEuG3.js} +1 -1
- package/dist/esm/{api-DhMNvXtN.js → api-7B_iI89k.js} +14 -14
- package/dist/esm/{app-globals-Dpmwwlv-.js → app-globals-tRqgHq3P.js} +2 -2
- package/dist/esm/{base-IzdO60L1.js → base-BDYPTFjC.js} +4 -4
- package/dist/esm/{base-CJ5WCVaj.js → base-BVztEKgJ.js} +17 -17
- package/dist/esm/{base-DV_Pzm7z.js → base-C32RNC8q.js} +5 -6
- package/dist/esm/{base-Ba-xzpOT.js → base-D_-9Lzkd.js} +4 -4
- package/dist/esm/{base-web-component-BB3dHStd.js → base-web-component-BUu68byc.js} +6 -6
- package/dist/esm/{base-web-component-ug9DZUOx.js → base-web-component-DdY5aIHN.js} +5 -5
- package/dist/esm/{behavior-BMXrK4gj.js → behavior-DN-22cB1.js} +2 -2
- package/dist/esm/{behavior-BgmZcrK6.js → behavior-DsTiTiJC.js} +2 -2
- package/dist/esm/{behavior-B4IW5_Qt.js → behavior-fGxZN96S.js} +1 -1
- package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-Crcs_65u.js} +0 -15
- package/dist/esm/{block-bem-BpQSY04L.js → block-bem-DehcAQZQ.js} +1 -1
- package/dist/esm/{component-BiYFPpjn.js → component-0IO2wu9i.js} +7 -7
- package/dist/esm/{component-DdIOGRgB.js → component-4xXBb7K-.js} +4 -4
- package/dist/esm/{component-scm3PBuq.js → component-BJ4gGOph.js} +2 -2
- package/dist/esm/{component-BvvE8aim.js → component-CPq3i3I_.js} +2 -2
- package/dist/esm/{component-ChtW1HQv.js → component-CTOYF3q6.js} +3 -3
- package/dist/esm/{component-BKfXEtN0.js → component-ChuoBFI-.js} +3 -3
- package/dist/esm/{component-Dt6efHXY.js → component-Cxdi6on4.js} +9 -8
- package/dist/esm/{component-Drxdk3mb.js → component-DHNcVTi0.js} +6 -6
- package/dist/esm/{component-gj7TBL0i.js → component-DWywPG_a.js} +6 -6
- package/dist/esm/{component-Ua7-J4C-.js → component-EK9BJR6z.js} +7 -7
- package/dist/esm/{component-C0zMsvYl.js → component-NEw1tN3M.js} +3 -3
- package/dist/esm/{component-C5QCCLLa.js → component-et0GdBuf.js} +2 -2
- package/dist/esm/{dev.utils-CwXr_J8N.js → dev.utils-Bg7nZBMk.js} +1 -1
- package/dist/esm/{devtools-QEDvmhav.js → devtools-nUT3JVTV.js} +2 -2
- package/dist/esm/{field-control-BOsAM8BW.js → field-control-D2tOd14v.js} +7 -7
- package/dist/esm/{group-D4WbZY27.js → group-CxWsx0aJ.js} +5 -5
- package/dist/esm/{index-D_P2XoAc.js → index-B_bJG8-2.js} +3 -32
- package/dist/esm/index.js +1 -1
- package/dist/esm/{input-C0kj1MmP.js → input-Ia9Z3AP7.js} +4 -4
- package/dist/esm/{input-container-B4TgBfDz.js → input-container-Y_8n5Sen.js} +6 -6
- package/dist/esm/{item-WrCdQw7F.js → item-BKVeXzUO.js} +13 -13
- package/dist/esm/{item-DRC1CmzC.js → item-BZtI88zF.js} +3 -3
- package/dist/esm/{item-e4SzwxHe.js → item-BjriQHQl.js} +3 -3
- package/dist/esm/{item-BMniY_My.js → item-BuqBMSYI.js} +6 -7
- package/dist/esm/kol-abbr.entry.js +5 -5
- package/dist/esm/kol-accordion.entry.js +10 -10
- package/dist/esm/kol-alert.entry.js +15 -16
- package/dist/esm/kol-avatar.entry.js +3 -3
- package/dist/esm/kol-badge.entry.js +15 -16
- package/dist/esm/kol-breadcrumb.entry.js +13 -13
- package/dist/esm/kol-button-link.entry.js +15 -16
- package/dist/esm/kol-button.entry.js +15 -16
- package/dist/esm/kol-card.entry.js +16 -17
- package/dist/esm/kol-combobox.entry.js +26 -27
- package/dist/esm/kol-details.entry.js +10 -10
- package/dist/esm/kol-dialog.entry.js +18 -19
- package/dist/esm/kol-drawer.entry.js +17 -18
- package/dist/esm/kol-form.entry.js +15 -16
- package/dist/esm/kol-heading.entry.js +5 -5
- package/dist/esm/kol-icon.entry.js +5 -5
- package/dist/esm/kol-image.entry.js +3 -3
- package/dist/esm/kol-input-checkbox.entry.js +29 -30
- package/dist/esm/kol-input-color.entry.js +25 -26
- package/dist/esm/kol-input-date.entry.js +25 -26
- package/dist/esm/kol-input-email.entry.js +31 -32
- package/dist/esm/kol-input-file.entry.js +24 -25
- package/dist/esm/kol-input-number.entry.js +25 -26
- package/dist/esm/kol-input-password.entry.js +26 -27
- package/dist/esm/kol-input-radio.entry.js +24 -25
- package/dist/esm/kol-input-range.entry.js +25 -26
- package/dist/esm/kol-input-text.entry.js +26 -27
- package/dist/esm/kol-kolibri.entry.js +5 -5
- package/dist/esm/kol-link-button.entry.js +14 -14
- package/dist/esm/kol-link.entry.js +14 -14
- package/dist/esm/kol-meter.entry.js +5 -5
- package/dist/esm/kol-modal.entry.js +18 -19
- package/dist/esm/kol-nav.entry.js +18 -19
- package/dist/esm/kol-pagination.entry.js +26 -28
- package/dist/esm/kol-popover-button.entry.js +16 -17
- package/dist/esm/kol-progress.entry.js +5 -5
- package/dist/esm/kol-quote.entry.js +3 -3
- package/dist/esm/kol-select.entry.js +23 -24
- package/dist/esm/kol-single-select.entry.js +26 -27
- package/dist/esm/kol-skip-nav.entry.js +13 -13
- package/dist/esm/kol-spin.entry.js +6 -6
- package/dist/esm/kol-split-button.entry.js +18 -19
- package/dist/esm/kol-table-stateful.entry.js +31 -32
- package/dist/esm/kol-table-stateless.entry.js +24 -25
- package/dist/esm/kol-tabs.entry.js +14 -15
- package/dist/esm/kol-textarea.entry.js +24 -25
- package/dist/esm/kol-toast-container.entry.js +14 -15
- package/dist/esm/kol-toolbar.entry.js +16 -17
- package/dist/esm/kol-tooltip-wc.entry.js +7 -7
- package/dist/esm/kol-tree-item.entry.js +12 -12
- package/dist/esm/kol-tree.entry.js +3 -3
- package/dist/esm/kol-version.entry.js +12 -13
- package/dist/esm/kolibri.js +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{resolve-props-CqTztQhV.js → resolve-props-BkF1VBBB.js} +2 -2
- package/dist/esm/{resolve-props-B-67viId.js → resolve-props-CHPFh7Tn.js} +2 -3
- package/dist/esm/{scroll-lock-CKnC0y0o.js → scroll-lock-D7Zo0QLt.js} +2 -2
- package/dist/esm/{suggestions-Be1_H9fA.js → suggestions-GEr-cvbz.js} +2 -2
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-Cjc991vd.js → toggle-handler-Bqoo8tCo.js} +4 -4
- package/dist/kolibri/Heading-wrhAEuG3.js +4 -0
- package/dist/kolibri/api-7B_iI89k.js +4 -0
- package/dist/kolibri/app-globals-tRqgHq3P.js +4 -0
- package/dist/kolibri/{base-IzdO60L1.js → base-BDYPTFjC.js} +1 -1
- package/dist/kolibri/base-BVztEKgJ.js +4 -0
- package/dist/kolibri/base-C32RNC8q.js +4 -0
- package/dist/kolibri/{base-Ba-xzpOT.js → base-D_-9Lzkd.js} +1 -1
- package/dist/kolibri/{base-web-component-BB3dHStd.js → base-web-component-BUu68byc.js} +1 -1
- package/dist/kolibri/{base-web-component-ug9DZUOx.js → base-web-component-DdY5aIHN.js} +1 -1
- package/dist/kolibri/behavior-DN-22cB1.js +4 -0
- package/dist/kolibri/{behavior-BgmZcrK6.js → behavior-DsTiTiJC.js} +1 -1
- package/dist/kolibri/{behavior-B4IW5_Qt.js → behavior-fGxZN96S.js} +1 -1
- package/dist/kolibri/bem-registry-Crcs_65u.js +4 -0
- package/dist/kolibri/block-bem-DehcAQZQ.js +4 -0
- package/dist/kolibri/component-0IO2wu9i.js +4 -0
- package/dist/kolibri/{component-DdIOGRgB.js → component-4xXBb7K-.js} +1 -1
- package/dist/kolibri/component-BJ4gGOph.js +4 -0
- package/dist/kolibri/component-CPq3i3I_.js +4 -0
- package/dist/kolibri/component-CTOYF3q6.js +4 -0
- package/dist/kolibri/{component-BKfXEtN0.js → component-ChuoBFI-.js} +1 -1
- package/dist/kolibri/component-Cxdi6on4.js +4 -0
- package/dist/kolibri/{component-Drxdk3mb.js → component-DHNcVTi0.js} +1 -1
- package/dist/kolibri/component-DWywPG_a.js +4 -0
- package/dist/kolibri/component-EK9BJR6z.js +4 -0
- package/dist/kolibri/{component-C0zMsvYl.js → component-NEw1tN3M.js} +1 -1
- package/dist/kolibri/{component-C5QCCLLa.js → component-et0GdBuf.js} +1 -1
- package/dist/kolibri/{dev.utils-CwXr_J8N.js → dev.utils-Bg7nZBMk.js} +1 -1
- package/dist/kolibri/{devtools-QEDvmhav.js → devtools-nUT3JVTV.js} +1 -1
- package/dist/kolibri/field-control-D2tOd14v.js +4 -0
- package/dist/kolibri/{group-D4WbZY27.js → group-CxWsx0aJ.js} +1 -1
- package/dist/kolibri/{index-D_P2XoAc.js → index-B_bJG8-2.js} +2 -2
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-Ia9Z3AP7.js +4 -0
- package/dist/kolibri/{input-container-B4TgBfDz.js → input-container-Y_8n5Sen.js} +1 -1
- package/dist/kolibri/item-BKVeXzUO.js +4 -0
- package/dist/kolibri/item-BZtI88zF.js +4 -0
- package/dist/kolibri/item-BjriQHQl.js +4 -0
- package/dist/kolibri/item-BuqBMSYI.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.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/resolve-props-BkF1VBBB.js +4 -0
- package/dist/kolibri/resolve-props-CHPFh7Tn.js +4 -0
- package/dist/kolibri/{scroll-lock-CKnC0y0o.js → scroll-lock-D7Zo0QLt.js} +1 -1
- package/dist/kolibri/suggestions-GEr-cvbz.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-Bqoo8tCo.js +4 -0
- package/dist/types/components/pagination/component.d.ts +1 -1
- package/dist/types/components.d.ts +3 -97
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +1 -1
- package/dist/types/schema/bem-registry.d.ts +0 -25
- package/dist/types/schema/components/pagination.d.ts +2 -2
- package/doc/pagination.md +13 -13
- package/doc/table-stateful.md +1 -1
- package/package.json +3 -3
- package/vscode-custom-data.json +0 -13
- package/dist/cjs/component-r497oHWq.js +0 -14
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
- package/dist/cjs/name-D4qpL1m-.js +0 -10
- package/dist/collection/components/click-button/component.js +0 -105
- package/dist/collection/components/skeleton/component.js +0 -215
- package/dist/collection/internal/functional-components/click-button/api.js +0 -7
- package/dist/collection/internal/functional-components/click-button/component.js +0 -9
- package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
- package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
- package/dist/components/component12.js +0 -4
- package/dist/components/kol-click-button.d.ts +0 -11
- package/dist/components/kol-click-button.js +0 -4
- package/dist/components/kol-skeleton.d.ts +0 -11
- package/dist/components/kol-skeleton.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/esm/component-Db9HadXA.js +0 -12
- package/dist/esm/kol-click-button.entry.js +0 -53
- package/dist/esm/kol-skeleton.entry.js +0 -105
- package/dist/esm/name-B2Yf3EpX.js +0 -8
- package/dist/kolibri/Heading-Bj2Ma7Tr.js +0 -4
- package/dist/kolibri/api-DhMNvXtN.js +0 -4
- package/dist/kolibri/app-globals-Dpmwwlv-.js +0 -4
- package/dist/kolibri/base-CJ5WCVaj.js +0 -4
- package/dist/kolibri/base-DV_Pzm7z.js +0 -4
- package/dist/kolibri/behavior-BMXrK4gj.js +0 -4
- package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
- package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
- package/dist/kolibri/component-BiYFPpjn.js +0 -4
- package/dist/kolibri/component-BvvE8aim.js +0 -4
- package/dist/kolibri/component-ChtW1HQv.js +0 -4
- package/dist/kolibri/component-Db9HadXA.js +0 -4
- package/dist/kolibri/component-Dt6efHXY.js +0 -4
- package/dist/kolibri/component-Ua7-J4C-.js +0 -4
- package/dist/kolibri/component-gj7TBL0i.js +0 -4
- package/dist/kolibri/component-scm3PBuq.js +0 -4
- package/dist/kolibri/field-control-BOsAM8BW.js +0 -4
- package/dist/kolibri/input-C0kj1MmP.js +0 -4
- package/dist/kolibri/item-BMniY_My.js +0 -4
- package/dist/kolibri/item-DRC1CmzC.js +0 -4
- package/dist/kolibri/item-WrCdQw7F.js +0 -4
- package/dist/kolibri/item-e4SzwxHe.js +0 -4
- package/dist/kolibri/kol-click-button.entry.js +0 -4
- package/dist/kolibri/kol-skeleton.entry.js +0 -4
- package/dist/kolibri/name-B2Yf3EpX.js +0 -4
- package/dist/kolibri/resolve-props-B-67viId.js +0 -4
- package/dist/kolibri/resolve-props-CqTztQhV.js +0 -4
- package/dist/kolibri/suggestions-Be1_H9fA.js +0 -4
- package/dist/kolibri/toggle-handler-Cjc991vd.js +0 -4
- package/dist/types/components/click-button/component.d.ts +0 -15
- package/dist/types/components/skeleton/component.d.ts +0 -26
- package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
- package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
- package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
- package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
- package/doc/skeleton.md +0 -54
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as s}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-
|
|
4
|
+
import{a as s}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-B_bJG8-2.js";import{b as i}from"./bem-registry-Crcs_65u.js";import{c as r}from"./clsx-COFh-Vc8.js";const a=i.forBlock("kol-icon"),e=a(),l=a("icon"),c=i=>{var{class:a,icons:c,label:t}=i,n=s(i,["class","icons","label"]);const m=(null==t?void 0:t.length)>0;return o("i",Object.assign({},n,{"aria-hidden":m?void 0:"true","aria-label":m?t:void 0,class:r(e,l,c,a),role:m?"img":"presentation"}))};export{c as I}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{L as t,q as n,t as e,v as o,x as i,y as s}from"./common-OzsC_6kt.js";import{E as a}from"./index-
|
|
4
|
+
import{L as t,q as n,t as e,v as o,x as i,y as s}from"./common-OzsC_6kt.js";import{E as a}from"./index-B_bJG8-2.js";const r=()=>{let t=i().KoliBri;return void 0===t&&(t={},Object.defineProperty(i(),"KoliBri",{value:t,writable:!1})),t},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const t=n();if(!t||"function"!=typeof t.querySelector)return;const i=t.querySelector('meta[name="kolibri"]');if(i&&i.hasAttribute("content")){const t=i.getAttribute("content");"string"==typeof t&&(e(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}}catch(t){}})(),t.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${a.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),t.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);s()&&(m=()=>"nonce");const p=t=>`${t}-${m()}`,b=(t,n)=>{const e=t.lastIndexOf("-");if(-1===e)return`${t}-${n}`;const o=t.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${t.slice(0,e)}-${n}-${o}`:`${t}-${n}`};export{b as a,p as c,u as i,m as n,l as r}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{I as t,L as o,q as i,x as e,J as n,H as l,M as s,N as r,O as a,p as c,P as d,C as p,Q as u}from"./common-OzsC_6kt.js";import{i as f,r as m}from"./dev.utils-
|
|
4
|
+
import{I as t,L as o,q as i,x as e,J as n,H as l,M as s,N as r,O as a,p as c,P as d,C as p,Q as u}from"./common-OzsC_6kt.js";import{i as f,r as m}from"./dev.utils-Bg7nZBMk.js";import"./index-B_bJG8-2.js";function L(t,i){try{Object.defineProperty((()=>{let t=e().KoliBri;return void 0===t&&(t={},Object.defineProperty(e(),"KoliBri",{value:t,writable:!1})),t})(),t,{get:function(){return i}})}catch(i){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,i)=>o.debug(`${t} ${i?"":"not "}activated`),y=()=>{if(f(),t()&&(m(),L("a11yColorContrast",n),L("querySelector",l),L("querySelectorAll",s),L("querySelectorColors",r),L("utils",(function(){return a})),L("parseJson",c),L("stringifyJson",d),v("Development mode",t()),v("Experimental mode",p()),v("Color contrast analysis",u()),setTimeout((()=>{try{const t=i(),o=null==t?void 0:t.body;if(t&&o&&"function"==typeof t.createElement){const i=t.createElement("svg");i.setAttribute("aria-label","KoliBri-DevTools"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("role","toolbar"),i.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),i.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(i)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}}),100),u())){const t=setTimeout((()=>{clearTimeout(t);try{const t=i(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval((()=>{a.queryHtmlElementColors(t.createElement("div"),n(o),!1,!1)}),1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}}),2500)}};export{y as initialize}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-B_bJG8-2.js";import"./common-OzsC_6kt.js";import{s as l,b as i}from"./component-NEw1tN3M.js";import{a,g as r,b as s,i as t}from"./api-7B_iI89k.js";import{b as n}from"./bem-registry-Crcs_65u.js";import{a as d}from"./dev.utils-Bg7nZBMk.js";import{B as b}from"./component-BJ4gGOph.js";import{T as p}from"./component-ChuoBFI-.js";const c=n.forBlock("kol-field-control"),m=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,f=(n,f)=>{const{class:h,id:g,label:u,hint:j,hideLabel:B,labelAlign:k,infoPopover:y,accessKey:N,shortKey:O,tooltipAlign:v,disabled:T,msg:_,touched:K,required:P,readOnly:C,renderNoHint:I,renderNoTooltip:x,labelProps:A,refInput:L,refTooltip:q}=n,F=e(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),E=l(u),G=m({hideLabel:B,label:u,renderNoTooltip:x}),H=i(N,O),J=t(_,K),M=()=>o("div",{class:c("input"),ref:L},f),w=()=>G?o("div",{class:"kol-form-field__tooltip"},o(p,{badgeText:H||"",label:u,align:v,id:d(g,"label"),refFloating:q})):null,z=()=>o(s,Object.assign({},A,{id:g,baseClassName:"kol-field-control",class:B?"kol-field-control__label--visually-hidden":void 0,omitId:G,hasExpertSlot:E,label:u,accessKey:N,shortKey:O,infoPopover:y}));return o(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(T),required:Boolean(P),touched:Boolean(K),"hide-label":Boolean(B),"read-only":Boolean(C)},J?{[r(_)]:!0}:{}),{"label-align-left":"left"===k,"label-align-right":"right"===k}),class:h},F),"left"===k?[z(),M(),w()]:[M(),w(),z()],!I&&o(a,{baseClassName:"kol-field-control",id:g,hint:j}))};export{f as F,m as i}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as s,n as i}from"./props-from-config-Ci0dILpz.js";import{h as o}from"./index-
|
|
4
|
+
import{c as s,n as i}from"./props-from-config-Ci0dILpz.js";import{h as o}from"./index-B_bJG8-2.js";import{g as t}from"./block-bem-DehcAQZQ.js";import{a as e}from"./dev.utils-Bg7nZBMk.js";import{B as n}from"./api-7B_iI89k.js";import{b as r}from"./bem-registry-Crcs_65u.js";const a=s("hasClearButton",!0,i),h=t("kol-custom-suggestions-options-group"),l=t("kol-custom-suggestions-option"),c=({blockSuggestionMouseOver:s,onKeyDown:i,style:t,hidden:e,id:n},r)=>o("ul",{id:n,role:"listbox",style:t,class:h({"cursor-hidden":s,open:!e}),hidden:e,onKeyDown:i},r),d=({disabled:s,id:i,index:t,ref:e,selected:n,onClick:r,onMouseOver:a,onFocus:h,onKeyDown:c,option:d,searchTerm:u})=>o("li",{id:i,key:`-${t}`,ref:e,"data-index":t,tabIndex:-1,role:"option","aria-selected":n?"true":void 0,"aria-disabled":s?"true":void 0,onClick:r,onMouseOver:a,onFocus:h,class:l({disabled:Boolean(s)}),onKeyDown:c},o("span",null,((s,i)=>{if(!(null==i?void 0:i.trim()))return s;const t=new RegExp(`(${i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return s.split(t).map(((s,i)=>i%2==1?o("mark",null,s):s))})(String(d),u||"")));class u extends n{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(s){return e(this.id,`option-${s}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(s){var i;this.focusedIndex=s,null===(i=this.optionRefs[s])||void 0===i||i.focus()}moveFocusWrapping(s){let i=this.focusedIndex+s;const o=this.getOptionCount();i>=o&&(i=0),i<0&&(i=o-1),this.focusOption(i)}moveFocusSkippingDisabled(s,i,o){const t=this.getOptionCount();let e=this.focusedIndex+s;for(let s=0;s<t;s++){if(e>=t&&(e=0),e<0&&(e=t-1),!o(e))return void this.focusOption(e);e+=i}}handleListboxEvent(s,i,o){var t;s.preventDefault(),void 0!==i&&(this.isOpen=i,i||null===(t=this.ctaRef.el)||void 0===t||t.focus()),null==o||o()}handleListboxKeyDown(s){var i,o;switch(s.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0;const i=this.isOpen;this.handleListboxEvent(s,!0,(()=>i?this.moveFocus(-1,-1):this.focusLastOption()));break}case"Tab":this.isOpen&&(this.isOpen=!1,null===(i=this.ctaRef.el)||void 0===i||i.focus());break;case"Esc":case"Escape":this.isOpen&&(s.preventDefault(),this.isOpen=!1,null===(o=this.ctaRef.el)||void 0===o||o.focus());break;case" ":case"Enter":case"NumpadEnter":this.handleConfirmKey(s);break;case"Home":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusFirstOption())));break;case"End":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusLastOption())));break;case"PageUp":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}}const p={"kol-combobox":r.forBlock("kol-combobox")("group"),"kol-single-select":r.forBlock("kol-single-select")("group")},b=({block:s},i)=>o("div",{class:p[s]},i);export{u as B,d as C,b as L,c as a,a as h}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import"./common-OzsC_6kt.js";const t="hydrated",n={kolibriVersion:"4.6.0-rc.0"};var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),l="type",s="value",r="serialized:";function i(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var c,u=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=i(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},a=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&u(t,n))},d=(t,n)=>n in t,p=(t,n)=>(0,console.error)(t,n),h=new Map,v=new Map,$=new Map,m=[],y="s-id",b="sty-id",g="c-id",w="http://www.w3.org/1999/xlink",j="undefined"!=typeof window?window:{},O={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},S=t=>Promise.resolve(t),k=(()=>{try{return!!j.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),x=!!k&&(()=>!!j.document&&Object.getOwnPropertyDescriptor(j.document.adoptedStyleSheets,"length").writable)(),E=!1,M=[],N=[],C=()=>{var t;return(null==(t=j.document)?void 0:t.hidden)?setTimeout(L,16):O.raf(L)},I=(t,n)=>e=>{t.push(e),E||(E=!0,n&&4&O.u?T(L):C())},A=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){p(t)}t.length=0},L=()=>{A(M),A(N),(E=M.length>0)&&C()},T=t=>S().then(t),D=I(N,!0);function R(){const t=this.attachShadow({mode:"open"});void 0===c&&(c=null),c&&(x?t.adoptedStyleSheets.push(c):t.adoptedStyleSheets=[...t.adoptedStyleSheets,c])}var P=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,r=U(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=U(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]};function U(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function V(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var H=new WeakMap,_=(t,n,e)=>{let o=$.get(t);k&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,$.set(t,o)},z=(t,n,e)=>{var o,l,s;const r=F(n,e),i=$.get(r);if(!j.document)return r;if(t=11===t.nodeType?t:j.document,i)if("string"==typeof i){let e,s=H.get(t=t.head||t);s||H.set(t,s=new Set);const c=t.querySelector(`[${b}="${r}"]`);if(c)c.textContent=i;else if(!s.has(r)){e=j.document.createElement("style"),e.textContent=i;const c=null!=(o=O.h)?o:V(j.document);if(null!=c&&e.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),o=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(e,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(k){const n=new(null!=(l=t.defaultView)?l:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),x?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(e)}else t.append(e);1&n.u&&t.insertBefore(e,null),4&n.u&&(e.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),s&&s.add(r)}}else{let n=H.get(t);if(n||H.set(t,n=new Set),!n.has(r)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}if(x?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(r),"host"in t){const n=t.querySelector(`[${b}="${r}"]`);n&&D((()=>n.remove()))}}}return r},F=(t,n)=>"sc-"+(n&&32&t.u?t.v+"-"+n:t.v),B=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),W=t=>"object"==(t=typeof t)||"function"===t,q=(t,n,...e)=>{let o=null,l=null,s=!1,r=!1;const i=[],c=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))c(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!W(o))o+="";else if("function"!=typeof t&&void 0===o.u){p("Invalid vNode child");continue}s&&r?i[i.length-1].$+=o:i.push(s?Y(null,o):o),r=s}};if(c(e),n){n.key&&(l=n.key);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,i,J);const u=Y(t,null);return u.m=n,i.length>0&&(u.j=i),u.O=l,u},Y=(t,n)=>({u:0,S:t,$:null!=n?n:null,k:null,j:null,m:null,O:null}),G={},J={forEach:(t,n)=>t.map(Z).forEach(n),map:(t,n)=>t.map(Z).map(n).map(K)},Z=t=>({vattrs:t.m,vchildren:t.j,vkey:t.O,vname:t.M,vtag:t.S,vtext:t.$}),K=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),q(t.vtag,n,...t.vchildren||[])}const n=Y(t.vtag,t.vtext);return n.m=t.vattrs,n.j=t.vchildren,n.O=t.vkey,n.M=t.vname,n},Q=(t,n,e,o,l,s,r,i=[])=>{let c,u,f,a;if(1===s.nodeType){if(c=s.getAttribute(g),c&&(u=c.split("."),u[0]===r||"0"===u[0])){f=tt({u:0,N:u[0],C:u[1],I:u[2],A:u[3],S:s.tagName.toLowerCase(),k:s,m:{class:s.className||""}}),n.push(f),s.removeAttribute(g),t.j||(t.j=[]);const l=f.k.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.S&&nt(l,u[2],f,s,t,n,e,o,i),f.k["s-sn"]=l,f.k.removeAttribute("s-sn")),void 0!==f.A&&(t.j[f.A]=f),t=f,o&&"0"===f.I&&(o[f.A]=f.k)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)Q(t,n,e,o,l,s.shadowRoot.childNodes[a],r,i);const d=s.__childNodes||s.childNodes;for(a=d.length-1;a>=0;a--)Q(t,n,e,o,l,d[a],r,i)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===r||"0"===u[1])&&(c=u[0],f=tt({N:u[1],C:u[2],I:u[3],A:u[4]||"0",k:s,m:null,j:null,O:null,M:null,S:null,$:null}),"t"===c?(f.k=ot(s,3),f.k&&3===f.k.nodeType&&(f.$=f.k.textContent,n.push(f),s.remove(),r===f.N&&(t.j||(t.j=[]),t.j[f.A]=f),o&&"0"===f.I&&(o[f.A]=f.k))):"c"===c?(f.k=ot(s,8),f.k&&8===f.k.nodeType&&(n.push(f),s.remove())):f.N===r&&("s"===c?nt(s["s-sn"]=u[5]||"",u[2],f,s,t,n,e,o,i):"r"===c&&o&&s.remove()));else if(t&&"style"===t.S){const n=Y(null,s.textContent);n.k=s,n.A="0",t.j=[n]}return t},X=(t,n)=>{if(1===t.nodeType){const e=t[y]||t.getAttribute(y);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)X(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)X(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},tt=t=>({u:0,N:null,C:null,I:null,A:"0",k:null,m:null,j:null,O:null,M:null,S:null,$:null,...t});function nt(t,n,e,o,l,s,r,i,c){o["s-sr"]=!0,e.M=t||null,e.S="slot";const u=(null==l?void 0:l.k)?l.k["s-id"]||l.k.getAttribute("s-id"):"";if(i&&j.document){const s=e.k=j.document.createElement(e.S);e.M&&e.k.setAttribute("name",t),l.k.shadowRoot&&u&&u!==e.N?U(l.k,"insertBefore")(s,U(l.k,"children")[0]):U(U(o,"parentNode"),"insertBefore")(s,o),et(c,n,t,o,e.N),o.remove(),"0"===e.I&&(i[e.A]=e.k)}else{const s=e.k,r=u&&u!==e.N&&l.k.shadowRoot;et(c,n,t,o,r?u:e.N),function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===(t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0)(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(o),r&&l.k.insertBefore(s,l.k.children[0])}s.push(e),r.push(e),l.j||(l.j=[]),l.j[e.A]=e}var et=(t,n,e,o,l)=>{var s,r;let i=o.nextSibling;if(t[n]=t[n]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==e&&(""!==e||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=e,t[n].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},ot=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},lt=t=>{m.length=0,m.push(t)},st=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},rt=class t{static fromLocalValue(n){const e=n[l],o=s in n?n[s]:void 0;switch(e){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((n=>t.fromLocalValue(n)));case"date":return new Date(o);case"map":const n=new Map;for(const[e,l]of o){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(l);n.set(o,s)}return n;case"object":const l={};for(const[n,e]of o)l[n]=t.fromLocalValue(e);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const n of o)i.add(t.fromLocalValue(n));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const n=t[l];return!!Object.values({...e,...o}).includes(n)&&("null"===n||"undefined"===n||t.hasOwnProperty(s))}};var it,ct=(t,n)=>"string"==typeof t&&t.startsWith(r)?t=function(t){return"string"==typeof t&&t.startsWith(r)?rt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(t.slice(11)))):t}(t):null==t||W(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,ut=t=>{var n;return null==(n=f(t))?void 0:n.$hostElement$},ft=(t,n)=>{const e=ut(t);return{emit:t=>at(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},at=(t,n,e)=>{const o=O.ce(n,e);return t.dispatchEvent(o),o},dt=(t,n,e,o,l,s,r)=>{if(e===o)return;let i=d(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,l=mt(e);let i=mt(o);if((t["s-si"]||t["s-sc"])&&r){const e=t["s-sc"]||t["s-si"];i.push(e),l.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else{let e=l.filter((t=>t&&!i.includes(t)));if(r&&!(4&s)){const n=$t(t);e=e.filter((t=>!n.includes(t)))}n.remove(...e),n.add(...i.filter((t=>t&&!l.includes(t))))}}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&At(o,t);else if(i||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=f(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const r=W(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?i=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,u=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&s&&!ht(n))&&(u?t.removeAttributeNS(w,n):t.removeAttribute(n)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(w,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):d(j,c)?c.slice(2):c[2]+n.slice(3),e||o){const l=n.endsWith(yt);n=n.replace(bt,""),e&&O.rel(t,n,e,l),o&&O.ael(t,n,o,l)}},pt=new Set(["draggable","contenteditable","spellcheck"]),ht=t=>pt.has(t)||t.startsWith("aria-"),vt=/\s/,$t=n=>{var e,o,l;const s=f(n);if(!(s&&2&s.u))return[];const r=mt(null==(o=null==(e=s.L)?void 0:e.m)?void 0:o.class);return r.push(null!=(l=t)?l:"hydrated"),r},mt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(vt):[]),yt="Capture",bt=RegExp(yt+"$"),gt=(t,n,e,o)=>{const l=11===n.k.nodeType&&n.k.host?n.k.host:n.k,s=t&&t.m||{},r=n.m||{};for(const t of wt(Object.keys(s)))t in r||dt(l,t,s[t],void 0,e,n.u,o);for(const t of wt(Object.keys(r)))dt(l,t,s[t],r[t],e,n.u,o)};function wt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var jt=!1,Ot=!1,St=[],kt=[],xt=(t,n,e)=>{const o=n.j[e];let l,s,r=0;if(null!=o.$)l=o.k=j.document.createTextNode(o.$);else{if(Ot||(Ot="svg"===o.S),!j.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.k=j.document.createElementNS(Ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),Ot&&"foreignObject"===o.S&&(Ot=!1),gt(null,o,Ot),o.j){const n="template"===o.S?l.content:l;for(r=0;r<o.j.length;++r)s=xt(t,o,r),s&&n.appendChild(s)}"svg"===o.S?Ot=!1:"foreignObject"===l.tagName&&(Ot=!0)}return l["s-hn"]=it,l},Et=(t,n,e,o,l,s)=>{let r,i=t;for(i.shadowRoot&&i.tagName===it&&(i=i.shadowRoot),"template"===e.S&&(i=i.content);l<=s;++l)o[l]&&(r=xt(null,e,l),r&&(o[l].k=r,Lt(i,r,n)))},Mt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;It(n),t&&t.remove()}}},Nt=(t,n,e=!1)=>t.S===n.S&&(e?(e&&!t.O&&n.O&&(t.O=n.O),!0):t.O===n.O),Ct=(t,n,e=!1)=>{const o=n.k=t.k,l=t.j,s=n.j,r=n.S,i=n.$;null==i?(Ot="svg"===r||"foreignObject"!==r&&Ot,"slot"!==r||jt||t.M!==n.M&&(n.k["s-sn"]=n.M||"",(t=>{O.u|=1;const n=t.closest(it.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(Lt(n,t,null!=e?e:null),t["s-sh"]=void 0)}O.u&=-2})(n.k.parentElement)),gt(t,n,Ot,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],$=o[h];const m="template"===e.S?t.content:t;for(;i<=a&&c<=h;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--h];else if(Nt(d,v,l))Ct(d,v,l),d=n[++i],v=o[++c];else if(Nt(p,$,l))Ct(p,$,l),p=n[--a],$=o[--h];else if(Nt(d,$,l))Ct(d,$,l),Lt(m,d.k,p.k.nextSibling),d=n[++i],$=o[--h];else if(Nt(p,v,l))Ct(p,v,l),Lt(m,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].O&&n[f].O===v.O){u=f;break}u>=0?(r=n[u],r.S!==v.S?s=xt(n&&n[c],e,c):(Ct(r,v,l),n[u]=void 0,s=r.k),v=o[++c]):(s=xt(n&&n[c],e,c),v=o[++c]),s&&Lt(d.k.parentNode,s,d.k)}i>a?Et(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&Mt(n,i,a)})(o,l,n,s,e):null!==s?(null!==t.$&&(o.textContent=""),Et(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.j=l):Mt(l,0,l.length-1),Ot&&"svg"===r&&(Ot=!1)):t.$!==i&&(o.data=i)},It=t=>{t.m&&t.m.ref&&St.push((()=>t.m.ref(null))),t.j&&t.j.map(It)},At=(t,n)=>{kt.push((()=>t(n)))},Lt=(t,n,e)=>null==t?void 0:t.insertBefore(n,e),Tt=(t,n)=>{if(n&&!t.T&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.T=()=>{n["s-p"].splice(e-1,1),o()})))}},Dt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Tt(t,t.D);const e=()=>Rt(t,n);if(!n)return e();queueMicrotask((()=>{e()}))},Rt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.u|=256,t.R&&(t.R.map((([t,n])=>Bt(o,t,n,e))),t.R=void 0),t.P.length&&t.P.forEach((t=>t(e))),l=Bt(o,"componentWillLoad",void 0,e)):l=Bt(o,"componentWillUpdate",void 0,e),l=Pt(l,(()=>Bt(o,"componentWillRender",void 0,e))),Pt(l,(()=>Vt(t,o,n)))},Pt=(t,n)=>Ut(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Vt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,l=z(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.U);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);Ht(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>_t(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Ht=(t,n,e,o)=>{try{n=n.render&&n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{const o=t.$hostElement$,l=t.o,s=t.L||Y(null,null),r=(t=>t&&t.S===G)(n)?n:q(null,null,n);if(it=o.tagName,l.V&&(r.m=r.m||{},l.V.forEach((([t,n])=>{r.m[n]=o[t]}))),e&&r.m)for(const t of Object.keys(r.m))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.m[t]=o[t]);r.S=null,r.u|=4,t.L=r,r.k=s.k=o.shadowRoot||o,jt=!(!(1&l.u)||128&l.u),Ct(s,r,e),St.forEach((t=>t())),St.length=0,kt.forEach((t=>t())),kt.length=0})(t,n,o)}catch(n){p(n,t.$hostElement$)}return null},_t=t=>{const n=t.$hostElement$,e=t.i,o=t.D;Bt(e,"componentDidRender",void 0,n),64&t.u?Bt(e,"componentDidUpdate",void 0,n):(t.u|=64,Wt(n),Bt(e,"componentDidLoad",void 0,n),t.H(n),o||Ft()),t._(n),t.T&&(t.T(),t.T=void 0),512&t.u&&T((()=>Dt(t,!1))),t.u&=-517},zt=t=>{var n;{const e=f(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Dt(e,!1),o}},Ft=()=>{var t;T((()=>at(j,"appload",{detail:{namespace:"kolibri"}}))),(null==(t=O.F)?void 0:t.size)&&O.F.clear()},Bt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){p(t,o)}},Wt=n=>{var e;return n.classList.add(null!=(e=t)?e:"hydrated")},qt=(t,n)=>f(t).l.get(n),Yt=(t,n,e,o)=>{const l=f(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l.l.get(n),i=l.u,c=l.i;if(e=ct(e,o.t[n][0]),!(8&i&&void 0!==r||e===r||Number.isNaN(r)&&Number.isNaN(e))){if(l.l.set(n,e),o.B){const t=o.B[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&i||1&s)&&(c?c[o](e,r,n):l.P.push((()=>{l.i[o](e,r,n)})))}catch(t){p(t,s)}}))}if(2&i){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,r,n)&&!(16&i))return;16&i||Dt(l,!1)}}},Gt=(t,n,e)=>{var o,l;const s=t.prototype;{t.watchers&&!n.B&&(n.B=st(t.watchers)),t.deserializers&&!n.W&&(n.W=t.deserializers),t.serializers&&!n.q&&(n.q=t.serializers);const r=Object.entries(null!=(o=n.t)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:l,set:r}=i(s,t)||{};l&&(n.t[t][0]|=2048),r&&(n.t[t][0]|=4096),(1&e||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.t[t][0]))return qt(this,t);const e=f(this);return e?e.i?e.i[t]:qt(this,t):s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=f(this);if(s){if(r)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(l=s.l.get(t)),r.call(this,ct(l,o)),void Yt(this,t,l=32&o?this[t]:s.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return void Yt(this,t,l,n);const r=ct(l,o);if(s.i){const e=s.i[t];!s.l.get(t)&&e&&s.l.set(t,e),s.i[t]=r,Yt(this,t,s.i[t],n)}else s.l.set(t,r)}}}})}else 1&e&&64&o&&Object.defineProperty(s,t,{value(...n){var e;const o=f(this);return null==(e=null==o?void 0:o.Y)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;s.attributeChangedCallback=function(t,o,l){O.jmp((()=>{var i;const c=e.get(t),u=f(this);if(this.hasOwnProperty(c)&&(l=this[c],delete this[c]),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==u?void 0:u.u;if(u&&e&&!(8&e)&&l!==o){const s=u.i,r=null==(i=n.B)?void 0:i[t];null==r||r.forEach((n=>{const[[r,i]]=Object.entries(n);null!=s[r]&&(128&e||1&i)&&s[r].call(s,l,o,t)}))}return}const a=r.find((([t])=>t===c)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!W(this[c])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[c])===l)return;const h=p&&null===l&&void 0===this[c];p&&(l=null!==l&&"false"!==l);const v=Object.getOwnPropertyDescriptor(s,c);h||l==this[c]||v.get&&!v.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.B)?l:{}),...r.filter((([t,n])=>31&n[0])).map((([t,o])=>{var l;const s=o[1]||t;return e.set(s,t),512&o[0]&&(null==(l=n.V)||l.push([t,s])),s}))]))}}return t},Jt=async(t,n,e)=>{var o;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.G){const s=((t,n)=>{var e;const o=t.v.replace(/-/g,"_"),l=t.G;if(!l)return;const s=h.get(l);if(s)return s[o];const r=null!=(e=v.get(l))?e:0,i=[r>0?"s-retry="+r:"",""].filter(Boolean).join("&");
|
|
4
|
+
import"./common-OzsC_6kt.js";const t="hydrated",n={kolibriVersion:"4.6.0-rc.1"};var e=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(e||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),l="type",s="value",r="serialized:";function i(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var c,u=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],l=i(Object.getPrototypeOf(t),e,!0)||Object.getOwnPropertyDescriptor(t,e);l&&Object.defineProperty(t,e,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(e)?t[e]=n.l.get(e):void 0!==o&&(t[e]=o)}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},a=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&u(t,n))},d=(t,n)=>n in t,p=(t,n)=>(0,console.error)(t,n),h=new Map,v=new Map,$=new Map,m=[],y="s-id",b="sty-id",g="c-id",w="http://www.w3.org/1999/xlink",j="undefined"!=typeof window?window:{},O={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},S=t=>Promise.resolve(t),k=(()=>{try{return!!j.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),x=!!k&&(()=>!!j.document&&Object.getOwnPropertyDescriptor(j.document.adoptedStyleSheets,"length").writable)(),E=!1,M=[],N=[],C=()=>{var t;return(null==(t=j.document)?void 0:t.hidden)?setTimeout(L,16):O.raf(L)},I=(t,n)=>e=>{t.push(e),E||(E=!0,n&&4&O.u?T(L):C())},A=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){p(t)}t.length=0},L=()=>{A(M),A(N),(E=M.length>0)&&C()},T=t=>S().then(t),D=I(N,!0);function R(){const t=this.attachShadow({mode:"open"});void 0===c&&(c=null),c&&(x?t.adoptedStyleSheets.push(c):t.adoptedStyleSheets=[...t.adoptedStyleSheets,c])}var P=(t,n,e,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const l=document.createTextNode("");if(l["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode,r=U(s,"appendChild");if(void 0!==o){l["s-oo"]=o;const t=U(s,"childNodes"),n=[l];t.forEach((t=>{t["s-nr"]&&n.push(t)})),n.sort(((t,n)=>!t["s-oo"]||t["s-oo"]<(n["s-oo"]||0)?-1:!n["s-oo"]||n["s-oo"]<t["s-oo"]?1:0)),n.forEach((t=>r.call(s,t)))}else r.call(s,l);t["s-ol"]=l,t["s-sh"]=n["s-hn"]};function U(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function V(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var H=new WeakMap,_=(t,n,e)=>{let o=$.get(t);k&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,$.set(t,o)},z=(t,n,e)=>{var o,l,s;const r=F(n,e),i=$.get(r);if(!j.document)return r;if(t=11===t.nodeType?t:j.document,i)if("string"==typeof i){let e,s=H.get(t=t.head||t);s||H.set(t,s=new Set);const c=t.querySelector(`[${b}="${r}"]`);if(c)c.textContent=i;else if(!s.has(r)){e=j.document.createElement("style"),e.textContent=i;const c=null!=(o=O.h)?o:V(j.document);if(null!=c&&e.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),o=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(e,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(k){const n=new(null!=(l=t.defaultView)?l:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),x?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(e)}else t.append(e);1&n.u&&t.insertBefore(e,null),4&n.u&&(e.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),s&&s.add(r)}}else{let n=H.get(t);if(n||H.set(t,n=new Set),!n.has(r)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}if(x?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(r),"host"in t){const n=t.querySelector(`[${b}="${r}"]`);n&&D((()=>n.remove()))}}}return r},F=(t,n)=>"sc-"+(n&&32&t.u?t.v+"-"+n:t.v),B=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),W=t=>"object"==(t=typeof t)||"function"===t,q=(t,n,...e)=>{let o=null,l=null,s=!1,r=!1;const i=[],c=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))c(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!W(o))o+="";else if("function"!=typeof t&&void 0===o.u){p("Invalid vNode child");continue}s&&r?i[i.length-1].$+=o:i.push(s?Y(null,o):o),r=s}};if(c(e),n){n.key&&(l=n.key);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,i,J);const u=Y(t,null);return u.m=n,i.length>0&&(u.j=i),u.O=l,u},Y=(t,n)=>({u:0,S:t,$:null!=n?n:null,k:null,j:null,m:null,O:null}),G={},J={forEach:(t,n)=>t.map(Z).forEach(n),map:(t,n)=>t.map(Z).map(n).map(K)},Z=t=>({vattrs:t.m,vchildren:t.j,vkey:t.O,vname:t.M,vtag:t.S,vtext:t.$}),K=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),q(t.vtag,n,...t.vchildren||[])}const n=Y(t.vtag,t.vtext);return n.m=t.vattrs,n.j=t.vchildren,n.O=t.vkey,n.M=t.vname,n},Q=(t,n,e,o,l,s,r,i=[])=>{let c,u,f,a;if(1===s.nodeType){if(c=s.getAttribute(g),c&&(u=c.split("."),u[0]===r||"0"===u[0])){f=tt({u:0,N:u[0],C:u[1],I:u[2],A:u[3],S:s.tagName.toLowerCase(),k:s,m:{class:s.className||""}}),n.push(f),s.removeAttribute(g),t.j||(t.j=[]);const l=f.k.getAttribute("s-sn");"string"==typeof l&&("slot-fb"===f.S&&nt(l,u[2],f,s,t,n,e,o,i),f.k["s-sn"]=l,f.k.removeAttribute("s-sn")),void 0!==f.A&&(t.j[f.A]=f),t=f,o&&"0"===f.I&&(o[f.A]=f.k)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)Q(t,n,e,o,l,s.shadowRoot.childNodes[a],r,i);const d=s.__childNodes||s.childNodes;for(a=d.length-1;a>=0;a--)Q(t,n,e,o,l,d[a],r,i)}else if(8===s.nodeType)u=s.nodeValue.split("."),(u[1]===r||"0"===u[1])&&(c=u[0],f=tt({N:u[1],C:u[2],I:u[3],A:u[4]||"0",k:s,m:null,j:null,O:null,M:null,S:null,$:null}),"t"===c?(f.k=ot(s,3),f.k&&3===f.k.nodeType&&(f.$=f.k.textContent,n.push(f),s.remove(),r===f.N&&(t.j||(t.j=[]),t.j[f.A]=f),o&&"0"===f.I&&(o[f.A]=f.k))):"c"===c?(f.k=ot(s,8),f.k&&8===f.k.nodeType&&(n.push(f),s.remove())):f.N===r&&("s"===c?nt(s["s-sn"]=u[5]||"",u[2],f,s,t,n,e,o,i):"r"===c&&o&&s.remove()));else if(t&&"style"===t.S){const n=Y(null,s.textContent);n.k=s,n.A="0",t.j=[n]}return t},X=(t,n)=>{if(1===t.nodeType){const e=t[y]||t.getAttribute(y);e&&n.set(e,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)X(t.shadowRoot.childNodes[o],n);const l=t.__childNodes||t.childNodes;for(o=0;o<l.length;o++)X(l[o],n)}else if(8===t.nodeType){const e=t.nodeValue.split(".");"o"===e[0]&&(n.set(e[1]+"."+e[2],t),t.nodeValue="",t["s-en"]=e[3])}},tt=t=>({u:0,N:null,C:null,I:null,A:"0",k:null,m:null,j:null,O:null,M:null,S:null,$:null,...t});function nt(t,n,e,o,l,s,r,i,c){o["s-sr"]=!0,e.M=t||null,e.S="slot";const u=(null==l?void 0:l.k)?l.k["s-id"]||l.k.getAttribute("s-id"):"";if(i&&j.document){const s=e.k=j.document.createElement(e.S);e.M&&e.k.setAttribute("name",t),l.k.shadowRoot&&u&&u!==e.N?U(l.k,"insertBefore")(s,U(l.k,"children")[0]):U(U(o,"parentNode"),"insertBefore")(s,o),et(c,n,t,o,e.N),o.remove(),"0"===e.I&&(i[e.A]=e.k)}else{const s=e.k,r=u&&u!==e.N&&l.k.shadowRoot;et(c,n,t,o,r?u:e.N),function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===(t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0)(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(o),r&&l.k.insertBefore(s,l.k.children[0])}s.push(e),r.push(e),l.j||(l.j=[]),l.j[e.A]=e}var et=(t,n,e,o,l)=>{var s,r;let i=o.nextSibling;if(t[n]=t[n]||[],i&&!(null==(s=i.nodeValue)?void 0:s.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==e&&(""!==e||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=e,t[n].push({slot:o,node:i,hostId:l})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))},ot=(t,n)=>{let e=t;do{e=e.nextSibling}while(e&&(e.nodeType!==n||!e.nodeValue));return e},lt=t=>{m.length=0,m.push(t)},st=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},rt=class t{static fromLocalValue(n){const e=n[l],o=s in n?n[s]:void 0;switch(e){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((n=>t.fromLocalValue(n)));case"date":return new Date(o);case"map":const n=new Map;for(const[e,l]of o){const o="object"==typeof e&&null!==e?t.fromLocalValue(e):e,s=t.fromLocalValue(l);n.set(o,s)}return n;case"object":const l={};for(const[n,e]of o)l[n]=t.fromLocalValue(e);return l;case"regexp":const{pattern:s,flags:r}=o;return RegExp(s,r);case"set":const i=new Set;for(const n of o)i.add(t.fromLocalValue(n));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+e)}}static fromLocalValueArray(n){return n.map((n=>t.fromLocalValue(n)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const n=t[l];return!!Object.values({...e,...o}).includes(n)&&("null"===n||"undefined"===n||t.hasOwnProperty(s))}};var it,ct=(t,n)=>"string"==typeof t&&t.startsWith(r)?t=function(t){return"string"==typeof t&&t.startsWith(r)?rt.fromLocalValue(JSON.parse(function(t){const n=atob(t),e=new Uint8Array(n.length);for(let t=0;t<n.length;t++)e[t]=n.charCodeAt(t);return(new TextDecoder).decode(e)}(t.slice(11)))):t}(t):null==t||W(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,ut=t=>{var n;return null==(n=f(t))?void 0:n.$hostElement$},ft=(t,n,e,o,l,s,r)=>{if(e===o)return;let i=d(t,n),c=n.toLowerCase();if("class"===n){const n=t.classList,l=vt(e);let i=vt(o);if((t["s-si"]||t["s-sc"])&&r){const e=t["s-sc"]||t["s-si"];i.push(e),l.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else{let e=l.filter((t=>t&&!i.includes(t)));if(r&&!(4&s)){const n=ht(t);e=e.filter((t=>!n.includes(t)))}n.remove(...e),n.add(...i.filter((t=>t&&!l.includes(t))))}}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&Ct(o,t);else if(i||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=f(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const r=W(o);if((i||r&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const l=null==o?"":o;"list"===n?i=!1:null!=e&&t[n]===l||("function"==typeof t.__lookupSetter__(n)?t[n]=l:t.setAttribute(n,l))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,u=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&s&&!dt(n))&&(u?t.removeAttributeNS(w,n):t.removeAttribute(n)):(!i||4&s||l)&&!r&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(w,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):d(j,c)?c.slice(2):c[2]+n.slice(3),e||o){const l=n.endsWith($t);n=n.replace(mt,""),e&&O.rel(t,n,e,l),o&&O.ael(t,n,o,l)}},at=new Set(["draggable","contenteditable","spellcheck"]),dt=t=>at.has(t)||t.startsWith("aria-"),pt=/\s/,ht=n=>{var e,o,l;const s=f(n);if(!(s&&2&s.u))return[];const r=vt(null==(o=null==(e=s.L)?void 0:e.m)?void 0:o.class);return r.push(null!=(l=t)?l:"hydrated"),r},vt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(pt):[]),$t="Capture",mt=RegExp($t+"$"),yt=(t,n,e,o)=>{const l=11===n.k.nodeType&&n.k.host?n.k.host:n.k,s=t&&t.m||{},r=n.m||{};for(const t of bt(Object.keys(s)))t in r||ft(l,t,s[t],void 0,e,n.u,o);for(const t of bt(Object.keys(r)))ft(l,t,s[t],r[t],e,n.u,o)};function bt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var gt=!1,wt=!1,jt=[],Ot=[],St=(t,n,e)=>{const o=n.j[e];let l,s,r=0;if(null!=o.$)l=o.k=j.document.createTextNode(o.$);else{if(wt||(wt="svg"===o.S),!j.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.k=j.document.createElementNS(wt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),wt&&"foreignObject"===o.S&&(wt=!1),yt(null,o,wt),o.j){const n="template"===o.S?l.content:l;for(r=0;r<o.j.length;++r)s=St(t,o,r),s&&n.appendChild(s)}"svg"===o.S?wt=!1:"foreignObject"===l.tagName&&(wt=!0)}return l["s-hn"]=it,l},kt=(t,n,e,o,l,s)=>{let r,i=t;for(i.shadowRoot&&i.tagName===it&&(i=i.shadowRoot),"template"===e.S&&(i=i.content);l<=s;++l)o[l]&&(r=St(null,e,l),r&&(o[l].k=r,It(i,r,n)))},xt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;Nt(n),t&&t.remove()}}},Et=(t,n,e=!1)=>t.S===n.S&&(e?(e&&!t.O&&n.O&&(t.O=n.O),!0):t.O===n.O),Mt=(t,n,e=!1)=>{const o=n.k=t.k,l=t.j,s=n.j,r=n.S,i=n.$;null==i?(wt="svg"===r||"foreignObject"!==r&&wt,"slot"!==r||gt||t.M!==n.M&&(n.k["s-sn"]=n.M||"",(t=>{O.u|=1;const n=t.closest(it.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(It(n,t,null!=e?e:null),t["s-sh"]=void 0)}O.u&=-2})(n.k.parentElement)),yt(t,n,wt,e),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,r,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],$=o[h];const m="template"===e.S?t.content:t;for(;i<=a&&c<=h;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--h];else if(Et(d,v,l))Mt(d,v,l),d=n[++i],v=o[++c];else if(Et(p,$,l))Mt(p,$,l),p=n[--a],$=o[--h];else if(Et(d,$,l))Mt(d,$,l),It(m,d.k,p.k.nextSibling),d=n[++i],$=o[--h];else if(Et(p,v,l))Mt(p,v,l),It(m,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].O&&n[f].O===v.O){u=f;break}u>=0?(r=n[u],r.S!==v.S?s=St(n&&n[c],e,c):(Mt(r,v,l),n[u]=void 0,s=r.k),v=o[++c]):(s=St(n&&n[c],e,c),v=o[++c]),s&&It(d.k.parentNode,s,d.k)}i>a?kt(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&xt(n,i,a)})(o,l,n,s,e):null!==s?(null!==t.$&&(o.textContent=""),kt(o,null,n,s,0,s.length-1)):e||null===l?e&&null!==l&&null===s&&(n.j=l):xt(l,0,l.length-1),wt&&"svg"===r&&(wt=!1)):t.$!==i&&(o.data=i)},Nt=t=>{t.m&&t.m.ref&&jt.push((()=>t.m.ref(null))),t.j&&t.j.map(Nt)},Ct=(t,n)=>{Ot.push((()=>t(n)))},It=(t,n,e)=>null==t?void 0:t.insertBefore(n,e),At=(t,n)=>{if(n&&!t.T&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.T=()=>{n["s-p"].splice(e-1,1),o()})))}},Lt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);At(t,t.D);const e=()=>Tt(t,n);if(!n)return e();queueMicrotask((()=>{e()}))},Tt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.u|=256,t.R&&(t.R.map((([t,n])=>zt(o,t,n,e))),t.R=void 0),t.P.length&&t.P.forEach((t=>t(e))),l=zt(o,"componentWillLoad",void 0,e)):l=zt(o,"componentWillUpdate",void 0,e),l=Dt(l,(()=>zt(o,"componentWillRender",void 0,e))),Dt(l,(()=>Pt(t,o,n)))},Dt=(t,n)=>Rt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Rt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Pt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,l=z(e.shadowRoot?e.shadowRoot:e.getRootNode(),n,t.U);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);Ut(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Vt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Ut=(t,n,e,o)=>{try{n=n.render&&n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{const o=t.$hostElement$,l=t.o,s=t.L||Y(null,null),r=(t=>t&&t.S===G)(n)?n:q(null,null,n);if(it=o.tagName,l.V&&(r.m=r.m||{},l.V.forEach((([t,n])=>{r.m[n]=o[t]}))),e&&r.m)for(const t of Object.keys(r.m))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.m[t]=o[t]);r.S=null,r.u|=4,t.L=r,r.k=s.k=o.shadowRoot||o,gt=!(!(1&l.u)||128&l.u),Mt(s,r,e),jt.forEach((t=>t())),jt.length=0,Ot.forEach((t=>t())),Ot.length=0})(t,n,o)}catch(n){p(n,t.$hostElement$)}return null},Vt=t=>{const n=t.$hostElement$,e=t.i,o=t.D;zt(e,"componentDidRender",void 0,n),64&t.u?zt(e,"componentDidUpdate",void 0,n):(t.u|=64,Ft(n),zt(e,"componentDidLoad",void 0,n),t.H(n),o||_t()),t._(n),t.T&&(t.T(),t.T=void 0),512&t.u&&T((()=>Lt(t,!1))),t.u&=-517},Ht=t=>{var n;{const e=f(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Lt(e,!1),o}},_t=()=>{var t;T((()=>(t=>{const n=O.ce("appload",{detail:{namespace:"kolibri"}});return t.dispatchEvent(n),n})(j))),(null==(t=O.F)?void 0:t.size)&&O.F.clear()},zt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){p(t,o)}},Ft=n=>{var e;return n.classList.add(null!=(e=t)?e:"hydrated")},Bt=(t,n)=>f(t).l.get(n),Wt=(t,n,e,o)=>{const l=f(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=l.$hostElement$,r=l.l.get(n),i=l.u,c=l.i;if(e=ct(e,o.t[n][0]),!(8&i&&void 0!==r||e===r||Number.isNaN(r)&&Number.isNaN(e))){if(l.l.set(n,e),o.B){const t=o.B[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&i||1&s)&&(c?c[o](e,r,n):l.P.push((()=>{l.i[o](e,r,n)})))}catch(t){p(t,s)}}))}if(2&i){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,r,n)&&!(16&i))return;16&i||Lt(l,!1)}}},qt=(t,n,e)=>{var o,l;const s=t.prototype;{t.watchers&&!n.B&&(n.B=st(t.watchers)),t.deserializers&&!n.W&&(n.W=t.deserializers),t.serializers&&!n.q&&(n.q=t.serializers);const r=Object.entries(null!=(o=n.t)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:l,set:r}=i(s,t)||{};l&&(n.t[t][0]|=2048),r&&(n.t[t][0]|=4096),(1&e||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.t[t][0]))return Bt(this,t);const e=f(this);return e?e.i?e.i[t]:Bt(this,t):s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(l){const s=f(this);if(s){if(r)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(l=s.l.get(t)),r.call(this,ct(l,o)),void Wt(this,t,l=32&o?this[t]:s.$hostElement$[t],n);{if(!(1&e&&4096&n.t[t][0]))return void Wt(this,t,l,n);const r=ct(l,o);if(s.i){const e=s.i[t];!s.l.get(t)&&e&&s.l.set(t,e),s.i[t]=r,Wt(this,t,s.i[t],n)}else s.l.set(t,r)}}}})}else 1&e&&64&o&&Object.defineProperty(s,t,{value(...n){var e;const o=f(this);return null==(e=null==o?void 0:o.Y)?void 0:e.then((()=>{var e;return null==(e=o.i)?void 0:e[t](...n)}))}})})),1&e){const e=new Map;s.attributeChangedCallback=function(t,o,l){O.jmp((()=>{var i;const c=e.get(t),u=f(this);if(this.hasOwnProperty(c)&&(l=this[c],delete this[c]),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const e=null==u?void 0:u.u;if(u&&e&&!(8&e)&&l!==o){const s=u.i,r=null==(i=n.B)?void 0:i[t];null==r||r.forEach((n=>{const[[r,i]]=Object.entries(n);null!=s[r]&&(128&e||1&i)&&s[r].call(s,l,o,t)}))}return}const a=r.find((([t])=>t===c)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!W(this[c])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[c])===l)return;const h=p&&null===l&&void 0===this[c];p&&(l=null!==l&&"false"!==l);const v=Object.getOwnPropertyDescriptor(s,c);h||l==this[c]||v.get&&!v.set||(this[c]=l)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.B)?l:{}),...r.filter((([t,n])=>31&n[0])).map((([t,o])=>{var l;const s=o[1]||t;return e.set(s,t),512&o[0]&&(null==(l=n.V)||l.push([t,s])),s}))]))}}return t},Yt=async(t,n,e)=>{var o;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.G){const s=((t,n)=>{var e;const o=t.v.replace(/-/g,"_"),l=t.G;if(!l)return;const s=h.get(l);if(s)return s[o];const r=null!=(e=v.get(l))?e:0,i=[r>0?"s-retry="+r:"",""].filter(Boolean).join("&");
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
6
|
-
return import(`./${l}.entry.js${i?"?"+i:""}`).then((t=>(v.delete(l),h.set(l,t),t[o])),(t=>{v.set(l,r+1),p(t,n.$hostElement$)}))})(e,n);if(s&&"then"in s){const t=()=>{};l=await s,t()}else l=s;if(!l)throw n.u&=-33,n.J=(null!=(o=n.J)?o:0)+1,n.J<3&&(n.u|=1024),Error(`Constructor for "${e.v}#${n.U}" was not found`);l.isProxied||(e.B=st(l.watchers),e.q=l.serializers,e.W=l.deserializers,
|
|
6
|
+
return import(`./${l}.entry.js${i?"?"+i:""}`).then((t=>(v.delete(l),h.set(l,t),t[o])),(t=>{v.set(l,r+1),p(t,n.$hostElement$)}))})(e,n);if(s&&"then"in s){const t=()=>{};l=await s,t()}else l=s;if(!l)throw n.u&=-33,n.J=(null!=(o=n.J)?o:0)+1,n.J<3&&(n.u|=1024),Error(`Constructor for "${e.v}#${n.U}" was not found`);l.isProxied||(e.B=st(l.watchers),e.q=l.serializers,e.W=l.deserializers,qt(l,e,2),l.isProxied=!0);const r=()=>{};n.u|=8;try{new l(n)}catch(n){p(n,t)}n.u&=-9,((t,n)=>{var e;const o=t.i;if(o)for(const[l,[s]]of Object.entries(null!=(e=n.t)?e:{}))if(4096&s&&t.l.has(l)){const n=t.l.get(l);o[l]!==n&&(o[l]=n)}})(n,e),n.u|=128,r(),Gt(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(l&&l.style){let o;"string"==typeof l.style?o=l.style:"string"!=typeof l.style&&(n.U=(t=>m.map((n=>n(t))).find((t=>!!t)))(t),n.U&&(o=l.style[n.U]));const s=F(e,n.U);if(!$.has(s)){const t=()=>{};_(s,o,!!(1&e.u)),t()}}}const s=n.D,r=()=>Lt(n,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()}catch(e){p(e,t),n.T&&(n.T(),n.T=void 0),!n.H||1024&n.u||n.H(t)}},Gt=(t,n)=>{zt(t,"connectedCallback",void 0,n)},Jt=(t,n)=>{zt(t,"disconnectedCallback",void 0,n||t)},Zt=(t,n={})=>{var e;if(!j.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],l=n.exclude||[],s=j.customElements,r=j.document.head,i=r.querySelector("meta[charset]"),c=j.document.createElement("style"),u=[];let a,d=!0;if(Object.assign(O,n),O.p=new URL(n.resourcesUrl||"./",j.document.baseURI).href,O.u|=2,(()=>{if(!j.document)return;const t=j.document.querySelectorAll(`[${b}]`);let n=0;for(;n<t.length;n++)_(t[n].getAttribute(b),B(t[n].innerHTML),!0)})(),t.map((t=>{t[1].map((e=>{var r,i;const c={u:e[0],v:e[1],t:e[2],Z:e[3]};c.t=e[2],c.Z=e[3],c.V=[],c.B=st(e[4]),c.q=null!=(r=e[5])?r:{},c.W=null!=(i=e[6])?i:{};const p=n.transformTagName?n.transformTagName(c.v):c.v,h=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,K:new Map};e.Y=new Promise((t=>e._=t)),e.X=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.P=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,c),1&c.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else R.call(t,c)}connectedCallback(){const t=f(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Qt(this,t,c.Z)),a&&(clearTimeout(a),a=null),d?u.push(this):O.jmp((()=>(t=>{if(!(1&O.u)){const n=f(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)Qt(t,n,e.Z),(null==n?void 0:n.i)?Gt(n.i,t):1024&n.u?setTimeout((()=>Yt(t,n,e)),1e3):(null==n?void 0:n.X)&&n.X.then((()=>Gt(n.i,t)));else{let o;if(n.u|=1,o=t.getAttribute(y),o){if(1&e.u){const n=z(t.shadowRoot,e,t.getAttribute("s-mode"));t.classList.remove(n+"-h",n+"-s")}((t,n,e,o)=>{var l,s,r,i;const c=t.shadowRoot,u=[],a=[],d=c?[]:null,p=Y(n,null);p.k=t,!j.document||O.F&&O.F.size||X(j.document.body,O.F=new Map),t[y]=e,t.removeAttribute(y),o.L=Q(p,u,[],d,t,t,e,a);let h=0;const v=u.length;let $;for(;h<v;h++){$=u[h];const e=$.N+"."+$.C,o=O.F.get(e),s=$.k;if(c){if((null==(l=$.S)?void 0:(""+l).includes("-"))&&"slot-fb"!==$.S&&!$.k.shadowRoot){const t=f($.k);if(t){const n=F(t.o,$.k.getAttribute("s-mode")),e=j.document.querySelector(`style[sty-id="${n}"]`);e&&d.unshift(e.cloneNode(!0))}}}else s["s-hn"]=n.toUpperCase(),"slot"===$.S&&(s["s-cr"]=t["s-cr"]);"slot"===$.S&&($.M=$.k["s-sn"]||$.k.name||null,$.j?($.u|=2,$.k.childNodes.length||$.j.forEach((t=>{$.k.appendChild(t.k)}))):$.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),c||(s["s-oo"]=parseInt($.C))),o&&!o["s-id"]&&O.F.delete(e)}const m=[],b=a.length;let g,w,S,k,x=0,E=0;for(;x<b;x++)if(g=a[x],g&&g.length)for(S=g.length,w=0;w<S;w++){if(k=g[w],m[k.hostId]||(m[k.hostId]=O.F.get(k.hostId)),!m[k.hostId])continue;const t=m[k.hostId];t.shadowRoot&&k.node.parentElement!==t&&t.insertBefore(k.node,null==(r=null==(s=g[w-1])?void 0:s.node)?void 0:r.nextSibling),t.shadowRoot&&c||(k.slot["s-cr"]||(k.slot["s-cr"]=t["s-cr"],k.slot["s-cr"]=!k.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),P(k.node,k.slot,0,k.node["s-oo"]||E),(null==(i=k.node.parentElement)?void 0:i.shadowRoot)&&k.node.getAttribute&&k.node.getAttribute("slot")&&k.node.removeAttribute("slot")),E=(k.node["s-oo"]||E)+1}if(c&&!c.childNodes.length){let n=0;const e=d.length;if(e){for(;n<e;n++){const t=d[n];t&&c.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,e.v,o,n)}{let e=t;for(;e=e.parentNode||e.host;)if(1===e.nodeType&&e.hasAttribute("s-id")&&e["s-p"]||e["s-p"]){At(n,n.D=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),Yt(t,n,e)}o()}})(this))))}disconnectedCallback(){O.jmp((()=>(async t=>{if(!(1&O.u)){const n=f(t);(null==n?void 0:n.tt)&&(n.tt.map((t=>t())),n.tt=void 0),(null==n?void 0:n.i)?Jt(n.i,t):(null==n?void 0:n.X)&&n.X.then((()=>Jt(n.i,t)))}H.has(t)&&H.delete(t),t.shadowRoot&&H.has(t.shadowRoot)&&H.delete(t.shadowRoot)})(this))),T((()=>{var t;const n=f(this);if(!n)return;const e=u.findIndex((t=>t===this));e>-1&&u.splice(e,1),(null==(t=null==n?void 0:n.L)?void 0:t.k)instanceof Node&&!n.L.k.isConnected&&delete n.L.k}))}componentOnReady(){var t;return null==(t=f(this))?void 0:t.X}};c.G=t[0],l.includes(p)||s.get(p)||(o.push(p),s.define(p,qt(h,c,1)))}))})),o.length>0&&(c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(e=O.h)?e:V(j.document);null!=t&&c.setAttribute("nonce",t),r.insertBefore(c,i?i.nextSibling:r.firstChild)}d=!1,u.length?u.map((t=>t.connectedCallback())):O.jmp((()=>a=setTimeout(_t,30)))},Kt=(t,n)=>n,Qt=(t,n,e)=>{e&&j.document&&e.map((([e,o,l])=>{const s=t,r=Xt(n,l),i=tn(e);O.ael(s,o,r,i),(n.tt=n.tt||[]).push((()=>O.rel(s,o,r,i)))}))},Xt=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){p(n,t.$hostElement$)}},tn=t=>({passive:!!(1&t),capture:!!(2&t)}),nn=t=>O.h=t;export{n as E,Kt as F,G as H,lt as a,Zt as b,Ht as f,ut as g,q as h,S as p,a as r,nn as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{E as e,K as t,T as n,L as u}from"./common-OzsC_6kt.js";export{a as KoliBriDevHelper,R as getDefaultThemeName}from"./common-OzsC_6kt.js";export{s as setCurrentLocation}from"./ariaCurrentService-YoLNpD5S.js";import{i as d}from"./bootstrap-DHXUvPBY.js";export{b as bootstrap,r as register}from"./bootstrap-DHXUvPBY.js";import{K as o}from"./component-names-Dhbtt0mX.js";export{B as BEM}from"./bem-registry-CWN7_O1L.js";export{K as KolEvent}from"./events-CRHxtwup.js";export{i as isTooltipOpen}from"./tooltip-open-tracking-D3tCiiGP.js";import"./i18n-Dl6Jjofb.js";const m=new e("kol",t,n);class f{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(o),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&u.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!d())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new f(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):u.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var h;f.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(h||(h={}));const c=Object.getOwnPropertyNames(h);var l;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(l||(l={}));const g=Object.getOwnPropertyNames(l);var p;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(p||(p={}));const A=Object.getOwnPropertyNames(p),M=new Map;M.set(h["Die Bundesregierung"],["Die","Bundesregierung"]),M.set(h["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),M.set(h["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),M.set(h["Auswärtiges Amt"],["Auswärtiges Amt"]),M.set(h["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),M.set(h["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),M.set(h["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),M.set(h["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),M.set(h["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),M.set(h["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),M.set(h["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),M.set(h["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),M.set(h["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),M.set(h["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),M.set(h["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),M.set(l["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),M.set(l["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),M.set(l["Bundesamt für äußere Restitutionen"],[]),M.set(l["Bundesamt für Bauwesen und Raumordnung"],[]),M.set(l["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),M.set(l["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),M.set(l["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),M.set(l["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),M.set(l["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),M.set(l["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),M.set(l["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),M.set(l["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),M.set(l["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),M.set(l["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),M.set(l["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),M.set(l["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),M.set(l["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),M.set(l.Bundesarchiv,["Das","Bundesarchiv"]),M.set(l["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),M.set(l.Bundesausgleichsamt,["Bundesausgleichsamt"]),M.set(l.Bundeskartellamt,["Bundeskartellamt"]),M.set(l.Bundeskriminalamt,["Bundeskriminalamt"]),M.set(l.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),M.set(l["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),M.set(l["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),M.set(l["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),M.set(l.Bundessortenamt,["Bundessortenamt"]),M.set(l.Bundessprachenamt,["Bundessprachenamt"]),M.set(l["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),M.set(l.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),M.set(l["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),M.set(l["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),M.set(l["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),M.set(l.Generalzolldirektion,["Generalzolldirektion"]),M.set(l["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),M.set(l["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),M.set(p["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),M.set(p["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),M.set(p["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),M.set(p["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),M.set(p["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),M.set(p["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),M.set(p["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);export{g as BUNDESAEMTER,A as BUNDESANSTALTEN,c as BUNDESMINISTERIEN,M as BUND_LOGO_TEXT_MAP,l as Bundesamt,p as Bundesanstalt,h as Bundesministerium,m as KoliBri,f as ToasterService,d as isInitialized}
|
|
4
|
+
import{E as e,K as t,T as n,L as u}from"./common-OzsC_6kt.js";export{a as KoliBriDevHelper,R as getDefaultThemeName}from"./common-OzsC_6kt.js";export{s as setCurrentLocation}from"./ariaCurrentService-YoLNpD5S.js";import{i as d}from"./bootstrap-DHXUvPBY.js";export{b as bootstrap,r as register}from"./bootstrap-DHXUvPBY.js";import{K as o}from"./component-names-Dhbtt0mX.js";export{B as BEM}from"./bem-registry-Crcs_65u.js";export{K as KolEvent}from"./events-CRHxtwup.js";export{i as isTooltipOpen}from"./tooltip-open-tracking-D3tCiiGP.js";import"./i18n-Dl6Jjofb.js";const m=new e("kol",t,n);class f{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(o),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&u.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!d())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new f(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):u.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var h;f.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(h||(h={}));const c=Object.getOwnPropertyNames(h);var l;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(l||(l={}));const g=Object.getOwnPropertyNames(l);var p;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(p||(p={}));const A=Object.getOwnPropertyNames(p),M=new Map;M.set(h["Die Bundesregierung"],["Die","Bundesregierung"]),M.set(h["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),M.set(h["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),M.set(h["Auswärtiges Amt"],["Auswärtiges Amt"]),M.set(h["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),M.set(h["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),M.set(h["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),M.set(h["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),M.set(h["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),M.set(h["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),M.set(h["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),M.set(h["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),M.set(h["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),M.set(h["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),M.set(h["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),M.set(l["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),M.set(l["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),M.set(l["Bundesamt für äußere Restitutionen"],[]),M.set(l["Bundesamt für Bauwesen und Raumordnung"],[]),M.set(l["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),M.set(l["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),M.set(l["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),M.set(l["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),M.set(l["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),M.set(l["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),M.set(l["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),M.set(l["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),M.set(l["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),M.set(l["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),M.set(l["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),M.set(l["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),M.set(l["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),M.set(l.Bundesarchiv,["Das","Bundesarchiv"]),M.set(l["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),M.set(l.Bundesausgleichsamt,["Bundesausgleichsamt"]),M.set(l.Bundeskartellamt,["Bundeskartellamt"]),M.set(l.Bundeskriminalamt,["Bundeskriminalamt"]),M.set(l.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),M.set(l["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),M.set(l["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),M.set(l["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),M.set(l.Bundessortenamt,["Bundessortenamt"]),M.set(l.Bundessprachenamt,["Bundessprachenamt"]),M.set(l["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),M.set(l.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),M.set(l["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),M.set(l["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),M.set(l["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),M.set(l.Generalzolldirektion,["Generalzolldirektion"]),M.set(l["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),M.set(l["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),M.set(p["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),M.set(p["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),M.set(p["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),M.set(p["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),M.set(p["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),M.set(p["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),M.set(p["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);export{g as BUNDESAEMTER,A as BUNDESANSTALTEN,c as BUNDESMINISTERIEN,M as BUND_LOGO_TEXT_MAP,l as Bundesamt,p as Bundesanstalt,h as Bundesministerium,m as KoliBri,f as ToasterService,d as isInitialized}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s,F as a}from"./index-B_bJG8-2.js";import"./common-OzsC_6kt.js";import{i as o,g as i,c as l}from"./api-7B_iI89k.js";import{c as r}from"./clsx-COFh-Vc8.js";import{a as t}from"./dev.utils-Bg7nZBMk.js";import{g as d}from"./block-bem-DehcAQZQ.js";const b=b=>{const{class:c,msg:n,required:m,disabled:u,touched:p,readonly:B,ariaDescribedBy:j,hideLabel:g,label:y,suggestions:h,value:f}=b,O=e(b,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),k=Object.assign(Object.assign({class:r(d("kol-input")(Object.assign({disabled:Boolean(u),required:Boolean(m),touched:Boolean(p),readonly:Boolean(B)},o(n,p)?{[i(n)]:!0}:{})),c),required:m,disabled:u,readonly:B,type:"text",list:h&&"string"==typeof O.id?t(O.id,"list"):void 0},l({ariaDescribedBy:j,hideLabel:g,label:y})),O);return s(a,null,s("input",Object.assign({},k,{value:f})),h)};export{b as I}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{F as o,D as t,j as n,p as s}from"./common-OzsC_6kt.js";import{c as r}from"./props-from-config-Ci0dILpz.js";import{h as e}from"./index-
|
|
4
|
+
import{F as o,D as t,j as n,p as s}from"./common-OzsC_6kt.js";import{c as r}from"./props-from-config-Ci0dILpz.js";import{h as e}from"./index-B_bJG8-2.js";import{B as i}from"./component-Cxdi6on4.js";import{I as l}from"./component-et0GdBuf.js";import{a}from"./tslib.es6-QNbPBOk5.js";import{i as c,g as m}from"./api-7B_iI89k.js";import{b as p}from"./bem-registry-Crcs_65u.js";import{c as d}from"./clsx-COFh-Vc8.js";import{B as u}from"./component-BJ4gGOph.js";const f=(o,s,r)=>{n(r)?o[s]=r:t(r,1)&&(o[s]={icon:r})},b=o=>{let n={};return t(o,1)?n={left:{icon:o}}:"object"==typeof o&&null!==o&&(f(n,"top",o.top),f(n,"right",o.right),f(n,"bottom",o.bottom),f(n,"left",o.left)),n},j=r("icons",{},(function(n){let r=n;if("string"==typeof n)try{r=s(n)}catch(o){}if(t(r,1))return b(r);if("object"==typeof r&&null!==r){const n=r;if(0===Object.keys(n).length||["left","right","top","bottom"].some((s=>(n=>t(n,0)||(n=>"object"==typeof n&&null!==n&&(void 0===n.style||o(n.style))&&(void 0===n.label||t(n.label))&&t(n.icon,1))(n))(n[s]))))return b(r)}throw new Error("Invalid icons: "+typeof n)})),B=o=>{var t;return o?e(l,"string"==typeof o?{class:"kol-input-container__icon",icons:o,label:""}:{class:"kol-input-container__icon",icons:o.icon,label:null!==(t=o.label)&&void 0!==t?t:"",style:o.style}):null},g=({icons:o,smartButton:t,startAdornment:n,endAdornment:s})=>({startAdornment:[null!=n?n:null,B(null==o?void 0:o.left)].filter(Boolean),endAdornment:[t?e(i,Object.assign({},t)):null,B(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),v=p.forBlock("kol-input-container"),y=(o,t)=>{var{position:n="start",class:s}=o,r=a(o,["position","class"]);return e("div",Object.assign({class:d(v("adornment",{[n]:!0}),s)},r),t)};function h(o){return!!o&&(Array.isArray(o)?o.length>0:Boolean(o))}const A=(o,t)=>{const{class:n,startAdornment:s,endAdornment:r,disabled:i,msg:l,touched:p}=o,d=a(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(r);return e(u,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(i)},c(l,p)?{[m(l)]:!0}:{}),class:n},d),f&&e(y,{position:"start"},s),e("div",{class:v("container")},t),f&&e(y,{position:"end"},r))};export{A as I,g,j as h}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as t}from"./index-B_bJG8-2.js";import{t as s}from"./i18n-DtLKn3Xt.js";import{p as e,S as i}from"./common-OzsC_6kt.js";import{c as o,C as a,a as n,r as l,t as r,d as p}from"./props-from-config-Ci0dILpz.js";import{b as u}from"./bem-registry-Crcs_65u.js";import{n as c,c as g}from"./dev.utils-Bg7nZBMk.js";import{B as h}from"./component-BJ4gGOph.js";import{B as d}from"./component-Cxdi6on4.js";import{d as m,K as b}from"./events-CRHxtwup.js";import{r as v,a as f}from"./unique-nav-labels-h2KOu5Qy.js";import{g as C,e as y}from"./component-CPq3i3I_.js";import{l as z}from"./label-BRosRgdX.js";import{c as j}from"./item-BjriQHQl.js";import{c as S}from"./item-pool-BOxAYePG.js";import{c as k}from"./element-interaction-sGYdEpmv.js";import{B as O,s as x}from"./base-web-component-DdY5aIHN.js";const B=o("boundaryCount",1,(t=>Math.max(0,t))),_=o("page",0,a),P=o("pageSize",1,a),A=/^\[object Object\]$/,w=o("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&A.test(t))throw new Error("Unreflected page size options");const s="string"==typeof t?e(t):t;if(Array.isArray(s)&&s.every((t=>"number"==typeof t)))return s.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),$=n(),D=["first","last","next","previous"],F=t=>({first:t,last:t,next:t,previous:t}),I=o("hasButtons",F(!0),(function t(s){if("boolean"==typeof s)return F(s);if("object"==typeof s&&null!==s){const t={};return D.forEach((e=>{const i=s[e];"boolean"==typeof i&&(t[e]=i)})),t}if("string"==typeof s){const i=e(s);return"object"==typeof i&&null!==i?t(i):F(!1)}throw new Error("Invalid pagination buttons")})),H=o("max",0,a),M=o("siblingCount",1,(t=>Math.max(0,t))),E={required:[z,_,$,H],optional:[B,C,w,P,I,M,y]},K=(t,s=1)=>Math.ceil(t/s),G=(t,s)=>{var e,i;return s.length>0?null!==(i=null===(e=s.find((s=>s.value===t)))||void 0===e?void 0:e.value)&&void 0!==i?i:s[0].value:t},L=(t,s,e,i)=>{const o=[];let a=!1;for(let n=1;n<=s;n++)n<=e||n>s-e||n>=t-i&&n<=t+i?(a=!0,o.push({page:n,selected:n===t})):a?(a=!1,o.push("separator")):o.push(null);return o},q=u.forBlock("kol-pagination"),Q={left:"kolicon-chevron-double-left"},R={left:"kolicon-chevron-left"},T={right:"kolicon-chevron-right"},Y={right:"kolicon-chevron-double-right"},J=(X=navigator.language||"de-DE").includes("-")?X:`${X}-${X.toUpperCase()}`;var X;const N=new Intl.NumberFormat(J,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),U=e=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:p,label:u,max:g,navigationCallbacks:h,page:m,pageSize:b,pageSizeOptions:v,renderPageSizeSelect:f,siblingCount:C,tooltipAlign:y}=l(E,e),z=K(g,b),{start:j,end:S}=((t,s,e)=>{const i=t*s;return{start:Math.max(0,(t-1)*s+1),end:e<i?e:i}})(m,b,g),k=(s,e,i,n)=>t("li",null,t(d,Object.assign({},a(`navigation-${s}`,{_customClass:o,_disabled:n,_icons:e,_hideLabel:!0,_label:i,_on:h[s],_tooltipAlign:y},{class:q("button",{[s]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:q("entries")},s("kol-table-visible-range",{placeholders:{start:N.format(j),end:N.format(S),total:N.format(g)}})),t("nav",{class:q("navigation"),"aria-label":r(u)},t("ul",{class:q("navigation-list")},p.first&&k("first",Q,s("kol-page-first"),m<=1),p.previous&&k("previous",R,s("kol-page-back"),m<=1),L(m,z,i,C).map((e=>null===e?null:"separator"===e?t("li",{key:c()},t("span",{class:q("separator"),"aria-hidden":"true"})):((e,i)=>{const l=N.format(e),r=`${s("kol-page")} ${l}`;return t("li",{key:c()},t(d,Object.assign({},i?a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${q("button",{selected:!0})} selected`}):a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,e)}},{class:q("button",{numbers:!0})}))))})(e.page,e.selected))),p.next&&k("next",T,s("kol-page-next"),z<=m),p.last&&k("last",Y,s("kol-page-last"),z<=m))),(null==v?void 0:v.length)>0&&t("div",{class:"page-size"},t("div",{class:q("page-size-select")},f({label:s("kol-entries-per-site"),options:v,value:b})))]},Z=s=>t(h,{block:"kol-pagination"},t(U,Object.assign({},s)));class V extends O{constructor(t,s){super(),this.getHost=t,this.requestRender=s,this._disabled=!1,this._multiple=!1,this.ctaRef=k(),this.id=g("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=x,this.initFormAssociation("select")}get host(){var t;return null===(t=this.getHost)||void 0===t?void 0:t.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(t){t!==this.focused&&(this.focused=t,this.requestRender())}get _touched(){return this.touched}set _touched(t){t!==this.touched&&(this.touched=!0===t,this.applyTouched(t),this.requestRender())}get _value(){return this.value}set _value(t){t!==this.value&&(this.value=t,this.applyValue(t),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}render(t){return this.loaded?this.update(t):this.load(t),this.renderSelectField()}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(t){this.passed=t,this._on=t.on,this.value=t.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(""),this.applyInfoPopover(void 0),this.applyLabel(t.label),this.applyShortKey(void 0),this.applyOn(t.on),this.applyTooltipAlign("top"),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(t.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(t.value),this.loaded=!0}update(t){const s=this.passed;this.passed=t,t.label!==s.label&&this.applyLabel(t.label),t.options!==s.options&&this.applyOptions(t.options),t.on!==s.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==s.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}}const W=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],tt=t=>{var e;const o=null!==(e=t.store)&&void 0!==e?e:(()=>{const t=p(E);return{get:s=>t[s],set:(s,e)=>{t[s]=e}}})(),a=s("kol-pagination"),n=S((()=>j(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,s,e)=>n.get(t).getFcProps(s,e),r=S((()=>new V(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let u=1,c={};o.set("label",a);const g=(s,e)=>{setTimeout((()=>{var i,a;null===(a=(i=o.get("on")).onChangePage)||void 0===a||a.call(i,s,e);const n=t.getEventTarget();n&&m(n,b.changePage,e)}))},h=(t,s,e)=>{const a=((t,s,e)=>{if(e>0){const i=K(e,s);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,s,e);void 0!==a&&(o.set("page",a),g(i,a))},d=t=>{null!=t&&P.apply(t,(t=>{const s=G(t,o.get("pageSizeOptions"));o.set("pageSize",s),h(o.get("page"),s,o.get("max"))}))},k=(t,s,e)=>{s||v(o.get("label")),z.apply(t,(t=>o.set("label",null!=t?t:a)),e),f(o.get("label"))},O=(s,e)=>{var i,a;null===(a=(i=o.get("on")).onClick)||void 0===a||a.call(i,s,e);const n=t.getEventTarget();n&&m(n,b.click,e),g(s,e)},x=(s,e)=>{const i=parseInt(e);i>0&&u!==i&&(d(i),u=i,t.requestRender(),setTimeout((()=>{var e,i;const a=u;null===(i=(e=o.get("on")).onChangePageSize)||void 0===i||i.call(e,s,a);const n=t.getEventTarget();n&&m(n,b.changePageSize,a)})))},A={onChange:x},D=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:A})),F={first:{onClick:t=>O(t,1)},last:{onClick:t=>O(t,K(o.get("max"),o.get("pageSize")))},next:{onClick:t=>O(t,o.get("page")+1)},previous:{onClick:t=>O(t,o.get("page")-1)}},L={applyBoundaryCount:t=>B.apply(t,(t=>o.set("boundaryCount",t))),applyCustomClass:t=>C.apply(t,(t=>o.set("customClass",t))),applyHasButtons:t=>I.apply(t,(t=>o.set("hasButtons",Object.assign(Object.assign({},o.get("hasButtons")),t)))),applyLabel:(t,s)=>k(t,!1,s),applyMax:t=>{null!=t&&H.apply(t,(t=>{o.set("max",t),h(o.get("page"),o.get("pageSize"),t)}))},applyOn:t=>$.apply(t,(t=>o.set("on",t))),applyPage:t=>{null!=t&&_.apply(t,(t=>{o.set("page",t),h(t,o.get("pageSize"),o.get("max"))}))},applyPageSize:t=>{d(t),u=t},applyPageSizeOptions:t=>w.apply(t,(t=>{let s;o.set("pageSizeOptions",t),t.length>0&&(s=G(o.get("pageSize"),t),o.set("pageSize",s)),h(o.get("page"),s,o.get("max"))})),applySiblingCount:t=>M.apply(t,(t=>o.set("siblingCount",t))),applyTooltipAlign:t=>y.apply(null!=t?t:"top",(t=>o.set("tooltipAlign",t))),load:t=>{c=Object.assign({},t),L.applyBoundaryCount(t.boundaryCount),L.applyCustomClass(t.customClass),L.applyHasButtons(t.hasButtons),k(t.label,!0),L.applyOn(t.on),L.applyPage(t.page),L.applyPageSize(t.pageSize),L.applyPageSizeOptions(t.pageSizeOptions),L.applySiblingCount(t.siblingCount),L.applyTooltipAlign(t.tooltipAlign),L.applyMax(t.max),L.applyPage(t.page)},update:t=>{for(const s of W)t[s]!==c[s]&&(c=Object.assign(Object.assign({},c),{[s]:t[s]}),"pageSize"===s&&t.pageSize===u||q[s](t[s]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:o.get("boundaryCount"),customClass:o.get("customClass"),getButtonFcProps:l,handlePageClick:O,handlePageSizeChange:x,hasButtons:o.get("hasButtons"),label:o.get("label"),max:o.get("max"),navigationCallbacks:F,on:o.get("on"),page:o.get("page"),pageSize:o.get("pageSize"),pageSizeOptions:o.get("pageSizeOptions"),renderPageSizeSelect:D,siblingCount:o.get("siblingCount"),tooltipAlign:o.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender()},destroy:()=>{v(o.get("label")),n.destroy(),r.destroy()}},q={boundaryCount:L.applyBoundaryCount,customClass:L.applyCustomClass,hasButtons:L.applyHasButtons,label:L.applyLabel,max:L.applyMax,on:L.applyOn,page:L.applyPage,pageSize:L.applyPageSize,pageSizeOptions:L.applyPageSizeOptions,siblingCount:L.applySiblingCount,tooltipAlign:L.applyTooltipAlign};return L};export{Z as P,tt as c,E as p}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{o}from"./ariaCurrentService-YoLNpD5S.js";import{s as r}from"./common-OzsC_6kt.js";import{n as t}from"./dev.utils-Bg7nZBMk.js";import{c as e}from"./element-interaction-sGYdEpmv.js";import{d as s,K as n}from"./events-CRHxtwup.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import{T as l}from"./behavior-fGxZN96S.js";import{r as a}from"./resolve-props-BkF1VBBB.js";const c=c=>{const p=new l(i.stateLess),m=e(),f=t();let d,u,v,j="",b=!1;const B=()=>"string"==typeof(null==d?void 0:d.href)?d.href:"",g=()=>{const o=null==d?void 0:d.label;return"string"==typeof o&&o.length>0?o:B()},y=o=>{const r=o===(null==d?void 0:d.href)?d.ariaCurrentValue:"";j!==r&&(j=r,b||c())},C=o=>{if(p.hideTooltip(),!0===(null==d?void 0:d.disabled))return void o.preventDefault();const t=B(),e=null==d?void 0:d.on;"function"==typeof(null==e?void 0:e.onClick)&&(r(o,m.el),e.onClick(o,t)),u&&s(u,n.click,t)},h=o=>{o&&(u=o)};return{getFcProps:(r,t)=>(d=a(r),v||(b=!0,v=o(y),b=!1),p.componentWillLoad({label:g(),align:d.tooltipAlign}),Object.assign(Object.assign(Object.assign({},d),t),{ariaCurrent:j,ariaDescriptionId:f,expertSlot:""===r._label,handleAnchorClick:C,ref:h,refAnchor:m,refTooltip:p.setTooltipElementRef})),syncListeners:()=>{m.el&&p.syncListeners(void 0,m.el,!0)},destroy:()=>{null==v||v(),v=void 0,p.destroy()}}};export{c}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{p as o,a as e}from"./controller-Cb-96wE-.js";import{s}from"./common-OzsC_6kt.js";import{n as t}from"./dev.utils-Bg7nZBMk.js";import{c as r}from"./element-interaction-sGYdEpmv.js";import{d as n,K as l}from"./events-CRHxtwup.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import{T as a}from"./behavior-fGxZN96S.js";import{r as m}from"./resolve-props-CHPFh7Tn.js";const c=c=>{const d=new a(i.stateLess),p=r(),f=t();let u,v,j;const b=(o,e)=>{j&&n(j,o,e)},g=t=>{if(t.stopPropagation(),d.hideTooltip(),"submit"===(null==u?void 0:u.type))o({form:j});else if("reset"===(null==u?void 0:u.type))e({form:j});else{const o=null==u?void 0:u.on.onClick;"function"==typeof o&&(s(t,p.el),o(t,v))}b(l.click,v)},h=o=>{var e,s;null===(s=null==u?void 0:(e=u.on).onMouseDown)||void 0===s||s.call(e,o),b(l.mousedown)},w=o=>{var e,s;null===(s=null==u?void 0:(e=u.on).onFocus)||void 0===s||s.call(e,o),b(l.focus)},B=o=>{var e,s;null===(s=null==u?void 0:(e=u.on).onBlur)||void 0===s||s.call(e,o),b(l.blur)},C=o=>{o&&(j=o)};return{getFcProps:(o,e)=>(u=m(o,c()),v=o._value,d.componentWillLoad({label:u.label,align:u.tooltipAlign}),Object.assign(Object.assign(Object.assign({},u),e),{ariaDescriptionId:f,handleBlur:B,handleClick:g,handleFocus:w,handleMouseDown:h,ref:C,refButton:p,refTooltip:d.setTooltipElementRef})),getElement:()=>p.el,getRootElement:()=>j,syncListeners:()=>{p.el&&d.syncListeners(void 0,p.el,!0)},destroy:()=>{d.destroy()}}};export{c}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{X as o}from"./common-OzsC_6kt.js";import{n as s,c as t}from"./dev.utils-Bg7nZBMk.js";import{c as a}from"./element-interaction-sGYdEpmv.js";import{d as e,K as r}from"./events-CRHxtwup.js";import{e as n,a as i,c as m,d as p,n as l}from"./component-Cxdi6on4.js";import{d as c}from"./disabled-Cqhc40CU.js";import{a as d,c as f,g as j,h as v,i as b,l as g,d as u,s as C,t as h,e as w,v as O}from"./component-CPq3i3I_.js";import{d as x}from"./props-from-config-Ci0dILpz.js";import{l as I}from"./label-with-expert-slot-CicRes-W.js";import{p as N,a as _}from"./component-DHNcVTi0.js";import{B as q}from"./base-web-component-XgI4wUyN.js";import{r as y}from"./resolve-props-CHPFh7Tn.js";import{T as B}from"./behavior-fGxZN96S.js";import{i as D}from"./id-CIYvVaNr.js";const H={required:[I],optional:[d,f,n,i,m,p,j,c,v,D,b,g,l,N,u,C,h,w,O]},P=n=>{var i;const m=new _(q.stateLess),l=new B(q.stateLess),d=a();let f,j;const g=x(H);delete g.tabIndex;const u=o=>{c.apply(o,(o=>{g.disabled=o}))};u(n.disabled),v.apply(n.hideLabel,(o=>{g.hideLabel=o})),C.apply(n.icons,(o=>{g.icons=o})),b.apply(!1,(o=>{g.inline=o})),w.apply("top",(o=>{g.tooltipAlign=o})),p.apply("button",(o=>{g.type=o})),I.apply(n.label,(o=>{g.label=o}));let h=N.getDefaultValue();N.apply(n.popoverAlign,(o=>{h=o})),g.popoverAlign=h,m.componentWillLoad({align:h}),O.apply(null!==(i=o("buttonVariantDefault",n.getFlagHost()))&&void 0!==i?i:"normal",(o=>{g.variant=o})),g.ariaDescriptionId=s(),g.popoverId=t("popover");const D=o=>{const s=n.getEventTarget?n.getEventTarget():j;s&&e(s,o)},P=o=>{n.setOpen("open"===o.newState)};g.handleClick=o=>{o.stopPropagation(),l.hideTooltip(),m.setShow(!n.getOpen()),D(r.click)},g.handleMouseDown=()=>D(r.mousedown),g.handleFocus=()=>D(r.focus),g.handleBlur=()=>D(r.blur),g.refButton=o=>{d(o),m.setTriggerElement(o)},g.refPopover=o=>{f=o,m.setPopoverElementRef(o)},g.refTooltip=l.setTooltipElementRef;const T=o=>{j=o},V=()=>{l.componentWillLoad({label:g.label,align:g.tooltipAlign})};return V(),{getFcProps:o=>(o&&(o=>{var s,t;const a=y(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),n.getFlagHost());g.accessKey=a.accessKey,g.ariaDescription=a.ariaDescription,g.customClass=a.customClass,g.disabled=a.disabled,g.hideLabel=a.hideLabel,g.icons=a.icons,g.id=a.id,g.inline=a.inline,g.label=a.label,g.name=a.name,g.shortKey=a.shortKey,g.tabIndex=a.tabIndex,g.tooltipAlign=a.tooltipAlign,g.type=a.type,g.variant=a.variant,N.apply(null!==(t=o._popoverAlign)&&void 0!==t?t:"bottom",(o=>{g.popoverAlign=o,m.watchAlign(o)})),V()})(o),Object.assign(Object.assign({},g),{popoverOpen:n.getOpen(),ref:T})),hide:()=>m.setShow(!1),setDisabled:u,syncListeners:()=>{d.el&&l.syncListeners(void 0,d.el,!0),null==f||f.addEventListener("toggle",P)},destroy:()=>{l.destroy(),f&&(f.removeEventListener("toggle",P),f=void 0),m.destroy()}}};export{P as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,r as e,H as t}from"./index-
|
|
4
|
+
import{h as o,r as e,H as t}from"./index-B_bJG8-2.js";import"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{l as a}from"./label-lang-segment-2_GnxjFp.js";import{B as l}from"./component-BJ4gGOph.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import"./label-hints-Jn18RUT-.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./block-bem-DehcAQZQ.js";import"./bem-registry-Crcs_65u.js";const r={optional:[a]},n=()=>o(l,{block:"kol-abbr",component:"abbr"},o("slot",null)),s=class extends i{constructor(o){super(),e(this,o),this.propsConfig=r,this._label=void 0}watchLabel(o){a.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}componentWillLoad(){this.watchLabel(this._label)}render(){return o(t,{key:"04ae432ca79eeb76039d0e301afec327968e26b6"},o(n,{key:"5ea594d56eae0f50e090914906357178e3ddeefe",label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}};s.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host > abbr { text-decoration: underline dashed; cursor: help; } }'};export{s as kol_abbr}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as e,H as t,g as i}from"./index-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-OzsC_6kt.js";import{B as l}from"./base-web-component-XgI4wUyN.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler-Cjc991vd.js";import{l as p}from"./level-CA1s1_Mf.js";import{d as b}from"./disabled-Cqhc40CU.js";import"./props-from-config-Ci0dILpz.js";import{l as f}from"./label-lang-segment-2_GnxjFp.js";import{o as m}from"./open-DRRv1KFK.js";import{c as u,a as g}from"./dev.utils-CwXr_J8N.js";import{c as _,d as y,a as v}from"./element-interaction-sGYdEpmv.js";import"./Heading-Bj2Ma7Tr.js";import"./clsx-COFh-Vc8.js";import"./block-bem-BpQSY04L.js";import"./bem-registry-CWN7_O1L.js";import"./component-C0zMsvYl.js";import"./component-C5QCCLLa.js";import"./events-CRHxtwup.js";import"./label-hints-Jn18RUT-.js";import"./element-focus-BIRmGg5W.js";const w=class extends l{constructor(e){super(),o(this,e),this.accordionId=u("accordion"),this.controlId=g(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=_((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(o){b.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){f.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){p.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){h.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var o;this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return e(t,{key:"f4416f7c11541b7b948ba5796083279598c576e2"},e(k,{key:"ec04fa986dcb0c8a7fa2d3a56fe52dec012f6cdd",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},e("slot",{key:"a7e892774c65825ffc1973668d3049335c0ce0bf"})))}get host(){return i(this)}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}};n([y("ctaRef")],w.prototype,"focus",null),n([v("ctaRef")],w.prototype,"click",null),w.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: ""; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'};export{w as kol_accordion}
|
|
4
|
+
import{r as o,h as e,H as t,g as i}from"./index-B_bJG8-2.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-OzsC_6kt.js";import{B as l}from"./base-web-component-XgI4wUyN.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler-Bqoo8tCo.js";import{l as b}from"./level-CA1s1_Mf.js";import{d as p}from"./disabled-Cqhc40CU.js";import"./props-from-config-Ci0dILpz.js";import{l as f}from"./label-lang-segment-2_GnxjFp.js";import{o as m}from"./open-DRRv1KFK.js";import{c as u,a as g}from"./dev.utils-Bg7nZBMk.js";import{c as _,d as y,a as w}from"./element-interaction-sGYdEpmv.js";import"./Heading-wrhAEuG3.js";import"./clsx-COFh-Vc8.js";import"./block-bem-DehcAQZQ.js";import"./bem-registry-Crcs_65u.js";import"./component-NEw1tN3M.js";import"./component-et0GdBuf.js";import"./events-CRHxtwup.js";import"./label-hints-Jn18RUT-.js";import"./element-focus-BIRmGg5W.js";const v=class extends l{constructor(e){super(),o(this,e),this.accordionId=u("accordion"),this.controlId=g(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=_((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(o){p.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){f.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){b.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){h.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var o;this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return e(t,{key:"6544e841d130bdd7c26e759fe0ac85953a8c84d6"},e(k,{key:"28004d682b3f60355590ffe845d333a319e0ba72",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},e("slot",{key:"f21842659c01bc85f4c9d07becc22d92e349a365"})))}get host(){return i(this)}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}};n([y("ctaRef")],v.prototype,"focus",null),n([w("ctaRef")],v.prototype,"click",null),v.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: ""; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'};export{v as kol_accordion}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as t,H as e,g as i}from"./index-D_P2XoAc.js";import{t as n}from"./i18n-DtLKn3Xt.js";import"./common-OzsC_6kt.js";import{l}from"./level-CA1s1_Mf.js";import{c as a,n as r,a as s,b as c}from"./props-from-config-Ci0dILpz.js";import{h as d}from"./has-closer-B9NQY7BK.js";import{l as h}from"./label-lang-segment-2_GnxjFp.js";import{A as k}from"./component-BiYFPpjn.js";import{B as p}from"./base-web-component-XgI4wUyN.js";import{T as m}from"./behavior-B4IW5_Qt.js";import{c as f,n as b}from"./dev.utils-CwXr_J8N.js";import{c as u}from"./element-interaction-sGYdEpmv.js";import{d as g,K as _}from"./events-CRHxtwup.js";import"./i18n-Dl6Jjofb.js";import"./label-hints-Jn18RUT-.js";import"./tslib.es6-QNbPBOk5.js";import"./Heading-Bj2Ma7Tr.js";import"./clsx-COFh-Vc8.js";import"./bem-registry-CWN7_O1L.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./component-Dt6efHXY.js";import"./component-BvvE8aim.js";import"./validators-BVM40IEr.js";import"./component-BKfXEtN0.js";import"./component-C0zMsvYl.js";import"./component-C5QCCLLa.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./name-B2Yf3EpX.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-focus-BIRmGg5W.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),j=a("type","default",(o=>{const t=c(o);if(y.includes(t))return t;throw new Error(`Invalid alert type: ${t}`)}),(()=>!0)),C=a("variant","msg",(o=>{const t=c(o);if(v.includes(t))return t;throw new Error(`Invalid alert variant: ${t}`)}),(()=>!0)),z={optional:[x,w,j,C,d,h,l]},T=class extends p{constructor(t){super(),o(this,t),this.headingId=f("alert-heading"),this.closerAriaDescriptionId=b(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new m(this.stateAccess),this.propsConfig=z,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var t,e;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(e=(t=this.getRenderProp("on")).onClose)||void 0===e||e.call(t,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){d.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){h.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){j.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){C.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return t(e,{key:"3ee56cedf599332e3768168b358a8472edf89464"},t(k,{key:"4d4cb93c08ec616dd0a01a2aa9e52cee200c999b",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},t("slot",{key:"b69c3619bbb9b043b809808f13f9a117025f1111"})))}get host(){return i(this)}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}};T.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'};export{T as kol_alert}
|
|
4
|
+
import{r as o,h as t,H as e,g as i}from"./index-B_bJG8-2.js";import{t as n}from"./i18n-DtLKn3Xt.js";import"./common-OzsC_6kt.js";import{l}from"./level-CA1s1_Mf.js";import{c as a,n as r,a as s,b as c}from"./props-from-config-Ci0dILpz.js";import{h as d}from"./has-closer-B9NQY7BK.js";import{l as h}from"./label-lang-segment-2_GnxjFp.js";import{A as k}from"./component-0IO2wu9i.js";import{B as p}from"./base-web-component-XgI4wUyN.js";import{T as f}from"./behavior-fGxZN96S.js";import{c as b,n as m}from"./dev.utils-Bg7nZBMk.js";import{c as u}from"./element-interaction-sGYdEpmv.js";import{d as g,K as _}from"./events-CRHxtwup.js";import"./i18n-Dl6Jjofb.js";import"./label-hints-Jn18RUT-.js";import"./tslib.es6-QNbPBOk5.js";import"./Heading-wrhAEuG3.js";import"./clsx-COFh-Vc8.js";import"./bem-registry-Crcs_65u.js";import"./component-BJ4gGOph.js";import"./block-bem-DehcAQZQ.js";import"./component-Cxdi6on4.js";import"./component-CPq3i3I_.js";import"./validators-BVM40IEr.js";import"./component-ChuoBFI-.js";import"./component-NEw1tN3M.js";import"./component-et0GdBuf.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-focus-BIRmGg5W.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),j=a("type","default",(o=>{const t=c(o);if(y.includes(t))return t;throw new Error(`Invalid alert type: ${t}`)}),(()=>!0)),C=a("variant","msg",(o=>{const t=c(o);if(v.includes(t))return t;throw new Error(`Invalid alert variant: ${t}`)}),(()=>!0)),z={optional:[x,w,j,C,d,h,l]},T=class extends p{constructor(t){super(),o(this,t),this.headingId=b("alert-heading"),this.closerAriaDescriptionId=m(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new f(this.stateAccess),this.propsConfig=z,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var t,e;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(e=(t=this.getRenderProp("on")).onClose)||void 0===e||e.call(t,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){d.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){h.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){j.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){C.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return t(e,{key:"daef447493de729edead0cc8af4dcc3215c57d7f"},t(k,{key:"d76bbaa31c21ee10dbe14734ee44c3c0a3e0b7c1",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},t("slot",{key:"4919cde7c35f09153bd537868eea4fb31ec8b9b8"})))}get host(){return i(this)}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}};T.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794493099910"); src: url("kolicons.eot?t=1794493099910#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794493099910") format("woff2"), url("kolicons.woff?t=1794493099910") format("woff"), url("kolicons.ttf?t=1794493099910") format("truetype"), url("kolicons.svg?t=1794493099910#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }'};export{T as kol_alert}
|