@public-ui/components 3.0.7-rc.0 → 3.0.7-rc.5
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 +3 -231
- package/dist/cjs/{Alert-pYM9xL1B.js → Alert-DvztE5sg.js} +1 -1
- package/dist/cjs/Alert-DvztE5sg.js.map +1 -0
- package/dist/cjs/{Collapsible-CEcUGOI1.js → Collapsible-D2QsBsvn.js} +1 -1
- package/dist/cjs/{Collapsible-CEcUGOI1.js.map → Collapsible-D2QsBsvn.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-CPk5IOdw.js → CustomSuggestionsToggle-B7B6ntEj.js} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-CPk5IOdw.js.map → CustomSuggestionsToggle-B7B6ntEj.js.map} +1 -1
- package/dist/cjs/FieldControlStateWrapper-DwC6Snjc.js +4 -0
- package/dist/cjs/FieldControlStateWrapper-DwC6Snjc.js.map +1 -0
- package/dist/cjs/FormFieldStateWrapper-D_DZ7bhJ.js +4 -0
- package/dist/cjs/FormFieldStateWrapper-D_DZ7bhJ.js.map +1 -0
- package/dist/cjs/{Heading-CPcp0Wr1.js → Heading-BNXzN0YN.js} +1 -1
- package/dist/cjs/{Heading-CPcp0Wr1.js.map → Heading-BNXzN0YN.js.map} +1 -1
- package/dist/cjs/Icon-DiNO3cEA.js +4 -0
- package/dist/cjs/{Icon-B8rPDYT-.js.map → Icon-DiNO3cEA.js.map} +1 -1
- package/dist/cjs/{Input-CMtYrIiX.js → Input-DDjP-mWX.js} +1 -1
- package/dist/cjs/{Input-CMtYrIiX.js.map → Input-DDjP-mWX.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-CyxEYc7X.js → InputStateWrapper-BG2Sr2Po.js} +1 -1
- package/dist/cjs/{InputStateWrapper-CyxEYc7X.js.map → InputStateWrapper-BG2Sr2Po.js.map} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-6WeC6ukm.js → InternalUnderlinedBadgeText-CYAV_r9-.js} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-6WeC6ukm.js.map → InternalUnderlinedBadgeText-CYAV_r9-.js.map} +1 -1
- package/dist/cjs/{Span-CSTnGgMo.js → Span-DraRn9Dn.js} +1 -1
- package/dist/cjs/{Span-CSTnGgMo.js.map → Span-DraRn9Dn.js.map} +1 -1
- package/dist/cjs/{app-globals-EBS1Rxmp.js → app-globals-Bifd0vhj.js} +1 -1
- package/dist/cjs/{app-globals-EBS1Rxmp.js.map → app-globals-Bifd0vhj.js.map} +1 -1
- package/dist/cjs/{controller-h186ZoKi.js → controller-B1A8W7b8.js} +1 -1
- package/dist/cjs/{controller-h186ZoKi.js.map → controller-B1A8W7b8.js.map} +1 -1
- package/dist/cjs/{controller-p8a-m8p9.js → controller-C4EOo10w.js} +1 -1
- package/dist/cjs/{controller-p8a-m8p9.js.map → controller-C4EOo10w.js.map} +1 -1
- package/dist/cjs/{controller-dziW0eTQ.js → controller-XCXRkWDG.js} +1 -1
- package/dist/cjs/{controller-dziW0eTQ.js.map → controller-XCXRkWDG.js.map} +1 -1
- package/dist/cjs/{controller-icon-flui-j3P.js → controller-icon-BvyG2-aM.js} +1 -1
- package/dist/cjs/{controller-icon-flui-j3P.js.map → controller-icon-BvyG2-aM.js.map} +1 -1
- package/dist/cjs/{dev.utils-NQv4Or1w.js → dev.utils-D10tovQh.js} +1 -1
- package/dist/cjs/{dev.utils-NQv4Or1w.js.map → dev.utils-D10tovQh.js.map} +1 -1
- package/dist/cjs/{devtools-DJ5Gsvbm.js → devtools-BxG_Wlpf.js} +1 -1
- package/dist/cjs/{devtools-DJ5Gsvbm.js.map → devtools-BxG_Wlpf.js.map} +1 -1
- package/dist/cjs/index-CeweGYAX.js +4 -0
- package/dist/cjs/index-CeweGYAX.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- 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-wc.entry.cjs.js.map +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-icon.entry.cjs.js.map +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-wc.entry.cjs.js.map +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-wc.entry.cjs.js.map +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-tooltip-wc.entry.cjs.js.map +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/kolibri.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/table-settings-Ct3SRuhX.js.map +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/tooltip-open-tracking-Ba0udJRU.js +4 -0
- package/dist/cjs/tooltip-open-tracking-Ba0udJRU.js.map +1 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/Alert.js.map +1 -1
- package/dist/components/FieldControlStateWrapper.js +1 -1
- package/dist/components/FieldControlStateWrapper.js.map +1 -1
- package/dist/components/controller2.js +1 -1
- package/dist/components/controller2.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +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-wc.js +1 -1
- package/dist/components/kol-button-wc.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-wc.js +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-icon.js +1 -1
- package/dist/components/kol-icon.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-wc.js +1 -1
- package/dist/components/kol-link-wc.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-wc.js +1 -1
- package/dist/components/kol-pagination-wc.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-wc.js +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-popover-wc.js +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-settings-wc.js +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-tooltip-wc.js +1 -1
- package/dist/components/kol-tooltip-wc.js.map +1 -1
- package/dist/components/kol-tree-item-wc.js +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-wc.js +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.map +1 -1
- package/dist/components/tooltip-open-tracking.js +4 -0
- package/dist/components/tooltip-open-tracking.js.map +1 -0
- package/dist/esm/{Alert-qJPuIv8b.js → Alert-BVf5tw8j.js} +1 -1
- package/dist/esm/Alert-BVf5tw8j.js.map +1 -0
- package/dist/esm/{Collapsible-VwOBRTg-.js → Collapsible-CCKxmIkx.js} +1 -1
- package/dist/esm/{Collapsible-VwOBRTg-.js.map → Collapsible-CCKxmIkx.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsToggle-BtYSYCn5.js → CustomSuggestionsToggle-Bc0yWris.js} +1 -1
- package/dist/{kolibri/CustomSuggestionsToggle-BtYSYCn5.js.map → esm/CustomSuggestionsToggle-Bc0yWris.js.map} +1 -1
- package/dist/esm/FieldControlStateWrapper-DCOhSz_b.js +4 -0
- package/dist/esm/FieldControlStateWrapper-DCOhSz_b.js.map +1 -0
- package/dist/esm/FormFieldStateWrapper-wNg0Vsby.js +4 -0
- package/dist/esm/FormFieldStateWrapper-wNg0Vsby.js.map +1 -0
- package/dist/esm/{Heading-CMd-jtC1.js → Heading-51xMOasP.js} +1 -1
- package/dist/{kolibri/Heading-CMd-jtC1.js.map → esm/Heading-51xMOasP.js.map} +1 -1
- package/dist/esm/Icon-DxBm_hPC.js +4 -0
- package/dist/esm/{Icon-BQRZwXjg.js.map → Icon-DxBm_hPC.js.map} +1 -1
- package/dist/esm/{Input-BQNyXbdV.js → Input-BIFTGD-P.js} +1 -1
- package/dist/esm/{Input-BQNyXbdV.js.map → Input-BIFTGD-P.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-5DGko7Ry.js → InputStateWrapper-OV2f0hPC.js} +1 -1
- package/dist/esm/{InputStateWrapper-5DGko7Ry.js.map → InputStateWrapper-OV2f0hPC.js.map} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-DeV9AANw.js → InternalUnderlinedBadgeText-CXU0N8OZ.js} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-DeV9AANw.js.map → InternalUnderlinedBadgeText-CXU0N8OZ.js.map} +1 -1
- package/dist/esm/{Span-9Jbefwfo.js → Span-CGaA1xHQ.js} +1 -1
- package/dist/esm/{Span-9Jbefwfo.js.map → Span-CGaA1xHQ.js.map} +1 -1
- package/dist/esm/{app-globals-BV7c4MN_.js → app-globals-C82LZBPH.js} +1 -1
- package/dist/esm/{app-globals-BV7c4MN_.js.map → app-globals-C82LZBPH.js.map} +1 -1
- package/dist/esm/{controller-B_Bwl5E9.js → controller-CdHusJ6U.js} +1 -1
- package/dist/esm/{controller-B_Bwl5E9.js.map → controller-CdHusJ6U.js.map} +1 -1
- package/dist/esm/{controller-C7skty3T.js → controller-D1tztx1p.js} +1 -1
- package/dist/{kolibri/controller-C7skty3T.js.map → esm/controller-D1tztx1p.js.map} +1 -1
- package/dist/esm/{controller-BMZRH6Si.js → controller-DltaZeE1.js} +1 -1
- package/dist/esm/{controller-BMZRH6Si.js.map → controller-DltaZeE1.js.map} +1 -1
- package/dist/esm/{controller-icon-DcftMfhw.js → controller-icon-BITfW4zF.js} +1 -1
- package/dist/esm/{controller-icon-DcftMfhw.js.map → controller-icon-BITfW4zF.js.map} +1 -1
- package/dist/esm/{dev.utils-D2H-D7vZ.js → dev.utils-Bb0h4kvu.js} +1 -1
- package/dist/esm/{dev.utils-D2H-D7vZ.js.map → dev.utils-Bb0h4kvu.js.map} +1 -1
- package/dist/esm/{devtools-Bv4R5yuw.js → devtools-G4C8V6W_.js} +1 -1
- package/dist/esm/{devtools-Bv4R5yuw.js.map → devtools-G4C8V6W_.js.map} +1 -1
- package/dist/esm/index-ChKIy9nE.js +4 -0
- package/dist/esm/index-ChKIy9nE.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- 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-wc.entry.js.map +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-icon.entry.js.map +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-wc.entry.js.map +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-wc.entry.js.map +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-tooltip-wc.entry.js.map +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/kolibri.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/table-settings-DSZObo-2.js.map +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/tooltip-open-tracking-rBbBgPWP.js +4 -0
- package/dist/esm/tooltip-open-tracking-rBbBgPWP.js.map +1 -0
- package/dist/kolibri/Alert-BVf5tw8j.js +4 -0
- package/dist/kolibri/Alert-BVf5tw8j.js.map +1 -0
- package/dist/kolibri/{Collapsible-VwOBRTg-.js → Collapsible-CCKxmIkx.js} +1 -1
- package/dist/kolibri/{Collapsible-VwOBRTg-.js.map → Collapsible-CCKxmIkx.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsToggle-BtYSYCn5.js → CustomSuggestionsToggle-Bc0yWris.js} +1 -1
- package/dist/{esm/CustomSuggestionsToggle-BtYSYCn5.js.map → kolibri/CustomSuggestionsToggle-Bc0yWris.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-DCOhSz_b.js +4 -0
- package/dist/kolibri/FieldControlStateWrapper-DCOhSz_b.js.map +1 -0
- package/dist/kolibri/FormFieldStateWrapper-wNg0Vsby.js +4 -0
- package/dist/kolibri/FormFieldStateWrapper-wNg0Vsby.js.map +1 -0
- package/dist/kolibri/Heading-51xMOasP.js +4 -0
- package/dist/{esm/Heading-CMd-jtC1.js.map → kolibri/Heading-51xMOasP.js.map} +1 -1
- package/dist/kolibri/{Icon-BQRZwXjg.js → Icon-DxBm_hPC.js} +1 -1
- package/dist/kolibri/{Icon-BQRZwXjg.js.map → Icon-DxBm_hPC.js.map} +1 -1
- package/dist/kolibri/Input-BIFTGD-P.js +4 -0
- package/dist/kolibri/{Input-BQNyXbdV.js.map → Input-BIFTGD-P.js.map} +1 -1
- package/dist/kolibri/InputStateWrapper-OV2f0hPC.js +4 -0
- package/dist/kolibri/{InputStateWrapper-5DGko7Ry.js.map → InputStateWrapper-OV2f0hPC.js.map} +1 -1
- package/dist/kolibri/InternalUnderlinedBadgeText-CXU0N8OZ.js +4 -0
- package/dist/kolibri/{InternalUnderlinedBadgeText-DeV9AANw.js.map → InternalUnderlinedBadgeText-CXU0N8OZ.js.map} +1 -1
- package/dist/kolibri/{Span-9Jbefwfo.js → Span-CGaA1xHQ.js} +1 -1
- package/dist/kolibri/{Span-9Jbefwfo.js.map → Span-CGaA1xHQ.js.map} +1 -1
- package/dist/kolibri/app-globals-C82LZBPH.js +4 -0
- package/dist/kolibri/{app-globals-BV7c4MN_.js.map → app-globals-C82LZBPH.js.map} +1 -1
- package/dist/kolibri/{controller-B_Bwl5E9.js → controller-CdHusJ6U.js} +1 -1
- package/dist/kolibri/{controller-B_Bwl5E9.js.map → controller-CdHusJ6U.js.map} +1 -1
- package/dist/kolibri/{controller-C7skty3T.js → controller-D1tztx1p.js} +1 -1
- package/dist/{esm/controller-C7skty3T.js.map → kolibri/controller-D1tztx1p.js.map} +1 -1
- package/dist/kolibri/{controller-BMZRH6Si.js → controller-DltaZeE1.js} +1 -1
- package/dist/kolibri/{controller-BMZRH6Si.js.map → controller-DltaZeE1.js.map} +1 -1
- package/dist/kolibri/{controller-icon-DcftMfhw.js → controller-icon-BITfW4zF.js} +1 -1
- package/dist/kolibri/{controller-icon-DcftMfhw.js.map → controller-icon-BITfW4zF.js.map} +1 -1
- package/dist/kolibri/{dev.utils-D2H-D7vZ.js → dev.utils-Bb0h4kvu.js} +1 -1
- package/dist/kolibri/{dev.utils-D2H-D7vZ.js.map → dev.utils-Bb0h4kvu.js.map} +1 -1
- package/dist/kolibri/{devtools-Bv4R5yuw.js → devtools-G4C8V6W_.js} +1 -1
- package/dist/kolibri/{devtools-Bv4R5yuw.js.map → devtools-G4C8V6W_.js.map} +1 -1
- package/dist/kolibri/index-ChKIy9nE.js +5 -0
- package/dist/kolibri/index-ChKIy9nE.js.map +1 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/index.esm.js.map +1 -1
- 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.esm.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js.map +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.esm.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js.map +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.esm.js.map +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js.map +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.esm.js.map +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js.map +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.esm.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js.map +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/kolibri.esm.js.map +1 -1
- package/dist/kolibri/table-settings-DSZObo-2.js.map +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js +4 -0
- package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js.map +1 -0
- package/dist/types/components/button/component.d.ts +0 -1
- package/dist/types/components/drawer/shadow.d.ts +1 -1
- package/dist/types/components/input-date/shadow.d.ts +1 -0
- package/dist/types/components/link/component.d.ts +0 -1
- package/dist/types/components/nav/shadow.d.ts +3 -1
- package/dist/types/components.d.ts +2 -2
- package/dist/types/functional-components/FormFieldTooltip/FormFieldTooltip.d.ts +0 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/schema/components/toaster.d.ts +3 -3
- package/dist/types/schema/props/table-callbacks.d.ts +2 -2
- package/dist/types/schema/types/table.d.ts +4 -2
- package/dist/types/stencil-public-runtime.d.ts +16 -2
- package/dist/types/utils/tooltip-open-tracking.d.ts +4 -0
- package/doc/accordion.md +1 -1
- package/doc/alert.md +1 -1
- package/doc/button-link.md +1 -1
- package/doc/button.md +1 -1
- package/doc/card.md +1 -1
- package/doc/combobox.md +1 -1
- package/doc/details.md +1 -1
- package/doc/drawer.md +1 -1
- package/doc/form.md +2 -2
- package/doc/input-checkbox.md +1 -1
- package/doc/input-color.md +1 -1
- package/doc/input-date.md +1 -1
- package/doc/input-email.md +1 -1
- package/doc/input-file.md +1 -1
- package/doc/input-number.md +1 -1
- package/doc/input-password.md +1 -1
- package/doc/input-radio.md +1 -1
- package/doc/input-range.md +1 -1
- package/doc/input-text.md +1 -1
- package/doc/link-button.md +1 -1
- package/doc/link.md +1 -1
- package/doc/modal.md +1 -1
- package/doc/pagination.md +1 -1
- package/doc/popover-button.md +1 -1
- package/doc/select.md +1 -1
- package/doc/single-select.md +1 -1
- package/doc/split-button.md +1 -1
- package/doc/table-stateful.md +3 -3
- package/doc/table-stateless.md +11 -11
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +1 -1
- package/doc/toaster.md +3 -3
- package/doc/toolbar.md +1 -1
- package/package.json +1 -1
- package/vscode-custom-data.json +0 -152
- package/dist/cjs/Alert-pYM9xL1B.js.map +0 -1
- package/dist/cjs/FieldControlStateWrapper-CxSfV7UW.js +0 -4
- package/dist/cjs/FieldControlStateWrapper-CxSfV7UW.js.map +0 -1
- package/dist/cjs/FormFieldStateWrapper-CujxRl8G.js +0 -4
- package/dist/cjs/FormFieldStateWrapper-CujxRl8G.js.map +0 -1
- package/dist/cjs/Icon-B8rPDYT-.js +0 -4
- package/dist/cjs/index-DHm-aTX3.js +0 -4
- package/dist/cjs/index-DHm-aTX3.js.map +0 -1
- package/dist/esm/Alert-qJPuIv8b.js.map +0 -1
- package/dist/esm/FieldControlStateWrapper-CIWPKSbC.js +0 -4
- package/dist/esm/FieldControlStateWrapper-CIWPKSbC.js.map +0 -1
- package/dist/esm/FormFieldStateWrapper-CKwM-DIl.js +0 -4
- package/dist/esm/FormFieldStateWrapper-CKwM-DIl.js.map +0 -1
- package/dist/esm/Icon-BQRZwXjg.js +0 -4
- package/dist/esm/index-DKFHNf-G.js +0 -4
- package/dist/esm/index-DKFHNf-G.js.map +0 -1
- package/dist/kolibri/Alert-qJPuIv8b.js +0 -4
- package/dist/kolibri/Alert-qJPuIv8b.js.map +0 -1
- package/dist/kolibri/FieldControlStateWrapper-CIWPKSbC.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-CIWPKSbC.js.map +0 -1
- package/dist/kolibri/FormFieldStateWrapper-CKwM-DIl.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper-CKwM-DIl.js.map +0 -1
- package/dist/kolibri/Heading-CMd-jtC1.js +0 -4
- package/dist/kolibri/Input-BQNyXbdV.js +0 -4
- package/dist/kolibri/InputStateWrapper-5DGko7Ry.js +0 -4
- package/dist/kolibri/InternalUnderlinedBadgeText-DeV9AANw.js +0 -4
- package/dist/kolibri/app-globals-BV7c4MN_.js +0 -4
- package/dist/kolibri/index-DKFHNf-G.js +0 -5
- package/dist/kolibri/index-DKFHNf-G.js.map +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as o,F as a}from"./index-DKFHNf-G.js";import{c as n}from"./clsx-eK3rPvPS.js";import{e as s,d as l}from"./component-names-CkE54Ym7.js";import{t as i}from"./i18n-CdSCDnmA.js";import{a as t,b as r,c,d}from"./bem-CHTjklyp.js";import{K as u}from"./Heading-CMd-jtC1.js";const b=i("kol-error"),f=i("kol-info"),m=i("kol-warning"),v=i("kol-success"),p=i("kol-message"),g=({ariaLabel:e,icon:i})=>o(a,null,o("span",{class:"visually-hidden"},e),o(s,{class:t,_label:"",_icons:i})),k=({type:a,label:e})=>{switch(a){case"error":return o(g,{ariaLabel:b,icon:"codicon codicon-error",label:e});case"info":return o(g,{ariaLabel:f,icon:"codicon codicon-info",label:e});case"warning":return o(g,{ariaLabel:m,icon:"codicon codicon-warning",label:e});case"success":return o(g,{ariaLabel:v,icon:"codicon codicon-pass",label:e});default:return o(g,{ariaLabel:p,icon:"codicon codicon-comment",label:e})}},C=i("kol-close-alert"),h=()=>{if("undefined"==typeof navigator||"function"!=typeof navigator.vibrate)return;const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}},y=(a,i)=>{const{class:s={},alert:t=!1,hasCloser:b=!1,label:m,level:v=0,type:p="default",variant:g="msg",onAlertTimeout:f,onCloserClick:y}=a,_=e(a,["class","alert","hasCloser","label","level","type","variant","onAlertTimeout","onCloserClick"]);t&&(h(),setTimeout(()=>{null==f||f()},1e4));const j=r("kol-alert",{hasCloser:!!b,[`type-${p}`]:!0,[`variant-${g}`]:!0}),A=r("kol-alert","heading",{[`h${v}`]:!0}),L=Object.assign({class:n(s,j),role:t?"error"===p?"alert":"status":void 0},_);return o("div",Object.assign({},L,{"data-testid":"alert"}),o("div",{class:"kol-alert__container"},o(k,{label:m,type:p}),o("div",{class:"kol-alert__container-content"},m&&o(u,{class:A,level:v,id:"heading"},m),"msg"===g&&o("span",{class:c,"aria-describedby":m?"heading":void 0},i)),b&&o(l,{class:d,"data-testid":"alert-close-button",_ariaDescription:(null==m?void 0:m.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:C,_on:{onClick:y},_tooltipAlign:"left"})),"card"===g&&o("div",{class:c,"aria-describedby":m?"heading":void 0},i))};export{y as K};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert-qJPuIv8b.js","sources":["src/functional-components/AlertIcon/AlertIcon.tsx","src/functional-components/Alert/Alert.tsx"],"sourcesContent":["import { Fragment, type FunctionalComponent as FC, h } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport type { AlertType } from '../../schema';\nimport { translate } from '../../i18n';\nimport { BEM_CLASS_ALERT__ICON } from '../Alert/bem';\n\nconst translateError = translate('kol-error');\nconst translateInfo = translate('kol-info');\nconst translateWarning = translate('kol-warning');\nconst translateSuccess = translate('kol-success');\nconst translateMessage = translate('kol-message');\n\n/**\n * The icon uses a visually-hidden span instead of an aria-label because the Alert might be referenced as content for aria-describedby.\n * In this scenario, Firefox with NVDA does not properly read the aria-label, so the visually-hidden span ensures correct screen reader behavior.\n * @see https://github.com/public-ui/kolibri/issues/7119\n */\nconst Icon: FC<{ ariaLabel: string; icon: string; label?: string }> = ({ ariaLabel, icon }) => {\n\treturn (\n\t\t<>\n\t\t\t<span class=\"visually-hidden\">{ariaLabel}</span>\n\t\t\t<KolIconTag class={BEM_CLASS_ALERT__ICON} _label=\"\" _icons={icon} />\n\t\t</>\n\t);\n};\n\nconst AlertIcon: FC<{ label?: string; type?: AlertType }> = ({ type, label }) => {\n\tswitch (type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translateError} icon=\"codicon codicon-error\" label={label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translateInfo} icon=\"codicon codicon-info\" label={label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translateWarning} icon=\"codicon codicon-warning\" label={label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translateSuccess} icon=\"codicon codicon-pass\" label={label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translateMessage} icon=\"codicon codicon-comment\" label={label} />;\n\t}\n};\n\nexport default AlertIcon;\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport { type JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport { type InternalAlertProps } from '../../schema';\nimport AlertIcon from '../AlertIcon';\nimport KolHeadingFc from '../Heading';\nimport { genBemAlert as bem, BEM_CLASS_ALERT__CLOSER, BEM_CLASS_ALERT__CONTENT } from './bem';\n\nconst translateCloseAlert = translate('kol-close-alert');\n\nexport type KolAlertFcProps = JSXBase.HTMLAttributes<HTMLDivElement> &\n\tPartial<Omit<InternalAlertProps, 'on'>> & {\n\t\tonCloserClick?: () => void;\n\t\tonAlertTimeout?: () => void;\n\t};\n\n/**\n * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n * - https://googlechrome.github.io/samples/vibration/\n * - Ongoing discussion: https://github.com/public-ui/kolibri/issues/7191\n * @todo Move side-effect out of render-function to avoid multiple incarnations.\n */\nconst vibrateOnError = (): void => {\n\tif (typeof navigator === 'undefined' || typeof navigator.vibrate !== 'function') {\n\t\treturn;\n\t}\n\tconst ua = navigator.userActivation;\n\tconst hasGesture = ua?.isActive || ua?.hasBeenActive;\n\tif (!hasGesture) {\n\t\treturn;\n\t}\n\tif (!matchMedia('(any-pointer: coarse)').matches) {\n\t\treturn;\n\t}\n\ttry {\n\t\tnavigator.vibrate([100, 75, 100, 75, 100]);\n\t} catch {\n\t\t/* no-op */\n\t}\n};\n\nconst KolAlertFc: FC<KolAlertFcProps> = (props, children) => {\n\tconst {\n\t\tclass: classNames = {},\n\t\talert = false,\n\t\thasCloser = false,\n\t\tlabel,\n\t\tlevel = 0,\n\t\ttype = 'default',\n\t\tvariant = 'msg',\n\t\tonAlertTimeout,\n\t\tonCloserClick,\n\t\t...other\n\t} = props;\n\n\tif (alert) {\n\t\tvibrateOnError();\n\n\t\tsetTimeout(() => {\n\t\t\tonAlertTimeout?.();\n\t\t}, 10000);\n\t}\n\n\t/**\n\t * Define the dynamic BEM class names for the alert component.\n\t */\n\tconst BEM_CLASS_ROOT = bem('kol-alert', {\n\t\thasCloser: !!hasCloser,\n\t\t[`type-${type}`]: true,\n\t\t[`variant-${variant}`]: true,\n\t});\n\tconst BEM_CLASS__HEADING = bem('kol-alert', 'heading', {\n\t\t[`h${level}`]: true,\n\t});\n\n\tconst rootProps: Partial<JSXBase.HTMLAttributes<HTMLDivElement>> = {\n\t\tclass: clsx(classNames, BEM_CLASS_ROOT),\n\t\trole: alert ? (type === 'error' ? 'alert' : 'status') : undefined,\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<div {...rootProps} data-testid=\"alert\">\n\t\t\t<div class=\"kol-alert__container\">\n\t\t\t\t<AlertIcon label={label} type={type} />\n\t\t\t\t<div class=\"kol-alert__container-content\">\n\t\t\t\t\t{label && (\n\t\t\t\t\t\t<KolHeadingFc class={BEM_CLASS__HEADING} level={level} id=\"heading\">\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</KolHeadingFc>\n\t\t\t\t\t)}\n\t\t\t\t\t{variant === 'msg' && (\n\t\t\t\t\t\t<span class={BEM_CLASS_ALERT__CONTENT} aria-describedby={label ? 'heading' : undefined}>\n\t\t\t\t\t\t\t{children}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{hasCloser && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass={BEM_CLASS_ALERT__CLOSER}\n\t\t\t\t\t\tdata-testid=\"alert-close-button\"\n\t\t\t\t\t\t_ariaDescription={label?.trim() || ''}\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translateCloseAlert}\n\t\t\t\t\t\t_on={{ onClick: onCloserClick }}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t\t{variant === 'card' && (\n\t\t\t\t<div class={BE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,EAAE,IAAI,EAAE,IAAI,EAAI,CAAA,EACvC,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,KAAK,KACL,CAAA,CAAC,YAAY,EAAC,EAAA,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAC,SAAS,EACjE,EAAA,KAAK,CACQ,CACf,EACA,OAAO,KAAK,KAAK,KACjB,YAAM,KAAK,EAAE,wBAAwB,EAAA,kBAAA,EAAoB,KAAK,GAAG,SAAS,GAAG,SAAS,EACpF,EAAA,QAAQ,CACH,CACP,CACI,EACL,SAAS,KACT,CAAC,CAAA,cAAc,EACd,EAAA,KAAK,EAAE,uBAAuB,EAClB,aAAA,EAAA,oBAAoB,EAChC,gBAAgB,EAAE,CAAA,KAAK,KAAA,IAAA,IAAL,KAAK,KAAA,MAAA,GAAA,MAAA,GAAL,KAAK,CAAE,IAAI,EAAE,KAAI,EAAE,EACrC,UAAU,EACV,IAAA,EAAA,MAAM,EAAE;AACP,YAAA,IAAI,EAAE;AACL,gBAAA,IAAI,EAAE,uBAAuB;AAC7B,aAAA;SACD,EACD,MAAM,EAAE,mBAAmB,EAC3B,GAAG,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAC/B,aAAa,EAAC,MAAM,EAAA,CACnB,CACF,CACI,EACL,OAAO,KAAK,MAAM,KAClB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,wBAAwB,EAAoB,kBAAA,EAAA,KAAK,GAAG,SAAS,GAAG,SAAS,EAAA,EACnF,QAAQ,CACJ,CACN,CACI;AAER;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as o}from"./tslib.es6-CxX45GIN.js";import{h as l,F as e}from"./index-DKFHNf-G.js";import{c as t}from"./clsx-eK3rPvPS.js";import"./common-8fBdMvJM.js";import{b as i,s as r}from"./reuse-CX4AQDkS.js";import{a as s,K as n,b as a,c as d}from"./FormFieldStateWrapper-CKwM-DIl.js";const c=(e,s)=>{var{class:i}=e,r=o(e,["class"]);return l("div",Object.assign({class:t("kol-field-control__input",i)},r),s)},f=(b,f)=>{const{class:p,id:h,disabled:u,label:_,hideLabel:g,labelAlign:y,renderNoTooltip:m,hint:K,renderNoHint:j,tooltipAlign:k,accessKey:C,shortKey:v,msg:P,touched:B,required:O,readonly:A,fieldControlInputProps:N,fieldControlLabelProps:L,fieldControlTooltipProps:q,fieldControlHintProps:x}=b,F=o(b,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","renderNoHint","tooltipAlign","accessKey","shortKey","msg","touched","required","readonly","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]),H=!j,T=!m,I=d(P,B),S=r(_),D=T&&!S&&g,M=i(C,v),G="string"==typeof P?"error":null==P?void 0:P._type,X=[l(e,null,l(c,Object.assign({},N),f),D&&l(s,Object.assign({},q||{},{id:h,label:_,hideLabel:g,align:k,badgeText:M}))),l(n,Object.assign({},L||{},{id:h,baseClassName:"kol-field-control",class:t(null==L?void 0:L.class,{"kol-field-control__label--visually-hidden":Boolean(g)}),hasExpertSlot:S,label:_,accessKey:C,shortKey:v}))];"left"===y&&X.reverse();const $={"kol-field-control--disabled":Boolean(u),"kol-field-control--required":Boolean(O),"kol-field-control--touched":Boolean(B),"kol-field-control--hide-label":Boolean(g),"kol-field-control--read-only":Boolean(A),[`kol-field-control--${G||"error"}`]:Boolean(I),[`kol-field-control--label-align-${y}`]:Boolean(y)};return l("div",Object.assign({class:t("kol-field-control",$,p)},F),X,H&&l(a,Object.assign({},x||{},{baseClassName:"kol-field-control",id:h,hint:K})))};function b(l){const e={id:l._id,disabled:l._disabled,msg:l._msg,hint:l._hint,label:l._label,hideLabel:l._hideLabel,touched:l._touched};return"_required"in l&&(e.required=l._required),"_readOnly"in l&&(e.readonly=l._readOnly),"_labelAlign"in l&&(e.labelAlign=l._labelAlign),"_accessKey"in l&&(e.accessKey=l._accessKey),"_shortKey"in l&&(e.shortKey=l._shortKey),e}const p=(e,s)=>{var{state:i}=e,r=o(e,["state"]);return l(f,Object.assign({},b(i),r),s)};export{p as F};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldControlStateWrapper-CIWPKSbC.js","sources":["src/functional-components/FieldControl/FieldControl.tsx","src/functional-component-wrappers/FieldControlStateWrapper/FieldControlStateWrapper.tsx"],"sourcesContent":["import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport {\n\ttype AlignPropType,\n\ttype LabelAlignPropType,\n\tbuildBadgeTextString,\n\tcheckHasMsg,\n\ttype MsgPropType,\n\ttype Stringified,\n\tshowExpertSlot,\n} from '../../schema';\nimport KolFieldControlTooltipFc from '../FormFieldTooltip';\nimport KolFieldControlLabelFc from '../FormFieldLabel';\nimport KolFieldControlHintFc from '../FormFieldHint';\n\nexport type FieldControlProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id'> & {\n\tid: string;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\tlabelAlign?: LabelAlignPropType;\n\taccessKey?: string;\n\tshortKey?: string;\n\ttooltipAlign?: AlignPropType;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n\trequired?: boolean;\n\treadonly?: boolean;\n\tshowTooltip?: boolean;\n\n\trenderNoLabel?: boolean;\n\trenderNoHint?: boolean;\n\trenderNoTooltip?: boolean;\n\n\tfieldControlLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\t\tcomponent?: 'label' | 'legend';\n\t\tshowBadge?: boolean;\n\t};\n\tfieldControlInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tfieldControlTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tfieldControlHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-field-control__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFieldControlFc: FC<FieldControlProps> = (props, children) => {\n\tconst {\n\t\tclass: classNames,\n\t\tid,\n\t\tdisabled,\n\t\tlabel,\n\t\thideLabel,\n\t\tlabelAlign,\n\t\trenderNoTooltip,\n\t\thint,\n\t\trenderNoHint,\n\t\ttooltipAlign,\n\t\taccessKey,\n\t\tshortKey,\n\t\tmsg,\n\t\ttouched,\n\t\trequired,\n\t\treadonly,\n\t\tfieldControlInputProps,\n\t\tfieldControlLabelProps,\n\t\tfieldControlTooltipProps,\n\t\tfieldControlHintProps,\n\t\t...other\n\t} = props;\n\n\tconst canShowHint = !renderNoHint;\n\tconst canShowTooltip = !renderNoTooltip;\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst useTooltipInsteadOfLabel = canShowTooltip && !hasExpertSlot && hideLabel;\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\tconst msgType = typeof msg === 'string' ? 'error' : msg?._type;\n\n\tconst components = [\n\t\t<>\n\t\t\t<InputContainer {...fieldControlInputProps}>{children}</InputContainer>\n\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t<KolFieldControlTooltipFc\n\t\t\t\t\t{...(fieldControlTooltipProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\talign={tooltipAlign}\n\t\t\t\t\tbadgeText={badgeText}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</>,\n\t\t<KolFieldControlLabelFc\n\t\t\t{...(fieldControlLabelProps || {})}\n\t\t\tid={id}\n\t\t\tbaseClassName=\"kol-field-control\"\n\t\t\tclass={clsx(fieldControlLabelProps?.class, {\n\t\t\t\t['kol-field-control__label--visually-hidden']: Boolean(hideLabel),\n\t\t\t})}\n\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\tlabel={label}\n\t\t\taccessKey={accessKey}\n\t\t\tshortKey={shortKey}\n\t\t/>,\n\t];\n\n\tif (labelAlign === 'left') {\n\t\tcomponents.reverse();\n\t}\n\n\tconst stateCssClasses = {\n\t\t['kol-field-control--disabled']: Boolean(disabled),\n\t\t['kol-field-control--required']: Boolean(required),\n\t\t['kol-field-control--touched']: Boolean(touched),\n\t\t['kol-field-control--hide-label']: Boolean(hideLabel),\n\t\t['kol-field-control--read-only']: Boolean(readonly),\n\t\t[`kol-field-control--${msgType || 'error'}`]: Boolean(showMsg),\n\t\t[`kol-field-control--label-align-${labelAlign}`]: Boolean(labelAlign),\n\t};\n\n\treturn (\n\t\t<div class={clsx('kol-field-control', stateCssClasses, classNames)} {...other}>\n\t\t\t{components}\n\t\t\t{canShowHint && <KolFieldControlHintFc {...(fieldControlHintProps || {})} baseClassName=\"kol-field-control\" id={id} hint={hint} />}\n\t\t</div>\n\t);\n};\n\nexport default KolFieldControlFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFieldControlFc, { type FieldControlProps } from '../../functional-components/FieldControl';\nimport {\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InputCheckboxStates,\n\ttype InputRadioStates,\n\ttype SelectStates,\n\ttype MsgPropType,\n} from '../../schema';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates;\n\nexport type FieldControlStateWrapperProps = Partial<FieldControlProps> & {\n\tstate: InputState;\n};\n\nfunction getFieldControlProps(state: InputState): FieldControlProps {\n\tconst props: FieldControlProps = {\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg as MsgPropType,\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\ttouched: state._touched,\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readonly = state._readOnly;\n\t}\n\n\tif ('_labelAlign' in state) {\n\t\tprops.labelAlign = state._labelAlign;\n\t}\n\n\tif ('_accessKey' in state) {\n\t\tprops.accessKey = state._accessKey;\n\t}\n\n\tif ('_shortKey' in state) {\n\t\tprops.shortKey = state._shortKey;\n\t}\n\n\treturn props;\n}\n\nconst FieldControlStateWrapper: FC<FieldControlStateWrapperProps> = ({ state, ...other }, children) => {\n\treturn (\n\t\t<KolFieldControlFc {...getFieldControlProps(state)} {...other}>\n\t\t\t{children}\n\t\t</KolFieldControlFc>\n\t);\n};\n\nexport default FieldControlStateWrapper;\n"],"names":["KolFieldControlTooltipFc","KolFieldControlLabelFc","KolFieldControlHintFc"],"mappings":";;;;;;;;;;AA6CA,MAAM,cAAc,GAA+C,CAAC,EAA+B,EAAE,QAAQ,KAAI;QAA7C,EAAE,KAAK,EAAE,UAAU,EAAA,GAAA,EAAY,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAA7B,SAA+B,CAAF;IAChG,QACC,CAAK,CAAA,KAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,0BAA0B,EAAE,UAAU,CAAC,IAAM,KAAK,CAAA,EACjE,QAAQ,CACJ;AAER,CAAC;AAED,MAAM,iBAAiB,GAA0B,CAAC,KAAK,EAAE,QAAQ,KAAI;IACpE,MAAM,EACL,KAAK,EAAE,UAAU,EACjB,EAAE,EACF,QAAQ,EACR,KAAK,EACL,SAAS,EACT,U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AAA,EAAE,KAAK,EAAY,GAAA,EAAA,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAAjB,SAAmB,CAAF;IACrF,QACC,CAAA,CAAC,iBAAiB,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,oBAAoB,CAAC,KAAK,CAAC,EAAM,KAAK,CAAA,EAC3D,QAAQ,CACU;AAEtB;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{d as e,e as t,p as i,o as r,w as n,G as s,g as o,j as a,s as l,t as d}from"./common-8fBdMvJM.js";import{v as c,a as u,b as h,c as f}from"./access-and-short-key-bcID78Ha.js";import{v as m}from"./disabled-BydergHu.js";import{v as p}from"./hide-label-DRunOux4.js";import{a as v}from"./label-CdtNxOKu.js";import{v as b}from"./tooltip-align-_VI7LehI.js";import{d as g,K as y}from"./events-CoPFQEiC.js";import{A as _}from"./associated.controller-BKIODHIT.js";import{a as x,c as j,i as L,r as k}from"./isObject-DvSELytj.js";import{_ as K}from"./tslib.es6-CxX45GIN.js";import{h as O,F as C}from"./index-DKFHNf-G.js";import{c as S}from"./clsx-eK3rPvPS.js";import{K as B}from"./Alert-qJPuIv8b.js";import{i as T,K as P}from"./InternalUnderlinedBadgeText-DeV9AANw.js";import{b as F,s as I}from"./reuse-CX4AQDkS.js";import{t as D}from"./i18n-CdSCDnmA.js";import{a as M}from"./component-names-CkE54Ym7.js";const $=(t,n)=>{e(t,"_adjustHeight",n)},w=(t,n,o)=>{e(t,"_hideMsg",n,o)},E=(e,n)=>{t(e,"_hint",n)},H=(e,t)=>{r(t,()=>{try{t=i(t)}catch(e){}n(e,"_msg",e=>{if(void 0===e)return!0;if("string"==typeof e&&e.length>0)return!0;if(s(e)&&null!==e){const t=e._description;return o(t,1)}return!1},new Set(["MsgPropType","string"]),t)})};function N(e,t){var n;if(!e)return!1;const o="string"==typeof e?"error":null!==(n=e._type)&&void 0!==n?n:"error";return!0===t||"error"!==o}function A(e){if("string"==typeof e)try{return i(e)}catch(t){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}const q=(t,n)=>{e(t,"_touched",n)},G=e=>{var t,n,{alert:o,msg:i,id:r,class:s}=e,a=K(e,["alert","msg","id","class"]);const l=A(i);return O(B,Object.assign({id:`${r}-msg`,alert:null!==(t=null==l?void 0:l._alert)&&void 0!==t?t:o,hasCloser:!1,level:0,type:null!==(n=null==l?void 0:l._type)&&void 0!==n?n:"error",variant:"msg",class:S("kol-form-field__msg",s)},a),(null==l?void 0:l._description)||void 0)};var V="[object Symbol]";function W(e){return"symbol"==typeof e||x(e)&&j(e)==V}var J=/\s/;function Q(e){for(var t=e.length;t--&&J.test(e.charAt(t)););return t}var X=/^\s+/;function z(e){return e?e.slice(0,Q(e)+1).replace(X,""):e}var R=NaN,U=/^[-+]0x[0-9a-f]+$/i,Y=/^0b[01]+$/i,Z=/^0o[0-7]+$/i,ee=parseInt;function te(e){if("number"==typeof e)return e;if(W(e))return R;if(L(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=L(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=z(e);var n=Y.test(e);return n||Z.test(e)?ee(e.slice(2),n?2:8):U.test(e)?R:+e}var ie=function(){return k.Date.now()},re="Expected a function",ne=Math.max,se=Math.min;function oe(e,t,n){var o,i,r,s,a,l,c=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError(re);function m(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=r}function f(){var e=ie();if(p(e))return g(e);a=setTimeout(f,function(e){var n=t-(e-l);return h?se(n,r-(e-c)):n}(e))}function g(e){return a=void 0,u&&o?m(e):(o=i=void 0,s)}function v(){var e=ie(),n=p(e);if(o=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(f,t),d?m(e):s}(l);if(h)return clearTimeout(a),a=setTimeout(f,t),m(l)}return void 0===a&&(a=setTimeout(f,t)),s}return t=te(t)||0,L(n)&&(d=!!n.leading,r=(h="maxWait"in n)?ne(te(n.maxWait)||0,t):r,u="trailing"in n?!!n.trailing:u),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,o=l=i=a=void 0},v.flush=function(){return void 0===a?s:g(ie())},v}const ae=({hasExpertSlot:e,accessKey:t,shortKey:n,label:o,showBadge:i=!0})=>{if(e)return O("slot",{name:"expert"});if(!o)return null;const r=T(t)||T(n);if(!i||!r)return O("span",null,o);const s=F(t,n);return O(C,null,O(P,{badgeText:s,label:o})," ",O("kbd",{class:"badge-text-hint","aria-hidden":"true"},s))},le=e=>{var{component:t="label",id:n,baseClassName:o="kol-form-field",class:i,accessKey:r,shortKey:s,label:a,hideLabel:l,hasExpertSlot:c,showBadge:d}=e,h=K(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const u=!c&&l;return O(t,Object.assign({},h,{class:S(`${o}__label`,i),id:u?void 0:`${n}-label`,hidden:u,htmlFor:n}),O("span",{class:S(`${o}__label-text`)},O(ae,{hasExpertSlot:c,accessKey:r,shortKey:s,label:a,showBadge:d})))},de=e=>{var{id:t,class:n,hint:o,baseClassName:i="kol-form-field"}=e,r=K(e,["id","class","hint","baseClassName"]);return o?O("span",Object.assign({class:S(`${i}__hint`,n),id:`${t}-hint`},r),o):null},ce=({currentLength:e,currentLengthDebounced:t,maxLength:n,maxLengthBehavior:o})=>{let i,r;const s=["kol-form-field__counter"];if("hard"===o)i="number"==typeof n?D("kol-character-counter-current-of-max",{placeholders:{current:String(e),max:String(n)}}):D("kol-character-counter-current",{placeholders:{current:String(e)}}),r="number"==typeof n?D("kol-character-counter-current-of-max-aria",{placeholders:{current:String(t),max:String(n)}}):D("kol-character-counter-current",{placeholders:{current:String(t)}});else{if("number"!=typeof n)return null;{const o=n-e,a=o<0,l=n-t,c=l<0;i=a?D("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(o))}}):D("kol-character-limit-remaining",{placeholders:{remaining:String(o)}}),r=c?D("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(l))}}):D("kol-character-limit-remaining",{placeholders:{remaining:String(l)}}),a&&s.push("kol-form-field__counter--exceeded")}}return O(C,null,O("span",{class:S(s),"aria-hidden":"true","data-testid":"input-counter"},i),O("span",{"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria"},r))},ue=({id:e,maxLength:t})=>O("span",{id:`${e}-character-limit-hint`,class:"visually-hidden"},D("kol-character-limit-hint",{placeholders:{limit:String(t)}})),he=({id:e,align:t,badgeText:n,hideLabel:o,label:i,class:r})=>O(M,{"aria-hidden":"true",class:S("kol-form-field__tooltip",r),_badgeText:n,_align:t,_id:o?`${e}-label`:void 0,_label:i});function fe(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const me=(e,t)=>{var{class:n}=e,o=K(e,["class"]);return O("div",Object.assign({class:S("kol-form-field__input",n)},o),t)},pe=(e,t)=>{var n;const{component:o="div",renderNoLabel:i,renderNoTooltip:r,renderNoHint:s,anotherChildren:a,id:l,required:c,alert:d,disabled:h,class:u,msg:m,hideMsg:p,hideLabel:f,label:g,hint:v,accessKey:b,shortKey:_,tooltipAlign:y,counter:L,readOnly:x,touched:j,maxLength:k,formFieldLabelProps:C,formFieldHintProps:B,formFieldTooltipProps:D,formFieldMsgProps:T,formFieldInputProps:M}=e,E=K(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","maxLength","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldInputProps"]),H=!i,P=!s,A=!r,$=I(g),w=N(m,j),q=F(b,_),W=A&&!$&&f,V="string"==typeof m?"error":null!==(n=null==m?void 0:m._type)&&void 0!==n?n:"error";let J={"kol-form-field--disabled":Boolean(h),"kol-form-field--required":Boolean(c),"kol-form-field--touched":Boolean(j),"kol-form-field--hide-label":Boolean(f),"kol-form-field--read-only":Boolean(x),"kol-form-field--hidden-msg":Boolean(p)};return w&&(J=Object.assign(Object.assign({},J),{[`kol-form-field--${V||"error"}`]:!0,[`kol-form-field--${fe({type:V})}`]:!0})),O(o,Object.assign({class:S("kol-form-field",J,u)},E),H&&O(le,Object.assign({},C||{},{id:l,hasExpertSlot:$,hideLabel:f,label:g,accessKey:b,shortKey:_})),O(me,Object.assign({},M),t,W&&O(he,Object.assign({},D||{},{id:l,label:g,hideLabel:f,align:y,badgeText:q}))),L?O(ce,Object.assign({},L)):null,k?O(ue,{id:l,maxLength:k}):null,w&&!p&&O(G,Object.assign({},T||{},{id:l,alert:d,msg:m})),P&&O(de,Object.assign({},B||{},{id:l,hint:v})),a)};function ve({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&n?n:void 0}}class be extends _{constructor(e,t,n){super(e,t,n),this.component=e}validateTouched(e){q(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class ge extends be{constructor(e,t,n){super(e,t,n),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.updateCurrentLengthDebounced=oe(e=>{l(this.component,"_currentLengthDebounced",e)},500),this.component=e}validateAccessKey(e){c(this.component,e),u(e,this.component._shortKey)}validateAdjustHeight(e){$(this.component,e)}validateDisabled(e){m(this.component,e)}validateTooltipAlign(e){b(this.component,e)}validateHideMsg(e){w(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&d("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){p(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&d("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){E(this.component,e)}validateId(e){t(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||a("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){v(this.component,e,{required:!0})}validateMsg(e){H(this.component,e)}validateOn(e){"object"==typeof e&&l(this.component,"_on",e)}validateShortKey(e){h(this.component,e),u(this.component._accessKey,e)}validateSmartButton(e){r(e,()=>{try{e=i(e)}catch(e){}l(this.component,"_smartButton",e)})}validateTabIndex(e){f(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),u(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&g(this.host,e,t)}onBlur(e){var t;this.component._touched=!0,this.emitEvent(y.blur),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onBlur)&&this.component._on.onBlur(e)}onChange(e,t){var n;void 0===t&&(t=e.target.value),this.emitEvent(y.change,t),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach(e=>e(t))}onInput(e,t=!0,n){var o;void 0===n&&(n=e.target.value),this.emitEvent(y.input,n),t&&this.setFormAssociatedValue(n),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onInput)&&this.component._on.onInput(e,n)}onClick(e){var t;this.emitEvent(y.click),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onClick)&&this.component._on.onClick(e)}onFocus(e){var t;this.emitEvent(y.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}hasSoftCharacterLimit(){return"number"==typeof this.component.state._maxLength&&"soft"===this.component.state._maxLengthBehavior}hasCounter(){return!0===this.component.state._hasCounter}}const ye=e=>{var t;const n=e._msg,o="string"==typeof n?n:null==n?void 0:n._description,i="string"==typeof n?"error":null!==(t=null==n?void 0:n._type)&&void 0!==t?t:"error",r=Boolean(o&&o.length>0),s="error"===i&&r&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return r&&!e._hideMsg&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:s,hasHint:a,ariaDescribedBy:l}};function _e(e){const t={id:e._id,disabled:e._disabled,msg:e._msg,hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_accessKey"in e&&(t.accessKey=e._accessKey),"_shortKey"in e&&(t.shortKey=e._shortKey),"_maxLength"in e&&(t.maxLength=e._maxLength),"_currentLength"in e&&"number"==typeof e._currentLength&&"_currentLengthDebounced"in e&&"number"==typeof e._currentLengthDebounced&&"_hasCounter"in e&&!0===e._hasCounter&&(t.counter={currentLength:e._currentLength,currentLengthDebounced:e._currentLengthDebounced,maxLength:e._maxLength,maxLengthBehavior:e._maxLengthBehavior||"hard"}),t}const xe=(e,t)=>{var{state:n}=e,o=K(e,["state"]);return O(pe,Object.assign({},_e(n),o),t)};export{xe as F,ge as I,le as K,he as a,de as b,N as c,ve as d,ye as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldStateWrapper-CKwM-DIl.js","sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-msg.ts","src/schema/props/hint.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js","../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldHint/FormFieldHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.tsx","src/functional-components/FormFieldCharacterLimitHint/FormFieldCharacterLimitHint.tsx","src/functional-components/FormFieldTooltip/FormFieldTooltip.tsx","src/functional-components/FormField/FormField.tsx","src/functional-components/inputs/_helpers/getDefaultProps.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts","src/functional-component-wrappers/_helpers/getRenderStates.ts","src/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideMsgPropType = boolean;\n\n/**\n * Hides the message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideMsg = {\n\thideMsg: HideMsgPropType;\n};\n\n/* validator */\nexport const validateHideMsg = (component: Generic.Element.Component, value?: HideMsgPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideMsg', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\nexport type HintPropType = string;\n\n/**\n * Provides additional guidance below the form field.\n */\nexport type PropHint = {\n\thint: HintPropType;\n};\n\n/* validator */\nexport const validateHint = (component: Generic.Element.Component, value?: HintPropType): void => {\n\twatchString(component, '_hint', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString } from '../validators';\n\n/* types */\nexport type MsgPropType = Omit<AlertProps, '_label' | '_variant'> & { _description: string };\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: Stringified<MsgPropType>;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<Stringified<MsgPropType>>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (isObject(value) && value !== null) {\n\t\t\t\t\tconst desc = (value as { _description?: unknown })._description;\n\t\t\t\t\treturn isString(desc, 1);\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tnew Set(['MsgPropType', 'string']),\n\t\t\tvalue as Stringified<MsgPropType>,\n\t\t);\n\t});\n};\n\nexport function checkHasMsg(msg?: Stringified<MsgPropType>, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * The message is shown if:\n\t * - we show only one message at a time\n\t * - by error messages the input must be touched\n\t */\n\tif (!msg) {\n\t\treturn false;\n\t}\n\n\tconst type = typeof msg === 'string' ? 'error' : (msg._type ?? 'error');\n\tconst showMsg = touched === true || type !== 'error';\n\n\treturn showMsg;\n}\n\nexport function normalizeMsg(msg?: Stringified<MsgPropType>): MsgPropType | undefined {\n\tif (typeof msg === 'string') {\n\t\ttry {\n\t\t\treturn parseJson<MsgPropType>(msg);\n\t\t} catch (e) {\n\t\t\treturn { _description: msg, _type: 'error' };\n\t\t}\n\t}\n\tif (msg && typeof msg === 'object' && !('_type' in msg)) {\n\t\treturn { ...msg, _type: 'error' };\n\t}\n\treturn msg;\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import { type FunctionalComponent, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nimport { type AlertPropType, type IdPropType, type MsgPropType, normalizeMsg, type Stringified } from '../../schema';\nimport KolAlertFc from '../Alert';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: Stringified<MsgPropType>;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, id, class: classNames, ...other }) => {\n\tconst message = normalizeMsg(msg);\n\n\treturn (\n\t\t<KolAlertFc\n\t\t\tid={`${id}-msg`}\n\t\t\talert={message?._alert ?? alert}\n\t\t\thasCloser={false}\n\t\t\tlevel={0}\n\t\t\ttype={message?._type ?? 'error'}\n\t\t\tvariant=\"msg\"\n\t\t\tclass={clsx('kol-form-field__msg', classNames)}\n\t\t\t{...other}\n\t\t>\n\t\t\t{message?._description || undefined}\n\t\t</KolAlertFc>\n\t);\n};\n\nexport default FormFieldMsgFc;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport InternalUnderlinedBadgeText from '../InternalUnderlinedBadgeText';\nimport { buildBadgeTextString } from '../../schema';\nimport { isString } from 'lodash-es';\n\ntype LabelProps = {\n\tlabel?: string;\n\taccessKey?: string;\n\tshortKey?: string;\n\thasExpertSlot?: boolean;\n\tshowBadge?: boolean;\n};\n\ntype FormFieldLabelProps = JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\tcomponent?: 'label' | 'legend';\n\tid: string;\n\thideLabel?: boolean;\n\tbaseClassName?: string;\n\tshowBadge?: boolean;\n} & LabelProps;\n\nconst LabelFc: FC<LabelProps> = ({ hasExpertSlot, accessKey, shortKey, label, showBadge = true }) => {\n\tif (hasExpertSlot) {\n\t\treturn <slot name=\"expert\"></slot>;\n\t}\n\n\tif (!label) {\n\t\treturn null;\n\t}\n\n\tconst hasBadgeText = isString(accessKey) || isString(shortKey);\n\n\tif (!showBadge || !hasBadgeText) {\n\t\treturn <span>{label}</span>;\n\t}\n\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\n\treturn (\n\t\t<>\n\t\t\t<InternalUnderlinedBadgeText badgeText={badgeText} label={label} />\n\t\t\t \n\t\t\t<kbd class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t{badgeText}\n\t\t\t</kbd>\n\t\t</>\n\t);\n};\n\nconst KolFormFieldLabelFc: FC<FormFieldLabelProps> = ({\n\tcomponent: Component = 'label',\n\tid,\n\tbaseClassName = 'kol-form-field',\n\tclass: classNames,\n\taccessKey,\n\tshortKey,\n\tlabel,\n\thideLabel,\n\thasExpertSlot,\n\tshowBadge,\n\t...other\n}) => {\n\tconst useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n\n\treturn (\n\t\t<Component\n\t\t\t{...other}\n\t\t\tclass={clsx(`${baseClassName}__label`, classNames)}\n\t\t\tid={!useTooltipInsteadOfLabel ? `${id}-label` : undefined}\n\t\t\thidden={useTooltipInsteadOfLabel}\n\t\t\thtmlFor={id}\n\t\t>\n\t\t\t{/* INFO: span is needed for css styling :after content like a star (*) or optional text ! */}\n\t\t\t<span class={clsx(`${baseClassName}__label-text`)}>\n\t\t\t\t{/* INFO: label comes with any html tag or as plain text! */}\n\t\t\t\t<LabelFc hasExpertSlot={hasExpertSlot} accessKey={accessKey} shortKey={shortKey} label={label} showBadge={showBadge} />\n\t\t\t</span>\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldLabelFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\ntype FormFieldHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\thint?: string;\n\tbaseClassName?: string;\n};\n\nconst KolFormFieldHintFc: FC<FormFieldHintProps> = ({ id, class: classNames, hint, baseClassName = 'kol-form-field', ...other }) => {\n\tif (!hint) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<span class={clsx(`${baseClassName}__hint`, classNames)} id={`${id}-hint`} {...other}>\n\t\t\t{hint}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldHintFc;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { translate } from '../../i18n';\nimport type { MaxLengthBehaviorPropType } from '../../schema';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength: number;\n\tcurrentLengthDebounced: number;\n\tmaxLength?: number;\n\tmaxLengthBehavior: MaxLengthBehaviorPropType;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, currentLengthDebounced, maxLength, maxLengthBehavior }) => {\n\tlet visualText: string | undefined;\n\tlet ariaText: string | undefined;\n\tconst counterClasses = ['kol-form-field__counter'];\n\n\tif (maxLengthBehavior === 'hard') {\n\t\tvisualText =\n\t\t\ttypeof maxLength === 'number'\n\t\t\t\t? translate('kol-character-counter-current-of-max', { placeholders: { current: String(currentLength), max: String(maxLength) } })\n\t\t\t\t: translate('kol-character-counter-current', { placeholders: { current: String(currentLength) } });\n\n\t\tariaText =\n\t\t\ttypeof maxLength === 'number'\n\t\t\t\t? translate('kol-character-counter-current-of-max-aria', { placeholders: { current: String(currentLengthDebounced), max: String(maxLength) } })\n\t\t\t\t: translate('kol-character-counter-current', { placeholders: { current: String(currentLengthDebounced) } });\n\t} else if (typeof maxLength === 'number') {\n\t\tconst remainingLive = maxLength - currentLength;\n\t\tconst exceededLive = remainingLive < 0;\n\t\tconst remainingDebounced = maxLength - currentLengthDebounced;\n\t\tconst exceededDebounced = remainingDebounced < 0;\n\n\t\tvisualText = exceededLive\n\t\t\t? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingLive)) } })\n\t\t\t: translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingLive) } });\n\n\t\tariaText = exceededDebounced\n\t\t\t? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingDebounced)) } })\n\t\t\t: translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingDebounced) } });\n\n\t\tif (exceededLive) {\n\t\t\tcounterClasses.push('kol-form-field__counter--exceeded');\n\t\t}\n\t} else {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<span class={clsx(counterClasses)} aria-hidden=\"true\" data-testid=\"input-counter\">\n\t\t\t\t{visualText}\n\t\t\t</span>\n\t\t\t<span aria-live=\"polite\" class=\"visually-hidden\" data-testid=\"input-counter-aria\">\n\t\t\t\t{ariaText}\n\t\t\t</span>\n\t\t</>\n\t);\n};\n\nexport default KolFormFieldCounterFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { translate } from '../../i18n';\n\ntype FormFieldCharacterLimitHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tid: string;\n\tmaxLength: number;\n};\n\nconst KolFormFieldCharacterLimitHintFc: FC<FormFieldCharacterLimitHintProps> = ({ id, maxLength }) => {\n\treturn (\n\t\t<span id={`${id}-character-limit-hint`} class=\"visually-hidden\">\n\t\t\t{translate('kol-character-limit-hint', { placeholders: { limit: String(maxLength) } })}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldCharacterLimitHintFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport type { AlignPropType } from '../../schema';\n\ntype FormFieldTooltipProps = Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'> & {\n\tid: string;\n\talign?: AlignPropType;\n\tbadgeText?: string;\n\thideLabel?: boolean;\n\tlabel: string;\n};\n\nconst FormFieldTooltipFc: FC<FormFieldTooltipProps> = ({ id, align, badgeText, hideLabel, label, class: classNames }) => {\n\treturn (\n\t\t<KolTooltipWcTag\n\t\t\t/**\n\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t */\n\t\t\taria-hidden=\"true\"\n\t\t\tclass={clsx('kol-form-field__tooltip', classNames)}\n\t\t\t_badgeText={badgeText}\n\t\t\t_align={align}\n\t\t\t_id={hideLabel ? `${id}-label` : undefined}\n\t\t\t_label={label}\n\t\t></KolTooltipWcTag>\n\t);\n};\n\nexport default FormFieldTooltipFc;\n","import type { JSX } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldMsgFc from '../FormFieldMsg';\nimport KolFormFieldLabelFc from '../FormFieldLabel';\nimport KolFormFieldHintFc from '../FormFieldHint/FormFieldHint';\nimport KolFormFieldCounterFc from '../FormFieldCounter';\nimport KolFormFieldCharacterLimitHintFc from '../FormFieldCharacterLimitHint/FormFieldCharacterLimitHint';\nimport KolFormFieldTooltipFc from '../FormFieldTooltip';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { AlignPropType, MsgPropType, MaxLengthBehaviorPropType, Stringified } from '../../schema';\nimport { buildBadgeTextString, checkHasMsg, showExpertSlot } from '../../schema';\n\nfunction getModifierClassNameByMsgType(msg?: { type?: string }): string {\n\tif (msg?.type) {\n\t\treturn (\n\t\t\t{\n\t\t\t\tdefault: 'msg-type-default',\n\t\t\t\tinfo: 'msg-type-info',\n\t\t\t\tsuccess: 'msg-type-success',\n\t\t\t\twarning: 'msg-type-warning',\n\t\t\t\terror: 'msg-type-error',\n\t\t\t}[msg?.type] || ''\n\t\t);\n\t}\n\n\treturn '';\n}\n\nexport type FormFieldProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id'> & {\n\tcomponent?: 'div' | 'fieldset';\n\tid: string;\n\talert?: boolean;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttooltipAlign?: AlignPropType;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\thideMsg?: boolean;\n\taccessKey?: string;\n\tshortKey?: string;\n\tcounter?: { currentLength: number; currentLengthDebounced: number; maxLength?: number; maxLengthBehavior: MaxLengthBehaviorPropType };\n\treadOnly?: boolean;\n\ttouched?: boolean;\n\trequired?: boolean;\n\trenderNoLabel?: boolean;\n\trenderNoTooltip?: boolean;\n\trenderNoHint?: boolean;\n\tanotherChildren?: JSX.Element | JSX.Element[];\n\tmaxLength?: number;\n\n\tformFieldLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & { component?: 'label' | 'legend' };\n\tformFieldHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n\tformFieldTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tformFieldMsgProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tformFieldInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n} & {\n\t[key: `data-${string}`]: unknown;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-form-field__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFormFieldFc: FC<FormFieldProps> = (props, children) => {\n\tconst {\n\t\tcomponent: Component = 'div',\n\t\trenderNoLabel,\n\t\trenderNoTooltip,\n\t\trenderNoHint,\n\t\tanotherChildren,\n\t\tid,\n\t\trequired,\n\t\talert,\n\t\tdisabled,\n\t\tclass: classNames,\n\t\tmsg,\n\t\thideMsg,\n\t\thideLabel,\n\t\tlabel,\n\t\thint,\n\t\taccessKey,\n\t\tshortKey,\n\t\ttooltipAlign,\n\t\tcounter,\n\t\treadOnly,\n\t\ttouched,\n\t\tmaxLength,\n\t\tformFieldLabelProps,\n\t\tformFieldHintProps,\n\t\tformFieldTooltipProps,\n\t\tformFieldMsgProps,\n\t\tformFieldInputProps,\n\t\t...other\n\t} = props;\n\n\tconst showLabel = !renderNoLabel;\n\tconst showHint = !renderNoHint;\n\tconst showTooltip = !renderNoTooltip;\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\tconst useTooltipInsteadOfLabel = showTooltip && !hasExpertSlot && hideLabel;\n\n\tconst msgType = typeof msg === 'string' ? 'error' : (msg?._type ?? 'error');\n\n\tlet stateCssClasses = {\n\t\t['kol-form-field--disabled']: Boolean(disabled),\n\t\t['kol-form-field--required']: Boolean(required),\n\t\t['kol-form-field--touched']: Boolean(touched),\n\t\t['kol-form-field--hide-label']: Boolean(hideLabel),\n\t\t['kol-form-field--read-only']: Boolean(readOnly),\n\t\t['kol-form-field--hidden-msg']: Boolean(hideMsg),\n\t};\n\n\tif (showMsg) {\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${msgType || 'error'}`]: true,\n\t\t\t[`kol-form-field--${getModifierClassNameByMsgType({ type: msgType })}`]: true,\n\t\t};\n\t}\n\n\treturn (\n\t\t<Component class={clsx('kol-form-field', stateCssClasses, classNames)} {...other}>\n\t\t\t{showLabel && (\n\t\t\t\t<KolFormFieldLabelFc\n\t\t\t\t\t{...(formFieldLabelProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\taccessKey={accessKey}\n\t\t\t\t\tshortKey={shortKey}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<InputContainer {...formFieldInputProps}>\n\t\t\t\t{children}\n\t\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t\t<KolFormFieldTooltipFc {...(formFieldTooltipProps || {})} id={id} label={label} hideLabel={hideLabel} align={tooltipAlign} badgeText={badgeText} />\n\t\t\t\t)}\n\t\t\t</InputContainer>\n\t\t\t{counter ? <KolFormFieldCounterFc {...counter} /> : null}\n\t\t\t{maxLength ? <KolFormFieldCharacterLimitHintFc id={id} maxLength={maxLength} /> : null}\n\t\t\t{showMsg && !hideMsg && <KolFormFieldMsgFc {...(formFieldMsgProps || {})} id={id} alert={alert} msg={msg} />}\n\t\t\t{showHint && <KolFormFieldHintFc {...(formFieldHintProps || {})} id={id} hint={hint} />}\n\t\t\t{anotherChildren}\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldFc;\n","export function getDefaultProps({ ariaDescribedBy, hideLabel, label }: { ariaDescribedBy?: string[]; hideLabel?: boolean; label?: string }): {\n\ttitle: string;\n\tautoCapitalize: string;\n\tautoCorrect: string;\n\t'aria-describedby'?: string;\n\t'aria-label'?: string;\n} {\n\treturn {\n\t\ttitle: '',\n\t\tautoCapitalize: 'off',\n\t\tautoCorrect: 'off',\n\t\t'aria-describedby': ariaDescribedBy?.length ? ariaDescribedBy.join(' ') : undefined,\n\t\t'aria-label': hideLabel && label ? label : undefined,\n\t};\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\n\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\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 validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tDisabledPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateDisabled,\n\tvalidateHideMsg,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateHint,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\twatchString,\n} from '../../../schema';\nimport { validateTabIndex } from '../../../schema/props/tab-index';\n\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\nimport { debounce } from 'lodash-es';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\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 validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this.component, value);\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tvalidateHideMsg(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideMsg) {\n\t\t\t\t\t\ta11yHint('Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: HintPropType): void {\n\t\tvalidateHint(this.component, value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateMsg(this.component._msg);\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideMsg(this.component._hideMsg);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprivate emitEvent(type: KolEvent, value?: unknown): void {\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, type, value);\n\t\t}\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.blur);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.change, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.input, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.click);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.focus);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n\n\tpublic readonly updateCurrentLengthDebounced = debounce((length: number) => {\n\t\tsetState(this.component, '_currentLengthDebounced', length);\n\t}, 500);\n\n\tpublic hasSoftCharacterLimit() {\n\t\treturn typeof this.component.state._maxLength === 'number' && this.component.state._maxLengthBehavior === 'soft';\n\t}\n\n\tpublic hasCounter() {\n\t\treturn this.component.state._hasCounter === true;\n\t}\n}\n","import type { MsgPropType, Stringified, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: Stringified<MsgPropType>;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n\t_hideMsg?: boolean;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst msg = state._msg;\n\tconst description = typeof msg === 'string' ? msg : msg?._description;\n\tconst type = typeof msg === 'string' ? 'error' : (msg?._type ?? 'error');\n\tconst hasMessage = Boolean(description && description.length > 0);\n\tconst isMessageValidError = type === 'error' && hasMessage;\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasMessage && !state._hideMsg) {\n\t\tariaDescribedBy.push(`${state._id}-msg`);\n\t}\n\tif (hasHint) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport KolFormFieldFc, { type FormFieldProps } from '../../functional-components/FormField';\nimport type { TextareaStates } from '../../schema';\nimport {\n\ttype InputCheckboxStates,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRadioStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype SelectStates,\n\ttype MsgPropType,\n} from '../../schema';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates\n\t| TextareaStates;\n\nexport type FormFieldStateWrapperProps = Partial<FormFieldProps> & {\n\tstate: InputState;\n};\n\nfunction getFormFieldProps(state: InputState): FormFieldProps {\n\tconst props: FormFieldProps = {\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg as MsgPropType,\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\thideMsg: state._hideMsg,\n\t\ttouched: state._touched,\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readOnly = state._readOnly;\n\t}\n\n\tif ('_accessKey' in state) {\n\t\tprops.accessKey = state._accessKey;\n\t}\n\n\tif ('_shortKey' in state) {\n\t\tprops.shortKey = state._shortKey;\n\t}\n\n\tif ('_maxLength' in state) {\n\t\tprops.maxLength = state._maxLength;\n\t}\n\n\tif (\n\t\t'_currentLength' in state &&\n\t\ttypeof state._currentLength === 'number' &&\n\t\t'_currentLengthDebounced' in state &&\n\t\ttypeof state._currentLengthDebounced === 'number'\n\t) {\n\t\tif ('_hasCounter' in state && state._hasCounter === true) {\n\t\t\tprops.counter = {\n\t\t\t\tcurrentLength: state._currentLength,\n\t\t\t\tcurrentLengthDebounced: state._currentLengthDebounced,\n\t\t\t\tmaxLength: state._maxLength,\n\t\t\t\tmaxLengthBehavior: state._maxLengthBehavior || 'hard',\n\t\t\t};\n\t\t}\n\t}\n\n\treturn props;\n}\n\nconst FormFieldStateWrapper: FC<FormFieldStateWrapperProps> = ({ state, ...other }, children) => {\n\treturn (\n\t\t<KolFormFieldFc {...getFormFieldProps(state)} {...other}>\n\t\t\t{children}\n\t\t</KolFormFieldFc>\n\t);\n};\n\nexport default FormFieldStateWrapper;\n"],"names":["isObject","isString","InternalUnderlinedBadgeText","KolFormFieldTooltipFc","KolFormFieldMsgFc"],"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js";import{c as l}from"./clsx-eK3rPvPS.js";const o=1,n=6;function r(s){return s>=o&&s<=6}function a(s){return r(s)?`h${s}`:"strong"}const c=(n,r)=>{var{class:c,level:i=o}=n,t=e(n,["class","level"]);const d=a(i);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},t),r)},t=(a,n)=>{var{class:o}=a,r=e(a,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},r),n)},i=(a,n)=>{var{secondaryHeadline:r,level:i=o,class:d,HeadingGroupProps:g={},SecondaryHeadlineProps:p={}}=a,u=e(a,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const h=Object.assign({level:i},u);if(!r)return s(c,Object.assign({class:l(d,"kol-headline--single")},h),n);const{class:j}=g,b=e(g,["class"]),k=Object.assign({class:l("kol-heading-group",j)},b);return s("hgroup",Object.assign({},k),s(c,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},h),n),s(t,Object.assign({},p),r))};export{i as K};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as o,F as s}from"./index-DKFHNf-G.js";import{c as l}from"./clsx-eK3rPvPS.js";import"./common-8fBdMvJM.js";import{d as r,c as i}from"./FormFieldStateWrapper-CKwM-DIl.js";const a=a=>{const{class:t,msg:d,required:n,disabled:u,touched:c,readonly:p,ariaDescribedBy:b,hideLabel:m,label:g,suggestions:y,value:j}=a,B=e(a,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),f=i(d,c),h="string"==typeof d?"error":null==d?void 0:d._type,v={"kol-input--disabled":Boolean(u),"kol-input--required":Boolean(n),"kol-input--touched":Boolean(c),"kol-input--readonly":Boolean(p),[`kol-input--${h||"error"}`]:f},k=Object.assign(Object.assign({class:l("kol-input",v,t),required:n,disabled:u,readonly:p,type:"text",list:y?`${B.id}-list`:void 0},r({ariaDescribedBy:b,hideLabel:m,label:g})),B);return o(s,null,o("input",Object.assign({},k,{value:j})),y)};export{a as I};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as i}from"./tslib.es6-CxX45GIN.js";import{h as e}from"./index-DKFHNf-G.js";import{I as t}from"./Input-BQNyXbdV.js";import{g as n}from"./FormFieldStateWrapper-CKwM-DIl.js";const s=s=>{var{id:t,suggestions:a}=s,n=i(s,["id","suggestions"]);return a?e("datalist",Object.assign({id:`${t}-list`},n),a.map(i=>e("option",{value:i}))):null};function r(i,t,a){var r;const _=[...n(i).ariaDescribedBy,...null!==(r=t.ariaDescribedBy)&&void 0!==r?r:[]],l={id:i._id,hideLabel:i._hideLabel,label:i._label,disabled:i._disabled,name:i._name};if("_accessKey"in i&&(l.accessKey=i._accessKey),"_type"in i&&(l.type=i._type),"_value"in i&&(l.value=i._value),"_required"in i&&(l.required=i._required),"_maxLength"in i&&"_maxLengthBehavior"in i&&"hard"===i._maxLengthBehavior&&(l.maxlength=i._maxLength),"_placeholder"in i&&(l.placeholder=i._placeholder),"_autoComplete"in i&&(l.autoComplete=i._autoComplete),"_spellCheck"in i&&(l.spellcheck=i._spellCheck),"_pattern"in i&&(l.pattern=i._pattern),"_readOnly"in i&&(l.readonly=i._readOnly),"_min"in i&&(l.min=i._min),"_max"in i&&(l.max=i._max),"_step"in i&&(l.step=i._step),"_multiple"in i&&(l.multiple=i._multiple),"_checked"in i&&(l.checked=i._checked),"_indeterminate"in i&&(l.indeterminate=i._indeterminate),"_touched"in i&&(l.touched=i._touched),"_msg"in i&&(l.msg=i._msg),"_shortKey"in i&&(l["aria-keyshortcuts"]=i._shortKey),"_suggestions"in i&&!a){Array.isArray(i._suggestions)&&i._suggestions.length>0&&(l.suggestions=e(s,{id:i._id,suggestions:i._suggestions}))}return Object.assign(Object.assign(Object.assign({},l),t),{ariaDescribedBy:_})}const a=s=>{var{state:a,customSuggestions:n}=s,_=i(s,["state","customSuggestions"]);return e(t,Object.assign({},r(a,_,n)))};export{a as I,s as S};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as t,b as n,c as r}from"./isObject-DvSELytj.js";import{h as s,F as e}from"./index-DKFHNf-G.js";var l="[object String]";function a(s){return"string"==typeof s||!n(s)&&t(s)&&r(s)==l}const i=({badgeText:t,label:l})=>{const n=t;let[r,...a]=l.split(n);return 0===a.length&&(t=n.toUpperCase(),[r,...a]=l.split(n)),0===a.length&&(t=n.toLowerCase(),[r,...a]=l.split(n)),s(e,null,r,a.length?s(e,null,s("u",null,t),a.join(n)):null)};export{i as K,a as i};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{L as o,n as t,b as f}from"./common-8fBdMvJM.js";import{a}from"./index-DKFHNf-G.js";var n=()=>{a(o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,f(o))}catch(o){}return"default"}),import("./devtools-Bv4R5yuw.js").then(o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()}).catch(t=>{o.error(t)})};const r=n;export{r as g};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import"./common-8fBdMvJM.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.7-rc.0"};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",o="http://www.w3.org/1999/xhtml",s=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(s||{}),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({...s,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},_={};i(_,{err:()=>H,map:()=>q,ok:()=>z,unwrap:()=>J,unwrapErr:()=>Y});var z=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function q(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,J=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=se(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&&se(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=se(l,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=se(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 oe(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 se(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?se(s.L,"insertBefore")(l,se(s.L,"children")[0]):se(se(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),oe(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)=>"string"==typeof e&&e.startsWith(u)?e=G(e):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 qe=!1,Je=!1,Ye=!1,Ge=!1,Ke=(e,n,s)=>{var r;const i=n.C[s];let a,c,d,u=0;if(qe||(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:o,!qe&&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,oe(a),d=e&&e.C&&e.C[s],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"]&&(st(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,st(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;ot(t),e&&(Je=!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),st(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),st(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&&st(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);Je=!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)}},ot=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(ot)},st=(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,qe=!(!(1&a.i)||128&a.i),ze=i["s-cr"],Je=!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,st(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),st(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)}}Je&&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.q);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.J&&(e.J.map(([e,t])=>mt(s,e,t,n)),e.J=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.q;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;customElements.whenDefined(n).then(()=>t.i|=128)}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.q,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.q=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,st(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.J=e.J||[]).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};
|