@public-ui/components 1.7.1 → 1.7.2
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-525af2a1.js → a11y.tipps-15573ace.js} +1 -1
- package/dist/cjs/{a11y.tipps-525af2a1.js.map → a11y.tipps-15573ace.js.map} +1 -1
- package/dist/cjs/align-287dbfef.js +4 -0
- package/dist/cjs/{align-a7056a30.js.map → align-287dbfef.js.map} +1 -1
- package/dist/cjs/{alignment-bf5f2d80.js → alignment-1948fe15.js} +1 -1
- package/dist/cjs/{alignment-bf5f2d80.js.map → alignment-1948fe15.js.map} +1 -1
- package/dist/cjs/{app-globals-6c87b8ef.js → app-globals-fed73a7a.js} +1 -1
- package/dist/cjs/{app-globals-6c87b8ef.js.map → app-globals-fed73a7a.js.map} +1 -1
- package/dist/cjs/{aria-current-6e288368.js → aria-current-7b2e8583.js} +1 -1
- package/dist/cjs/{aria-current-6e288368.js.map → aria-current-7b2e8583.js.map} +1 -1
- package/dist/cjs/{associated.controller-498522ff.js → associated.controller-886e6b89.js} +1 -1
- package/dist/cjs/{associated.controller-498522ff.js.map → associated.controller-886e6b89.js.map} +1 -1
- package/dist/cjs/{color-df8d9e8d.js → color-4d7c5095.js} +1 -1
- package/dist/cjs/{color-df8d9e8d.js.map → color-4d7c5095.js.map} +1 -1
- package/dist/cjs/{controller-12607252.js → controller-18b48299.js} +1 -1
- package/dist/cjs/{controller-12607252.js.map → controller-18b48299.js.map} +1 -1
- package/dist/cjs/{controller-aad5c8d9.js → controller-48d109ff.js} +1 -1
- package/dist/cjs/{controller-aad5c8d9.js.map → controller-48d109ff.js.map} +1 -1
- package/dist/cjs/{controller-bba08626.js → controller-c686bcc7.js} +1 -1
- package/dist/cjs/{controller-bba08626.js.map → controller-c686bcc7.js.map} +1 -1
- package/dist/cjs/{controller-a95f8218.js → controller-d229d417.js} +1 -1
- package/dist/cjs/{controller-a95f8218.js.map → controller-d229d417.js.map} +1 -1
- package/dist/cjs/{controller-420d7bf3.js → controller-e39af4fa.js} +1 -1
- package/dist/cjs/{controller-420d7bf3.js.map → controller-e39af4fa.js.map} +1 -1
- package/dist/cjs/{controller-icon-9fa89b6e.js → controller-icon-cbf6f747.js} +1 -1
- package/dist/cjs/{controller-icon-9fa89b6e.js.map → controller-icon-cbf6f747.js.map} +1 -1
- package/dist/cjs/{custom-class-928544f4.js → custom-class-ca91d807.js} +1 -1
- package/dist/cjs/{custom-class-928544f4.js.map → custom-class-ca91d807.js.map} +1 -1
- package/dist/cjs/{dev.utils-c6d0ebbb.js → dev.utils-a8bbef49.js} +1 -1
- package/dist/cjs/{dev.utils-c6d0ebbb.js.map → dev.utils-a8bbef49.js.map} +1 -1
- package/dist/cjs/{devtools-46228a36.js → devtools-d68c77e0.js} +1 -1
- package/dist/cjs/{devtools-46228a36.js.map → devtools-d68c77e0.js.map} +1 -1
- package/dist/cjs/has-closer-4a50a1a9.js +4 -0
- package/dist/cjs/{has-closer-f96cb476.js.map → has-closer-4a50a1a9.js.map} +1 -1
- package/dist/cjs/hide-label-a1cb05f7.js +4 -0
- package/dist/cjs/{hide-label-0e570fc5.js.map → hide-label-a1cb05f7.js.map} +1 -1
- package/dist/cjs/{i18n-e605811a.js → i18n-4e50bf94.js} +1 -1
- package/dist/cjs/{i18n-e605811a.js.map → i18n-4e50bf94.js.map} +1 -1
- package/dist/cjs/{icons-224ab346.js → icons-809c30d6.js} +1 -1
- package/dist/cjs/{icons-224ab346.js.map → icons-809c30d6.js.map} +1 -1
- package/dist/cjs/image-source-b0d8d30d.js +4 -0
- package/dist/cjs/{image-source-b79004f0.js.map → image-source-b0d8d30d.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-5d44c8d1.js → label-55281071.js} +1 -1
- package/dist/cjs/{label-5d44c8d1.js.map → label-55281071.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-cebc6a39.js +4 -0
- package/dist/cjs/{open-0830bde8.js.map → open-cebc6a39.js.map} +1 -1
- package/dist/cjs/{prop.validators-293612fa.js → prop.validators-03a13033.js} +1 -1
- package/dist/cjs/{prop.validators-293612fa.js.map → prop.validators-03a13033.js.map} +1 -1
- package/dist/cjs/rows-a566b809.js +4 -0
- package/dist/cjs/{rows-ac0a0b3c.js.map → rows-a566b809.js.map} +1 -1
- package/dist/cjs/show-ae39b465.js +4 -0
- package/dist/cjs/{show-c0dca678.js.map → show-ae39b465.js.map} +1 -1
- package/dist/cjs/{suggestions-ddb048ff.js → suggestions-fb800cf5.js} +1 -1
- package/dist/cjs/{suggestions-ddb048ff.js.map → suggestions-fb800cf5.js.map} +1 -1
- package/dist/cjs/{tab-index-ccb038ef.js → tab-index-16691afc.js} +1 -1
- package/dist/cjs/{tab-index-ccb038ef.js.map → tab-index-16691afc.js.map} +1 -1
- package/dist/cjs/{tooltip-align-44dead2b.js → tooltip-align-9079c008.js} +1 -1
- package/dist/cjs/{tooltip-align-44dead2b.js.map → tooltip-align-9079c008.js.map} +1 -1
- package/dist/cjs/{validation-3ed3b128.js → validation-aa09d532.js} +1 -1
- package/dist/cjs/{validation-3ed3b128.js.map → validation-aa09d532.js.map} +1 -1
- package/dist/cjs/{validation-52513f91.js → validation-aa7608b1.js} +1 -1
- package/dist/cjs/{validation-52513f91.js.map → validation-aa7608b1.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-4b764e13.js → a11y.tipps-f9fe8130.js} +1 -1
- package/dist/esm/{a11y.tipps-4b764e13.js.map → a11y.tipps-f9fe8130.js.map} +1 -1
- package/dist/esm/{align-e63e9a39.js → align-f5baaca9.js} +1 -1
- package/dist/esm/{align-e63e9a39.js.map → align-f5baaca9.js.map} +1 -1
- package/dist/esm/{alignment-2317d008.js → alignment-ccf0822b.js} +1 -1
- package/dist/esm/{alignment-2317d008.js.map → alignment-ccf0822b.js.map} +1 -1
- package/dist/esm/{app-globals-4db93670.js → app-globals-abefba05.js} +1 -1
- package/dist/esm/{app-globals-4db93670.js.map → app-globals-abefba05.js.map} +1 -1
- package/dist/esm/{aria-current-36481fbc.js → aria-current-ec15e16b.js} +1 -1
- package/dist/esm/{aria-current-36481fbc.js.map → aria-current-ec15e16b.js.map} +1 -1
- package/dist/esm/{associated.controller-73535b86.js → associated.controller-20be9d74.js} +1 -1
- package/dist/esm/{associated.controller-73535b86.js.map → associated.controller-20be9d74.js.map} +1 -1
- package/dist/esm/{color-8a3a7784.js → color-433922d4.js} +1 -1
- package/dist/esm/{color-8a3a7784.js.map → color-433922d4.js.map} +1 -1
- package/dist/esm/{controller-d790696a.js → controller-0ef19f0b.js} +1 -1
- package/dist/esm/{controller-d790696a.js.map → controller-0ef19f0b.js.map} +1 -1
- package/dist/esm/{controller-c04c6531.js → controller-7c8a5903.js} +1 -1
- package/dist/esm/{controller-c04c6531.js.map → controller-7c8a5903.js.map} +1 -1
- package/dist/esm/{controller-ebd98d1e.js → controller-a62420aa.js} +1 -1
- package/dist/esm/{controller-ebd98d1e.js.map → controller-a62420aa.js.map} +1 -1
- package/dist/esm/{controller-5bcb925f.js → controller-c1e12c57.js} +1 -1
- package/dist/esm/{controller-5bcb925f.js.map → controller-c1e12c57.js.map} +1 -1
- package/dist/esm/{controller-498436f5.js → controller-e913ab35.js} +1 -1
- package/dist/esm/{controller-498436f5.js.map → controller-e913ab35.js.map} +1 -1
- package/dist/esm/{controller-icon-f812e519.js → controller-icon-15155d15.js} +1 -1
- package/dist/esm/{controller-icon-f812e519.js.map → controller-icon-15155d15.js.map} +1 -1
- package/dist/esm/{custom-class-eb6230ab.js → custom-class-1b2878a6.js} +1 -1
- package/dist/esm/{custom-class-eb6230ab.js.map → custom-class-1b2878a6.js.map} +1 -1
- package/dist/esm/{dev.utils-c305d350.js → dev.utils-3aaea35b.js} +1 -1
- package/dist/esm/{dev.utils-c305d350.js.map → dev.utils-3aaea35b.js.map} +1 -1
- package/dist/esm/{devtools-bee7805a.js → devtools-12d4969e.js} +1 -1
- package/dist/esm/{devtools-bee7805a.js.map → devtools-12d4969e.js.map} +1 -1
- package/dist/esm/{has-closer-8a002427.js → has-closer-e4c5d693.js} +1 -1
- package/dist/esm/{has-closer-8a002427.js.map → has-closer-e4c5d693.js.map} +1 -1
- package/dist/esm/{hide-label-b02e4e68.js → hide-label-cfd7f509.js} +1 -1
- package/dist/esm/{hide-label-b02e4e68.js.map → hide-label-cfd7f509.js.map} +1 -1
- package/dist/esm/{i18n-f167afd7.js → i18n-6072e93c.js} +1 -1
- package/dist/esm/{i18n-f167afd7.js.map → i18n-6072e93c.js.map} +1 -1
- package/dist/esm/{icons-4594f0bb.js → icons-9056d7aa.js} +1 -1
- package/dist/esm/{icons-4594f0bb.js.map → icons-9056d7aa.js.map} +1 -1
- package/dist/esm/{image-source-d1f0f870.js → image-source-4f449d09.js} +1 -1
- package/dist/esm/{image-source-d1f0f870.js.map → image-source-4f449d09.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-ff8e1180.js → label-356cfbae.js} +1 -1
- package/dist/esm/{label-ff8e1180.js.map → label-356cfbae.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-0f61b9a9.js → open-a1463140.js} +1 -1
- package/dist/esm/{open-0f61b9a9.js.map → open-a1463140.js.map} +1 -1
- package/dist/esm/{prop.validators-8a0008f0.js → prop.validators-704b3c58.js} +1 -1
- package/dist/esm/{prop.validators-8a0008f0.js.map → prop.validators-704b3c58.js.map} +1 -1
- package/dist/esm/{rows-0709632e.js → rows-a73fb7ef.js} +1 -1
- package/dist/esm/{rows-0709632e.js.map → rows-a73fb7ef.js.map} +1 -1
- package/dist/esm/{show-dea935b5.js → show-eb4ffa96.js} +1 -1
- package/dist/esm/{show-dea935b5.js.map → show-eb4ffa96.js.map} +1 -1
- package/dist/esm/{suggestions-b338e32d.js → suggestions-d1aa4116.js} +1 -1
- package/dist/esm/{suggestions-b338e32d.js.map → suggestions-d1aa4116.js.map} +1 -1
- package/dist/esm/{tab-index-2088834b.js → tab-index-42d29061.js} +1 -1
- package/dist/esm/{tab-index-2088834b.js.map → tab-index-42d29061.js.map} +1 -1
- package/dist/esm/{tooltip-align-abed689a.js → tooltip-align-967c2542.js} +1 -1
- package/dist/esm/{tooltip-align-abed689a.js.map → tooltip-align-967c2542.js.map} +1 -1
- package/dist/esm/{validation-d8e90a97.js → validation-38697a36.js} +1 -1
- package/dist/esm/{validation-d8e90a97.js.map → validation-38697a36.js.map} +1 -1
- package/dist/esm/validation-740d162d.js +4 -0
- package/dist/esm/{validation-ab1d7def.js.map → validation-740d162d.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-4b764e13.js → a11y.tipps-f9fe8130.js} +1 -1
- package/dist/kolibri/align-f5baaca9.js +4 -0
- package/dist/kolibri/alignment-ccf0822b.js +4 -0
- package/dist/kolibri/app-globals-abefba05.js +4 -0
- package/dist/kolibri/{aria-current-36481fbc.js → aria-current-ec15e16b.js} +1 -1
- package/dist/kolibri/{associated.controller-73535b86.js → associated.controller-20be9d74.js} +1 -1
- package/dist/kolibri/{color-8a3a7784.js → color-433922d4.js} +1 -1
- package/dist/kolibri/controller-0ef19f0b.js +4 -0
- package/dist/kolibri/{controller-c04c6531.js → controller-7c8a5903.js} +1 -1
- package/dist/kolibri/{controller-ebd98d1e.js → controller-a62420aa.js} +1 -1
- package/dist/kolibri/controller-c1e12c57.js +4 -0
- package/dist/kolibri/{controller-5bcb925f.js.map → controller-c1e12c57.js.map} +1 -1
- package/dist/kolibri/{controller-498436f5.js → controller-e913ab35.js} +1 -1
- package/dist/kolibri/controller-icon-15155d15.js +4 -0
- package/dist/kolibri/{custom-class-eb6230ab.js → custom-class-1b2878a6.js} +1 -1
- package/dist/kolibri/{dev.utils-c305d350.js → dev.utils-3aaea35b.js} +1 -1
- package/dist/kolibri/{dev.utils-c305d350.js.map → dev.utils-3aaea35b.js.map} +1 -1
- package/dist/kolibri/{devtools-bee7805a.js → devtools-12d4969e.js} +1 -1
- package/dist/kolibri/has-closer-e4c5d693.js +4 -0
- package/dist/kolibri/{has-closer-8a002427.js.map → has-closer-e4c5d693.js.map} +1 -1
- package/dist/kolibri/hide-label-cfd7f509.js +4 -0
- package/dist/kolibri/{i18n-f167afd7.js → i18n-6072e93c.js} +1 -1
- package/dist/kolibri/{icons-4594f0bb.js → icons-9056d7aa.js} +1 -1
- package/dist/kolibri/image-source-4f449d09.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-text.entry.js.map +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-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-pagination.entry.js.map +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-ff8e1180.js → label-356cfbae.js} +1 -1
- package/dist/kolibri/open-a1463140.js +4 -0
- package/dist/kolibri/prop.validators-704b3c58.js +4 -0
- package/dist/kolibri/rows-a73fb7ef.js +4 -0
- package/dist/kolibri/show-eb4ffa96.js +4 -0
- package/dist/kolibri/{suggestions-b338e32d.js → suggestions-d1aa4116.js} +1 -1
- package/dist/kolibri/{tab-index-2088834b.js → tab-index-42d29061.js} +1 -1
- package/dist/kolibri/tooltip-align-967c2542.js +4 -0
- package/dist/kolibri/validation-38697a36.js +4 -0
- package/dist/kolibri/validation-740d162d.js +4 -0
- 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/align-a7056a30.js +0 -4
- package/dist/cjs/has-closer-f96cb476.js +0 -4
- package/dist/cjs/hide-label-0e570fc5.js +0 -4
- package/dist/cjs/image-source-b79004f0.js +0 -4
- package/dist/cjs/open-0830bde8.js +0 -4
- package/dist/cjs/rows-ac0a0b3c.js +0 -4
- package/dist/cjs/show-c0dca678.js +0 -4
- package/dist/esm/validation-ab1d7def.js +0 -4
- package/dist/kolibri/align-e63e9a39.js +0 -4
- package/dist/kolibri/alignment-2317d008.js +0 -4
- package/dist/kolibri/app-globals-4db93670.js +0 -4
- package/dist/kolibri/controller-5bcb925f.js +0 -4
- package/dist/kolibri/controller-d790696a.js +0 -4
- package/dist/kolibri/controller-icon-f812e519.js +0 -4
- package/dist/kolibri/has-closer-8a002427.js +0 -4
- package/dist/kolibri/hide-label-b02e4e68.js +0 -4
- package/dist/kolibri/image-source-d1f0f870.js +0 -4
- package/dist/kolibri/open-0f61b9a9.js +0 -4
- package/dist/kolibri/prop.validators-8a0008f0.js +0 -4
- package/dist/kolibri/rows-0709632e.js +0 -4
- package/dist/kolibri/show-dea935b5.js +0 -4
- package/dist/kolibri/tooltip-align-abed689a.js +0 -4
- package/dist/kolibri/validation-ab1d7def.js +0 -4
- package/dist/kolibri/validation-d8e90a97.js +0 -4
- /package/dist/kolibri/{a11y.tipps-4b764e13.js.map → a11y.tipps-f9fe8130.js.map} +0 -0
- /package/dist/kolibri/{align-e63e9a39.js.map → align-f5baaca9.js.map} +0 -0
- /package/dist/kolibri/{alignment-2317d008.js.map → alignment-ccf0822b.js.map} +0 -0
- /package/dist/kolibri/{app-globals-4db93670.js.map → app-globals-abefba05.js.map} +0 -0
- /package/dist/kolibri/{aria-current-36481fbc.js.map → aria-current-ec15e16b.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-73535b86.js.map → associated.controller-20be9d74.js.map} +0 -0
- /package/dist/kolibri/{color-8a3a7784.js.map → color-433922d4.js.map} +0 -0
- /package/dist/kolibri/{controller-d790696a.js.map → controller-0ef19f0b.js.map} +0 -0
- /package/dist/kolibri/{controller-c04c6531.js.map → controller-7c8a5903.js.map} +0 -0
- /package/dist/kolibri/{controller-ebd98d1e.js.map → controller-a62420aa.js.map} +0 -0
- /package/dist/kolibri/{controller-498436f5.js.map → controller-e913ab35.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-f812e519.js.map → controller-icon-15155d15.js.map} +0 -0
- /package/dist/kolibri/{custom-class-eb6230ab.js.map → custom-class-1b2878a6.js.map} +0 -0
- /package/dist/kolibri/{devtools-bee7805a.js.map → devtools-12d4969e.js.map} +0 -0
- /package/dist/kolibri/{hide-label-b02e4e68.js.map → hide-label-cfd7f509.js.map} +0 -0
- /package/dist/kolibri/{i18n-f167afd7.js.map → i18n-6072e93c.js.map} +0 -0
- /package/dist/kolibri/{icons-4594f0bb.js.map → icons-9056d7aa.js.map} +0 -0
- /package/dist/kolibri/{image-source-d1f0f870.js.map → image-source-4f449d09.js.map} +0 -0
- /package/dist/kolibri/{label-ff8e1180.js.map → label-356cfbae.js.map} +0 -0
- /package/dist/kolibri/{open-0f61b9a9.js.map → open-a1463140.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-8a0008f0.js.map → prop.validators-704b3c58.js.map} +0 -0
- /package/dist/kolibri/{rows-0709632e.js.map → rows-a73fb7ef.js.map} +0 -0
- /package/dist/kolibri/{show-dea935b5.js.map → show-eb4ffa96.js.map} +0 -0
- /package/dist/kolibri/{suggestions-b338e32d.js.map → suggestions-d1aa4116.js.map} +0 -0
- /package/dist/kolibri/{tab-index-2088834b.js.map → tab-index-42d29061.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-abed689a.js.map → tooltip-align-967c2542.js.map} +0 -0
- /package/dist/kolibri/{validation-d8e90a97.js.map → validation-38697a36.js.map} +0 -0
- /package/dist/kolibri/{validation-ab1d7def.js.map → validation-740d162d.js.map} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{d as e}from"./a11y.tipps-f9fe8130.js";import{L as t,g as r,a as n,b as i}from"./dev.utils-3aaea35b.js";import{p as o,a as s}from"./index-3822b0c5.js";const a=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},u=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const r=new Set;a(r,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const o=n[t].shadowRoot;a(r,u(e,"object"==typeof o&&null!==o?o:n[t]))}return Array.from(r)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},c=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let r=t.querySelector(e);if(null===r){const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const o=n[t].shadowRoot;if(r=c(e,"object"==typeof o&&null!==o?o:n[t]),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(e){var t=S(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function y(e){var t=S(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function m(e){var t=S(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function w(e){3==(t=S(e)).length&&t.push(255);var t,r=255==t[3],n=E(t[0]),o=E(t[1]),s=E(t[2]),i=N(n,o,s,t=E(Math.round(t[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)+t.charAt(0):"#"+n+o+s+t}function g(e){var t=S(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function S(e){return"string"==typeof e?M(e=e.toLowerCase())||_(e)||j(e)||k(e)||D(e)||[0,0,0,255]:x(e)||T(e)||$(e)||[0,0,0,255]}function E(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function N(e,t,r,n){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(e)&&-1!=o.indexOf(t)&&-1!=o.indexOf(r)&&-1!=o.indexOf(n)}function M(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function O(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function _(e){var t=e.replace(/^#/,""),r=t.length;if(3==r||4==r){var n=O(t[0]),o=O(t[1]),s=O(t[2]),i=3==r?255:O(t[3]);if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function j(e){var t=e.replace(/^#/,""),r=t.length;if(6==r||8==r){var n=O(t.slice(0,2)),o=O(t.slice(2,4)),s=O(t.slice(4,6)),i=6==r?255:O(t.slice(6,8));if(isNaN(n)||isNaN(o)||isNaN(s)||isNaN(i))return;return[n,o,s,i]}}function A(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function x(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=A(null!=e.r?e.r:null!=e.red?e.red:0,!0),r=A(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=A(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),o=A(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=r&&-1!=n&&-1!=o)return[t,r,n,o]}}function T(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=A(e[0],!0),r=A(e[1],!0),n=A(e[2],!0),o=A(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=r&&-1!=n&&-1!=o)return[t,r,n,o]}}function $(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function k(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(t[0],!0),n=A(t[1],!0),o=A(t[2],!0);if(-1!=r&&-1!=n&&-1!=o)return[r,n,o,255]}}function D(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),r=A(t[0],!0),n=A(t[1],!0),o=A(t[2],!0),s=A(255*t[3]);if(-1!=r&&-1!=n&&-1!=o&&-1!=s)return[r,n,o,s]}}function P(e){return"function"==typeof e}function C(e){const t=e((e=>{Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}f.arr=l,f.obj=d,f.css=h,f.hex=v,f.num=p;const H=C((e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map(((e,t)=>`${t+1}) ${e.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t}));function L(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class J{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(P(r))try{r()}catch(t){e=t instanceof H?t.errors:[t]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const t of n)try{U(t)}catch(t){e=null!=e?e:[],t instanceof H?e=[...e,...t.errors]:e.push(t)}}if(e)throw new H(e)}}add(e){var t;if(e&&e!==this)if(this.closed)U(e);else{if(e instanceof J){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&L(t,e)}remove(e){const{_finalizers:t}=this;t&&L(t,e),e instanceof J&&e._removeParent(this)}}J.EMPTY=(()=>{const e=new J;return e.closed=!0,e})();const z=J.EMPTY;function I(e){return e instanceof J||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function U(e){P(e)?e():e.unsubscribe()}const F={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},q={setTimeout(e,t,...r){const{delegate:n}=q;return(null==n?void 0:n.setTimeout)?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=q;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function B(e){q.setTimeout((()=>{const{onUnhandledError:t}=F;if(!t)throw e;t(e)}))}function R(){}const W=G("C",void 0,void 0);function K(e){return G("E",void 0,e)}function Y(e){return G("N",e,void 0)}function G(e,t,r){return{kind:e,value:t,error:r}}function Q(e){e()}class V extends J{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,I(e)&&e.add(this)):this.destination=oe}static create(e,t,r){return new te(e,t,r)}next(e){this.isStopped?ie(Y(e),this):this._next(e)}error(e){this.isStopped?ie(K(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ie(W,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const X=Function.prototype.bind;function Z(e,t){return X.call(e,t)}class ee{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){re(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){re(e)}else re(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){re(e)}}}class te extends V{constructor(e,t,r){let n;if(super(),P(e)||!e)n={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0};else{let t;this&&F.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&Z(e.next,t),error:e.error&&Z(e.error,t),complete:e.complete&&Z(e.complete,t)}):n=e}this.destination=new ee(n)}}function re(e){B(e)}function ne(e){throw e}function ie(e,t){const{onStoppedNotification:r}=F;r&&q.setTimeout((()=>r(e,t)))}const oe={closed:!0,next:R,error:ne,complete:R},se="function"==typeof Symbol&&Symbol.observable||"@@observable";function ae(e){return e}function ue(e){return 0===e.length?ae:1===e.length?e[0]:function(t){return e.reduce(((e,t)=>t(e)),t)}}class ce{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new ce;return t.source=this,t.operator=e,t}subscribe(e,t,r){const n=de(e)?e:new te(e,t,r);return Q((()=>{const{operator:e,source:t}=this;n.add(e?e.call(n,t):t?this._subscribe(n):this._trySubscribe(n))})),n}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=fe(t))(((t,r)=>{const n=new te({next:t=>{try{e(t)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t});this.subscribe(n)}))}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[se](){return this}pipe(...e){return ue(e)(this)}toPromise(e){return new(e=fe(e))(((e,t)=>{let r;this.subscribe((e=>r=e),(e=>t(e)),(()=>e(r)))}))}}function fe(e){var t;return null!==(t=null!=e?e:F.Promise)&&void 0!==t?t:Promise}function le(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function de(e){return e&&e instanceof V||le(e)&&I(e)}ce.create=e=>new ce(e);const he=C((e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class ve extends ce{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new pe(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new he}next(e){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}}))}error(e){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}}))}complete(){Q((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:r,observers:n}=this;return t||r?z:(this.currentObservers=null,n.push(e),new J((()=>{this.currentObservers=null,L(n,e)})))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:r,isStopped:n}=this;t?e.error(r):n&&e.complete()}asObservable(){const e=new ce;return e.source=this,e}}ve.create=(e,t)=>new pe(e,t);class pe extends ve{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:z}}var be=.2126,ye=.7152,me=.0722,we=1/12.92;function ge(e){return Math.pow((e+.055)/1.055,2.4)}function Se(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,o=t<=.03928?t*we:ge(t),s=r<=.03928?r*we:ge(r),i=n<=.03928?n*we:ge(n);return o*be+s*ye+i*me}function Ee(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,t]}function Ne(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Me(e,t){return Ne(Se(e),Se(t))}function Oe(e,t){return Me(Ee(e),Ee(t))}function _e(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const je=/\[object Object\]/,Ae=(e,t)=>{"string"==typeof e&&je.test(e)||t()},xe=(e,t)=>{"string"==typeof e&&""===e||t()},Te=(e,r)=>{i()&&(t.debug([e,r]),t.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:r,writable:!1})},$e=e=>{var t,r,n;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,r)=>{var n;const o=t.get("beforePatch");"function"==typeof o&&o(null===(n=e.nextState)||void 0===n?void 0:n.get(r),e.nextState,e,r)})),(null===(r=e.nextState)||void 0===r?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(n=e.nextHooks)||void 0===n||n.forEach(((t,r)=>{const n=t.get("afterPatch");"function"==typeof n&&n(e.state[r],e.state,e,r)}))),delete e.nextHooks},ke=(e,t,r,n={})=>{var o,s;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==r){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof n.afterPatch&&(null===(o=e.nextHooks.get(t))||void 0===o||o.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(s=e.nextHooks.get(t))||void 0===s||s.set("beforePatch",n.beforePatch)),e.nextState.set(t,r),$e(e)}},De=(t,r,n,o)=>{e(`[${t.constructor.name}] Der Property-Wert (${n}) für '${r}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(o).join(", ")}`)};function Pe(e,t,r,n,o,s={}){r(o)?ke(e,t,o,s.hooks):null!=o||s.required?(s.required||n.add(null),De(e,t,o,n)):ke(e,t,s.defaultValue,s.hooks)}const Ce=(e,t,r,n)=>{Pe(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),r,n)},He=(e,t,r,n={})=>{const o="number"==typeof n.minLength?null==n?void 0:n.minLength:0;Pe(e,t,(e=>"string"==typeof e&&e.length>=o&&(void 0===(null==n?void 0:n.maxLength)||e.length<=n.maxLength)),new Set(["String"]),r,n)},Le=(e,t,r,n)=>{Pe(e,t,(e=>"number"==typeof e&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&e>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&e<=n.max)),new Set(["Number"]),r,n)},Je=(e,r,n,o,s=(e=>e==e),i={})=>{xe(o,(()=>{Ae(o,(()=>{void 0===o&&(o=[]);try{try{o=Re(o)}catch(e){}if(Array.isArray(o)){const c=o.find((e=>!n(e)));void 0===c&&s(o)?ke(e,r,o,i.hooks):Ae(c,(()=>{throw t.debug(c),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else Ae(o,(()=>{throw t.debug(o),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){t.debug(e)}}))}))},ze=/^(true|false)$/,Ie=/^-?(0|[1-9]\d*)$/,Ue=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,Fe=t=>{const r=typeof t,n=`${t}`;if("string"==typeof t)if(ze.test(t))t="true"===t;else if(Ie.test(t))t=parseInt(t);else if(Ue.test(t))t=parseFloat(t);else if(Be.test(t))try{t=Re(t)}catch(e){}return r!==typeof t&&e(`You have used a stringified property value (${n} to ${JSON.stringify(t)}) which type switched from ${r} to ${typeof t}!`),t},qe=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(r){throw t.warn(["stringifyJson",e]),t.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},Be=/^[{[]/,Re=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(r){if(Be.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(r){t.warn(["parseJson",e]),t.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).")}}throw new Error},We=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,Ke=e=>"string"==typeof e?e:We(e),Ye=(e,t)=>c(e,t||r()),Ge=(e,t)=>u(e,t||r());let Qe=null;const Ve=()=>(Qe=Qe||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},Qe),Xe=/(\d+, ){3}0\)/,Ze=(e,r=Ve())=>{const n=getComputedStyle(e),o=Xe.test(n.backgroundColor)?r.backgroundColor:f.hex(n.backgroundColor),s=Xe.test(n.color)?r.color:f.hex(n.color),i=Oe(o,s),c={backgroundColor:o,color:s,domNode:e,level:_e(i),score:i};return i<4.5&&t.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},et=(e,t=Ve())=>{t.domNode instanceof HTMLElement&&(t=Ze(t.domNode,t));const r=t.domNode.querySelector(e);if(null===r){const r=t.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<r.length&&(t.domNode=r[n],null===(t=et(e,t)).domNode);n++);return t}return Ze(r,t)},tt=(t,r=window)=>{t instanceof HTMLElement?(r.scrollTo({behavior:"smooth",top:t.getBoundingClientRect().top+n().pageYOffset-50}),t.focus()):e("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},rt=(t,r)=>{if((t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot)&&"string"==typeof r){e("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=t,t=n}if("string"==typeof t){const n=Ye(t,r);n instanceof HTMLElement?tt(n):e(`Es konnte kein HTMLElement mit dem Selector (${t}) gefunden werden, zu dem gescrollt werden soll.`)}else e("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class nt{static queryHtmlElementColors(e,r,n=!1,o=!0){let s=null;if(!0===n||!1===nt.executionLock)if(!1===n&&(nt.cache.clear(),nt.cache.set(r.domNode,r),nt.executionLock=!0,!0===o&&t.debug("[KoliBriUtils] Color contrast analysis started...")),e===r.domNode)s=r;else{const t=new Set;if(r.domNode.shadowRoot){const e=r.domNode.shadowRoot.children;for(let r=0;r<e.length;r++)t.add(e[r])}const n=r.domNode;if("function"==typeof n.assignedNodes){const e=n.assignedNodes();for(let r=0;r<e.length;r++)e[r]instanceof HTMLElement&&t.add(e[r])}const o=r.domNode.children;for(let e=0;e<o.length;e++)t.add(o[e]);const i=Array.from(t);for(let t=0;t<i.length;t++){let n=nt.cache.get(i[t]);void 0===n&&(n=Ze(i[t],r)),nt.cache.set(i[t],n);const o=nt.queryHtmlElementColors(e,n,!0,!1);if(null!==o){s=o;break}}}else t.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&t.debug(`[KoliBriUtils] Color contrast analysis finished (${nt.cache.size} DOM elements are analysed).`),nt.executionLock=!1,nt.cache.clear()),s}}nt.executionLock=!1,nt.cache=new Map;const it=new ve;class ot{}ot.ariaCurrentSubject=it,ot.patchTheme=o,ot.patchThemeTag=s,ot.querySelector=Ye,ot.querySelectorAll=Ge,ot.scrollByHTMLElement=tt,ot.scrollBySelector=rt,ot.stringifyJson=qe;export{ot as K,Ce as a,Oe as b,Je as c,He as d,Le as e,Te as f,xe as g,it as h,We as i,rt as j,Ye as k,Ke as l,Fe as m,nt as n,Ae as o,Re as p,Ze as q,f as r,ke as s,Ge as t,et as u,qe as v,Pe 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-704b3c58.js";import{a as o}from"./a11y.tipps-f9fe8130.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-f9fe8130.js";import{e as a}from"./prop.validators-704b3c58.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-f9fe8130.js";import{c as t}from"./prop.validators-704b3c58.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};
|
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-4b764e13.js";import{c as watchJsonArrayString}from"./prop.validators-8a0008f0.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{w as t}from"./prop.validators-8a0008f0.js";const o=new Set(['"left", "right"']),e=new Set(['"bottom", "top"']),s=new Set([...o,...e]),a=(o,e,a)=>{t(o,e,(t=>"bottom"===t||"left"===t||"right"===t||"top"===t),s,a,{defaultValue:"top"})};export{a as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as o}from"./index-536799d5.js";import{r as s}from"./index-23225963.js";import{L as t}from"./dev.utils-c305d350.js";import{p as e}from"./reuse-b3566e4c.js";import{s as i,g as r}from"./index-3822b0c5.js";const a=async()=>{o((o=>(o.shadowRoot instanceof ShadowRoot&&i(o,r(o)),"default"))),await s([],[]),import("./devtools-bee7805a.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{t.error(o)})),e&&import("./index-e51de689.js")},f=a;export{f as g};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as t,d as i,s,o as e,p as h}from"./prop.validators-8a0008f0.js";import{v as a}from"./hide-label-b02e4e68.js";import{a as o}from"./label-ff8e1180.js";import{g as r,a as n,d as l}from"./a11y.tipps-4b764e13.js";import{s as d,t as c}from"./events-2bb1065b.js";import{v as f}from"./tab-index-2088834b.js";import{A as u}from"./associated.controller-73535b86.js";const v=t=>{const o="string"==typeof t._error&&t._error.length>0&&!0===t._touched,e="string"==typeof t._hint&&t._hint.length>0,n=[];return!0===o&&n.push(`${t._id}-error`),!0===e&&n.push(`${t._id}-hint`),{hasError:o,hasHint:e,ariaDescribedBy:n}},p=(o,e,n)=>{t(o,"_hideError",e,n)},b=(o,e)=>{t(o,"_adjustHeight",e)},m=(o,e)=>{t(o,"_touched",e)};class y extends u{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){m(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class g extends y{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)},this.component=t}validateAccessKey(t){i(this.component,"_accessKey",t)}validateAdjustHeight(t){b(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&r()}validateError(t){i(this.component,"_error",t)}validateHideLabel(t){a(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){i(this.component,"_hint",t)}validateId(t){i(this.component,"_id",t,{hooks:{afterPatch:()=>{this.setAttribute("id",this.formAssociated,this.component.state._id)}},minLength:1}),""!==t&&void 0!==t||l("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){o(this.component,t)}validateOn(t){"object"==typeof t&&s(this.component,"_on",t)}validateSmartButton(t){e(t,(()=>{try{t=h(t)}catch(t){}s(this.component,"_smartButton",t)}))}validateTabIndex(t){f(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var o;this.component._alert=!0,this.component._touched=!0,d(t),c("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t){var o;const e=t.target.value;d(t),c("change",this.host,e),this.setFormAssociatedValue(e),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,e),this.valueChangeListeners.forEach((t=>t(e)))}onClick(t){var o;d(t),c("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;this.component._alert=!0,d(t),c("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}setValue(t,o){var e;this.setFormAssociatedValue(o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{g as I,v as g,p as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{I as t,v as e}from"./controller-5bcb925f.js";import{c as s,a as i,w as o,m as r,s as a}from"./prop.validators-8a0008f0.js";import{h as n,c as h}from"./label-ff8e1180.js";import{a as l}from"./a11y.tipps-4b764e13.js";import{S as f}from"./reuse-b3566e4c.js";const c=t=>{if("object"==typeof t&&null!==t){if("string"==typeof t.label&&t.label.length>0)return t.disabled=!0===t.disabled,t.label=`${t.label}`.trim(),!1===n(t.label,3)&&!1===h(t.label)&&l(`Ein abweichendes Aria-Label (${t.label}) ist nicht barrierefrei. Ein abweichendes Aria-Label sollte aus mindestens drei lesbaren Zeichen bestehen.`),!Array.isArray(t.options)||void 0===t.options.find((t=>!1===c(t)));if("number"==typeof t.label)return!0}return!1},u=(t,e,o={})=>{s(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),e,void 0,o)},p=(t,e,o={})=>{s(t,"_options",c,e,void 0,o)},d=(t,e)=>{i(t,"_required",e)},m=(t,e,o="")=>{e.forEach(((e,i)=>{const s=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?m(t,e.options,s):t.set(s,e))}))};class b extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateHideError(t){e(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&l("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateRequired(t){d(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class v extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.isValueInOptions=(t,e)=>void 0!==e.find((e=>e.value===t)),this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;if(Array.isArray(o)&&o.length>0){this.keyOptionMap.clear(),m(this.keyOptionMap,o);const t=e.has("_value")?e.get("_value"):this.component.state._value;if(!1===this.isValueInOptions(t,o)){const t=o[0].value;e.set("_value",t),this.onStateChange()}}},this.component=t}validateOrientation(t){o(this.component,"_orientation",(t=>"horizontal"===t||"vertical"===t),new Set(["Orientation {horizontal, vertical}"]),t,{defaultValue:"vertical"})}validateOptions(t){u(this.component,t,{hooks:{beforePatch:this.beforePatchOptions}})}validateValue(t){t=r(t),t=Array.isArray(t)?t[0]:t,a(this.component,"_value",t,{beforePatch:this.beforePatchOptions}),this.setFormAssociatedValue(this.component._value)}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(f)}))}},this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options||this.component._list),this.validateHideError(this.component._hideError),this.validateValue(this.component._value)}}export{b as I,v as a,m as f,p as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as o}from"./icons-4594f0bb.js";import{o as s,p as t,w as i}from"./prop.validators-8a0008f0.js";import{i as r}from"./reuse-b3566e4c.js";import{I as e}from"./controller-5bcb925f.js";const c=(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 a extends e{constructor(o,t,s){super(o,t,s),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(e){s(e,(()=>{try{e=t(e)}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"]),e,{hooks:{beforePatch:c},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{a as I};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{d as t}from"./a11y.tipps-4b764e13.js";import{L as e,g as r,a as n,b as i}from"./dev.utils-c305d350.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 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as o}from"./a11y.tipps-4b764e13.js";import{c as t}from"./prop.validators-8a0008f0.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
|