@public-ui/visual-tests 4.3.0-rc.0 → 4.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js +2 -0
- package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js.map +1 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js +2 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js.map +1 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js +2 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js.map +1 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js +2 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js.map +1 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js +2 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js.map +1 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js +2 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js.map +1 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js +2 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js.map +1 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js +2 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js.map +1 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js +2 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js.map +1 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js +2 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js.map +1 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js +2 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js.map +1 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js +2 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js.map +1 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js +2 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js.map +1 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js +2 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js.map +1 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js +2 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js.map +1 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js +2 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js.map +1 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js +2 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js.map +1 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js +2 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js.map +1 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js +2 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js.map +1 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js +2 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js.map +1 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js +2 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js.map +1 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js +2 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js.map +1 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js +2 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js.map +1 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js +2 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js.map +1 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js +15 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js.map +1 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js +2 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js.map +1 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js +2 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js.map +1 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js +2 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js.map +1 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js +2 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js.map +1 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js +2 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js.map +1 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js +2 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js.map +1 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js +2 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js.map +1 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js +2 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js.map +1 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js +2 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js.map +1 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js +14 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js.map +1 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js +14 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js.map +1 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js +2 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js.map +1 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js +2 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js.map +1 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js +2 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js.map +1 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js +2 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js.map +1 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js +2 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js.map +1 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js +2 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js.map +1 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js +2 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js.map +1 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js +2 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js.map +1 -0
- package/app/dist/assets/index-CLYw1HnO.js +168 -0
- package/app/dist/assets/index-CLYw1HnO.js.map +1 -0
- package/app/dist/assets/index-DntD6gvY.css +1 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js +2 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js.map +1 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js +2 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js.map +1 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js +2 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js.map +1 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js +379 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js.map +1 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js +379 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js.map +1 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js +2 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js.map +1 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js +417 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js.map +1 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js +232 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js.map +1 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js +392 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js.map +1 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js +423 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js.map +1 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js +416 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js.map +1 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js +2 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js.map +1 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js +398 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js.map +1 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js +2 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js.map +1 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js +426 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js.map +1 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js +2 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js.map +1 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js +539 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js.map +1 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js +470 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js.map +1 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js +2 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js.map +1 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js +439 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js.map +1 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js +468 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js.map +1 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js +454 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js.map +1 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js +213 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js.map +1 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js +106 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js.map +1 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js +215 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js.map +1 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js +608 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js.map +1 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js +483 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js.map +1 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js +492 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js.map +1 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js +466 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js.map +1 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js +518 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js.map +1 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js +480 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js.map +1 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js +476 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js.map +1 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js +584 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js.map +1 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js +516 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js.map +1 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js +466 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js.map +1 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js +219 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js.map +1 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js +398 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js.map +1 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js +2 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js.map +1 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js +412 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js.map +1 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js +312 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js.map +1 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js +439 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js.map +1 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js +415 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js.map +1 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js +2 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js.map +1 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js +515 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js.map +1 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js +2 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js.map +1 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js +423 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js.map +1 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js +293 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js.map +1 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js +229 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js.map +1 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js +2 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js.map +1 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js +480 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js.map +1 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js +547 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js.map +1 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js +2 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js.map +1 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js +431 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js.map +1 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js +358 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js.map +1 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js +413 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js.map +1 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js +2 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js.map +1 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js +847 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js.map +1 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js +2 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js.map +1 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js +712 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js.map +1 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js +437 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js.map +1 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js +464 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js.map +1 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js +427 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js.map +1 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js +437 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js.map +1 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js +2 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js.map +1 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js +2 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js.map +1 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js +341 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js.map +1 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js +2 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js.map +1 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js +219 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js.map +1 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js +208 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js.map +1 -0
- package/app/dist/assets/kolibri.ico +0 -0
- package/app/dist/assets/kolicons/kolicons.eot +0 -0
- package/app/dist/assets/kolicons/kolicons.json +29 -0
- package/app/dist/assets/kolicons/kolicons.svg +93 -0
- package/app/dist/assets/kolicons/kolicons.ttf +0 -0
- package/app/dist/assets/kolicons/kolicons.woff +0 -0
- package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/app/dist/assets/kolicons/style.css +49 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js +2 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js.map +1 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js +2 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js.map +1 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js +2 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js.map +1 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js +2 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js.map +1 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js +2 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js.map +1 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js +2 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js.map +1 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js +2 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js.map +1 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js +2 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js.map +1 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js +2 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js.map +1 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js +2 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js.map +1 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js +2 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js.map +1 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js +2 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js.map +1 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js +2 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js.map +1 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js +2 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js.map +1 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js +2 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js.map +1 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js +2 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js.map +1 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js +2 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js.map +1 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js +2 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js.map +1 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js +2 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js.map +1 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js +2 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js.map +1 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js +2 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js.map +1 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js +2 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js.map +1 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js +2 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js.map +1 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js +2 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js.map +1 -0
- package/app/dist/index.html +27 -0
- package/app/dist/robots.txt +2 -0
- package/app/dist/sample-image.png +0 -0
- package/app/index.html +26 -0
- package/app/public/assets/kolibri.ico +0 -0
- package/app/public/assets/kolicons/kolicons.eot +0 -0
- package/app/public/assets/kolicons/kolicons.json +29 -0
- package/app/public/assets/kolicons/kolicons.svg +93 -0
- package/app/public/assets/kolicons/kolicons.ttf +0 -0
- package/app/public/assets/kolicons/kolicons.woff +0 -0
- package/app/public/assets/kolicons/kolicons.woff2 +0 -0
- package/app/public/assets/kolicons/style.css +49 -0
- package/app/public/robots.txt +2 -0
- package/app/public/sample-image.png +0 -0
- package/app/src/@shared/_mixins.scss +3 -0
- package/app/src/empty-theme.ts +3 -0
- package/app/src/env.d.ts +3 -0
- package/app/src/main.ts +17 -0
- package/app/src/react.main.tsx +128 -0
- package/app/src/style.scss +117 -0
- package/app/tsconfig.json +31 -0
- package/app/unocss.config.ts +318 -0
- package/app/vite.config.ts +57 -0
- package/package.json +29 -9
- package/src/index.js +42 -16
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as e,n as t,o as n,p as r}from"./index-CLYw1HnO.js";import{n as i}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as a}from"./clsx-COFh-Vc8-alQuJLqj.js";import{t as o}from"./component-DI3pO3QY-DBhA3_XT.js";import{t as s}from"./Heading-uCdB_mbH-DKod8P-f.js";import{t as c}from"./i18n-BkwRYsvE-Baa6kHEL.js";var l=r.forBlock(`kol-alert`)(`icon`),u={error:{label:c(`kol-error`),icon:`kolicon-alert-error`},info:{label:c(`kol-info`),icon:`kolicon-alert-info`},warning:{label:c(`kol-warning`),icon:`kolicon-alert-warning`},success:{label:c(`kol-success`),icon:`kolicon-alert-success`},default:{label:c(`kol-message`),icon:`kolicon-alert-info`}},d=({type:e=`default`})=>{let r=u[e||`default`];return n(t,null,n(`span`,{class:`visually-hidden`},r.label),n(o,{class:l,label:``,icons:r.icon}))},f=r.forBlock(`kol-alert`),p=f(`closer`),m=f(`content`),h=()=>{if(typeof navigator>`u`||typeof navigator.vibrate!=`function`)return;let e=navigator.userActivation;if((e?.isActive||e?.hasBeenActive)&&matchMedia(`(any-pointer: coarse)`).matches)try{navigator.vibrate([100,75,100,75,100])}catch{}},g=(t,r)=>{let{class:o={},alert:l=!1,hasCloser:u=!1,label:g,level:_=0,type:v=`default`,variant:y=`msg`,onAlertTimeout:b,onCloserClick:x}=t,S=i(t,[`class`,`alert`,`hasCloser`,`label`,`level`,`type`,`variant`,`onAlertTimeout`,`onCloserClick`]),C=c(`kol-close-alert`);l&&(h(),setTimeout(()=>{b?.()},1e4));let w=f({hasCloser:!!u,[`type-${v}`]:!0,[`variant-${y}`]:!0}),T=f(`heading`,{[`h${_}`]:!0}),E=Object.assign({class:a(o,w)},S);return n(`div`,Object.assign({role:l?`alert`:void 0},E,{"data-testid":`alert`}),n(`div`,{class:`kol-alert__container`},n(d,{label:g,type:v}),n(`div`,{class:`kol-alert__container-content`},g&&n(s,{class:T,level:_,id:`heading`},g),y===`msg`&&n(`span`,{class:m,"aria-describedby":g?`heading`:void 0},r)),u&&n(e,{class:p+` kol-close-button`,"data-testid":`alert-close-button`,_ariaDescription:g?.trim()||``,_hideLabel:!0,_icons:{left:{icon:`kolicon-cross`}},_label:C,_on:{onClick:x},_tooltipAlign:`left`})),y===`card`&&n(`div`,{class:m,"aria-describedby":g?`heading`:void 0},r))};export{g as t};
|
|
2
|
+
//# sourceMappingURL=Alert-LeFfZ8Oj-q6xkBMwW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert-LeFfZ8Oj-q6xkBMwW.js","names":[],"sources":["../../../../../components/dist/esm/Alert-LeFfZ8Oj.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h, F as Fragment } from './index-CwtGN7ID.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { b as KolButtonWcTag } from './component-names-Dy77vq43.js';\nimport { t as translate } from './i18n-BkwRYsvE.js';\nimport { b as bem } from './bem-registry-CqAKWtWY.js';\nimport { I as IconFC } from './component-DI3pO3QY.js';\nimport { K as KolHeadingFc } from './Heading-uCdB_mbH.js';\n\nconst alertBem$1 = bem.forBlock('kol-alert');\nconst BEM_CLASS_ALERT__ICON = alertBem$1('icon');\nconst ALERT_ICON_CONFIG = {\n error: {\n label: translate('kol-error'),\n icon: 'kolicon-alert-error',\n },\n info: {\n label: translate('kol-info'),\n icon: 'kolicon-alert-info',\n },\n warning: {\n label: translate('kol-warning'),\n icon: 'kolicon-alert-warning',\n },\n success: {\n label: translate('kol-success'),\n icon: 'kolicon-alert-success',\n },\n default: {\n label: translate('kol-message'),\n icon: 'kolicon-alert-info',\n },\n};\nconst AlertIcon = ({ type = 'default' }) => {\n const config = ALERT_ICON_CONFIG[type || 'default'];\n return (h(Fragment, null, h(\"span\", { class: \"visually-hidden\" }, config.label), h(IconFC, { class: BEM_CLASS_ALERT__ICON, label: \"\", icons: config.icon })));\n};\n\nconst alertBem = bem.forBlock('kol-alert');\nconst BEM_CLASS_ALERT__CLOSER = alertBem('closer');\nconst BEM_CLASS_ALERT__CONTENT = alertBem('content');\nconst vibrateOnError = () => {\n if (typeof navigator === 'undefined' || typeof navigator.vibrate !== 'function') {\n return;\n }\n const ua = navigator.userActivation;\n const hasGesture = (ua === null || ua === void 0 ? void 0 : ua.isActive) || (ua === null || ua === void 0 ? void 0 : ua.hasBeenActive);\n if (!hasGesture) {\n return;\n }\n if (!matchMedia('(any-pointer: coarse)').matches) {\n return;\n }\n try {\n navigator.vibrate([100, 75, 100, 75, 100]);\n }\n catch (_a) {\n }\n};\nconst KolAlertFc = (props, children) => {\n const { class: classNames = {}, alert = false, hasCloser = false, label, level = 0, type = 'default', variant = 'msg', onAlertTimeout, onCloserClick } = props, other = __rest(props, [\"class\", \"alert\", \"hasCloser\", \"label\", \"level\", \"type\", \"variant\", \"onAlertTimeout\", \"onCloserClick\"]);\n const translateCloseAlert = translate('kol-close-alert');\n if (alert) {\n vibrateOnError();\n setTimeout(() => {\n onAlertTimeout === null || onAlertTimeout === void 0 ? void 0 : onAlertTimeout();\n }, 10000);\n }\n const BEM_CLASS_ROOT = alertBem({\n hasCloser: !!hasCloser,\n [`type-${type}`]: true,\n [`variant-${variant}`]: true,\n });\n const BEM_CLASS__HEADING = alertBem('heading', {\n [`h${level}`]: true,\n });\n const rootProps = Object.assign({ class: clsx(classNames, BEM_CLASS_ROOT) }, other);\n return (h(\"div\", Object.assign({ role: alert ? 'alert' : undefined }, rootProps, { \"data-testid\": \"alert\" }), h(\"div\", { class: \"kol-alert__container\" }, h(AlertIcon, { label: label, type: type }), h(\"div\", { class: \"kol-alert__container-content\" }, label && (h(KolHeadingFc, { class: BEM_CLASS__HEADING, level: level, id: \"heading\" }, label)), variant === 'msg' && (h(\"span\", { class: BEM_CLASS_ALERT__CONTENT, \"aria-describedby\": label ? 'heading' : undefined }, children))), hasCloser && (h(KolButtonWcTag, { class: BEM_CLASS_ALERT__CLOSER + ' kol-close-button', \"data-testid\": \"alert-close-button\", _ariaDescription: (label === null || label === void 0 ? void 0 : label.trim()) || '', _hideLabel: true, _icons: {\n left: {\n icon: 'kolicon-cross',\n },\n }, _label: translateCloseAlert, _on: { onClick: onCloserClick }, _tooltipAlign: \"left\" }))), variant === 'card' && (h(\"div\", { class: BEM_CLASS_ALERT__CONTENT, \"aria-describedby\": label ? 'heading' : undefined }, children))));\n};\n\nexport { KolAlertFc as K };\n//# sourceMappingURL=Alert-LeFfZ8Oj.js.map\n\n//# sourceMappingURL=Alert-LeFfZ8Oj.js.map"],"mappings":"0TAaA,IAAM,EADa,EAAI,SAAS,WACO,EAAE,MAAM,EACzC,EAAoB,CACtB,MAAO,CACH,MAAO,EAAU,WAAW,EA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AAC,EACK,EAAqB,EAAS,UAAW,EAC1C,IAAI,KAAU,EACnB,CAAC,EACK,EAAY,OAAO,OAAO,CAAE,MAAO,EAAK,EAAY,CAAc,CAAE,EAAG,CAAK,EAClF,OAAQ,EAAE,MAAO,OAAO,OAAO,CAAE,KAAM,EAAQ,QAAU,IAAA,EAAU,EAAG,EAAW,CAAE,cAAe,OAAQ,CAAC,EAAG,EAAE,MAAO,CAAE,MAAO,sBAAuB,EAAG,EAAE,EAAW,CAAS,QAAa,MAAK,CAAC,EAAG,EAAE,MAAO,CAAE,MAAO,8BAA+B,EAAG,GAAU,EAAE,EAAc,CAAE,MAAO,EAA2B,QAAO,GAAI,SAAU,EAAG,CAAK,EAAI,IAAY,OAAU,EAAE,OAAQ,CAAE,MAAO,EAA0B,mBAAoB,EAAQ,UAAY,IAAA,EAAU,EAAG,CAAQ,CAAE,EAAG,GAAc,EAAE,EAAgB,CAAE,MAAO,EAA0B,oBAAqB,cAAe,qBAAsB,iBAAmB,GAAoD,KAAK,GAAM,GAAI,WAAY,GAAM,OAAQ,CACnsB,KAAM,CACF,KAAM,eACV,CACJ,EAAG,OAAQ,EAAqB,IAAK,CAAE,QAAS,CAAc,EAAG,cAAe,MAAO,CAAC,CAAE,EAAG,IAAY,QAAW,EAAE,MAAO,CAAE,MAAO,EAA0B,mBAAoB,EAAQ,UAAY,IAAA,EAAU,EAAG,CAAQ,CAAE,CACvO"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as e,o as t}from"./index-CLYw1HnO.js";import{t as n}from"./dev.utils-Ce_5C3Pe-Dee1ZIk1.js";import{n as r}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as i}from"./clsx-COFh-Vc8-alQuJLqj.js";import{t as a}from"./Heading-uCdB_mbH-DKod8P-f.js";var o=(o,s)=>{let{id:c,class:l,label:u,level:d=1,disabled:f,open:p,onClick:m,HeadingProps:h={},HeadingButtonProps:g={},ContentProps:_={}}=o,v=r(o,[`id`,`class`,`label`,`level`,`disabled`,`open`,`onClick`,`HeadingProps`,`HeadingButtonProps`,`ContentProps`]),y=p?`kolicon-chevron-down`:`kolicon-chevron-right`,b=n(c,`heading`),x=n(c,`control`);return t(`div`,Object.assign({id:c,class:i(`collapsible`,{"collapsible--disabled":f===!0,"collapsible--open":p===!0},l)},v),t(a,{ref:h?.ref,level:d,class:i(`collapsible__heading`,h?.class)},t(e,{class:i(`collapsible__heading-button`,g?.class),ref:g?.ref,slot:`expert`,id:b,_ariaControls:x,_ariaExpanded:p,_disabled:f,_icons:g?._icons||`${y}`,_label:u,_on:{onClick:m}})),t(`div`,{class:i(`collapsible__wrapper`,_?.wrapperClass)},t(`div`,{class:i(`collapsible__wrapper-animation`,_?.animationClass)},t(`div`,{"aria-hidden":p===!1?`true`:void 0,"aria-labelledby":b,role:`region`,class:i(`collapsible__content`,_?.class),id:x},s))))};export{o as t};
|
|
2
|
+
//# sourceMappingURL=Collapsible-BG8kZny4-D7QQckDg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible-BG8kZny4-D7QQckDg.js","names":[],"sources":["../../../../../components/dist/esm/Collapsible-BG8kZny4.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h } from './index-CwtGN7ID.js';\nimport { b as KolButtonWcTag } from './component-names-Dy77vq43.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { a as createRelatedUniqueId } from './dev.utils-Ce_5C3Pe.js';\nimport { K as KolHeadingFc } from './Heading-uCdB_mbH.js';\n\nconst KolCollapsibleFc = (props, children) => {\n const { id, class: classNames, label, level = 1, disabled, open, onClick, HeadingProps = {}, HeadingButtonProps = {}, ContentProps = {} } = props, other = __rest(props, [\"id\", \"class\", \"label\", \"level\", \"disabled\", \"open\", \"onClick\", \"HeadingProps\", \"HeadingButtonProps\", \"ContentProps\"]);\n const icon = open ? 'kolicon-chevron-down' : 'kolicon-chevron-right';\n const headingId = createRelatedUniqueId(id, 'heading');\n const controlId = createRelatedUniqueId(id, 'control');\n return (h(\"div\", Object.assign({ id: id, class: clsx('collapsible', {\n 'collapsible--disabled': disabled === true,\n 'collapsible--open': open === true,\n }, classNames) }, other), h(KolHeadingFc, { ref: HeadingProps === null || HeadingProps === void 0 ? void 0 : HeadingProps.ref, level: level, class: clsx('collapsible__heading', HeadingProps === null || HeadingProps === void 0 ? void 0 : HeadingProps.class) }, h(KolButtonWcTag, { class: clsx('collapsible__heading-button', HeadingButtonProps === null || HeadingButtonProps === void 0 ? void 0 : HeadingButtonProps.class), ref: HeadingButtonProps === null || HeadingButtonProps === void 0 ? void 0 : HeadingButtonProps.ref, slot: \"expert\", id: headingId, _ariaControls: controlId, _ariaExpanded: open, _disabled: disabled, _icons: (HeadingButtonProps === null || HeadingButtonProps === void 0 ? void 0 : HeadingButtonProps._icons) || `${icon}`, _label: label, _on: { onClick } })), h(\"div\", { class: clsx('collapsible__wrapper', ContentProps === null || ContentProps === void 0 ? void 0 : ContentProps.wrapperClass) }, h(\"div\", { class: clsx('collapsible__wrapper-animation', ContentProps === null || ContentProps === void 0 ? void 0 : ContentProps.animationClass) }, h(\"div\", { \"aria-hidden\": open === false ? 'true' : undefined, \"aria-labelledby\": headingId, role: \"region\", class: clsx('collapsible__content', ContentProps === null || ContentProps === void 0 ? void 0 : ContentProps.class), id: controlId }, children)))));\n};\n\nexport { KolCollapsibleFc as K };\n//# sourceMappingURL=Collapsible-BG8kZny4.js.map\n\n//# sourceMappingURL=Collapsible-BG8kZny4.js.map"],"mappings":"4PAUA,IAAM,GAAoB,EAAO,IAAa,CAC1C,GAAM,CAAE,KAAI,MAAO,EAAY,QAAO,QAAQ,EAAG,WAAU,OAAM,UAAS,eAAe,CAAC,EAAG,qBAAqB,CAAC,EAAG,eAAe,CAAC,GAAM,EAAO,EAAQ,EAAO,EAAO,CAAC,KAAM,QAAS,QAAS,QAAS,WAAY,OAAQ,UAAW,eAAgB,qBAAsB,cAAc,CAAC,EACzR,EAAO,EAAO,uBAAyB,wBACvC,EAAY,EAAsB,EAAI,SAAS,EAC/C,EAAY,EAAsB,EAAI,SAAS,EACrD,OAAQ,EAAE,MAAO,OAAO,OAAO,CAAM,KAAI,MAAO,EAAK,cAAe,CAC5D,wBAAyB,IAAa,GACtC,oBAAqB,IAAS,EAClC,EAAG,CAAU,CAAE,EAAG,CAAK,EAAG,EAAE,EAAc,CAAE,IAAK,GAAyE,IAAY,QAAO,MAAO,EAAK,uBAAwB,GAAyE,KAAK,CAAE,EAAG,EAAE,EAAgB,CAAE,MAAO,EAAK,8BAA+B,GAA2F,KAAK,EAAG,IAAK,GAA2F,IAAK,KAAM,SAAU,GAAI,EAAW,cAAe,EAAW,cAAe,EAAM,UAAW,EAAU,OAAS,GAA2F,QAAW,GAAG,IAAQ,OAAQ,EAAO,IAAK,CAAE,SAAQ,CAAE,CAAC,CAAC,EAAG,EAAE,MAAO,CAAE,MAAO,EAAK,uBAAwB,GAAyE,YAAY,CAAE,EAAG,EAAE,MAAO,CAAE,MAAO,EAAK,iCAAkC,GAAyE,cAAc,CAAE,EAAG,EAAE,MAAO,CAAE,cAAe,IAAS,GAAQ,OAAS,IAAA,GAAW,kBAAmB,EAAW,KAAM,SAAU,MAAO,EAAK,uBAAwB,GAAyE,KAAK,EAAG,GAAI,CAAU,EAAG,CAAQ,CAAC,CAAC,CAAC,CACjzC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{o as e}from"./index-CLYw1HnO.js";import{t}from"./clsx-COFh-Vc8-alQuJLqj.js";var n=({disabled:n,index:r,ref:i,selected:a,onClick:o,onMouseOver:s,onFocus:c,onKeyDown:l,option:u,searchTerm:d})=>e(`li`,{id:`option-${r}`,key:`-${r}`,ref:i,"data-index":r,tabIndex:-1,role:`option`,"aria-selected":a?`true`:void 0,"aria-disabled":n?`true`:void 0,onClick:o,onMouseOver:s,onFocus:c,class:t(`kol-custom-suggestions-option`,{"kol-custom-suggestions-option--disabled":n}),onKeyDown:l},e(`span`,null,((t,n)=>{if(!n?.trim())return t;let r=RegExp(`(${n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)})`,`gi`);return t.split(r).map((t,n)=>n%2==1?e(`mark`,null,t):t)})(String(u),d||``))),r=({blockSuggestionMouseOver:n,onKeyDown:r,style:i,hidden:a,id:o},s)=>e(`ul`,{id:o,role:`listbox`,style:i,class:t(`kol-custom-suggestions-options-group`,{"kol-custom-suggestions-options-group--cursor-hidden":n,"kol-custom-suggestions-options-group--open":!a}),hidden:a,onKeyDown:r},s);export{r as n,n as t};
|
|
2
|
+
//# sourceMappingURL=CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js","names":[],"sources":["../../../../../components/dist/esm/CustomSuggestionsOptionsGroup--3PdjAdp.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h } from './index-CwtGN7ID.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\n\nconst CustomSuggestionsOptionFc = ({ disabled, index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option, searchTerm, }) => {\n const highlightSearchTerm = (text, searchTerm) => {\n if (!(searchTerm === null || searchTerm === void 0 ? void 0 : searchTerm.trim()))\n return text;\n const regex = new RegExp(`(${searchTerm.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&')})`, 'gi');\n const parts = text.split(regex);\n return parts.map((part, partIndex) => (partIndex % 2 === 1 ? h(\"mark\", null, part) : part));\n };\n return (h(\"li\", { id: `option-${index}`, key: `-${index}`, ref: ref, \"data-index\": index, tabIndex: -1, role: \"option\", \"aria-selected\": selected ? 'true' : undefined, \"aria-disabled\": disabled ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: clsx('kol-custom-suggestions-option', { 'kol-custom-suggestions-option--disabled': disabled }), onKeyDown: onKeyDown }, h(\"span\", null, highlightSearchTerm(String(option), searchTerm || ''))));\n};\n\nconst CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown, style, hidden, id }, children) => {\n return (h(\"ul\", { id: id, role: \"listbox\", style: style, class: clsx('kol-custom-suggestions-options-group', {\n 'kol-custom-suggestions-options-group--cursor-hidden': blockSuggestionMouseOver,\n 'kol-custom-suggestions-options-group--open': !hidden,\n }), hidden: hidden, onKeyDown: onKeyDown }, children));\n};\n\nexport { CustomSuggestionsOptionsGroupFc as C, CustomSuggestionsOptionFc as a };\n//# sourceMappingURL=CustomSuggestionsOptionsGroup--3PdjAdp.js.map\n\n//# sourceMappingURL=CustomSuggestionsOptionsGroup--3PdjAdp.js.map"],"mappings":"mFAMA,IAAM,GAA6B,CAAE,WAAU,QAAO,MAAK,WAAU,UAAS,cAAa,UAAS,YAAW,SAAQ,gBAQ3G,EAAE,KAAM,CAAE,GAAI,UAAU,IAAS,IAAK,IAAI,IAAc,MAAK,aAAc,EAAO,SAAU,GAAI,KAAM,SAAU,gBAAiB,EAAW,OAAS,IAAA,GAAW,gBAAiB,EAAW,OAAS,IAAA,GAAoB,UAAsB,cAAsB,UAAS,MAAO,EAAK,gCAAiC,CAAE,0CAA2C,CAAS,CAAC,EAAc,WAAU,EAAG,EAAE,OAAQ,OAPlY,EAAM,IAAe,CAC9C,GAAI,CAAE,GAAmE,KAAK,EAC1E,OAAO,EACX,IAAM,EAAY,OAAO,IAAI,EAAW,QAAQ,sBAAuB,MAAM,EAAE,GAAI,IAAI,EAEvF,OADc,EAAK,MAAM,CACd,EAAE,KAAK,EAAM,IAAe,EAAY,GAAM,EAAI,EAAE,OAAQ,KAAM,CAAI,EAAI,CAAK,CAC9F,GACyb,OAAO,CAAM,EAAG,GAAc,EAAE,CAAC,CAAC,EAGzd,GAAmC,CAAE,2BAA0B,YAAW,QAAO,SAAQ,MAAM,IACzF,EAAE,KAAM,CAAM,KAAI,KAAM,UAAkB,QAAO,MAAO,EAAK,uCAAwC,CACrG,sDAAuD,EACvD,6CAA8C,CAAC,CACnD,CAAC,EAAW,SAAmB,WAAU,EAAG,CAAQ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{n as e,o as t}from"./index-CLYw1HnO.js";import{t as n}from"./dev.utils-Ce_5C3Pe-Dee1ZIk1.js";import{t as r}from"./base-web-component-CArCAUxk-iRwmL-Bz.js";import{n as i}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as a}from"./clsx-COFh-Vc8-alQuJLqj.js";import{i as o,n as s}from"./component-DbrY6RW_-C_fX4Phj.js";import{t as c}from"./component-fsnfw59D-Csotiz-4.js";import{t as l}from"./controller-CJs4fTO0-C_M7l5V5.js";import{c as u,i as d,o as f,r as p}from"./FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js";var m=new Map,h=e=>{let t=m.get(e);if(t)return t;let n=new l(r.stateLess);return n.componentWillLoad({label:``}),m.set(e,n),n},g=e=>{let t=m.get(e);t&&(t.destroy(),m.delete(e))},_=(e,n)=>{var{class:r}=e,o=i(e,[`class`]);return t(`div`,Object.assign({class:a(`kol-field-control__input`,r)},o),n)},v=(r,l)=>{let{class:m,id:v,disabled:y,label:b,hideLabel:x,labelAlign:S,renderNoTooltip:C,hint:w,renderNoHint:T,accessKey:E,shortKey:D,msg:O,touched:k,required:A,readonly:j,tooltipAlign:M,tooltipFloatingRef:N,fieldControlInputProps:P,fieldControlLabelProps:F,fieldControlTooltipProps:I,fieldControlHintProps:L}=r,R=i(r,[`class`,`id`,`disabled`,`label`,`hideLabel`,`labelAlign`,`renderNoTooltip`,`hint`,`renderNoHint`,`accessKey`,`shortKey`,`msg`,`touched`,`required`,`readonly`,`tooltipAlign`,`tooltipFloatingRef`,`fieldControlInputProps`,`fieldControlLabelProps`,`fieldControlTooltipProps`,`fieldControlHintProps`]),z=!T,B=!C,V=o(b),H=B&&!V&&x,U=s(E,D),W=n(v,`label`),G=H?h(v):void 0;G?(G.watchAlign(M),G.watchBadgeText(U||``),G.watchId(W),G.watchLabel(b)):g(v);let K=P?.ref,q=[t(e,null,t(_,Object.assign({},P,{ref:e=>{K?.(e),G&&e&&(G.initContext(e),G.syncListeners(void 0,e,!0))}}),l),H&&t(`div`,{class:a(`kol-form-field__tooltip`,I?.class)},t(c,{badgeText:U||``,label:b,align:M,id:W,refFloating:N??(e=>{G?.setTooltipElementRef(e)})}))),t(d,Object.assign({},F||{},{id:v,baseClassName:`kol-field-control`,class:a(F?.class,{"kol-field-control__label--visually-hidden":!!x}),hasExpertSlot:V,label:b,accessKey:E,shortKey:D}))];S===`left`&&q.reverse();let J={"kol-field-control--disabled":!!y,"kol-field-control--required":!!A,"kol-field-control--touched":!!k,"kol-field-control--hide-label":!!x,"kol-field-control--read-only":!!j,[`kol-field-control--${f(O)}`]:!!u(O,k),[`kol-field-control--label-align-${S}`]:!!S};return t(`div`,Object.assign({class:a(`kol-field-control`,J,m)},R),q,z&&t(p,Object.assign({},L||{},{baseClassName:`kol-field-control`,id:v,hint:w})))};function y(e){let t={id:e._id,disabled:e._disabled,msg:e._msg,hint:e._hint,label:e._label,hideLabel:e._hideLabel,touched:e._touched};return`_required`in e&&(t.required=e._required),`_readOnly`in e&&(t.readonly=e._readOnly),`_labelAlign`in e&&(t.labelAlign=e._labelAlign),`_accessKey`in e&&(t.accessKey=e._accessKey),`_shortKey`in e&&(t.shortKey=e._shortKey),t}var b=(e,n)=>{var{state:r}=e,a=i(e,[`state`]);return t(v,Object.assign({},y(r),a),n)};export{b as t};
|
|
2
|
+
//# sourceMappingURL=FieldControlStateWrapper-BJghqA8K-8c6soCWp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldControlStateWrapper-BJghqA8K-8c6soCWp.js","names":[],"sources":["../../../../../components/dist/esm/FieldControlStateWrapper-BJghqA8K.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h, F as Fragment } from './index-CwtGN7ID.js';\nimport { B as BaseWebComponent } from './base-web-component-CArCAUxk.js';\nimport { T as TooltipFC } from './component-fsnfw59D.js';\nimport { T as TooltipController } from './controller-CJs4fTO0.js';\nimport './common-DyILLof-.js';\nimport { b as buildBadgeTextString, s as showExpertSlot } from './component-DbrY6RW_.js';\nimport { K as KolFormFieldLabelFc, b as KolFormFieldHintFc, g as getMsgType, i as isMsgDefinedAndInputTouched } from './FormFieldStateWrapper-D1Q6Lpff.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { a as createRelatedUniqueId } from './dev.utils-Ce_5C3Pe.js';\n\nconst fieldControlTooltipControllerById = new Map();\nconst getFieldControlTooltipController = (id) => {\n const tooltipController = fieldControlTooltipControllerById.get(id);\n if (tooltipController) {\n return tooltipController;\n }\n const nextTooltipController = new TooltipController(BaseWebComponent.stateLess);\n nextTooltipController.componentWillLoad({ label: '' });\n fieldControlTooltipControllerById.set(id, nextTooltipController);\n return nextTooltipController;\n};\nconst destroyFieldControlTooltipController = (id) => {\n const tooltipController = fieldControlTooltipControllerById.get(id);\n if (tooltipController) {\n tooltipController.destroy();\n fieldControlTooltipControllerById.delete(id);\n }\n};\nconst InputContainer = (_a, children) => {\n var { class: classNames } = _a, other = __rest(_a, [\"class\"]);\n return (h(\"div\", Object.assign({ class: clsx('kol-field-control__input', classNames) }, other), children));\n};\nconst KolFieldControlFc = (props, children) => {\n const { class: classNames, id, disabled, label, hideLabel, labelAlign, renderNoTooltip, hint, renderNoHint, accessKey, shortKey, msg, touched, required, readonly, tooltipAlign, tooltipFloatingRef, fieldControlInputProps, fieldControlLabelProps, fieldControlTooltipProps, fieldControlHintProps } = props, other = __rest(props, [\"class\", \"id\", \"disabled\", \"label\", \"hideLabel\", \"labelAlign\", \"renderNoTooltip\", \"hint\", \"renderNoHint\", \"accessKey\", \"shortKey\", \"msg\", \"touched\", \"required\", \"readonly\", \"tooltipAlign\", \"tooltipFloatingRef\", \"fieldControlInputProps\", \"fieldControlLabelProps\", \"fieldControlTooltipProps\", \"fieldControlHintProps\"]);\n const canShowHint = !renderNoHint;\n const canShowTooltip = !renderNoTooltip;\n const hasExpertSlot = showExpertSlot(label);\n const useTooltipInsteadOfLabel = canShowTooltip && !hasExpertSlot && hideLabel;\n const badgeText = buildBadgeTextString(accessKey, shortKey);\n const labelId = createRelatedUniqueId(id, 'label');\n const tooltipController = useTooltipInsteadOfLabel ? getFieldControlTooltipController(id) : undefined;\n if (tooltipController) {\n tooltipController.watchAlign(tooltipAlign);\n tooltipController.watchBadgeText(badgeText || '');\n tooltipController.watchId(labelId);\n tooltipController.watchLabel(label);\n }\n else {\n destroyFieldControlTooltipController(id);\n }\n const forwardedInputRef = fieldControlInputProps === null || fieldControlInputProps === void 0 ? void 0 : fieldControlInputProps.ref;\n const setInputContainerRef = (el) => {\n forwardedInputRef === null || forwardedInputRef === void 0 ? void 0 : forwardedInputRef(el);\n if (tooltipController && el) {\n tooltipController.initContext(el);\n tooltipController.syncListeners(undefined, el, true);\n }\n };\n const components = [\n h(Fragment, null, h(InputContainer, Object.assign({}, fieldControlInputProps, { ref: setInputContainerRef }), children), useTooltipInsteadOfLabel && (h(\"div\", { class: clsx('kol-form-field__tooltip', fieldControlTooltipProps === null || fieldControlTooltipProps === void 0 ? void 0 : fieldControlTooltipProps.class) }, h(TooltipFC, { badgeText: badgeText || '', label: label, align: tooltipAlign, id: labelId, refFloating: tooltipFloatingRef !== null && tooltipFloatingRef !== void 0 ? tooltipFloatingRef : ((el) => {\n tooltipController === null || tooltipController === void 0 ? void 0 : tooltipController.setTooltipElementRef(el);\n }) })))),\n h(KolFormFieldLabelFc, Object.assign({}, (fieldControlLabelProps || {}), { id: id, baseClassName: \"kol-field-control\", class: clsx(fieldControlLabelProps === null || fieldControlLabelProps === void 0 ? void 0 : fieldControlLabelProps.class, {\n ['kol-field-control__label--visually-hidden']: Boolean(hideLabel),\n }), hasExpertSlot: hasExpertSlot, label: label, accessKey: accessKey, shortKey: shortKey })),\n ];\n if (labelAlign === 'left') {\n components.reverse();\n }\n const stateCssClasses = {\n ['kol-field-control--disabled']: Boolean(disabled),\n ['kol-field-control--required']: Boolean(required),\n ['kol-field-control--touched']: Boolean(touched),\n ['kol-field-control--hide-label']: Boolean(hideLabel),\n ['kol-field-control--read-only']: Boolean(readonly),\n [`kol-field-control--${getMsgType(msg)}`]: Boolean(isMsgDefinedAndInputTouched(msg, touched)),\n [`kol-field-control--label-align-${labelAlign}`]: Boolean(labelAlign),\n };\n return (h(\"div\", Object.assign({ class: clsx('kol-field-control', stateCssClasses, classNames) }, other), components, canShowHint && h(KolFormFieldHintFc, Object.assign({}, (fieldControlHintProps || {}), { baseClassName: \"kol-field-control\", id: id, hint: hint }))));\n};\n\nfunction getFieldControlProps(state) {\n const props = {\n id: state._id,\n disabled: state._disabled,\n msg: state._msg,\n hint: state._hint,\n label: state._label,\n hideLabel: state._hideLabel,\n touched: state._touched,\n };\n if ('_required' in state) {\n props.required = state._required;\n }\n if ('_readOnly' in state) {\n props.readonly = state._readOnly;\n }\n if ('_labelAlign' in state) {\n props.labelAlign = state._labelAlign;\n }\n if ('_accessKey' in state) {\n props.accessKey = state._accessKey;\n }\n if ('_shortKey' in state) {\n props.shortKey = state._shortKey;\n }\n return props;\n}\nconst FieldControlStateWrapper = (_a, children) => {\n var { state } = _a, other = __rest(_a, [\"state\"]);\n return (h(KolFieldControlFc, Object.assign({}, getFieldControlProps(state), other), children));\n};\n\nexport { FieldControlStateWrapper as F };\n//# sourceMappingURL=FieldControlStateWrapper-BJghqA8K.js.map\n\n//# sourceMappingURL=FieldControlStateWrapper-BJghqA8K.js.map"],"mappings":"ogBAcA,IAAM,EAAoC,IAAI,IACxC,EAAoC,GAAO,CAC7C,IAAM,EAAoB,EAAkC,IAAI,CAAE,EAClE,GAAI,EACA,OAAO,EAEX,IAAM,EAAwB,IAAI,EAAkB,EAAiB,SAAS,EAG9E,OAFA,EA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,MAfI,cAAe,IACf,EAAM,SAAW,EAAM,WAEvB,cAAe,IACf,EAAM,SAAW,EAAM,WAEvB,gBAAiB,IACjB,EAAM,WAAa,EAAM,aAEzB,eAAgB,IAChB,EAAM,UAAY,EAAM,YAExB,cAAe,IACf,EAAM,SAAW,EAAM,WAEpB,CACX,CACA,IAAM,GAA4B,EAAI,IAAa,CAC/C,GAAI,CAAE,SAAU,EAAI,EAAQ,EAAO,EAAI,CAAC,OAAO,CAAC,EAChD,OAAQ,EAAE,EAAmB,OAAO,OAAO,CAAC,EAAG,EAAqB,CAAK,EAAG,CAAK,EAAG,CAAQ,CAChG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{At as e,Ct as t,Dt as n,U as r,at as i,d as a,f as o,gt as s,it as c,jt as l,mt as u,n as d,o as f}from"./index-CLYw1HnO.js";import{t as p}from"./dev.utils-Ce_5C3Pe-Dee1ZIk1.js";import{a as m,n as h,o as g}from"./isArray-CcrBs4JM-DiEJ1b3e.js";import{u as _}from"./_Uint8Array-kJHDjtoP-CTkgs_0o.js";import{t as v}from"./base-web-component-CArCAUxk-iRwmL-Bz.js";import{n as y}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as b}from"./clsx-COFh-Vc8-alQuJLqj.js";import{i as x,n as S,t as C}from"./component-DbrY6RW_-C_fX4Phj.js";import{t as ee}from"./component-fsnfw59D-Csotiz-4.js";import{t as w}from"./controller-CJs4fTO0-C_M7l5V5.js";import{t as T}from"./disabled-DzYBnXfG-Don45pIR.js";import{i as E}from"./label-BiOix5de-Bf1AwuDH.js";import{t as D}from"./i18n-BkwRYsvE-Baa6kHEL.js";import{t as O}from"./Alert-LeFfZ8Oj-q6xkBMwW.js";import{i as k,n as te,r as A,t as j}from"./access-and-short-key-C7QS_Tel-COXTroHd.js";import{t as M}from"./hide-label-jbOZNqJV-n04MiKlJ.js";import{t as N}from"./tooltip-align-BZrIplzz-ywk_a6dy.js";import{t as P}from"./variant-class-name-B1jsQGPM-BRrb5XyN.js";import{t as F}from"./associated.controller-Da2zylzp-vF9c3Kyq.js";var I=`[object Symbol]`;function L(e){return typeof e==`symbol`||m(e)&&h(e)==I}var R=/\s/;function z(e){for(var t=e.length;t--&&R.test(e.charAt(t)););return t}var B=/^\s+/;function V(e){return e&&e.slice(0,z(e)+1).replace(B,``)}var H=NaN,U=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,G=/^0o[0-7]+$/i,K=parseInt;function q(e){if(typeof e==`number`)return e;if(L(e))return H;if(_(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=_(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=V(e);var n=W.test(e);return n||G.test(e)?K(e.slice(2),n?2:8):U.test(e)?H:+e}var J=function(){return g.Date.now()},Y=`Expected a function`,X=Math.max,ne=Math.min;function re(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Y);t=q(t)||0,_(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?X(q(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(v,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?ne(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function v(){var e=J();if(g(e))return y(e);s=setTimeout(v,h(e))}function y(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function b(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function x(){return s===void 0?o:y(J())}function S(){var e=J(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(v,t),p(c)}return s===void 0&&(s=setTimeout(v,t)),o}return S.cancel=b,S.flush=x,S}var ie=(e,t)=>{n(e,`_adjustHeight`,t)},ae=(e,t,r)=>{n(e,`_hideMsg`,t,r)},oe=(t,n)=>{e(t,`_hint`,n)},se=(e,t)=>{u(t,()=>{try{t=s(t)}catch{}l(e,`_msg`,e=>{if(e===void 0||typeof e==`string`&&e.length>0)return!0;if(c(e)&&e!==null){let t=e._description;return i(t,1)}return!1},new Set([`MsgPropType`,`string`]),t)})};function Z(e,t){return!!e&&t===!0}function ce(e){if(typeof e==`string`)try{return s(e)}catch{return{_description:e,_type:`error`}}return e&&typeof e==`object`&&!(`_type`in e)?Object.assign(Object.assign({},e),{_type:`error`}):e}function Q(e){return typeof e==`string`?`error`:e?._type??`error`}var le=(e,t)=>{n(e,`_touched`,t)},ue=class extends F{constructor(e,t,n){super(e,t,n),this.component=e}validateTouched(e){le(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}},de=class extends ue{constructor(e,n,r){super(e,n,r),this.valueChangeListeners=[],this.inputHasFocus=!1,this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)},this.updateCurrentLengthDebounced=re(e=>{t(this.component,`_currentLengthDebounced`,e)},500),this.component=e}validateAccessKey(e){te(this.component,e),j(e,this.component._shortKey)}validateAdjustHeight(e){ie(this.component,e)}validateDisabled(e){T(this.component,e)}validateTooltipAlign(e){N(this.component,e)}validateHideMsg(e){ae(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&r(`Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.`)}}})}validateHideLabel(e){M(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&r(`Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.`)}}})}validateHint(e){oe(this.component,e)}validateLabel(e){E(this.component,e,{required:!0})}validateMsg(e){se(this.component,e)}validateOn(e){typeof e==`object`&&t(this.component,`_on`,e)}validateShortKey(e){A(this.component,e),j(this.component._accessKey,e)}validateSmartButton(e){u(e,()=>{try{e=s(e)}catch{}t(this.component,`_smartButton`,e)})}validateTabIndex(e){k(this.component,e)}validateVariant(e){P(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),this.validateVariant(this.component._variant),j(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&o(this.host,e,t)}onChange(e,t){e.stopPropagation(),t===void 0&&(t=e.target.value),this.emitEvent(a.change,t),typeof this.component._on?.onChange==`function`&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach(e=>e(t))}onInput(e,t=!0,n){e.stopPropagation(),n===void 0&&(n=e.target.value),this.emitEvent(a.input,n),t&&this.setFormAssociatedValue(n),typeof this.component._on?.onInput==`function`&&this.component._on.onInput(e,n)}onClick(e){this.emitEvent(a.click),typeof this.component._on?.onClick==`function`&&this.component._on.onClick(e)}onFocus(e){this.inputHasFocus||=(this.emitEvent(a.focus),typeof this.component._on?.onFocus==`function`&&this.component._on.onFocus(e),!0)}onBlur(e){if(this.component._disabled)return;let t=(this.host?.shadowRoot||this.host)?.contains(e.relatedTarget)||this.host===e.relatedTarget;this.inputHasFocus&&!t&&(this.component._touched=!0,this.emitEvent(a.blur),typeof this.component._on?.onBlur==`function`&&this.component._on.onBlur(e),this.inputHasFocus=!1)}onKeyDown(e){this.emitEvent(a.keydown),typeof this.component._on?.onKeyDown==`function`&&this.component._on.onKeyDown(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}hasSoftCharacterLimit(){return typeof this.component.state._maxLength==`number`&&this.component.state._maxLengthBehavior===`soft`}hasCounter(){return this.component.state._hasCounter===!0}};function fe({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:``,autoCapitalize:`off`,autoCorrect:`off`,"aria-describedby":e?.length?e.join(` `):void 0,"aria-label":t&&n?n:void 0}}var pe=e=>{let t=e._msg,n=typeof t==`string`?t:t?._description,r=Q(t),i=!!(n&&n.length>0),a=r===`error`&&i&&e._touched===!0,o=typeof e._hint==`string`&&e._hint.length>0,s=[];return i&&!e._hideMsg&&s.push(p(e._id,`msg`)),o===!0&&s.push(p(e._id,`hint`)),e._hasCounter&&s.push(p(e._id,`counter`)),a===!0&&s.push(p(e._id,`error`)),{hasError:a,hasHint:o,ariaDescribedBy:s}},me=e=>{var{id:t,class:n,hint:r,baseClassName:i=`kol-form-field`}=e,a=y(e,[`id`,`class`,`hint`,`baseClassName`]);return r?f(`span`,Object.assign({class:b(`${i}__hint`,n),id:p(t||``,`hint`)},a),r):null},he=e=>{var{component:t=`label`,id:n,baseClassName:r=`kol-form-field`,class:i,accessKey:a,shortKey:o,label:s,hideLabel:c,hasExpertSlot:l,showBadge:u=!0,readOnly:d}=e,m=y(e,[`component`,`id`,`baseClassName`,`class`,`accessKey`,`shortKey`,`label`,`hideLabel`,`hasExpertSlot`,`showBadge`,`readOnly`]);let h=!l&&c,g=D(`kol-readonly`),_=u===!1?void 0:S(a,o);return f(t,Object.assign({},m,{class:b(`${r}__label`,i),id:h?void 0:p(n,`label`),hidden:h,htmlFor:n}),f(C,{class:`${r}__label-text`,label:l?``:s??``,badgeText:_},f(`slot`,{name:`expert`})),!l&&d?f(`span`,{class:`${r}__label__read-only`,"aria-hidden":`true`},`(`,g,`)`):null)},ge=({id:e,maxLength:t})=>f(`span`,{id:p(e,`character-limit-hint`),class:`visually-hidden`},D(`kol-character-limit-hint`,{placeholders:{limit:String(t)}})),_e=({currentLength:e,currentLengthDebounced:t,maxLength:n,maxLengthBehavior:r,id:i})=>{let a,o,s=[`kol-form-field__counter`];if(r===`hard`)a=typeof n==`number`?D(`kol-character-counter-current-of-max`,{placeholders:{current:String(e),max:String(n)}}):D(`kol-character-counter-current`,{placeholders:{current:String(e)}}),o=typeof n==`number`?D(`kol-character-counter-current-of-max-aria`,{placeholders:{current:String(t),max:String(n)}}):D(`kol-character-counter-current`,{placeholders:{current:String(t)}});else if(typeof n==`number`){let r=n-e,i=r<0,c=n-t,l=c<0;a=i?D(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(r))}}):D(`kol-character-limit-remaining`,{placeholders:{remaining:String(r)}}),o=l?D(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(c))}}):D(`kol-character-limit-remaining`,{placeholders:{remaining:String(c)}}),i&&s.push(`kol-form-field__counter--exceeded`)}else return null;return f(d,null,f(`span`,{class:b(s),"aria-hidden":`true`,"data-testid":`input-counter`},a),f(`span`,{id:p(i||``,`counter`),"aria-live":`polite`,class:`visually-hidden`,"data-testid":`input-counter-aria`},o))},ve=e=>{var{alert:t,msg:n,id:r,class:i}=e,a=y(e,[`alert`,`msg`,`id`,`class`]);let o=ce(n);return f(O,Object.assign({id:p(r,`msg`),alert:o?._alert??t,hasCloser:!1,level:0,type:o?._type??`error`,variant:`msg`,class:b(`kol-form-field__msg`,i)},a),o?._description||void 0)},$=new Map,ye=e=>{let t=$.get(e);if(t)return t;let n=new w(v.stateLess);return n.componentWillLoad({label:``}),$.set(e,n),n},be=e=>{let t=$.get(e);t&&(t.destroy(),$.delete(e))};function xe(e){return e?.type&&{default:`msg-type-default`,info:`msg-type-info`,success:`msg-type-success`,warning:`msg-type-warning`,error:`msg-type-error`}[e?.type]||``}var Se=(e,t)=>{var{class:n}=e,r=y(e,[`class`]);return f(`div`,Object.assign({class:b(`kol-form-field__input`,n)},r),t)},Ce=(e,t)=>{let{component:n=`div`,renderNoLabel:r,renderNoTooltip:i,renderNoHint:a,anotherChildren:o,id:s,required:c,alert:l,disabled:u,class:d,msg:m,hideMsg:h,hideLabel:g,label:_,hint:v,accessKey:C,shortKey:w,counter:T,readOnly:E,touched:D,maxLength:O,ariaDescribedBy:k,showBadge:te,tooltipAlign:A,tooltipFloatingRef:j,variant:M,formFieldLabelProps:N,formFieldHintProps:P,formFieldTooltipProps:F,formFieldMsgProps:I,formFieldInputProps:L}=e,R=y(e,`component.renderNoLabel.renderNoTooltip.renderNoHint.anotherChildren.id.required.alert.disabled.class.msg.hideMsg.hideLabel.label.hint.accessKey.shortKey.counter.readOnly.touched.maxLength.ariaDescribedBy.showBadge.tooltipAlign.tooltipFloatingRef.variant.formFieldLabelProps.formFieldHintProps.formFieldTooltipProps.formFieldMsgProps.formFieldInputProps`.split(`.`)),z=!r,B=!a,V=!i,H=x(_),U=Z(m,D),W=S(C,w),G=V&&!H&&g,K=p(s,`label`),q=G?ye(s):void 0;q?(q.watchAlign(A),q.watchBadgeText(W||``),q.watchId(K),q.watchLabel(_)):be(s);let J=L?.ref,Y=e=>{J?.(e),q&&e&&(q.initContext(e),q.syncListeners(void 0,e,!0))},X={"kol-form-field--disabled":!!u,"kol-form-field--required":!!c,"kol-form-field--touched":!!D,"kol-form-field--hide-label":!!g,"kol-form-field--read-only":!!E,"kol-form-field--hidden-msg":!!h};if(M&&(X=Object.assign(Object.assign({},X),{[`kol-form-field--${M}`]:!0})),U){let e=Q(m);X=Object.assign(Object.assign({},X),{[`kol-form-field--${e}`]:!0,[`kol-form-field--${xe({type:e})}`]:!0})}return f(n,Object.assign({class:b(`kol-form-field`,X,d),"aria-describedby":k},R),z&&f(he,Object.assign({},N||{},{id:s,hasExpertSlot:H,hideLabel:g,label:_,accessKey:C,shortKey:w,readOnly:E,showBadge:te})),f(Se,Object.assign({},L,{ref:Y}),t,G&&g===!0&&f(`div`,{class:b(`kol-form-field__tooltip`,F?.class)},f(ee,{badgeText:W||``,label:_,align:A,id:K,refFloating:j??(e=>{q?.setTooltipElementRef(e)})}))),T?f(_e,Object.assign({id:s},T)):null,O?f(ge,{id:s,maxLength:O}):null,U&&!h&&f(ve,Object.assign({},I||{},{id:s,alert:l,msg:m})),B&&f(me,Object.assign({},P||{},{id:s,hint:v})),o)};function we(e){let t={id:e._id,disabled:e._disabled,msg:e._msg,hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched,showBadge:`_accessKey`in e&&!!e._accessKey||`_shortKey`in e&&!!e._shortKey};return`_required`in e&&(t.required=e._required),`_readOnly`in e&&(t.readOnly=e._readOnly),`_accessKey`in e&&(t.accessKey=e._accessKey),`_shortKey`in e&&(t.shortKey=e._shortKey),`_maxLength`in e&&(t.maxLength=e._maxLength),`_currentLength`in e&&typeof e._currentLength==`number`&&`_currentLengthDebounced`in e&&typeof e._currentLengthDebounced==`number`&&`_hasCounter`in e&&e._hasCounter===!0&&(t.counter={currentLength:e._currentLength,currentLengthDebounced:e._currentLengthDebounced,maxLength:e._maxLength,maxLengthBehavior:e._maxLengthBehavior||`hard`}),`_variant`in e&&(t.variant=e._variant),t}var Te=(e,t)=>{var{state:n}=e,r=y(e,[`state`]);let{ariaDescribedBy:i}=pe(n),a=(r.component===`fieldset`||`_options`in n&&`_orientation`in n)&&i.length>0?i.join(` `):void 0,o=we(n);return f(Ce,Object.assign({},o,r,{ariaDescribedBy:a}),t)};export{fe as a,Z as c,he as i,de as n,Q as o,me as r,pe as s,Te as t};
|
|
2
|
+
//# sourceMappingURL=FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js","names":["isObject","isObject$1"],"sources":["../../../../../components/dist/esm/FormFieldStateWrapper-D1Q6Lpff.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { e as watchBoolean, g as watchString, p as parseJson, o as objectObjectHandler, b as watchValidator, G as isObject$1, i as isString, s as setState, k as a11yHint } from './common-DyILLof-.js';\nimport { v as validateAccessKey, a as validateAccessAndShortKey, b as validateShortKey, c as validateTabIndex } from './access-and-short-key-C7QS_Tel.js';\nimport { v as validateDisabled } from './disabled-DzYBnXfG.js';\nimport { v as validateHideLabel } from './hide-label-jbOZNqJV.js';\nimport { a as validateLabelWithExpertSlot } from './label-BiOix5de.js';\nimport { v as validateTooltipAlign } from './tooltip-align-BZrIplzz.js';\nimport { v as validateVariantClassName } from './variant-class-name-B1jsQGPM.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-BhfZTW2e.js';\nimport { A as AssociatedInputController } from './associated.controller-Da2zylzp.js';\nimport { i as isObject } from './_Uint8Array-kJHDjtoP.js';\nimport { i as isObjectLike, b as baseGetTag, r as root } from './isArray-CcrBs4JM.js';\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h, F as Fragment } from './index-CwtGN7ID.js';\nimport { B as BaseWebComponent } from './base-web-component-CArCAUxk.js';\nimport { T as TooltipFC } from './component-fsnfw59D.js';\nimport { T as TooltipController } from './controller-CJs4fTO0.js';\nimport { S as SpanFC, b as buildBadgeTextString, s as showExpertSlot } from './component-DbrY6RW_.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { a as createRelatedUniqueId } from './dev.utils-Ce_5C3Pe.js';\nimport { t as translate } from './i18n-BkwRYsvE.js';\nimport { K as KolAlertFc } from './Alert-LeFfZ8Oj.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\n/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nconst validateAdjustHeight = (component, value) => {\n watchBoolean(component, '_adjustHeight', value);\n};\n\nconst validateHideMsg = (component, value, options) => {\n watchBoolean(component, '_hideMsg', value, options);\n};\n\nconst validateHint = (component, value) => {\n watchString(component, '_hint', value);\n};\n\nconst validateMsg = (component, value) => {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (_a) {\n }\n watchValidator(component, `_msg`, (value) => {\n if (value === undefined) {\n return true;\n }\n if (typeof value === 'string' && value.length > 0) {\n return true;\n }\n if (isObject$1(value) && value !== null) {\n const desc = value._description;\n return isString(desc, 1);\n }\n return false;\n }, new Set(['MsgPropType', 'string']), value);\n });\n};\nfunction isMsgDefinedAndInputTouched(msg, touched) {\n return Boolean(msg) && touched === true;\n}\nfunction normalizeMsg(msg) {\n if (typeof msg === 'string') {\n try {\n return parseJson(msg);\n }\n catch (_a) {\n return { _description: msg, _type: 'error' };\n }\n }\n if (msg && typeof msg === 'object' && !('_type' in msg)) {\n return Object.assign(Object.assign({}, msg), { _type: 'error' });\n }\n return msg;\n}\nfunction getMsgType(msg) {\n var _a;\n if (typeof msg === 'string') {\n return 'error';\n }\n return (_a = msg === null || msg === void 0 ? void 0 : msg._type) !== null && _a !== void 0 ? _a : 'error';\n}\n\nconst validateTouched = (component, value) => {\n watchBoolean(component, '_touched', value);\n};\n\nclass ControlledInputController extends AssociatedInputController {\n constructor(component, name, host) {\n super(component, name, host);\n this.component = component;\n }\n validateTouched(value) {\n validateTouched(this.component, value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validateTouched(this.component._touched);\n }\n}\n\nclass InputController extends ControlledInputController {\n constructor(component, name, host) {\n super(component, name, host);\n this.valueChangeListeners = [];\n this.inputHasFocus = false;\n this.onFacade = {\n onBlur: this.onBlur.bind(this),\n onChange: this.onChange.bind(this),\n onClick: this.onClick.bind(this),\n onFocus: this.onFocus.bind(this),\n onInput: this.onInput.bind(this),\n onKeyDown: this.onKeyDown.bind(this),\n };\n this.updateCurrentLengthDebounced = debounce((length) => {\n setState(this.component, '_currentLengthDebounced', length);\n }, 500);\n this.component = component;\n }\n validateAccessKey(value) {\n validateAccessKey(this.component, value);\n validateAccessAndShortKey(value, this.component._shortKey);\n }\n validateAdjustHeight(value) {\n validateAdjustHeight(this.component, value);\n }\n validateDisabled(value) {\n validateDisabled(this.component, value);\n }\n validateTooltipAlign(value) {\n validateTooltipAlign(this.component, value);\n }\n validateHideMsg(value) {\n validateHideMsg(this.component, value, {\n hooks: {\n afterPatch: () => {\n if (this.component.state._hideMsg) {\n a11yHint('Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.');\n }\n },\n },\n });\n }\n validateHideLabel(value) {\n validateHideLabel(this.component, value, {\n hooks: {\n afterPatch: () => {\n if (this.component.state._hideLabel) {\n a11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n }\n },\n },\n });\n }\n validateHint(value) {\n validateHint(this.component, value);\n }\n validateLabel(value) {\n validateLabelWithExpertSlot(this.component, value, {\n required: true,\n });\n }\n validateMsg(value) {\n validateMsg(this.component, value);\n }\n validateOn(value) {\n if (typeof value === 'object') {\n setState(this.component, '_on', value);\n }\n }\n validateShortKey(value) {\n validateShortKey(this.component, value);\n validateAccessAndShortKey(this.component._accessKey, value);\n }\n validateSmartButton(value) {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (_a) {\n }\n setState(this.component, '_smartButton', value);\n });\n }\n validateTabIndex(value) {\n validateTabIndex(this.component, value);\n }\n validateVariant(value) {\n validateVariantClassName(this.component, value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validateAccessKey(this.component._accessKey);\n this.validateAdjustHeight(this.component._adjustHeight);\n this.validateMsg(this.component._msg);\n this.validateDisabled(this.component._disabled);\n this.validateHideMsg(this.component._hideMsg);\n this.validateHideLabel(this.component._hideLabel);\n this.validateHint(this.component._hint);\n this.validateLabel(this.component._label);\n this.validateShortKey(this.component._shortKey);\n this.validateSmartButton(this.component._smartButton);\n this.validateOn(this.component._on);\n this.validateTabIndex(this.component._tabIndex);\n this.validateVariant(this.component._variant);\n validateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n }\n emitEvent(type, value) {\n if (this.host) {\n dispatchDomEvent(this.host, type, value);\n }\n }\n onChange(event, value) {\n var _a;\n event.stopPropagation();\n if (typeof value === 'undefined') {\n value = event.target.value;\n }\n this.emitEvent(KolEvent.change, value);\n if (typeof ((_a = this.component._on) === null || _a === void 0 ? void 0 : _a.onChange) === 'function') {\n this.component._on.onChange(event, value);\n }\n this.valueChangeListeners.forEach((listener) => listener(value));\n }\n onInput(event, shouldSetFormAssociatedValue = true, value) {\n var _a;\n event.stopPropagation();\n if (typeof value === 'undefined') {\n value = event.target.value;\n }\n this.emitEvent(KolEvent.input, value);\n if (shouldSetFormAssociatedValue) {\n this.setFormAssociatedValue(value);\n }\n if (typeof ((_a = this.component._on) === null || _a === void 0 ? void 0 : _a.onInput) === 'function') {\n this.component._on.onInput(event, value);\n }\n }\n onClick(event) {\n var _a;\n this.emitEvent(KolEvent.click);\n if (typeof ((_a = this.component._on) === null || _a === void 0 ? void 0 : _a.onClick) === 'function') {\n this.component._on.onClick(event);\n }\n }\n onFocus(event) {\n var _a;\n if (!this.inputHasFocus) {\n this.emitEvent(KolEvent.focus);\n if (typeof ((_a = this.component._on) === null || _a === void 0 ? void 0 : _a.onFocus) === 'function') {\n this.component._on.onFocus(event);\n }\n this.inputHasFocus = true;\n }\n }\n onBlur(event) {\n var _a, _b;\n if (this.component._disabled) {\n return;\n }\n const root = ((_a = this.host) === null || _a === void 0 ? void 0 : _a.shadowRoot) || this.host;\n const isFocusInside = (root === null || root === void 0 ? void 0 : root.contains(event.relatedTarget)) || this.host === event.relatedTarget;\n if (this.inputHasFocus && !isFocusInside) {\n this.component._touched = true;\n this.emitEvent(KolEvent.blur);\n if (typeof ((_b = this.component._on) === null || _b === void 0 ? void 0 : _b.onBlur) === 'function') {\n this.component._on.onBlur(event);\n }\n this.inputHasFocus = false;\n }\n }\n onKeyDown(event) {\n var _a;\n this.emitEvent(KolEvent.keydown);\n if (typeof ((_a = this.component._on) === null || _a === void 0 ? void 0 : _a.onKeyDown) === 'function') {\n this.component._on.onKeyDown(event);\n }\n }\n addValueChangeListener(listener) {\n this.valueChangeListeners.push(listener);\n }\n hasSoftCharacterLimit() {\n return typeof this.component.state._maxLength === 'number' && this.component.state._maxLengthBehavior === 'soft';\n }\n hasCounter() {\n return this.component.state._hasCounter === true;\n }\n}\n\nfunction getDefaultProps({ ariaDescribedBy, hideLabel, label }) {\n return {\n title: '',\n autoCapitalize: 'off',\n autoCorrect: 'off',\n 'aria-describedby': (ariaDescribedBy === null || ariaDescribedBy === void 0 ? void 0 : ariaDescribedBy.length) ? ariaDescribedBy.join(' ') : undefined,\n 'aria-label': hideLabel && label ? label : undefined,\n };\n}\n\nconst getRenderStates = (state) => {\n const msg = state._msg;\n const description = typeof msg === 'string' ? msg : msg === null || msg === void 0 ? void 0 : msg._description;\n const type = getMsgType(msg);\n const hasMessage = Boolean(description && description.length > 0);\n const isMessageValidError = type === 'error' && hasMessage;\n const hasError = isMessageValidError && state._touched === true;\n const hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n const ariaDescribedBy = [];\n if (hasMessage && !state._hideMsg) {\n ariaDescribedBy.push(createRelatedUniqueId(state._id, 'msg'));\n }\n if (hasHint === true) {\n ariaDescribedBy.push(createRelatedUniqueId(state._id, 'hint'));\n }\n if (state._hasCounter) {\n ariaDescribedBy.push(createRelatedUniqueId(state._id, 'counter'));\n }\n if (hasError === true) {\n ariaDescribedBy.push(createRelatedUniqueId(state._id, 'error'));\n }\n return { hasError, hasHint, ariaDescribedBy };\n};\n\nconst KolFormFieldHintFc = (_a) => {\n var { id, class: classNames, hint, baseClassName = 'kol-form-field' } = _a, other = __rest(_a, [\"id\", \"class\", \"hint\", \"baseClassName\"]);\n if (!hint) {\n return null;\n }\n return (h(\"span\", Object.assign({ class: clsx(`${baseClassName}__hint`, classNames), id: createRelatedUniqueId(id || '', 'hint') }, other), hint));\n};\n\nconst KolFormFieldLabelFc = (_a) => {\n var { component: Component = 'label', id, baseClassName = 'kol-form-field', class: classNames, accessKey, shortKey, label, hideLabel, hasExpertSlot, showBadge = true, readOnly } = _a, other = __rest(_a, [\"component\", \"id\", \"baseClassName\", \"class\", \"accessKey\", \"shortKey\", \"label\", \"hideLabel\", \"hasExpertSlot\", \"showBadge\", \"readOnly\"]);\n const useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n const translateReadOnly = translate('kol-readonly');\n const badgeText = showBadge === false ? undefined : buildBadgeTextString(accessKey, shortKey);\n return (h(Component, Object.assign({}, other, { class: clsx(`${baseClassName}__label`, classNames), id: !useTooltipInsteadOfLabel ? createRelatedUniqueId(id, 'label') : undefined, hidden: useTooltipInsteadOfLabel, htmlFor: id }), h(SpanFC, { class: `${baseClassName}__label-text`, label: hasExpertSlot ? '' : (label !== null && label !== void 0 ? label : ''), badgeText: badgeText }, h(\"slot\", { name: \"expert\" })), !hasExpertSlot && readOnly ? (h(\"span\", { class: `${baseClassName}__label__read-only`, \"aria-hidden\": \"true\" }, \"(\", translateReadOnly, \")\")) : null));\n};\n\nconst KolFormFieldCharacterLimitHintFc = ({ id, maxLength }) => {\n return (h(\"span\", { id: createRelatedUniqueId(id, 'character-limit-hint'), class: \"visually-hidden\" }, translate('kol-character-limit-hint', { placeholders: { limit: String(maxLength) } })));\n};\n\nconst KolFormFieldCounterFc = ({ currentLength, currentLengthDebounced, maxLength, maxLengthBehavior, id }) => {\n let visualText;\n let ariaText;\n const counterClasses = ['kol-form-field__counter'];\n if (maxLengthBehavior === 'hard') {\n visualText =\n typeof maxLength === 'number'\n ? translate('kol-character-counter-current-of-max', { placeholders: { current: String(currentLength), max: String(maxLength) } })\n : translate('kol-character-counter-current', { placeholders: { current: String(currentLength) } });\n ariaText =\n typeof maxLength === 'number'\n ? translate('kol-character-counter-current-of-max-aria', { placeholders: { current: String(currentLengthDebounced), max: String(maxLength) } })\n : translate('kol-character-counter-current', { placeholders: { current: String(currentLengthDebounced) } });\n }\n else if (typeof maxLength === 'number') {\n const remainingLive = maxLength - currentLength;\n const exceededLive = remainingLive < 0;\n const remainingDebounced = maxLength - currentLengthDebounced;\n const exceededDebounced = remainingDebounced < 0;\n visualText = exceededLive\n ? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingLive)) } })\n : translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingLive) } });\n ariaText = exceededDebounced\n ? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingDebounced)) } })\n : translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingDebounced) } });\n if (exceededLive) {\n counterClasses.push('kol-form-field__counter--exceeded');\n }\n }\n else {\n return null;\n }\n return (h(Fragment, null, h(\"span\", { class: clsx(counterClasses), \"aria-hidden\": \"true\", \"data-testid\": \"input-counter\" }, visualText), h(\"span\", { id: createRelatedUniqueId(id || '', 'counter'), \"aria-live\": \"polite\", class: \"visually-hidden\", \"data-testid\": \"input-counter-aria\" }, ariaText)));\n};\n\nconst FormFieldMsgFc = (_a) => {\n var _b, _c;\n var { alert, msg, id, class: classNames } = _a, other = __rest(_a, [\"alert\", \"msg\", \"id\", \"class\"]);\n const message = normalizeMsg(msg);\n return (h(KolAlertFc, Object.assign({ id: createRelatedUniqueId(id, 'msg'), alert: (_b = message === null || message === void 0 ? void 0 : message._alert) !== null && _b !== void 0 ? _b : alert, hasCloser: false, level: 0, type: (_c = message === null || message === void 0 ? void 0 : message._type) !== null && _c !== void 0 ? _c : 'error', variant: \"msg\", class: clsx('kol-form-field__msg', classNames) }, other), (message === null || message === void 0 ? void 0 : message._description) || undefined));\n};\n\nconst formFieldTooltipControllerById = new Map();\nconst getFormFieldTooltipController = (id) => {\n const tooltipController = formFieldTooltipControllerById.get(id);\n if (tooltipController) {\n return tooltipController;\n }\n const nextTooltipController = new TooltipController(BaseWebComponent.stateLess);\n nextTooltipController.componentWillLoad({ label: '' });\n formFieldTooltipControllerById.set(id, nextTooltipController);\n return nextTooltipController;\n};\nconst destroyFormFieldTooltipController = (id) => {\n const tooltipController = formFieldTooltipControllerById.get(id);\n if (tooltipController) {\n tooltipController.destroy();\n formFieldTooltipControllerById.delete(id);\n }\n};\nfunction getModifierClassNameByMsgType(msg) {\n if (msg === null || msg === void 0 ? void 0 : msg.type) {\n return ({\n default: 'msg-type-default',\n info: 'msg-type-info',\n success: 'msg-type-success',\n warning: 'msg-type-warning',\n error: 'msg-type-error',\n }[msg === null || msg === void 0 ? void 0 : msg.type] || '');\n }\n return '';\n}\nconst InputContainer = (_a, children) => {\n var { class: classNames } = _a, other = __rest(_a, [\"class\"]);\n return (h(\"div\", Object.assign({ class: clsx('kol-form-field__input', classNames) }, other), children));\n};\nconst KolFormFieldFc = (props, children) => {\n const { component: Component = 'div', renderNoLabel, renderNoTooltip, renderNoHint, anotherChildren, id, required, alert, disabled, class: classNames, msg, hideMsg, hideLabel, label, hint, accessKey, shortKey, counter, readOnly, touched, maxLength, ariaDescribedBy, showBadge, tooltipAlign, tooltipFloatingRef, variant, formFieldLabelProps, formFieldHintProps, formFieldTooltipProps, formFieldMsgProps, formFieldInputProps } = props, other = __rest(props, [\"component\", \"renderNoLabel\", \"renderNoTooltip\", \"renderNoHint\", \"anotherChildren\", \"id\", \"required\", \"alert\", \"disabled\", \"class\", \"msg\", \"hideMsg\", \"hideLabel\", \"label\", \"hint\", \"accessKey\", \"shortKey\", \"counter\", \"readOnly\", \"touched\", \"maxLength\", \"ariaDescribedBy\", \"showBadge\", \"tooltipAlign\", \"tooltipFloatingRef\", \"variant\", \"formFieldLabelProps\", \"formFieldHintProps\", \"formFieldTooltipProps\", \"formFieldMsgProps\", \"formFieldInputProps\"]);\n const showLabel = !renderNoLabel;\n const showHint = !renderNoHint;\n const showTooltip = !renderNoTooltip;\n const hasExpertSlot = showExpertSlot(label);\n const showMsg = isMsgDefinedAndInputTouched(msg, touched);\n const badgeText = buildBadgeTextString(accessKey, shortKey);\n const useTooltipInsteadOfLabel = showTooltip && !hasExpertSlot && hideLabel;\n const labelId = createRelatedUniqueId(id, 'label');\n const tooltipController = useTooltipInsteadOfLabel ? getFormFieldTooltipController(id) : undefined;\n if (tooltipController) {\n tooltipController.watchAlign(tooltipAlign);\n tooltipController.watchBadgeText(badgeText || '');\n tooltipController.watchId(labelId);\n tooltipController.watchLabel(label);\n }\n else {\n destroyFormFieldTooltipController(id);\n }\n const forwardedInputRef = formFieldInputProps === null || formFieldInputProps === void 0 ? void 0 : formFieldInputProps.ref;\n const setInputContainerRef = (el) => {\n forwardedInputRef === null || forwardedInputRef === void 0 ? void 0 : forwardedInputRef(el);\n if (tooltipController && el) {\n tooltipController.initContext(el);\n tooltipController.syncListeners(undefined, el, true);\n }\n };\n let stateCssClasses = {\n ['kol-form-field--disabled']: Boolean(disabled),\n ['kol-form-field--required']: Boolean(required),\n ['kol-form-field--touched']: Boolean(touched),\n ['kol-form-field--hide-label']: Boolean(hideLabel),\n ['kol-form-field--read-only']: Boolean(readOnly),\n ['kol-form-field--hidden-msg']: Boolean(hideMsg),\n };\n if (variant) {\n stateCssClasses = Object.assign(Object.assign({}, stateCssClasses), { [`kol-form-field--${variant}`]: true });\n }\n if (showMsg) {\n const msgType = getMsgType(msg);\n stateCssClasses = Object.assign(Object.assign({}, stateCssClasses), { [`kol-form-field--${msgType}`]: true, [`kol-form-field--${getModifierClassNameByMsgType({ type: msgType })}`]: true });\n }\n return (h(Component, Object.assign({ class: clsx('kol-form-field', stateCssClasses, classNames), \"aria-describedby\": ariaDescribedBy }, other), showLabel && (h(KolFormFieldLabelFc, Object.assign({}, (formFieldLabelProps || {}), { id: id, hasExpertSlot: hasExpertSlot, hideLabel: hideLabel, label: label, accessKey: accessKey, shortKey: shortKey, readOnly: readOnly, showBadge: showBadge }))), h(InputContainer, Object.assign({}, formFieldInputProps, { ref: setInputContainerRef }), children, useTooltipInsteadOfLabel && hideLabel === true && (h(\"div\", { class: clsx('kol-form-field__tooltip', formFieldTooltipProps === null || formFieldTooltipProps === void 0 ? void 0 : formFieldTooltipProps.class) }, h(TooltipFC, { badgeText: badgeText || '', label: label, align: tooltipAlign, id: labelId, refFloating: tooltipFloatingRef !== null && tooltipFloatingRef !== void 0 ? tooltipFloatingRef : ((el) => {\n tooltipController === null || tooltipController === void 0 ? void 0 : tooltipController.setTooltipElementRef(el);\n }) })))), counter ? h(KolFormFieldCounterFc, Object.assign({ id: id }, counter)) : null, maxLength ? h(KolFormFieldCharacterLimitHintFc, { id: id, maxLength: maxLength }) : null, showMsg && !hideMsg && h(FormFieldMsgFc, Object.assign({}, (formFieldMsgProps || {}), { id: id, alert: alert, msg: msg })), showHint && h(KolFormFieldHintFc, Object.assign({}, (formFieldHintProps || {}), { id: id, hint: hint })), anotherChildren));\n};\n\nfunction getFormFieldProps(state) {\n const props = {\n id: state._id,\n disabled: state._disabled,\n msg: state._msg,\n hint: state._hint,\n label: state._label,\n hideLabel: state._hideLabel,\n hideMsg: state._hideMsg,\n touched: state._touched,\n showBadge: ('_accessKey' in state && Boolean(state._accessKey)) || ('_shortKey' in state && Boolean(state._shortKey)),\n };\n if ('_required' in state) {\n props.required = state._required;\n }\n if ('_readOnly' in state) {\n props.readOnly = state._readOnly;\n }\n if ('_accessKey' in state) {\n props.accessKey = state._accessKey;\n }\n if ('_shortKey' in state) {\n props.shortKey = state._shortKey;\n }\n if ('_maxLength' in state) {\n props.maxLength = state._maxLength;\n }\n if ('_currentLength' in state &&\n typeof state._currentLength === 'number' &&\n '_currentLengthDebounced' in state &&\n typeof state._currentLengthDebounced === 'number') {\n if ('_hasCounter' in state && state._hasCounter === true) {\n props.counter = {\n currentLength: state._currentLength,\n currentLengthDebounced: state._currentLengthDebounced,\n maxLength: state._maxLength,\n maxLengthBehavior: state._maxLengthBehavior || 'hard',\n };\n }\n }\n if ('_variant' in state) {\n props.variant = state._variant;\n }\n return props;\n}\nconst FormFieldStateWrapper = (_a, children) => {\n var { state } = _a, other = __rest(_a, [\"state\"]);\n const { ariaDescribedBy: ariaDescribedByArray } = getRenderStates(state);\n const isRadioVariant = other.component === 'fieldset' || ('_options' in state && '_orientation' in state);\n const ariaDescribedBy = isRadioVariant && ariaDescribedByArray.length > 0 ? ariaDescribedByArray.join(' ') : undefined;\n const baseProps = getFormFieldProps(state);\n return (h(KolFormFieldFc, Object.assign({}, baseProps, other, { ariaDescribedBy: ariaDescribedBy }), children));\n};\n\nexport { FormFieldStateWrapper as F, InputController as I, KolFormFieldLabelFc as K, getRenderStates as a, KolFormFieldHintFc as b, getDefaultProps as c, getMsgType as g, isMsgDefinedAndInputTouched as i };\n//# sourceMappingURL=FormFieldStateWrapper-D1Q6Lpff.js.map\n\n//# sourceMappingURL=FormFieldStateWrapper-D1Q6Lpff.js.map"],"mappings":"6oCA0BA,IAAI,EAAY,kBAmBhB,SAAS,EAAS,E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X,KAAM,EAAM,MACZ,MAAO,EAAM,OACb,UAAW,EAAM,WACjB,QAAS,EAAM,SACf,QAAS,EAAM,SACf,UAAY,eAAgB,GAAS,EAAQ,EAAM,YAAiB,cAAe,GAAS,EAAQ,EAAM,SAC9G,EAgCA,MA/BI,cAAe,IACf,EAAM,SAAW,EAAM,WAEvB,cAAe,IACf,EAAM,SAAW,EAAM,WAEvB,eAAgB,IAChB,EAAM,UAAY,EAAM,YAExB,cAAe,IACf,EAAM,SAAW,EAAM,WAEvB,eAAgB,IAChB,EAAM,UAAY,EAAM,YAExB,mBAAoB,GACpB,OAAO,EAAM,gBAAmB,UAChC,4BAA6B,GAC7B,OAAO,EAAM,yBAA4B,UACrC,gBAAiB,GAAS,EAAM,cAAgB,KAChD,EAAM,QAAU,CACZ,cAAe,EAAM,eACrB,uBAAwB,EAAM,wBAC9B,UAAW,EAAM,WACjB,kBAAmB,EAAM,oBAAsB,MACnD,GAGJ,aAAc,IACd,EAAM,QAAU,EAAM,UAEnB,CACX,CACA,IAAM,IAAyB,EAAI,IAAa,CAC5C,GAAI,CAAE,SAAU,EAAI,EAAQ,EAAO,EAAI,CAAC,OAAO,CAAC,EAChD,GAAM,CAAE,gBAAiB,GAAyB,GAAgB,CAAK,EAEjE,GADiB,EAAM,YAAc,YAAe,aAAc,GAAS,iBAAkB,IACzD,EAAqB,OAAS,EAAI,EAAqB,KAAK,GAAG,EAAI,IAAA,GACvG,EAAY,GAAkB,CAAK,EACzC,OAAQ,EAAE,GAAgB,OAAO,OAAO,CAAC,EAAG,EAAW,EAAO,CAAmB,iBAAgB,CAAC,EAAG,CAAQ,CACjH"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{o as e}from"./index-CLYw1HnO.js";import{n as t}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as n}from"./clsx-COFh-Vc8-alQuJLqj.js";var r=1,i=6;function a(e){return e>=r&&e<=i}function o(e){return a(e)?`h${e}`:`strong`}var s=(i,a)=>{var{class:s,level:c=r}=i,l=t(i,[`class`,`level`]);let u=o(c);return e(u,Object.assign({class:n(`kol-headline`,`kol-headline--${u}`,s)},l),a)},c=(r,i)=>{var{class:a}=r,o=t(r,[`class`]);return e(`p`,Object.assign({class:n(`kol-headline kol-headline--group kol-headline--secondary`,a)},o),i)},l=(i,a)=>{var{secondaryHeadline:o,level:l=r,class:u,HeadingGroupProps:d={},SecondaryHeadlineProps:f={}}=i,p=t(i,[`secondaryHeadline`,`level`,`class`,`HeadingGroupProps`,`SecondaryHeadlineProps`]);let m=Object.assign({level:l},p);if(!o)return e(s,Object.assign({class:n(u,`kol-headline--single`)},m),a);let{class:h}=d,g=t(d,[`class`]),_=Object.assign({class:n(`kol-heading-group`,h)},g);return e(`hgroup`,Object.assign({},_),e(s,Object.assign({class:n(u,`kol-headline--group`,`kol-headline--primary`)},m),a),e(c,Object.assign({},f),o))};export{l as t};
|
|
2
|
+
//# sourceMappingURL=Heading-uCdB_mbH-DKod8P-f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading-uCdB_mbH-DKod8P-f.js","names":[],"sources":["../../../../../components/dist/esm/Heading-uCdB_mbH.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h } from './index-CwtGN7ID.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\n\nconst MIN_HEADING_LEVEL = 1;\nconst MAX_HEADING_LEVEL = 6;\nfunction isValidHeadingLevel(level) {\n return level >= MIN_HEADING_LEVEL && level <= MAX_HEADING_LEVEL;\n}\nfunction getHeadlineTag(level) {\n return isValidHeadingLevel(level) ? `h${level}` : 'strong';\n}\nconst KolHeadlineFc = (_a, children) => {\n var { class: classNames, level = MIN_HEADING_LEVEL } = _a, other = __rest(_a, [\"class\", \"level\"]);\n const HeadlineTag = getHeadlineTag(level);\n return (h(HeadlineTag, Object.assign({ class: clsx('kol-headline', `kol-headline--${HeadlineTag}`, classNames) }, other), children));\n};\nconst KolSecondaryHeadlineFc = (_a, children) => {\n var { class: classNames } = _a, other = __rest(_a, [\"class\"]);\n return (h(\"p\", Object.assign({ class: clsx('kol-headline kol-headline--group kol-headline--secondary', classNames) }, other), children));\n};\nconst KolHeadingFc = (_a, children) => {\n var { secondaryHeadline, level = MIN_HEADING_LEVEL, class: classNames, HeadingGroupProps = {}, SecondaryHeadlineProps = {} } = _a, other = __rest(_a, [\"secondaryHeadline\", \"level\", \"class\", \"HeadingGroupProps\", \"SecondaryHeadlineProps\"]);\n const headlineProps = Object.assign({ level }, other);\n if (!secondaryHeadline) {\n return (h(KolHeadlineFc, Object.assign({ class: clsx(classNames, 'kol-headline--single') }, headlineProps), children));\n }\n const { class: groupClassNames } = HeadingGroupProps, groupOthers = __rest(HeadingGroupProps, [\"class\"]);\n const headlineGroupProps = Object.assign({ class: clsx('kol-heading-group', groupClassNames) }, groupOthers);\n return (h(\"hgroup\", Object.assign({}, headlineGroupProps), h(KolHeadlineFc, Object.assign({ class: clsx(classNames, 'kol-headline--group', 'kol-headline--primary') }, headlineProps), children), h(KolSecondaryHeadlineFc, Object.assign({}, SecondaryHeadlineProps), secondaryHeadline)));\n};\n\nexport { KolHeadingFc as K };\n//# sourceMappingURL=Heading-uCdB_mbH.js.map\n\n//# sourceMappingURL=Heading-uCdB_mbH.js.map"],"mappings":"6IAOA,IAAM,EAAoB,EACpB,EAAoB,EAC1B,SAAS,EAAoB,EAAO,CAChC,OAAO,GAAS,GAAqB,GAAS,CAClD,CACA,SAAS,EAAe,EAAO,CAC3B,OAAO,EAAoB,CAAK,EAAI,IAAI,IAAU,QACtD,CACA,IAAM,GAAiB,EAAI,IAAa,CACpC,GAAI,CAAE,MAAO,EAAY,QAAQ,GAAsB,EAAI,EAAQ,EAAO,EAAI,CAAC,QAAS,OAAO,CAAC,EAChG,IAAM,EAAc,EAAe,CAAK,EACxC,OAAQ,EAAE,EAAa,OAAO,OAAO,CAAE,MAAO,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js";import{a,c as o,o as s}from"./FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js";var c=c=>{let{class:l,msg:u,required:d,disabled:f,touched:p,readonly:m,ariaDescribedBy:h,hideLabel:g,label:_,suggestions:v,value:y}=c,b=r(c,[`class`,`msg`,`required`,`disabled`,`touched`,`readonly`,`ariaDescribedBy`,`hideLabel`,`label`,`suggestions`,`value`]),x={"kol-input--disabled":!!f,"kol-input--required":!!d,"kol-input--touched":!!p,"kol-input--readonly":!!m,[`kol-input--${s(u)}`]:o(u,p)},S=Object.assign(Object.assign({class:i(`kol-input`,x,l),required:d,disabled:f,readonly:m,type:`text`,list:v&&typeof b.id==`string`?n(b.id,`list`):void 0},a({ariaDescribedBy:h,hideLabel:g,label:_})),b);return t(e,null,t(`input`,Object.assign({},S,{value:y})),v)};export{c as t};
|
|
2
|
+
//# sourceMappingURL=Input-Cu811opH-BulJQfD3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input-Cu811opH-BulJQfD3.js","names":[],"sources":["../../../../../components/dist/esm/Input-Cu811opH.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h, F as Fragment } from './index-CwtGN7ID.js';\nimport './common-DyILLof-.js';\nimport { i as isMsgDefinedAndInputTouched, c as getDefaultProps, g as getMsgType } from './FormFieldStateWrapper-D1Q6Lpff.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { a as createRelatedUniqueId } from './dev.utils-Ce_5C3Pe.js';\n\nconst InputFc = (props) => {\n const { class: classNames, msg, required, disabled, touched, readonly, ariaDescribedBy, hideLabel, label, suggestions, value } = props, other = __rest(props, [\"class\", \"msg\", \"required\", \"disabled\", \"touched\", \"readonly\", \"ariaDescribedBy\", \"hideLabel\", \"label\", \"suggestions\", \"value\"]);\n const stateCssClasses = {\n ['kol-input--disabled']: Boolean(disabled),\n ['kol-input--required']: Boolean(required),\n ['kol-input--touched']: Boolean(touched),\n ['kol-input--readonly']: Boolean(readonly),\n [`kol-input--${getMsgType(msg)}`]: isMsgDefinedAndInputTouched(msg, touched),\n };\n const inputProps = Object.assign(Object.assign({ class: clsx('kol-input', stateCssClasses, classNames), required: required, disabled: disabled, readonly: readonly, type: 'text', list: suggestions && typeof other.id === 'string' ? createRelatedUniqueId(other.id, 'list') : undefined }, getDefaultProps({ ariaDescribedBy, hideLabel, label })), other);\n return (h(Fragment, null, h(\"input\", Object.assign({}, inputProps, { value: value })), suggestions));\n};\n\nexport { InputFc as I };\n//# sourceMappingURL=Input-Cu811opH.js.map\n\n//# sourceMappingURL=Input-Cu811opH.js.map"],"mappings":"mRAUA,IAAM,EAAW,GAAU,CACvB,GAAM,CAAE,MAAO,EAAY,MAAK,WAAU,WAAU,UAAS,WAAU,kBAAiB,YAAW,QAAO,cAAa,SAAU,EAAO,EAAQ,EAAO,EAAO,CAAC,QAAS,MAAO,WAAY,WAAY,UAAW,WAAY,kBAAmB,YAAa,QAAS,cAAe,OAAO,CAAC,EACxR,EAAkB,CACnB,sBAAwB,EAAQ,EAChC,sBAAwB,EAAQ,EAChC,qBAAuB,EAAQ,EAC/B,sBAAwB,EAAQ,GAChC,cAAc,EAAW,CAAG,KAAM,EAA4B,EAAK,CAAO,CAC/E,EACM,EAAa,OAAO,OAAO,OAAO,OAAO,CAAE,MAAO,EAAK,YAAa,EAAiB,CAAU,EAAa,WAAoB,WAAoB,WAAU,KAAM,OAAQ,KAAM,GAAe,OAAO,EAAM,IAAO,SAAW,EAAsB,EAAM,GAAI,MAAM,EAAI,IAAA,EAAU,EAAG,EAAgB,CAAE,kBAAiB,YAAW,OAAM,CAAC,CAAC,EAAG,CAAK,EAC3V,OAAQ,EAAE,EAAU,KAAM,EAAE,QAAS,OAAO,OAAO,CAAC,EAAG,EAAY,CAAS,OAAM,CAAC,CAAC,EAAG,CAAW,CACtG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{o as e}from"./index-CLYw1HnO.js";import{t}from"./dev.utils-Ce_5C3Pe-Dee1ZIk1.js";import{n}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{s as r}from"./FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js";import{t as i}from"./Input-Cu811opH-BulJQfD3.js";var a=r=>{var{id:i,suggestions:a}=r,o=n(r,[`id`,`suggestions`]);return a?e(`datalist`,Object.assign({id:t(i,`list`)},o),a.map(t=>e(`option`,{value:t}))):null};function o(t,n,i){let o=[...r(t).ariaDescribedBy,...n.ariaDescribedBy??[]],s={id:t._id,hideLabel:t._hideLabel,label:t._label,disabled:t._disabled,name:t._name};return`_accessKey`in t&&(s.accessKey=t._accessKey),`_type`in t&&(s.type=t._type),`_value`in t&&(s.value=t._value),`_required`in t&&(s.required=t._required),`_maxLength`in t&&`_maxLengthBehavior`in t&&t._maxLengthBehavior===`hard`&&(s.maxlength=t._maxLength),`_placeholder`in t&&(s.placeholder=t._placeholder),`_autoComplete`in t&&(s.autoComplete=t._autoComplete),`_spellCheck`in t&&(s.spellcheck=t._spellCheck),`_pattern`in t&&(s.pattern=t._pattern),`_readOnly`in t&&(s.readonly=t._readOnly),`_min`in t&&(s.min=t._min),`_max`in t&&(s.max=t._max),`_step`in t&&(s.step=t._step),`_multiple`in t&&(s.multiple=t._multiple),`_checked`in t&&(s.checked=t._checked),`_indeterminate`in t&&(s.indeterminate=t._indeterminate),`_touched`in t&&(s.touched=t._touched),`_msg`in t&&(s.msg=t._msg),`_shortKey`in t&&(s[`aria-keyshortcuts`]=t._shortKey),`_suggestions`in t&&!i&&Array.isArray(t._suggestions)&&t._suggestions.length>0&&(s.suggestions=e(a,{id:t._id,suggestions:t._suggestions})),Object.assign(Object.assign(Object.assign({},s),n),{ariaDescribedBy:o})}var s=t=>{var{state:r,customSuggestions:a}=t,s=n(t,[`state`,`customSuggestions`]);return e(i,Object.assign({},o(r,s,a)))};export{a as n,s as t};
|
|
2
|
+
//# sourceMappingURL=InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js","names":[],"sources":["../../../../../components/dist/esm/InputStateWrapper-Cl_V9Vuo.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h } from './index-CwtGN7ID.js';\nimport { I as InputFc } from './Input-Cu811opH.js';\nimport { a as createRelatedUniqueId } from './dev.utils-Ce_5C3Pe.js';\nimport { a as getRenderStates } from './FormFieldStateWrapper-D1Q6Lpff.js';\n\nconst SuggestionsFc = (_a) => {\n var { id, suggestions } = _a, other = __rest(_a, [\"id\", \"suggestions\"]);\n if (!suggestions) {\n return null;\n }\n return (h(\"datalist\", Object.assign({ id: createRelatedUniqueId(id, 'list') }, other), suggestions.map((option) => (h(\"option\", { value: option })))));\n};\n\nfunction getInputProps(state, other, customSuggestions) {\n var _a;\n const renderStates = getRenderStates(state);\n const ariaDescribedBy = [...renderStates.ariaDescribedBy, ...((_a = other.ariaDescribedBy) !== null && _a !== void 0 ? _a : [])];\n const props = {\n id: state._id,\n hideLabel: state._hideLabel,\n label: state._label,\n disabled: state._disabled,\n name: state._name,\n };\n if ('_accessKey' in state)\n props.accessKey = state._accessKey;\n if ('_type' in state)\n props.type = state._type;\n if ('_value' in state)\n props.value = state._value;\n if ('_required' in state)\n props.required = state._required;\n if ('_maxLength' in state && '_maxLengthBehavior' in state && state._maxLengthBehavior === 'hard')\n props.maxlength = state._maxLength;\n if ('_placeholder' in state)\n props.placeholder = state._placeholder;\n if ('_autoComplete' in state)\n props.autoComplete = state._autoComplete;\n if ('_spellCheck' in state)\n props.spellcheck = state._spellCheck;\n if ('_pattern' in state)\n props.pattern = state._pattern;\n if ('_readOnly' in state)\n props.readonly = state._readOnly;\n if ('_min' in state)\n props.min = state._min;\n if ('_max' in state)\n props.max = state._max;\n if ('_step' in state)\n props.step = state._step;\n if ('_multiple' in state)\n props.multiple = state._multiple;\n if ('_checked' in state)\n props.checked = state._checked;\n if ('_indeterminate' in state)\n props.indeterminate = state._indeterminate;\n if ('_touched' in state)\n props.touched = state._touched;\n if ('_msg' in state)\n props.msg = state._msg;\n if ('_shortKey' in state)\n props['aria-keyshortcuts'] = state._shortKey;\n if ('_suggestions' in state && !customSuggestions) {\n const hasSuggestions = Array.isArray(state._suggestions) && state._suggestions.length > 0;\n if (hasSuggestions) {\n props.suggestions = (h(SuggestionsFc, { id: state._id, suggestions: state._suggestions }));\n }\n }\n return Object.assign(Object.assign(Object.assign({}, props), other), { ariaDescribedBy });\n}\nconst InputStateWrapper = (_a) => {\n var { state, customSuggestions } = _a, other = __rest(_a, [\"state\", \"customSuggestions\"]);\n return h(InputFc, Object.assign({}, getInputProps(state, other, customSuggestions)));\n};\n\nexport { InputStateWrapper as I, SuggestionsFc as S };\n//# sourceMappingURL=InputStateWrapper-Cl_V9Vuo.js.map\n\n//# sourceMappingURL=InputStateWrapper-Cl_V9Vuo.js.map"],"mappings":"0PASA,IAAM,EAAiB,GAAO,CAC1B,GAAI,CAAE,KAAI,eAAgB,EAAI,EAAQ,EAAO,EAAI,CAAC,KAAM,aAAa,CAAC,EAItE,OAHK,EAGG,EAAE,WAAY,OAAO,OAAO,CAAE,GAAI,EAAsB,EAAI,MAAM,CAAE,EAAG,CAAK,EAAG,EAAY,IAAK,GAAY,EAAE,SAAU,CAAE,MAAO,CAAO,CAAC,CAAE,CAAC,EAFzI,IAGf,EAEA,SAAS,EAAc,EAAO,EAAO,EAAmB,CAGpD,IAAM,EAAkB,CAAC,GADJ,EAAgB,CACE,EAAE,gBAAiB,GAAU,EAAM,iBAAkD,CAAC,CAAE,EACzH,EAAQ,CACV,GAAI,EAAM,IACV,UAAW,EAAM,WACjB,MAAO,EAAM,OACb,SAAU,EAAM,UAChB,KAAM,EAAM,KAChB,EA6CA,MA5CI,eAAgB,IAChB,EAAM,UAAY,EAAM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-CcrBs4JM-DiEJ1b3e.js";function a(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var o=`[object AsyncFunction]`,s=`[object Function]`,c=`[object GeneratorFunction]`,l=`[object Proxy]`;function u(e){if(!a(e))return!1;var t=n(e);return t==s||t==c||t==o||t==l}var d=r[`__core-js_shared__`],f=function(){var e=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function ee(e){return!!f&&f in e}var te=Function.prototype.toString;function p(e){if(e!=null){try{return te.call(e)}catch{}try{return e+``}catch{}}return``}var ne=/[\\^$.*+?()[\]{}|]/g,re=/^\[object .+?Constructor\]$/,ie=Function.prototype,ae=Object.prototype,oe=ie.toString,se=ae.hasOwnProperty,ce=RegExp(`^`+oe.call(se).replace(ne,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function le(e){return!a(e)||ee(e)?!1:(u(e)?ce:re).test(p(e))}function ue(e,t){return e?.[t]}function m(e,t){var n=ue(e,t);return le(n)?n:void 0}var h=m(r,`WeakMap`),de=9007199254740991,fe=/^(?:0|[1-9]\d*)$/;function g(e,t){var n=typeof e;return t??=de,!!t&&(n==`number`||n!=`symbol`&&fe.test(e))&&e>-1&&e%1==0&&e<t}function _(e,t){return e===t||e!==e&&t!==t}var pe=9007199254740991;function v(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=pe}function me(e){return e!=null&&v(e.length)&&!u(e)}var he=Object.prototype;function y(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||he)}function ge(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var _e=`[object Arguments]`;function b(t){return e(t)&&n(t)==_e}var x=Object.prototype,ve=x.hasOwnProperty,ye=x.propertyIsEnumerable,be=b(function(){return arguments}())?b:function(t){return e(t)&&ve.call(t,`callee`)&&!ye.call(t,`callee`)};function xe(){return!1}var S=typeof exports==`object`&&exports&&!exports.nodeType&&exports,C=S&&typeof module==`object`&&module&&!module.nodeType&&module,w=C&&C.exports===S?r.Buffer:void 0,T=(w?w.isBuffer:void 0)||xe,Se=`[object Arguments]`,Ce=`[object Array]`,we=`[object Boolean]`,Te=`[object Date]`,Ee=`[object Error]`,De=`[object Function]`,E=`[object Map]`,Oe=`[object Number]`,ke=`[object Object]`,Ae=`[object RegExp]`,je=`[object Set]`,Me=`[object String]`,Ne=`[object WeakMap]`,Pe=`[object ArrayBuffer]`,Fe=`[object DataView]`,Ie=`[object Float32Array]`,Le=`[object Float64Array]`,Re=`[object Int8Array]`,ze=`[object Int16Array]`,Be=`[object Int32Array]`,Ve=`[object Uint8Array]`,He=`[object Uint8ClampedArray]`,Ue=`[object Uint16Array]`,We=`[object Uint32Array]`,D={};D[Ie]=D[Le]=D[Re]=D[ze]=D[Be]=D[Ve]=D[He]=D[Ue]=D[We]=!0,D[Se]=D[Ce]=D[Pe]=D[we]=D[Fe]=D[Te]=D[Ee]=D[De]=D[E]=D[Oe]=D[ke]=D[Ae]=D[je]=D[Me]=D[Ne]=!1;function Ge(t){return e(t)&&v(t.length)&&!!D[n(t)]}function O(e){return function(t){return e(t)}}var k=typeof exports==`object`&&exports&&!exports.nodeType&&exports,A=k&&typeof module==`object`&&module&&!module.nodeType&&module,j=A&&A.exports===k&&i.process,M=function(){try{return A&&A.require&&A.require(`util`).types||j&&j.binding&&j.binding(`util`)}catch{}}(),N=M&&M.isTypedArray,P=N?O(N):Ge,Ke=Object.prototype.hasOwnProperty;function qe(e,n){var r=t(e),i=!r&&be(e),a=!r&&!i&&T(e),o=!r&&!i&&!a&&P(e),s=r||i||a||o,c=s?ge(e.length,String):[],l=c.length;for(var u in e)Ke.call(e,u)&&!(s&&(u==`length`||a&&(u==`offset`||u==`parent`)||o&&(u==`buffer`||u==`byteLength`||u==`byteOffset`)||g(u,l)))&&c.push(u);return c}function F(e,t){return function(n){return e(t(n))}}var Je=F(Object.keys,Object),Ye=Object.prototype.hasOwnProperty;function Xe(e){if(!y(e))return Je(e);var t=[];for(var n in Object(e))Ye.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ze(e){return me(e)?qe(e):Xe(e)}var I=m(Object,`create`);function Qe(){this.__data__=I?I(null):{},this.size=0}function $e(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var et=`__lodash_hash_undefined__`,tt=Object.prototype.hasOwnProperty;function nt(e){var t=this.__data__;if(I){var n=t[e];return n===et?void 0:n}return tt.call(t,e)?t[e]:void 0}var rt=Object.prototype.hasOwnProperty;function it(e){var t=this.__data__;return I?t[e]!==void 0:rt.call(t,e)}var at=`__lodash_hash_undefined__`;function ot(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=I&&t===void 0?at:t,this}function L(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}L.prototype.clear=Qe,L.prototype.delete=$e,L.prototype.get=nt,L.prototype.has=it,L.prototype.set=ot;function st(){this.__data__=[],this.size=0}function R(e,t){for(var n=e.length;n--;)if(_(e[n][0],t))return n;return-1}var ct=Array.prototype.splice;function lt(e){var t=this.__data__,n=R(t,e);return n<0?!1:(n==t.length-1?t.pop():ct.call(t,n,1),--this.size,!0)}function ut(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]}function dt(e){return R(this.__data__,e)>-1}function ft(e,t){var n=this.__data__,r=R(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function z(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}z.prototype.clear=st,z.prototype.delete=lt,z.prototype.get=ut,z.prototype.has=dt,z.prototype.set=ft;var B=m(r,`Map`);function pt(){this.size=0,this.__data__={hash:new L,map:new(B||z),string:new L}}function mt(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function V(e,t){var n=e.__data__;return mt(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function ht(e){var t=V(this,e).delete(e);return this.size-=+!!t,t}function gt(e){return V(this,e).get(e)}function _t(e){return V(this,e).has(e)}function vt(e,t){var n=V(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function H(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}H.prototype.clear=pt,H.prototype.delete=ht,H.prototype.get=gt,H.prototype.has=_t,H.prototype.set=vt;function yt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function bt(){this.__data__=new z,this.size=0}function xt(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function St(e){return this.__data__.get(e)}function Ct(e){return this.__data__.has(e)}var wt=200;function Tt(e,t){var n=this.__data__;if(n instanceof z){var r=n.__data__;if(!B||r.length<wt-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new H(r)}return n.set(e,t),this.size=n.size,this}function U(e){var t=this.__data__=new z(e);this.size=t.size}U.prototype.clear=bt,U.prototype.delete=xt,U.prototype.get=St,U.prototype.has=Ct,U.prototype.set=Tt;function Et(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Dt(){return[]}var Ot=Object.prototype.propertyIsEnumerable,W=Object.getOwnPropertySymbols,kt=W?function(e){return e==null?[]:(e=Object(e),Et(W(e),function(t){return Ot.call(e,t)}))}:Dt;function At(e,n,r){var i=n(e);return t(e)?i:yt(i,r(e))}function jt(e){return At(e,Ze,kt)}var G=m(r,`DataView`),K=m(r,`Promise`),q=m(r,`Set`),J=`[object Map]`,Mt=`[object Object]`,Y=`[object Promise]`,X=`[object Set]`,Z=`[object WeakMap]`,Q=`[object DataView]`,Nt=p(G),Pt=p(B),Ft=p(K),It=p(q),Lt=p(h),$=n;(G&&$(new G(new ArrayBuffer(1)))!=Q||B&&$(new B)!=J||K&&$(K.resolve())!=Y||q&&$(new q)!=X||h&&$(new h)!=Z)&&($=function(e){var t=n(e),r=t==Mt?e.constructor:void 0,i=r?p(r):``;if(i)switch(i){case Nt:return Q;case Pt:return J;case Ft:return Y;case It:return X;case Lt:return Z}return t});var Rt=r.Uint8Array;export{_ as a,$ as c,y as d,P as f,O as i,T as l,F as m,U as n,jt as o,M as p,Rt as r,m as s,H as t,a as u};
|
|
2
|
+
//# sourceMappingURL=_Uint8Array-kJHDjtoP-CTkgs_0o.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_Uint8Array-kJHDjtoP-CTkgs_0o.js","names":[],"sources":["../../../../../components/dist/esm/_Uint8Array-kJHDjtoP.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { b as baseGetTag, r as root, i as isObjectLike, f as freeGlobal, a as isArray } from './isArray-CcrBs4JM.js';\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag$1 = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/** Used for built-in method references. */\nvar funcProto$1 = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString$1 = funcProto$1.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString$1.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto$7 = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$5 = objectProto$7.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty$5).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER$1 = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER$1 : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/** Used for built-in method references. */\nvar objectProto$6 = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;\n\n return value === proto;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/** `Object#toString` result references. */\nvar argsTag$1 = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag$1;\n}\n\n/** Used for built-in method references. */\nvar objectProto$5 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$4 = objectProto$5.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable$1 = objectProto$5.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty$4.call(value, 'callee') &&\n !propertyIsEnumerable$1.call(value, 'callee');\n};\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\n/** Detect free variable `exports`. */\nvar freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;\n\n/** Built-in value references. */\nvar Buffer = moduleExports$1 ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag$1 = '[object Map]',\n numberTag = '[object Number]',\n objectTag$1 = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag$1 = '[object Set]',\n stringTag = '[object String]',\n weakMapTag$1 = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag$1 = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag$1] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag$1] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag$1] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag$1] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/** Used for built-in method references. */\nvar objectProto$4 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$3 = objectProto$4.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((hasOwnProperty$3.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\n/** Used for built-in method references. */\nvar objectProto$3 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$2 = objectProto$3.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty$2.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED$1 = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto$2 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$1 = objectProto$2.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED$1 ? undefined : result;\n }\n return hasOwnProperty$1.call(data, key) ? data[key] : undefined;\n}\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto$1.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\n/* Built-in method references that are verified to be native. */\nvar Promise$1 = getNative(root, 'Promise');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise$1),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport { MapCache as M, Stack as S, Uint8Array as U, isPrototype as a, getTag as b, baseUnary as c, isBuffer as d, eq as e, getAllKeys as f, getNative as g, isTypedArray as h, isObject as i, nodeUtil as n, overArg as o };\n//# sourceMappingURL=_Uint8Array-kJHDjtoP.js.map\n\n//# sourceMappingURL=_Uint8Array-kJHDjtoP.js.map"],"mappings":"0EA8BA,SAAS,EAAS,EAAO,CACvB,IAAI,EAAO,OAAO,EAClB,OAAO,GAA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Q,EAAR,CACE,KAAK,GAAoB,OAAO,EAChC,KAAK,GAAe,OAAO,EAC3B,KAAK,GAAmB,OAAO,EAC/B,KAAK,GAAe,OAAO,EAC3B,KAAK,GAAmB,OAAO,CACjC,CAEF,OAAO,CACT,GAIF,IAAI,GAAa,EAAK"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{At as e,U as t,kt as n}from"./index-CLYw1HnO.js";var r=(t,n)=>{e(t,`_accessKey`,n)},i=(t,n)=>{e(t,`_shortKey`,n)},a={hooks:{afterPatch:e=>{e!==-1&&e!==0&&t(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`)}}},o=(e,t)=>{n(e,`_tabIndex`,t,a)},s=(e,t)=>{if(e&&t)throw Error(`AccessKey and ShortKey are used. Only one is allowed.`)};export{o as i,r as n,i as r,s as t};
|
|
2
|
+
//# sourceMappingURL=access-and-short-key-C7QS_Tel-COXTroHd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-and-short-key-C7QS_Tel-COXTroHd.js","names":[],"sources":["../../../../../components/dist/esm/access-and-short-key-C7QS_Tel.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { g as watchString, N as watchNumber, k as a11yHint } from './common-DyILLof-.js';\n\nconst validateAccessKey = (component, value) => {\n watchString(component, '_accessKey', value);\n};\n\nconst validateShortKey = (component, value) => {\n watchString(component, '_shortKey', value);\n};\n\nconst options = {\n hooks: {\n afterPatch: (value) => {\n if (value !== -1 && value !== 0) {\n a11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n }\n },\n },\n};\nconst validateTabIndex = (component, value) => {\n watchNumber(component, '_tabIndex', value, options);\n};\n\nconst validateAccessAndShortKey = (accessKey, shortKey) => {\n if (accessKey && shortKey) {\n throw new Error('AccessKey and ShortKey are used. Only one is allowed.');\n }\n};\n\nexport { validateAccessAndShortKey as a, validateShortKey as b, validateTabIndex as c, validateAccessKey as v };\n//# sourceMappingURL=access-and-short-key-C7QS_Tel.js.map\n\n//# sourceMappingURL=access-and-short-key-C7QS_Tel.js.map"],"mappings":"wDAKA,IAAM,GAAqB,EAAW,IAAU,CAC5C,EAAY,EAAW,aAAc,CAAK,CAC9C,EAEM,GAAoB,EAAW,IAAU,CAC3C,EAAY,EAAW,YAAa,CAAK,CAC7C,EAEM,EAAU,CACZ,MAAO,CACH,WAAa,GAAU,CACf,IAAU,IAAM,IAAU,GAC1B,EAAS,4GAA4G,CAE7H,CACJ,CACJ,EACM,GAAoB,EAAW,IAAU,CAC3C,EAAY,EAAW,YAAa,EAAO,CAAO,CACtD,EAEM,GAA6B,EAAW,IAAa,CACvD,GAAI,GAAa,EACb,MAAU,MAAM,uDAAuD,CAE/E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jt as e}from"./index-CLYw1HnO.js";var t=(t,n,r)=>{e(t,n,e=>typeof e==`string`&&i.includes(e),new Set(i),r,{defaultValue:`top`})},n=[`left`,`right`],r=[`top`,`bottom`],i=[...n,...r],a=(e,n)=>{t(e,`_align`,n)};export{a as n,t as r,i as t};
|
|
2
|
+
//# sourceMappingURL=align-DdWzcKWR-CMxncrQu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"align-DdWzcKWR-CMxncrQu.js","names":[],"sources":["../../../../../components/dist/esm/align-DdWzcKWR.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { b as watchValidator } from './common-DyILLof-.js';\n\nconst validateAlignment = (component, propName, value) => {\n watchValidator(component, propName, (value) => typeof value === 'string' && alignPropTypeOptions.includes(value), new Set(alignPropTypeOptions), value, {\n defaultValue: 'top',\n });\n};\n\nconst horizontalAlignOptions = ['left', 'right'];\nconst verticalAlignOptions = ['top', 'bottom'];\nconst alignPropTypeOptions = [...horizontalAlignOptions, ...verticalAlignOptions];\nconst validateAlign = (component, value) => {\n validateAlignment(component, '_align', value);\n};\n\nexport { alignPropTypeOptions as a, validateAlignment as b, validateAlign as v };\n//# sourceMappingURL=align-DdWzcKWR.js.map\n\n//# sourceMappingURL=align-DdWzcKWR.js.map"],"mappings":"yCAKA,IAAM,GAAqB,EAAW,EAAU,IAAU,CACtD,EAAe,EAAW,EAAW,GAAU,OAAO,GAAU,UAAY,EAAqB,SAAS,CAAK,EAAG,IAAI,IAAI,CAAoB,EAAG,EAAO,CACpJ,aAAc,KAClB,CAAC,CACL,EAEM,EAAyB,CAAC,OAAQ,OAAO,EACzC,EAAuB,CAAC,MAAO,QAAQ,EACvC,EAAuB,CAAC,GAAG,EAAwB,GAAG,CAAoB,EAC1E,GAAiB,EAAW,IAAU,CACxC,EAAkB,EAAW,SAAU,CAAK,CAChD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{st as e}from"./index-CLYw1HnO.js";var t=Math.min,n=Math.max,r=Math.round,i=Math.floor,a=e=>({x:e,y:e}),o={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function s(e,r,i){return n(e,t(r,i))}function c(e,t){return typeof e==`function`?e(t):e}function l(e){return e.split(`-`)[0]}function u(e){return e.split(`-`)[1]}function d(e){return e===`x`?`y`:`x`}function f(e){return e===`y`?`height`:`width`}function p(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function m(e){return d(p(e))}function h(e,t,n){n===void 0&&(n=!1);let r=u(e),i=m(e),a=f(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=w(o)),[o,w(o)]}function g(e){let t=w(e);return[_(e),t,_(t)]}function _(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var v=[`left`,`right`],y=[`right`,`left`],b=[`top`,`bottom`],x=[`bottom`,`top`];function S(e,t,n){switch(e){case`top`:case`bottom`:return n?t?y:v:t?v:y;case`left`:case`right`:return t?b:x;default:return[]}}function C(e,t,n,r){let i=u(e),a=S(l(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(_)))),a}function w(e){let t=l(e);return o[t]+e.slice(t.length)}function T(e){return{top:0,right:0,bottom:0,left:0,...e}}function E(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:T(e)}function D(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function O(e,t,n){let{reference:r,floating:i}=e,a=p(t),o=m(t),s=f(o),c=l(t),d=a===`y`,h=r.x+r.width/2-i.width/2,g=r.y+r.height/2-i.height/2,_=r[s]/2-i[s]/2,v;switch(c){case`top`:v={x:h,y:r.y-i.height};break;case`bottom`:v={x:h,y:r.y+r.height};break;case`right`:v={x:r.x+r.width,y:g};break;case`left`:v={x:r.x-i.width,y:g};break;default:v={x:r.x,y:r.y}}switch(u(t)){case`start`:v[o]-=_*(n&&d?-1:1);break;case`end`:v[o]+=_*(n&&d?-1:1);break}return v}async function k(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=c(t,e),m=E(p),h=o[f?d===`floating`?`reference`:`floating`:d],g=D(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(h))??!0?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:l,rootBoundary:u,strategy:s})),_=d===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),y=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},b=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:_,offsetParent:v,strategy:s}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var A=50,j=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:k},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=O(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<A&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=O(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},M=e=>({name:`arrow`,options:e,async fn(n){let{x:r,y:i,placement:a,rects:o,platform:l,elements:d,middlewareData:p}=n,{element:h,padding:g=0}=c(e,n)||{};if(h==null)return{};let _=E(g),v={x:r,y:i},y=m(a),b=f(y),x=await l.getDimensions(h),S=y===`y`,C=S?`top`:`left`,w=S?`bottom`:`right`,T=S?`clientHeight`:`clientWidth`,D=o.reference[b]+o.reference[y]-v[y]-o.floating[b],O=v[y]-o.reference[y],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(h)),A=k?k[T]:0;(!A||!await(l.isElement==null?void 0:l.isElement(k)))&&(A=d.floating[T]||o.floating[b]);let j=D/2-O/2,M=A/2-x[b]/2-1,ee=t(_[C],M),N=t(_[w],M),P=ee,te=A-x[b]-N,F=A/2-x[b]/2+j,I=s(P,F,te),L=!p.arrow&&u(a)!=null&&F!==I&&o.reference[b]/2-(F<P?ee:N)-x[b]/2<0,R=L?F<P?F-P:F-te:0;return{[y]:v[y]+R,data:{[y]:I,centerOffset:F-I-R,...L&&{alignmentOffset:R}},reset:L}}}),ee=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:_=`bestFit`,fallbackAxisSideDirection:v=`none`,flipAlignment:y=!0,...b}=c(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let x=l(r),S=p(o),T=l(o)===o,E=await(s.isRTL==null?void 0:s.isRTL(u.floating)),D=m||(T||!y?[w(o)]:g(o)),O=v!==`none`;!m&&O&&D.push(...C(o,y,v,E));let k=[o,...D],A=await s.detectOverflow(t,b),j=[],M=i.flip?.overflows||[];if(d&&j.push(A[x]),f){let e=h(r,a,E);j.push(A[e[0]],A[e[1]])}if(M=[...M,{placement:r,overflows:j}],!j.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=k[e];if(t&&(!(f===`alignment`&&S!==p(t))||M.every(e=>p(e.placement)===S?e.overflows[0]>0:!0)))return{data:{index:e,overflows:M},reset:{placement:t}};let n=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(_){case`bestFit`:{let e=M.filter(e=>{if(O){let t=p(e.placement);return t===S||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},N=new Set([`left`,`top`]);async function P(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=l(n),s=u(n),d=p(n)===`y`,f=N.has(o)?-1:1,m=a&&d?-1:1,h=c(t,e),{mainAxis:g,crossAxis:_,alignmentAxis:v}=typeof h==`number`?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof v==`number`&&(_=s===`end`?v*-1:v),d?{x:_*m,y:g*f}:{x:g*f,y:_*m}}var te=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await P(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},F=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:u=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...m}=c(e,t),h={x:n,y:r},g=await a.detectOverflow(t,m),_=p(l(i)),v=d(_),y=h[v],b=h[_];if(o){let e=v===`y`?`top`:`left`,t=v===`y`?`bottom`:`right`,n=y+g[e],r=y-g[t];y=s(n,y,r)}if(u){let e=_===`y`?`top`:`left`,t=_===`y`?`bottom`:`right`,n=b+g[e],r=b-g[t];b=s(n,b,r)}let x=f.fn({...t,[v]:y,[_]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:o,[_]:u}}}}}};function I(){return typeof window<`u`}function L(e){return ne(e)?(e.nodeName||``).toLowerCase():`#document`}function R(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function z(e){return((ne(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function ne(e){return I()?e instanceof Node||e instanceof R(e).Node:!1}function B(e){return I()?e instanceof Element||e instanceof R(e).Element:!1}function V(e){return I()?e instanceof HTMLElement||e instanceof R(e).HTMLElement:!1}function re(e){return!I()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof R(e).ShadowRoot}function H(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function ie(e){return/^(table|td|th)$/.test(L(e))}function U(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var ae=/transform|translate|scale|rotate|perspective|filter/,oe=/paint|layout|strict|content/,W=e=>!!e&&e!==`none`,se;function ce(e){let t=B(e)?q(e):e;return W(t.transform)||W(t.translate)||W(t.scale)||W(t.rotate)||W(t.perspective)||!G()&&(W(t.backdropFilter)||W(t.filter))||ae.test(t.willChange||``)||oe.test(t.contain||``)}function le(e){let t=Y(e);for(;V(t)&&!K(t);){if(ce(t))return t;if(U(t))return null;t=Y(t)}return null}function G(){return se??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),se}function K(e){return/^(html|body|#document)$/.test(L(e))}function q(e){return R(e).getComputedStyle(e)}function J(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if(L(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||re(e)&&e.host||z(e);return re(t)?t.host:t}function ue(e){let t=Y(e);return K(t)?e.ownerDocument?e.ownerDocument.body:e.body:V(t)&&H(t)?t:ue(t)}function X(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ue(e),i=r===e.ownerDocument?.body,a=R(r);if(i){let e=de(a);return t.concat(a,a.visualViewport||[],H(r)?r:[],e&&n?X(e):[])}else return t.concat(r,X(r,[],n))}function de(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fe(e){let t=q(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=V(e),o=a?e.offsetWidth:n,s=a?e.offsetHeight:i,c=r(n)!==o||r(i)!==s;return c&&(n=o,i=s),{width:n,height:i,$:c}}function pe(e){return B(e)?e:e.contextElement}function Z(e){let t=pe(e);if(!V(t))return a(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:s}=fe(t),c=(s?r(n.width):n.width)/i,l=(s?r(n.height):n.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var me=a(0);function he(e){let t=R(e);return!G()||!t.visualViewport?me:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ge(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==R(e)?!1:t}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),o=pe(e),s=a(1);t&&(r?B(r)&&(s=Z(r)):s=Z(e));let c=ge(o,n,r)?he(o):a(0),l=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){let e=R(o),t=r&&B(r)?R(r):r,n=e,i=de(n);for(;i&&r&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=q(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=a,u+=o,n=R(i),i=de(n)}}return D({width:d,height:f,x:l,y:u})}function $(e,t){let n=J(e).scrollLeft;return t?t.left+n:Q(z(e)).left+n}function _e(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-$(e,n),y:n.top+t.scrollTop}}function ve(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o=i===`fixed`,s=z(r),c=t?U(t.floating):!1;if(r===s||c&&o)return n;let l={scrollLeft:0,scrollTop:0},u=a(1),d=a(0),f=V(r);if((f||!f&&!o)&&((L(r)!==`body`||H(s))&&(l=J(r)),f)){let e=Q(r);u=Z(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=s&&!f&&!o?_e(s,l):a(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function ye(e){return Array.from(e.getClientRects())}function be(e){let t=z(e),r=J(e),i=e.ownerDocument.body,a=n(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=n(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+$(e),c=-r.scrollTop;return q(i).direction===`rtl`&&(s+=n(t.clientWidth,i.clientWidth)-a),{width:a,height:o,x:s,y:c}}var xe=25;function Se(e,t){let n=R(e),r=z(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=G();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=$(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=xe&&(a-=o)}else l<=xe&&(a+=l);return{width:a,height:o,x:s,y:c}}function Ce(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=V(e)?Z(e):a(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}function we(e,t,n){let r;if(t===`viewport`)r=Se(e,n);else if(t===`document`)r=be(z(e));else if(B(t))r=Ce(t,n);else{let n=he(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(r)}function Te(e,t){let n=Y(e);return n===t||!B(n)||K(n)?!1:q(n).position===`fixed`||Te(n,t)}function Ee(e,t){let n=t.get(e);if(n)return n;let r=X(e,[],!1).filter(e=>B(e)&&L(e)!==`body`),i=null,a=q(e).position===`fixed`,o=a?Y(e):e;for(;B(o)&&!K(o);){let t=q(o),n=ce(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||H(o)&&!n&&Te(e,o))?r=r.filter(e=>e!==o):i=t,o=Y(o)}return t.set(e,r),r}function De(e){let{element:r,boundary:i,rootBoundary:a,strategy:o}=e,s=[...i===`clippingAncestors`?U(r)?[]:Ee(r,this._c):[].concat(i),a],c=we(r,s[0],o),l=c.top,u=c.right,d=c.bottom,f=c.left;for(let e=1;e<s.length;e++){let i=we(r,s[e],o);l=n(i.top,l),u=t(i.right,u),d=t(i.bottom,d),f=n(i.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Oe(e){let{width:t,height:n}=fe(e);return{width:t,height:n}}function ke(e,t,n){let r=V(t),i=z(t),o=n===`fixed`,s=Q(e,!0,o,t),c={scrollLeft:0,scrollTop:0},l=a(0);function u(){l.x=$(i)}if(r||!r&&!o)if((L(t)!==`body`||H(i))&&(c=J(t)),r){let e=Q(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&u();o&&!r&&i&&u();let d=i&&!r&&!o?_e(i,c):a(0);return{x:s.left+c.scrollLeft-l.x-d.x,y:s.top+c.scrollTop-l.y-d.y,width:s.width,height:s.height}}function Ae(e){return q(e).position===`static`}function je(e,t){if(!V(e)||q(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return z(e)===n&&(n=n.ownerDocument.body),n}function Me(e,t){let n=R(e);if(U(e))return n;if(!V(e)){let t=Y(e);for(;t&&!K(t);){if(B(t)&&!Ae(t))return t;t=Y(t)}return n}let r=je(e,t);for(;r&&ie(r)&&Ae(r);)r=je(r,t);return r&&K(r)&&Ae(r)&&!ce(r)?n:r||le(e)||n}var Ne=async function(e){let t=this.getOffsetParent||Me,n=this.getDimensions,r=await n(e.floating);return{reference:ke(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Pe(e){return q(e).direction===`rtl`}var Fe={convertOffsetParentRelativeRectToViewportRelativeRect:ve,getDocumentElement:z,getClippingRect:De,getOffsetParent:Me,getElementRects:Ne,getClientRects:ye,getDimensions:Oe,getScale:Z,isElement:B,isRTL:Pe};function Ie(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Le(e,r){let a=null,o,s=z(e);function c(){var e;clearTimeout(o),(e=a)==null||e.disconnect(),a=null}function l(u,d){u===void 0&&(u=!1),d===void 0&&(d=1),c();let f=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=f;if(u||r(),!h||!g)return;let _=i(m),v=i(s.clientWidth-(p+h)),y=i(s.clientHeight-(m+g)),b=i(p),x={rootMargin:-_+`px `+-v+`px `+-y+`px `+-b+`px`,threshold:n(0,t(1,d))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(n!==d){if(!S)return l();n?l(!1,n):o=setTimeout(()=>{l(!1,1e-7)},1e3)}n===1&&!Ie(f,e.getBoundingClientRect())&&l(),S=!1}try{a=new IntersectionObserver(C,{...x,root:s.ownerDocument})}catch{a=new IntersectionObserver(C,x)}a.observe(e)}return l(!0),c}function Re(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=pe(e),u=i||a?[...l?X(l):[],...t?X(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Le(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!Ie(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var ze=te,Be=F,Ve=ee,He=M,Ue=(e,t,n)=>{let r=new Map,i={platform:Fe,...n},a={...i.platform,_c:r};return j(e,t,{...i,platform:a})},We=async({floatingElement:t,referenceElement:n,arrowElement:r,align:i=`top`})=>{if(!e()){let e=[ze(r?.offsetHeight??10),Ve(),Be()];r&&e.push(He({element:r}));let{x:a,y:o,middlewareData:s,placement:c}=await Ue(n,t,{placement:i,middleware:e,strategy:`fixed`});Object.assign(t.style,{left:`${a}px`,top:`${o}px`,visibility:`visible`}),r&&(s.arrow?.x?Object.assign(r.style,{left:`${s.arrow.x}px`,top:c===`bottom`?`${-r.offsetHeight/2}px`:``,bottom:c===`top`?`${-r.offsetHeight/2}px`:``}):s.arrow?.y&&Object.assign(r.style,{left:c===`right`?`${-r.offsetWidth/2}px`:``,right:c===`left`?`${-r.offsetWidth/2}px`:``,top:`${s.arrow.y}px`}))}};export{Re as n,We as t};
|
|
2
|
+
//# sourceMappingURL=align-floating-elements-CqZdcuwL-Crn-g1u-.js.map
|