@public-ui/components 4.1.1 → 4.1.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/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +8 -8
- package/custom-elements.json +3 -8
- package/dist/cjs/Alert-Cw9sZoxW.js +4 -0
- package/dist/cjs/Alert-Cw9sZoxW.js.map +1 -0
- package/dist/cjs/{Collapsible-C1TrB3xP.js → Collapsible-W9myHFxA.js} +1 -1
- package/dist/cjs/{Collapsible-C1TrB3xP.js.map → Collapsible-W9myHFxA.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-DjEJ7D2u.js → CustomSuggestionsOptionsGroup-BTWrYAk-.js} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-DjEJ7D2u.js.map → CustomSuggestionsOptionsGroup-BTWrYAk-.js.map} +1 -1
- package/dist/cjs/FieldControlStateWrapper-C_inrfM7.js +4 -0
- package/dist/cjs/{FieldControlStateWrapper-2yGvk_YF.js.map → FieldControlStateWrapper-C_inrfM7.js.map} +1 -1
- package/dist/cjs/FormFieldStateWrapper-4lfwXY_q.js +4 -0
- package/dist/cjs/FormFieldStateWrapper-4lfwXY_q.js.map +1 -0
- package/dist/cjs/{Heading-BaoT3MhF.js → Heading-C12RqDRf.js} +1 -1
- package/dist/cjs/{Heading-BaoT3MhF.js.map → Heading-C12RqDRf.js.map} +1 -1
- package/dist/cjs/{Input-gpYaP5oW.js → Input-EcHO3kdR.js} +1 -1
- package/dist/cjs/{Input-gpYaP5oW.js.map → Input-EcHO3kdR.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-C1FQ_lUw.js → InputStateWrapper-Bo6IoxAD.js} +1 -1
- package/dist/cjs/{InputStateWrapper-C1FQ_lUw.js.map → InputStateWrapper-Bo6IoxAD.js.map} +1 -1
- package/dist/cjs/_Uint8Array-H2CXBET6.js +4 -0
- package/dist/cjs/_Uint8Array-H2CXBET6.js.map +1 -0
- package/dist/cjs/{app-globals-XxcUX9f4.js → app-globals-BhcKC4Ox.js} +1 -1
- package/dist/cjs/{app-globals-XxcUX9f4.js.map → app-globals-BhcKC4Ox.js.map} +1 -1
- package/dist/cjs/{associated.controller-Dww_bmMK.js → associated.controller-CWsCf1nv.js} +1 -1
- package/dist/cjs/{associated.controller-Dww_bmMK.js.map → associated.controller-CWsCf1nv.js.map} +1 -1
- package/dist/cjs/base-web-component-CTeSR5h4.js +4 -0
- package/dist/cjs/base-web-component-CTeSR5h4.js.map +1 -0
- package/dist/cjs/bem-registry-BD-sGSzk.js +4 -0
- package/dist/cjs/bem-registry-BD-sGSzk.js.map +1 -0
- package/dist/cjs/{bootstrap-DHJIRxFp.js → bootstrap-CT2-lyBv.js} +1 -1
- package/dist/cjs/{bootstrap-DHJIRxFp.js.map → bootstrap-CT2-lyBv.js.map} +1 -1
- package/dist/cjs/common-BDQKBMeS.js.map +1 -1
- package/dist/cjs/component-D-qiYnI6.js +4 -0
- package/dist/cjs/component-D-qiYnI6.js.map +1 -0
- package/dist/cjs/component-DceU4ORK.js +4 -0
- package/dist/cjs/component-DceU4ORK.js.map +1 -0
- package/dist/cjs/component-names--SvI3zRN.js +4 -0
- package/dist/cjs/{component-names-BcQqUL7D.js.map → component-names--SvI3zRN.js.map} +1 -1
- package/dist/cjs/{controller-DcGa3hI1.js → controller-16gxT6uy.js} +1 -1
- package/dist/cjs/{controller-DcGa3hI1.js.map → controller-16gxT6uy.js.map} +1 -1
- package/dist/cjs/{controller-BbvzgdxH.js → controller-CJLYpbTW.js} +1 -1
- package/dist/cjs/{controller-BbvzgdxH.js.map → controller-CJLYpbTW.js.map} +1 -1
- package/dist/cjs/controller-Clk7RX5l.js +4 -0
- package/dist/cjs/controller-Clk7RX5l.js.map +1 -0
- package/dist/cjs/{controller-Qxz2zfsf.js → controller-CnGbboNY.js} +1 -1
- package/dist/cjs/{controller-Qxz2zfsf.js.map → controller-CnGbboNY.js.map} +1 -1
- package/dist/cjs/{controller-LcBll4Xf.js → controller-DFIu7HVA.js} +1 -1
- package/dist/cjs/{controller-LcBll4Xf.js.map → controller-DFIu7HVA.js.map} +1 -1
- package/dist/cjs/controller-icon-BzDGBbsy.js +4 -0
- package/dist/cjs/controller-icon-BzDGBbsy.js.map +1 -0
- package/dist/cjs/{custom-class-CG4qS8b7.js → custom-class-DQnxtNWw.js} +1 -1
- package/dist/cjs/{custom-class-CG4qS8b7.js.map → custom-class-DQnxtNWw.js.map} +1 -1
- package/dist/cjs/{dev.utils-MxjJBX5i.js → dev.utils-Cd8lnY8W.js} +1 -1
- package/dist/cjs/{dev.utils-MxjJBX5i.js.map → dev.utils-Cd8lnY8W.js.map} +1 -1
- package/dist/cjs/{devtools-CCJeclGe.js → devtools-CcQTicOw.js} +1 -1
- package/dist/cjs/{devtools-CCJeclGe.js.map → devtools-CcQTicOw.js.map} +1 -1
- package/dist/cjs/index-BDC4d4pa.js +4 -0
- package/dist/cjs/index-BDC4d4pa.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{isObject-DMA85Fq4.js → isArray-BOIOdEQh.js} +1 -1
- package/dist/cjs/isArray-BOIOdEQh.js.map +1 -0
- package/dist/cjs/isObject-CyNHuTNs.js +4 -0
- package/dist/cjs/isObject-CyNHuTNs.js.map +1 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-avatar.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-wc.entry.cjs.js.map +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-click-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-click-button.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-dialog-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog.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-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-wc.cjs.entry.js +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-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/kol-skeleton.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-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-wc.entry.cjs.js.map +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-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/label-B_UDbK0o.js +4 -0
- package/dist/cjs/label-B_UDbK0o.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/src-Ck6dV61v.js +4 -0
- package/dist/cjs/src-Ck6dV61v.js.map +1 -0
- 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/FieldControlStateWrapper.js +1 -1
- package/dist/components/_Uint8Array.js +4 -0
- package/dist/components/_Uint8Array.js.map +1 -0
- package/dist/components/base-web-component.js +4 -0
- package/dist/components/base-web-component.js.map +1 -0
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bem-registry.js.map +1 -1
- package/dist/components/common.js.map +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component-names.js.map +1 -1
- package/dist/components/component.js +4 -0
- package/dist/components/component.js.map +1 -0
- package/dist/components/component2.js +4 -0
- package/dist/components/component2.js.map +1 -0
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller-icon.js.map +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/controller2.js +1 -1
- package/dist/components/controller2.js.map +1 -1
- package/dist/components/controller3.js +1 -1
- package/dist/components/controller3.js.map +1 -1
- package/dist/components/custom-class.js +1 -1
- package/dist/components/custom-class.js.map +1 -1
- package/dist/{esm/isObject-DvSELytj.js → components/isArray.js} +1 -1
- package/dist/components/isArray.js.map +1 -0
- package/dist/components/isObject.js +1 -1
- package/dist/components/isObject.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-click-button.js +1 -1
- package/dist/components/kol-click-button.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-dialog-wc.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-dialog.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-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-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.js +1 -1
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-progress.js.map +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-single-select.js.map +1 -1
- package/dist/components/kol-skeleton.js +1 -1
- package/dist/components/kol-skeleton.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-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-wc.js.map +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-item.js.map +1 -1
- package/dist/components/kol-tree-wc.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/label2.js.map +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/src.js.map +1 -1
- package/dist/esm/Alert-Cw_LoKSN.js +4 -0
- package/dist/esm/Alert-Cw_LoKSN.js.map +1 -0
- package/dist/esm/{Collapsible-rF3-jm6_.js → Collapsible-DZA8yQbA.js} +1 -1
- package/dist/{kolibri/Collapsible-rF3-jm6_.js.map → esm/Collapsible-DZA8yQbA.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsOptionsGroup-BiV1SLtM.js → CustomSuggestionsOptionsGroup-B7qeS4jH.js} +1 -1
- package/dist/{kolibri/CustomSuggestionsOptionsGroup-BiV1SLtM.js.map → esm/CustomSuggestionsOptionsGroup-B7qeS4jH.js.map} +1 -1
- package/dist/esm/FieldControlStateWrapper-B3IEsGo5.js +4 -0
- package/dist/{kolibri/FieldControlStateWrapper-Il3HD6ji.js.map → esm/FieldControlStateWrapper-B3IEsGo5.js.map} +1 -1
- package/dist/esm/FormFieldStateWrapper-D1JTt3ul.js +4 -0
- package/dist/esm/FormFieldStateWrapper-D1JTt3ul.js.map +1 -0
- package/dist/esm/{Heading-B9rTijzp.js → Heading-CMmrUlbQ.js} +1 -1
- package/dist/{kolibri/Heading-B9rTijzp.js.map → esm/Heading-CMmrUlbQ.js.map} +1 -1
- package/dist/esm/{Input-N-fWHtGJ.js → Input-BtjxL296.js} +1 -1
- package/dist/esm/{Input-N-fWHtGJ.js.map → Input-BtjxL296.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-CCJNqzRI.js → InputStateWrapper-CEMRSPYO.js} +1 -1
- package/dist/{kolibri/InputStateWrapper-CCJNqzRI.js.map → esm/InputStateWrapper-CEMRSPYO.js.map} +1 -1
- package/dist/esm/_Uint8Array-UP73qmmG.js +4 -0
- package/dist/esm/_Uint8Array-UP73qmmG.js.map +1 -0
- package/dist/esm/{app-globals-BQmkJtVQ.js → app-globals-MFFawMzD.js} +1 -1
- package/dist/esm/{app-globals-BQmkJtVQ.js.map → app-globals-MFFawMzD.js.map} +1 -1
- package/dist/esm/{associated.controller-CdEaJGVD.js → associated.controller-DCpxG_66.js} +1 -1
- package/dist/esm/{associated.controller-CdEaJGVD.js.map → associated.controller-DCpxG_66.js.map} +1 -1
- package/dist/esm/base-web-component-CWGkWR9Y.js +4 -0
- package/dist/esm/base-web-component-CWGkWR9Y.js.map +1 -0
- package/dist/esm/bem-registry-ClssJ_nC.js +4 -0
- package/dist/esm/bem-registry-ClssJ_nC.js.map +1 -0
- package/dist/esm/{bootstrap-DcH8Lr28.js → bootstrap-CyhVeeHa.js} +1 -1
- package/dist/esm/{bootstrap-DcH8Lr28.js.map → bootstrap-CyhVeeHa.js.map} +1 -1
- package/dist/esm/common-BIkdAxr0.js.map +1 -1
- package/dist/esm/component-BssZbWQw.js +4 -0
- package/dist/esm/component-BssZbWQw.js.map +1 -0
- package/dist/esm/component-Dy6q6xwI.js +4 -0
- package/dist/esm/component-Dy6q6xwI.js.map +1 -0
- package/dist/esm/{component-names-CqTpXVIM.js → component-names-BQrMLr68.js} +1 -1
- package/dist/esm/{component-names-CqTpXVIM.js.map → component-names-BQrMLr68.js.map} +1 -1
- package/dist/esm/controller-Bdpk05ma.js +4 -0
- package/dist/esm/controller-Bdpk05ma.js.map +1 -0
- package/dist/esm/{controller-zA71XEOV.js → controller-D2K5zD5B.js} +1 -1
- package/dist/{kolibri/controller-zA71XEOV.js.map → esm/controller-D2K5zD5B.js.map} +1 -1
- package/dist/esm/{controller-llnTh4a9.js → controller-D9pydrRe.js} +1 -1
- package/dist/esm/{controller-llnTh4a9.js.map → controller-D9pydrRe.js.map} +1 -1
- package/dist/esm/{controller-INr--hn-.js → controller-Dcr8l6pm.js} +1 -1
- package/dist/esm/{controller-INr--hn-.js.map → controller-Dcr8l6pm.js.map} +1 -1
- package/dist/esm/{controller-nyINduH8.js → controller-bc3Jqv9j.js} +1 -1
- package/dist/{kolibri/controller-nyINduH8.js.map → esm/controller-bc3Jqv9j.js.map} +1 -1
- package/dist/esm/controller-icon-BGyWFin_.js +4 -0
- package/dist/esm/controller-icon-BGyWFin_.js.map +1 -0
- package/dist/esm/{custom-class-DyUifVn_.js → custom-class-VVhX9Sez.js} +1 -1
- package/dist/esm/{custom-class-DyUifVn_.js.map → custom-class-VVhX9Sez.js.map} +1 -1
- package/dist/esm/{dev.utils-DEA-azs5.js → dev.utils-9aA-dFCs.js} +1 -1
- package/dist/esm/{dev.utils-DEA-azs5.js.map → dev.utils-9aA-dFCs.js.map} +1 -1
- package/dist/esm/{devtools-CAaKKqia.js → devtools-Cak1VbpQ.js} +1 -1
- package/dist/esm/{devtools-CAaKKqia.js.map → devtools-Cak1VbpQ.js.map} +1 -1
- package/dist/esm/index-Cgf1FZ14.js +4 -0
- package/dist/esm/index-Cgf1FZ14.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isArray-CcrBs4JM.js +4 -0
- package/dist/esm/isArray-CcrBs4JM.js.map +1 -0
- package/dist/esm/isObject-BJgq02Md.js +4 -0
- package/dist/esm/isObject-BJgq02Md.js.map +1 -0
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js.map +1 -1
- package/dist/esm/kol-alert-wc.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar.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-wc.entry.js.map +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-click-button.entry.js +1 -1
- package/dist/esm/kol-click-button.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-dialog-wc.entry.js +1 -1
- package/dist/esm/kol-dialog.entry.js +1 -1
- package/dist/esm/kol-dialog.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-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-wc.entry.js +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-skeleton.entry.js +1 -1
- package/dist/esm/kol-skeleton.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-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-wc.entry.js.map +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-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/label-YA4_eF9_.js +4 -0
- package/dist/esm/label-YA4_eF9_.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{src-9cntFd6X.js → src-BDjVUE1s.js} +1 -1
- package/dist/esm/src-BDjVUE1s.js.map +1 -0
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/kolibri/Alert-Cw_LoKSN.js +4 -0
- package/dist/kolibri/Alert-Cw_LoKSN.js.map +1 -0
- package/dist/kolibri/{Collapsible-rF3-jm6_.js → Collapsible-DZA8yQbA.js} +1 -1
- package/dist/{esm/Collapsible-rF3-jm6_.js.map → kolibri/Collapsible-DZA8yQbA.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsOptionsGroup-BiV1SLtM.js → CustomSuggestionsOptionsGroup-B7qeS4jH.js} +1 -1
- package/dist/{esm/CustomSuggestionsOptionsGroup-BiV1SLtM.js.map → kolibri/CustomSuggestionsOptionsGroup-B7qeS4jH.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-B3IEsGo5.js +4 -0
- package/dist/{esm/FieldControlStateWrapper-Il3HD6ji.js.map → kolibri/FieldControlStateWrapper-B3IEsGo5.js.map} +1 -1
- package/dist/kolibri/FormFieldStateWrapper-D1JTt3ul.js +4 -0
- package/dist/kolibri/FormFieldStateWrapper-D1JTt3ul.js.map +1 -0
- package/dist/kolibri/Heading-CMmrUlbQ.js +4 -0
- package/dist/{esm/Heading-B9rTijzp.js.map → kolibri/Heading-CMmrUlbQ.js.map} +1 -1
- package/dist/kolibri/Input-BtjxL296.js +4 -0
- package/dist/kolibri/{Input-N-fWHtGJ.js.map → Input-BtjxL296.js.map} +1 -1
- package/dist/kolibri/InputStateWrapper-CEMRSPYO.js +4 -0
- package/dist/{esm/InputStateWrapper-CCJNqzRI.js.map → kolibri/InputStateWrapper-CEMRSPYO.js.map} +1 -1
- package/dist/kolibri/_Uint8Array-UP73qmmG.js +4 -0
- package/dist/kolibri/_Uint8Array-UP73qmmG.js.map +1 -0
- package/dist/kolibri/{app-globals-BQmkJtVQ.js → app-globals-MFFawMzD.js} +1 -1
- package/dist/kolibri/{app-globals-BQmkJtVQ.js.map → app-globals-MFFawMzD.js.map} +1 -1
- package/dist/kolibri/{associated.controller-CdEaJGVD.js → associated.controller-DCpxG_66.js} +1 -1
- package/dist/kolibri/{associated.controller-CdEaJGVD.js.map → associated.controller-DCpxG_66.js.map} +1 -1
- package/dist/kolibri/base-web-component-CWGkWR9Y.js +4 -0
- package/dist/kolibri/base-web-component-CWGkWR9Y.js.map +1 -0
- package/dist/kolibri/bem-registry-ClssJ_nC.js +4 -0
- package/dist/kolibri/bem-registry-ClssJ_nC.js.map +1 -0
- package/dist/kolibri/{bootstrap-DcH8Lr28.js → bootstrap-CyhVeeHa.js} +1 -1
- package/dist/kolibri/{bootstrap-DcH8Lr28.js.map → bootstrap-CyhVeeHa.js.map} +1 -1
- package/dist/kolibri/common-BIkdAxr0.js.map +1 -1
- package/dist/kolibri/component-BssZbWQw.js +4 -0
- package/dist/kolibri/component-BssZbWQw.js.map +1 -0
- package/dist/kolibri/component-Dy6q6xwI.js +4 -0
- package/dist/kolibri/component-Dy6q6xwI.js.map +1 -0
- package/dist/kolibri/{component-names-CqTpXVIM.js → component-names-BQrMLr68.js} +1 -1
- package/dist/kolibri/{component-names-CqTpXVIM.js.map → component-names-BQrMLr68.js.map} +1 -1
- package/dist/kolibri/controller-Bdpk05ma.js +4 -0
- package/dist/kolibri/controller-Bdpk05ma.js.map +1 -0
- package/dist/kolibri/{controller-zA71XEOV.js → controller-D2K5zD5B.js} +1 -1
- package/dist/{esm/controller-zA71XEOV.js.map → kolibri/controller-D2K5zD5B.js.map} +1 -1
- package/dist/kolibri/{controller-llnTh4a9.js → controller-D9pydrRe.js} +1 -1
- package/dist/kolibri/{controller-llnTh4a9.js.map → controller-D9pydrRe.js.map} +1 -1
- package/dist/kolibri/{controller-INr--hn-.js → controller-Dcr8l6pm.js} +1 -1
- package/dist/kolibri/{controller-INr--hn-.js.map → controller-Dcr8l6pm.js.map} +1 -1
- package/dist/kolibri/{controller-nyINduH8.js → controller-bc3Jqv9j.js} +1 -1
- package/dist/{esm/controller-nyINduH8.js.map → kolibri/controller-bc3Jqv9j.js.map} +1 -1
- package/dist/kolibri/controller-icon-BGyWFin_.js +4 -0
- package/dist/kolibri/controller-icon-BGyWFin_.js.map +1 -0
- package/dist/kolibri/{custom-class-DyUifVn_.js → custom-class-VVhX9Sez.js} +1 -1
- package/dist/kolibri/{custom-class-DyUifVn_.js.map → custom-class-VVhX9Sez.js.map} +1 -1
- package/dist/kolibri/{dev.utils-DEA-azs5.js → dev.utils-9aA-dFCs.js} +1 -1
- package/dist/kolibri/{dev.utils-DEA-azs5.js.map → dev.utils-9aA-dFCs.js.map} +1 -1
- package/dist/kolibri/{devtools-CAaKKqia.js → devtools-Cak1VbpQ.js} +1 -1
- package/dist/kolibri/{devtools-CAaKKqia.js.map → devtools-Cak1VbpQ.js.map} +1 -1
- package/dist/kolibri/{index-CkrSoIPD.js → index-Cgf1FZ14.js} +1 -1
- package/dist/kolibri/index-Cgf1FZ14.js.map +1 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/index.esm.js.map +1 -1
- package/dist/kolibri/isArray-CcrBs4JM.js +4 -0
- package/dist/kolibri/isArray-CcrBs4JM.js.map +1 -0
- package/dist/kolibri/isObject-BJgq02Md.js +4 -0
- package/dist/kolibri/isObject-BJgq02Md.js.map +1 -0
- package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js.map +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.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.esm.js.map +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.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-click-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-click-button.entry.js +1 -1
- package/dist/kolibri/kol-click-button.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-dialog-wc.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-dialog.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.js +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-wc.entry.js +1 -1
- package/dist/kolibri/kol-select-wc.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-skeleton.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-skeleton.entry.js +1 -1
- package/dist/kolibri/kol-skeleton.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.js +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.esm.js.map +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js.map +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.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/label-YA4_eF9_.js +4 -0
- package/dist/kolibri/label-YA4_eF9_.js.map +1 -0
- package/dist/kolibri/src-BDjVUE1s.js +4 -0
- package/dist/kolibri/src-BDjVUE1s.js.map +1 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +2 -1
- package/dist/types/components/_skeleton/web-components/skeleton/component.d.ts +2 -1
- package/dist/types/components/avatar/component.d.ts +2 -1
- package/dist/types/components/icon/component.d.ts +13 -0
- package/dist/types/components/image/component.d.ts +2 -1
- package/dist/types/components/progress/component.d.ts +2 -1
- package/dist/types/components/quote/component.d.ts +2 -1
- package/dist/types/components.d.ts +4 -4
- package/dist/types/functional-components/FormField/FormField.d.ts +1 -0
- package/dist/types/functional-components/FormFieldLabel/FormFieldLabel.d.ts +4 -7
- package/dist/types/functional-components/IconButton/IconButton.d.ts +5 -2
- package/dist/types/functional-components/index.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +7 -8
- package/dist/types/internal/functional-components/avatar/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/base-controller.d.ts +8 -10
- package/dist/types/internal/functional-components/base-web-component.d.ts +5 -0
- package/dist/types/internal/functional-components/click-button/api.d.ts +6 -7
- package/dist/types/internal/functional-components/click-button/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +28 -2
- package/dist/types/internal/functional-components/icon/api.d.ts +5 -0
- package/dist/types/internal/functional-components/icon/component.d.ts +4 -0
- package/dist/types/internal/functional-components/icon/controller.d.ts +9 -0
- package/dist/types/internal/functional-components/image/api.d.ts +6 -8
- package/dist/types/internal/functional-components/image/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/progress/api.d.ts +7 -8
- package/dist/types/internal/functional-components/progress/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/quote/api.d.ts +6 -8
- package/dist/types/internal/functional-components/quote/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/skeleton/api.d.ts +16 -17
- package/dist/types/internal/functional-components/skeleton/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/span/api.d.ts +6 -0
- package/dist/types/internal/functional-components/span/component.d.ts +10 -0
- package/dist/types/internal/props/allow-markdown.d.ts +3 -0
- package/dist/types/internal/props/alt.d.ts +1 -1
- package/dist/types/internal/props/badge-text.d.ts +3 -0
- package/dist/types/internal/props/color.d.ts +1 -1
- package/dist/types/internal/props/helpers/factory.d.ts +15 -6
- package/dist/types/internal/props/hide-label.d.ts +3 -0
- package/dist/types/internal/props/href.d.ts +1 -1
- package/dist/types/internal/props/icons.d.ts +3 -0
- package/dist/types/internal/props/index.d.ts +1 -1
- package/dist/types/internal/props/label.d.ts +1 -1
- package/dist/types/internal/props/loading.d.ts +1 -1
- package/dist/types/internal/props/max.d.ts +1 -1
- package/dist/types/internal/props/name.d.ts +1 -1
- package/dist/types/internal/props/quote.d.ts +1 -1
- package/dist/types/internal/props/show.d.ts +1 -1
- package/dist/types/internal/props/sizes.d.ts +1 -1
- package/dist/types/internal/props/span-icons.d.ts +4 -0
- package/dist/types/internal/props/src.d.ts +1 -1
- package/dist/types/internal/props/srcset.d.ts +1 -1
- package/dist/types/internal/props/unit.d.ts +1 -1
- package/dist/types/internal/props/value-number-clamped.d.ts +1 -1
- package/dist/types/internal/props/value-number.d.ts +1 -1
- package/dist/types/internal/props/variant-progress.d.ts +1 -1
- package/dist/types/internal/props/variant-quote.d.ts +1 -1
- package/dist/types/schema/bem-registry.d.ts +14 -0
- package/doc/_skeleton.md +2 -2
- package/doc/icon.md +0 -7
- package/doc/single-select.md +1 -1
- package/package.json +4 -4
- package/vscode-custom-data.json +1 -1
- package/dist/cjs/Alert-DUKI4F6t.js +0 -4
- package/dist/cjs/Alert-DUKI4F6t.js.map +0 -1
- package/dist/cjs/FieldControlStateWrapper-2yGvk_YF.js +0 -4
- package/dist/cjs/FormFieldStateWrapper-QklB-18_.js +0 -4
- package/dist/cjs/FormFieldStateWrapper-QklB-18_.js.map +0 -1
- package/dist/cjs/Icon-Cjo0FQnO.js +0 -4
- package/dist/cjs/Icon-Cjo0FQnO.js.map +0 -1
- package/dist/cjs/InternalUnderlinedBadgeText-BR019eHx.js +0 -4
- package/dist/cjs/InternalUnderlinedBadgeText-BR019eHx.js.map +0 -1
- package/dist/cjs/Span-C0FLp1D0.js +0 -4
- package/dist/cjs/Span-C0FLp1D0.js.map +0 -1
- package/dist/cjs/base-controller-p-KkQpDk.js +0 -4
- package/dist/cjs/base-controller-p-KkQpDk.js.map +0 -1
- package/dist/cjs/bem-registry-Nu8Olg0G.js +0 -4
- package/dist/cjs/bem-registry-Nu8Olg0G.js.map +0 -1
- package/dist/cjs/browser-BO94X5VC.js +0 -4
- package/dist/cjs/browser-BO94X5VC.js.map +0 -1
- package/dist/cjs/component-names-BcQqUL7D.js +0 -4
- package/dist/cjs/controller-FnKBpfim.js +0 -4
- package/dist/cjs/controller-FnKBpfim.js.map +0 -1
- package/dist/cjs/controller-icon-Bp_gYQ45.js +0 -4
- package/dist/cjs/controller-icon-Bp_gYQ45.js.map +0 -1
- package/dist/cjs/index-Do5QHQux.js +0 -4
- package/dist/cjs/index-Do5QHQux.js.map +0 -1
- package/dist/cjs/isObject-DMA85Fq4.js.map +0 -1
- package/dist/cjs/label-CuEScldc.js +0 -4
- package/dist/cjs/label-CuEScldc.js.map +0 -1
- package/dist/cjs/markdown-DROYq1-V.js +0 -4
- package/dist/cjs/markdown-DROYq1-V.js.map +0 -1
- package/dist/cjs/src-B6RsOTtm.js +0 -4
- package/dist/cjs/src-B6RsOTtm.js.map +0 -1
- package/dist/components/Icon.js +0 -4
- package/dist/components/Icon.js.map +0 -1
- package/dist/components/InternalUnderlinedBadgeText.js +0 -4
- package/dist/components/InternalUnderlinedBadgeText.js.map +0 -1
- package/dist/components/Span.js +0 -4
- package/dist/components/Span.js.map +0 -1
- package/dist/components/base-controller.js +0 -4
- package/dist/components/base-controller.js.map +0 -1
- package/dist/components/browser.js +0 -4
- package/dist/components/browser.js.map +0 -1
- package/dist/components/markdown.js +0 -4
- package/dist/components/markdown.js.map +0 -1
- package/dist/esm/Alert-w2MT71aB.js +0 -4
- package/dist/esm/Alert-w2MT71aB.js.map +0 -1
- package/dist/esm/FieldControlStateWrapper-Il3HD6ji.js +0 -4
- package/dist/esm/FormFieldStateWrapper--EBKaIYU.js +0 -4
- package/dist/esm/FormFieldStateWrapper--EBKaIYU.js.map +0 -1
- package/dist/esm/Icon-BYiB0b6v.js +0 -4
- package/dist/esm/Icon-BYiB0b6v.js.map +0 -1
- package/dist/esm/InternalUnderlinedBadgeText-t86A5_XQ.js +0 -4
- package/dist/esm/InternalUnderlinedBadgeText-t86A5_XQ.js.map +0 -1
- package/dist/esm/Span-ePfPZY-7.js +0 -4
- package/dist/esm/Span-ePfPZY-7.js.map +0 -1
- package/dist/esm/base-controller-Bkp0Z9l1.js +0 -4
- package/dist/esm/base-controller-Bkp0Z9l1.js.map +0 -1
- package/dist/esm/bem-registry-DRYZs7IX.js +0 -4
- package/dist/esm/bem-registry-DRYZs7IX.js.map +0 -1
- package/dist/esm/browser-KcXKIKON.js +0 -4
- package/dist/esm/browser-KcXKIKON.js.map +0 -1
- package/dist/esm/controller-BbvDlOS4.js +0 -4
- package/dist/esm/controller-BbvDlOS4.js.map +0 -1
- package/dist/esm/controller-icon-By1Ikt1k.js +0 -4
- package/dist/esm/controller-icon-By1Ikt1k.js.map +0 -1
- package/dist/esm/index-CkrSoIPD.js +0 -4
- package/dist/esm/index-CkrSoIPD.js.map +0 -1
- package/dist/esm/isObject-DvSELytj.js.map +0 -1
- package/dist/esm/label-BWcVeIOr.js +0 -4
- package/dist/esm/label-BWcVeIOr.js.map +0 -1
- package/dist/esm/markdown-BWEzLPZi.js +0 -4
- package/dist/esm/markdown-BWEzLPZi.js.map +0 -1
- package/dist/esm/src-9cntFd6X.js.map +0 -1
- package/dist/kolibri/Alert-w2MT71aB.js +0 -4
- package/dist/kolibri/Alert-w2MT71aB.js.map +0 -1
- package/dist/kolibri/FieldControlStateWrapper-Il3HD6ji.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper--EBKaIYU.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper--EBKaIYU.js.map +0 -1
- package/dist/kolibri/Heading-B9rTijzp.js +0 -4
- package/dist/kolibri/Icon-BYiB0b6v.js +0 -4
- package/dist/kolibri/Icon-BYiB0b6v.js.map +0 -1
- package/dist/kolibri/Input-N-fWHtGJ.js +0 -4
- package/dist/kolibri/InputStateWrapper-CCJNqzRI.js +0 -4
- package/dist/kolibri/InternalUnderlinedBadgeText-t86A5_XQ.js +0 -4
- package/dist/kolibri/InternalUnderlinedBadgeText-t86A5_XQ.js.map +0 -1
- package/dist/kolibri/Span-ePfPZY-7.js +0 -4
- package/dist/kolibri/Span-ePfPZY-7.js.map +0 -1
- package/dist/kolibri/base-controller-Bkp0Z9l1.js +0 -4
- package/dist/kolibri/base-controller-Bkp0Z9l1.js.map +0 -1
- package/dist/kolibri/bem-registry-DRYZs7IX.js +0 -4
- package/dist/kolibri/bem-registry-DRYZs7IX.js.map +0 -1
- package/dist/kolibri/browser-KcXKIKON.js +0 -4
- package/dist/kolibri/browser-KcXKIKON.js.map +0 -1
- package/dist/kolibri/controller-BbvDlOS4.js +0 -4
- package/dist/kolibri/controller-BbvDlOS4.js.map +0 -1
- package/dist/kolibri/controller-icon-By1Ikt1k.js +0 -4
- package/dist/kolibri/controller-icon-By1Ikt1k.js.map +0 -1
- package/dist/kolibri/index-CkrSoIPD.js.map +0 -1
- package/dist/kolibri/isObject-DvSELytj.js +0 -4
- package/dist/kolibri/isObject-DvSELytj.js.map +0 -1
- package/dist/kolibri/label-BWcVeIOr.js +0 -4
- package/dist/kolibri/label-BWcVeIOr.js.map +0 -1
- package/dist/kolibri/markdown-BWEzLPZi.js +0 -4
- package/dist/kolibri/markdown-BWEzLPZi.js.map +0 -1
- package/dist/kolibri/src-9cntFd6X.js +0 -4
- package/dist/kolibri/src-9cntFd6X.js.map +0 -1
- package/dist/types/components/icon/bem.d.ts +0 -3
- package/dist/types/components/icon/controller.d.ts +0 -11
- package/dist/types/components/icon/shadow.d.ts +0 -13
- package/dist/types/functional-components/Alert/bem.d.ts +0 -39
- package/dist/types/functional-components/Icon/Icon.d.ts +0 -11
- package/dist/types/functional-components/Icon/index.d.ts +0 -1
- package/dist/types/functional-components/InternalUnderlinedBadgeText/InternalUnderlinedBadgeText.d.ts +0 -8
- package/dist/types/functional-components/InternalUnderlinedBadgeText/index.d.ts +0 -1
- package/dist/types/functional-components/Span/IconHelper.d.ts +0 -6
- package/dist/types/functional-components/Span/LabelHelper.d.ts +0 -9
- package/dist/types/functional-components/Span/Span.d.ts +0 -12
- package/dist/types/functional-components/Span/SpanCoreHelper.d.ts +0 -9
- package/dist/types/functional-components/Span/index.d.ts +0 -1
- package/dist/types/functional-components/Span/test/snapshot.test.d.ts +0 -1
- package/dist/types/internal/props/count.d.ts +0 -3
- /package/dist/types/{functional-components/Icon/tests → internal/functional-components/span}/snapshot.test.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"src-9cntFd6X.js","sources":["src/internal/props/src.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type SrcProp = SimpleProp<'src', string>;\nexport const srcProp = createPropDefinition<SrcProp>(normalizeString, () => true);\n"],"names":[],"mappings":";;;;;AAKO,MAAM,OAAO,GAAG,oBAAoB,CAAU,eAAe,EAAE,MAAM,IAAI;;;;"}
|
|
@@ -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-CkrSoIPD.js";import{c as l}from"./clsx-COFh-Vc8.js";import{d as t,c as s}from"./component-names-CqTpXVIM.js";import{t as n}from"./i18n-DvMeCREp.js";import{b as r}from"./bem-registry-DRYZs7IX.js";import{c as i}from"./browser-KcXKIKON.js";import{K as c}from"./Heading-B9rTijzp.js";const d=i();d("kol-alert","closer"),d("kol-alert","content");const u=d("kol-alert","icon"),b=n("kol-error"),f=n("kol-info"),m=n("kol-warning"),p=n("kol-success"),v=n("kol-message"),k=({ariaLabel:e,icon:l})=>o(a,null,o("span",{class:"visually-hidden"},e),o(t,{class:u,_label:"",_icons:l})),g=({type:e,label:a})=>{switch(e){case"error":return o(k,{ariaLabel:b,icon:"kolicon-alert-error",label:a});case"info":return o(k,{ariaLabel:f,icon:"kolicon-alert-info",label:a});case"warning":return o(k,{ariaLabel:m,icon:"kolicon-alert-warning",label:a});case"success":return o(k,{ariaLabel:p,icon:"kolicon-alert-success",label:a});default:return o(k,{ariaLabel:v,icon:"kolicon-alert-info",label:a})}},h=r.forBlock("kol-alert"),y=h("closer"),C=h("content"),_=()=>{if("undefined"==typeof navigator||"function"!=typeof navigator.vibrate)return;const e=navigator.userActivation;if(((null==e?void 0:e.isActive)||(null==e?void 0:e.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(e){}},j=(a,r)=>{const{class:i={},alert:t=!1,hasCloser:d=!1,label:b,level:k=0,type:m="default",variant:v="msg",onAlertTimeout:u,onCloserClick:p}=a,f=e(a,["class","alert","hasCloser","label","level","type","variant","onAlertTimeout","onCloserClick"]),j=n("kol-close-alert");t&&(_(),setTimeout(()=>{null==u||u()},1e4));const L=h({hasCloser:!!d,[`type-${m}`]:!0,[`variant-${v}`]:!0}),A=h("heading",{[`h${k}`]:!0}),w=Object.assign({class:l(i,L)},f);return o("div",Object.assign({role:t?"alert":void 0},w,{"data-testid":"alert"}),o("div",{class:"kol-alert__container"},o(g,{label:b,type:m}),o("div",{class:"kol-alert__container-content"},b&&o(c,{class:A,level:k,id:"heading"},b),"msg"===v&&o("span",{class:C,"aria-describedby":b?"heading":void 0},r)),d&&o(s,{class:y+" kol-close-button","data-testid":"alert-close-button",_ariaDescription:(null==b?void 0:b.trim())||"",_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:j,_on:{onClick:p},_tooltipAlign:"left"})),"card"===v&&o("div",{class:C,"aria-describedby":b?"heading":void 0},r))};export{j as K};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert-w2MT71aB.js","sources":["src/functional-components/Alert/bem.ts","src/functional-components/AlertIcon/AlertIcon.tsx","src/functional-components/Alert/Alert.tsx"],"sourcesContent":["import { generateBemClassNames } from 'typed-bem';\n\n/**\n * This file defines the BEM schema for the kol-alert component.\n */\n\n/**\n * The schema defines the structure of the BEM class names\n */\ntype SCHEMA = {\n\t'kol-alert': {\n\t\t/**\n\t\t * Here we define the elements we needed\n\t\t * to realize a minimal full featured alert\n\t\t * component (DOM).\n\t\t */\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\theading: {\n\t\t\t\t/**\n\t\t\t\t * Some elements needs modifiers to\n\t\t\t\t * style them properly.\n\t\t\t\t */\n\t\t\t\tmodifiers: Set<'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;\n\t\t\t};\n\t\t\tcontent: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcloser: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\t/**\n\t\t * Here we define the modifiers related to the\n\t\t * kol-alert component properties.\n\t\t */\n\t\tmodifiers: Set<'hasCloser' | 'type-default' | 'type-error' | 'type-info' | 'type-success' | 'type-warning' | 'variant-card' | 'variant-msg'>;\n\t};\n};\n\n/**\n * Define the generator function for the BEM class names.\n */\nconst bem = generateBemClassNames<SCHEMA>();\n\n/**\n * Define a constants object that contains the BEM schema for\n * reuse to generate SCSS files in themes.\n */\nconst BEM: SCHEMA = {\n\t'kol-alert': {\n\t\telements: {\n\t\t\tcloser: { modifiers: null },\n\t\t\theading: { modifiers: new Set(['h0', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']) },\n\t\t\ticon: { modifiers: null },\n\t\t\tcontent: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['hasCloser', 'type-default', 'type-error', 'type-info', 'type-success', 'type-warning', 'variant-card', 'variant-msg']),\n\t},\n};\n\n/**\n * Define the static BEM class names for the alert component.\n */\nconst BEM_CLASS_ALERT__CLOSER = bem('kol-alert', 'closer');\nconst BEM_CLASS_ALERT__CONTENT = bem('kol-alert', 'content');\nconst BEM_CLASS_ALERT__ICON = bem('kol-alert', 'icon');\n\nexport { BEM as BEM_ALERT, BEM_CLASS_ALERT__CLOSER, BEM_CLASS_ALERT__CONTENT, BEM_CLASS_ALERT__ICON, bem as genBemAlert };\n","import { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport type { AlertType } from '../../schema';\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=\"kolicon-alert-error\" label={label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translateInfo} icon=\"kolicon-alert-info\" label={label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translateWarning} icon=\"kolicon-alert-warning\" label={label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translateSuccess} icon=\"kolicon-alert-success\" label={label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translateMessage} icon=\"kolicon-alert-info\" label={label} />;\n\t}\n};\n\nexport default AlertIcon;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { type JSXBase } from '@stencil/core/internal';\nimport clsx from '../../utils/clsx';\n\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport { type InternalAlertProps } from '../../schema';\nimport { bem } from '../../schema/bem-registry';\nimport AlertIcon from '../AlertIcon';\nimport KolHeadingFc from '../Heading';\n\nconst alertBem = bem.forBlock('kol-alert');\nconst BEM_CLASS_ALERT__CLOSER = alertBem('closer');\nconst BEM_CLASS_ALERT__CONTENT = alertBem('content');\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\tconst translateCloseAlert = translate('kol-close-alert');\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 = alertBem({\n\t\thasCloser: !!hasCloser,\n\t\t[`type-${type}`]: true,\n\t\t[`variant-${variant}`]: true,\n\t});\n\tconst BEM_CLASS__HEADING = alertBem('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\t...other,\n\t};\n\n\treturn (\n\t\t<div role={alert ? 'alert' : undefined} {...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 + ' kol-close-button'}\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: 'kolicon-cross',\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={BEM_CLASS_ALERT__CONTENT} aria-describedby={label ? 'heading' : undefined}>\n\t\t\t\t\t{children}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n\nexport default KolAlertFc;\n"],"names":["generateBemClassNames","bem"],"mappings":";;;;;;;;;;;;AAgDA,MAAM,GAAG,GAAGA,CAAqB,EAAU;AAsBX,GAAG,CAAC,WAAW,EAAE,QAAQ;AACxB,GAAG,CAAC,WAAW,EAAE,SAAS;AAC3D,MAAM,qBAAqB,GAAG,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC;;AClEtD,MAAM,cAAc,GAAG,SAAS,CAAC,WAAW,CAAC;AAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC;AAC3C,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAAC;AACjD,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAAC;AACjD,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAAC;AAOjD,MAAM,IAAI,GAA4D,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,KAAI;AAC7F,IAAA,QACC,CAAA,CAAA,QAAA,EAAA,IAAA,EACC,CAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,iBAAiB,EAAA,EAAE,SAAS,CAAQ,EAChD,CAAA,CAAC,UAAU,EAAC,EAAA,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAC,EAAE,EAAC,MAAM,EAAE,IAAI,EAAI,CAAA,CAClE;AAEL,CAAC;AAED,MAAM,SA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,IAAI,EAAE;AACL,gBAAA,IAAI,EAAE,eAAe;AACrB,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-CkrSoIPD.js";import"./common-BIkdAxr0.js";import{b as t,s as i}from"./InternalUnderlinedBadgeText-t86A5_XQ.js";import{b as n,K as s,c as r,g as a,i as d}from"./FormFieldStateWrapper--EBKaIYU.js";import{c}from"./clsx-COFh-Vc8.js";const b=(e,s)=>{var{class:i}=e,r=o(e,["class"]);return l("div",Object.assign({class:c("kol-field-control__input",i)},r),s)},f=(f,p)=>{const{class:h,id:g,disabled:_,label:u,hideLabel:m,labelAlign:y,renderNoTooltip:k,hint:K,renderNoHint:j,tooltipAlign:C,accessKey:B,shortKey:O,msg:A,touched:P,required:x,readonly:v,fieldControlInputProps:I,fieldControlLabelProps:N,fieldControlTooltipProps:q,fieldControlHintProps:L}=f,T=o(f,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","renderNoHint","tooltipAlign","accessKey","shortKey","msg","touched","required","readonly","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]),F=!j,H=!k,S=i(u),E=H&&!S&&m,U=t(B,O),X=[l(e,null,l(b,Object.assign({},I),p),E&&l(n,Object.assign({},q||{},{id:g,label:u,align:C,badgeText:U}))),l(s,Object.assign({},N||{},{id:g,baseClassName:"kol-field-control",class:c(null==N?void 0:N.class,{"kol-field-control__label--visually-hidden":Boolean(m)}),hasExpertSlot:S,label:u,accessKey:B,shortKey:O}))];"left"===y&&X.reverse();const $={"kol-field-control--disabled":Boolean(_),"kol-field-control--required":Boolean(x),"kol-field-control--touched":Boolean(P),"kol-field-control--hide-label":Boolean(m),"kol-field-control--read-only":Boolean(v),[`kol-field-control--${a(A)}`]:Boolean(d(A,P)),[`kol-field-control--label-align-${y}`]:Boolean(y)};return l("div",Object.assign({class:c("kol-field-control",$,h)},T),X,F&&l(r,Object.assign({},L||{},{baseClassName:"kol-field-control",id:g,hint:K})))};function p(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 h=(e,s)=>{var{state:i}=e,r=o(e,["state"]);return l(f,Object.assign({},p(i),r),s)};export{h as F};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{e,g as t,p as i,o as r,b as n,F as s,i as o,s as a,l}from"./common-BIkdAxr0.js";import{v as d,a as c,b as u,c as h}from"./access-and-short-key-CPX70LXd.js";import{v as f}from"./disabled-BdPI9eda.js";import{v as m}from"./hide-label-ByItyHgV.js";import{a as p}from"./label-C18ud7Yt.js";import{v as b}from"./tooltip-align-DodV1tEH.js";import{d as v,K as g}from"./events-DHTi_wtD.js";import{A as y}from"./associated.controller-CdEaJGVD.js";import{a as _,c as x,i as j,r as k}from"./isObject-DvSELytj.js";import{_ as L}from"./tslib.es6-CxX45GIN.js";import{h as B,F as O}from"./index-CkrSoIPD.js";import{i as C,b as K,K as S,s as T}from"./InternalUnderlinedBadgeText-t86A5_XQ.js";import{c as D}from"./clsx-COFh-Vc8.js";import{t as $}from"./i18n-DvMeCREp.js";import{K as P}from"./Alert-w2MT71aB.js";import{a as F}from"./component-names-CqTpXVIM.js";const M=(t,n)=>{e(t,"_adjustHeight",n)},w=(t,n,o)=>{e(t,"_hideMsg",n,o)},I=(e,n)=>{t(e,"_hint",n)},E=(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 H(e,t){return Boolean(e)&&!0===t}function N(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}function A(e){var t;return"string"==typeof e?"error":null!==(t=null==e?void 0:e._type)&&void 0!==t?t:"error"}const q=(t,n)=>{e(t,"_touched",n)},V=({id:e,maxLength:t})=>B("span",{id:`${e}-character-limit-hint`,class:"visually-hidden"},$("kol-character-limit-hint",{placeholders:{limit:String(t)}})),X=({currentLength:e,currentLengthDebounced:t,maxLength:n,maxLengthBehavior:o,id:i})=>{let r,s;const a=["kol-form-field__counter"];if("hard"===o)r="number"==typeof n?$("kol-character-counter-current-of-max",{placeholders:{current:String(e),max:String(n)}}):$("kol-character-counter-current",{placeholders:{current:String(e)}}),s="number"==typeof n?$("kol-character-counter-current-of-max-aria",{placeholders:{current:String(t),max:String(n)}}):$("kol-character-counter-current",{placeholders:{current:String(t)}});else{if("number"!=typeof n)return null;{const o=n-e,i=o<0,l=n-t,c=l<0;r=i?$("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(o))}}):$("kol-character-limit-remaining",{placeholders:{remaining:String(o)}}),s=c?$("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(l))}}):$("kol-character-limit-remaining",{placeholders:{remaining:String(l)}}),i&&a.push("kol-form-field__counter--exceeded")}}return B(O,null,B("span",{class:D(a),"aria-hidden":"true","data-testid":"input-counter"},r),B("span",{id:`${i}-counter`,"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria"},s))},W=e=>{var{id:t,class:n,hint:o,baseClassName:i="kol-form-field"}=e,r=L(e,["id","class","hint","baseClassName"]);return o?B("span",Object.assign({class:D(`${i}__hint`,n),id:`${t}-hint`},r),o):null};var G="[object Symbol]";function z(e){return"symbol"==typeof e||_(e)&&x(e)==G}var J=/\s/;function Q(e){for(var t=e.length;t--&&J.test(e.charAt(t)););return t}var R=/^\s+/;function U(e){return e?e.slice(0,Q(e)+1).replace(R,""):e}var Y=NaN,Z=/^[-+]0x[0-9a-f]+$/i,ee=/^0b[01]+$/i,te=/^0o[0-7]+$/i,ie=parseInt;function re(e){if("number"==typeof e)return e;if(z(e))return Y;if(j(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=j(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=U(e);var n=ee.test(e);return n||te.test(e)?ie(e.slice(2),n?2:8):Z.test(e)?Y:+e}var ne=function(){return k.Date.now()},se="Expected a function",oe=Math.max,ae=Math.min;function le(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(se);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=ne();if(p(e))return g(e);a=setTimeout(f,function(e){var n=t-(e-l);return h?ae(n,r-(e-c)):n}(e))}function g(e){return a=void 0,u&&o?m(e):(o=i=void 0,s)}function b(){var e=ne(),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=re(t)||0,j(n)&&(d=!!n.leading,r=(h="maxWait"in n)?oe(re(n.maxWait)||0,t):r,u="trailing"in n?!!n.trailing:u),b.cancel=function(){void 0!==a&&clearTimeout(a),c=0,o=l=i=a=void 0},b.flush=function(){return void 0===a?s:g(ne())},b}const de=({hasExpertSlot:e,accessKey:t,shortKey:n,label:o,showBadge:i=!0})=>{if(e)return B("slot",{name:"expert"});if(!o)return null;const r=C(t)||C(n);if(!i||!r)return B("span",null,o);const s=K(t,n);return B(O,null,B(S,{badgeText:s,label:o})," ",B("kbd",{class:"badge-text-hint","aria-hidden":"true"},s))},ce=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,readOnly:h}=e,u=L(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge","readOnly"]);const m=!c&&l,p=$("kol-readonly");return B(t,Object.assign({},u,{class:D(`${o}__label`,i),id:m?void 0:`${n}-label`,hidden:m,htmlFor:n}),B("span",{class:D(`${o}__label-text`)},B(de,{hasExpertSlot:c,accessKey:r,shortKey:s,label:a,showBadge:d}),h?B("span",{class:D(`${o}__label__read-only`),"aria-hidden":"true"},"(",p,")"):null))},ue=e=>{var t,n,{alert:o,msg:i,id:r,class:s}=e,a=L(e,["alert","msg","id","class"]);const l=N(i);return B(P,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:D("kol-form-field__msg",s)},a),(null==l?void 0:l._description)||void 0)},he=({id:e,align:t,badgeText:n,label:o,class:i})=>B(F,{"aria-hidden":"true",class:D("kol-form-field__tooltip",i),_badgeText:n,_align:t,_id:`${e}-label`,_label:o});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=L(e,["class"]);return B("div",Object.assign({class:D("kol-form-field__input",n)},o),t)},pe=(e,t)=>{const{component:n="div",renderNoLabel:o,renderNoTooltip:i,renderNoHint:r,anotherChildren:s,id:a,required:l,alert:c,disabled:d,class:h,msg:u,hideMsg:m,hideLabel:p,label:f,hint:g,accessKey:b,shortKey:v,tooltipAlign:_,counter:y,readOnly:x,touched:j,maxLength:k,ariaDescribedBy:C,formFieldLabelProps:O,formFieldHintProps:$,formFieldTooltipProps:S,formFieldMsgProps:M,formFieldInputProps:F}=e,w=L(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","maxLength","ariaDescribedBy","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldInputProps"]),E=!o,I=!r,P=!i,N=T(f),q=H(u,j),G=K(b,v),Y=P&&!N&&p;let z={"kol-form-field--disabled":Boolean(d),"kol-form-field--required":Boolean(l),"kol-form-field--touched":Boolean(j),"kol-form-field--hide-label":Boolean(p),"kol-form-field--read-only":Boolean(x),"kol-form-field--hidden-msg":Boolean(m)};if(q){const e=A(u);z=Object.assign(Object.assign({},z),{[`kol-form-field--${e}`]:!0,[`kol-form-field--${fe({type:e})}`]:!0})}return B(n,Object.assign({class:D("kol-form-field",z,h),"aria-describedby":C},w),E&&B(ce,Object.assign({},O||{},{id:a,hasExpertSlot:N,hideLabel:p,label:f,accessKey:b,shortKey:v,readOnly:x})),B(me,Object.assign({},F),t,Y&&!0===p&&B(he,Object.assign({},S||{},{id:a,label:f,align:_,badgeText:G}))),y?B(X,Object.assign({id:a},y)):null,k?B(V,{id:a,maxLength:k}):null,q&&!m&&B(ue,Object.assign({},M||{},{id:a,alert:c,msg:u})),I&&B(W,Object.assign({},$||{},{id:a,hint:g})),s)};function be({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 ve extends y{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 ve{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),onKeyDown:this.onKeyDown.bind(this)},this.updateCurrentLengthDebounced=le(e=>{a(this.component,"_currentLengthDebounced",e)},500),this.component=e}validateAccessKey(e){d(this.component,e),c(e,this.component._shortKey)}validateAdjustHeight(e){M(this.component,e)}validateDisabled(e){f(this.component,e)}validateTooltipAlign(e){b(this.component,e)}validateHideMsg(e){w(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&l("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){m(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&l("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){I(this.component,e)}validateLabel(e){p(this.component,e,{required:!0})}validateMsg(e){E(this.component,e)}validateOn(e){"object"==typeof e&&a(this.component,"_on",e)}validateShortKey(e){u(this.component,e),c(this.component._accessKey,e)}validateSmartButton(e){r(e,()=>{try{e=i(e)}catch(e){}a(this.component,"_smartButton",e)})}validateTabIndex(e){h(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.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),c(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&v(this.host,e,t)}onBlur(e){var t;this.component._disabled||(this.component._touched=!0,this.emitEvent(g.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(g.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(g.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(g.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(g.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}onKeyDown(e){var t;this.emitEvent(g.keydown),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onKeyDown)&&this.component._on.onKeyDown(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=>{const t=e._msg,n="string"==typeof t?t:null==t?void 0:t._description,o=A(t),i=Boolean(n&&n.length>0),r="error"===o&&i&&!0===e._touched,s="string"==typeof e._hint&&e._hint.length>0,a=[];return i&&!e._hideMsg&&a.push(`${e._id}-msg`),!0===s&&a.push(`${e._id}-hint`),e._hasCounter&&a.push(`${e._id}-counter`),!0===r&&a.push(`${e._id}-error`),{hasError:r,hasHint:s,ariaDescribedBy:a}};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=L(e,["state"]);const{ariaDescribedBy:i}=ye(n),r=("fieldset"===o.component||"_options"in n&&"_orientation"in n)&&i.length>0?i.join(" "):void 0,s=_e(n);return B(pe,Object.assign({},s,o,{ariaDescribedBy:r}),t)};export{xe as F,ge as I,ce as K,ye as a,he as b,W as c,be as d,A as g,H as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldStateWrapper--EBKaIYU.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/FormFieldCharacterLimitHint/FormFieldCharacterLimitHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.tsx","src/functional-components/FormFieldHint/FormFieldHint.tsx","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/now.js","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/debounce.js","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldMsg/FormFieldMsg.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, '_level' | '_on' | '_label' | '_hasCloser' | '_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 {\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 isMsgDefinedAndInputTouched(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 * Messages on inputs are only rendered after the field has been touched,\n\t * regardless of the message type.\n\t */\n\treturn Boolean(msg) && touched === true;\n}\n\nexport const checkHasMsg = isMsgDefinedAndInputTouched;\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 {\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\nexport function getMsgType(msg?: Stringified<MsgPropType>): MsgPropType['_type'] | 'error' {\n\tif (typeof msg === 'string') {\n\t\treturn 'error';\n\t}\n\n\treturn msg?._type ?? 'error';\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 { 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 { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { translate } from '../../i18n';\nimport type { MaxLengthBehaviorPropType } from '../../schema';\nimport clsx from '../../utils/clsx';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength: number;\n\tcurrentLengthDebounced: number;\n\tmaxLengthBehavior: MaxLengthBehaviorPropType;\n\tmaxLength?: number;\n\tid?: string;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, currentLengthDebounced, maxLength, maxLengthBehavior, id }) => {\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 id={`${id}-counter`} 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 clsx from '../../utils/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 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 { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { isString } from 'lodash-es';\nimport { translate } from '../../i18n';\nimport { buildBadgeTextString } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport InternalUnderlinedBadgeText from '../InternalUnderlinedBadgeText';\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\treadOnly?: 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\treadOnly,\n\t...other\n}) => {\n\tconst useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n\tconst translateReadOnly = translate('kol-readonly');\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\t{readOnly ? (\n\t\t\t\t\t<span class={clsx(`${baseClassName}__label__read-only`)} aria-hidden=\"true\">\n\t\t\t\t\t\t({translateReadOnly})\n\t\t\t\t\t</span>\n\t\t\t\t) : null}\n\t\t\t</span>\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldLabelFc;\n","import { type FunctionalComponent, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../utils/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 { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport type { AlignPropType } from '../../schema';\nimport clsx from '../../utils/clsx';\n\ntype FormFieldTooltipProps = Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'> & {\n\tid: string;\n\talign?: AlignPropType;\n\tbadgeText?: string;\n\tlabel: string;\n};\n\nconst FormFieldTooltipFc: FC<FormFieldTooltipProps> = ({ id, align, badgeText, 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={`${id}-label`}\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 type { JSXBase } from '@stencil/core/internal';\nimport type { AlignPropType, MaxLengthBehaviorPropType, MsgPropType, Stringified } from '../../schema';\nimport { buildBadgeTextString, getMsgType, isMsgDefinedAndInputTouched, showExpertSlot } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport KolFormFieldCharacterLimitHintFc from '../FormFieldCharacterLimitHint/FormFieldCharacterLimitHint';\nimport KolFormFieldCounterFc from '../FormFieldCounter';\nimport KolFormFieldHintFc from '../FormFieldHint/FormFieldHint';\nimport KolFormFieldLabelFc from '../FormFieldLabel';\nimport KolFormFieldMsgFc from '../FormFieldMsg';\nimport KolFormFieldTooltipFc from '../FormFieldTooltip';\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 = JSXBase.HTMLAttributes<HTMLElement> & {\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; maxLengthBehavior: MaxLengthBehaviorPropType; maxLength?: number; id?: string };\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\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\tariaDescribedBy,\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 = isMsgDefinedAndInputTouched(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\tconst msgType = getMsgType(msg);\n\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${msgType}`]: 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)} aria-describedby={ariaDescribedBy} {...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\treadOnly={readOnly}\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 && hideLabel === true && (\n\t\t\t\t\t<KolFormFieldTooltipFc {...(formFieldTooltipProps || {})} id={id} label={label} align={tooltipAlign} badgeText={badgeText} />\n\t\t\t\t)}\n\t\t\t</InputContainer>\n\t\t\t{counter ? <KolFormFieldCounterFc id={id} {...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\tDisabledPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateHideMsg,\n\tvalidateHint,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\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 { debounce } from 'lodash-es';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\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 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?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\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.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\tif (this.component._disabled) {\n\t\t\treturn;\n\t\t}\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\tprotected onKeyDown(event: KeyboardEvent): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.keydown);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onKeyDown === 'function') {\n\t\t\tthis.component._on.onKeyDown(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\tonKeyDown: this.onKeyDown.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 { getMsgType, type MsgPropType, type Stringified, type 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\t_hasCounter?: 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 = getMsgType(msg);\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 === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\n\tif (state._hasCounter) {\n\t\tariaDescribedBy.push(`${state._id}-counter`);\n\t}\n\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\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 MsgPropType,\n\ttype SelectStates,\n} from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\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\tconst { ariaDescribedBy: ariaDescribedByArray } = getRenderStates(state);\n\tconst isRadioVariant = other.component === 'fieldset' || ('_options' in state && '_orientation' in state);\n\tconst ariaDescribedBy = isRadioVariant && ariaDescribedByArray.length > 0 ? ariaDescribedByArray.join(' ') : undefined;\n\tconst baseProps = getFormFieldProps(state);\n\n\treturn (\n\t\t<KolFormFieldFc {...baseProps} {...other} ariaDescribedBy={ariaDescribedBy}>\n\t\t\t{children}\n\t\t</KolFormFieldFc>\n\t);\n};\n\nexport default FormFieldStateWrapper;\n"],"names":["isObject","isString","InternalUnderlinedBadgeText","KolFormFieldTooltipFc","KolFormFieldMsgFc"],"mappings":";;;;;;;;;;;;;;;;;;;;AAeO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAA,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAChD,CAAC;;ACDM,MAAM,eAAe,GAAG,CAAC,SAAoC,EAAE,KAAuB,EAAE,OAA6B,KAAU;IACrI,YAAY,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC;AACpD,CAAC;;ACHM,MAAM,YAAY,GAAG,CAAC,SAAoC,EAAE,KAAoB,KAAU;AAChG,IAAA,WAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC;AACvC,CAAC;;ACAM,MAAM,WAAW,GAAG,CAAC,SAAoC,EAAE,KAAgC,KAAU;AAC3G,IAAA,mBAAmB,CAAC,KAAK,EAAE,MAAK;AAC/B,QAAA,IAAI;AACH,YAAA,KAAK,GAAG,SAAS,CAAc,KAAK,CAAC;;QACpC,OAAA,EAAA,EAAM;;QAGR,cAAc,CACb,SAAS,EACT,CAAA,IAAA,CAAM,EACN,CAAC,KAAK,KAAI;AACT,YAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACxB,gBAAA,OAAO,IAAI;;YAEZ,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AAClD,gBAAA,OAAO,IAAI;;YAEZ,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,EAAE;AACtC,gBAAA,MAAM,IAAI,GAAI,KAAoC,CAAC,YAAY;AAC/D,gBAAA,OAAO,QAAQ,CAAC,IAAI,EAAE,CAA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CAAC,cAAc;gBACnC,sBAAsB,EAAE,KAAK,CAAC,uBAAuB;gBACrD,SAAS,EAAE,KAAK,CAAC,UAAU;AAC3B,gBAAA,iBAAiB,EAAE,KAAK,CAAC,kBAAkB,IAAI,MAAM;aACrD;;;AAIH,IAAA,OAAO,KAAK;AACb;AAEA,MAAM,qBAAqB,GAAmC,CAAC,EAAmB,EAAE,QAAQ,KAAI;AAAjC,IAAA,IAAA,EAAE,KAAK,EAAY,GAAA,EAAA,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAAjB,SAAmB,CAAF;IAC/E,MAAM,EAAE,eAAe,EAAE,oBAAoB,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC;AACxE,IAAA,MAAM,cAAc,GAAG,KAAK,CAAC,SAAS,KAAK,UAAU,KAAK,UAAU,IAAI,KAAK,IAAI,cAAc,IAAI,KAAK,CAAC;IACzG,MAAM,eAAe,GAAG,cAAc,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,SAAS;AACtH,IAAA,MAAM,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC;IAE1C,QACC,CAAA,CAAC,cAAc,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,EAAM,KAAK,EAAE,EAAA,eAAe,EAAE,eAAe,EAAA,CAAA,EACxE,QAAQ,CACO;AAEnB;;;;","x_google_ignoreList":[8,9,10,11,12,13]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as s}from"./index-CkrSoIPD.js";import{c as l}from"./clsx-COFh-Vc8.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,k=e(g,["class"]),b=Object.assign({class:l("kol-heading-group",j)},k);return s("hgroup",Object.assign({},b),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{h as s}from"./index-CkrSoIPD.js";import{d as o}from"./component-names-CqTpXVIM.js";const n=n=>{const{class:l,style:c,icons:e,label:t,onClick:a}=n;return s(o,{class:l,style:c,onClick:a,_icons:e,_label:t})};export{n as K};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon-BYiB0b6v.js","sources":["src/functional-components/Icon/Icon.tsx"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport type { InternalIconProps } from '../../schema';\n\nexport type IconProps = InternalIconProps & {\n\tclass?: string;\n\tstyle?: { [key: string]: string };\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolIconFc: FC<IconProps> = (props) => {\n\tconst { class: classNames, style, icons, label, onClick } = props;\n\n\treturn <KolIconTag class={classNames} style={style} onClick={onClick} _icons={icons} _label={label} />;\n};\n\nexport default KolIconFc;\n"],"names":[],"mappings":";;;;;;AAUA,MAAM,SAAS,GAAkB,CAAC,KAAK,KAAI;AAC1C,IAAA,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK;IAEjE,OAAO,CAAA,CAAC,UAAU,EAAC,EAAA,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAA,CAAI;AACvG;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as s,F as o}from"./index-CkrSoIPD.js";import"./common-BIkdAxr0.js";import{i as a,d as l,g as i}from"./FormFieldStateWrapper--EBKaIYU.js";import{c as r}from"./clsx-COFh-Vc8.js";const t=t=>{const{class:d,msg:n,required:u,disabled:c,touched:b,readonly:p,ariaDescribedBy:m,hideLabel:g,label:B,suggestions:h,value:j}=t,k=e(t,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),y={"kol-input--disabled":Boolean(c),"kol-input--required":Boolean(u),"kol-input--touched":Boolean(b),"kol-input--readonly":Boolean(p),[`kol-input--${i(n)}`]:a(n,b)},x=Object.assign(Object.assign({class:r("kol-input",y,d),required:u,disabled:c,readonly:p,type:"text",list:h?`${k.id}-list`:void 0},l({ariaDescribedBy:m,hideLabel:g,label:B})),k);return s(o,null,s("input",Object.assign({},x,{value:j})),h)};export{t 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-CkrSoIPD.js";import{I as t}from"./Input-N-fWHtGJ.js";import{a as n}from"./FormFieldStateWrapper--EBKaIYU.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:[]],o={id:i._id,hideLabel:i._hideLabel,label:i._label,disabled:i._disabled,name:i._name};if("_accessKey"in i&&(o.accessKey=i._accessKey),"_type"in i&&(o.type=i._type),"_value"in i&&(o.value=i._value),"_required"in i&&(o.required=i._required),"_maxLength"in i&&"_maxLengthBehavior"in i&&"hard"===i._maxLengthBehavior&&(o.maxlength=i._maxLength),"_placeholder"in i&&(o.placeholder=i._placeholder),"_autoComplete"in i&&(o.autoComplete=i._autoComplete),"_spellCheck"in i&&(o.spellcheck=i._spellCheck),"_pattern"in i&&(o.pattern=i._pattern),"_readOnly"in i&&(o.readonly=i._readOnly),"_min"in i&&(o.min=i._min),"_max"in i&&(o.max=i._max),"_step"in i&&(o.step=i._step),"_multiple"in i&&(o.multiple=i._multiple),"_checked"in i&&(o.checked=i._checked),"_indeterminate"in i&&(o.indeterminate=i._indeterminate),"_touched"in i&&(o.touched=i._touched),"_msg"in i&&(o.msg=i._msg),"_shortKey"in i&&(o["aria-keyshortcuts"]=i._shortKey),"_suggestions"in i&&!a){Array.isArray(i._suggestions)&&i._suggestions.length>0&&(o.suggestions=e(s,{id:i._id,suggestions:i._suggestions}))}return Object.assign(Object.assign(Object.assign({},o),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 s,c as n}from"./isObject-DvSELytj.js";import{h as o,F as r}from"./index-CkrSoIPD.js";const a=t=>""===t,e=(t,s)=>t||s||"";var l="[object String]";function i(e){return"string"==typeof e||!s(e)&&t(e)&&n(e)==l}const c=({badgeText:t,label:s})=>{const e=t;let[n,...l]=s.split(e);return 0===l.length&&(t=e.toUpperCase(),[n,...l]=s.split(e)),0===l.length&&(t=e.toLowerCase(),[n,...l]=s.split(e)),o(r,null,n,l.length?o(r,null,o("u",null,t),l.join(e)):null)};export{c as K,e as b,i,a as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InternalUnderlinedBadgeText-t86A5_XQ.js","sources":["src/schema/utils/reuse.ts","../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js","src/functional-components/InternalUnderlinedBadgeText/InternalUnderlinedBadgeText.tsx"],"sourcesContent":["/**\n * This function is used to handle the slot content by\n * moving a DOM element to a defined slot element.\n */\nexport const handleSlotContent = (hostRef: HTMLElement, slotRef: HTMLElement, slotName: string) => {\n\tif (hostRef && slotRef && typeof slotName === 'string') {\n\t\tconst content = hostRef.querySelector(`[slot=\"${slotName}\"]`);\n\t\tif (content) {\n\t\t\tslotRef.appendChild(content);\n\t\t}\n\t}\n};\n\n/**\n * This function is used to check if a label is an empty string.\n * @param label The label of the slot\n * @returns True if the label is an empty string\n */\nexport const showExpertSlot = (label: unknown) => label === '';\n\n/**\n * This function builds the BadgeText. It chooses access key over shortkey or empty string, if both are empty\n * @param accessKey\n * @param shortKey\n * @returns returns badgeText as string\n */\nexport const buildBadgeTextString = (accessKey?: string, shortKey?: string) => {\n\treturn accessKey || shortKey || '';\n};\n","import baseGetTag from './_baseGetTag.js';\nimport isArray from './isArray.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nexport default isString;\n","import { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { BadgeTextPropType } from '../../schema';\n\ntype InternalUnderlinedBadgeTextProps = {\n\tbadgeText: BadgeTextPropType;\n\tlabel: string;\n};\n\nconst KolInternalUnderlinedBadgeTextFc: FC<InternalUnderlinedBadgeTextProps> = ({ badgeText, label }) => {\n\t/* Prefer capitalization as defined in the badge Text, try uppercase/lowercase when there's no match. */\n\tconst badgeTextAsString: string = badgeText;\n\tlet [first, ...rest] = label.split(badgeTextAsString);\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toUpperCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toLowerCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\treturn (\n\t\t<>\n\t\t\t{first}\n\t\t\t{rest.length ? (\n\t\t\t\t<>\n\t\t\t\t\t<u>{badgeText}</u>\n\t\t\t\t\t{rest.join(badgeTextAsString)}\n\t\t\t\t</>\n\t\t\t) : null}\n\t\t</>\n\t);\n};\n\nexport default KolInternalUnderlinedBadgeTextFc;\n"],"names":[],"mappings":";;;;;;AAkBO,MAAM,cAAc,GAAG,CAAC,KAAc,KAAK,KAAK,KAAK;MAQ/C,oBAAoB,GAAG,CAAC,SAAkB,EAAE,QAAiB,KAAI;AAC7E,IAAA,OAAO,SAAS,IAAI,QAAQ,IAAI,EAAE;AACnC;;ACxBA;AACA,IAAI,SAAS,GAAG,iBAAiB;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,OAAO,KAAK,IAAI,QAAQ;AACjC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;AAC9E;;ACnBM,MAAA,gCAAgC,GAAyC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;IAEvG,MAAM,iBAAiB,GAAW,SAAS;AAC3C,IAAA,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC;AACrD,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;AACtB,QAAA,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE;AAC3C,QAAA,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC;;AAElD,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;AACtB,QAAA,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE;AAC3C,QAAA,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC;;IAElD,QACC,CAAA,CAAA,QAAA,EAAA,IAAA,EACE,KAAK,EACL,IAAI,CAAC,MAAM,IACX,CAAA,CAAA,QAAA,EAAA,IAAA,EACC,CAAA,CAAA,GAAA,EAAA,IAAA,EAAI,SAAS,CAAK,EACjB,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAC3B,IACA,IAAI,CACN;AAEL;;;;","x_google_ignoreList":[1]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as l}from"./tslib.es6-CxX45GIN.js";import{h as a,F as e}from"./index-CkrSoIPD.js";import{c as s}from"./clsx-COFh-Vc8.js";import{K as n}from"./Icon-BYiB0b6v.js";import"./common-BIkdAxr0.js";import{i as t,K as o,s as r}from"./InternalUnderlinedBadgeText-t86A5_XQ.js";import{m as i}from"./markdown-BWEzLPZi.js";import{i as c}from"./isObject-DvSELytj.js";const d=l=>{const{class:e,style:t,label:o,icon:i}=l;return a(n,{class:s("icon",e),style:t,label:o||"",icons:i})},b=({label:l,hideLabel:e,allowMarkdown:n,badgeText:r})=>{if(e||!t(l))return null;const c="kol-span__label";return n?a("span",{class:s(c,"md"),innerHTML:i(l)}):a("span",{class:s(c)},r?a(o,{label:l,badgeText:r}):l)},m=({hideLabel:s,label:l,badgeText:n,allowMarkdown:o},i)=>{const c=!r(l);return a(e,null,c&&a(b,{label:l,hideLabel:s,badgeText:n,allowMarkdown:o}),a("span",{"aria-hidden":c?"true":void 0,class:"kol-span__label",hidden:c},i),t(n)&&n.length>0&&a("kbd",{class:"badge-text-hint","aria-hidden":"true"},n))},p=(e,n)=>{const{class:o,label:i,hideLabel:r=!1,badgeText:b,allowMarkdown:p,icons:g}=e,h=l(e,["class","label","hideLabel","badgeText","allowMarkdown","icons"]);let j=null,k=null,x=null,u=null;return c(g)?(j=g.top,k=g.left,x=g.right,u=g.bottom):t(g)&&(k={icon:g}),a("span",Object.assign({class:s("kol-span",{"kol-span--hide-label":r},o)},h),c(j)&&a(d,Object.assign({class:"top"},j)),a("span",{class:"kol-span__container"},c(k)&&a(d,Object.assign({class:"left"},k)),a(m,{label:i,hideLabel:r,allowMarkdown:p,badgeText:b},n),c(x)&&a(d,Object.assign({class:"right"},x))),c(u)&&a(d,Object.assign({class:"bottom"},u)))};export{p as K};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Span-ePfPZY-7.js","sources":["src/functional-components/Span/IconHelper.tsx","src/functional-components/Span/LabelHelper.tsx","src/functional-components/Span/SpanCoreHelper.tsx","src/functional-components/Span/Span.tsx"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport type { KoliBriCustomIcon } from '../../schema';\nimport KolIconFc from '../Icon';\n\nconst IconHelper: FC<KoliBriCustomIcon & { class?: string }> = (props) => {\n\tconst { class: classNames, style, label, icon } = props;\n\n\treturn <KolIconFc class={clsx('icon', classNames)} style={style} label={label || ''} icons={icon} />;\n};\n\nexport default IconHelper;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { isString } from 'lodash-es';\nimport clsx from '../../utils/clsx';\n\nimport { md } from '../../utils/markdown';\nimport KolInternalUnderlinedBadgeTextFc from '../InternalUnderlinedBadgeText';\n\nconst LabelHelper: FC<{ label: string; hideLabel?: boolean; badgeText?: string; hideExpertSlot?: boolean; allowMarkdown?: boolean }> = ({\n\tlabel,\n\thideLabel,\n\tallowMarkdown,\n\tbadgeText,\n}) => {\n\tif (hideLabel || !isString(label)) {\n\t\treturn null;\n\t}\n\n\tconst defaultClasses = 'kol-span__label';\n\n\tif (allowMarkdown) {\n\t\treturn <span class={clsx(defaultClasses, 'md')} innerHTML={md(label)} />;\n\t}\n\n\tif (badgeText) {\n\t\treturn (\n\t\t\t<span class={clsx(defaultClasses)}>\n\t\t\t\t<KolInternalUnderlinedBadgeTextFc label={label} badgeText={badgeText} />\n\t\t\t</span>\n\t\t);\n\t}\n\n\treturn <span class={clsx(defaultClasses)}>{label}</span>;\n};\n\nexport default LabelHelper;\n","import { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport { isString } from 'lodash-es';\n\nimport { showExpertSlot } from '../../schema';\nimport LabelHelper from './LabelHelper';\n\nconst KolSpanCoreHelperFc: FC<{ label: string; hideLabel?: boolean; badgeText?: string; hideExpertSlot?: boolean; allowMarkdown?: boolean }> = (\n\t{ hideLabel, label, badgeText, allowMarkdown },\n\tchildren,\n) => {\n\tconst hideExpertSlot = !showExpertSlot(label);\n\n\treturn (\n\t\t<>\n\t\t\t{hideExpertSlot && <LabelHelper label={label} hideLabel={hideLabel} badgeText={badgeText} allowMarkdown={allowMarkdown} />}\n\t\t\t<span aria-hidden={hideExpertSlot ? 'true' : undefined} class=\"kol-span__label\" hidden={hideExpertSlot}>\n\t\t\t\t{children}\n\t\t\t</span>\n\t\t\t{isString(badgeText) && badgeText.length > 0 && (\n\t\t\t\t<kbd class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t\t{badgeText}\n\t\t\t\t</kbd>\n\t\t\t)}\n\t\t</>\n\t);\n};\n\nexport default KolSpanCoreHelperFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { isObject, isString } from 'lodash-es';\nimport clsx from '../../utils/clsx';\n\nimport { type BadgeTextPropType, type HideLabelPropType, type IconOrIconClass, type KoliBriIconsProp, type LabelWithExpertSlotPropType } from '../../schema';\n\nimport IconHelper from './IconHelper';\nimport SpanCoreHelper from './SpanCoreHelper';\n\ntype IconType = IconOrIconClass | undefined | null;\n\nexport type SpanProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tlabel: LabelWithExpertSlotPropType;\n\tbadgeText?: BadgeTextPropType;\n\tallowMarkdown?: boolean;\n\ticons?: KoliBriIconsProp;\n\thideLabel?: HideLabelPropType;\n};\n\nconst KolSpanFc: FC<SpanProps> = (props, children) => {\n\tconst { class: classNames, label, hideLabel = false, badgeText, allowMarkdown, icons, ...other } = props;\n\tlet topIconProps: IconType = null;\n\tlet leftIconProps: IconType = null;\n\tlet rightIconProps: IconType = null;\n\tlet bottomIconProps: IconType = null;\n\n\tif (isObject(icons)) {\n\t\ttopIconProps = icons.top;\n\t\tleftIconProps = icons.left;\n\t\trightIconProps = icons.right;\n\t\tbottomIconProps = icons.bottom;\n\t} else if (isString(icons)) {\n\t\tleftIconProps = {\n\t\t\ticon: icons,\n\t\t};\n\t}\n\n\treturn (\n\t\t<span class={clsx('kol-span', { 'kol-span--hide-label': hideLabel }, classNames)} {...other}>\n\t\t\t{isObject(topIconProps) && <IconHelper class=\"top\" {...topIconProps} />}\n\t\t\t<span class=\"kol-span__container\">\n\t\t\t\t{isObject(leftIconProps) && <IconHelper class=\"left\" {...leftIconProps} />}\n\t\t\t\t<SpanCoreHelper label={label} hideLabel={hideLabel} allowMarkdown={allowMarkdown} badgeText={badgeText}>\n\t\t\t\t\t{children}\n\t\t\t\t</SpanCoreHelper>\n\t\t\t\t{isObject(rightIconProps) && <IconHelper class=\"right\" {...rightIconProps} />}\n\t\t\t</span>\n\t\t\t{isObject(bottomIconProps) && <IconHelper class=\"bottom\" {...bottomIconProps} />}\n\t\t</span>\n\t);\n};\n\nexport default KolSpanFc;\n"],"names":["SpanCoreHelper"],"mappings":";;;;;;;;;;;;AAMA,MAAM,UAAU,GAA+C,CAAC,KAAK,KAAI;AACxE,IAAA,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK;AAEvD,IAAA,OAAO,CAAA,CAAC,SAAS,EAAA,EAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAA,CAAI;AACrG,CAAC;;ACHD,MAAM,WAAW,GAAsH,CAAC,EACvI,KAAK,EACL,SAAS,EACT,aAAa,EACb,SAAS,GACT,KAAI;IACJ,IAAI,SAAS,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AAClC,QAAA,OAAO,IAAI;;IAGZ,MAAM,cAAc,GAAG,iBAAiB;IAExC,IAAI,aAAa,EAAE;QAClB,OAAO,YAAM,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,EAAE,CAAC,KAAK,CAAC,GAAI;;IAGzE,IAAI,SAAS,EAAE;AACd,QAAA,QACC,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,EAAA,EAChC,CAAA,CAAC,gCAAgC,EAAA,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAA,CAAI,CAClE;;AAIT,IAAA,OAAO,CAAA,CAA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K,EAAA,eAAe,CAAI,CAAA,CAC1E;AAET;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{L as t}from"./common-BIkdAxr0.js";function n(r,e=()=>!0){return{normalize:r,validate:e,apply(r,e,n){if(null!=r)try{const t=this.normalize(r);this.validate(t)&&e(t)}catch(r){t.debug(r)}else void 0!==n&&e(n)}}}function r(r,e=()=>!0){return{normalize:r,validate:e,apply(r,e,n,o){if(null!=r)try{const t=this.normalize(r,n);this.validate(t,n)&&e(t)}catch(r){t.debug(r)}else void 0!==o&&e(o)}}}function e(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return String(t);throw new Error(`Invalid string: ${t}`)}function i(t){if("number"==typeof t)return t;if("string"==typeof t){const r=Number(t);if(!isNaN(r))return r}throw new Error(`Invalid number: ${t}`)}const s=["eager","lazy"],o=new Set(s),a=n(t=>e(t),t=>o.has(t)),u=["block","inline"],f=new Set(u),c=n(t=>e(t),t=>f.has(t));class l{constructor(t={}){this.component=t,this.props={},this.rawProps={}}setProp(t,r){this.props[t]=r}getProps(){return this.props}setRawProp(t,r){this.rawProps[t]=r}getRawProps(){return this.rawProps}setState(t,r){this.component[t]=r}}export{l as B,i as a,r as b,n as c,a as l,e as n,c as v};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-controller-Bkp0Z9l1.js","sources":["src/internal/props/helpers/factory.ts","src/internal/props/helpers/normalizers.ts","src/internal/props/loading.ts","src/internal/props/variant-quote.ts","src/internal/functional-components/base-controller.ts"],"sourcesContent":["import { Log } from '../../../schema';\n\n/**\n * Definiert einen Prop-Typ mit internem und externem Typ.\n *\n * - K: der Property-Name\n * - TExternal: der externe Eingabe-Typ (Web Component)\n * - TInternal: der normalisierte Typ (Controller/FC), default = TExternal\n *\n * Phantom-Keys `__input_${K}` tragen den externen Typ auf Type-Ebene.\n * Der feste Phantom-Key `__propInternal__` trägt TInternal für eine zuverlässige Inferenz.\n */\nexport type Prop<K extends string, TExternal, TInternal> = {\n\t[P in K]: TInternal;\n} & {\n\t[P in K as `__input_${P}`]?: TExternal;\n} & {\n\treadonly __propInternal__?: TInternal;\n};\n\n/**\n * Shorthand for Prop when external and internal types are identical.\n *\n * - K: der Property-Name\n * - T: der Typ (verwendet für externe und interne Nutzung)\n */\nexport type SimpleProp<K extends string, T> = Prop<K, T, T>;\n\nexport type InternalPropValue<P extends Prop<string, unknown, unknown>> = NonNullable<P['__propInternal__']>;\n\nexport type PropDefinition<TInternal> = {\n\tnormalize: (value: unknown) => TInternal | never;\n\tvalidate: (value: TInternal) => boolean;\n\tapply: (value: unknown, callback: (normalized: TInternal) => void, defaultValue: TInternal) => void;\n};\n\nexport function createPropDefinition<P extends Prop<string, unknown, unknown>>(\n\tnormalize: (value: unknown) => InternalPropValue<P> | never,\n\tvalidate: (value: InternalPropValue<P>) => boolean = () => true,\n): PropDefinition<InternalPropValue<P>> {\n\treturn {\n\t\tnormalize,\n\t\tvalidate,\n\t\tapply(value, callback, defaultValue) {\n\t\t\tif (value === undefined || value === null) {\n\t\t\t\tif (defaultValue !== undefined) {\n\t\t\t\t\tcallback(defaultValue);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconst normalized = this.normalize(value);\n\t\t\t\tif (this.validate(normalized)) {\n\t\t\t\t\tcallback(normalized);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug(e);\n\t\t\t}\n\t\t},\n\t};\n}\n\nexport type DependentPropDefinition<TInternal, TDeps> = {\n\tnormalize: (value: unknown, deps: TDeps) => TInternal | never;\n\tvalidate: (value: TInternal, deps: TDeps) => boolean;\n\tapply: (value: unknown, callback: (normalized: TInternal) => void, deps: TDeps, defaultValue: TInternal) => void;\n};\n\nexport function createDependentPropDefinition<P extends Prop<string, unknown, unknown>, TDeps>(\n\tnormalize: (value: unknown, deps: TDeps) => InternalPropValue<P> | never,\n\tvalidate: (value: InternalPropValue<P>, deps: TDeps) => boolean = () => true,\n): DependentPropDefinition<InternalPropValue<P>, TDeps> {\n\treturn {\n\t\tnormalize,\n\t\tvalidate,\n\t\tapply(value, callback, deps: TDeps, defaultValue) {\n\t\t\tif (value === undefined || value === null) {\n\t\t\t\tif (defaultValue !== undefined) {\n\t\t\t\t\tcallback(defaultValue);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconst normalized = this.normalize(value, deps);\n\t\t\t\tif (this.validate(normalized, deps)) {\n\t\t\t\t\tcallback(normalized);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug(e);\n\t\t\t}\n\t\t},\n\t};\n}\n","import { isObject } from '../../../schema';\n\nexport function normalizeString(value?: unknown): string | never {\n\tif (typeof value === 'string') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint') {\n\t\treturn String(value);\n\t}\n\tthrow new Error(`Invalid string: ${value as string}`);\n}\n\nexport function normalizeInteger(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn Number.isInteger(value) ? value : Math.round(value);\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = parseInt(value, 10);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid integer: ${value as string}`);\n}\n\nexport function normalizeNumber(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = Number(value);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid number: ${value as string}`);\n}\n\nexport function normalizeBoolean(value?: unknown): boolean | never {\n\tif (typeof value === 'boolean') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.toLowerCase() === 'true';\n\t}\n\tthrow new Error(`Invalid boolean: ${value as string}`);\n}\n\nexport function normalizeObject(value?: unknown): object | never {\n\tif (isObject(value)) {\n\t\treturn value as object;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed)) {\n\t\t\treturn parsed as object;\n\t\t}\n\t}\n\tthrow new Error(`Invalid object: ${value as string}`);\n}\n\nexport function normalizeArray(value?: unknown): unknown[] | never {\n\tif (isObject(value) && Array.isArray(value)) {\n\t\treturn value as unknown[];\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed) && Array.isArray(parsed)) {\n\t\t\treturn parsed as unknown[];\n\t\t}\n\t}\n\tthrow new Error(`Invalid array: ${value as string}`);\n}\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n","import type { ComponentApi, InternalOf, ResolvedInputProps, ResolvedProps, StrictFields } from './generic-types';\n\ntype InternalStates<Api extends ComponentApi> = InternalOf<NonNullable<Api['States']>>;\n\nexport abstract class BaseController<Api extends ComponentApi> {\n\tprivate readonly props: Partial<StrictFields<ResolvedProps<Api>>> = {};\n\tprivate readonly rawProps: Partial<Record<string, unknown>> = {};\n\n\tpublic constructor(protected readonly component: InternalStates<Api> = {} as InternalStates<Api>) {}\n\n\tprotected setProp<K extends keyof ResolvedProps<Api>>(key: K, value: StrictFields<ResolvedProps<Api>>[K]): void {\n\t\tthis.props[key] = value;\n\t}\n\n\tpublic getProps(): StrictFields<ResolvedProps<Api>> {\n\t\treturn this.props as StrictFields<ResolvedProps<Api>>;\n\t}\n\n\tprotected setRawProp<K extends keyof ResolvedInputProps<Api>>(key: K, value: ResolvedInputProps<Api>[K] | undefined): void {\n\t\tthis.rawProps[key as string] = value;\n\t}\n\n\tprotected getRawProps(): Partial<ResolvedInputProps<Api>> {\n\t\treturn this.rawProps as Partial<ResolvedInputProps<Api>>;\n\t}\n\n\tprotected setState<K extends keyof InternalStates<Api>>(key: K, value: InternalStates<Api>[K]): void {\n\t\t(this.component as Record<string, unknown>)[key as string] = value;\n\t}\n}\n"],"names":[],"mappings":";;;;;AAoCM,SAAU,oBAAoB,CACnC,SAA2D,EAC3D,QAAqD,GAAA,MAAM,IAAI,EAAA;IAE/D,OAAO;QACN,SAAS;QACT,QAAQ;AACR,QAAA,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAA;YAClC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE;AAC1C,gBAAA,IAAI,YAAY,KAAK,SAAS,EAAE;oBAC/B,QAAQ,CAAC,YAAY,CAAC;;gBAEvB;;AAED,YAAA,IAAI;gBACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;AACxC,gBAAA,IAAI,IAAI,CAAC,QAAQ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KAAK;;IAG3B,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,QAA4C;;IAG/C,QAAQ,CAAsC,GAAM,EAAE,KAA6B,EAAA;AAC3F,QAAA,IAAI,CAAC,SAAqC,CAAC,GAAa,CAAC,GAAG,KAAK;;AAEnE;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as e}from"./browser-KcXKIKON.js";const i=e(),l={"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skeleton":{elements:{actions:{modifiers:null},container:{modifiers:null},counter:{modifiers:null},name:{modifiers:null}},modifiers:new Set(["has-name","is-hidden"])},"kol-click-button":{elements:{label:{modifiers:null}},modifiers:null}};export{l as B,i as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bem-registry-DRYZs7IX.js","sources":["src/schema/bem-registry.ts"],"sourcesContent":["import { generateBemClassNames } from 'typed-bem';\n\n/**\n * Central BEM Schema Registry for all KoliBri Components\n *\n * This file serves as the single source of truth for all BEM class name structures\n * across the entire KoliBri component library. By centralizing component schemas here,\n * we ensure consistency, prevent duplication, and enable powerful tooling.\n *\n * Benefits:\n * - Type safety across all components\n * - Consistent BEM structure\n * - Single point of maintenance\n * - Automatic SCSS generation\n * - Better IDE support and autocomplete\n * - forBlock integration for component-specific generators\n */\n\n/**\n * Complete schema definition for all KoliBri components\n */\ntype KoliBriComponentsBemSchema = {\n\t'kol-alert': {\n\t\t/**\n\t\t * Here we define the elements we needed\n\t\t * to realize a minimal full featured alert\n\t\t * component (DOM).\n\t\t */\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\theading: {\n\t\t\t\t/**\n\t\t\t\t * Some elements needs modifiers to\n\t\t\t\t * style them properly.\n\t\t\t\t */\n\t\t\t\tmodifiers: Set<'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;\n\t\t\t};\n\t\t\tcontent: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcloser: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\t/**\n\t\t * Here we define the modifiers related to the\n\t\t * kol-alert component properties.\n\t\t */\n\t\tmodifiers: Set<'hasCloser' | 'type-default' | 'type-error' | 'type-info' | 'type-success' | 'type-warning' | 'variant-card' | 'variant-msg'>;\n\t};\n\t'kol-avatar': {\n\t\telements: {\n\t\t\timage: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tinitials: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n\t'kol-quote': {\n\t\telements: {\n\t\t\tblockquote: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcite: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tfigcaption: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tquote: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'block' | 'inline'>;\n\t};\n\t'kol-skeleton': {\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tname: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcounter: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tactions: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'has-name' | 'is-hidden'>;\n\t};\n\t'kol-click-button': {\n\t\telements: {\n\t\t\tlabel: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n};\n\n/**\n * Create the central BEM generator instance\n * This single instance is used across all components\n */\nexport const bem = generateBemClassNames<KoliBriComponentsBemSchema>();\n\n/**\n * Export the complete BEM schema for reuse\n * to generate SCSS files in themes.\n */\nconst BEM: KoliBriComponentsBemSchema = {\n\t'kol-alert': {\n\t\telements: {\n\t\t\tcloser: { modifiers: null },\n\t\t\theading: { modifiers: new Set(['h0', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']) },\n\t\t\ticon: { modifiers: null },\n\t\t\tcontent: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['hasCloser', 'type-default', 'type-error', 'type-info', 'type-success', 'type-warning', 'variant-card', 'variant-msg']),\n\t},\n\t'kol-avatar': {\n\t\telements: {\n\t\t\timage: { modifiers: null },\n\t\t\tinitials: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n\t'kol-quote': {\n\t\telements: {\n\t\t\tblockquote: { modifiers: null },\n\t\t\tcite: { modifiers: null },\n\t\t\tfigcaption: { modifiers: null },\n\t\t\tquote: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['block', 'inline']),\n\t},\n\t'kol-skeleton': {\n\t\telements: {\n\t\t\tactions: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t\tcounter: { modifiers: null },\n\t\t\tname: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['has-name', 'is-hidden']),\n\t},\n\t'kol-click-button': {\n\t\telements: {\n\t\t\tlabel: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n};\n\nexport { BEM };\n"],"names":["generateBemClassNames"],"mappings":";;;;;AA0Ha,MAAA,GAAG,GAAGA,CAAqB;AAMxC,MAAM,GAAG,GAA+B;AACvC,IAAA,WAAW,EAAE;AACZ,QAAA,QAAQ,EAAE;AACT,YAAA,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;YAC3B,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE;AAC3E,YAAA,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AACzB,YAAA,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC5B,YAAA,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC9B,SAAA;QACD,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC;AAC3I,KAAA;AACD,IAAA,YAAY,EAAE;AACb,QAAA,QAAQ,EAAE;AACT,YAAA,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC1B,YAAA,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC7B,SAAA;AACD,QAAA,SAAS,EAAE,IAAI;AACf,KAAA;AACD,IAAA,UAAU,EAAE;AACX,QAAA,QAAQ,EAAE;AACT,YAAA,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AACzB,SAAA;AACD,QAAA,SAAS,EAAE,IAAI;AACf,KAAA;AACD,IAAA,WAAW,EAAE;AACZ,QAAA,QAAQ,EAAE;AACT,YAAA,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC/B,YAAA,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AACzB,YAAA,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC/B,YAAA,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC1B,SAAA;QACD,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AACvC,KAAA;AACD,IAAA,cAAc,EAAE;AACf,QAAA,QAAQ,EAAE;AACT,YAAA,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC5B,YAAA,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC9B,YAAA,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC5B,YAAA,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AACzB,SAAA;QACD,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAC7C,KAAA;AACD,IAAA,kBAAkB,EAAE;AACnB,QAAA,QAAQ,EAAE;AACT,YAAA,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;AAC1B,SAAA;AACD,QAAA,SAAS,EAAE,IAAI;AACf,KAAA;;;;;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{v as r}from"./common-BIkdAxr0.js";var n,t;function e(){return t||(t=1,n=function(r){return function(t,n){if(!t)return r;var e;"string"==typeof t?e=t:n=t;var o=r;return e&&(o+="__"+e),o+(n?Object.keys(n).reduce(function(r,t){var e=n[t];return e&&(r+=" "+("boolean"==typeof e?o+"--"+t:o+"--"+t+"_"+e)),r},""):"")}}),n}var o=e(),u=r(o);function f(){const r=new Map,t=(t,n,e)=>{try{return r.get(t)(n,e)}catch{return r.set(t,u(t)).get(t)(n,e)}};return t.forBlock=r=>{const n=(n,e)=>t(r,n,e);return n.forElement=n=>e=>t(r,n,e),n},t}export{f as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browser-KcXKIKON.js","sources":["../../node_modules/.pnpm/easy-bem@1.1.1/node_modules/easy-bem/index.js","../../node_modules/.pnpm/typed-bem@1.0.2/node_modules/typed-bem/dist/browser.mjs"],"sourcesContent":["'use strict';\r\n\r\n/**\r\n * BEM class name factory.\r\n *\r\n * @typedef {Function} Bem\r\n * @param {String|Object} [elementOrMods] Element name or hash object with mods\r\n * @param {Object} [mods] Hash object with mods\r\n * @returns {String}\r\n */\r\n\r\n/**\r\n * Returns BEM class name factory.\r\n *\r\n * @param {String} componentName Block name\r\n * @returns {Bem}\r\n */\r\nmodule.exports = function bem(componentName) {\r\n return function (elementOrMods, mods) {\r\n if (!elementOrMods) {\r\n return componentName;\r\n }\r\n\r\n var element;\r\n\r\n if (typeof elementOrMods === 'string') {\r\n element = elementOrMods;\r\n } else {\r\n mods = elementOrMods;\r\n }\r\n\r\n var base = componentName;\r\n if (element) {\r\n base += '__' + element;\r\n }\r\n\r\n return base + (\r\n mods\r\n ? Object.keys(mods).reduce(function (result, name) {\r\n var value = mods[name];\r\n\r\n if (value) {\r\n result += ' ' + (\r\n typeof value === 'boolean'\r\n ? (base + '--' + name)\r\n : (base + '--' + name + '_' + value)\r\n );\r\n }\r\n\r\n return result;\r\n }, '')\r\n : ''\r\n );\r\n };\r\n}\r\n","import a from\"easy-bem\";function c(){const e=new Map,n=(t,o,r)=>{try{return e.get(t)(o,r)}catch{return e.set(t,a(t)).get(t)(o,r)}};return n.forBlock=t=>{const o=(r,s)=>n(t,r,s);return o.forElement=r=>s=>n(t,r,s),o},n}function f(...e){const n=new Set;for(const t of e)if(t)for(const o of t.split(/\\s+/))n.add(o);return[...n].join(\" \")}export{c as generateBemClassNames,f as uniqueClass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AC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o}from"./index-CkrSoIPD.js";import{b as s}from"./bem-registry-DRYZs7IX.js";import"./common-BIkdAxr0.js";import{l as t}from"./label-BWcVeIOr.js";import{B as l}from"./base-controller-Bkp0Z9l1.js";const c=s.forBlock("kol-click-button"),e=c(),n=c("label"),r=({label:t,handleClick:s,refButton:l})=>o("button",{class:e,ref:l,onClick:s,onKeyDown:o=>o.preventDefault()},o("span",{class:n},t));class i extends l{constructor(){super(...arguments),this.handleClick=()=>{console.log(this,this.buttonRef,"button clicked")},this.setButtonRef=o=>{this.buttonRef=o}}componentWillLoad(o){const{label:t}=o;this.watchLabel(t)}watchLabel(o){t.apply(o,o=>{this.setProp("label",o)},"")}focus(){var o;null===(o=this.buttonRef)||void 0===o||o.focus()}}export{r as C,i as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller-BbvDlOS4.js","sources":["src/internal/functional-components/click-button/component.tsx","src/internal/functional-components/click-button/controller.ts"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nconst clickButtonBem = bem.forBlock('kol-click-button');\nconst BEM_CLASS_CLICK_BUTTON = clickButtonBem();\nconst BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');\n\nexport const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>> = ({ label, handleClick, refButton }) => (\n\t<button class={BEM_CLASS_CLICK_BUTTON} ref={refButton} onClick={handleClick} onKeyDown={(event) => event.preventDefault()}>\n\t\t<span class={BEM_CLASS_CLICK_BUTTON__LABEL}>{label}</span>\n\t</button>\n);\n","import { labelProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nexport class ClickButtonController extends BaseController<ClickButtonApi> implements ControllerInterface<ClickButtonApi> {\n\tprivate buttonRef?: HTMLButtonElement;\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ClickButtonApi>): void {\n\t\tconst { label } = props;\n\t\tthis.watchLabel(label);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(\n\t\t\tvalue,\n\t\t\t(v) => {\n\t\t\t\tthis.setProp('label', v);\n\t\t\t},\n\t\t\t'',\n\t\t);\n\t}\n\n\tpublic handleClick = (): void => {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.log(this, this.buttonRef, 'button clicked');\n\t};\n\n\tpublic focus(): void {\n\t\tthis.buttonRef?.focus();\n\t}\n\n\tpublic setButtonRef = (element?: HTMLButtonElement): void => {\n\t\tthis.buttonRef = element;\n\t};\n}\n"],"names":[],"mappings":";;;;;;;;;AAOA,MAAM,cAAc,GAAG,GAAG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@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as t}from"./index-CkrSoIPD.js";import{_ as n}from"./tslib.es6-CxX45GIN.js";import{c as o}from"./component-names-CqTpXVIM.js";import{K as e}from"./Icon-BYiB0b6v.js";import{b as s}from"./common-BIkdAxr0.js";import{i,g as r,I as c}from"./FormFieldStateWrapper--EBKaIYU.js";import{c as a}from"./clsx-COFh-Vc8.js";import{i as l}from"./InternalUnderlinedBadgeText-t86A5_XQ.js";import{i as d}from"./isObject-DvSELytj.js";import{v as m}from"./icons-CmA8Oww0.js";const u=(s,o)=>{var{position:e="start",class:i}=s,r=n(s,["position","class"]);const c="kol-input-container__adornment",l=`${c}--${e}`;return t("div",Object.assign({class:a(c,l,i)},r),o)};function b(t){return!!t&&(Array.isArray(t)?t.length>0:Boolean(t))}const p=(s,o)=>{var{class:e}=s,i=n(s,["class"]);return t("div",Object.assign({class:a("kol-input-container__container",e)},i),o)},f=(s,o)=>{const{class:e,startAdornment:c,endAdornment:l,disabled:m,msg:d,touched:h,containerProps:g,startAdornmentProps:j,endAdornmentProps:_}=s,A=n(s,["class","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps"]),f={"kol-input-container--disabled":m,[`kol-input-container--${r(d)}`]:i(d,h)},k=Object.assign({class:a("kol-input-container",f,e)},A);return b(c)||b(l)?t("div",Object.assign({},k),t(u,Object.assign({},j,{position:"start"}),c),t(p,Object.assign({},g),o),t(u,Object.assign({},_,{position:"end"}),l)):t("div",Object.assign({},k),t(p,Object.assign({},g),o))},j=s=>{const{label:e,icons:i,hideLabel:r,disabled:a,onClick:c}=s,l=n(s,["label","icons","hideLabel","disabled","onClick"]);return t(o,Object.assign({_label:e,_disabled:a,_icons:i,_hideLabel:r,_on:{onClick:c}},l))},h=s=>{const{componentName:o="button",label:i,icon:r,onClick:a}=s,c=n(s,["componentName","label","icon","onClick"]);return t("button"===o?j:e,Object.assign({label:i||"",hideLabel:!0,icons:`${r}`,onClick:a},c))};function _(t){let n,s;return"_icons"in t&&(n=t._icons),"_smartButton"in t&&(s=t._smartButton),{icons:n,smartButton:s,disabled:t._disabled,msg:t._msg,touched:t._touched}}const v=({state:n,startAdornment:s,endAdornment:o},e)=>{const{icons:i,smartButton:r,disabled:a,msg:c,touched:m}=_(n);let u=null==i?void 0:i.left;l(u)&&(u={icon:u});let p=null==i?void 0:i.right;l(p)&&(p={icon:p});const b=[],g=[];return s&&(Array.isArray(s)?b.push(...s):b.push(s)),u&&b.push(t(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(u)?u:{}))),d(r)&&g.push(t(h,Object.assign({componentName:"button",class:"kol-input-container__smart-button"},r,{hideLabel:!0,disabled:a}))),p&&g.push(t(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(p)?p:{}))),o&&(Array.isArray(o)?g.push(...o):g.push(o)),t(f,{disabled:a,msg:c,touched:m,startAdornment:b,endAdornment:g},e)};class A extends c{constructor(t,n,o){super(t,n,o),this.numberStringRegex=/^\d+(\.\d+)?$/,this.parseToNumber=t=>"number"==typeof t?isNaN(t)?null:t:this.isNumberString(t)?parseFloat(t):null,this.validateNumber=(t,n)=>s(this.component,t,t=>null==t||"number"==typeof t||"string"==typeof t&&this.numberStringRegex.test(t),new Set(["number","NumberString"]),n,{hooks:{beforePatch:(n,s)=>{(null==s?void 0:s.has(t))&&(null==s||s.set(t,this.parseToNumber(n)))}}}),this.component=t}validateIcons(t){m(this.component,t)}isNumberString(t){return"string"==typeof t&&this.numberStringRegex.test(t)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{A as I,h as K,v as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller-icon-By1Ikt1k.js","sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx","src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../utils/clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `kol-input-container__adornment`;\n\tconst positionClassName = `${rootClassName}--${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, positionClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport { getMsgType, isMsgDefinedAndInputTouched, type MsgPropType, type Stringified } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport InputAdornment from '../InputAdornment';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n\n\tcontainerProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tstartAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tendAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst Container: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: className, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-input-container__container', className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, disabled, msg, touched, containerProps, startAdornmentProps, endAdornmentProps, ...other } = props;\n\tconst stateCssClasses = {\n\t\t['kol-input-container--disabled']: disabled,\n\t\t[`kol-input-container--${getMsgType(msg)}`]: isMsgDefinedAndInputTouched(msg, touched),\n\t};\n\n\tconst baseProps: JSXBase.HTMLAttributes<HTMLDivElement> = {\n\t\tclass: clsx('kol-input-container', stateCssClasses, classNames),\n\t\t...other,\n\t};\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div {...baseProps}>\n\t\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div {...baseProps}>\n\t\t\t<InputAdornment {...startAdornmentProps} position=\"start\">\n\t\t\t\t{startAdornment}\n\t\t\t</InputAdornment>\n\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t<InputAdornment {...endAdornmentProps} position=\"end\">\n\t\t\t\t{endAdornment}\n\t\t\t</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { OptionalButtonProps, RequiredButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<RequiredButtonProps & OptionalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { ButtonVariantPropType } from '../../schema';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\tbuttonVariant?: ButtonVariantPropType;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The Codicon or other font classname used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `buttonVariant`: Variant for the button component.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"kolicon-check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport {\n\ttype IconOrIconClass,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InternalButtonProps,\n\ttype KoliBriHorizontalIcons,\n\ttype MsgPropType,\n\ttype SelectStates,\n\ttype Stringified,\n\ttype TextareaStates,\n} from '../../schema';\n\nimport { isObject, isString } from 'lodash-es';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): {\n\ticons?: KoliBriHorizontalIcons;\n\tsmartButton?: InternalButtonProps;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\ttouched?: boolean;\n} {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: InternalButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn {\n\t\ticons,\n\t\tsmartButton,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg,\n\t\ttouched: state._touched,\n\t};\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = (\n\t{ state, startAdornment: defaultStartAdornment, endAdornment: defaultEndAdornment },\n\tchildren,\n) => {\n\tconst { icons, smartButton, disabled, msg, touched } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultStartAdornment) {\n\t\tif (Array.isArray(defaultStartAdornment)) {\n\t\t\tstartAdornment.push(...defaultStartAdornment);\n\t\t} else {\n\t\t\tstartAdornment.push(defaultStartAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(\n\t\t\t<KolIconButtonFc componentName=\"button\" class=\"kol-input-container__smart-button\" {...smartButton} hideLabel={true} disabled={disabled} />,\n\t\t);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc disabled={disabled} msg={msg} touched={touched} startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { IconsHorizontalPropType, NumberString } from '../../../schema';\nimport { validateIcons, watchValidator } from '../../../schema';\n\nimport { InputController } from './controller';\n\nimport type { Props, Watches } from './types-icon';\n\nexport class InputIconController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprivate readonly numberStringRegex = /^\\d+(\\.\\d+)?$/; // https://regex101.com/r/mET6Tx/1\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tvalidateIcons(this.component, value);\n\t}\n\n\tpublic isNumberString(value: unknown): value is NumberString {\n\t\treturn typeof value === 'string' && this.numberStringRegex.test(value);\n\t}\n\n\tprotected readonly parseToNumber = (value?: number | NumberString | null): number | null => {\n\t\tif (typeof value === 'number') {\n\t\t\treturn isNaN(value) ? null : value;\n\t\t}\n\t\tif (this.isNumberString(value)) {\n\t\t\treturn parseFloat(value);\n\t\t}\n\t\treturn null;\n\t};\n\n\tprotected readonly validateNumber = (propName: string, value?: number | NumberString | null) => {\n\t\treturn watchValidator(\n\t\t\tthis.component,\n\t\t\tpropName,\n\t\t\t(value): boolean =>\n\t\t\t\tvalue === undefined || value === null || typeof value === 'number' || (typeof value === 'string' && this.numberStringRegex.test(value)),\n\t\t\tnew Set(['number', 'NumberString']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (value: unknown, nextState) => {\n\t\t\t\t\t\tif (nextState?.has(propName)) {\n\t\t\t\t\t\t\tnextState?.set(propName, this.parseToNumber(value as number | NumberString | null));\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t};\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcons(this.component._icons);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAQA,MAAM,cAAc,GAA4B,CAAC,EAAkD,EAAE,QAAQ,KAAI;IAAhE,IAAA,EAAE,QAAQ,GAAG,OAAO,EAAE,KAAK,EAAE,SAAS,EAAA,GAAA,EAAY,EAAP,KAAK,GAAhD,MAAA,CAAA,EAAA,EAAA,CAAA,UAAA,EAAA,OAAA,CAAkD,CAAF;IAChG,MAAM,aAAa,GAAG,CAAA,8BAAA,CAAgC;AACtD,IAAA,MAAM,i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