@public-ui/components 1.5.3 → 1.6.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cheat-sheet.html +33 -24
- package/custom-elements.json +81 -3
- package/dist/cjs/{app-globals-deb2d36b.js → app-globals-a70c12d0.js} +1 -1
- package/dist/cjs/{app-globals-deb2d36b.js.map → app-globals-a70c12d0.js.map} +1 -1
- package/dist/cjs/{controller-c828f7c8.js → controller-2d775144.js} +1 -1
- package/dist/cjs/controller-2d775144.js.map +1 -0
- package/dist/cjs/{controller-dc5aca49.js → controller-4c7b3abf.js} +1 -1
- package/dist/cjs/controller-4c7b3abf.js.map +1 -0
- package/dist/cjs/controller-54e4c23b.js +4 -0
- package/dist/cjs/controller-54e4c23b.js.map +1 -0
- package/dist/cjs/{controller-361ba1ef.js → controller-8b201b46.js} +1 -1
- package/dist/cjs/{controller-361ba1ef.js.map → controller-8b201b46.js.map} +1 -1
- package/dist/cjs/{controller-icon-6ed19132.js → controller-icon-469b21e5.js} +1 -1
- package/dist/cjs/{controller-icon-6ed19132.js.map → controller-icon-469b21e5.js.map} +1 -1
- package/dist/cjs/dev.utils-d69c0a9f.js.map +1 -1
- package/dist/cjs/floating-ui.dom.esm-03ac0b3f.js +4 -0
- package/dist/cjs/floating-ui.dom.esm-03ac0b3f.js.map +1 -0
- package/dist/cjs/index-94bf4fa8.js +5 -0
- package/dist/cjs/index-94bf4fa8.js.map +1 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc_2.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-alert.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.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc_3.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.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-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-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-pagination.cjs.entry.js.map +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-select.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-span.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-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip.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/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/prop.validators-0e600d26.js.map +1 -1
- package/dist/components/component11.js.map +1 -1
- package/dist/components/component12.js +1 -1
- package/dist/components/component12.js.map +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component13.js.map +1 -1
- package/dist/components/component14.js +1 -1
- package/dist/components/component14.js.map +1 -1
- package/dist/components/component15.js +1 -1
- package/dist/components/component15.js.map +1 -1
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller-icon.js.map +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/controller.js.map +1 -1
- package/dist/components/controller2.js.map +1 -1
- package/dist/components/controller3.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/kol-abbr.js +1 -1
- package/dist/components/kol-abbr.js.map +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-checkbox.js.map +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-color.js.map +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-date.js.map +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-email.js.map +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-file.js.map +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio-group.js +1 -1
- package/dist/components/kol-input-radio-group.js.map +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-range.js.map +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-input-text.js.map +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/prop.validators.js.map +1 -1
- package/dist/esm/{app-globals-1e2df332.js → app-globals-037e6656.js} +1 -1
- package/dist/esm/{app-globals-1e2df332.js.map → app-globals-037e6656.js.map} +1 -1
- package/dist/esm/{controller-9b769c83.js → controller-004bc53b.js} +1 -1
- package/dist/esm/controller-004bc53b.js.map +1 -0
- package/dist/esm/{controller-6f59f733.js → controller-0b4a141f.js} +1 -1
- package/dist/esm/{controller-6f59f733.js.map → controller-0b4a141f.js.map} +1 -1
- package/dist/esm/{controller-3ae042db.js → controller-2184621f.js} +1 -1
- package/dist/esm/controller-2184621f.js.map +1 -0
- package/dist/esm/controller-e7d68f52.js +4 -0
- package/dist/esm/controller-e7d68f52.js.map +1 -0
- package/dist/esm/{controller-icon-8d8c747a.js → controller-icon-a11cdc92.js} +1 -1
- package/dist/esm/{controller-icon-8d8c747a.js.map → controller-icon-a11cdc92.js.map} +1 -1
- package/dist/esm/dev.utils-157f0499.js.map +1 -1
- package/dist/esm/floating-ui.dom.esm-74010e65.js +4 -0
- package/dist/esm/floating-ui.dom.esm-74010e65.js.map +1 -0
- package/dist/esm/index-34c3d6f8.js +5 -0
- package/dist/esm/index-34c3d6f8.js.map +1 -0
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-alert-wc_2.entry.js +1 -1
- package/dist/esm/kol-alert-wc_2.entry.js.map +1 -1
- package/dist/esm/kol-alert.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.entry.js +1 -1
- package/dist/esm/kol-button-wc_3.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.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-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio-group.entry.js +1 -1
- package/dist/esm/kol-input-radio-group.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-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-pagination.entry.js.map +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-select.entry.js.map +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-span.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-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast.entry.js +1 -1
- package/dist/esm/kol-tooltip.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/loader.js +1 -1
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/prop.validators-2c20cdf8.js.map +1 -1
- package/dist/kolibri/app-globals-037e6656.js +4 -0
- package/dist/kolibri/{controller-9b769c83.js → controller-004bc53b.js} +1 -1
- package/dist/kolibri/controller-004bc53b.js.map +1 -0
- package/dist/kolibri/{controller-6f59f733.js → controller-0b4a141f.js} +1 -1
- package/dist/kolibri/{controller-3ae042db.js → controller-2184621f.js} +1 -1
- package/dist/kolibri/controller-2184621f.js.map +1 -0
- package/dist/kolibri/controller-e7d68f52.js +4 -0
- package/dist/kolibri/controller-e7d68f52.js.map +1 -0
- package/dist/kolibri/controller-icon-a11cdc92.js +4 -0
- package/dist/kolibri/{controller-icon-8d8c747a.js.map → controller-icon-a11cdc92.js.map} +1 -1
- package/dist/kolibri/dev.utils-157f0499.js.map +1 -1
- package/dist/kolibri/floating-ui.dom.esm-74010e65.js +4 -0
- package/dist/kolibri/floating-ui.dom.esm-74010e65.js.map +1 -0
- package/dist/kolibri/index-34c3d6f8.js +5 -0
- package/dist/kolibri/index-34c3d6f8.js.map +1 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc_2.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc_2.entry.js.map +1 -1
- package/dist/kolibri/kol-alert.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.entry.js +1 -1
- package/dist/kolibri/kol-button-wc_3.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.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-color.entry.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
- package/dist/kolibri/kol-input-radio-group.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js.map +1 -1
- package/dist/kolibri/kol-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-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-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-span.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-textarea.entry.js.map +1 -1
- package/dist/kolibri/kol-toast.entry.js +1 -1
- package/dist/kolibri/kol-tooltip.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/prop.validators-2c20cdf8.js.map +1 -1
- package/dist/loader/index.d.ts +1 -1
- package/dist/types/components/@deprecated/input/controller.d.ts +1 -0
- package/dist/types/components/@deprecated/input/types-icon.d.ts +2 -1
- package/dist/types/components/@deprecated/input/types.d.ts +2 -1
- package/dist/types/components/input/types.d.ts +3 -2
- package/dist/types/components/input-checkbox/component.d.ts +2 -0
- package/dist/types/components/input-checkbox/types.d.ts +3 -3
- package/dist/types/components/input-color/component.d.ts +2 -0
- package/dist/types/components/input-color/types.d.ts +3 -2
- package/dist/types/components/input-date/component.d.ts +3 -1
- package/dist/types/components/input-date/types.d.ts +3 -2
- package/dist/types/components/input-email/component.d.ts +3 -1
- package/dist/types/components/input-email/types.d.ts +3 -3
- package/dist/types/components/input-file/component.d.ts +3 -1
- package/dist/types/components/input-file/types.d.ts +3 -2
- package/dist/types/components/input-number/component.d.ts +3 -1
- package/dist/types/components/input-number/types.d.ts +3 -2
- package/dist/types/components/input-password/component.d.ts +2 -0
- package/dist/types/components/input-password/types.d.ts +3 -2
- package/dist/types/components/input-radio/component.d.ts +2 -0
- package/dist/types/components/input-radio/controller.d.ts +2 -1
- package/dist/types/components/input-radio/types.d.ts +3 -2
- package/dist/types/components/input-radio-group/component.d.ts +1 -0
- package/dist/types/components/input-range/component.d.ts +3 -1
- package/dist/types/components/input-range/types.d.ts +3 -2
- package/dist/types/components/input-text/component.d.ts +2 -0
- package/dist/types/components/input-text/controller.d.ts +3 -2
- package/dist/types/components/input-text/types.d.ts +3 -2
- package/dist/types/components/select/component.d.ts +3 -1
- package/dist/types/components/select/types.d.ts +3 -2
- package/dist/types/components/textarea/component.d.ts +3 -1
- package/dist/types/components/textarea/types.d.ts +3 -3
- package/dist/types/components.d.ts +104 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/doc/icon-font-awesome.md +1 -1
- package/doc/icon-icofont.md +1 -1
- package/doc/input-checkbox.md +21 -20
- package/doc/input-color.md +19 -18
- package/doc/input-date.md +25 -24
- package/doc/input-email.md +26 -25
- package/doc/input-file.md +20 -19
- package/doc/input-number.md +26 -25
- package/doc/input-password.md +24 -23
- package/doc/input-radio-group.md +18 -17
- package/doc/input-radio.md +18 -17
- package/doc/input-range.md +21 -20
- package/doc/input-text.md +26 -25
- package/doc/select.md +21 -20
- package/doc/textarea.md +23 -22
- package/jest-test-results.json +1 -1
- package/package.json +1 -1
- package/vscode-custom-data.json +88 -36
- package/dist/cjs/controller-3bf4af0a.js +0 -4
- package/dist/cjs/controller-3bf4af0a.js.map +0 -1
- package/dist/cjs/controller-c828f7c8.js.map +0 -1
- package/dist/cjs/controller-dc5aca49.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-3d05ccb5.js +0 -4
- package/dist/cjs/floating-ui.dom.esm-3d05ccb5.js.map +0 -1
- package/dist/cjs/index-29c5d3c6.js +0 -5
- package/dist/cjs/index-29c5d3c6.js.map +0 -1
- package/dist/esm/controller-3ae042db.js.map +0 -1
- package/dist/esm/controller-9b769c83.js.map +0 -1
- package/dist/esm/controller-ca91917c.js +0 -4
- package/dist/esm/controller-ca91917c.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-706cb72a.js +0 -4
- package/dist/esm/floating-ui.dom.esm-706cb72a.js.map +0 -1
- package/dist/esm/index-50adf9a0.js +0 -5
- package/dist/esm/index-50adf9a0.js.map +0 -1
- package/dist/kolibri/app-globals-1e2df332.js +0 -4
- package/dist/kolibri/controller-3ae042db.js.map +0 -1
- package/dist/kolibri/controller-9b769c83.js.map +0 -1
- package/dist/kolibri/controller-ca91917c.js +0 -4
- package/dist/kolibri/controller-ca91917c.js.map +0 -1
- package/dist/kolibri/controller-icon-8d8c747a.js +0 -4
- package/dist/kolibri/floating-ui.dom.esm-706cb72a.js +0 -4
- package/dist/kolibri/floating-ui.dom.esm-706cb72a.js.map +0 -1
- package/dist/kolibri/index-50adf9a0.js +0 -5
- package/dist/kolibri/index-50adf9a0.js.map +0 -1
- /package/dist/kolibri/{app-globals-1e2df332.js.map → app-globals-037e6656.js.map} +0 -0
- /package/dist/kolibri/{controller-6f59f733.js.map → controller-0b4a141f.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["pushNodes","set","domNodes","forEach","domNode","has","add","querySelectorAll","selector","node","document","Document","HTMLElement","ShadowRoot","Set","nodeList","i","length","shadowRoot","Array","from","Error","querySelector","arr","arr_1","obj_1","obj","css_1","css","hex_1","hex","num_1","num","data","a","parse","concat","Math","round","r","g","b","push","String","substr","opaque","num2hex","is","isshort","charAt","toLowerCase","name","hex3","hex6","rgb","rgba","object","array","number","s","toString","h","indexOf","str","hex2num","parseInt","replace","l","isNaN","slice","getnum","val","integer","floor","Object","prototype","call","getPrototypeOf","undefined","red","green","blue","alpha","isArray","match","t","split","map","Number","n","e","u","pow","c","o","f","substring","repeat","max","min","OBJECT_OBJECT","objectObjectHandler","value","cb","test","emptyStringByArrayHandler","setEventTarget","event","target","getExperimalMode","Log","debug","defineProperty","writable","patchState","component","_a","nextHooks","hooks","key","beforePatch","get","nextState","_b","size","state","assign","fromEntries","_c","afterPatch","setState","propName","Map","logWarn","requiredGeneric","devHint","constructor","join","watchValidator","validationFunction","options","required","defaultValue","watchBoolean","watchString","minLength","maxLength","watchNumber","watchJsonArrayString","itemValidation","arrayValidation","items","parseJson","invalid","find","item","error","BOOLEAN","INTEGER","FLOAT","mapString2Unknown","typeStr","oldValue","parseFloat","JSON_CHARS","JSON","stringify","stringifyJson","warn","mapBoolean2String","mapStringOrBoolean2String","koliBriQuerySelector","getDocument","koliBriQuerySelectorAll","DEFAULT_COLOR_CONTRAST","getDefaultColorContrast","backgroundColor","color","body","level","score","TRANSPARENT_REGEXP","koliBriA11yColorContrast","a11yColorContrast","computedStyle","getComputedStyle","hexBG","hexC","diff","contrast","koliBriQuerySelectorColors","selectedNode","scrollByHTMLElement","element","parentElement","window","scrollTo","behavior","top","getBoundingClientRect","getWindow","pageYOffset","focus","scrollBySelector","temp","KoliBriUtils","static","targetNode","recursion","log","returnValue","executionLock","cache","clear","children","shadowChildren","slotElement","assignedNodes","slotChildren","domChildren","arrayChildren","colorContrast","colors","queryHtmlElementColors","KoliBriDevHelper","patchTheme","patchThemeTag"],"sources":["./node_modules/query-selector-all-shadow-root/esm/index.js","./node_modules/query-selector-shadow-root/esm/index.js","./node_modules/rgba-convert/index.js","./node_modules/wcag-contrast/dist/index.m.js","./src/utils/prop.validators.ts"],"sourcesContent":["const pushNodes = (set, domNodes) => {\n domNodes.forEach((domNode) => {\n if (set.has(domNode) === false) {\n set.add(domNode);\n }\n });\n};\nexport const querySelectorAll = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n const domNodes = new Set();\n pushNodes(domNodes, node.querySelectorAll(selector));\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n pushNodes(domNodes, querySelectorAll(selector, shadowRoot));\n }\n else {\n pushNodes(domNodes, querySelectorAll(selector, nodeList[i]));\n }\n }\n return Array.from(domNodes);\n }\n else {\n throw new Error(`The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","export const querySelector = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n let domNode = node.querySelector(selector);\n if (domNode === null) {\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n domNode = querySelector(selector, shadowRoot);\n }\n else {\n domNode = querySelector(selector, nodeList[i]);\n }\n if (domNode !== null) {\n break;\n }\n }\n }\n return domNode;\n }\n else {\n throw new Error(`The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","\nmodule.exports = arr\nmodule.exports.arr = arr\nmodule.exports.obj = obj\nmodule.exports.css = css\nmodule.exports.hex = hex\nmodule.exports.num = num\n\nfunction arr(data) {\n var a = parse(data)\n if (a.length == 3) {\n return a.concat(255)\n } else {\n a[3] = Math.round(a[3])\n return a\n }\n}\n\nfunction obj(data) {\n var a = parse(data)\n return {\n r: a[0],\n g: a[1],\n b: a[2],\n a: a.length == 3\n ? 255\n : Math.round(a[3])\n }\n}\n\nfunction css(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n\n return a[3] == 255\n ? 'rgb(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')'\n : a[3] == 0\n ? 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', 0)'\n : 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + String(a[3] / 255).substr(1) + ')'\n}\n\nfunction hex(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n var opaque = a[3] == 255\n var r = num2hex(a[0])\n var g = num2hex(a[1])\n var b = num2hex(a[2])\n var a = num2hex(Math.round(a[3]))\n var is = isshort(r, g, b, a)\n if (opaque) {\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0)\n : '#' + r + g + b\n }\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0) + a.charAt(0)\n : '#' + r + g + b + a\n}\n\nfunction num(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n else a[3] = Math.round(a[3])\n return ((a[3] << 24) >>> 0 | a[0] << 16 | a[1] << 8 | a[2]) >>> 0\n}\n\nfunction parse(data) {\n if (typeof data == 'string') {\n data = data.toLowerCase()\n return name(data)\n || hex3(data)\n || hex6(data)\n || rgb(data)\n || rgba(data)\n || [0, 0, 0, 255]\n }\n return object(data)\n || array(data)\n || number(data)\n || [0, 0, 0, 255]\n}\n\nfunction num2hex(num) {\n var s = num.toString(16)\n return s.length == 1\n ? '0' + s\n : s\n}\n\nfunction isshort(r, g, b, a) {\n var h = ['ff', '00', '11', '22', '33', '44', '55', '66',\n '77', '88', '99', 'aa', 'bb', 'cc', 'dd', 'ee']\n return h.indexOf(r) != -1\n && h.indexOf(g) != -1\n && h.indexOf(b) != -1\n && h.indexOf(a) != -1\n}\n\nfunction name(str) {\n if (str == 'red') return [255, 0, 0]\n if (str == 'green') return [0, 255, 0]\n if (str == 'blue') return [0, 0, 255]\n if (str == 'black') return [0, 0, 0]\n if (str == 'white') return [255, 255, 255]\n if (str == 'cyan') return [0, 255, 255]\n if (str == 'gray') return [128, 128, 128]\n if (str == 'grey') return [128, 128, 128]\n if (str == 'magenta') return [255, 0, 255]\n // ok, not the real css `pink` but my personal `magenta` alias\n // `pink` is simpler than `fuchsia`, whatever...\n if (str == 'pink') return [255, 0, 255]\n if (str == 'yellow') return [255, 255, 0]\n}\n\nfunction hex2num(str) {\n return str.length == 1\n ? parseInt(str + str, 16)\n : parseInt(str, 16)\n}\n\nfunction hex3(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 3 || l == 4) {\n var r = hex2num(s[0])\n var g = hex2num(s[1])\n var b = hex2num(s[2])\n var a = l == 3\n ? 255\n : hex2num(s[3])\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction hex6(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 6 || l == 8) {\n var r = hex2num(s.slice(0, 2))\n var g = hex2num(s.slice(2, 4))\n var b = hex2num(s.slice(4, 6))\n var a = l == 6\n ? 255\n : hex2num(s.slice(6, 8))\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction getnum(val, integer) {\n if (typeof val != 'number') return -1\n if (integer === true && Math.floor(val) !== val) return -1\n return val >= 0 && val <= 255\n ? val\n : -1\n}\n\nfunction object(obj) {\n if (Object.prototype.toString.call(obj) === '[object Object]'\n && Object.getPrototypeOf(obj) === Object.getPrototypeOf({})) {\n var r = getnum(obj.r != undefined ? obj.r : obj.red != undefined ? obj.red : 0, true)\n var g = getnum(obj.g != undefined ? obj.g : obj.green != undefined ? obj.green : 0, true)\n var b = getnum(obj.b != undefined ? obj.b : obj.blue != undefined ? obj.blue : 0, true)\n var a = getnum(obj.a != undefined ? obj.a : obj.alpha != undefined ? obj.alpha : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction array(arr) {\n if (Array.isArray(arr) && (arr.length == 3 || arr.length == 4)) {\n var r = getnum(arr[0], true)\n var g = getnum(arr[1], true)\n var b = getnum(arr[2], true)\n var a = getnum(arr[3] != undefined ? arr[3] : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction number(num) {\n if (typeof num == 'number' && Math.floor(num) == num && num <= 4294967295 && num >= 0) {\n var a = num >> 24 & 255\n var r = num >> 16 & 255\n var g = num >> 8 & 255\n var b = num & 255\n return [r, g, b, a]\n }\n}\n\nfunction rgb(str) {\n if (str.substr(0, 4) == 'rgb(') {\n str = str.match(/^rgb\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n if (r != -1 && g != -1 && b != -1) {\n return [r, g, b, 255]\n }\n }\n}\n\nfunction rgba(str) {\n if (str.substr(0, 5) == 'rgba(') {\n str = str.match(/^rgba\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n var a = getnum(t[3] * 255)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n","var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,\"\")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return[t>>16,t>>8&255,255&t,r]}function c(n,r){return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s(n,r){return o(i(n),i(r))}function f(n){return n>=7?\"AAA\":n>=4.5?\"AA\":n>=3?\"AA Large\":\"Fail\"}export{c as luminance,o as rgb,s as hex,f as score};\n//# sourceMappingURL=index.m.js.map\n","import { patchTheme, patchThemeTag } from '@a11y-ui/core';\nimport { querySelectorAll } from 'query-selector-all-shadow-root';\nimport { querySelector } from 'query-selector-shadow-root';\nimport rgba from 'rgba-convert';\nimport { hex, score } from 'wcag-contrast';\nimport { Generic } from '@a11y-ui/core';\n\nimport { devHint } from './a11y.tipps';\nimport { getDocument, getExperimalMode, getWindow, Log } from './dev.utils';\nimport { Stringified } from '../types/common';\n\n// https://regex101.com/r/lSYLO9/1\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines komplexer Objekte\n * der String \"[object Object]\" an die Web Component übergeben wird. Um den Neben-\n * effekt abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nconst OBJECT_OBJECT = /\\[object Object\\]/;\nexport const objectObjectHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && OBJECT_OBJECT.test(value)) {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines leeren Array's\n * ein leerer String an die Web Component übergeben wird. Um den Nebeneffekt\n * abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nexport const emptyStringByArrayHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && value === '') {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei interaktiven HTML-Elementen kommt es vor, dass der Event an einem nicht\n * interaktiven HTML-Element \"lostriggert\" und dann den DOM-Baum hoch propagiert.\n * Zu unterschiedlichen Zeitpunkten sind an dem einen Event somit immer unterschiedliche\n * HTML-Elemente.\n * Damit wir das \"richtige\" interaktive HTML-Element an das Event binden, setzen\n * wir das Target explizit und stoppen die Propagation.\n */\nexport const setEventTarget = (event: Event, target?: HTMLElement): void => {\n\tif (getExperimalMode()) {\n\t\tLog.debug([event, target]);\n\t\tLog.debug(`↑ We propagate the (submit) event to this target.`);\n\t}\n\tObject.defineProperty(event, 'target', {\n\t\tvalue: target,\n\t\twritable: false,\n\t});\n};\n\nconst patchState = (component: Generic.Element.Component): void => {\n\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\tconst beforePatch = hooks.get('beforePatch') as Generic.Element.NextStateHooksCallback;\n\t\tif (typeof beforePatch === 'function') {\n\t\t\tbeforePatch(component.nextState?.get(key), component.nextState as Map<string, unknown>, component, key);\n\t\t}\n\t});\n\t/**\n\t * Wenn in beforePatch Methoden die Änderung verworfen wird,\n\t * muss auch nicht der State aktualisiert und neu gerendert\n\t * werden.\n\t */\n\tif ((component.nextState as Map<string, unknown>)?.size > 0) {\n\t\tcomponent.state = {\n\t\t\t...component.state,\n\t\t\t...Object.fromEntries(component.nextState as Map<string, unknown>),\n\t\t};\n\t\tdelete component.nextState;\n\n\t\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\t\tconst afterPatch = hooks.get('afterPatch') as Generic.Element.StateHooksCallback;\n\t\t\tif (typeof afterPatch === 'function') {\n\t\t\t\tafterPatch(component.state[key], component.state, component, key);\n\t\t\t}\n\t\t});\n\t}\n\tdelete component.nextHooks;\n};\n\ntype SetStateHooks = {\n\tafterPatch?: Generic.Element.StateHooksCallback;\n\tbeforePatch?: Generic.Element.NextStateHooksCallback;\n};\n\nexport const setState = <T>(component: Generic.Element.Component, propName: string, value?: T | null | undefined, hooks: SetStateHooks = {}): void => {\n\tif (component.nextHooks === undefined) {\n\t\tcomponent.nextHooks = new Map();\n\t}\n\tif (component.nextState === undefined) {\n\t\tcomponent.nextState = new Map();\n\t}\n\tif (component.nextState.get(propName) !== value) {\n\t\tconst nextHooks = component.nextHooks.get(propName);\n\t\tif (nextHooks instanceof Map === false) {\n\t\t\tcomponent.nextHooks.set(propName, new Map());\n\t\t}\n\t\tif (typeof hooks.afterPatch === 'function') {\n\t\t\tcomponent.nextHooks.get(propName)?.set('afterPatch', hooks.afterPatch);\n\t\t}\n\t\tif (typeof hooks.beforePatch === 'function') {\n\t\t\tcomponent.nextHooks.get(propName)?.set('beforePatch', hooks.beforePatch);\n\t\t}\n\t\tcomponent.nextState.set(propName, value);\n\t\t/**\n\t\t * Muss erstmal in sync bleiben, da sonst der\n\t\t * Tooltip nicht korrekt ausgerichtet wird.\n\t\t */\n\t\t// if (component.hydrated === true || processEnv !== 'test') {\n\t\t// clearTimeout(component.timeout as NodeJS.Timeout);\n\t\t// component.timeout = setTimeout(() => {\n\t\t// \tclearTimeout(component.timeout as NodeJS.Timeout);\n\t\t// \tpatchState(component);\n\t\t// }, 50);\n\t\t// } else {\n\t\tpatchState(component);\n\t\t// }\n\t}\n};\n\nconst logWarn = (component: Generic.Element.Component, propName: string, value: unknown, requiredGeneric: Set<string | null | undefined>): void => {\n\tdevHint(\n\t\t`[${component.constructor.name}] Der Property-Wert (${value as string}) für '${propName}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(\n\t\t\trequiredGeneric\n\t\t).join(', ')}`\n\t);\n};\n\nexport type WatchOptions = {\n\tdefaultValue?: unknown;\n\thooks?: SetStateHooks;\n\trequired?: boolean;\n};\n\nexport type WatchBooleanOptions = WatchOptions & {\n\tdefaultValue?: boolean | null;\n};\n\nexport type WatchStringOptions = WatchOptions & {\n\tdefaultValue?: string | null;\n\tmaxLength?: number;\n\tminLength?: number;\n};\n\nexport type WatchNumberOptions = WatchOptions & {\n\tdefaultValue?: number | null;\n\tmin?: number;\n\tmax?: number;\n};\n\nexport function watchValidator<T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\tvalidationFunction: (value?: T) => boolean,\n\trequiredGeneric: Set<string | null | undefined>,\n\tvalue?: T,\n\toptions: WatchOptions = {}\n): void {\n\tif (validationFunction(value)) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert VALIDE ist.\n\t\t */\n\t\tsetState(component, propName, value, options.hooks);\n\t} else if ((value === undefined || value === null) && !options.required) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert entweder ...\n\t\t * - UNDEFINED oder NULL\n\t\t * - und NICHT REQUIRED\n\t\t * ... ist.\n\t\t */\n\t\tsetState(component, propName, options.defaultValue, options.hooks);\n\t} else {\n\t\t/**\n\t\t * Triff zu, wenn der Wert NICHT valide ist.\n\t\t */\n\t\tif (!options.required) {\n\t\t\trequiredGeneric.add(null);\n\t\t}\n\t\tlogWarn(component, propName, value, requiredGeneric);\n\t}\n}\n\nexport const watchBoolean = (component: Generic.Element.Component, propName: string, value?: boolean, options?: WatchBooleanOptions): void => {\n\twatchValidator(component, propName, (value): boolean => typeof value === 'boolean', new Set(['Boolean {true, false}']), value, options);\n};\n\nexport const watchString = (component: Generic.Element.Component, propName: string, value?: string, options: WatchStringOptions = {}): void => {\n\tconst minLength = typeof options.minLength === 'number' ? options?.minLength : 0;\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'string' && value.length >= minLength && (typeof options?.maxLength === 'undefined' || value.length <= options.maxLength),\n\t\tnew Set([`String`]),\n\t\tvalue,\n\t\toptions\n\t);\n};\n\nexport const watchNumber = (component: Generic.Element.Component, propName: string, value?: number, options?: WatchNumberOptions): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'number' &&\n\t\t\t(typeof options?.min === 'undefined' || (typeof options?.min === 'number' && value >= options.min)) &&\n\t\t\t(typeof options?.max === 'undefined' || (typeof options?.max === 'number' && value <= options.max)),\n\t\tnew Set(['Number']),\n\t\tvalue,\n\t\toptions\n\t);\n};\n\nexport const watchJsonArrayString = <T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\titemValidation: (item: T) => boolean,\n\tvalue?: Stringified<T[]>,\n\tarrayValidation: (items: T[]) => boolean = (items: T[]) => items === items, // nochmal hirnen\n\toptions: WatchOptions = {}\n): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\ttry {\n\t\t\t\t\tvalue = parseJson<T[]>(value);\n\t\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t\t}\n\t\t\t\tif (Array.isArray(value)) {\n\t\t\t\t\tconst invalid = value.find((item: T) => !itemValidation(item));\n\t\t\t\t\tif (invalid === undefined && arrayValidation(value)) {\n\t\t\t\t\t\tsetState(component, propName, value, options.hooks);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tobjectObjectHandler(invalid, () => {\n\t\t\t\t\t\t\tLog.debug(invalid);\n\t\t\t\t\t\t\tthrow new Error(`↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tobjectObjectHandler(value, () => {\n\t\t\t\t\t\tLog.debug(value);\n\t\t\t\t\t\tthrow new Error(`↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.`);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\t/**\n\t\t\t\t * TODO: Wir haben einen Known-Bug beim Propergieren von Zeichenkettenliste (string[]).\n\t\t\t\t */\n\t\t\t\tLog.debug(error);\n\t\t\t\t// devHint(`Known bug: Zeichenkettenliste (string[])`);\n\t\t\t}\n\t\t});\n\t});\n};\n\nconst BOOLEAN = /^(true|false)$/;\nconst INTEGER = /^-?(0|[1-9]\\d*)$/;\nconst FLOAT = /^-?(0.|[1-9]\\d*.)\\d*[1-9]$/;\nexport const mapString2Unknown = (value: unknown) => {\n\tconst typeStr = typeof value;\n\tconst oldValue = `${value as string}`;\n\tif (typeof value === 'string') {\n\t\tif (BOOLEAN.test(value)) {\n\t\t\tvalue = value === 'true';\n\t\t} else if (INTEGER.test(value)) {\n\t\t\tvalue = parseInt(value);\n\t\t} else if (FLOAT.test(value)) {\n\t\t\tvalue = parseFloat(value);\n\t\t} else if (JSON_CHARS.test(value)) {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<unknown>(value);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t}\n\t}\n\tif (typeStr !== typeof value) {\n\t\tdevHint(`You have used a stringified property value (${oldValue} to ${JSON.stringify(value)}) which type switched from ${typeStr} to ${typeof value}!`);\n\t}\n\treturn value;\n};\n\nexport const stringifyJson = (value: unknown): string => {\n\ttry {\n\t\treturn JSON.stringify(value).replace(/\"/g, \"'\");\n\t} catch (error) {\n\t\tLog.warn(['stringifyJson', value]);\n\t\tLog.error(`↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet.`);\n\t\tthrow new Error();\n\t}\n};\n\nconst JSON_CHARS = /^[{[]/; // string starts with { or [\nexport const parseJson = <T>(value: unknown): T => {\n\tif (typeof value === 'string') {\n\t\ttry {\n\t\t\t// \"null\", \"true\", \"false\", \"0\" works too\n\t\t\treturn JSON.parse(value);\n\t\t} catch (error) {\n\t\t\tif (JSON_CHARS.test(value)) {\n\t\t\t\ttry {\n\t\t\t\t\treturn JSON.parse(value.replace(/'/g, '\"'));\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.warn(['parseJson', value]);\n\t\t\t\t\tLog.error(`↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tthrow new Error();\n};\n\nexport const mapBoolean2String = (value?: boolean): string | undefined => {\n\treturn typeof value === 'boolean' ? (value === true ? 'true' : 'false') : undefined;\n};\n\nexport const mapStringOrBoolean2String = (value?: string | boolean): string | undefined => {\n\treturn typeof value === 'string' ? value : mapBoolean2String(value);\n};\n\nexport const koliBriQuerySelector = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T | null =>\n\tquerySelector<T>(selector, node || getDocument());\n\nexport const koliBriQuerySelectorAll = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T[] =>\n\tquerySelectorAll<T>(selector, node || getDocument());\n\ninterface A11yColorContrast {\n\tbackgroundColor: string;\n\tcolor: string;\n\tdomNode: HTMLElement | HTMLSlotElement;\n\tlevel: string;\n\tscore: number;\n}\n\nlet DEFAULT_COLOR_CONTRAST: A11yColorContrast | null = null;\nconst getDefaultColorContrast = (): A11yColorContrast => {\n\tDEFAULT_COLOR_CONTRAST = DEFAULT_COLOR_CONTRAST || {\n\t\tbackgroundColor: '#00000000',\n\t\tcolor: '#00000000',\n\t\tdomNode: getDocument().body,\n\t\tlevel: 'Fail',\n\t\tscore: 1,\n\t};\n\treturn DEFAULT_COLOR_CONTRAST;\n};\n\nconst TRANSPARENT_REGEXP = /(\\d+, ){3}0\\)/;\nexport const koliBriA11yColorContrast = (domNode: HTMLElement, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tconst computedStyle = getComputedStyle(domNode);\n\tconst hexBG: string = TRANSPARENT_REGEXP.test(computedStyle.backgroundColor) ? a11yColorContrast.backgroundColor : rgba.hex(computedStyle.backgroundColor);\n\tconst hexC: string = TRANSPARENT_REGEXP.test(computedStyle.color) ? a11yColorContrast.color : rgba.hex(computedStyle.color);\n\tconst diff = hex(hexBG, hexC);\n\tconst contrast = {\n\t\tbackgroundColor: hexBG,\n\t\tcolor: hexC,\n\t\tdomNode: domNode,\n\t\tlevel: score(diff),\n\t\tscore: diff,\n\t};\n\tif (diff < 4.5) {\n\t\tLog.error([\n\t\t\t'Color-Contrast-Error',\n\t\t\t{\n\t\t\t\tbackgroundColor: contrast.backgroundColor,\n\t\t\t\tcolor: contrast.color,\n\t\t\t\tlevel: contrast.level,\n\t\t\t\tscore: contrast.score,\n\t\t\t},\n\t\t\tcontrast.domNode,\n\t\t]);\n\t}\n\treturn contrast;\n};\n\nexport const koliBriQuerySelectorColors = (selector: string, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tif (a11yColorContrast.domNode instanceof HTMLElement) {\n\t\ta11yColorContrast = koliBriA11yColorContrast(a11yColorContrast.domNode, a11yColorContrast);\n\t}\n\tconst selectedNode: HTMLElement | null = a11yColorContrast.domNode.querySelector<HTMLElement>(selector);\n\tif (selectedNode === null) {\n\t\tconst nodeList: NodeListOf<HTMLElement> = a11yColorContrast.domNode.querySelectorAll<HTMLElement>('[class=\"hydrated\"]');\n\t\tfor (let i = 0; i < nodeList.length; i++) {\n\t\t\t// const shadowRoot: ShadowRoot = nodeList[i].shadowRoot as ShadowRoot;\n\t\t\t// if (typeof shadowRoot === 'object' && shadowRoot !== null) {\n\t\t\t// a11yColorContrast.domNode = shadowRoot;\n\t\t\t// a11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// } else {\n\t\t\ta11yColorContrast.domNode = nodeList[i];\n\t\t\ta11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// }\n\t\t\tif (a11yColorContrast.domNode !== null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a11yColorContrast;\n\t} else {\n\t\treturn koliBriA11yColorContrast(selectedNode, a11yColorContrast);\n\t}\n};\n\nconst scrollByHTMLElement = (element: HTMLElement, parentElement: Window | HTMLElement = window): void => {\n\tif (element instanceof HTMLElement) {\n\t\tparentElement.scrollTo({\n\t\t\tbehavior: 'smooth',\n\t\t\ttop: element.getBoundingClientRect().top + getWindow().pageYOffset - 50,\n\t\t});\n\t\telement.focus();\n\t} else {\n\t\tdevHint(`Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.`);\n\t}\n};\nexport const scrollBySelector = (selector: string, document?: Document | HTMLElement | ShadowRoot): void => {\n\tif (\n\t\t((selector as unknown) instanceof Document || (selector as unknown) instanceof HTMLElement || (selector as unknown) instanceof ShadowRoot) &&\n\t\ttypeof document === 'string'\n\t) {\n\t\tdevHint(\n\t\t\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.`\n\t\t);\n\t\tconst temp = `${document as unknown as string}`;\n\t\tdocument = selector as unknown as Document;\n\t\tselector = temp;\n\t}\n\tif (typeof selector === 'string') {\n\t\tconst element: HTMLElement | null = koliBriQuerySelector<HTMLElement>(selector, document);\n\t\tif (element instanceof HTMLElement) {\n\t\t\tscrollByHTMLElement(element);\n\t\t} else {\n\t\t\tdevHint(`Es konnte kein HTMLElement mit dem Selector (${selector}) gefunden werden, zu dem gescrollt werden soll.`);\n\t\t}\n\t} else {\n\t\tdevHint(`Der Selector ist nicht valide, zu dem gescrollt werden soll.`);\n\t}\n};\n\nexport class KoliBriUtils {\n\tprivate static executionLock = false;\n\tprivate static cache = new Map<Element, A11yColorContrast>();\n\tpublic static queryHtmlElementColors(targetNode: HTMLElement, a11yColorContrast: A11yColorContrast, recursion = false, log = true): A11yColorContrast | null {\n\t\tlet returnValue = null;\n\t\tif (recursion === true || KoliBriUtils.executionLock === false) {\n\t\t\tif (recursion === false) {\n\t\t\t\tKoliBriUtils.cache.clear();\n\t\t\t\tKoliBriUtils.cache.set(a11yColorContrast.domNode, a11yColorContrast);\n\t\t\t\tKoliBriUtils.executionLock = true;\n\t\t\t\tif (log === true) {\n\t\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis started...`);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Log.debug(a11yColorContrast.domNode);\n\t\t\tif (targetNode === a11yColorContrast.domNode) {\n\t\t\t\treturnValue = a11yColorContrast;\n\t\t\t} else {\n\t\t\t\tconst children: Set<Element> = new Set<Element>();\n\t\t\t\tif (a11yColorContrast.domNode.shadowRoot) {\n\t\t\t\t\tconst shadowChildren = a11yColorContrast.domNode.shadowRoot.children;\n\t\t\t\t\tfor (let i = 0; i < shadowChildren.length; i++) {\n\t\t\t\t\t\tchildren.add(shadowChildren[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst slotElement: HTMLSlotElement = a11yColorContrast.domNode as HTMLSlotElement;\n\t\t\t\tif (typeof slotElement.assignedNodes === 'function') {\n\t\t\t\t\tconst slotChildren = slotElement.assignedNodes();\n\t\t\t\t\tfor (let i = 0; i < slotChildren.length; i++) {\n\t\t\t\t\t\tif (slotChildren[i] instanceof HTMLElement) {\n\t\t\t\t\t\t\tchildren.add(slotChildren[i] as HTMLElement);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst domChildren = a11yColorContrast.domNode.children;\n\t\t\t\tfor (let i = 0; i < domChildren.length; i++) {\n\t\t\t\t\tchildren.add(domChildren[i]);\n\t\t\t\t}\n\t\t\t\tconst arrayChildren = Array.from(children);\n\t\t\t\tfor (let i = 0; i < arrayChildren.length; i++) {\n\t\t\t\t\tlet colorContrast: A11yColorContrast | undefined = KoliBriUtils.cache.get(arrayChildren[i]);\n\t\t\t\t\tif (colorContrast === undefined) {\n\t\t\t\t\t\tcolorContrast = koliBriA11yColorContrast(arrayChildren[i] as HTMLElement, a11yColorContrast);\n\t\t\t\t\t}\n\t\t\t\t\tKoliBriUtils.cache.set(arrayChildren[i], colorContrast);\n\t\t\t\t\tconst colors: A11yColorContrast | null = KoliBriUtils.queryHtmlElementColors(targetNode, colorContrast, true, false);\n\t\t\t\t\tif (colors !== null) {\n\t\t\t\t\t\treturnValue = colors;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tLog.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);\n\t\t}\n\t\tif (recursion === false) {\n\t\t\tif (log === true) {\n\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`);\n\t\t\t}\n\t\t\tKoliBriUtils.executionLock = false;\n\t\t\tKoliBriUtils.cache.clear();\n\t\t}\n\t\treturn returnValue;\n\t}\n}\n\nexport class KoliBriDevHelper {\n\tpublic static readonly patchTheme = patchTheme;\n\tpublic static readonly patchThemeTag = patchThemeTag;\n\tpublic static readonly querySelector = koliBriQuerySelector;\n\tpublic static readonly querySelectorAll = koliBriQuerySelectorAll;\n\tpublic static readonly scrollByHTMLElement = scrollByHTMLElement;\n\tpublic static readonly scrollBySelector = scrollBySelector;\n\tpublic static readonly stringifyJson = stringifyJson;\n}\n"],"mappings":";;;wJAAA,MAAMA,EAAY,CAACC,EAAKC,KACpBA,EAASC,SAASC,IACd,GAAIH,EAAII,IAAID,KAAa,MAAO,CAC5BH,EAAIK,IAAIF,EACpB,IACM,EAEC,MAAMG,EAAmB,CAACC,EAAUC,EAAOC,YAC9C,GAAID,aAAgBE,UAChBF,aAAgBG,aAChBH,aAAgBI,WAAY,CAC5B,MAAMX,EAAW,IAAIY,IACrBd,EAAUE,EAAUO,EAAKF,iBAAiBC,IAC1C,MAAMO,EAAWN,EAAKF,iBAAiB,uBACvC,IAAK,IAAIS,EAAI,EAAGA,EAAID,EAASE,OA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gBA,U"}
|
|
1
|
+
{"version":3,"names":["pushNodes","set","domNodes","forEach","domNode","has","add","querySelectorAll","selector","node","document","Document","HTMLElement","ShadowRoot","Set","nodeList","i","length","shadowRoot","Array","from","Error","querySelector","arr","arr_1","obj_1","obj","css_1","css","hex_1","hex","num_1","num","data","a","parse","concat","Math","round","r","g","b","push","String","substr","opaque","num2hex","is","isshort","charAt","toLowerCase","name","hex3","hex6","rgb","rgba","object","array","number","s","toString","h","indexOf","str","hex2num","parseInt","replace","l","isNaN","slice","getnum","val","integer","floor","Object","prototype","call","getPrototypeOf","undefined","red","green","blue","alpha","isArray","match","t","split","map","Number","n","e","u","pow","c","o","f","substring","repeat","max","min","OBJECT_OBJECT","objectObjectHandler","value","cb","test","emptyStringByArrayHandler","setEventTarget","event","target","getExperimalMode","Log","debug","defineProperty","writable","patchState","component","_a","nextHooks","hooks","key","beforePatch","get","nextState","_b","size","state","assign","fromEntries","_c","afterPatch","setState","propName","Map","logWarn","requiredGeneric","devHint","constructor","join","watchValidator","validationFunction","options","required","defaultValue","watchBoolean","watchString","minLength","maxLength","watchNumber","watchJsonArrayString","itemValidation","arrayValidation","items","parseJson","invalid","find","item","error","BOOLEAN","INTEGER","FLOAT","mapString2Unknown","typeStr","oldValue","parseFloat","JSON_CHARS","JSON","stringify","stringifyJson","warn","mapBoolean2String","mapStringOrBoolean2String","koliBriQuerySelector","getDocument","koliBriQuerySelectorAll","DEFAULT_COLOR_CONTRAST","getDefaultColorContrast","backgroundColor","color","body","level","score","TRANSPARENT_REGEXP","koliBriA11yColorContrast","a11yColorContrast","computedStyle","getComputedStyle","hexBG","hexC","diff","contrast","koliBriQuerySelectorColors","selectedNode","scrollByHTMLElement","element","parentElement","window","scrollTo","behavior","top","getBoundingClientRect","getWindow","pageYOffset","focus","scrollBySelector","temp","KoliBriUtils","static","targetNode","recursion","log","returnValue","executionLock","cache","clear","children","shadowChildren","slotElement","assignedNodes","slotChildren","domChildren","arrayChildren","colorContrast","colors","queryHtmlElementColors","KoliBriDevHelper","patchTheme","patchThemeTag"],"sources":["./node_modules/query-selector-all-shadow-root/esm/index.js","./node_modules/query-selector-shadow-root/esm/index.js","./node_modules/rgba-convert/index.js","./node_modules/wcag-contrast/dist/index.m.js","./src/utils/prop.validators.ts"],"sourcesContent":["const pushNodes = (set, domNodes) => {\n domNodes.forEach((domNode) => {\n if (set.has(domNode) === false) {\n set.add(domNode);\n }\n });\n};\nexport const querySelectorAll = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n const domNodes = new Set();\n pushNodes(domNodes, node.querySelectorAll(selector));\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n pushNodes(domNodes, querySelectorAll(selector, shadowRoot));\n }\n else {\n pushNodes(domNodes, querySelectorAll(selector, nodeList[i]));\n }\n }\n return Array.from(domNodes);\n }\n else {\n throw new Error(`The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","export const querySelector = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n let domNode = node.querySelector(selector);\n if (domNode === null) {\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n domNode = querySelector(selector, shadowRoot);\n }\n else {\n domNode = querySelector(selector, nodeList[i]);\n }\n if (domNode !== null) {\n break;\n }\n }\n }\n return domNode;\n }\n else {\n throw new Error(`The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","\nmodule.exports = arr\nmodule.exports.arr = arr\nmodule.exports.obj = obj\nmodule.exports.css = css\nmodule.exports.hex = hex\nmodule.exports.num = num\n\nfunction arr(data) {\n var a = parse(data)\n if (a.length == 3) {\n return a.concat(255)\n } else {\n a[3] = Math.round(a[3])\n return a\n }\n}\n\nfunction obj(data) {\n var a = parse(data)\n return {\n r: a[0],\n g: a[1],\n b: a[2],\n a: a.length == 3\n ? 255\n : Math.round(a[3])\n }\n}\n\nfunction css(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n\n return a[3] == 255\n ? 'rgb(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')'\n : a[3] == 0\n ? 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', 0)'\n : 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + String(a[3] / 255).substr(1) + ')'\n}\n\nfunction hex(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n var opaque = a[3] == 255\n var r = num2hex(a[0])\n var g = num2hex(a[1])\n var b = num2hex(a[2])\n var a = num2hex(Math.round(a[3]))\n var is = isshort(r, g, b, a)\n if (opaque) {\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0)\n : '#' + r + g + b\n }\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0) + a.charAt(0)\n : '#' + r + g + b + a\n}\n\nfunction num(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n else a[3] = Math.round(a[3])\n return ((a[3] << 24) >>> 0 | a[0] << 16 | a[1] << 8 | a[2]) >>> 0\n}\n\nfunction parse(data) {\n if (typeof data == 'string') {\n data = data.toLowerCase()\n return name(data)\n || hex3(data)\n || hex6(data)\n || rgb(data)\n || rgba(data)\n || [0, 0, 0, 255]\n }\n return object(data)\n || array(data)\n || number(data)\n || [0, 0, 0, 255]\n}\n\nfunction num2hex(num) {\n var s = num.toString(16)\n return s.length == 1\n ? '0' + s\n : s\n}\n\nfunction isshort(r, g, b, a) {\n var h = ['ff', '00', '11', '22', '33', '44', '55', '66',\n '77', '88', '99', 'aa', 'bb', 'cc', 'dd', 'ee']\n return h.indexOf(r) != -1\n && h.indexOf(g) != -1\n && h.indexOf(b) != -1\n && h.indexOf(a) != -1\n}\n\nfunction name(str) {\n if (str == 'red') return [255, 0, 0]\n if (str == 'green') return [0, 255, 0]\n if (str == 'blue') return [0, 0, 255]\n if (str == 'black') return [0, 0, 0]\n if (str == 'white') return [255, 255, 255]\n if (str == 'cyan') return [0, 255, 255]\n if (str == 'gray') return [128, 128, 128]\n if (str == 'grey') return [128, 128, 128]\n if (str == 'magenta') return [255, 0, 255]\n // ok, not the real css `pink` but my personal `magenta` alias\n // `pink` is simpler than `fuchsia`, whatever...\n if (str == 'pink') return [255, 0, 255]\n if (str == 'yellow') return [255, 255, 0]\n}\n\nfunction hex2num(str) {\n return str.length == 1\n ? parseInt(str + str, 16)\n : parseInt(str, 16)\n}\n\nfunction hex3(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 3 || l == 4) {\n var r = hex2num(s[0])\n var g = hex2num(s[1])\n var b = hex2num(s[2])\n var a = l == 3\n ? 255\n : hex2num(s[3])\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction hex6(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 6 || l == 8) {\n var r = hex2num(s.slice(0, 2))\n var g = hex2num(s.slice(2, 4))\n var b = hex2num(s.slice(4, 6))\n var a = l == 6\n ? 255\n : hex2num(s.slice(6, 8))\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction getnum(val, integer) {\n if (typeof val != 'number') return -1\n if (integer === true && Math.floor(val) !== val) return -1\n return val >= 0 && val <= 255\n ? val\n : -1\n}\n\nfunction object(obj) {\n if (Object.prototype.toString.call(obj) === '[object Object]'\n && Object.getPrototypeOf(obj) === Object.getPrototypeOf({})) {\n var r = getnum(obj.r != undefined ? obj.r : obj.red != undefined ? obj.red : 0, true)\n var g = getnum(obj.g != undefined ? obj.g : obj.green != undefined ? obj.green : 0, true)\n var b = getnum(obj.b != undefined ? obj.b : obj.blue != undefined ? obj.blue : 0, true)\n var a = getnum(obj.a != undefined ? obj.a : obj.alpha != undefined ? obj.alpha : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction array(arr) {\n if (Array.isArray(arr) && (arr.length == 3 || arr.length == 4)) {\n var r = getnum(arr[0], true)\n var g = getnum(arr[1], true)\n var b = getnum(arr[2], true)\n var a = getnum(arr[3] != undefined ? arr[3] : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction number(num) {\n if (typeof num == 'number' && Math.floor(num) == num && num <= 4294967295 && num >= 0) {\n var a = num >> 24 & 255\n var r = num >> 16 & 255\n var g = num >> 8 & 255\n var b = num & 255\n return [r, g, b, a]\n }\n}\n\nfunction rgb(str) {\n if (str.substr(0, 4) == 'rgb(') {\n str = str.match(/^rgb\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n if (r != -1 && g != -1 && b != -1) {\n return [r, g, b, 255]\n }\n }\n}\n\nfunction rgba(str) {\n if (str.substr(0, 5) == 'rgba(') {\n str = str.match(/^rgba\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n var a = getnum(t[3] * 255)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n","var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,\"\")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return[t>>16,t>>8&255,255&t,r]}function c(n,r){return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s(n,r){return o(i(n),i(r))}function f(n){return n>=7?\"AAA\":n>=4.5?\"AA\":n>=3?\"AA Large\":\"Fail\"}export{c as luminance,o as rgb,s as hex,f as score};\n//# sourceMappingURL=index.m.js.map\n","import { patchTheme, patchThemeTag } from '@a11y-ui/core';\nimport { querySelectorAll } from 'query-selector-all-shadow-root';\nimport { querySelector } from 'query-selector-shadow-root';\nimport rgba from 'rgba-convert';\nimport { hex, score } from 'wcag-contrast';\nimport { Generic } from '@a11y-ui/core';\n\nimport { devHint } from './a11y.tipps';\nimport { getDocument, getExperimalMode, getWindow, Log } from './dev.utils';\nimport { Stringified } from '../types/common';\n\n// https://regex101.com/r/lSYLO9/1\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines komplexer Objekte\n * der String \"[object Object]\" an die Web Component übergeben wird. Um den Neben-\n * effekt abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nconst OBJECT_OBJECT = /\\[object Object\\]/;\nexport const objectObjectHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && OBJECT_OBJECT.test(value)) {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines leeren Array's\n * ein leerer String an die Web Component übergeben wird. Um den Nebeneffekt\n * abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nexport const emptyStringByArrayHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && value === '') {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei interaktiven HTML-Elementen kommt es vor, dass der Event an einem nicht\n * interaktiven HTML-Element \"lostriggert\" und dann den DOM-Baum hoch propagiert.\n * Zu unterschiedlichen Zeitpunkten sind an dem einen Event somit immer unterschiedliche\n * HTML-Elemente.\n * Damit wir das \"richtige\" interaktive HTML-Element an das Event binden, setzen\n * wir das Target explizit und stoppen die Propagation.\n */\nexport const setEventTarget = (event: Event, target?: HTMLElement): void => {\n\tif (getExperimalMode()) {\n\t\tLog.debug([event, target]);\n\t\tLog.debug(`↑ We propagate the (submit) event to this target.`);\n\t}\n\tObject.defineProperty(event, 'target', {\n\t\tvalue: target,\n\t\twritable: false,\n\t});\n};\n\nconst patchState = (component: Generic.Element.Component): void => {\n\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\tconst beforePatch = hooks.get('beforePatch') as Generic.Element.NextStateHooksCallback;\n\t\tif (typeof beforePatch === 'function') {\n\t\t\tbeforePatch(component.nextState?.get(key), component.nextState as Map<string, unknown>, component, key);\n\t\t}\n\t});\n\t/**\n\t * Wenn in beforePatch Methoden die Änderung verworfen wird,\n\t * muss auch nicht der State aktualisiert und neu gerendert\n\t * werden.\n\t */\n\tif ((component.nextState as Map<string, unknown>)?.size > 0) {\n\t\tcomponent.state = {\n\t\t\t...component.state,\n\t\t\t...Object.fromEntries(component.nextState as Map<string, unknown>),\n\t\t};\n\t\tdelete component.nextState;\n\n\t\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\t\tconst afterPatch = hooks.get('afterPatch') as Generic.Element.StateHooksCallback;\n\t\t\tif (typeof afterPatch === 'function') {\n\t\t\t\tafterPatch(component.state[key], component.state, component, key);\n\t\t\t}\n\t\t});\n\t}\n\tdelete component.nextHooks;\n};\n\ntype SetStateHooks = {\n\tafterPatch?: Generic.Element.StateHooksCallback;\n\tbeforePatch?: Generic.Element.NextStateHooksCallback;\n};\n\nexport const setState = <T>(component: Generic.Element.Component, propName: string, value?: T | null | undefined, hooks: SetStateHooks = {}): void => {\n\tif (component.nextHooks === undefined) {\n\t\tcomponent.nextHooks = new Map();\n\t}\n\tif (component.nextState === undefined) {\n\t\tcomponent.nextState = new Map();\n\t}\n\tif (component.nextState.get(propName) !== value) {\n\t\tconst nextHooks = component.nextHooks.get(propName);\n\t\tif (nextHooks instanceof Map === false) {\n\t\t\tcomponent.nextHooks.set(propName, new Map());\n\t\t}\n\t\tif (typeof hooks.afterPatch === 'function') {\n\t\t\tcomponent.nextHooks.get(propName)?.set('afterPatch', hooks.afterPatch);\n\t\t}\n\t\tif (typeof hooks.beforePatch === 'function') {\n\t\t\tcomponent.nextHooks.get(propName)?.set('beforePatch', hooks.beforePatch);\n\t\t}\n\t\tcomponent.nextState.set(propName, value);\n\t\t/**\n\t\t * Muss erstmal in sync bleiben, da sonst der\n\t\t * Tooltip nicht korrekt ausgerichtet wird.\n\t\t */\n\t\t// if (component.hydrated === true || processEnv !== 'test') {\n\t\t// clearTimeout(component.timeout as NodeJS.Timeout);\n\t\t// component.timeout = setTimeout(() => {\n\t\t// \tclearTimeout(component.timeout as NodeJS.Timeout);\n\t\t// \tpatchState(component);\n\t\t// }, 50);\n\t\t// } else {\n\t\tpatchState(component);\n\t\t// }\n\t}\n};\n\nconst logWarn = (component: Generic.Element.Component, propName: string, value: unknown, requiredGeneric: Set<string | null | undefined>): void => {\n\tdevHint(\n\t\t`[${component.constructor.name}] Der Property-Wert (${value as string}) für '${propName}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(\n\t\t\trequiredGeneric\n\t\t).join(', ')}`\n\t);\n};\n\nexport type WatchOptions = {\n\tdefaultValue?: unknown;\n\thooks?: SetStateHooks;\n\trequired?: boolean;\n};\n\nexport type WatchBooleanOptions = WatchOptions & {\n\tdefaultValue?: boolean | null;\n};\n\nexport type WatchStringOptions = WatchOptions & {\n\tdefaultValue?: string | null;\n\tmaxLength?: number;\n\tminLength?: number;\n};\n\nexport type WatchNumberOptions = WatchOptions & {\n\tdefaultValue?: number | null;\n\tmin?: number;\n\tmax?: number;\n};\n\nexport function watchValidator<T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\tvalidationFunction: (value?: T) => boolean,\n\trequiredGeneric: Set<string | null | undefined>,\n\tvalue?: T,\n\toptions: WatchOptions = {}\n): void {\n\tif (validationFunction(value)) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert VALIDE ist.\n\t\t */\n\t\tsetState(component, propName, value, options.hooks);\n\t} else if ((value === undefined || value === null) && !options.required) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert entweder ...\n\t\t * - UNDEFINED oder NULL\n\t\t * - und NICHT REQUIRED\n\t\t * ... ist.\n\t\t */\n\t\tsetState(component, propName, options.defaultValue, options.hooks);\n\t} else {\n\t\t/**\n\t\t * Triff zu, wenn der Wert NICHT valide ist.\n\t\t */\n\t\tif (!options.required) {\n\t\t\trequiredGeneric.add(null);\n\t\t}\n\t\tlogWarn(component, propName, value, requiredGeneric);\n\t}\n}\n\nexport const watchBoolean = (component: Generic.Element.Component, propName: string, value?: boolean, options?: WatchBooleanOptions): void => {\n\twatchValidator(component, propName, (value): boolean => typeof value === 'boolean', new Set(['Boolean {true, false}']), value, options);\n};\n\nexport const watchString = (component: Generic.Element.Component, propName: string, value?: string, options: WatchStringOptions = {}): void => {\n\tconst minLength = typeof options.minLength === 'number' ? options?.minLength : 0;\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'string' && value.length >= minLength && (typeof options?.maxLength === 'undefined' || value.length <= options.maxLength),\n\t\tnew Set([`String`]),\n\t\tvalue,\n\t\toptions\n\t);\n};\n\nexport const watchNumber = (component: Generic.Element.Component, propName: string, value?: number, options?: WatchNumberOptions): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'number' &&\n\t\t\t(typeof options?.min === 'undefined' || (typeof options?.min === 'number' && value >= options.min)) &&\n\t\t\t(typeof options?.max === 'undefined' || (typeof options?.max === 'number' && value <= options.max)),\n\t\tnew Set(['Number']),\n\t\tvalue,\n\t\toptions\n\t);\n};\n\nexport const watchJsonArrayString = <T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\titemValidation: (item: T) => boolean,\n\tvalue?: Stringified<T[]>,\n\tarrayValidation: (items: T[]) => boolean = (items: T[]) => items === items, // nochmal hirnen\n\toptions: WatchOptions = {}\n): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\ttry {\n\t\t\t\t\tvalue = parseJson<T[]>(value);\n\t\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t\t}\n\t\t\t\tif (Array.isArray(value)) {\n\t\t\t\t\tconst invalid = value.find((item: T) => !itemValidation(item));\n\t\t\t\t\tif (invalid === undefined && arrayValidation(value)) {\n\t\t\t\t\t\tsetState(component, propName, value, options.hooks);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tobjectObjectHandler(invalid, () => {\n\t\t\t\t\t\t\tLog.debug(invalid);\n\t\t\t\t\t\t\tthrow new Error(`↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tobjectObjectHandler(value, () => {\n\t\t\t\t\t\tLog.debug(value);\n\t\t\t\t\t\tthrow new Error(`↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.`);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\t/**\n\t\t\t\t * TODO: Wir haben einen Known-Bug beim Propergieren von Zeichenkettenliste (string[]).\n\t\t\t\t */\n\t\t\t\tLog.debug(error);\n\t\t\t\t// devHint(`Known bug: Zeichenkettenliste (string[])`);\n\t\t\t}\n\t\t});\n\t});\n};\n\nconst BOOLEAN = /^(true|false)$/;\nconst INTEGER = /^-?(0|[1-9]\\d*)$/;\nconst FLOAT = /^-?(0.|[1-9]\\d*.)\\d*[1-9]$/;\nexport const mapString2Unknown = (value: unknown) => {\n\tconst typeStr = typeof value;\n\tconst oldValue = `${value as string}`;\n\tif (typeof value === 'string') {\n\t\tif (BOOLEAN.test(value)) {\n\t\t\tvalue = value === 'true';\n\t\t} else if (INTEGER.test(value)) {\n\t\t\tvalue = parseInt(value);\n\t\t} else if (FLOAT.test(value)) {\n\t\t\tvalue = parseFloat(value);\n\t\t} else if (JSON_CHARS.test(value)) {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<unknown>(value);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t}\n\t}\n\tif (typeStr !== typeof value) {\n\t\tdevHint(`You have used a stringified property value (${oldValue} to ${JSON.stringify(value)}) which type switched from ${typeStr} to ${typeof value}!`);\n\t}\n\treturn value;\n};\n\nexport const stringifyJson = (value: unknown): string => {\n\ttry {\n\t\treturn JSON.stringify(value).replace(/\"/g, \"'\");\n\t} catch (error) {\n\t\tLog.warn(['stringifyJson', value]);\n\t\tLog.error(`↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet.`);\n\t\tthrow new Error();\n\t}\n};\n\nconst JSON_CHARS = /^[{[]/; // string starts with { or [\nexport const parseJson = <T>(value: unknown): T => {\n\tif (typeof value === 'string') {\n\t\ttry {\n\t\t\t// \"null\", \"true\", \"false\", \"0\" works too\n\t\t\treturn JSON.parse(value);\n\t\t} catch (error) {\n\t\t\tif (JSON_CHARS.test(value)) {\n\t\t\t\ttry {\n\t\t\t\t\treturn JSON.parse(value.replace(/'/g, '\"'));\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.warn(['parseJson', value]);\n\t\t\t\t\tLog.error(`↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tthrow new Error();\n};\n\nexport const mapBoolean2String = (value?: boolean): string | undefined => {\n\treturn typeof value === 'boolean' ? (value === true ? 'true' : 'false') : undefined;\n};\n\nexport const mapStringOrBoolean2String = (value?: string | boolean): string | undefined => {\n\treturn typeof value === 'string' ? value : mapBoolean2String(value);\n};\n\nexport const koliBriQuerySelector = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T | null =>\n\tquerySelector<T>(selector, node || getDocument());\n\nexport const koliBriQuerySelectorAll = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T[] =>\n\tquerySelectorAll<T>(selector, node || getDocument());\n\ninterface A11yColorContrast {\n\tbackgroundColor: string;\n\tcolor: string;\n\tdomNode: HTMLElement | HTMLSlotElement;\n\tlevel: string;\n\tscore: number;\n}\n\nlet DEFAULT_COLOR_CONTRAST: A11yColorContrast | null = null;\nconst getDefaultColorContrast = (): A11yColorContrast => {\n\tDEFAULT_COLOR_CONTRAST = DEFAULT_COLOR_CONTRAST || {\n\t\tbackgroundColor: '#00000000',\n\t\tcolor: '#00000000',\n\t\tdomNode: getDocument().body,\n\t\tlevel: 'Fail',\n\t\tscore: 1,\n\t};\n\treturn DEFAULT_COLOR_CONTRAST;\n};\n\nconst TRANSPARENT_REGEXP = /(\\d+, ){3}0\\)/;\nexport const koliBriA11yColorContrast = (domNode: HTMLElement, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tconst computedStyle = getComputedStyle(domNode);\n\tconst hexBG: string = TRANSPARENT_REGEXP.test(computedStyle.backgroundColor) ? a11yColorContrast.backgroundColor : rgba.hex(computedStyle.backgroundColor);\n\tconst hexC: string = TRANSPARENT_REGEXP.test(computedStyle.color) ? a11yColorContrast.color : rgba.hex(computedStyle.color);\n\tconst diff = hex(hexBG, hexC);\n\tconst contrast = {\n\t\tbackgroundColor: hexBG,\n\t\tcolor: hexC,\n\t\tdomNode: domNode,\n\t\tlevel: score(diff),\n\t\tscore: diff,\n\t};\n\tif (diff < 4.5) {\n\t\tLog.error([\n\t\t\t'Color-Contrast-Error',\n\t\t\t{\n\t\t\t\tbackgroundColor: contrast.backgroundColor,\n\t\t\t\tcolor: contrast.color,\n\t\t\t\tlevel: contrast.level,\n\t\t\t\tscore: contrast.score,\n\t\t\t},\n\t\t\tcontrast.domNode,\n\t\t]);\n\t}\n\treturn contrast;\n};\n\nexport const koliBriQuerySelectorColors = (selector: string, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tif (a11yColorContrast.domNode instanceof HTMLElement) {\n\t\ta11yColorContrast = koliBriA11yColorContrast(a11yColorContrast.domNode, a11yColorContrast);\n\t}\n\tconst selectedNode: HTMLElement | null = a11yColorContrast.domNode.querySelector<HTMLElement>(selector);\n\tif (selectedNode === null) {\n\t\tconst nodeList: NodeListOf<HTMLElement> = a11yColorContrast.domNode.querySelectorAll<HTMLElement>('[class=\"hydrated\"]');\n\t\tfor (let i = 0; i < nodeList.length; i++) {\n\t\t\t// const shadowRoot: ShadowRoot = nodeList[i].shadowRoot as ShadowRoot;\n\t\t\t// if (typeof shadowRoot === 'object' && shadowRoot !== null) {\n\t\t\t// a11yColorContrast.domNode = shadowRoot;\n\t\t\t// a11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// } else {\n\t\t\ta11yColorContrast.domNode = nodeList[i];\n\t\t\ta11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// }\n\t\t\tif (a11yColorContrast.domNode !== null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a11yColorContrast;\n\t} else {\n\t\treturn koliBriA11yColorContrast(selectedNode, a11yColorContrast);\n\t}\n};\n\nconst scrollByHTMLElement = (element: HTMLElement, parentElement: Window | HTMLElement = window): void => {\n\tif (element instanceof HTMLElement) {\n\t\tparentElement.scrollTo({\n\t\t\tbehavior: 'smooth',\n\t\t\ttop: element.getBoundingClientRect().top + getWindow().pageYOffset - 50,\n\t\t});\n\t\telement.focus();\n\t} else {\n\t\tdevHint(`Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.`);\n\t}\n};\nexport const scrollBySelector = (selector: string, document?: Document | HTMLElement | ShadowRoot): void => {\n\tif (\n\t\t((selector as unknown) instanceof Document || (selector as unknown) instanceof HTMLElement || (selector as unknown) instanceof ShadowRoot) &&\n\t\ttypeof document === 'string'\n\t) {\n\t\tdevHint(\n\t\t\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.`\n\t\t);\n\t\tconst temp = `${document as unknown as string}`;\n\t\tdocument = selector as unknown as Document;\n\t\tselector = temp;\n\t}\n\tif (typeof selector === 'string') {\n\t\tconst element: HTMLElement | null = koliBriQuerySelector<HTMLElement>(selector, document);\n\t\tif (element instanceof HTMLElement) {\n\t\t\tscrollByHTMLElement(element);\n\t\t} else {\n\t\t\tdevHint(`Es konnte kein HTMLElement mit dem Selector (${selector}) gefunden werden, zu dem gescrollt werden soll.`);\n\t\t}\n\t} else {\n\t\tdevHint(`Der Selector ist nicht valide, zu dem gescrollt werden soll.`);\n\t}\n};\n\nexport class KoliBriUtils {\n\tprivate static executionLock = false;\n\tprivate static cache = new Map<Element, A11yColorContrast>();\n\tpublic static queryHtmlElementColors(targetNode: HTMLElement, a11yColorContrast: A11yColorContrast, recursion = false, log = true): A11yColorContrast | null {\n\t\tlet returnValue = null;\n\t\tif (recursion === true || KoliBriUtils.executionLock === false) {\n\t\t\tif (recursion === false) {\n\t\t\t\tKoliBriUtils.cache.clear();\n\t\t\t\tKoliBriUtils.cache.set(a11yColorContrast.domNode, a11yColorContrast);\n\t\t\t\tKoliBriUtils.executionLock = true;\n\t\t\t\tif (log === true) {\n\t\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis started...`);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Log.debug(a11yColorContrast.domNode);\n\t\t\tif (targetNode === a11yColorContrast.domNode) {\n\t\t\t\treturnValue = a11yColorContrast;\n\t\t\t} else {\n\t\t\t\tconst children: Set<Element> = new Set<Element>();\n\t\t\t\tif (a11yColorContrast.domNode.shadowRoot) {\n\t\t\t\t\tconst shadowChildren = a11yColorContrast.domNode.shadowRoot.children;\n\t\t\t\t\tfor (let i = 0; i < shadowChildren.length; i++) {\n\t\t\t\t\t\tchildren.add(shadowChildren[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst slotElement: HTMLSlotElement = a11yColorContrast.domNode as HTMLSlotElement;\n\t\t\t\tif (typeof slotElement.assignedNodes === 'function') {\n\t\t\t\t\tconst slotChildren = slotElement.assignedNodes();\n\t\t\t\t\tfor (let i = 0; i < slotChildren.length; i++) {\n\t\t\t\t\t\tif (slotChildren[i] instanceof HTMLElement) {\n\t\t\t\t\t\t\tchildren.add(slotChildren[i] as HTMLElement);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst domChildren = a11yColorContrast.domNode.children;\n\t\t\t\tfor (let i = 0; i < domChildren.length; i++) {\n\t\t\t\t\tchildren.add(domChildren[i]);\n\t\t\t\t}\n\t\t\t\tconst arrayChildren = Array.from(children);\n\t\t\t\tfor (let i = 0; i < arrayChildren.length; i++) {\n\t\t\t\t\tlet colorContrast: A11yColorContrast | undefined = KoliBriUtils.cache.get(arrayChildren[i]);\n\t\t\t\t\tif (colorContrast === undefined) {\n\t\t\t\t\t\tcolorContrast = koliBriA11yColorContrast(arrayChildren[i] as HTMLElement, a11yColorContrast);\n\t\t\t\t\t}\n\t\t\t\t\tKoliBriUtils.cache.set(arrayChildren[i], colorContrast);\n\t\t\t\t\tconst colors: A11yColorContrast | null = KoliBriUtils.queryHtmlElementColors(targetNode, colorContrast, true, false);\n\t\t\t\t\tif (colors !== null) {\n\t\t\t\t\t\treturnValue = colors;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tLog.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);\n\t\t}\n\t\tif (recursion === false) {\n\t\t\tif (log === true) {\n\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`);\n\t\t\t}\n\t\t\tKoliBriUtils.executionLock = false;\n\t\t\tKoliBriUtils.cache.clear();\n\t\t}\n\t\treturn returnValue;\n\t}\n}\n\nexport class KoliBriDevHelper {\n\tpublic static readonly patchTheme = patchTheme;\n\tpublic static readonly patchThemeTag = patchThemeTag;\n\tpublic static readonly querySelector = koliBriQuerySelector;\n\tpublic static readonly querySelectorAll = koliBriQuerySelectorAll;\n\tpublic static readonly scrollByHTMLElement = scrollByHTMLElement;\n\tpublic static readonly scrollBySelector = scrollBySelector;\n\tpublic static readonly stringifyJson = stringifyJson;\n}\n"],"mappings":";;;wJAAA,MAAMA,EAAY,CAACC,EAAKC,KACpBA,EAASC,SAASC,IACd,GAAIH,EAAII,IAAID,KAAa,MAAO,CAC5BH,EAAIK,IAAIF,EACpB,IACM,EAEC,MAAMG,EAAmB,CAACC,EAAUC,EAAOC,YAC9C,GAAID,aAAgBE,UAChBF,aAAgBG,aAChBH,aAAgBI,WAAY,CAC5B,MAAMX,EAAW,IAAIY,IACrBd,EAAUE,EAAUO,EAAKF,iBAAiBC,IAC1C,MAAMO,EAAWN,EAAKF,iBAAiB,uBACvC,IAAK,IAAIS,EAAI,EAAGA,EAAID,EAASE,OAAQD,IAAK,CACtC,MAAME,EAAaH,EAASC,GAAGE,WAC/B,UAAWA,IAAe,UAAYA,IAAe,KAAM,CACvDlB,EAAUE,EAAUK,EAAiBC,EAAUU,GAC/D,KACiB,CACDlB,EAAUE,EAAUK,EAAiBC,EAAUO,EAASC,IACxE,CACA,CACQ,OAAOG,MAAMC,KAAKlB,EAC1B,KACS,CACD,MA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EAAShN,IAAIoN,EAAa1M,G,GAI7B,MAAM2M,EAAcpC,EAAkBnL,QAAQkN,SAC9C,IAAK,IAAItM,EAAI,EAAGA,EAAI2M,EAAY1M,OAAQD,IAAK,CAC5CsM,EAAShN,IAAIqN,EAAY3M,G,CAE1B,MAAM4M,EAAgBzM,MAAMC,KAAKkM,GACjC,IAAK,IAAItM,EAAI,EAAGA,EAAI4M,EAAc3M,OAAQD,IAAK,CAC9C,IAAI6M,EAA+ChB,GAAaO,MAAM3F,IAAImG,EAAc5M,IACxF,GAAI6M,IAAkB/I,UAAW,CAChC+I,EAAgBvC,GAAyBsC,EAAc5M,GAAmBuK,E,CAE3EsB,GAAaO,MAAMnN,IAAI2N,EAAc5M,GAAI6M,GACzC,MAAMC,EAAmCjB,GAAakB,uBAAuBhB,EAAYc,EAAe,KAAM,OAC9G,GAAIC,IAAW,KAAM,CACpBZ,EAAcY,EACd,K,QAIG,CACNhH,EAAIC,MAAM,6F,CAEX,GAAIiG,IAAc,MAAO,CACxB,GAAIC,IAAQ,KAAM,CACjBnG,EAAIC,MAAM,oDAAoD8F,GAAaO,MAAMxF,mC,CAElFiF,GAAaM,cAAgB,MAC7BN,GAAaO,MAAMC,O,CAEpB,OAAOH,C,EA7DOL,GAAAM,cAAgB,MAChBN,GAAAO,MAAQ,IAAIhF,IAgE5B,MAAa4F,IACWA,GAAAC,WAAaA,EACbD,GAAAE,cAAgBA,EAChBF,GAAA1M,cAAgBqJ,GAChBqD,GAAAzN,iBAAmBsK,GACnBmD,GAAAhC,oBAAsBA,GACtBgC,GAAArB,iBAAmBA,GACnBqB,GAAAzD,cAAgBA,U"}
|
package/dist/loader/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface CustomElementsDefineOptions {
|
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
13
|
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
15
|
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
16
|
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
17
|
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
@@ -17,6 +17,7 @@ export declare class InputController extends ControlledInputController implement
|
|
|
17
17
|
validateHideLabel(value?: boolean): void;
|
|
18
18
|
validateHint(value?: string): void;
|
|
19
19
|
validateId(value?: string): void;
|
|
20
|
+
validateLabel(value?: string): void;
|
|
20
21
|
validateName(value?: string): void;
|
|
21
22
|
validateOn(value?: InputTypeOnDefault): void;
|
|
22
23
|
validateSmartButton(value?: ButtonProps | string): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { Stringified } from '../../../types/common';
|
|
3
3
|
import { KoliBriHorizontalIcon } from '../../../types/icon';
|
|
4
|
-
|
|
4
|
+
import { PropLabel } from '../../../types/props/label';
|
|
5
|
+
type RequiredProps = PropLabel;
|
|
5
6
|
type OptionalProps = {
|
|
6
7
|
icon: Stringified<KoliBriHorizontalIcon>;
|
|
7
8
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../../types/button-link';
|
|
3
3
|
import { InputTypeOnDefault } from '../../../types/input/types';
|
|
4
|
-
|
|
4
|
+
import { PropLabel } from '../../../types/props';
|
|
5
|
+
type RequiredProps = PropLabel;
|
|
5
6
|
type OptionalProps = {
|
|
6
7
|
accessKey: string;
|
|
7
8
|
adjustHeight: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
4
|
-
import { PropAlert, PropDisabled, PropHideLabel, PropReadOnly, PropRequired, PropTouched } from '../../types/props';
|
|
4
|
+
import { PropAlert, PropDisabled, PropHideLabel, PropLabel, PropReadOnly, PropRequired, PropTouched } from '../../types/props';
|
|
5
|
+
export type InputRequiredProps = PropLabel;
|
|
5
6
|
type RequiredProps = {
|
|
6
7
|
id: string;
|
|
7
8
|
};
|
|
@@ -10,6 +11,6 @@ type OptionalProps = {
|
|
|
10
11
|
hint: string;
|
|
11
12
|
icon: KoliBriHorizontalIcon;
|
|
12
13
|
smartButton: ButtonProps;
|
|
13
|
-
} &
|
|
14
|
+
} & PropAlert & PropDisabled & PropHideLabel & PropReadOnly & PropRequired & PropTouched;
|
|
14
15
|
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
15
16
|
export {};
|
|
@@ -18,6 +18,7 @@ export declare class KolInputCheckbox implements ComponentApi {
|
|
|
18
18
|
_icon?: Stringified<InputCheckboxIcon>;
|
|
19
19
|
_id?: string;
|
|
20
20
|
_indeterminate?: boolean;
|
|
21
|
+
_label: string;
|
|
21
22
|
_name?: string;
|
|
22
23
|
_on?: InputTypeOnDefault;
|
|
23
24
|
_required?: boolean;
|
|
@@ -38,6 +39,7 @@ export declare class KolInputCheckbox implements ComponentApi {
|
|
|
38
39
|
validateIcon(value?: Stringified<InputCheckboxIcon>): void;
|
|
39
40
|
validateId(value?: string): void;
|
|
40
41
|
validateIndeterminate(value?: boolean): void;
|
|
42
|
+
validateLabel(value?: string): void;
|
|
41
43
|
validateName(value?: string): void;
|
|
42
44
|
validateOn(value?: InputTypeOnDefault): void;
|
|
43
45
|
validateRequired(value?: boolean): void;
|
|
@@ -2,8 +2,8 @@ import { Generic } from '@a11y-ui/core';
|
|
|
2
2
|
import { Stringified } from '../../types/common';
|
|
3
3
|
import { AnyIconFontClass } from '../../types/icon';
|
|
4
4
|
import { InputTypeOnDefault } from '../../types/input/types';
|
|
5
|
-
import { InputRequiredProps } from '../input
|
|
6
|
-
import { PropChecked, PropIndeterminate } from '../../types/props';
|
|
5
|
+
import { InputRequiredProps } from '../input/types';
|
|
6
|
+
import { PropChecked, PropIndeterminate, PropLabel } from '../../types/props';
|
|
7
7
|
export type InputCheckboxVariant = 'button' | 'checkbox' | 'default' | 'switch';
|
|
8
8
|
export type InputCheckboxIcon = {
|
|
9
9
|
checked: AnyIconFontClass;
|
|
@@ -41,7 +41,7 @@ type RequiredStates = {
|
|
|
41
41
|
icon: InputCheckboxIcon;
|
|
42
42
|
id: string;
|
|
43
43
|
variant: InputCheckboxVariant;
|
|
44
|
-
} & PropChecked & PropIndeterminate;
|
|
44
|
+
} & PropChecked & PropIndeterminate & PropLabel;
|
|
45
45
|
type OptionalStates = {
|
|
46
46
|
alert: boolean;
|
|
47
47
|
accessKey: string;
|
|
@@ -19,6 +19,7 @@ export declare class KolInputColor implements ComponentApi {
|
|
|
19
19
|
_hint?: string;
|
|
20
20
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
21
21
|
_id?: string;
|
|
22
|
+
_label: string;
|
|
22
23
|
_list?: Stringified<string[]>;
|
|
23
24
|
_name?: string;
|
|
24
25
|
_on?: InputTypeOnDefault;
|
|
@@ -37,6 +38,7 @@ export declare class KolInputColor implements ComponentApi {
|
|
|
37
38
|
validateHint(value?: string): void;
|
|
38
39
|
validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void;
|
|
39
40
|
validateId(value?: string): void;
|
|
41
|
+
validateLabel(value?: string): void;
|
|
40
42
|
validateList(value?: Stringified<string[]>): void;
|
|
41
43
|
validateName(value?: string): void;
|
|
42
44
|
validateOn(value?: InputTypeOnDefault): void;
|
|
@@ -3,7 +3,8 @@ import { ButtonProps } from '../../types/button-link';
|
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
5
5
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
6
|
-
import { InputRequiredProps } from '../input
|
|
6
|
+
import { InputRequiredProps } from '../input/types';
|
|
7
|
+
import { PropLabel } from '../../types/props';
|
|
7
8
|
type RequiredProps = InputRequiredProps;
|
|
8
9
|
type OptionalProps = {
|
|
9
10
|
accessKey: string;
|
|
@@ -27,7 +28,7 @@ type RequiredStates = {
|
|
|
27
28
|
autoComplete: InputTypeOnOff;
|
|
28
29
|
id: string;
|
|
29
30
|
list: string[];
|
|
30
|
-
};
|
|
31
|
+
} & PropLabel;
|
|
31
32
|
type OptionalStates = {
|
|
32
33
|
accessKey: string;
|
|
33
34
|
alert: boolean;
|
|
@@ -26,6 +26,7 @@ export declare class KolInputDate implements ComponentApi {
|
|
|
26
26
|
_hint?: string;
|
|
27
27
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
28
28
|
_id?: string;
|
|
29
|
+
_label: string;
|
|
29
30
|
_list?: Stringified<string[]>;
|
|
30
31
|
_max?: Iso8601 | Date;
|
|
31
32
|
_min?: Iso8601 | Date;
|
|
@@ -42,9 +43,10 @@ export declare class KolInputDate implements ComponentApi {
|
|
|
42
43
|
state: States;
|
|
43
44
|
private valueAsIsoDate;
|
|
44
45
|
private validateDateString;
|
|
45
|
-
|
|
46
|
+
validateLabel(value?: string): void;
|
|
46
47
|
validateMax(value?: Iso8601 | Date): void;
|
|
47
48
|
validateMin(value?: Iso8601 | Date): void;
|
|
49
|
+
validateOn(value?: InputTypeOnDefault): void;
|
|
48
50
|
validateValue(value?: Iso8601 | Date | null): void;
|
|
49
51
|
componentWillLoad(): void;
|
|
50
52
|
}
|
|
@@ -2,12 +2,13 @@ import { Generic } from '@a11y-ui/core';
|
|
|
2
2
|
import { InputDateType, OptionalInputProps } from '../../types/input/control/number';
|
|
3
3
|
import { Iso8601 } from '../../types/input/iso8601';
|
|
4
4
|
import { InputTypeOnDefault } from '../../types/input/types';
|
|
5
|
-
import { InputRequiredProps } from '../input
|
|
5
|
+
import { InputRequiredProps } from '../input/types';
|
|
6
|
+
import { PropLabel } from '../../types/props';
|
|
6
7
|
type RequiredProps = InputRequiredProps;
|
|
7
8
|
type OptionalProps = OptionalInputProps<Iso8601 | Date> & {
|
|
8
9
|
type: InputDateType;
|
|
9
10
|
};
|
|
10
|
-
type RequiredStates =
|
|
11
|
+
type RequiredStates = PropLabel;
|
|
11
12
|
type OptionalStates = {
|
|
12
13
|
on: InputTypeOnDefault;
|
|
13
14
|
max: Iso8601;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
|
-
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
5
4
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
5
|
+
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
6
6
|
import { ComponentApi, States } from './types';
|
|
7
7
|
export declare class KolInputEmail implements ComponentApi {
|
|
8
8
|
private readonly host?;
|
|
@@ -20,6 +20,7 @@ export declare class KolInputEmail implements ComponentApi {
|
|
|
20
20
|
_hint?: string;
|
|
21
21
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
22
22
|
_id?: string;
|
|
23
|
+
_label: string;
|
|
23
24
|
_list?: Stringified<string[]>;
|
|
24
25
|
_maxLength?: number;
|
|
25
26
|
_multiple?: boolean;
|
|
@@ -45,6 +46,7 @@ export declare class KolInputEmail implements ComponentApi {
|
|
|
45
46
|
validateHint(value?: string): void;
|
|
46
47
|
validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void;
|
|
47
48
|
validateId(value?: string): void;
|
|
49
|
+
validateLabel(value?: string): void;
|
|
48
50
|
validateList(value?: Stringified<string[]>): void;
|
|
49
51
|
validateMaxLength(value?: number): void;
|
|
50
52
|
validateMultiple(value?: boolean): void;
|
|
@@ -2,9 +2,9 @@ import { Generic } from '@a11y-ui/core';
|
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
5
|
-
import { InputRequiredProps } from '../input
|
|
5
|
+
import { InputRequiredProps } from '../input/types';
|
|
6
6
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
7
|
-
import { PropMultiple } from '../../types/props';
|
|
7
|
+
import { PropLabel, PropMultiple } from '../../types/props';
|
|
8
8
|
type RequiredProps = InputRequiredProps;
|
|
9
9
|
type OptionalProps = {
|
|
10
10
|
accessKey: string;
|
|
@@ -35,7 +35,7 @@ type RequiredStates = {
|
|
|
35
35
|
id: string;
|
|
36
36
|
hasValue: boolean;
|
|
37
37
|
list: string[];
|
|
38
|
-
};
|
|
38
|
+
} & PropLabel;
|
|
39
39
|
type OptionalStates = {
|
|
40
40
|
accessKey: string;
|
|
41
41
|
alert: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
|
-
import { InputTypeOnDefault } from '../../types/input/types';
|
|
5
4
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
5
|
+
import { InputTypeOnDefault } from '../../types/input/types';
|
|
6
6
|
import { ComponentApi, States } from './types';
|
|
7
7
|
export declare class KolInputFile implements ComponentApi {
|
|
8
8
|
private readonly host?;
|
|
@@ -19,6 +19,7 @@ export declare class KolInputFile implements ComponentApi {
|
|
|
19
19
|
_hint?: string;
|
|
20
20
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
21
21
|
_id?: string;
|
|
22
|
+
_label: string;
|
|
22
23
|
_multiple?: boolean;
|
|
23
24
|
_name?: string;
|
|
24
25
|
_on?: InputTypeOnDefault;
|
|
@@ -38,6 +39,7 @@ export declare class KolInputFile implements ComponentApi {
|
|
|
38
39
|
validateHint(value?: string): void;
|
|
39
40
|
validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void;
|
|
40
41
|
validateId(value?: string): void;
|
|
42
|
+
validateLabel(value?: string): void;
|
|
41
43
|
validateMultiple(value?: boolean): void;
|
|
42
44
|
validateName(value?: string): void;
|
|
43
45
|
validateOn(value?: InputTypeOnDefault): void;
|
|
@@ -2,8 +2,9 @@ import { Generic } from '@a11y-ui/core';
|
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault } from '../../types/input/types';
|
|
5
|
-
import { InputRequiredProps } from '../input
|
|
5
|
+
import { InputRequiredProps } from '../input/types';
|
|
6
6
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
7
|
+
import { PropLabel } from '../../types/props';
|
|
7
8
|
type RequiredProps = InputRequiredProps;
|
|
8
9
|
type OptionalProps = {
|
|
9
10
|
accept: string;
|
|
@@ -26,7 +27,7 @@ type OptionalProps = {
|
|
|
26
27
|
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
27
28
|
type RequiredStates = {
|
|
28
29
|
id: string;
|
|
29
|
-
};
|
|
30
|
+
} & PropLabel;
|
|
30
31
|
type OptionalStates = {
|
|
31
32
|
accept: string;
|
|
32
33
|
alert: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
|
+
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
4
5
|
import { InputNumberType } from '../../types/input/control/number';
|
|
5
6
|
import { Iso8601 } from '../../types/input/iso8601';
|
|
6
7
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
7
|
-
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
8
8
|
import { ComponentApi, States } from './types';
|
|
9
9
|
export declare class KolInputNumber implements ComponentApi {
|
|
10
10
|
private readonly host?;
|
|
@@ -22,6 +22,7 @@ export declare class KolInputNumber implements ComponentApi {
|
|
|
22
22
|
_hint?: string;
|
|
23
23
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
24
24
|
_id?: string;
|
|
25
|
+
_label: string;
|
|
25
26
|
_list?: Stringified<string[]>;
|
|
26
27
|
_max?: number | Iso8601;
|
|
27
28
|
_min?: number | Iso8601;
|
|
@@ -47,6 +48,7 @@ export declare class KolInputNumber implements ComponentApi {
|
|
|
47
48
|
validateHint(value?: string): void;
|
|
48
49
|
validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void;
|
|
49
50
|
validateId(value?: string): void;
|
|
51
|
+
validateLabel(value?: string): void;
|
|
50
52
|
validateList(value?: Stringified<string[]>): void;
|
|
51
53
|
validateMax(value?: number | Iso8601): void;
|
|
52
54
|
validateMin(value?: number | Iso8601): void;
|
|
@@ -3,8 +3,9 @@ import { ButtonProps } from '../../types/button-link';
|
|
|
3
3
|
import { InputNumberType, OptionalInputProps } from '../../types/input/control/number';
|
|
4
4
|
import { Iso8601 } from '../../types/input/iso8601';
|
|
5
5
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
6
|
-
import { InputRequiredProps } from '../input
|
|
6
|
+
import { InputRequiredProps } from '../input/types';
|
|
7
7
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
8
|
+
import { PropLabel } from '../../types/props';
|
|
8
9
|
type RequiredProps = InputRequiredProps;
|
|
9
10
|
type OptionalProps = OptionalInputProps<number | Iso8601> & {
|
|
10
11
|
placeholder: string;
|
|
@@ -16,7 +17,7 @@ type RequiredStates = {
|
|
|
16
17
|
id: string;
|
|
17
18
|
list: string[];
|
|
18
19
|
type: InputNumberType;
|
|
19
|
-
};
|
|
20
|
+
} & PropLabel;
|
|
20
21
|
type OptionalStates = {
|
|
21
22
|
accessKey: string;
|
|
22
23
|
alert: boolean;
|
|
@@ -20,6 +20,7 @@ export declare class KolInputPassword implements ComponentApi {
|
|
|
20
20
|
_hint?: string;
|
|
21
21
|
_icon?: Stringified<KoliBriHorizontalIcon>;
|
|
22
22
|
_id?: string;
|
|
23
|
+
_label: string;
|
|
23
24
|
_maxLength?: number;
|
|
24
25
|
_name?: string;
|
|
25
26
|
_on?: InputTypeOnDefault;
|
|
@@ -43,6 +44,7 @@ export declare class KolInputPassword implements ComponentApi {
|
|
|
43
44
|
validateHint(value?: string): void;
|
|
44
45
|
validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void;
|
|
45
46
|
validateId(value?: string): void;
|
|
47
|
+
validateLabel(value?: string): void;
|
|
46
48
|
validateMaxLength(value?: number): void;
|
|
47
49
|
validateName(value?: string): void;
|
|
48
50
|
validateOn(value?: InputTypeOnDefault): void;
|
|
@@ -2,8 +2,9 @@ import { Generic } from '@a11y-ui/core';
|
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
5
|
-
import { InputRequiredProps } from '../input
|
|
5
|
+
import { InputRequiredProps } from '../input/types';
|
|
6
6
|
import { KoliBriHorizontalIcon } from '../../types/icon';
|
|
7
|
+
import { PropLabel } from '../../types/props';
|
|
7
8
|
type RequiredProps = InputRequiredProps;
|
|
8
9
|
type OptionalProps = {
|
|
9
10
|
accessKey: string;
|
|
@@ -32,7 +33,7 @@ type RequiredStates = {
|
|
|
32
33
|
autoComplete: InputTypeOnOff;
|
|
33
34
|
hasValue: boolean;
|
|
34
35
|
id: string;
|
|
35
|
-
};
|
|
36
|
+
} & PropLabel;
|
|
36
37
|
type OptionalStates = {
|
|
37
38
|
accessKey: string;
|
|
38
39
|
alert: boolean;
|
|
@@ -17,6 +17,7 @@ export declare class KolInputRadio implements ComponentApi {
|
|
|
17
17
|
_hideLabel?: boolean;
|
|
18
18
|
_hint?: string;
|
|
19
19
|
_id?: string;
|
|
20
|
+
_label: string;
|
|
20
21
|
_list: Stringified<Option<W3CInputValue>[]>;
|
|
21
22
|
_name?: string;
|
|
22
23
|
_on?: InputTypeOnDefault;
|
|
@@ -34,6 +35,7 @@ export declare class KolInputRadio implements ComponentApi {
|
|
|
34
35
|
validateHideLabel(value?: boolean): void;
|
|
35
36
|
validateHint(value?: string): void;
|
|
36
37
|
validateId(value?: string): void;
|
|
38
|
+
validateLabel(value?: string): void;
|
|
37
39
|
validateList(value?: Stringified<Option<W3CInputValue>[]>): void;
|
|
38
40
|
validateName(value?: string): void;
|
|
39
41
|
validateOn(value?: InputTypeOnDefault): void;
|