@public-ui/components 3.0.7-d0e38f2b24188b03316351f07d939c4524a2fd81.0 → 3.0.7-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1 -1
- package/dist/cjs/Alert-pYM9xL1B.js +4 -0
- package/dist/cjs/{Alert-DvfeipJE.js.map → Alert-pYM9xL1B.js.map} +1 -1
- package/dist/cjs/Collapsible-CEcUGOI1.js +4 -0
- package/dist/cjs/{Collapsible-E0eWmXn2.js.map → Collapsible-CEcUGOI1.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-DbGV2ZkI.js → CustomSuggestionsToggle-CPk5IOdw.js} +1 -1
- package/dist/cjs/{CustomSuggestionsToggle-DbGV2ZkI.js.map → CustomSuggestionsToggle-CPk5IOdw.js.map} +1 -1
- package/dist/cjs/FieldControlStateWrapper-CxSfV7UW.js +4 -0
- package/dist/cjs/{FieldControlStateWrapper-D6fvsL8U.js.map → FieldControlStateWrapper-CxSfV7UW.js.map} +1 -1
- package/dist/cjs/FormFieldStateWrapper-CujxRl8G.js +4 -0
- package/dist/cjs/{FormFieldStateWrapper-jfw6Co4e.js.map → FormFieldStateWrapper-CujxRl8G.js.map} +1 -1
- package/dist/cjs/Heading-CPcp0Wr1.js +4 -0
- package/dist/cjs/Heading-CPcp0Wr1.js.map +1 -0
- package/dist/cjs/Icon-B8rPDYT-.js +4 -0
- package/dist/cjs/{Icon-Io_PDRaI.js.map → Icon-B8rPDYT-.js.map} +1 -1
- package/dist/cjs/Input-CMtYrIiX.js +4 -0
- package/dist/cjs/{Input-Corn2DzL.js.map → Input-CMtYrIiX.js.map} +1 -1
- package/dist/cjs/InputStateWrapper-CyxEYc7X.js +4 -0
- package/dist/cjs/{InputStateWrapper-CTLKkLjX.js.map → InputStateWrapper-CyxEYc7X.js.map} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-WlYX4I5I.js → InternalUnderlinedBadgeText-6WeC6ukm.js} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-WlYX4I5I.js.map → InternalUnderlinedBadgeText-6WeC6ukm.js.map} +1 -1
- package/dist/cjs/Span-CSTnGgMo.js +4 -0
- package/dist/cjs/{Span-BblS5Ovj.js.map → Span-CSTnGgMo.js.map} +1 -1
- package/dist/cjs/{app-globals-Xn6g2lnN.js → app-globals-EBS1Rxmp.js} +1 -1
- package/dist/cjs/{app-globals-Xn6g2lnN.js.map → app-globals-EBS1Rxmp.js.map} +1 -1
- package/dist/cjs/{bem-BqAGYRuL.js → bem-BVClcAVJ.js} +1 -1
- package/dist/cjs/{bem-BqAGYRuL.js.map → bem-BVClcAVJ.js.map} +1 -1
- package/dist/cjs/{bem-DnR3ZJW_.js → bem-Bu0VYjZa.js} +1 -1
- package/dist/cjs/{bem-DnR3ZJW_.js.map → bem-Bu0VYjZa.js.map} +1 -1
- package/dist/cjs/browser-D7A31aEp.js +4 -0
- package/dist/cjs/browser-D7A31aEp.js.map +1 -0
- package/dist/cjs/{controller-BacGsRWV.js → controller-dziW0eTQ.js} +1 -1
- package/dist/cjs/{controller-BacGsRWV.js.map → controller-dziW0eTQ.js.map} +1 -1
- package/dist/cjs/{controller-DlyID1S-.js → controller-h186ZoKi.js} +1 -1
- package/dist/cjs/{controller-DlyID1S-.js.map → controller-h186ZoKi.js.map} +1 -1
- package/dist/cjs/controller-icon-flui-j3P.js +4 -0
- package/dist/cjs/{controller-icon-CsyY2Y7g.js.map → controller-icon-flui-j3P.js.map} +1 -1
- package/dist/cjs/{controller-BfELhnD6.js → controller-p8a-m8p9.js} +1 -1
- package/dist/cjs/{controller-BfELhnD6.js.map → controller-p8a-m8p9.js.map} +1 -1
- package/dist/cjs/{dev.utils-DMUEnh4U.js → dev.utils-NQv4Or1w.js} +1 -1
- package/dist/cjs/{dev.utils-DMUEnh4U.js.map → dev.utils-NQv4Or1w.js.map} +1 -1
- package/dist/cjs/{devtools-NqWtZkR6.js → devtools-DJ5Gsvbm.js} +1 -1
- package/dist/cjs/{devtools-NqWtZkR6.js.map → devtools-DJ5Gsvbm.js.map} +1 -1
- package/dist/cjs/index-DHm-aTX3.js +4 -0
- package/dist/cjs/index-DHm-aTX3.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-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-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-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.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-quote.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-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-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/kolibri.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/tslib.es6-7DbU_BSw.js +4 -0
- package/dist/cjs/tslib.es6-7DbU_BSw.js.map +1 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/Alert.js.map +1 -1
- package/dist/components/Collapsible.js +1 -1
- package/dist/components/Collapsible.js.map +1 -1
- package/dist/components/FieldControlStateWrapper.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Heading.js.map +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputStateWrapper.js +1 -1
- package/dist/components/Span.js +1 -1
- package/dist/components/bem.js +1 -1
- package/dist/components/bem2.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/browser.js.map +1 -1
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller2.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-abbr.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-badge.js +1 -1
- package/dist/components/kol-badge.js.map +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-breadcrumb.js.map +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button-link.js.map +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-button.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-card.js.map +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-combobox.js.map +1 -1
- package/dist/components/kol-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-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.js +1 -1
- package/dist/components/kol-link.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-pagination.js.map +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-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-split-button.js +1 -1
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateful.js.map +1 -1
- package/dist/components/kol-table-stateless-wc.js +1 -1
- package/dist/components/kol-table-stateless-wc.js.map +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-table-stateless.js.map +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-tabs.js.map +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toast-container.js.map +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-toolbar.js.map +1 -1
- package/dist/components/tslib.es6.js +4 -0
- package/dist/components/tslib.es6.js.map +1 -0
- package/dist/esm/Alert-qJPuIv8b.js +4 -0
- package/dist/{kolibri/Alert-C3ktyZF6.js.map → esm/Alert-qJPuIv8b.js.map} +1 -1
- package/dist/esm/Collapsible-VwOBRTg-.js +4 -0
- package/dist/esm/{Collapsible-DuN5vPyq.js.map → Collapsible-VwOBRTg-.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsToggle-Dy5sBs-i.js → CustomSuggestionsToggle-BtYSYCn5.js} +1 -1
- package/dist/esm/{CustomSuggestionsToggle-Dy5sBs-i.js.map → CustomSuggestionsToggle-BtYSYCn5.js.map} +1 -1
- package/dist/esm/FieldControlStateWrapper-CIWPKSbC.js +4 -0
- package/dist/{kolibri/FieldControlStateWrapper-DC5e0v-Z.js.map → esm/FieldControlStateWrapper-CIWPKSbC.js.map} +1 -1
- package/dist/esm/FormFieldStateWrapper-CKwM-DIl.js +4 -0
- package/dist/esm/{FormFieldStateWrapper-CA5QfRbl.js.map → FormFieldStateWrapper-CKwM-DIl.js.map} +1 -1
- package/dist/esm/Heading-CMd-jtC1.js +4 -0
- package/dist/esm/Heading-CMd-jtC1.js.map +1 -0
- package/dist/esm/{Icon-CZlCqmbX.js → Icon-BQRZwXjg.js} +1 -1
- package/dist/esm/{Icon-CZlCqmbX.js.map → Icon-BQRZwXjg.js.map} +1 -1
- package/dist/esm/Input-BQNyXbdV.js +4 -0
- package/dist/esm/{Input-mBmTM8GQ.js.map → Input-BQNyXbdV.js.map} +1 -1
- package/dist/esm/InputStateWrapper-5DGko7Ry.js +4 -0
- package/dist/{kolibri/InputStateWrapper-vabMC5ny.js.map → esm/InputStateWrapper-5DGko7Ry.js.map} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-BzZpJszE.js → InternalUnderlinedBadgeText-DeV9AANw.js} +1 -1
- package/dist/esm/{InternalUnderlinedBadgeText-BzZpJszE.js.map → InternalUnderlinedBadgeText-DeV9AANw.js.map} +1 -1
- package/dist/esm/Span-9Jbefwfo.js +4 -0
- package/dist/esm/{Span-DNVnBGCS.js.map → Span-9Jbefwfo.js.map} +1 -1
- package/dist/esm/{app-globals-BQlSCt2m.js → app-globals-BV7c4MN_.js} +1 -1
- package/dist/esm/{app-globals-BQlSCt2m.js.map → app-globals-BV7c4MN_.js.map} +1 -1
- package/dist/esm/{bem-CjFNhKP6.js → bem-BiknXNcP.js} +1 -1
- package/dist/esm/{bem-CjFNhKP6.js.map → bem-BiknXNcP.js.map} +1 -1
- package/dist/esm/{bem-DhwfdDrM.js → bem-CHTjklyp.js} +1 -1
- package/dist/esm/{bem-DhwfdDrM.js.map → bem-CHTjklyp.js.map} +1 -1
- package/dist/esm/browser-Ba2Wl_kh.js +4 -0
- package/dist/esm/browser-Ba2Wl_kh.js.map +1 -0
- package/dist/esm/{controller-BBBqpY6I.js → controller-BMZRH6Si.js} +1 -1
- package/dist/esm/{controller-BBBqpY6I.js.map → controller-BMZRH6Si.js.map} +1 -1
- package/dist/esm/{controller-Kdma2hex.js → controller-B_Bwl5E9.js} +1 -1
- package/dist/esm/{controller-Kdma2hex.js.map → controller-B_Bwl5E9.js.map} +1 -1
- package/dist/esm/{controller-C3khCPNt.js → controller-C7skty3T.js} +1 -1
- package/dist/{kolibri/controller-C3khCPNt.js.map → esm/controller-C7skty3T.js.map} +1 -1
- package/dist/esm/controller-icon-DcftMfhw.js +4 -0
- package/dist/{kolibri/controller-icon-By46q2Iq.js.map → esm/controller-icon-DcftMfhw.js.map} +1 -1
- package/dist/esm/{dev.utils-CQdBj8YZ.js → dev.utils-D2H-D7vZ.js} +1 -1
- package/dist/esm/{dev.utils-CQdBj8YZ.js.map → dev.utils-D2H-D7vZ.js.map} +1 -1
- package/dist/esm/{devtools-DyBftFpK.js → devtools-Bv4R5yuw.js} +1 -1
- package/dist/esm/{devtools-DyBftFpK.js.map → devtools-Bv4R5yuw.js.map} +1 -1
- package/dist/esm/index-DKFHNf-G.js +4 -0
- package/dist/esm/index-DKFHNf-G.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js.map +1 -1
- package/dist/esm/kol-alert-wc.entry.js +1 -1
- package/dist/esm/kol-alert-wc.entry.js.map +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-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-combobox.entry.js +1 -1
- package/dist/esm/kol-combobox.entry.js.map +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-details.entry.js.map +1 -1
- package/dist/esm/kol-drawer.entry.js +1 -1
- package/dist/esm/kol-drawer.entry.js.map +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-form.entry.js.map +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-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.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-quote.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-skip-nav.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-table-settings-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless.entry.js +1 -1
- package/dist/esm/kol-table-stateless.entry.js.map +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js.map +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js.map +1 -1
- package/dist/esm/kol-toolbar.entry.js +1 -1
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js +1 -1
- package/dist/esm/kol-tree-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/kolibri.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/tslib.es6-CxX45GIN.js +4 -0
- package/dist/esm/tslib.es6-CxX45GIN.js.map +1 -0
- package/dist/kolibri/Alert-qJPuIv8b.js +4 -0
- package/dist/{esm/Alert-C3ktyZF6.js.map → kolibri/Alert-qJPuIv8b.js.map} +1 -1
- package/dist/kolibri/Collapsible-VwOBRTg-.js +4 -0
- package/dist/kolibri/{Collapsible-DuN5vPyq.js.map → Collapsible-VwOBRTg-.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsToggle-Dy5sBs-i.js → CustomSuggestionsToggle-BtYSYCn5.js} +1 -1
- package/dist/kolibri/{CustomSuggestionsToggle-Dy5sBs-i.js.map → CustomSuggestionsToggle-BtYSYCn5.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-CIWPKSbC.js +4 -0
- package/dist/{esm/FieldControlStateWrapper-DC5e0v-Z.js.map → kolibri/FieldControlStateWrapper-CIWPKSbC.js.map} +1 -1
- package/dist/kolibri/FormFieldStateWrapper-CKwM-DIl.js +4 -0
- package/dist/kolibri/{FormFieldStateWrapper-CA5QfRbl.js.map → FormFieldStateWrapper-CKwM-DIl.js.map} +1 -1
- package/dist/kolibri/Heading-CMd-jtC1.js +4 -0
- package/dist/kolibri/Heading-CMd-jtC1.js.map +1 -0
- package/dist/kolibri/Icon-BQRZwXjg.js +4 -0
- package/dist/kolibri/{Icon-CZlCqmbX.js.map → Icon-BQRZwXjg.js.map} +1 -1
- package/dist/kolibri/Input-BQNyXbdV.js +4 -0
- package/dist/kolibri/{Input-mBmTM8GQ.js.map → Input-BQNyXbdV.js.map} +1 -1
- package/dist/kolibri/InputStateWrapper-5DGko7Ry.js +4 -0
- package/dist/{esm/InputStateWrapper-vabMC5ny.js.map → kolibri/InputStateWrapper-5DGko7Ry.js.map} +1 -1
- package/dist/kolibri/{InternalUnderlinedBadgeText-BzZpJszE.js → InternalUnderlinedBadgeText-DeV9AANw.js} +1 -1
- package/dist/kolibri/{InternalUnderlinedBadgeText-BzZpJszE.js.map → InternalUnderlinedBadgeText-DeV9AANw.js.map} +1 -1
- package/dist/kolibri/Span-9Jbefwfo.js +4 -0
- package/dist/kolibri/{Span-DNVnBGCS.js.map → Span-9Jbefwfo.js.map} +1 -1
- package/dist/kolibri/{app-globals-BQlSCt2m.js → app-globals-BV7c4MN_.js} +1 -1
- package/dist/kolibri/{app-globals-BQlSCt2m.js.map → app-globals-BV7c4MN_.js.map} +1 -1
- package/dist/kolibri/bem-BiknXNcP.js +4 -0
- package/dist/kolibri/{bem-CjFNhKP6.js.map → bem-BiknXNcP.js.map} +1 -1
- package/dist/kolibri/{bem-DhwfdDrM.js → bem-CHTjklyp.js} +1 -1
- package/dist/kolibri/{bem-DhwfdDrM.js.map → bem-CHTjklyp.js.map} +1 -1
- package/dist/kolibri/{browser-DeS_gcJV.js → browser-Ba2Wl_kh.js} +1 -1
- package/dist/kolibri/browser-Ba2Wl_kh.js.map +1 -0
- package/dist/kolibri/{controller-BBBqpY6I.js → controller-BMZRH6Si.js} +1 -1
- package/dist/kolibri/{controller-BBBqpY6I.js.map → controller-BMZRH6Si.js.map} +1 -1
- package/dist/kolibri/{controller-Kdma2hex.js → controller-B_Bwl5E9.js} +1 -1
- package/dist/kolibri/{controller-Kdma2hex.js.map → controller-B_Bwl5E9.js.map} +1 -1
- package/dist/kolibri/{controller-C3khCPNt.js → controller-C7skty3T.js} +1 -1
- package/dist/{esm/controller-C3khCPNt.js.map → kolibri/controller-C7skty3T.js.map} +1 -1
- package/dist/kolibri/controller-icon-DcftMfhw.js +4 -0
- package/dist/{esm/controller-icon-By46q2Iq.js.map → kolibri/controller-icon-DcftMfhw.js.map} +1 -1
- package/dist/kolibri/{dev.utils-CQdBj8YZ.js → dev.utils-D2H-D7vZ.js} +1 -1
- package/dist/kolibri/{dev.utils-CQdBj8YZ.js.map → dev.utils-D2H-D7vZ.js.map} +1 -1
- package/dist/kolibri/{devtools-DyBftFpK.js → devtools-Bv4R5yuw.js} +1 -1
- package/dist/kolibri/{devtools-DyBftFpK.js.map → devtools-Bv4R5yuw.js.map} +1 -1
- package/dist/kolibri/index-DKFHNf-G.js +5 -0
- package/dist/kolibri/index-DKFHNf-G.js.map +1 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.esm.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-wc.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +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-combobox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js.map +1 -1
- package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js.map +1 -1
- package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +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.js +1 -1
- package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-wc.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +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.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/kolibri.esm.js.map +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/tslib.es6-CxX45GIN.js +4 -0
- package/dist/kolibri/tslib.es6-CxX45GIN.js.map +1 -0
- package/dist/types/components/icon/bem.d.ts +12 -1
- package/dist/types/components/toolbar/shadow.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/functional-components/Alert/bem.d.ts +12 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/doc/nav.md +9 -9
- package/package.json +3 -3
- package/dist/cjs/Alert-DvfeipJE.js +0 -4
- package/dist/cjs/Collapsible-E0eWmXn2.js +0 -4
- package/dist/cjs/FieldControlStateWrapper-D6fvsL8U.js +0 -4
- package/dist/cjs/FormFieldStateWrapper-jfw6Co4e.js +0 -4
- package/dist/cjs/Heading-BG41fGAb.js +0 -4
- package/dist/cjs/Heading-BG41fGAb.js.map +0 -1
- package/dist/cjs/Icon-Io_PDRaI.js +0 -4
- package/dist/cjs/Input-Corn2DzL.js +0 -4
- package/dist/cjs/InputStateWrapper-CTLKkLjX.js +0 -4
- package/dist/cjs/Span-BblS5Ovj.js +0 -4
- package/dist/cjs/browser-CUgMyC7t.js +0 -4
- package/dist/cjs/browser-CUgMyC7t.js.map +0 -1
- package/dist/cjs/controller-icon-CsyY2Y7g.js +0 -4
- package/dist/cjs/index-B45suXZe.js +0 -4
- package/dist/cjs/index-B45suXZe.js.map +0 -1
- package/dist/esm/Alert-C3ktyZF6.js +0 -4
- package/dist/esm/Collapsible-DuN5vPyq.js +0 -4
- package/dist/esm/FieldControlStateWrapper-DC5e0v-Z.js +0 -4
- package/dist/esm/FormFieldStateWrapper-CA5QfRbl.js +0 -4
- package/dist/esm/Heading-CF5mGt3A.js +0 -4
- package/dist/esm/Heading-CF5mGt3A.js.map +0 -1
- package/dist/esm/Input-mBmTM8GQ.js +0 -4
- package/dist/esm/InputStateWrapper-vabMC5ny.js +0 -4
- package/dist/esm/Span-DNVnBGCS.js +0 -4
- package/dist/esm/browser-DeS_gcJV.js +0 -4
- package/dist/esm/browser-DeS_gcJV.js.map +0 -1
- package/dist/esm/controller-icon-By46q2Iq.js +0 -4
- package/dist/esm/index-BEYG-0cN.js +0 -4
- package/dist/esm/index-BEYG-0cN.js.map +0 -1
- package/dist/kolibri/Alert-C3ktyZF6.js +0 -4
- package/dist/kolibri/Collapsible-DuN5vPyq.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-DC5e0v-Z.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper-CA5QfRbl.js +0 -4
- package/dist/kolibri/Heading-CF5mGt3A.js +0 -4
- package/dist/kolibri/Heading-CF5mGt3A.js.map +0 -1
- package/dist/kolibri/Icon-CZlCqmbX.js +0 -4
- package/dist/kolibri/Input-mBmTM8GQ.js +0 -4
- package/dist/kolibri/InputStateWrapper-vabMC5ny.js +0 -4
- package/dist/kolibri/Span-DNVnBGCS.js +0 -4
- package/dist/kolibri/bem-CjFNhKP6.js +0 -4
- package/dist/kolibri/browser-DeS_gcJV.js.map +0 -1
- package/dist/kolibri/controller-icon-By46q2Iq.js +0 -4
- package/dist/kolibri/index-BEYG-0cN.js +0 -5
- package/dist/kolibri/index-BEYG-0cN.js.map +0 -1
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{_ as e,K as o}from"./Heading-CF5mGt3A.js";import{h as a,F as n}from"./index-BEYG-0cN.js";import{c as s}from"./clsx-eK3rPvPS.js";import{e as l,d as i}from"./component-names-CkE54Ym7.js";import{t}from"./i18n-CdSCDnmA.js";import{a as c,b as r,c as d,d as u}from"./bem-DhwfdDrM.js";const b=t("kol-error"),f=t("kol-info"),m=t("kol-warning"),v=t("kol-success"),p=t("kol-message"),g=({ariaLabel:e,icon:o})=>a(n,null,a("span",{class:"visually-hidden"},e),a(l,{class:c,_label:"",_icons:o})),h=({type:e,label:o})=>{switch(e){case"error":return a(g,{ariaLabel:b,icon:"codicon codicon-error",label:o});case"info":return a(g,{ariaLabel:f,icon:"codicon codicon-info",label:o});case"warning":return a(g,{ariaLabel:m,icon:"codicon codicon-warning",label:o});case"success":return a(g,{ariaLabel:v,icon:"codicon codicon-pass",label:o});default:return a(g,{ariaLabel:p,icon:"codicon codicon-comment",label:o})}},k=t("kol-close-alert"),_=()=>{if("undefined"==typeof navigator||"function"!=typeof navigator.vibrate)return;const a=navigator.userActivation;if(((null==a?void 0:a.isActive)||(null==a?void 0:a.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(a){}},y=(l,n)=>{const{class:t={},alert:c=!1,hasCloser:b=!1,label:m,level:v=0,type:g="default",variant:p="msg",onAlertTimeout:f,onCloserClick:y}=l,C=e(l,["class","alert","hasCloser","label","level","type","variant","onAlertTimeout","onCloserClick"]);c&&(_(),setTimeout(()=>{null==f||f()},1e4));const j=r("kol-alert",{hasCloser:!!b,[`type-${g}`]:!0,[`variant-${p}`]:!0}),A=r("kol-alert","heading",{[`h${v}`]:!0}),L=Object.assign({class:s(t,j),role:c?"error"===g?"alert":"status":void 0},C);return a("div",Object.assign({},L,{"data-testid":"alert"}),a("div",{class:"kol-alert__container"},a(h,{label:m,type:g}),a("div",{class:"kol-alert__container-content"},m&&a(o,{class:A,level:v,id:"heading"},m),"msg"===p&&a("span",{class:d,"aria-describedby":m?"heading":void 0},n)),b&&a(i,{class:u,"data-testid":"alert-close-button",_ariaDescription:(null==m?void 0:m.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:k,_on:{onClick:y},_tooltipAlign:"left"})),"card"===p&&a("div",{class:d,"aria-describedby":m?"heading":void 0},n))};export{y as K};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{_ as l,K as o}from"./Heading-CF5mGt3A.js";import{h as i}from"./index-BEYG-0cN.js";import{c as e}from"./clsx-eK3rPvPS.js";import{d as s}from"./component-names-CkE54Ym7.js";const d=(a,n)=>{const{id:d,class:c,label:r,level:p=1,disabled:t,open:v,onClick:_,HeadingProps:b={},HeadingButtonProps:m={},ContentProps:u={}}=a,C=l(a,["id","class","label","level","disabled","open","onClick","HeadingProps","HeadingButtonProps","ContentProps"]),f=v?"remove":"add";return i("div",Object.assign({id:d,class:e("collapsible",{"collapsible--disabled":!0===t,"collapsible--open":!0===v},c)},C),i(o,{ref:null==b?void 0:b.ref,level:p,class:e("collapsible__heading",null==b?void 0:b.class)},i(s,{class:e("collapsible__heading-button",null==m?void 0:m.class),ref:null==m?void 0:m.ref,slot:"expert",_ariaControls:`${d}-control`,_ariaExpanded:v,_disabled:t,_icons:(null==m?void 0:m._icons)||`codicon codicon-${f}`,_label:r,_on:{onClick:_}})),i("div",{class:e("collapsible__wrapper",null==u?void 0:u.wrapperClass)},i("div",{class:e("collapsible__wrapper-animation",null==u?void 0:u.animationClass)},i("div",{"aria-hidden":!1===v?"true":void 0,class:e("collapsible__content",null==u?void 0:u.class),id:`${d}-control`},n))))};export{d as K};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{_ as o}from"./Heading-CF5mGt3A.js";import{h as l,F as e}from"./index-BEYG-0cN.js";import{c as t}from"./clsx-eK3rPvPS.js";import"./common-8fBdMvJM.js";import{b as i,s as n}from"./reuse-CX4AQDkS.js";import{a as r,K as s,b as a,c as d}from"./FormFieldStateWrapper-CA5QfRbl.js";const c=(e,s)=>{var{class:i}=e,r=o(e,["class"]);return l("div",Object.assign({class:t("kol-field-control__input",i)},r),s)},f=(b,f)=>{const{class:p,id:h,disabled:u,label:g,hideLabel:_,labelAlign:m,renderNoTooltip:y,hint:K,renderNoHint:j,tooltipAlign:k,accessKey:C,shortKey:v,msg:A,touched:B,required:P,readonly:O,fieldControlInputProps:L,fieldControlLabelProps:N,fieldControlTooltipProps:q,fieldControlHintProps:x}=b,F=o(b,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","renderNoHint","tooltipAlign","accessKey","shortKey","msg","touched","required","readonly","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]),H=!j,T=!y,S=d(A,B),E=n(g),G=T&&!E&&_,I=i(C,v),M="string"==typeof A?"error":null==A?void 0:A._type,Q=[l(e,null,l(c,Object.assign({},L),f),G&&l(r,Object.assign({},q||{},{id:h,label:g,hideLabel:_,align:k,badgeText:I}))),l(s,Object.assign({},N||{},{id:h,baseClassName:"kol-field-control",class:t(null==N?void 0:N.class,{"kol-field-control__label--visually-hidden":Boolean(_)}),hasExpertSlot:E,label:g,accessKey:C,shortKey:v}))];"left"===m&&Q.reverse();const $={"kol-field-control--disabled":Boolean(u),"kol-field-control--required":Boolean(P),"kol-field-control--touched":Boolean(B),"kol-field-control--hide-label":Boolean(_),"kol-field-control--read-only":Boolean(O),[`kol-field-control--${M||"error"}`]:Boolean(S),[`kol-field-control--label-align-${m}`]:Boolean(m)};return l("div",Object.assign({class:t("kol-field-control",$,p)},F),Q,H&&l(a,Object.assign({},x||{},{baseClassName:"kol-field-control",id:h,hint:K})))};function b(l){const e={id:l._id,disabled:l._disabled,msg:l._msg,hint:l._hint,label:l._label,hideLabel:l._hideLabel,touched:l._touched};return"_required"in l&&(e.required=l._required),"_readOnly"in l&&(e.readonly=l._readOnly),"_labelAlign"in l&&(e.labelAlign=l._labelAlign),"_accessKey"in l&&(e.accessKey=l._accessKey),"_shortKey"in l&&(e.shortKey=l._shortKey),e}const p=(e,s)=>{var{state:i}=e,r=o(e,["state"]);return l(f,Object.assign({},b(i),r),s)};export{p as F};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{d as e,e as t,p as i,o as r,w as n,G as s,g as o,j as a,s as l,t as d}from"./common-8fBdMvJM.js";import{v as c,a as u,b as h,c as f}from"./access-and-short-key-bcID78Ha.js";import{v as m}from"./disabled-BydergHu.js";import{v as p}from"./hide-label-DRunOux4.js";import{a as v}from"./label-CdtNxOKu.js";import{v as b}from"./tooltip-align-_VI7LehI.js";import{d as g,K as y}from"./events-CoPFQEiC.js";import{A as _}from"./associated.controller-BKIODHIT.js";import{a as x,c as j,i as L,r as k}from"./isObject-DvSELytj.js";import{_ as C}from"./Heading-CF5mGt3A.js";import{h as O,F as B}from"./index-BEYG-0cN.js";import{c as K}from"./clsx-eK3rPvPS.js";import{K as S}from"./Alert-C3ktyZF6.js";import{i as T,K as F}from"./InternalUnderlinedBadgeText-BzZpJszE.js";import{b as P,s as E}from"./reuse-CX4AQDkS.js";import{t as M}from"./i18n-CdSCDnmA.js";import{a as I}from"./component-names-CkE54Ym7.js";const $=(t,n)=>{e(t,"_adjustHeight",n)},D=(t,n,o)=>{e(t,"_hideMsg",n,o)},H=(e,n)=>{t(e,"_hint",n)},w=(e,t)=>{r(t,()=>{try{t=i(t)}catch(e){}n(e,"_msg",e=>{if(void 0===e)return!0;if("string"==typeof e&&e.length>0)return!0;if(s(e)&&null!==e){const t=e._description;return o(t,1)}return!1},new Set(["MsgPropType","string"]),t)})};function N(e,t){var n;if(!e)return!1;const o="string"==typeof e?"error":null!==(n=e._type)&&void 0!==n?n:"error";return!0===t||"error"!==o}function A(e){if("string"==typeof e)try{return i(e)}catch(t){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}const q=(t,n)=>{e(t,"_touched",n)},z=e=>{var t,n,{alert:o,msg:i,id:r,class:s}=e,a=C(e,["alert","msg","id","class"]);const l=A(i);return O(S,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:K("kol-form-field__msg",s)},a),(null==l?void 0:l._description)||void 0)};var G="[object Symbol]";function W(e){return"symbol"==typeof e||x(e)&&j(e)==G}var J=/\s/;function Q(e){for(var t=e.length;t--&&J.test(e.charAt(t)););return t}var V=/^\s+/;function Y(e){return e?e.slice(0,Q(e)+1).replace(V,""):e}var Z=NaN,R=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,X=/^0o[0-7]+$/i,ee=parseInt;function te(e){if("number"==typeof e)return e;if(W(e))return Z;if(L(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=L(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Y(e);var n=U.test(e);return n||X.test(e)?ee(e.slice(2),n?2:8):R.test(e)?Z:+e}var ie=function(){return k.Date.now()},re="Expected a function",ne=Math.max,se=Math.min;function oe(e,t,n){var o,i,r,s,a,l,c=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError(re);function m(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=r}function f(){var e=ie();if(p(e))return g(e);a=setTimeout(f,function(e){var n=t-(e-l);return h?se(n,r-(e-c)):n}(e))}function g(e){return a=void 0,u&&o?m(e):(o=i=void 0,s)}function v(){var e=ie(),n=p(e);if(o=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(f,t),d?m(e):s}(l);if(h)return clearTimeout(a),a=setTimeout(f,t),m(l)}return void 0===a&&(a=setTimeout(f,t)),s}return t=te(t)||0,L(n)&&(d=!!n.leading,r=(h="maxWait"in n)?ne(te(n.maxWait)||0,t):r,u="trailing"in n?!!n.trailing:u),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,o=l=i=a=void 0},v.flush=function(){return void 0===a?s:g(ie())},v}const ae=({hasExpertSlot:e,accessKey:t,shortKey:n,label:o,showBadge:i=!0})=>{if(e)return O("slot",{name:"expert"});if(!o)return null;const r=T(t)||T(n);if(!i||!r)return O("span",null,o);const s=P(t,n);return O(B,null,O(F,{badgeText:s,label:o})," ",O("kbd",{class:"badge-text-hint","aria-hidden":"true"},s))},le=e=>{var{component:t="label",id:n,baseClassName:o="kol-form-field",class:i,accessKey:r,shortKey:s,label:a,hideLabel:l,hasExpertSlot:c,showBadge:d}=e,h=C(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const u=!c&&l;return O(t,Object.assign({},h,{class:K(`${o}__label`,i),id:u?void 0:`${n}-label`,hidden:u,htmlFor:n}),O("span",{class:K(`${o}__label-text`)},O(ae,{hasExpertSlot:c,accessKey:r,shortKey:s,label:a,showBadge:d})))},de=e=>{var{id:t,class:n,hint:o,baseClassName:i="kol-form-field"}=e,r=C(e,["id","class","hint","baseClassName"]);return o?O("span",Object.assign({class:K(`${i}__hint`,n),id:`${t}-hint`},r),o):null},ce=({currentLength:e,currentLengthDebounced:t,maxLength:n,maxLengthBehavior:o})=>{let i,r;const s=["kol-form-field__counter"];if("hard"===o)i="number"==typeof n?M("kol-character-counter-current-of-max",{placeholders:{current:String(e),max:String(n)}}):M("kol-character-counter-current",{placeholders:{current:String(e)}}),r="number"==typeof n?M("kol-character-counter-current-of-max-aria",{placeholders:{current:String(t),max:String(n)}}):M("kol-character-counter-current",{placeholders:{current:String(t)}});else{if("number"!=typeof n)return null;{const o=n-e,a=o<0,l=n-t,c=l<0;i=a?M("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(o))}}):M("kol-character-limit-remaining",{placeholders:{remaining:String(o)}}),r=c?M("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(l))}}):M("kol-character-limit-remaining",{placeholders:{remaining:String(l)}}),a&&s.push("kol-form-field__counter--exceeded")}}return O(B,null,O("span",{class:K(s),"aria-hidden":"true","data-testid":"input-counter"},i),O("span",{"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria"},r))},ue=({id:e,maxLength:t})=>O("span",{id:`${e}-character-limit-hint`,class:"visually-hidden"},M("kol-character-limit-hint",{placeholders:{limit:String(t)}})),he=({id:e,align:t,badgeText:n,hideLabel:o,label:i,class:r})=>O(I,{"aria-hidden":"true",class:K("kol-form-field__tooltip",r),_badgeText:n,_align:t,_id:o?`${e}-label`:void 0,_label:i});function fe(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const me=(e,t)=>{var{class:n}=e,o=C(e,["class"]);return O("div",Object.assign({class:K("kol-form-field__input",n)},o),t)},pe=(e,t)=>{var n;const{component:o="div",renderNoLabel:i,renderNoTooltip:r,renderNoHint:s,anotherChildren:a,id:l,required:c,alert:d,disabled:h,class:u,msg:m,hideMsg:p,hideLabel:f,label:g,hint:v,accessKey:b,shortKey:_,tooltipAlign:y,counter:L,readOnly:x,touched:j,maxLength:k,formFieldLabelProps:B,formFieldHintProps:M,formFieldTooltipProps:S,formFieldMsgProps:T,formFieldInputProps:F}=e,I=C(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","maxLength","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldInputProps"]),D=!i,H=!s,A=!r,$=E(g),w=N(m,j),q=P(b,_),W=A&&!$&&f,G="string"==typeof m?"error":null!==(n=null==m?void 0:m._type)&&void 0!==n?n:"error";let V={"kol-form-field--disabled":Boolean(h),"kol-form-field--required":Boolean(c),"kol-form-field--touched":Boolean(j),"kol-form-field--hide-label":Boolean(f),"kol-form-field--read-only":Boolean(x),"kol-form-field--hidden-msg":Boolean(p)};return w&&(V=Object.assign(Object.assign({},V),{[`kol-form-field--${G||"error"}`]:!0,[`kol-form-field--${fe({type:G})}`]:!0})),O(o,Object.assign({class:K("kol-form-field",V,u)},I),D&&O(le,Object.assign({},B||{},{id:l,hasExpertSlot:$,hideLabel:f,label:g,accessKey:b,shortKey:_})),O(me,Object.assign({},F),t,W&&O(he,Object.assign({},S||{},{id:l,label:g,hideLabel:f,align:y,badgeText:q}))),L?O(ce,Object.assign({},L)):null,k?O(ue,{id:l,maxLength:k}):null,w&&!p&&O(z,Object.assign({},T||{},{id:l,alert:d,msg:m})),H&&O(de,Object.assign({},M||{},{id:l,hint:v})),a)};function ve({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&n?n:void 0}}class be extends _{constructor(e,t,n){super(e,t,n),this.component=e}validateTouched(e){q(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class ge extends be{constructor(e,t,n){super(e,t,n),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.updateCurrentLengthDebounced=oe(e=>{l(this.component,"_currentLengthDebounced",e)},500),this.component=e}validateAccessKey(e){c(this.component,e),u(e,this.component._shortKey)}validateAdjustHeight(e){$(this.component,e)}validateDisabled(e){m(this.component,e)}validateTooltipAlign(e){b(this.component,e)}validateHideMsg(e){D(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&d("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){p(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&d("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){H(this.component,e)}validateId(e){t(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||a("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){v(this.component,e,{required:!0})}validateMsg(e){w(this.component,e)}validateOn(e){"object"==typeof e&&l(this.component,"_on",e)}validateShortKey(e){h(this.component,e),u(this.component._accessKey,e)}validateSmartButton(e){r(e,()=>{try{e=i(e)}catch(e){}l(this.component,"_smartButton",e)})}validateTabIndex(e){f(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),u(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&g(this.host,e,t)}onBlur(e){var t;this.component._touched=!0,this.emitEvent(y.blur),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onBlur)&&this.component._on.onBlur(e)}onChange(e,t){var n;void 0===t&&(t=e.target.value),this.emitEvent(y.change,t),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach(e=>e(t))}onInput(e,t=!0,n){var o;void 0===n&&(n=e.target.value),this.emitEvent(y.input,n),t&&this.setFormAssociatedValue(n),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onInput)&&this.component._on.onInput(e,n)}onClick(e){var t;this.emitEvent(y.click),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onClick)&&this.component._on.onClick(e)}onFocus(e){var t;this.emitEvent(y.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}hasSoftCharacterLimit(){return"number"==typeof this.component.state._maxLength&&"soft"===this.component.state._maxLengthBehavior}hasCounter(){return!0===this.component.state._hasCounter}}const ye=e=>{var t;const n=e._msg,o="string"==typeof n?n:null==n?void 0:n._description,i="string"==typeof n?"error":null!==(t=null==n?void 0:n._type)&&void 0!==t?t:"error",r=Boolean(o&&o.length>0),s="error"===i&&r&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return r&&!e._hideMsg&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:s,hasHint:a,ariaDescribedBy:l}};function _e(e){const t={id:e._id,disabled:e._disabled,msg:e._msg,hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_accessKey"in e&&(t.accessKey=e._accessKey),"_shortKey"in e&&(t.shortKey=e._shortKey),"_maxLength"in e&&(t.maxLength=e._maxLength),"_currentLength"in e&&"number"==typeof e._currentLength&&"_currentLengthDebounced"in e&&"number"==typeof e._currentLengthDebounced&&"_hasCounter"in e&&!0===e._hasCounter&&(t.counter={currentLength:e._currentLength,currentLengthDebounced:e._currentLengthDebounced,maxLength:e._maxLength,maxLengthBehavior:e._maxLengthBehavior||"hard"}),t}const xe=(e,t)=>{var{state:n}=e,o=C(e,["state"]);return O(pe,Object.assign({},_e(n),o),t)};export{xe as F,ge as I,le as K,he as a,de as b,N as c,ve as d,ye as g};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{h as e}from"./index-BEYG-0cN.js";import{c as r}from"./clsx-eK3rPvPS.js";function s(e,s){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)s.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}"function"==typeof SuppressedError&&SuppressedError;const n=1,o=6;function c(e){return e>=n&&e<=6}function l(e){return c(e)?`h${e}`:"strong"}const a=(a,o)=>{var{class:t,level:c=n}=a,i=s(a,["class","level"]);const p=l(c);return e(p,Object.assign({class:r("kol-headline",`kol-headline--${p}`,t)},i),o)},t=(n,a)=>{var{class:l}=n,o=s(n,["class"]);return e("p",Object.assign({class:r("kol-headline kol-headline--group kol-headline--secondary",l)},o),a)},i=(l,o)=>{var{secondaryHeadline:c,level:i=n,class:p,HeadingGroupProps:d={},SecondaryHeadlineProps:u={}}=l,g=s(l,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const O=Object.assign({level:i},g);if(!c)return e(a,Object.assign({class:r(p,"kol-headline--single")},O),o);const{class:y}=d,b=s(d,["class"]),f=Object.assign({class:r("kol-heading-group",y)},b);return e("hgroup",Object.assign({},f),e(a,Object.assign({class:r(p,"kol-headline--group","kol-headline--primary")},O),o),e(t,Object.assign({},u),c))};export{i as K,s as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Heading-CF5mGt3A.js","sources":["../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","src/functional-components/Heading/Heading.tsx"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase } from '@stencil/core/internal';\nimport type { HeadingLevel } from '../../schema';\n\ntype HGroupProps = JSXBase.HTMLAttributes<HTMLElement>;\n\n// Define a base type for common props\ntype BaseProps = JSXBase.HTMLAttributes<HTMLHeadingElement | HTMLElement> & {\n\tlevel?: HeadingLevel;\n};\n\n// Define a type for the main headline props\ntype HeadlineProps = BaseProps;\n\n// Define a type for the secondary headline props\ntype SecondaryHeadlineProps = JSXBase.HTMLAttributes<HTMLParagraphElement>;\n\n// Define a type for the main Heading component props\nexport type HeadingProps = HeadlineProps & {\n\tsecondaryHeadline?: string;\n\tHeadingGroupProps?: HGroupProps;\n\tSecondaryHeadlineProps?: SecondaryHeadlineProps;\n};\n\nconst MIN_HEADING_LEVEL = 1;\nconst MAX_HEADING_LEVEL = 6;\n\n// Define a union type for valid headline tags\ntype HeadlineTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'strong';\n\n/**\n * Checks if the given level is a valid heading level.\n * @param level - The heading level to check.\n * @returns True if the level is valid, false otherwise.\n */\nfunction isValidHeadingLevel(level: number): boolean {\n\treturn level >= MIN_HEADING_LEVEL && level <= MAX_HEADING_LEVEL;\n}\n\n/**\n * Returns the appropriate headline tag based on the level.\n * If the level is invalid, returns 'strong'.\n * @param level - The heading level.\n * @returns The corresponding headline tag.\n */\nexport function getHeadlineTag(level: HeadingLevel | number): HeadlineTag {\n\treturn isValidHeadingLevel(level) ? (`h${level}` as HeadlineTag) : 'strong';\n}\n\n/**\n * Functional component for rendering a headline.\n * @param props - The properties for the headline component.\n * @param children - The children to render inside the headline.\n * @returns A VNode representing the headline.\n */\nconst KolHeadlineFc: FC<HeadlineProps> = ({ class: classNames, level = MIN_HEADING_LEVEL, ...other }, children) => {\n\tconst HeadlineTag = getHeadlineTag(level);\n\n\treturn (\n\t\t<HeadlineTag class={clsx('kol-headline', `kol-headline--${HeadlineTag}`, classNames)} {...other}>\n\t\t\t{children}\n\t\t</HeadlineTag>\n\t);\n};\n\n/**\n * Functional component for rendering a secondary headline.\n * The secondary text is rendered as a `<p>` because according to the HTML `hgroup`\n * specification the subheading does not create its own outline level.\n * @param props - The properties for the secondary headline component.\n * @param children - The children to render inside the secondary headline.\n * @returns A VNode representing the secondary headline.\n */\nconst KolSecondaryHeadlineFc: FC<SecondaryHeadlineProps> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<p class={clsx('kol-headline kol-headline--group kol-headline--secondary', classNames)} {...other}>\n\t\t\t{children}\n\t\t</p>\n\t);\n};\n\n/**\n * Functional component for rendering a heading with an optional secondary headline.\n * @param props - The properties for the heading component.\n * @param children - The children to render inside the heading.\n * @returns A VNode representing the heading.\n */\nconst KolHeadingFc: FC<HeadingProps> = (\n\t{ secondaryHeadline, level = MIN_HEADING_LEVEL, class: classNames, HeadingGroupProps = {}, SecondaryHeadlineProps = {}, ...other },\n\tchildren,\n) => {\n\tconst headlineProps: HeadlineProps = {\n\t\tlevel,\n\t\t...other,\n\t};\n\n\tif (!secondaryHeadline) {\n\t\treturn (\n\t\t\t<KolHeadlineFc class={clsx(classNames, 'kol-headline--single')} {...headlineProps}>\n\t\t\t\t{children}\n\t\t\t</KolHeadlineFc>\n\t\t);\n\t}\n\n\tconst { class: groupClassNames, ...groupOthers } = HeadingGroupProps;\n\tconst headlineGroupProps: HGroupProps = {\n\t\tclass: clsx('kol-heading-group', groupClassNames),\n\t\t...groupOthers,\n\t};\n\n\treturn (\n\t\t<hgroup {...headlineGroupProps}>\n\t\t\t<KolHeadlineFc class={clsx(classNames, 'kol-headline--group', 'kol-headline--primary')} {...headlineProps}>\n\t\t\t\t{children}\n\t\t\t</KolHeadlineFc>\n\t\t\t<KolSecondaryHeadlineFc {...SecondaryHeadlineProps}>{secondaryHeadline}</KolSecondaryHeadlineFc>\n\t\t</hgroup>\n\t);\n};\n\nexport default KolHeadingFc;\n"],"names":[],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AA4BO,SAAS,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7B,EAAE,IAAI,CAAC,GAAG,EAAE;AACZ,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;AACrF,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjB,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,MAAM,CAAC,qBAAqB,KAAK,UAAU;AACrE,MAAM,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC9E,UAAU,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACxF,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/B;AACA,EAAE,OAAO,CAAC;AACV;;AAmRuB,OAAO,eAAe,KAAK,UAAU,GAAG,eAAe,GAAG,UAAU,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;AACvH,EAAE,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,OAAO,CAAC;AAC5B,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,iBAAiB,EAAE,CAAC,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC,CAAC,UAAU,GAAG,UAAU,EAAE,CAAC;AAClF;;ACjTA,MAAM,iBAAiB,GAAG,CAAC;AAC3B,MAAM,iBAAiB,GAAG,CAAC;AAU3B,SAAS,mBAAmB,CAAC,KAAa,EAAA;AACzC,IAAA,OAAO,KAAK,IAAI,iBAAiB,IAAI,KAAK,IAAI,iBAAiB;AAChE;AAQM,SAAU,cAAc,CAAC,KAA4B,EAAA;AAC1D,IAAA,OAAO,mBAAmB,CAAC,KAAK,CAAC,GAAI,CAAI,CAAA,EAAA,KAAK,CAAkB,CAAA,GAAG,QAAQ;AAC5E;AAQA,MAAM,aAAa,GAAsB,CAAC,EAA0D,EAAE,QAAQ,KAAI;IAAxE,IAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAG,iBAAiB,EAAA,GAAA,EAAY,EAAP,KAAK,GAAxD,MAAA,CAAA,EAAA,EAAA,CAAA,OAAA,EAAA,OAAA,CAA0D,CAAF;AACjG,IAAA,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,CAAC;AAEzC,IAAA,QACC,EAAC,WAAW,EAAA,MAAA,CAAA,MAAA,CAAA,EAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,CAAA,cAAA,EAAiB,WAAW,CAAA,CAAE,EAAE,UAAU,CAAC,EAAA,EAAM,KAAK,CAC7F,EAAA,QAAQ,CACI;AAEhB,CAAC;AAUD,MAAM,sBAAsB,GAA+B,CAAC,EAA+B,EAAE,QAAQ,KAAI;QAA7C,EAAE,KAAK,EAAE,UAAU,EAAA,GAAA,EAAY,EAAP,KAAK,GAAA,MAAA,CAAA,EAAA,EAA7B,SAA+B,CAAF;IACxF,QACC,CAAG,CAAA,GAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,0DAA0D,EAAE,UAAU,CAAC,IAAM,KAAK,CAAA,EAC/F,QAAQ,CACN;AAEN,CAAC;AAQD,MAAM,YAAY,GAAqB,CACtC,EAAkI,EAClI,QAAQ,KACL;QAFH,EAAE,iBAAiB,EAAE,KAAK,GAAG,iBAAiB,EAAE,KAAK,EAAE,UAAU,EAAE,iBAAiB,GAAG,EAAE,EAAE,sBAAsB,GAAG,EAAE,OAAY,EAAP,KAAK,GAAhI,MAAA,CAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,OAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,wBAAA,CAAkI,CAAF;AAGhI,IAAA,MAAM,aAAa,GAClB,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EACF,EAAA,KAAK,CACR;IAED,IAAI,CAAC,iBAAiB,EAAE;QACvB,QACC,CAAC,CAAA,aAAa,kBAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,sBAAsB,CAAC,EAAM,EAAA,aAAa,GAC/E,QAAQ,CACM;;AAIlB,IAAA,MAAM,EAAE,KAAK,EAAE,eAAe,EAAqB,GAAA,iBAAiB,EAAjC,WAAW,GAAK,MAAA,CAAA,iBAAiB,EAA9D,CAAA,OAAA,CAA0C,CAAoB;AACpE,IAAA,MAAM,kBAAkB,GAAA,MAAA,CAAA,MAAA,CAAA,EACvB,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,eAAe,CAAC,EAC9C,EAAA,WAAW,CACd;IAED,QACC,8BAAY,kBAAkB,CAAA,EAC7B,CAAA,CAAC,aAAa,EAAC,MAAA,CAAA,MAAA,CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,qBAAqB,EAAE,uBAAuB,CAAC,EAAA,EAAM,aAAa,CAAA,EACvG,QAAQ,CACM,EAChB,CAAC,CAAA,sBAAsB,oBAAK,sBAAsB,CAAA,EAAG,iBAAiB,CAA0B,CACxF;AAEX;;;;","x_google_ignoreList":[0]}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{h as s}from"./index-BEYG-0cN.js";import{e as o}from"./component-names-CkE54Ym7.js";const n=n=>{const{class:c,style:e,icons:l,label:t,onClick:a}=n;return s(o,{class:c,style:e,onClick:a,_icons:l,_label:t})};export{n as K};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{_ as e}from"./Heading-CF5mGt3A.js";import{h as o,F as l}from"./index-BEYG-0cN.js";import{c as s}from"./clsx-eK3rPvPS.js";import"./common-8fBdMvJM.js";import{d as r,c as i}from"./FormFieldStateWrapper-CA5QfRbl.js";const a=a=>{const{class:t,msg:d,required:n,disabled:u,touched:c,readonly:p,ariaDescribedBy:b,hideLabel:m,label:g,suggestions:y,value:B}=a,j=e(a,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),f=i(d,c),h="string"==typeof d?"error":null==d?void 0:d._type,v={"kol-input--disabled":Boolean(u),"kol-input--required":Boolean(n),"kol-input--touched":Boolean(c),"kol-input--readonly":Boolean(p),[`kol-input--${h||"error"}`]:f},k=Object.assign(Object.assign({class:s("kol-input",v,t),required:n,disabled:u,readonly:p,type:"text",list:y?`${j.id}-list`:void 0},r({ariaDescribedBy:b,hideLabel:m,label:g})),j);return o(l,null,o("input",Object.assign({},k,{value:B})),y)};export{a as I};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{_ as i}from"./Heading-CF5mGt3A.js";import{h as e}from"./index-BEYG-0cN.js";import{I as t}from"./Input-mBmTM8GQ.js";import{g as n}from"./FormFieldStateWrapper-CA5QfRbl.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{_ as l}from"./Heading-CF5mGt3A.js";import{h as a,F as e}from"./index-BEYG-0cN.js";import{c as s}from"./clsx-eK3rPvPS.js";import{K as n}from"./Icon-CZlCqmbX.js";import"./common-8fBdMvJM.js";import{s as t}from"./reuse-CX4AQDkS.js";import{m as o}from"./markdown-DL-PkOqb.js";import{i as r,K as i}from"./InternalUnderlinedBadgeText-BzZpJszE.js";import{i as c}from"./isObject-DvSELytj.js";const d=l=>{const{class:e,style:o,label:t,icon:r}=l;return a(n,{class:s("icon",e),style:o,label:t||"",icons:r})},b=({label:l,hideLabel:e,allowMarkdown:n,badgeText:t})=>{if(e||!r(l))return null;const c="kol-span__label";return n?a("span",{class:s(c,"md"),innerHTML:o(l)}):a("span",{class:s(c)},t?a(i,{label:l,badgeText:t}):l)},m=({hideLabel:s,label:l,badgeText:n,allowMarkdown:o},i)=>{const c=!t(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),r(n)&&n.length>0&&a("kbd",{class:"badge-text-hint","aria-hidden":"true"},n))},p=(e,n)=>{const{class:o,label:t,hideLabel:i=!1,badgeText:b,allowMarkdown:p,icons:g}=e,j=l(e,["class","label","hideLabel","badgeText","allowMarkdown","icons"]);let h=null,k=null,u=null,w=null;return c(g)?(h=g.top,k=g.left,u=g.right,w=g.bottom):r(g)&&(k={icon:g}),a("span",Object.assign({class:s("kol-span",{"kol-span--hide-label":i},o)},j),c(h)&&a(d,Object.assign({class:"top"},h)),a("span",{class:"kol-span__container"},c(k)&&a(d,Object.assign({class:"left"},k)),a(m,{label:t,hideLabel:i,allowMarkdown:p,badgeText:b},n),c(u)&&a(d,Object.assign({class:"right"},u))),c(w)&&a(d,Object.assign({class:"bottom"},w)))};export{p as K};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"browser-DeS_gcJV.js","sources":["../../node_modules/.pnpm/easy-bem@1.1.1/node_modules/easy-bem/index.js","../../node_modules/.pnpm/typed-bem@1.0.0-rc.7/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 r from\"easy-bem\";function s(){const e=new Map;return(t,n,o)=>{try{return e.get(t)(n,o)}catch{return e.set(t,r(t)).get(t)(n,o)}}}function a(...e){const t=new Set;for(const n of e)if(n)for(const o of n.split(/\\s+/))t.add(o);return[...t].join(\" \")}export{s as generateBemClassNames,a as uniqueClassNames};\n//# sourceMappingURL=browser.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,OAAc,GAAG,SAAS,GAAG,CAAC,aAAa,EAAE;AAC7C,KAAI,OAAO,UAAU,aAAa,EAAE,IAAI,EAAE;SAClC,IAAI,CAAC,aAAa,EAAE;aAChB,OAAO,aAAa,CAAC;UACxB;AACT;SACQ,IAAI,OAAO,CAAC;AACpB;AACA,SAAQ,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE;aACnC,OAAO,GAAG,aAAa,CAAC;AACpC,UAAS,MAAM;aACH,IAAI,GAAG,aAAa,CAAC;UACxB;AACT;AACA,SAAQ,IAAI,IAAI,GAAG,aAAa,CAAC;SACzB,IAAI,OAAO,EAAE;AACrB,aAAY,IAAI,IAAI,IAAI,GAAG,OAAO,CAAC;UAC1B;AACT;AACA,SAAQ,OAAO,IAAI;AACnB,aAAY,IAAI;AAChB,mBAAkB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU,MAAM,EAAE,IAAI,EAAE;AACnE,qBAAoB,IAAI,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3C;qBACoB,IAAI,KAAK,EAAE;yBACP,MAAM,IAAI,GAAG;6BACT,OAAO,KAAK,KAAK,SAAS;AACtD,oCAAmC,IAAI,GAAG,IAAI,GAAG,IAAI;oCAClB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,KAAK,CAAC;AACpE,0BAAyB,CAAC;sBACL;AACrB;qBACoB,OAAO,MAAM,CAAC;kBACjB,EAAE,EAAE,CAAC;AACtB,mBAAkB,EAAE;AACpB,UAAS,CAAC;AACV,MAAK,CAAC;AACN;;;;;;;ACtDwB,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,GAAG,CAAC,OAAM,CAAC,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;;;;","x_google_ignoreList":[0,1]}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import{h as n}from"./index-BEYG-0cN.js";import{_ as t}from"./Heading-CF5mGt3A.js";import{c as o}from"./clsx-eK3rPvPS.js";import{w as e}from"./common-8fBdMvJM.js";import{c as s,I as i}from"./FormFieldStateWrapper-CA5QfRbl.js";import{d as r}from"./component-names-CkE54Ym7.js";import{K as c}from"./Icon-CZlCqmbX.js";import{i as a}from"./InternalUnderlinedBadgeText-BzZpJszE.js";import{i as l}from"./isObject-DvSELytj.js";import{v as d}from"./icons-72ER78AW.js";const m=(s,e)=>{var{position:i="start",class:r}=s,a=t(s,["position","class"]);const c="kol-input-container__adornment",l=`${c}--${i}`;return n("div",Object.assign({class:o(c,l,r)},a),e)};function u(n){return!!n&&(Array.isArray(n)?n.length>0:Boolean(n))}const b=(s,e)=>{var{class:i}=s,r=t(s,["class"]);return n("div",Object.assign({class:o("kol-input-container__container",i)},r),e)},p=(e,i)=>{const{class:r,startAdornment:a,endAdornment:c,disabled:l,msg:d,touched:p,containerProps:g,startAdornmentProps:h,endAdornmentProps:j}=e,_=t(e,["class","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps"]),f=s(d,p),v="string"==typeof d?"error":null==d?void 0:d._type,A={"kol-input-container--disabled":l,[`kol-input-container--${v||"error"}`]:f},k=Object.assign({class:o("kol-input-container",A,r)},_);return u(a)||u(c)?n("div",Object.assign({},k),n(m,Object.assign({},h,{position:"start"}),a),n(b,Object.assign({},g),i),n(m,Object.assign({},j,{position:"end"}),c)):n("div",Object.assign({},k),n(b,Object.assign({},g),i))},f=s=>{const{label:o,icons:e,hideLabel:i,disabled:a,onClick:c}=s,l=t(s,["label","icons","hideLabel","disabled","onClick"]);return n(r,Object.assign({_label:o,_disabled:a,_icons:e,_hideLabel:i,_on:{onClick:c}},l))},j=s=>{const{componentName:o="button",label:e,icon:i,onClick:r}=s,a=t(s,["componentName","label","icon","onClick"]);return n("button"===o?f:c,Object.assign({label:e||"",hideLabel:!0,icons:`codicon codicon-${i}`,onClick:r},a))};function h(n){let t,s;return"_icons"in n&&(t=n._icons),"_smartButton"in n&&(s=n._smartButton),{icons:t,smartButton:s,disabled:n._disabled,msg:n._msg,touched:n._touched}}const v=({state:t,endAdornment:s},o)=>{const{icons:e,smartButton:i,disabled:r,msg:c,touched:m}=h(t);let d=null==e?void 0:e.left;a(d)&&(d={icon:d});let u=null==e?void 0:e.right;a(u)&&(u={icon:u});const b=[],g=[];return s&&(Array.isArray(s)?g.push(...s):g.push(s)),d&&b.push(n(j,Object.assign({componentName:"icon",class:"kol-input-container__icon"},l(d)?d:{}))),l(i)&&g.push(n(j,Object.assign({componentName:"button",class:"kol-input-container__smart-button"},i,{hideLabel:!0,disabled:r}))),u&&g.push(n(j,Object.assign({componentName:"icon",class:"kol-input-container__icon"},l(u)?u:{}))),n(p,{disabled:r,msg:c,touched:m,startAdornment:b,endAdornment:g},o)};class _ extends i{constructor(n,t,s){super(n,t,s),this.numberStringRegex=/^\d+(\.\d+)?$/,this.parseToNumber=n=>"number"==typeof n?isNaN(n)?null:n:this.isNumberString(n)?parseFloat(n):null,this.validateNumber=(n,t)=>e(this.component,n,n=>null==n||"number"==typeof n||"string"==typeof n&&this.numberStringRegex.test(n),new Set(["number","NumberString"]),t,{hooks:{beforePatch:(t,s)=>{(null==s?void 0:s.has(n))&&(null==s||s.set(n,this.parseToNumber(t)))}}}),this.component=n}validateIcons(n){d(this.component,n)}isNumberString(n){return"string"==typeof n&&this.numberStringRegex.test(n)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{_ as I,j as K,v as a};
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
import"./common-8fBdMvJM.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.7-d0e38f2b24188b03316351f07d939c4524a2fd81.0"};var r=Object.defineProperty,i=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l="http://www.w3.org/2000/svg",s="http://www.w3.org/1999/xhtml",o=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(o||{}),f=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(f||{}),a="type",c="value",u="serialized:",v=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.t=e)},p=(e,t)=>{const n={i:0,$hostElement$:e,l:t,o:new Map};n.u=new Promise(e=>n.v=e),n.p=new Promise(e=>n.h=e),e["s-p"]=[],e["s-rc"]=[];const o=n;return e.__stencil__getHostRef=()=>o,o},h=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),y=new Map,m=(e,t,n)=>{const o=e.$.replace(/-/g,"_"),s=e.m;if(!s)return;const l=y.get(s);return l?l[o]:import(`./${s}.entry.js`).then(e=>(y.set(s,e),e[o]),e=>{$(e,t.$hostElement$)})
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},b=new Map,w=[],g="r",S="o",j="s",O="t",k="c",x="s-id",E="sty-id",N="c-id",C="{visibility:hidden}.hydrated{visibility:inherit}",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",M="http://www.w3.org/1999/xlink",R="undefined"!=typeof window?window:{},L={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},F=(()=>{var e;let t=!1;try{null==(e=R.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),P=e=>Promise.resolve(e),T=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),U=!!T&&(!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable),A=e=>P().then(e),B=e=>"object"===(e=typeof e)||"function"===e;function D(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=class e{static fromLocalValue(t){const n=t[a],o=c in t?t[c]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map(t=>e.fromLocalValue(t));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,l=e.fromLocalValue(s);t.set(o,l)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:r}=o;return new RegExp(l,r);case"set":const i=new Set;for(const t of o)i.add(e.fromLocalValue(t));return i;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(a))return!1;const t=e[a];return!!Object.values({...o,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},_={};i(_,{err:()=>H,map:()=>J,ok:()=>z,unwrap:()=>q,unwrapErr:()=>Y});var z=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function J(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>z(e)):z(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var Q,q=e=>{if(e.isOk)return e.value;throw e.value},Y=e=>{if(e.isErr)return e.value;throw e.value};function G(e){return"string"==typeof e&&e.startsWith(u)?W.fromLocalValue(JSON.parse(atob(e.slice(u.length)))):e}function K(e){}function X(e){var t;const n=this.attachShadow({mode:"open",delegatesFocus:!!(16&e.i)});void 0===Q&&(Q=null!=(t=K())?t:null),Q&&(U?n.adoptedStyleSheets.push(Q):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Q])}var Z=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&te(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(ne(e,le(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&oe(e,"childNodes").length&&Z(e)}},ee=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function te(e,t,n){let o,s=0,l=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||l.push(o),l=[...l,...te(o.childNodes,t,n)];return l}var ne=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)le(s)!==t||!n&&s["s-sr"]||o.push(s);return o},re=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ie=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const l=t["s-cr"].parentNode,r=oe(l,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=oe(l,"childNodes"),t=[s];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>r.call(l,e))}else r.call(l,s);e["s-ol"]=s,e["s-sh"]=t["s-hn"]},le=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function se(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for KoliBri non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the KoliBri repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ee(s.childNodes)).forEach(e=>{o===le(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function oe(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var fe=(e,t="")=>()=>{},ae=(e,t)=>()=>{},ce=new WeakMap,ue=(e,t,n)=>{let o=b.get(e);T&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,b.set(e,o)},ve=(e,t,n)=>{var o;const s=pe(t,n),l=b.get(s);if(!R.document)return s;if(e=11===e.nodeType?e:R.document,l)if("string"==typeof l){e=e.head||e;let n,r=ce.get(e);if(r||ce.set(e,r=new Set),!r.has(s)){if(e.host&&(n=e.querySelector(`[${E}="${s}"]`)))n.innerHTML=l;else{n=R.document.createElement("style"),n.innerHTML=l;const s=null!=(o=L.j)?o:D(R.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(T){const t=new CSSStyleSheet;t.replaceSync(l),U?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=I),r&&r.add(s)}}else e.adoptedStyleSheets.includes(l)||(U?e.adoptedStyleSheets.push(l):e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return s},de=e=>{const t=e.l,n=e.$hostElement$,o=t.i,s=fe("attachStyles",t.$),l=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.O);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h")),s()},pe=(e,t)=>"sc-"+(t&&32&e.i?e.$+"-"+t:e.$),he=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$e=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${E}]`);let t=0;for(;t<e.length;t++)ue(e[t].getAttribute(E),he(e[t].innerHTML),!0)},ye=(e,t,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!B(o))&&(o=String(o)),r&&i?a[a.length-1].k+=o:a.push(r?me(null,o):o),i=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,ge);const d=me(e,null);return d.N=t,a.length>0&&(d.C=a),d.I=s,d.M=l,d},me=(e,t)=>{const n={i:0,R:e,k:t,L:null,C:null,N:null,I:null,M:null};return n},be={},we=e=>e&&e.R===be,ge={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(je)},Se=e=>({vattrs:e.N,vchildren:e.C,vkey:e.I,vname:e.M,vtag:e.R,vtext:e.k}),je=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ye(e.vtag,t,...e.vchildren||[])}const t=me(e.vtag,e.vtext);return t.N=e.vattrs,t.C=e.vchildren,t.I=e.vkey,t.M=e.vname,t},Oe=(e,t,n,o)=>{var s,l,r;const i=fe("hydrateClient",t),a=e.shadowRoot,c=[],d=[],u=a?[]:null,h=me(t,null);h.L=e;Object.entries((null==(s=o.l)?void 0:s.F)||{}).forEach(([t,[n,s]])=>{var l;if(!(31&n))return;const r=s||t,i=e.getAttribute(r);if(null!==i){const e=Fe(i,n);null==(l=null==o?void 0:o.o)||l.set(t,e)}}),!R.document||L.P&&L.P.size||xe(R.document.body,L.P=new Map),e[x]=n,e.removeAttribute(x),o.T=ke(h,c,[],u,e,e,n,d);let f=0;const p=c.length;let m;for(;f<p;f++){m=c[f];const n=m.U+"."+m.A,o=L.P.get(n),s=m.L;if(a){if((null==(l=m.R)?void 0:l.toString().includes("-"))&&"slot-fb"!==m.R&&!m.L.shadowRoot){const t=v(m.L);if(t){const n=pe(t.l,m.L.getAttribute("s-mode")),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=t.toUpperCase(),"slot"===m.R&&(s["s-cr"]=e["s-cr"]);"slot"===m.R&&(m.M=m.L["s-sn"]||m.L.name||null,m.C?(m.i|=2,m.L.childNodes.length||m.C.forEach(e=>{m.L.appendChild(e.L)})):m.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(m.A))),o&&!o["s-id"]&&L.P.delete(n)}const y=[],g=d.length;let b,w,N,S,C=0;for(;C<g;C++)if(b=d[C],b&&b.length)for(N=b.length,w=0;w<N;w++){if(S=b[w],y[S.hostId]||(y[S.hostId]=L.P.get(S.hostId)),!y[S.hostId])continue;const e=y[S.hostId];e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node),e.shadowRoot&&a||(S.slot["s-cr"]||(S.slot["s-cr"]=e["s-cr"],!S.slot["s-cr"]&&e.shadowRoot?S.slot["s-cr"]=e:S.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]),ie(S.node,S.slot,!1,S.node["s-oo"]),(null==(r=S.node.parentElement)?void 0:r.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"))}if(a){let t=0;const n=u.length;if(n){for(;t<n;t++){const e=u[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}o.$hostElement$=e,i()},ke=(e,t,n,o,s,l,r,i=[])=>{let a,c,d,u;if(1===l.nodeType){if(a=l.getAttribute(N),a&&(c=a.split("."),c[0]===r||"0"===c[0])){d=Ee({i:0,U:c[0],A:c[1],B:c[2],D:c[3],R:l.tagName.toLowerCase(),L:l,N:{class:l.className||""}}),t.push(d),l.removeAttribute(N),e.C||(e.C=[]);const s=d.L.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.R&&Ne(s,c[2],d,l,e,t,n,o,i),d.L["s-sn"]=s,d.L.removeAttribute("s-sn")),void 0!==d.D&&(e.C[d.D]=d),e=d,o&&"0"===d.B&&(o[d.D]=d.L)}if(l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)ke(e,t,n,o,s,l.shadowRoot.childNodes[u],r,i);const h=l.__childNodes||l.childNodes;for(u=h.length-1;u>=0;u--)ke(e,t,n,o,s,h[u],r,i)}else if(8===l.nodeType){if(c=l.nodeValue.split("."),c[1]===r||"0"===c[1])if(a=c[0],d=Ee({U:c[1],A:c[2],B:c[3],D:c[4]||"0",L:l,N:null,C:null,I:null,M:null,R:null,k:null}),a===O)d.L=Ie(l,3),d.L&&3===d.L.nodeType&&(d.k=d.L.textContent,t.push(d),l.remove(),r===d.U&&(e.C||(e.C=[]),e.C[d.D]=d),o&&"0"===d.B&&(o[d.D]=d.L));else if(a===k)d.L=Ie(l,8),d.L&&8===d.L.nodeType&&(t.push(d),l.remove());else if(d.U===r)if(a===j){Ne(l["s-sn"]=c[5]||"",c[2],d,l,e,t,n,o,i)}else a===g&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))}else if(e&&"style"===e.R){const t=me(null,l.textContent);t.L=l,t.D="0",e.C=[t]}else 3!==l.nodeType||l.wholeText.trim()||l["s-nr"]||l.remove();return e},xe=(e,t)=>{if(1===e.nodeType){const n=e[x]||e.getAttribute(x);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)xe(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)xe(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===S&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Ee=e=>({i:0,U:null,A:null,B:null,D:"0",L:null,N:null,C:null,I:null,M:null,R:null,k:null,...e});function Ne(e,t,n,o,s,l,r,i,a){o["s-sr"]=!0,n.M=e||null,n.R="slot";const c=(null==s?void 0:s.L)?s.L["s-id"]||s.L.getAttribute("s-id"):"";if(i&&R.document){const l=n.L=R.document.createElement(n.R);n.M&&n.L.setAttribute("name",e),s.L.shadowRoot&&c&&c!==n.U?oe(s.L,"insertBefore")(l,oe(s.L,"children")[0]):oe(oe(o,"parentNode"),"insertBefore")(l,o),Ce(a,t,e,o,n.U),o.remove(),"0"===n.B&&(i[n.D]=n.L)}else{const l=n.L,r=c&&c!==n.U&&s.L.shadowRoot;Ce(a,t,e,o,r?c:n.U),se(o),r&&s.L.insertBefore(l,s.L.children[0])}l.push(n),r.push(n),s.C||(s.C=[]),s.C[n.D]=n}var Ce=(e,t,n,o,s)=>{var l,r;let i=o.nextSibling;if(e[t]=e[t]||[],i&&!(null==(l=i.nodeValue)?void 0:l.startsWith(j+".")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith(j+".")))},Ie=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Me=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Me("::slotted"),Me(":host"),Me(":host-context");var ze,He,Re=e=>w.map(t=>t(e)).find(e=>!!e),Le=e=>w.push(e),Fe=(e,t,n)=>{if("string"==typeof e&&e.startsWith(u))return e=G(e);if("string"==typeof e&&(16&t||8&t)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return null==e||B(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e},Pe=e=>{var t;return null==(t=v(e))?void 0:t.$hostElement$},Te=(e,t,n)=>{const o=L.ce(t,n);return e.dispatchEvent(o),o},Ue=(e,t,n,o,s,l,r)=>{if(n===o)return;let i=h(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=Be(n);let l=Be(o);if((e["s-si"]||e["s-sc"])&&r){const n=e["s-sc"]||e["s-si"];l.push(n),s.forEach(e=>{e.startsWith(n)&&l.push(e)}),l=[...new Set(l)].filter(e=>e),t.add(...l)}else t.remove(...s.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=B(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!i||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(M,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):h(R,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(De);t=t.replace(Ve,""),n&&L.rel(e,t,n,s),o&&L.ael(e,t,o,s)}},Ae=/\s/,Be=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Ae):[]),De="Capture",Ve=new RegExp(De+"$"),We=(e,t,n,o)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,l=e&&e.N||{},r=t.N||{};for(const e of _e(Object.keys(l)))e in r||Ue(s,e,l[e],void 0,n,t.i,o);for(const e of _e(Object.keys(r)))Ue(s,e,l[e],r[e],n,t.i,o)};function _e(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var Je=!1,qe=!1,Ye=!1,Ge=!1,Ke=(e,n,o)=>{var r;const i=n.C[o];let a,c,d,u=0;if(Je||(Ye=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.k)a=i.L=R.document.createTextNode(i.k);else if(1&i.i)a=i.L=R.document.createTextNode(""),We(null,i,Ge);else{if(Ge||(Ge="svg"===i.R),!R.document)throw new Error("You are trying to render a KoliBri component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(a=i.L=R.document.createElementNS(Ge?l:s,!Je&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ge&&"foreignObject"===i.R&&(Ge=!1),We(null,i,Ge),i.C)for(u=0;u<i.C.length;++u)c=Ke(e,i,u),c&&a.appendChild(c);"svg"===i.R?Ge=!1:"foreignObject"===a.tagName&&(Ge=!0)}return a["s-hn"]=He,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=ze,a["s-sn"]=i.M||"",a["s-rf"]=null==(r=i.N)?void 0:r.ref,se(a),d=e&&e.C&&e.C[o],d&&d.R===i.R&&e.L&&Qe(e.L,!1)),a},Qe=(e,t)=>{L.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==He&&o["s-ol"]&&(ot(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ye=!0),t&&Qe(o,t)}L.i&=-2},Xe=(e,t,n,o,s,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===He&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=Ke(null,n,s),r&&(o[s].L=r,ot(i,r,nt(t))))},Ze=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.L;st(t),e&&(qe=!0,e["s-ol"]?e["s-ol"].remove():Qe(e,!0),e.remove())}}},et=(e,t,n,o,s=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&a<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--p];else if(tt(h,m,s))rt(h,m,s),h=t[++i],m=o[++a];else if(tt(f,v,s))rt(f,v,s),f=t[--u],v=o[--p];else if(tt(h,v,s))"slot"!==h.R&&"slot"!==v.R||Qe(h.L.parentNode,!1),rt(h,v,s),ot(e,h.L,f.L.nextSibling),h=t[++i],v=o[--p];else if(tt(f,m,s))"slot"!==h.R&&"slot"!==v.R||Qe(f.L.parentNode,!1),rt(f,m,s),ot(e,f.L,h.L),f=t[--u],m=o[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].I&&t[d].I===m.I){c=d;break}c>=0?(r=t[c],r.R!==m.R?l=Ke(t&&t[a],n,c):(rt(r,m,s),t[c]=void 0,l=r.L),m=o[++a]):(l=Ke(t&&t[a],n,a),m=o[++a]),l&&ot(nt(h.L).parentNode,l,nt(h.L))}i>u?Xe(e,null==o[p+1]?null:o[p+1].L,n,o,a,p):a>p&&Ze(t,i,u)},tt=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.M===t.M:n?(n&&!e.I&&t.I&&(e.I=t.I),!0):e.I===t.I),nt=e=>e&&e["s-ol"]||e,rt=(e,n,o=!1)=>{const s=n.L=e.L,l=e.C,r=n.C,i=n.R,a=n.k;let c;null===a?(We(e,n,Ge="svg"===i||"foreignObject"!==i&&Ge,o),null!==l&&null!==r?et(s,l,n,r,o):null!==r?(null!==e.k&&(s.textContent=""),Xe(s,null,n,r,0,r.length-1)):!o&&t.updatable&&null!==l?Ze(l,0,l.length-1):o&&t.updatable&&null!==l&&null===r&&(n.C=l),Ge&&"svg"===i&&(Ge=!1)):(c=s["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(s.data=a)},it=[],lt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(re(t,s)){let n=it.find(e=>e.V===t);qe=!0,t["s-sn"]=t["s-sn"]||s,n?(n.V["s-sh"]=e["s-hn"],n.W=e):(t["s-sh"]=e["s-hn"],it.push({W:e,V:t})),t["s-sr"]&&it.map(e=>{re(e.V,t["s-sn"])&&(n=it.find(e=>e.V===t),n&&!e.W&&(e.W=n.W))})}else it.some(e=>e.V===t)||it.push({V:t})}1===e.nodeType&<(e)}},st=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(st)},ot=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ft=(e,t,n=!1)=>{var o,s,l,r;const i=e.$hostElement$,a=e.l,c=e.T||me(null,null),d=we(t)?t:ye(null,null,t);if(He=i.tagName,a._&&(d.N=d.N||{},a._.map(([e,t])=>d.N[t]=i[e])),n&&d.N)for(const e of Object.keys(d.N))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.N[e]=i[e]);if(d.R=null,d.i|=4,e.T=d,d.L=c.L=i.shadowRoot||i,Je=!(!(1&a.i)||128&a.i),ze=i["s-cr"],qe=!1,rt(c,d,n),L.i|=1,Ye){lt(d.L);for(const e of it){const t=e.V;if(!t["s-ol"]&&R.document){const e=R.document.createTextNode("");e["s-nr"]=t,ot(t.parentNode,t["s-ol"]=e,t)}}for(const e of it){const t=e.V,i=e.W;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}const r=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==r||a!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ot(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}qe&&Z(d.L),L.i&=-2,it.length=0,ze=void 0},at=(e,t)=>{if(t&&!e.H&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.H=()=>{t["s-p"].splice(n-1,1),o()}))}},ct=(e,t)=>{if(4&e.i)return void(e.i|=512);at(e,e.J);const n=()=>ut(e,t);if(!t)return n();queueMicrotask(()=>{n()})},ut=(e,t)=>{const n=e.$hostElement$,o=fe("scheduleUpdate",e.l.$),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.i|=256,e.q&&(e.q.map(([e,t])=>mt(s,e,t,n)),e.q=void 0),l=mt(s,"componentWillLoad",void 0,n)):l=mt(s,"componentWillUpdate",void 0,n),l=vt(l,()=>mt(s,"componentWillRender",void 0,n)),o(),vt(l,()=>pt(e,s,t))},vt=(e,t)=>dt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),dt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,pt=async(e,t,n)=>{var o;const s=e.$hostElement$,l=fe("update",e.l.$),r=s["s-rc"];n&&de(e);const i=fe("render",e.l.$);ht(e,t,s,n),r&&(r.map(e=>e()),s["s-rc"]=void 0),i(),l();{const t=null!=(o=s["s-p"])?o:[],n=()=>$t(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},ht=(e,t,n,o)=>{try{t=t.render&&t.render(),e.i|=2,ft(e,t,o)}catch(t){$(t,e.$hostElement$)}return null},$t=e=>{const t=e.l.$,n=e.$hostElement$,o=fe("postUpdate",t),s=e.t,l=e.J;mt(s,"componentDidRender",void 0,n),64&e.i?(mt(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,bt(n),mt(s,"componentDidLoad",void 0,n),o(),e.h(n),l||yt()),e.v(n),e.H&&(e.H(),e.H=void 0),512&e.i&&A(()=>ct(e,!1)),e.i&=-517},yt=t=>{var n;A(()=>Te(R,"appload",{detail:{namespace:e}})),(null==(n=L.P)?void 0:n.size)&&L.P.clear()},mt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){$(e,o)}},bt=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},wt=(e,t)=>v(e).o.get(t),gt=(e,t,n,o)=>{const s=v(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,r=s.o.get(t),i=s.i,a=s.t;n=Fe(n,o.F[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&(n!==r&&!c)&&(s.o.set(t,n),a)){if(o.Y&&128&i){const e=o.Y[t];e&&e.map(e=>{try{a[e](n,r,t)}catch(e){$(e,l)}})}if(2==(18&i)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,r,t))return;ct(s,!1)}}},St=(e,n,o)=>{var s,l;const r=e.prototype;if(n.F||n.Y||e.watchers){e.watchers&&!n.Y&&(n.Y=e.watchers);const i=Object.entries(null!=(s=n.F)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,e)||{};s&&(n.F[e][0]|=2048),l&&(n.F[e][0]|=4096),(1&o||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.F[e][0]))return wt(this,e);const t=v(this),o=t?t.t:r;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(s){const r=v(this);if(r){if(l){const o=32&t?this[e]:r.$hostElement$[e];return void 0===o&&r.o.get(e)?s=r.o.get(e):!r.o.get(e)&&o&&r.o.set(e,o),l.apply(this,[Fe(s,t)]),s=32&t?this[e]:r.$hostElement$[e],void gt(this,e,s,n)}{if(!(1&o&&4096&n.F[e][0]))return gt(this,e,s,n),void(1&o&&!r.t&&r.p.then(()=>{4096&n.F[e][0]&&r.t[e]!==r.o.get(e)&&(r.t[e]=s)}));const l=()=>{const o=r.t[e];!r.o.get(e)&&o&&r.o.set(e,o),r.t[e]=Fe(s,t),gt(this,e,r.t[e],n)};r.t?l():r.p.then(()=>l())}}}})}else 1&o&&64&t&&Object.defineProperty(r,e,{value(...t){var n;const o=v(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;r.attributeChangedCallback=function(e,s,l){L.jmp(()=>{var i;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)l=this[a],delete this[a];else{if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==l)return;if(null==a){const t=v(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&l!==s){const o=t.t,r=null==(i=n.Y)?void 0:i[e];null==r||r.forEach(t=>{null!=o[t]&&o[t].call(o,l,s,e)})}return}}const c=Object.getOwnPropertyDescriptor(r,a);(l=(null!==l||"boolean"!=typeof this[a])&&l)===this[a]||c.get&&!c.set||(this[a]=l)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.Y)?l:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{var s;const l=t[1]||e;return o.set(l,e),512&t[0]&&(null==(s=n._)||s.push([e,l])),l})]))}}return e},jt=async(e,t,n,o)=>{let s;if(!(32&t.i)){t.i|=32;if(n.m){const o=m(n,t);if(o&&"then"in o){const e=ae();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$}#${t.O}" was not found`);s.isProxied||(n.Y=s.watchers,St(s,n,2),s.isProxied=!0);const l=fe("createInstance",n.$);t.i|=8;try{new s(t)}catch(t){$(t,e)}t.i&=-9,t.i|=128,l(),Ot(t.t,e)}else{s=e.constructor;const n=e.localName,o=()=>t.i|=128;customElements.get(n)?o():customElements.whenDefined(n).then(o)}if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(t.O=Re(e),t.O&&(o=s.style[t.O]));const l=pe(n,t.O);if(!b.has(l)){const e=fe("registerStyles",n.$);ue(l,o,!!(1&n.i)),e()}}}const l=t.J,r=()=>ct(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},Ot=(e,t)=>{mt(e,"connectedCallback",void 0,t)},kt=e=>{if(!(1&L.i)){const t=v(e);if(!t)return;const n=t.l,o=fe("connectedCallback",n.$);if(1&t.i)Mt(e,t,n.G),(null==t?void 0:t.t)?Ot(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Ot(t.t,e));else{let o;if(t.i|=1,o=e.getAttribute(x),o){if(1&n.i){const t=ve(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}Oe(e,n.$,o,t)}o||12&n.i&&xt(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){at(t,t.J=n);break}}n.F&&Object.entries(n.F).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),jt(e,t,n)}o()}},xt=e=>{if(!R.document)return;const t=e["s-cr"]=R.document.createComment("");t["s-cn"]=!0,ot(e,t,e.firstChild)},Et=(e,t)=>{mt(e,"disconnectedCallback",void 0,t||e)},Nt=async e=>{if(!(1&L.i)){const t=v(e);(null==t?void 0:t.K)&&(t.K.map(e=>e()),t.K=void 0),(null==t?void 0:t.t)?Et(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Et(t.t,e))}ce.has(e)&&ce.delete(e),e.shadowRoot&&ce.has(e.shadowRoot)&&ce.delete(e.shadowRoot)},Ct=(e,t={})=>{var n;if(!R.document)return void console.warn("KoliBri: No document found. Skipping bootstrapping lazy components.");const o=fe(),s=[],l=t.exclude||[],r=R.customElements,i=R.document.head,a=i.querySelector("meta[charset]"),c=R.document.createElement("style"),d=[];let u,h=!0;Object.assign(L,t),L.S=new URL(t.resourcesUrl||"./",R.document.baseURI).href,L.i|=2,$e();let f=!1;if(e.map(e=>{e[1].map(n=>{var o;const i={i:n[0],$:n[1],F:n[2],G:n[3]};4&i.i&&(f=!0),i.F=n[2],i.G=n[3],i._=[],i.Y=null!=(o=n[4])?o:{};const a=t.transformTagName?t.transformTagName(i.$):i.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,p(e=this,i),1&i.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else X.call(e,i)}connectedCallback(){const e=v(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,e,i.G)),u&&(clearTimeout(u),u=null),h?d.push(this):L.jmp(()=>kt(this)))}disconnectedCallback(){L.jmp(()=>Nt(this)),L.raf(()=>{var e;const t=v(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.T)?void 0:e.L)instanceof Node&&!t.T.L.isConnected&&delete t.T.L})}componentOnReady(){var e;return null==(e=v(this))?void 0:e.p}};i.m=e[0],l.includes(a)||r.get(a)||(s.push(a),r.define(a,St(c,i,1)))})}),s.length>0&&(f&&(c.textContent+=I),c.textContent+=s.sort()+C,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=L.j)?n:D(R.document);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,a?a.nextSibling:i.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):L.jmp(()=>u=setTimeout(yt,30)),o()},It=(e,t)=>t,Mt=(e,t,n,o)=>{n&&R.document&&n.map(([n,o,s])=>{const l=Lt(R.document,e,n),r=Rt(t,s),i=Ft(n);L.ael(l,o,r,i),(t.K=t.K||[]).push(()=>L.rel(l,o,r,i))})},Rt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.q=e.q||[]).push([t,n])}catch(t){$(t,e.$hostElement$)}},Lt=(e,t,n)=>8&n?R:t,Ft=e=>F?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Pt=e=>L.j=e;export{n as E,It as F,be as H,Le as a,Ct as b,Pe as g,ye as h,P as p,d as r,Pt as s};
|