@public-ui/visual-tests 4.3.0-rc.1 → 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,847 @@
|
|
|
1
|
+
import{Ct as e,Dt as t,N as n,Y as r,a as i,d as a,f as o,gt as s,jt as c,k as l,mt as u,o as d,q as f,r as p,s as m}from"./index-CLYw1HnO.js";import{r as h}from"./label-BiOix5de-Bf1AwuDH.js";import{t as g}from"./i18n-BkwRYsvE-Baa6kHEL.js";import{t as _}from"./aria-labelledby-6-ki3akM-C6lJ0lQF.js";import{t as v}from"./aria-labelledby-BuvPnlu7-DWeVUk6D.js";import{a as y,i as b,n as x,o as S,s as C,t as w}from"./table-selection-G45AEZGP-lB35IFxR.js";import{t as T}from"./keyboard-DNd73LVa-BCj4IeP3.js";var E=(e,n,r={})=>{t(e,`_allowMultiSort`,n,Object.assign({defaultValue:!1},r))},D=[`top`,`bottom`,`both`],O=(e,t)=>{c(e,`_paginationPosition`,e=>typeof e==`string`&&D.includes(e),new Set([`PaginationPositionPropType {${D.join(`, `)}`]),t,{defaultValue:`bottom`})},k=`@charset "UTF-8";
|
|
2
|
+
/*
|
|
3
|
+
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
4
|
+
* The order is important as it determines the cascade priority.
|
|
5
|
+
*
|
|
6
|
+
* Layer order (lowest to highest priority):
|
|
7
|
+
* 1. kol-a11y - Accessibility defaults and requirements
|
|
8
|
+
* 2. kol-global - Global component styles and resets
|
|
9
|
+
* 3. kol-component - Component-specific styles
|
|
10
|
+
* 4. kol-theme-global - Theme-specific global styles
|
|
11
|
+
* 5. kol-theme-component - Theme-specific component styles
|
|
12
|
+
*/
|
|
13
|
+
@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;
|
|
14
|
+
/* forward the rem function */
|
|
15
|
+
/*
|
|
16
|
+
* This file contains all rules for accessibility.
|
|
17
|
+
*/
|
|
18
|
+
@layer kol-a11y {
|
|
19
|
+
:host {
|
|
20
|
+
/*
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The \`max(…, 44px)\` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* \`to-rem(44)\` runs the value through a \`calc()\` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
29
|
+
/*
|
|
30
|
+
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
31
|
+
* By initially setting the background color to white and the font color to black,
|
|
32
|
+
* the contrast ratio is ensured and explicit adjustment is forced.
|
|
33
|
+
*/
|
|
34
|
+
color: black;
|
|
35
|
+
background-color: white;
|
|
36
|
+
/*
|
|
37
|
+
* Verdana is an accessible font that can be used without requiring additional loading time.
|
|
38
|
+
*/
|
|
39
|
+
font-family: Verdana;
|
|
40
|
+
/*
|
|
41
|
+
* Letter spacing is required for all texts.
|
|
42
|
+
*/
|
|
43
|
+
letter-spacing: inherit;
|
|
44
|
+
/*
|
|
45
|
+
* Word spacing is required for all texts.
|
|
46
|
+
*/
|
|
47
|
+
word-spacing: inherit;
|
|
48
|
+
/*
|
|
49
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
50
|
+
*/
|
|
51
|
+
text-align: left;
|
|
52
|
+
}
|
|
53
|
+
* {
|
|
54
|
+
/*
|
|
55
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
56
|
+
*/
|
|
57
|
+
hyphens: auto;
|
|
58
|
+
/*
|
|
59
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
60
|
+
*/
|
|
61
|
+
word-break: break-word;
|
|
62
|
+
}
|
|
63
|
+
/*
|
|
64
|
+
* All interactive elements should have a minimum size of to-rem(44).
|
|
65
|
+
*/
|
|
66
|
+
/* input:not([type='checkbox'], [type='radio'], [type='range']), */
|
|
67
|
+
/* option, */
|
|
68
|
+
/* select, */
|
|
69
|
+
/* textarea, */
|
|
70
|
+
button,
|
|
71
|
+
.kol-input .input {
|
|
72
|
+
min-width: var(--a11y-min-size);
|
|
73
|
+
min-height: var(--a11y-min-size);
|
|
74
|
+
}
|
|
75
|
+
/*
|
|
76
|
+
* Some interactive elements should not inherit the font-family and font-size.
|
|
77
|
+
*/
|
|
78
|
+
a,
|
|
79
|
+
button,
|
|
80
|
+
h1,
|
|
81
|
+
h2,
|
|
82
|
+
h3,
|
|
83
|
+
h4,
|
|
84
|
+
h5,
|
|
85
|
+
h6,
|
|
86
|
+
input,
|
|
87
|
+
option,
|
|
88
|
+
select,
|
|
89
|
+
textarea {
|
|
90
|
+
/*
|
|
91
|
+
* All elements should inherit the text color from his parent element.
|
|
92
|
+
*/
|
|
93
|
+
color: inherit;
|
|
94
|
+
/*
|
|
95
|
+
* All elements should inherit the font family from his parent element.
|
|
96
|
+
*/
|
|
97
|
+
font-family: inherit;
|
|
98
|
+
/*
|
|
99
|
+
* All elements should inherit the font size from his parent element.
|
|
100
|
+
*/
|
|
101
|
+
font-size: inherit;
|
|
102
|
+
/*
|
|
103
|
+
* Letter spacing is required for all texts.
|
|
104
|
+
*/
|
|
105
|
+
letter-spacing: inherit;
|
|
106
|
+
/*
|
|
107
|
+
* Word spacing is required for all texts.
|
|
108
|
+
*/
|
|
109
|
+
word-spacing: inherit;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Sometimes we need the semantic element for accessibility reasons,
|
|
113
|
+
* but we don't want to show it.
|
|
114
|
+
*
|
|
115
|
+
* - https://www.a11yproject.com/posts/how-to-hide-content/
|
|
116
|
+
*/
|
|
117
|
+
.visually-hidden {
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
width: 1px;
|
|
122
|
+
height: 1px;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
clip-path: inset(50%);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@layer kol-global {
|
|
129
|
+
/*
|
|
130
|
+
* Dieses CSS stellt sicher, dass der Standard-Style
|
|
131
|
+
* von A und Button resettet werden.
|
|
132
|
+
*/
|
|
133
|
+
:is(a, button) {
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
width: 100%;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding: 0;
|
|
138
|
+
border: none;
|
|
139
|
+
/* 100% needed for custom width from outside */
|
|
140
|
+
}
|
|
141
|
+
/*
|
|
142
|
+
* Ensure elements with hidden attribute to be actually not visible
|
|
143
|
+
* @see https://meowni.ca/hidden.is.a.lie.html
|
|
144
|
+
*/
|
|
145
|
+
[hidden] {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
148
|
+
.badge-text-hint {
|
|
149
|
+
color: black;
|
|
150
|
+
background-color: white;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@layer kol-global {
|
|
154
|
+
:host {
|
|
155
|
+
/*
|
|
156
|
+
* The max-width is needed to prevent the table from overflowing the
|
|
157
|
+
* parent node, if the table is wider than the parent node.
|
|
158
|
+
*/
|
|
159
|
+
max-width: 100%;
|
|
160
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
161
|
+
}
|
|
162
|
+
* {
|
|
163
|
+
/*
|
|
164
|
+
* We prefer to box-sizing: border-box for all elements.
|
|
165
|
+
*/
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
}
|
|
168
|
+
.kol-span {
|
|
169
|
+
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-flow: column;
|
|
172
|
+
align-items: center;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
175
|
+
}
|
|
176
|
+
.kol-span__container {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
}
|
|
180
|
+
a,
|
|
181
|
+
button {
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
.kol-span .kol-span__label--hide-label .kol-span__label {
|
|
185
|
+
display: none;
|
|
186
|
+
}
|
|
187
|
+
/* Reset browser agent style. */
|
|
188
|
+
button:disabled {
|
|
189
|
+
color: unset;
|
|
190
|
+
}
|
|
191
|
+
.disabled label,
|
|
192
|
+
.disabled:focus-within label,
|
|
193
|
+
[aria-disabled=true],
|
|
194
|
+
[aria-disabled=true]:focus,
|
|
195
|
+
[disabled],
|
|
196
|
+
[disabled]:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
cursor: not-allowed;
|
|
199
|
+
}
|
|
200
|
+
[aria-disabled=true]:focus .kol-span,
|
|
201
|
+
[disabled]:focus .kol-span {
|
|
202
|
+
outline: none !important;
|
|
203
|
+
}
|
|
204
|
+
.hastooltip {
|
|
205
|
+
z-index: 900 !important;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@layer kol-component {
|
|
209
|
+
:host {
|
|
210
|
+
display: block;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
@font-face {
|
|
214
|
+
font-family: "kolicons";
|
|
215
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
216
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
217
|
+
}
|
|
218
|
+
@layer kol-component {
|
|
219
|
+
[class^=kolicon-], [class*=" kolicon-"] {
|
|
220
|
+
font-family: "kolicons";
|
|
221
|
+
font-style: normal;
|
|
222
|
+
font-weight: 400;
|
|
223
|
+
line-height: 1em;
|
|
224
|
+
-webkit-font-smoothing: antialiased;
|
|
225
|
+
-moz-osx-font-smoothing: grayscale;
|
|
226
|
+
}
|
|
227
|
+
.kolicon-alert-error::before {
|
|
228
|
+
content: "\\ea01";
|
|
229
|
+
}
|
|
230
|
+
.kolicon-alert-info::before {
|
|
231
|
+
content: "\\ea02";
|
|
232
|
+
}
|
|
233
|
+
.kolicon-alert-success::before {
|
|
234
|
+
content: "\\ea03";
|
|
235
|
+
}
|
|
236
|
+
.kolicon-alert-warning::before {
|
|
237
|
+
content: "\\ea04";
|
|
238
|
+
}
|
|
239
|
+
.kolicon-check::before {
|
|
240
|
+
content: "\\ea05";
|
|
241
|
+
}
|
|
242
|
+
.kolicon-chevron-double-left::before {
|
|
243
|
+
content: "\\ea06";
|
|
244
|
+
}
|
|
245
|
+
.kolicon-chevron-double-right::before {
|
|
246
|
+
content: "\\ea07";
|
|
247
|
+
}
|
|
248
|
+
.kolicon-chevron-down::before {
|
|
249
|
+
content: "\\ea08";
|
|
250
|
+
}
|
|
251
|
+
.kolicon-chevron-left::before {
|
|
252
|
+
content: "\\ea09";
|
|
253
|
+
}
|
|
254
|
+
.kolicon-chevron-right::before {
|
|
255
|
+
content: "\\ea0a";
|
|
256
|
+
}
|
|
257
|
+
.kolicon-chevron-up::before {
|
|
258
|
+
content: "\\ea0b";
|
|
259
|
+
}
|
|
260
|
+
.kolicon-cogwheel::before {
|
|
261
|
+
content: "\\ea0c";
|
|
262
|
+
}
|
|
263
|
+
.kolicon-cross::before {
|
|
264
|
+
content: "\\ea0d";
|
|
265
|
+
}
|
|
266
|
+
.kolicon-eye-closed::before {
|
|
267
|
+
content: "\\ea0e";
|
|
268
|
+
}
|
|
269
|
+
.kolicon-eye::before {
|
|
270
|
+
content: "\\ea0f";
|
|
271
|
+
}
|
|
272
|
+
.kolicon-house::before {
|
|
273
|
+
content: "\\ea10";
|
|
274
|
+
}
|
|
275
|
+
.kolicon-kolibri::before {
|
|
276
|
+
content: "\\ea11";
|
|
277
|
+
}
|
|
278
|
+
.kolicon-link-external::before {
|
|
279
|
+
content: "\\ea12";
|
|
280
|
+
}
|
|
281
|
+
.kolicon-link::before {
|
|
282
|
+
content: "\\ea13";
|
|
283
|
+
}
|
|
284
|
+
.kolicon-minus::before {
|
|
285
|
+
content: "\\ea14";
|
|
286
|
+
}
|
|
287
|
+
.kolicon-plus::before {
|
|
288
|
+
content: "\\ea15";
|
|
289
|
+
}
|
|
290
|
+
.kolicon-settings::before {
|
|
291
|
+
content: "\\ea16";
|
|
292
|
+
}
|
|
293
|
+
.kolicon-sort-asc::before {
|
|
294
|
+
content: "\\ea17";
|
|
295
|
+
}
|
|
296
|
+
.kolicon-sort-desc::before {
|
|
297
|
+
content: "\\ea18";
|
|
298
|
+
}
|
|
299
|
+
.kolicon-sort-neutral::before {
|
|
300
|
+
content: "\\ea19";
|
|
301
|
+
}
|
|
302
|
+
.kolicon-up::before {
|
|
303
|
+
content: "\\ea1a";
|
|
304
|
+
}
|
|
305
|
+
.kolicon-version::before {
|
|
306
|
+
content: "\\ea1b";
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
@layer kol-component {
|
|
310
|
+
.kol-icon {
|
|
311
|
+
color: inherit;
|
|
312
|
+
display: inline-block;
|
|
313
|
+
font-size: inherit;
|
|
314
|
+
font-weight: inherit;
|
|
315
|
+
line-height: inherit;
|
|
316
|
+
}
|
|
317
|
+
.kol-tooltip {
|
|
318
|
+
display: contents;
|
|
319
|
+
}
|
|
320
|
+
.kol-tooltip__floating {
|
|
321
|
+
opacity: 0;
|
|
322
|
+
display: none;
|
|
323
|
+
position: fixed;
|
|
324
|
+
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
325
|
+
top: 0;
|
|
326
|
+
left: 0;
|
|
327
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
328
|
+
width: var(--kol-tooltip-width, max-content);
|
|
329
|
+
min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
330
|
+
max-width: 90vw;
|
|
331
|
+
max-height: 90vh;
|
|
332
|
+
animation-direction: normal;
|
|
333
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
334
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
335
|
+
animation-fill-mode: forwards;
|
|
336
|
+
animation-iteration-count: 1;
|
|
337
|
+
animation-timing-function: ease-in;
|
|
338
|
+
}
|
|
339
|
+
.kol-tooltip__floating.hide {
|
|
340
|
+
animation-name: hideTooltip;
|
|
341
|
+
}
|
|
342
|
+
.kol-tooltip__floating.show {
|
|
343
|
+
animation-name: showTooltip;
|
|
344
|
+
}
|
|
345
|
+
.kol-tooltip__arrow {
|
|
346
|
+
transform: rotate(45deg);
|
|
347
|
+
color: black;
|
|
348
|
+
background-color: white;
|
|
349
|
+
position: absolute;
|
|
350
|
+
z-index: 999;
|
|
351
|
+
width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
352
|
+
height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
353
|
+
}
|
|
354
|
+
.kol-tooltip__content {
|
|
355
|
+
color: black;
|
|
356
|
+
background-color: white;
|
|
357
|
+
position: relative;
|
|
358
|
+
z-index: 1000;
|
|
359
|
+
}
|
|
360
|
+
@keyframes hideTooltip {
|
|
361
|
+
0% {
|
|
362
|
+
opacity: 1;
|
|
363
|
+
}
|
|
364
|
+
100% {
|
|
365
|
+
opacity: 0;
|
|
366
|
+
display: none;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
@keyframes showTooltip {
|
|
370
|
+
0% {
|
|
371
|
+
opacity: 0;
|
|
372
|
+
}
|
|
373
|
+
100% {
|
|
374
|
+
opacity: 1;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
@layer kol-component {
|
|
379
|
+
.kol-alert .kol-icon {
|
|
380
|
+
color: inherit;
|
|
381
|
+
display: inline-block;
|
|
382
|
+
font-size: inherit;
|
|
383
|
+
font-weight: inherit;
|
|
384
|
+
line-height: inherit;
|
|
385
|
+
}
|
|
386
|
+
.kol-alert :host {
|
|
387
|
+
display: inline-block;
|
|
388
|
+
}
|
|
389
|
+
.kol-alert .kol-button {
|
|
390
|
+
display: flex;
|
|
391
|
+
min-height: var(--a11y-min-size);
|
|
392
|
+
font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
393
|
+
text-decoration-line: none;
|
|
394
|
+
}
|
|
395
|
+
.kol-alert .kol-button::before {
|
|
396
|
+
/* Render zero-width character as first element to set the baseline correctly. */
|
|
397
|
+
content: "";
|
|
398
|
+
}
|
|
399
|
+
.kol-alert .kol-button__text {
|
|
400
|
+
flex: 1 0 100%;
|
|
401
|
+
}
|
|
402
|
+
.kol-alert {
|
|
403
|
+
display: grid;
|
|
404
|
+
}
|
|
405
|
+
.kol-alert__container {
|
|
406
|
+
display: flex;
|
|
407
|
+
place-items: center;
|
|
408
|
+
}
|
|
409
|
+
.kol-alert__container-content {
|
|
410
|
+
flex-grow: 1;
|
|
411
|
+
}
|
|
412
|
+
.kol-alert__closer {
|
|
413
|
+
/* Visible with forced colors */
|
|
414
|
+
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
415
|
+
}
|
|
416
|
+
.kol-icon {
|
|
417
|
+
color: inherit;
|
|
418
|
+
display: inline-block;
|
|
419
|
+
font-size: inherit;
|
|
420
|
+
font-weight: inherit;
|
|
421
|
+
line-height: inherit;
|
|
422
|
+
}
|
|
423
|
+
:host {
|
|
424
|
+
display: inline-block;
|
|
425
|
+
}
|
|
426
|
+
.kol-button {
|
|
427
|
+
display: flex;
|
|
428
|
+
min-height: var(--a11y-min-size);
|
|
429
|
+
font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
430
|
+
text-decoration-line: none;
|
|
431
|
+
}
|
|
432
|
+
.kol-button::before {
|
|
433
|
+
/* Render zero-width character as first element to set the baseline correctly. */
|
|
434
|
+
content: "";
|
|
435
|
+
}
|
|
436
|
+
.kol-button__text {
|
|
437
|
+
flex: 1 0 100%;
|
|
438
|
+
}
|
|
439
|
+
.kol-popover-button__popover {
|
|
440
|
+
margin: 0;
|
|
441
|
+
padding: 0;
|
|
442
|
+
border: 0;
|
|
443
|
+
}
|
|
444
|
+
.kol-popover-button--inline .kol-popover-button__button {
|
|
445
|
+
display: inline;
|
|
446
|
+
}
|
|
447
|
+
.kol-popover {
|
|
448
|
+
opacity: 0;
|
|
449
|
+
transition: 0.2s ease-out opacity;
|
|
450
|
+
}
|
|
451
|
+
.kol-popover-button--open + .kol-popover {
|
|
452
|
+
opacity: 1;
|
|
453
|
+
}
|
|
454
|
+
.kol-table-settings {
|
|
455
|
+
position: absolute;
|
|
456
|
+
top: 0;
|
|
457
|
+
right: 0;
|
|
458
|
+
z-index: 1;
|
|
459
|
+
}
|
|
460
|
+
.kol-table-settings .kol-popover-button__popover {
|
|
461
|
+
background: white;
|
|
462
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
463
|
+
border-radius: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
464
|
+
border: 1px solid black;
|
|
465
|
+
}
|
|
466
|
+
.kol-table-settings__columns-container {
|
|
467
|
+
max-height: calc(200 * 1rem / var(--kolibri-root-font-size, 16));
|
|
468
|
+
overflow: auto;
|
|
469
|
+
}
|
|
470
|
+
.kol-table-settings__columns {
|
|
471
|
+
display: grid;
|
|
472
|
+
align-items: center;
|
|
473
|
+
grid-auto-rows: min-content;
|
|
474
|
+
grid-template-columns: min-content minmax(max-content, 1fr) calc(140 * 1rem / var(--kolibri-root-font-size, 16)) auto auto;
|
|
475
|
+
}
|
|
476
|
+
.kol-table-settings__column {
|
|
477
|
+
display: contents;
|
|
478
|
+
}
|
|
479
|
+
.kol-icon {
|
|
480
|
+
color: inherit;
|
|
481
|
+
display: inline-block;
|
|
482
|
+
font-size: inherit;
|
|
483
|
+
font-weight: inherit;
|
|
484
|
+
line-height: inherit;
|
|
485
|
+
}
|
|
486
|
+
.kol-table {
|
|
487
|
+
--kol-table-selection-col-width: var(--a11y-min-size);
|
|
488
|
+
display: block;
|
|
489
|
+
position: relative;
|
|
490
|
+
max-width: 100%;
|
|
491
|
+
}
|
|
492
|
+
.kol-table:has(.kol-table__focus-element:focus) .kol-table__scroll-container {
|
|
493
|
+
/* @see https://remysharp.com/til/css/focus-ring-default-styles */
|
|
494
|
+
outline: 5px auto Highlight;
|
|
495
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
496
|
+
outline-offset: 2px;
|
|
497
|
+
}
|
|
498
|
+
.kol-table__scroll-container {
|
|
499
|
+
overflow-x: auto;
|
|
500
|
+
overflow-y: hidden;
|
|
501
|
+
}
|
|
502
|
+
.kol-table__table {
|
|
503
|
+
table-layout: fixed;
|
|
504
|
+
}
|
|
505
|
+
.kol-table__caption {
|
|
506
|
+
min-height: var(--a11y-min-size);
|
|
507
|
+
text-align: start;
|
|
508
|
+
}
|
|
509
|
+
kol-table-settings-wc:not(:has(~ .kol-table__scroll-container .kol-table__caption)) {
|
|
510
|
+
display: block;
|
|
511
|
+
min-height: var(--a11y-min-size);
|
|
512
|
+
}
|
|
513
|
+
.kol-table__sort-button .kol-button {
|
|
514
|
+
color: inherit;
|
|
515
|
+
}
|
|
516
|
+
.kol-table__sort {
|
|
517
|
+
display: inline-flex;
|
|
518
|
+
align-items: center;
|
|
519
|
+
}
|
|
520
|
+
.kol-table__sort-order {
|
|
521
|
+
display: inline-flex;
|
|
522
|
+
align-items: center;
|
|
523
|
+
justify-content: center;
|
|
524
|
+
}
|
|
525
|
+
.kol-table__body {
|
|
526
|
+
text-align: left;
|
|
527
|
+
}
|
|
528
|
+
.kol-table__body .kol-button__text {
|
|
529
|
+
justify-items: start;
|
|
530
|
+
}
|
|
531
|
+
.kol-table__cell--align-left {
|
|
532
|
+
text-align: left;
|
|
533
|
+
}
|
|
534
|
+
.kol-table__cell--align-left .kol-button__text {
|
|
535
|
+
align-items: start;
|
|
536
|
+
}
|
|
537
|
+
.kol-table__cell--align-center {
|
|
538
|
+
text-align: center;
|
|
539
|
+
}
|
|
540
|
+
.kol-table__cell--align-center .kol-button__text {
|
|
541
|
+
align-items: center;
|
|
542
|
+
}
|
|
543
|
+
.kol-table__cell--align-right {
|
|
544
|
+
text-align: right;
|
|
545
|
+
}
|
|
546
|
+
.kol-table__cell--align-right .kol-button__text {
|
|
547
|
+
align-items: end;
|
|
548
|
+
}
|
|
549
|
+
.kol-table__cell--selection {
|
|
550
|
+
background-color: white;
|
|
551
|
+
position: sticky !important;
|
|
552
|
+
left: 0;
|
|
553
|
+
z-index: 2;
|
|
554
|
+
width: var(--kol-table-selection-col-width, auto);
|
|
555
|
+
min-width: var(--a11y-min-size);
|
|
556
|
+
min-height: var(--a11y-min-size);
|
|
557
|
+
white-space: nowrap;
|
|
558
|
+
}
|
|
559
|
+
.kol-table__cell--actions {
|
|
560
|
+
white-space: nowrap;
|
|
561
|
+
}
|
|
562
|
+
.kol-table__cell--actions .kol-icon {
|
|
563
|
+
color: inherit;
|
|
564
|
+
display: inline-block;
|
|
565
|
+
font-size: inherit;
|
|
566
|
+
font-weight: inherit;
|
|
567
|
+
line-height: inherit;
|
|
568
|
+
}
|
|
569
|
+
.kol-table__cell--actions :host {
|
|
570
|
+
display: inline-block;
|
|
571
|
+
}
|
|
572
|
+
.kol-table__cell--actions .kol-button {
|
|
573
|
+
display: flex;
|
|
574
|
+
min-height: var(--a11y-min-size);
|
|
575
|
+
font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
576
|
+
text-decoration-line: none;
|
|
577
|
+
}
|
|
578
|
+
.kol-table__cell--actions .kol-button::before {
|
|
579
|
+
/* Render zero-width character as first element to set the baseline correctly. */
|
|
580
|
+
content: "";
|
|
581
|
+
}
|
|
582
|
+
.kol-table__cell--actions .kol-button__text {
|
|
583
|
+
flex: 1 0 100%;
|
|
584
|
+
}
|
|
585
|
+
.kol-table__cell--actions .kol-icon {
|
|
586
|
+
color: inherit;
|
|
587
|
+
display: inline-block;
|
|
588
|
+
font-size: inherit;
|
|
589
|
+
font-weight: inherit;
|
|
590
|
+
line-height: inherit;
|
|
591
|
+
}
|
|
592
|
+
.kol-table__cell--actions :host {
|
|
593
|
+
display: inline-block;
|
|
594
|
+
}
|
|
595
|
+
.kol-table__cell--actions .kol-link {
|
|
596
|
+
display: inline-flex;
|
|
597
|
+
max-width: fit-content;
|
|
598
|
+
align-items: baseline;
|
|
599
|
+
place-items: center;
|
|
600
|
+
text-align: left;
|
|
601
|
+
text-decoration-line: none;
|
|
602
|
+
}
|
|
603
|
+
.kol-table__cell--actions .kol-link--standalone {
|
|
604
|
+
min-width: var(--a11y-min-size);
|
|
605
|
+
min-height: var(--a11y-min-size);
|
|
606
|
+
align-items: stretch;
|
|
607
|
+
}
|
|
608
|
+
.kol-table__cell--actions .kol-link--standalone .kol-link__text {
|
|
609
|
+
display: inline-flex;
|
|
610
|
+
flex: 1 1 100%;
|
|
611
|
+
place-items: center;
|
|
612
|
+
}
|
|
613
|
+
.kol-table__cell--actions .kol-link .kol-span__label {
|
|
614
|
+
text-decoration-line: underline;
|
|
615
|
+
}
|
|
616
|
+
.kol-table__cell--actions .kol-link:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-table__cell--actions .kol-link:hover:not([aria-disabled], [disabled]) .kol-span__label {
|
|
617
|
+
text-decoration-thickness: 0.2em;
|
|
618
|
+
}
|
|
619
|
+
.kol-table__cell--actions .kol-link__icon {
|
|
620
|
+
display: inline-flex;
|
|
621
|
+
}
|
|
622
|
+
.kol-table__cell--sticky-left, .kol-table__cell--sticky-right {
|
|
623
|
+
background-color: white;
|
|
624
|
+
position: sticky !important;
|
|
625
|
+
z-index: 1;
|
|
626
|
+
}
|
|
627
|
+
.kol-table__cell--sticky-left:nth-last-child(1 of .kol-table__cell--sticky-left) {
|
|
628
|
+
border-right: 2px solid black;
|
|
629
|
+
}
|
|
630
|
+
.kol-table__cell--sticky-right:nth-child(1 of .kol-table__cell--sticky-left) {
|
|
631
|
+
border-left: 2px solid black;
|
|
632
|
+
}
|
|
633
|
+
.kol-table__cell-actions {
|
|
634
|
+
display: flex;
|
|
635
|
+
flex-wrap: wrap;
|
|
636
|
+
align-items: center;
|
|
637
|
+
justify-content: center;
|
|
638
|
+
}
|
|
639
|
+
.kol-table__spacer {
|
|
640
|
+
display: none;
|
|
641
|
+
}
|
|
642
|
+
.kol-table__selection {
|
|
643
|
+
position: relative;
|
|
644
|
+
}
|
|
645
|
+
.kol-table__selection-label {
|
|
646
|
+
display: flex;
|
|
647
|
+
position: relative;
|
|
648
|
+
min-width: var(--a11y-min-size);
|
|
649
|
+
min-height: var(--a11y-min-size);
|
|
650
|
+
align-items: center;
|
|
651
|
+
justify-content: center;
|
|
652
|
+
cursor: pointer;
|
|
653
|
+
}
|
|
654
|
+
.kol-table__selection--disabled {
|
|
655
|
+
cursor: not-allowed;
|
|
656
|
+
}
|
|
657
|
+
.kol-table__selection-icon {
|
|
658
|
+
display: block;
|
|
659
|
+
position: absolute;
|
|
660
|
+
inset: auto;
|
|
661
|
+
z-index: 1;
|
|
662
|
+
}
|
|
663
|
+
.kol-table__selection-input {
|
|
664
|
+
border-style: solid;
|
|
665
|
+
margin: 0;
|
|
666
|
+
appearance: none;
|
|
667
|
+
cursor: pointer;
|
|
668
|
+
}
|
|
669
|
+
.kol-table__selection-input:disabled {
|
|
670
|
+
cursor: not-allowed;
|
|
671
|
+
}
|
|
672
|
+
.kol-table__selection-input:before {
|
|
673
|
+
content: "";
|
|
674
|
+
}
|
|
675
|
+
.kol-table__selection-input--checkbox {
|
|
676
|
+
background-color: white;
|
|
677
|
+
display: flex;
|
|
678
|
+
position: relative;
|
|
679
|
+
min-width: calc(var(--a11y-min-size) / 2);
|
|
680
|
+
min-height: calc(var(--a11y-min-size) / 2);
|
|
681
|
+
border-width: 2px;
|
|
682
|
+
align-items: center;
|
|
683
|
+
justify-content: center;
|
|
684
|
+
line-height: 1.5;
|
|
685
|
+
}
|
|
686
|
+
.kol-table__selection-input--radio {
|
|
687
|
+
border-radius: 100%;
|
|
688
|
+
display: flex;
|
|
689
|
+
width: 1.5em;
|
|
690
|
+
min-width: 1.5em;
|
|
691
|
+
height: 1.5em;
|
|
692
|
+
min-height: 1.5em;
|
|
693
|
+
padding: 0;
|
|
694
|
+
border-width: 2px;
|
|
695
|
+
}
|
|
696
|
+
.kol-table__selection-input--radio:before {
|
|
697
|
+
border-radius: 100%;
|
|
698
|
+
width: 0.75em;
|
|
699
|
+
height: 0.75em;
|
|
700
|
+
margin: auto;
|
|
701
|
+
}
|
|
702
|
+
.kol-table__selection-input--radio:checked:before {
|
|
703
|
+
background-color: black;
|
|
704
|
+
}
|
|
705
|
+
@media (forced-colors: active) {
|
|
706
|
+
.kol-table__selection-input--radio:checked:before {
|
|
707
|
+
/* Give it a visible background in forced colors mode */
|
|
708
|
+
background-color: selectedItem !important;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
.kol-alert .kol-icon {
|
|
712
|
+
color: inherit;
|
|
713
|
+
display: inline-block;
|
|
714
|
+
font-size: inherit;
|
|
715
|
+
font-weight: inherit;
|
|
716
|
+
line-height: inherit;
|
|
717
|
+
}
|
|
718
|
+
.kol-alert :host {
|
|
719
|
+
display: inline-block;
|
|
720
|
+
}
|
|
721
|
+
.kol-alert .kol-button {
|
|
722
|
+
display: flex;
|
|
723
|
+
min-height: var(--a11y-min-size);
|
|
724
|
+
font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
725
|
+
text-decoration-line: none;
|
|
726
|
+
}
|
|
727
|
+
.kol-alert .kol-button::before {
|
|
728
|
+
/* Render zero-width character as first element to set the baseline correctly. */
|
|
729
|
+
content: "";
|
|
730
|
+
}
|
|
731
|
+
.kol-alert .kol-button__text {
|
|
732
|
+
flex: 1 0 100%;
|
|
733
|
+
}
|
|
734
|
+
.kol-alert {
|
|
735
|
+
display: grid;
|
|
736
|
+
}
|
|
737
|
+
.kol-alert__container {
|
|
738
|
+
display: flex;
|
|
739
|
+
place-items: center;
|
|
740
|
+
}
|
|
741
|
+
.kol-alert__container-content {
|
|
742
|
+
flex-grow: 1;
|
|
743
|
+
}
|
|
744
|
+
.kol-alert__closer {
|
|
745
|
+
/* Visible with forced colors */
|
|
746
|
+
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
747
|
+
}
|
|
748
|
+
.kol-form-field {
|
|
749
|
+
display: grid;
|
|
750
|
+
}
|
|
751
|
+
.kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {
|
|
752
|
+
cursor: pointer;
|
|
753
|
+
}
|
|
754
|
+
.kol-form-field__label-text {
|
|
755
|
+
flex-flow: row;
|
|
756
|
+
align-items: flex-start;
|
|
757
|
+
justify-content: flex-start;
|
|
758
|
+
}
|
|
759
|
+
.kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,
|
|
760
|
+
.kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after {
|
|
761
|
+
content: "*"/"";
|
|
762
|
+
}
|
|
763
|
+
.kol-input-container {
|
|
764
|
+
background-color: transparent;
|
|
765
|
+
display: grid;
|
|
766
|
+
position: relative;
|
|
767
|
+
width: 100%;
|
|
768
|
+
min-width: var(--a11y-min-size);
|
|
769
|
+
min-height: var(--a11y-min-size);
|
|
770
|
+
align-items: center;
|
|
771
|
+
grid-template-columns: 1fr;
|
|
772
|
+
}
|
|
773
|
+
.kol-input-container:has(> .kol-input-container__adornment--start) {
|
|
774
|
+
grid-template-columns: auto 1fr auto;
|
|
775
|
+
}
|
|
776
|
+
.kol-input-container__container {
|
|
777
|
+
position: relative;
|
|
778
|
+
z-index: 1;
|
|
779
|
+
}
|
|
780
|
+
.kol-input-container__adornment {
|
|
781
|
+
display: flex;
|
|
782
|
+
align-items: center;
|
|
783
|
+
}
|
|
784
|
+
.kol-input-container__adornment .kol-icon {
|
|
785
|
+
display: grid;
|
|
786
|
+
min-height: var(--a11y-min-size);
|
|
787
|
+
place-items: center;
|
|
788
|
+
}
|
|
789
|
+
.kol-select {
|
|
790
|
+
background-color: transparent;
|
|
791
|
+
width: 100%;
|
|
792
|
+
padding: 0;
|
|
793
|
+
}
|
|
794
|
+
.kol-select:not(:disabled) {
|
|
795
|
+
cursor: pointer;
|
|
796
|
+
}
|
|
797
|
+
.kol-select:not([multiple], [size]) {
|
|
798
|
+
height: 2.75em;
|
|
799
|
+
}
|
|
800
|
+
.kol-select:focus {
|
|
801
|
+
outline: none;
|
|
802
|
+
}
|
|
803
|
+
.kol-select__option:checked::before {
|
|
804
|
+
content: "✓ ";
|
|
805
|
+
}
|
|
806
|
+
.kol-select[multiple] option {
|
|
807
|
+
display: flex;
|
|
808
|
+
min-height: var(--a11y-min-size);
|
|
809
|
+
align-items: center;
|
|
810
|
+
}
|
|
811
|
+
.kol-icon {
|
|
812
|
+
color: inherit;
|
|
813
|
+
display: inline-block;
|
|
814
|
+
font-size: inherit;
|
|
815
|
+
font-weight: inherit;
|
|
816
|
+
line-height: inherit;
|
|
817
|
+
}
|
|
818
|
+
.kol-pagination {
|
|
819
|
+
display: flex;
|
|
820
|
+
flex-wrap: wrap;
|
|
821
|
+
align-items: center;
|
|
822
|
+
justify-content: center;
|
|
823
|
+
container: paging/inline-size;
|
|
824
|
+
}
|
|
825
|
+
.kol-pagination__navigation-list {
|
|
826
|
+
display: inline-flex;
|
|
827
|
+
margin: 0;
|
|
828
|
+
padding: 0;
|
|
829
|
+
flex-wrap: wrap;
|
|
830
|
+
align-items: center;
|
|
831
|
+
list-style: none;
|
|
832
|
+
}
|
|
833
|
+
.kol-pagination__separator:before {
|
|
834
|
+
content: "•••";
|
|
835
|
+
}
|
|
836
|
+
.kol-pagination__page-size-select .kol-form-field-select {
|
|
837
|
+
align-items: center;
|
|
838
|
+
grid-template-columns: 1fr max-content;
|
|
839
|
+
}
|
|
840
|
+
@container paging (width < 600px) {
|
|
841
|
+
.kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers),
|
|
842
|
+
.kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) {
|
|
843
|
+
display: none;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}`,A=[10,20,50,100],j=e=>e===!0||e===``||typeof e==`object`&&!!e,M=class{constructor(t){m(this,t),this.resolvedElements=[],this.catchRef=e=>{this.tableWcRef=e},this.sortData=[],this.showPagination=!1,this.pageStartSlice=0,this.pageEndSlice=10,this.disableSort=!1,this._paginationPosition=`bottom`,this.state={_allowMultiSort:!1,_fixedCols:[0,0],_data:[],_dataFoot:[],_headers:{horizontal:[],vertical:[]},_label:``,_pagination:{_page:1,_pageSize:10,_max:0},_sortedData:[],_paginationPosition:`bottom`,_hasSettingsMenu:!1},this.handlePagination={onClick:(t,n)=>{typeof this.state._pagination._on?.onClick==`function`&&this.state._pagination._on.onClick(t,n),e(this,`_pagination`,Object.assign(Object.assign({},this.state._pagination),{_page:n}))},onChangePage:(t,n)=>{typeof this.state._pagination._on?.onChangePage==`function`&&this.state._pagination._on.onChangePage(t,n),e(this,`_pagination`,Object.assign(Object.assign({},this.state._pagination),{_page:n}))},onChangePageSize:(t,n)=>{typeof this.state._pagination._on?.onChangePageSize==`function`&&this.state._pagination._on.onChangePageSize(t,n),e(this,`_pagination`,Object.assign(Object.assign({},this.state._pagination),{_pageSize:n})),e(this,`_pageSize`,n)}},this.onSelectionChange=e=>{e.stopPropagation()},this.updateSortedData=()=>{if(this.disableSort){e(this,`_sortedData`,this.state._data);return}let t=[...this.state._data];this.sortData.length>0&&t.sort((e,t)=>{for(let n=0;n<this.sortData.length;n++){let r=this.sortData[n],i=r.compareFn(e,t,r.direction);if(i!==0)return r.direction===`ASC`?i:-i}return 0}),e(this,`_sortedData`,t)},this.handleChangeHeaderCells=e=>{this.adjustedHeaderCells=e}}validateAriaLabelledby(e){this.syncExternalLabel(e)}syncExternalLabel(e){this.resolvedElements=v(this,this.host,this.internals,e)}validateAllowMultiSort(e){E(this,e,{defaultValue:!1})}validateData(e){b(this,e,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}validateDataFoot(e){y(this,e,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}validateFixedCols(e){w(this,e)}validatePaginationPosition(e){O(this,e)}validateHasSettingsMenu(e){x(this,e)}changeCellSort(e){if(e.type===void 0||e.type==="default"){if(typeof e.compareFn!=`function`)return;!this.state._allowMultiSort&&e.key!==this.sortData[0]?.key&&(this.sortData=[]);let t=this.sortData.findIndex(t=>t.key===e.key);if(t>=0){let e=this.sortData[t];switch(e.direction){case`ASC`:e.direction=`DESC`;break;case`DESC`:this.sortData.splice(t,1);break;default:e.direction=`ASC`;break}}else e.key&&this.sortData.push({label:e.label,key:e.key,compareFn:e.compareFn,direction:`ASC`});this.updateSortedData()}}initializeSortFromHeaders(e){var t,n;let r=!1,i=e=>{this.sortData=[],e.forEach(e=>{if(e.type!==void 0&&e.type!=="default")return;if(typeof e.compareFn==`function`&&!e.key){f(`[KolTableStateful] A sortable column requires the 'key' property.`);return}let t=e.key;if(!t)return;let n=e.sortDirection;(n===`ASC`||n===`DESC`)&&typeof e.compareFn==`function`&&((this.state._allowMultiSort||this.sortData.length===0)&&this.sortData.push({label:e.label,key:t,compareFn:e.compareFn,direction:n}),r=!0)})};return(t=e.horizontal)==null||t.forEach(i),(n=e.vertical)==null||n.forEach(i),r}validateHeaders(e){r(e,()=>{u(e,()=>{try{e=s(e)}catch{}c(this,`_headers`,e=>typeof e==`object`&&!!e,new Set([`KoliBriTableHeaders`]),e,{hooks:{beforePatch:e=>{let t=e;this.headerKeysChanged(this.state._headers,t)&&(this.adjustedHeaderCells=void 0),this.initializeSortFromHeaders(t)&&setTimeout(()=>this.updateSortedData()),t.horizontal&&t.vertical&&t.horizontal?.length>0&&t.vertical?.length>0&&(this.disableSort=!0,f(`Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)`))}}})})})}validateLabel(e){h(this,e,{required:!0})}validateSelection(e){S(this,e)}validateOn(e){C(this,e)}validatePagination(e){try{e=s(e)}catch{}this.showPagination=j(e),c(this,`_pagination`,j,new Set([`boolean`,`KoliBriTablePagination`]),e,{defaultValue:{_page:1,_pageSize:10,_max:0}})}componentDidLoad(){var e;(e=this.tableWcRef)==null||e.addEventListener(a.selectionChange,this.onSelectionChange),this.resolvedElements.length||this.syncExternalLabel(this._ariaLabelledby)}disconnectedCallback(){var e;(e=this.tableWcRef)==null||e.removeEventListener(a.selectionChange,this.onSelectionChange)}componentWillLoad(){this.internals=_(this.host),this.syncExternalLabel(this._ariaLabelledby),this.validateAllowMultiSort(this._allowMultiSort),this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateFixedCols(this._fixedCols),this.validateHeaders(this._headers),this.validateLabel(this._label),this.validateOn(this._on),this.validatePagination(this._pagination),this.validatePaginationPosition(this._paginationPosition),this.validateSelection(this._selection),this.validateHasSettingsMenu(this._hasSettingsMenu)}selectDisplayedData(e,t,n){return typeof t==`number`&&t>0&&typeof n==`number`&&n>0?(this.pageStartSlice=t*(n-1),this.pageEndSlice=t*n>e.length?e.length:t*n,e.slice(this.pageStartSlice,this.pageEndSlice)):(this.pageStartSlice=0,this.pageEndSlice=e.length,e)}renderPagination(e){let t=g(`kol-table-pagination-label`,{placeholders:{label:`${this.state._label} (${g(`kol-pagination-position-${e}`)})`}});return d(`div`,{class:`kol-table-stateful__pagination kol-table-stateful__pagination--${this.state._paginationPosition}`},d(`div`,{class:`kol-table-stateful__pagination-wrapper`},d(l,{_boundaryCount:this.state._pagination._boundaryCount,_customClass:this.state._pagination._customClass,_hasButtons:this.state._pagination._hasButtons,_on:this.handlePagination,_page:this.state._pagination._page,_pageSize:this.state._pagination._pageSize,_pageSizeOptions:this.state._pagination._pageSizeOptions||A,_siblingCount:this.state._pagination._siblingCount,_tooltipAlign:`bottom`,_max:this.state._pagination._max||this.state._data.length,_label:t})))}getHeaderCellSortState(e){if(!(e.type!==void 0&&e.type!=="default")&&!this.disableSort&&typeof e.compareFn==`function`){if(e.key){let t=this.sortData.find(t=>t.key===e.key);if(t?.direction)return t.direction}return`NOS`}}getHeaderCellSortOrder(e){if(!(e.type!==void 0&&e.type!=="default")&&!this.disableSort&&this.state._allowMultiSort&&typeof e.compareFn==`function`&&e.key){let t=this.sortData.findIndex(t=>t.key===e.key);if(t>=0)return t+1}}handleSort({key:e}){let t=this.state._headers.horizontal??[],n=this.state._headers.vertical??[],r=[];for(let e of t)Array.isArray(e)&&r.push(...e);for(let e of n)Array.isArray(e)&&r.push(...e);let i=r.find(t=>t.key===e);i&&this.changeCellSort(i)}getSelectedData(e){let t=this.state._selection;if(t){let n=t.keyPropertyName??`id`,r=new Set(e.map(String)),i=this.state._sortedData.filter(e=>r.has(String(e[n])));if(n)return i}return null}handleSelectionChange(e,t){let n=this.state._selection;n&&(this.state=Object.assign(Object.assign({},this.state),{_selection:Object.assign(Object.assign({},n),{selectedKeys:t})}));let r=this.getSelectedData(t);typeof this.state._on?.[T.onSelectionChange]==`function`&&this.state._on[T.onSelectionChange](e,r),this.host&&o(this.host,a.selectionChange,r)}async getSelection(){let e=this.state._selection?.selectedKeys||[];return this.getSelectedData(e)}async resetSort(){this.initializeSortFromHeaders(this.state._headers),this.updateSortedData()}headerKeysChanged(e,t){let n=e=>[...e.horizontal?.flatMap(e=>e.map(e=>e?.key).filter(e=>!!e))??[],...e.vertical?.flatMap(e=>e.map(e=>e?.key).filter(e=>!!e))??[]],r=n(e),i=n(t);return r.length!==i.length||r.some((e,t)=>e!==i[t])}mergeAdjustedHeaderCells(e){var t;let n=new Map;return(t=this.state._headers.horizontal)==null||t.forEach(e=>e.forEach(e=>{e?.key&&n.set(e.key,e)})),e.map(e=>e.map(e=>{let t=e?.key?n.get(e.key):void 0;if(!t)return e;let r=Object.assign({},t);return e.visible!==void 0&&(r.visible=e.visible),e.width!==void 0&&(r.width=e.width),e.hidable!==void 0&&(r.hidable=e.hidable),e.sortable!==void 0&&(r.sortable=e.sortable),e.resizable!==void 0&&(r.resizable=e.resizable),r}))}buildHeaderCells(){let e=e=>e&&Object.assign(Object.assign({},e),{sortDirection:this.getHeaderCellSortState(e),sortOrder:this.getHeaderCellSortOrder(e)});return{horizontal:(this.adjustedHeaderCells?.horizontal?this.mergeAdjustedHeaderCells(this.adjustedHeaderCells.horizontal):this.state._headers.horizontal)?.map(t=>t.map(e))??[],vertical:this.state._headers.vertical?.map(t=>t.map(e))??[]}}render(){let e=this.selectDisplayedData(this.state._sortedData,this.showPagination?this.state._pagination?._pageSize??10:this.state._sortedData.length,this.state._pagination._page||1),t=this._paginationPosition===`top`||this._paginationPosition===`both`?this.renderPagination(`top`):null,r=this._paginationPosition===`bottom`||this._paginationPosition===`both`?this.renderPagination(`bottom`):null,i=this.buildHeaderCells();return d(p,{key:`b20bfc7f61b6e5aaf05c40d61cb3250a1cb61779`,class:`kol-table-stateful`},this.pageEndSlice>0&&this.showPagination&&t,d(n,{key:`186d1b0d90b8516149d1f5939bb6c1460ce34949`,externalLabelElements:this.resolvedElements,ref:this.catchRef,_data:e,_fixedCols:this._fixedCols,_headerCells:i,_label:this.state._label,_dataFoot:this.state._dataFoot,_on:{onSort:(e,t)=>{this.handleSort(t)},onSelectionChange:(e,t)=>{this.handleSelectionChange(e,t)},onChangeHeaderCells:(e,t)=>{this.handleChangeHeaderCells(t)}},_selection:this.state._selection,_hasSettingsMenu:this.state._hasSettingsMenu,_variant:this._variant}),this.pageEndSlice>0&&this.showPagination&&r)}get host(){return i(this)}static get watchers(){return{_ariaLabelledby:[`validateAriaLabelledby`],_allowMultiSort:[`validateAllowMultiSort`],_data:[`validateData`],_dataFoot:[`validateDataFoot`],_fixedCols:[`validateFixedCols`],_paginationPosition:[`validatePaginationPosition`],_hasSettingsMenu:[`validateHasSettingsMenu`],_headers:[`validateHeaders`],_label:[`validateLabel`],_selection:[`validateSelection`],_on:[`validateOn`],_pagination:[`validatePagination`]}}};M.style={default:k};export{M as kol_table_stateful};
|
|
847
|
+
//# sourceMappingURL=kol-table-stateful.entry-DrPNjTdG.js.map
|