@public-ui/components 1.7.0 → 1.7.2-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1 -1
- package/dist/cjs/{a11y.tipps-36c446cd.js → a11y.tipps-20bd827e.js} +1 -1
- package/dist/cjs/{a11y.tipps-36c446cd.js.map → a11y.tipps-20bd827e.js.map} +1 -1
- package/dist/cjs/{align-53333fc0.js → align-c615467e.js} +1 -1
- package/dist/cjs/{align-53333fc0.js.map → align-c615467e.js.map} +1 -1
- package/dist/cjs/{alignment-f24f0db3.js → alignment-c3d8299d.js} +1 -1
- package/dist/cjs/{alignment-f24f0db3.js.map → alignment-c3d8299d.js.map} +1 -1
- package/dist/cjs/{app-globals-19d94d0f.js → app-globals-02609afb.js} +1 -1
- package/dist/cjs/{app-globals-19d94d0f.js.map → app-globals-02609afb.js.map} +1 -1
- package/dist/cjs/{aria-current-1d86fcf2.js → aria-current-bf82eb71.js} +1 -1
- package/dist/cjs/{aria-current-1d86fcf2.js.map → aria-current-bf82eb71.js.map} +1 -1
- package/dist/cjs/{associated.controller-d4bd3a15.js → associated.controller-2dd7773f.js} +1 -1
- package/dist/cjs/{associated.controller-d4bd3a15.js.map → associated.controller-2dd7773f.js.map} +1 -1
- package/dist/cjs/{color-ac1a7758.js → color-1bf0d8bb.js} +1 -1
- package/dist/cjs/{color-ac1a7758.js.map → color-1bf0d8bb.js.map} +1 -1
- package/dist/cjs/{controller-3665d3ce.js → controller-50fb2d61.js} +1 -1
- package/dist/cjs/{controller-3665d3ce.js.map → controller-50fb2d61.js.map} +1 -1
- package/dist/cjs/{controller-c1e976a7.js → controller-a46514a3.js} +1 -1
- package/dist/cjs/{controller-c1e976a7.js.map → controller-a46514a3.js.map} +1 -1
- package/dist/cjs/{controller-4eb3ef58.js → controller-b83c9c07.js} +1 -1
- package/dist/cjs/{controller-4eb3ef58.js.map → controller-b83c9c07.js.map} +1 -1
- package/dist/cjs/{controller-71cf630b.js → controller-d0a5d421.js} +1 -1
- package/dist/cjs/{controller-71cf630b.js.map → controller-d0a5d421.js.map} +1 -1
- package/dist/cjs/{controller-9f972370.js → controller-eb9541ad.js} +1 -1
- package/dist/cjs/{controller-9f972370.js.map → controller-eb9541ad.js.map} +1 -1
- package/dist/cjs/{controller-icon-dcb3bc57.js → controller-icon-d6dcfaed.js} +1 -1
- package/dist/cjs/{controller-icon-dcb3bc57.js.map → controller-icon-d6dcfaed.js.map} +1 -1
- package/dist/cjs/{custom-class-df8786ee.js → custom-class-797d23e1.js} +1 -1
- package/dist/cjs/{custom-class-df8786ee.js.map → custom-class-797d23e1.js.map} +1 -1
- package/dist/cjs/{dev.utils-99246414.js → dev.utils-c7621892.js} +1 -1
- package/dist/cjs/{dev.utils-99246414.js.map → dev.utils-c7621892.js.map} +1 -1
- package/dist/cjs/{devtools-4bd98bcb.js → devtools-fb4454af.js} +1 -1
- package/dist/cjs/{devtools-4bd98bcb.js.map → devtools-fb4454af.js.map} +1 -1
- package/dist/cjs/has-closer-479d4658.js +4 -0
- package/dist/cjs/{has-closer-132155e4.js.map → has-closer-479d4658.js.map} +1 -1
- package/dist/cjs/hide-label-624ed0df.js +4 -0
- package/dist/cjs/{hide-label-7f2a1936.js.map → hide-label-624ed0df.js.map} +1 -1
- package/dist/cjs/{i18n-e7bd3548.js → i18n-2342e202.js} +1 -1
- package/dist/cjs/{i18n-e7bd3548.js.map → i18n-2342e202.js.map} +1 -1
- package/dist/cjs/{icons-8f77bb40.js → icons-2ee332dc.js} +1 -1
- package/dist/cjs/{icons-8f77bb40.js.map → icons-2ee332dc.js.map} +1 -1
- package/dist/cjs/image-source-cf8ab51e.js +4 -0
- package/dist/cjs/{image-source-95b8723d.js.map → image-source-cf8ab51e.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc_3.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input.cjs.entry.js +1 -1
- package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js +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-logo.cjs.entry.js +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-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-span-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-symbol.cjs.entry.js +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-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-d1037148.js → label-960c33d0.js} +1 -1
- package/dist/cjs/{label-d1037148.js.map → label-960c33d0.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-aa7908fd.js +4 -0
- package/dist/cjs/{open-d4c06e3e.js.map → open-aa7908fd.js.map} +1 -1
- package/dist/cjs/{prop.validators-d574659e.js → prop.validators-edbcdb8f.js} +1 -1
- package/dist/cjs/{prop.validators-d574659e.js.map → prop.validators-edbcdb8f.js.map} +1 -1
- package/dist/cjs/rows-691988d0.js +4 -0
- package/dist/cjs/{rows-cc432a31.js.map → rows-691988d0.js.map} +1 -1
- package/dist/cjs/show-9affcee7.js +4 -0
- package/dist/cjs/{show-fb2f90b3.js.map → show-9affcee7.js.map} +1 -1
- package/dist/cjs/{suggestions-a20c409e.js → suggestions-22073ba6.js} +1 -1
- package/dist/cjs/{suggestions-a20c409e.js.map → suggestions-22073ba6.js.map} +1 -1
- package/dist/cjs/{tab-index-1011831b.js → tab-index-4a2d5e81.js} +1 -1
- package/dist/cjs/{tab-index-1011831b.js.map → tab-index-4a2d5e81.js.map} +1 -1
- package/dist/cjs/{tooltip-align-b40f952f.js → tooltip-align-8d8541c4.js} +1 -1
- package/dist/cjs/{tooltip-align-b40f952f.js.map → tooltip-align-8d8541c4.js.map} +1 -1
- package/dist/cjs/{validation-226165e1.js → validation-2b1f8e24.js} +1 -1
- package/dist/cjs/{validation-226165e1.js.map → validation-2b1f8e24.js.map} +1 -1
- package/dist/cjs/{validation-a2f9984c.js → validation-d21a48de.js} +1 -1
- package/dist/cjs/{validation-a2f9984c.js.map → validation-d21a48de.js.map} +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component13.js.map +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component5.js.map +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/component9.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-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/prop.validators.js.map +1 -1
- package/dist/esm/{a11y.tipps-96a0d55e.js → a11y.tipps-27b2bac3.js} +1 -1
- package/dist/esm/{a11y.tipps-96a0d55e.js.map → a11y.tipps-27b2bac3.js.map} +1 -1
- package/dist/esm/{align-82e23120.js → align-403e4c28.js} +1 -1
- package/dist/esm/{align-82e23120.js.map → align-403e4c28.js.map} +1 -1
- package/dist/esm/{alignment-60e80b38.js → alignment-f6c39ec3.js} +1 -1
- package/dist/esm/{alignment-60e80b38.js.map → alignment-f6c39ec3.js.map} +1 -1
- package/dist/esm/{app-globals-0aa726e9.js → app-globals-e8a987cd.js} +1 -1
- package/dist/esm/{app-globals-0aa726e9.js.map → app-globals-e8a987cd.js.map} +1 -1
- package/dist/esm/{aria-current-918c3eeb.js → aria-current-25867d42.js} +1 -1
- package/dist/esm/{aria-current-918c3eeb.js.map → aria-current-25867d42.js.map} +1 -1
- package/dist/esm/{associated.controller-587d895e.js → associated.controller-c38365b9.js} +1 -1
- package/dist/esm/{associated.controller-587d895e.js.map → associated.controller-c38365b9.js.map} +1 -1
- package/dist/esm/{color-9c9594f2.js → color-88367b45.js} +1 -1
- package/dist/esm/{color-9c9594f2.js.map → color-88367b45.js.map} +1 -1
- package/dist/esm/{controller-c9d9d6fb.js → controller-35349212.js} +1 -1
- package/dist/esm/{controller-c9d9d6fb.js.map → controller-35349212.js.map} +1 -1
- package/dist/esm/{controller-59de7c75.js → controller-46ce7055.js} +1 -1
- package/dist/esm/{controller-59de7c75.js.map → controller-46ce7055.js.map} +1 -1
- package/dist/esm/{controller-f7ad800b.js → controller-72e997fa.js} +1 -1
- package/dist/esm/{controller-f7ad800b.js.map → controller-72e997fa.js.map} +1 -1
- package/dist/esm/{controller-b76e8e72.js → controller-bf4c7374.js} +1 -1
- package/dist/esm/{controller-b76e8e72.js.map → controller-bf4c7374.js.map} +1 -1
- package/dist/esm/{controller-ca5fb95d.js → controller-d0bb59bd.js} +1 -1
- package/dist/esm/{controller-ca5fb95d.js.map → controller-d0bb59bd.js.map} +1 -1
- package/dist/esm/{controller-icon-47f395ec.js → controller-icon-c4fcbb01.js} +1 -1
- package/dist/esm/{controller-icon-47f395ec.js.map → controller-icon-c4fcbb01.js.map} +1 -1
- package/dist/esm/{custom-class-1c04cb15.js → custom-class-408bcebb.js} +1 -1
- package/dist/esm/{custom-class-1c04cb15.js.map → custom-class-408bcebb.js.map} +1 -1
- package/dist/esm/{dev.utils-7238d735.js → dev.utils-5e2f4fb8.js} +1 -1
- package/dist/esm/{dev.utils-7238d735.js.map → dev.utils-5e2f4fb8.js.map} +1 -1
- package/dist/esm/{devtools-71e88c8a.js → devtools-47712aae.js} +1 -1
- package/dist/esm/{devtools-71e88c8a.js.map → devtools-47712aae.js.map} +1 -1
- package/dist/esm/{has-closer-36836ae9.js → has-closer-24e1c604.js} +1 -1
- package/dist/esm/{has-closer-36836ae9.js.map → has-closer-24e1c604.js.map} +1 -1
- package/dist/esm/{hide-label-5160b357.js → hide-label-d3233b54.js} +1 -1
- package/dist/esm/{hide-label-5160b357.js.map → hide-label-d3233b54.js.map} +1 -1
- package/dist/esm/{i18n-eeac63d8.js → i18n-8a2a41a4.js} +1 -1
- package/dist/esm/{i18n-eeac63d8.js.map → i18n-8a2a41a4.js.map} +1 -1
- package/dist/esm/{icons-7745834b.js → icons-c37d9e06.js} +1 -1
- package/dist/esm/{icons-7745834b.js.map → icons-c37d9e06.js.map} +1 -1
- package/dist/esm/{image-source-57df388e.js → image-source-a3f9dd93.js} +1 -1
- package/dist/esm/{image-source-57df388e.js.map → image-source-a3f9dd93.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-alert-wc_3.entry.js +1 -1
- package/dist/esm/kol-alert-wc_3.entry.js.map +1 -1
- package/dist/esm/kol-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-radio-group.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input.entry.js +1 -1
- package/dist/esm/kol-input.entry.js.map +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-group.entry.js +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-logo.entry.js +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-pagination.entry.js +1 -1
- package/dist/esm/kol-popover.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-span-wc_2.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-symbol.entry.js +1 -1
- package/dist/esm/kol-table.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toast.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-6773f794.js → label-6c8b047b.js} +1 -1
- package/dist/esm/{label-6773f794.js.map → label-6c8b047b.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-f61e2b66.js → open-6de0da43.js} +1 -1
- package/dist/esm/{open-f61e2b66.js.map → open-6de0da43.js.map} +1 -1
- package/dist/esm/{prop.validators-3b95d09c.js → prop.validators-267b95be.js} +1 -1
- package/dist/esm/{prop.validators-3b95d09c.js.map → prop.validators-267b95be.js.map} +1 -1
- package/dist/esm/{rows-a65ea911.js → rows-24029f2f.js} +1 -1
- package/dist/esm/{rows-a65ea911.js.map → rows-24029f2f.js.map} +1 -1
- package/dist/esm/{show-12d1301e.js → show-f0fa30a6.js} +1 -1
- package/dist/esm/{show-12d1301e.js.map → show-f0fa30a6.js.map} +1 -1
- package/dist/esm/{suggestions-743c78a3.js → suggestions-64d4ab73.js} +1 -1
- package/dist/esm/{suggestions-743c78a3.js.map → suggestions-64d4ab73.js.map} +1 -1
- package/dist/esm/{tab-index-f2ab48fc.js → tab-index-acb6cd17.js} +1 -1
- package/dist/esm/{tab-index-f2ab48fc.js.map → tab-index-acb6cd17.js.map} +1 -1
- package/dist/esm/{tooltip-align-ab20ae60.js → tooltip-align-82f781a7.js} +1 -1
- package/dist/esm/{tooltip-align-ab20ae60.js.map → tooltip-align-82f781a7.js.map} +1 -1
- package/dist/esm/validation-75f5ccf7.js +4 -0
- package/dist/esm/{validation-d644b903.js.map → validation-75f5ccf7.js.map} +1 -1
- package/dist/esm/{validation-c982337d.js → validation-eb847346.js} +1 -1
- package/dist/esm/{validation-c982337d.js.map → validation-eb847346.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-96a0d55e.js → a11y.tipps-27b2bac3.js} +1 -1
- package/dist/kolibri/align-403e4c28.js +4 -0
- package/dist/kolibri/{alignment-60e80b38.js → alignment-f6c39ec3.js} +1 -1
- package/dist/kolibri/{app-globals-0aa726e9.js → app-globals-e8a987cd.js} +1 -1
- package/dist/kolibri/aria-current-25867d42.js +4 -0
- package/dist/kolibri/{associated.controller-587d895e.js → associated.controller-c38365b9.js} +1 -1
- package/dist/kolibri/{color-9c9594f2.js → color-88367b45.js} +1 -1
- package/dist/kolibri/{controller-c9d9d6fb.js → controller-35349212.js} +1 -1
- package/dist/kolibri/{controller-59de7c75.js → controller-46ce7055.js} +1 -1
- package/dist/kolibri/{controller-f7ad800b.js → controller-72e997fa.js} +1 -1
- package/dist/kolibri/{controller-b76e8e72.js → controller-bf4c7374.js} +1 -1
- package/dist/kolibri/controller-d0bb59bd.js +4 -0
- package/dist/kolibri/{controller-ca5fb95d.js.map → controller-d0bb59bd.js.map} +1 -1
- package/dist/kolibri/controller-icon-c4fcbb01.js +4 -0
- package/dist/kolibri/{custom-class-1c04cb15.js → custom-class-408bcebb.js} +1 -1
- package/dist/kolibri/{dev.utils-7238d735.js → dev.utils-5e2f4fb8.js} +1 -1
- package/dist/kolibri/{dev.utils-7238d735.js.map → dev.utils-5e2f4fb8.js.map} +1 -1
- package/dist/kolibri/{devtools-71e88c8a.js → devtools-47712aae.js} +1 -1
- package/dist/kolibri/has-closer-24e1c604.js +4 -0
- package/dist/kolibri/hide-label-d3233b54.js +4 -0
- package/dist/kolibri/{i18n-eeac63d8.js → i18n-8a2a41a4.js} +1 -1
- package/dist/kolibri/icons-c37d9e06.js +4 -0
- package/dist/kolibri/image-source-a3f9dd93.js +4 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc_3.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc_3.entry.js.map +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-input.entry.js +1 -1
- package/dist/kolibri/kol-input.entry.js.map +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-group.entry.js +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-logo.entry.js +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-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-span-wc_2.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toast.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/{label-6773f794.js → label-6c8b047b.js} +1 -1
- package/dist/kolibri/open-6de0da43.js +4 -0
- package/dist/kolibri/{prop.validators-3b95d09c.js → prop.validators-267b95be.js} +1 -1
- package/dist/kolibri/rows-24029f2f.js +4 -0
- package/dist/kolibri/show-f0fa30a6.js +4 -0
- package/dist/kolibri/{suggestions-743c78a3.js → suggestions-64d4ab73.js} +1 -1
- package/dist/kolibri/{tab-index-f2ab48fc.js → tab-index-acb6cd17.js} +1 -1
- package/dist/kolibri/tooltip-align-82f781a7.js +4 -0
- package/dist/kolibri/validation-75f5ccf7.js +4 -0
- package/dist/kolibri/{validation-c982337d.js → validation-eb847346.js} +1 -1
- package/dist/types/components/input/component.d.ts +1 -0
- package/dist/types/types/modal.d.ts +1 -2
- package/doc/modal.md +7 -7
- package/package.json +1 -1
- package/dist/cjs/has-closer-132155e4.js +0 -4
- package/dist/cjs/hide-label-7f2a1936.js +0 -4
- package/dist/cjs/image-source-95b8723d.js +0 -4
- package/dist/cjs/open-d4c06e3e.js +0 -4
- package/dist/cjs/rows-cc432a31.js +0 -4
- package/dist/cjs/show-fb2f90b3.js +0 -4
- package/dist/esm/validation-d644b903.js +0 -4
- package/dist/kolibri/align-82e23120.js +0 -4
- package/dist/kolibri/aria-current-918c3eeb.js +0 -4
- package/dist/kolibri/controller-ca5fb95d.js +0 -4
- package/dist/kolibri/controller-icon-47f395ec.js +0 -4
- package/dist/kolibri/has-closer-36836ae9.js +0 -4
- package/dist/kolibri/hide-label-5160b357.js +0 -4
- package/dist/kolibri/icons-7745834b.js +0 -4
- package/dist/kolibri/image-source-57df388e.js +0 -4
- package/dist/kolibri/open-f61e2b66.js +0 -4
- package/dist/kolibri/rows-a65ea911.js +0 -4
- package/dist/kolibri/show-12d1301e.js +0 -4
- package/dist/kolibri/tooltip-align-ab20ae60.js +0 -4
- package/dist/kolibri/validation-d644b903.js +0 -4
- /package/dist/kolibri/{a11y.tipps-96a0d55e.js.map → a11y.tipps-27b2bac3.js.map} +0 -0
- /package/dist/kolibri/{align-82e23120.js.map → align-403e4c28.js.map} +0 -0
- /package/dist/kolibri/{alignment-60e80b38.js.map → alignment-f6c39ec3.js.map} +0 -0
- /package/dist/kolibri/{app-globals-0aa726e9.js.map → app-globals-e8a987cd.js.map} +0 -0
- /package/dist/kolibri/{aria-current-918c3eeb.js.map → aria-current-25867d42.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-587d895e.js.map → associated.controller-c38365b9.js.map} +0 -0
- /package/dist/kolibri/{color-9c9594f2.js.map → color-88367b45.js.map} +0 -0
- /package/dist/kolibri/{controller-c9d9d6fb.js.map → controller-35349212.js.map} +0 -0
- /package/dist/kolibri/{controller-59de7c75.js.map → controller-46ce7055.js.map} +0 -0
- /package/dist/kolibri/{controller-f7ad800b.js.map → controller-72e997fa.js.map} +0 -0
- /package/dist/kolibri/{controller-b76e8e72.js.map → controller-bf4c7374.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-47f395ec.js.map → controller-icon-c4fcbb01.js.map} +0 -0
- /package/dist/kolibri/{custom-class-1c04cb15.js.map → custom-class-408bcebb.js.map} +0 -0
- /package/dist/kolibri/{devtools-71e88c8a.js.map → devtools-47712aae.js.map} +0 -0
- /package/dist/kolibri/{has-closer-36836ae9.js.map → has-closer-24e1c604.js.map} +0 -0
- /package/dist/kolibri/{hide-label-5160b357.js.map → hide-label-d3233b54.js.map} +0 -0
- /package/dist/kolibri/{i18n-eeac63d8.js.map → i18n-8a2a41a4.js.map} +0 -0
- /package/dist/kolibri/{icons-7745834b.js.map → icons-c37d9e06.js.map} +0 -0
- /package/dist/kolibri/{image-source-57df388e.js.map → image-source-a3f9dd93.js.map} +0 -0
- /package/dist/kolibri/{label-6773f794.js.map → label-6c8b047b.js.map} +0 -0
- /package/dist/kolibri/{open-f61e2b66.js.map → open-6de0da43.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-3b95d09c.js.map → prop.validators-267b95be.js.map} +0 -0
- /package/dist/kolibri/{rows-a65ea911.js.map → rows-24029f2f.js.map} +0 -0
- /package/dist/kolibri/{show-12d1301e.js.map → show-f0fa30a6.js.map} +0 -0
- /package/dist/kolibri/{suggestions-743c78a3.js.map → suggestions-64d4ab73.js.map} +0 -0
- /package/dist/kolibri/{tab-index-f2ab48fc.js.map → tab-index-acb6cd17.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-ab20ae60.js.map → tooltip-align-82f781a7.js.map} +0 -0
- /package/dist/kolibri/{validation-d644b903.js.map → validation-75f5ccf7.js.map} +0 -0
- /package/dist/kolibri/{validation-c982337d.js.map → validation-eb847346.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./a11y.tipps-96a0d55e.js";import{L as e,g as r,a as n,b as i}from"./dev.utils-7238d735.js";import{p as o,a as s}from"./index-3822b0c5.js";const a=(t,e)=>{e.forEach((e=>{!1===t.has(e)&&t.add(e)}))},u=(t,e=document)=>{if(e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot){const r=new Set;a(r,e.querySelectorAll(t));const n=e.querySelectorAll('[class*="hydrated"]');for(let e=0;e<n.length;e++){const o=n[e].shadowRoot;a(r,u(t,"object"==typeof o&&null!==o?o:n[e]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},c=(t,e=document)=>{if(e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot){let r=e.querySelector(t);if(null===r){const n=e.querySelectorAll('[class*="hydrated"]');for(let e=0;e<n.length;e++){const o=n[e].shadowRoot;if(r=c(t,"object"==typeof o&&null!==o?o:n[e]),null!==r)break}}return r}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var f=b,l=b,d=y,h=m,v=w,p=g;function b(t){var e=S(t);return 3==e.length?e.concat(255):(e[3]=Math.round(e[3]),e)}function y(t){var e=S(t);return{r:e[0],g:e[1],b:e[2],a:3==e.length?255:Math.round(e[3])}}function m(t){var e=S(t);return 3==e.length&&e.push(255),255==e[3]?"rgb("+e[0]+", "+e[1]+", "+e[2]+")":0==e[3]?"rgba("+e[0]+", "+e[1]+", "+e[2]+", 0)":"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+String(e[3]/255).substr(1)+")"}function w(t){3==(e=S(t)).length&&e.push(255);var e,r=255==e[3],n=E(e[0]),o=E(e[1]),s=E(e[2]),i=N(n,o,s,e=E(Math.round(e[3])));return r?i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0):"#"+n+o+s:i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0)+e.charAt(0):"#"+n+o+s+e}function g(t){var e=S(t);return 3==e.length?e.push(255):e[3]=Math.round(e[3]),(e[3]<<24>>>0|e[0]<<16|e[1]<<8|e[2])>>>0}function S(t){return"string"==typeof t?M(t=t.toLowerCase())||_(t)||j(t)||k(t)||D(t)||[0,0,0,255]:x(t)||T(t)||$(t)||[0,0,0,255]}function E(t){var e=t.toString(16);return 1==e.length?"0"+e:e}function N(t,e,r,n){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(t)&&-1!=o.indexOf(e)&&-1!=o.indexOf(r)&&-1!=o.indexOf(n)}function M(t){return"red"==t?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0}function O(t){return 1==t.length?parseInt(t+t,16):parseInt(t,16)}function _(t){var e=t.replace(/^#/,""),r=e.length;if(3==r||4==r){var n=O(e[0]),o=O(e[1]),s=O(e[2]),i=3==r?255:O(e[3]);if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function j(t){var e=t.replace(/^#/,""),r=e.length;if(6==r||8==r){var n=O(e.slice(0,2)),o=O(e.slice(2,4)),s=O(e.slice(4,6)),i=6==r?255:O(e.slice(6,8));if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function A(t,e){return"number"!=typeof t||!0===e&&Math.floor(t)!==t?-1:t>=0&&t<=255?t:-1}function x(t){if("[object Object]"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t)===Object.getPrototypeOf({})){var e=A(null!=t.r?t.r:null!=t.red?t.red:0,!0),r=A(null!=t.g?t.g:null!=t.green?t.green:0,!0),n=A(null!=t.b?t.b:null!=t.blue?t.blue:0,!0),o=A(null!=t.a?t.a:null!=t.alpha?t.alpha:255,!0);if(-1!=e&&-1!=r&&-1!=n&&-1!=o)return[e,r,n,o]}}function T(t){if(Array.isArray(t)&&(3==t.length||4==t.length)){var e=A(t[0],!0),r=A(t[1],!0),n=A(t[2],!0),o=A(null!=t[3]?t[3]:255,!0);if(-1!=e&&-1!=r&&-1!=n&&-1!=o)return[e,r,n,o]}}function $(t){if("number"==typeof t&&Math.floor(t)==t&&t<=4294967295&&t>=0)return[t>>16&255,t>>8&255,255&t,t>>24&255]}function k(t){if("rgb("==t.substr(0,4)){var e=(t=t.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(e[0],!0),n=A(e[1],!0),o=A(e[2],!0);if(-1!=r&&-1!=n&&-1!=o)return[r,n,o,255]}}function D(t){if("rgba("==t.substr(0,5)){var e=(t=t.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(e[0],!0),n=A(e[1],!0),o=A(e[2],!0),s=A(255*e[3]);if(-1!=r&&-1!=n&&-1!=o&&-1!=s)return[r,n,o,s]}}function P(t){return"function"==typeof t}function C(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}f.arr=l,f.obj=d,f.css=h,f.hex=v,f.num=p;const H=C((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));function L(t,e){if(t){const r=t.indexOf(e);0<=r&&t.splice(r,1)}}class J{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(P(r))try{r()}catch(e){t=e instanceof H?e.errors:[e]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const e of n)try{U(e)}catch(e){t=null!=t?t:[],e instanceof H?t=[...t,...e.errors]:t.push(e)}}if(t)throw new H(t)}}add(t){var e;if(t&&t!==this)if(this.closed)U(t);else{if(t instanceof J){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&L(e,t)}remove(t){const{_finalizers:e}=this;e&&L(e,t),t instanceof J&&t._removeParent(this)}}J.EMPTY=(()=>{const t=new J;return t.closed=!0,t})();const z=J.EMPTY;function I(t){return t instanceof J||t&&"closed"in t&&P(t.remove)&&P(t.add)&&P(t.unsubscribe)}function U(t){P(t)?t():t.unsubscribe()}const F={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},q={setTimeout(t,e,...r){const{delegate:n}=q;return(null==n?void 0:n.setTimeout)?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){const{delegate:e}=q;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function B(t){q.setTimeout((()=>{const{onUnhandledError:e}=F;if(!e)throw t;e(t)}))}function R(){}const W=G("C",void 0,void 0);function K(t){return G("E",void 0,t)}function Y(t){return G("N",t,void 0)}function G(t,e,r){return{kind:t,value:e,error:r}}function Q(t){t()}class V extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,I(t)&&t.add(this)):this.destination=ot}static create(t,e,r){return new et(t,e,r)}next(t){this.isStopped?it(Y(t),this):this._next(t)}error(t){this.isStopped?it(K(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?it(W,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const X=Function.prototype.bind;function Z(t,e){return X.call(t,e)}class tt{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){rt(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){rt(t)}else rt(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){rt(t)}}}class et extends V{constructor(t,e,r){let n;if(super(),P(t)||!t)n={next:null!=t?t:void 0,error:null!=e?e:void 0,complete:null!=r?r:void 0};else{let e;this&&F.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),n={next:t.next&&Z(t.next,e),error:t.error&&Z(t.error,e),complete:t.complete&&Z(t.complete,e)}):n=t}this.destination=new tt(n)}}function rt(t){B(t)}function nt(t){throw t}function it(t,e){const{onStoppedNotification:r}=F;r&&q.setTimeout((()=>r(t,e)))}const ot={closed:!0,next:R,error:nt,complete:R},st="function"==typeof Symbol&&Symbol.observable||"@@observable";function at(t){return t}function ut(t){return 0===t.length?at:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}class ct{constructor(t){t&&(this._subscribe=t)}lift(t){const e=new ct;return e.source=this,e.operator=t,e}subscribe(t,e,r){const n=dt(t)?t:new et(t,e,r);return Q((()=>{const{operator:t,source:e}=this;n.add(t?t.call(n,e):e?this._subscribe(n):this._trySubscribe(n))})),n}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=ft(e))(((e,r)=>{const n=new et({next:e=>{try{t(e)}catch(t){r(t),n.unsubscribe()}},error:r,complete:e});this.subscribe(n)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[st](){return this}pipe(...t){return ut(t)(this)}toPromise(t){return new(t=ft(t))(((t,e)=>{let r;this.subscribe((t=>r=t),(t=>e(t)),(()=>t(r)))}))}}function ft(t){var e;return null!==(e=null!=t?t:F.Promise)&&void 0!==e?e:Promise}function lt(t){return t&&P(t.next)&&P(t.error)&&P(t.complete)}function dt(t){return t&&t instanceof V||lt(t)&&I(t)}ct.create=t=>new ct(t);const ht=C((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class vt extends ct{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new pt(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new ht}next(t){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}}))}error(t){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:r,observers:n}=this;return e||r?z:(this.currentObservers=null,n.push(t),new J((()=>{this.currentObservers=null,L(n,t)})))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:r,isStopped:n}=this;e?t.error(r):n&&t.complete()}asObservable(){const t=new ct;return t.source=this,t}}vt.create=(t,e)=>new pt(t,e);class pt extends vt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:z}}var bt=.2126,yt=.7152,mt=.0722,wt=1/12.92;function gt(t){return Math.pow((t+.055)/1.055,2.4)}function St(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,o=e<=.03928?e*wt:gt(e),s=r<=.03928?r*wt:gt(r),i=n<=.03928?n*wt:gt(n);return o*bt+s*yt+i*mt}function Et(t){var e=255;8===(t=t.replace(/^#/,"")).length&&(e=parseInt(t.slice(6,8),16),t=t.substring(0,6)),4===t.length&&(e=parseInt(t.slice(3,4).repeat(2),16),t=t.substring(0,3)),3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var r=parseInt(t,16);return[r>>16,r>>8&255,255&r,e]}function Nt(t,e){return(Math.max(t,e)+.05)/(Math.min(t,e)+.05)}function Mt(t,e){return Nt(St(t),St(e))}function Ot(t,e){return Mt(Et(t),Et(e))}function _t(t){return t>=7?"AAA":t>=4.5?"AA":t>=3?"AA Large":"Fail"}const jt=/\[object Object\]/,At=(t,e)=>{"string"==typeof t&&jt.test(t)||e()},xt=(t,e)=>{"string"==typeof t&&""===t||e()},Tt=(t,r)=>{i()&&(e.debug([t,r]),e.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(t,"target",{value:r,writable:!1})},$t=t=>{var e,r,n;null===(e=t.nextHooks)||void 0===e||e.forEach(((e,r)=>{var n;const o=e.get("beforePatch");"function"==typeof o&&o(null===(n=t.nextState)||void 0===n?void 0:n.get(r),t.nextState,t,r)})),(null===(r=t.nextState)||void 0===r?void 0:r.size)>0&&(t.state=Object.assign(Object.assign({},t.state),Object.fromEntries(t.nextState)),delete t.nextState,null===(n=t.nextHooks)||void 0===n||n.forEach(((e,r)=>{const n=e.get("afterPatch");"function"==typeof n&&n(t.state[r],t.state,t,r)}))),delete t.nextHooks},kt=(t,e,r,n={})=>{var o,s;if(void 0===t.nextHooks&&(t.nextHooks=new Map),void 0===t.nextState&&(t.nextState=new Map),t.nextState.get(e)!==r){t.nextHooks.get(e)instanceof Map==!1&&t.nextHooks.set(e,new Map),"function"==typeof n.afterPatch&&(null===(o=t.nextHooks.get(e))||void 0===o||o.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(s=t.nextHooks.get(e))||void 0===s||s.set("beforePatch",n.beforePatch)),t.nextState.set(e,r),$t(t)}},Dt=(e,r,n,o)=>{t(`[${e.constructor.name}] Der Property-Wert (${n}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(o).join(", ")}`)};function Pt(t,e,r,n,o,s={}){r(o)?kt(t,e,o,s.hooks):null!=o||s.required?(s.required||n.add(null),Dt(t,e,o,n)):kt(t,e,s.defaultValue,s.hooks)}const Ct=(t,e,r,n)=>{Pt(t,e,(t=>"boolean"==typeof t),new Set(["Boolean {true, false}"]),r,n)},Ht=(t,e,r,n={})=>{const o="number"==typeof n.minLength?null==n?void 0:n.minLength:0;Pt(t,e,(t=>"string"==typeof t&&t.length>=o&&(void 0===(null==n?void 0:n.maxLength)||t.length<=n.maxLength)),new Set(["String"]),r,n)},Lt=(t,e,r,n)=>{Pt(t,e,(t=>"number"==typeof t&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&t>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&t<=n.max)),new Set(["Number"]),r,n)},Jt=(t,r,n,o,s=(t=>t==t),i={})=>{xt(o,(()=>{At(o,(()=>{void 0===o&&(o=[]);try{try{o=Rt(o)}catch(t){}if(Array.isArray(o)){const c=o.find((t=>!n(t)));void 0===c&&s(o)?kt(t,r,o,i.hooks):At(c,(()=>{throw e.debug(c),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else At(o,(()=>{throw e.debug(o),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(t){e.debug(t)}}))}))},zt=/^(true|false)$/,It=/^-?(0|[1-9]\d*)$/,Ut=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,Ft=e=>{const r=typeof e,n=`${e}`;if("string"==typeof e)if(zt.test(e))e="true"===e;else if(It.test(e))e=parseInt(e);else if(Ut.test(e))e=parseFloat(e);else if(Bt.test(e))try{e=Rt(e)}catch(t){}return r!==typeof e&&t(`You have used a stringified property value (${n} to ${JSON.stringify(e)}) which type switched from ${r} to ${typeof e}!`),e},qt=t=>{try{return JSON.stringify(t).replace(/"/g,"'")}catch(r){throw e.warn(["stringifyJson",t]),e.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},Bt=/^[{[]/,Rt=t=>{if("string"==typeof t)try{return JSON.parse(t)}catch(r){if(Bt.test(t))try{return JSON.parse(t.replace(/'/g,'"'))}catch(r){e.warn(["parseJson",t]),e.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).")}}throw new Error},Wt=t=>"boolean"==typeof t?!0===t?"true":"false":void 0,Kt=t=>"string"==typeof t?t:Wt(t),Yt=(t,e)=>c(t,e||r()),Gt=(t,e)=>u(t,e||r());let Qt=null;const Vt=()=>(Qt=Qt||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},Qt),Xt=/(\d+, ){3}0\)/,Zt=(t,r=Vt())=>{const n=getComputedStyle(t),o=Xt.test(n.backgroundColor)?r.backgroundColor:f.hex(n.backgroundColor),s=Xt.test(n.color)?r.color:f.hex(n.color),i=Ot(o,s),c={backgroundColor:o,color:s,domNode:t,level:_t(i),score:i};return i<4.5&&e.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},te=(t,e=Vt())=>{e.domNode instanceof HTMLElement&&(e=Zt(e.domNode,e));const r=e.domNode.querySelector(t);if(null===r){const r=e.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<r.length&&(e.domNode=r[n],null===(e=te(t,e)).domNode);n++);return e}return Zt(r,e)},ee=(e,r=window)=>{e instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+n().pageYOffset-50}),e.focus()):t("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},re=(e,r)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof r){t("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const n=`${r}`;r=e,e=n}if("string"==typeof e){const n=Yt(e,r);n instanceof HTMLElement?ee(n):t(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else t("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class ne{static queryHtmlElementColors(t,r,n=!1,o=!0){let s=null;if(!0===n||!1===ne.executionLock)if(!1===n&&(ne.cache.clear(),ne.cache.set(r.domNode,r),ne.executionLock=!0,!0===o&&e.debug("[KoliBriUtils] Color contrast analysis started...")),t===r.domNode)s=r;else{const e=new Set;if(r.domNode.shadowRoot){const t=r.domNode.shadowRoot.children;for(let r=0;r<t.length;r++)e.add(t[r])}const n=r.domNode;if("function"==typeof n.assignedNodes){const t=n.assignedNodes();for(let r=0;r<t.length;r++)t[r]instanceof HTMLElement&&e.add(t[r])}const o=r.domNode.children;for(let t=0;t<o.length;t++)e.add(o[t]);const i=Array.from(e);for(let e=0;e<i.length;e++){let n=ne.cache.get(i[e]);void 0===n&&(n=Zt(i[e],r)),ne.cache.set(i[e],n);const o=ne.queryHtmlElementColors(t,n,!0,!1);if(null!==o){s=o;break}}}else e.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&e.debug(`[KoliBriUtils] Color contrast analysis finished (${ne.cache.size} DOM elements are analysed).`),ne.executionLock=!1,ne.cache.clear()),s}}ne.executionLock=!1,ne.cache=new Map;const ie=new vt;class oe{}oe.ariaCurrentSubject=ie,oe.patchTheme=o,oe.patchThemeTag=s,oe.querySelector=Yt,oe.querySelectorAll=Gt,oe.scrollByHTMLElement=ee,oe.scrollBySelector=re,oe.stringifyJson=qt;export{oe as K,Ct as a,Ot as b,Jt as c,Ht as d,Lt as e,Tt as f,xt as g,ie as h,Wt as i,re as j,Yt as k,Kt as l,Ft as m,ne as n,At as o,Rt as p,Zt as q,f as r,kt as s,Gt as t,te as u,qt as v,Pt as w};
|
|
4
|
+
import{d as t}from"./a11y.tipps-27b2bac3.js";import{L as e,g as r,a as n,b as i}from"./dev.utils-5e2f4fb8.js";import{p as o,a as s}from"./index-3822b0c5.js";const a=(t,e)=>{e.forEach((e=>{!1===t.has(e)&&t.add(e)}))},u=(t,e=document)=>{if(e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot){const r=new Set;a(r,e.querySelectorAll(t));const n=e.querySelectorAll('[class*="hydrated"]');for(let e=0;e<n.length;e++){const o=n[e].shadowRoot;a(r,u(t,"object"==typeof o&&null!==o?o:n[e]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},c=(t,e=document)=>{if(e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot){let r=e.querySelector(t);if(null===r){const n=e.querySelectorAll('[class*="hydrated"]');for(let e=0;e<n.length;e++){const o=n[e].shadowRoot;if(r=c(t,"object"==typeof o&&null!==o?o:n[e]),null!==r)break}}return r}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var f=b,l=b,d=y,h=m,v=w,p=g;function b(t){var e=S(t);return 3==e.length?e.concat(255):(e[3]=Math.round(e[3]),e)}function y(t){var e=S(t);return{r:e[0],g:e[1],b:e[2],a:3==e.length?255:Math.round(e[3])}}function m(t){var e=S(t);return 3==e.length&&e.push(255),255==e[3]?"rgb("+e[0]+", "+e[1]+", "+e[2]+")":0==e[3]?"rgba("+e[0]+", "+e[1]+", "+e[2]+", 0)":"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+String(e[3]/255).substr(1)+")"}function w(t){3==(e=S(t)).length&&e.push(255);var e,r=255==e[3],n=E(e[0]),o=E(e[1]),s=E(e[2]),i=N(n,o,s,e=E(Math.round(e[3])));return r?i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0):"#"+n+o+s:i?"#"+n.charAt(0)+o.charAt(0)+s.charAt(0)+e.charAt(0):"#"+n+o+s+e}function g(t){var e=S(t);return 3==e.length?e.push(255):e[3]=Math.round(e[3]),(e[3]<<24>>>0|e[0]<<16|e[1]<<8|e[2])>>>0}function S(t){return"string"==typeof t?M(t=t.toLowerCase())||_(t)||j(t)||k(t)||D(t)||[0,0,0,255]:x(t)||T(t)||$(t)||[0,0,0,255]}function E(t){var e=t.toString(16);return 1==e.length?"0"+e:e}function N(t,e,r,n){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(t)&&-1!=o.indexOf(e)&&-1!=o.indexOf(r)&&-1!=o.indexOf(n)}function M(t){return"red"==t?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0}function O(t){return 1==t.length?parseInt(t+t,16):parseInt(t,16)}function _(t){var e=t.replace(/^#/,""),r=e.length;if(3==r||4==r){var n=O(e[0]),o=O(e[1]),s=O(e[2]),i=3==r?255:O(e[3]);if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function j(t){var e=t.replace(/^#/,""),r=e.length;if(6==r||8==r){var n=O(e.slice(0,2)),o=O(e.slice(2,4)),s=O(e.slice(4,6)),i=6==r?255:O(e.slice(6,8));if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function A(t,e){return"number"!=typeof t||!0===e&&Math.floor(t)!==t?-1:t>=0&&t<=255?t:-1}function x(t){if("[object Object]"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t)===Object.getPrototypeOf({})){var e=A(null!=t.r?t.r:null!=t.red?t.red:0,!0),r=A(null!=t.g?t.g:null!=t.green?t.green:0,!0),n=A(null!=t.b?t.b:null!=t.blue?t.blue:0,!0),o=A(null!=t.a?t.a:null!=t.alpha?t.alpha:255,!0);if(-1!=e&&-1!=r&&-1!=n&&-1!=o)return[e,r,n,o]}}function T(t){if(Array.isArray(t)&&(3==t.length||4==t.length)){var e=A(t[0],!0),r=A(t[1],!0),n=A(t[2],!0),o=A(null!=t[3]?t[3]:255,!0);if(-1!=e&&-1!=r&&-1!=n&&-1!=o)return[e,r,n,o]}}function $(t){if("number"==typeof t&&Math.floor(t)==t&&t<=4294967295&&t>=0)return[t>>16&255,t>>8&255,255&t,t>>24&255]}function k(t){if("rgb("==t.substr(0,4)){var e=(t=t.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(e[0],!0),n=A(e[1],!0),o=A(e[2],!0);if(-1!=r&&-1!=n&&-1!=o)return[r,n,o,255]}}function D(t){if("rgba("==t.substr(0,5)){var e=(t=t.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(e[0],!0),n=A(e[1],!0),o=A(e[2],!0),s=A(255*e[3]);if(-1!=r&&-1!=n&&-1!=o&&-1!=s)return[r,n,o,s]}}function P(t){return"function"==typeof t}function C(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}f.arr=l,f.obj=d,f.css=h,f.hex=v,f.num=p;const H=C((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));function L(t,e){if(t){const r=t.indexOf(e);0<=r&&t.splice(r,1)}}class J{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(P(r))try{r()}catch(e){t=e instanceof H?e.errors:[e]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const e of n)try{U(e)}catch(e){t=null!=t?t:[],e instanceof H?t=[...t,...e.errors]:t.push(e)}}if(t)throw new H(t)}}add(t){var e;if(t&&t!==this)if(this.closed)U(t);else{if(t instanceof J){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&L(e,t)}remove(t){const{_finalizers:e}=this;e&&L(e,t),t instanceof J&&t._removeParent(this)}}J.EMPTY=(()=>{const t=new J;return t.closed=!0,t})();const z=J.EMPTY;function I(t){return t instanceof J||t&&"closed"in t&&P(t.remove)&&P(t.add)&&P(t.unsubscribe)}function U(t){P(t)?t():t.unsubscribe()}const F={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},q={setTimeout(t,e,...r){const{delegate:n}=q;return(null==n?void 0:n.setTimeout)?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){const{delegate:e}=q;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function B(t){q.setTimeout((()=>{const{onUnhandledError:e}=F;if(!e)throw t;e(t)}))}function R(){}const W=G("C",void 0,void 0);function K(t){return G("E",void 0,t)}function Y(t){return G("N",t,void 0)}function G(t,e,r){return{kind:t,value:e,error:r}}function Q(t){t()}class V extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,I(t)&&t.add(this)):this.destination=ot}static create(t,e,r){return new et(t,e,r)}next(t){this.isStopped?it(Y(t),this):this._next(t)}error(t){this.isStopped?it(K(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?it(W,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const X=Function.prototype.bind;function Z(t,e){return X.call(t,e)}class tt{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){rt(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){rt(t)}else rt(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){rt(t)}}}class et extends V{constructor(t,e,r){let n;if(super(),P(t)||!t)n={next:null!=t?t:void 0,error:null!=e?e:void 0,complete:null!=r?r:void 0};else{let e;this&&F.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),n={next:t.next&&Z(t.next,e),error:t.error&&Z(t.error,e),complete:t.complete&&Z(t.complete,e)}):n=t}this.destination=new tt(n)}}function rt(t){B(t)}function nt(t){throw t}function it(t,e){const{onStoppedNotification:r}=F;r&&q.setTimeout((()=>r(t,e)))}const ot={closed:!0,next:R,error:nt,complete:R},st="function"==typeof Symbol&&Symbol.observable||"@@observable";function at(t){return t}function ut(t){return 0===t.length?at:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}class ct{constructor(t){t&&(this._subscribe=t)}lift(t){const e=new ct;return e.source=this,e.operator=t,e}subscribe(t,e,r){const n=dt(t)?t:new et(t,e,r);return Q((()=>{const{operator:t,source:e}=this;n.add(t?t.call(n,e):e?this._subscribe(n):this._trySubscribe(n))})),n}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=ft(e))(((e,r)=>{const n=new et({next:e=>{try{t(e)}catch(t){r(t),n.unsubscribe()}},error:r,complete:e});this.subscribe(n)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[st](){return this}pipe(...t){return ut(t)(this)}toPromise(t){return new(t=ft(t))(((t,e)=>{let r;this.subscribe((t=>r=t),(t=>e(t)),(()=>t(r)))}))}}function ft(t){var e;return null!==(e=null!=t?t:F.Promise)&&void 0!==e?e:Promise}function lt(t){return t&&P(t.next)&&P(t.error)&&P(t.complete)}function dt(t){return t&&t instanceof V||lt(t)&&I(t)}ct.create=t=>new ct(t);const ht=C((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class vt extends ct{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new pt(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new ht}next(t){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}}))}error(t){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:r,observers:n}=this;return e||r?z:(this.currentObservers=null,n.push(t),new J((()=>{this.currentObservers=null,L(n,t)})))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:r,isStopped:n}=this;e?t.error(r):n&&t.complete()}asObservable(){const t=new ct;return t.source=this,t}}vt.create=(t,e)=>new pt(t,e);class pt extends vt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:z}}var bt=.2126,yt=.7152,mt=.0722,wt=1/12.92;function gt(t){return Math.pow((t+.055)/1.055,2.4)}function St(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,o=e<=.03928?e*wt:gt(e),s=r<=.03928?r*wt:gt(r),i=n<=.03928?n*wt:gt(n);return o*bt+s*yt+i*mt}function Et(t){var e=255;8===(t=t.replace(/^#/,"")).length&&(e=parseInt(t.slice(6,8),16),t=t.substring(0,6)),4===t.length&&(e=parseInt(t.slice(3,4).repeat(2),16),t=t.substring(0,3)),3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var r=parseInt(t,16);return[r>>16,r>>8&255,255&r,e]}function Nt(t,e){return(Math.max(t,e)+.05)/(Math.min(t,e)+.05)}function Mt(t,e){return Nt(St(t),St(e))}function Ot(t,e){return Mt(Et(t),Et(e))}function _t(t){return t>=7?"AAA":t>=4.5?"AA":t>=3?"AA Large":"Fail"}const jt=/\[object Object\]/,At=(t,e)=>{"string"==typeof t&&jt.test(t)||e()},xt=(t,e)=>{"string"==typeof t&&""===t||e()},Tt=(t,r)=>{i()&&(e.debug([t,r]),e.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(t,"target",{value:r,writable:!1})},$t=t=>{var e,r,n;null===(e=t.nextHooks)||void 0===e||e.forEach(((e,r)=>{var n;const o=e.get("beforePatch");"function"==typeof o&&o(null===(n=t.nextState)||void 0===n?void 0:n.get(r),t.nextState,t,r)})),(null===(r=t.nextState)||void 0===r?void 0:r.size)>0&&(t.state=Object.assign(Object.assign({},t.state),Object.fromEntries(t.nextState)),delete t.nextState,null===(n=t.nextHooks)||void 0===n||n.forEach(((e,r)=>{const n=e.get("afterPatch");"function"==typeof n&&n(t.state[r],t.state,t,r)}))),delete t.nextHooks},kt=(t,e,r,n={})=>{var o,s;if(void 0===t.nextHooks&&(t.nextHooks=new Map),void 0===t.nextState&&(t.nextState=new Map),t.nextState.get(e)!==r){t.nextHooks.get(e)instanceof Map==!1&&t.nextHooks.set(e,new Map),"function"==typeof n.afterPatch&&(null===(o=t.nextHooks.get(e))||void 0===o||o.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(s=t.nextHooks.get(e))||void 0===s||s.set("beforePatch",n.beforePatch)),t.nextState.set(e,r),$t(t)}},Dt=(e,r,n,o)=>{t(`[${e.constructor.name}] Der Property-Wert (${n}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(o).join(", ")}`)};function Pt(t,e,r,n,o,s={}){r(o)?kt(t,e,o,s.hooks):null!=o||s.required?(s.required||n.add(null),Dt(t,e,o,n)):kt(t,e,s.defaultValue,s.hooks)}const Ct=(t,e,r,n)=>{Pt(t,e,(t=>"boolean"==typeof t),new Set(["Boolean {true, false}"]),r,n)},Ht=(t,e,r,n={})=>{const o="number"==typeof n.minLength?null==n?void 0:n.minLength:0;Pt(t,e,(t=>"string"==typeof t&&t.length>=o&&(void 0===(null==n?void 0:n.maxLength)||t.length<=n.maxLength)),new Set(["String"]),r,n)},Lt=(t,e,r,n)=>{Pt(t,e,(t=>"number"==typeof t&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&t>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&t<=n.max)),new Set(["Number"]),r,n)},Jt=(t,r,n,o,s=(t=>t==t),i={})=>{xt(o,(()=>{At(o,(()=>{void 0===o&&(o=[]);try{try{o=Rt(o)}catch(t){}if(Array.isArray(o)){const c=o.find((t=>!n(t)));void 0===c&&s(o)?kt(t,r,o,i.hooks):At(c,(()=>{throw e.debug(c),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else At(o,(()=>{throw e.debug(o),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(t){e.debug(t)}}))}))},zt=/^(true|false)$/,It=/^-?(0|[1-9]\d*)$/,Ut=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,Ft=e=>{const r=typeof e,n=`${e}`;if("string"==typeof e)if(zt.test(e))e="true"===e;else if(It.test(e))e=parseInt(e);else if(Ut.test(e))e=parseFloat(e);else if(Bt.test(e))try{e=Rt(e)}catch(t){}return r!==typeof e&&t(`You have used a stringified property value (${n} to ${JSON.stringify(e)}) which type switched from ${r} to ${typeof e}!`),e},qt=t=>{try{return JSON.stringify(t).replace(/"/g,"'")}catch(r){throw e.warn(["stringifyJson",t]),e.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},Bt=/^[{[]/,Rt=t=>{if("string"==typeof t)try{return JSON.parse(t)}catch(r){if(Bt.test(t))try{return JSON.parse(t.replace(/'/g,'"'))}catch(r){e.warn(["parseJson",t]),e.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).")}}throw new Error},Wt=t=>"boolean"==typeof t?!0===t?"true":"false":void 0,Kt=t=>"string"==typeof t?t:Wt(t),Yt=(t,e)=>c(t,e||r()),Gt=(t,e)=>u(t,e||r());let Qt=null;const Vt=()=>(Qt=Qt||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},Qt),Xt=/(\d+, ){3}0\)/,Zt=(t,r=Vt())=>{const n=getComputedStyle(t),o=Xt.test(n.backgroundColor)?r.backgroundColor:f.hex(n.backgroundColor),s=Xt.test(n.color)?r.color:f.hex(n.color),i=Ot(o,s),c={backgroundColor:o,color:s,domNode:t,level:_t(i),score:i};return i<4.5&&e.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},te=(t,e=Vt())=>{e.domNode instanceof HTMLElement&&(e=Zt(e.domNode,e));const r=e.domNode.querySelector(t);if(null===r){const r=e.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<r.length&&(e.domNode=r[n],null===(e=te(t,e)).domNode);n++);return e}return Zt(r,e)},ee=(e,r=window)=>{e instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+n().pageYOffset-50}),e.focus()):t("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},re=(e,r)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof r){t("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const n=`${r}`;r=e,e=n}if("string"==typeof e){const n=Yt(e,r);n instanceof HTMLElement?ee(n):t(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else t("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class ne{static queryHtmlElementColors(t,r,n=!1,o=!0){let s=null;if(!0===n||!1===ne.executionLock)if(!1===n&&(ne.cache.clear(),ne.cache.set(r.domNode,r),ne.executionLock=!0,!0===o&&e.debug("[KoliBriUtils] Color contrast analysis started...")),t===r.domNode)s=r;else{const e=new Set;if(r.domNode.shadowRoot){const t=r.domNode.shadowRoot.children;for(let r=0;r<t.length;r++)e.add(t[r])}const n=r.domNode;if("function"==typeof n.assignedNodes){const t=n.assignedNodes();for(let r=0;r<t.length;r++)t[r]instanceof HTMLElement&&e.add(t[r])}const o=r.domNode.children;for(let t=0;t<o.length;t++)e.add(o[t]);const i=Array.from(e);for(let e=0;e<i.length;e++){let n=ne.cache.get(i[e]);void 0===n&&(n=Zt(i[e],r)),ne.cache.set(i[e],n);const o=ne.queryHtmlElementColors(t,n,!0,!1);if(null!==o){s=o;break}}}else e.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&e.debug(`[KoliBriUtils] Color contrast analysis finished (${ne.cache.size} DOM elements are analysed).`),ne.executionLock=!1,ne.cache.clear()),s}}ne.executionLock=!1,ne.cache=new Map;const ie=new vt;class oe{}oe.ariaCurrentSubject=ie,oe.patchTheme=o,oe.patchThemeTag=s,oe.querySelector=Yt,oe.querySelectorAll=Gt,oe.scrollByHTMLElement=ee,oe.scrollBySelector=re,oe.stringifyJson=qt;export{oe as K,Ct as a,Ot as b,Jt as c,Ht as d,Lt as e,Tt as f,xt as g,ie as h,Wt as i,re as j,Yt as k,Kt as l,Ft as m,ne as n,At as o,Rt as p,Zt as q,f as r,kt as s,Gt as t,te as u,qt as v,Pt as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as s}from"./prop.validators-
|
|
4
|
+
import{c as s}from"./prop.validators-267b95be.js";import{a as o}from"./a11y.tipps-27b2bac3.js";const e=(e,t)=>{s(e,"_suggestions",(s=>"string"==typeof s||"number"==typeof s),t,void 0,{hooks:{afterPatch:s=>{Array.isArray(s)&&s.length&&o("Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.")}}})};export{e as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as t}from"./a11y.tipps-
|
|
4
|
+
import{a as t}from"./a11y.tipps-27b2bac3.js";import{e as a}from"./prop.validators-267b95be.js";const o={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},e=(t,e)=>{a(t,"_tabIndex",e,o)};export{e as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{c as o}from"./a11y.tipps-27b2bac3.js";import{c as t}from"./prop.validators-267b95be.js";const s=(s,e,p)=>{t(e,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),p),o(s,e.state._links.length)};export{s as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{w as e}from"./prop.validators-
|
|
4
|
+
import{w as e}from"./prop.validators-267b95be.js";const r=(r,o)=>{e(r,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),o,{defaultValue:1,required:!0})};export{r as w};
|
package/doc/modal.md
CHANGED
|
@@ -107,13 +107,13 @@ Des Weiteren gibt es immer nur maximal ein aktives Modal, welches alle selektier
|
|
|
107
107
|
|
|
108
108
|
## Properties
|
|
109
109
|
|
|
110
|
-
| Property | Attribute | Description | Type
|
|
111
|
-
| ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
112
|
-
| `_activeElement` | -- | Gibt die Referenz auf das auslösende HTML-Element an, wodurch das Modal geöffnet wurde. | `HTMLElement` \| `null` \| `undefined`
|
|
113
|
-
| `_ariaLabel` | `_aria-label` | <span class="text-red-500">**[DEPRECATED]**</span> use _label instead<br/><br/>Deprecated: Setzt die semantische Beschriftung der Komponente. | `string` \| `undefined`
|
|
114
|
-
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` \| `undefined`
|
|
115
|
-
| `_on` | -- | Gibt die EventCallback-Function für das Schließen des Modals an. | `undefined` \| `{ onClose?:
|
|
116
|
-
| `_width` | `_width` | Defines the width of the modal. (max-width: 100%) | `string` \| `undefined`
|
|
110
|
+
| Property | Attribute | Description | Type | Default |
|
|
111
|
+
| ---------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
|
|
112
|
+
| `_activeElement` | -- | Gibt die Referenz auf das auslösende HTML-Element an, wodurch das Modal geöffnet wurde. | `HTMLElement` \| `null` \| `undefined` | `undefined` |
|
|
113
|
+
| `_ariaLabel` | `_aria-label` | <span class="text-red-500">**[DEPRECATED]**</span> use _label instead<br/><br/>Deprecated: Setzt die semantische Beschriftung der Komponente. | `string` \| `undefined` | `undefined` |
|
|
114
|
+
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` \| `undefined` | `undefined` |
|
|
115
|
+
| `_on` | -- | Gibt die EventCallback-Function für das Schließen des Modals an. | `undefined` \| `({ onClose?: (() => void)` \| `undefined; })` | `undefined` |
|
|
116
|
+
| `_width` | `_width` | Defines the width of the modal. (max-width: 100%) | `string` \| `undefined` | `'100%'` |
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
## Slots
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as uiUxHintMillerscheZahl}from"./a11y.tipps-96a0d55e.js";import{c as watchJsonArrayString}from"./prop.validators-3b95d09c.js";const watchNavLinks=(t,a,s)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),s),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{d as a,w as t}from"./prop.validators-3b95d09c.js";const o=(t,e)=>{a(t,"_role",e)},s=(t,e)=>{a(t,"_ariaControls",e)},e=(a,e,o)=>{t(a,e,(a=>"date"===a||"location"===a||"page"===a||"step"===a||"time"===a||!0===a||!1===a),new Set(["String {data, location, page, step, time}","boolean"]),o)},r=(a,t)=>{e(a,"_ariaCurrent",t)},n=(a,t)=>{e(a,"_listenAriaCurrent",t)};export{r as a,n as b,o as c,s as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as t,w as s,e,d as i}from"./prop.validators-3b95d09c.js";import{v as h}from"./controller-c9d9d6fb.js";import{a}from"./a11y.tipps-96a0d55e.js";import{I as o}from"./controller-icon-47f395ec.js";const r=(e,o)=>{t(e,"_hasCounter",o)};class n extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateAutoComplete(t){s(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){r(this.component,t)}validateHideError(t){h(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.")}}})}validateMaxLength(t){e(this.component,"_maxLength",t,{min:0})}validatePattern(t){i(this.component,"_pattern",t)}validatePlaceholder(t){i(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateSize(t){e(this.component,"_size",t,{min:1})}validateValue(t){i(this.component,"_value",t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateHideError(this.component._hideError),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.validateSize(this.component._size),this.validateValue(this.component._value)}onBlur(t){this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:this.placeholderCache}),this.placeholderCache=void 0,super.onBlur(t)}onFocus(t){this.placeholderCache=this.component.state._placeholder,this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:void 0}),super.onFocus(t)}}export{n as I,r as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as o}from"./icons-7745834b.js";import{o as s,p as t,w as i}from"./prop.validators-3b95d09c.js";import{i as r}from"./reuse-b3566e4c.js";import{I as c}from"./controller-c9d9d6fb.js";const e=(o,t)=>{const s=o;"object"==typeof s&&null!==s&&(r(s.right,1)&&(s.right={icon:s.right}),r(s.left,1)&&(s.left={icon:s.left}),t.set("_icons",s))};class n extends c{constructor(o,t,s){super(o,t,s),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(n){s(n,(()=>{try{n=t(n)}catch(o){}i(this.component,"_icons",(t=>"object"==typeof t&&null!==t&&(r(t.left,1)||o(t.left)||r(t.right,1)||o(t.right))),new Set(["KoliBriHorizontalIcon"]),n,{hooks:{beforePatch:e},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{n as I};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{o,p as i,w as n}from"./prop.validators-3b95d09c.js";import{i as t,b as e,c as l}from"./reuse-b3566e4c.js";const c=(o,e,i)=>{l(i)?o[e]=i:t(i,1)&&(o[e]={icon:i})},s=(o,e)=>{let i={};if(t(o,1))if("right"===e)i={right:{icon:o}};else i={left:{icon:o}};else"object"==typeof o&&null!==o&&(c(i,"top",o.top),c(i,"right",o.right),c(i,"bottom",o.bottom),c(i,"left",o.left));return i},r=t=>{var o,e,i,n,l,c,r;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"),l=(null===(i=t.nextState)||void 0===i?void 0:i.get("_iconAlign"))||t.state._iconAlign;null===(n=t.nextState)||void 0===n||n.set("_icons",s(o,l))}else if(null===(l=t.nextState)||void 0===l?void 0:l.has("_iconAlign")){const o=t.state._iconAlign;null===(c=t.nextState)||void 0===c||c.set("_icons",{[o]:void 0,[null===(r=t.nextState)||void 0===r?void 0:r.get("_iconAlign")]:t.state._icons[o]})}},d=o=>"object"==typeof o&&null!==o&&(void 0===o.style||e(o.style))&&t(o.icon,1),f=(e,l)=>{o(l,(()=>{try{l=i(l)}catch(t){}n(e,"_icons",(o=>null===o||t(o,1)||"object"==typeof o&&null!==o&&(t(o.left,1)||d(o.left)||t(o.right,1)||d(o.right)||t(o.top,1)||d(o.top)||t(o.bottom,1)||d(o.bottom))),new Set(["KoliBriIcon"]),l,{hooks:{beforePatch:(t,o)=>{null===t&&o.set("_icons",{}),r(e)}},required:!0})}))},u=(t,o)=>{n(t,"_iconAlign",(t=>"left"===t||"right"===t),new Set(["Alignment {left, right, top, bottom}"]),o,{hooks:{beforePatch:()=>{r(t)}}})};export{d as i,f as v,u as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as o}from"./a11y.tipps-96a0d55e.js";import{c as t}from"./prop.validators-3b95d09c.js";const s=(s,e,p)=>{t(e,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),p),o(s,e.state._links.length)};export{s as w};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|