@public-ui/components 4.6.0 → 4.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +1 -1
  7. package/dist/cjs/{Heading-CnnBHLhu.js → Heading-BiIgkzH8.js} +2 -2
  8. package/dist/cjs/{api-C-uDDxcA.js → api-CYf8xdSs.js} +16 -16
  9. package/dist/cjs/{app-globals-BfpVa0Lg.js → app-globals-BYAPmvIk.js} +2 -2
  10. package/dist/cjs/{base-Cc2tyQoy.js → base--a0QJmk3.js} +10 -10
  11. package/dist/cjs/{base-CeaAJa72.js → base-BmhaEyug.js} +9 -9
  12. package/dist/cjs/{base-BIbzHEVE.js → base-BpyecmRJ.js} +20 -20
  13. package/dist/cjs/{base-BZ3x1Yaj.js → base-CUUvWtsB.js} +10 -10
  14. package/dist/cjs/{base-web-component-B_zszxEg.js → base-web-component-BompEaD1.js} +1 -1
  15. package/dist/cjs/{base-web-component-CpqYvVDi.js → base-web-component-CWIPg0xv.js} +13 -13
  16. package/dist/cjs/{base-web-component-Dk-So1FD.js → base-web-component-ZnP9FmYh.js} +8 -8
  17. package/dist/cjs/{behavior-cEIf2evT.js → behavior-CFLTEANn.js} +4 -4
  18. package/dist/cjs/{behavior-CYg7XOXd.js → behavior-DSFpiPZZ.js} +3 -3
  19. package/dist/cjs/{behavior--ZjzmIB4.js → behavior-O4U6x6z7.js} +3 -3
  20. package/dist/cjs/{color-BJ776mPh.js → color-BAx-7-VH.js} +2 -2
  21. package/dist/cjs/{component-BacsMsF-.js → component-7ByD-KGA.js} +3 -3
  22. package/dist/cjs/{component-BTfaB8W5.js → component-B2tj_1JK.js} +2 -2
  23. package/dist/cjs/{component-D65WOH6c.js → component-BOtCtyyw.js} +5 -5
  24. package/dist/cjs/{component-5ABjFE_U.js → component-BhAlZY9F.js} +3 -3
  25. package/dist/cjs/{component-BSx0ZVSD.js → component-BsX1-89D.js} +8 -8
  26. package/dist/cjs/{component-DVf7tz1e.js → component-C4QeEJ1-.js} +4 -4
  27. package/dist/cjs/{component-DwuAKOV_.js → component-DUJYVdRR.js} +4 -4
  28. package/dist/cjs/{component-Ddp-Luc6.js → component-DWb8RKVo.js} +6 -6
  29. package/dist/cjs/component-Dd3qxReW.js +178 -0
  30. package/dist/cjs/{component-DuknrIKz.js → component-STJidyBV.js} +10 -10
  31. package/dist/cjs/{component-C_9WksgV.js → component-TQvy83J2.js} +11 -11
  32. package/dist/cjs/{contrast-DrGTr5zd.js → contrast-DOAdZqCp.js} +1 -1
  33. package/dist/cjs/{dev.utils-EwVibOKw.js → dev.utils-DlmiDtkx.js} +1 -1
  34. package/dist/cjs/{devtools-CEqUJI9f.js → devtools-C41YtdU_.js} +2 -2
  35. package/dist/cjs/{disabled-DBnI2OR4.js → disabled-BdFhTB-H.js} +1 -1
  36. package/dist/cjs/{field-control-Jhzreo_j.js → field-control-S9RwdD26.js} +6 -6
  37. package/dist/cjs/{group-DDmENjNB.js → group-C00FoXnX.js} +4 -4
  38. package/dist/cjs/{has-closer-DIk_toj-.js → has-closer--ijHuPZy.js} +1 -1
  39. package/dist/cjs/{href-_UE7179j.js → href-BD4uBwDL.js} +1 -1
  40. package/dist/cjs/{id-JbinnWCW.js → id-BM9KgE0w.js} +1 -1
  41. package/dist/cjs/{index-P8gY4ccL.js → index-DRjg_lHL.js} +1 -1
  42. package/dist/cjs/{input-BYfPasa5.js → input-0s6YjmaC.js} +4 -4
  43. package/dist/cjs/{input-container-BQlNjdk3.js → input-container-DYp04csT.js} +5 -5
  44. package/dist/cjs/{item-Dgikq96R.js → item-BKyAM3Uo.js} +9 -9
  45. package/dist/cjs/{item-C6gnuMjx.js → item-CRgD35fr.js} +4 -4
  46. package/dist/cjs/{item-CvvVUcQZ.js → item-DWAwMGWB.js} +11 -11
  47. package/dist/cjs/{item-DSSJt2YS.js → item-xUIdEroQ.js} +4 -4
  48. package/dist/cjs/kol-abbr.cjs.entry.js +5 -5
  49. package/dist/cjs/kol-accordion.cjs.entry.js +14 -14
  50. package/dist/cjs/kol-alert.cjs.entry.js +21 -21
  51. package/dist/cjs/kol-avatar.cjs.entry.js +9 -9
  52. package/dist/cjs/kol-badge.cjs.entry.js +22 -22
  53. package/dist/cjs/kol-breadcrumb.cjs.entry.js +22 -22
  54. package/dist/cjs/kol-button-link.cjs.entry.js +19 -19
  55. package/dist/cjs/kol-button.cjs.entry.js +19 -19
  56. package/dist/cjs/kol-card.cjs.entry.js +24 -24
  57. package/dist/cjs/kol-combobox.cjs.entry.js +32 -32
  58. package/dist/cjs/kol-details.cjs.entry.js +14 -14
  59. package/dist/cjs/kol-dialog.cjs.entry.js +27 -27
  60. package/dist/cjs/kol-drawer.cjs.entry.js +26 -26
  61. package/dist/cjs/kol-form.cjs.entry.js +20 -20
  62. package/dist/cjs/kol-heading.cjs.entry.js +9 -9
  63. package/dist/cjs/kol-icon.cjs.entry.js +7 -7
  64. package/dist/cjs/kol-image.cjs.entry.js +4 -4
  65. package/dist/cjs/kol-input-checkbox.cjs.entry.js +28 -28
  66. package/dist/cjs/kol-input-color.cjs.entry.js +31 -31
  67. package/dist/cjs/kol-input-date.cjs.entry.js +33 -33
  68. package/dist/cjs/kol-input-email.cjs.entry.js +37 -37
  69. package/dist/cjs/kol-input-file.cjs.entry.js +30 -30
  70. package/dist/cjs/kol-input-number.cjs.entry.js +35 -35
  71. package/dist/cjs/kol-input-password.cjs.entry.js +35 -35
  72. package/dist/cjs/kol-input-radio.cjs.entry.js +30 -30
  73. package/dist/cjs/kol-input-range.cjs.entry.js +31 -31
  74. package/dist/cjs/kol-input-text.cjs.entry.js +37 -37
  75. package/dist/cjs/kol-kolibri.cjs.entry.js +3 -3
  76. package/dist/cjs/kol-link-button.cjs.entry.js +20 -20
  77. package/dist/cjs/kol-link.cjs.entry.js +20 -20
  78. package/dist/cjs/kol-meter.cjs.entry.js +9 -9
  79. package/dist/cjs/kol-modal.cjs.entry.js +27 -27
  80. package/dist/cjs/kol-nav.cjs.entry.js +27 -27
  81. package/dist/cjs/kol-pagination.cjs.entry.js +33 -33
  82. package/dist/cjs/kol-popover-button.cjs.entry.js +20 -20
  83. package/dist/cjs/kol-progress.cjs.entry.js +8 -8
  84. package/dist/cjs/kol-quote.cjs.entry.js +6 -6
  85. package/dist/cjs/kol-select.cjs.entry.js +30 -30
  86. package/dist/cjs/kol-single-select.cjs.entry.js +32 -32
  87. package/dist/cjs/kol-skip-nav.cjs.entry.js +22 -22
  88. package/dist/cjs/kol-spin.cjs.entry.js +7 -7
  89. package/dist/cjs/kol-split-button.cjs.entry.js +22 -22
  90. package/dist/cjs/kol-table-stateful.cjs.entry.js +45 -45
  91. package/dist/cjs/kol-table-stateless.cjs.entry.js +34 -34
  92. package/dist/cjs/kol-tabs.cjs.entry.js +19 -19
  93. package/dist/cjs/kol-textarea.cjs.entry.js +33 -33
  94. package/dist/cjs/kol-toast-container.cjs.entry.js +16 -16
  95. package/dist/cjs/kol-toolbar.cjs.entry.js +24 -24
  96. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +10 -10
  97. package/dist/cjs/kol-tree-item.cjs.entry.js +18 -18
  98. package/dist/cjs/kol-tree.cjs.entry.js +6 -6
  99. package/dist/cjs/kol-version.cjs.entry.js +17 -17
  100. package/dist/cjs/kolibri.cjs.js +2 -2
  101. package/dist/cjs/{label-BAULqhwq.js → label-BA98eiFj.js} +3 -3
  102. package/dist/cjs/{label-hints-BHw-UcMt.js → label-hints-BE4LQ_Av.js} +1 -1
  103. package/dist/cjs/{label-lang-segment-D_UYFhgr.js → label-lang-segment-C5U5gEca.js} +2 -2
  104. package/dist/cjs/{label-with-expert-slot-XZTOiRp-.js → label-with-expert-slot-x1D8V34g.js} +3 -3
  105. package/dist/cjs/{level-CaJUuMiH.js → level-CX2p0n7U.js} +1 -1
  106. package/dist/cjs/{link-target-EZq24qVX.js → link-target-B1N4Je6O.js} +1 -1
  107. package/dist/cjs/{links-CNPivOpm.js → links-SN0jipdB.js} +1 -1
  108. package/dist/cjs/loader.cjs.js +2 -2
  109. package/dist/cjs/{multiple-D4ktp4Q2.js → multiple-Dl_RoQ-P.js} +1 -1
  110. package/dist/cjs/{number-value-BzIR1UvL.js → number-value-DO-0brWb.js} +1 -1
  111. package/dist/cjs/{open-BYh5VAA1.js → open-BQ2n_Z5t.js} +1 -1
  112. package/dist/cjs/{options-DkF38kx_.js → options-B49Y2jkm.js} +1 -1
  113. package/dist/cjs/{orientation-D4yopkvP.js → orientation-DKdQrdXN.js} +1 -1
  114. package/dist/cjs/{placeholder-CZOGOuLS.js → placeholder-E5zS-kqO.js} +1 -1
  115. package/dist/cjs/{props-from-config-CiU21EHb.js → props-from-config-8bawgofo.js} +1 -1
  116. package/dist/cjs/{read-only-PNG5jHgh.js → read-only-YsES5bfT.js} +1 -1
  117. package/dist/cjs/{required-mj54_vO_.js → required-BvWmptNq.js} +1 -1
  118. package/dist/cjs/{resolve-props-DOnocHFi.js → resolve-props-CHqmeYxD.js} +6 -6
  119. package/dist/cjs/{resolve-props-CH6OL2es.js → resolve-props-DUeggpV2.js} +7 -7
  120. package/dist/cjs/{rows-YaAnXjAm.js → rows-BBmwZt2C.js} +1 -1
  121. package/dist/cjs/{scroll-lock-D3pgiG8q.js → scroll-lock-3znuNdTX.js} +2 -2
  122. package/dist/cjs/{smart-button-BU7mWP5H.js → smart-button-B3OCsLLZ.js} +1 -1
  123. package/dist/cjs/{spell-check-CZWiLkQE.js → spell-check-DuFxddUB.js} +1 -1
  124. package/dist/cjs/{src-rB2yGTSn.js → src-Cl2qHbxL.js} +1 -1
  125. package/dist/cjs/{step-Bo6ILIqa.js → step-Bf3TCVBv.js} +1 -1
  126. package/dist/cjs/{suggestions-BO4EvOXc.js → suggestions-BjKRoku9.js} +1 -1
  127. package/dist/cjs/{suggestions-Ca575hi-.js → suggestions-C4B_eROV.js} +3 -3
  128. package/dist/cjs/test-component.cjs.entry.js +1 -1
  129. package/dist/cjs/{toggle-handler-ByJYSOdb.js → toggle-handler-DEpykyv_.js} +8 -8
  130. package/dist/cjs/{unique-nav-labels-_EHPpYUR.js → unique-nav-labels-CNpNvloU.js} +1 -1
  131. package/dist/cjs/{unit-Bl0Lyk08.js → unit-gLQjiSkI.js} +1 -1
  132. package/dist/cjs/{validators-rLs6tEWo.js → validators-DNveqLx4.js} +1 -1
  133. package/dist/cjs/{value-string-BKsvZy1q.js → value-string-JMz269Bn.js} +1 -1
  134. package/dist/cjs/{width-DegQFxQB.js → width-_6rleKWl.js} +1 -1
  135. package/dist/collection/components/accordion/style.css +2 -2
  136. package/dist/collection/components/alert/style.css +2 -2
  137. package/dist/collection/components/badge/style.css +2 -2
  138. package/dist/collection/components/breadcrumb/style.css +2 -2
  139. package/dist/collection/components/button/style.css +2 -2
  140. package/dist/collection/components/button-link/style.css +2 -2
  141. package/dist/collection/components/card/style.css +2 -2
  142. package/dist/collection/components/combobox/style.css +2 -2
  143. package/dist/collection/components/details/style.css +2 -2
  144. package/dist/collection/components/dialog/style.css +2 -2
  145. package/dist/collection/components/drawer/style.css +2 -2
  146. package/dist/collection/components/form/style.css +2 -2
  147. package/dist/collection/components/icon/style.css +2 -2
  148. package/dist/collection/components/input-checkbox/style.css +2 -2
  149. package/dist/collection/components/input-color/style.css +2 -2
  150. package/dist/collection/components/input-date/style.css +2 -2
  151. package/dist/collection/components/input-email/style.css +2 -2
  152. package/dist/collection/components/input-file/style.css +2 -2
  153. package/dist/collection/components/input-number/style.css +2 -2
  154. package/dist/collection/components/input-password/style.css +2 -2
  155. package/dist/collection/components/input-radio/style.css +2 -2
  156. package/dist/collection/components/input-range/style.css +2 -2
  157. package/dist/collection/components/input-text/style.css +2 -2
  158. package/dist/collection/components/link/style.css +2 -2
  159. package/dist/collection/components/link-button/style.css +2 -2
  160. package/dist/collection/components/modal/style.css +2 -2
  161. package/dist/collection/components/nav/style.css +2 -2
  162. package/dist/collection/components/pagination/style.css +2 -2
  163. package/dist/collection/components/popover-button/style.css +2 -2
  164. package/dist/collection/components/select/style.css +2 -2
  165. package/dist/collection/components/single-select/style.css +2 -2
  166. package/dist/collection/components/skip-nav/style.css +2 -2
  167. package/dist/collection/components/split-button/style.css +2 -2
  168. package/dist/collection/components/table-stateful/style.css +2 -2
  169. package/dist/collection/components/table-stateless/style.css +2 -2
  170. package/dist/collection/components/tabs/style.css +2 -2
  171. package/dist/collection/components/textarea/style.css +2 -2
  172. package/dist/collection/components/toaster/style.css +2 -2
  173. package/dist/collection/components/toolbar/style.css +2 -2
  174. package/dist/collection/components/tree-item/style.css +2 -2
  175. package/dist/collection/components/version/style.css +2 -2
  176. package/dist/collection/utils/markdown.js +49 -3
  177. package/dist/components/base-web-component2.js +1 -1
  178. package/dist/components/base4.js +1 -1
  179. package/dist/components/behavior3.js +1 -1
  180. package/dist/components/bem-registry.js +1 -1
  181. package/dist/components/component6.js +1 -1
  182. package/dist/components/contrast.js +1 -1
  183. package/dist/components/controller.js +1 -1
  184. package/dist/components/devtools.js +1 -1
  185. package/dist/components/input-container.js +1 -1
  186. package/dist/components/kol-accordion.js +1 -1
  187. package/dist/components/kol-alert.js +1 -1
  188. package/dist/components/kol-badge.js +1 -1
  189. package/dist/components/kol-breadcrumb.js +1 -1
  190. package/dist/components/kol-button-link.js +1 -1
  191. package/dist/components/kol-button.js +1 -1
  192. package/dist/components/kol-card.js +1 -1
  193. package/dist/components/kol-combobox.js +1 -1
  194. package/dist/components/kol-details.js +1 -1
  195. package/dist/components/kol-dialog.js +1 -1
  196. package/dist/components/kol-drawer.js +1 -1
  197. package/dist/components/kol-form.js +1 -1
  198. package/dist/components/kol-icon.js +1 -1
  199. package/dist/components/kol-input-checkbox.js +1 -1
  200. package/dist/components/kol-input-color.js +1 -1
  201. package/dist/components/kol-input-date.js +1 -1
  202. package/dist/components/kol-input-email.js +1 -1
  203. package/dist/components/kol-input-file.js +1 -1
  204. package/dist/components/kol-input-number.js +1 -1
  205. package/dist/components/kol-input-password.js +1 -1
  206. package/dist/components/kol-input-radio.js +1 -1
  207. package/dist/components/kol-input-range.js +1 -1
  208. package/dist/components/kol-input-text.js +1 -1
  209. package/dist/components/kol-link-button.js +1 -1
  210. package/dist/components/kol-link.js +1 -1
  211. package/dist/components/kol-modal.js +1 -1
  212. package/dist/components/kol-nav.js +1 -1
  213. package/dist/components/kol-pagination.js +1 -1
  214. package/dist/components/kol-popover-button.js +1 -1
  215. package/dist/components/kol-select.js +1 -1
  216. package/dist/components/kol-single-select.js +1 -1
  217. package/dist/components/kol-skip-nav.js +1 -1
  218. package/dist/components/kol-split-button.js +1 -1
  219. package/dist/components/kol-table-stateful.js +1 -1
  220. package/dist/components/kol-table-stateless.js +1 -1
  221. package/dist/components/kol-tabs.js +1 -1
  222. package/dist/components/kol-textarea.js +1 -1
  223. package/dist/components/kol-toast-container.js +1 -1
  224. package/dist/components/kol-toolbar.js +1 -1
  225. package/dist/components/kol-tree-item.js +1 -1
  226. package/dist/components/kol-version.js +1 -1
  227. package/dist/components/links.js +1 -1
  228. package/dist/esm/{Heading-BubZbykM.js → Heading-DDS-lyOB.js} +2 -2
  229. package/dist/esm/{api-D0RNr-zh.js → api-MBSY9afi.js} +16 -16
  230. package/dist/esm/{app-globals-DYRte_jr.js → app-globals-DytcyM_s.js} +2 -2
  231. package/dist/esm/{base-BbGt9eYx.js → base-D-me6QDT.js} +10 -10
  232. package/dist/esm/{base-BP5SdLvQ.js → base-D7-iAVBu.js} +20 -20
  233. package/dist/esm/{base-Cz00snD6.js → base-DP9yHJOV.js} +10 -10
  234. package/dist/esm/{base-CLsKm3-e.js → base-DZBnXHZh.js} +9 -9
  235. package/dist/esm/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +8 -8
  236. package/dist/esm/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
  237. package/dist/esm/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +13 -13
  238. package/dist/esm/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +3 -3
  239. package/dist/esm/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +3 -3
  240. package/dist/esm/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +4 -4
  241. package/dist/esm/{color-BbljGuAW.js → color-CnRQPMm_.js} +2 -2
  242. package/dist/esm/{component-CSsUaL_h.js → component-B4CDonzN.js} +5 -5
  243. package/dist/esm/{component-CNgECeRi.js → component-BC1TpQVD.js} +8 -8
  244. package/dist/esm/{component-6_YiKr2Z.js → component-BUzgs8fh.js} +11 -11
  245. package/dist/esm/{component-DEwcJKDA.js → component-Bldy_ShO.js} +4 -4
  246. package/dist/esm/component-Cj3P_f35.js +173 -0
  247. package/dist/esm/{component-B8UMedaK.js → component-D5yKRPCZ.js} +3 -3
  248. package/dist/esm/{component-NOe28NXD.js → component-DisuGN16.js} +3 -3
  249. package/dist/esm/{component-CMHB3reH.js → component-DxnezN7K.js} +4 -4
  250. package/dist/esm/{component-bIIx1x7q.js → component-LadkF9an.js} +2 -2
  251. package/dist/esm/{component-CiJGQTU0.js → component-ZJiUl6kZ.js} +10 -10
  252. package/dist/esm/{component-ZdHnXLLI.js → component-vxdandl4.js} +6 -6
  253. package/dist/esm/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
  254. package/dist/esm/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
  255. package/dist/esm/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +2 -2
  256. package/dist/esm/{disabled-B2o4Ctgy.js → disabled-C2DzYwwy.js} +1 -1
  257. package/dist/esm/{field-control-C9dIXnES.js → field-control-CQJgDAKK.js} +6 -6
  258. package/dist/esm/{group-DydT1Z92.js → group-DCoICCiG.js} +4 -4
  259. package/dist/esm/{has-closer-BrG00xL7.js → has-closer-x20C4xl3.js} +1 -1
  260. package/dist/esm/{href-CfNF4pHX.js → href-vIF4eC7d.js} +1 -1
  261. package/dist/esm/{id-Bh4FF8c0.js → id-lCAtMmMx.js} +1 -1
  262. package/dist/esm/{index-Bbr6Os1b.js → index-8-BSSKQL.js} +1 -1
  263. package/dist/esm/{input-C1YsxnDL.js → input-C4yo-d7N.js} +4 -4
  264. package/dist/esm/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +5 -5
  265. package/dist/esm/{item-zXunNZh5.js → item-BANfM_Mo.js} +9 -9
  266. package/dist/esm/{item-DXDEHrEg.js → item-C2HHBTvm.js} +4 -4
  267. package/dist/esm/{item-hsQoejqZ.js → item-H09kNXn9.js} +4 -4
  268. package/dist/esm/{item-Dms_59sU.js → item-gvmzMXYb.js} +11 -11
  269. package/dist/esm/kol-abbr.entry.js +5 -5
  270. package/dist/esm/kol-accordion.entry.js +14 -14
  271. package/dist/esm/kol-alert.entry.js +21 -21
  272. package/dist/esm/kol-avatar.entry.js +9 -9
  273. package/dist/esm/kol-badge.entry.js +22 -22
  274. package/dist/esm/kol-breadcrumb.entry.js +22 -22
  275. package/dist/esm/kol-button-link.entry.js +19 -19
  276. package/dist/esm/kol-button.entry.js +19 -19
  277. package/dist/esm/kol-card.entry.js +24 -24
  278. package/dist/esm/kol-combobox.entry.js +32 -32
  279. package/dist/esm/kol-details.entry.js +14 -14
  280. package/dist/esm/kol-dialog.entry.js +27 -27
  281. package/dist/esm/kol-drawer.entry.js +26 -26
  282. package/dist/esm/kol-form.entry.js +20 -20
  283. package/dist/esm/kol-heading.entry.js +9 -9
  284. package/dist/esm/kol-icon.entry.js +7 -7
  285. package/dist/esm/kol-image.entry.js +4 -4
  286. package/dist/esm/kol-input-checkbox.entry.js +28 -28
  287. package/dist/esm/kol-input-color.entry.js +31 -31
  288. package/dist/esm/kol-input-date.entry.js +33 -33
  289. package/dist/esm/kol-input-email.entry.js +37 -37
  290. package/dist/esm/kol-input-file.entry.js +30 -30
  291. package/dist/esm/kol-input-number.entry.js +35 -35
  292. package/dist/esm/kol-input-password.entry.js +35 -35
  293. package/dist/esm/kol-input-radio.entry.js +30 -30
  294. package/dist/esm/kol-input-range.entry.js +31 -31
  295. package/dist/esm/kol-input-text.entry.js +37 -37
  296. package/dist/esm/kol-kolibri.entry.js +3 -3
  297. package/dist/esm/kol-link-button.entry.js +20 -20
  298. package/dist/esm/kol-link.entry.js +20 -20
  299. package/dist/esm/kol-meter.entry.js +9 -9
  300. package/dist/esm/kol-modal.entry.js +27 -27
  301. package/dist/esm/kol-nav.entry.js +27 -27
  302. package/dist/esm/kol-pagination.entry.js +33 -33
  303. package/dist/esm/kol-popover-button.entry.js +20 -20
  304. package/dist/esm/kol-progress.entry.js +8 -8
  305. package/dist/esm/kol-quote.entry.js +6 -6
  306. package/dist/esm/kol-select.entry.js +30 -30
  307. package/dist/esm/kol-single-select.entry.js +32 -32
  308. package/dist/esm/kol-skip-nav.entry.js +22 -22
  309. package/dist/esm/kol-spin.entry.js +7 -7
  310. package/dist/esm/kol-split-button.entry.js +22 -22
  311. package/dist/esm/kol-table-stateful.entry.js +45 -45
  312. package/dist/esm/kol-table-stateless.entry.js +34 -34
  313. package/dist/esm/kol-tabs.entry.js +19 -19
  314. package/dist/esm/kol-textarea.entry.js +33 -33
  315. package/dist/esm/kol-toast-container.entry.js +16 -16
  316. package/dist/esm/kol-toolbar.entry.js +24 -24
  317. package/dist/esm/kol-tooltip-wc.entry.js +10 -10
  318. package/dist/esm/kol-tree-item.entry.js +18 -18
  319. package/dist/esm/kol-tree.entry.js +6 -6
  320. package/dist/esm/kol-version.entry.js +17 -17
  321. package/dist/esm/kolibri.js +3 -3
  322. package/dist/esm/{label-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
  323. package/dist/esm/{label-lang-segment-C5LYGOHt.js → label-lang-segment-B13iL7iy.js} +2 -2
  324. package/dist/esm/{label-BQVd3bkc.js → label-mr5joqaQ.js} +3 -3
  325. package/dist/esm/{label-with-expert-slot-D1tpX9DI.js → label-with-expert-slot-BVqi0_Fb.js} +3 -3
  326. package/dist/esm/{level-BVXGgbSM.js → level-eGeMFn0b.js} +1 -1
  327. package/dist/esm/{link-target-BWPSEd9a.js → link-target-DEH-wAmf.js} +1 -1
  328. package/dist/esm/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
  329. package/dist/esm/loader.js +3 -3
  330. package/dist/esm/{multiple-S3Ol1G6Z.js → multiple-F8uOX8RD.js} +1 -1
  331. package/dist/esm/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
  332. package/dist/esm/{open-DPP79Urq.js → open-DoPXNruj.js} +1 -1
  333. package/dist/esm/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
  334. package/dist/esm/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
  335. package/dist/esm/{placeholder-DlHbiVjz.js → placeholder-BPZ2sQEB.js} +1 -1
  336. package/dist/esm/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
  337. package/dist/esm/{read-only-DSBWEPED.js → read-only-9BPUG7r4.js} +1 -1
  338. package/dist/esm/{required-xw5BBPvV.js → required-DBJ4iW2e.js} +1 -1
  339. package/dist/esm/{resolve-props-DAVb5BM3.js → resolve-props-0xfjG6h5.js} +6 -6
  340. package/dist/esm/{resolve-props-CL8wxjtP.js → resolve-props-BQa6SjZU.js} +7 -7
  341. package/dist/esm/{rows-DRV8YlQv.js → rows-DuYJeJT7.js} +1 -1
  342. package/dist/esm/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +2 -2
  343. package/dist/esm/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
  344. package/dist/esm/{spell-check-hy6xFhmT.js → spell-check-Bvc-Peew.js} +1 -1
  345. package/dist/esm/{src-AwoM1pRe.js → src-CVwlo_cY.js} +1 -1
  346. package/dist/esm/{step-CopA0_m7.js → step-oCposIuI.js} +1 -1
  347. package/dist/esm/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
  348. package/dist/esm/{suggestions-BsiiaAxK.js → suggestions-fWMdnACm.js} +3 -3
  349. package/dist/esm/test-component.entry.js +1 -1
  350. package/dist/esm/{toggle-handler-ZMs2rBXc.js → toggle-handler-CtJ2Z7Us.js} +8 -8
  351. package/dist/esm/{unique-nav-labels-BV-M3fPR.js → unique-nav-labels-CZIyOzqJ.js} +1 -1
  352. package/dist/esm/{unit-hmMwqE9a.js → unit-YqluIXsF.js} +1 -1
  353. package/dist/esm/{validators-BgDmq-Qt.js → validators-ByUMEUYD.js} +1 -1
  354. package/dist/esm/{value-string-Dy8zJxlP.js → value-string-Baqhc_TX.js} +1 -1
  355. package/dist/esm/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
  356. package/dist/kolibri/Heading-DDS-lyOB.js +4 -0
  357. package/dist/kolibri/{api-D0RNr-zh.js → api-MBSY9afi.js} +1 -1
  358. package/dist/kolibri/app-globals-DytcyM_s.js +4 -0
  359. package/dist/kolibri/base-D-me6QDT.js +4 -0
  360. package/dist/kolibri/base-D7-iAVBu.js +4 -0
  361. package/dist/kolibri/base-DP9yHJOV.js +4 -0
  362. package/dist/kolibri/{base-CLsKm3-e.js → base-DZBnXHZh.js} +1 -1
  363. package/dist/kolibri/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +1 -1
  364. package/dist/kolibri/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
  365. package/dist/kolibri/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +1 -1
  366. package/dist/kolibri/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +1 -1
  367. package/dist/kolibri/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +1 -1
  368. package/dist/kolibri/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +1 -1
  369. package/dist/kolibri/{color-BbljGuAW.js → color-CnRQPMm_.js} +1 -1
  370. package/dist/kolibri/{component-CSsUaL_h.js → component-B4CDonzN.js} +1 -1
  371. package/dist/kolibri/component-BC1TpQVD.js +4 -0
  372. package/dist/kolibri/component-BUzgs8fh.js +4 -0
  373. package/dist/kolibri/component-Bldy_ShO.js +4 -0
  374. package/dist/kolibri/component-Cj3P_f35.js +4 -0
  375. package/dist/kolibri/component-D5yKRPCZ.js +4 -0
  376. package/dist/kolibri/{component-NOe28NXD.js → component-DisuGN16.js} +1 -1
  377. package/dist/kolibri/component-DxnezN7K.js +4 -0
  378. package/dist/kolibri/component-LadkF9an.js +4 -0
  379. package/dist/kolibri/component-ZJiUl6kZ.js +4 -0
  380. package/dist/kolibri/component-vxdandl4.js +4 -0
  381. package/dist/kolibri/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
  382. package/dist/kolibri/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
  383. package/dist/kolibri/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +1 -1
  384. package/dist/kolibri/disabled-C2DzYwwy.js +4 -0
  385. package/dist/kolibri/field-control-CQJgDAKK.js +4 -0
  386. package/dist/kolibri/{group-DydT1Z92.js → group-DCoICCiG.js} +1 -1
  387. package/dist/kolibri/has-closer-x20C4xl3.js +4 -0
  388. package/dist/kolibri/href-vIF4eC7d.js +4 -0
  389. package/dist/kolibri/id-lCAtMmMx.js +4 -0
  390. package/dist/kolibri/index-8-BSSKQL.js +6 -0
  391. package/dist/kolibri/input-C4yo-d7N.js +4 -0
  392. package/dist/kolibri/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +1 -1
  393. package/dist/kolibri/{item-zXunNZh5.js → item-BANfM_Mo.js} +1 -1
  394. package/dist/kolibri/item-C2HHBTvm.js +4 -0
  395. package/dist/kolibri/item-H09kNXn9.js +4 -0
  396. package/dist/kolibri/item-gvmzMXYb.js +4 -0
  397. package/dist/kolibri/kol-abbr.entry.js +1 -1
  398. package/dist/kolibri/kol-accordion.entry.js +1 -1
  399. package/dist/kolibri/kol-alert.entry.js +1 -1
  400. package/dist/kolibri/kol-avatar.entry.js +1 -1
  401. package/dist/kolibri/kol-badge.entry.js +1 -1
  402. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  403. package/dist/kolibri/kol-button-link.entry.js +1 -1
  404. package/dist/kolibri/kol-button.entry.js +1 -1
  405. package/dist/kolibri/kol-card.entry.js +1 -1
  406. package/dist/kolibri/kol-combobox.entry.js +1 -1
  407. package/dist/kolibri/kol-details.entry.js +1 -1
  408. package/dist/kolibri/kol-dialog.entry.js +1 -1
  409. package/dist/kolibri/kol-drawer.entry.js +1 -1
  410. package/dist/kolibri/kol-form.entry.js +1 -1
  411. package/dist/kolibri/kol-heading.entry.js +1 -1
  412. package/dist/kolibri/kol-icon.entry.js +1 -1
  413. package/dist/kolibri/kol-image.entry.js +1 -1
  414. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  415. package/dist/kolibri/kol-input-color.entry.js +1 -1
  416. package/dist/kolibri/kol-input-date.entry.js +1 -1
  417. package/dist/kolibri/kol-input-email.entry.js +1 -1
  418. package/dist/kolibri/kol-input-file.entry.js +1 -1
  419. package/dist/kolibri/kol-input-number.entry.js +1 -1
  420. package/dist/kolibri/kol-input-password.entry.js +1 -1
  421. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  422. package/dist/kolibri/kol-input-range.entry.js +1 -1
  423. package/dist/kolibri/kol-input-text.entry.js +1 -1
  424. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  425. package/dist/kolibri/kol-link-button.entry.js +1 -1
  426. package/dist/kolibri/kol-link.entry.js +1 -1
  427. package/dist/kolibri/kol-meter.entry.js +1 -1
  428. package/dist/kolibri/kol-modal.entry.js +1 -1
  429. package/dist/kolibri/kol-nav.entry.js +1 -1
  430. package/dist/kolibri/kol-pagination.entry.js +1 -1
  431. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  432. package/dist/kolibri/kol-progress.entry.js +1 -1
  433. package/dist/kolibri/kol-quote.entry.js +1 -1
  434. package/dist/kolibri/kol-select.entry.js +1 -1
  435. package/dist/kolibri/kol-single-select.entry.js +1 -1
  436. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  437. package/dist/kolibri/kol-spin.entry.js +1 -1
  438. package/dist/kolibri/kol-split-button.entry.js +1 -1
  439. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  440. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  441. package/dist/kolibri/kol-tabs.entry.js +1 -1
  442. package/dist/kolibri/kol-textarea.entry.js +1 -1
  443. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  444. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  445. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  446. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  447. package/dist/kolibri/kol-tree.entry.js +1 -1
  448. package/dist/kolibri/kol-version.entry.js +1 -1
  449. package/dist/kolibri/kolibri.esm.js +1 -1
  450. package/dist/kolibri/{label-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
  451. package/dist/kolibri/label-lang-segment-B13iL7iy.js +4 -0
  452. package/dist/kolibri/label-mr5joqaQ.js +4 -0
  453. package/dist/kolibri/label-with-expert-slot-BVqi0_Fb.js +4 -0
  454. package/dist/kolibri/level-eGeMFn0b.js +4 -0
  455. package/dist/kolibri/link-target-DEH-wAmf.js +4 -0
  456. package/dist/kolibri/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
  457. package/dist/kolibri/multiple-F8uOX8RD.js +4 -0
  458. package/dist/kolibri/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
  459. package/dist/kolibri/open-DoPXNruj.js +4 -0
  460. package/dist/kolibri/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
  461. package/dist/kolibri/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
  462. package/dist/kolibri/placeholder-BPZ2sQEB.js +4 -0
  463. package/dist/kolibri/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
  464. package/dist/kolibri/read-only-9BPUG7r4.js +4 -0
  465. package/dist/kolibri/required-DBJ4iW2e.js +4 -0
  466. package/dist/kolibri/resolve-props-0xfjG6h5.js +4 -0
  467. package/dist/kolibri/resolve-props-BQa6SjZU.js +4 -0
  468. package/dist/kolibri/rows-DuYJeJT7.js +4 -0
  469. package/dist/kolibri/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +1 -1
  470. package/dist/kolibri/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
  471. package/dist/kolibri/spell-check-Bvc-Peew.js +4 -0
  472. package/dist/kolibri/src-CVwlo_cY.js +4 -0
  473. package/dist/kolibri/step-oCposIuI.js +4 -0
  474. package/dist/kolibri/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
  475. package/dist/kolibri/suggestions-fWMdnACm.js +4 -0
  476. package/dist/kolibri/test-component.entry.js +1 -1
  477. package/dist/kolibri/toggle-handler-CtJ2Z7Us.js +4 -0
  478. package/dist/kolibri/unique-nav-labels-CZIyOzqJ.js +4 -0
  479. package/dist/kolibri/unit-YqluIXsF.js +4 -0
  480. package/dist/kolibri/validators-ByUMEUYD.js +4 -0
  481. package/dist/kolibri/value-string-Baqhc_TX.js +4 -0
  482. package/dist/kolibri/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
  483. package/package.json +3 -5
  484. package/dist/cjs/component-DE4OHvyu.js +0 -9299
  485. package/dist/esm/component-hiabKVP3.js +0 -9294
  486. package/dist/kolibri/Heading-BubZbykM.js +0 -4
  487. package/dist/kolibri/app-globals-DYRte_jr.js +0 -4
  488. package/dist/kolibri/base-BP5SdLvQ.js +0 -4
  489. package/dist/kolibri/base-BbGt9eYx.js +0 -4
  490. package/dist/kolibri/base-Cz00snD6.js +0 -4
  491. package/dist/kolibri/component-6_YiKr2Z.js +0 -4
  492. package/dist/kolibri/component-B8UMedaK.js +0 -4
  493. package/dist/kolibri/component-CMHB3reH.js +0 -4
  494. package/dist/kolibri/component-CNgECeRi.js +0 -4
  495. package/dist/kolibri/component-CiJGQTU0.js +0 -4
  496. package/dist/kolibri/component-DEwcJKDA.js +0 -4
  497. package/dist/kolibri/component-ZdHnXLLI.js +0 -4
  498. package/dist/kolibri/component-bIIx1x7q.js +0 -4
  499. package/dist/kolibri/component-hiabKVP3.js +0 -4
  500. package/dist/kolibri/disabled-B2o4Ctgy.js +0 -4
  501. package/dist/kolibri/field-control-C9dIXnES.js +0 -4
  502. package/dist/kolibri/has-closer-BrG00xL7.js +0 -4
  503. package/dist/kolibri/href-CfNF4pHX.js +0 -4
  504. package/dist/kolibri/id-Bh4FF8c0.js +0 -4
  505. package/dist/kolibri/index-Bbr6Os1b.js +0 -6
  506. package/dist/kolibri/input-C1YsxnDL.js +0 -4
  507. package/dist/kolibri/item-DXDEHrEg.js +0 -4
  508. package/dist/kolibri/item-Dms_59sU.js +0 -4
  509. package/dist/kolibri/item-hsQoejqZ.js +0 -4
  510. package/dist/kolibri/label-BQVd3bkc.js +0 -4
  511. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +0 -4
  512. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +0 -4
  513. package/dist/kolibri/level-BVXGgbSM.js +0 -4
  514. package/dist/kolibri/link-target-BWPSEd9a.js +0 -4
  515. package/dist/kolibri/multiple-S3Ol1G6Z.js +0 -4
  516. package/dist/kolibri/open-DPP79Urq.js +0 -4
  517. package/dist/kolibri/placeholder-DlHbiVjz.js +0 -4
  518. package/dist/kolibri/read-only-DSBWEPED.js +0 -4
  519. package/dist/kolibri/required-xw5BBPvV.js +0 -4
  520. package/dist/kolibri/resolve-props-CL8wxjtP.js +0 -4
  521. package/dist/kolibri/resolve-props-DAVb5BM3.js +0 -4
  522. package/dist/kolibri/rows-DRV8YlQv.js +0 -4
  523. package/dist/kolibri/spell-check-hy6xFhmT.js +0 -4
  524. package/dist/kolibri/src-AwoM1pRe.js +0 -4
  525. package/dist/kolibri/step-CopA0_m7.js +0 -4
  526. package/dist/kolibri/suggestions-BsiiaAxK.js +0 -4
  527. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +0 -4
  528. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +0 -4
  529. package/dist/kolibri/unit-hmMwqE9a.js +0 -4
  530. package/dist/kolibri/validators-BgDmq-Qt.js +0 -4
  531. package/dist/kolibri/value-string-Dy8zJxlP.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-Bbr6Os1b.js";import{e as l}from"./props-from-config-BOUcpF7e.js";const r=1;function a(e){return function(e){return e>=r&&e<=6}(e)?`h${e}`:"strong"}const o=(o,n)=>{var{class:c,level:t=r}=o,i=e(o,["class","level"]);const d=a(t);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(r,a)=>{var{class:o}=r,n=e(r,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},n),a)},c=(a,c)=>{var{secondaryHeadline:t,level:i=r,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=a,b=e(a,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const g=Object.assign({level:i},b);if(!t)return s(o,Object.assign({class:l(d,"kol-headline--single")},g),c);const{class:h}=p,j=e(p,["class"]),O=Object.assign({class:l("kol-heading-group",h)},j);return s("hgroup",Object.assign({},O),s(o,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},g),c),s(n,Object.assign({},u),t))};export{c as K,a as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{L as o,d as t,w as s}from"./common-BdSzSIXg.js";import{a as r}from"./index-Bbr6Os1b.js";const a=(()=>{r((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,s(o))}catch(o){}return"default"})),import("./devtools-DuJRc6wJ.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}))})||(()=>{});export{a as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{r as t}from"./aria-labelledby-DqJY_4G-.js";import{G as e,p as o,L as l}from"./common-BdSzSIXg.js";import{h as i,F as s,f as n}from"./index-Bbr6Os1b.js";import{B as a}from"./base-web-component-CYPdDdRn.js";import{c as r}from"./item-hsQoejqZ.js";import{c}from"./item-pool-BOxAYePG.js";import{c as d}from"./item-DXDEHrEg.js";import{c as h,f as u,n as b,a as p,r as v,t as f,B as m,v as y}from"./props-from-config-BOUcpF7e.js";import{l as g}from"./label-lang-segment-C5LYGOHt.js";import{v as k,j}from"./component-DEwcJKDA.js";import{c as C,d as S,e as w}from"./component-names-Dhbtt0mX.js";import{t as x}from"./i18n-BLkzMf6D.js";import{b as O}from"./bem-registry-SKACeCny.js";import{B as _}from"./component-CNgECeRi.js";import{I as $}from"./component-bIIx1x7q.js";import{L as D}from"./component-CiJGQTU0.js";import{r as L}from"./component-hiabKVP3.js";import{S as B}from"./component-NOe28NXD.js";import{T as F}from"./component-B8UMedaK.js";import{a as I}from"./tslib.es6-QNbPBOk5.js";import{n as E,c as A}from"./dev.utils-B0t4rcBV.js";import{d as T,K as z}from"./events-CRHxtwup.js";import{A as M}from"./component-ZdHnXLLI.js";import{l as H}from"./level-BVXGgbSM.js";import{c as K}from"./element-interaction-sGYdEpmv.js";import{u as N,l as P,D as G}from"./scroll-lock-BxAe0gL5.js";import{h as R}from"./tooltip-open-tracking-D3tCiiGP.js";import{d as X,w as Y}from"./width-BHn7XHj_.js";import{r as V,C as q}from"./component-6_YiKr2Z.js";import{T as U}from"./behavior-B6y5Gofe.js";import{C as W}from"./keyboard-DNd73LVa.js";const J=(o,l,i)=>{const s=t=>"string"==typeof t||void 0===t;return e(o,"_ariaLabelledby",s,new Set(["string"]),i),s(i)?t(l,i):[]},Q=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,Z=h("fixedCols",[0,0],(t=>u(t)),(t=>2===t.length&&t.every(Q))),tt=h("hasSettingsMenu",!1,b),et=p();function ot(t){const e="string"==typeof t?o(t):t;if(Array.isArray(e))return e;throw new Error("Invalid table data: expected an array of row objects.")}function lt(t){return t.every((t=>"object"==typeof t&&null!==t))}const it=h("data",[],ot,lt),st=h("dataFoot",[],ot,lt),nt=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),at=h("headers",{horizontal:[],vertical:[]},(function(t){const e="string"==typeof t?o(t):t;if("object"!=typeof e||null===e)throw new Error("Invalid table headers: expected an object.");const{horizontal:l=[],vertical:i=[]}=e;if(!nt(l)||!nt(i))throw new Error("Invalid table headers: horizontal and vertical must be arrays of header rows.");return{horizontal:l,vertical:i}}),(function({horizontal:t,vertical:e}){return[...t,...e].every((t=>t.every((t=>void 0===t.width||"number"==typeof t.width))))})),rt=h("loading",!1,b),ct=h("selection",!1,(function(t){const e="string"==typeof t?o(t):t;if("object"==typeof e&&null!==e)return e;throw new Error("Invalid table selection: expected an object.")}),(function(t){return!1===t||"function"==typeof t.label&&(!t.selectedKeys||Array.isArray(t.selectedKeys))})),dt={required:[g,it],optional:[Z,tt,et,st,at,rt,ct,k]},ht=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),ut=t=>{const e=ht(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=ht(t.vertical);return{cells:o,horizontal:0===o.length}},bt=(t,e)=>{let o=0;return Array.isArray(t)&&t.forEach((t=>{var l;o+=null!==(l=t[e])&&void 0!==l?l:1})),o},pt=(t,e)=>{const o=Math.max(0,...t.map((t=>bt(t,"colSpan"))));return 0===o?e.length:o},vt=t=>{var e;return null!==(e=null==t?void 0:t.reduce(((t,e)=>"visible"in e&&!1===e.visible?t:t+(e.colSpan||1)),0))&&void 0!==e?e:0},ft=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},mt=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===ft(o,l,e,a)&&(d[a]=(null!==(i=d[a-1])&&void 0!==i?i:0)+(null!==(n=null===(s=t[a-1])||void 0===s?void 0:s.width)&&void 0!==n?n:0));for(let i=e-1;i>=0;i--)"right"===ft(o,l,e,i)&&(d[i]=(null!==(a=d[i+1])&&void 0!==a?a:0)+(null!==(c=null===(r=t[i+1])||void 0===r?void 0:r.width)&&void 0!==c?c:0));return d},yt=(t,e,o,l)=>{const i=void 0===e?void 0:t[e];return o&&l?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},gt=(t,e,o,l)=>{if(0===(e.horizontal?t.horizontal:t.vertical).length)return;const i=e.cells[o];return(null==i?void 0:i.type)===l?i:void 0},kt=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=pt(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>bt(t,"rowSpan"))));return 0===l?e.length:l-o})(o.vertical,t,e.length),c=0;l&&(c=r,r+=e.length);const d=[],h=[],u=[];o.vertical.forEach(((t,e)=>{h[e]=0,u[e]=[]}));for(let i=c;i<r;i++){const r=[];o.vertical.forEach(((t,e)=>{let o=0;if(u[e].forEach((t=>o+=t)),o<=i){const l=t[i-o+h[e]];if("object"==typeof l){r.push(Object.assign(Object.assign({},l),{headerCell:!0,data:{}}));let t=1;if("number"==typeof l.rowSpan&&l.rowSpan>1&&(t=l.rowSpan),u[e].push(t),"number"==typeof l.colSpan&&l.colSpan>1)for(let o=1;o<l.colSpan;o++)u[e+o].push(t);h[e]++}}}));for(let o=0;o<n;o++)if(s.horizontal){const s=l?e[i-c]:t[i],n=a[o];"object"==typeof n&&null!==n&&"object"==typeof s&&null!==s&&r.push(Object.assign(Object.assign({},n),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:s,label:s[n.key]}))}else{const e=a[i];"object"==typeof e&&null!==e&&"object"==typeof t[o]&&null!==t[o]&&r.push(Object.assign(Object.assign({},e),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:t[o],label:t[o][e.key]}))}d.push(r)}if(0===t.length){let t=vt(o.horizontal[0]),e=0;o.vertical.length>0&&(t-=o.vertical.length,o.vertical[0].forEach((t=>{e+=t.rowSpan||1})));const l={colSpan:t,label:i,render:void 0,rowSpan:Math.max(e,1)};0===d.length?d.push([l]):d[0].push(l)}return d},jt=({horizontal:t,vertical:e})=>{const o=t.flatMap((t=>t.filter((t=>!1!==t.visible&&void 0!==t.width&&t.width>0)).map((t=>t.width)))),l=[...e.flatMap((t=>t.filter((t=>void 0!==t.width&&t.width>0)).map((t=>t.width)))),...o];return 0===l.length?"0px":1===l.length?`${l[0]}px`:`calc(${l.map((t=>`${t}px`)).join(" + ")})`},Ct=t=>void 0===t?[]:Array.isArray(t)?t:[t],St=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},wt=t=>{const e=t?Ct(t.selectedKeys):[];return{disabledKeys:new Set((t?Ct(t.disabledKeys):[]).map(String)),keyPropertyName:St(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},xt=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),Ot=O.forBlock("kol-table"),_t=Ot("body"),$t=Ot("cell-actions"),Dt=Ot("cell-states"),Lt=Ot("footer"),Bt=Ot("head"),Ft=Ot("head-row"),It=Ot("scroll-container"),Et=Ot("selection-icon"),At=Ot("selection-input-tooltip"),Tt=Ot("sort"),zt=Ot("sort-button"),Mt=Ot("sort-order"),Ht=Ot("table"),Kt=`${Ot("focus-element")} ${Ot("caption")}`,Nt="caption",Pt=(t,e)=>ft(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Gt=(t,e,o)=>({left:"left"===e?yt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?yt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Rt=(t,e,o)=>{var l,i;return null!==(i=t.primaryHeaders.horizontal&&(null===(l=e[0])||void 0===l?void 0:l.data)?t.rowKeys.get(e[0].data):void 0)&&void 0!==i?i:String(o)},Xt=t=>{const e=x("kol-sort");return"number"==typeof t&&t>0?`${e} – ${x("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Yt=(t,e,o,l,s)=>{if(!1===e.visible)return"";const n=!1!==(null==e?void 0:e.sortable)&&"string"==typeof e.sortDirection;let a="none",r="kolicon-sort-neutral";if(n&&e.sortDirection)switch(e.sortDirection){case"ASC":r="kolicon-sort-asc",a="ascending";break;case"DESC":r="kolicon-sort-desc",a="descending";break;default:a="none"}const c=s?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col",d="number"==typeof e.sortOrder&&e.sortOrder>0?e.sortOrder:void 0,h=void 0!==e.width?`${e.width}px`:void 0,u=Pt(t,l),{left:b,right:p}=Gt(t,u,l),v=e.textAlign,f=n?e.sortDirection:void 0;return i("th",{key:`${o}-${l}-${e.label}`,class:Ot("cell",{[a]:!0,"align-center":"center"===v,"align-justify":"justify"===v,"align-left":"left"===v,"align-right":"right"===v,header:!0,"sticky-left":"left"===u,"sticky-right":"right"===u}),scope:c,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:h,left:b,right:p},"aria-sort":a,"data-sort":f?`sort-${f}`:void 0},f?i("span",{class:Tt},i(_,Object.assign({},t.getButtonFcProps(`sort-${s?"vertical":"horizontal"}-${o}-${l}`,{_icons:{right:r},_label:e.label,_ariaDescription:Xt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:zt}))),d&&i("span",{"aria-hidden":"true",class:Mt},d)):e.label)},Vt=(t,e,o,l,s=!1)=>i("tr",{class:Ot("row",{body:!s,footer:s}),key:`row-${Rt(t,e,o)}`},((t,e,o)=>{var l;const{handleSelectionChange:s,selection:n,selectionModel:a}=t;if(!n)return"";const r=null===(l=e[0])||void 0===l?void 0:l.data;if(!r)return"";const c=r[a.keyPropertyName],d=n.multiple||void 0===n.multiple,h=String(c),u=a.selectedKeysSet.has(h),b=a.disabledKeys.has(h),p=n.label(r),v={name:"selection",checked:u,disabled:b,id:String(c),"aria-label":p};return i("td",{key:`tbody-${o}-selection`,class:Ot("cell",{selection:!0})},i("div",{class:Ot("selection",{checked:u})},d?i("label",{class:Ot("selection-label",{disabled:b})},i($,{class:Et,icons:"kolicon "+(u?"kolicon-check":""),label:""}),i("input",Object.assign({class:Ot("selection-input",{checkbox:!0})},v,{type:"checkbox",onInput:t=>{const e=u?a.selectedKeys.filter((t=>String(t)!==h)):[...a.selectedKeys,c];s(t,e)}}))):i("label",{class:Ot("selection-label")},i("input",Object.assign({class:Ot("selection-input",{radio:!0})},v,{type:"radio",onInput:t=>{s(t,[c])}}))),i("div",{class:At},i(F,{label:p,badgeText:"",id:`${c}-label`,refFloating:()=>{}}))))})(t,e,o),e.map(((e,s)=>((t,e,o,l,s)=>{if(!1===e.visible)return"";let n=`${o}-${l}-${e.label}`;if(e.data){const i=t.rowKeys.get(e.data);n=i?`${i}-${t.primaryHeaders.horizontal?l:o}`:n}if(e.headerCell)return Yt(t,e,o,l,s);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=gt(t.headers,t.primaryHeaders,l,"action"),c=Boolean(r&&e.data),d=gt(t.headers,t.primaryHeaders,l,"state"),h=Boolean(d&&e.data),u=Pt(t,l),{left:b,right:p}=Gt(t,u,e.colIndex),v="function"==typeof e.render,f=e.textAlign;return i("td",{key:`cell-${n}-${t.settingsChangedCounter}`,class:Ot("cell",{actions:c,"align-center":"center"===f,"align-justify":"justify"===f,"align-left":"left"===f,"align-right":"right"===f,body:!0,states:h,"sticky-left":"left"===u,"sticky-right":"right"===u}),"aria-atomic":a?"false":void 0,"aria-live":a?"polite":void 0,"aria-relevant":a?"text":void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:f,left:b,right:p},ref:v?o=>t.handleRenderCell(e,o):void 0},c&&r&&e.data?((t,e,o,l)=>i("div",{class:$t},e.actions(o).map(((e,o)=>{const s=`action-${l}-${o}`;return"button"===e.type?i("span",{key:s},i(_,Object.assign({},t.getButtonFcProps(s,e)))):"link"===e.type?i("span",{key:s},i(D,Object.assign({},t.getLinkFcProps(s,e)))):null}))))(t,r,e.data,n):h&&d&&e.data?((t,e,o)=>{const l=t.key;if(!l)return"";const s=e[l];return s?i("div",{class:Dt},s.map(((t,e)=>"badge"===t.type?i(C,Object.assign({key:`state-${o}-${e}`},t)):null))):""})(d,e.data,n):v?"":e.label)})(t,e,o,s,l)))),qt=(t,e,o)=>{const l=t.headers.vertical.length+vt(null==o?void 0:o[0])+(t.selection?1:0);return i("tr",{"aria-hidden":"true",class:Ot("spacer",{[e]:!0})},i("td",{class:Ot("spacer-line",{[e]:!0}),colSpan:l}))},Ut=t=>{const e=v(dt,t),{data:o,dataFoot:l,externalLabelElements:n,fixedCols:a,hasScrollbar:r,hasSettingsMenu:c,headers:d,label:h,loading:u,refScrollContainer:b,refTable:p,selection:y,stickyColsDisabled:g,variant:k}=e,C=x("kol-no-entries"),S=ut(d),w=pt(d.horizontal,o),O=Object.assign(Object.assign({},e),{fixedOffsets:mt(S.cells,w,a,g),maxCols:w,primaryHeaders:S,selectionModel:wt(y),translateNoEntries:C}),_=kt({data:o,dataFoot:l,headers:d,isFoot:!1,noEntriesLabel:C,primaryHeaders:S}),D=0===n.length;return i(m,{block:"kol-table",class:j(k,"table")},c&&t.renderSettings(d.horizontal),i("div",{ref:b,class:It,tabindex:r?D?"-1":"0":void 0},i("table",{ref:p,"aria-labelledby":D?Nt:void 0,class:Ht,style:{minWidth:jt(d)}},D&&i("caption",{class:Kt,id:Nt,ref:t=>{t&&(r?t.tabIndex=0:t.removeAttribute("tabindex"))}},L(h)),i("thead",{class:Bt},[d.horizontal.map(((t,e)=>i("tr",{class:Ft,key:`thead-${e}`},y&&(t=>{const{data:e,handleSelectionChange:o,selection:l,selectionModel:s}=t;if(!l)return i("td",{class:Ot("cell",{header:!0}),key:"thead-0"});if(!1===l.multiple)return i("th",{scope:"col",key:"thead-0-selection",class:Ot("cell",{header:!0,selection:!0})},i("span",{class:"visually-hidden"},x("kol-table-selection")));const n=s.selectedKeys.filter((t=>!s.disabledKeys.has(String(t)))).length,a=n===xt(e,s).length,r=0!==n&&!a;let c;return c=x(0===n?"kol-table-selection-all":a&&!r?"kol-table-selection-none":"kol-table-selection-indeterminate"),i("th",{scope:"col",key:"thead-0-selection",class:Ot("cell",{header:!0,selection:!0})},i("span",{class:"visually-hidden"},x("kol-table-selection")),i("div",{class:Ot("selection",{checked:a,indeterminate:r})},i("label",{class:Ot("selection-label")},i($,{class:Et,icons:"kolicon "+(r?"kolicon-minus":a?"kolicon-check":""),label:""}),i("input",{class:Ot("selection-input",{checkbox:!0}),name:"selection",checked:a&&!r,indeterminate:r,"aria-label":c,type:"checkbox",onInput:t=>{o(t,((t,e,o)=>{const l=e.selectedKeys.filter((t=>e.disabledKeys.has(String(t))));return o&&l.push(...xt(t,e).map((t=>null==t?void 0:t[e.keyPropertyName]))),l})(e,s,!a))}})),i("div",{class:At},i(F,{label:c,badgeText:"",refFloating:()=>{}}))))})(O),0===e&&(({headers:t})=>{const{horizontal:e,vertical:o}=t;if(0===e.length||0===o.length)return i(s,null);const l=o.reduce(((t,e)=>{var o,l;return t+(null!==(l=null===(o=null==e?void 0:e[0])||void 0===o?void 0:o.width)&&void 0!==l?l:0)}),0);return i("td",{"aria-hidden":"true",colSpan:o.length,rowSpan:e.length,style:l>0?{width:`${l}px`}:void 0})})(O),Array.isArray(t)&&t.map(((t,o)=>Yt(O,t,e,o,!1)))))),qt(O,"head",d.horizontal)]),i("tbody",{class:_t},i("div",{class:Ot("loader",{shown:u})},i(B,{label:x(u?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",f(h)),show:u,variant:"cycle"})),_.map(((t,e)=>Vt(O,t,e,!0)))),(t=>{const{dataFoot:e,headers:o,primaryHeaders:l,translateNoEntries:s}=t;if(0===e.length)return null;const n=kt({data:e,dataFoot:e,headers:o,isFoot:!0,noEntriesLabel:s,primaryHeaders:l}),a=pt(o.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:mt(l.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return i("tfoot",{class:Lt},[qt(t,"foot",n),n.map(((t,e)=>Vt(r,t,e,!0,!0)))])})(O))))},Wt=({dialog:t,card:e},o)=>i(G,Object.assign({},t),e?i(q,Object.assign({},e),o):o),Jt=O.forBlock("kol-table")("settings"),Qt=O.forBlock("kol-table-settings"),Zt=Qt(),te=Qt("actions"),ee=Qt("column"),oe=Qt("column-label"),le=Qt("columns"),ie=Qt("content"),se=Qt("error-message"),ne=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,ae=()=>{},re=(t,e)=>{const o=x("kol-table-settings"),l=x("kol-table-settings-cancel"),s=x("kol-table-settings-apply"),n=x("kol-table-settings-error-all-invisible");let d,h=!1,u=!1;const b=()=>{h=!0,e()},p=c((()=>r(t)),(t=>t.syncListeners()),(t=>t.destroy())),v=((t,e)=>{const o=K(),l=K(),i=new U(a.stateLess),s=E(),n=A("dialog-heading"),r={};let c,h=!0,u={};const b=t=>!d||T(d,t),p=()=>{var t,e;null===(e=null===(t=o.el)||void 0===t?void 0:t.close)||void 0===e||e.call(t)},v=t=>{var e;R(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||b(z.cancel)||t.preventDefault())},m=t=>{var e;t.target===o.el&&(N(r),null===(e=u.onClose)||void 0===e||e.call(u),b(z.close))},k=()=>{i.hideTooltip(),p(),b(z.close)};return{getFcProps:e=>{var a,r,d;let b="",p=0,j="blank",C="100%";g.apply(e.label,(t=>{b=t})),H.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{p=t})),X.apply(e.on,(t=>{u=t})),y.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{j=t})),Y.apply(null!==(d=e.width)&&void 0!==d?d:"100%",(t=>{C=t}));const S="card"===j;return S&&!c&&(c=V(t()),i.componentWillLoad({label:c.label,align:c.tooltipAlign})),{dialog:{handleCancel:v,handleClose:m,label:f(b),labelledBy:S?n:void 0,modal:h,refDialog:o,variant:j,width:C},card:S&&c?{ariaDescriptionId:s,closeButtonProps:c,handleClose:k,hasCloser:!0,headingId:n,label:b,level:p,refCloseButton:l,refTooltip:i.setTooltipElementRef}:void 0}},show:t=>{var l,i;const s=o.el;(null==s?void 0:s.open)||(h!==t&&(h=t,e()),t?(null===(l=null==s?void 0:s.showModal)||void 0===l||l.call(s),s&&P(r)):null===(i=null==s?void 0:s.show)||void 0===i||i.call(s))},close:p,syncListeners:()=>{l.el&&i.syncListeners(void 0,l.el,!0)},destroy:()=>{p(),N(r),i.destroy()}}})(t,b),m=A("alert-heading"),k=E();let j,C=[],O=[],$=null;const D=()=>{var t;return null!==(t=O[O.length-1])&&void 0!==t?t:[]},L=t=>{O=O.map(((e,o,l)=>o===l.length-1?t:e)),b()},B=(t,e)=>{const o=[...D()],l=o.findIndex((e=>e.key===t));if(-1===l)return;let i;if("up"===e){if(0===l)return;i=l-1}else{if(l===o.length-1)return;i=l+1}const[s]=o.splice(l,1);o.splice(i,0,s),L(o)},F=t=>{if(t.preventDefault(),!D().some((t=>!1!==t.visible)))return $=n,void b();if(d){$=null,C=O.map((t=>t.map((t=>Object.assign({},t))))),b();const t=O.map((t=>t.map((t=>{const e=t,{hidable:o,resizable:l,sortable:i,visible:s,width:n}=e,a=I(e,["hidable","resizable","sortable","visible","width"]),r=Object.assign({},a);return void 0!==s&&(r.visible=s),void 0!==o&&(r.hidable=o),void 0!==i&&(r.sortable=i),void 0!==l&&(r.resizable=l),null!=n&&(r.width=n),r}))));T(d,z.changeHeaderCells,t),v.close()}},G=t=>{t&&(d=t)};return{beginRender:()=>{p.beginRender(),u=h,h=!1},render:t=>{var e;u||t===j||(j=t,C=(e=t).map((t=>[...t])),O=e.map((t=>t.map((t=>Object.assign({},t))))));const n=D();return i("div",{class:Jt,ref:G},i("div",{class:Zt},i(_,Object.assign({},p.get("toggle").getFcProps({_icons:"kolicon-settings",_label:o,_hideLabel:!0,_on:{onClick:()=>v.show(!0)}})))),i(Wt,Object.assign({},v.getFcProps({label:o,variant:"card",width:"fit-content"})),i("div",{class:ie},$&&i("div",{class:se},i(M,{alert:!1,closerAriaDescriptionId:k,handleCloserClick:ae,hasCloser:!1,headingId:m,label:$,level:0,refCloserButton:ae,refCloserTooltip:ae,type:"error",variant:"msg"})),i("form",{onSubmit:F},i("div",{class:le},n.map(((t,e)=>((t,e,o)=>i("div",{key:t.key,class:ee},i(w,{_checked:!1!==t.visible,_label:x(t.hidable?"kol-table-settings-column-hidable":"kol-table-settings-column-not-hidable",{placeholders:{column:t.label}}),_value:!0,_hideLabel:!0,_disabled:!1===t.hidable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=D().map((o=>o.key===t&&!1!==o.hidable?Object.assign(Object.assign({},o),{visible:Boolean(e)}):o));L(o)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),i("span",{class:oe},t.label),i(S,{_hideLabel:!0,_value:ne(t.width),_label:x("kol-table-settings-column-width",{placeholders:{column:t.label}}),_min:1,_disabled:!1===t.resizable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=ne(Number(e)),l=D().map((e=>e.key===t&&!1!==e.resizable?Object.assign(Object.assign({},e),{width:o}):e));L(l)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),i(_,Object.assign({},p.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:x(!1===t.sortable||0===e?"kol-table-settings-not-move":"kol-table-settings-move-up",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return B(null!==(e=t.key)&&void 0!==e?e:"","up")}},_disabled:!1===t.sortable||0===e}))),i(_,Object.assign({},p.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:x(!1===t.sortable||e===o.length-1?"kol-table-settings-not-move":"kol-table-settings-move-down",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return B(null!==(e=t.key)&&void 0!==e?e:"","down")}},_disabled:!1===t.sortable||e===o.length-1})))))(t,e,n)))),i("div",{class:te},i(_,Object.assign({},p.get("cancel").getFcProps({_label:l,_variant:"secondary",_on:{onClick:()=>(O=C.map((t=>[...t])),$=null,b(),void v.close())}}))),i(_,Object.assign({},p.get("apply").getFcProps({_label:s,_variant:"primary",_type:"submit"}))))))))},sync:()=>{p.endRender(),v.syncListeners()},destroy:()=>{p.destroy(),v.destroy()}}};class ce extends a{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=c((()=>r((()=>this.host))),(t=>t.syncListeners()),(t=>t.destroy())),this.settings=re((()=>this.host),(()=>n(this))),this.linkItems=c((()=>d((()=>n(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.propsConfig=dt,this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(t,e)=>{this.emitSelectionChange(t,e)},this.handleSort=(t,e)=>{this.emitSort(t,e)},this.handleRenderCell=(t,e)=>{e&&(clearTimeout(this.cellRenderTimeouts.get(e)),this.cellRenderTimeouts.set(e,setTimeout((()=>{if(this.cellRenderTimeouts.delete(e),"function"==typeof t.render){const o=t.render(e,t,t.data,this.getRenderProp("data"));"string"==typeof o&&(e.textContent=o)}}))))},this.refScrollContainer=t=>{this.scrollContainerElement=t},this.refTable=t=>{this.tableElement=t,this.syncTableLabel(this.getState("externalLabelElements"))},this.getButtonFcProps=(t,e,o)=>this.buttonItems.get(t).getFcProps(e,o),this.renderSettings=t=>this.settings.render(t),this.getLinkFcProps=(t,e)=>this.linkItems.get(t).getFcProps(e)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.cellRenderTimeouts.forEach((t=>clearTimeout(t))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(t){it.apply(t,(t=>{this.setRenderProp("data",t),this.setState("rowKeys",((t,e)=>new Map(t.map((t=>{var o;return[t,null!==(o=e.get(t))&&void 0!==o?o:E()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){st.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){Z.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){tt.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){at.apply(t,(t=>this.setRenderProp("headers",(t=>0===t.horizontal.length?t:Object.assign(Object.assign({},t),{horizontal:t.horizontal.map((t=>t.map((t=>Object.assign(Object.assign({},t),{visible:"boolean"!=typeof t.visible||t.visible,hidable:"boolean"!=typeof t.hidable||t.hidable})))))}))(t))))}applyLabel(t){g.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}applyLoading(t){rt.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){et.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){ct.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){k.apply(t,(t=>this.setRenderProp("variant",t)))}syncTableLabel(t){this.tableElement&&"ariaLabelledByElements"in this.tableElement&&((null==t?void 0:t.length)?(this.tableElement.ariaLabelledByElements=t,this.hasExternalTableLabelRefs=!0,l.debug([this.tableElement,t,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute("aria-labelledby",Nt)))}moveCheckboxFocus(t){var e,o,l;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key)return;const i=Array.from(null!==(o=null===(e=this.scrollContainerElement)||void 0===e?void 0:e.querySelectorAll(".kol-table__selection-input--checkbox"))&&void 0!==o?o:[]),s=null===(l=this.scrollContainerElement)||void 0===l?void 0:l.querySelector(":focus");let n=i.indexOf(s);n>-1&&(t.preventDefault(),n=(n+("ArrowDown"===t.key?1:i.length-1))%i.length,i[n].focus())}applyChangedHeaderCells(t){const e=Object.assign(Object.assign({},this.getRenderProp("headers")),{horizontal:t.detail});this.setRenderProp("headers",e),this.setState("settingsChangedCounter",this.getState("settingsChangedCounter")+1);const o=this.getRenderProp("on")[W.onChangeHeaderCells];"function"==typeof o&&o(t,e)}updateScrollbarState(){if(this.scrollContainerElement){const{clientHeight:t,clientWidth:e,scrollHeight:o,scrollWidth:l}=this.scrollContainerElement;this.setState("hasScrollbar",l>e||o>t&&["auto","scroll"].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){var t,e,o,l,i,s;const[n,a]=this.getRenderProp("fixedCols"),r=this.getRenderProp("headers"),c=ut(r).cells,d=pt(r.horizontal,this.getRenderProp("data"));let h=0;for(let o=0;o<n&&o<c.length;o++)h+=null!==(e=null===(t=c[o])||void 0===t?void 0:t.width)&&void 0!==e?e:0;for(let t=d-a;t<d&&t<c.length;t++)h+=null!==(l=null===(o=c[t])||void 0===o?void 0:o.width)&&void 0!==l?l:0;if(this.getRenderProp("selection")){const t=null===(i=this.scrollContainerElement)||void 0===i?void 0:i.querySelector(".kol-table__cell--selection");h+=null!==(s=null==t?void 0:t.offsetWidth)&&void 0!==s?s:0}return h}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState("stickyColsDisabled",!1);const t=this.calculateFixedColsWidth();this.setState("stickyColsDisabled",t>0&&t>=this.scrollContainerElement.clientWidth)}emitSelectionChange(t,e){const o=this.getRenderProp("on")[W.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&T(this.host,z.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[W.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&T(this.host,z.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),i(Ut,{data:this.getRenderProp("data"),dataFoot:this.getRenderProp("dataFoot"),externalLabelElements:this.getState("externalLabelElements"),fixedCols:this.getRenderProp("fixedCols"),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState("hasScrollbar"),hasSettingsMenu:this.getRenderProp("hasSettingsMenu"),headers:this.getRenderProp("headers"),label:this.getRenderProp("label"),loading:this.getRenderProp("loading"),on:this.getRenderProp("on"),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState("rowKeys"),selection:this.getRenderProp("selection"),settingsChangedCounter:this.getState("settingsChangedCounter"),stickyColsDisabled:this.getState("stickyColsDisabled"),variant:this.getRenderProp("variant")})}}export{ce as B,st as a,it as t,J as v}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as s}from"./index-Bbr6Os1b.js";import{s as i,X as t}from"./common-BdSzSIXg.js";import{B as a}from"./base-web-component-CYPdDdRn.js";import{b as e,e as o,a as h,n as l,c as r,d as p,B as n}from"./component-CNgECeRi.js";import{F as d}from"./behavior-DlH8byIw.js";import{T as c}from"./behavior-B6y5Gofe.js";import{a as m,b as y,c as b,f as u,g as f,h as v,s as C,i as j,l as B,d as x,t as D,e as I,v as A}from"./component-DEwcJKDA.js";import{d as g}from"./disabled-B2o4Ctgy.js";import{i as K}from"./id-Bh4FF8c0.js";import"./props-from-config-BOUcpF7e.js";import{l as S}from"./label-with-expert-slot-D1tpX9DI.js";import{v as T}from"./access-and-short-key-ijzCZfHm.js";import{c as w}from"./element-interaction-sGYdEpmv.js";import{d as F,K as H}from"./events-CRHxtwup.js";import{p as E,a as P}from"./controller-CZcQ57AP.js";class L extends a{constructor(){super(...arguments),this.ctaRef=w(),this.propsConfig=e,this.tooltipBehavior=new c(this.stateAccess),this.handleClick=s=>{s.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)E({form:this.host});else if("reset"===t)P({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(i(s,this.ctaRef.el),t(s,this.formValue))}this.host&&F(this.host,H.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&F(this.host,H.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&F(this.host,H.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&F(this.host,H.blur)}}initFormAssociation(){this.formAssociation=new d(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),T(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){b.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){u.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){o.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){g.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){C.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){K.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){j.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){S.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){l.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){r.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){B.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){x.apply(s,(s=>this.setRenderProp("shortKey",s))),T(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?D.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){I.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){p.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var i;A.apply(null!==(i=null!=s?s:t("buttonVariantDefault",this.host))&&void 0!==i?i:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return s(n,Object.assign({},this.getButtonFCProps()))}}export{L as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as i}from"./index-Bbr6Os1b.js";import{B as s}from"./base-web-component-CYPdDdRn.js";import{l as t,a,c as r,d as e,b as o,L as h}from"./component-CiJGQTU0.js";import{T as n}from"./behavior-B6y5Gofe.js";import{s as l}from"./common-BdSzSIXg.js";import{a as p,b as d,c,f as m,g as y,h as f,s as b,i as u,l as C,d as x,t as g,e as j,v}from"./component-DEwcJKDA.js";import{d as A}from"./disabled-B2o4Ctgy.js";import{h as D}from"./href-CfNF4pHX.js";import"./props-from-config-BOUcpF7e.js";import{l as w}from"./label-with-expert-slot-D1tpX9DI.js";import{l as I}from"./link-target-BWPSEd9a.js";import{c as L}from"./element-interaction-sGYdEpmv.js";import{d as B,K}from"./events-CRHxtwup.js";import{o as S}from"./ariaCurrentService-YoLNpD5S.js";class T extends s{constructor(){super(...arguments),this.ctaRef=L((()=>!0===this.getRenderProp("disabled"))),this.tooltipBehavior=new n(this.stateAccess),this.propsConfig=t,this.handleAnchorClick=i=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp("disabled"))return void i.preventDefault();const s=this.getRenderProp("href"),t=this.getRenderProp("on");"function"==typeof(null==t?void 0:t.onClick)&&(l(i,this.ctaRef.el),t.onClick(i,s)),this.host&&B(this.host,K.click,s)},this.setAnchorRef=i=>{this.ctaRef(i)}}unsetLinkTabIndex(){this.unsetRenderProp("tabIndex")}initLinkBehaviors(){this.unsubscribeOnLocationChange=S((i=>{const s=this.getRenderProp("href"),t=this.getRenderProp("ariaCurrentValue"),a=i===s?t:"";this.getState("ariaCurrent")!==a&&this.setState("ariaCurrent",a)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){const i=this.getRenderProp("label");if("string"==typeof i&&i.length>0)return i;const s=this.getRenderProp("href");return"string"==typeof s?s:""}applyAccessKey(i){p.apply(i,(i=>this.setRenderProp("accessKey",i)))}applyAriaControls(i){d.apply(i,(i=>this.setRenderProp("ariaControls",i)))}applyAriaCurrentValue(i){a.apply(i,(i=>this.setRenderProp("ariaCurrentValue",i)))}applyAriaDescription(i){c.apply(i,(i=>this.setRenderProp("ariaDescription",i)))}applyAriaExpanded(i){m.apply(i,(i=>this.setRenderProp("ariaExpanded",i)))}applyAriaOwns(i){r.apply(i,(i=>this.setRenderProp("ariaOwns",i)))}applyCustomClass(i){y.apply(i,(i=>this.setRenderProp("customClass",i)))}applyDisabled(i){A.apply(i,(i=>this.setRenderProp("disabled",i)))}applyDownload(i){e.apply(i,(i=>this.setRenderProp("download",i)))}applyHideLabel(i){f.apply(i,(i=>this.setRenderProp("hideLabel",i)))}applyHref(i){D.apply(i,(i=>this.setRenderProp("href",i)),this.isRequired("href"))}applyIcons(i){b.apply(i,(i=>this.setRenderProp("icons",i)))}applyInline(i){u.apply(i,(i=>this.setRenderProp("inline",i)))}applyLabel(i){w.apply(i,(s=>{this.setRenderProp("label",s),this.setState("expertSlot",""===i),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired("label"))}applyOn(i){o.apply(i,(i=>this.setRenderProp("on",i)))}applyRole(i){C.apply(i,(i=>this.setRenderProp("role",i)))}applyShortKey(i){x.apply(i,(i=>this.setRenderProp("shortKey",i)))}applyTabIndex(i){"number"==typeof i?g.apply(i,(i=>this.setRenderProp("tabIndex",i))):this.unsetRenderProp("tabIndex")}applyTarget(i){I.apply(i,(i=>this.setRenderProp("target",i)))}applyTooltipAlign(i){j.apply(i,(i=>{this.setRenderProp("tooltipAlign",i),this.tooltipBehavior.watchAlign(i)}))}applyVariant(i){v.apply(i,(i=>this.setRenderProp("variant",i)))}renderLinkFC(){return i(h,{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaCurrent:this.getState("ariaCurrent"),ariaCurrentValue:this.getRenderProp("ariaCurrentValue"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaOwns:this.getRenderProp("ariaOwns"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),download:this.getRenderProp("download"),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp("hideLabel"),href:this.getRenderProp("href"),icons:this.getRenderProp("icons"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),on:this.getRenderProp("on"),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),target:this.getRenderProp("target"),tooltipAlign:this.getRenderProp("tooltipAlign"),variant:this.getRenderProp("variant"),expertSlot:this.getState("expertSlot")})}}export{T as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{t as o}from"./i18n-BLkzMf6D.js";import{r as e}from"./resolve-props-DAVb5BM3.js";import{h as r}from"./index-Bbr6Os1b.js";import{K as s}from"./Heading-BubZbykM.js";import{b as l}from"./bem-registry-SKACeCny.js";import{a,r as t,e as i,B as n}from"./props-from-config-BOUcpF7e.js";import{B as c}from"./component-CNgECeRi.js";import{r as m}from"./component-hiabKVP3.js";import"./common-BdSzSIXg.js";import{l as p}from"./level-BVXGgbSM.js";import{h as d}from"./has-closer-BrG00xL7.js";import{h as f}from"./href-CfNF4pHX.js";import{l as b}from"./label-lang-segment-C5LYGOHt.js";import{l as h}from"./link-target-BWPSEd9a.js";const u=a(),B={required:[b],optional:[u,d,f,p,h]};function g(r){return e({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:o("kol-close"),_tooltipAlign:"top"},r)}const j=l.forBlock("kol-card"),C=j("close-button"),k=j("content"),v=j("header"),I=j("link"),D=l.forBlock("kol-close-button")(),F=()=>{},M=({headingId:o,label:e,level:l})=>r(s,{class:v,id:o,level:l},m(e)),S=(o,e)=>{const{ariaDescriptionId:s,class:l,closeButtonProps:a,handleBlur:m,handleClose:p,handleFocus:d,hasCloser:f,headingId:b,href:h,label:u,level:g,refCloseButton:j,refCta:v,refTooltip:S,target:y}=t(B,o);return r(n,{component:"article","aria-labelledby":b,block:"kol-card",class:l},h.length>0?r("a",{class:I,href:h,target:y||void 0,onBlur:m,onFocus:d,ref:v},r(M,{headingId:b,label:u,level:g})):r(M,{headingId:b,label:u,level:g}),r("div",{class:k},e),f&&r("div",{class:i(C,D)},r(c,Object.assign({},a,{ariaDescriptionId:s,handleBlur:F,handleClick:p,handleFocus:F,handleMouseDown:F,refButton:j,refTooltip:S}))))};export{S as C,u as a,B as c,g as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,b as r,i as t}from"./props-from-config-BOUcpF7e.js";import{h as s}from"./index-Bbr6Os1b.js";import{b as e}from"./bem-registry-SKACeCny.js";import{S as i}from"./component-hiabKVP3.js";const a=["left","right","top","bottom"];function n(s,e){return o(s,e,(o=>{const e=r(o);if(t(e,a))return e;throw new Error(`Invalid ${s} value: ${e}`)}))}const l=e.forBlock("kol-tooltip"),c=({label:o,badgeText:r,id:t,refFloating:e})=>s("div",{class:l("floating"),hidden:!o,ref:e},s("div",{class:l("arrow")}),s(i,{class:l("content"),badgeText:r,id:t,label:o}));export{c as T,n as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-Bbr6Os1b.js";import{b as r}from"./bem-registry-SKACeCny.js";import{B as s}from"./props-from-config-BOUcpF7e.js";import{B as l}from"./component-CNgECeRi.js";import{S as a}from"./component-hiabKVP3.js";const e=r.forBlock("kol-badge"),t=e("label"),n=e("smart-button"),i=({color:r,icons:e,label:i,smartButton:m})=>o(s,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==m},style:{backgroundColor:r.backgroundColor,color:r.foregroundColor}},o(a,{class:t,id:null==m?void 0:m.labelId,allowMarkdown:!0,icons:e,label:i}),m&&o(l,Object.assign({},m.resolvedButton,{class:n,ariaDescriptionId:m.ariaDescriptionId,handleBlur:m.handleBlur,handleClick:m.handleClick,handleFocus:m.handleFocus,handleMouseDown:m.handleMouseDown,refButton:m.refSmartButton,refTooltip:m.refTooltip})),o("br",null));export{i as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a}from"./tslib.es6-QNbPBOk5.js";import{h as e}from"./index-Bbr6Os1b.js";import"./common-BdSzSIXg.js";import{c as o,i as s,x as i,a as t,b as r,r as n,t as l,e as d,B as c}from"./props-from-config-BOUcpF7e.js";import{a as p,b,c as m,f as u,g as f,h,i as v,l as x,d as y,s as B,t as j,e as g,v as D,A as C,j as I}from"./component-DEwcJKDA.js";import{b as w}from"./bem-registry-SKACeCny.js";import{S as K}from"./component-hiabKVP3.js";import{T as k}from"./component-B8UMedaK.js";import{d as S}from"./disabled-B2o4Ctgy.js";import{i as F}from"./id-Bh4FF8c0.js";import{l as E}from"./label-with-expert-slot-D1tpX9DI.js";const O=["dialog","false","grid","listbox","menu","tree","true"],P=o("ariaHasPopup","",(function(a){if(""===a)return"";if(s(a,O))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${O.join(", ")}, got ${JSON.stringify(a)}`)})),T=o("ariaSelected","",(function(a){return i(a,"aria-selected")})),A=t(),M=["button","reset","submit"],H=o("type","button",(function(a){const e=r(a);if(s(e,M))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>M.includes(a))),L=o("name","",r),$={required:[E],optional:[p,b,m,u,P,T,A,H,f,S,h,F,v,x,L,y,B,j,g,D]},J=w.forBlock("kol-button"),N=J("interactive-element"),U=J("text"),X=J("tooltip"),q=o=>{const s=n($,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:p,ariaExpanded:b,ariaHasPopup:m,ariaSelected:u,class:f,customClass:h,disabled:v,handleBlur:x,handleClick:y,handleFocus:B,handleMouseDown:j,hideLabel:g,icons:D,id:w,inline:S,label:F,name:E,refButton:O,refTooltip:P,role:T,shortKey:A,tabIndex:M,type:H,variant:L}=s,J=a(s,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),q=i||A,z=l(F).length>0,Q=r.trim().length>0;return e(c,Object.assign({block:"kol-button",class:d(f,{[I(L,"button")]:L.length>0,[h]:h.length>0}),modifiers:{disabled:v,"hide-label":g,inline:!0===S,standalone:!1===S}},J),e("button",{ref:O,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":Q?p:void 0,"aria-expanded":b||void 0,"aria-haspopup":m||void 0,"aria-keyshortcuts":A||void 0,"aria-label":g&&z?l(F):void 0,"aria-selected":u||void 0,class:N,disabled:v,id:w||void 0,name:E||void 0,onBlur:x,onClick:y,onFocus:B,onMouseDown:j,role:T||void 0,tabIndex:M,type:H},e(K,{class:U,badgeText:q,icons:D,hideLabel:g,label:F},e("slot",{name:"expert",slot:"expert"}))),g&&z&&e("div",{class:X},e(k,{badgeText:q,label:F,refFloating:P})),Q&&e(C,{description:r,descriptionId:p}))};export{q as B,T as a,$ as b,A as c,H as d,P as e,L as n}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as a}from"./index-Bbr6Os1b.js";import{t as e}from"./i18n-BLkzMf6D.js";import{e as o}from"./common-BdSzSIXg.js";import{c as s,b as i,a as r,r as t,t as n,e as l,B as d}from"./props-from-config-BOUcpF7e.js";import{a as c,b as p,c as m,f,g as b,h as v,s as k,i as g,l as h,d as j,t as x,e as u,v as y,A as w,j as C}from"./component-DEwcJKDA.js";import{b as I}from"./bem-registry-SKACeCny.js";import{p as B}from"./element-interaction-sGYdEpmv.js";import{I as D}from"./component-bIIx1x7q.js";import{S as K}from"./component-hiabKVP3.js";import{T as A}from"./component-B8UMedaK.js";import{d as S}from"./disabled-B2o4Ctgy.js";import{h as _}from"./href-CfNF4pHX.js";import{l as L}from"./label-with-expert-slot-D1tpX9DI.js";import{l as O}from"./link-target-BWPSEd9a.js";const E=["date","location","page","step","time","true","false"],T=s("ariaCurrentValue","page",(function(a){const e=i(a);return E.includes(e)?e:"page"})),F=s("ariaOwns","",i),M=s("download",void 0,i),X=r(),$={required:[_],optional:[c,p,T,m,f,F,b,S,M,v,k,g,L,X,h,O,j,x,u,y]},q=I.forBlock("kol-link"),z=(s,i)=>{const{accessKey:r,ariaControls:c,ariaCurrent:p,ariaDescription:m,ariaDescriptionId:f,ariaExpanded:b,ariaOwns:v,class:k,customClass:g,disabled:h,download:j,handleAnchorClick:x,hideLabel:u,href:y,icons:I,inline:S,label:_,on:L,ref:O,refAnchor:E,refTooltip:T,role:F,shortKey:M,tabIndex:X,target:z,variant:P,expertSlot:U}=t($,s),V=e("kol-open-link-in-tab"),G="string"==typeof z&&z.length>0&&"_self"!==z,H={href:"string"==typeof y&&y.length>0?y:"javascript:void(0);",target:"string"==typeof z&&z.length>0?z:void 0,rel:G?"noopener":void 0,download:"string"==typeof j?j:void 0};!0===u&&""===n(_)&&o("[KolLink] An aria-label must be set when _hide-label is set.");const J=null==m?void 0:m.trim(),N=F||void 0;return a(d,{block:"kol-link",ref:O,class:l(k,{[g]:P.includes("custom")&&g.length>0,[C(P,"link")]:P.length>0}),modifiers:{disabled:!0===h,"external-link":G,"hide-label":!0===u,inline:!0===S,standalone:!1===S}},a("a",Object.assign({ref:E},H,{href:H.href,accessKey:r||void 0,"aria-current":p||void 0,"aria-controls":c||void 0,"aria-describedby":J?f:void 0,"aria-disabled":h?"true":void 0,"aria-expanded":""===b?void 0:b,"aria-owns":v||void 0,"aria-label":u&&""!==n(_)?`${n(_)}${G?` (${V})`:""}`:void 0,"aria-keyshortcuts":M||void 0,class:q("interactive-element")},L,{onClick:x,onMouseDown:h?B:void 0,role:N,tabIndex:h?-1:X}),a(K,{class:"kol-link__text",badgeText:r||M,icons:I,hideLabel:u,label:U?"":_||y},i.length>0?i:a("slot",{name:"expert",slot:"expert"})),G&&a(D,{class:"kol-link__icon",label:u?"":V,icons:"kolicon-link-external","aria-hidden":u})),!0===u&&!U&&a("div",{class:q("tooltip")},a(A,{badgeText:r||M||"",label:""!==n(_)?_:"string"==typeof y?y:"",refFloating:T})),J&&a(w,{description:J,descriptionId:f}))};export{z as L,T as a,X as b,F as c,M as d,$ as l}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{n as r}from"./common-BdSzSIXg.js";import{c as t,b as e,x as n,n as o,i as a,y as s,q as i}from"./props-from-config-BOUcpF7e.js";import{a as f}from"./validators-BgDmq-Qt.js";import{c}from"./component-B8UMedaK.js";import{h as p}from"./index-Bbr6Os1b.js";const u=(r,t)=>{let e="";return Array.isArray(r)&&r.forEach((r=>{e+="kol-"+t+"--"+r+" "})),e},l=t("accessKey","",e),d=t("ariaControls","",e),m=t("ariaDescription","",e),y=t("ariaExpanded","",(function(r){return n(r,"aria-expanded")})),b=t("customClass","",e,(function(r){return""===r||f(r)})),g=t("hideLabel",!1,o),h=t("inline",!0,o),v=["tab","treeitem"],j=t("role","",(function(r){if(""===r)return"";if(a(r,v))return r;throw new Error(`Invalid role: expected one of ${v.join(", ")}, got ${JSON.stringify(r)}`)})),x=t("shortKey","",e),I=t("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return s(r);if("string"==typeof r)return e(r);if("object"==typeof r)return s(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),B=t("tabIndex",0,i,void 0,{hints:(t,e)=>{"number"==typeof e&&e>0&&r(`Positive tabIndex values ("${e}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),w=c("tooltipAlign","right"),A=t("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),O=({description:r,descriptionId:t})=>r?p("span",{class:"visually-hidden",id:t},r):null;export{O as A,l as a,d as b,m as c,x as d,w as e,y as f,b as g,g as h,h as i,u as j,j as l,I as s,B as t,A as v}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as e,F as l}from"./index-Bbr6Os1b.js";import{g as a}from"./Heading-BubZbykM.js";import{t as r}from"./i18n-BLkzMf6D.js";import"./common-BdSzSIXg.js";import{e as s,t as i,B as n}from"./props-from-config-BOUcpF7e.js";import{b as t}from"./bem-registry-SKACeCny.js";import{B as c}from"./component-CNgECeRi.js";import{r as d}from"./component-hiabKVP3.js";import{I as p}from"./component-bIIx1x7q.js";const m=t.forBlock("kol-alert")("icon"),b={error:{label:r("kol-error"),icon:"kolicon-alert-error"},info:{label:r("kol-info"),icon:"kolicon-alert-info"},warning:{label:r("kol-warning"),icon:"kolicon-alert-warning"},success:{label:r("kol-success"),icon:"kolicon-alert-success"},default:{label:r("kol-message"),icon:"kolicon-alert-info"}},f=({type:o="default"})=>{const a=b[o||"default"];return e(l,null,e("span",{class:"visually-hidden"},a.label),e(p,{class:m,label:"",icons:a.icon}))},k=t.forBlock("kol-alert"),u=k("closer"),h=k("content"),C=t.forBlock("kol-close-button")(),g=void 0,v=(l,t)=>{const{alert:p,class:m,closerAriaDescriptionId:b,handleCloserClick:v,hasCloser:y,headingId:B,label:j,level:I,refCloserButton:x,refCloserTooltip:D,type:A,variant:w}=l,K=o(l,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),O=r("kol-close-alert"),S=a(null!=I?I:0);return e(n,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===y,[`type-${A}`]:!0,[`variant-${w}`]:!0},role:p?"alert":void 0},K),e(f,{type:A}),!!(null==j?void 0:j.length)&&e(S,{class:s("kol-headline",`kol-headline--${S}`,k("heading",{[`h${I}`]:!0}),"kol-headline--single"),id:B},d(j)),y&&e(c,{accessKey:"",ariaControls:"",ariaDescription:i(j),ariaDescriptionId:b,ariaExpanded:g,ariaHasPopup:"",ariaSelected:g,class:s(u,C),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:v,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:O,name:"",on:{},refButton:x,refTooltip:D,role:g,shortKey:"",tabIndex:g,tooltipAlign:"top",type:"button",variant:["normal"]}),e("div",{"aria-describedby":(null==j?void 0:j.length)?B:void 0,class:h},t))};export{v as A}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-Bbr6Os1b.js";import{b as i}from"./bem-registry-SKACeCny.js";import{e as r,B as e}from"./props-from-config-BOUcpF7e.js";const a=i.forBlock("kol-icon")("icon"),n=i=>{var{class:n,icons:l,label:c}=i,t=o(i,["class","icons","label"]);const m=(null==c?void 0:c.length)>0;return s(e,Object.assign({component:"i"},t,{"aria-hidden":m?void 0:"true","aria-label":m?c:void 0,block:"kol-icon",class:r(a,l,n),role:m?"img":"presentation"}))};export{n as I}