@public-ui/components 1.7.2-rc.0 → 1.7.3
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-20bd827e.js → a11y.tipps-dd4d7aa2.js} +1 -1
- package/dist/cjs/{a11y.tipps-20bd827e.js.map → a11y.tipps-dd4d7aa2.js.map} +1 -1
- package/dist/cjs/{align-c615467e.js → align-4833e7b8.js} +1 -1
- package/dist/cjs/{align-c615467e.js.map → align-4833e7b8.js.map} +1 -1
- package/dist/cjs/{alignment-c3d8299d.js → alignment-1cddb2bb.js} +1 -1
- package/dist/cjs/{alignment-c3d8299d.js.map → alignment-1cddb2bb.js.map} +1 -1
- package/dist/cjs/{app-globals-02609afb.js → app-globals-07a61e76.js} +1 -1
- package/dist/cjs/{app-globals-02609afb.js.map → app-globals-07a61e76.js.map} +1 -1
- package/dist/cjs/{aria-current-bf82eb71.js → aria-current-3574d27e.js} +1 -1
- package/dist/cjs/{aria-current-bf82eb71.js.map → aria-current-3574d27e.js.map} +1 -1
- package/dist/cjs/{associated.controller-2dd7773f.js → associated.controller-25bdbc4c.js} +1 -1
- package/dist/cjs/{associated.controller-2dd7773f.js.map → associated.controller-25bdbc4c.js.map} +1 -1
- package/dist/cjs/{color-1bf0d8bb.js → color-1477dad9.js} +1 -1
- package/dist/cjs/{color-1bf0d8bb.js.map → color-1477dad9.js.map} +1 -1
- package/dist/cjs/{controller-eb9541ad.js → controller-07933f8a.js} +1 -1
- package/dist/cjs/{controller-eb9541ad.js.map → controller-07933f8a.js.map} +1 -1
- package/dist/cjs/{controller-a46514a3.js → controller-2e93aa0b.js} +1 -1
- package/dist/cjs/{controller-a46514a3.js.map → controller-2e93aa0b.js.map} +1 -1
- package/dist/cjs/controller-635f84bb.js +4 -0
- package/dist/cjs/{controller-50fb2d61.js.map → controller-635f84bb.js.map} +1 -1
- package/dist/cjs/{controller-b83c9c07.js → controller-75aab3d6.js} +1 -1
- package/dist/cjs/{controller-b83c9c07.js.map → controller-75aab3d6.js.map} +1 -1
- package/dist/cjs/{controller-d0a5d421.js → controller-f84cb32e.js} +1 -1
- package/dist/cjs/{controller-d0a5d421.js.map → controller-f84cb32e.js.map} +1 -1
- package/dist/cjs/{controller-icon-d6dcfaed.js → controller-icon-c806e1ed.js} +1 -1
- package/dist/cjs/{controller-icon-d6dcfaed.js.map → controller-icon-c806e1ed.js.map} +1 -1
- package/dist/cjs/{custom-class-797d23e1.js → custom-class-50a75474.js} +1 -1
- package/dist/cjs/{custom-class-797d23e1.js.map → custom-class-50a75474.js.map} +1 -1
- package/dist/cjs/{dev.utils-c7621892.js → dev.utils-da95732f.js} +1 -1
- package/dist/cjs/{dev.utils-c7621892.js.map → dev.utils-da95732f.js.map} +1 -1
- package/dist/cjs/{devtools-fb4454af.js → devtools-5f4087de.js} +1 -1
- package/dist/cjs/{devtools-fb4454af.js.map → devtools-5f4087de.js.map} +1 -1
- package/dist/cjs/has-closer-ee730a2c.js +4 -0
- package/dist/cjs/{has-closer-479d4658.js.map → has-closer-ee730a2c.js.map} +1 -1
- package/dist/cjs/hide-label-4f46ef6b.js +4 -0
- package/dist/cjs/{hide-label-624ed0df.js.map → hide-label-4f46ef6b.js.map} +1 -1
- package/dist/cjs/{i18n-2342e202.js → i18n-883db212.js} +1 -1
- package/dist/cjs/{i18n-2342e202.js.map → i18n-883db212.js.map} +1 -1
- package/dist/cjs/{icons-2ee332dc.js → icons-d26ec242.js} +1 -1
- package/dist/cjs/{icons-2ee332dc.js.map → icons-d26ec242.js.map} +1 -1
- package/dist/cjs/image-source-aad3340f.js +4 -0
- package/dist/cjs/{image-source-cf8ab51e.js.map → image-source-aad3340f.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-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-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-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-logo.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +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-960c33d0.js → label-467a936d.js} +1 -1
- package/dist/cjs/{label-960c33d0.js.map → label-467a936d.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-e9be21cc.js +4 -0
- package/dist/cjs/{open-aa7908fd.js.map → open-e9be21cc.js.map} +1 -1
- package/dist/cjs/{prop.validators-edbcdb8f.js → prop.validators-6f92dc96.js} +1 -1
- package/dist/cjs/{prop.validators-edbcdb8f.js.map → prop.validators-6f92dc96.js.map} +1 -1
- package/dist/cjs/rows-bb440aec.js +4 -0
- package/dist/cjs/{rows-691988d0.js.map → rows-bb440aec.js.map} +1 -1
- package/dist/cjs/show-9b0c1d00.js +4 -0
- package/dist/cjs/{show-9affcee7.js.map → show-9b0c1d00.js.map} +1 -1
- package/dist/cjs/{suggestions-22073ba6.js → suggestions-7985373a.js} +1 -1
- package/dist/cjs/{suggestions-22073ba6.js.map → suggestions-7985373a.js.map} +1 -1
- package/dist/cjs/{tab-index-4a2d5e81.js → tab-index-6b2fbb7c.js} +1 -1
- package/dist/cjs/{tab-index-4a2d5e81.js.map → tab-index-6b2fbb7c.js.map} +1 -1
- package/dist/cjs/{tooltip-align-8d8541c4.js → tooltip-align-c1ab918f.js} +1 -1
- package/dist/cjs/{tooltip-align-8d8541c4.js.map → tooltip-align-c1ab918f.js.map} +1 -1
- package/dist/cjs/{validation-d21a48de.js → validation-2a513f8b.js} +1 -1
- package/dist/cjs/{validation-d21a48de.js.map → validation-2a513f8b.js.map} +1 -1
- package/dist/cjs/validation-a79c30cf.js +4 -0
- package/dist/cjs/{validation-2b1f8e24.js.map → validation-a79c30cf.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-27b2bac3.js → a11y.tipps-ba672890.js} +1 -1
- package/dist/esm/{a11y.tipps-27b2bac3.js.map → a11y.tipps-ba672890.js.map} +1 -1
- package/dist/esm/{align-403e4c28.js → align-6791f42e.js} +1 -1
- package/dist/esm/{align-403e4c28.js.map → align-6791f42e.js.map} +1 -1
- package/dist/esm/{alignment-f6c39ec3.js → alignment-5e6dbd7f.js} +1 -1
- package/dist/esm/{alignment-f6c39ec3.js.map → alignment-5e6dbd7f.js.map} +1 -1
- package/dist/esm/{app-globals-e8a987cd.js → app-globals-25ce2ed6.js} +1 -1
- package/dist/esm/{app-globals-e8a987cd.js.map → app-globals-25ce2ed6.js.map} +1 -1
- package/dist/esm/{aria-current-25867d42.js → aria-current-b3fb717c.js} +1 -1
- package/dist/esm/{aria-current-25867d42.js.map → aria-current-b3fb717c.js.map} +1 -1
- package/dist/esm/{associated.controller-c38365b9.js → associated.controller-d519d4fd.js} +1 -1
- package/dist/esm/{associated.controller-c38365b9.js.map → associated.controller-d519d4fd.js.map} +1 -1
- package/dist/esm/{color-88367b45.js → color-66412a88.js} +1 -1
- package/dist/esm/{color-88367b45.js.map → color-66412a88.js.map} +1 -1
- package/dist/esm/{controller-46ce7055.js → controller-0407a8fc.js} +1 -1
- package/dist/esm/{controller-46ce7055.js.map → controller-0407a8fc.js.map} +1 -1
- package/dist/esm/{controller-bf4c7374.js → controller-04e4f9f3.js} +1 -1
- package/dist/esm/{controller-bf4c7374.js.map → controller-04e4f9f3.js.map} +1 -1
- package/dist/esm/{controller-35349212.js → controller-4418a153.js} +1 -1
- package/dist/esm/{controller-35349212.js.map → controller-4418a153.js.map} +1 -1
- package/dist/esm/{controller-72e997fa.js → controller-4a327464.js} +1 -1
- package/dist/esm/{controller-72e997fa.js.map → controller-4a327464.js.map} +1 -1
- package/dist/esm/{controller-d0bb59bd.js → controller-a2e99cf4.js} +1 -1
- package/dist/esm/{controller-d0bb59bd.js.map → controller-a2e99cf4.js.map} +1 -1
- package/dist/esm/{controller-icon-c4fcbb01.js → controller-icon-5552f237.js} +1 -1
- package/dist/esm/{controller-icon-c4fcbb01.js.map → controller-icon-5552f237.js.map} +1 -1
- package/dist/esm/{custom-class-408bcebb.js → custom-class-503e41f2.js} +1 -1
- package/dist/esm/{custom-class-408bcebb.js.map → custom-class-503e41f2.js.map} +1 -1
- package/dist/esm/{dev.utils-5e2f4fb8.js → dev.utils-aea04f25.js} +1 -1
- package/dist/esm/{dev.utils-5e2f4fb8.js.map → dev.utils-aea04f25.js.map} +1 -1
- package/dist/esm/{devtools-47712aae.js → devtools-151a8a80.js} +1 -1
- package/dist/esm/{devtools-47712aae.js.map → devtools-151a8a80.js.map} +1 -1
- package/dist/esm/{has-closer-24e1c604.js → has-closer-fe2d4781.js} +1 -1
- package/dist/esm/{has-closer-24e1c604.js.map → has-closer-fe2d4781.js.map} +1 -1
- package/dist/esm/{hide-label-d3233b54.js → hide-label-2e0f24b2.js} +1 -1
- package/dist/esm/{hide-label-d3233b54.js.map → hide-label-2e0f24b2.js.map} +1 -1
- package/dist/esm/{i18n-8a2a41a4.js → i18n-3c8ef0a3.js} +1 -1
- package/dist/esm/{i18n-8a2a41a4.js.map → i18n-3c8ef0a3.js.map} +1 -1
- package/dist/esm/{icons-c37d9e06.js → icons-a05b3daf.js} +1 -1
- package/dist/esm/{icons-c37d9e06.js.map → icons-a05b3daf.js.map} +1 -1
- package/dist/esm/{image-source-a3f9dd93.js → image-source-f838da2a.js} +1 -1
- package/dist/esm/{image-source-a3f9dd93.js.map → image-source-f838da2a.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-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-text.entry.js +1 -1
- package/dist/esm/kol-input.entry.js +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-logo.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +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-6c8b047b.js → label-2cb3f0a1.js} +1 -1
- package/dist/esm/{label-6c8b047b.js.map → label-2cb3f0a1.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-6de0da43.js → open-f70592c1.js} +1 -1
- package/dist/esm/{open-6de0da43.js.map → open-f70592c1.js.map} +1 -1
- package/dist/esm/{prop.validators-267b95be.js → prop.validators-7087c1e6.js} +1 -1
- package/dist/esm/{prop.validators-267b95be.js.map → prop.validators-7087c1e6.js.map} +1 -1
- package/dist/esm/{rows-24029f2f.js → rows-9a9a2940.js} +1 -1
- package/dist/esm/{rows-24029f2f.js.map → rows-9a9a2940.js.map} +1 -1
- package/dist/esm/{show-f0fa30a6.js → show-8c3c4865.js} +1 -1
- package/dist/esm/{show-f0fa30a6.js.map → show-8c3c4865.js.map} +1 -1
- package/dist/esm/{suggestions-64d4ab73.js → suggestions-689ff138.js} +1 -1
- package/dist/esm/{suggestions-64d4ab73.js.map → suggestions-689ff138.js.map} +1 -1
- package/dist/esm/{tab-index-acb6cd17.js → tab-index-4f18f869.js} +1 -1
- package/dist/esm/{tab-index-acb6cd17.js.map → tab-index-4f18f869.js.map} +1 -1
- package/dist/esm/{tooltip-align-82f781a7.js → tooltip-align-b8d9da02.js} +1 -1
- package/dist/esm/{tooltip-align-82f781a7.js.map → tooltip-align-b8d9da02.js.map} +1 -1
- package/dist/esm/{validation-eb847346.js → validation-5429f00c.js} +1 -1
- package/dist/esm/{validation-eb847346.js.map → validation-5429f00c.js.map} +1 -1
- package/dist/esm/validation-906faec2.js +4 -0
- package/dist/esm/{validation-75f5ccf7.js.map → validation-906faec2.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-27b2bac3.js → a11y.tipps-ba672890.js} +1 -1
- package/dist/kolibri/align-6791f42e.js +4 -0
- package/dist/kolibri/{alignment-f6c39ec3.js → alignment-5e6dbd7f.js} +1 -1
- package/dist/kolibri/app-globals-25ce2ed6.js +4 -0
- package/dist/kolibri/{aria-current-25867d42.js → aria-current-b3fb717c.js} +1 -1
- package/dist/kolibri/{associated.controller-c38365b9.js → associated.controller-d519d4fd.js} +1 -1
- package/dist/kolibri/{color-88367b45.js → color-66412a88.js} +1 -1
- package/dist/kolibri/{controller-46ce7055.js → controller-0407a8fc.js} +1 -1
- package/dist/kolibri/{controller-bf4c7374.js → controller-04e4f9f3.js} +1 -1
- package/dist/kolibri/{controller-35349212.js → controller-4418a153.js} +1 -1
- package/dist/kolibri/{controller-72e997fa.js → controller-4a327464.js} +1 -1
- package/dist/kolibri/controller-a2e99cf4.js +4 -0
- package/dist/kolibri/{controller-d0bb59bd.js.map → controller-a2e99cf4.js.map} +1 -1
- package/dist/kolibri/controller-icon-5552f237.js +4 -0
- package/dist/kolibri/{custom-class-408bcebb.js → custom-class-503e41f2.js} +1 -1
- package/dist/kolibri/{dev.utils-5e2f4fb8.js → dev.utils-aea04f25.js} +1 -1
- package/dist/kolibri/{dev.utils-5e2f4fb8.js.map → dev.utils-aea04f25.js.map} +1 -1
- package/dist/kolibri/devtools-151a8a80.js +4 -0
- package/dist/kolibri/has-closer-fe2d4781.js +4 -0
- package/dist/kolibri/hide-label-2e0f24b2.js +4 -0
- package/dist/kolibri/{i18n-8a2a41a4.js → i18n-3c8ef0a3.js} +1 -1
- package/dist/kolibri/{icons-c37d9e06.js → icons-a05b3daf.js} +1 -1
- package/dist/kolibri/image-source-f838da2a.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-avatar-wc.entry.js +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-text.entry.js +1 -1
- package/dist/kolibri/kol-input.entry.js +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-logo.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +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-skip-nav.entry.js.map +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-6c8b047b.js → label-2cb3f0a1.js} +1 -1
- package/dist/kolibri/open-f70592c1.js +4 -0
- package/dist/kolibri/{prop.validators-267b95be.js → prop.validators-7087c1e6.js} +1 -1
- package/dist/kolibri/rows-9a9a2940.js +4 -0
- package/dist/kolibri/show-8c3c4865.js +4 -0
- package/dist/kolibri/{suggestions-64d4ab73.js → suggestions-689ff138.js} +1 -1
- package/dist/kolibri/{tab-index-acb6cd17.js → tab-index-4f18f869.js} +1 -1
- package/dist/kolibri/tooltip-align-b8d9da02.js +4 -0
- package/dist/kolibri/{validation-eb847346.js → validation-5429f00c.js} +1 -1
- package/dist/kolibri/validation-906faec2.js +4 -0
- package/package.json +1 -1
- package/dist/cjs/controller-50fb2d61.js +0 -4
- package/dist/cjs/has-closer-479d4658.js +0 -4
- package/dist/cjs/hide-label-624ed0df.js +0 -4
- package/dist/cjs/image-source-cf8ab51e.js +0 -4
- package/dist/cjs/open-aa7908fd.js +0 -4
- package/dist/cjs/rows-691988d0.js +0 -4
- package/dist/cjs/show-9affcee7.js +0 -4
- package/dist/cjs/validation-2b1f8e24.js +0 -4
- package/dist/esm/validation-75f5ccf7.js +0 -4
- package/dist/kolibri/align-403e4c28.js +0 -4
- package/dist/kolibri/app-globals-e8a987cd.js +0 -4
- package/dist/kolibri/controller-d0bb59bd.js +0 -4
- package/dist/kolibri/controller-icon-c4fcbb01.js +0 -4
- package/dist/kolibri/devtools-47712aae.js +0 -4
- package/dist/kolibri/has-closer-24e1c604.js +0 -4
- package/dist/kolibri/hide-label-d3233b54.js +0 -4
- package/dist/kolibri/image-source-a3f9dd93.js +0 -4
- package/dist/kolibri/open-6de0da43.js +0 -4
- package/dist/kolibri/rows-24029f2f.js +0 -4
- package/dist/kolibri/show-f0fa30a6.js +0 -4
- package/dist/kolibri/tooltip-align-82f781a7.js +0 -4
- package/dist/kolibri/validation-75f5ccf7.js +0 -4
- /package/dist/kolibri/{a11y.tipps-27b2bac3.js.map → a11y.tipps-ba672890.js.map} +0 -0
- /package/dist/kolibri/{align-403e4c28.js.map → align-6791f42e.js.map} +0 -0
- /package/dist/kolibri/{alignment-f6c39ec3.js.map → alignment-5e6dbd7f.js.map} +0 -0
- /package/dist/kolibri/{app-globals-e8a987cd.js.map → app-globals-25ce2ed6.js.map} +0 -0
- /package/dist/kolibri/{aria-current-25867d42.js.map → aria-current-b3fb717c.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-c38365b9.js.map → associated.controller-d519d4fd.js.map} +0 -0
- /package/dist/kolibri/{color-88367b45.js.map → color-66412a88.js.map} +0 -0
- /package/dist/kolibri/{controller-46ce7055.js.map → controller-0407a8fc.js.map} +0 -0
- /package/dist/kolibri/{controller-bf4c7374.js.map → controller-04e4f9f3.js.map} +0 -0
- /package/dist/kolibri/{controller-35349212.js.map → controller-4418a153.js.map} +0 -0
- /package/dist/kolibri/{controller-72e997fa.js.map → controller-4a327464.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-c4fcbb01.js.map → controller-icon-5552f237.js.map} +0 -0
- /package/dist/kolibri/{custom-class-408bcebb.js.map → custom-class-503e41f2.js.map} +0 -0
- /package/dist/kolibri/{devtools-47712aae.js.map → devtools-151a8a80.js.map} +0 -0
- /package/dist/kolibri/{has-closer-24e1c604.js.map → has-closer-fe2d4781.js.map} +0 -0
- /package/dist/kolibri/{hide-label-d3233b54.js.map → hide-label-2e0f24b2.js.map} +0 -0
- /package/dist/kolibri/{i18n-8a2a41a4.js.map → i18n-3c8ef0a3.js.map} +0 -0
- /package/dist/kolibri/{icons-c37d9e06.js.map → icons-a05b3daf.js.map} +0 -0
- /package/dist/kolibri/{image-source-a3f9dd93.js.map → image-source-f838da2a.js.map} +0 -0
- /package/dist/kolibri/{label-6c8b047b.js.map → label-2cb3f0a1.js.map} +0 -0
- /package/dist/kolibri/{open-6de0da43.js.map → open-f70592c1.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-267b95be.js.map → prop.validators-7087c1e6.js.map} +0 -0
- /package/dist/kolibri/{rows-24029f2f.js.map → rows-9a9a2940.js.map} +0 -0
- /package/dist/kolibri/{show-f0fa30a6.js.map → show-8c3c4865.js.map} +0 -0
- /package/dist/kolibri/{suggestions-64d4ab73.js.map → suggestions-689ff138.js.map} +0 -0
- /package/dist/kolibri/{tab-index-acb6cd17.js.map → tab-index-4f18f869.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-82f781a7.js.map → tooltip-align-b8d9da02.js.map} +0 -0
- /package/dist/kolibri/{validation-eb847346.js.map → validation-5429f00c.js.map} +0 -0
- /package/dist/kolibri/{validation-75f5ccf7.js.map → validation-906faec2.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-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};
|
|
4
|
+
import{d as t}from"./a11y.tipps-ba672890.js";import{L as e,g as r,a as n,b as i}from"./dev.utils-aea04f25.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-7087c1e6.js";import{a as o}from"./a11y.tipps-ba672890.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-ba672890.js";import{e as a}from"./prop.validators-7087c1e6.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};
|
|
@@ -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-7087c1e6.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{c as o}from"./a11y.tipps-ba672890.js";import{c as t}from"./prop.validators-7087c1e6.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/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const a11y_tipps=require("./a11y.tipps-20bd827e.js"),dev_utils=require("./dev.utils-c7621892.js"),prop_validators=require("./prop.validators-edbcdb8f.js"),searchFormElement=e=>{for(dev_utils.getExperimentalMode()&&(a11y_tipps.devHint("↓ Search form element start."),console.log(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&"KOL-FORM"!==e.tagName;)e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null,dev_utils.getExperimentalMode()&&console.log(e);return dev_utils.getExperimentalMode()&&a11y_tipps.devHint("↑ Search form element finished."),e},propagateResetEventToForm=(e={})=>{var t,o;const r=searchFormElement(e.form);if(r instanceof HTMLElement){const e=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===r.tagName)prop_validators.setEventTarget(e,r),r.dispatchEvent(e);else if("KOL-FORM"===r.tagName){prop_validators.setEventTarget(e,prop_validators.KoliBriDevHelper.querySelector("form",r));const n=r;"function"==typeof(null===(t=n._on)||void 0===t?void 0:t.onReset)&&(null===(o=n._on)||void 0===o||o.onReset(e))}}},propagateSubmitEventToForm=(e={})=>{var t,o;const r=searchFormElement(e.form);if(r instanceof HTMLElement){const e=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:r});if("FORM"===r.tagName)prop_validators.setEventTarget(e,r),r.dispatchEvent(e);else if("KOL-FORM"===r.tagName){prop_validators.setEventTarget(e,prop_validators.KoliBriDevHelper.querySelector("form",r));const n=r;"function"==typeof(null===(t=n._on)||void 0===t?void 0:t.onSubmit)&&(null===(o=n._on)||void 0===o||o.onSubmit(e))}}};exports.propagateResetEventToForm=propagateResetEventToForm,exports.propagateSubmitEventToForm=propagateSubmitEventToForm;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const a11y_tipps=require("./a11y.tipps-20bd827e.js"),prop_validators=require("./prop.validators-edbcdb8f.js"),watchNavLinks=(t,s,a)=>{prop_validators.watchJsonArrayString(s,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),a),a11y_tipps.uiUxHintMillerscheZahl(t,s.state._links.length)};exports.watchNavLinks=watchNavLinks;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as uiUxHintMillerscheZahl}from"./a11y.tipps-27b2bac3.js";import{c as watchJsonArrayString}from"./prop.validators-267b95be.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{a as o}from"./index-536799d5.js";import{r as s}from"./index-23225963.js";import{L as t}from"./dev.utils-5e2f4fb8.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-47712aae.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,w as s,e as i,d as e}from"./prop.validators-267b95be.js";import{v as h}from"./controller-35349212.js";import{a}from"./a11y.tipps-27b2bac3.js";import{I as o}from"./controller-icon-c4fcbb01.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){i(this.component,"_maxLength",t,{min:0})}validatePattern(t){e(this.component,"_pattern",t)}validatePlaceholder(t){e(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateSize(t){i(this.component,"_size",t,{min:1})}validateValue(t){e(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-c37d9e06.js";import{o as s,p as t,w as i}from"./prop.validators-267b95be.js";import{i as e}from"./reuse-b3566e4c.js";import{I as r}from"./controller-35349212.js";const c=(o,t)=>{const s=o;"object"==typeof s&&null!==s&&(e(s.right,1)&&(s.right={icon:s.right}),e(s.left,1)&&(s.left={icon:s.left}),t.set("_icons",s))};class n extends r{constructor(o,t,e){super(o,t,e),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&&(e(t.left,1)||o(t.left)||e(t.right,1)||o(t.right))),new Set(["KoliBriHorizontalIcon"]),n,{hooks:{beforePatch:c},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{i as t,e as o,r as s,g as e,L as r,b as a,f as i,K as l}from"./dev.utils-5e2f4fb8.js";import{n,q as p,k as c,t as f,u as L,p as m,v as d}from"./prop.validators-267b95be.js";import"./reuse-b3566e4c.js";import"./a11y.tipps-27b2bac3.js";import"./index-3822b0c5.js";function b(t,e){try{Object.defineProperty(l,t,{get:function(){return e}})}catch(e){r.debug(`KoliBri property ${t} is already bind.`)}}const u=(t,e)=>r.debug(`${t} ${e?"":"not "}activated`),v=()=>{if(t(),o()){s(),b("a11yColorContrast",p),b("querySelector",c),b("querySelectorAll",f),b("querySelectorColors",L),b("utils",(function(){return n})),b("parseJson",m),b("stringifyJson",d);const t=e().body,r=e().createElement("svg");if(r.setAttribute("aria-label","KoliBri-DevTools"),r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("role","toolbar"),r.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),r.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(r),u("Development mode",o()),u("Experimental mode",a()),u("Color contrast analysis",i()),i()){const o=setTimeout((()=>{clearTimeout(o),setInterval((()=>{n.queryHtmlElementColors(e().createElement("div"),p(t),!1,!1)}),1e4)}),2500)}}};export{v as initialize};
|
|
@@ -1,4 +0,0 @@
|
|
|
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};
|
|
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
|