@public-ui/components 1.7.27-rc.1 → 1.7.28
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-bd83000d.js → a11y.tipps-da17348b.js} +1 -1
- package/dist/cjs/{a11y.tipps-bd83000d.js.map → a11y.tipps-da17348b.js.map} +1 -1
- package/dist/cjs/align-a47430ca.js +4 -0
- package/dist/cjs/{align-08a9bfb6.js.map → align-a47430ca.js.map} +1 -1
- package/dist/cjs/{alignment-f1bfde0a.js → alignment-079061f1.js} +1 -1
- package/dist/cjs/{alignment-f1bfde0a.js.map → alignment-079061f1.js.map} +1 -1
- package/dist/cjs/{app-globals-78aea1e3.js → app-globals-fa60c0b9.js} +1 -1
- package/dist/cjs/{app-globals-78aea1e3.js.map → app-globals-fa60c0b9.js.map} +1 -1
- package/dist/cjs/aria-current-62f09270.js +4 -0
- package/dist/cjs/{aria-current-1f4cd657.js.map → aria-current-62f09270.js.map} +1 -1
- package/dist/cjs/{associated.controller-ae3777d5.js → associated.controller-96b8bf67.js} +1 -1
- package/dist/cjs/{associated.controller-ae3777d5.js.map → associated.controller-96b8bf67.js.map} +1 -1
- package/dist/cjs/{color-3c42f310.js → color-5f56fd89.js} +1 -1
- package/dist/cjs/{color-3c42f310.js.map → color-5f56fd89.js.map} +1 -1
- package/dist/cjs/{controller-617edcd8.js → controller-0c4181df.js} +1 -1
- package/dist/cjs/{controller-617edcd8.js.map → controller-0c4181df.js.map} +1 -1
- package/dist/cjs/{controller-f2c8cf1e.js → controller-34ceb780.js} +1 -1
- package/dist/cjs/{controller-f2c8cf1e.js.map → controller-34ceb780.js.map} +1 -1
- package/dist/cjs/{controller-2dda9e9a.js → controller-bd9d8fc6.js} +1 -1
- package/dist/cjs/{controller-2dda9e9a.js.map → controller-bd9d8fc6.js.map} +1 -1
- package/dist/cjs/{controller-041cf7cc.js → controller-c4506fd0.js} +1 -1
- package/dist/cjs/{controller-041cf7cc.js.map → controller-c4506fd0.js.map} +1 -1
- package/dist/cjs/{controller-3e3b90c5.js → controller-d09529c3.js} +1 -1
- package/dist/cjs/{controller-3e3b90c5.js.map → controller-d09529c3.js.map} +1 -1
- package/dist/cjs/{controller-icon-95274f85.js → controller-icon-88e950d8.js} +1 -1
- package/dist/cjs/{controller-icon-95274f85.js.map → controller-icon-88e950d8.js.map} +1 -1
- package/dist/cjs/{custom-class-3e95b77b.js → custom-class-00945cdb.js} +1 -1
- package/dist/cjs/{custom-class-3e95b77b.js.map → custom-class-00945cdb.js.map} +1 -1
- package/dist/cjs/{dev.utils-08aad31e.js → dev.utils-ace0722c.js} +1 -1
- package/dist/cjs/{dev.utils-08aad31e.js.map → dev.utils-ace0722c.js.map} +1 -1
- package/dist/cjs/{devtools-8710cd3e.js → devtools-6bfdf3bf.js} +1 -1
- package/dist/cjs/{devtools-8710cd3e.js.map → devtools-6bfdf3bf.js.map} +1 -1
- package/dist/cjs/floating-ui.dom.esm-5e490b02.js +4 -0
- package/dist/cjs/floating-ui.dom.esm-5e490b02.js.map +1 -0
- package/dist/cjs/{form-field-msg-8a335648.js → form-field-msg-33ee1fa5.js} +1 -1
- package/dist/cjs/{form-field-msg-8a335648.js.map → form-field-msg-33ee1fa5.js.map} +1 -1
- package/dist/cjs/has-closer-768c2906.js +4 -0
- package/dist/cjs/{has-closer-0bbbbdc3.js.map → has-closer-768c2906.js.map} +1 -1
- package/dist/cjs/hide-label-c3e36bd3.js +4 -0
- package/dist/cjs/{hide-label-b642626a.js.map → hide-label-c3e36bd3.js.map} +1 -1
- package/dist/cjs/{i18n-b7c0fb66.js → i18n-af04d8de.js} +1 -1
- package/dist/cjs/{i18n-b7c0fb66.js.map → i18n-af04d8de.js.map} +1 -1
- package/dist/cjs/i18n-e11a41ec.js +4 -0
- package/dist/cjs/i18n-e11a41ec.js.map +1 -0
- package/dist/cjs/{icons-b29e4021.js → icons-a31fd756.js} +1 -1
- package/dist/cjs/{icons-b29e4021.js.map → icons-a31fd756.js.map} +1 -1
- package/dist/cjs/image-source-9377cc4d.js +4 -0
- package/dist/cjs/{image-source-c5061a74.js.map → image-source-9377cc4d.js.map} +1 -1
- package/dist/cjs/index-38e3e08c.js +4 -0
- package/dist/cjs/index-38e3e08c.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link-text-switch.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.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-heading-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-icofont.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-indented-text.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-link.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-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-span-wc.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-table.cjs.entry.js.map +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-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/kolibri.cjs.js.map +1 -1
- package/dist/cjs/{label-a71640e0.js → label-b473f97e.js} +1 -1
- package/dist/cjs/{label-a71640e0.js.map → label-b473f97e.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-d9e9e646.js +4 -0
- package/dist/cjs/{open-e52d0aec.js.map → open-d9e9e646.js.map} +1 -1
- package/dist/cjs/{prop.validators-a62df469.js → prop.validators-6b61b015.js} +1 -1
- package/dist/cjs/{prop.validators-a62df469.js.map → prop.validators-6b61b015.js.map} +1 -1
- package/dist/cjs/rows-aecda80e.js +4 -0
- package/dist/cjs/{rows-ddcba5e2.js.map → rows-aecda80e.js.map} +1 -1
- package/dist/cjs/show-42b109b3.js +4 -0
- package/dist/cjs/{show-99cfe189.js.map → show-42b109b3.js.map} +1 -1
- package/dist/cjs/{suggestions-7b6b1d3a.js → suggestions-e306fabc.js} +1 -1
- package/dist/cjs/{suggestions-7b6b1d3a.js.map → suggestions-e306fabc.js.map} +1 -1
- package/dist/cjs/{tab-index-2babc514.js → tab-index-3fb9a589.js} +1 -1
- package/dist/cjs/{tab-index-2babc514.js.map → tab-index-3fb9a589.js.map} +1 -1
- package/dist/cjs/{tooltip-align-5937643d.js → tooltip-align-7e474b75.js} +1 -1
- package/dist/cjs/{tooltip-align-5937643d.js.map → tooltip-align-7e474b75.js.map} +1 -1
- package/dist/cjs/{unique-nav-labels-c683eff7.js → unique-nav-labels-81d3736a.js} +1 -1
- package/dist/cjs/{unique-nav-labels-c683eff7.js.map → unique-nav-labels-81d3736a.js.map} +1 -1
- package/dist/cjs/{validation-b6d66b85.js → validation-72fab4d3.js} +1 -1
- package/dist/cjs/{validation-b6d66b85.js.map → validation-72fab4d3.js.map} +1 -1
- package/dist/cjs/{validation-0190c747.js → validation-e67f5bb0.js} +1 -1
- package/dist/cjs/{validation-0190c747.js.map → validation-e67f5bb0.js.map} +1 -1
- package/dist/components/floating-ui.dom.esm.js +1 -1
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n.js.map +1 -1
- package/dist/components/kol-table.js +1 -1
- package/dist/components/kol-table.js.map +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/esm/{a11y.tipps-e332438a.js → a11y.tipps-820f694a.js} +1 -1
- package/dist/esm/{a11y.tipps-e332438a.js.map → a11y.tipps-820f694a.js.map} +1 -1
- package/dist/esm/{align-bb4edc37.js → align-fcaeb921.js} +1 -1
- package/dist/esm/{align-bb4edc37.js.map → align-fcaeb921.js.map} +1 -1
- package/dist/esm/{alignment-ecc4b4ec.js → alignment-93e3f5af.js} +1 -1
- package/dist/esm/{alignment-ecc4b4ec.js.map → alignment-93e3f5af.js.map} +1 -1
- package/dist/esm/app-globals-f4939b97.js +4 -0
- package/dist/esm/{app-globals-e33f4420.js.map → app-globals-f4939b97.js.map} +1 -1
- package/dist/esm/{aria-current-2ed87dc9.js → aria-current-739987f0.js} +1 -1
- package/dist/esm/{aria-current-2ed87dc9.js.map → aria-current-739987f0.js.map} +1 -1
- package/dist/esm/{associated.controller-b6ece4f1.js → associated.controller-b1aa7085.js} +1 -1
- package/dist/esm/{associated.controller-b6ece4f1.js.map → associated.controller-b1aa7085.js.map} +1 -1
- package/dist/esm/{color-1a30fed5.js → color-6bdc8a2b.js} +1 -1
- package/dist/esm/{color-1a30fed5.js.map → color-6bdc8a2b.js.map} +1 -1
- package/dist/esm/{controller-4d21cab9.js → controller-1e7e7899.js} +1 -1
- package/dist/esm/{controller-4d21cab9.js.map → controller-1e7e7899.js.map} +1 -1
- package/dist/esm/{controller-4266c045.js → controller-a0fe3bd7.js} +1 -1
- package/dist/esm/{controller-4266c045.js.map → controller-a0fe3bd7.js.map} +1 -1
- package/dist/esm/{controller-7b3e4fa3.js → controller-bb621da8.js} +1 -1
- package/dist/esm/{controller-7b3e4fa3.js.map → controller-bb621da8.js.map} +1 -1
- package/dist/esm/{controller-d2795db6.js → controller-c5e9b0d8.js} +1 -1
- package/dist/esm/{controller-d2795db6.js.map → controller-c5e9b0d8.js.map} +1 -1
- package/dist/esm/{controller-d2c1b68f.js → controller-d2f01f7e.js} +1 -1
- package/dist/esm/{controller-d2c1b68f.js.map → controller-d2f01f7e.js.map} +1 -1
- package/dist/esm/{controller-icon-1624f69b.js → controller-icon-a820c1cc.js} +1 -1
- package/dist/esm/{controller-icon-1624f69b.js.map → controller-icon-a820c1cc.js.map} +1 -1
- package/dist/esm/{custom-class-d4c4f606.js → custom-class-ce4da56e.js} +1 -1
- package/dist/esm/{custom-class-d4c4f606.js.map → custom-class-ce4da56e.js.map} +1 -1
- package/dist/esm/{dev.utils-5695f47b.js → dev.utils-d7b31a16.js} +1 -1
- package/dist/esm/{dev.utils-5695f47b.js.map → dev.utils-d7b31a16.js.map} +1 -1
- package/dist/esm/{devtools-fd0635fa.js → devtools-c2748a9a.js} +1 -1
- package/dist/esm/{devtools-fd0635fa.js.map → devtools-c2748a9a.js.map} +1 -1
- package/dist/esm/{floating-ui.dom.esm-a164d81f.js → floating-ui.dom.esm-02658804.js} +1 -1
- package/dist/esm/floating-ui.dom.esm-02658804.js.map +1 -0
- package/dist/esm/{form-field-msg-8df3c11d.js → form-field-msg-0d4ecff7.js} +1 -1
- package/dist/esm/{form-field-msg-8df3c11d.js.map → form-field-msg-0d4ecff7.js.map} +1 -1
- package/dist/esm/{has-closer-6d27d475.js → has-closer-b91dd58b.js} +1 -1
- package/dist/esm/{has-closer-6d27d475.js.map → has-closer-b91dd58b.js.map} +1 -1
- package/dist/esm/{hide-label-1c9b357b.js → hide-label-ce15780c.js} +1 -1
- package/dist/esm/{hide-label-1c9b357b.js.map → hide-label-ce15780c.js.map} +1 -1
- package/dist/esm/i18n-0ed5bf87.js +4 -0
- package/dist/esm/i18n-0ed5bf87.js.map +1 -0
- package/dist/esm/{i18n-d1be0413.js → i18n-4b5a2d95.js} +1 -1
- package/dist/esm/{i18n-d1be0413.js.map → i18n-4b5a2d95.js.map} +1 -1
- package/dist/esm/{icons-95eaa4bd.js → icons-027c2ffa.js} +1 -1
- package/dist/esm/{icons-95eaa4bd.js.map → icons-027c2ffa.js.map} +1 -1
- package/dist/esm/{image-source-03215fd7.js → image-source-6d747b0a.js} +1 -1
- package/dist/esm/{image-source-03215fd7.js.map → image-source-6d747b0a.js.map} +1 -1
- package/dist/esm/index-c12c0322.js +4 -0
- package/dist/esm/index-c12c0322.js.map +1 -0
- 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.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-avatar-wc.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-group-wc.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js +1 -1
- package/dist/esm/kol-button-link-text-switch.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-wc.entry.js +1 -1
- package/dist/esm/kol-button.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-heading-wc.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
- package/dist/esm/kol-icon-icofont.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-indented-text.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-link.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-wc.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-span-wc.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-table.entry.js.map +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-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/kolibri.js.map +1 -1
- package/dist/esm/{label-42d9916e.js → label-2d3bb825.js} +1 -1
- package/dist/esm/{label-42d9916e.js.map → label-2d3bb825.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-224de13e.js → open-b0a78c9d.js} +1 -1
- package/dist/esm/{open-224de13e.js.map → open-b0a78c9d.js.map} +1 -1
- package/dist/esm/{prop.validators-d9c74550.js → prop.validators-70ea0a09.js} +1 -1
- package/dist/esm/{prop.validators-d9c74550.js.map → prop.validators-70ea0a09.js.map} +1 -1
- package/dist/esm/{rows-35f56f3c.js → rows-9b17f6c6.js} +1 -1
- package/dist/esm/{rows-35f56f3c.js.map → rows-9b17f6c6.js.map} +1 -1
- package/dist/esm/{show-8ff2b8d2.js → show-d3581b14.js} +1 -1
- package/dist/esm/{show-8ff2b8d2.js.map → show-d3581b14.js.map} +1 -1
- package/dist/esm/{suggestions-2be2424d.js → suggestions-ab6cf917.js} +1 -1
- package/dist/esm/{suggestions-2be2424d.js.map → suggestions-ab6cf917.js.map} +1 -1
- package/dist/esm/{tab-index-504856ce.js → tab-index-ec50f804.js} +1 -1
- package/dist/esm/{tab-index-504856ce.js.map → tab-index-ec50f804.js.map} +1 -1
- package/dist/esm/{tooltip-align-3a0a2e98.js → tooltip-align-f1ced93d.js} +1 -1
- package/dist/esm/{tooltip-align-3a0a2e98.js.map → tooltip-align-f1ced93d.js.map} +1 -1
- package/dist/esm/{unique-nav-labels-00781eae.js → unique-nav-labels-282a0e99.js} +1 -1
- package/dist/esm/{unique-nav-labels-00781eae.js.map → unique-nav-labels-282a0e99.js.map} +1 -1
- package/dist/esm/{validation-cbcb8c38.js → validation-cbb62afa.js} +1 -1
- package/dist/esm/{validation-cbcb8c38.js.map → validation-cbb62afa.js.map} +1 -1
- package/dist/esm/validation-f707996c.js +4 -0
- package/dist/esm/{validation-9f1d1a8b.js.map → validation-f707996c.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-e332438a.js → a11y.tipps-820f694a.js} +1 -1
- package/dist/kolibri/align-fcaeb921.js +4 -0
- package/dist/kolibri/alignment-93e3f5af.js +4 -0
- package/dist/kolibri/app-globals-f4939b97.js +4 -0
- package/dist/kolibri/aria-current-739987f0.js +4 -0
- package/dist/kolibri/{associated.controller-b6ece4f1.js → associated.controller-b1aa7085.js} +1 -1
- package/dist/kolibri/{color-1a30fed5.js → color-6bdc8a2b.js} +1 -1
- package/dist/kolibri/{controller-4d21cab9.js → controller-1e7e7899.js} +1 -1
- package/dist/kolibri/{controller-4266c045.js → controller-a0fe3bd7.js} +1 -1
- package/dist/kolibri/{controller-7b3e4fa3.js → controller-bb621da8.js} +1 -1
- package/dist/kolibri/{controller-d2795db6.js → controller-c5e9b0d8.js} +1 -1
- package/dist/kolibri/{controller-d2c1b68f.js → controller-d2f01f7e.js} +1 -1
- package/dist/kolibri/controller-icon-a820c1cc.js +4 -0
- package/dist/kolibri/{custom-class-d4c4f606.js → custom-class-ce4da56e.js} +1 -1
- package/dist/kolibri/{dev.utils-5695f47b.js → dev.utils-d7b31a16.js} +1 -1
- package/dist/kolibri/{devtools-fd0635fa.js → devtools-c2748a9a.js} +1 -1
- package/dist/kolibri/floating-ui.dom.esm-02658804.js +4 -0
- package/dist/kolibri/floating-ui.dom.esm-02658804.js.map +1 -0
- package/dist/kolibri/form-field-msg-0d4ecff7.js +4 -0
- package/dist/kolibri/has-closer-b91dd58b.js +4 -0
- package/dist/kolibri/{has-closer-6d27d475.js.map → has-closer-b91dd58b.js.map} +1 -1
- package/dist/kolibri/hide-label-ce15780c.js +4 -0
- package/dist/kolibri/i18n-0ed5bf87.js +4 -0
- package/dist/kolibri/i18n-0ed5bf87.js.map +1 -0
- package/dist/kolibri/{i18n-d1be0413.js → i18n-4b5a2d95.js} +1 -1
- package/dist/kolibri/icons-027c2ffa.js +4 -0
- package/dist/kolibri/image-source-6d747b0a.js +4 -0
- package/dist/kolibri/index-c12c0322.js +5 -0
- package/dist/kolibri/index-c12c0322.js.map +1 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
- package/dist/kolibri/kol-avatar.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-button-group-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js +1 -1
- package/dist/kolibri/kol-button-link-text-switch.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button.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-heading-wc.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
- package/dist/kolibri/kol-icon-icofont.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-indented-text.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-checkbox.entry.js.map +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-link.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-popover-wc.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-span-wc.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-symbol.entry.js.map +1 -1
- package/dist/kolibri/kol-table.entry.js +1 -1
- package/dist/kolibri/kol-table.entry.js.map +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-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/kolibri.esm.js.map +1 -1
- package/dist/kolibri/label-2d3bb825.js +4 -0
- package/dist/kolibri/open-b0a78c9d.js +4 -0
- package/dist/kolibri/{open-224de13e.js.map → open-b0a78c9d.js.map} +1 -1
- package/dist/kolibri/{prop.validators-d9c74550.js → prop.validators-70ea0a09.js} +1 -1
- package/dist/kolibri/rows-9b17f6c6.js +4 -0
- package/dist/kolibri/show-d3581b14.js +4 -0
- package/dist/kolibri/{show-8ff2b8d2.js.map → show-d3581b14.js.map} +1 -1
- package/dist/kolibri/{suggestions-2be2424d.js → suggestions-ab6cf917.js} +1 -1
- package/dist/kolibri/tab-index-ec50f804.js +4 -0
- package/dist/kolibri/{tab-index-504856ce.js.map → tab-index-ec50f804.js.map} +1 -1
- package/dist/kolibri/tooltip-align-f1ced93d.js +4 -0
- package/dist/kolibri/{unique-nav-labels-00781eae.js → unique-nav-labels-282a0e99.js} +1 -1
- package/dist/kolibri/validation-cbb62afa.js +4 -0
- package/dist/kolibri/validation-f707996c.js +4 -0
- package/dist/loader/index.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/dist/types/utils/prop.validators.d.ts +7 -7
- package/dist/types/utils/reuse.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/align-08a9bfb6.js +0 -4
- package/dist/cjs/aria-current-1f4cd657.js +0 -4
- package/dist/cjs/floating-ui.dom.esm-3b55318d.js +0 -4
- package/dist/cjs/floating-ui.dom.esm-3b55318d.js.map +0 -1
- package/dist/cjs/has-closer-0bbbbdc3.js +0 -4
- package/dist/cjs/hide-label-b642626a.js +0 -4
- package/dist/cjs/i18n-46b3e5f2.js +0 -4
- package/dist/cjs/i18n-46b3e5f2.js.map +0 -1
- package/dist/cjs/image-source-c5061a74.js +0 -4
- package/dist/cjs/index-f4850566.js +0 -4
- package/dist/cjs/index-f4850566.js.map +0 -1
- package/dist/cjs/open-e52d0aec.js +0 -4
- package/dist/cjs/rows-ddcba5e2.js +0 -4
- package/dist/cjs/show-99cfe189.js +0 -4
- package/dist/esm/app-globals-e33f4420.js +0 -4
- package/dist/esm/floating-ui.dom.esm-a164d81f.js.map +0 -1
- package/dist/esm/i18n-268d2aa6.js +0 -4
- package/dist/esm/i18n-268d2aa6.js.map +0 -1
- package/dist/esm/index-4a385929.js +0 -4
- package/dist/esm/index-4a385929.js.map +0 -1
- package/dist/esm/validation-9f1d1a8b.js +0 -4
- package/dist/kolibri/align-bb4edc37.js +0 -4
- package/dist/kolibri/alignment-ecc4b4ec.js +0 -4
- package/dist/kolibri/app-globals-e33f4420.js +0 -4
- package/dist/kolibri/aria-current-2ed87dc9.js +0 -4
- package/dist/kolibri/controller-icon-1624f69b.js +0 -4
- package/dist/kolibri/floating-ui.dom.esm-a164d81f.js +0 -4
- package/dist/kolibri/floating-ui.dom.esm-a164d81f.js.map +0 -1
- package/dist/kolibri/form-field-msg-8df3c11d.js +0 -4
- package/dist/kolibri/has-closer-6d27d475.js +0 -4
- package/dist/kolibri/hide-label-1c9b357b.js +0 -4
- package/dist/kolibri/i18n-268d2aa6.js +0 -4
- package/dist/kolibri/i18n-268d2aa6.js.map +0 -1
- package/dist/kolibri/icons-95eaa4bd.js +0 -4
- package/dist/kolibri/image-source-03215fd7.js +0 -4
- package/dist/kolibri/index-4a385929.js +0 -5
- package/dist/kolibri/index-4a385929.js.map +0 -1
- package/dist/kolibri/label-42d9916e.js +0 -4
- package/dist/kolibri/open-224de13e.js +0 -4
- package/dist/kolibri/rows-35f56f3c.js +0 -4
- package/dist/kolibri/show-8ff2b8d2.js +0 -4
- package/dist/kolibri/tab-index-504856ce.js +0 -4
- package/dist/kolibri/tooltip-align-3a0a2e98.js +0 -4
- package/dist/kolibri/validation-9f1d1a8b.js +0 -4
- package/dist/kolibri/validation-cbcb8c38.js +0 -4
- /package/dist/kolibri/{a11y.tipps-e332438a.js.map → a11y.tipps-820f694a.js.map} +0 -0
- /package/dist/kolibri/{align-bb4edc37.js.map → align-fcaeb921.js.map} +0 -0
- /package/dist/kolibri/{alignment-ecc4b4ec.js.map → alignment-93e3f5af.js.map} +0 -0
- /package/dist/kolibri/{app-globals-e33f4420.js.map → app-globals-f4939b97.js.map} +0 -0
- /package/dist/kolibri/{aria-current-2ed87dc9.js.map → aria-current-739987f0.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-b6ece4f1.js.map → associated.controller-b1aa7085.js.map} +0 -0
- /package/dist/kolibri/{color-1a30fed5.js.map → color-6bdc8a2b.js.map} +0 -0
- /package/dist/kolibri/{controller-4d21cab9.js.map → controller-1e7e7899.js.map} +0 -0
- /package/dist/kolibri/{controller-4266c045.js.map → controller-a0fe3bd7.js.map} +0 -0
- /package/dist/kolibri/{controller-7b3e4fa3.js.map → controller-bb621da8.js.map} +0 -0
- /package/dist/kolibri/{controller-d2795db6.js.map → controller-c5e9b0d8.js.map} +0 -0
- /package/dist/kolibri/{controller-d2c1b68f.js.map → controller-d2f01f7e.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-1624f69b.js.map → controller-icon-a820c1cc.js.map} +0 -0
- /package/dist/kolibri/{custom-class-d4c4f606.js.map → custom-class-ce4da56e.js.map} +0 -0
- /package/dist/kolibri/{dev.utils-5695f47b.js.map → dev.utils-d7b31a16.js.map} +0 -0
- /package/dist/kolibri/{devtools-fd0635fa.js.map → devtools-c2748a9a.js.map} +0 -0
- /package/dist/kolibri/{form-field-msg-8df3c11d.js.map → form-field-msg-0d4ecff7.js.map} +0 -0
- /package/dist/kolibri/{hide-label-1c9b357b.js.map → hide-label-ce15780c.js.map} +0 -0
- /package/dist/kolibri/{i18n-d1be0413.js.map → i18n-4b5a2d95.js.map} +0 -0
- /package/dist/kolibri/{icons-95eaa4bd.js.map → icons-027c2ffa.js.map} +0 -0
- /package/dist/kolibri/{image-source-03215fd7.js.map → image-source-6d747b0a.js.map} +0 -0
- /package/dist/kolibri/{label-42d9916e.js.map → label-2d3bb825.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-d9c74550.js.map → prop.validators-70ea0a09.js.map} +0 -0
- /package/dist/kolibri/{rows-35f56f3c.js.map → rows-9b17f6c6.js.map} +0 -0
- /package/dist/kolibri/{suggestions-2be2424d.js.map → suggestions-ab6cf917.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-3a0a2e98.js.map → tooltip-align-f1ced93d.js.map} +0 -0
- /package/dist/kolibri/{unique-nav-labels-00781eae.js.map → unique-nav-labels-282a0e99.js.map} +0 -0
- /package/dist/kolibri/{validation-cbcb8c38.js.map → validation-cbb62afa.js.map} +0 -0
- /package/dist/kolibri/{validation-9f1d1a8b.js.map → validation-f707996c.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"unique-nav-labels-
|
|
1
|
+
{"file":"unique-nav-labels-282a0e99.js","mappings":";;;;;AAOA,MAAM,aAAa,GAAgB,IAAI,GAAG,EAAE,CAAC;SAE7B,WAAW,CAAC,SAAiB;IAC5C,IAAI,aAAa,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;QACjC,GAAG,CAAC,KAAK,CAAC,kDAAkD,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;KAC9F;SAAM;QACN,aAAa,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;KAC7B;AACF,CAAC;SACe,cAAc,CAAC,SAAiB;IAC/C,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AACjC;;;;","names":[],"sources":["src/utils/unique-nav-labels.ts"],"sourcesContent":["import { Log } from './dev.utils';\n\n/**\n * There can be several navigations on one page (e.g. main navigation, subnavigation, breadcrumbs, pagination).\n * The navigations must be clearly named for accessibility reasons. To ensure this, all Aria labels are\n * stored in a set and checked for uniqueness.\n */\nconst UNIQUE_LABELS: Set<string> = new Set();\n\nexport function addNavLabel(ariaLabel: string): void {\n\tif (UNIQUE_LABELS.has(ariaLabel)) {\n\t\tLog.error(`There already is a nav element with the label \"${ariaLabel}\"`, { forceLog: true });\n\t} else {\n\t\tUNIQUE_LABELS.add(ariaLabel);\n\t}\n}\nexport function removeNavLabel(ariaLabel: string): void {\n\tUNIQUE_LABELS.delete(ariaLabel);\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{w as watchValidator}from"./prop.validators-
|
|
4
|
+
import{w as watchValidator}from"./prop.validators-70ea0a09.js";const watchHeadingLevel=(e,a)=>{watchValidator(e,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{watchHeadingLevel as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"validation-
|
|
1
|
+
{"file":"validation-cbb62afa.js","mappings":";;;;;MAIa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAc;IACrF,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK;QACL,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,IAAI,KAAK,IAAI,KAAK,IAAI,CAAC,CAAC;KAC7D,EACD,IAAI,GAAG,CAAC,CAAC,8BAA8B,CAAC,CAAC,EACzC,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: number): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value): boolean => {\n\t\t\treturn typeof value === 'number' && 0 <= value && value <= 6;\n\t\t},\n\t\tnew Set(['Number {0, 1, 2, 3, 4, 5, 6}']),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\n\t\t},\n\t);\n};\n"],"version":3}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{c as uiUxHintMillerscheZahl}from"./a11y.tipps-820f694a.js";import{c as watchJsonArrayString}from"./prop.validators-70ea0a09.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 +1 @@
|
|
|
1
|
-
{"file":"validation-
|
|
1
|
+
{"file":"validation-f707996c.js","mappings":";;;;;;MAUa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { Stringified } from '../../types/common';\nimport { HrefProp } from '../../types/props/href';\nimport { LabelProp } from '../../types/props/label';\nimport { uiUxHintMillerscheZahl } from '../../utils/a11y.tipps';\nimport { watchJsonArrayString } from '../../utils/prop.validators';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>,\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue,\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{L as e}from"./dev.utils-
|
|
4
|
+
import{L as e}from"./dev.utils-d7b31a16.js";const i=new Set,o=(n,o)=>{(!1===i.has(n)||(null==o?void 0:o.force))&&(i.add(n),e.debug([n].concat((null==o?void 0:o.details)||[]),{classifier:"✋ a11y",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #09f"}))},n=new Set,r=(i,o)=>{(!1===n.has(i)||(null==o?void 0:o.force))&&(n.add(i),e.warn([i].concat((null==o?void 0:o.details)||[]),{classifier:"🔥 deprecated",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #f00"}))},l=new Set,t=(i,n)=>{(!1===l.has(i)||(null==n?void 0:n.force))&&(l.add(i),e.debug([i].concat((null==n?void 0:n.details)||[]),{classifier:"💻 dev",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #f09"}))},s=(i,n)=>{(!1===l.has(i)||(null==n?void 0:n.force))&&(l.add(i),e.warn([i].concat((null==n?void 0:n.details)||[]),{classifier:"⚠️ dev",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #f09"}))},d=new Set,a=(i,n=!1,o)=>{(!1===d.has(i)||(null==o?void 0:o.force))&&(d.add(i),i+=!0===n?" ✅":"",e.debug([i].concat((null==o?void 0:o.details)||[]),{classifier:"🌟 feature",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #309"}))};t("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const c=new Set,v=(i,n)=>{(!1===c.has(i)||(null==n?void 0:n.force))&&(c.add(i),e.debug([i].concat((null==n?void 0:n.details)||[]),{classifier:"📑 ui/ux",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #060;"}))},u=()=>{o('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},f=e=>{"string"==typeof e&&""!==e||o("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},b=(e,i=8)=>{i>7&&v(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)};export{o as a,f as b,b as c,t as d,r as e,a as f,u as g,s as h,v as u};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{w as t}from"./prop.validators-70ea0a09.js";const o=new Set(['"left", "right"']),e=new Set(['"bottom", "top"']),a=new Set([...o,...e]),s=(o,e,p)=>{t(o,e,(t=>"bottom"===t||"left"===t||"right"===t||"top"===t),a,p,{defaultValue:"top"})};export{s as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{a as o}from"./index-c12c0322.js";import{s as t,j as s}from"./index-14005aa7.js";import{L as a}from"./dev.utils-d7b31a16.js";o((o=>(o.shadowRoot instanceof ShadowRoot&&t(o,s(o)),"default"))),import("./devtools-c2748a9a.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{a.error(o)}));const e=()=>{},i=e,n=i;export{n as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{d as a,w as t}from"./prop.validators-70ea0a09.js";const o=(t,e)=>{a(t,"_role",e)},e=(t,e)=>{a(t,"_ariaControls",e)},s=(a,e,o)=>{t(a,e,(a=>"date"===a||"location"===a||"page"===a||"step"===a||"time"===a||!0===a||!1===a),new Set(["String {data, location, page, step, time}","boolean"]),o)},r=(a,t)=>{s(a,"_ariaCurrent",t)},n=(a,t)=>{s(a,"_listenAriaCurrent",t)};export{r as a,o as b,n as c,e as v};
|
package/dist/kolibri/{associated.controller-b6ece4f1.js → associated.controller-b1aa7085.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./prop.validators-
|
|
4
|
+
import{d as t}from"./prop.validators-70ea0a09.js";import{d as e,h as i}from"./a11y.tipps-820f694a.js";import{a as s}from"./dev.utils-d7b31a16.js";const a=(e,s,i)=>{t(e,"_name",s,i)},o=t=>"KOL-BUTTON"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,i,a){var r,n,l;if(this.experimentalMode=s(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(a),this.type=i,this.experimentalMode&&o(null===(r=this.host)||void 0===r?void 0:r.tagName)){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("aria-hidden","true"),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":s.files=t;break;case"select":s.querySelectorAll("option").forEach((t=>{s.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),s.appendChild(t)}}));break;default:"string"==typeof e?(s.setAttribute("value",e),s.value=e):(s.removeAttribute("value"),s.value="")}}validateName(t){a(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&e("Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,b as r,w as a}from"./prop.validators-
|
|
4
|
+
import{r as e,b as r,w as a}from"./prop.validators-70ea0a09.js";import{a as t}from"./a11y.tipps-820f694a.js";import{L as n}from"./dev.utils-d7b31a16.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},o=l,i=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,t=[],n=1;if("string"==typeof e)if(e=e.toLowerCase(),o[e])t=o[e].slice(),a="rgb";else if("transparent"===e)n=0,a="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var l=e.slice(1);n=1,(g=l.length)<=4?(t=[parseInt(l[0]+l[0],16),parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16)],4===g&&(n=parseInt(l[3]+l[3],16)/255)):(t=[parseInt(l[0]+l[1],16),parseInt(l[2]+l[3],16),parseInt(l[4]+l[5],16)],8===g&&(n=parseInt(l[6]+l[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var i=r[1],u="rgb"===i;a=l=i.replace(/a$/,"");var g="cmyk"===l?4:"gray"===l?1:3;t=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===l?255*parseFloat(e)/100:parseFloat(e);if("h"===l[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),i===l&&t.push(1),n=u||void 0===t[g]?1:t[g],t=t.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(t=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(t=[e[0],e[1],e[2]],a="rgb",n=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",t=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",t=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),n=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(n/=100)):(a="rgb",t=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:t,alpha:n}}var g=i,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=f,p=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},y=new Map,b=(e,r,a,o=1)=>{if(y.has(e))return y.get(e);const t=h(e,r,a,o);return y.set(e,t),t},v=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=c(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=c(r.background),t="string"==typeof r.foreground?c(r.foreground):o);const n=p(o[0],o[1],o[2]),l=b([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},m=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function k(e){return m.test(e)}function w(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if($(r))return{type:"ColorPair",value:r};if(C(r))return{type:"DeprecatedColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function M(e){if(e)if("string"==typeof e){if(k(e))return{type:"string",valid:!0,value:e};{const r=w(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if($(r))return{type:"ColorPair",valid:!0,value:r};const a=e;if(C(a))return{type:"DeprecatedColorPair",valid:!0,value:a}}return{type:null,valid:!1,value:""}}function $(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function C(e){return"object"==typeof e&&e&&"string"==typeof e.backgroundColor&&"string"==typeof e.color}function q(e){const r=M(e);switch(r.type){case null:return!1;case"string":case"ColorPair":case"DeprecatedColorPair":return r.valid}}const P=(e,r,o)=>{a(e,"_color",q,new Set(["rgb in hex","ColorPair"]),r,o)},j=e=>{var r;let a;const o=M(e);switch(o.type){case"string":a=v(o.value);break;case"ColorPair":case"DeprecatedColorPair":{const e=o.value,t=o.value;let n="";t.color?n=t.color:"string"==typeof e.foregroundColor?n=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(n=e.foregroundColor.primary),n&&"string"==typeof n||(n="#fff"),a=v({background:e.backgroundColor,foreground:n});break}case null:n.warn(`_color was empty or invalid (${JSON.stringify(e)})`,{forceLog:!0}),a=v({background:"#000",foreground:"#000"})}return a.contrast<7&&t(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{c,j as h,P as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as t,a as e,w as s,m as i,s as a}from"./prop.validators-
|
|
4
|
+
import{c as t,a as e,w as s,m as i,s as a}from"./prop.validators-70ea0a09.js";import{h as r,c as o}from"./label-2d3bb825.js";import{a as n}from"./a11y.tipps-820f694a.js";import{S as l}from"./reuse-d79ab469.js";import{I as h}from"./controller-a0fe3bd7.js";const f=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===r(t.label,3)&&!1===o(t.label)&&n(`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===f(t)));if("number"==typeof t.label)return!0}return!1},c=(e,o,a={})=>{t(e,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),o,void 0,a)},u=(e,o,a={})=>{t(e,"_options",f,o,void 0,a)},p=(t,o)=>{e(t,"_required",o)},d=(t,e,o="")=>{e.forEach(((e,a)=>{const i=`${o}-${a}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?d(t,e.options,i):t.set(i,e))}))};class b extends h{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){p(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class m 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.afterPatchOptions=(t,e,o,a)=>{"_value"===a&&this.setFormAssociatedValue(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(),d(this.keyOptionMap,o);const t=e.has("_value")?e.get("_value"):this.component.state._value;!1===this.isValueInOptions(t,o)&&(e.set("_value",o[0].value),this.onStateChange())}},this.component=t}validateOrientation(t){s(this.component,"_orientation",(t=>"horizontal"===t||"vertical"===t),new Set(["Orientation {horizontal, vertical}"]),t,{defaultValue:"vertical"})}validateOptions(t){c(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=i(t),t=Array.isArray(t)?t[0]:t,a(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(l)}))}},this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options||this.component._list),this.validateValue(this.component._value)}}export{b as I,m as a,d as f,u as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as t,d as i,s,o as e,p as h}from"./prop.validators-
|
|
4
|
+
import{a as t,d as i,s,o as e,p as h}from"./prop.validators-70ea0a09.js";import{v as o}from"./hide-label-ce15780c.js";import{a}from"./label-2d3bb825.js";import{g as r,a as n,d}from"./a11y.tipps-820f694a.js";import{s as l,t as u}from"./events-fa760b68.js";import{v as c}from"./tab-index-ec50f804.js";import{A as f}from"./associated.controller-b1aa7085.js";const p=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}},v=(o,e)=>{t(o,"_adjustHeight",e)},m=(o,e,n)=>{t(o,"_hideError",e,n)},y=(o,e)=>{t(o,"_touched",e)};class b extends f{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class g extends b{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){i(this.component,"_accessKey",t)}validateAdjustHeight(t){v(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&r()}validateError(t){i(this.component,"_error",t)}validateHideError(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){o(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||d("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){a(this.component,t,{required:!0})}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){c(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.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.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,l(t),u("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t,o){var e;o=null!=o?o:t.target.value,u("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onClick(t){var o;l(t),u("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;this.component._alert=!0,l(t),u("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}onInput(t,o=!0,e){var n;e=null!=e?e:t.target.value,l(t),u("input",this.host,e),o&&this.setFormAssociatedValue(e),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onInput)&&this.component._on.onInput(t,e)}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,p as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{v as s,I as t}from"./controller-
|
|
4
|
+
import{v as s,I as t}from"./controller-d2f01f7e.js";import{v as e}from"./suggestions-ab6cf917.js";import{w as a}from"./prop.validators-70ea0a09.js";class i extends t{constructor(t,s,e){super(t,s,e),this.component=t}validateList(){}validateSuggestions(t){e(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions||this.component._list)}}class r extends i{constructor(t,s,e){super(t,s,e),this.hasError=!1,this.component=t}validateType(t){a(this.component,"_type",(t=>"string"==typeof t&&("text"===t||"search"===t||"url"===t||"tel"===t)),new Set(["String {text, search, url, tel}"]),t)}validateHasCounter(t){s(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{i as I,r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./a11y.tipps-
|
|
4
|
+
import{d as e}from"./a11y.tipps-820f694a.js";import{a as o,L as t}from"./dev.utils-d7b31a16.js";import{f as i,K as n}from"./prop.validators-70ea0a09.js";const f=n=>{for(o()&&(e("↓ Search form element start."),t.debug(n));n instanceof HTMLElement&&"FORM"!==n.tagName&&"KOL-FORM"!==n.tagName;)n=n.parentElement instanceof HTMLElement?n.parentElement:n.parentNode instanceof ShadowRoot?n.parentNode.host:null,o()&&t.debug(n);return o()&&e("↑ Search form element finished."),n},s=(e={})=>{var t,o;const a=f(e.form);if(a instanceof HTMLElement){const e=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===a.tagName)i(e,a),a.dispatchEvent(e);else if("KOL-FORM"===a.tagName){i(e,n.querySelector("form",a));const s=a;"function"==typeof(null===(t=s._on)||void 0===t?void 0:t.onReset)&&(null===(o=s._on)||void 0===o||o.onReset(e))}}},a=(t={})=>{const a=f(t.form);if(a instanceof HTMLElement){const t=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:a});if("FORM"===a.tagName)o()&&!1===a.noValidate&&e("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof a.requestSubmit?a.requestSubmit():(i(t,a),a.dispatchEvent(t))}));else if("KOL-FORM"===a.tagName){i(t,n.querySelector("form",a));const e=a;setTimeout((()=>{var o,n;"function"==typeof(null===(o=e._on)||void 0===o?void 0:o.onSubmit)&&(null===(n=e._on)||void 0===n||n.onSubmit(t))}))}}};export{s as a,a as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as t,w as i,e as s,d as
|
|
4
|
+
import{a as t,w as i,e as s,d as a}from"./prop.validators-70ea0a09.js";import{I as e}from"./controller-icon-a820c1cc.js";const h=(e,a)=>{t(e,"_hasCounter",a)};class o extends e{constructor(t,e,a){super(t,e,a),this.component=t}validateAutoComplete(t){i(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){h(this.component,t)}validateMaxLength(t){s(this.component,"_maxLength",t,{min:0})}validatePattern(t){a(this.component,"_pattern",t)}validatePlaceholder(t){a(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateSize(t){s(this.component,"_size",t,{min:1})}validateValue(t){a(this.component,"_value",t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateSize(this.component._size),this.validateValue(this.component._value)}}export{o as I,h as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{i as o}from"./icons-027c2ffa.js";import{o as s,p as t,w as i}from"./prop.validators-70ea0a09.js";import{i as r}from"./reuse-d79ab469.js";import{I as e}from"./controller-a0fe3bd7.js";const a=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(r(e.right,1)&&(e.right={icon:e.right}),r(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class c extends e{constructor(o,t,e){super(o,t,e),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:a},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{c as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{w as a,d as o}from"./prop.validators-
|
|
4
|
+
import{w as a,d as o}from"./prop.validators-70ea0a09.js";const r=(o,r)=>{a(o,"_variant",(a=>"primary"===a||"secondary"===a||"normal"===a||"danger"===a||"ghost"===a||"custom"===a),new Set(["KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}"]),r,{defaultValue:"normal"})},s=(a,r)=>{o(a,"_customClass",r,{defaultValue:void 0})};export{r as a,s as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as t}from"./reuse-d79ab469.js";import{E as e}from"./index-
|
|
4
|
+
import{p as t}from"./reuse-d79ab469.js";import{E as e}from"./index-c12c0322.js";const o=()=>"undefined"==typeof window?null:window,n=()=>void 0===o().document?null:o().document;let i=null,r=null,s=null;const l=()=>!0===i,a=e=>{i=e},c=()=>!0===r,u=e=>{r=e},d=()=>!0===s,f=e=>{s=e};class p{static mapToArray(e){return Array.isArray(e)?e:[e]}static handleClassifier(e){return"string"==typeof e&&e.length>0?`${p.shield.label} | ${e}`:p.shield.label}static getShield(e){return[p.handleClassifier(null==e?void 0:e.classifier),`${p.shield.style};${(null==e?void 0:e.overwriteStyle)||""}`]}static debug(e,o){(i||!0===(null==o?void 0:o.forceLog))&&console.debug(...p.getShield(o),...p.mapToArray(e))}static info(e,o){(i||!0===(null==o?void 0:o.forceLog))&&console.info(...p.getShield(o),...p.mapToArray(e))}static trace(e,o){(i||!0===(null==o?void 0:o.forceLog))&&console.trace(...p.getShield(o),...p.mapToArray(e))}static warn(e,o){(i||!0===(null==o?void 0:o.forceLog))&&console.warn(...p.getShield(o),...p.mapToArray(e))}static error(e,o){(i||!0===(null==o?void 0:o.forceLog))&&console.error(...p.getShield(o),...p.mapToArray(e))}static throw(e,o){if(i||!0===(null==o?void 0:o.forceLog))throw new Error(...p.getShield(o),...p.mapToArray(e))}}p.shield={label:"%cKoliBri",style:"color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000"};const b=()=>{const e=n().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const o=e.getAttribute("content");"string"==typeof o&&(a(o.includes("dev-mode=true")),u(o.includes("experimental-mode=true")),f(o.includes("color-contrast-analysis=true")))}},v=()=>{let e=o().KoliBri;return void 0===e&&(e={},Object.defineProperty(o(),"KoliBri",{value:e,writable:!1})),e},m=()=>{b(),p.debug(`\n\t,--. ,--. ,--. ,--. ,-----. ,--.\n\t| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n\t| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n\t| |\\ \\ | '-' | | | | | | '--' / | | | |\n\t\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n\t🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t\t`,{forceLog:!0})},h=()=>{!0!==v().adviceShown&&(Object.defineProperty(v(),"adviceShown",{get:function(){return!0}}),p.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let g=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(g=()=>"nonce");export{p as L,c as a,o as b,l as c,d,n as g,m as i,g as n,h as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{i as t,c as e,r as o,g as s,L as a,a as i,d as r,b as l}from"./dev.utils-
|
|
4
|
+
import{i as t,c as e,r as o,g as s,L as a,a as i,d as r,b as l}from"./dev.utils-d7b31a16.js";import{n,q as p,k as c,t as d,u as f,p as m,v as L}from"./prop.validators-70ea0a09.js";import"./reuse-d79ab469.js";import"./index-c12c0322.js";import"./index-14005aa7.js";import"./a11y.tipps-820f694a.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(t(),e()){o(),v("a11yColorContrast",p),v("querySelector",c),v("querySelectorAll",d),v("querySelectorColors",f),v("utils",(function(){return n})),v("parseJson",m),v("stringifyJson",L);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.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>',s().body.appendChild(a),h("Development mode",e()),h("Experimental mode",i()),h("Color contrast analysis",r()),r()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{n.queryHtmlElementColors(s().createElement("div"),p(t),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
const t=["top","right","bottom","left"],n=["start","end"],e=t.reduce(((t,e)=>t.concat(e,e+"-"+n[0],e+"-"+n[1])),[]),o=Math.min,s=Math.max,c=Math.round,r=Math.floor,i=t=>({x:t,y:t}),l={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function f(t,e,n){return s(t,o(e,n))}function u(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}function y(t){return["top","bottom"].includes(d(t))?"y":"x"}function w(t){return h(y(t))}function g(t,e,n){void 0===n&&(n=!1);const o=m(t),i=w(t),r=p(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=R(l)),[l,R(l)]}function x(t){const e=R(t);return[v(t),e,v(e)]}function v(t){return t.replace(/start|end/g,(t=>a[t]))}function b(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function A(t,e,n,o){const i=m(t);let r=b(d(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(v)))),r}function R(t){return t.replace(/left|right|bottom|top/g,(t=>l[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function O(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function F(t,e,n){let{reference:o,floating:i}=t;const r=y(e),l=w(e),c=p(l),s=d(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let g;switch(s){case"top":g={x:f,y:o.y-i.height};break;case"bottom":g={x:f,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:u};break;case"left":g={x:o.x-i.width,y:u};break;default:g={x:o.x,y:o.y}}switch(m(e)){case"start":g[l]-=h*(n&&a?-1:1);break;case"end":g[l]+=h*(n&&a?-1:1)}return g}const D=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},h=0;for(let n=0;n<c.length;n++){const{name:r,fn:p}=c[n],{x:g,y:y,data:w,reset:x}=await p({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function P(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=u(e,t),p=S(h),g=c[m?"floating"===d?"reference":"floating":d],y=O(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:s})),w="floating"===d?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=O(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:r,rects:l,platform:c,elements:s,middlewareData:a}=e,{element:d,padding:h=0}=u(t,e)||{};if(null==d)return{};const g=S(h),y={x:n,y:i},x=w(r),v=p(x),b=await c.getDimensions(d),R="y"===x,T=R?"top":"left",A=R?"bottom":"right",L=R?"clientHeight":"clientWidth",E=l.reference[v]+l.reference[x]-y[x]-l.floating[v],O=y[x]-l.reference[x],P=await(null==c.getOffsetParent?void 0:c.getOffsetParent(d));let D=P?P[L]:0;D&&await(null==c.isElement?void 0:c.isElement(P))||(D=s.floating[L]||l.floating[v]);const C=E/2-O/2,H=D/2-b[v]/2-1,F=o(g[T],H),k=o(g[A],H),W=F,Y=D-b[v]-k,B=D/2-b[v]/2+C,M=f(W,B,Y),J=!a.arrow&&null!=m(r)&&B!==M&&l.reference[v]/2-(B<W?F:k)-b[v]/2<0,_=J?B<W?B-W:B-Y:0;return{[x]:y[x]+_,data:{[x]:M,centerOffset:B-M-_,...J&&{alignmentOffset:_}},reset:J}}});function C(t,e,n){const o=t?[...n.filter((e=>m(e)===t)),...n.filter((e=>m(e)!==t))]:n.filter((t=>d(t)===t));return o.filter((n=>!t||(m(n)===t||!!e&&v(n)!==n)))}const z=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=n,{crossAxis:h=!1,alignment:p,allowedPlacements:y=e,autoAlignment:w=!0,...x}=u(t,n),v=void 0!==p||y===e?C(p||null,w,y):y,b=await P(n,x),R=(null==(o=c.autoPlacement)?void 0:o.index)||0,T=v[R];if(null==T)return{};const A=g(T,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==T)return{reset:{placement:v[0]}};const L=[b[d(T)],b[A[0]],b[A[1]]],E=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:L}],O=v[R+1];if(O)return{data:{index:R+1,overflows:E},reset:{placement:O}};const D=E.map((t=>{const e=m(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=D.filter((t=>t[2].slice(0,m(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=S[0])?void 0:r[0])||D[0][0];return H!==s?{data:{index:R+1,overflows:E},reset:{placement:H}}:{}}}},B=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:v=!0,...b}=u(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const T=d(i),L=y(c),E=d(c)===c,O=await(null==s.isRTL?void 0:s.isRTL(a.floating)),D=h||(E||!v?[R(c)]:x(c)),S="none"!==w;!h&&S&&D.push(...A(c,v,w,O));const C=[c,...D],H=await P(e,b),F=[];let k=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&F.push(H[T]),m){const t=g(i,l,O);F.push(H[t[0]],H[t[1]])}if(k=[...k,{placement:i,overflows:F}],!F.every((t=>t<=0))){var W,Y;const t=((null==(W=r.flip)?void 0:W.index)||0)+1,e=C[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n=null==(Y=k.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:Y.placement;if(!n)switch(p){case"bestFit":{var B;const t=null==(B=k.filter((t=>{if(S){const e=y(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:B[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function H(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function M(e){return t.some((t=>e[t]>=0))}const L=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=u(t,e);switch(o){case"referenceHidden":{const t=H(await P(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:M(t)}}}case"escaped":{const t=H(await P(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:M(t)}}}default:return{}}}}};function E(t){const e=o(...t.map((t=>t.left))),n=o(...t.map((t=>t.top)));return{x:e,y:n,width:s(...t.map((t=>t.right)))-e,height:s(...t.map((t=>t.bottom)))-n}}function I(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>O(E(t))))}const N=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:i,rects:r,platform:l,strategy:c}=e,{padding:a=2,x:f,y:m}=u(t,e),h=Array.from(await(null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]),p=I(h),g=O(E(h)),w=S(a);const x=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=m)return p.find((t=>f>t.left-w.left&&f<t.right+w.right&&m>t.top-w.top&&m<t.bottom+w.bottom))||g;if(p.length>=2){if("y"===y(n)){const t=p[0],e=p[p.length-1],o="top"===d(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===d(n),e=s(...p.map((t=>t.right))),i=o(...p.map((t=>t.left))),r=p.filter((n=>t?n.left===i:n.right===e)),l=r[0].top,c=r[r.length-1].bottom;return{top:l,bottom:c,left:i,right:e,width:e-i,height:c-l,x:i,y:l}}return g}},floating:i.floating,strategy:c});return r.reference.x!==x.reference.x||r.reference.y!==x.reference.y||r.reference.width!==x.reference.width||r.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}};async function j(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=d(n),c=m(n),s="y"===y(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,h=u(e,t);let{mainAxis:p,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&"number"==typeof w&&(g="end"===c?-1*w:w),s?{x:g*f,y:p*a}:{x:p*a,y:g*f}}const q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:c}=e,s=await j(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=u(t,e),a={x:n,y:o},m=await P(e,s),p=y(d(i)),g=h(p);let w=a[g],x=a[p];if(r){const t="y"===g?"bottom":"right";w=f(w+m["y"===g?"top":"left"],w,w-m[t])}if(l){const t="y"===p?"bottom":"right";x=f(x+m["y"===p?"top":"left"],x,x-m[t])}const v=c.fn({...e,[g]:w,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o}}}}},$=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=u(t,e),f={x:n,y:o},m=y(i),p=h(m);let g=f[p],w=f[m];const x=u(c,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(d(i)),n=r.reference[m]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[m])||0)+(e?0:v.crossAxis),o=r.reference[m]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[m])||0)-(e?v.crossAxis:0);w<n?w=n:w>o&&(w=o)}return{[p]:g,[m]:w}}}},V=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:i,platform:r,elements:l}=e,{apply:c=()=>{},...a}=u(t,e),f=await P(e,a),h=d(n),p=m(n),g="y"===y(n),{width:w,height:x}=i.floating;let v,b;"top"===h||"bottom"===h?(v=h,b=p===(await(null==r.isRTL?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(b=h,v="end"===p?"top":"bottom");const R=x-f.top-f.bottom,T=w-f.left-f.right,A=o(x-f[v],R),L=o(w-f[b],T),E=!e.middlewareData.shift;let O=A,D=L;if(g?D=p||E?o(L,T):T:O=p||E?o(A,R):R,E&&!p){const t=s(f.left,0),e=s(f.right,0),n=s(f.top,0),o=s(f.bottom,0);g?D=w-2*(0!==t||0!==e?t+e:s(f.left,f.right)):O=x-2*(0!==n||0!==o?n+o:s(f.top,f.bottom))}await c({...e,availableWidth:D,availableHeight:O});const S=await r.getDimensions(l.floating);return w!==S.width||x!==S.height?{reset:{rects:!0}}:{}}}};function X(t){return G(t)?(t.nodeName||"").toLowerCase():"#document"}function Y(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function _(t){var e;return null==(e=(G(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function G(t){return t instanceof Node||t instanceof Y(t).Node}function J(t){return t instanceof Element||t instanceof Y(t).Element}function K(t){return t instanceof HTMLElement||t instanceof Y(t).HTMLElement}function Q(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Y(t).ShadowRoot)}function U(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Z(t){return["table","td","th"].includes(X(t))}function tt(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function nt(t){const e=ot(),n=J(t)?ct(t):t;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function et(t){let e=it(t);for(;K(e)&&!st(e);){if(nt(e))return e;if(tt(e))return null;e=it(e)}return null}function ot(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function st(t){return["html","body","#document"].includes(X(t))}function ct(t){return Y(t).getComputedStyle(t)}function rt(t){return J(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===X(t))return t;const e=t.assignedSlot||t.parentNode||Q(t)&&t.host||_(t);return Q(e)?e.host:e}function lt(t){const e=it(t);return st(e)?t.ownerDocument?t.ownerDocument.body:t.body:K(e)&&U(e)?e:lt(e)}function at(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=lt(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=Y(i);if(r){const t=ft(l);return e.concat(l,l.visualViewport||[],U(i)?i:[],t&&n?at(t):[])}return e.concat(i,at(i,[],n))}function ft(t){return Object.getPrototypeOf(t.parent)?t.frameElement:null}function ut(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=K(t),r=i?t.offsetWidth:n,l=i?t.offsetHeight:o,s=c(n)!==r||c(o)!==l;return s&&(n=r,o=l),{width:n,height:o,$:s}}function dt(t){return J(t)?t:t.contextElement}function mt(t){const e=dt(t);if(!K(e))return i(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:l}=ut(e);let s=(l?c(n.width):n.width)/o,a=(l?c(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const ht=i(0);function pt(t){const e=Y(t);return ot()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ht}function yt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Y(t))&&e}function wt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),l=dt(t);let c=i(1);e&&(o?J(o)&&(c=mt(o)):c=mt(t));const s=yt(l,n,o)?pt(l):i(0);let a=(r.left+s.x)/c.x,f=(r.top+s.y)/c.y,u=r.width/c.x,d=r.height/c.y;if(l){const t=Y(l),e=o&&J(o)?Y(o):o;let n=t,i=ft(n);for(;i&&o&&e!==n;){const t=mt(i),e=i.getBoundingClientRect(),o=ct(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=Y(i),i=ft(n)}}return O({width:u,height:d,x:a,y:f})}function gt(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const l="fixed"===r,c=_(o),s=!!e&&tt(e.floating);if(o===c||s&&l)return n;let a={scrollLeft:0,scrollTop:0},f=i(1);const u=i(0),d=K(o);if((d||!d&&!l)&&(("body"!==X(o)||U(c))&&(a=rt(o)),K(o))){const t=wt(o);f=mt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x,y:n.y*f.y-a.scrollTop*f.y+u.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){return wt(_(t)).left+rt(t).scrollLeft}function bt(t){const e=_(t),n=rt(t),o=t.ownerDocument.body,i=s(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=s(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+vt(t);const c=-n.scrollTop;return"rtl"===ct(o).direction&&(l+=s(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:c}}function At(t,e){const n=Y(t),o=_(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=ot();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function Rt(t,e){const n=wt(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,l=K(t)?mt(t):i(1);return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:r*l.x,y:o*l.y}}function kt(t,e,n){let o;if("viewport"===e)o=At(t,n);else if("document"===e)o=bt(_(t));else if(J(e))o=Rt(e,n);else{const n=pt(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return O(o)}function St(t,e){const n=it(t);return!(n===e||!J(n)||st(n))&&("fixed"===ct(n).position||St(n,e))}function Ot(t,e){const n=e.get(t);if(n)return n;let o=at(t,[],!1).filter((t=>J(t)&&"body"!==X(t))),i=null;const r="fixed"===ct(t).position;let l=r?it(t):t;for(;J(l)&&!st(l);){const e=ct(l),n=nt(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||U(l)&&!n&&St(t,l))?o=o.filter((t=>t!==l)):i=e,l=it(l)}return e.set(t,o),o}function Ft(t){let{element:e,boundary:n,rootBoundary:i,strategy:r}=t;const l=[..."clippingAncestors"===n?tt(e)?[]:Ot(e,this._c):[].concat(n),i],c=l[0],a=l.reduce(((t,n)=>{const i=kt(e,n,r);return t.top=s(i.top,t.top),t.right=o(i.right,t.right),t.bottom=o(i.bottom,t.bottom),t.left=s(i.left,t.left),t}),kt(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Dt(t){const{width:e,height:n}=ut(t);return{width:e,height:n}}function Pt(t,e,n){const o=K(e),r=_(e),l="fixed"===n,c=wt(t,!0,l,e);let s={scrollLeft:0,scrollTop:0};const a=i(0);if(o||!o&&!l)if(("body"!==X(e)||U(r))&&(s=rt(e)),o){const t=wt(e,!0,l,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else r&&(a.x=vt(r));return{x:c.left+s.scrollLeft-a.x,y:c.top+s.scrollTop-a.y,width:c.width,height:c.height}}function Tt(t){return"static"===ct(t).position}function Ct(t,e){return K(t)&&"fixed"!==ct(t).position?e?e(t):t.offsetParent:null}function zt(t,e){const n=Y(t);if(tt(t))return n;if(!K(t)){let e=it(t);for(;e&&!st(e);){if(J(e)&&!Tt(e))return e;e=it(e)}return n}let o=Ct(t,e);for(;o&&Z(o)&&Tt(o);)o=Ct(o,e);return o&&st(o)&&Tt(o)&&!nt(o)?n:o||et(t)||n}const Bt=async function(t){const e=this.getOffsetParent||zt,n=this.getDimensions,o=await n(t.floating);return{reference:Pt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ht(t){return"rtl"===ct(t).direction}const Mt={convertOffsetParentRelativeRectToViewportRelativeRect:gt,getDocumentElement:_,getClippingRect:Ft,getOffsetParent:zt,getElementRects:Bt,getClientRects:xt,getDimensions:Dt,getScale:mt,isElement:J,isRTL:Ht};function Lt(t,e){let n,i=null;const l=_(t);function c(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),c();const{left:d,top:m,width:h,height:p}=t.getBoundingClientRect();if(f||e(),!h||!p)return;const g={rootMargin:-r(m)+"px "+-r(l.clientWidth-(d+h))+"px "+-r(l.clientHeight-(m+p))+"px "+-r(d)+"px",threshold:s(0,o(1,u))||1};let y=!0;function w(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}y=!1}try{i=new IntersectionObserver(w,{...g,root:l.ownerDocument})}catch(t){i=new IntersectionObserver(w,g)}i.observe(t)}(!0),c}function Et(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=dt(t),f=i||r?[...a?at(a):[],...at(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?Lt(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=h)||t.observe(e)}))),n()})),a&&!s&&h.observe(a),h.observe(e));let p=s?wt(t):null;return s&&function e(){const o=wt(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==u||u(),null==(t=h)||t.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const It=q,Nt=W,jt=B,qt=T,Wt=(t,e,n)=>{const o=new Map,i={platform:Mt,...n},r={...i.platform,_c:o};return D(t,e,{...i,platform:r})};export{qt as a,Et as b,Wt as c,jt as f,It as o,Nt as s};
|