@public-ui/components 3.0.2-rc.0 → 3.0.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +106 -1
- package/dist/cjs/{Alert-9fdb7776.js → Alert-e828f697.js} +1 -1
- package/dist/cjs/Alert-e828f697.js.map +1 -0
- package/dist/cjs/{Collapsible-27f768b6.js → Collapsible-d152ffe9.js} +1 -1
- package/dist/cjs/{Collapsible-27f768b6.js.map → Collapsible-d152ffe9.js.map} +1 -1
- package/dist/cjs/CustomSuggestionsOptionsGroup-bccb0c85.js +4 -0
- package/dist/cjs/CustomSuggestionsOptionsGroup-bccb0c85.js.map +1 -0
- package/dist/cjs/{FieldControlStateWrapper-c24e99c5.js → FieldControlStateWrapper-e48740a1.js} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-c24e99c5.js.map → FieldControlStateWrapper-e48740a1.js.map} +1 -1
- package/dist/cjs/Heading-22a4eaf4.js +4 -0
- package/dist/cjs/Heading-22a4eaf4.js.map +1 -0
- package/dist/cjs/Icon-54f6fbd9.js +4 -0
- package/dist/cjs/{Icon-537bb332.js.map → Icon-54f6fbd9.js.map} +1 -1
- package/dist/cjs/{Input-b3df5b7d.js → Input-8d9e04a9.js} +1 -1
- package/dist/cjs/{Input-b3df5b7d.js.map → Input-8d9e04a9.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-4734d8d1.js → InputStateWrapper-f59de6b8.js} +1 -1
- package/dist/cjs/{InputStateWrapper-4734d8d1.js.map → InputStateWrapper-f59de6b8.js.map} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-0ea7ba87.js → InternalUnderlinedBadgeText-7387a5ef.js} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-0ea7ba87.js.map → InternalUnderlinedBadgeText-7387a5ef.js.map} +1 -1
- package/dist/cjs/{Span-0e05b374.js → Span-8bce0670.js} +1 -1
- package/dist/cjs/{Span-0e05b374.js.map → Span-8bce0670.js.map} +1 -1
- package/dist/cjs/align-floating-elements-8ddb8593.js +4 -0
- package/dist/cjs/align-floating-elements-8ddb8593.js.map +1 -0
- package/dist/cjs/{app-globals-cd9bce81.js → app-globals-02065fac.js} +1 -1
- package/dist/cjs/{app-globals-cd9bce81.js.map → app-globals-02065fac.js.map} +1 -1
- package/dist/cjs/{associated.controller-103272e2.js → associated.controller-7b651bde.js} +1 -1
- package/dist/cjs/{associated.controller-103272e2.js.map → associated.controller-7b651bde.js.map} +1 -1
- package/dist/cjs/{bootstrap-a35cdb5f.js → bootstrap-0ea93cf5.js} +1 -1
- package/dist/cjs/{bootstrap-a35cdb5f.js.map → bootstrap-0ea93cf5.js.map} +1 -1
- package/dist/cjs/component-names-1cb5b7ce.js +4 -0
- package/dist/cjs/component-names-1cb5b7ce.js.map +1 -0
- package/dist/cjs/{controller-4a3740d3.js → controller-33d9efe1.js} +1 -1
- package/dist/cjs/{controller-4a3740d3.js.map → controller-33d9efe1.js.map} +1 -1
- package/dist/cjs/{controller-e3f2bc2d.js → controller-6a9e56c9.js} +1 -1
- package/dist/cjs/{controller-e3f2bc2d.js.map → controller-6a9e56c9.js.map} +1 -1
- package/dist/cjs/{controller-872e38fa.js → controller-6b4e91b3.js} +1 -1
- package/dist/cjs/{controller-872e38fa.js.map → controller-6b4e91b3.js.map} +1 -1
- package/dist/cjs/{controller-b85b16a2.js → controller-75a14bc0.js} +1 -1
- package/dist/cjs/{controller-b85b16a2.js.map → controller-75a14bc0.js.map} +1 -1
- package/dist/cjs/{controller-icon-01e6fff3.js → controller-icon-4e94157b.js} +1 -1
- package/dist/cjs/{controller-icon-01e6fff3.js.map → controller-icon-4e94157b.js.map} +1 -1
- package/dist/cjs/{dev.utils-c3903802.js → dev.utils-d67f4f5e.js} +1 -1
- package/dist/cjs/{dev.utils-c3903802.js.map → dev.utils-d67f4f5e.js.map} +1 -1
- package/dist/cjs/{devtools-c9352fa2.js → devtools-00b028a3.js} +1 -1
- package/dist/cjs/{devtools-c9352fa2.js.map → devtools-00b028a3.js.map} +1 -1
- package/dist/cjs/getRenderStates-7523a890.js +4 -0
- package/dist/cjs/getRenderStates-7523a890.js.map +1 -0
- package/dist/cjs/index-f23172b0.js +4 -0
- package/dist/cjs/{index-c0d419b5.js.map → index-f23172b0.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +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-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +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-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-pagination-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-pagination-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.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.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.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.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.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-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/components/Alert.js +1 -1
- package/dist/components/Alert.js.map +1 -1
- package/dist/components/CustomSuggestionsOptionsGroup.js +1 -1
- package/dist/components/CustomSuggestionsOptionsGroup.js.map +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Heading.js.map +1 -1
- package/dist/components/InputStateWrapper.js +1 -1
- package/dist/components/align-floating-elements.js +1 -1
- package/dist/components/align-floating-elements.js.map +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component-names.js.map +1 -1
- package/dist/components/getRenderStates.js +1 -1
- package/dist/components/getRenderStates.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-card-wc.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-combobox.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-nav.js +1 -1
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination-wc.d.ts +11 -0
- package/dist/components/kol-pagination-wc.js +4 -0
- package/dist/components/kol-pagination-wc.js.map +1 -0
- 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-wc.js.map +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-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-select.js +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-spin.js +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-textarea.js +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-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-wc.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/esm/{Alert-4f2f7115.js → Alert-a96714a0.js} +1 -1
- package/dist/esm/Alert-a96714a0.js.map +1 -0
- package/dist/esm/{Collapsible-7cb22ab1.js → Collapsible-29bb352a.js} +1 -1
- package/dist/esm/{Collapsible-7cb22ab1.js.map → Collapsible-29bb352a.js.map} +1 -1
- package/dist/esm/CustomSuggestionsOptionsGroup-4d57f72c.js +4 -0
- package/dist/esm/CustomSuggestionsOptionsGroup-4d57f72c.js.map +1 -0
- package/dist/esm/{FieldControlStateWrapper-602a7af3.js → FieldControlStateWrapper-adc38f2f.js} +1 -1
- package/dist/esm/{FieldControlStateWrapper-602a7af3.js.map → FieldControlStateWrapper-adc38f2f.js.map} +1 -1
- package/dist/esm/Heading-4990ec84.js +4 -0
- package/dist/esm/Heading-4990ec84.js.map +1 -0
- package/dist/esm/Icon-d694fbfe.js +4 -0
- package/dist/esm/{Icon-a2f91629.js.map → Icon-d694fbfe.js.map} +1 -1
- package/dist/esm/{Input-324f4b1d.js → Input-529b3f6c.js} +1 -1
- package/dist/esm/{Input-324f4b1d.js.map → Input-529b3f6c.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-e0c888e4.js → InputStateWrapper-16c56aee.js} +1 -1
- package/dist/esm/{InputStateWrapper-e0c888e4.js.map → InputStateWrapper-16c56aee.js.map} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-2d939629.js → InternalUnderlinedBadgeText-e15d02d5.js} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-2d939629.js.map → InternalUnderlinedBadgeText-e15d02d5.js.map} +1 -1
- package/dist/esm/{Span-78135d4f.js → Span-3cb1ff76.js} +1 -1
- package/dist/esm/{Span-78135d4f.js.map → Span-3cb1ff76.js.map} +1 -1
- package/dist/esm/align-floating-elements-9459ccc3.js +4 -0
- package/dist/esm/align-floating-elements-9459ccc3.js.map +1 -0
- package/dist/esm/{app-globals-f57fb61d.js → app-globals-42ba66a8.js} +1 -1
- package/dist/esm/{app-globals-f57fb61d.js.map → app-globals-42ba66a8.js.map} +1 -1
- package/dist/esm/{associated.controller-22684481.js → associated.controller-4237c28d.js} +1 -1
- package/dist/esm/{associated.controller-22684481.js.map → associated.controller-4237c28d.js.map} +1 -1
- package/dist/esm/{bootstrap-dcdb1765.js → bootstrap-53ed580c.js} +1 -1
- package/dist/esm/{bootstrap-dcdb1765.js.map → bootstrap-53ed580c.js.map} +1 -1
- package/dist/esm/component-names-0657b355.js +4 -0
- package/dist/esm/component-names-0657b355.js.map +1 -0
- package/dist/esm/{controller-cf01f031.js → controller-235b6c3b.js} +1 -1
- package/dist/esm/{controller-cf01f031.js.map → controller-235b6c3b.js.map} +1 -1
- package/dist/esm/{controller-75622398.js → controller-2a5d8667.js} +1 -1
- package/dist/esm/{controller-75622398.js.map → controller-2a5d8667.js.map} +1 -1
- package/dist/esm/{controller-2152c5b3.js → controller-6253c3cd.js} +1 -1
- package/dist/esm/{controller-2152c5b3.js.map → controller-6253c3cd.js.map} +1 -1
- package/dist/esm/{controller-c6883e74.js → controller-a10288c6.js} +1 -1
- package/dist/esm/{controller-c6883e74.js.map → controller-a10288c6.js.map} +1 -1
- package/dist/esm/{controller-icon-6d59bc84.js → controller-icon-8f0ee809.js} +1 -1
- package/dist/esm/{controller-icon-6d59bc84.js.map → controller-icon-8f0ee809.js.map} +1 -1
- package/dist/esm/{dev.utils-ca3cce4b.js → dev.utils-98923b37.js} +1 -1
- package/dist/esm/{dev.utils-ca3cce4b.js.map → dev.utils-98923b37.js.map} +1 -1
- package/dist/esm/{devtools-fa819249.js → devtools-2b1bb963.js} +1 -1
- package/dist/esm/{devtools-fa819249.js.map → devtools-2b1bb963.js.map} +1 -1
- package/dist/esm/getRenderStates-6c8f7e98.js +4 -0
- package/dist/esm/getRenderStates-6c8f7e98.js.map +1 -0
- package/dist/esm/index-d47f6be5.js +4 -0
- package/dist/esm/{index-2f6c3929.js.map → index-d47f6be5.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js +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-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +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-card-wc.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +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-drawer.entry.js +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-wc.entry.js +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +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 +4 -0
- package/dist/esm/kol-pagination-wc.entry.js.map +1 -0
- 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-wc.entry.js.map +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-select.entry.js +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-spin.entry.js +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-textarea.entry.js +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-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-wc.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/kolibri/Alert-a96714a0.js +4 -0
- package/dist/kolibri/{Alert-4f2f7115.js.map → Alert-a96714a0.js.map} +1 -1
- package/dist/kolibri/{Collapsible-7cb22ab1.js → Collapsible-29bb352a.js} +1 -1
- package/dist/kolibri/CustomSuggestionsOptionsGroup-4d57f72c.js +4 -0
- package/dist/kolibri/CustomSuggestionsOptionsGroup-4d57f72c.js.map +1 -0
- package/dist/kolibri/{FieldControlStateWrapper-602a7af3.js → FieldControlStateWrapper-adc38f2f.js} +1 -1
- package/dist/kolibri/Heading-4990ec84.js +4 -0
- package/dist/kolibri/Heading-4990ec84.js.map +1 -0
- package/dist/kolibri/Icon-d694fbfe.js +4 -0
- package/dist/kolibri/Input-529b3f6c.js +4 -0
- package/dist/kolibri/{InputStateWrapper-e0c888e4.js → InputStateWrapper-16c56aee.js} +1 -1
- package/dist/kolibri/InternalUnderlinedBadgeText-e15d02d5.js +4 -0
- package/dist/kolibri/Span-3cb1ff76.js +4 -0
- package/dist/kolibri/align-floating-elements-9459ccc3.js +4 -0
- package/dist/kolibri/align-floating-elements-9459ccc3.js.map +1 -0
- package/dist/kolibri/app-globals-42ba66a8.js +4 -0
- package/dist/kolibri/{app-globals-f57fb61d.js.map → app-globals-42ba66a8.js.map} +1 -1
- package/dist/kolibri/{associated.controller-22684481.js → associated.controller-4237c28d.js} +1 -1
- package/dist/kolibri/{bootstrap-dcdb1765.js → bootstrap-53ed580c.js} +1 -1
- package/dist/kolibri/component-names-0657b355.js +4 -0
- package/dist/kolibri/component-names-0657b355.js.map +1 -0
- package/dist/kolibri/{controller-cf01f031.js → controller-235b6c3b.js} +1 -1
- package/dist/kolibri/{controller-75622398.js → controller-2a5d8667.js} +1 -1
- package/dist/kolibri/{controller-2152c5b3.js → controller-6253c3cd.js} +1 -1
- package/dist/kolibri/{controller-c6883e74.js → controller-a10288c6.js} +1 -1
- package/dist/kolibri/{controller-icon-6d59bc84.js → controller-icon-8f0ee809.js} +1 -1
- package/dist/kolibri/{dev.utils-ca3cce4b.js → dev.utils-98923b37.js} +1 -1
- package/dist/kolibri/{devtools-fa819249.js → devtools-2b1bb963.js} +1 -1
- package/dist/kolibri/getRenderStates-6c8f7e98.js +4 -0
- package/dist/kolibri/getRenderStates-6c8f7e98.js.map +1 -0
- package/dist/kolibri/{index-2f6c3929.js → index-d47f6be5.js} +1 -1
- package/dist/kolibri/{index-2f6c3929.js.map → index-d47f6be5.js.map} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +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.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js +4 -0
- package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -0
- 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-wc.entry.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.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-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.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.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.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-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.js +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/kolibri.esm.js.map +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/types/components/button/component.d.ts +2 -1
- package/dist/types/components/pagination/component.d.ts +46 -0
- package/dist/types/components/pagination/shadow.d.ts +2 -32
- package/dist/types/components/split-button/shadow.d.ts +11 -4
- package/dist/types/components/table-stateless/component.d.ts +1 -1
- package/dist/types/components/tooltip/component.d.ts +5 -5
- package/dist/types/components.d.ts +135 -6
- package/dist/types/core/component-names.d.ts +1 -0
- package/dist/types/e2e/input-msg.d.ts +5 -0
- package/dist/types/functional-components/CustomSuggestionsOption/CustomSuggestionsOption.d.ts +1 -0
- package/dist/types/functional-components/Heading/Heading.d.ts +0 -2
- package/dist/types/schema/components/toaster.d.ts +1 -0
- package/dist/types/schema/props/msg.d.ts +2 -2
- package/dist/types/schema/types/aria.d.ts +4 -0
- package/dist/types/schema/types/index.d.ts +1 -1
- package/doc/pagination.md +1 -1
- package/doc/split-button.md +41 -18
- package/doc/toaster.md +3 -3
- package/package.json +5 -1
- package/postinstall.js +38 -0
- package/vscode-custom-data.json +75 -0
- package/dist/cjs/Alert-9fdb7776.js.map +0 -1
- package/dist/cjs/CustomSuggestionsOptionsGroup-5aa8cb59.js +0 -4
- package/dist/cjs/CustomSuggestionsOptionsGroup-5aa8cb59.js.map +0 -1
- package/dist/cjs/Heading-37af6473.js +0 -4
- package/dist/cjs/Heading-37af6473.js.map +0 -1
- package/dist/cjs/Icon-537bb332.js +0 -4
- package/dist/cjs/align-floating-elements-7e50809a.js +0 -4
- package/dist/cjs/align-floating-elements-7e50809a.js.map +0 -1
- package/dist/cjs/component-names-f5f2ca3a.js +0 -4
- package/dist/cjs/component-names-f5f2ca3a.js.map +0 -1
- package/dist/cjs/getRenderStates-0f8144fb.js +0 -4
- package/dist/cjs/getRenderStates-0f8144fb.js.map +0 -1
- package/dist/cjs/index-c0d419b5.js +0 -4
- package/dist/esm/Alert-4f2f7115.js.map +0 -1
- package/dist/esm/CustomSuggestionsOptionsGroup-06278bda.js +0 -4
- package/dist/esm/CustomSuggestionsOptionsGroup-06278bda.js.map +0 -1
- package/dist/esm/Heading-7b90eeb4.js +0 -4
- package/dist/esm/Heading-7b90eeb4.js.map +0 -1
- package/dist/esm/Icon-a2f91629.js +0 -4
- package/dist/esm/align-floating-elements-526ce555.js +0 -4
- package/dist/esm/align-floating-elements-526ce555.js.map +0 -1
- package/dist/esm/component-names-553d8bfa.js +0 -4
- package/dist/esm/component-names-553d8bfa.js.map +0 -1
- package/dist/esm/getRenderStates-1a7401a2.js +0 -4
- package/dist/esm/getRenderStates-1a7401a2.js.map +0 -1
- package/dist/esm/index-2f6c3929.js +0 -4
- package/dist/kolibri/Alert-4f2f7115.js +0 -4
- package/dist/kolibri/CustomSuggestionsOptionsGroup-06278bda.js +0 -4
- package/dist/kolibri/CustomSuggestionsOptionsGroup-06278bda.js.map +0 -1
- package/dist/kolibri/Heading-7b90eeb4.js +0 -4
- package/dist/kolibri/Heading-7b90eeb4.js.map +0 -1
- package/dist/kolibri/Icon-a2f91629.js +0 -4
- package/dist/kolibri/Input-324f4b1d.js +0 -4
- package/dist/kolibri/InternalUnderlinedBadgeText-2d939629.js +0 -4
- package/dist/kolibri/Span-78135d4f.js +0 -4
- package/dist/kolibri/align-floating-elements-526ce555.js +0 -4
- package/dist/kolibri/align-floating-elements-526ce555.js.map +0 -1
- package/dist/kolibri/app-globals-f57fb61d.js +0 -4
- package/dist/kolibri/component-names-553d8bfa.js +0 -4
- package/dist/kolibri/component-names-553d8bfa.js.map +0 -1
- package/dist/kolibri/getRenderStates-1a7401a2.js +0 -4
- package/dist/kolibri/getRenderStates-1a7401a2.js.map +0 -1
- package/dist/types/components/input/controller.d.ts +0 -11
- /package/dist/kolibri/{Collapsible-7cb22ab1.js.map → Collapsible-29bb352a.js.map} +0 -0
- /package/dist/kolibri/{FieldControlStateWrapper-602a7af3.js.map → FieldControlStateWrapper-adc38f2f.js.map} +0 -0
- /package/dist/kolibri/{Icon-a2f91629.js.map → Icon-d694fbfe.js.map} +0 -0
- /package/dist/kolibri/{Input-324f4b1d.js.map → Input-529b3f6c.js.map} +0 -0
- /package/dist/kolibri/{InputStateWrapper-e0c888e4.js.map → InputStateWrapper-16c56aee.js.map} +0 -0
- /package/dist/kolibri/{InternalUnderlinedBadgeText-2d939629.js.map → InternalUnderlinedBadgeText-e15d02d5.js.map} +0 -0
- /package/dist/kolibri/{Span-78135d4f.js.map → Span-3cb1ff76.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-22684481.js.map → associated.controller-4237c28d.js.map} +0 -0
- /package/dist/kolibri/{bootstrap-dcdb1765.js.map → bootstrap-53ed580c.js.map} +0 -0
- /package/dist/kolibri/{controller-cf01f031.js.map → controller-235b6c3b.js.map} +0 -0
- /package/dist/kolibri/{controller-75622398.js.map → controller-2a5d8667.js.map} +0 -0
- /package/dist/kolibri/{controller-2152c5b3.js.map → controller-6253c3cd.js.map} +0 -0
- /package/dist/kolibri/{controller-c6883e74.js.map → controller-a10288c6.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-6d59bc84.js.map → controller-icon-8f0ee809.js.map} +0 -0
- /package/dist/kolibri/{dev.utils-ca3cce4b.js.map → dev.utils-98923b37.js.map} +0 -0
- /package/dist/kolibri/{devtools-fa819249.js.map → devtools-2b1bb963.js.map} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideMsg","options","transformObjectProperties","obj","Object","entries","reduce","acc","key","newKey","startsWith","slice","assign","validateMsg","objectObjectHandler","parseJson","e","watchValidator","undefined","length","isObject","objValue","isString","_description","Set","convertMsgToInternMsg","msg","description","type","checkHasMsg","touched","showMsg","validateTouched","FormFieldMsgFc","_a","alert","hideMsg","id","class","classNames","other","__rest","h","KolAlertFc","clsx","LabelFc","hasExpertSlot","accessKey","shortKey","label","showBadge","name","hasBadgeText","badgeText","buildBadgeTextString","Fragment","InternalUnderlinedBadgeText","KolFormFieldLabelFc","Component","baseClassName","hideLabel","useTooltipInsteadOfLabel","hidden","htmlFor","KolFormFieldHintFc","hint","KolFormFieldCounterFc","currentLength","maxLength","translate","role","FormFieldTooltipFc","align","KolTooltipWcTag","_badgeText","_align","_id","_label","getModifierClassNameByMsgType","default","info","success","warning","error","InputContainer","children","KolFormFieldFc","props","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","required","disabled","tooltipAlign","counter","readOnly","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps","showLabel","showHint","showTooltip","showExpertSlot","stateCssClasses","Boolean","KolFormFieldTooltipFc","KolFormFieldMsgFc","getDefaultProps","ariaDescribedBy","title","autoCapitalize","autoCorrect","join","ControlledInputController","AssociatedInputController","constructor","host","super","this","componentWillLoad","_touched","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","validateAccessAndShortKey","_shortKey","validateDisabled","a11yHintDisabled","validateTooltipAlign","hooks","afterPatch","state","_hideMsg","a11yHint","validateHideLabel","_hideLabel","validateHint","watchString","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","validateOn","setState","validateShortKey","_accessKey","validateSmartButton","validateTabIndex","_adjustHeight","_msg","_disabled","_hint","_smartButton","_on","_tabIndex","emitEvent","dispatchDomEvent","event","KolEvent","blur","target","change","forEach","listener","shouldSetFormAssociatedValue","input","setFormAssociatedValue","click","focus","addValueChangeListener","push","getFormFieldProps","_required","_readOnly","_hasCounter","_currentLength","_maxLength","FormFieldStateWrapper","getRenderStates","internMsg","hasMessage","isMessageValidError","hasError","hasHint"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-msg.ts","src/utils/transformObjectProperties.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldHint/FormFieldHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.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/FormFieldStateWrapper/FormFieldStateWrapper.tsx","src/functional-component-wrappers/_helpers/getRenderStates.ts"],"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","/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps, InternalAlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString } from '../validators';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\n/* types */\nexport type MsgPropType =\n\t| (AlertProps & {\n\t\t\t_description: string;\n\t })\n\t| string;\n\nexport type InternMsgPropType = Partial<\n\tInternalAlertProps & {\n\t\tdescription: string;\n\t}\n>;\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: 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\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => {\n\t\t\t\t// Allow undefined values (for resetting the message)\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Allow string values (shorthand for error messages)\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\t// Allow object values with proper structure\n\t\t\t\tif (isObject(value) && value !== null) {\n\t\t\t\t\tconst objValue = value as AlertProps & { _description: string };\n\t\t\t\t\treturn isString(objValue._description, 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 MsgPropType,\n\t\t);\n\t});\n};\n\nexport function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined {\n\tif (!msg) {\n\t\treturn undefined;\n\t}\n\n\t// If msg is a string, convert it to an error message object\n\tif (typeof msg === 'string') {\n\t\treturn {\n\t\t\tdescription: msg,\n\t\t\ttype: 'error',\n\t\t};\n\t}\n\n\treturn transformObjectProperties(msg);\n}\n\nexport function checkHasMsg(msg?: InternMsgPropType, 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\tconst showMsg = msg ? touched === true || msg?.type !== 'error' : false;\n\n\treturn showMsg;\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 clsx from 'clsx';\nimport type { AlertPropType, HideMsgPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideMsg?: HideMsgPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideMsg, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-msg`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\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<span class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t{badgeText}\n\t\t\t</span>\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';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength?: number;\n\tmaxLength?: number;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, maxLength, class: classNames, ...other }) => {\n\treturn (\n\t\t<span class={clsx('kol-form-field__counter', classNames)} {...other} aria-atomic=\"true\" aria-live=\"polite\" data-testid=\"input-counter\">\n\t\t\t{currentLength}\n\t\t\t{maxLength && (\n\t\t\t\t<>\n\t\t\t\t\t<span aria-label={translate('kol-of')} role=\"img\">\n\t\t\t\t\t\t/\n\t\t\t\t\t</span>\n\t\t\t\t\t{maxLength}\n\t\t\t\t</>\n\t\t\t)}\n\t\t\t <span>{translate('kol-characters')}</span>\n\t\t</span>\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 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 KolFormFieldTooltipFc from '../FormFieldTooltip';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { AlignPropType, InternMsgPropType } 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?: InternMsgPropType;\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; maxLength?: number };\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\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\tformFieldCounterProps?: JSXBase.HTMLAttributes<HTMLSpanElement>;\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\tformFieldLabelProps,\n\t\tformFieldHintProps,\n\t\tformFieldTooltipProps,\n\t\tformFieldMsgProps,\n\t\tformFieldCounterProps,\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\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--${msg?.type || 'error'}`]: true,\n\t\t\t[`kol-form-field--${getModifierClassNameByMsgType(msg)}`]: 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 {...(formFieldCounterProps || {})} {...counter} /> : null}\n\t\t\t{showMsg && <KolFormFieldMsgFc {...(formFieldMsgProps || {})} id={id} alert={alert} msg={msg} hideMsg={hideMsg} />}\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\tHideMsgPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideMsg,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateShortKey,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n} from '../../../schema';\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';\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?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\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?: boolean): 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?: string): void {\n\t\twatchString(this.component, '_hint', 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","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldFc, { type FormFieldProps } from '../../functional-components/FormField';\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\tconvertMsgToInternMsg,\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 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: convertMsgToInternMsg(state._msg),\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 ('_hasCounter' in state && '_currentLength' in state) {\n\t\tprops.counter = state._hasCounter ? { currentLength: state._currentLength } : undefined;\n\t\tif (props.counter && '_maxLength' in state) {\n\t\t\tprops.counter.maxLength = state._maxLength;\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","import type { MsgPropType, TouchedPropType } from '../../schema';\nimport { convertMsgToInternMsg } from '../../schema/props/msg';\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?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst internMsg = convertMsgToInternMsg(state._msg);\n\tconst hasMessage = Boolean(internMsg?.description && internMsg.description.length > 0);\n\tconst isMessageValidError = internMsg?.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) {\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"],"mappings":";;;6vBAeO,MAAMA,EAAuB,CAACC,EAAsCC,KAC1EC,EAAaF,EAAW,gBAAiBC,EAAM,ECAzC,MAAME,EAAkB,CAACH,EAAsCC,EAAyBG,KAC9FF,EAAaF,EAAW,WAAYC,EAAOG,EAAQ,E,SCMpCC,EACfC,GAIA,OAAOC,OAAOC,QAAQF,GAAKG,QAC1B,CAACC,GAAMC,EAAKV,MACX,MAAMW,EAASD,EAAIE,WAAW,KAAOF,EAAIG,MAAM,GAAKH,EACpD,OAAAJ,OAAAQ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!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},l={kolibriVersion:"3.0.2-rc.
|
4
|
+
const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},l={kolibriVersion:"3.0.2-rc.1"};var r=Object.defineProperty,n=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},T=t.shadowDom,E=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),R=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>R().then(e),F={},M="http://www.w3.org/2000/svg",A="http://www.w3.org/1999/xhtml",P=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};n(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var be,ge,Se,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=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,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.T=l,d},K=(e,t)=>{const n={l:0,R:e,k:t,D:null,j:null,C:null,O:null,T:null};return n},X={},_=e=>e&&e.R===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.T,vtag:e.R,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.T=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.L=K(t,null);O.F||le(j.body,O.F=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.M+"."+e.A,s=O.F.get(n),o=e.D;s&&T&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.F.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){if(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,M:a[0],A:a[1],P:a[2],N:a[3],R:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,T:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.P&&(s[c.N]=c.D))),l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r);for(d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,M:a[1],A:a[2],P:a[3],N:a[4],D:l,C:null,j:null,O:null,T:null,R:null,k:null},i===y?(c.D=l.nextSibling,c.D&&3===c.D.nodeType&&(c.k=c.D.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.P&&(s[c.N]=c.D))):c.M===r&&(i===$?(c.R="slot",a[5]?l["s-sn"]=c.T=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.R),c.T&&c.D.setAttribute("name",c.T),l.parentNode.insertBefore(c.D,l),l.remove(),"0"===c.P&&(s[c.N]=c.D)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.R){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},le=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)le(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)le(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},re=e=>h.map((t=>t(e))).find((e=>!!e)),ne=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);D&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const o=null!=(s=O.U)?s:U(j);null!=o&&n.setAttribute("nonce",o);(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&2&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=pe(n),l=pe(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace($e,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},he=/\s/,pe=e=>e?e.split(he):[],me="Capture",$e=new RegExp(me+"$"),ye=(e,t,n)=>{const s=11===t.D.nodeType&&t.D.host?t.D.host:t.D,o=e&&e.C||F,l=t.C||F;for(const e of we(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of we(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function we(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ke=!1,xe=!1,Ce=!1,je=!1,Oe=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(ke||(Ce=!0,"slot"===r.R&&(be&&o.classList.add(be+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.D=j.createTextNode(r.k);else if(1&r.l)i=r.D=j.createTextNode("");else{je||(je="svg"===r.R),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.R),je&&"foreignObject"===r.R&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(be)&&i["s-si"]!==be&&i.classList.add(i["s-si"]=be),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.R?je=!1:"foreignObject"===i.tagName&&(je=!0)}return i["s-hn"]=Se,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=ge,i["s-sn"]=r.T||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.R===r.R&&e.D&&Te(e.D,!1)),i},Te=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Se&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==Se&&t["s-ol"]&&(He(Me(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Ce=!0),n&&Te(t,n)}O.l&=-2},Ee=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===Se&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Oe(null,n,o,e),r&&(s[o].D=r,He(i,r,Fe(t))))},Re=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.D;Ie(t),e&&(xe=!0,e["s-ol"]?e["s-ol"].remove():Te(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Le(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Le(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Le(h,v,o))"slot"!==h.R&&"slot"!==v.R||Te(h.D.parentNode,!1),Ae(h,v,o),He(e,h.D,p.D.nextSibling),h=t[++i],v=s[--f];else if(Le(p,m,o))"slot"!==h.R&&"slot"!==v.R||Te(p.D.parentNode,!1),Ae(p,m,o),He(e,p.D,h.D),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.R!==m.R?l=Oe(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.D),m=s[++a]):(l=Oe(t&&t[a],n,a,e),m=s[++a]),l&&He(Me(h.D),l,Fe(h.D))}i>u?Ee(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Re(t,i,u)},Le=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?(!("A"in e)||!n||8===e.D.nodeType)&&e.T===t.T:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,n,s=!1)=>{const o=n.D=e.D,l=e.j,r=n.j,i=n.R,a=n.k;let c;null===a?(je="svg"===i||"foreignObject"!==i&&je,("slot"!==i||ke)&&ye(e,n,je),null!==l&&null!==r?De(o,l,n,r,s):null!==r?(null!==e.k&&(o.textContent=""),Ee(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Re(l,0,l.length-1),je&&"svg"===i&&(je=!1)):(c=o["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(o.data=a)},Pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Pe(e)}},Ne=[],Ue=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(We(n,e)){let t=Ne.find((e=>e.I===n));xe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ne.push({H:l,I:n})),n["s-sr"]&&Ne.map((e=>{We(e.I,n["s-sn"])&&(t=Ne.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ne.some((e=>e.I===n))||Ne.push({I:n})}1===l.nodeType&&Ue(l)}},We=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Ie=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(Ie)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.L||K(null,null),d=_(t)?t:G(null,null,t);if(Se=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.R=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,be=i["s-sc"],ke=!!(1&a.l),ge=i["s-cr"],xe=!1,Ae(c,d,n),O.l|=1,Ce){Ue(d.D);for(const e of Ne){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ne){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}xe&&Pe(d.D),O.l&=-2,Ne.length=0,ge=void 0},Be=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Qe=(e,t)=>{if(4&e.l)return void(e.l|=512);Be(e,e.q);return Ve(e,t)},Ve=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)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.l|=256,e.G&&(e.G.map((([e,t])=>Ye(o,e,t))),e.G=void 0),l=Ye(o,"componentWillLoad")),s(),qe(l,(()=>Ke(e,o,t)))},qe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ke=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);Xe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>_e(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Xe=(e,t,n,s)=>{try{t=t.render&&t.render(),e.l|=2,ze(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},_e=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ye(o,"componentDidRender"),64&e.l?s():(e.l|=64,Ze(n),Ye(o,"componentDidLoad"),s(),e.p(n),l||Je()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&L((()=>Qe(e,!1))),e.l&=-517},Je=t=>{Ze(j.documentElement),L((()=>oe(C,"appload",{detail:{namespace:e}})))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Ze=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},et=(e,t)=>i(e).o.get(t),tt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" 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/ionic-team/stencil/issues/5457).`);const l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Qe(o,!1)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return et(this,e)},set(n){tt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},rt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),nt(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=re(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},nt=e=>{Ye(e,"connectedCallback")},st=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)ut(e,t,n._),(null==t?void 0:t.t)?nt(t.t):(null==t?void 0:t.h)&&t.h.then((()=>nt(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&it(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Be(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),rt(e,t,n)}s()}},it=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ot=e=>{Ye(e,"disconnectedCallback")},at=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?ot(t.t):(null==t?void 0:t.h)&&t.h.then((()=>ot(t.t)))}},ft=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[];let p,f=!0;Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;let m=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(m=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,c._)),p&&(clearTimeout(p),p=null),f?h.push(this):O.jmp((()=>st(this)))}disconnectedCallback(){O.jmp((()=>at(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,lt(u,c,1)))}))})),o.length>0&&(m&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}f=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>p=setTimeout(Je,30))),s()},ct=(e,t)=>t,ut=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=dt(e,n),r=vt(t,o),i=ht(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},vt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},dt=(e,t)=>8&t?C:e,ht=e=>E?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{l as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,R as p,o as r,pt as s};
|