@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.
Files changed (310) hide show
  1. package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js +2 -0
  2. package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js.map +1 -0
  3. package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js +2 -0
  4. package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js.map +1 -0
  5. package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js +2 -0
  6. package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js.map +1 -0
  7. package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js +2 -0
  8. package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js.map +1 -0
  9. package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js +2 -0
  10. package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js.map +1 -0
  11. package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js +2 -0
  12. package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js.map +1 -0
  13. package/app/dist/assets/Input-Cu811opH-BulJQfD3.js +2 -0
  14. package/app/dist/assets/Input-Cu811opH-BulJQfD3.js.map +1 -0
  15. package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js +2 -0
  16. package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js.map +1 -0
  17. package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js +2 -0
  18. package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js.map +1 -0
  19. package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js +2 -0
  20. package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js.map +1 -0
  21. package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js +2 -0
  22. package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js.map +1 -0
  23. package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js +2 -0
  24. package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js.map +1 -0
  25. package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js +2 -0
  26. package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js.map +1 -0
  27. package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js +2 -0
  28. package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js.map +1 -0
  29. package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js +2 -0
  30. package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js.map +1 -0
  31. package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js +2 -0
  32. package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js.map +1 -0
  33. package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js +2 -0
  34. package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js.map +1 -0
  35. package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js +2 -0
  36. package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js.map +1 -0
  37. package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js +2 -0
  38. package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js.map +1 -0
  39. package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js +2 -0
  40. package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js.map +1 -0
  41. package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js +2 -0
  42. package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js.map +1 -0
  43. package/app/dist/assets/color-CftCtla8-BlBPrQKt.js +2 -0
  44. package/app/dist/assets/color-CftCtla8-BlBPrQKt.js.map +1 -0
  45. package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js +2 -0
  46. package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js.map +1 -0
  47. package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js +2 -0
  48. package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js.map +1 -0
  49. package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js +15 -0
  50. package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js.map +1 -0
  51. package/app/dist/assets/component-fsnfw59D-Csotiz-4.js +2 -0
  52. package/app/dist/assets/component-fsnfw59D-Csotiz-4.js.map +1 -0
  53. package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js +2 -0
  54. package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js.map +1 -0
  55. package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js +2 -0
  56. package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js.map +1 -0
  57. package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js +2 -0
  58. package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js.map +1 -0
  59. package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js +2 -0
  60. package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js.map +1 -0
  61. package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js +2 -0
  62. package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js.map +1 -0
  63. package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js +2 -0
  64. package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js.map +1 -0
  65. package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js +2 -0
  66. package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js.map +1 -0
  67. package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js +2 -0
  68. package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js.map +1 -0
  69. package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js +14 -0
  70. package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js.map +1 -0
  71. package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js +14 -0
  72. package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js.map +1 -0
  73. package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js +2 -0
  74. package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js.map +1 -0
  75. package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js +2 -0
  76. package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js.map +1 -0
  77. package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js +2 -0
  78. package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js.map +1 -0
  79. package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js +2 -0
  80. package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js.map +1 -0
  81. package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js +2 -0
  82. package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js.map +1 -0
  83. package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js +2 -0
  84. package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js.map +1 -0
  85. package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js +2 -0
  86. package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js.map +1 -0
  87. package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js +2 -0
  88. package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js.map +1 -0
  89. package/app/dist/assets/index-CLYw1HnO.js +168 -0
  90. package/app/dist/assets/index-CLYw1HnO.js.map +1 -0
  91. package/app/dist/assets/index-DntD6gvY.css +1 -0
  92. package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js +2 -0
  93. package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js.map +1 -0
  94. package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js +2 -0
  95. package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js.map +1 -0
  96. package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js +2 -0
  97. package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js.map +1 -0
  98. package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js +379 -0
  99. package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js.map +1 -0
  100. package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js +379 -0
  101. package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js.map +1 -0
  102. package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js +2 -0
  103. package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js.map +1 -0
  104. package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js +417 -0
  105. package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js.map +1 -0
  106. package/app/dist/assets/kol-avatar.entry-DYx44CtD.js +232 -0
  107. package/app/dist/assets/kol-avatar.entry-DYx44CtD.js.map +1 -0
  108. package/app/dist/assets/kol-badge.entry-CGSXjjyF.js +392 -0
  109. package/app/dist/assets/kol-badge.entry-CGSXjjyF.js.map +1 -0
  110. package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js +423 -0
  111. package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js.map +1 -0
  112. package/app/dist/assets/kol-button-link.entry-BT80hGY2.js +416 -0
  113. package/app/dist/assets/kol-button-link.entry-BT80hGY2.js.map +1 -0
  114. package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js +2 -0
  115. package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js.map +1 -0
  116. package/app/dist/assets/kol-button.entry-D-6ivALp.js +398 -0
  117. package/app/dist/assets/kol-button.entry-D-6ivALp.js.map +1 -0
  118. package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js +2 -0
  119. package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js.map +1 -0
  120. package/app/dist/assets/kol-card.entry-BnfJ8LbT.js +426 -0
  121. package/app/dist/assets/kol-card.entry-BnfJ8LbT.js.map +1 -0
  122. package/app/dist/assets/kol-click-button.entry-BZOemoD9.js +2 -0
  123. package/app/dist/assets/kol-click-button.entry-BZOemoD9.js.map +1 -0
  124. package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js +539 -0
  125. package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js.map +1 -0
  126. package/app/dist/assets/kol-details.entry-DdeHo2-B.js +470 -0
  127. package/app/dist/assets/kol-details.entry-DdeHo2-B.js.map +1 -0
  128. package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js +2 -0
  129. package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js.map +1 -0
  130. package/app/dist/assets/kol-dialog.entry-LA89sseJ.js +439 -0
  131. package/app/dist/assets/kol-dialog.entry-LA89sseJ.js.map +1 -0
  132. package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js +468 -0
  133. package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js.map +1 -0
  134. package/app/dist/assets/kol-form.entry-C5nYx4nO.js +454 -0
  135. package/app/dist/assets/kol-form.entry-C5nYx4nO.js.map +1 -0
  136. package/app/dist/assets/kol-heading.entry-Epvl-OpW.js +213 -0
  137. package/app/dist/assets/kol-heading.entry-Epvl-OpW.js.map +1 -0
  138. package/app/dist/assets/kol-icon.entry-D7dytHtv.js +106 -0
  139. package/app/dist/assets/kol-icon.entry-D7dytHtv.js.map +1 -0
  140. package/app/dist/assets/kol-image.entry-X5CvdKLU.js +215 -0
  141. package/app/dist/assets/kol-image.entry-X5CvdKLU.js.map +1 -0
  142. package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js +608 -0
  143. package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js.map +1 -0
  144. package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js +483 -0
  145. package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js.map +1 -0
  146. package/app/dist/assets/kol-input-date.entry-C5p3wgea.js +492 -0
  147. package/app/dist/assets/kol-input-date.entry-C5p3wgea.js.map +1 -0
  148. package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js +466 -0
  149. package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js.map +1 -0
  150. package/app/dist/assets/kol-input-file.entry-DjUmETfv.js +518 -0
  151. package/app/dist/assets/kol-input-file.entry-DjUmETfv.js.map +1 -0
  152. package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js +480 -0
  153. package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js.map +1 -0
  154. package/app/dist/assets/kol-input-password.entry-CGvCAprg.js +476 -0
  155. package/app/dist/assets/kol-input-password.entry-CGvCAprg.js.map +1 -0
  156. package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js +584 -0
  157. package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js.map +1 -0
  158. package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js +516 -0
  159. package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js.map +1 -0
  160. package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js +466 -0
  161. package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js.map +1 -0
  162. package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js +219 -0
  163. package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js.map +1 -0
  164. package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js +398 -0
  165. package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js.map +1 -0
  166. package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js +2 -0
  167. package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js.map +1 -0
  168. package/app/dist/assets/kol-link.entry-D21mpCr5.js +412 -0
  169. package/app/dist/assets/kol-link.entry-D21mpCr5.js.map +1 -0
  170. package/app/dist/assets/kol-meter.entry-BBlv5SXi.js +312 -0
  171. package/app/dist/assets/kol-meter.entry-BBlv5SXi.js.map +1 -0
  172. package/app/dist/assets/kol-modal.entry-Clrq4LNn.js +439 -0
  173. package/app/dist/assets/kol-modal.entry-Clrq4LNn.js.map +1 -0
  174. package/app/dist/assets/kol-nav.entry-B3FUfOqc.js +415 -0
  175. package/app/dist/assets/kol-nav.entry-B3FUfOqc.js.map +1 -0
  176. package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js +2 -0
  177. package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js.map +1 -0
  178. package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js +515 -0
  179. package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js.map +1 -0
  180. package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js +2 -0
  181. package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js.map +1 -0
  182. package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js +423 -0
  183. package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js.map +1 -0
  184. package/app/dist/assets/kol-progress.entry-BWNwErl6.js +293 -0
  185. package/app/dist/assets/kol-progress.entry-BWNwErl6.js.map +1 -0
  186. package/app/dist/assets/kol-quote.entry-lAAsykY8.js +229 -0
  187. package/app/dist/assets/kol-quote.entry-lAAsykY8.js.map +1 -0
  188. package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js +2 -0
  189. package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js.map +1 -0
  190. package/app/dist/assets/kol-select.entry-jHSzJBCd.js +480 -0
  191. package/app/dist/assets/kol-select.entry-jHSzJBCd.js.map +1 -0
  192. package/app/dist/assets/kol-single-select.entry-khmMipCm.js +547 -0
  193. package/app/dist/assets/kol-single-select.entry-khmMipCm.js.map +1 -0
  194. package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js +2 -0
  195. package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js.map +1 -0
  196. package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js +431 -0
  197. package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js.map +1 -0
  198. package/app/dist/assets/kol-spin.entry-AdC6scJA.js +358 -0
  199. package/app/dist/assets/kol-spin.entry-AdC6scJA.js.map +1 -0
  200. package/app/dist/assets/kol-split-button.entry-DbvplUJr.js +413 -0
  201. package/app/dist/assets/kol-split-button.entry-DbvplUJr.js.map +1 -0
  202. package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js +2 -0
  203. package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js.map +1 -0
  204. package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js +847 -0
  205. package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js.map +1 -0
  206. package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js +2 -0
  207. package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js.map +1 -0
  208. package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js +712 -0
  209. package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js.map +1 -0
  210. package/app/dist/assets/kol-tabs.entry-DlixmcB4.js +437 -0
  211. package/app/dist/assets/kol-tabs.entry-DlixmcB4.js.map +1 -0
  212. package/app/dist/assets/kol-textarea.entry-CobMN18S.js +464 -0
  213. package/app/dist/assets/kol-textarea.entry-CobMN18S.js.map +1 -0
  214. package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js +427 -0
  215. package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js.map +1 -0
  216. package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js +437 -0
  217. package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js.map +1 -0
  218. package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js +2 -0
  219. package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js.map +1 -0
  220. package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js +2 -0
  221. package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js.map +1 -0
  222. package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js +341 -0
  223. package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js.map +1 -0
  224. package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js +2 -0
  225. package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js.map +1 -0
  226. package/app/dist/assets/kol-tree.entry-C7uNfa7s.js +219 -0
  227. package/app/dist/assets/kol-tree.entry-C7uNfa7s.js.map +1 -0
  228. package/app/dist/assets/kol-version.entry-BE3CRKT4.js +208 -0
  229. package/app/dist/assets/kol-version.entry-BE3CRKT4.js.map +1 -0
  230. package/app/dist/assets/kolibri.ico +0 -0
  231. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  232. package/app/dist/assets/kolicons/kolicons.json +29 -0
  233. package/app/dist/assets/kolicons/kolicons.svg +93 -0
  234. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  235. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  236. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  237. package/app/dist/assets/kolicons/style.css +49 -0
  238. package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js +2 -0
  239. package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js.map +1 -0
  240. package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js +2 -0
  241. package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js.map +1 -0
  242. package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js +2 -0
  243. package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js.map +1 -0
  244. package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js +2 -0
  245. package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js.map +1 -0
  246. package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js +2 -0
  247. package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js.map +1 -0
  248. package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js +2 -0
  249. package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js.map +1 -0
  250. package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js +2 -0
  251. package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js.map +1 -0
  252. package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js +2 -0
  253. package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js.map +1 -0
  254. package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js +2 -0
  255. package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js.map +1 -0
  256. package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js +2 -0
  257. package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js.map +1 -0
  258. package/app/dist/assets/required-By197yB9-RXlY3Rb2.js +2 -0
  259. package/app/dist/assets/required-By197yB9-RXlY3Rb2.js.map +1 -0
  260. package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js +2 -0
  261. package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js.map +1 -0
  262. package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js +2 -0
  263. package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js.map +1 -0
  264. package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js +2 -0
  265. package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js.map +1 -0
  266. package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js +2 -0
  267. package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js.map +1 -0
  268. package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js +2 -0
  269. package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js.map +1 -0
  270. package/app/dist/assets/test-component.entry-DxxpLaar.js +2 -0
  271. package/app/dist/assets/test-component.entry-DxxpLaar.js.map +1 -0
  272. package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js +2 -0
  273. package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js.map +1 -0
  274. package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js +2 -0
  275. package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js.map +1 -0
  276. package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js +2 -0
  277. package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js.map +1 -0
  278. package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js +2 -0
  279. package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js.map +1 -0
  280. package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js +2 -0
  281. package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js.map +1 -0
  282. package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js +2 -0
  283. package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js.map +1 -0
  284. package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js +2 -0
  285. package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js.map +1 -0
  286. package/app/dist/index.html +27 -0
  287. package/app/dist/robots.txt +2 -0
  288. package/app/dist/sample-image.png +0 -0
  289. package/app/index.html +26 -0
  290. package/app/public/assets/kolibri.ico +0 -0
  291. package/app/public/assets/kolicons/kolicons.eot +0 -0
  292. package/app/public/assets/kolicons/kolicons.json +29 -0
  293. package/app/public/assets/kolicons/kolicons.svg +93 -0
  294. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  295. package/app/public/assets/kolicons/kolicons.woff +0 -0
  296. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  297. package/app/public/assets/kolicons/style.css +49 -0
  298. package/app/public/robots.txt +2 -0
  299. package/app/public/sample-image.png +0 -0
  300. package/app/src/@shared/_mixins.scss +3 -0
  301. package/app/src/empty-theme.ts +3 -0
  302. package/app/src/env.d.ts +3 -0
  303. package/app/src/main.ts +17 -0
  304. package/app/src/react.main.tsx +128 -0
  305. package/app/src/style.scss +117 -0
  306. package/app/tsconfig.json +31 -0
  307. package/app/unocss.config.ts +318 -0
  308. package/app/vite.config.ts +57 -0
  309. package/package.json +29 -9
  310. package/src/index.js +42 -16
@@ -0,0 +1,413 @@
1
+ import{A as e,a as t,b as n,o as r,s as i}from"./index-CLYw1HnO.js";import{t as a}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as o}from"./clsx-COFh-Vc8-alQuJLqj.js";import"./element-focus-BQXzaLL9-oq1SsV6e.js";import{n as s,r as c,t as l}from"./element-interaction-C5-6aPzz-CwUv4L8C.js";import{t as u}from"./i18n-BkwRYsvE-Baa6kHEL.js";var d=`@charset "UTF-8";
2
+ /* forward the rem function */
3
+ /*
4
+ * This file defines the layer order for all CSS layers used in KoliBri.
5
+ * The order is important as it determines the cascade priority.
6
+ *
7
+ * Layer order (lowest to highest priority):
8
+ * 1. kol-a11y - Accessibility defaults and requirements
9
+ * 2. kol-global - Global component styles and resets
10
+ * 3. kol-component - Component-specific styles
11
+ * 4. kol-theme-global - Theme-specific global styles
12
+ * 5. kol-theme-component - Theme-specific component styles
13
+ */
14
+ @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;
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
+ @font-face {
209
+ font-family: "kolicons";
210
+ src: url("kolicons.eot?t=1782311579243"); /* IE9*/
211
+ 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- */
212
+ }
213
+ @layer kol-component {
214
+ [class^=kolicon-], [class*=" kolicon-"] {
215
+ font-family: "kolicons";
216
+ font-style: normal;
217
+ font-weight: 400;
218
+ line-height: 1em;
219
+ -webkit-font-smoothing: antialiased;
220
+ -moz-osx-font-smoothing: grayscale;
221
+ }
222
+ .kolicon-alert-error::before {
223
+ content: "\\ea01";
224
+ }
225
+ .kolicon-alert-info::before {
226
+ content: "\\ea02";
227
+ }
228
+ .kolicon-alert-success::before {
229
+ content: "\\ea03";
230
+ }
231
+ .kolicon-alert-warning::before {
232
+ content: "\\ea04";
233
+ }
234
+ .kolicon-check::before {
235
+ content: "\\ea05";
236
+ }
237
+ .kolicon-chevron-double-left::before {
238
+ content: "\\ea06";
239
+ }
240
+ .kolicon-chevron-double-right::before {
241
+ content: "\\ea07";
242
+ }
243
+ .kolicon-chevron-down::before {
244
+ content: "\\ea08";
245
+ }
246
+ .kolicon-chevron-left::before {
247
+ content: "\\ea09";
248
+ }
249
+ .kolicon-chevron-right::before {
250
+ content: "\\ea0a";
251
+ }
252
+ .kolicon-chevron-up::before {
253
+ content: "\\ea0b";
254
+ }
255
+ .kolicon-cogwheel::before {
256
+ content: "\\ea0c";
257
+ }
258
+ .kolicon-cross::before {
259
+ content: "\\ea0d";
260
+ }
261
+ .kolicon-eye-closed::before {
262
+ content: "\\ea0e";
263
+ }
264
+ .kolicon-eye::before {
265
+ content: "\\ea0f";
266
+ }
267
+ .kolicon-house::before {
268
+ content: "\\ea10";
269
+ }
270
+ .kolicon-kolibri::before {
271
+ content: "\\ea11";
272
+ }
273
+ .kolicon-link-external::before {
274
+ content: "\\ea12";
275
+ }
276
+ .kolicon-link::before {
277
+ content: "\\ea13";
278
+ }
279
+ .kolicon-minus::before {
280
+ content: "\\ea14";
281
+ }
282
+ .kolicon-plus::before {
283
+ content: "\\ea15";
284
+ }
285
+ .kolicon-settings::before {
286
+ content: "\\ea16";
287
+ }
288
+ .kolicon-sort-asc::before {
289
+ content: "\\ea17";
290
+ }
291
+ .kolicon-sort-desc::before {
292
+ content: "\\ea18";
293
+ }
294
+ .kolicon-sort-neutral::before {
295
+ content: "\\ea19";
296
+ }
297
+ .kolicon-up::before {
298
+ content: "\\ea1a";
299
+ }
300
+ .kolicon-version::before {
301
+ content: "\\ea1b";
302
+ }
303
+ }
304
+ @layer kol-component {
305
+ .kol-icon {
306
+ color: inherit;
307
+ display: inline-block;
308
+ font-size: inherit;
309
+ font-weight: inherit;
310
+ line-height: inherit;
311
+ }
312
+ .kol-tooltip {
313
+ display: contents;
314
+ }
315
+ .kol-tooltip__floating {
316
+ opacity: 0;
317
+ display: none;
318
+ position: fixed;
319
+ /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
320
+ top: 0;
321
+ left: 0;
322
+ /* Can be used to specify the tooltip-width from the outside. Unset by default. */
323
+ width: var(--kol-tooltip-width, max-content);
324
+ min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
325
+ max-width: 90vw;
326
+ max-height: 90vh;
327
+ animation-direction: normal;
328
+ /* Can be used to specify the animation duration from the outside. 250ms by default. */
329
+ animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
330
+ animation-fill-mode: forwards;
331
+ animation-iteration-count: 1;
332
+ animation-timing-function: ease-in;
333
+ }
334
+ .kol-tooltip__floating.hide {
335
+ animation-name: hideTooltip;
336
+ }
337
+ .kol-tooltip__floating.show {
338
+ animation-name: showTooltip;
339
+ }
340
+ .kol-tooltip__arrow {
341
+ transform: rotate(45deg);
342
+ color: black;
343
+ background-color: white;
344
+ position: absolute;
345
+ z-index: 999;
346
+ width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
347
+ height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
348
+ }
349
+ .kol-tooltip__content {
350
+ color: black;
351
+ background-color: white;
352
+ position: relative;
353
+ z-index: 1000;
354
+ }
355
+ @keyframes hideTooltip {
356
+ 0% {
357
+ opacity: 1;
358
+ }
359
+ 100% {
360
+ opacity: 0;
361
+ display: none;
362
+ }
363
+ }
364
+ @keyframes showTooltip {
365
+ 0% {
366
+ opacity: 0;
367
+ }
368
+ 100% {
369
+ opacity: 1;
370
+ }
371
+ }
372
+ }
373
+ @layer kol-component {
374
+ .kol-icon {
375
+ color: inherit;
376
+ display: inline-block;
377
+ font-size: inherit;
378
+ font-weight: inherit;
379
+ line-height: inherit;
380
+ }
381
+ .kol-popover-button__popover {
382
+ margin: 0;
383
+ padding: 0;
384
+ border: 0;
385
+ }
386
+ .kol-popover-button--inline .kol-popover-button__button {
387
+ display: inline;
388
+ }
389
+ .kol-popover {
390
+ opacity: 0;
391
+ transition: 0.2s ease-out opacity;
392
+ }
393
+ .kol-popover-button--open + .kol-popover {
394
+ opacity: 1;
395
+ }
396
+ .kol-split-button {
397
+ display: flex;
398
+ position: relative;
399
+ width: 100%;
400
+ }
401
+ .kol-split-button__root {
402
+ display: flex;
403
+ position: relative;
404
+ width: 100%;
405
+ align-items: stretch;
406
+ }
407
+ .kol-split-button__button {
408
+ min-width: 0;
409
+ flex: 1 1 auto;
410
+ text-align: left;
411
+ }
412
+ }`,f=class{constructor(e){i(this,e),this.ctaRef=l(),this.setPopoverButtonRef=e=>{this.popoverButtonRef=e},this.clickButtonHandler={onClick:e=>{var t;e.stopPropagation(),typeof this._on?.onClick==`function`&&((t=this._on)==null||t.onClick(e,this._value))}},this._disabled=!1,this._hideLabel=!1,this._tooltipAlign=`top`,this._type=`button`,this._variant=`normal`,this.state={_show:!1}}async getValue(){return this._value}async focus(e){}async click(){}render(){return r(`div`,{key:`efb712282023ebd2eb5ba801cab698eacafb558b`,class:`kol-split-button`},r(`div`,{key:`331b05abd64211d21d8a67a3cff7c9db5b10870c`,class:`kol-split-button__root`},r(n,{key:`fa270cf31c77bf0f125d52bbb951fa4c2f6fed30`,class:o(`kol-split-button__button`,{[this._variant]:this._variant!==`custom`,[this._customClass]:this._variant===`custom`&&typeof this._customClass==`string`&&this._customClass.length>0}),ref:this.ctaRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_customClass:this._customClass,_disabled:this._disabled,_icons:this._icons,_hideLabel:this._hideLabel,_label:this._label,_name:this._name,_on:this.clickButtonHandler,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant}),r(`div`,{key:`70e8b56f252df5b250e20829ef5200b8e1f6ef12`,class:`kol-split-button__horizontal-line`}),r(e,{key:`1b44af2b7bac2ea2e797cdee3cd604802eed78cf`,class:`kol-split-button__secondary-button`,ref:this.setPopoverButtonRef,_disabled:this._disabled,_hideLabel:!0,_icons:`kolicon-chevron-down`,_label:u(`kol-split-button-dropdown-label-open`),_popoverAlign:`bottom`},r(`slot`,{key:`d3e52b768ff7cda01eee60e1321c767c021eb82c`}))))}connectedCallback(){this.state=Object.assign(Object.assign({},this.state),{_show:!1})}async closePopup(){var e;return(e=this.popoverButtonRef)==null||e.hidePopover(),Promise.resolve()}get host(){return t(this)}};a([c(`ctaRef`)],f.prototype,`focus`,null),a([s(`ctaRef`)],f.prototype,`click`,null),f.style={default:d};export{f as kol_split_button};
413
+ //# sourceMappingURL=kol-split-button.entry-DbvplUJr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kol-split-button.entry-DbvplUJr.js","names":[],"sources":["../../../../../components/dist/esm/kol-split-button.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-CwtGN7ID.js';\nimport { _ as __decorate } from './tslib.es6-QNbPBOk5.js';\nimport { b as KolButtonWcTag, h as KolPopoverButtonWcTag } from './component-names-Dy77vq43.js';\nimport { t as translate } from './i18n-BkwRYsvE.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { d as delegateFocus, a as delegateClick, c as createCtaRef } from './element-interaction-C5-6aPzz.js';\nimport './common-DyILLof-.js';\nimport './i18n-CMA39edx.js';\nimport './element-focus-BQXzaLL9.js';\n\nconst defaultStyleCss = \"@charset \\\"UTF-8\\\";\\n/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n *\\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\\n * rounding, dropping just below the required minimum.\\n */\\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: white;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n .hastooltip {\\n z-index: 900 !important;\\n }\\n}\\n@font-face {\\n font-family: \\\"kolicons\\\";\\n src: url(\\\"kolicons.eot?t=1782311579243\\\"); /* IE9*/\\n 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- */\\n}\\n@layer kol-component {\\n [class^=kolicon-], [class*=\\\" kolicon-\\\"] {\\n font-family: \\\"kolicons\\\";\\n font-style: normal;\\n font-weight: 400;\\n line-height: 1em;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n }\\n .kolicon-alert-error::before {\\n content: \\\"\\\\ea01\\\";\\n }\\n .kolicon-alert-info::before {\\n content: \\\"\\\\ea02\\\";\\n }\\n .kolicon-alert-success::before {\\n content: \\\"\\\\ea03\\\";\\n }\\n .kolicon-alert-warning::before {\\n content: \\\"\\\\ea04\\\";\\n }\\n .kolicon-check::before {\\n content: \\\"\\\\ea05\\\";\\n }\\n .kolicon-chevron-double-left::before {\\n content: \\\"\\\\ea06\\\";\\n }\\n .kolicon-chevron-double-right::before {\\n content: \\\"\\\\ea07\\\";\\n }\\n .kolicon-chevron-down::before {\\n content: \\\"\\\\ea08\\\";\\n }\\n .kolicon-chevron-left::before {\\n content: \\\"\\\\ea09\\\";\\n }\\n .kolicon-chevron-right::before {\\n content: \\\"\\\\ea0a\\\";\\n }\\n .kolicon-chevron-up::before {\\n content: \\\"\\\\ea0b\\\";\\n }\\n .kolicon-cogwheel::before {\\n content: \\\"\\\\ea0c\\\";\\n }\\n .kolicon-cross::before {\\n content: \\\"\\\\ea0d\\\";\\n }\\n .kolicon-eye-closed::before {\\n content: \\\"\\\\ea0e\\\";\\n }\\n .kolicon-eye::before {\\n content: \\\"\\\\ea0f\\\";\\n }\\n .kolicon-house::before {\\n content: \\\"\\\\ea10\\\";\\n }\\n .kolicon-kolibri::before {\\n content: \\\"\\\\ea11\\\";\\n }\\n .kolicon-link-external::before {\\n content: \\\"\\\\ea12\\\";\\n }\\n .kolicon-link::before {\\n content: \\\"\\\\ea13\\\";\\n }\\n .kolicon-minus::before {\\n content: \\\"\\\\ea14\\\";\\n }\\n .kolicon-plus::before {\\n content: \\\"\\\\ea15\\\";\\n }\\n .kolicon-settings::before {\\n content: \\\"\\\\ea16\\\";\\n }\\n .kolicon-sort-asc::before {\\n content: \\\"\\\\ea17\\\";\\n }\\n .kolicon-sort-desc::before {\\n content: \\\"\\\\ea18\\\";\\n }\\n .kolicon-sort-neutral::before {\\n content: \\\"\\\\ea19\\\";\\n }\\n .kolicon-up::before {\\n content: \\\"\\\\ea1a\\\";\\n }\\n .kolicon-version::before {\\n content: \\\"\\\\ea1b\\\";\\n }\\n}\\n@layer kol-component {\\n .kol-icon {\\n color: inherit;\\n display: inline-block;\\n font-size: inherit;\\n font-weight: inherit;\\n line-height: inherit;\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip__floating.show {\\n animation-name: showTooltip;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: black;\\n background-color: white;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: black;\\n background-color: white;\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .kol-icon {\\n color: inherit;\\n display: inline-block;\\n font-size: inherit;\\n font-weight: inherit;\\n line-height: inherit;\\n }\\n .kol-popover-button__popover {\\n margin: 0;\\n padding: 0;\\n border: 0;\\n }\\n .kol-popover-button--inline .kol-popover-button__button {\\n display: inline;\\n }\\n .kol-popover {\\n opacity: 0;\\n transition: 0.2s ease-out opacity;\\n }\\n .kol-popover-button--open + .kol-popover {\\n opacity: 1;\\n }\\n .kol-split-button {\\n display: flex;\\n position: relative;\\n width: 100%;\\n }\\n .kol-split-button__root {\\n display: flex;\\n position: relative;\\n width: 100%;\\n align-items: stretch;\\n }\\n .kol-split-button__button {\\n min-width: 0;\\n flex: 1 1 auto;\\n text-align: left;\\n }\\n}\";\n\nconst KolSplitButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ctaRef = createCtaRef();\n this.setPopoverButtonRef = (ref) => {\n this.popoverButtonRef = ref;\n };\n this.clickButtonHandler = {\n onClick: (event) => {\n var _a, _b;\n event.stopPropagation();\n if (typeof ((_a = this._on) === null || _a === void 0 ? void 0 : _a.onClick) === 'function') {\n (_b = this._on) === null || _b === void 0 ? void 0 : _b.onClick(event, this._value);\n }\n },\n };\n this._disabled = false;\n this._hideLabel = false;\n this._tooltipAlign = 'top';\n this._type = 'button';\n this._variant = 'normal';\n this.state = {\n _show: false,\n };\n }\n async getValue() {\n return this._value;\n }\n async focus(options) { }\n async click() { }\n render() {\n const i18nDropdownLabel = 'kol-split-button-dropdown-label';\n return (h(\"div\", { key: 'efb712282023ebd2eb5ba801cab698eacafb558b', class: \"kol-split-button\" }, h(\"div\", { key: '331b05abd64211d21d8a67a3cff7c9db5b10870c', class: \"kol-split-button__root\" }, h(KolButtonWcTag, { key: 'fa270cf31c77bf0f125d52bbb951fa4c2f6fed30', class: clsx('kol-split-button__button', {\n [this._variant]: this._variant !== 'custom',\n [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,\n }), ref: this.ctaRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), h(\"div\", { key: '70e8b56f252df5b250e20829ef5200b8e1f6ef12', class: \"kol-split-button__horizontal-line\" }), h(KolPopoverButtonWcTag, { key: '1b44af2b7bac2ea2e797cdee3cd604802eed78cf', class: \"kol-split-button__secondary-button\", ref: this.setPopoverButtonRef, _disabled: this._disabled, _hideLabel: true, _icons: \"kolicon-chevron-down\", _label: translate(`${i18nDropdownLabel}-open`), _popoverAlign: \"bottom\" }, h(\"slot\", { key: 'd3e52b768ff7cda01eee60e1321c767c021eb82c' })))));\n }\n connectedCallback() {\n this.state = Object.assign(Object.assign({}, this.state), { _show: false });\n }\n async closePopup() {\n var _a;\n void ((_a = this.popoverButtonRef) === null || _a === void 0 ? void 0 : _a.hidePopover());\n return Promise.resolve();\n }\n get host() { return getElement(this); }\n};\n__decorate([\n delegateFocus('ctaRef')\n], KolSplitButton.prototype, \"focus\", null);\n__decorate([\n delegateClick('ctaRef')\n], KolSplitButton.prototype, \"click\", null);\nKolSplitButton.style = {\n default: defaultStyleCss\n};\n\nexport { KolSplitButton as kol_split_button };\n//# sourceMappingURL=kol-split-button.entry.js.map\n"],"mappings":"mVAaA,IAAM,EAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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baa6kHEL.js";var p=e=>Number.isFinite(e)&&e!==void 0&&e>0?e:void 0,m=class{constructor(e){l(this,e),this.headerCells=[],this.editingHeaderCells=[],this.errorMessage=null,this.translateTableSettings=f(`kol-table-settings`),this.translateTableSettingsCancel=f(`kol-table-settings-cancel`),this.translateTableSettingsApply=f(`kol-table-settings-apply`),this.translateErrorAllInvisible=f(`kol-table-settings-error-all-invisible`),this.translateColumnNotHidable=f(`kol-table-settings-column-not-hidable`),this._horizontalHeaderCells=[]}handleHeaderCellsChange(e){this.headerCells=e.map(e=>[...e]),this.editingHeaderCells=e.map(e=>e.map(e=>Object.assign({},e)))}componentWillLoad(){this.handleHeaderCellsChange(this._horizontalHeaderCells)}getPrimaryRow(){return this.editingHeaderCells[this.editingHeaderCells.length-1]??[]}updatePrimaryRow(e){this.editingHeaderCells=this.editingHeaderCells.map((t,n,r)=>n===r.length-1?e:t)}moveColumn(e,t){let n=[...this.getPrimaryRow()],r=n.findIndex(t=>t.key===e);if(r===-1)return;let i;if(t===`up`){if(r===0)return;i=r-1}else{if(r===n.length-1)return;i=r+1}let[a]=n.splice(r,1);n.splice(i,0,a),this.updatePrimaryRow(n)}handleVisibilityChange(e,t){let n=this.getPrimaryRow().map(n=>n.key===e&&n.hidable!==!1?Object.assign(Object.assign({},n),{visible:!!t}):n);this.updatePrimaryRow(n)}handleWidthChange(e,t){let n=p(Number(t)),r=this.getPrimaryRow().map(t=>t.key===e&&t.resizable!==!1?Object.assign(Object.assign({},t),{width:n}):t);this.updatePrimaryRow(r)}handleCancel(){var e;this.editingHeaderCells=this.headerCells.map(e=>[...e]),this.errorMessage=null,(e=this.popoverRef)==null||e.hidePopover()}handleSubmit(e){var t;if(e.preventDefault(),!this.getPrimaryRow().some(e=>e.visible!==!1)){this.errorMessage=this.translateErrorAllInvisible;return}else if(this.host){this.errorMessage=null,this.headerCells=this.editingHeaderCells.map(e=>e.map(e=>Object.assign({},e)));let e=this.editingHeaderCells.map(e=>e.map(e=>{let t=e,{hidable:n,resizable:r,sortable:i,visible:a,width:o}=t,s=d(t,[`hidable`,`resizable`,`sortable`,`visible`,`width`]),c=Object.assign({},s);return a!==void 0&&(c.visible=a),n!==void 0&&(c.hidable=n),i!==void 0&&(c.sortable=i),r!==void 0&&(c.resizable=r),o!=null&&(c.width=o),c}));s(this.host,o.changeHeaderCells,e),(t=this.popoverRef)==null||t.hidePopover()}}render(){let i=this.getPrimaryRow();return c(e,{key:`b31b61fd00d6f9b7b1cb7229abde5e67772edd4f`,ref:e=>this.popoverRef=e,class:`kol-table-settings`,_icons:`kolicon-settings`,_label:this.translateTableSettings,_popoverAlign:`top`,_hideLabel:!0},c(`div`,{key:`d888ac1b3b7842c5336c12210145890b24916e36`,class:`kol-table-settings__content`},c(u,{key:`d79f606ed627a4a5a069415db0c2cedfaaf666d6`,_label:this.translateTableSettings,_level:0}),this.errorMessage&&c(r,{key:`310aff9ecbe70b0c9ac4aaf9994b9559bd739b81`,_type:`error`,_label:this.errorMessage,_variant:`msg`,class:`kol-table-settings__error-message`}),c(`form`,{key:`b0e84c2f51ab706cc09e4c85ea719b58a3273664`,onSubmit:this.handleSubmit.bind(this)},c(`div`,{key:`fbd274e2f77c273d94696698ce8842d9dd51a731`,class:`kol-table-settings__columns-container`},c(`div`,{key:`696a79971b4c63b8e2dc8341016880d8c8fac347`,class:`kol-table-settings__columns`},i.map((e,r)=>c(`div`,{key:e.key,class:`kol-table-settings__column`},c(n,{_checked:e.visible!==!1,_label:`${e.label}${e.hidable===!1?` (${this.translateColumnNotHidable})`:``}`,_value:!0,_hideLabel:!0,_disabled:e.hidable===!1,_on:{onInput:(t,n)=>this.handleVisibilityChange(e.key??``,n)}}),c(`span`,{class:`kol-table-settings__column-label`},e.label),c(t,{_hideLabel:!0,_value:p(e.width),_label:f(`kol-table-settings-column-width`,{placeholders:{column:e.label}}),_min:1,_disabled:e.resizable===!1,_on:{onInput:(t,n)=>this.handleWidthChange(e.key??``,n)}}),c(a,{_icons:`kolicon-chevron-up`,_label:f(`kol-table-settings-move-up`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>this.moveColumn(e.key??``,`up`)},_disabled:e.sortable===!1||r===0,"data-testid":`table-settings-move-up`}),c(a,{_icons:`kolicon-chevron-down`,_label:f(`kol-table-settings-move-down`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>this.moveColumn(e.key??``,`down`)},_disabled:e.sortable===!1||r===i.length-1,"data-testid":`table-settings-move-down`}))))),c(`div`,{key:`cc7c01ab830868f213166f868a540ada2cdf1328`,class:`kol-table-settings__actions`},c(a,{key:`495664a6a4e779c2faba8c5e57e8baec3818b6fd`,_label:this.translateTableSettingsCancel,_variant:`secondary`,_on:{onClick:()=>this.handleCancel()},"data-testid":`table-settings-cancel`}),c(a,{key:`79d6b02edfc4072529a94f628925fd12f6c851d0`,_label:this.translateTableSettingsApply,_variant:`primary`,_type:`submit`,"data-testid":`table-settings-apply`})))))}get host(){return i(this)}static get watchers(){return{_horizontalHeaderCells:[`handleHeaderCellsChange`]}}};export{m as kol_table_settings_wc};
2
+ //# sourceMappingURL=kol-table-settings-wc.entry-DwrbsbDJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kol-table-settings-wc.entry-DwrbsbDJ.js","names":[],"sources":["../../../../../components/dist/esm/kol-table-settings-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-CwtGN7ID.js';\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { p as KolHeadingTag, a as KolAlertWcTag, q as KolInputCheckboxTag, r as KolInputNumberTag, b as KolButtonWcTag, h as KolPopoverButtonWcTag } from './component-names-Dy77vq43.js';\nimport { t as translate } from './i18n-BkwRYsvE.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-BhfZTW2e.js';\nimport './common-DyILLof-.js';\nimport './i18n-CMA39edx.js';\n\nconst parseColumnWidth = (width) => {\n return Number.isFinite(width) && width !== undefined && width > 0 ? width : undefined;\n};\n\nconst KolTableSettings = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.headerCells = [];\n this.editingHeaderCells = [];\n this.errorMessage = null;\n this.translateTableSettings = translate('kol-table-settings');\n this.translateTableSettingsCancel = translate('kol-table-settings-cancel');\n this.translateTableSettingsApply = translate('kol-table-settings-apply');\n this.translateErrorAllInvisible = translate('kol-table-settings-error-all-invisible');\n this.translateColumnNotHidable = translate('kol-table-settings-column-not-hidable');\n this._horizontalHeaderCells = [];\n }\n handleHeaderCellsChange(newValue) {\n this.headerCells = newValue.map((row) => [...row]);\n this.editingHeaderCells = newValue.map((row) => row.map((cell) => (Object.assign({}, cell))));\n }\n componentWillLoad() {\n this.handleHeaderCellsChange(this._horizontalHeaderCells);\n }\n getPrimaryRow() {\n var _a;\n return (_a = this.editingHeaderCells[this.editingHeaderCells.length - 1]) !== null && _a !== void 0 ? _a : [];\n }\n updatePrimaryRow(newRow) {\n this.editingHeaderCells = this.editingHeaderCells.map((row, index, arr) => (index === arr.length - 1 ? newRow : row));\n }\n moveColumn(columnId, direction) {\n const row = [...this.getPrimaryRow()];\n const sourceIndex = row.findIndex((col) => col.key === columnId);\n if (sourceIndex === -1)\n return;\n let targetIndex;\n if (direction === 'up') {\n if (sourceIndex === 0)\n return;\n targetIndex = sourceIndex - 1;\n }\n else {\n if (sourceIndex === row.length - 1)\n return;\n targetIndex = sourceIndex + 1;\n }\n const [source] = row.splice(sourceIndex, 1);\n row.splice(targetIndex, 0, source);\n this.updatePrimaryRow(row);\n }\n handleVisibilityChange(key, visible) {\n const row = this.getPrimaryRow().map((col) => (col.key === key && col.hidable !== false ? Object.assign(Object.assign({}, col), { visible: Boolean(visible) }) : col));\n this.updatePrimaryRow(row);\n }\n handleWidthChange(key, width) {\n const parsedWidth = parseColumnWidth(Number(width));\n const row = this.getPrimaryRow().map((col) => (col.key === key && col.resizable !== false ? Object.assign(Object.assign({}, col), { width: parsedWidth }) : col));\n this.updatePrimaryRow(row);\n }\n handleCancel() {\n var _a;\n this.editingHeaderCells = this.headerCells.map((row) => [...row]);\n this.errorMessage = null;\n void ((_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.hidePopover());\n }\n handleSubmit(event) {\n var _a;\n event.preventDefault();\n const primaryRow = this.getPrimaryRow();\n const hasVisibleColumn = primaryRow.some((column) => column.visible !== false);\n if (!hasVisibleColumn) {\n this.errorMessage = this.translateErrorAllInvisible;\n return;\n }\n else if (this.host) {\n this.errorMessage = null;\n this.headerCells = this.editingHeaderCells.map((row) => row.map((cell) => (Object.assign({}, cell))));\n const sanitizedHeaderCells = this.editingHeaderCells.map((row) => row.map((column) => {\n const _a = column, { hidable, resizable, sortable, visible, width } = _a, rest = __rest(_a, [\"hidable\", \"resizable\", \"sortable\", \"visible\", \"width\"]);\n const cell = Object.assign({}, rest);\n if (visible !== undefined)\n cell.visible = visible;\n if (hidable !== undefined)\n cell.hidable = hidable;\n if (sortable !== undefined)\n cell.sortable = sortable;\n if (resizable !== undefined)\n cell.resizable = resizable;\n if (width !== undefined && width !== null)\n cell.width = width;\n return cell;\n }));\n dispatchDomEvent(this.host, KolEvent.changeHeaderCells, sanitizedHeaderCells);\n void ((_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.hidePopover());\n }\n }\n render() {\n const columns = this.getPrimaryRow();\n return (h(KolPopoverButtonWcTag, { key: 'b31b61fd00d6f9b7b1cb7229abde5e67772edd4f', ref: (el) => (this.popoverRef = el), class: \"kol-table-settings\", _icons: \"kolicon-settings\", _label: this.translateTableSettings, _popoverAlign: \"top\", _hideLabel: true }, h(\"div\", { key: 'd888ac1b3b7842c5336c12210145890b24916e36', class: \"kol-table-settings__content\" }, h(KolHeadingTag, { key: 'd79f606ed627a4a5a069415db0c2cedfaaf666d6', _label: this.translateTableSettings, _level: 0 }), this.errorMessage && h(KolAlertWcTag, { key: '310aff9ecbe70b0c9ac4aaf9994b9559bd739b81', _type: \"error\", _label: this.errorMessage, _variant: \"msg\", class: \"kol-table-settings__error-message\" }), h(\"form\", { key: 'b0e84c2f51ab706cc09e4c85ea719b58a3273664', onSubmit: this.handleSubmit.bind(this) }, h(\"div\", { key: 'fbd274e2f77c273d94696698ce8842d9dd51a731', class: \"kol-table-settings__columns-container\" }, h(\"div\", { key: '696a79971b4c63b8e2dc8341016880d8c8fac347', class: \"kol-table-settings__columns\" }, columns.map((column, index) => (h(\"div\", { key: column.key, class: \"kol-table-settings__column\" }, h(KolInputCheckboxTag, { _checked: column.visible !== false, _label: `${column.label}${column.hidable === false ? ` (${this.translateColumnNotHidable})` : ''}`, _value: true, _hideLabel: true, _disabled: column.hidable === false, _on: { onInput: (_, value) => { var _a; return this.handleVisibilityChange((_a = column.key) !== null && _a !== void 0 ? _a : '', value); } } }), h(\"span\", { class: \"kol-table-settings__column-label\" }, column.label), h(KolInputNumberTag, { _hideLabel: true, _value: parseColumnWidth(column.width), _label: translate('kol-table-settings-column-width', { placeholders: { column: column.label } }), _min: 1, _disabled: column.resizable === false, _on: { onInput: (_, value) => { var _a; return this.handleWidthChange((_a = column.key) !== null && _a !== void 0 ? _a : '', value); } } }), h(KolButtonWcTag, { _icons: \"kolicon-chevron-up\", _label: translate('kol-table-settings-move-up', { placeholders: { column: column.label } }), _hideLabel: true, _variant: \"ghost\", _on: { onClick: () => { var _a; return this.moveColumn((_a = column.key) !== null && _a !== void 0 ? _a : '', 'up'); } }, _disabled: column.sortable === false || index === 0, \"data-testid\": \"table-settings-move-up\" }), h(KolButtonWcTag, { _icons: \"kolicon-chevron-down\", _label: translate('kol-table-settings-move-down', { placeholders: { column: column.label } }), _hideLabel: true, _variant: \"ghost\", _on: { onClick: () => { var _a; return this.moveColumn((_a = column.key) !== null && _a !== void 0 ? _a : '', 'down'); } }, _disabled: column.sortable === false || index === columns.length - 1, \"data-testid\": \"table-settings-move-down\" })))))), h(\"div\", { key: 'cc7c01ab830868f213166f868a540ada2cdf1328', class: \"kol-table-settings__actions\" }, h(KolButtonWcTag, { key: '495664a6a4e779c2faba8c5e57e8baec3818b6fd', _label: this.translateTableSettingsCancel, _variant: \"secondary\", _on: { onClick: () => this.handleCancel() }, \"data-testid\": \"table-settings-cancel\" }), h(KolButtonWcTag, { key: '79d6b02edfc4072529a94f628925fd12f6c851d0', _label: this.translateTableSettingsApply, _variant: \"primary\", _type: \"submit\", \"data-testid\": \"table-settings-apply\" }))))));\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_horizontalHeaderCells\": [\"handleHeaderCellsChange\"]\n }; }\n};\n\nexport { KolTableSettings as kol_table_settings_wc };\n//# sourceMappingURL=kol-table-settings-wc.entry.js.map\n"],"mappings":"mNAWA,IAAM,EAAoB,GACf,OAAO,SAAS,CAAK,GAAK,IAAU,IAAA,IAAa,EAAQ,EAAI,EAAQ,IAAA,GAG1E,EAAmB,KAAM,CAC3B,YAAY,EAAS,CACjB,EAAiB,KAAM,CAAO,EAC9B,KAAK,YAAc,CAAC,EACpB,KAAK,mBAAqB,CAAC,EAC3B,KAAK,aAAe,KACpB,KAAK,uBAAyB,EAAU,oBAAoB,EAC5D,KAAK,6BAA+B,EAAU,2BAA2B,EACzE,KAAK,4BAA8B,EAAU,0BAA0B,EACvE,KAAK,2BAA6B,EAAU,wCAAwC,EACpF,KAAK,0BAA4B,EAAU,uCAAuC,EAClF,KAAK,uBAAyB,CAAC,CACnC,CACA,wBAAwB,EAAU,CAC9B,KAAK,YAAc,EAAS,IAAK,GAAQ,CAAC,GAAG,CAAG,CAAC,EACjD,KAAK,mBAAqB,EAAS,IAAK,GAAQ,EAAI,IAAK,GAAU,OAAO,OAAO,CAAC,EAAG,CAAI,CAAE,CAAC,CAChG,CACA,mBAAoB,CAChB,KAAK,wBAAwB,KAAK,sBAAsB,CAC5D,CACA,eAAgB,CAEZ,OAAa,KAAK,mBAAmB,KAAK,mBAAmB,OAAS,IAAqC,CAAC,CAChH,CACA,iBAAiB,EAAQ,CACrB,KAAK,mBAAqB,KAA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