@public-ui/components 3.0.6-rc.2 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +13 -1
- package/dist/cjs/{Alert-Do6ehPPd.js → Alert-CMxvMn30.js} +1 -1
- package/dist/cjs/{Alert-Do6ehPPd.js.map → Alert-CMxvMn30.js.map} +1 -1
- package/dist/cjs/{Collapsible-DLJ9ngpN.js → Collapsible-20txBr-0.js} +1 -1
- package/dist/cjs/{Collapsible-DLJ9ngpN.js.map → Collapsible-20txBr-0.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-CQNbxrFu.js → CustomSuggestionsToggle-CZ98Iejd.js} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-CQNbxrFu.js.map → CustomSuggestionsToggle-CZ98Iejd.js.map} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-BTPMHsM1.js → FieldControlStateWrapper-CP0G8ZHy.js} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-BTPMHsM1.js.map → FieldControlStateWrapper-CP0G8ZHy.js.map} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-C8Ds5tPB.js → FormFieldStateWrapper-Di-pdZzN.js} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-C8Ds5tPB.js.map → FormFieldStateWrapper-Di-pdZzN.js.map} +1 -1
- package/dist/cjs/{Heading-DGnr9w8b.js → Heading-D5CosFd4.js} +1 -1
- package/dist/cjs/{Heading-DGnr9w8b.js.map → Heading-D5CosFd4.js.map} +1 -1
- package/dist/cjs/{Icon-CrlBnVcz.js → Icon-BFqgSgW-.js} +1 -1
- package/dist/cjs/{Icon-CrlBnVcz.js.map → Icon-BFqgSgW-.js.map} +1 -1
- package/dist/cjs/{Input-DMeMmmBn.js → Input-BOsVmJrz.js} +1 -1
- package/dist/cjs/{Input-DMeMmmBn.js.map → Input-BOsVmJrz.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-0zKOwPtz.js → InputStateWrapper-BreITcAq.js} +1 -1
- package/dist/cjs/{InputStateWrapper-0zKOwPtz.js.map → InputStateWrapper-BreITcAq.js.map} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-DPW4yX2Z.js → InternalUnderlinedBadgeText-zzLmgJIU.js} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-DPW4yX2Z.js.map → InternalUnderlinedBadgeText-zzLmgJIU.js.map} +1 -1
- package/dist/cjs/{Span-BBoWRjZC.js → Span-REN_AO7y.js} +1 -1
- package/dist/cjs/{Span-BBoWRjZC.js.map → Span-REN_AO7y.js.map} +1 -1
- package/dist/cjs/{app-globals-9cT_8sCJ.js → app-globals-DwaQEtoD.js} +1 -1
- package/dist/cjs/{app-globals-9cT_8sCJ.js.map → app-globals-DwaQEtoD.js.map} +1 -1
- package/dist/cjs/{controller-DvExtwnx.js → controller-BA5x9imI.js} +1 -1
- package/dist/cjs/{controller-DvExtwnx.js.map → controller-BA5x9imI.js.map} +1 -1
- package/dist/cjs/{controller-Ccj6Gm2M.js → controller-BGGeczWr.js} +1 -1
- package/dist/cjs/{controller-Ccj6Gm2M.js.map → controller-BGGeczWr.js.map} +1 -1
- package/dist/cjs/{controller-C2cxr6Rw.js → controller-BHC29CMZ.js} +1 -1
- package/dist/cjs/{controller-C2cxr6Rw.js.map → controller-BHC29CMZ.js.map} +1 -1
- package/dist/cjs/{controller-icon-QLNq0HO6.js → controller-icon-BLy-Cg6m.js} +1 -1
- package/dist/cjs/{controller-icon-QLNq0HO6.js.map → controller-icon-BLy-Cg6m.js.map} +1 -1
- package/dist/cjs/{dev.utils-UE8Qk4FC.js → dev.utils-DtiQsS5q.js} +1 -1
- package/dist/cjs/{dev.utils-UE8Qk4FC.js.map → dev.utils-DtiQsS5q.js.map} +1 -1
- package/dist/cjs/{devtools-DaWRMPjB.js → devtools-D0veQHgg.js} +1 -1
- package/dist/cjs/{devtools-DaWRMPjB.js.map → devtools-D0veQHgg.js.map} +1 -1
- package/dist/cjs/index-ZYMPgIaJ.js +4 -0
- package/dist/cjs/index-ZYMPgIaJ.js.map +1 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/table-settings-Ct3SRuhX.js +4 -0
- package/dist/cjs/table-settings-Ct3SRuhX.js.map +1 -0
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-abbr.js.map +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-accordion.js.map +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-alert.js.map +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-avatar.js.map +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-badge.js.map +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-breadcrumb.js.map +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button-link.js.map +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-button.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-card.js.map +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-combobox.js.map +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-details.js.map +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-drawer.js.map +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-form.js.map +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-heading.js.map +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-image.js.map +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-checkbox.js.map +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-color.js.map +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-date.js.map +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-email.js.map +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-file.js.map +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-number.js.map +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-radio.js.map +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-range.js.map +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-input-text.js.map +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-kolibri.js.map +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link-button.js.map +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-link.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-pagination.js.map +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-progress.js.map +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-single-select.js.map +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-skip-nav.js.map +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateful.js.map +1 -1
- package/dist/components/kol-table-stateless-wc.js +1 -1
- package/dist/components/kol-table-stateless-wc.js.map +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-table-stateless.js.map +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-tabs.js.map +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toast-container.js.map +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-toolbar.js.map +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-item.js.map +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-tree.js.map +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/kol-version.js.map +1 -1
- package/dist/components/table-settings.js +1 -1
- package/dist/components/table-settings.js.map +1 -1
- package/dist/esm/{Alert-qbdf_fcL.js → Alert-R2nEqfd2.js} +1 -1
- package/dist/{kolibri/Alert-qbdf_fcL.js.map → esm/Alert-R2nEqfd2.js.map} +1 -1
- package/dist/esm/{Collapsible-CIrvKN_B.js → Collapsible-B4WnEb_T.js} +1 -1
- package/dist/esm/{Collapsible-CIrvKN_B.js.map → Collapsible-B4WnEb_T.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsToggle-DElswCqH.js → CustomSuggestionsToggle-Dez_Y4wT.js} +1 -1
- package/dist/esm/{CustomSuggestionsToggle-DElswCqH.js.map → CustomSuggestionsToggle-Dez_Y4wT.js.map} +1 -1
- package/dist/esm/{FieldControlStateWrapper-CHywsLUV.js → FieldControlStateWrapper-CwL8LaZs.js} +1 -1
- package/dist/{kolibri/FieldControlStateWrapper-CHywsLUV.js.map → esm/FieldControlStateWrapper-CwL8LaZs.js.map} +1 -1
- package/dist/esm/{FormFieldStateWrapper-CmxXneQY.js → FormFieldStateWrapper-B7PqxuTo.js} +1 -1
- package/dist/esm/{FormFieldStateWrapper-CmxXneQY.js.map → FormFieldStateWrapper-B7PqxuTo.js.map} +1 -1
- package/dist/esm/{Heading-CKpEiZDI.js → Heading-DT8fK42U.js} +1 -1
- package/dist/{kolibri/Heading-CKpEiZDI.js.map → esm/Heading-DT8fK42U.js.map} +1 -1
- package/dist/esm/Icon-oHNRs_Az.js +4 -0
- package/dist/esm/{Icon-CPnthaTn.js.map → Icon-oHNRs_Az.js.map} +1 -1
- package/dist/esm/Input-Dfunc1i_.js +4 -0
- package/dist/esm/{Input-BHMhOXxm.js.map → Input-Dfunc1i_.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-CqJvkzZt.js → InputStateWrapper--oSOR1R1.js} +1 -1
- package/dist/{kolibri/InputStateWrapper-CqJvkzZt.js.map → esm/InputStateWrapper--oSOR1R1.js.map} +1 -1
- package/dist/esm/InternalUnderlinedBadgeText-dfa2g8TL.js +4 -0
- package/dist/esm/{InternalUnderlinedBadgeText-DOCFbPLy.js.map → InternalUnderlinedBadgeText-dfa2g8TL.js.map} +1 -1
- package/dist/esm/{Span-BZB_bkKp.js → Span-43sGxXr7.js} +1 -1
- package/dist/{kolibri/Span-BZB_bkKp.js.map → esm/Span-43sGxXr7.js.map} +1 -1
- package/dist/esm/{app-globals-Bd-b6ifP.js → app-globals-BGFjV0_b.js} +1 -1
- package/dist/esm/{app-globals-Bd-b6ifP.js.map → app-globals-BGFjV0_b.js.map} +1 -1
- package/dist/esm/{controller-CBTEbm6r.js → controller-BdRR-y_g.js} +1 -1
- package/dist/{kolibri/controller-CBTEbm6r.js.map → esm/controller-BdRR-y_g.js.map} +1 -1
- package/dist/esm/{controller-Cb9l3YaE.js → controller-CBa44cbK.js} +1 -1
- package/dist/{kolibri/controller-Cb9l3YaE.js.map → esm/controller-CBa44cbK.js.map} +1 -1
- package/dist/esm/{controller-BORRr_3T.js → controller-DspJt0fi.js} +1 -1
- package/dist/esm/{controller-BORRr_3T.js.map → controller-DspJt0fi.js.map} +1 -1
- package/dist/esm/{controller-icon-CvKGJIGZ.js → controller-icon-aakQFHso.js} +1 -1
- package/dist/esm/{controller-icon-CvKGJIGZ.js.map → controller-icon-aakQFHso.js.map} +1 -1
- package/dist/esm/{dev.utils-D4rfC2RQ.js → dev.utils-Bbi3sn8s.js} +1 -1
- package/dist/esm/{dev.utils-D4rfC2RQ.js.map → dev.utils-Bbi3sn8s.js.map} +1 -1
- package/dist/esm/{devtools-DosNZdSl.js → devtools-D10LWpor.js} +1 -1
- package/dist/esm/{devtools-DosNZdSl.js.map → devtools-D10LWpor.js.map} +1 -1
- package/dist/esm/index-44UAWlcO.js +4 -0
- package/dist/esm/index-44UAWlcO.js.map +1 -0
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js.map +1 -1
- package/dist/esm/kol-alert-wc.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js.map +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js.map +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js.map +1 -1
- package/dist/esm/kol-button-wc.entry.js +1 -1
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-button.entry.js.map +1 -1
- package/dist/esm/kol-card-wc.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-card.entry.js.map +1 -1
- package/dist/esm/kol-combobox.entry.js +1 -1
- package/dist/esm/kol-combobox.entry.js.map +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-details.entry.js.map +1 -1
- package/dist/esm/kol-drawer.entry.js +1 -1
- package/dist/esm/kol-drawer.entry.js.map +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-form.entry.js.map +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-image.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js.map +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js.map +1 -1
- package/dist/esm/kol-link-wc.entry.js +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-link.entry.js.map +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js.map +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js.map +1 -1
- package/dist/esm/kol-pagination-wc.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js.map +1 -1
- package/dist/esm/kol-popover-button-wc.entry.js +1 -1
- package/dist/esm/kol-popover-button.entry.js +1 -1
- package/dist/esm/kol-popover-button.entry.js.map +1 -1
- package/dist/esm/kol-popover-wc.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-select.entry.js.map +1 -1
- package/dist/esm/kol-single-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js.map +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js.map +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-table-settings-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless.entry.js +1 -1
- package/dist/esm/kol-table-stateless.entry.js.map +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js.map +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js.map +1 -1
- package/dist/esm/kol-toolbar.entry.js +1 -1
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js.map +1 -1
- package/dist/esm/kol-tree-wc.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js.map +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kol-version.entry.js.map +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/table-settings-DSZObo-2.js +4 -0
- package/dist/esm/table-settings-DSZObo-2.js.map +1 -0
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/kolibri/Alert-R2nEqfd2.js +4 -0
- package/dist/{esm/Alert-qbdf_fcL.js.map → kolibri/Alert-R2nEqfd2.js.map} +1 -1
- package/dist/kolibri/{Collapsible-CIrvKN_B.js → Collapsible-B4WnEb_T.js} +1 -1
- package/dist/kolibri/{Collapsible-CIrvKN_B.js.map → Collapsible-B4WnEb_T.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsToggle-DElswCqH.js → CustomSuggestionsToggle-Dez_Y4wT.js} +1 -1
- package/dist/kolibri/{CustomSuggestionsToggle-DElswCqH.js.map → CustomSuggestionsToggle-Dez_Y4wT.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-CwL8LaZs.js +4 -0
- package/dist/{esm/FieldControlStateWrapper-CHywsLUV.js.map → kolibri/FieldControlStateWrapper-CwL8LaZs.js.map} +1 -1
- package/dist/kolibri/FormFieldStateWrapper-B7PqxuTo.js +4 -0
- package/dist/kolibri/{FormFieldStateWrapper-CmxXneQY.js.map → FormFieldStateWrapper-B7PqxuTo.js.map} +1 -1
- package/dist/kolibri/{Heading-CKpEiZDI.js → Heading-DT8fK42U.js} +1 -1
- package/dist/{esm/Heading-CKpEiZDI.js.map → kolibri/Heading-DT8fK42U.js.map} +1 -1
- package/dist/kolibri/Icon-oHNRs_Az.js +4 -0
- package/dist/kolibri/{Icon-CPnthaTn.js.map → Icon-oHNRs_Az.js.map} +1 -1
- package/dist/kolibri/Input-Dfunc1i_.js +4 -0
- package/dist/kolibri/{Input-BHMhOXxm.js.map → Input-Dfunc1i_.js.map} +1 -1
- package/dist/kolibri/{InputStateWrapper-CqJvkzZt.js → InputStateWrapper--oSOR1R1.js} +1 -1
- package/dist/{esm/InputStateWrapper-CqJvkzZt.js.map → kolibri/InputStateWrapper--oSOR1R1.js.map} +1 -1
- package/dist/kolibri/InternalUnderlinedBadgeText-dfa2g8TL.js +4 -0
- package/dist/kolibri/{InternalUnderlinedBadgeText-DOCFbPLy.js.map → InternalUnderlinedBadgeText-dfa2g8TL.js.map} +1 -1
- package/dist/kolibri/Span-43sGxXr7.js +4 -0
- package/dist/{esm/Span-BZB_bkKp.js.map → kolibri/Span-43sGxXr7.js.map} +1 -1
- package/dist/kolibri/app-globals-BGFjV0_b.js +4 -0
- package/dist/kolibri/{app-globals-Bd-b6ifP.js.map → app-globals-BGFjV0_b.js.map} +1 -1
- package/dist/kolibri/{controller-CBTEbm6r.js → controller-BdRR-y_g.js} +1 -1
- package/dist/{esm/controller-CBTEbm6r.js.map → kolibri/controller-BdRR-y_g.js.map} +1 -1
- package/dist/kolibri/{controller-Cb9l3YaE.js → controller-CBa44cbK.js} +1 -1
- package/dist/{esm/controller-Cb9l3YaE.js.map → kolibri/controller-CBa44cbK.js.map} +1 -1
- package/dist/kolibri/controller-DspJt0fi.js +4 -0
- package/dist/kolibri/{controller-BORRr_3T.js.map → controller-DspJt0fi.js.map} +1 -1
- package/dist/kolibri/{controller-icon-CvKGJIGZ.js → controller-icon-aakQFHso.js} +1 -1
- package/dist/kolibri/{controller-icon-CvKGJIGZ.js.map → controller-icon-aakQFHso.js.map} +1 -1
- package/dist/kolibri/{dev.utils-D4rfC2RQ.js → dev.utils-Bbi3sn8s.js} +1 -1
- package/dist/kolibri/{dev.utils-D4rfC2RQ.js.map → dev.utils-Bbi3sn8s.js.map} +1 -1
- package/dist/kolibri/{devtools-DosNZdSl.js → devtools-D10LWpor.js} +1 -1
- package/dist/kolibri/{devtools-DosNZdSl.js.map → devtools-D10LWpor.js.map} +1 -1
- package/dist/kolibri/{index-D7gsjUuJ.js → index-44UAWlcO.js} +2 -2
- package/dist/kolibri/index-44UAWlcO.js.map +1 -0
- package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js.map +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js.map +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js.map +1 -1
- package/dist/kolibri/kol-card-wc.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js.map +1 -1
- package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js.map +1 -1
- package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js.map +1 -1
- package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js.map +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js.map +1 -1
- package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-wc.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js.map +1 -1
- package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
- package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js.map +1 -1
- package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js.map +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/table-settings-DSZObo-2.js +4 -0
- package/dist/kolibri/table-settings-DSZObo-2.js.map +1 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/types/components/nav/shadow.d.ts +0 -1
- package/dist/types/components/table-stateful/shadow.d.ts +3 -1
- package/dist/types/components/table-stateless/component.d.ts +3 -1
- package/dist/types/components/table-stateless/shadow.d.ts +2 -1
- package/dist/types/components.d.ts +26 -2
- package/dist/types/schema/components/table.d.ts +3 -3
- package/dist/types/schema/components/tableStateless.d.ts +3 -2
- package/dist/types/schema/props/has-settings-menu.d.ts +6 -0
- package/dist/types/schema/props/index.d.ts +1 -1
- package/doc/table-stateful.md +1 -0
- package/doc/table-stateless.md +11 -10
- package/index.scss +1 -1
- package/package.json +1 -1
- package/vscode-custom-data.json +8 -0
- package/dist/cjs/index-CMEXkCjL.js +0 -4
- package/dist/cjs/index-CMEXkCjL.js.map +0 -1
- package/dist/cjs/table-settings-C94oBnXF.js +0 -4
- package/dist/cjs/table-settings-C94oBnXF.js.map +0 -1
- package/dist/esm/Icon-CPnthaTn.js +0 -4
- package/dist/esm/Input-BHMhOXxm.js +0 -4
- package/dist/esm/InternalUnderlinedBadgeText-DOCFbPLy.js +0 -4
- package/dist/esm/index-D7gsjUuJ.js +0 -4
- package/dist/esm/index-D7gsjUuJ.js.map +0 -1
- package/dist/esm/table-settings-PrIyAPEe.js +0 -4
- package/dist/esm/table-settings-PrIyAPEe.js.map +0 -1
- package/dist/kolibri/Alert-qbdf_fcL.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-CHywsLUV.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper-CmxXneQY.js +0 -4
- package/dist/kolibri/Icon-CPnthaTn.js +0 -4
- package/dist/kolibri/Input-BHMhOXxm.js +0 -4
- package/dist/kolibri/InternalUnderlinedBadgeText-DOCFbPLy.js +0 -4
- package/dist/kolibri/Span-BZB_bkKp.js +0 -4
- package/dist/kolibri/app-globals-Bd-b6ifP.js +0 -4
- package/dist/kolibri/controller-BORRr_3T.js +0 -4
- package/dist/kolibri/index-D7gsjUuJ.js.map +0 -1
- package/dist/kolibri/table-settings-PrIyAPEe.js +0 -4
- package/dist/kolibri/table-settings-PrIyAPEe.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"controller-icon-CvKGJIGZ.js","sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx","src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `kol-input-container__adornment`;\n\tconst positionClassName = `${rootClassName}--${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, positionClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport InputAdornment from '../InputAdornment';\nimport { checkHasMsg, type MsgPropType, type Stringified } from '../../schema';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n\n\tcontainerProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tstartAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tendAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst Container: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: className, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-input-container__container', className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, disabled, msg, touched, containerProps, startAdornmentProps, endAdornmentProps, ...other } = props;\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst msgType = typeof msg === 'string' ? 'error' : msg?._type;\n\n\tconst stateCssClasses = {\n\t\t['kol-input-container--disabled']: disabled,\n\t\t[`kol-input-container--${msgType || 'error'}`]: showMsg,\n\t};\n\n\tconst baseProps: JSXBase.HTMLAttributes<HTMLDivElement> = {\n\t\tclass: clsx('kol-input-container', stateCssClasses, classNames),\n\t\t...other,\n\t};\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div {...baseProps}>\n\t\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div {...baseProps}>\n\t\t\t<InputAdornment {...startAdornmentProps} position=\"start\">\n\t\t\t\t{startAdornment}\n\t\t\t</InputAdornment>\n\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t<InputAdornment {...endAdornmentProps} position=\"end\">\n\t\t\t\t{endAdornment}\n\t\t\t</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { InternalButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<InternalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\nimport type { ButtonVariantPropType } from '../../schema';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\tbuttonVariant?: ButtonVariantPropType;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The name of the icon (e.g., \"home\", \"edit\") or the Codicon class used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `buttonVariant`: Variant for the button component.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`codicon codicon-${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport {\n\ttype ButtonProps,\n\ttype IconOrIconClass,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype KoliBriHorizontalIcons,\n\ttype TextareaStates,\n\ttype SelectStates,\n\ttype MsgPropType,\n\ttype Stringified,\n} from '../../schema';\n\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { isObject, isString } from 'lodash-es';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): {\n\ticons?: KoliBriHorizontalIcons;\n\tsmartButton?: ButtonProps;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n} {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: ButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn {\n\t\ticons,\n\t\tsmartButton,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg,\n\t\ttouched: state._touched,\n\t};\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = ({ state, endAdornment: defaultEndAdornment }, children) => {\n\tconst { icons, smartButton, disabled, msg, touched } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(\n\t\t\t<KolIconButtonFc componentName=\"button\" class=\"kol-input-container__smart-button\" {...smartButton} hideLabel={true} disabled={disabled} />,\n\t\t);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc disabled={disabled} msg={msg} touched={touched} startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { IconsHorizontalPropType, NumberString } from '../../../schema';\nimport { watchValidator } from '../../../schema';\nimport { validateIcons } from '../../../schema';\n\nimport { InputController } from './controller';\n\nimport type { Props, Watches } from './types-icon';\n\nexport class InputIconController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprivate readonly numberStringRegex = /^\\d+(\\.\\d+)?$/; // https://regex101.com/r/mET6Tx/1\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tvalidateIcons(this.component, value);\n\t}\n\n\tpublic isNumberString(value: unknown): value is NumberString {\n\t\treturn typeof value === 'string' && this.numberStringRegex.test(value);\n\t}\n\n\tprotected readonly parseToNumber = (value?: number | NumberString | null): number | null => {\n\t\tif (typeof value === 'number') {\n\t\t\treturn isNaN(value) ? null : value;\n\t\t}\n\t\tif (this.isNumberString(value)) {\n\t\t\treturn parseFloat(value);\n\t\t}\n\t\treturn null;\n\t};\n\n\tprotected readonly validateNumber = (propName: string, value?: number | NumberString | null) => {\n\t\treturn watchValidator(\n\t\t\tthis.component,\n\t\t\tpropName,\n\t\t\t(value): boolean =>\n\t\t\t\tvalue === undefined || value === null || typeof value === 'number' || (typeof value === 'string' && this.numberStringRegex.test(value)),\n\t\t\tnew Set(['number', 'NumberString']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (value: unknown, nextState) => {\n\t\t\t\t\t\tif (nextState?.has(propName)) {\n\t\t\t\t\t\t\tnextState?.set(propName, this.parseToNumber(value as number | NumberString | null));\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t};\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcons(this.component._icons);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAQA,MAAM,cAAc,GAA4B,CAAC,EAAkD,EAAE,QAAQ,KAAI;IAAhE,IAAA,EAAE,QAAQ,GAAG,OAAO,EAAE,KAAK,EAAE,SAAS,EAAA,GAAA,EAAY,EAAP,KAAK,GAAhD,MAAA,CAAA,EAAA,EAAA,CAAA,UAAA,EAAA,OAAA,CAAkD,CAAF;IAChG,MAAM,aAAa,GAAG,CAAA,8BAAA,CAAgC;AACtD,IAAA,MAAM,iBAAiB,GAAG,CAAA,EAAG,aAAa,CAAK,EAAA,EAAA,QAAQ,EAAE;AAEzD,IAAA,QACC,CAAK,CAAA,KAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,iBAAiB,EAAE,SAAS,CAAC,EAAM,EAAA,KAAK,GACtE,QAAQ,CACJ;AAER,CAAC;;ACGD,SAAS,QAAQ,CAAC,KAA0B,EAAA;IAC3C,IAAI,CAAC,KAAK,EAAE;AACX,QAAA,OAAO,KAAK;;IAGb,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;AAChE;AAEA,MAAM,SAAS,GAA+C,CAAC,EAA8B,EAAE,QAAQ,KAAI;QAA5C,EAAE,KAAK,EAAE,SAAS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aAAT,SAAS,KAAA,MAAA,GAAA,MAAA,GAAT,SAAS,CAAE,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,KAAqC,CAAC,CAAC;;qBAEpF;AACD,iBAAA;AACD,aAAA,CACD;AACF,SAAC;AAvCA,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,aAAa,CAAC,KAA+B,EAAA;AACnD,QAAA,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAG9B,IAAA,cAAc,CAAC,KAAc,EAAA;AACnC,QAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC;;IAiChE,iBAAiB,GAAA;QACvB,KAAK,CAAC,iBAAiB,EAAE;QACzB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;;AAE1C;;;;"}
|
1
|
+
{"version":3,"file":"controller-icon-aakQFHso.js","sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx","src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `kol-input-container__adornment`;\n\tconst positionClassName = `${rootClassName}--${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, positionClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport InputAdornment from '../InputAdornment';\nimport { checkHasMsg, type MsgPropType, type Stringified } from '../../schema';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n\n\tcontainerProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tstartAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tendAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst Container: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: className, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-input-container__container', className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, disabled, msg, touched, containerProps, startAdornmentProps, endAdornmentProps, ...other } = props;\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst msgType = typeof msg === 'string' ? 'error' : msg?._type;\n\n\tconst stateCssClasses = {\n\t\t['kol-input-container--disabled']: disabled,\n\t\t[`kol-input-container--${msgType || 'error'}`]: showMsg,\n\t};\n\n\tconst baseProps: JSXBase.HTMLAttributes<HTMLDivElement> = {\n\t\tclass: clsx('kol-input-container', stateCssClasses, classNames),\n\t\t...other,\n\t};\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div {...baseProps}>\n\t\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div {...baseProps}>\n\t\t\t<InputAdornment {...startAdornmentProps} position=\"start\">\n\t\t\t\t{startAdornment}\n\t\t\t</InputAdornment>\n\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t<InputAdornment {...endAdornmentProps} position=\"end\">\n\t\t\t\t{endAdornment}\n\t\t\t</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { InternalButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<InternalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\nimport type { ButtonVariantPropType } from '../../schema';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\tbuttonVariant?: ButtonVariantPropType;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The name of the icon (e.g., \"home\", \"edit\") or the Codicon class used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `buttonVariant`: Variant for the button component.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`codicon codicon-${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport {\n\ttype ButtonProps,\n\ttype IconOrIconClass,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype KoliBriHorizontalIcons,\n\ttype TextareaStates,\n\ttype SelectStates,\n\ttype MsgPropType,\n\ttype Stringified,\n} from '../../schema';\n\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { isObject, isString } from 'lodash-es';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): {\n\ticons?: KoliBriHorizontalIcons;\n\tsmartButton?: ButtonProps;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n} {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: ButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn {\n\t\ticons,\n\t\tsmartButton,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg,\n\t\ttouched: state._touched,\n\t};\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = ({ state, endAdornment: defaultEndAdornment }, children) => {\n\tconst { icons, smartButton, disabled, msg, touched } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(\n\t\t\t<KolIconButtonFc componentName=\"button\" class=\"kol-input-container__smart-button\" {...smartButton} hideLabel={true} disabled={disabled} />,\n\t\t);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc disabled={disabled} msg={msg} touched={touched} startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { IconsHorizontalPropType, NumberString } from '../../../schema';\nimport { watchValidator } from '../../../schema';\nimport { validateIcons } from '../../../schema';\n\nimport { InputController } from './controller';\n\nimport type { Props, Watches } from './types-icon';\n\nexport class InputIconController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprivate readonly numberStringRegex = /^\\d+(\\.\\d+)?$/; // https://regex101.com/r/mET6Tx/1\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tvalidateIcons(this.component, value);\n\t}\n\n\tpublic isNumberString(value: unknown): value is NumberString {\n\t\treturn typeof value === 'string' && this.numberStringRegex.test(value);\n\t}\n\n\tprotected readonly parseToNumber = (value?: number | NumberString | null): number | null => {\n\t\tif (typeof value === 'number') {\n\t\t\treturn isNaN(value) ? null : value;\n\t\t}\n\t\tif (this.isNumberString(value)) {\n\t\t\treturn parseFloat(value);\n\t\t}\n\t\treturn null;\n\t};\n\n\tprotected readonly validateNumber = (propName: string, value?: number | NumberString | null) => {\n\t\treturn watchValidator(\n\t\t\tthis.component,\n\t\t\tpropName,\n\t\t\t(value): boolean =>\n\t\t\t\tvalue === undefined || value === null || typeof value === 'number' || (typeof value === 'string' && this.numberStringRegex.test(value)),\n\t\t\tnew Set(['number', 'NumberString']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (value: unknown, nextState) => {\n\t\t\t\t\t\tif (nextState?.has(propName)) {\n\t\t\t\t\t\t\tnextState?.set(propName, this.parseToNumber(value as number | NumberString | null));\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t};\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcons(this.component._icons);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAQA,MAAM,cAAc,GAA4B,CAAC,EAAkD,EAAE,QAAQ,KAAI;IAAhE,IAAA,EAAE,QAAQ,GAAG,OAAO,EAAE,KAAK,EAAE,SAAS,EAAA,GAAA,EAAY,EAAP,KAAK,GAAhD,MAAA,CAAA,EAAA,EAAA,CAAA,UAAA,EAAA,OAAA,CAAkD,CAAF;IAChG,MAAM,aAAa,GAAG,CAAA,8BAAA,CAAgC;AACtD,IAAA,MAAM,iBAAiB,GAAG,CAAA,EAAG,aAAa,CAAK,EAAA,EAAA,QAAQ,EAAE;AAEzD,IAAA,QACC,CAAK,CAAA,KAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,iBAAiB,EAAE,SAAS,CAAC,EAAM,EAAA,KAAK,GACtE,QAAQ,CACJ;AAER,CAAC;;ACGD,SAAS,QAAQ,CAAC,KAA0B,EAAA;IAC3C,IAAI,CAAC,KAAK,EAAE;AACX,QAAA,OAAO,KAAK;;IAGb,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;AAChE;AAEA,MAAM,SAAS,GAA+C,CAAC,EAA8B,EAAE,QAAQ,KAAI;QAA5C,EAAE,KAAK,EAAE,SAAS,EAAA,GAAA,EAAY,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAA5B,SAA8B,CAAF;IAC1F,QACC,CAAK,CAAA,KAAA,EAAA,M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AC,CAAC;;qBAEpF;AACD,iBAAA;AACD,aAAA,CACD;AACF,SAAC;AAvCA,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,aAAa,CAAC,KAA+B,EAAA;AACnD,QAAA,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAG9B,IAAA,cAAc,CAAC,KAAc,EAAA;AACnC,QAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC;;IAiChE,iBAAiB,GAAA;QACvB,KAAK,CAAC,iBAAiB,EAAE;QACzB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;;AAE1C;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{L as t,A as e,B as n,C as o,D as i,E as s}from"./common-8fBdMvJM.js";import{E as r}from"./index-
|
4
|
+
import{L as t,A as e,B as n,C as o,D as i,E as s}from"./common-8fBdMvJM.js";import{E as r}from"./index-44UAWlcO.js";const a=()=>{try{const t=e();if(!t||"function"!=typeof t.querySelector)return;const i=t.querySelector('meta[name="kolibri"]');if(i&&i.hasAttribute("content")){const e=i.getAttribute("content");"string"==typeof e&&(n(e.includes("experimental-mode=true")),o(e.includes("color-contrast-analysis=true")))}}catch(e){}},c=()=>{let e=i().KoliBri;return void 0===e&&(e={},Object.defineProperty(i(),"KoliBri",{value:e,writable:!1})),e},u=()=>{a(),t.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==c().adviceShown&&(Object.defineProperty(c(),"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 f=()=>Math.floor(16777215*Math.random()).toString(16);s()&&(f=()=>"nonce");export{u as i,f as n,l as r};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dev.utils-
|
1
|
+
{"version":3,"file":"dev.utils-Bbi3sn8s.js","sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, isTestMode, setColorContrastAnalysis, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\ttry {\n\t\tconst document = getDocument();\n\t\tif (!document || typeof document.querySelector !== 'function') {\n\t\t\treturn; // Skip meta initialization if document is not available\n\t\t}\n\n\t\tconst meta = document.querySelector('meta[name=\"kolibri\"]');\n\t\tif (meta && meta.hasAttribute('content')) {\n\t\t\tconst content = meta.getAttribute('content');\n\t\t\tif (typeof content === 'string') {\n\t\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t\t}\n\t\t}\n\t} catch (error) {\n\t\t// Ignore meta initialization errors in test/SSR environments\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\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`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (isTestMode()) {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,QAAQ,GAAG,MAAW;AAC3B,IAAA,IAAI;AACH,QAAA,MAAM,QAAQ,GAAG,WAAW,EAAE;QAC9B,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,CAAC,aAAa,KAAK,UAAU,EAAE;YAC9D;;QAGD,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC;QAC3D,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE;YACzC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC;AAC5C,YAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;gBAChC,mBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;gBAC/D,wBAAwB,CAAC,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC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Z as r,p as c,_ as f,J as d,$ as u}from"./common-8fBdMvJM.js";import{i as p,r as m}from"./dev.utils-Bbi3sn8s.js";import"./index-44UAWlcO.js";const v=()=>{let t=n().KoliBri;return void 0===t&&(t={},Object.defineProperty(n(),"KoliBri",{value:t,writable:!1})),t};function L(t,e){try{Object.defineProperty(v(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const y=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(p(),t()&&(m(),L("a11yColorContrast",e),L("querySelector",s),L("querySelectorAll",l),L("querySelectorColors",a),L("utils",function(){return r}),L("parseJson",c),L("stringifyJson",f),y("Development mode",t()),y("Experimental mode",d()),y("Color contrast analysis",u()),setTimeout(()=>{try{const t=i(),e=null==t?void 0:t.body;if(t&&e&&"function"==typeof t.createElement){const o=t.createElement("svg");o.setAttribute("aria-label","KoliBri-DevTools"),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("role","toolbar"),o.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),o.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>',e.appendChild(o)}}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(()=>{r.queryHtmlElementColors(t.createElement("div"),e(o),!1,!1)},1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}},2500)}};export{h as initialize};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"devtools-
|
1
|
+
{"version":3,"file":"devtools-D10LWpor.js","sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tisDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (isDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tmetaModeLog('Development mode', isDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\t// Delay DOM manipulation to ensure document is ready\n\t\tsetTimeout(() => {\n\t\t\ttry {\n\t\t\t\tconst document = getDocument();\n\t\t\t\tconst body = document?.body;\n\n\t\t\t\t// Only proceed if we have a valid document and body\n\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\tconst div = document.createElement('svg');\n\t\t\t\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\t\t\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\t\t\t\tdiv.setAttribute('role', 'toolbar');\n\t\t\t\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\t\t\t\tdiv.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>`;\n\n\t\t\t\t\tbody.appendChild(div);\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tLog.debug(['Could not initialize DevTools UI (likely in SSR/test environment):', error]);\n\t\t\t}\n\t\t}, 100);\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\ttry {\n\t\t\t\t\tconst document = getDocument();\n\t\t\t\t\tconst body = document?.body;\n\t\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\t\tsetInterval(() => {\n\t\t\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(document.createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t\t\t}, 10000);\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.debug(['Could not initialize color contrast analysis:', error]);\n\t\t\t\t}\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"names":[],"mappings":";;;;;;;AAiBA,MAAM,UAAU,GAAG,MAA8B;AAChD,IAAA,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO;AACjC,IAAA,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE;AACZ,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE;AAC7C,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,QAAQ,EAAE,KAAK;AACf,SAAA,CAAC;;AAEH,IAAA,OAAO,OAAO;AACf,CAAC;AAED,SAAS,gBAAgB,CAAI,IAAY,EAAE,EAAK,EAAA;AAC/C,IAAA,IAAI;AACH,QAAA,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE;AACzC,YAAA,GAAG,EAAE,YAAA;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KAAK,CAAC,CAAC;;aAEpE,EAAE,IAAI,CAAC;;;AAqBX;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import"./common-8fBdMvJM.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.6
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,b=[],g="r",S="o",j="s",O="t",k="c",x="s-id",E="sty-id",N="c-id",C="{visibility:hidden}.hydrated{visibility:inherit}",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",M="http://www.w3.org/1999/xlink",R="undefined"!=typeof window?window:{},L={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},F=(()=>{var e;let t=!1;try{null==(e=R.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),P=e=>Promise.resolve(e),T=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),U=!!T&&(!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable),A=e=>P().then(e),B=e=>"object"===(e=typeof e)||"function"===e;function D(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=class e{static fromLocalValue(t){const n=t[a],o=c in t?t[c]:void 0;switch(n){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(t=>e.fromLocalValue(t));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,r=e.fromLocalValue(s);t.set(o,r)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:l}=o;return new RegExp(r,l);case"set":const i=new Set;for(const t of o)i.add(e.fromLocalValue(t));return i;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(a))return!1;const t=e[a];return!!Object.values({...o,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},_={};i(_,{err:()=>H,map:()=>J,ok:()=>z,unwrap:()=>q,unwrapErr:()=>Y});var z=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function J(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>z(e)):z(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var Q,q=e=>{if(e.isOk)return e.value;throw e.value},Y=e=>{if(e.isErr)return e.value;throw e.value};function G(e){return"string"==typeof e&&e.startsWith(u)?W.fromLocalValue(JSON.parse(atob(e.slice(u.length)))):e}function K(e){}function X(e){var t;const n=this.attachShadow({mode:"open",delegatesFocus:!!(16&e.i)});void 0===Q&&(Q=null!=(t=K())?t:null),Q&&(U?n.adoptedStyleSheets.push(Q):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Q])}var Z=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&te(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(ne(e,le(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&oe(e,"childNodes").length&&Z(e)}},ee=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function te(e,t,n){let o,s=0,r=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||r.push(o),r=[...r,...te(o.childNodes,t,n)];return r}var ne=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)le(s)!==t||!n&&s["s-sr"]||o.push(s);return o},re=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ie=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const r=t["s-cr"].parentNode,l=oe(r,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=oe(r,"childNodes"),t=[s];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>l.call(r,e))}else l.call(r,s);e["s-ol"]=s,e["s-sh"]=t["s-hn"]},le=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function se(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for KoliBri 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 KoliBri repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ee(s.childNodes)).forEach(e=>{o===le(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function oe(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var fe=(e,t="")=>()=>{},ae=(e,t)=>()=>{},ce=new WeakMap,ue=(e,t,n)=>{let o=w.get(e);T&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,w.set(e,o)},ve=(e,t,n)=>{var o;const s=pe(t,n),r=w.get(s);if(!R.document)return s;if(e=11===e.nodeType?e:R.document,r)if("string"==typeof r){e=e.head||e;let n,l=ce.get(e);if(l||ce.set(e,l=new Set),!l.has(s)){if(e.host&&(n=e.querySelector(`[${E}="${s}"]`)))n.innerHTML=r;else{n=R.document.createElement("style"),n.innerHTML=r;const s=null!=(o=L.j)?o:D(R.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(T){const t=new CSSStyleSheet;t.replaceSync(r),U?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=r+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=I),l&&l.add(s)}}else e.adoptedStyleSheets.includes(r)||(U?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return s},de=e=>{const t=e.l,n=e.$hostElement$,o=t.i,s=fe("attachStyles",t.$),r=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.O);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h")),s()},pe=(e,t)=>"sc-"+(t&&32&e.i?e.$+"-"+t:e.$),he=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$e=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${E}]`);let t=0;for(;t<e.length;t++)ue(e[t].getAttribute(E),he(e[t].innerHTML),!0)},ye=(e,t,...n)=>{let o=null,s=null,r=null,l=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof e&&!B(o))&&(o=String(o)),l&&i?a[a.length-1].k+=o:a.push(l?me(null,o):o),i=l)};if(c(n),t){t.key&&(s=t.key),t.name&&(r=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,ge);const d=me(e,null);return d.N=t,a.length>0&&(d.C=a),d.I=s,d.M=r,d},me=(e,t)=>{const n={i:0,R:e,k:t,L:null,C:null,N:null,I:null,M:null};return n},we={},be=e=>e&&e.R===we,ge={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(je)},Se=e=>({vattrs:e.N,vchildren:e.C,vkey:e.I,vname:e.M,vtag:e.R,vtext:e.k}),je=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ye(e.vtag,t,...e.vchildren||[])}const t=me(e.vtag,e.vtext);return t.N=e.vattrs,t.C=e.vchildren,t.I=e.vkey,t.M=e.vname,t},Oe=(e,t,n,o)=>{var s,r,l;const i=fe("hydrateClient",t),a=e.shadowRoot,c=[],d=[],u=a?[]:null,h=me(t,null);h.L=e;Object.entries((null==(s=o.l)?void 0:s.F)||{}).forEach(([t,[n,s]])=>{var r;if(!(31&n))return;const l=s||t,i=e.getAttribute(l);if(null!==i){const e=Fe(i,n);null==(r=null==o?void 0:o.o)||r.set(t,e)}}),!R.document||L.P&&L.P.size||xe(R.document.body,L.P=new Map),e[x]=n,e.removeAttribute(x),o.T=ke(h,c,[],u,e,e,n,d);let f=0;const p=c.length;let m;for(;f<p;f++){m=c[f];const n=m.U+"."+m.A,o=L.P.get(n),s=m.L;if(a){if((null==(r=m.R)?void 0:r.toString().includes("-"))&&"slot-fb"!==m.R&&!m.L.shadowRoot){const t=v(m.L);if(t){const n=pe(t.l,m.L.getAttribute("s-mode")),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=t.toUpperCase(),"slot"===m.R&&(s["s-cr"]=e["s-cr"]);"slot"===m.R&&(m.M=m.L["s-sn"]||m.L.name||null,m.C?(m.i|=2,m.L.childNodes.length||m.C.forEach(e=>{m.L.appendChild(e.L)})):m.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(m.A))),o&&!o["s-id"]&&L.P.delete(n)}const y=[],g=d.length;let b,w,N,S,C=0;for(;C<g;C++)if(b=d[C],b&&b.length)for(N=b.length,w=0;w<N;w++){if(S=b[w],y[S.hostId]||(y[S.hostId]=L.P.get(S.hostId)),!y[S.hostId])continue;const e=y[S.hostId];e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node),e.shadowRoot&&a||(S.slot["s-cr"]||(S.slot["s-cr"]=e["s-cr"],!S.slot["s-cr"]&&e.shadowRoot?S.slot["s-cr"]=e:S.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]),ie(S.node,S.slot,!1,S.node["s-oo"]),(null==(l=S.node.parentElement)?void 0:l.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"))}if(a){let t=0;const n=u.length;if(n){for(;t<n;t++){const e=u[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}o.$hostElement$=e,i()},ke=(e,t,n,o,s,r,l,i=[])=>{let a,c,d,u;if(1===r.nodeType){if(a=r.getAttribute(N),a&&(c=a.split("."),c[0]===l||"0"===c[0])){d=Ee({i:0,U:c[0],A:c[1],B:c[2],D:c[3],R:r.tagName.toLowerCase(),L:r,N:{class:r.className||""}}),t.push(d),r.removeAttribute(N),e.C||(e.C=[]);const s=d.L.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.R&&Ne(s,c[2],d,r,e,t,n,o,i),d.L["s-sn"]=s,d.L.removeAttribute("s-sn")),void 0!==d.D&&(e.C[d.D]=d),e=d,o&&"0"===d.B&&(o[d.D]=d.L)}if(r.shadowRoot)for(u=r.shadowRoot.childNodes.length-1;u>=0;u--)ke(e,t,n,o,s,r.shadowRoot.childNodes[u],l,i);const h=r.__childNodes||r.childNodes;for(u=h.length-1;u>=0;u--)ke(e,t,n,o,s,h[u],l,i)}else if(8===r.nodeType){if(c=r.nodeValue.split("."),c[1]===l||"0"===c[1])if(a=c[0],d=Ee({U:c[1],A:c[2],B:c[3],D:c[4]||"0",L:r,N:null,C:null,I:null,M:null,R:null,k:null}),a===O)d.L=Ie(r,3),d.L&&3===d.L.nodeType&&(d.k=d.L.textContent,t.push(d),r.remove(),l===d.U&&(e.C||(e.C=[]),e.C[d.D]=d),o&&"0"===d.B&&(o[d.D]=d.L));else if(a===k)d.L=Ie(r,8),d.L&&8===d.L.nodeType&&(t.push(d),r.remove());else if(d.U===l)if(a===j){Ne(r["s-sn"]=c[5]||"",c[2],d,r,e,t,n,o,i)}else a===g&&(o?r.remove():(s["s-cr"]=r,r["s-cn"]=!0))}else if(e&&"style"===e.R){const t=me(null,r.textContent);t.L=r,t.D="0",e.C=[t]}else 3!==r.nodeType||r.wholeText.trim()||r["s-nr"]||r.remove();return e},xe=(e,t)=>{if(1===e.nodeType){const n=e[x]||e.getAttribute(x);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)xe(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)xe(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===S&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Ee=e=>({i:0,U:null,A:null,B:null,D:"0",L:null,N:null,C:null,I:null,M:null,R:null,k:null,...e});function Ne(e,t,n,o,s,r,l,i,a){o["s-sr"]=!0,n.M=e||null,n.R="slot";const c=(null==s?void 0:s.L)?s.L["s-id"]||s.L.getAttribute("s-id"):"";if(i&&R.document){const r=n.L=R.document.createElement(n.R);n.M&&n.L.setAttribute("name",e),s.L.shadowRoot&&c&&c!==n.U?oe(s.L,"insertBefore")(r,oe(s.L,"children")[0]):oe(oe(o,"parentNode"),"insertBefore")(r,o),Ce(a,t,e,o,n.U),o.remove(),"0"===n.B&&(i[n.D]=n.L)}else{const r=n.L,l=c&&c!==n.U&&s.L.shadowRoot;Ce(a,t,e,o,l?c:n.U),se(o),l&&s.L.insertBefore(r,s.L.children[0])}r.push(n),l.push(n),s.C||(s.C=[]),s.C[n.D]=n}var Ce=(e,t,n,o,s)=>{var r,l;let i=o.nextSibling;if(e[t]=e[t]||[],i&&!(null==(r=i.nodeValue)?void 0:r.startsWith(j+".")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(l=i.nodeValue)?void 0:l.startsWith(j+".")))},Ie=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Me=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Me("::slotted"),Me(":host"),Me(":host-context");var ze,He,Re=e=>b.map(t=>t(e)).find(e=>!!e),Le=e=>b.push(e),Fe=(e,t,n)=>{if("string"==typeof e&&e.startsWith(u))return e=G(e);if("string"==typeof e&&(16&t||8&t)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return null==e||B(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e},Pe=e=>{var t;return null==(t=v(e))?void 0:t.$hostElement$},Te=(e,t,n)=>{const o=L.ce(t,n);return e.dispatchEvent(o),o},Ue=(e,t,n,o,s,r,l)=>{if(n===o)return;let i=h(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=Be(n);let r=Be(o);if((e["s-si"]||e["s-sc"])&&l){const n=e["s-sc"]||e["s-si"];r.push(n),s.forEach(e=>{e.startsWith(n)&&r.push(e)}),r=[...new Set(r)].filter(e=>e),t.add(...r)}else t.remove(...s.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const l=B(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!i||4&r||s)&&!l&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(M,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):h(R,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(De);t=t.replace(Ve,""),n&&L.rel(e,t,n,s),o&&L.ael(e,t,o,s)}},Ae=/\s/,Be=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Ae):[]),De="Capture",Ve=new RegExp(De+"$"),We=(e,t,n,o)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,r=e&&e.N||{},l=t.N||{};for(const e of _e(Object.keys(r)))e in l||Ue(s,e,r[e],void 0,n,t.i,o);for(const e of _e(Object.keys(l)))Ue(s,e,r[e],l[e],n,t.i,o)};function _e(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var Je=!1,qe=!1,Ye=!1,Ge=!1,Ke=(e,n,o)=>{var r;const i=n.C[o];let a,c,d,u=0;if(Je||(Ye=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.k)a=i.L=R.document.createTextNode(i.k);else if(1&i.i)a=i.L=R.document.createTextNode(""),We(null,i,Ge);else{if(Ge||(Ge="svg"===i.R),!R.document)throw new Error("You are trying to render a KoliBri component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(a=i.L=R.document.createElementNS(Ge?l:s,!Je&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ge&&"foreignObject"===i.R&&(Ge=!1),We(null,i,Ge),i.C)for(u=0;u<i.C.length;++u)c=Ke(e,i,u),c&&a.appendChild(c);"svg"===i.R?Ge=!1:"foreignObject"===a.tagName&&(Ge=!0)}return a["s-hn"]=He,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=ze,a["s-sn"]=i.M||"",a["s-rf"]=null==(r=i.N)?void 0:r.ref,se(a),d=e&&e.C&&e.C[o],d&&d.R===i.R&&e.L&&Qe(e.L,!1)),a},Qe=(e,t)=>{L.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==He&&o["s-ol"]&&(ot(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ye=!0),t&&Qe(o,t)}L.i&=-2},Xe=(e,t,n,o,s,r)=>{let l,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===He&&(i=i.shadowRoot);s<=r;++s)o[s]&&(l=Ke(null,n,s),l&&(o[s].L=l,ot(i,l,nt(t))))},Ze=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.L;st(t),e&&(qe=!0,e["s-ol"]?e["s-ol"].remove():Qe(e,!0),e.remove())}}},et=(e,t,n,o,s=!1)=>{let r,l,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&a<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--p];else if(tt(h,m,s))rt(h,m,s),h=t[++i],m=o[++a];else if(tt(f,v,s))rt(f,v,s),f=t[--u],v=o[--p];else if(tt(h,v,s))"slot"!==h.R&&"slot"!==v.R||Qe(h.L.parentNode,!1),rt(h,v,s),ot(e,h.L,f.L.nextSibling),h=t[++i],v=o[--p];else if(tt(f,m,s))"slot"!==h.R&&"slot"!==v.R||Qe(f.L.parentNode,!1),rt(f,m,s),ot(e,f.L,h.L),f=t[--u],m=o[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].I&&t[d].I===m.I){c=d;break}c>=0?(l=t[c],l.R!==m.R?r=Ke(t&&t[a],n,c):(rt(l,m,s),t[c]=void 0,r=l.L),m=o[++a]):(r=Ke(t&&t[a],n,a),m=o[++a]),r&&ot(nt(h.L).parentNode,r,nt(h.L))}i>u?Xe(e,null==o[p+1]?null:o[p+1].L,n,o,a,p):a>p&&Ze(t,i,u)},tt=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.M===t.M:n?(n&&!e.I&&t.I&&(e.I=t.I),!0):e.I===t.I),nt=e=>e&&e["s-ol"]||e,rt=(e,n,o=!1)=>{const s=n.L=e.L,r=e.C,l=n.C,i=n.R,a=n.k;let c;null===a?(We(e,n,Ge="svg"===i||"foreignObject"!==i&&Ge,o),null!==r&&null!==l?et(s,r,n,l,o):null!==l?(null!==e.k&&(s.textContent=""),Xe(s,null,n,l,0,l.length-1)):!o&&t.updatable&&null!==r?Ze(r,0,r.length-1):o&&t.updatable&&null!==r&&null===l&&(n.C=r),Ge&&"svg"===i&&(Ge=!1)):(c=s["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(s.data=a)},it=[],lt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(re(t,s)){let n=it.find(e=>e.V===t);qe=!0,t["s-sn"]=t["s-sn"]||s,n?(n.V["s-sh"]=e["s-hn"],n.W=e):(t["s-sh"]=e["s-hn"],it.push({W:e,V:t})),t["s-sr"]&&it.map(e=>{re(e.V,t["s-sn"])&&(n=it.find(e=>e.V===t),n&&!e.W&&(e.W=n.W))})}else it.some(e=>e.V===t)||it.push({V:t})}1===e.nodeType&<(e)}},st=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(st)},ot=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ft=(e,t,n=!1)=>{var o,s,r,l;const i=e.$hostElement$,a=e.l,c=e.T||me(null,null),d=be(t)?t:ye(null,null,t);if(He=i.tagName,a._&&(d.N=d.N||{},a._.map(([e,t])=>d.N[t]=i[e])),n&&d.N)for(const e of Object.keys(d.N))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.N[e]=i[e]);if(d.R=null,d.i|=4,e.T=d,d.L=c.L=i.shadowRoot||i,Je=!(!(1&a.i)||128&a.i),ze=i["s-cr"],qe=!1,rt(c,d,n),L.i|=1,Ye){lt(d.L);for(const e of it){const t=e.V;if(!t["s-ol"]&&R.document){const e=R.document.createTextNode("");e["s-nr"]=t,ot(t.parentNode,t["s-ol"]=e,t)}}for(const e of it){const t=e.V,i=e.W;if(i){const e=i.parentNode;let n=i.nextSibling;{let r=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;r;){let o=null!=(s=r["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}r=r.previousSibling}}const l=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==l||a!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ot(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(r=t["s-ih"])&&r)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(l=t.hidden)&&l),t.hidden=!0)}}qe&&Z(d.L),L.i&=-2,it.length=0,ze=void 0},at=(e,t)=>{if(t&&!e.H&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.H=()=>{t["s-p"].splice(n-1,1),o()}))}},ct=(e,t)=>{if(4&e.i)return void(e.i|=512);at(e,e.J);const n=()=>ut(e,t);if(!t)return n();queueMicrotask(()=>{n()})},ut=(e,t)=>{const n=e.$hostElement$,o=fe("scheduleUpdate",e.l.$),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri 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 r;return t?(e.i|=256,e.q&&(e.q.map(([e,t])=>mt(s,e,t,n)),e.q=void 0),r=mt(s,"componentWillLoad",void 0,n)):r=mt(s,"componentWillUpdate",void 0,n),r=vt(r,()=>mt(s,"componentWillRender",void 0,n)),o(),vt(r,()=>pt(e,s,t))},vt=(e,t)=>dt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),dt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,pt=async(e,t,n)=>{var o;const s=e.$hostElement$,r=fe("update",e.l.$),l=s["s-rc"];n&&de(e);const i=fe("render",e.l.$);ht(e,t,s,n),l&&(l.map(e=>e()),s["s-rc"]=void 0),i(),r();{const t=null!=(o=s["s-p"])?o:[],n=()=>$t(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},ht=(e,t,n,o)=>{try{t=t.render&&t.render(),e.i|=2,ft(e,t,o)}catch(t){$(t,e.$hostElement$)}return null},$t=e=>{const t=e.l.$,n=e.$hostElement$,o=fe("postUpdate",t),s=e.t,r=e.J;mt(s,"componentDidRender",void 0,n),64&e.i?(mt(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,wt(n),mt(s,"componentDidLoad",void 0,n),o(),e.h(n),r||yt()),e.v(n),e.H&&(e.H(),e.H=void 0),512&e.i&&A(()=>ct(e,!1)),e.i&=-517},yt=t=>{var n;A(()=>Te(R,"appload",{detail:{namespace:e}})),(null==(n=L.P)?void 0:n.size)&&L.P.clear()},mt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){$(e,o)}},wt=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},bt=(e,t)=>v(e).o.get(t),gt=(e,t,n,o)=>{const s=v(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.$hostElement$,l=s.o.get(t),i=s.i,a=s.t;n=Fe(n,o.F[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n);if((!(8&i)||void 0===l)&&(n!==l&&!c)&&(s.o.set(t,n),a)){if(o.Y&&128&i){const e=o.Y[t];e&&e.map(e=>{try{a[e](n,l,t)}catch(e){$(e,r)}})}if(2==(18&i)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,l,t))return;ct(s,!1)}}},St=(e,n,o)=>{var s,r;const l=e.prototype;if(n.F||n.Y||e.watchers){e.watchers&&!n.Y&&(n.Y=e.watchers);const i=Object.entries(null!=(s=n.F)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:r}=Object.getOwnPropertyDescriptor(l,e)||{};s&&(n.F[e][0]|=2048),r&&(n.F[e][0]|=4096),(1&o||!s)&&Object.defineProperty(l,e,{get(){{if(!(2048&n.F[e][0]))return bt(this,e);const t=v(this),o=t?t.t:l;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(s){const l=v(this);if(l){if(r){const o=32&t?this[e]:l.$hostElement$[e];return void 0===o&&l.o.get(e)?s=l.o.get(e):!l.o.get(e)&&o&&l.o.set(e,o),r.apply(this,[Fe(s,t)]),s=32&t?this[e]:l.$hostElement$[e],void gt(this,e,s,n)}{if(!(1&o&&4096&n.F[e][0]))return gt(this,e,s,n),void(1&o&&!l.t&&l.p.then(()=>{4096&n.F[e][0]&&l.t[e]!==l.o.get(e)&&(l.t[e]=s)}));const r=()=>{const o=l.t[e];!l.o.get(e)&&o&&l.o.set(e,o),l.t[e]=Fe(s,t),gt(this,e,l.t[e],n)};l.t?r():l.p.then(()=>r())}}}})}else 1&o&&64&t&&Object.defineProperty(l,e,{value(...t){var n;const o=v(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;l.attributeChangedCallback=function(e,s,r){L.jmp(()=>{var i;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)r=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const t=v(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&r!==s){const o=t.t,l=null==(i=n.Y)?void 0:i[e];null==l||l.forEach(t=>{null!=o[t]&&o[t].call(o,r,s,e)})}return}}const c=Object.getOwnPropertyDescriptor(l,a);(r=(null!==r||"boolean"!=typeof this[a])&&r)===this[a]||c.get&&!c.set||(this[a]=r)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.Y)?r:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{var s;const r=t[1]||e;return o.set(r,e),512&t[0]&&(null==(s=n._)||s.push([e,r])),r})]))}}return e},jt=async(e,t,n,o)=>{let s;if(!(32&t.i)){t.i|=32;if(n.m){const o=m(n,t);if(o&&"then"in o){const e=ae();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$}#${t.O}" was not found`);s.isProxied||(n.Y=s.watchers,St(s,n,2),s.isProxied=!0);const r=fe("createInstance",n.$);t.i|=8;try{new s(t)}catch(t){$(t,e)}t.i&=-9,t.i|=128,r(),Ot(t.t,e)}else{s=e.constructor;const n=e.localName,o=()=>t.i|=128;customElements.get(n)?o():customElements.whenDefined(n).then(o)}if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(t.O=Re(e),t.O&&(o=s.style[t.O]));const r=pe(n,t.O);if(!w.has(r)){const e=fe("registerStyles",n.$);ue(r,o,!!(1&n.i)),e()}}}const r=t.J,l=()=>ct(t,!0);r&&r["s-rc"]?r["s-rc"].push(l):l()},Ot=(e,t)=>{mt(e,"connectedCallback",void 0,t)},kt=e=>{if(!(1&L.i)){const t=v(e);if(!t)return;const n=t.l,o=fe("connectedCallback",n.$);if(1&t.i)Mt(e,t,n.G),(null==t?void 0:t.t)?Ot(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Ot(t.t,e));else{let o;if(t.i|=1,o=e.getAttribute(x),o){if(1&n.i){const t=ve(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}Oe(e,n.$,o,t)}o||12&n.i&&xt(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){at(t,t.J=n);break}}n.F&&Object.entries(n.F).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),jt(e,t,n)}o()}},xt=e=>{if(!R.document)return;const t=e["s-cr"]=R.document.createComment("");t["s-cn"]=!0,ot(e,t,e.firstChild)},Et=(e,t)=>{mt(e,"disconnectedCallback",void 0,t||e)},Nt=async e=>{if(!(1&L.i)){const t=v(e);(null==t?void 0:t.K)&&(t.K.map(e=>e()),t.K=void 0),(null==t?void 0:t.t)?Et(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Et(t.t,e))}ce.has(e)&&ce.delete(e),e.shadowRoot&&ce.has(e.shadowRoot)&&ce.delete(e.shadowRoot)},Ct=(e,t={})=>{var n;if(!R.document)return void console.warn("KoliBri: No document found. Skipping bootstrapping lazy components.");const o=fe(),s=[],r=t.exclude||[],l=R.customElements,i=R.document.head,a=i.querySelector("meta[charset]"),c=R.document.createElement("style"),d=[];let u,h=!0;Object.assign(L,t),L.S=new URL(t.resourcesUrl||"./",R.document.baseURI).href,L.i|=2,$e();let f=!1;if(e.map(e=>{e[1].map(n=>{var o;const i={i:n[0],$:n[1],F:n[2],G:n[3]};4&i.i&&(f=!0),i.F=n[2],i.G=n[3],i._=[],i.Y=null!=(o=n[4])?o:{};const a=t.transformTagName?t.transformTagName(i.$):i.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,p(e=this,i),1&i.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else X.call(e,i)}connectedCallback(){const e=v(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,e,i.G)),u&&(clearTimeout(u),u=null),h?d.push(this):L.jmp(()=>kt(this)))}disconnectedCallback(){L.jmp(()=>Nt(this)),L.raf(()=>{var e;const t=v(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.T)?void 0:e.L)instanceof Node&&!t.T.L.isConnected&&delete t.T.L})}componentOnReady(){var e;return null==(e=v(this))?void 0:e.p}};i.m=e[0],r.includes(a)||l.get(a)||(s.push(a),l.define(a,St(c,i,1)))})}),s.length>0&&(f&&(c.textContent+=I),c.textContent+=s.sort()+C,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=L.j)?n:D(R.document);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,a?a.nextSibling:i.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):L.jmp(()=>u=setTimeout(yt,30)),o()},It=(e,t)=>t,Mt=(e,t,n,o)=>{n&&R.document&&n.map(([n,o,s])=>{const r=Lt(R.document,e,n),l=Rt(t,s),i=Ft(n);L.ael(r,o,l,i),(t.K=t.K||[]).push(()=>L.rel(r,o,l,i))})},Rt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.q=e.q||[]).push([t,n])}catch(t){$(t,e.$hostElement$)}},Lt=(e,t,n)=>8&n?R:t,Ft=e=>F?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Pt=e=>L.j=e;export{n as E,It as F,we as H,Le as a,Ct as b,Pe as g,ye as h,P as p,d as r,Pt as s};
|
4
|
+
import"./common-8fBdMvJM.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.6"};var r=Object.defineProperty,i=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l="http://www.w3.org/2000/svg",s="http://www.w3.org/1999/xhtml",o=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(o||{}),f=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(f||{}),a="type",c="value",u="serialized:",v=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.t=e)},p=(e,t)=>{const n={i:0,$hostElement$:e,l:t,o:new Map};n.u=new Promise(e=>n.v=e),n.p=new Promise(e=>n.h=e),e["s-p"]=[],e["s-rc"]=[];const o=n;return e.__stencil__getHostRef=()=>o,o},h=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),y=new Map,m=(e,t,n)=>{const o=e.$.replace(/-/g,"_"),s=e.m;if(!s)return;const l=y.get(s);return l?l[o]:import(`./${s}.entry.js`).then(e=>(y.set(s,e),e[o]),e=>{$(e,t.$hostElement$)})
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,b=[],g="r",S="o",j="s",O="t",k="c",x="s-id",E="sty-id",N="c-id",C="{visibility:hidden}.hydrated{visibility:inherit}",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",M="http://www.w3.org/1999/xlink",R="undefined"!=typeof window?window:{},L={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},F=(()=>{var e;let t=!1;try{null==(e=R.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),P=e=>Promise.resolve(e),T=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),U=!!T&&(!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable),A=e=>P().then(e),B=e=>"object"===(e=typeof e)||"function"===e;function D(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=class e{static fromLocalValue(t){const n=t[a],o=c in t?t[c]:void 0;switch(n){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(t=>e.fromLocalValue(t));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,l=e.fromLocalValue(s);t.set(o,l)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:r}=o;return new RegExp(l,r);case"set":const i=new Set;for(const t of o)i.add(e.fromLocalValue(t));return i;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(a))return!1;const t=e[a];return!!Object.values({...o,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},_={};i(_,{err:()=>H,map:()=>J,ok:()=>z,unwrap:()=>q,unwrapErr:()=>Y});var z=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function J(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>z(e)):z(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var Q,q=e=>{if(e.isOk)return e.value;throw e.value},Y=e=>{if(e.isErr)return e.value;throw e.value};function G(e){return"string"==typeof e&&e.startsWith(u)?W.fromLocalValue(JSON.parse(atob(e.slice(u.length)))):e}function K(e){}function X(e){var t;const n=this.attachShadow({mode:"open",delegatesFocus:!!(16&e.i)});void 0===Q&&(Q=null!=(t=K())?t:null),Q&&(U?n.adoptedStyleSheets.push(Q):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Q])}var Z=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&te(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(ne(e,le(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&oe(e,"childNodes").length&&Z(e)}},ee=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function te(e,t,n){let o,s=0,l=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||l.push(o),l=[...l,...te(o.childNodes,t,n)];return l}var ne=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)le(s)!==t||!n&&s["s-sr"]||o.push(s);return o},re=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ie=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const l=t["s-cr"].parentNode,r=oe(l,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=oe(l,"childNodes"),t=[s];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>r.call(l,e))}else r.call(l,s);e["s-ol"]=s,e["s-sh"]=t["s-hn"]},le=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function se(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for KoliBri 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 KoliBri repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ee(s.childNodes)).forEach(e=>{o===le(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function oe(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var fe=(e,t="")=>()=>{},ae=(e,t)=>()=>{},ce=new WeakMap,ue=(e,t,n)=>{let o=w.get(e);T&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,w.set(e,o)},ve=(e,t,n)=>{var o;const s=pe(t,n),l=w.get(s);if(!R.document)return s;if(e=11===e.nodeType?e:R.document,l)if("string"==typeof l){e=e.head||e;let n,r=ce.get(e);if(r||ce.set(e,r=new Set),!r.has(s)){if(e.host&&(n=e.querySelector(`[${E}="${s}"]`)))n.innerHTML=l;else{n=R.document.createElement("style"),n.innerHTML=l;const s=null!=(o=L.j)?o:D(R.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(T){const t=new CSSStyleSheet;t.replaceSync(l),U?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=I),r&&r.add(s)}}else e.adoptedStyleSheets.includes(l)||(U?e.adoptedStyleSheets.push(l):e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return s},de=e=>{const t=e.l,n=e.$hostElement$,o=t.i,s=fe("attachStyles",t.$),l=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.O);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h")),s()},pe=(e,t)=>"sc-"+(t&&32&e.i?e.$+"-"+t:e.$),he=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$e=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${E}]`);let t=0;for(;t<e.length;t++)ue(e[t].getAttribute(E),he(e[t].innerHTML),!0)},ye=(e,t,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!B(o))&&(o=String(o)),r&&i?a[a.length-1].k+=o:a.push(r?me(null,o):o),i=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,ge);const d=me(e,null);return d.N=t,a.length>0&&(d.C=a),d.I=s,d.M=l,d},me=(e,t)=>{const n={i:0,R:e,k:t,L:null,C:null,N:null,I:null,M:null};return n},we={},be=e=>e&&e.R===we,ge={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(je)},Se=e=>({vattrs:e.N,vchildren:e.C,vkey:e.I,vname:e.M,vtag:e.R,vtext:e.k}),je=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ye(e.vtag,t,...e.vchildren||[])}const t=me(e.vtag,e.vtext);return t.N=e.vattrs,t.C=e.vchildren,t.I=e.vkey,t.M=e.vname,t},Oe=(e,t,n,o)=>{var s,l,r;const i=fe("hydrateClient",t),a=e.shadowRoot,c=[],d=[],u=a?[]:null,h=me(t,null);h.L=e;Object.entries((null==(s=o.l)?void 0:s.F)||{}).forEach(([t,[n,s]])=>{var l;if(!(31&n))return;const r=s||t,i=e.getAttribute(r);if(null!==i){const e=Fe(i,n);null==(l=null==o?void 0:o.o)||l.set(t,e)}}),!R.document||L.P&&L.P.size||xe(R.document.body,L.P=new Map),e[x]=n,e.removeAttribute(x),o.T=ke(h,c,[],u,e,e,n,d);let f=0;const p=c.length;let m;for(;f<p;f++){m=c[f];const n=m.U+"."+m.A,o=L.P.get(n),s=m.L;if(a){if((null==(l=m.R)?void 0:l.toString().includes("-"))&&"slot-fb"!==m.R&&!m.L.shadowRoot){const t=v(m.L);if(t){const n=pe(t.l,m.L.getAttribute("s-mode")),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=t.toUpperCase(),"slot"===m.R&&(s["s-cr"]=e["s-cr"]);"slot"===m.R&&(m.M=m.L["s-sn"]||m.L.name||null,m.C?(m.i|=2,m.L.childNodes.length||m.C.forEach(e=>{m.L.appendChild(e.L)})):m.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(m.A))),o&&!o["s-id"]&&L.P.delete(n)}const y=[],g=d.length;let b,w,N,S,C=0;for(;C<g;C++)if(b=d[C],b&&b.length)for(N=b.length,w=0;w<N;w++){if(S=b[w],y[S.hostId]||(y[S.hostId]=L.P.get(S.hostId)),!y[S.hostId])continue;const e=y[S.hostId];e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node),e.shadowRoot&&a||(S.slot["s-cr"]||(S.slot["s-cr"]=e["s-cr"],!S.slot["s-cr"]&&e.shadowRoot?S.slot["s-cr"]=e:S.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]),ie(S.node,S.slot,!1,S.node["s-oo"]),(null==(r=S.node.parentElement)?void 0:r.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"))}if(a){let t=0;const n=u.length;if(n){for(;t<n;t++){const e=u[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}o.$hostElement$=e,i()},ke=(e,t,n,o,s,l,r,i=[])=>{let a,c,d,u;if(1===l.nodeType){if(a=l.getAttribute(N),a&&(c=a.split("."),c[0]===r||"0"===c[0])){d=Ee({i:0,U:c[0],A:c[1],B:c[2],D:c[3],R:l.tagName.toLowerCase(),L:l,N:{class:l.className||""}}),t.push(d),l.removeAttribute(N),e.C||(e.C=[]);const s=d.L.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.R&&Ne(s,c[2],d,l,e,t,n,o,i),d.L["s-sn"]=s,d.L.removeAttribute("s-sn")),void 0!==d.D&&(e.C[d.D]=d),e=d,o&&"0"===d.B&&(o[d.D]=d.L)}if(l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)ke(e,t,n,o,s,l.shadowRoot.childNodes[u],r,i);const h=l.__childNodes||l.childNodes;for(u=h.length-1;u>=0;u--)ke(e,t,n,o,s,h[u],r,i)}else if(8===l.nodeType){if(c=l.nodeValue.split("."),c[1]===r||"0"===c[1])if(a=c[0],d=Ee({U:c[1],A:c[2],B:c[3],D:c[4]||"0",L:l,N:null,C:null,I:null,M:null,R:null,k:null}),a===O)d.L=Ie(l,3),d.L&&3===d.L.nodeType&&(d.k=d.L.textContent,t.push(d),l.remove(),r===d.U&&(e.C||(e.C=[]),e.C[d.D]=d),o&&"0"===d.B&&(o[d.D]=d.L));else if(a===k)d.L=Ie(l,8),d.L&&8===d.L.nodeType&&(t.push(d),l.remove());else if(d.U===r)if(a===j){Ne(l["s-sn"]=c[5]||"",c[2],d,l,e,t,n,o,i)}else a===g&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))}else if(e&&"style"===e.R){const t=me(null,l.textContent);t.L=l,t.D="0",e.C=[t]}else 3!==l.nodeType||l.wholeText.trim()||l["s-nr"]||l.remove();return e},xe=(e,t)=>{if(1===e.nodeType){const n=e[x]||e.getAttribute(x);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)xe(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)xe(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===S&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Ee=e=>({i:0,U:null,A:null,B:null,D:"0",L:null,N:null,C:null,I:null,M:null,R:null,k:null,...e});function Ne(e,t,n,o,s,l,r,i,a){o["s-sr"]=!0,n.M=e||null,n.R="slot";const c=(null==s?void 0:s.L)?s.L["s-id"]||s.L.getAttribute("s-id"):"";if(i&&R.document){const l=n.L=R.document.createElement(n.R);n.M&&n.L.setAttribute("name",e),s.L.shadowRoot&&c&&c!==n.U?oe(s.L,"insertBefore")(l,oe(s.L,"children")[0]):oe(oe(o,"parentNode"),"insertBefore")(l,o),Ce(a,t,e,o,n.U),o.remove(),"0"===n.B&&(i[n.D]=n.L)}else{const l=n.L,r=c&&c!==n.U&&s.L.shadowRoot;Ce(a,t,e,o,r?c:n.U),se(o),r&&s.L.insertBefore(l,s.L.children[0])}l.push(n),r.push(n),s.C||(s.C=[]),s.C[n.D]=n}var Ce=(e,t,n,o,s)=>{var l,r;let i=o.nextSibling;if(e[t]=e[t]||[],i&&!(null==(l=i.nodeValue)?void 0:l.startsWith(j+".")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith(j+".")))},Ie=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Me=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Me("::slotted"),Me(":host"),Me(":host-context");var ze,He,Re=e=>b.map(t=>t(e)).find(e=>!!e),Le=e=>b.push(e),Fe=(e,t,n)=>{if("string"==typeof e&&e.startsWith(u))return e=G(e);if("string"==typeof e&&(16&t||8&t)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return null==e||B(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e},Pe=e=>{var t;return null==(t=v(e))?void 0:t.$hostElement$},Te=(e,t,n)=>{const o=L.ce(t,n);return e.dispatchEvent(o),o},Ue=(e,t,n,o,s,l,r)=>{if(n===o)return;let i=h(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=Be(n);let l=Be(o);if((e["s-si"]||e["s-sc"])&&r){const n=e["s-sc"]||e["s-si"];l.push(n),s.forEach(e=>{e.startsWith(n)&&l.push(e)}),l=[...new Set(l)].filter(e=>e),t.add(...l)}else t.remove(...s.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=B(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!i||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(M,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):h(R,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(De);t=t.replace(Ve,""),n&&L.rel(e,t,n,s),o&&L.ael(e,t,o,s)}},Ae=/\s/,Be=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Ae):[]),De="Capture",Ve=new RegExp(De+"$"),We=(e,t,n,o)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,l=e&&e.N||{},r=t.N||{};for(const e of _e(Object.keys(l)))e in r||Ue(s,e,l[e],void 0,n,t.i,o);for(const e of _e(Object.keys(r)))Ue(s,e,l[e],r[e],n,t.i,o)};function _e(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var Je=!1,qe=!1,Ye=!1,Ge=!1,Ke=(e,n,o)=>{var r;const i=n.C[o];let a,c,d,u=0;if(Je||(Ye=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.k)a=i.L=R.document.createTextNode(i.k);else if(1&i.i)a=i.L=R.document.createTextNode(""),We(null,i,Ge);else{if(Ge||(Ge="svg"===i.R),!R.document)throw new Error("You are trying to render a KoliBri component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(a=i.L=R.document.createElementNS(Ge?l:s,!Je&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ge&&"foreignObject"===i.R&&(Ge=!1),We(null,i,Ge),i.C)for(u=0;u<i.C.length;++u)c=Ke(e,i,u),c&&a.appendChild(c);"svg"===i.R?Ge=!1:"foreignObject"===a.tagName&&(Ge=!0)}return a["s-hn"]=He,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=ze,a["s-sn"]=i.M||"",a["s-rf"]=null==(r=i.N)?void 0:r.ref,se(a),d=e&&e.C&&e.C[o],d&&d.R===i.R&&e.L&&Qe(e.L,!1)),a},Qe=(e,t)=>{L.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==He&&o["s-ol"]&&(ot(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ye=!0),t&&Qe(o,t)}L.i&=-2},Xe=(e,t,n,o,s,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===He&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=Ke(null,n,s),r&&(o[s].L=r,ot(i,r,nt(t))))},Ze=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.L;st(t),e&&(qe=!0,e["s-ol"]?e["s-ol"].remove():Qe(e,!0),e.remove())}}},et=(e,t,n,o,s=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&a<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--p];else if(tt(h,m,s))rt(h,m,s),h=t[++i],m=o[++a];else if(tt(f,v,s))rt(f,v,s),f=t[--u],v=o[--p];else if(tt(h,v,s))"slot"!==h.R&&"slot"!==v.R||Qe(h.L.parentNode,!1),rt(h,v,s),ot(e,h.L,f.L.nextSibling),h=t[++i],v=o[--p];else if(tt(f,m,s))"slot"!==h.R&&"slot"!==v.R||Qe(f.L.parentNode,!1),rt(f,m,s),ot(e,f.L,h.L),f=t[--u],m=o[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].I&&t[d].I===m.I){c=d;break}c>=0?(r=t[c],r.R!==m.R?l=Ke(t&&t[a],n,c):(rt(r,m,s),t[c]=void 0,l=r.L),m=o[++a]):(l=Ke(t&&t[a],n,a),m=o[++a]),l&&ot(nt(h.L).parentNode,l,nt(h.L))}i>u?Xe(e,null==o[p+1]?null:o[p+1].L,n,o,a,p):a>p&&Ze(t,i,u)},tt=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.M===t.M:n?(n&&!e.I&&t.I&&(e.I=t.I),!0):e.I===t.I),nt=e=>e&&e["s-ol"]||e,rt=(e,n,o=!1)=>{const s=n.L=e.L,l=e.C,r=n.C,i=n.R,a=n.k;let c;null===a?(We(e,n,Ge="svg"===i||"foreignObject"!==i&&Ge,o),null!==l&&null!==r?et(s,l,n,r,o):null!==r?(null!==e.k&&(s.textContent=""),Xe(s,null,n,r,0,r.length-1)):!o&&t.updatable&&null!==l?Ze(l,0,l.length-1):o&&t.updatable&&null!==l&&null===r&&(n.C=l),Ge&&"svg"===i&&(Ge=!1)):(c=s["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(s.data=a)},it=[],lt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(re(t,s)){let n=it.find(e=>e.V===t);qe=!0,t["s-sn"]=t["s-sn"]||s,n?(n.V["s-sh"]=e["s-hn"],n.W=e):(t["s-sh"]=e["s-hn"],it.push({W:e,V:t})),t["s-sr"]&&it.map(e=>{re(e.V,t["s-sn"])&&(n=it.find(e=>e.V===t),n&&!e.W&&(e.W=n.W))})}else it.some(e=>e.V===t)||it.push({V:t})}1===e.nodeType&<(e)}},st=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(st)},ot=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ft=(e,t,n=!1)=>{var o,s,l,r;const i=e.$hostElement$,a=e.l,c=e.T||me(null,null),d=be(t)?t:ye(null,null,t);if(He=i.tagName,a._&&(d.N=d.N||{},a._.map(([e,t])=>d.N[t]=i[e])),n&&d.N)for(const e of Object.keys(d.N))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.N[e]=i[e]);if(d.R=null,d.i|=4,e.T=d,d.L=c.L=i.shadowRoot||i,Je=!(!(1&a.i)||128&a.i),ze=i["s-cr"],qe=!1,rt(c,d,n),L.i|=1,Ye){lt(d.L);for(const e of it){const t=e.V;if(!t["s-ol"]&&R.document){const e=R.document.createTextNode("");e["s-nr"]=t,ot(t.parentNode,t["s-ol"]=e,t)}}for(const e of it){const t=e.V,i=e.W;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}const r=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==r||a!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ot(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}qe&&Z(d.L),L.i&=-2,it.length=0,ze=void 0},at=(e,t)=>{if(t&&!e.H&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.H=()=>{t["s-p"].splice(n-1,1),o()}))}},ct=(e,t)=>{if(4&e.i)return void(e.i|=512);at(e,e.J);const n=()=>ut(e,t);if(!t)return n();queueMicrotask(()=>{n()})},ut=(e,t)=>{const n=e.$hostElement$,o=fe("scheduleUpdate",e.l.$),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri 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 t?(e.i|=256,e.q&&(e.q.map(([e,t])=>mt(s,e,t,n)),e.q=void 0),l=mt(s,"componentWillLoad",void 0,n)):l=mt(s,"componentWillUpdate",void 0,n),l=vt(l,()=>mt(s,"componentWillRender",void 0,n)),o(),vt(l,()=>pt(e,s,t))},vt=(e,t)=>dt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),dt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,pt=async(e,t,n)=>{var o;const s=e.$hostElement$,l=fe("update",e.l.$),r=s["s-rc"];n&&de(e);const i=fe("render",e.l.$);ht(e,t,s,n),r&&(r.map(e=>e()),s["s-rc"]=void 0),i(),l();{const t=null!=(o=s["s-p"])?o:[],n=()=>$t(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},ht=(e,t,n,o)=>{try{t=t.render&&t.render(),e.i|=2,ft(e,t,o)}catch(t){$(t,e.$hostElement$)}return null},$t=e=>{const t=e.l.$,n=e.$hostElement$,o=fe("postUpdate",t),s=e.t,l=e.J;mt(s,"componentDidRender",void 0,n),64&e.i?(mt(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,wt(n),mt(s,"componentDidLoad",void 0,n),o(),e.h(n),l||yt()),e.v(n),e.H&&(e.H(),e.H=void 0),512&e.i&&A(()=>ct(e,!1)),e.i&=-517},yt=t=>{var n;A(()=>Te(R,"appload",{detail:{namespace:e}})),(null==(n=L.P)?void 0:n.size)&&L.P.clear()},mt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){$(e,o)}},wt=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},bt=(e,t)=>v(e).o.get(t),gt=(e,t,n,o)=>{const s=v(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,r=s.o.get(t),i=s.i,a=s.t;n=Fe(n,o.F[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&(n!==r&&!c)&&(s.o.set(t,n),a)){if(o.Y&&128&i){const e=o.Y[t];e&&e.map(e=>{try{a[e](n,r,t)}catch(e){$(e,l)}})}if(2==(18&i)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,r,t))return;ct(s,!1)}}},St=(e,n,o)=>{var s,l;const r=e.prototype;if(n.F||n.Y||e.watchers){e.watchers&&!n.Y&&(n.Y=e.watchers);const i=Object.entries(null!=(s=n.F)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,e)||{};s&&(n.F[e][0]|=2048),l&&(n.F[e][0]|=4096),(1&o||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.F[e][0]))return bt(this,e);const t=v(this),o=t?t.t:r;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(s){const r=v(this);if(r){if(l){const o=32&t?this[e]:r.$hostElement$[e];return void 0===o&&r.o.get(e)?s=r.o.get(e):!r.o.get(e)&&o&&r.o.set(e,o),l.apply(this,[Fe(s,t)]),s=32&t?this[e]:r.$hostElement$[e],void gt(this,e,s,n)}{if(!(1&o&&4096&n.F[e][0]))return gt(this,e,s,n),void(1&o&&!r.t&&r.p.then(()=>{4096&n.F[e][0]&&r.t[e]!==r.o.get(e)&&(r.t[e]=s)}));const l=()=>{const o=r.t[e];!r.o.get(e)&&o&&r.o.set(e,o),r.t[e]=Fe(s,t),gt(this,e,r.t[e],n)};r.t?l():r.p.then(()=>l())}}}})}else 1&o&&64&t&&Object.defineProperty(r,e,{value(...t){var n;const o=v(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;r.attributeChangedCallback=function(e,s,l){L.jmp(()=>{var i;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)l=this[a],delete this[a];else{if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==l)return;if(null==a){const t=v(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&l!==s){const o=t.t,r=null==(i=n.Y)?void 0:i[e];null==r||r.forEach(t=>{null!=o[t]&&o[t].call(o,l,s,e)})}return}}const c=Object.getOwnPropertyDescriptor(r,a);(l=(null!==l||"boolean"!=typeof this[a])&&l)===this[a]||c.get&&!c.set||(this[a]=l)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.Y)?l:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{var s;const l=t[1]||e;return o.set(l,e),512&t[0]&&(null==(s=n._)||s.push([e,l])),l})]))}}return e},jt=async(e,t,n,o)=>{let s;if(!(32&t.i)){t.i|=32;if(n.m){const o=m(n,t);if(o&&"then"in o){const e=ae();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$}#${t.O}" was not found`);s.isProxied||(n.Y=s.watchers,St(s,n,2),s.isProxied=!0);const l=fe("createInstance",n.$);t.i|=8;try{new s(t)}catch(t){$(t,e)}t.i&=-9,t.i|=128,l(),Ot(t.t,e)}else{s=e.constructor;const n=e.localName,o=()=>t.i|=128;customElements.get(n)?o():customElements.whenDefined(n).then(o)}if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(t.O=Re(e),t.O&&(o=s.style[t.O]));const l=pe(n,t.O);if(!w.has(l)){const e=fe("registerStyles",n.$);ue(l,o,!!(1&n.i)),e()}}}const l=t.J,r=()=>ct(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},Ot=(e,t)=>{mt(e,"connectedCallback",void 0,t)},kt=e=>{if(!(1&L.i)){const t=v(e);if(!t)return;const n=t.l,o=fe("connectedCallback",n.$);if(1&t.i)Mt(e,t,n.G),(null==t?void 0:t.t)?Ot(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Ot(t.t,e));else{let o;if(t.i|=1,o=e.getAttribute(x),o){if(1&n.i){const t=ve(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}Oe(e,n.$,o,t)}o||12&n.i&&xt(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){at(t,t.J=n);break}}n.F&&Object.entries(n.F).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),jt(e,t,n)}o()}},xt=e=>{if(!R.document)return;const t=e["s-cr"]=R.document.createComment("");t["s-cn"]=!0,ot(e,t,e.firstChild)},Et=(e,t)=>{mt(e,"disconnectedCallback",void 0,t||e)},Nt=async e=>{if(!(1&L.i)){const t=v(e);(null==t?void 0:t.K)&&(t.K.map(e=>e()),t.K=void 0),(null==t?void 0:t.t)?Et(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Et(t.t,e))}ce.has(e)&&ce.delete(e),e.shadowRoot&&ce.has(e.shadowRoot)&&ce.delete(e.shadowRoot)},Ct=(e,t={})=>{var n;if(!R.document)return void console.warn("KoliBri: No document found. Skipping bootstrapping lazy components.");const o=fe(),s=[],l=t.exclude||[],r=R.customElements,i=R.document.head,a=i.querySelector("meta[charset]"),c=R.document.createElement("style"),d=[];let u,h=!0;Object.assign(L,t),L.S=new URL(t.resourcesUrl||"./",R.document.baseURI).href,L.i|=2,$e();let f=!1;if(e.map(e=>{e[1].map(n=>{var o;const i={i:n[0],$:n[1],F:n[2],G:n[3]};4&i.i&&(f=!0),i.F=n[2],i.G=n[3],i._=[],i.Y=null!=(o=n[4])?o:{};const a=t.transformTagName?t.transformTagName(i.$):i.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,p(e=this,i),1&i.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else X.call(e,i)}connectedCallback(){const e=v(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,e,i.G)),u&&(clearTimeout(u),u=null),h?d.push(this):L.jmp(()=>kt(this)))}disconnectedCallback(){L.jmp(()=>Nt(this)),L.raf(()=>{var e;const t=v(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.T)?void 0:e.L)instanceof Node&&!t.T.L.isConnected&&delete t.T.L})}componentOnReady(){var e;return null==(e=v(this))?void 0:e.p}};i.m=e[0],l.includes(a)||r.get(a)||(s.push(a),r.define(a,St(c,i,1)))})}),s.length>0&&(f&&(c.textContent+=I),c.textContent+=s.sort()+C,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=L.j)?n:D(R.document);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,a?a.nextSibling:i.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):L.jmp(()=>u=setTimeout(yt,30)),o()},It=(e,t)=>t,Mt=(e,t,n,o)=>{n&&R.document&&n.map(([n,o,s])=>{const l=Lt(R.document,e,n),r=Rt(t,s),i=Ft(n);L.ael(l,o,r,i),(t.K=t.K||[]).push(()=>L.rel(l,o,r,i))})},Rt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.q=e.q||[]).push([t,n])}catch(t){$(t,e.$hostElement$)}},Lt=(e,t,n)=>8&n?R:t,Ft=e=>F?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Pt=e=>L.j=e;export{n as E,It as F,we as H,Le as a,Ct as b,Pe as g,ye as h,P as p,d as r,Pt as s};
|