@public-ui/components 3.0.7-d0e38f2b24188b03316351f07d939c4524a2fd81.0 → 3.0.7-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/Alert-pYM9xL1B.js +4 -0
  3. package/dist/cjs/{Alert-DvfeipJE.js.map → Alert-pYM9xL1B.js.map} +1 -1
  4. package/dist/cjs/Collapsible-CEcUGOI1.js +4 -0
  5. package/dist/cjs/{Collapsible-E0eWmXn2.js.map → Collapsible-CEcUGOI1.js.map} +1 -1
  6. package/dist/cjs/{CustomSuggestionsToggle-DbGV2ZkI.js → CustomSuggestionsToggle-CPk5IOdw.js} +1 -1
  7. package/dist/cjs/{CustomSuggestionsToggle-DbGV2ZkI.js.map → CustomSuggestionsToggle-CPk5IOdw.js.map} +1 -1
  8. package/dist/cjs/FieldControlStateWrapper-CxSfV7UW.js +4 -0
  9. package/dist/cjs/{FieldControlStateWrapper-D6fvsL8U.js.map → FieldControlStateWrapper-CxSfV7UW.js.map} +1 -1
  10. package/dist/cjs/FormFieldStateWrapper-CujxRl8G.js +4 -0
  11. package/dist/cjs/{FormFieldStateWrapper-jfw6Co4e.js.map → FormFieldStateWrapper-CujxRl8G.js.map} +1 -1
  12. package/dist/cjs/Heading-CPcp0Wr1.js +4 -0
  13. package/dist/cjs/Heading-CPcp0Wr1.js.map +1 -0
  14. package/dist/cjs/Icon-B8rPDYT-.js +4 -0
  15. package/dist/cjs/{Icon-Io_PDRaI.js.map → Icon-B8rPDYT-.js.map} +1 -1
  16. package/dist/cjs/Input-CMtYrIiX.js +4 -0
  17. package/dist/cjs/{Input-Corn2DzL.js.map → Input-CMtYrIiX.js.map} +1 -1
  18. package/dist/cjs/InputStateWrapper-CyxEYc7X.js +4 -0
  19. package/dist/cjs/{InputStateWrapper-CTLKkLjX.js.map → InputStateWrapper-CyxEYc7X.js.map} +1 -1
  20. package/dist/cjs/{InternalUnderlinedBadgeText-WlYX4I5I.js → InternalUnderlinedBadgeText-6WeC6ukm.js} +1 -1
  21. package/dist/cjs/{InternalUnderlinedBadgeText-WlYX4I5I.js.map → InternalUnderlinedBadgeText-6WeC6ukm.js.map} +1 -1
  22. package/dist/cjs/Span-CSTnGgMo.js +4 -0
  23. package/dist/cjs/{Span-BblS5Ovj.js.map → Span-CSTnGgMo.js.map} +1 -1
  24. package/dist/cjs/{app-globals-Xn6g2lnN.js → app-globals-EBS1Rxmp.js} +1 -1
  25. package/dist/cjs/{app-globals-Xn6g2lnN.js.map → app-globals-EBS1Rxmp.js.map} +1 -1
  26. package/dist/cjs/{bem-BqAGYRuL.js → bem-BVClcAVJ.js} +1 -1
  27. package/dist/cjs/{bem-BqAGYRuL.js.map → bem-BVClcAVJ.js.map} +1 -1
  28. package/dist/cjs/{bem-DnR3ZJW_.js → bem-Bu0VYjZa.js} +1 -1
  29. package/dist/cjs/{bem-DnR3ZJW_.js.map → bem-Bu0VYjZa.js.map} +1 -1
  30. package/dist/cjs/browser-D7A31aEp.js +4 -0
  31. package/dist/cjs/browser-D7A31aEp.js.map +1 -0
  32. package/dist/cjs/{controller-BacGsRWV.js → controller-dziW0eTQ.js} +1 -1
  33. package/dist/cjs/{controller-BacGsRWV.js.map → controller-dziW0eTQ.js.map} +1 -1
  34. package/dist/cjs/{controller-DlyID1S-.js → controller-h186ZoKi.js} +1 -1
  35. package/dist/cjs/{controller-DlyID1S-.js.map → controller-h186ZoKi.js.map} +1 -1
  36. package/dist/cjs/controller-icon-flui-j3P.js +4 -0
  37. package/dist/cjs/{controller-icon-CsyY2Y7g.js.map → controller-icon-flui-j3P.js.map} +1 -1
  38. package/dist/cjs/{controller-BfELhnD6.js → controller-p8a-m8p9.js} +1 -1
  39. package/dist/cjs/{controller-BfELhnD6.js.map → controller-p8a-m8p9.js.map} +1 -1
  40. package/dist/cjs/{dev.utils-DMUEnh4U.js → dev.utils-NQv4Or1w.js} +1 -1
  41. package/dist/cjs/{dev.utils-DMUEnh4U.js.map → dev.utils-NQv4Or1w.js.map} +1 -1
  42. package/dist/cjs/{devtools-NqWtZkR6.js → devtools-DJ5Gsvbm.js} +1 -1
  43. package/dist/cjs/{devtools-NqWtZkR6.js.map → devtools-DJ5Gsvbm.js.map} +1 -1
  44. package/dist/cjs/index-DHm-aTX3.js +4 -0
  45. package/dist/cjs/index-DHm-aTX3.js.map +1 -0
  46. package/dist/cjs/index.cjs.js +1 -1
  47. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  49. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  51. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-alert-wc.entry.cjs.js.map +1 -1
  53. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  55. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  59. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  61. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  63. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  65. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  67. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-card-wc.entry.cjs.js.map +1 -1
  69. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  71. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  73. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  75. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  79. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  81. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  89. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  91. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  93. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  95. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  97. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  99. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  101. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  103. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  120. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  134. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  136. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  138. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  140. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  142. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  144. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  146. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  153. package/dist/cjs/kolibri.cjs.js +1 -1
  154. package/dist/cjs/kolibri.cjs.js.map +1 -1
  155. package/dist/cjs/loader.cjs.js +1 -1
  156. package/dist/cjs/test-component.cjs.entry.js +1 -1
  157. package/dist/cjs/tslib.es6-7DbU_BSw.js +4 -0
  158. package/dist/cjs/tslib.es6-7DbU_BSw.js.map +1 -0
  159. package/dist/components/Alert.js +1 -1
  160. package/dist/components/Alert.js.map +1 -1
  161. package/dist/components/Collapsible.js +1 -1
  162. package/dist/components/Collapsible.js.map +1 -1
  163. package/dist/components/FieldControlStateWrapper.js +1 -1
  164. package/dist/components/Heading.js +1 -1
  165. package/dist/components/Heading.js.map +1 -1
  166. package/dist/components/Input.js +1 -1
  167. package/dist/components/InputStateWrapper.js +1 -1
  168. package/dist/components/Span.js +1 -1
  169. package/dist/components/bem.js +1 -1
  170. package/dist/components/bem2.js +1 -1
  171. package/dist/components/browser.js +1 -1
  172. package/dist/components/browser.js.map +1 -1
  173. package/dist/components/controller-icon.js +1 -1
  174. package/dist/components/controller2.js +1 -1
  175. package/dist/components/kol-abbr.js +1 -1
  176. package/dist/components/kol-abbr.js.map +1 -1
  177. package/dist/components/kol-alert.js +1 -1
  178. package/dist/components/kol-alert.js.map +1 -1
  179. package/dist/components/kol-badge.js +1 -1
  180. package/dist/components/kol-badge.js.map +1 -1
  181. package/dist/components/kol-breadcrumb.js +1 -1
  182. package/dist/components/kol-breadcrumb.js.map +1 -1
  183. package/dist/components/kol-button-link.js +1 -1
  184. package/dist/components/kol-button-link.js.map +1 -1
  185. package/dist/components/kol-button.js +1 -1
  186. package/dist/components/kol-button.js.map +1 -1
  187. package/dist/components/kol-card.js +1 -1
  188. package/dist/components/kol-card.js.map +1 -1
  189. package/dist/components/kol-combobox.js +1 -1
  190. package/dist/components/kol-combobox.js.map +1 -1
  191. package/dist/components/kol-drawer.js +1 -1
  192. package/dist/components/kol-drawer.js.map +1 -1
  193. package/dist/components/kol-form.js +1 -1
  194. package/dist/components/kol-form.js.map +1 -1
  195. package/dist/components/kol-input-checkbox.js +1 -1
  196. package/dist/components/kol-input-checkbox.js.map +1 -1
  197. package/dist/components/kol-input-color.js +1 -1
  198. package/dist/components/kol-input-color.js.map +1 -1
  199. package/dist/components/kol-input-date.js +1 -1
  200. package/dist/components/kol-input-date.js.map +1 -1
  201. package/dist/components/kol-input-email.js +1 -1
  202. package/dist/components/kol-input-email.js.map +1 -1
  203. package/dist/components/kol-input-file.js +1 -1
  204. package/dist/components/kol-input-file.js.map +1 -1
  205. package/dist/components/kol-input-number.js +1 -1
  206. package/dist/components/kol-input-number.js.map +1 -1
  207. package/dist/components/kol-input-password.js +1 -1
  208. package/dist/components/kol-input-password.js.map +1 -1
  209. package/dist/components/kol-input-radio.js +1 -1
  210. package/dist/components/kol-input-radio.js.map +1 -1
  211. package/dist/components/kol-input-range.js +1 -1
  212. package/dist/components/kol-input-range.js.map +1 -1
  213. package/dist/components/kol-input-text.js +1 -1
  214. package/dist/components/kol-input-text.js.map +1 -1
  215. package/dist/components/kol-link-button.js +1 -1
  216. package/dist/components/kol-link-button.js.map +1 -1
  217. package/dist/components/kol-link.js +1 -1
  218. package/dist/components/kol-link.js.map +1 -1
  219. package/dist/components/kol-modal.js +1 -1
  220. package/dist/components/kol-modal.js.map +1 -1
  221. package/dist/components/kol-nav.js +1 -1
  222. package/dist/components/kol-nav.js.map +1 -1
  223. package/dist/components/kol-pagination.js +1 -1
  224. package/dist/components/kol-pagination.js.map +1 -1
  225. package/dist/components/kol-popover-button.js +1 -1
  226. package/dist/components/kol-popover-button.js.map +1 -1
  227. package/dist/components/kol-select.js +1 -1
  228. package/dist/components/kol-select.js.map +1 -1
  229. package/dist/components/kol-single-select.js +1 -1
  230. package/dist/components/kol-single-select.js.map +1 -1
  231. package/dist/components/kol-split-button.js +1 -1
  232. package/dist/components/kol-split-button.js.map +1 -1
  233. package/dist/components/kol-table-stateful.js +1 -1
  234. package/dist/components/kol-table-stateful.js.map +1 -1
  235. package/dist/components/kol-table-stateless-wc.js +1 -1
  236. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  237. package/dist/components/kol-table-stateless.js +1 -1
  238. package/dist/components/kol-table-stateless.js.map +1 -1
  239. package/dist/components/kol-tabs.js +1 -1
  240. package/dist/components/kol-tabs.js.map +1 -1
  241. package/dist/components/kol-textarea.js +1 -1
  242. package/dist/components/kol-textarea.js.map +1 -1
  243. package/dist/components/kol-toast-container.js +1 -1
  244. package/dist/components/kol-toast-container.js.map +1 -1
  245. package/dist/components/kol-toolbar.js +1 -1
  246. package/dist/components/kol-toolbar.js.map +1 -1
  247. package/dist/components/tslib.es6.js +4 -0
  248. package/dist/components/tslib.es6.js.map +1 -0
  249. package/dist/esm/Alert-qJPuIv8b.js +4 -0
  250. package/dist/{kolibri/Alert-C3ktyZF6.js.map → esm/Alert-qJPuIv8b.js.map} +1 -1
  251. package/dist/esm/Collapsible-VwOBRTg-.js +4 -0
  252. package/dist/esm/{Collapsible-DuN5vPyq.js.map → Collapsible-VwOBRTg-.js.map} +1 -1
  253. package/dist/esm/{CustomSuggestionsToggle-Dy5sBs-i.js → CustomSuggestionsToggle-BtYSYCn5.js} +1 -1
  254. package/dist/esm/{CustomSuggestionsToggle-Dy5sBs-i.js.map → CustomSuggestionsToggle-BtYSYCn5.js.map} +1 -1
  255. package/dist/esm/FieldControlStateWrapper-CIWPKSbC.js +4 -0
  256. package/dist/{kolibri/FieldControlStateWrapper-DC5e0v-Z.js.map → esm/FieldControlStateWrapper-CIWPKSbC.js.map} +1 -1
  257. package/dist/esm/FormFieldStateWrapper-CKwM-DIl.js +4 -0
  258. package/dist/esm/{FormFieldStateWrapper-CA5QfRbl.js.map → FormFieldStateWrapper-CKwM-DIl.js.map} +1 -1
  259. package/dist/esm/Heading-CMd-jtC1.js +4 -0
  260. package/dist/esm/Heading-CMd-jtC1.js.map +1 -0
  261. package/dist/esm/{Icon-CZlCqmbX.js → Icon-BQRZwXjg.js} +1 -1
  262. package/dist/esm/{Icon-CZlCqmbX.js.map → Icon-BQRZwXjg.js.map} +1 -1
  263. package/dist/esm/Input-BQNyXbdV.js +4 -0
  264. package/dist/esm/{Input-mBmTM8GQ.js.map → Input-BQNyXbdV.js.map} +1 -1
  265. package/dist/esm/InputStateWrapper-5DGko7Ry.js +4 -0
  266. package/dist/{kolibri/InputStateWrapper-vabMC5ny.js.map → esm/InputStateWrapper-5DGko7Ry.js.map} +1 -1
  267. package/dist/esm/{InternalUnderlinedBadgeText-BzZpJszE.js → InternalUnderlinedBadgeText-DeV9AANw.js} +1 -1
  268. package/dist/esm/{InternalUnderlinedBadgeText-BzZpJszE.js.map → InternalUnderlinedBadgeText-DeV9AANw.js.map} +1 -1
  269. package/dist/esm/Span-9Jbefwfo.js +4 -0
  270. package/dist/esm/{Span-DNVnBGCS.js.map → Span-9Jbefwfo.js.map} +1 -1
  271. package/dist/esm/{app-globals-BQlSCt2m.js → app-globals-BV7c4MN_.js} +1 -1
  272. package/dist/esm/{app-globals-BQlSCt2m.js.map → app-globals-BV7c4MN_.js.map} +1 -1
  273. package/dist/esm/{bem-CjFNhKP6.js → bem-BiknXNcP.js} +1 -1
  274. package/dist/esm/{bem-CjFNhKP6.js.map → bem-BiknXNcP.js.map} +1 -1
  275. package/dist/esm/{bem-DhwfdDrM.js → bem-CHTjklyp.js} +1 -1
  276. package/dist/esm/{bem-DhwfdDrM.js.map → bem-CHTjklyp.js.map} +1 -1
  277. package/dist/esm/browser-Ba2Wl_kh.js +4 -0
  278. package/dist/esm/browser-Ba2Wl_kh.js.map +1 -0
  279. package/dist/esm/{controller-BBBqpY6I.js → controller-BMZRH6Si.js} +1 -1
  280. package/dist/esm/{controller-BBBqpY6I.js.map → controller-BMZRH6Si.js.map} +1 -1
  281. package/dist/esm/{controller-Kdma2hex.js → controller-B_Bwl5E9.js} +1 -1
  282. package/dist/esm/{controller-Kdma2hex.js.map → controller-B_Bwl5E9.js.map} +1 -1
  283. package/dist/esm/{controller-C3khCPNt.js → controller-C7skty3T.js} +1 -1
  284. package/dist/{kolibri/controller-C3khCPNt.js.map → esm/controller-C7skty3T.js.map} +1 -1
  285. package/dist/esm/controller-icon-DcftMfhw.js +4 -0
  286. package/dist/{kolibri/controller-icon-By46q2Iq.js.map → esm/controller-icon-DcftMfhw.js.map} +1 -1
  287. package/dist/esm/{dev.utils-CQdBj8YZ.js → dev.utils-D2H-D7vZ.js} +1 -1
  288. package/dist/esm/{dev.utils-CQdBj8YZ.js.map → dev.utils-D2H-D7vZ.js.map} +1 -1
  289. package/dist/esm/{devtools-DyBftFpK.js → devtools-Bv4R5yuw.js} +1 -1
  290. package/dist/esm/{devtools-DyBftFpK.js.map → devtools-Bv4R5yuw.js.map} +1 -1
  291. package/dist/esm/index-DKFHNf-G.js +4 -0
  292. package/dist/esm/index-DKFHNf-G.js.map +1 -0
  293. package/dist/esm/index.js +1 -1
  294. package/dist/esm/kol-abbr.entry.js +1 -1
  295. package/dist/esm/kol-abbr.entry.js.map +1 -1
  296. package/dist/esm/kol-accordion.entry.js +1 -1
  297. package/dist/esm/kol-accordion.entry.js.map +1 -1
  298. package/dist/esm/kol-alert-wc.entry.js +1 -1
  299. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  300. package/dist/esm/kol-alert.entry.js +1 -1
  301. package/dist/esm/kol-alert.entry.js.map +1 -1
  302. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  303. package/dist/esm/kol-avatar.entry.js +1 -1
  304. package/dist/esm/kol-badge.entry.js +1 -1
  305. package/dist/esm/kol-badge.entry.js.map +1 -1
  306. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  307. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  308. package/dist/esm/kol-button-link.entry.js +1 -1
  309. package/dist/esm/kol-button-link.entry.js.map +1 -1
  310. package/dist/esm/kol-button-wc.entry.js +1 -1
  311. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  312. package/dist/esm/kol-button.entry.js +1 -1
  313. package/dist/esm/kol-button.entry.js.map +1 -1
  314. package/dist/esm/kol-card-wc.entry.js +1 -1
  315. package/dist/esm/kol-card-wc.entry.js.map +1 -1
  316. package/dist/esm/kol-card.entry.js +1 -1
  317. package/dist/esm/kol-card.entry.js.map +1 -1
  318. package/dist/esm/kol-combobox.entry.js +1 -1
  319. package/dist/esm/kol-combobox.entry.js.map +1 -1
  320. package/dist/esm/kol-details.entry.js +1 -1
  321. package/dist/esm/kol-details.entry.js.map +1 -1
  322. package/dist/esm/kol-drawer.entry.js +1 -1
  323. package/dist/esm/kol-drawer.entry.js.map +1 -1
  324. package/dist/esm/kol-form.entry.js +1 -1
  325. package/dist/esm/kol-form.entry.js.map +1 -1
  326. package/dist/esm/kol-heading.entry.js +1 -1
  327. package/dist/esm/kol-heading.entry.js.map +1 -1
  328. package/dist/esm/kol-icon.entry.js +1 -1
  329. package/dist/esm/kol-image.entry.js +1 -1
  330. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  331. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  332. package/dist/esm/kol-input-color.entry.js +1 -1
  333. package/dist/esm/kol-input-color.entry.js.map +1 -1
  334. package/dist/esm/kol-input-date.entry.js +1 -1
  335. package/dist/esm/kol-input-date.entry.js.map +1 -1
  336. package/dist/esm/kol-input-email.entry.js +1 -1
  337. package/dist/esm/kol-input-email.entry.js.map +1 -1
  338. package/dist/esm/kol-input-file.entry.js +1 -1
  339. package/dist/esm/kol-input-file.entry.js.map +1 -1
  340. package/dist/esm/kol-input-number.entry.js +1 -1
  341. package/dist/esm/kol-input-number.entry.js.map +1 -1
  342. package/dist/esm/kol-input-password.entry.js +1 -1
  343. package/dist/esm/kol-input-password.entry.js.map +1 -1
  344. package/dist/esm/kol-input-radio.entry.js +1 -1
  345. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  346. package/dist/esm/kol-input-range.entry.js +1 -1
  347. package/dist/esm/kol-input-range.entry.js.map +1 -1
  348. package/dist/esm/kol-input-text.entry.js +1 -1
  349. package/dist/esm/kol-input-text.entry.js.map +1 -1
  350. package/dist/esm/kol-kolibri.entry.js +1 -1
  351. package/dist/esm/kol-link-button.entry.js +1 -1
  352. package/dist/esm/kol-link-button.entry.js.map +1 -1
  353. package/dist/esm/kol-link-wc.entry.js +1 -1
  354. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  355. package/dist/esm/kol-link.entry.js +1 -1
  356. package/dist/esm/kol-link.entry.js.map +1 -1
  357. package/dist/esm/kol-modal.entry.js +1 -1
  358. package/dist/esm/kol-modal.entry.js.map +1 -1
  359. package/dist/esm/kol-nav.entry.js +1 -1
  360. package/dist/esm/kol-nav.entry.js.map +1 -1
  361. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  362. package/dist/esm/kol-pagination.entry.js +1 -1
  363. package/dist/esm/kol-pagination.entry.js.map +1 -1
  364. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  365. package/dist/esm/kol-popover-button.entry.js +1 -1
  366. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  367. package/dist/esm/kol-popover-wc.entry.js +1 -1
  368. package/dist/esm/kol-progress.entry.js +1 -1
  369. package/dist/esm/kol-quote.entry.js +1 -1
  370. package/dist/esm/kol-select.entry.js +1 -1
  371. package/dist/esm/kol-select.entry.js.map +1 -1
  372. package/dist/esm/kol-single-select.entry.js +1 -1
  373. package/dist/esm/kol-single-select.entry.js.map +1 -1
  374. package/dist/esm/kol-skip-nav.entry.js +1 -1
  375. package/dist/esm/kol-spin.entry.js +1 -1
  376. package/dist/esm/kol-split-button.entry.js +1 -1
  377. package/dist/esm/kol-split-button.entry.js.map +1 -1
  378. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  379. package/dist/esm/kol-table-stateful.entry.js +1 -1
  380. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  381. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  382. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  383. package/dist/esm/kol-table-stateless.entry.js +1 -1
  384. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  385. package/dist/esm/kol-tabs.entry.js +1 -1
  386. package/dist/esm/kol-tabs.entry.js.map +1 -1
  387. package/dist/esm/kol-textarea.entry.js +1 -1
  388. package/dist/esm/kol-textarea.entry.js.map +1 -1
  389. package/dist/esm/kol-toast-container.entry.js +1 -1
  390. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  391. package/dist/esm/kol-toolbar.entry.js +1 -1
  392. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  393. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  394. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  395. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  396. package/dist/esm/kol-tree-item.entry.js +1 -1
  397. package/dist/esm/kol-tree-wc.entry.js +1 -1
  398. package/dist/esm/kol-tree.entry.js +1 -1
  399. package/dist/esm/kol-version.entry.js +1 -1
  400. package/dist/esm/kolibri.js +1 -1
  401. package/dist/esm/kolibri.js.map +1 -1
  402. package/dist/esm/loader.js +1 -1
  403. package/dist/esm/test-component.entry.js +1 -1
  404. package/dist/esm/tslib.es6-CxX45GIN.js +4 -0
  405. package/dist/esm/tslib.es6-CxX45GIN.js.map +1 -0
  406. package/dist/kolibri/Alert-qJPuIv8b.js +4 -0
  407. package/dist/{esm/Alert-C3ktyZF6.js.map → kolibri/Alert-qJPuIv8b.js.map} +1 -1
  408. package/dist/kolibri/Collapsible-VwOBRTg-.js +4 -0
  409. package/dist/kolibri/{Collapsible-DuN5vPyq.js.map → Collapsible-VwOBRTg-.js.map} +1 -1
  410. package/dist/kolibri/{CustomSuggestionsToggle-Dy5sBs-i.js → CustomSuggestionsToggle-BtYSYCn5.js} +1 -1
  411. package/dist/kolibri/{CustomSuggestionsToggle-Dy5sBs-i.js.map → CustomSuggestionsToggle-BtYSYCn5.js.map} +1 -1
  412. package/dist/kolibri/FieldControlStateWrapper-CIWPKSbC.js +4 -0
  413. package/dist/{esm/FieldControlStateWrapper-DC5e0v-Z.js.map → kolibri/FieldControlStateWrapper-CIWPKSbC.js.map} +1 -1
  414. package/dist/kolibri/FormFieldStateWrapper-CKwM-DIl.js +4 -0
  415. package/dist/kolibri/{FormFieldStateWrapper-CA5QfRbl.js.map → FormFieldStateWrapper-CKwM-DIl.js.map} +1 -1
  416. package/dist/kolibri/Heading-CMd-jtC1.js +4 -0
  417. package/dist/kolibri/Heading-CMd-jtC1.js.map +1 -0
  418. package/dist/kolibri/Icon-BQRZwXjg.js +4 -0
  419. package/dist/kolibri/{Icon-CZlCqmbX.js.map → Icon-BQRZwXjg.js.map} +1 -1
  420. package/dist/kolibri/Input-BQNyXbdV.js +4 -0
  421. package/dist/kolibri/{Input-mBmTM8GQ.js.map → Input-BQNyXbdV.js.map} +1 -1
  422. package/dist/kolibri/InputStateWrapper-5DGko7Ry.js +4 -0
  423. package/dist/{esm/InputStateWrapper-vabMC5ny.js.map → kolibri/InputStateWrapper-5DGko7Ry.js.map} +1 -1
  424. package/dist/kolibri/{InternalUnderlinedBadgeText-BzZpJszE.js → InternalUnderlinedBadgeText-DeV9AANw.js} +1 -1
  425. package/dist/kolibri/{InternalUnderlinedBadgeText-BzZpJszE.js.map → InternalUnderlinedBadgeText-DeV9AANw.js.map} +1 -1
  426. package/dist/kolibri/Span-9Jbefwfo.js +4 -0
  427. package/dist/kolibri/{Span-DNVnBGCS.js.map → Span-9Jbefwfo.js.map} +1 -1
  428. package/dist/kolibri/{app-globals-BQlSCt2m.js → app-globals-BV7c4MN_.js} +1 -1
  429. package/dist/kolibri/{app-globals-BQlSCt2m.js.map → app-globals-BV7c4MN_.js.map} +1 -1
  430. package/dist/kolibri/bem-BiknXNcP.js +4 -0
  431. package/dist/kolibri/{bem-CjFNhKP6.js.map → bem-BiknXNcP.js.map} +1 -1
  432. package/dist/kolibri/{bem-DhwfdDrM.js → bem-CHTjklyp.js} +1 -1
  433. package/dist/kolibri/{bem-DhwfdDrM.js.map → bem-CHTjklyp.js.map} +1 -1
  434. package/dist/kolibri/{browser-DeS_gcJV.js → browser-Ba2Wl_kh.js} +1 -1
  435. package/dist/kolibri/browser-Ba2Wl_kh.js.map +1 -0
  436. package/dist/kolibri/{controller-BBBqpY6I.js → controller-BMZRH6Si.js} +1 -1
  437. package/dist/kolibri/{controller-BBBqpY6I.js.map → controller-BMZRH6Si.js.map} +1 -1
  438. package/dist/kolibri/{controller-Kdma2hex.js → controller-B_Bwl5E9.js} +1 -1
  439. package/dist/kolibri/{controller-Kdma2hex.js.map → controller-B_Bwl5E9.js.map} +1 -1
  440. package/dist/kolibri/{controller-C3khCPNt.js → controller-C7skty3T.js} +1 -1
  441. package/dist/{esm/controller-C3khCPNt.js.map → kolibri/controller-C7skty3T.js.map} +1 -1
  442. package/dist/kolibri/controller-icon-DcftMfhw.js +4 -0
  443. package/dist/{esm/controller-icon-By46q2Iq.js.map → kolibri/controller-icon-DcftMfhw.js.map} +1 -1
  444. package/dist/kolibri/{dev.utils-CQdBj8YZ.js → dev.utils-D2H-D7vZ.js} +1 -1
  445. package/dist/kolibri/{dev.utils-CQdBj8YZ.js.map → dev.utils-D2H-D7vZ.js.map} +1 -1
  446. package/dist/kolibri/{devtools-DyBftFpK.js → devtools-Bv4R5yuw.js} +1 -1
  447. package/dist/kolibri/{devtools-DyBftFpK.js.map → devtools-Bv4R5yuw.js.map} +1 -1
  448. package/dist/kolibri/index-DKFHNf-G.js +5 -0
  449. package/dist/kolibri/index-DKFHNf-G.js.map +1 -0
  450. package/dist/kolibri/index.esm.js +1 -1
  451. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  452. package/dist/kolibri/kol-abbr.entry.js +1 -1
  453. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  454. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  455. package/dist/kolibri/kol-accordion.entry.js +1 -1
  456. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  457. package/dist/kolibri/kol-alert-wc.entry.esm.js.map +1 -1
  458. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  459. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  460. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  461. package/dist/kolibri/kol-alert.entry.js +1 -1
  462. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  463. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  464. package/dist/kolibri/kol-avatar.entry.js +1 -1
  465. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  466. package/dist/kolibri/kol-badge.entry.js +1 -1
  467. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  468. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  469. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  470. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  471. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  472. package/dist/kolibri/kol-button-link.entry.js +1 -1
  473. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  474. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  475. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  476. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  477. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  478. package/dist/kolibri/kol-button.entry.js +1 -1
  479. package/dist/kolibri/kol-button.entry.js.map +1 -1
  480. package/dist/kolibri/kol-card-wc.entry.esm.js.map +1 -1
  481. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  482. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  483. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  484. package/dist/kolibri/kol-card.entry.js +1 -1
  485. package/dist/kolibri/kol-card.entry.js.map +1 -1
  486. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  487. package/dist/kolibri/kol-combobox.entry.js +1 -1
  488. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  489. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  490. package/dist/kolibri/kol-details.entry.js +1 -1
  491. package/dist/kolibri/kol-details.entry.js.map +1 -1
  492. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  493. package/dist/kolibri/kol-drawer.entry.js +1 -1
  494. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  495. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  496. package/dist/kolibri/kol-form.entry.js +1 -1
  497. package/dist/kolibri/kol-form.entry.js.map +1 -1
  498. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  499. package/dist/kolibri/kol-heading.entry.js +1 -1
  500. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  501. package/dist/kolibri/kol-icon.entry.js +1 -1
  502. package/dist/kolibri/kol-image.entry.js +1 -1
  503. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  504. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  505. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  506. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  507. package/dist/kolibri/kol-input-color.entry.js +1 -1
  508. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  509. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  510. package/dist/kolibri/kol-input-date.entry.js +1 -1
  511. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  512. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  513. package/dist/kolibri/kol-input-email.entry.js +1 -1
  514. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  515. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  516. package/dist/kolibri/kol-input-file.entry.js +1 -1
  517. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  518. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  519. package/dist/kolibri/kol-input-number.entry.js +1 -1
  520. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  521. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  522. package/dist/kolibri/kol-input-password.entry.js +1 -1
  523. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  524. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  525. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  526. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  527. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  528. package/dist/kolibri/kol-input-range.entry.js +1 -1
  529. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  530. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  531. package/dist/kolibri/kol-input-text.entry.js +1 -1
  532. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  533. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  534. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  535. package/dist/kolibri/kol-link-button.entry.js +1 -1
  536. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  537. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  538. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  539. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  540. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  541. package/dist/kolibri/kol-link.entry.js +1 -1
  542. package/dist/kolibri/kol-link.entry.js.map +1 -1
  543. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  544. package/dist/kolibri/kol-modal.entry.js +1 -1
  545. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  546. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  547. package/dist/kolibri/kol-nav.entry.js +1 -1
  548. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  549. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  550. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  551. package/dist/kolibri/kol-pagination.entry.js +1 -1
  552. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  553. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  554. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  555. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  556. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  557. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  558. package/dist/kolibri/kol-progress.entry.js +1 -1
  559. package/dist/kolibri/kol-quote.entry.js +1 -1
  560. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  561. package/dist/kolibri/kol-select.entry.js +1 -1
  562. package/dist/kolibri/kol-select.entry.js.map +1 -1
  563. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  564. package/dist/kolibri/kol-single-select.entry.js +1 -1
  565. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  566. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  567. package/dist/kolibri/kol-spin.entry.js +1 -1
  568. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  569. package/dist/kolibri/kol-split-button.entry.js +1 -1
  570. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  571. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  572. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  573. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  574. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  575. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  576. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  577. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  578. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  579. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  580. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  581. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  582. package/dist/kolibri/kol-tabs.entry.js +1 -1
  583. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  584. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  585. package/dist/kolibri/kol-textarea.entry.js +1 -1
  586. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  587. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  588. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  589. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  590. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  591. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  592. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  593. package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
  594. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  595. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  596. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  597. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  598. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  599. package/dist/kolibri/kol-tree.entry.js +1 -1
  600. package/dist/kolibri/kol-version.entry.js +1 -1
  601. package/dist/kolibri/kolibri.esm.js +1 -1
  602. package/dist/kolibri/kolibri.esm.js.map +1 -1
  603. package/dist/kolibri/test-component.entry.js +1 -1
  604. package/dist/kolibri/tslib.es6-CxX45GIN.js +4 -0
  605. package/dist/kolibri/tslib.es6-CxX45GIN.js.map +1 -0
  606. package/dist/types/components/icon/bem.d.ts +12 -1
  607. package/dist/types/components/toolbar/shadow.d.ts +1 -0
  608. package/dist/types/components.d.ts +2 -0
  609. package/dist/types/functional-components/Alert/bem.d.ts +12 -1
  610. package/dist/types/stencil-public-runtime.d.ts +6 -4
  611. package/doc/nav.md +9 -9
  612. package/package.json +3 -3
  613. package/dist/cjs/Alert-DvfeipJE.js +0 -4
  614. package/dist/cjs/Collapsible-E0eWmXn2.js +0 -4
  615. package/dist/cjs/FieldControlStateWrapper-D6fvsL8U.js +0 -4
  616. package/dist/cjs/FormFieldStateWrapper-jfw6Co4e.js +0 -4
  617. package/dist/cjs/Heading-BG41fGAb.js +0 -4
  618. package/dist/cjs/Heading-BG41fGAb.js.map +0 -1
  619. package/dist/cjs/Icon-Io_PDRaI.js +0 -4
  620. package/dist/cjs/Input-Corn2DzL.js +0 -4
  621. package/dist/cjs/InputStateWrapper-CTLKkLjX.js +0 -4
  622. package/dist/cjs/Span-BblS5Ovj.js +0 -4
  623. package/dist/cjs/browser-CUgMyC7t.js +0 -4
  624. package/dist/cjs/browser-CUgMyC7t.js.map +0 -1
  625. package/dist/cjs/controller-icon-CsyY2Y7g.js +0 -4
  626. package/dist/cjs/index-B45suXZe.js +0 -4
  627. package/dist/cjs/index-B45suXZe.js.map +0 -1
  628. package/dist/esm/Alert-C3ktyZF6.js +0 -4
  629. package/dist/esm/Collapsible-DuN5vPyq.js +0 -4
  630. package/dist/esm/FieldControlStateWrapper-DC5e0v-Z.js +0 -4
  631. package/dist/esm/FormFieldStateWrapper-CA5QfRbl.js +0 -4
  632. package/dist/esm/Heading-CF5mGt3A.js +0 -4
  633. package/dist/esm/Heading-CF5mGt3A.js.map +0 -1
  634. package/dist/esm/Input-mBmTM8GQ.js +0 -4
  635. package/dist/esm/InputStateWrapper-vabMC5ny.js +0 -4
  636. package/dist/esm/Span-DNVnBGCS.js +0 -4
  637. package/dist/esm/browser-DeS_gcJV.js +0 -4
  638. package/dist/esm/browser-DeS_gcJV.js.map +0 -1
  639. package/dist/esm/controller-icon-By46q2Iq.js +0 -4
  640. package/dist/esm/index-BEYG-0cN.js +0 -4
  641. package/dist/esm/index-BEYG-0cN.js.map +0 -1
  642. package/dist/kolibri/Alert-C3ktyZF6.js +0 -4
  643. package/dist/kolibri/Collapsible-DuN5vPyq.js +0 -4
  644. package/dist/kolibri/FieldControlStateWrapper-DC5e0v-Z.js +0 -4
  645. package/dist/kolibri/FormFieldStateWrapper-CA5QfRbl.js +0 -4
  646. package/dist/kolibri/Heading-CF5mGt3A.js +0 -4
  647. package/dist/kolibri/Heading-CF5mGt3A.js.map +0 -1
  648. package/dist/kolibri/Icon-CZlCqmbX.js +0 -4
  649. package/dist/kolibri/Input-mBmTM8GQ.js +0 -4
  650. package/dist/kolibri/InputStateWrapper-vabMC5ny.js +0 -4
  651. package/dist/kolibri/Span-DNVnBGCS.js +0 -4
  652. package/dist/kolibri/bem-CjFNhKP6.js +0 -4
  653. package/dist/kolibri/browser-DeS_gcJV.js.map +0 -1
  654. package/dist/kolibri/controller-icon-By46q2Iq.js +0 -4
  655. package/dist/kolibri/index-BEYG-0cN.js +0 -5
  656. package/dist/kolibri/index-BEYG-0cN.js.map +0 -1
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{proxyCustomElement,HTMLElement,h,Fragment}from"@stencil/core/internal/client";import{c as clsx}from"./clsx.js";import{e as KolIconTag,a as KolTooltipWcTag,d as KolButtonWcTag,r as KolTableSettingsWcTag}from"./component-names.js";import{t as translate}from"./i18n.js";import{Q as emptyStringByArrayHandler,o as objectObjectHandler,p as parseJson,w as watchValidator,s as setState}from"./common.js";import{b as validateHasSettingsMenu,v as validateTableData,a as validateTableDataFoot,f as validateTableCallbacks,c as validateTableSelection,e as validateTableSettings}from"./table-settings.js";import{v as validateLabel}from"./label.js";import{C as Callback}from"./keyboard.js";import{n as nonce}from"./dev.utils.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{i as isObject,c as baseGetTag,r as root,a as isObjectLike,f as freeGlobal,b as isArray,S as Symbol}from"./isObject.js";const validateTableHeaderCells=(e,t)=>{emptyStringByArrayHandler(t,()=>{objectObjectHandler(t,()=>{try{t=parseJson(t)}catch(e){}watchValidator(e,"_headerCells",e=>"object"==typeof e&&null!==e&&(void 0===e.horizontal||Array.isArray(e.horizontal)&&void 0===e.horizontal.find(e=>!Array.isArray(e)))&&(void 0===e.vertical||Array.isArray(e.vertical)&&void 0===e.vertical.find(e=>!Array.isArray(e)))&&!0,new Set(["TableHeaderCellsPropType"]),t)})})};var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject(e))return!1;var t=baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(e){if(null!=e){try{return funcToString$1.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$9=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$7=objectProto$9.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$7).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){return!(!isObject(e)||isMasked(e))&&(isFunction(e)?reIsNative:reIsHostCtor).test(toSource(e))}function getValue(e,t){return null==e?void 0:e[t]}function getNative(e,t){var a=getValue(e,t);return baseIsNative(a)?a:void 0}var WeakMap=getNative(root,"WeakMap"),MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var a=typeof e;return!!(t=null==t?MAX_SAFE_INTEGER$1:t)&&("number"==a||"symbol"!=a&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function eq(e,t){return e===t||e!=e&&t!=t}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return null!=e&&isLength(e.length)&&!isFunction(e)}var objectProto$8=Object.prototype;function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||objectProto$8)}function baseTimes(e,t){for(var a=-1,r=Array(e);++a<e;)r[a]=t(a);return r}var argsTag$2="[object Arguments]";function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==argsTag$2}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&hasOwnProperty$6.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")};function stubFalse(){return!1}var freeExports$1="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,Buffer=moduleExports$1?root.Buffer:void 0,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag$1="[object Number]",objectTag$2="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$1]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$2]=typedArrayTags[dateTag$1]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag$1]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag$1]=typedArrayTags[setTag$2]=typedArrayTags[stringTag$1]=typedArrayTags[weakMapTag$1]=!1;var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var e=freeModule&&freeModule.require&&freeModule.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function arrayLikeKeys(e,t){var a=isArray(e),r=!a&&isArguments(e),o=!a&&!r&&isBuffer(e),s=!a&&!r&&!o&&isTypedArray(e),i=a||r||o||s,n=i?baseTimes(e.length,String):[],l=n.length;for(var c in e)!hasOwnProperty$5.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||isIndex(c,l))||n.push(c);return n}function overArg(e,t){return function(a){return e(t(a))}}var nativeKeys=overArg(Object.keys,Object),objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys(e);var t=[];for(var a in Object(e))hasOwnProperty$4.call(e,a)&&"constructor"!=a&&t.push(a);return t}function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate){var a=t[e];return a===HASH_UNDEFINED$2?void 0:a}return hasOwnProperty$3.call(t,e)?t[e]:void 0}var objectProto$3=Object.prototype,hasOwnProperty$2=objectProto$3.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate?void 0!==t[e]:hasOwnProperty$2.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=nativeCreate&&void 0===t?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var a=e.length;a--;)if(eq(e[a][0],t))return a;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,a=assocIndexOf(t,e);return!(a<0)&&(a==t.length-1?t.pop():splice.call(t,a,1),--this.size,!0)}function listCacheGet(e){var t=this.__data__,a=assocIndexOf(t,e);return a<0?void 0:t[a][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var a=this.__data__,r=assocIndexOf(a,e);return r<0?(++this.size,a.push([e,t])):a[r][1]=t,this}function ListCache(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;var Map$1=getNative(root,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function getMapData(e,t){var a=e.__data__;return isKeyable(t)?a["string"==typeof t?"string":"hash"]:a.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var a=getMapData(this,e),r=a.size;return a.set(e,t),this.size+=a.size==r?0:1,this}function MapCache(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function arrayPush(e,t){for(var a=-1,r=t.length,o=e.length;++a<r;)e[o+a]=t[a];return e}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var a=this.__data__;if(a instanceof ListCache){var r=a.__data__;if(!Map$1||r.length<LARGE_ARRAY_SIZE-1)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new MapCache(r)}return a.set(e,t),this.size=a.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function arrayFilter(e,t){for(var a=-1,r=null==e?0:e.length,o=0,s=[];++a<r;){var i=e[a];t(i,a,e)&&(s[o++]=i)}return s}function stubArray(){return[]}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var objectProto$2=Object.prototype,propertyIsEnumerable=objectProto$2.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(e){return null==e?[]:(e=Object(e),arrayFilter(nativeGetSymbols(e),function(t){return propertyIsEnumerable.call(e,t)}))}:stubArray;function baseGetAllKeys(e,t,a){var r=t(e);return isArray(e)?r:arrayPush(r,a(e))}function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}var DataView=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),mapTag$1="[object Map]",objectTag$1="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag$1="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag$1||Map$1&&getTag(new Map$1)!=mapTag$1||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$1||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(e){var t=baseGetTag(e),a=t==objectTag$1?e.constructor:void 0,r=a?toSource(a):"";if(r)switch(r){case dataViewCtorString:return dataViewTag$1;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return t});var Uint8Array=root.Uint8Array,HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new MapCache;++t<a;)this.add(e[t])}function arraySome(e,t){for(var a=-1,r=null==e?0:e.length;++a<r;)if(t(e[a],a,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(e,t,a,r,o,s){var i=a&COMPARE_PARTIAL_FLAG$3,n=e.length,l=t.length;if(n!=l&&!(i&&l>n))return!1;var c=s.get(e),h=s.get(t);if(c&&h)return c==t&&h==e;var d=-1,u=!0,b=a&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(s.set(e,t),s.set(t,e);++d<n;){var p=e[d],g=t[d];if(r)var y=i?r(g,p,d,t,e,s):r(p,g,d,e,t,s);if(void 0!==y){if(y)continue;u=!1;break}if(b){if(!arraySome(t,function(e,t){if(!cacheHas(b,t)&&(p===e||o(p,e,a,r,s)))return b.push(t)})){u=!1;break}}else if(p!==g&&!o(p,g,a,r,s)){u=!1;break}}return s.delete(e),s.delete(t),u}function mapToArray(e){var t=-1,a=Array(e.size);return e.forEach(function(e,r){a[++t]=[r,e]}),a}function setToArray(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,a,r,o,s,i){switch(a){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!s(new Uint8Array(e),new Uint8Array(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var n=mapToArray;case setTag:var l=r&COMPARE_PARTIAL_FLAG$2;if(n||(n=setToArray),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=COMPARE_UNORDERED_FLAG,i.set(e,t);var h=equalArrays(n(e),n(t),r,o,s,i);return i.delete(e),h;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(e,t,a,r,o,s){var i=a&COMPARE_PARTIAL_FLAG$1,n=getAllKeys(e),l=n.length;if(l!=getAllKeys(t).length&&!i)return!1;for(var c=l;c--;){var h=n[c];if(!(i?h in t:hasOwnProperty$1.call(t,h)))return!1}var d=s.get(e),u=s.get(t);if(d&&u)return d==t&&u==e;var b=!0;s.set(e,t),s.set(t,e);for(var p=i;++c<l;){var g=e[h=n[c]],y=t[h];if(r)var _=i?r(y,g,h,t,e,s):r(g,y,h,e,t,s);if(!(void 0===_?g===y||o(g,y,a,r,s):_)){b=!1;break}p||(p="constructor"==h)}if(b&&!p){var v=e.constructor,f=t.constructor;v==f||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof f&&f instanceof f||(b=!1)}return s.delete(e),s.delete(t),b}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,a,r,o,s){var i=isArray(e),n=isArray(t),l=i?arrayTag:getTag(e),c=n?arrayTag:getTag(t),h=(l=l==argsTag?objectTag:l)==objectTag,d=(c=c==argsTag?objectTag:c)==objectTag,u=l==c;if(u&&isBuffer(e)){if(!isBuffer(t))return!1;i=!0,h=!1}if(u&&!h)return s||(s=new Stack),i||isTypedArray(e)?equalArrays(e,t,a,r,o,s):equalByTag(e,t,l,a,r,o,s);if(!(a&COMPARE_PARTIAL_FLAG)){var b=h&&hasOwnProperty.call(e,"__wrapped__"),p=d&&hasOwnProperty.call(t,"__wrapped__");if(b||p){var g=b?e.value():e,y=p?t.value():t;return s||(s=new Stack),o(g,y,a,r,s)}}return!!u&&(s||(s=new Stack),equalObjects(e,t,a,r,o,s))}function baseIsEqual(e,t,a,r,o){return e===t||(null==e||null==t||!isObjectLike(e)&&!isObjectLike(t)?e!=e&&t!=t:baseIsEqualDeep(e,t,a,r,baseIsEqual,o))}function isEqual(e,t){return baseIsEqual(e,t)}const HEADER_CELL_WIDTH_VALIDATOR=/^\d+(\.\d+)?([a-z]+|%)?$/,validateMinWidth=(e,t,a)=>{watchValidator(e,"_minWidth",e=>"string"==typeof e&&HEADER_CELL_WIDTH_VALIDATOR.test(e),new Set(["String","/^\\d+(\\.\\d+)?([a-z]+|%)?$/"]),t,a)},KolTableStateless=proxyCustomElement(class extends HTMLElement{constructor(e){super(),!1!==e&&this.__registerHost(),this.translateNoEntries=translate("kol-no-entries"),this.state={_data:[],_headerCells:{horizontal:[],vertical:[]},_label:"",_minWidth:"auto",_hasSettingsMenu:!1},this.horizontal=!0,this.cellsToRenderTimeouts=new Map,this.dataToKeyMap=new Map,this.checkboxRefs=[],this.translateSort=translate("kol-sort"),this.tableDivElementHasScrollbar=!1,this.renderTableRow=(e,t,a,r=!1)=>{var o,s;let i=String(t);return this.horizontal&&(null===(o=e[0])||void 0===o?void 0:o.data)&&(i=null!==(s=this.getDataKey(e[0].data))&&void 0!==s?s:i),h("tr",{class:clsx("kol-table__row",{"kol-table__row--body":!r,"kol-table__row--footer":r}),key:`row-${i}`},this.renderSelectionCell(e,t),e.map((e,r)=>this.renderTableCell(e,t,r,a)))},this.renderTableCell=(e,t,a,r)=>{const o=this.getColumnSettings(e);if(o&&!o.visible)return"";let s=`${t}-${a}-${e.label}`;if(e.data){const r=this.getDataKey(e.data);s=r?`${r}-${this.horizontal?a:t}`:s}return e.headerCell?this.renderHeadingCell(e,t,a,r):h("td",{key:`cell-${s}`,class:clsx("kol-table__cell kol-table__cell--body",{[`kol-table__cell--align-${e.textAlign}`]:e.textAlign}),colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:e.textAlign,width:(null==o?void 0:o.width)?`${o.width}ch`:e.width},ref:"function"==typeof e.render?t=>{this.cellRender(e,t)}:void 0},"function"!=typeof e.render?e.label:"")}}validateHasSettingsMenu(e){validateHasSettingsMenu(this,e)}validateData(e){validateTableData(this,e,{beforePatch:e=>{this.updateDataToKeyMap(e)}})}validateDataFoot(e){validateTableDataFoot(this,e)}validateHeaderCells(e){validateTableHeaderCells(this,e),isEqual(this.previousHeaderCells,this.state._headerCells)||this.initializeTableSettings(),this.previousHeaderCells=this.state._headerCells}validateLabel(e){validateLabel(this,e,{required:!0})}validateMinWidth(e){validateMinWidth(this,e)}validateOn(e){validateTableCallbacks(this,e)}validateSelection(e){validateTableSelection(this,e)}validateTableSettings(e){validateTableSettings(this,e)}handleKeyDown(e){var t;if("ArrowUp"===e.key||"ArrowDown"===e.key){const a=null===(t=this.tableDivElement)||void 0===t?void 0:t.querySelector(":focus");let r=this.checkboxRefs.indexOf(a);r>-1&&(e.preventDefault(),"ArrowDown"===e.key?(r=(r+1)%this.checkboxRefs.length,this.checkboxRefs[r].focus()):"ArrowUp"===e.key&&(e.preventDefault(),r=(r+this.checkboxRefs.length-1)%this.checkboxRefs.length,this.checkboxRefs[r].focus()))}}componentDidRender(){this.checkDivElementScrollbar()}componentDidLoad(){this.tableDivElement&&ResizeObserver&&(this.tableDivElementResizeObserver=new ResizeObserver(this.checkDivElementScrollbar.bind(this)),this.tableDivElementResizeObserver.observe(this.tableDivElement))}handleSettingsChange(e){setState(this,"_tableSettings",e.detail)}disconnectedCallback(){var e;null===(e=this.tableDivElementResizeObserver)||void 0===e||e.disconnect()}checkDivElementScrollbar(){this.tableDivElement&&(this.tableDivElementHasScrollbar=this.tableDivElement.scrollWidth>this.tableDivElement.clientWidth)}updateDataToKeyMap(e){e.forEach(e=>{this.dataToKeyMap.has(e)||this.dataToKeyMap.set(e,nonce())}),this.dataToKeyMap.forEach((t,a)=>{e.includes(a)||this.dataToKeyMap.delete(a)})}getDataKey(e){return this.dataToKeyMap.get(e)}cellRender(e,t){t&&(clearTimeout(this.cellsToRenderTimeouts.get(t)),this.cellsToRenderTimeouts.set(t,setTimeout(()=>{if("function"==typeof e.render){const a=e.render(t,e,e.data,this.state._data);"string"==typeof a&&(t.textContent=a)}})))}getNumberOfCols(e,t){let a=0;return e.forEach(e=>{let t=0;Array.isArray(e)&&e.forEach(e=>{var a;return t+=null!==(a=e.colSpan)&&void 0!==a?a:1}),a<t&&(a=t)}),0===a&&(a=t.length),a}getNumberOfRows(e,t){var a;let r=0;return e.forEach(e=>{let t=0;Array.isArray(e)&&e.forEach(e=>{var a;return t+=null!==(a=e.rowSpan)&&void 0!==a?a:1}),r<t&&(r=t)}),0===r?r=t.length:r-=(null===(a=this.state._dataFoot)||void 0===a?void 0:a.length)||0,r}getThePrimaryHeadersWithKeyOrRenderFunction(e){const t=[];return e.forEach(e=>{e.forEach(e=>{"string"!=typeof e.key&&"function"!=typeof e.render||t.push(e)})}),t}getPrimaryHeaders(e){var t,a;let r=this.getThePrimaryHeadersWithKeyOrRenderFunction(null!==(t=e.horizontal)&&void 0!==t?t:[]);return this.horizontal=!0,0===r.length&&(r=this.getThePrimaryHeadersWithKeyOrRenderFunction(null!==(a=e.vertical)&&void 0!==a?a:[]),r.length>0&&(this.horizontal=!1)),r}getColumnPositionMap(){var e;const t=new Map;return null===(e=this.state._tableSettings)||void 0===e||e.columns.forEach(e=>{t.set(e.key,e.position)}),t}sortByColumnPosition(e){const t=this.getColumnPositionMap();return[...e].sort((e,a)=>{var r,o,s,i;return(null!==(o=t.get(null!==(r=e.key)&&void 0!==r?r:""))&&void 0!==o?o:Number.MAX_SAFE_INTEGER)-(null!==(i=t.get(null!==(s=a.key)&&void 0!==s?s:""))&&void 0!==i?i:Number.MAX_SAFE_INTEGER)})}createDataField(e,t,a){var r;t.horizontal=Array.isArray(null==t?void 0:t.horizontal)?t.horizontal:[],t.vertical=Array.isArray(null==t?void 0:t.vertical)?t.vertical:[];const o=this.getPrimaryHeaders(t),s=this.getNumberOfCols(t.horizontal,e);let i=this.getNumberOfRows(t.vertical,e),n=0;a&&(n=i,i+=(null===(r=this.state._dataFoot)||void 0===r?void 0:r.length)||0);const l=[],c=[],h=[];t.vertical.forEach((e,t)=>{c[t]=0,h[t]=[]});const d=this.sortByColumnPosition(o);for(let r=n;r<i;r++){const o=[];t.vertical.forEach((e,t)=>{let a=0;if(h[t].forEach(e=>a+=e),a<=r){const s=e[r-a+c[t]];if("object"==typeof s){o.push(Object.assign(Object.assign({},s),{headerCell:!0,data:{}}));let e=1;if("number"==typeof s.rowSpan&&s.rowSpan>1&&(e=s.rowSpan),h[t].push(e),"number"==typeof s.colSpan&&s.colSpan>1)for(let a=1;a<s.colSpan;a++)h[t+a].push(e);c[t]++}}});for(let t=0;t<s;t++)if(!0===this.horizontal){const s=a&&this.state._dataFoot?this.state._dataFoot[r-n]:e[r];"object"!=typeof d[t]||null===d[t]||"object"!=typeof s||null===s||"string"!=typeof d[t].key&&"function"!=typeof d[t].render||o.push(Object.assign(Object.assign({},d[t]),{colSpan:void 0,data:s,label:s[d[t].key],rowSpan:void 0}))}else"object"!=typeof d[r]||null===d[r]||"object"!=typeof e[t]||null===e[t]||"string"!=typeof d[r].key&&"function"!=typeof d[r].render||o.push(Object.assign(Object.assign({},d[r]),{colSpan:void 0,data:e[t],label:e[t][d[r].key],rowSpan:void 0}));l.push(o)}if(0===e.length){let e=0,a=0;Array.isArray(t.horizontal)&&t.horizontal.length>0&&t.horizontal[0].forEach(t=>{e+=t.colSpan||1}),Array.isArray(t.vertical)&&t.vertical.length>0&&(e-=t.vertical.length,t.vertical[0].forEach(e=>{a+=e.rowSpan||1}));const r={colSpan:e,label:this.translateNoEntries,render:void 0,rowSpan:Math.max(a,1)};0===l.length?l.push([r]):l[0].push(r)}return l}handleSelectionChangeCallbackAndEvent(e,t){var a;"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a[Callback.onSelectionChange])&&this.state._on[Callback.onSelectionChange](e,t),this.host&&dispatchDomEvent(this.host,KolEvent.selectionChange,t)}initializeTableSettings(){if(this._tableSettings)return;const e=this.getPrimaryHeaders(this.state._headerCells);this.state._tableSettings||(this.state._tableSettings={columns:[]}),this.state._tableSettings.columns=e.filter(e=>e.key).map((e,t)=>{var a;return{hidable:!1!==e.hidable,key:null!==(a=e.key)&&void 0!==a?a:nonce(),label:e.label,position:t,visible:!0}})}componentWillLoad(){this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateHeaderCells(this._headerCells),this.validateLabel(this._label),this.validateMinWidth(this._minWidth),this.validateOn(this._on),this.validateSelection(this._selection),this.validateTableSettings(this._tableSettings),this.validateHasSettingsMenu(this._hasSettingsMenu)}renderSelectionCell(e,t){var a,r,o;const s=this.state._selection;if(!s)return"";const i=this.getSelectionKeyPropertyName(),n=null===(a=e[0])||void 0===a?void 0:a.data;if(!n)return"";const l=n[i],c=s.multiple||void 0===s.multiple,d=null===(r=null==s?void 0:s.selectedKeys)||void 0===r?void 0:r.includes(l),u=null===(o=null==s?void 0:s.disabledKeys)||void 0===o?void 0:o.includes(l),b=s.label(n),p={name:"selection",checked:d,disabled:u,id:l,"aria-label":b};return h("td",{key:`tbody-${t}-selection`,class:"kol-table__cell kol-table__cell--selection"},h("div",{class:clsx("kol-table__selection",{"kol-table__selection--checked":d})},c?h("label",{class:clsx("kol-table__selection-label",{"kol-table__selection-label--disabled":u})},h(KolIconTag,{class:"kol-table__selection-icon",_icons:"codicon "+(d?"codicon-check":""),_label:""}),h("input",Object.assign({class:clsx("kol-table__selection-input kol-table__selection-input--checkbox"),ref:e=>e&&this.checkboxRefs.push(e)},p,{type:"checkbox",onInput:e=>{var t,a;const r=d?null===(a=null==s?void 0:s.selectedKeys)||void 0===a?void 0:a.filter(e=>e!==l):[...null!==(t=null==s?void 0:s.selectedKeys)&&void 0!==t?t:[],l];this.handleSelectionChangeCallbackAndEvent(e,null!=r?r:[])}}))):h("label",{class:"kol-table__selection-label"},h("input",Object.assign({class:clsx("kol-table__selection-input kol-table__selection-input--radio")},p,{type:"radio",onInput:e=>{this.handleSelectionChangeCallbackAndEvent(e,l)}}))),h(KolTooltipWcTag,{"aria-hidden":"true",class:"kol-table__selection-input-tooltip",_align:"right",_id:`${l}-label`,_label:b})))}getColumnSettings(e){var t;return null===(t=this.state._tableSettings)||void 0===t?void 0:t.columns.find(t=>t.key===e.key)}getSelectionKeyPropertyName(){var e,t;return null!==(t=null===(e=this.state._selection)||void 0===e?void 0:e.keyPropertyName)&&void 0!==t?t:"id"}getDataWithSelectionEnabled(){const e=this.getSelectionKeyPropertyName();return this.state._data.filter(t=>{var a,r;return!(null===(r=null===(a=this.state._selection)||void 0===a?void 0:a.disabledKeys)||void 0===r?void 0:r.includes(t[e]))})}getSelectedKeysWithoutDisabledKeys(){var e,t;return null===(t=null===(e=this.state._selection)||void 0===e?void 0:e.selectedKeys)||void 0===t?void 0:t.filter(e=>{var t,a;return!(null===(a=null===(t=this.state._selection)||void 0===t?void 0:t.disabledKeys)||void 0===a?void 0:a.includes(e))})}getSelectedKeysWithDisabledKeysOnly(){var e,t;return null===(t=null===(e=this.state._selection)||void 0===e?void 0:e.selectedKeys)||void 0===t?void 0:t.filter(e=>{var t,a;return null===(a=null===(t=this.state._selection)||void 0===t?void 0:t.disabledKeys)||void 0===a?void 0:a.includes(e)})}getRevertedSelection(e){var t;const a=this.getSelectionKeyPropertyName(),r=null!==(t=this.getSelectedKeysWithDisabledKeysOnly())&&void 0!==t?t:[];return e&&r.push(...this.getDataWithSelectionEnabled().map(e=>null==e?void 0:e[a])),r}getTableMinWidth(){var e,t;const a=null!==(t=null===(e=this.state._tableSettings)||void 0===e?void 0:e.columns.filter(e=>e.visible).reduce((e,t)=>{var a;return e+(null!==(a=t.width)&&void 0!==a?a:0)},0))&&void 0!==t?t:0;return"auto"===this.state._minWidth?`${a}ch`:`max(${this.state._minWidth}, ${a}ch)`}renderHeadingSelectionCell(){var e,t;const a=this.state._selection;if(!a||!a.multiple&&void 0!==a.multiple)return h("th",{class:"kol-table__cell kol-table__cell--header",key:"thead-0"});const r=null!==(t=null===(e=this.getSelectedKeysWithoutDisabledKeys())||void 0===e?void 0:e.length)&&void 0!==t?t:0,o=r===this.getDataWithSelectionEnabled().length,s=0!==r&&!o;let i="kol-table-selection-indeterminate";o&&!s&&(i="kol-table-selection-none"),0===r&&(i="kol-table-selection-all");const n=translate(i);return h("th",{key:"thead-0-selection",class:"kol-table__cell kol-table__cell--header"},h("div",{class:clsx("kol-table__selection",{"kol-table__selection--indeterminate":s,"kol-table__selection--checked":o})},h("label",{class:"kol-table__selection-label"},h(KolIconTag,{class:"kol-table__selection-icon",_icons:"codicon "+(s?"codicon-remove":o?"codicon-check":""),_label:""}),h("input",{class:clsx("kol-table__selection-input kol-table__selection-input--checkbox"),"data-testid":"selection-checkbox-all",ref:e=>e&&this.checkboxRefs.push(e),name:"selection",checked:o&&!s,indeterminate:s,"aria-label":n,type:"checkbox",onInput:e=>{this.handleSelectionChangeCallbackAndEvent(e,this.getRevertedSelection(!o))}})),h(KolTooltipWcTag,{"aria-hidden":"true",class:"kol-table__selection-input-tooltip",_align:"right",_id:`${i}-label`,_label:n})))}renderHeaderTdCell(){return h(Fragment,null,Array.isArray(this.state._headerCells.horizontal)&&this.state._headerCells.horizontal.length>0&&Array.isArray(this.state._headerCells.vertical)&&this.state._headerCells.vertical.length>0&&Array.isArray(this.state._headerCells.horizontal)&&h("td",{"aria-hidden":"true",colSpan:this.state._headerCells.vertical.length,rowSpan:this.state._headerCells.horizontal.length}))}renderHeadingCell(e,t,a,r){const o=this.getColumnSettings(e);if(o&&!o.visible)return"";let s="none",i="codicon codicon-fold";if(e.sortDirection)switch(e.sortDirection){case"ASC":i="codicon codicon-chevron-up",s="ascending";break;case"DESC":i="codicon codicon-chevron-down",s="descending";break;default:s="none"}const n=r?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col";return h("th",{key:`${t}-${a}-${e.label}`,class:clsx("kol-table__cell kol-table__cell--header",{[`kol-table__cell--align-${e.textAlign}`]:e.textAlign,[`kol-table__cell--${s}`]:s}),scope:n,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:(null==o?void 0:o.width)?`${o.width}ch`:e.width},"aria-sort":s,"data-sort":`sort-${e.sortDirection}`},e.sortDirection?h(KolButtonWcTag,{class:"kol-table__sort-button",exportparts:"icon",_icons:{right:i},_label:e.label,_ariaDescription:this.translateSort,_on:{onClick:t=>{var a;"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a.onSort)&&e.key&&e.sortDirection&&this.state._on.onSort(t,{key:e.key,currentSortDirection:e.sortDirection}),this.host&&dispatchDomEvent(this.host,KolEvent.sort,{key:e.key,currentSortDirection:e.sortDirection})}}}):e.label)}renderSpacer(e,t){var a,r;const o=(null===(a=this.state._headerCells.vertical)||void 0===a?void 0:a.length)||0,s=null===(r=null==t?void 0:t[0])||void 0===r?void 0:r.reduce((e,t)=>e+(t.colSpan||1),0),i=this.state._selection?1:0;return h("tr",{"aria-hidden":"true",class:clsx("kol-table__spacer",`kol-table__spacer--${e}`)},h("td",{class:clsx(`kol-table__spacer-line kol-table__spacer-line--${e}`),colSpan:o+s+i}))}renderFoot(){if(!this.state._dataFoot||0===this.state._dataFoot.length)return null;const e=this.createDataField(this.state._dataFoot,this.state._headerCells,!0);return h("tfoot",{class:"kol-table__footer"},[this.renderSpacer("foot",e),e.map((e,t)=>this.renderTableRow(e,t,!0,!0))])}render(){var e;const t=this.createDataField(this.state._data,this.state._headerCells);this.checkboxRefs=[];const a=null===(e=this.state._headerCells.horizontal)||void 0===e?void 0:e.map(e=>this.sortByColumnPosition(e));return h("div",{key:"95a631027258c3156b9b883749d83f03df71769d",class:"kol-table"},this.state._hasSettingsMenu&&h(KolTableSettingsWcTag,{key:"b42585e81106b96cd95218351d330edcebeb97f5",_tableSettings:this.state._tableSettings}),h("div",{key:"bfbee8e8ed5987d303323c303711ce26c93c27c4",ref:e=>this.tableDivElement=e,class:"kol-table__scroll-container",tabindex:this.tableDivElementHasScrollbar?"-1":void 0},h("table",{key:"2474a7a2047a1dd2d32d7291212b0210c233c611",class:"kol-table__table",style:{minWidth:this.getTableMinWidth()}},h("caption",{key:"6c0e1ec62bd0182789228909b193a17299396510",class:"kol-table__focus-element kol-table__caption",id:"caption",tabindex:this.tableDivElementHasScrollbar?"0":void 0},this.state._label),Array.isArray(a)&&h("thead",{key:"cf8d26fabb9f23f244ebb249d2d7f19f16938f99",class:"kol-table__head"},[a.map((e,t)=>h("tr",{class:"kol-table__head-row",key:`thead-${t}`},this.state._selection&&this.renderHeadingSelectionCell(),0===t&&this.renderHeaderTdCell(),Array.isArray(e)&&e.map((e,a)=>this.renderHeadingCell(e,t,a,!1)))),this.renderSpacer("head",a)]),h("tbody",{key:"ab8ce7468f2614cd64b8d404463340882101f603",class:"kol-table__body"},t.map((e,t)=>this.renderTableRow(e,t,!0))),this.renderFoot())))}get host(){return this}static get watchers(){return{_hasSettingsMenu:["validateHasSettingsMenu"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headerCells:["validateHeaderCells"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_on:["validateOn"],_selection:["validateSelection"],_tableSettings:["validateTableSettings"]}}},[256,"kol-table-stateless-wc",{_data:[1],_dataFoot:[1,"_data-foot"],_headerCells:[1,"_header-cells"],_label:[1],_minWidth:[1,"_min-width"],_on:[16],_selection:[1],_tableSettings:[16,"_table-settings"],_hasSettingsMenu:[4,"_has-settings-menu"],state:[32],tableDivElementHasScrollbar:[32],previousHeaderCells:[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{_hasSettingsMenu:["validateHasSettingsMenu"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headerCells:["validateHeaderCells"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_on:["validateOn"],_selection:["validateSelection"],_tableSettings:["validateTableSettings"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-table-stateless-wc"].forEach(e=>{if("kol-table-stateless-wc"===e)customElements.get(e)||customElements.define(e,KolTableStateless)})}const KolTableStatelessWc=KolTableStateless,defineCustomElement=defineCustomElement$1;export{KolTableStatelessWc,defineCustomElement};
4
+ import{proxyCustomElement,HTMLElement,h,Fragment}from"@stencil/core/internal/client";import{c as clsx}from"./clsx.js";import{e as KolIconTag,a as KolTooltipWcTag,d as KolButtonWcTag,r as KolTableSettingsWcTag}from"./component-names.js";import{t as translate}from"./i18n.js";import{Q as emptyStringByArrayHandler,o as objectObjectHandler,p as parseJson,w as watchValidator,s as setState}from"./common.js";import{b as validateHasSettingsMenu,v as validateTableData,a as validateTableDataFoot,f as validateTableCallbacks,c as validateTableSelection,e as validateTableSettings}from"./table-settings.js";import{v as validateLabel}from"./label.js";import{C as Callback}from"./keyboard.js";import{n as nonce}from"./dev.utils.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{i as isObject,c as baseGetTag,r as root,a as isObjectLike,f as freeGlobal,b as isArray,S as Symbol}from"./isObject.js";const validateTableHeaderCells=(e,t)=>{emptyStringByArrayHandler(t,()=>{objectObjectHandler(t,()=>{try{t=parseJson(t)}catch(e){}watchValidator(e,"_headerCells",e=>"object"==typeof e&&null!==e&&(void 0===e.horizontal||Array.isArray(e.horizontal)&&void 0===e.horizontal.find(e=>!Array.isArray(e)))&&(void 0===e.vertical||Array.isArray(e.vertical)&&void 0===e.vertical.find(e=>!Array.isArray(e)))&&!0,new Set(["TableHeaderCellsPropType"]),t)})})};var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject(e))return!1;var t=baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(e){if(null!=e){try{return funcToString$1.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$9=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$7=objectProto$9.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$7).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){return!(!isObject(e)||isMasked(e))&&(isFunction(e)?reIsNative:reIsHostCtor).test(toSource(e))}function getValue(e,t){return null==e?void 0:e[t]}function getNative(e,t){var a=getValue(e,t);return baseIsNative(a)?a:void 0}var WeakMap=getNative(root,"WeakMap"),MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var a=typeof e;return!!(t=null==t?MAX_SAFE_INTEGER$1:t)&&("number"==a||"symbol"!=a&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function eq(e,t){return e===t||e!=e&&t!=t}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return null!=e&&isLength(e.length)&&!isFunction(e)}var objectProto$8=Object.prototype;function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||objectProto$8)}function baseTimes(e,t){for(var a=-1,r=Array(e);++a<e;)r[a]=t(a);return r}var argsTag$2="[object Arguments]";function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==argsTag$2}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&hasOwnProperty$6.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")};function stubFalse(){return!1}var freeExports$1="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,Buffer=moduleExports$1?root.Buffer:void 0,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag$1="[object Number]",objectTag$2="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$1]=typedArrayTags[boolTag$1]=typedArrayTags[dataViewTag$2]=typedArrayTags[dateTag$1]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag$1]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag$1]=typedArrayTags[setTag$2]=typedArrayTags[stringTag$1]=typedArrayTags[weakMapTag$1]=!1;var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var e=freeModule&&freeModule.require&&freeModule.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function arrayLikeKeys(e,t){var a=isArray(e),r=!a&&isArguments(e),o=!a&&!r&&isBuffer(e),s=!a&&!r&&!o&&isTypedArray(e),i=a||r||o||s,l=i?baseTimes(e.length,String):[],n=l.length;for(var c in e)!hasOwnProperty$5.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||isIndex(c,n))||l.push(c);return l}function overArg(e,t){return function(a){return e(t(a))}}var nativeKeys=overArg(Object.keys,Object),objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys(e);var t=[];for(var a in Object(e))hasOwnProperty$4.call(e,a)&&"constructor"!=a&&t.push(a);return t}function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate){var a=t[e];return a===HASH_UNDEFINED$2?void 0:a}return hasOwnProperty$3.call(t,e)?t[e]:void 0}var objectProto$3=Object.prototype,hasOwnProperty$2=objectProto$3.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate?void 0!==t[e]:hasOwnProperty$2.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=nativeCreate&&void 0===t?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var a=e.length;a--;)if(eq(e[a][0],t))return a;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,a=assocIndexOf(t,e);return!(a<0)&&(a==t.length-1?t.pop():splice.call(t,a,1),--this.size,!0)}function listCacheGet(e){var t=this.__data__,a=assocIndexOf(t,e);return a<0?void 0:t[a][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var a=this.__data__,r=assocIndexOf(a,e);return r<0?(++this.size,a.push([e,t])):a[r][1]=t,this}function ListCache(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;var Map$1=getNative(root,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function getMapData(e,t){var a=e.__data__;return isKeyable(t)?a["string"==typeof t?"string":"hash"]:a.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var a=getMapData(this,e),r=a.size;return a.set(e,t),this.size+=a.size==r?0:1,this}function MapCache(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function arrayPush(e,t){for(var a=-1,r=t.length,o=e.length;++a<r;)e[o+a]=t[a];return e}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var a=this.__data__;if(a instanceof ListCache){var r=a.__data__;if(!Map$1||r.length<LARGE_ARRAY_SIZE-1)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new MapCache(r)}return a.set(e,t),this.size=a.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function arrayFilter(e,t){for(var a=-1,r=null==e?0:e.length,o=0,s=[];++a<r;){var i=e[a];t(i,a,e)&&(s[o++]=i)}return s}function stubArray(){return[]}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var objectProto$2=Object.prototype,propertyIsEnumerable=objectProto$2.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(e){return null==e?[]:(e=Object(e),arrayFilter(nativeGetSymbols(e),function(t){return propertyIsEnumerable.call(e,t)}))}:stubArray;function baseGetAllKeys(e,t,a){var r=t(e);return isArray(e)?r:arrayPush(r,a(e))}function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}var DataView=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),mapTag$1="[object Map]",objectTag$1="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag$1="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag$1||Map$1&&getTag(new Map$1)!=mapTag$1||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$1||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(e){var t=baseGetTag(e),a=t==objectTag$1?e.constructor:void 0,r=a?toSource(a):"";if(r)switch(r){case dataViewCtorString:return dataViewTag$1;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return t});var Uint8Array=root.Uint8Array,HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new MapCache;++t<a;)this.add(e[t])}function arraySome(e,t){for(var a=-1,r=null==e?0:e.length;++a<r;)if(t(e[a],a,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(e,t,a,r,o,s){var i=a&COMPARE_PARTIAL_FLAG$3,l=e.length,n=t.length;if(l!=n&&!(i&&n>l))return!1;var c=s.get(e),h=s.get(t);if(c&&h)return c==t&&h==e;var d=-1,u=!0,b=a&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(s.set(e,t),s.set(t,e);++d<l;){var p=e[d],g=t[d];if(r)var y=i?r(g,p,d,t,e,s):r(p,g,d,e,t,s);if(void 0!==y){if(y)continue;u=!1;break}if(b){if(!arraySome(t,function(e,t){if(!cacheHas(b,t)&&(p===e||o(p,e,a,r,s)))return b.push(t)})){u=!1;break}}else if(p!==g&&!o(p,g,a,r,s)){u=!1;break}}return s.delete(e),s.delete(t),u}function mapToArray(e){var t=-1,a=Array(e.size);return e.forEach(function(e,r){a[++t]=[r,e]}),a}function setToArray(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,a,r,o,s,i){switch(a){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!s(new Uint8Array(e),new Uint8Array(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var l=mapToArray;case setTag:var n=r&COMPARE_PARTIAL_FLAG$2;if(l||(l=setToArray),e.size!=t.size&&!n)return!1;var c=i.get(e);if(c)return c==t;r|=COMPARE_UNORDERED_FLAG,i.set(e,t);var h=equalArrays(l(e),l(t),r,o,s,i);return i.delete(e),h;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(e,t,a,r,o,s){var i=a&COMPARE_PARTIAL_FLAG$1,l=getAllKeys(e),n=l.length;if(n!=getAllKeys(t).length&&!i)return!1;for(var c=n;c--;){var h=l[c];if(!(i?h in t:hasOwnProperty$1.call(t,h)))return!1}var d=s.get(e),u=s.get(t);if(d&&u)return d==t&&u==e;var b=!0;s.set(e,t),s.set(t,e);for(var p=i;++c<n;){var g=e[h=l[c]],y=t[h];if(r)var _=i?r(y,g,h,t,e,s):r(g,y,h,e,t,s);if(!(void 0===_?g===y||o(g,y,a,r,s):_)){b=!1;break}p||(p="constructor"==h)}if(b&&!p){var f=e.constructor,v=t.constructor;f==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof f&&f instanceof f&&"function"==typeof v&&v instanceof v||(b=!1)}return s.delete(e),s.delete(t),b}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,a,r,o,s){var i=isArray(e),l=isArray(t),n=i?arrayTag:getTag(e),c=l?arrayTag:getTag(t),h=(n=n==argsTag?objectTag:n)==objectTag,d=(c=c==argsTag?objectTag:c)==objectTag,u=n==c;if(u&&isBuffer(e)){if(!isBuffer(t))return!1;i=!0,h=!1}if(u&&!h)return s||(s=new Stack),i||isTypedArray(e)?equalArrays(e,t,a,r,o,s):equalByTag(e,t,n,a,r,o,s);if(!(a&COMPARE_PARTIAL_FLAG)){var b=h&&hasOwnProperty.call(e,"__wrapped__"),p=d&&hasOwnProperty.call(t,"__wrapped__");if(b||p){var g=b?e.value():e,y=p?t.value():t;return s||(s=new Stack),o(g,y,a,r,s)}}return!!u&&(s||(s=new Stack),equalObjects(e,t,a,r,o,s))}function baseIsEqual(e,t,a,r,o){return e===t||(null==e||null==t||!isObjectLike(e)&&!isObjectLike(t)?e!=e&&t!=t:baseIsEqualDeep(e,t,a,r,baseIsEqual,o))}function isEqual(e,t){return baseIsEqual(e,t)}const HEADER_CELL_WIDTH_VALIDATOR=/^\d+(\.\d+)?([a-z]+|%)?$/,validateMinWidth=(e,t,a)=>{watchValidator(e,"_minWidth",e=>"string"==typeof e&&HEADER_CELL_WIDTH_VALIDATOR.test(e),new Set(["String","/^\\d+(\\.\\d+)?([a-z]+|%)?$/"]),t,a)},KolTableStateless=proxyCustomElement(class extends HTMLElement{constructor(e){super(),!1!==e&&this.__registerHost(),this.translateNoEntries=translate("kol-no-entries"),this.state={_data:[],_headerCells:{horizontal:[],vertical:[]},_label:"",_minWidth:"auto",_hasSettingsMenu:!1},this.horizontal=!0,this.cellsToRenderTimeouts=new Map,this.dataToKeyMap=new Map,this.checkboxRefs=[],this.translateSort=translate("kol-sort"),this.tableDivElementHasScrollbar=!1,this.renderTableRow=(e,t,a,r=!1)=>{var o,s;let i=String(t);return this.horizontal&&(null===(o=e[0])||void 0===o?void 0:o.data)&&(i=null!==(s=this.getDataKey(e[0].data))&&void 0!==s?s:i),h("tr",{class:clsx("kol-table__row",{"kol-table__row--body":!r,"kol-table__row--footer":r}),key:`row-${i}`},this.renderSelectionCell(e,t),e.map((e,r)=>this.renderTableCell(e,t,r,a)))},this.renderTableCell=(e,t,a,r)=>{const o=this.getColumnSettings(e);if(o&&!o.visible)return"";let s=`${t}-${a}-${e.label}`;if(e.data){const r=this.getDataKey(e.data);s=r?`${r}-${this.horizontal?a:t}`:s}return e.headerCell?this.renderHeadingCell(e,t,a,r):h("td",{key:`cell-${s}`,class:clsx("kol-table__cell kol-table__cell--body",{[`kol-table__cell--align-${e.textAlign}`]:e.textAlign}),colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:e.textAlign,width:(null==o?void 0:o.width)?`${o.width}ch`:e.width},ref:"function"==typeof e.render?t=>{this.cellRender(e,t)}:void 0},"function"!=typeof e.render?e.label:"")}}validateHasSettingsMenu(e){validateHasSettingsMenu(this,e)}validateData(e){validateTableData(this,e,{beforePatch:e=>{this.updateDataToKeyMap(e)}})}validateDataFoot(e){validateTableDataFoot(this,e)}validateHeaderCells(e){validateTableHeaderCells(this,e),isEqual(this.previousHeaderCells,this.state._headerCells)||this.initializeTableSettings(),this.previousHeaderCells=this.state._headerCells}validateLabel(e){validateLabel(this,e,{required:!0})}validateMinWidth(e){validateMinWidth(this,e)}validateOn(e){validateTableCallbacks(this,e)}validateSelection(e){validateTableSelection(this,e)}validateTableSettings(e){validateTableSettings(this,e)}handleKeyDown(e){var t;if("ArrowUp"===e.key||"ArrowDown"===e.key){const a=null===(t=this.tableDivElement)||void 0===t?void 0:t.querySelector(":focus");let r=this.checkboxRefs.indexOf(a);r>-1&&(e.preventDefault(),"ArrowDown"===e.key?(r=(r+1)%this.checkboxRefs.length,this.checkboxRefs[r].focus()):"ArrowUp"===e.key&&(e.preventDefault(),r=(r+this.checkboxRefs.length-1)%this.checkboxRefs.length,this.checkboxRefs[r].focus()))}}componentDidRender(){this.checkDivElementScrollbar()}componentDidLoad(){this.tableDivElement&&ResizeObserver&&(this.tableDivElementResizeObserver=new ResizeObserver(this.checkDivElementScrollbar.bind(this)),this.tableDivElementResizeObserver.observe(this.tableDivElement))}handleSettingsChange(e){setState(this,"_tableSettings",e.detail)}disconnectedCallback(){var e;null===(e=this.tableDivElementResizeObserver)||void 0===e||e.disconnect()}checkDivElementScrollbar(){this.tableDivElement&&(this.tableDivElementHasScrollbar=this.tableDivElement.scrollWidth>this.tableDivElement.clientWidth)}updateDataToKeyMap(e){e.forEach(e=>{this.dataToKeyMap.has(e)||this.dataToKeyMap.set(e,nonce())}),this.dataToKeyMap.forEach((t,a)=>{e.includes(a)||this.dataToKeyMap.delete(a)})}getDataKey(e){return this.dataToKeyMap.get(e)}cellRender(e,t){t&&(clearTimeout(this.cellsToRenderTimeouts.get(t)),this.cellsToRenderTimeouts.set(t,setTimeout(()=>{if("function"==typeof e.render){const a=e.render(t,e,e.data,this.state._data);"string"==typeof a&&(t.textContent=a)}})))}getNumberOfCols(e,t){let a=0;return e.forEach(e=>{let t=0;Array.isArray(e)&&e.forEach(e=>{var a;return t+=null!==(a=e.colSpan)&&void 0!==a?a:1}),a<t&&(a=t)}),0===a&&(a=t.length),a}getNumberOfRows(e,t){var a;let r=0;return e.forEach(e=>{let t=0;Array.isArray(e)&&e.forEach(e=>{var a;return t+=null!==(a=e.rowSpan)&&void 0!==a?a:1}),r<t&&(r=t)}),0===r?r=t.length:r-=(null===(a=this.state._dataFoot)||void 0===a?void 0:a.length)||0,r}getThePrimaryHeadersWithKeyOrRenderFunction(e){const t=[];return e.forEach(e=>{e.forEach(e=>{"string"!=typeof e.key&&"function"!=typeof e.render||t.push(e)})}),t}getPrimaryHeaders(e){var t,a;let r=this.getThePrimaryHeadersWithKeyOrRenderFunction(null!==(t=e.horizontal)&&void 0!==t?t:[]);return this.horizontal=!0,0===r.length&&(r=this.getThePrimaryHeadersWithKeyOrRenderFunction(null!==(a=e.vertical)&&void 0!==a?a:[]),r.length>0&&(this.horizontal=!1)),r}getColumnPositionMap(){var e;const t=new Map;return null===(e=this.state._tableSettings)||void 0===e||e.columns.forEach(e=>{t.set(e.key,e.position)}),t}sortByColumnPosition(e){const t=this.getColumnPositionMap();return[...e].sort((e,a)=>{var r,o,s,i;return(null!==(o=t.get(null!==(r=e.key)&&void 0!==r?r:""))&&void 0!==o?o:Number.MAX_SAFE_INTEGER)-(null!==(i=t.get(null!==(s=a.key)&&void 0!==s?s:""))&&void 0!==i?i:Number.MAX_SAFE_INTEGER)})}createDataField(e,t,a){var r;t.horizontal=Array.isArray(null==t?void 0:t.horizontal)?t.horizontal:[],t.vertical=Array.isArray(null==t?void 0:t.vertical)?t.vertical:[];const o=this.getPrimaryHeaders(t),s=this.getNumberOfCols(t.horizontal,e);let i=this.getNumberOfRows(t.vertical,e),l=0;a&&(l=i,i+=(null===(r=this.state._dataFoot)||void 0===r?void 0:r.length)||0);const n=[],c=[],h=[];t.vertical.forEach((e,t)=>{c[t]=0,h[t]=[]});const d=this.sortByColumnPosition(o);for(let r=l;r<i;r++){const o=[];t.vertical.forEach((e,t)=>{let a=0;if(h[t].forEach(e=>a+=e),a<=r){const s=e[r-a+c[t]];if("object"==typeof s){o.push(Object.assign(Object.assign({},s),{headerCell:!0,data:{}}));let e=1;if("number"==typeof s.rowSpan&&s.rowSpan>1&&(e=s.rowSpan),h[t].push(e),"number"==typeof s.colSpan&&s.colSpan>1)for(let a=1;a<s.colSpan;a++)h[t+a].push(e);c[t]++}}});for(let t=0;t<s;t++)if(!0===this.horizontal){const s=a&&this.state._dataFoot?this.state._dataFoot[r-l]:e[r];"object"!=typeof d[t]||null===d[t]||"object"!=typeof s||null===s||"string"!=typeof d[t].key&&"function"!=typeof d[t].render||o.push(Object.assign(Object.assign({},d[t]),{colSpan:void 0,data:s,label:s[d[t].key],rowSpan:void 0}))}else"object"!=typeof d[r]||null===d[r]||"object"!=typeof e[t]||null===e[t]||"string"!=typeof d[r].key&&"function"!=typeof d[r].render||o.push(Object.assign(Object.assign({},d[r]),{colSpan:void 0,data:e[t],label:e[t][d[r].key],rowSpan:void 0}));n.push(o)}if(0===e.length){let e=0,a=0;Array.isArray(t.horizontal)&&t.horizontal.length>0&&t.horizontal[0].forEach(t=>{e+=t.colSpan||1}),Array.isArray(t.vertical)&&t.vertical.length>0&&(e-=t.vertical.length,t.vertical[0].forEach(e=>{a+=e.rowSpan||1}));const r={colSpan:e,label:this.translateNoEntries,render:void 0,rowSpan:Math.max(a,1)};0===n.length?n.push([r]):n[0].push(r)}return n}handleSelectionChangeCallbackAndEvent(e,t){var a;"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a[Callback.onSelectionChange])&&this.state._on[Callback.onSelectionChange](e,t),this.host&&dispatchDomEvent(this.host,KolEvent.selectionChange,t)}initializeTableSettings(){if(this._tableSettings)return;const e=this.getPrimaryHeaders(this.state._headerCells);this.state._tableSettings||(this.state._tableSettings={columns:[]}),this.state._tableSettings.columns=e.filter(e=>e.key).map((e,t)=>{var a;return{hidable:!1!==e.hidable,key:null!==(a=e.key)&&void 0!==a?a:nonce(),label:e.label,position:t,visible:!0}})}componentWillLoad(){this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateHeaderCells(this._headerCells),this.validateLabel(this._label),this.validateMinWidth(this._minWidth),this.validateOn(this._on),this.validateSelection(this._selection),this.validateTableSettings(this._tableSettings),this.validateHasSettingsMenu(this._hasSettingsMenu)}renderSelectionCell(e,t){var a,r,o;const s=this.state._selection;if(!s)return"";const i=this.getSelectionKeyPropertyName(),l=null===(a=e[0])||void 0===a?void 0:a.data;if(!l)return"";const n=l[i],c=s.multiple||void 0===s.multiple,d=null===(r=null==s?void 0:s.selectedKeys)||void 0===r?void 0:r.includes(n),u=null===(o=null==s?void 0:s.disabledKeys)||void 0===o?void 0:o.includes(n),b=s.label(l),p={name:"selection",checked:d,disabled:u,id:n,"aria-label":b};return h("td",{key:`tbody-${t}-selection`,class:"kol-table__cell kol-table__cell--selection"},h("div",{class:clsx("kol-table__selection",{"kol-table__selection--checked":d})},c?h("label",{class:clsx("kol-table__selection-label",{"kol-table__selection-label--disabled":u})},h(KolIconTag,{class:"kol-table__selection-icon",_icons:"codicon "+(d?"codicon-check":""),_label:""}),h("input",Object.assign({class:clsx("kol-table__selection-input kol-table__selection-input--checkbox"),ref:e=>e&&this.checkboxRefs.push(e)},p,{type:"checkbox",onInput:e=>{var t,a;const r=d?null===(a=null==s?void 0:s.selectedKeys)||void 0===a?void 0:a.filter(e=>e!==n):[...null!==(t=null==s?void 0:s.selectedKeys)&&void 0!==t?t:[],n];this.handleSelectionChangeCallbackAndEvent(e,null!=r?r:[])}}))):h("label",{class:"kol-table__selection-label"},h("input",Object.assign({class:clsx("kol-table__selection-input kol-table__selection-input--radio")},p,{type:"radio",onInput:e=>{this.handleSelectionChangeCallbackAndEvent(e,n)}}))),h(KolTooltipWcTag,{"aria-hidden":"true",class:"kol-table__selection-input-tooltip",_align:"right",_id:`${n}-label`,_label:b})))}getColumnSettings(e){var t;return null===(t=this.state._tableSettings)||void 0===t?void 0:t.columns.find(t=>t.key===e.key)}getSelectionKeyPropertyName(){var e,t;return null!==(t=null===(e=this.state._selection)||void 0===e?void 0:e.keyPropertyName)&&void 0!==t?t:"id"}getDataWithSelectionEnabled(){const e=this.getSelectionKeyPropertyName();return this.state._data.filter(t=>{var a,r;return!(null===(r=null===(a=this.state._selection)||void 0===a?void 0:a.disabledKeys)||void 0===r?void 0:r.includes(t[e]))})}getSelectedKeysWithoutDisabledKeys(){var e,t;return null===(t=null===(e=this.state._selection)||void 0===e?void 0:e.selectedKeys)||void 0===t?void 0:t.filter(e=>{var t,a;return!(null===(a=null===(t=this.state._selection)||void 0===t?void 0:t.disabledKeys)||void 0===a?void 0:a.includes(e))})}getSelectedKeysWithDisabledKeysOnly(){var e,t;return null===(t=null===(e=this.state._selection)||void 0===e?void 0:e.selectedKeys)||void 0===t?void 0:t.filter(e=>{var t,a;return null===(a=null===(t=this.state._selection)||void 0===t?void 0:t.disabledKeys)||void 0===a?void 0:a.includes(e)})}getRevertedSelection(e){var t;const a=this.getSelectionKeyPropertyName(),r=null!==(t=this.getSelectedKeysWithDisabledKeysOnly())&&void 0!==t?t:[];return e&&r.push(...this.getDataWithSelectionEnabled().map(e=>null==e?void 0:e[a])),r}getTableMinWidth(){var e,t;const a=null!==(t=null===(e=this.state._tableSettings)||void 0===e?void 0:e.columns.filter(e=>e.visible).reduce((e,t)=>{var a;return e+(null!==(a=t.width)&&void 0!==a?a:0)},0))&&void 0!==t?t:0;return"auto"===this.state._minWidth?`${a}ch`:`max(${this.state._minWidth}, ${a}ch)`}renderHeadingSelectionCell(){var e,t;const a=this.state._selection;if(!a)return h("th",{class:"kol-table__cell kol-table__cell--header",key:"thead-0"});if(!1===a.multiple)return h("td",{key:"thead-0-selection",class:"kol-table__cell kol-table__cell--header kol-table__cell--selection"});const r=null!==(t=null===(e=this.getSelectedKeysWithoutDisabledKeys())||void 0===e?void 0:e.length)&&void 0!==t?t:0,o=r===this.getDataWithSelectionEnabled().length,s=0!==r&&!o;let i="kol-table-selection-indeterminate";o&&!s&&(i="kol-table-selection-none"),0===r&&(i="kol-table-selection-all");const l=translate(i);return h("th",{key:"thead-0-selection",class:"kol-table__cell kol-table__cell--header kol-table__cell--selection"},h("div",{class:clsx("kol-table__selection",{"kol-table__selection--indeterminate":s,"kol-table__selection--checked":o})},h("label",{class:"kol-table__selection-label"},h(KolIconTag,{class:"kol-table__selection-icon",_icons:"codicon "+(s?"codicon-remove":o?"codicon-check":""),_label:""}),h("input",{class:clsx("kol-table__selection-input kol-table__selection-input--checkbox"),"data-testid":"selection-checkbox-all",ref:e=>e&&this.checkboxRefs.push(e),name:"selection",checked:o&&!s,indeterminate:s,"aria-label":l,type:"checkbox",onInput:e=>{this.handleSelectionChangeCallbackAndEvent(e,this.getRevertedSelection(!o))}})),h(KolTooltipWcTag,{"aria-hidden":"true",class:"kol-table__selection-input-tooltip",_align:"right",_id:`${i}-label`,_label:l})))}renderHeaderTdCell(){return h(Fragment,null,Array.isArray(this.state._headerCells.horizontal)&&this.state._headerCells.horizontal.length>0&&Array.isArray(this.state._headerCells.vertical)&&this.state._headerCells.vertical.length>0&&Array.isArray(this.state._headerCells.horizontal)&&h("td",{"aria-hidden":"true",colSpan:this.state._headerCells.vertical.length,rowSpan:this.state._headerCells.horizontal.length}))}renderHeadingCell(e,t,a,r){const o=this.getColumnSettings(e);if(o&&!o.visible)return"";let s="none",i="codicon codicon-fold";if(e.sortDirection)switch(e.sortDirection){case"ASC":i="codicon codicon-chevron-up",s="ascending";break;case"DESC":i="codicon codicon-chevron-down",s="descending";break;default:s="none"}const l=r?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col";return h("th",{key:`${t}-${a}-${e.label}`,class:clsx("kol-table__cell kol-table__cell--header",{[`kol-table__cell--align-${e.textAlign}`]:e.textAlign,[`kol-table__cell--${s}`]:s}),scope:l,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:(null==o?void 0:o.width)?`${o.width}ch`:e.width},"aria-sort":s,"data-sort":`sort-${e.sortDirection}`},e.sortDirection?h(KolButtonWcTag,{class:"kol-table__sort-button",exportparts:"icon",_icons:{right:i},_label:e.label,_ariaDescription:this.translateSort,_on:{onClick:t=>{var a;"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a.onSort)&&e.key&&e.sortDirection&&this.state._on.onSort(t,{key:e.key,currentSortDirection:e.sortDirection}),this.host&&dispatchDomEvent(this.host,KolEvent.sort,{key:e.key,currentSortDirection:e.sortDirection})}}}):e.label)}renderSpacer(e,t){var a,r;const o=(null===(a=this.state._headerCells.vertical)||void 0===a?void 0:a.length)||0,s=null===(r=null==t?void 0:t[0])||void 0===r?void 0:r.reduce((e,t)=>e+(t.colSpan||1),0),i=this.state._selection?1:0;return h("tr",{"aria-hidden":"true",class:clsx("kol-table__spacer",`kol-table__spacer--${e}`)},h("td",{class:clsx(`kol-table__spacer-line kol-table__spacer-line--${e}`),colSpan:o+s+i}))}renderFoot(){if(!this.state._dataFoot||0===this.state._dataFoot.length)return null;const e=this.createDataField(this.state._dataFoot,this.state._headerCells,!0);return h("tfoot",{class:"kol-table__footer"},[this.renderSpacer("foot",e),e.map((e,t)=>this.renderTableRow(e,t,!0,!0))])}render(){var e;const t=this.createDataField(this.state._data,this.state._headerCells);this.checkboxRefs=[];const a=null===(e=this.state._headerCells.horizontal)||void 0===e?void 0:e.map(e=>this.sortByColumnPosition(e));return h("div",{key:"bfc320c1ffe4967b954f1a721bee3cd35648a54c",class:"kol-table"},this.state._hasSettingsMenu&&h(KolTableSettingsWcTag,{key:"c70c3570b89d7acb05ea4030bac7bc1a27242712",_tableSettings:this.state._tableSettings}),h("div",{key:"e823540452f410b0faaf0b1ace9197f3b31c7987",ref:e=>this.tableDivElement=e,class:"kol-table__scroll-container",tabindex:this.tableDivElementHasScrollbar?"-1":void 0},h("table",{key:"92d36c24de31ffdc07f3a05240013f66d33dd2e6",class:"kol-table__table",style:{minWidth:this.getTableMinWidth()}},h("caption",{key:"3daad52523dcf77718ad906cab875b1d044041a7",class:"kol-table__focus-element kol-table__caption",id:"caption",tabindex:this.tableDivElementHasScrollbar?"0":void 0},this.state._label),Array.isArray(a)&&h("thead",{key:"cfefb0f9bab674fa89c2b095763b3812c35750af",class:"kol-table__head"},[a.map((e,t)=>h("tr",{class:"kol-table__head-row",key:`thead-${t}`},this.state._selection&&this.renderHeadingSelectionCell(),0===t&&this.renderHeaderTdCell(),Array.isArray(e)&&e.map((e,a)=>this.renderHeadingCell(e,t,a,!1)))),this.renderSpacer("head",a)]),h("tbody",{key:"77cdebb2b01c11e802bb42044bed58c8d63ee06a",class:"kol-table__body"},t.map((e,t)=>this.renderTableRow(e,t,!0))),this.renderFoot())))}get host(){return this}static get watchers(){return{_hasSettingsMenu:["validateHasSettingsMenu"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headerCells:["validateHeaderCells"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_on:["validateOn"],_selection:["validateSelection"],_tableSettings:["validateTableSettings"]}}},[256,"kol-table-stateless-wc",{_data:[1],_dataFoot:[1,"_data-foot"],_headerCells:[1,"_header-cells"],_label:[1],_minWidth:[1,"_min-width"],_on:[16],_selection:[1],_tableSettings:[16,"_table-settings"],_hasSettingsMenu:[4,"_has-settings-menu"],state:[32],tableDivElementHasScrollbar:[32],previousHeaderCells:[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{_hasSettingsMenu:["validateHasSettingsMenu"],_data:["validateData"],_dataFoot:["validateDataFoot"],_headerCells:["validateHeaderCells"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_on:["validateOn"],_selection:["validateSelection"],_tableSettings:["validateTableSettings"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-table-stateless-wc"].forEach(e=>{if("kol-table-stateless-wc"===e)customElements.get(e)||customElements.define(e,KolTableStateless)})}const KolTableStatelessWc=KolTableStateless,defineCustomElement=defineCustomElement$1;export{KolTableStatelessWc,defineCustomElement};