@public-ui/components 2.2.13 → 2.2.14-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 +55 -55
- package/dist/cjs/{Alert-36337509.js → Alert-ad85b458.js} +1 -1
- package/dist/cjs/{Alert-36337509.js.map → Alert-ad85b458.js.map} +1 -1
- package/dist/cjs/{Collapsible-d784a1a7.js → Collapsible-c360f7b7.js} +1 -1
- package/dist/cjs/{Collapsible-d784a1a7.js.map → Collapsible-c360f7b7.js.map} +1 -1
- package/dist/cjs/{FormFieldMsg-fe14afe0.js → FormFieldMsg-30fd483a.js} +1 -1
- package/dist/cjs/{FormFieldMsg-fe14afe0.js.map → FormFieldMsg-30fd483a.js.map} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-cd62d8be.js → InternalUnderlinedBadgeText-1d4799c1.js} +1 -1
- package/dist/cjs/{InternalUnderlinedBadgeText-cd62d8be.js.map → InternalUnderlinedBadgeText-1d4799c1.js.map} +1 -1
- package/dist/cjs/{app-globals-72a61e5b.js → app-globals-fa12c0a6.js} +1 -1
- package/dist/cjs/{app-globals-72a61e5b.js.map → app-globals-fa12c0a6.js.map} +1 -1
- package/dist/cjs/{dev.utils-fbc7efdc.js → dev.utils-15263d36.js} +1 -1
- package/dist/cjs/{dev.utils-fbc7efdc.js.map → dev.utils-15263d36.js.map} +1 -1
- package/dist/cjs/{devtools-65a61092.js → devtools-aa6e4f0e.js} +1 -1
- package/dist/cjs/{devtools-65a61092.js.map → devtools-aa6e4f0e.js.map} +1 -1
- package/dist/cjs/index-e7c3690f.js +4 -0
- package/dist/cjs/index-e7c3690f.js.map +1 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-logo.cjs.entry.js +1 -1
- package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-abbr.js.map +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-accordion.js.map +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-alert.js.map +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-avatar.js.map +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-badge.js.map +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-breadcrumb.js.map +1 -1
- package/dist/components/kol-button-group.js +1 -1
- package/dist/components/kol-button-group.js.map +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button-link.js.map +1 -1
- package/dist/components/kol-button-wc.js +1 -1
- package/dist/components/kol-button-wc.js.map +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-button.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-card.js.map +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-combobox.js.map +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-details.js.map +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-drawer.js.map +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-form.js.map +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-heading.js.map +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-image.js.map +1 -1
- package/dist/components/kol-indented-text.js +1 -1
- package/dist/components/kol-indented-text.js.map +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-checkbox.js.map +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-color.js.map +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-date.js.map +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-email.js.map +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-file.js.map +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-number.js.map +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-radio.js.map +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-range.js.map +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-input-text.js.map +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-kolibri.js.map +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link-button.js.map +1 -1
- package/dist/components/kol-link-group.js +1 -1
- package/dist/components/kol-link-group.js.map +1 -1
- package/dist/components/kol-link-wc.js +1 -1
- package/dist/components/kol-link-wc.js.map +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-link.js.map +1 -1
- package/dist/components/kol-logo.js +1 -1
- package/dist/components/kol-logo.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-pagination.js.map +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-progress.js.map +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-single-select.js.map +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-skip-nav.js.map +1 -1
- package/dist/components/kol-span-wc.js +1 -1
- package/dist/components/kol-span-wc.js.map +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateful.js.map +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-table-stateless.js.map +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-tabs.js.map +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toast-container.js.map +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-toolbar.js.map +1 -1
- package/dist/components/kol-tree-item-wc.js.map +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-item.js.map +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-tree.js.map +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/kol-version.js.map +1 -1
- package/dist/esm/Alert-3376ad25.js +4 -0
- package/dist/esm/{Alert-11addbd6.js.map → Alert-3376ad25.js.map} +1 -1
- package/dist/esm/{Collapsible-dadae8b5.js → Collapsible-ca6b219d.js} +1 -1
- package/dist/esm/{Collapsible-dadae8b5.js.map → Collapsible-ca6b219d.js.map} +1 -1
- package/dist/esm/{FormFieldMsg-27ff69aa.js → FormFieldMsg-f6269075.js} +1 -1
- package/dist/esm/{FormFieldMsg-27ff69aa.js.map → FormFieldMsg-f6269075.js.map} +1 -1
- package/dist/esm/InternalUnderlinedBadgeText-ee968c75.js +4 -0
- package/dist/esm/{InternalUnderlinedBadgeText-dfefcdf1.js.map → InternalUnderlinedBadgeText-ee968c75.js.map} +1 -1
- package/dist/esm/{access-and-short-key-91c639af.js → access-and-short-key-a34a0af0.js} +1 -1
- package/dist/esm/{access-and-short-key-91c639af.js.map → access-and-short-key-a34a0af0.js.map} +1 -1
- package/dist/esm/{align-be31be0d.js → align-bc8d98ac.js} +1 -1
- package/dist/esm/{align-be31be0d.js.map → align-bc8d98ac.js.map} +1 -1
- package/dist/esm/{align-floating-elements-3e1809c4.js → align-floating-elements-f88f945f.js} +1 -1
- package/dist/esm/{align-floating-elements-3e1809c4.js.map → align-floating-elements-f88f945f.js.map} +1 -1
- package/dist/esm/{app-globals-94850a56.js → app-globals-4c307a38.js} +1 -1
- package/dist/esm/{app-globals-94850a56.js.map → app-globals-4c307a38.js.map} +1 -1
- package/dist/esm/{associated.controller-8d1afc0c.js → associated.controller-3dab1e00.js} +1 -1
- package/dist/esm/{associated.controller-8d1afc0c.js.map → associated.controller-3dab1e00.js.map} +1 -1
- package/dist/esm/badge-text-c7f39390.js +4 -0
- package/dist/esm/{badge-text-1ca461ea.js.map → badge-text-c7f39390.js.map} +1 -1
- package/dist/esm/{button-variant-78bbe695.js → button-variant-fe0f7f45.js} +1 -1
- package/dist/esm/{button-variant-78bbe695.js.map → button-variant-fe0f7f45.js.map} +1 -1
- package/dist/esm/{color-a8821a60.js → color-a464afb7.js} +1 -1
- package/dist/esm/{color-a8821a60.js.map → color-a464afb7.js.map} +1 -1
- package/dist/esm/{controller-a44f67e1.js → controller-4fa871d2.js} +1 -1
- package/dist/esm/{controller-a44f67e1.js.map → controller-4fa871d2.js.map} +1 -1
- package/dist/esm/{controller-136e6dc3.js → controller-87dfc9ee.js} +1 -1
- package/dist/esm/{controller-136e6dc3.js.map → controller-87dfc9ee.js.map} +1 -1
- package/dist/esm/{controller-adcb064f.js → controller-8ace9659.js} +1 -1
- package/dist/esm/{controller-adcb064f.js.map → controller-8ace9659.js.map} +1 -1
- package/dist/esm/{controller-05af8f06.js → controller-cfa11279.js} +1 -1
- package/dist/esm/{controller-05af8f06.js.map → controller-cfa11279.js.map} +1 -1
- package/dist/esm/{controller-f0a8cd72.js → controller-e97b79b7.js} +1 -1
- package/dist/esm/{controller-f0a8cd72.js.map → controller-e97b79b7.js.map} +1 -1
- package/dist/esm/{controller-icon-87de6942.js → controller-icon-811adcf4.js} +1 -1
- package/dist/esm/{controller-icon-87de6942.js.map → controller-icon-811adcf4.js.map} +1 -1
- package/dist/esm/{custom-class-927da4c2.js → custom-class-6eaba98d.js} +1 -1
- package/dist/esm/{custom-class-927da4c2.js.map → custom-class-6eaba98d.js.map} +1 -1
- package/dist/esm/{debounce-90c878d0.js → debounce-112fa67e.js} +1 -1
- package/dist/esm/{debounce-90c878d0.js.map → debounce-112fa67e.js.map} +1 -1
- package/dist/esm/{dev.utils-c4154967.js → dev.utils-e4e292d2.js} +1 -1
- package/dist/esm/{dev.utils-c4154967.js.map → dev.utils-e4e292d2.js.map} +1 -1
- package/dist/esm/{devtools-b39e940f.js → devtools-aaf0ea07.js} +1 -1
- package/dist/esm/{devtools-b39e940f.js.map → devtools-aaf0ea07.js.map} +1 -1
- package/dist/esm/disabled-f923601e.js +4 -0
- package/dist/esm/{disabled-9966b1f0.js.map → disabled-f923601e.js.map} +1 -1
- package/dist/esm/{has-closer-64270429.js → has-closer-a7dc359b.js} +1 -1
- package/dist/esm/{has-closer-64270429.js.map → has-closer-a7dc359b.js.map} +1 -1
- package/dist/esm/{hide-label-da89c332.js → hide-label-2b46168f.js} +1 -1
- package/dist/esm/{hide-label-da89c332.js.map → hide-label-2b46168f.js.map} +1 -1
- package/dist/esm/href-823c69d8.js +4 -0
- package/dist/esm/{href-d4bde881.js.map → href-823c69d8.js.map} +1 -1
- package/dist/esm/{i18n-a1dec0cc.js → i18n-820d85c7.js} +1 -1
- package/dist/esm/{i18n-a1dec0cc.js.map → i18n-820d85c7.js.map} +1 -1
- package/dist/esm/{icons-be30e67a.js → icons-d29928c3.js} +1 -1
- package/dist/esm/{icons-be30e67a.js.map → icons-d29928c3.js.map} +1 -1
- package/dist/esm/{image-source-d479e44b.js → image-source-bd7ca7b4.js} +1 -1
- package/dist/esm/{image-source-d479e44b.js.map → image-source-bd7ca7b4.js.map} +1 -1
- package/dist/esm/{index-bac313b4.js → index-4fb06bbb.js} +1 -1
- package/dist/esm/{index-bac313b4.js.map → index-4fb06bbb.js.map} +1 -1
- package/dist/esm/index-9b23879d.js +4 -0
- package/dist/esm/index-9b23879d.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.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js.map +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js.map +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
- package/dist/esm/kol-button-group-wc.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js +1 -1
- package/dist/esm/kol-button-group.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.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-wc.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-image.entry.js.map +1 -1
- package/dist/esm/kol-indented-text-wc.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-input.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js.map +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js.map +1 -1
- package/dist/esm/kol-link-group.entry.js +1 -1
- package/dist/esm/kol-link-group.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-logo.entry.js +1 -1
- package/dist/esm/kol-logo.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.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js.map +1 -1
- package/dist/esm/kol-popover-button.entry.js +1 -1
- package/dist/esm/kol-popover-button.entry.js.map +1 -1
- package/dist/esm/kol-popover-wc.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-select.entry.js.map +1 -1
- package/dist/esm/kol-single-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js.map +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js.map +1 -1
- package/dist/esm/kol-span-wc.entry.js +1 -1
- package/dist/esm/kol-span-wc.entry.js.map +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-symbol.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.entry.js +1 -1
- package/dist/esm/kol-table-stateless.entry.js.map +1 -1
- package/dist/esm/kol-table.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js.map +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js.map +1 -1
- package/dist/esm/kol-toolbar.entry.js +1 -1
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
- package/dist/esm/kol-tree-item.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js.map +1 -1
- package/dist/esm/kol-tree-wc.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js.map +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kol-version.entry.js.map +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-c79c6289.js → label-51d66c9d.js} +1 -1
- package/dist/esm/{label-c79c6289.js.map → label-51d66c9d.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-be7c436f.js → open-47cb3e2a.js} +1 -1
- package/dist/esm/{open-be7c436f.js.map → open-47cb3e2a.js.map} +1 -1
- package/dist/esm/{rows-4f235475.js → rows-92682fe5.js} +1 -1
- package/dist/esm/{rows-4f235475.js.map → rows-92682fe5.js.map} +1 -1
- package/dist/esm/show-82afe4f8.js +4 -0
- package/dist/esm/{show-5fbb1930.js.map → show-82afe4f8.js.map} +1 -1
- package/dist/esm/{spell-check-e6bd6453.js → spell-check-5b365d45.js} +1 -1
- package/dist/esm/{spell-check-e6bd6453.js.map → spell-check-5b365d45.js.map} +1 -1
- package/dist/esm/{suggestions-68844c85.js → suggestions-7e70d4e3.js} +1 -1
- package/dist/esm/{suggestions-68844c85.js.map → suggestions-7e70d4e3.js.map} +1 -1
- package/dist/esm/{table-selection-3aa020c8.js → table-selection-eaee72ee.js} +1 -1
- package/dist/esm/{table-selection-3aa020c8.js.map → table-selection-eaee72ee.js.map} +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/tooltip-align-de415afb.js +4 -0
- package/dist/esm/{tooltip-align-d17bc994.js.map → tooltip-align-de415afb.js.map} +1 -1
- package/dist/esm/unique-nav-labels-917eec2b.js +4 -0
- package/dist/esm/{unique-nav-labels-18107ff2.js.map → unique-nav-labels-917eec2b.js.map} +1 -1
- package/dist/esm/{validation-18d1226d.js → validation-c4177384.js} +1 -1
- package/dist/esm/{validation-18d1226d.js.map → validation-c4177384.js.map} +1 -1
- package/dist/esm/validation-db4e7b56.js +4 -0
- package/dist/esm/{validation-89efeeb9.js.map → validation-db4e7b56.js.map} +1 -1
- package/dist/kolibri/Alert-3376ad25.js +4 -0
- package/dist/kolibri/{Collapsible-dadae8b5.js → Collapsible-ca6b219d.js} +1 -1
- package/dist/kolibri/FormFieldMsg-f6269075.js +4 -0
- package/dist/kolibri/{InternalUnderlinedBadgeText-dfefcdf1.js → InternalUnderlinedBadgeText-ee968c75.js} +1 -1
- package/dist/kolibri/access-and-short-key-a34a0af0.js +4 -0
- package/dist/kolibri/align-bc8d98ac.js +4 -0
- package/dist/kolibri/{align-floating-elements-3e1809c4.js → align-floating-elements-f88f945f.js} +1 -1
- package/dist/kolibri/app-globals-4c307a38.js +4 -0
- package/dist/kolibri/{associated.controller-8d1afc0c.js → associated.controller-3dab1e00.js} +1 -1
- package/dist/kolibri/badge-text-c7f39390.js +4 -0
- package/dist/kolibri/{button-variant-78bbe695.js → button-variant-fe0f7f45.js} +1 -1
- package/dist/kolibri/{color-a8821a60.js → color-a464afb7.js} +1 -1
- package/dist/kolibri/{controller-a44f67e1.js → controller-4fa871d2.js} +1 -1
- package/dist/kolibri/{controller-136e6dc3.js → controller-87dfc9ee.js} +1 -1
- package/dist/kolibri/{controller-adcb064f.js → controller-8ace9659.js} +1 -1
- package/dist/kolibri/{controller-05af8f06.js → controller-cfa11279.js} +1 -1
- package/dist/kolibri/{controller-f0a8cd72.js → controller-e97b79b7.js} +1 -1
- package/dist/kolibri/{controller-icon-87de6942.js → controller-icon-811adcf4.js} +1 -1
- package/dist/kolibri/custom-class-6eaba98d.js +4 -0
- package/dist/kolibri/{debounce-90c878d0.js → debounce-112fa67e.js} +1 -1
- package/dist/kolibri/{dev.utils-c4154967.js → dev.utils-e4e292d2.js} +1 -1
- package/dist/kolibri/{devtools-b39e940f.js → devtools-aaf0ea07.js} +1 -1
- package/dist/kolibri/disabled-f923601e.js +4 -0
- package/dist/kolibri/has-closer-a7dc359b.js +4 -0
- package/dist/kolibri/hide-label-2b46168f.js +4 -0
- package/dist/kolibri/href-823c69d8.js +4 -0
- package/dist/kolibri/{i18n-a1dec0cc.js → i18n-820d85c7.js} +1 -1
- package/dist/kolibri/{icons-be30e67a.js → icons-d29928c3.js} +1 -1
- package/dist/kolibri/image-source-bd7ca7b4.js +4 -0
- package/dist/kolibri/{index-bac313b4.js → index-4fb06bbb.js} +1 -1
- package/dist/kolibri/{index-b44d567a.js → index-9b23879d.js} +2 -2
- package/dist/kolibri/index-9b23879d.js.map +1 -0
- package/dist/kolibri/index.esm.js +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.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.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-avatar.entry.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.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
- package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.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.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.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.js +1 -1
- package/dist/kolibri/kol-details.entry.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.js +1 -1
- package/dist/kolibri/kol-form.entry.js.map +1 -1
- package/dist/kolibri/kol-heading-wc.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js.map +1 -1
- package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.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.js +1 -1
- package/dist/kolibri/kol-input-color.entry.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.js +1 -1
- package/dist/kolibri/kol-input-email.entry.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.js +1 -1
- package/dist/kolibri/kol-input-number.entry.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.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.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.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js.map +1 -1
- package/dist/kolibri/kol-input.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js.map +1 -1
- package/dist/kolibri/kol-link-group.entry.js +1 -1
- package/dist/kolibri/kol-link-group.entry.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.js +1 -1
- package/dist/kolibri/kol-link.entry.js.map +1 -1
- package/dist/kolibri/kol-logo.entry.js +1 -1
- package/dist/kolibri/kol-logo.entry.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.js +1 -1
- package/dist/kolibri/kol-nav.entry.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.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-wc.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.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.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-skip-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-span-wc.entry.js +1 -1
- package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
- package/dist/kolibri/kol-table.entry.js +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.js +1 -1
- package/dist/kolibri/kol-textarea.entry.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.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js.map +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js.map +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/{label-c79c6289.js → label-51d66c9d.js} +1 -1
- package/dist/kolibri/open-47cb3e2a.js +4 -0
- package/dist/kolibri/rows-92682fe5.js +4 -0
- package/dist/kolibri/show-82afe4f8.js +4 -0
- package/dist/kolibri/spell-check-5b365d45.js +4 -0
- package/dist/kolibri/{suggestions-68844c85.js → suggestions-7e70d4e3.js} +1 -1
- package/dist/kolibri/{table-selection-3aa020c8.js → table-selection-eaee72ee.js} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/tooltip-align-de415afb.js +4 -0
- package/dist/kolibri/{unique-nav-labels-18107ff2.js → unique-nav-labels-917eec2b.js} +1 -1
- package/dist/kolibri/validation-c4177384.js +4 -0
- package/dist/kolibri/{validation-89efeeb9.js → validation-db4e7b56.js} +1 -1
- package/dist/types/components/input-checkbox/shadow.d.ts +1 -0
- package/dist/types/components.d.ts +168 -0
- package/doc/accordion.md +1 -1
- package/doc/button-link.md +2 -2
- package/doc/button.md +2 -2
- package/doc/combobox.md +2 -2
- package/doc/details.md +1 -1
- package/doc/drawer.md +2 -2
- package/doc/form.md +1 -1
- package/doc/input-checkbox.md +2 -2
- package/doc/input-color.md +2 -2
- package/doc/input-date.md +3 -3
- package/doc/input-email.md +2 -2
- package/doc/input-file.md +2 -2
- package/doc/input-number.md +2 -2
- package/doc/input-password.md +2 -2
- package/doc/input-radio.md +2 -2
- package/doc/input-range.md +2 -2
- package/doc/input-text.md +2 -2
- package/doc/link-button.md +1 -1
- package/doc/link.md +1 -1
- package/doc/modal.md +2 -2
- package/doc/select.md +2 -2
- package/doc/single-select.md +2 -2
- package/doc/split-button.md +1 -1
- package/doc/table-stateful.md +1 -1
- package/doc/textarea.md +2 -2
- package/doc/toaster.md +2 -2
- package/doc/tree-item.md +4 -4
- package/package.json +1 -1
- package/dist/cjs/index-d5758704.js +0 -4
- package/dist/cjs/index-d5758704.js.map +0 -1
- package/dist/esm/Alert-11addbd6.js +0 -4
- package/dist/esm/InternalUnderlinedBadgeText-dfefcdf1.js +0 -4
- package/dist/esm/badge-text-1ca461ea.js +0 -4
- package/dist/esm/disabled-9966b1f0.js +0 -4
- package/dist/esm/href-d4bde881.js +0 -4
- package/dist/esm/index-b44d567a.js +0 -4
- package/dist/esm/index-b44d567a.js.map +0 -1
- package/dist/esm/show-5fbb1930.js +0 -4
- package/dist/esm/tooltip-align-d17bc994.js +0 -4
- package/dist/esm/unique-nav-labels-18107ff2.js +0 -4
- package/dist/esm/validation-89efeeb9.js +0 -4
- package/dist/kolibri/Alert-11addbd6.js +0 -4
- package/dist/kolibri/FormFieldMsg-27ff69aa.js +0 -4
- package/dist/kolibri/access-and-short-key-91c639af.js +0 -4
- package/dist/kolibri/align-be31be0d.js +0 -4
- package/dist/kolibri/app-globals-94850a56.js +0 -4
- package/dist/kolibri/badge-text-1ca461ea.js +0 -4
- package/dist/kolibri/custom-class-927da4c2.js +0 -4
- package/dist/kolibri/disabled-9966b1f0.js +0 -4
- package/dist/kolibri/has-closer-64270429.js +0 -4
- package/dist/kolibri/hide-label-da89c332.js +0 -4
- package/dist/kolibri/href-d4bde881.js +0 -4
- package/dist/kolibri/image-source-d479e44b.js +0 -4
- package/dist/kolibri/index-b44d567a.js.map +0 -1
- package/dist/kolibri/open-be7c436f.js +0 -4
- package/dist/kolibri/rows-4f235475.js +0 -4
- package/dist/kolibri/show-5fbb1930.js +0 -4
- package/dist/kolibri/spell-check-e6bd6453.js +0 -4
- package/dist/kolibri/tooltip-align-d17bc994.js +0 -4
- package/dist/kolibri/validation-18d1226d.js +0 -4
- /package/dist/kolibri/{Alert-11addbd6.js.map → Alert-3376ad25.js.map} +0 -0
- /package/dist/kolibri/{Collapsible-dadae8b5.js.map → Collapsible-ca6b219d.js.map} +0 -0
- /package/dist/kolibri/{FormFieldMsg-27ff69aa.js.map → FormFieldMsg-f6269075.js.map} +0 -0
- /package/dist/kolibri/{InternalUnderlinedBadgeText-dfefcdf1.js.map → InternalUnderlinedBadgeText-ee968c75.js.map} +0 -0
- /package/dist/kolibri/{access-and-short-key-91c639af.js.map → access-and-short-key-a34a0af0.js.map} +0 -0
- /package/dist/kolibri/{align-be31be0d.js.map → align-bc8d98ac.js.map} +0 -0
- /package/dist/kolibri/{align-floating-elements-3e1809c4.js.map → align-floating-elements-f88f945f.js.map} +0 -0
- /package/dist/kolibri/{app-globals-94850a56.js.map → app-globals-4c307a38.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-8d1afc0c.js.map → associated.controller-3dab1e00.js.map} +0 -0
- /package/dist/kolibri/{badge-text-1ca461ea.js.map → badge-text-c7f39390.js.map} +0 -0
- /package/dist/kolibri/{button-variant-78bbe695.js.map → button-variant-fe0f7f45.js.map} +0 -0
- /package/dist/kolibri/{color-a8821a60.js.map → color-a464afb7.js.map} +0 -0
- /package/dist/kolibri/{controller-a44f67e1.js.map → controller-4fa871d2.js.map} +0 -0
- /package/dist/kolibri/{controller-136e6dc3.js.map → controller-87dfc9ee.js.map} +0 -0
- /package/dist/kolibri/{controller-adcb064f.js.map → controller-8ace9659.js.map} +0 -0
- /package/dist/kolibri/{controller-05af8f06.js.map → controller-cfa11279.js.map} +0 -0
- /package/dist/kolibri/{controller-f0a8cd72.js.map → controller-e97b79b7.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-87de6942.js.map → controller-icon-811adcf4.js.map} +0 -0
- /package/dist/kolibri/{custom-class-927da4c2.js.map → custom-class-6eaba98d.js.map} +0 -0
- /package/dist/kolibri/{debounce-90c878d0.js.map → debounce-112fa67e.js.map} +0 -0
- /package/dist/kolibri/{dev.utils-c4154967.js.map → dev.utils-e4e292d2.js.map} +0 -0
- /package/dist/kolibri/{devtools-b39e940f.js.map → devtools-aaf0ea07.js.map} +0 -0
- /package/dist/kolibri/{disabled-9966b1f0.js.map → disabled-f923601e.js.map} +0 -0
- /package/dist/kolibri/{has-closer-64270429.js.map → has-closer-a7dc359b.js.map} +0 -0
- /package/dist/kolibri/{hide-label-da89c332.js.map → hide-label-2b46168f.js.map} +0 -0
- /package/dist/kolibri/{href-d4bde881.js.map → href-823c69d8.js.map} +0 -0
- /package/dist/kolibri/{i18n-a1dec0cc.js.map → i18n-820d85c7.js.map} +0 -0
- /package/dist/kolibri/{icons-be30e67a.js.map → icons-d29928c3.js.map} +0 -0
- /package/dist/kolibri/{image-source-d479e44b.js.map → image-source-bd7ca7b4.js.map} +0 -0
- /package/dist/kolibri/{index-bac313b4.js.map → index-4fb06bbb.js.map} +0 -0
- /package/dist/kolibri/{label-c79c6289.js.map → label-51d66c9d.js.map} +0 -0
- /package/dist/kolibri/{open-be7c436f.js.map → open-47cb3e2a.js.map} +0 -0
- /package/dist/kolibri/{rows-4f235475.js.map → rows-92682fe5.js.map} +0 -0
- /package/dist/kolibri/{show-5fbb1930.js.map → show-82afe4f8.js.map} +0 -0
- /package/dist/kolibri/{spell-check-e6bd6453.js.map → spell-check-5b365d45.js.map} +0 -0
- /package/dist/kolibri/{suggestions-68844c85.js.map → suggestions-7e70d4e3.js.map} +0 -0
- /package/dist/kolibri/{table-selection-3aa020c8.js.map → table-selection-eaee72ee.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-d17bc994.js.map → tooltip-align-de415afb.js.map} +0 -0
- /package/dist/kolibri/{unique-nav-labels-18107ff2.js.map → unique-nav-labels-917eec2b.js.map} +0 -0
- /package/dist/kolibri/{validation-18d1226d.js.map → validation-c4177384.js.map} +0 -0
- /package/dist/kolibri/{validation-89efeeb9.js.map → validation-db4e7b56.js.map} +0 -0
package/dist/kolibri/{align-floating-elements-3e1809c4.js → align-floating-elements-f88f945f.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{p as t}from"./index-bac313b4.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce(((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1])),[]),s=Math.min,i=Math.max,r=Math.round,c=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(t,e,n){return i(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return h(w(t))}function x(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=R(l)),[l,R(l)]}function v(t){const e=R(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>f[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function O(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function R(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function F(t,e,n){let{reference:o,floating:i}=t;const r=w(e),l=g(e),c=y(l),s=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let h;switch(s){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},h=0;for(let n=0;n<c.length;n++){const{name:r,fn:p}=c[n],{x:g,y:y,data:w,reset:x}=await p({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=c[m?"floating"===u?"reference":"floating":u],y=D(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:s})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=S(m),w={x:n,y:o},x=g(i),v=y(x),b=await l.getDimensions(f),R="y"===x,A=R?"top":"left",L=R?"bottom":"right",T=R?"clientHeight":"clientWidth",D=r.reference[v]+r.reference[x]-w[x]-r.floating[v],E=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[T]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[T]||r.floating[v]);const P=D/2-E/2,H=C/2-b[v]/2-1,F=s(h[A],H),B=s(h[L],H),W=F,k=C-b[v]-B,$=C/2-b[v]/2+P,G=u(W,$,k),z=!a.arrow&&null!=p(i)&&$!==G&&r.reference[v]/2-($<W?F:B)-b[v]/2<0,Q=z?$<W?$-W:$-k:0;return{[x]:w[x]+Q,data:{[x]:G,centerOffset:$-G-Q,...z&&{alignmentOffset:Q}},reset:z}}});function C(t,e,n){const o=t?[...n.filter((e=>p(e)===t)),...n.filter((e=>p(e)!==t))]:n.filter((t=>m(t)===t));return o.filter((n=>!t||(p(n)===t||!!e&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,w),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,A=v[R];if(null==A)return{};const L=x(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==A)return{reset:{placement:v[0]}};const T=[b[m(A)],b[L[0]],b[L[1]]],D=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:T}],E=v[R+1];if(E)return{data:{index:R+1,overflows:D},reset:{placement:E}};const O=D.map((t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),P=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=P[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:D},reset:{placement:H}}:{}}}},z=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const A=m(i),L=w(c),T=m(c)===c,D=await(null==s.isRTL?void 0:s.isRTL(a.floating)),E=h||(T||!y?[R(c)]:v(c)),C="none"!==g;!h&&C&&E.push(...O(c,y,g,D));const P=[c,...E],H=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(H[A]),u){const t=x(i,l,D);S.push(H[t[0]],H[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var B,W;const t=((null==(B=r.flip)?void 0:B.index)||0)+1,e=P[t];if(e){if(!("alignment"===u&&L!==w(e))||F.every((t=>t.overflows[0]>0&&w(t.placement)===L)))return{data:{index:t,overflows:F},reset:{placement:e}}}let n=null==(W=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(p){case"bestFit":{var k;const t=null==(k=F.filter((t=>{if(C){const e=w(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:k[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function j(t){const e=s(...t.map((t=>t.left))),n=s(...t.map((t=>t.top)));return{x:e,y:n,width:i(...t.map((t=>t.right)))-e,height:i(...t.map((t=>t.bottom)))-n}}function L(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>D(j(t))))}const I=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:l,strategy:c}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),p=L(h),g=D(j(h)),y=S(a);const x=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(p.length>=2){if("y"===w(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=i(...p.map((t=>t.right))),o=s(...p.map((t=>t.left))),r=p.filter((n=>t?n.left===o:n.right===e)),l=r[0].top,c=r[r.length-1].bottom;return{top:l,bottom:c,left:o,right:e,width:e-o,height:c-l,x:o,y:l}}return g}},floating:o.floating,strategy:c});return r.reference.x!==x.reference.x||r.reference.y!==x.reference.y||r.reference.width!==x.reference.width||r.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=w(m(i)),g=h(p);let y=a[g],x=a[p];if(r){const t="y"===g?"bottom":"right";y=u(y+f["y"===g?"top":"left"],y,y-f[t])}if(l){const t="y"===p?"bottom":"right";x=u(x+f["y"===p?"top":"left"],x,x-f[t])}const v=c.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[g]:r,[p]:l}}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=w(i),p=h(u);let g=f[p],y=f[u];const x=d(c,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);y<n?y=n:y>o&&(y=o)}return{[p]:g,[u]:y}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:l,platform:c,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await $(e,u),g=m(r),y=p(r),x="y"===w(r),{width:v,height:b}=l.floating;let R,A;"top"===g||"bottom"===g?(R=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(A=g,R="end"===y?"top":"bottom");const L=b-h.top-h.bottom,T=v-h.left-h.right,D=s(b-h[R],L),E=s(v-h[A],T),O=!e.middlewareData.shift;let C=D,P=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=L),O&&!y){const t=i(h.left,0),e=i(h.right,0),n=i(h.top,0),o=i(h.bottom,0);x?P=v-2*(0!==t||0!==e?t+e:i(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:i(h.top,h.bottom))}await f({...e,availableWidth:P,availableHeight:C});const H=await c.getDimensions(a.floating);return v!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function Y(){return"undefined"!=typeof window}function _(t){return K(t)?(t.nodeName||"").toLowerCase():"#document"}function G(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function J(t){var e;return null==(e=(K(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function K(t){return!!Y()&&(t instanceof Node||t instanceof G(t).Node)}function Q(t){return!!Y()&&(t instanceof Element||t instanceof G(t).Element)}function U(t){return!!Y()&&(t instanceof HTMLElement||t instanceof G(t).HTMLElement)}function Z(t){return!(!Y()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof G(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function nt(t){return["table","td","th"].includes(_(t))}function et(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function ot(t){const e=it(),n=Q(t)?ct(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function st(t){let e=at(t);for(;U(e)&&!rt(e);){if(ot(e))return e;if(et(e))return null;e=at(e)}return null}function it(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(_(t))}function ct(t){return G(t).getComputedStyle(t)}function lt(t){return Q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function at(t){if("html"===_(t))return t;const e=t.assignedSlot||t.parentNode||Z(t)&&t.host||J(t);return Z(e)?e.host:e}function ft(t){const e=at(t);return rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:U(e)&&tt(e)?e:ft(e)}function ut(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=ft(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=G(i);if(r){const t=dt(l);return e.concat(l,l.visualViewport||[],tt(i)?i:[],t&&n?ut(t):[])}return e.concat(i,ut(i,[],n))}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=U(t),l=i?t.offsetWidth:n,c=i?t.offsetHeight:o,s=r(n)!==l||r(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function pt(t){return Q(t)?t:t.contextElement}function ht(t){const e=pt(t);if(!U(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:c}=mt(e);let s=(c?r(n.width):n.width)/o,a=(c?r(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const yt=l(0);function wt(t){const e=G(t);return it()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:yt}function gt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==G(t))&&e}function xt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=pt(t);let c=l(1);e&&(o?Q(o)&&(c=ht(o)):c=ht(t));const s=gt(r,n,o)?wt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=G(r),e=o&&Q(o)?G(o):o;let n=t,i=dt(n);for(;i&&o&&e!==n;){const t=ht(i),e=i.getBoundingClientRect(),o=ct(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=G(i),i=dt(n)}}return D({width:u,height:d,x:a,y:f})}function vt(t,e){const n=lt(t).scrollLeft;return e?e.left+n:xt(J(t)).left+n}function bt(t,e,n){void 0===n&&(n=!1);const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-(n?0:vt(t,o)),y:o.top+e.scrollTop}}function At(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=J(o),s=!!e&&et(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=U(o);if((d||!d&&!r)&&(("body"!==_(o)||tt(c))&&(a=lt(o)),U(o))){const t=xt(o);f=ht(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!c||d||r?l(0):bt(c,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Ot(t){return Array.from(t.getClientRects())}function Rt(t){const e=J(t),n=lt(t),o=t.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=i(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+vt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(c+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:c,y:s}}function kt(t,e){const n=G(t),o=J(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=it();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function St(t,e){const n=xt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=U(t)?ht(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Dt(t,e,n){let o;if("viewport"===e)o=kt(t,n);else if("document"===e)o=Rt(J(t));else if(Q(e))o=St(e,n);else{const n=wt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Ft(t,e){const n=at(t);return!(n===e||!Q(n)||rt(n))&&("fixed"===ct(n).position||Ft(n,e))}function Pt(t,e){const n=e.get(t);if(n)return n;let o=ut(t,[],!1).filter((t=>Q(t)&&"body"!==_(t))),i=null;const r="fixed"===ct(t).position;let l=r?at(t):t;for(;Q(l)&&!rt(l);){const e=ct(l),n=ot(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||tt(l)&&!n&&Ft(t,l))?o=o.filter((t=>t!==l)):i=e,l=at(l)}return e.set(t,o),o}function $t(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?et(e)?[]:Pt(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Dt(e,n,r);return t.top=i(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),Dt(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Tt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Ct(t,e,n){const o=U(e),i=J(e),r="fixed"===n,c=xt(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=vt(i)}if(o||!o&&!r)if(("body"!==_(e)||tt(i))&&(s=lt(e)),o){const t=xt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):bt(i,s);return{x:c.left+s.scrollLeft-a.x-u.x,y:c.top+s.scrollTop-a.y-u.y,width:c.width,height:c.height}}function Et(t){return"static"===ct(t).position}function zt(t,e){if(!U(t)||"fixed"===ct(t).position)return null;if(e)return e(t);let n=t.offsetParent;return J(t)===n&&(n=n.ownerDocument.body),n}function Bt(t,e){const n=G(t);if(et(t))return n;if(!U(t)){let e=at(t);for(;e&&!rt(e);){if(Q(e)&&!Et(e))return e;e=at(e)}return n}let o=zt(t,e);for(;o&&nt(o)&&Et(o);)o=zt(o,e);return o&&rt(o)&&Et(o)&&!ot(o)?n:o||st(t)||n}const Ht=async function(t){const e=this.getOffsetParent||Bt,n=this.getDimensions,o=await n(t.floating);return{reference:Ct(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Mt(t){return"rtl"===ct(t).direction}const jt={convertOffsetParentRelativeRectToViewportRelativeRect:At,getDocumentElement:J,getClippingRect:$t,getOffsetParent:Bt,getElementRects:Ht,getClientRects:Ot,getDimensions:Tt,getScale:ht,isElement:Q,isRTL:Mt};function Lt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function It(t,e){let n,o=null;const r=J(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-c(h)+"px "+-c(r.clientWidth-(m+p))+"px "+-c(r.clientHeight-(h+g))+"px "+-c(m)+"px",threshold:i(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==o||Lt(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function Nt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=pt(t),f=i||r?[...a?ut(a):[],...ut(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?It(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=h)||t.observe(e)}))),n()})),a&&!s&&h.observe(a),h.observe(e));let p=s?xt(t):null;return s&&function e(){const o=xt(t);p&&!Lt(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==u||u(),null==(t=h)||t.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const qt=q,Wt=W,Vt=z,Xt=T,Yt=(t,e,n)=>{const o=new Map,i={platform:jt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},_t=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[qt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),Vt(),Wt()];o&&t.push(Xt({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Yt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(c=f.arrow)||void 0===c?void 0:c.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{_t as a,Nt as b};
|
4
|
+
import{p as t}from"./index-4fb06bbb.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce(((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1])),[]),s=Math.min,i=Math.max,r=Math.round,c=Math.floor,l=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function u(t,e,n){return i(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return h(w(t))}function x(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=R(l)),[l,R(l)]}function v(t){const e=R(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>a[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function O(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function R(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function F(t,e,n){let{reference:o,floating:i}=t;const r=w(e),l=g(e),c=y(l),s=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let h;switch(s){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},h=0;for(let n=0;n<c.length;n++){const{name:r,fn:p}=c[n],{x:g,y:y,data:w,reset:x}=await p({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=c[m?"floating"===u?"reference":"floating":u],y=D(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:s})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=S(m),w={x:n,y:o},x=g(i),v=y(x),b=await l.getDimensions(f),R="y"===x,A=R?"top":"left",L=R?"bottom":"right",T=R?"clientHeight":"clientWidth",D=r.reference[v]+r.reference[x]-w[x]-r.floating[v],E=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[T]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[T]||r.floating[v]);const P=D/2-E/2,H=C/2-b[v]/2-1,F=s(h[A],H),B=s(h[L],H),W=F,k=C-b[v]-B,$=C/2-b[v]/2+P,G=u(W,$,k),z=!a.arrow&&null!=p(i)&&$!==G&&r.reference[v]/2-($<W?F:B)-b[v]/2<0,Q=z?$<W?$-W:$-k:0;return{[x]:w[x]+Q,data:{[x]:G,centerOffset:$-G-Q,...z&&{alignmentOffset:Q}},reset:z}}});function C(t,e,n){const o=t?[...n.filter((e=>p(e)===t)),...n.filter((e=>p(e)!==t))]:n.filter((t=>m(t)===t));return o.filter((n=>!t||(p(n)===t||!!e&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,w),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,A=v[R];if(null==A)return{};const L=x(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==A)return{reset:{placement:v[0]}};const T=[b[m(A)],b[L[0]],b[L[1]]],D=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:T}],E=v[R+1];if(E)return{data:{index:R+1,overflows:D},reset:{placement:E}};const O=D.map((t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),P=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=P[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:D},reset:{placement:H}}:{}}}},z=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const A=m(i),L=w(c),T=m(c)===c,D=await(null==s.isRTL?void 0:s.isRTL(a.floating)),E=h||(T||!y?[R(c)]:v(c)),C="none"!==g;!h&&C&&E.push(...O(c,y,g,D));const P=[c,...E],H=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(H[A]),u){const t=x(i,l,D);S.push(H[t[0]],H[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var B,W;const t=((null==(B=r.flip)?void 0:B.index)||0)+1,e=P[t];if(e){if(!("alignment"===u&&L!==w(e))||F.every((t=>t.overflows[0]>0&&w(t.placement)===L)))return{data:{index:t,overflows:F},reset:{placement:e}}}let n=null==(W=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(p){case"bestFit":{var k;const t=null==(k=F.filter((t=>{if(C){const e=w(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:k[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function j(t){const e=s(...t.map((t=>t.left))),n=s(...t.map((t=>t.top)));return{x:e,y:n,width:i(...t.map((t=>t.right)))-e,height:i(...t.map((t=>t.bottom)))-n}}function L(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>D(j(t))))}const I=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:l,strategy:c}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),p=L(h),g=D(j(h)),y=S(a);const x=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(p.length>=2){if("y"===w(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=i(...p.map((t=>t.right))),o=s(...p.map((t=>t.left))),r=p.filter((n=>t?n.left===o:n.right===e)),l=r[0].top,c=r[r.length-1].bottom;return{top:l,bottom:c,left:o,right:e,width:e-o,height:c-l,x:o,y:l}}return g}},floating:o.floating,strategy:c});return r.reference.x!==x.reference.x||r.reference.y!==x.reference.y||r.reference.width!==x.reference.width||r.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=w(m(i)),g=h(p);let y=a[g],x=a[p];if(r){const t="y"===g?"bottom":"right";y=u(y+f["y"===g?"top":"left"],y,y-f[t])}if(l){const t="y"===p?"bottom":"right";x=u(x+f["y"===p?"top":"left"],x,x-f[t])}const v=c.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[g]:r,[p]:l}}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=w(i),p=h(u);let g=f[p],y=f[u];const x=d(c,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);y<n?y=n:y>o&&(y=o)}return{[p]:g,[u]:y}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:l,platform:c,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await $(e,u),g=m(r),y=p(r),x="y"===w(r),{width:v,height:b}=l.floating;let R,A;"top"===g||"bottom"===g?(R=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(A=g,R="end"===y?"top":"bottom");const L=b-h.top-h.bottom,T=v-h.left-h.right,D=s(b-h[R],L),E=s(v-h[A],T),O=!e.middlewareData.shift;let C=D,P=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=L),O&&!y){const t=i(h.left,0),e=i(h.right,0),n=i(h.top,0),o=i(h.bottom,0);x?P=v-2*(0!==t||0!==e?t+e:i(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:i(h.top,h.bottom))}await f({...e,availableWidth:P,availableHeight:C});const H=await c.getDimensions(a.floating);return v!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function Y(){return"undefined"!=typeof window}function _(t){return K(t)?(t.nodeName||"").toLowerCase():"#document"}function G(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function J(t){var e;return null==(e=(K(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function K(t){return!!Y()&&(t instanceof Node||t instanceof G(t).Node)}function Q(t){return!!Y()&&(t instanceof Element||t instanceof G(t).Element)}function U(t){return!!Y()&&(t instanceof HTMLElement||t instanceof G(t).HTMLElement)}function Z(t){return!(!Y()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof G(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function nt(t){return["table","td","th"].includes(_(t))}function et(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function ot(t){const e=it(),n=Q(t)?ct(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function st(t){let e=ft(t);for(;U(e)&&!rt(e);){if(ot(e))return e;if(et(e))return null;e=ft(e)}return null}function it(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(_(t))}function ct(t){return G(t).getComputedStyle(t)}function lt(t){return Q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ft(t){if("html"===_(t))return t;const e=t.assignedSlot||t.parentNode||Z(t)&&t.host||J(t);return Z(e)?e.host:e}function at(t){const e=ft(t);return rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:U(e)&&tt(e)?e:at(e)}function ut(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=at(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=G(i);if(r){const t=dt(l);return e.concat(l,l.visualViewport||[],tt(i)?i:[],t&&n?ut(t):[])}return e.concat(i,ut(i,[],n))}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=U(t),l=i?t.offsetWidth:n,c=i?t.offsetHeight:o,s=r(n)!==l||r(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function pt(t){return Q(t)?t:t.contextElement}function ht(t){const e=pt(t);if(!U(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:c}=mt(e);let s=(c?r(n.width):n.width)/o,a=(c?r(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const yt=l(0);function wt(t){const e=G(t);return it()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:yt}function gt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==G(t))&&e}function xt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=pt(t);let c=l(1);e&&(o?Q(o)&&(c=ht(o)):c=ht(t));const s=gt(r,n,o)?wt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=G(r),e=o&&Q(o)?G(o):o;let n=t,i=dt(n);for(;i&&o&&e!==n;){const t=ht(i),e=i.getBoundingClientRect(),o=ct(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=G(i),i=dt(n)}}return D({width:u,height:d,x:a,y:f})}function vt(t,e){const n=lt(t).scrollLeft;return e?e.left+n:xt(J(t)).left+n}function bt(t,e,n){void 0===n&&(n=!1);const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-(n?0:vt(t,o)),y:o.top+e.scrollTop}}function At(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=J(o),s=!!e&&et(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=U(o);if((d||!d&&!r)&&(("body"!==_(o)||tt(c))&&(a=lt(o)),U(o))){const t=xt(o);f=ht(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!c||d||r?l(0):bt(c,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Ot(t){return Array.from(t.getClientRects())}function Rt(t){const e=J(t),n=lt(t),o=t.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=i(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+vt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(c+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:c,y:s}}function kt(t,e){const n=G(t),o=J(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=it();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function St(t,e){const n=xt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=U(t)?ht(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Dt(t,e,n){let o;if("viewport"===e)o=kt(t,n);else if("document"===e)o=Rt(J(t));else if(Q(e))o=St(e,n);else{const n=wt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Ft(t,e){const n=ft(t);return!(n===e||!Q(n)||rt(n))&&("fixed"===ct(n).position||Ft(n,e))}function Pt(t,e){const n=e.get(t);if(n)return n;let o=ut(t,[],!1).filter((t=>Q(t)&&"body"!==_(t))),i=null;const r="fixed"===ct(t).position;let l=r?ft(t):t;for(;Q(l)&&!rt(l);){const e=ct(l),n=ot(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||tt(l)&&!n&&Ft(t,l))?o=o.filter((t=>t!==l)):i=e,l=ft(l)}return e.set(t,o),o}function $t(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?et(e)?[]:Pt(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Dt(e,n,r);return t.top=i(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),Dt(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Tt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Ct(t,e,n){const o=U(e),i=J(e),r="fixed"===n,c=xt(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=vt(i)}if(o||!o&&!r)if(("body"!==_(e)||tt(i))&&(s=lt(e)),o){const t=xt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):bt(i,s);return{x:c.left+s.scrollLeft-a.x-u.x,y:c.top+s.scrollTop-a.y-u.y,width:c.width,height:c.height}}function Et(t){return"static"===ct(t).position}function zt(t,e){if(!U(t)||"fixed"===ct(t).position)return null;if(e)return e(t);let n=t.offsetParent;return J(t)===n&&(n=n.ownerDocument.body),n}function Bt(t,e){const n=G(t);if(et(t))return n;if(!U(t)){let e=ft(t);for(;e&&!rt(e);){if(Q(e)&&!Et(e))return e;e=ft(e)}return n}let o=zt(t,e);for(;o&&nt(o)&&Et(o);)o=zt(o,e);return o&&rt(o)&&Et(o)&&!ot(o)?n:o||st(t)||n}const Ht=async function(t){const e=this.getOffsetParent||Bt,n=this.getDimensions,o=await n(t.floating);return{reference:Ct(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Mt(t){return"rtl"===ct(t).direction}const jt={convertOffsetParentRelativeRectToViewportRelativeRect:At,getDocumentElement:J,getClippingRect:$t,getOffsetParent:Bt,getElementRects:Ht,getClientRects:Ot,getDimensions:Tt,getScale:ht,isElement:Q,isRTL:Mt};function Lt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function It(t,e){let n,o=null;const r=J(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-c(h)+"px "+-c(r.clientWidth-(m+p))+"px "+-c(r.clientHeight-(h+g))+"px "+-c(m)+"px",threshold:i(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==o||Lt(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function Nt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=pt(t),f=i||r?[...a?ut(a):[],...ut(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?It(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=h)||t.observe(e)}))),n()})),a&&!s&&h.observe(a),h.observe(e));let p=s?xt(t):null;return s&&function e(){const o=xt(t);p&&!Lt(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==u||u(),null==(t=h)||t.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const qt=q,Wt=W,Vt=z,Xt=T,Yt=(t,e,n)=>{const o=new Map,i={platform:jt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},_t=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[qt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),Vt(),Wt()];o&&t.push(Xt({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Yt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(c=f.arrow)||void 0===c?void 0:c.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{_t as a,Nt as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*!
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
3
|
+
*/
|
4
|
+
import{L as o,n as t,b as a}from"./index-4fb06bbb.js";import{a as e}from"./index-9b23879d.js";e((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,a(o))}catch(o){}return"default"})),import("./devtools-aaf0ea07.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}));const f=()=>{},n=f;export{n as g};
|
package/dist/kolibri/{associated.controller-8d1afc0c.js → associated.controller-3dab1e00.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{y as t,E as e,C as i,
|
4
|
+
import{y as t,E as e,C as i,G as s}from"./index-4fb06bbb.js";const o=(e,i,s)=>{t(e,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,s,o){var r,n,l;if(this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&t._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{w as t,y as a,j as n}from"./index-
|
4
|
+
import{w as t,y as a,j as n}from"./index-4fb06bbb.js";const o=["button","link","tab","treeitem"],r=(a,e)=>{t(a,"_role",(t=>"string"==typeof t&&o.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${o.join(", ")}`]),e)},e=(t,e)=>{a(t,"_ariaDescription",e)},i=(t,a)=>{n(t,"_ariaExpanded",a)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],c=(a,e)=>{t(a,"_variant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),e,{defaultValue:"normal"})};export{i as a,r as b,c,e as v};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{r as e,q as r,w as a,L as t,f as n}from"./index-
|
4
|
+
import{r as e,q as r,w as a,L as t,f as n}from"./index-4fb06bbb.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=l,o=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),i[e])o=i[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=r[1],u="rgb"===l;a=n=l.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),l===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var g=o,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},p=new Map,y=(e,r,a,o=1)=>{if(p.has(e))return p.get(e);const t=h(e,r,a,o);return p.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=f(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=f(r.background),t="string"==typeof r.foreground?f(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",$,new Set(["rgb in hex","ColorPair"]),r,o)},I=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":{const e=o.value;let t="";"string"==typeof e.foregroundColor?t=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(t=e.foregroundColor.primary),t&&"string"==typeof t||(t="#fff"),a=b({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&n(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{f as c,I as h,q as v};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{j as t,o as i,l as s,w as e,i as o,k as h,f as a,y as r,C as n,m as l}from"./index-
|
4
|
+
import{j as t,o as i,l as s,w as e,i as o,k as h,f as a,y as r,C as n,m as l}from"./index-4fb06bbb.js";import{s as d,t as u}from"./events-29e84d75.js";import{A as c}from"./associated.controller-3dab1e00.js";import{v as f,a as v,b as p,c as y}from"./access-and-short-key-a34a0af0.js";import{v as m}from"./hide-label-2b46168f.js";import{a as b}from"./label-51d66c9d.js";import{v as g}from"./tooltip-align-de415afb.js";const _=(o,e)=>{t(o,"_adjustHeight",e)},j=(o,e,n)=>{t(o,"_hideError",e,n)},k=(t,n)=>{i(n,(()=>{try{n=s(n)}catch(t){}e(t,"_msg",(t=>o(t)&&"string"==typeof(null==t?void 0:t._description)),new Set(["MsgPropType"]),n,{defaultValue:{_description:"",_type:"error"}})}))},x=(o,e)=>{t(o,"_touched",e)},A=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class B extends c{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class C extends B{constructor(t,o,e){super(t,o,e),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.component=t}validateAccessKey(t){f(this.component,t),v(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&a("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&a("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){r(this.component,"_hint",t)}validateId(t){r(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||n("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){b(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&l(this.component,"_on",t)}validateShortKey(t){p(this.component,t),v(this.component._accessKey,t)}validateSmartButton(t){i(t,(()=>{try{t=s(t)}catch(t){}l(this.component,"_smartButton",t)}))}validateTabIndex(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),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),v(this.component._accessKey,this.component._shortKey)}onBlur(t){var o;this.component._touched=!0,d(t),u("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t,o){var e;o=null!=o?o:t.target.value,u("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onInput(t,o=!0,e){var n;e=null!=e?e:t.target.value,d(t),u("input",this.host,e),o&&this.setFormAssociatedValue(e),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onInput)&&this.component._on.onInput(t,e)}onClick(t){var o;d(t),u("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;d(t),u("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{C as I,A as g};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{
|
4
|
+
import{D as e,a as o,E as t,C as n,L as i}from"./index-4fb06bbb.js";import{m as f}from"./component-names-4cb1c62b.js";const s=e=>{for(t()&&(n("↓ Search form element start."),i.debug(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&e.tagName!==f.toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch(e){}t()&&(i.debug(e),n("↑ Search form element finished."))}return e},l=(t={})=>{var n,a;const i=s(t.form);if(i instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)e(t,i),i.dispatchEvent(t);else if(i.tagName===f.toUpperCase()){e(t,o.querySelector("form",i));const s=i;"function"==typeof(null===(n=s._on)||void 0===n?void 0:n.onReset)&&(null===(a=s._on)||void 0===a||a.onReset(t))}}},a=(a={})=>{const i=s(a.form);if(i instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:i});if("FORM"===i.tagName)t()&&!1===i.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof i.requestSubmit?i.requestSubmit():(e(a,i),i.dispatchEvent(a))}));else if(i.tagName===f.toUpperCase()){e(a,o.querySelector("form",i));const t=i;setTimeout((()=>{var e,o;"function"==typeof(null===(e=t._on)||void 0===e?void 0:e.onSubmit)&&(null===(o=t._on)||void 0===o||o.onSubmit(a))}))}}};export{l as a,a as p};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{w as t,
|
4
|
+
import{w as t,F as i,y as s,j as e,m as a}from"./index-4fb06bbb.js";import{I as h}from"./controller-icon-811adcf4.js";import{d as o,v as r}from"./debounce-112fa67e.js";const n=["default","visibility-toggle"],l=(e,o)=>{t(e,"_variant",(t=>"string"==typeof t&&n.includes(t)),new Set(n),o)};class d extends h{constructor(t,e,n){super(t,e,n),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&(this.component.state._currentLength=this.component._value.length,this.component.state._currentLengthDebounced=this.component._value.length)},this.updateCurrentLengthDebounced=o((t=>{a(this.component,"_currentLengthDebounced",t)}),500),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){r(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){l(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){e(this.component,"_readOnly",t)}validateRequired(t){e(this.component,"_required",t)}validateValue(t){s(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{d as I};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{w as s}from"./index-
|
4
|
+
import{w as s}from"./index-4fb06bbb.js";import{I as t}from"./controller-8ace9659.js";import{v as e}from"./spell-check-5b365d45.js";import{v as i}from"./suggestions-7e70d4e3.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{f as t,v as s,i as e,j as i,w as a,m as r}from"./index-
|
4
|
+
import{f as t,v as s,i as e,j as i,w as a,m as r}from"./index-4fb06bbb.js";import{I as o}from"./controller-4fa871d2.js";import{b as n,c as f}from"./label-51d66c9d.js";const l=e=>{if("object"==typeof e&&null!==e){if("string"==typeof e.label&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===n(e.label,3)&&!1===f(e.label)&&t(`A differing Aria-Label (${e.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||void 0===e.options.find((t=>!1===l(t)));if("number"==typeof e.label)return!0}return!1},h=(t,o,i={})=>{s(t,"_options",(t=>e(t)&&"string"==typeof t.label&&t.label.length>0),o,void 0,i)},c=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},u=(t,e)=>{i(t,"_required",e)},d=["horizontal","vertical"],p=(t,e,o="")=>{e.forEach(((e,i)=>{const a=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?p(t,e.options,a):t.set(a,e))}))};class b extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class y extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,i)=>{"_value"===i&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),p(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",(t=>"string"==typeof t&&d.includes(t)),new Set([`Orientation {${d.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){h(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{b as I,y as a,h as b,p as f,c as v};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import"./index-
|
4
|
+
import"./index-4fb06bbb.js";import{I as s}from"./controller-4fa871d2.js";import{v as o}from"./icons-d29928c3.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{j as n}from"./index-
|
4
|
+
import{j as n}from"./index-4fb06bbb.js";const e=(t,r,e)=>{n(t,"_hasCounter",r,e)};var r="object"==typeof global&&global&&global.Object===Object&&global;const t=r;var u="object"==typeof self&&self&&self.Object===Object&&self,i=t||u||Function("return this")();const f=i;var o=f.Symbol;const a=o;var c=Object.prototype,v=c.hasOwnProperty,d=c.toString,l=a?a.toStringTag:void 0;function s(t){var n=v.call(t,l),r=t[l];try{t[l]=void 0;var e=!0}catch(t){}var o=d.call(t);return e&&(n?t[l]=r:delete t[l]),o}var b=Object.prototype,j=b.toString;function p(t){return j.call(t)}var y="[object Null]",m="[object Undefined]",h=a?a.toStringTag:void 0;function T(t){return null==t?void 0===t?m:y:h&&h in Object(t)?s(t):p(t)}function g(t){return null!=t&&"object"==typeof t}var x="[object Symbol]";function O(t){return"symbol"==typeof t||g(t)&&T(t)==x}var w=/\s/;function $(t){for(var n=t.length;n--&&w.test(t.charAt(n)););return n}var E=/^\s+/;function M(t){return t?t.slice(0,$(t)+1).replace(E,""):t}function C(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var F=NaN,I=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,S=/^0o[0-7]+$/i,U=parseInt;function W(t){if("number"==typeof t)return t;if(O(t))return F;if(C(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=C(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=M(t);var r=N.test(t);return r||S.test(t)?U(t.slice(2),r?2:8):I.test(t)?F:+t}var _=function(){return f.Date.now()};const k=_;var q="Expected a function",z=Math.max,A=Math.min;function B(t,n,r){var e,o,i,a,u,c,f=0,l=!1,v=!1,s=!0;if("function"!=typeof t)throw new TypeError(q);function b(n){var r=e,i=o;return e=o=void 0,f=n,a=t.apply(i,r)}function p(t){var r=t-c;return void 0===c||r>=n||r<0||v&&t-f>=i}function d(){var t=k();if(p(t))return y(t);u=setTimeout(d,function(t){var r=n-(t-c);return v?A(r,i-(t-f)):r}(t))}function y(t){return u=void 0,s&&e?b(t):(e=o=void 0,a)}function j(){var t=k(),r=p(t);if(e=arguments,o=this,c=t,r){if(void 0===u)return function(t){return f=t,u=setTimeout(d,n),l?b(t):a}(c);if(v)return clearTimeout(u),u=setTimeout(d,n),b(c)}return void 0===u&&(u=setTimeout(d,n)),a}return n=W(n)||0,C(r)&&(l=!!r.leading,i=(v="maxWait"in r)?z(W(r.maxWait)||0,n):i,s="trailing"in r?!!r.trailing:s),j.cancel=function(){void 0!==u&&clearTimeout(u),f=0,e=c=o=u=void 0},j.flush=function(){return void 0===u?a:y(k())},j}export{B as d,e as v};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-
|
4
|
+
import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-4fb06bbb.js";import{E as r}from"./index-9b23879d.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(f=()=>"nonce");export{l as i,f as n,b as r};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{R as t,g as e,L as o,E as s,T as l,U as
|
4
|
+
import{R as t,g as e,L as o,E as s,T as l,U as i,N as n,W as r,X as a,Y as f,l as c,Z as d,e as L}from"./index-4fb06bbb.js";import{i as p,r as m}from"./dev.utils-e4e292d2.js";import"./index-9b23879d.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function b(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),v=()=>{if(p(),t()){m(),b("a11yColorContrast",i),b("querySelector",n),b("querySelectorAll",r),b("querySelectorColors",a),b("utils",(function(){return f})),b("parseJson",c),b("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(p),h("Development mode",t()),h("Experimental mode",s()),h("Color contrast analysis",l()),l()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{f.queryHtmlElementColors(e().createElement("div"),i(o),!1,!1)}),1e4)}),2500)}}};export{v as initialize};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{g as t,i as r}from"./i18n-b14e6088.js";import{p as s}from"./index-
|
4
|
+
import{g as t,i as r}from"./i18n-b14e6088.js";import{p as s}from"./index-4fb06bbb.js";let e=(e,s)=>{var a;return(null!==(a=t())&&void 0!==a?a:r("de")).translate(e,s)};"test"===s&&(e=t=>t);export{e as t};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
3
3
|
*/
|
4
|
-
import{o,l as i,w as t,z as n,i as e,
|
4
|
+
import{o,l as i,w as t,z as n,i as e,H as c}from"./index-4fb06bbb.js";const l=(t,o,l)=>{e(l)?t[o]=l:n(l,1)&&(t[o]={icon:l})},s=t=>{let o={};if(n(t,1))o={left:{icon:t}};else if(e(t)){const e=t;l(o,"top",e.top),l(o,"right",e.right),l(o,"bottom",e.bottom),l(o,"left",e.left)}return o},f=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",s(o))}},d=t=>e(t)&&(void 0===t.style||c(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),a=(l,s,a={})=>{o(s,(()=>{var o;try{s=i(s)}catch(o){}t(l,"_icons",(t=>{const o=e(t)&&0===Object.keys(t).length;return null===t||o||n(t,1)||e(t)&&(n(t.left,1)||d(t.left)||n(t.right,1)||d(t.right)||n(t.top,1)||d(t.top)||n(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),s,Object.assign(Object.assign({},a),{defaultValue:{},hooks:{afterPatch:null===(o=a.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,i;"function"==typeof(null===(l=a.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(i=a.hooks)||void 0===i||i.beforePatch(t,o,e,n)),f(e)}}}))}))};export{a as v};
|