@public-ui/components 4.6.0-rc.1 → 4.6.0-rc.3

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 (693) 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 +3 -3
  7. package/dist/cjs/{Heading-DpKpW9_U.js → Heading-DqZXie2T.js} +1 -1
  8. package/dist/cjs/{api-DSnFV5pX.js → api-Cc1hT-oO.js} +25 -24
  9. package/dist/cjs/{app-globals-DWk29tH4.js → app-globals-DtXiFJRj.js} +3 -3
  10. package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-By2dgbCn.js} +0 -13
  11. package/dist/cjs/{base-uTtcb6OV.js → base-B-wbGF-X.js} +30 -36
  12. package/dist/cjs/{base-DB-5MCfF.js → base-BKsPSdXS.js} +12 -12
  13. package/dist/cjs/{base-Cdk10fDz.js → base-BjiXfuju.js} +10 -10
  14. package/dist/cjs/{base-B1L6tTOu.js → base-CoMrpiHg.js} +11 -11
  15. package/dist/cjs/{base-web-component-BdHm5Oq9.js → base-web-component-BXtl3Nmq.js} +10 -10
  16. package/dist/cjs/{base-web-component-CyF5QpIH.js → base-web-component-DApRK7Vs.js} +15 -15
  17. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DXCN-Sp3.js} +1 -1
  18. package/dist/cjs/{behavior-D5F_9gEC.js → behavior-DIv2ciyM.js} +5 -5
  19. package/dist/cjs/{behavior-C3w_8ifK.js → behavior-DtHCmCCv.js} +5 -5
  20. package/dist/cjs/{behavior-BnUihLzw.js → behavior-GG5TOrTV.js} +6 -13
  21. package/dist/cjs/{bem-registry-ZJZujhCi.js → bem-registry-h_moyLBn.js} +40 -1
  22. package/dist/cjs/{block-bem-CMvCkLkl.js → block-bem-BVBM34Tu.js} +1 -1
  23. package/dist/cjs/{bootstrap-C4lWLUW9.js → bootstrap-HU5YhM_w.js} +2 -2
  24. package/dist/cjs/{color-BW4t1Cif.js → color-C3xsA3Uk.js} +3 -3
  25. package/dist/cjs/{common-C-hcIfzh.js → common-CzGJx0nT.js} +31 -30
  26. package/dist/cjs/{component-BXz1XtoE.js → component-BE_fK-Xu.js} +15 -15
  27. package/dist/cjs/{component-DsWMXDya.js → component-BOI4FdZE.js} +7 -7
  28. package/dist/cjs/{component-CWEYNtAH.js → component-C9B-yJ93.js} +5 -5
  29. package/dist/cjs/{component-C46QQbMS.js → component-CNNGo5gU.js} +11 -11
  30. package/dist/cjs/{component-_p4OHWcc.js → component-CVLJJvvd.js} +14 -14
  31. package/dist/cjs/{component-CrW05zUq.js → component-Cnc2NyzE.js} +5 -5
  32. package/dist/cjs/{component-N-3XFtFS.js → component-CsnTf_45.js} +8 -8
  33. package/dist/cjs/{component-DfChjUi8.js → component-CxwSVBBv.js} +10 -10
  34. package/dist/cjs/{component-B2l8N5t_.js → component-D0uxhuF3.js} +4 -4
  35. package/dist/cjs/{component-BE_gS80r.js → component-DNQW0lG8.js} +2 -2
  36. package/dist/cjs/{component-eYoUHQ64.js → component-DfGgpwuP.js} +2 -2
  37. package/dist/cjs/{component-BwrQID5A.js → component-DlyhBQIa.js} +4 -4
  38. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-6Nku3lih.js} +2 -2
  39. package/dist/cjs/{controller-DcinOUmN.js → controller-D66Eq44x.js} +1 -1
  40. package/dist/cjs/{dev.utils-Bxq7b-n1.js → dev.utils-DTQy7QrG.js} +2 -2
  41. package/dist/cjs/{devtools-BLvPSoCH.js → devtools-BAChPN0l.js} +3 -3
  42. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CilmJ-p-.js} +1 -1
  43. package/dist/cjs/{field-control-D9t3USqP.js → field-control-Bxj6Xuu8.js} +8 -8
  44. package/dist/cjs/{group-CFBPF3hG.js → group-BUdQbdkp.js} +7 -7
  45. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-iSIrv52u.js} +1 -1
  46. package/dist/cjs/{href-BBhiVyPb.js → href-xojo1zy_.js} +1 -1
  47. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-D7UmRsV8.js} +2 -2
  48. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DgHI4-xa.js} +2 -0
  49. package/dist/cjs/{id-D1VZsLkg.js → id-DP-w6i4q.js} +1 -1
  50. package/dist/cjs/{index-CNhjOFBg.js → index-BaB_2Z5W.js} +23 -12
  51. package/dist/cjs/index.cjs.js +4 -4
  52. package/dist/cjs/{input-C3F73RZW.js → input-CtqTozTO.js} +5 -5
  53. package/dist/cjs/{input-container-B5-_NcRy.js → input-container-BcwbGU2R.js} +8 -8
  54. package/dist/cjs/{item-nAB1wPvv.js → item-BLrLbhAD.js} +12 -12
  55. package/dist/cjs/{item-dlea1NHr.js → item-BXt0-A5j.js} +30 -15
  56. package/dist/cjs/{item-CfCrfeQL.js → item-BYKMN41a.js} +5 -5
  57. package/dist/cjs/{item-DvddzW3M.js → item-DJ-XUS77.js} +6 -6
  58. package/dist/cjs/kol-abbr.cjs.entry.js +13 -12
  59. package/dist/cjs/kol-accordion.cjs.entry.js +21 -20
  60. package/dist/cjs/kol-alert.cjs.entry.js +32 -30
  61. package/dist/cjs/kol-avatar.cjs.entry.js +17 -16
  62. package/dist/cjs/kol-badge.cjs.entry.js +30 -29
  63. package/dist/cjs/kol-breadcrumb.cjs.entry.js +32 -31
  64. package/dist/cjs/kol-button-link.cjs.entry.js +29 -28
  65. package/dist/cjs/kol-button.cjs.entry.js +29 -28
  66. package/dist/cjs/kol-card.cjs.entry.js +34 -33
  67. package/dist/cjs/kol-combobox.cjs.entry.js +47 -46
  68. package/dist/cjs/kol-details.cjs.entry.js +21 -20
  69. package/dist/cjs/kol-dialog.cjs.entry.js +37 -36
  70. package/dist/cjs/kol-drawer.cjs.entry.js +36 -35
  71. package/dist/cjs/kol-form.cjs.entry.js +30 -29
  72. package/dist/cjs/kol-heading.cjs.entry.js +15 -14
  73. package/dist/cjs/kol-icon.cjs.entry.js +20 -16
  74. package/dist/cjs/kol-image.cjs.entry.js +10 -9
  75. package/dist/cjs/kol-input-checkbox.cjs.entry.js +54 -52
  76. package/dist/cjs/kol-input-color.cjs.entry.js +47 -45
  77. package/dist/cjs/kol-input-date.cjs.entry.js +49 -47
  78. package/dist/cjs/kol-input-email.cjs.entry.js +51 -49
  79. package/dist/cjs/kol-input-file.cjs.entry.js +46 -44
  80. package/dist/cjs/kol-input-number.cjs.entry.js +52 -50
  81. package/dist/cjs/kol-input-password.cjs.entry.js +50 -48
  82. package/dist/cjs/kol-input-radio.cjs.entry.js +42 -41
  83. package/dist/cjs/kol-input-range.cjs.entry.js +45 -44
  84. package/dist/cjs/kol-input-text.cjs.entry.js +51 -49
  85. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -12
  86. package/dist/cjs/kol-link-button.cjs.entry.js +30 -29
  87. package/dist/cjs/kol-link.cjs.entry.js +30 -29
  88. package/dist/cjs/kol-meter.cjs.entry.js +20 -22
  89. package/dist/cjs/kol-modal.cjs.entry.js +37 -36
  90. package/dist/cjs/kol-nav.cjs.entry.js +38 -37
  91. package/dist/cjs/kol-pagination.cjs.entry.js +46 -45
  92. package/dist/cjs/kol-popover-button.cjs.entry.js +30 -29
  93. package/dist/cjs/kol-progress.cjs.entry.js +21 -17
  94. package/dist/cjs/kol-quote.cjs.entry.js +12 -11
  95. package/dist/cjs/kol-select.cjs.entry.js +42 -41
  96. package/dist/cjs/kol-single-select.cjs.entry.js +54 -48
  97. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -31
  98. package/dist/cjs/kol-spin.cjs.entry.js +17 -16
  99. package/dist/cjs/kol-split-button.cjs.entry.js +33 -32
  100. package/dist/cjs/kol-table-stateful.cjs.entry.js +59 -59
  101. package/dist/cjs/kol-table-stateless.cjs.entry.js +47 -47
  102. package/dist/cjs/kol-tabs.cjs.entry.js +36 -38
  103. package/dist/cjs/kol-textarea.cjs.entry.js +49 -46
  104. package/dist/cjs/kol-toast-container.cjs.entry.js +25 -24
  105. package/dist/cjs/kol-toolbar.cjs.entry.js +35 -34
  106. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +15 -14
  107. package/dist/cjs/kol-tree-item.cjs.entry.js +32 -28
  108. package/dist/cjs/kol-tree.cjs.entry.js +26 -14
  109. package/dist/cjs/kol-version.cjs.entry.js +27 -26
  110. package/dist/cjs/kolibri.cjs.js +4 -4
  111. package/dist/cjs/{label-vVOiX4dC.js → label-D6c6jfqK.js} +3 -3
  112. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-q3XenWLW.js} +2 -2
  113. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-k4OY9qRY.js} +2 -2
  114. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-CJoz7BLw.js} +3 -3
  115. package/dist/cjs/{level-BAiEYu4U.js → level-B6vFMm9s.js} +1 -1
  116. package/dist/cjs/{link-target-4AzB3I84.js → link-target-0qSVsAb2.js} +1 -1
  117. package/dist/cjs/{links-CPNK7VZo.js → links-Ur1e9DOK.js} +2 -2
  118. package/dist/cjs/loader.cjs.js +3 -3
  119. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-CCxtzqez.js} +1 -1
  120. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-DzAHCwlP.js} +1 -1
  121. package/dist/cjs/{open-CvoX_qxD.js → open-Gxr_K7HK.js} +1 -1
  122. package/dist/cjs/{options-B2pQC9w2.js → options-BT0m0gRT.js} +2 -2
  123. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-CeHU4dT8.js} +1 -1
  124. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-22xUUFff.js} +1 -1
  125. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-D1qhXS9j.js} +1 -1
  126. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-iHApMQEg.js} +1 -1
  127. package/dist/cjs/{required-CdXn16dq.js → required-BYdSI25I.js} +1 -1
  128. package/dist/cjs/{resolve-props-BUSerQcI.js → resolve-props-B7klWjLx.js} +8 -8
  129. package/dist/cjs/{resolve-props-ClWlRbhz.js → resolve-props-c-uwDulF.js} +7 -7
  130. package/dist/cjs/{rows-Ca5ya9tG.js → rows-C9vBSQK1.js} +1 -1
  131. package/dist/cjs/{scroll-lock-CSW_wA0P.js → scroll-lock-daUQqmx_.js} +2 -2
  132. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DRMmUyQ5.js} +2 -2
  133. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CxgvHcGA.js} +1 -1
  134. package/dist/cjs/{src-C3NG0rLO.js → src-Bmd7gQCS.js} +1 -1
  135. package/dist/cjs/{step-CZNyTb2h.js → step-CCqgsPCX.js} +1 -1
  136. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-CoUp7HmN.js} +2 -2
  137. package/dist/cjs/{suggestions-CIGYxDps.js → suggestions-D3snLGL_.js} +3 -3
  138. package/dist/cjs/test-component.cjs.entry.js +4 -3
  139. package/dist/cjs/{toggle-handler-Cy5RcTS_.js → toggle-handler-B0xib7fH.js} +10 -10
  140. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CgxOyb6V.js} +2 -2
  141. package/dist/cjs/{unit-bsoemclF.js → unit-_oDj-vIB.js} +1 -1
  142. package/dist/cjs/{validators-DuLdbf2D.js → validators-CpCJvM4r.js} +3 -1
  143. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-CKppMGVM.js} +1 -1
  144. package/dist/cjs/{width-BklaRCqt.js → width-e7f3wHF3.js} +1 -1
  145. package/dist/collection/collection-manifest.json +1 -1
  146. package/dist/collection/components/abbr/component.js +2 -2
  147. package/dist/collection/components/accordion/component.js +2 -2
  148. package/dist/collection/components/accordion/style.css +2 -2
  149. package/dist/collection/components/alert/component.js +4 -3
  150. package/dist/collection/components/alert/style.css +2 -2
  151. package/dist/collection/components/avatar/component.js +2 -2
  152. package/dist/collection/components/badge/component.js +2 -2
  153. package/dist/collection/components/badge/style.css +2 -2
  154. package/dist/collection/components/breadcrumb/component.js +2 -2
  155. package/dist/collection/components/breadcrumb/style.css +2 -2
  156. package/dist/collection/components/button/component.js +1 -1
  157. package/dist/collection/components/button/style.css +2 -2
  158. package/dist/collection/components/button-link/component.js +1 -1
  159. package/dist/collection/components/button-link/style.css +2 -2
  160. package/dist/collection/components/card/component.js +2 -2
  161. package/dist/collection/components/card/style.css +5 -2
  162. package/dist/collection/components/combobox/component.js +4 -4
  163. package/dist/collection/components/combobox/style.css +2 -2
  164. package/dist/collection/components/details/component.js +2 -2
  165. package/dist/collection/components/details/style.css +2 -2
  166. package/dist/collection/components/dialog/component.js +2 -2
  167. package/dist/collection/components/dialog/style.css +5 -2
  168. package/dist/collection/components/drawer/component.js +2 -2
  169. package/dist/collection/components/drawer/style.css +5 -2
  170. package/dist/collection/components/form/component.js +2 -2
  171. package/dist/collection/components/form/style.css +2 -2
  172. package/dist/collection/components/heading/component.js +2 -2
  173. package/dist/collection/components/icon/component.js +5 -5
  174. package/dist/collection/components/icon/style.css +2 -2
  175. package/dist/collection/components/image/component.js +2 -2
  176. package/dist/collection/components/input-checkbox/component.js +13 -11
  177. package/dist/collection/components/input-checkbox/style.css +2 -2
  178. package/dist/collection/components/input-color/component.js +6 -4
  179. package/dist/collection/components/input-color/style.css +2 -2
  180. package/dist/collection/components/input-date/component.js +5 -3
  181. package/dist/collection/components/input-date/style.css +2 -2
  182. package/dist/collection/components/input-email/component.js +4 -1
  183. package/dist/collection/components/input-email/style.css +2 -2
  184. package/dist/collection/components/input-file/component.js +6 -3
  185. package/dist/collection/components/input-file/style.css +2 -2
  186. package/dist/collection/components/input-number/component.js +6 -4
  187. package/dist/collection/components/input-number/style.css +2 -2
  188. package/dist/collection/components/input-password/component.js +5 -2
  189. package/dist/collection/components/input-password/style.css +2 -2
  190. package/dist/collection/components/input-radio/component.js +1 -1
  191. package/dist/collection/components/input-radio/style.css +2 -2
  192. package/dist/collection/components/input-range/component.js +2 -2
  193. package/dist/collection/components/input-range/style.css +2 -2
  194. package/dist/collection/components/input-text/component.js +4 -2
  195. package/dist/collection/components/input-text/style.css +2 -2
  196. package/dist/collection/components/kolibri/component.js +2 -2
  197. package/dist/collection/components/link/component.js +2 -2
  198. package/dist/collection/components/link/style.css +2 -2
  199. package/dist/collection/components/link-button/component.js +2 -2
  200. package/dist/collection/components/link-button/style.css +2 -2
  201. package/dist/collection/components/meter/component.js +2 -2
  202. package/dist/collection/components/modal/component.js +2 -2
  203. package/dist/collection/components/modal/style.css +5 -2
  204. package/dist/collection/components/nav/component.js +2 -2
  205. package/dist/collection/components/nav/style.css +2 -2
  206. package/dist/collection/components/pagination/component.js +2 -2
  207. package/dist/collection/components/pagination/style.css +2 -2
  208. package/dist/collection/components/popover-button/component.js +1 -1
  209. package/dist/collection/components/popover-button/style.css +2 -2
  210. package/dist/collection/components/progress/component.js +6 -3
  211. package/dist/collection/components/quote/component.js +2 -2
  212. package/dist/collection/components/select/component.js +1 -1
  213. package/dist/collection/components/select/style.css +2 -2
  214. package/dist/collection/components/single-select/component.js +10 -6
  215. package/dist/collection/components/single-select/style.css +2 -2
  216. package/dist/collection/components/skip-nav/component.js +2 -2
  217. package/dist/collection/components/skip-nav/style.css +2 -2
  218. package/dist/collection/components/spin/component.js +2 -2
  219. package/dist/collection/components/split-button/component.js +1 -1
  220. package/dist/collection/components/split-button/style.css +2 -2
  221. package/dist/collection/components/table-stateful/component.js +4 -6
  222. package/dist/collection/components/table-stateful/style.css +5 -2
  223. package/dist/collection/components/table-stateless/base.js +3 -0
  224. package/dist/collection/components/table-stateless/component.js +4 -6
  225. package/dist/collection/components/table-stateless/style.css +5 -2
  226. package/dist/collection/components/tabs/component.js +2 -11
  227. package/dist/collection/components/tabs/style.css +2 -2
  228. package/dist/collection/components/textarea/component.js +5 -3
  229. package/dist/collection/components/textarea/style.css +2 -2
  230. package/dist/collection/components/toaster/shadow.js +1 -1
  231. package/dist/collection/components/toaster/style.css +2 -2
  232. package/dist/collection/components/toolbar/component.js +2 -2
  233. package/dist/collection/components/toolbar/style.css +2 -2
  234. package/dist/collection/components/tooltip/component.js +1 -1
  235. package/dist/collection/components/tree/component.js +16 -5
  236. package/dist/collection/components/tree-item/component.js +6 -3
  237. package/dist/collection/components/tree-item/style.css +2 -2
  238. package/dist/collection/components/version/component.js +2 -2
  239. package/dist/collection/components/version/style.css +2 -2
  240. package/dist/collection/internal/functional-components/form-association/api.js +2 -2
  241. package/dist/collection/internal/functional-components/form-association/behavior.js +1 -5
  242. package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
  243. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  244. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  245. package/dist/collection/internal/functional-components/link/component.js +1 -1
  246. package/dist/collection/internal/functional-components/meter/component.js +3 -6
  247. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  248. package/dist/collection/internal/functional-components/pagination/item.js +15 -0
  249. package/dist/collection/internal/functional-components/progress/component.js +1 -1
  250. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  251. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  252. package/dist/collection/internal/props/helpers/validators.js +1 -0
  253. package/dist/collection/internal/props/index.js +1 -0
  254. package/dist/collection/internal/props/label-decorative.js +10 -0
  255. package/dist/collection/locales/de.js +1 -0
  256. package/dist/collection/locales/en.js +1 -0
  257. package/dist/collection/schema/bem-registry.js +39 -0
  258. package/dist/collection/schema/i18n-keys.js +29 -28
  259. package/dist/collection/schema/props/aria-details.js +1 -22
  260. package/dist/collection/schema/props/aria-labelledby.js +3 -12
  261. package/dist/collection/utils/aria-labelledby.js +0 -12
  262. package/dist/components/aria-labelledby.js +1 -1
  263. package/dist/components/base-web-component2.js +1 -1
  264. package/dist/components/base4.js +1 -1
  265. package/dist/components/behavior3.js +1 -1
  266. package/dist/components/bem-registry.js +1 -1
  267. package/dist/components/component3.js +1 -1
  268. package/dist/components/component6.js +1 -1
  269. package/dist/components/group.js +1 -1
  270. package/dist/components/i18n2.js +1 -1
  271. package/dist/components/item4.js +1 -1
  272. package/dist/components/kol-abbr.js +1 -1
  273. package/dist/components/kol-accordion.js +1 -1
  274. package/dist/components/kol-alert.js +1 -1
  275. package/dist/components/kol-avatar.js +1 -1
  276. package/dist/components/kol-badge.js +1 -1
  277. package/dist/components/kol-breadcrumb.js +1 -1
  278. package/dist/components/kol-button-link.js +1 -1
  279. package/dist/components/kol-button.js +1 -1
  280. package/dist/components/kol-card.js +1 -1
  281. package/dist/components/kol-combobox.js +1 -1
  282. package/dist/components/kol-details.js +1 -1
  283. package/dist/components/kol-dialog.js +1 -1
  284. package/dist/components/kol-drawer.js +1 -1
  285. package/dist/components/kol-form.js +1 -1
  286. package/dist/components/kol-heading.js +1 -1
  287. package/dist/components/kol-icon.js +1 -1
  288. package/dist/components/kol-image.js +1 -1
  289. package/dist/components/kol-input-checkbox.js +1 -1
  290. package/dist/components/kol-input-color.js +1 -1
  291. package/dist/components/kol-input-date.js +1 -1
  292. package/dist/components/kol-input-email.js +1 -1
  293. package/dist/components/kol-input-file.js +1 -1
  294. package/dist/components/kol-input-number.js +1 -1
  295. package/dist/components/kol-input-password.js +1 -1
  296. package/dist/components/kol-input-radio.js +1 -1
  297. package/dist/components/kol-input-range.js +1 -1
  298. package/dist/components/kol-input-text.js +1 -1
  299. package/dist/components/kol-kolibri.js +1 -1
  300. package/dist/components/kol-link-button.js +1 -1
  301. package/dist/components/kol-link.js +1 -1
  302. package/dist/components/kol-meter.js +1 -1
  303. package/dist/components/kol-modal.js +1 -1
  304. package/dist/components/kol-nav.js +1 -1
  305. package/dist/components/kol-pagination.js +1 -1
  306. package/dist/components/kol-popover-button.js +1 -1
  307. package/dist/components/kol-progress.js +1 -1
  308. package/dist/components/kol-quote.js +1 -1
  309. package/dist/components/kol-select.js +1 -1
  310. package/dist/components/kol-single-select.js +1 -1
  311. package/dist/components/kol-skip-nav.js +1 -1
  312. package/dist/components/kol-spin.js +1 -1
  313. package/dist/components/kol-split-button.js +1 -1
  314. package/dist/components/kol-table-stateful.js +1 -1
  315. package/dist/components/kol-table-stateless.js +1 -1
  316. package/dist/components/kol-tabs.js +1 -1
  317. package/dist/components/kol-textarea.js +1 -1
  318. package/dist/components/kol-toast-container.js +1 -1
  319. package/dist/components/kol-toolbar.js +1 -1
  320. package/dist/components/kol-tooltip-wc.js +1 -1
  321. package/dist/components/kol-tree-item.js +1 -1
  322. package/dist/components/kol-tree.js +1 -1
  323. package/dist/components/kol-version.js +1 -1
  324. package/dist/components/label-with-expert-slot.js +1 -1
  325. package/dist/components/label.js +1 -1
  326. package/dist/components/validators.js +1 -1
  327. package/dist/esm/{Heading-wrhAEuG3.js → Heading-GZb1f2pZ.js} +1 -1
  328. package/dist/esm/{api-7B_iI89k.js → api-CBPlj155.js} +23 -22
  329. package/dist/esm/{app-globals-tRqgHq3P.js → app-globals-DRl9A82c.js} +3 -3
  330. package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DqJY_4G-.js} +1 -13
  331. package/dist/esm/{base-C32RNC8q.js → base-BByRnpRm.js} +12 -12
  332. package/dist/esm/{base-BVztEKgJ.js → base-C7BBsrYZ.js} +30 -36
  333. package/dist/esm/{base-D_-9Lzkd.js → base-DO0KvOv9.js} +11 -11
  334. package/dist/esm/{base-BDYPTFjC.js → base-Dtxcvto_.js} +10 -10
  335. package/dist/esm/{base-web-component-DdY5aIHN.js → base-web-component-BxXLva5d.js} +10 -10
  336. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  337. package/dist/esm/{base-web-component-BUu68byc.js → base-web-component-CfPyCJDJ.js} +15 -15
  338. package/dist/esm/{behavior-fGxZN96S.js → behavior-CKU2tmCj.js} +5 -5
  339. package/dist/esm/{behavior-DsTiTiJC.js → behavior-CsNDRS2z.js} +5 -5
  340. package/dist/esm/{behavior-DN-22cB1.js → behavior-ewHvUWVk.js} +7 -13
  341. package/dist/esm/{bem-registry-Crcs_65u.js → bem-registry-D1KgKnyz.js} +40 -1
  342. package/dist/esm/{block-bem-DehcAQZQ.js → block-bem-D3ixJyOY.js} +1 -1
  343. package/dist/esm/{bootstrap-DHXUvPBY.js → bootstrap-tgQ2nQQI.js} +2 -2
  344. package/dist/esm/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +3 -3
  345. package/dist/esm/{common-OzsC_6kt.js → common-BdSzSIXg.js} +31 -30
  346. package/dist/esm/{component-4xXBb7K-.js → component-6l69Jvwl.js} +4 -4
  347. package/dist/esm/{component-Cxdi6on4.js → component-B3OziaRC.js} +11 -11
  348. package/dist/esm/{component-DHNcVTi0.js → component-By8ggItU.js} +8 -8
  349. package/dist/esm/{component-EK9BJR6z.js → component-CF8uFG0A.js} +15 -15
  350. package/dist/esm/{component-BJ4gGOph.js → component-Ccv2lqNq.js} +2 -2
  351. package/dist/esm/{component-0IO2wu9i.js → component-Cmi6iGfA.js} +10 -10
  352. package/dist/esm/{component-CPq3i3I_.js → component-D4-NVnsT.js} +5 -5
  353. package/dist/esm/{component-ChuoBFI-.js → component-D6_K50vT.js} +4 -4
  354. package/dist/esm/{component-CTOYF3q6.js → component-D6lo0LzE.js} +7 -7
  355. package/dist/esm/{component-NEw1tN3M.js → component-D9NreIlK.js} +5 -5
  356. package/dist/esm/{component-DWywPG_a.js → component-DAk3R8NN.js} +14 -14
  357. package/dist/esm/{component-et0GdBuf.js → component-EDDTMC-J.js} +2 -2
  358. package/dist/esm/{contrast-D78VGPFR.js → contrast-BNoQruBh.js} +2 -2
  359. package/dist/esm/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  360. package/dist/esm/{dev.utils-Bg7nZBMk.js → dev.utils-BwYCy1rP.js} +2 -2
  361. package/dist/esm/{devtools-nUT3JVTV.js → devtools-CGP3Nzsw.js} +3 -3
  362. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZXlWAgK.js} +1 -1
  363. package/dist/esm/{field-control-D2tOd14v.js → field-control-0TRmF7Ea.js} +8 -8
  364. package/dist/esm/{group-CxWsx0aJ.js → group-DapkT_Yh.js} +7 -7
  365. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DUB0QcS9.js} +1 -1
  366. package/dist/esm/{href-JqLbNBsW.js → href-CxokGOJ2.js} +1 -1
  367. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-4J6U3ZDc.js} +2 -0
  368. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-ePBcLlCr.js} +2 -2
  369. package/dist/esm/{id-CIYvVaNr.js → id-BI0ZuK17.js} +1 -1
  370. package/dist/esm/{index-B_bJG8-2.js → index-DEcM8BEc.js} +23 -12
  371. package/dist/esm/index.js +6 -6
  372. package/dist/esm/{input-Ia9Z3AP7.js → input-CDUCo1S5.js} +5 -5
  373. package/dist/esm/{input-container-Y_8n5Sen.js → input-container-BipAkWn4.js} +8 -8
  374. package/dist/esm/{item-BjriQHQl.js → item-B0oQTeju.js} +6 -6
  375. package/dist/esm/{item-BuqBMSYI.js → item-Boe3t0Dm.js} +12 -12
  376. package/dist/esm/{item-BZtI88zF.js → item-BvnZc8uV.js} +5 -5
  377. package/dist/esm/{item-BKVeXzUO.js → item-UgJ2uikD.js} +30 -15
  378. package/dist/esm/kol-abbr.entry.js +13 -12
  379. package/dist/esm/kol-accordion.entry.js +21 -20
  380. package/dist/esm/kol-alert.entry.js +32 -30
  381. package/dist/esm/kol-avatar.entry.js +17 -16
  382. package/dist/esm/kol-badge.entry.js +30 -29
  383. package/dist/esm/kol-breadcrumb.entry.js +32 -31
  384. package/dist/esm/kol-button-link.entry.js +29 -28
  385. package/dist/esm/kol-button.entry.js +29 -28
  386. package/dist/esm/kol-card.entry.js +34 -33
  387. package/dist/esm/kol-combobox.entry.js +47 -46
  388. package/dist/esm/kol-details.entry.js +21 -20
  389. package/dist/esm/kol-dialog.entry.js +37 -36
  390. package/dist/esm/kol-drawer.entry.js +36 -35
  391. package/dist/esm/kol-form.entry.js +30 -29
  392. package/dist/esm/kol-heading.entry.js +15 -14
  393. package/dist/esm/kol-icon.entry.js +20 -16
  394. package/dist/esm/kol-image.entry.js +10 -9
  395. package/dist/esm/kol-input-checkbox.entry.js +54 -52
  396. package/dist/esm/kol-input-color.entry.js +47 -45
  397. package/dist/esm/kol-input-date.entry.js +49 -47
  398. package/dist/esm/kol-input-email.entry.js +51 -49
  399. package/dist/esm/kol-input-file.entry.js +46 -44
  400. package/dist/esm/kol-input-number.entry.js +52 -50
  401. package/dist/esm/kol-input-password.entry.js +50 -48
  402. package/dist/esm/kol-input-radio.entry.js +42 -41
  403. package/dist/esm/kol-input-range.entry.js +45 -44
  404. package/dist/esm/kol-input-text.entry.js +51 -49
  405. package/dist/esm/kol-kolibri.entry.js +13 -12
  406. package/dist/esm/kol-link-button.entry.js +30 -29
  407. package/dist/esm/kol-link.entry.js +30 -29
  408. package/dist/esm/kol-meter.entry.js +20 -22
  409. package/dist/esm/kol-modal.entry.js +37 -36
  410. package/dist/esm/kol-nav.entry.js +38 -37
  411. package/dist/esm/kol-pagination.entry.js +46 -45
  412. package/dist/esm/kol-popover-button.entry.js +30 -29
  413. package/dist/esm/kol-progress.entry.js +21 -17
  414. package/dist/esm/kol-quote.entry.js +12 -11
  415. package/dist/esm/kol-select.entry.js +42 -41
  416. package/dist/esm/kol-single-select.entry.js +54 -48
  417. package/dist/esm/kol-skip-nav.entry.js +32 -31
  418. package/dist/esm/kol-spin.entry.js +17 -16
  419. package/dist/esm/kol-split-button.entry.js +33 -32
  420. package/dist/esm/kol-table-stateful.entry.js +59 -59
  421. package/dist/esm/kol-table-stateless.entry.js +47 -47
  422. package/dist/esm/kol-tabs.entry.js +36 -38
  423. package/dist/esm/kol-textarea.entry.js +49 -46
  424. package/dist/esm/kol-toast-container.entry.js +25 -24
  425. package/dist/esm/kol-toolbar.entry.js +35 -34
  426. package/dist/esm/kol-tooltip-wc.entry.js +15 -14
  427. package/dist/esm/kol-tree-item.entry.js +32 -28
  428. package/dist/esm/kol-tree.entry.js +26 -14
  429. package/dist/esm/kol-version.entry.js +27 -26
  430. package/dist/esm/kolibri.js +5 -5
  431. package/dist/esm/{label-BRosRgdX.js → label-B-Dr7VaP.js} +3 -3
  432. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-CLMiVvfk.js} +2 -2
  433. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-iVD9hoM3.js} +2 -2
  434. package/dist/esm/{label-with-expert-slot-CicRes-W.js → label-with-expert-slot-BbZ9nx0l.js} +3 -3
  435. package/dist/esm/{level-CA1s1_Mf.js → level-DsQ_pcyD.js} +1 -1
  436. package/dist/esm/{link-target-FX94oqMo.js → link-target-D7lYILOV.js} +1 -1
  437. package/dist/esm/{links-DwucTqcR.js → links-IkK4zoXw.js} +2 -2
  438. package/dist/esm/loader.js +4 -4
  439. package/dist/esm/{multiple-DqrZxybx.js → multiple--ay1C1n3.js} +1 -1
  440. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-Dl9-2O4r.js} +1 -1
  441. package/dist/esm/{open-DRRv1KFK.js → open-CNHJhHsy.js} +1 -1
  442. package/dist/esm/{options-DCaUcfAu.js → options-DwO32GBF.js} +2 -2
  443. package/dist/esm/{orientation-XNOCaPwy.js → orientation-ChJ0S24M.js} +1 -1
  444. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-UxmBJ4Vl.js} +1 -1
  445. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  446. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DytZ5HZJ.js} +1 -1
  447. package/dist/esm/{required-hoaT7UmZ.js → required-BriHhuO4.js} +1 -1
  448. package/dist/esm/{resolve-props-CHPFh7Tn.js → resolve-props-DTXKtzir.js} +7 -7
  449. package/dist/esm/{resolve-props-BkF1VBBB.js → resolve-props-kM9N-fzf.js} +8 -8
  450. package/dist/esm/{rows-B0x8CR7K.js → rows-I1jrTjzU.js} +1 -1
  451. package/dist/esm/{scroll-lock-D7Zo0QLt.js → scroll-lock-Bv-U2FHM.js} +2 -2
  452. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +2 -2
  453. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-BWCnJG5v.js} +1 -1
  454. package/dist/esm/{src-DaGhmCL1.js → src-ziOwSglN.js} +1 -1
  455. package/dist/esm/{step-Bdj89bGO.js → step-BcyhvRtu.js} +1 -1
  456. package/dist/esm/{suggestions-GEr-cvbz.js → suggestions-D0u80DtA.js} +3 -3
  457. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +2 -2
  458. package/dist/esm/test-component.entry.js +4 -3
  459. package/dist/esm/{toggle-handler-Bqoo8tCo.js → toggle-handler-mPlmvrq7.js} +10 -10
  460. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CxFUYSVY.js} +2 -2
  461. package/dist/esm/{unit-BUhhJbhT.js → unit-1ix-K9SD.js} +1 -1
  462. package/dist/esm/{validators-BVM40IEr.js → validators-CTjxOidB.js} +3 -2
  463. package/dist/esm/{value-string-e9pwLcS-.js → value-string-CxDz7dhD.js} +1 -1
  464. package/dist/esm/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  465. package/dist/kolibri/Heading-GZb1f2pZ.js +4 -0
  466. package/dist/kolibri/api-CBPlj155.js +4 -0
  467. package/dist/kolibri/app-globals-DRl9A82c.js +4 -0
  468. package/dist/kolibri/aria-labelledby-DqJY_4G-.js +4 -0
  469. package/dist/kolibri/base-BByRnpRm.js +4 -0
  470. package/dist/kolibri/base-C7BBsrYZ.js +4 -0
  471. package/dist/kolibri/{base-D_-9Lzkd.js → base-DO0KvOv9.js} +1 -1
  472. package/dist/kolibri/{base-BDYPTFjC.js → base-Dtxcvto_.js} +1 -1
  473. package/dist/kolibri/{base-web-component-DdY5aIHN.js → base-web-component-BxXLva5d.js} +1 -1
  474. package/dist/kolibri/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  475. package/dist/kolibri/{base-web-component-BUu68byc.js → base-web-component-CfPyCJDJ.js} +1 -1
  476. package/dist/kolibri/{behavior-fGxZN96S.js → behavior-CKU2tmCj.js} +1 -1
  477. package/dist/kolibri/{behavior-DsTiTiJC.js → behavior-CsNDRS2z.js} +1 -1
  478. package/dist/kolibri/behavior-ewHvUWVk.js +4 -0
  479. package/dist/kolibri/{bem-registry-Crcs_65u.js → bem-registry-D1KgKnyz.js} +1 -1
  480. package/dist/kolibri/block-bem-D3ixJyOY.js +4 -0
  481. package/dist/kolibri/bootstrap-tgQ2nQQI.js +4 -0
  482. package/dist/kolibri/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +1 -1
  483. package/dist/kolibri/common-BdSzSIXg.js +4 -0
  484. package/dist/kolibri/component-6l69Jvwl.js +4 -0
  485. package/dist/kolibri/component-B3OziaRC.js +4 -0
  486. package/dist/kolibri/{component-DHNcVTi0.js → component-By8ggItU.js} +1 -1
  487. package/dist/kolibri/component-CF8uFG0A.js +4 -0
  488. package/dist/kolibri/component-Ccv2lqNq.js +4 -0
  489. package/dist/kolibri/component-Cmi6iGfA.js +4 -0
  490. package/dist/kolibri/component-D4-NVnsT.js +4 -0
  491. package/dist/kolibri/component-D6_K50vT.js +4 -0
  492. package/dist/kolibri/component-D6lo0LzE.js +4 -0
  493. package/dist/kolibri/{component-NEw1tN3M.js → component-D9NreIlK.js} +1 -1
  494. package/dist/kolibri/component-DAk3R8NN.js +4 -0
  495. package/dist/kolibri/{component-et0GdBuf.js → component-EDDTMC-J.js} +1 -1
  496. package/dist/kolibri/contrast-BNoQruBh.js +4 -0
  497. package/dist/kolibri/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  498. package/dist/kolibri/dev.utils-BwYCy1rP.js +4 -0
  499. package/dist/kolibri/{devtools-nUT3JVTV.js → devtools-CGP3Nzsw.js} +1 -1
  500. package/dist/kolibri/disabled-BZXlWAgK.js +4 -0
  501. package/dist/kolibri/field-control-0TRmF7Ea.js +4 -0
  502. package/dist/kolibri/group-DapkT_Yh.js +4 -0
  503. package/dist/kolibri/has-closer-DUB0QcS9.js +4 -0
  504. package/dist/kolibri/href-CxokGOJ2.js +4 -0
  505. package/dist/kolibri/i18n-4J6U3ZDc.js +4 -0
  506. package/dist/kolibri/i18n-ePBcLlCr.js +4 -0
  507. package/dist/kolibri/id-BI0ZuK17.js +4 -0
  508. package/dist/kolibri/index-DEcM8BEc.js +6 -0
  509. package/dist/kolibri/index.esm.js +1 -1
  510. package/dist/kolibri/input-CDUCo1S5.js +4 -0
  511. package/dist/kolibri/input-container-BipAkWn4.js +4 -0
  512. package/dist/kolibri/item-B0oQTeju.js +4 -0
  513. package/dist/kolibri/item-Boe3t0Dm.js +4 -0
  514. package/dist/kolibri/item-BvnZc8uV.js +4 -0
  515. package/dist/kolibri/item-UgJ2uikD.js +4 -0
  516. package/dist/kolibri/kol-abbr.entry.js +1 -1
  517. package/dist/kolibri/kol-accordion.entry.js +1 -1
  518. package/dist/kolibri/kol-alert.entry.js +1 -1
  519. package/dist/kolibri/kol-avatar.entry.js +1 -1
  520. package/dist/kolibri/kol-badge.entry.js +1 -1
  521. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  522. package/dist/kolibri/kol-button-link.entry.js +1 -1
  523. package/dist/kolibri/kol-button.entry.js +1 -1
  524. package/dist/kolibri/kol-card.entry.js +1 -1
  525. package/dist/kolibri/kol-combobox.entry.js +1 -1
  526. package/dist/kolibri/kol-details.entry.js +1 -1
  527. package/dist/kolibri/kol-dialog.entry.js +1 -1
  528. package/dist/kolibri/kol-drawer.entry.js +1 -1
  529. package/dist/kolibri/kol-form.entry.js +1 -1
  530. package/dist/kolibri/kol-heading.entry.js +1 -1
  531. package/dist/kolibri/kol-icon.entry.js +1 -1
  532. package/dist/kolibri/kol-image.entry.js +1 -1
  533. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  534. package/dist/kolibri/kol-input-color.entry.js +1 -1
  535. package/dist/kolibri/kol-input-date.entry.js +1 -1
  536. package/dist/kolibri/kol-input-email.entry.js +1 -1
  537. package/dist/kolibri/kol-input-file.entry.js +1 -1
  538. package/dist/kolibri/kol-input-number.entry.js +1 -1
  539. package/dist/kolibri/kol-input-password.entry.js +1 -1
  540. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  541. package/dist/kolibri/kol-input-range.entry.js +1 -1
  542. package/dist/kolibri/kol-input-text.entry.js +1 -1
  543. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  544. package/dist/kolibri/kol-link-button.entry.js +1 -1
  545. package/dist/kolibri/kol-link.entry.js +1 -1
  546. package/dist/kolibri/kol-meter.entry.js +1 -1
  547. package/dist/kolibri/kol-modal.entry.js +1 -1
  548. package/dist/kolibri/kol-nav.entry.js +1 -1
  549. package/dist/kolibri/kol-pagination.entry.js +1 -1
  550. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  551. package/dist/kolibri/kol-progress.entry.js +1 -1
  552. package/dist/kolibri/kol-quote.entry.js +1 -1
  553. package/dist/kolibri/kol-select.entry.js +1 -1
  554. package/dist/kolibri/kol-single-select.entry.js +1 -1
  555. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  556. package/dist/kolibri/kol-spin.entry.js +1 -1
  557. package/dist/kolibri/kol-split-button.entry.js +1 -1
  558. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  559. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  560. package/dist/kolibri/kol-tabs.entry.js +1 -1
  561. package/dist/kolibri/kol-textarea.entry.js +1 -1
  562. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  563. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  564. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  565. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  566. package/dist/kolibri/kol-tree.entry.js +1 -1
  567. package/dist/kolibri/kol-version.entry.js +1 -1
  568. package/dist/kolibri/kolibri.esm.js +1 -1
  569. package/dist/kolibri/label-B-Dr7VaP.js +4 -0
  570. package/dist/kolibri/label-hints-CLMiVvfk.js +4 -0
  571. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +4 -0
  572. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +4 -0
  573. package/dist/kolibri/level-DsQ_pcyD.js +4 -0
  574. package/dist/kolibri/link-target-D7lYILOV.js +4 -0
  575. package/dist/kolibri/links-IkK4zoXw.js +4 -0
  576. package/dist/kolibri/multiple--ay1C1n3.js +4 -0
  577. package/dist/kolibri/number-value-Dl9-2O4r.js +4 -0
  578. package/dist/kolibri/open-CNHJhHsy.js +4 -0
  579. package/dist/kolibri/options-DwO32GBF.js +4 -0
  580. package/dist/kolibri/orientation-ChJ0S24M.js +4 -0
  581. package/dist/kolibri/placeholder-UxmBJ4Vl.js +4 -0
  582. package/dist/kolibri/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  583. package/dist/kolibri/read-only-DytZ5HZJ.js +4 -0
  584. package/dist/kolibri/required-BriHhuO4.js +4 -0
  585. package/dist/kolibri/resolve-props-DTXKtzir.js +4 -0
  586. package/dist/kolibri/resolve-props-kM9N-fzf.js +4 -0
  587. package/dist/kolibri/rows-I1jrTjzU.js +4 -0
  588. package/dist/kolibri/{scroll-lock-D7Zo0QLt.js → scroll-lock-Bv-U2FHM.js} +1 -1
  589. package/dist/kolibri/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +1 -1
  590. package/dist/kolibri/spell-check-BWCnJG5v.js +4 -0
  591. package/dist/kolibri/src-ziOwSglN.js +4 -0
  592. package/dist/kolibri/step-BcyhvRtu.js +4 -0
  593. package/dist/kolibri/suggestions-D0u80DtA.js +4 -0
  594. package/dist/kolibri/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +1 -1
  595. package/dist/kolibri/test-component.entry.js +1 -1
  596. package/dist/kolibri/toggle-handler-mPlmvrq7.js +4 -0
  597. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +4 -0
  598. package/dist/kolibri/unit-1ix-K9SD.js +4 -0
  599. package/dist/kolibri/validators-CTjxOidB.js +4 -0
  600. package/dist/kolibri/value-string-CxDz7dhD.js +4 -0
  601. package/dist/kolibri/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  602. package/dist/types/components/progress/component.d.ts +1 -0
  603. package/dist/types/components/single-select/component.d.ts +1 -0
  604. package/dist/types/components/table-stateful/component.d.ts +0 -1
  605. package/dist/types/components/table-stateless/component.d.ts +0 -1
  606. package/dist/types/components/tabs/component.d.ts +0 -1
  607. package/dist/types/components/tree/component.d.ts +1 -0
  608. package/dist/types/components.d.ts +4 -4
  609. package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
  610. package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -1
  611. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  612. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  613. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  614. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  615. package/dist/types/internal/props/index.d.ts +1 -0
  616. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  617. package/dist/types/locales/de.d.ts +1 -0
  618. package/dist/types/locales/en.d.ts +1 -0
  619. package/dist/types/schema/bem-registry.d.ts +49 -0
  620. package/dist/types/schema/i18n-keys.d.ts +29 -28
  621. package/dist/types/schema/index.d.ts +1 -1
  622. package/dist/types/schema/props/aria-details.d.ts +0 -2
  623. package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
  624. package/dist/types/schema/props/label.d.ts +1 -0
  625. package/dist/types/stencil-public-runtime.d.ts +1 -1
  626. package/dist/types/utils/aria-labelledby.d.ts +0 -6
  627. package/doc/table-stateful.md +16 -16
  628. package/doc/table-stateless.md +14 -14
  629. package/package.json +6 -6
  630. package/vscode-custom-data.json +2 -2
  631. package/dist/kolibri/Heading-wrhAEuG3.js +0 -4
  632. package/dist/kolibri/api-7B_iI89k.js +0 -4
  633. package/dist/kolibri/app-globals-tRqgHq3P.js +0 -4
  634. package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
  635. package/dist/kolibri/base-BVztEKgJ.js +0 -4
  636. package/dist/kolibri/base-C32RNC8q.js +0 -4
  637. package/dist/kolibri/behavior-DN-22cB1.js +0 -4
  638. package/dist/kolibri/block-bem-DehcAQZQ.js +0 -4
  639. package/dist/kolibri/bootstrap-DHXUvPBY.js +0 -4
  640. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  641. package/dist/kolibri/component-0IO2wu9i.js +0 -4
  642. package/dist/kolibri/component-4xXBb7K-.js +0 -4
  643. package/dist/kolibri/component-BJ4gGOph.js +0 -4
  644. package/dist/kolibri/component-CPq3i3I_.js +0 -4
  645. package/dist/kolibri/component-CTOYF3q6.js +0 -4
  646. package/dist/kolibri/component-ChuoBFI-.js +0 -4
  647. package/dist/kolibri/component-Cxdi6on4.js +0 -4
  648. package/dist/kolibri/component-DWywPG_a.js +0 -4
  649. package/dist/kolibri/component-EK9BJR6z.js +0 -4
  650. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  651. package/dist/kolibri/dev.utils-Bg7nZBMk.js +0 -4
  652. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  653. package/dist/kolibri/field-control-D2tOd14v.js +0 -4
  654. package/dist/kolibri/group-CxWsx0aJ.js +0 -4
  655. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  656. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  657. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  658. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  659. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  660. package/dist/kolibri/index-B_bJG8-2.js +0 -6
  661. package/dist/kolibri/input-Ia9Z3AP7.js +0 -4
  662. package/dist/kolibri/input-container-Y_8n5Sen.js +0 -4
  663. package/dist/kolibri/item-BKVeXzUO.js +0 -4
  664. package/dist/kolibri/item-BZtI88zF.js +0 -4
  665. package/dist/kolibri/item-BjriQHQl.js +0 -4
  666. package/dist/kolibri/item-BuqBMSYI.js +0 -4
  667. package/dist/kolibri/label-BRosRgdX.js +0 -4
  668. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  669. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  670. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  671. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  672. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  673. package/dist/kolibri/links-DwucTqcR.js +0 -4
  674. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  675. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  676. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  677. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  678. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  679. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  680. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  681. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  682. package/dist/kolibri/resolve-props-BkF1VBBB.js +0 -4
  683. package/dist/kolibri/resolve-props-CHPFh7Tn.js +0 -4
  684. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  685. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  686. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  687. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  688. package/dist/kolibri/suggestions-GEr-cvbz.js +0 -4
  689. package/dist/kolibri/toggle-handler-Bqoo8tCo.js +0 -4
  690. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  691. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  692. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  693. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/components",
3
- "version": "4.6.0-rc.1",
3
+ "version": "4.6.0-rc.3",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -89,15 +89,15 @@
89
89
  "@public-ui/stencil-vue-output-target": "0.9.0",
90
90
  "@revolist/svelte-output-target": "0.0.7",
91
91
  "@stencil-community/postcss": "2.2.0",
92
- "@stencil/core": "4.45.2",
93
- "@stencil/playwright": "0.5.1",
94
- "@stencil/sass": "3.3.2",
92
+ "@stencil/core": "4.45.3",
93
+ "@stencil/playwright": "0.6.1",
94
+ "@stencil/sass": "3.3.3",
95
95
  "@types/jest": "29.5.14",
96
96
  "@types/lodash-es": "4.17.12",
97
97
  "@types/markdown-it": "14.2.0",
98
98
  "@types/node": "26.4.0",
99
99
  "@types/wcag-contrast": "3.0.3",
100
- "adopted-style-sheets": "1.1.9-rc.25",
100
+ "adopted-style-sheets": "1.2.0-rc.3",
101
101
  "autoprefixer": "10.6.1",
102
102
  "cross-env": "10.1.0",
103
103
  "cssnano": "8.0.10",
@@ -120,7 +120,7 @@
120
120
  "@public-ui/icons": "0.0.0"
121
121
  },
122
122
  "peerDependencies": {
123
- "adopted-style-sheets": "1.1.9-rc.25"
123
+ "adopted-style-sheets": "1.2.0-rc.3"
124
124
  },
125
125
  "files": [
126
126
  "assets",
@@ -3095,7 +3095,7 @@
3095
3095
  },
3096
3096
  {
3097
3097
  "name": "_aria-labelledby",
3098
- "description": "References an external element by ID that serves as the accessible label for this table.\nUses ElementInternals.ariaLabelledByElements to cross the Shadow DOM boundary.\nSupported by desktop screen readers (NVDA, JAWS with Chrome/Firefox).\nNot yet supported by mobile screen readers (TalkBack, VoiceOver iOS) — use `_label` instead."
3098
+ "description": "References an external element by ID that serves as the accessible label for this table.\nThe component resolves the IDs and sets them as element references (`ariaLabelledByElements`)\non the native `<table>` inside the shadow root, because IDREF attributes cannot cross that\nboundary. Desktop screen readers (NVDA, JAWS with Chrome/Firefox) follow the references;\nVoiceOver and TalkBack do not — use `_label` instead."
3099
3099
  },
3100
3100
  {
3101
3101
  "name": "_data",
@@ -3159,7 +3159,7 @@
3159
3159
  "attributes": [
3160
3160
  {
3161
3161
  "name": "_aria-labelledby",
3162
- "description": "References an external element by ID that serves as the accessible label for this table.\nUses ElementInternals.ariaLabelledByElements to cross the Shadow DOM boundary.\nSupported by desktop screen readers (NVDA, JAWS with Chrome/Firefox).\nNot yet supported by mobile screen readers (TalkBack, VoiceOver iOS) — use `_label` instead."
3162
+ "description": "References an external element by ID that serves as the accessible label for this table.\nThe component resolves the IDs and sets them as element references (`ariaLabelledByElements`)\non the native `<table>` inside the shadow root, because IDREF attributes cannot cross that\nboundary. Desktop screen readers (NVDA, JAWS with Chrome/Firefox) follow the references;\nVoiceOver and TalkBack do not — use `_label` instead."
3163
3163
  },
3164
3164
  {
3165
3165
  "name": "_data",
@@ -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-B_bJG8-2.js";import{c as l}from"./clsx-COFh-Vc8.js";const a=1;function r(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const o=(o,n)=>{var{class:c,level:t=a}=o,i=e(o,["class","level"]);const d=r(t);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(a,r)=>{var{class:o}=a,n=e(a,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},n),r)},c=(r,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=r,h=e(r,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const b=Object.assign({level:i},h);if(!t)return s(o,Object.assign({class:l(d,"kol-headline--single")},b),c);const{class:j}=p,g=e(p,["class"]),k=Object.assign({class:l("kol-heading-group",j)},g);return s("hgroup",Object.assign({},k),s(o,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},b),c),s(n,Object.assign({},u),t))};export{c as K,r as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as e}from"./tslib.es6-QNbPBOk5.js";import{p as i,j as t,D as o}from"./common-OzsC_6kt.js";import{S as s,b as l,s as r}from"./component-NEw1tN3M.js";import{r as a}from"./aria-labelledby-CLehu03h.js";import{c as n,n as d,b as h,a as c,t as p}from"./props-from-config-Ci0dILpz.js";import{a as u,c as m,n as b}from"./dev.utils-Bg7nZBMk.js";import{K as v,d as f}from"./events-CRHxtwup.js";import{F as g,a as y}from"./behavior-DN-22cB1.js";import{d as j}from"./disabled-Cqhc40CU.js";import{j as B,h as _,e as L}from"./component-CPq3i3I_.js";import{l as O}from"./label-with-expert-slot-CicRes-W.js";import{n as C}from"./component-Cxdi6on4.js";import{B as N}from"./base-web-component-XgI4wUyN.js";import{c as x}from"./item-BjriQHQl.js";import{c as T}from"./item-BuqBMSYI.js";import{T as F}from"./behavior-fGxZN96S.js";import{h as w}from"./index-B_bJG8-2.js";import{t as I}from"./i18n-DtLKn3Xt.js";import{b as k}from"./bem-registry-Crcs_65u.js";import{c as K}from"./clsx-COFh-Vc8.js";import{B as P}from"./component-BJ4gGOph.js";import{T as D}from"./component-ChuoBFI-.js";import{P as A}from"./component-DHNcVTi0.js";import{A as H}from"./component-0IO2wu9i.js";function M(e,i){return Boolean(e)&&!0===i}function S(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const q=n("hideMsg",!1,d),E=n("hint","",h),z=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),$=c(),G=n("msg",void 0,(function(e){if("string"==typeof e)try{return i(e)}catch(i){return e}return e}),(function(e){return void 0===e||("string"==typeof e?e.length>0:t(e)&&o(e._description,1))})),Q=n("touched",!1,d),R=i=>{var{id:t,class:o,hint:s,baseClassName:l="kol-form-field"}=i,r=e(i,["id","class","hint","baseClassName"]);return s?w("span",Object.assign({class:K(`${l}__hint`,o),id:u(t||"","hint")},r),s):null},V=i=>{var{component:t="label",id:o,baseClassName:r="kol-form-field",class:a,accessKey:n,shortKey:d,label:h,hideLabel:c,hasExpertSlot:p,omitId:m,showBadge:b=!0,readOnly:v,infoPopover:f}=i,g=e(i,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const y=!p&&c,j=!1===b?void 0:l(n,d);return w(t,Object.assign({},g,{class:K(`${r}__label`,a),id:y||m?void 0:u(o,"label"),hidden:y,htmlFor:"legend"===t?void 0:o}),w(s,{class:`${r}__label-text`,label:p?"":null!=h?h:"",badgeText:j},w("slot",{name:"expert"})),!p&&v&&w("span",{class:`${r}__label__read-only`,"aria-hidden":"true"},"(",I("kol-readonly"),")"),!p&&f&&w("span",null,w(A,Object.assign({},f.popoverButton),w("div",{class:"kol-popover-button__popover--styled"},f.content))))},J=t=>{var o,s,{alert:l,hideMsg:r,msg:a,id:n,class:d}=t,h=e(t,["alert","hideMsg","msg","id","class"]);const c=function(e){if("string"==typeof e)try{return i(e)}catch(i){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}(a);return w(H,Object.assign({alert:!r&&(null!==(o=null==c?void 0:c._alert)&&void 0!==o?o:!0===l),class:K("kol-form-field__msg",r&&"visually-hidden",d),closerAriaDescriptionId:b(),handleCloserClick:()=>{},hasCloser:!1,headingId:m("alert-heading"),id:u(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},U=k.forBlock("kol-form-field"),X=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!r(i)&&!0===e,Z=e=>{const i=S(e);return{[i]:!0,[`msg-type-${i}`]:!0}},W=(i,t)=>{const{renderNoLabel:o,renderNoTooltip:s,renderNoHint:a,id:n,required:d,alert:h,disabled:c,class:p,msg:m,hideMsg:b,hideLabel:v,label:f,infoPopover:g,hint:y,accessKey:j,shortKey:_,counter:L,readOnly:O,touched:C,maxLength:N,ariaDescribedBy:x,showBadge:T,tooltipAlign:F,variant:k,component:A="div",orientation:H,refInput:S,refTooltip:q}=i,E=e(i,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),z=r(f),$=M(m,C),G=l(j,_),Q=X({hideLabel:v,label:f,renderNoTooltip:s}),W="fieldset"===A;return w(P,Object.assign({component:A,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(C),"hide-label":Boolean(v),"read-only":Boolean(O),"hidden-msg":Boolean(b)},$?Z(m):{}),class:K(k&&B(k,"form-field"),p),disabled:!(!W||!c)||void 0,"aria-describedby":x},E),!o&&w(V,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:n,hasExpertSlot:z,hideLabel:v,label:f,accessKey:j,shortKey:_,readOnly:O,showBadge:T,infoPopover:g}),w("div",{class:U("input",{"orientation-horizontal":"horizontal"===H,"orientation-vertical":"vertical"===H}),ref:S},t,Q&&w("div",{class:U("tooltip")},w(D,{badgeText:G||"",label:f,align:F,id:u(n,"label"),refFloating:q}))),L&&!("soft"===L.maxLengthBehavior&&"number"!=typeof L.maxLength)&&w("div",{class:U("counter")},w("span",{"aria-hidden":"true",class:U("counter"),ref:L.visualRef}),w("span",{"aria-live":"polite",class:"visually-hidden",id:u(n,"counter"),ref:L.ariaRef})),$&&w(J,{id:n,alert:h,hideMsg:b,msg:m}),!a&&w(R,{id:n,hint:y}),"number"==typeof N&&!L&&w("span",{id:u(n,"character-limit-hint"),class:"visually-hidden"},I("kol-character-limit-hint",{placeholders:{limit:String(N)}})))};class Y extends N{constructor(){super(...arguments),this.tooltipBehavior=new F(N.stateLess),this.smartButton=x((()=>this.host)),this.infoPopover=T({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(v.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(v.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(v.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(v.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(v.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new g(N.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const i=this.shared.getRenderProp("infoPopover");if(!i)return;const{_content:t}=i,o=e(i,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},o),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){y.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.formAssociation.watchAriaDetails(e),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=a(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){j.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){_.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){z.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){O.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){G.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){C.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){$.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){L.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){Q.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&f(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(v.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===S(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(u(e,"msg")),a&&n.push(u(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return X({hideLabel:e.getRenderProp("hideLabel"),label:p(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:r,readOnly:a,renderNoLabel:n,renderNoTooltip:d,required:h}){const c=this.shared,p=c.getState("id"),m=c.getRenderProp("label"),b=c.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(b),this.tooltipBehavior.watchBadgeText(l(i,t)||""),this.tooltipBehavior.watchId(u(p,"label")),this.tooltipBehavior.watchLabel(m)):this.tooltipBehavior.destroy(),{id:p,disabled:c.getRenderProp("disabled"),msg:c.getRenderProp("msg"),hint:c.getRenderProp("hint"),label:m,hideLabel:c.getRenderProp("hideLabel"),hideMsg:c.getRenderProp("hideMsg"),touched:c.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:h,readOnly:a,accessKey:i,shortKey:t,maxLength:r,counter:s,variant:o,class:e,tooltipAlign:b,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:n,renderNoTooltip:d,refInput:d?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?p(t):void 0}}const ie={required:[O],optional:[y,j,_,q,E,z,$,G,C,L,Q]};export{Y as B,W as F,R as a,V as b,ee as c,ie as f,S as g,M as i}
@@ -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-OzsC_6kt.js";import{a as n}from"./index-B_bJG8-2.js";const a=(()=>{n((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,s(o))}catch(o){}return"default"})),import("./devtools-nUT3JVTV.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
- const n=(n,o)=>{const t=(null!=o?o:"").trim().split(/\s+/).filter(Boolean);if(!t.length)return[];const e=null==n?void 0:n.getRootNode();return t.map((n=>"undefined"!=typeof Document&&e instanceof Document?e.getElementById(n):"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot?e.querySelector(`#${(n=>{var o;return(null===(o=globalThis.CSS)||void 0===o?void 0:o.escape)?globalThis.CSS.escape(n):n.replace(/[^a-zA-Z0-9_-]/g,"\\$&")})(n)}`):"undefined"!=typeof document?document.getElementById(n):null)).filter((n=>!!n))},o=n=>{const o=null==n?void 0:n.attachInternals;if(o)try{return o.call(n)}catch(n){return}};export{o as a,n as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{r as t}from"./aria-labelledby-CLehu03h.js";import{G as e,L as o,p as l}from"./common-OzsC_6kt.js";import{h as i,F as s,f as n}from"./index-B_bJG8-2.js";import{B as a}from"./base-web-component-XgI4wUyN.js";import{c as r}from"./item-BjriQHQl.js";import{c}from"./item-pool-BOxAYePG.js";import{c as d}from"./item-BZtI88zF.js";import{c as h,e as u,n as b,a as p,r as v,t as f,v as m}from"./props-from-config-Ci0dILpz.js";import{l as y}from"./label-lang-segment-2_GnxjFp.js";import{v as g,j as k}from"./component-CPq3i3I_.js";import{c as j,d as C,e as w}from"./component-names-Dhbtt0mX.js";import{t as _}from"./i18n-DtLKn3Xt.js";import{b as S}from"./bem-registry-Crcs_65u.js";import{B as x}from"./component-BJ4gGOph.js";import{B as O}from"./component-Cxdi6on4.js";import{I as $}from"./component-et0GdBuf.js";import{L as F}from"./component-EK9BJR6z.js";import{r as L}from"./component-NEw1tN3M.js";import{S as B}from"./component-CTOYF3q6.js";import{T as D}from"./component-ChuoBFI-.js";import{a as I}from"./tslib.es6-QNbPBOk5.js";import{n as z,c as E}from"./dev.utils-Bg7nZBMk.js";import{d as T,K as A}from"./events-CRHxtwup.js";import{A as M}from"./component-0IO2wu9i.js";import{l as H}from"./level-CA1s1_Mf.js";import{c as N}from"./element-interaction-sGYdEpmv.js";import{u as G,l as K,d as P,D as R}from"./scroll-lock-D7Zo0QLt.js";import{h as W}from"./tooltip-open-tracking-D3tCiiGP.js";import{d as Y,w as Q}from"./width-CgYY17tL.js";import{r as Z,C as q}from"./component-DWywPG_a.js";import{T as J}from"./behavior-fGxZN96S.js";import{C as X}from"./keyboard-DNd73LVa.js";const U=(l,i,s,n)=>{const a=t=>"string"==typeof t||void 0===t;if(e(l,"_ariaLabelledby",a,new Set(["string"]),n),!a(n))return[];const r=t(i,n);if(s){try{s.ariaLabelledByElements=r}catch(t){}o.debug(["WebComponent internals",s])}return r},V=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,tt=h("fixedCols",[0,0],(t=>u(t)),(t=>2===t.length&&t.every(V))),et=h("hasSettingsMenu",!1,b),ot=p();function lt(t){const e="string"==typeof t?l(t):t;if(Array.isArray(e))return e;throw new Error("Invalid table data: expected an array of row objects.")}function it(t){return t.every((t=>"object"==typeof t&&null!==t))}const st=h("data",[],lt,it),nt=h("dataFoot",[],lt,it),at=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),rt=h("headers",{horizontal:[],vertical:[]},(function(t){const e="string"==typeof t?l(t):t;if("object"!=typeof e||null===e)throw new Error("Invalid table headers: expected an object.");const{horizontal:o=[],vertical:i=[]}=e;if(!at(o)||!at(i))throw new Error("Invalid table headers: horizontal and vertical must be arrays of header rows.");return{horizontal:o,vertical:i}}),(function({horizontal:t,vertical:e}){return[...t,...e].every((t=>t.every((t=>void 0===t.width||"number"==typeof t.width))))})),ct=h("loading",!1,b),dt=h("selection",!1,(function(t){const e="string"==typeof t?l(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))})),ht={required:[y,st],optional:[tt,et,ot,nt,rt,ct,dt,g]},ut=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),bt=t=>{const e=ut(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=ut(t.vertical);return{cells:o,horizontal:0===o.length}},pt=(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},vt=(t,e)=>{const o=Math.max(0,...t.map((t=>pt(t,"colSpan"))));return 0===o?e.length:o},ft=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},mt=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},yt=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===mt(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"===mt(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},gt=(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`},kt=(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},jt=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=vt(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>pt(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=ft(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},Ct=({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(" + ")})`},wt=t=>void 0===t?[]:Array.isArray(t)?t:[t],_t=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},St=t=>{const e=t?wt(t.selectedKeys):[];return{disabledKeys:new Set((t?wt(t.disabledKeys):[]).map(String)),keyPropertyName:_t(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},xt=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),Ot=S.forBlock("kol-table"),$t=Ot("body"),Ft=Ot("cell-actions"),Lt=Ot("cell-states"),Bt=Ot("footer"),Dt=Ot("head"),It=Ot("head-row"),zt=Ot("scroll-container"),Et=Ot("selection-icon"),Tt=Ot("selection-input-tooltip"),At=Ot("sort"),Mt=Ot("sort-button"),Ht=Ot("sort-order"),Nt=Ot("table"),Gt=`${Ot("focus-element")} ${Ot("caption")}`,Kt="caption",Pt=(t,e)=>mt(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Rt=(t,e,o)=>({left:"left"===e?gt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?gt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Wt=(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)},Yt=t=>{const e=_("kol-sort");return"number"==typeof t&&t>0?`${e} – ${_("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Qt=(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}=Rt(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:At},i(O,Object.assign({},t.getButtonFcProps(`sort-${s?"vertical":"horizontal"}-${o}-${l}`,{_icons:{right:r},_label:e.label,_ariaDescription:Yt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:Mt}))),d&&i("span",{"aria-hidden":"true",class:Ht},d)):e.label)},Zt=(t,e,o,l,s=!1)=>i("tr",{class:Ot("row",{body:!s,footer:s}),key:`row-${Wt(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:Tt},i(D,{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 Qt(t,e,o,l,s);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=kt(t.headers,t.primaryHeaders,l,"action"),c=Boolean(r&&e.data),d=kt(t.headers,t.primaryHeaders,l,"state"),h=Boolean(d&&e.data),u=Pt(t,l),{left:b,right:p}=Rt(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:Ft},e.actions(o).map(((e,o)=>{const s=`action-${l}-${o}`;return"button"===e.type?i("span",{key:s},i(O,Object.assign({},t.getButtonFcProps(s,e)))):"link"===e.type?i("span",{key:s},i(F,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:Lt},s.map(((t,e)=>"badge"===t.type?i(j,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+ft(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}))},Jt=t=>{const e=v(ht,t),{data:o,dataFoot:l,externalLabelElements:n,fixedCols:a,hasScrollbar:r,hasSettingsMenu:c,headers:d,label:h,loading:u,refScrollContainer:b,refTable:p,selection:m,stickyColsDisabled:y,variant:g}=e,j=_("kol-no-entries"),C=bt(d),w=vt(d.horizontal,o),S=Object.assign(Object.assign({},e),{fixedOffsets:yt(C.cells,w,a,y),maxCols:w,primaryHeaders:C,selectionModel:St(m),translateNoEntries:j}),O=jt({data:o,dataFoot:l,headers:d,isFoot:!1,noEntriesLabel:j,primaryHeaders:C}),F=0===n.length;return i(x,{block:"kol-table",class:k(g,"table")},c&&t.renderSettings(d.horizontal),i("div",{ref:b,class:zt,tabindex:r?F?"-1":"0":void 0},i("table",{ref:p,"aria-labelledby":F?Kt:void 0,class:Nt,style:{minWidth:Ct(d)}},F&&i("caption",{class:Gt,id:Kt,ref:t=>{t&&(r?t.tabIndex=0:t.removeAttribute("tabindex"))}},L(h)),i("thead",{class:Dt},[d.horizontal.map(((t,e)=>i("tr",{class:It,key:`thead-${e}`},m&&(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"},_("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=_(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"},_("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:Tt},i(D,{label:c,badgeText:"",refFloating:()=>{}}))))})(S),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})})(S),Array.isArray(t)&&t.map(((t,o)=>Qt(S,t,e,o,!1)))))),qt(S,"head",d.horizontal)]),i("tbody",{class:$t},i("div",{class:Ot("loader",{shown:u})},i(B,{label:_(u?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",f(h)),show:u,variant:"cycle"})),O.map(((t,e)=>Zt(S,t,e,!0)))),(t=>{const{dataFoot:e,headers:o,primaryHeaders:l,translateNoEntries:s}=t;if(0===e.length)return null;const n=jt({data:e,dataFoot:e,headers:o,isFoot:!0,noEntriesLabel:s,primaryHeaders:l}),a=vt(o.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:yt(l.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return i("tfoot",{class:Bt},[qt(t,"foot",n),n.map(((t,e)=>Zt(r,t,e,!0,!0)))])})(S))))},Xt=({dialog:t,card:e},o)=>i(R,Object.assign({},t),e?i(q,Object.assign({},e),o):o),Ut=S.forBlock("kol-table")("settings"),Vt=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,te=()=>{},ee=(t,e)=>{const o=_("kol-table-settings"),l=_("kol-table-settings-cancel"),s=_("kol-table-settings-apply"),n=_("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=N(),l=N(),i=new J(a.stateLess),s=z(),n=E("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;W(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||b(A.cancel)||t.preventDefault())},g=t=>{var e;t.target===o.el&&(G(r),null===(e=u.onClose)||void 0===e||e.call(u),b(A.close))},k=()=>{i.hideTooltip(),p(),b(A.close)};return{getFcProps:e=>{var a,r,d;let b="",p=0,j="blank",C="100%";y.apply(e.label,(t=>{b=t})),H.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{p=t})),Y.apply(e.on,(t=>{u=t})),m.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{j=t})),Q.apply(null!==(d=e.width)&&void 0!==d?d:"100%",(t=>{C=t}));const w="card"===j;return w&&!c&&(c=Z(t()),i.componentWillLoad({label:c.label,align:c.tooltipAlign})),{dialog:{blockClass:P(j),handleCancel:v,handleClose:g,label:f(b),labelledBy:w?n:void 0,modal:h,refDialog:o,width:C},card:w&&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&&K(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(),G(r),i.destroy()}}})(t,b),g=E("alert-heading"),k=z();let j,S=[],x=[],$=null;const F=()=>{var t;return null!==(t=x[x.length-1])&&void 0!==t?t:[]},L=t=>{x=x.map(((e,o,l)=>o===l.length-1?t:e)),b()},B=(t,e)=>{const o=[...F()],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)},D=t=>{if(t.preventDefault(),!F().some((t=>!1!==t.visible)))return $=n,void b();if(d){$=null,S=x.map((t=>t.map((t=>Object.assign({},t))))),b();const t=x.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,A.changeHeaderCells,t),v.close()}},R=t=>{t&&(d=t)};return{beginRender:()=>{p.beginRender(),u=h,h=!1},render:t=>{var e;u||t===j||(j=t,S=(e=t).map((t=>[...t])),x=e.map((t=>t.map((t=>Object.assign({},t))))));const n=F();return i("div",{class:Ut,ref:R},i("div",{class:"kol-table-settings"},i(O,Object.assign({},p.get("toggle").getFcProps({_icons:"kolicon-settings",_label:o,_hideLabel:!0,_on:{onClick:()=>v.show(!0)}})))),i(Xt,Object.assign({},v.getFcProps({label:o,variant:"card",width:"fit-content"})),i("div",{class:"kol-table-settings__content"},$&&i("div",{class:"kol-table-settings__error-message"},i(M,{alert:!1,closerAriaDescriptionId:k,handleCloserClick:te,hasCloser:!1,headingId:g,label:$,level:0,refCloserButton:te,refCloserTooltip:te,type:"error",variant:"msg"})),i("form",{onSubmit:D},i("div",{class:"kol-table-settings__columns"},n.map(((t,e)=>((t,e,o)=>i("div",{key:t.key,class:"kol-table-settings__column"},i(w,{_checked:!1!==t.visible,_label:_(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=F().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:"kol-table-settings__column-label"},t.label),i(C,{_hideLabel:!0,_value:Vt(t.width),_label:_("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=Vt(Number(e)),l=F().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(O,Object.assign({},p.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:_(!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(O,Object.assign({},p.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:_(!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:"kol-table-settings__actions"},i(O,Object.assign({},p.get("cancel").getFcProps({_label:l,_variant:"secondary",_on:{onClick:()=>(x=S.map((t=>[...t])),$=null,b(),void v.close())}}))),i(O,Object.assign({},p.get("apply").getFcProps({_label:s,_variant:"primary",_type:"submit"}))))))))},sync:()=>{p.endRender(),v.syncListeners()},destroy:()=>{p.destroy(),v.destroy()}}};class oe 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=ee((()=>this.host),(()=>n(this))),this.linkItems=c((()=>d((()=>n(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.propsConfig=ht,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("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.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(t){st.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:z()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){nt.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){tt.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){et.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){rt.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){y.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}applyLoading(t){ct.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){ot.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){dt.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){g.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,o.debug([this.tableElement,t,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute("aria-labelledby",Kt)))}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")[X.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=bt(r).cells,d=vt(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")[X.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&T(this.host,A.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[X.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&T(this.host,A.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),i(Jt,{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{oe as B,nt as a,st as t,U as v}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as s}from"./index-B_bJG8-2.js";import{s as i,X as t}from"./common-OzsC_6kt.js";import{B as a}from"./base-web-component-XgI4wUyN.js";import{b as o,e,a as h,n as l,c as r,d as p,B as n}from"./component-Cxdi6on4.js";import{F as d}from"./behavior-DN-22cB1.js";import{T as c}from"./behavior-fGxZN96S.js";import{a as m,b as y,c as b,f as u,g as f,h as C,s as v,i as x,l as j,d as I,t as B,e as A,v as g}from"./component-CPq3i3I_.js";import{d as D}from"./disabled-Cqhc40CU.js";import{i as K}from"./id-CIYvVaNr.js";import"./props-from-config-Ci0dILpz.js";import{l as T}from"./label-with-expert-slot-CicRes-W.js";import{v as w}from"./access-and-short-key-ijzCZfHm.js";import{c as S}from"./element-interaction-sGYdEpmv.js";import{d as H,K as L}from"./events-CRHxtwup.js";import{p as E,a as P}from"./controller-Cb-96wE-.js";class F extends a{constructor(){super(...arguments),this.ctaRef=S(),this.propsConfig=o,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&&H(this.host,L.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&&H(this.host,L.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&H(this.host,L.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&H(this.host,L.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))),w(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){e.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){D.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){C.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){v.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){K.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){x.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){T.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){j.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){I.apply(s,(s=>this.setRenderProp("shortKey",s))),w(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?B.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){A.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;g.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{F as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{g as t}from"./bootstrap-DHXUvPBY.js";import{C as e,e as i,k as s}from"./common-OzsC_6kt.js";import{c as o,b as a}from"./props-from-config-Ci0dILpz.js";import{n}from"./component-Cxdi6on4.js";import{B as r}from"./behavior-fGxZN96S.js";const l=o("ariaDetails","",a),c=o("syncValueBySelector",void 0,a),u={optional:[l,n,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends r{constructor(s,{host:o,type:a,name:n}){var r,l,c,d,f;super(s,u),this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(o),this.type=a,(null===(r=t())||void 0===r?void 0:r.reflectInputValues)&&h.has(null!==(c=null===(l=this.host)||void 0===l?void 0:l.tagName)&&void 0!==c?c:"")&&n&&(null===(d=this.host)||void 0===d||d.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(f=this.host)||void 0===f||f.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector),this.watchAriaDetails(t.ariaDetails)}watchAriaDetails(t){l.apply(t,(t=>this.setRenderProp("ariaDetails",t)))}watchName(t){n.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement("input");return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement("select");return t.setAttribute("multiple",""),t}case"textarea":return document.createElement("textarea");default:{const t=document.createElement("input");return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?i.files=t:i.value="";break;case"select":"SELECT"===i.tagName?this.syncSelectOptions(t,i):this.syncValueAttribute(e,i);break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:this.syncValueAttribute(e,i)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement("option");t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F,l as a}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{b as r}from"./bem-registry-Crcs_65u.js";const t=new Map;function e(e){let s=t.get(e);return s||(s=r.forBlock(e),t.set(e,s)),s}export{e as g}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{g as o,h as n,L as s}from"./common-OzsC_6kt.js";import{s as i}from"./component-names-Dhbtt0mX.js";import{i as e}from"./i18n-Dl6Jjofb.js";let a,t=!1;const l=async(l,d,r)=>{var m,u;const v="undefined"!=typeof process&&process.env?"production":void 0;o((null==r?void 0:r.environment)||v||"production"),e(null!==(u=null===(m=null==r?void 0:r.translation)||void 0===m?void 0:m.name)&&void 0!==u?u:"de",null==r?void 0:r.translations),(null==r?void 0:r.transformTagName)&&i(null==r?void 0:r.transformTagName);const c=await n(l,d,r);return t=!0,a=r,s.info("Development mode active - Enhanced debugging features available"),c},d=l,r=()=>t,m=()=>a;export{l as b,m as g,r as i,d as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,n,o,r={exports:{}},a=(t||(t=1,n=r.exports,o=function(){var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"],r={},a=null;function i(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(){for(var n=this.getLevel(),r=0;r<o.length;r++){var a=o[r];this[a]=r<n?e:this.methodFactory(a,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return"No console available for logging"}function c(e){return function(){typeof console!==t&&(l.call(this),this[e].apply(this,arguments))}}function u(o,r,a){return function(o){return"debug"===o&&(o="log"),typeof console!==t&&("trace"===o&&n?s:void 0!==console[o]?i(console,o):void 0!==console.log?i(console,"log"):e)}(o)||c.apply(this,arguments)}function f(e,n){var i,s,c,f=this,d="loglevel";function p(){var e;if(typeof window!==t&&d){try{e=window.localStorage[d]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,o=encodeURIComponent(d),r=n.indexOf(o+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r+o.length+1))[1])}catch(e){}return void 0===f.levels[e]&&(e=void 0),e}}function g(e){var t=e;if("string"==typeof t&&void 0!==f.levels[t.toUpperCase()]&&(t=f.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?d+=":"+e:"symbol"==typeof e&&(d=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=n||u,f.getLevel=function(){return null!=c?c:null!=s?s:i},f.setLevel=function(e,n){return c=g(e),!1!==n&&function(e){var n=(o[e]||"silent").toUpperCase();if(typeof window!==t&&d){try{return void(window.localStorage[d]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}}(c),l.call(f)},f.setDefaultLevel=function(e){s=g(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){c=null,function(){if(typeof window!==t&&d){try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),l.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(a!==f&&(i=g(a.getLevel())),l.call(f),a===f)for(var e in r)r[e].rebuild()},i=g(a?a.getLevel():"WARN");var b=p();null!=b&&(c=g(b)),l.call(f)}(a=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=r[e];return t||(t=r[e]=new f(e,a.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=d),a},a.getLoggers=function(){return r},a.default=a,a},r.exports?r.exports=o():n.log=o()),r.exports),i=e(a);const s={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{const e=typeof process<"u"&&process.env?process.env:{},t="test"===e.NODE_ENV,n="VITEST"in e,o="JEST_WORKER_ID"in e,r="PLAYWRIGHT_TEST_BASE_URL"in e,a="true"===e.CI,i="true"===e.TEST||"true"===e.IS_TEST,s=typeof navigator<"u"&&!0===navigator.webdriver,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||o||r||a||i||s||l})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[t,n]of s.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let l=!0,c=!1;const u=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,f=e=>{if(!(e=>"string"==typeof e&&u.test(e))(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},d=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),p=(e,t,n,o)=>{(o=o??{}).append=o.append??!1,f(e),l&&!c&&(c=!0,i.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let r=s.A11yUi.THEMES.get(e);if(r||(r=new Map,s.A11yUi.THEMES.set(e,r)),o.append&&r.has(t)){const e=r.get(t);r.set(t,d(`${e}${n}`))}else r.set(t,d(n))},g=(e,t,n,o)=>(f(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((r=>{const a=t[r],i=r.toLowerCase(),s="function"!=typeof o?.transformTagName||["GLOBAL","PROPERTIES"].includes(r)?r:o.transformTagName(i);"string"==typeof a&&a.length>0&&p(e,s.toUpperCase(),a,n)})),e),b=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;typeof ShadowRoot<"u"&&t instanceof ShadowRoot;)t=t.host;return b(t)}}return null},h=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},m=()=>"object"==typeof s.A11yUi.Theme&&null!==s.A11yUi.Theme&&"boolean"==typeof s.A11yUi.Theme.cache&&"object"==typeof s.A11yUi.Theme.encroachCss&&null!==s.A11yUi.Theme.encroachCss&&"string"==typeof s.A11yUi.Theme.encroachCss.mode&&"string"==typeof s.A11yUi.Theme.name,y=e=>{if(m())return s.A11yUi.Theme;{const t={cache:!0,encroachCss:h(),loglevel:"silent",mode:"csr",name:null},n=b(e);return n instanceof HTMLElement&&(t.cache="false"!==n.dataset.themeCache,t.encroachCss=h(n.dataset),t.loglevel="debug"===n.dataset.themeLoglevel?n.dataset.themeLoglevel:"silent",t.mode="ssr"===n.dataset.themeMode?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},v=()=>m()?s.A11yUi.Theme.name:null,w=(...e)=>{const t={};for(const n of e)n&&Object.assign(t,n);return t},k=(e,t)=>{const n=s.A11yUi.FEATURES[e];if(void 0!==n)return n;const o=(e=>y(e).name)(t??null)??v();if(null!==o){const t=s.A11yUi.THEME_FEATURES[o];if(t&&void 0!==t[e])return t[e]}};let S=!1;const E=(e,t,n={})=>{S||(S=!0,l=!1,typeof window<"u"&&(window.A11yUi=s.A11yUi)),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?((e,t)=>{!1===m()&&("object"!=typeof s.A11yUi.Theme||null===s.A11yUi.Theme||"default"!==s.A11yUi.Theme.name)&&"object"==typeof t&&null!==t&&(t=((e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",mode:"ssr"===t.mode?t.mode:"csr",name:"string"==typeof t.name?t.name:e}))(e,t),"fixed"===t.detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(s.A11yUi.Theme=t,i.info(`[Theming] Theme "${e}" was set as default theme.`))):c||(c=!0,i.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))})(e(((e,t,o,r)=>(r&&(s.A11yUi.THEME_FEATURES[e]=w(s.A11yUi.THEME_FEATURES[e],r)),g(e,t,o,n)))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):i.error("[Theming] An attempt was made to load an incompatible theme.")})),l=!0,n.features&&(s.A11yUi.FEATURES=w(s.A11yUi.FEATURES,n.features)),"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const o=[];return t.forEach((e=>{const t=e();t instanceof Promise&&o.push(t)})),Promise.all(o)},T=new Set,M=new Map,A=/--[^;]+/g,N=/:/,O=typeof MutationObserver<"u";let L=25,x=()=>{L=Math.min(25+20*Math.log2(s.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const I=(e,t)=>{const n=s.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(void 0!==e)return e}return""},R=(e,t,n,o)=>{const r="debug"===s.A11yUi.Theme?.loglevel,a=r?performance.now():0;if((e=>{const t=e.firstChild;if(t instanceof HTMLStyleElement&&void 0===t.dataset.themingFallback)for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName&&void 0===t.dataset.themingFallback))break;e.removeChild(t)}})(t),((e,t)=>{try{if("ssr"===s.A11yUi.Theme?.mode)throw new Error("SSR");const n=t.filter((e=>"string"==typeof e&&e.length>0)).map((e=>{let t=M.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),M.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const o=t[n];if("string"!=typeof o||0===o.length)continue;const r=t.length-1-n,a=document.createElement("style");switch(a.dataset.themingFallback="",r){case 4:a.dataset.themingBaseA11y="";break;case 3:a.dataset.themingBaseGlobal="";break;case 2:a.dataset.themingBaseComponent="";break;case 1:a.dataset.themingCustomGlobal="";break;case 0:a.dataset.themingCustomComponent="";break;default:a.dataset.themingUnknown=""}a.innerHTML=o,e.insertBefore(a,e.firstChild)}}})(t,n),q(e),requestAnimationFrame(o),r){const t=performance.now()-a,n=s.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):s.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},C=e=>{const t=s.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:o}=t;((e,t,n)=>{const o=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch{r=e}const a=s.A11yUi.CSS_STYLE_CACHE.get(o)?.get(e.tagName);if(a)R(e,r,a,n);else{const a=I(o,"PROPERTIES"),i=I(o,"GLOBAL"),l=I(o,e.tagName);!1===T.has(o)&&((e,t)=>{let n=t.match(A);if(Array.isArray(n)){n=n.filter((e=>N.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}T.add(e)})(o,i);const c=[a,i,l];if(((e,t,n)=>{if(!1===n||"before"!==n?.mode&&"after"!==n?.mode)return;const o=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName));let r;try{r=Array.from(e.adoptedStyleSheets)}catch{r=[]}if(0!==o.length||0!==r.length)if("before"===n.mode){const e=[...r.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...o.map((e=>e.innerHTML))];t.unshift(...e)}else o.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))})(r,c,t.encroachCss),!0===t.cache){let t=s.A11yUi.CSS_STYLE_CACHE.get(o);t||(t=new Map,s.A11yUi.CSS_STYLE_CACHE.set(o,t)),t.set(e.tagName,c)}R(e,r,c,n)}})(e,o,n)}};let j=(e,t=0)=>{if(t>=100)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?C(e):j(e,t+1)}),L)};const $={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},F={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},_=O?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&s.A11yUi.STYLING_TASK_QUEUE.has(e)&&(C(e),n.push(e))}for(const e of n)t.observe(e,F)})):null;_&&(j=e=>_.observe(e,$),x=()=>{});const H=new Map;let P=(e,t)=>{if(t){const e=H.get(t);if(void 0!==e)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let o;if(n.endsWith("ms"))o=parseFloat(n);else if(n.endsWith("s"))o=1e3*parseFloat(n);else{const e=parseFloat(n);o=isNaN(e)?0:e}return t&&H.set(t,o),o};s.A11yUi.IS_TEST_ENVIRONMENT&&(P=()=>0);const U=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},q=e=>{s.A11yUi.STYLING_TASK_QUEUE.delete(e),x()},z=(e,t)=>{((e,t)=>{const n=e.style.visibility||null,o=t.name||"default";s.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=P(e,o);t>0?setTimeout((()=>{U(e,n)}),t):U(e,n)},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),j(e)})(e,{...s.A11yUi.Theme,...t})};class J{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>o=>o(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}var B,K;!function(e){e[e["action-done"]=0]="action-done",e[e["action-running"]=1]="action-running",e[e["avatar-alt"]=2]="avatar-alt",e[e["character-counter-current"]=3]="character-counter-current",e[e["character-counter-current-of-max"]=4]="character-counter-current-of-max",e[e["character-counter-current-of-max-aria"]=5]="character-counter-current-of-max-aria",e[e["character-counter-max-aria"]=6]="character-counter-max-aria",e[e["character-limit-exceeded"]=7]="character-limit-exceeded",e[e["character-limit-hint"]=8]="character-limit-hint",e[e["character-limit-remaining"]=9]="character-limit-remaining",e[e["clear-search"]=10]="clear-search",e[e.close=11]="close",e[e["close-alert"]=12]="close-alert",e[e["data-browse-text"]=13]="data-browse-text",e[e["delete-selection"]=14]="delete-selection",e[e["entries-per-site"]=15]="entries-per-site",e[e.error=16]="error",e[e["error-list"]=17]="error-list",e[e["error-list-message"]=18]="error-list-message",e[e["filename-text"]=19]="filename-text",e[e["form-description"]=20]="form-description",e[e["hide-password"]=21]="hide-password",e[e.info=22]="info",e[e["kolibri-logo"]=23]="kolibri-logo",e[e["live-value"]=24]="live-value",e[e["live-value-bounded"]=25]="live-value-bounded",e[e.message=26]="message",e[e["meter-state-critical"]=27]="meter-state-critical",e[e["meter-state-optimum"]=28]="meter-state-optimum",e[e["meter-state-suboptimal"]=29]="meter-state-suboptimal",e[e["nav-maximize"]=30]="nav-maximize",e[e["nav-minimize"]=31]="nav-minimize",e[e.new=32]="new",e[e["no-entries"]=33]="no-entries",e[e["no-results-message"]=34]="no-results-message",e[e["open-link-in-tab"]=35]="open-link-in-tab",e[e.page=36]="page",e[e["page-back"]=37]="page-back",e[e["page-first"]=38]="page-first",e[e["page-last"]=39]="page-last",e[e["page-next"]=40]="page-next",e[e.pagination=41]="pagination",e[e["pagination-position-bottom"]=42]="pagination-position-bottom",e[e["pagination-position-top"]=43]="pagination-position-top",e[e.readonly=44]="readonly",e[e["show-password"]=45]="show-password",e[e["show-suggestions"]=46]="show-suggestions",e[e.sort=47]="sort",e[e["split-button-dropdown-label-open"]=48]="split-button-dropdown-label-open",e[e.success=49]="success",e[e["table-data-loading"]=50]="table-data-loading",e[e["table-data-loaded"]=51]="table-data-loaded",e[e["table-pagination-label"]=52]="table-pagination-label",e[e["table-selection"]=53]="table-selection",e[e["table-selection-all"]=54]="table-selection-all",e[e["table-selection-indeterminate"]=55]="table-selection-indeterminate",e[e["table-selection-none"]=56]="table-selection-none",e[e["table-settings"]=57]="table-settings",e[e["table-settings-apply"]=58]="table-settings-apply",e[e["table-settings-cancel"]=59]="table-settings-cancel",e[e["table-settings-column-hidable"]=60]="table-settings-column-hidable",e[e["table-settings-column-not-hidable"]=61]="table-settings-column-not-hidable",e[e["table-settings-column-width"]=62]="table-settings-column-width",e[e["table-settings-error-all-invisible"]=63]="table-settings-error-all-invisible",e[e["table-settings-move-down"]=64]="table-settings-move-down",e[e["table-settings-move-up"]=65]="table-settings-move-up",e[e["table-settings-not-move"]=66]="table-settings-not-move",e[e["table-sort-order"]=67]="table-sort-order",e[e["table-visible-range"]=68]="table-visible-range",e[e["toast-close-all"]=69]="toast-close-all",e[e.version=70]="version",e[e.warning=71]="warning"}(B||(B={})),function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e.alert=2]="alert",e[e.avatar=3]="avatar",e[e.badge=4]="badge",e[e.breadcrumb=5]="breadcrumb",e[e.button=6]="button",e[e["button-link"]=7]="button-link",e[e.card=8]="card",e[e.combobox=9]="combobox",e[e.details=10]="details",e[e.dialog=11]="dialog",e[e.drawer=12]="drawer",e[e.form=13]="form",e[e.heading=14]="heading",e[e.icon=15]="icon",e[e.image=16]="image",e[e["input-checkbox"]=17]="input-checkbox",e[e["input-color"]=18]="input-color",e[e["input-date"]=19]="input-date",e[e["input-email"]=20]="input-email",e[e["input-file"]=21]="input-file",e[e["input-number"]=22]="input-number",e[e["input-password"]=23]="input-password",e[e["input-radio"]=24]="input-radio",e[e["input-range"]=25]="input-range",e[e["input-text"]=26]="input-text",e[e.kolibri=27]="kolibri",e[e.link=28]="link",e[e["link-button"]=29]="link-button",e[e.logo=30]="logo",e[e.meter=31]="meter",e[e.modal=32]="modal",e[e.nav=33]="nav",e[e.pagination=34]="pagination",e[e["popover-button"]=35]="popover-button",e[e.progress=36]="progress",e[e.quote=37]="quote",e[e.select=38]="select",e[e["single-select"]=39]="single-select",e[e["skip-nav"]=40]="skip-nav",e[e.spin=41]="spin",e[e["split-button"]=42]="split-button",e[e.symbol=43]="symbol",e[e.table=44]="table",e[e["table-stateful"]=45]="table-stateful",e[e["table-stateless"]=46]="table-stateless",e[e.tabs=47]="tabs",e[e.textarea=48]="textarea",e[e["toast-container"]=49]="toast-container",e[e.toolbar=50]="toolbar",e[e.tooltip=51]="tooltip",e[e.tree=52]="tree",e[e["tree-item"]=53]="tree-item",e[e.version=54]="version"}(K||(K={}));const W=()=>"undefined"!=typeof window?window:{},D=()=>{const e=W();return e&&void 0!==e.document?e.document:{}},G=["development","production","test"];let Y="production";const V=e=>{try{if(!G.includes(e))throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${G.join(", ")}.`);Y=e}catch(e){Y="production"}},Q=()=>{try{return"undefined"!=typeof process&&process.env?process.env.NODE_ENV:void 0}catch(e){return}};V((()=>{const e=Q();return e&&G.includes(e)?e:"production"})());let X=!1,Z=!1;const ee=()=>"development"===Y,te=()=>"test"===Y,ne=()=>!0===X,oe=e=>{X=!0===e},re=()=>!0===Z,ae=e=>{Z=!0===e},ie=e=>Array.isArray(e)?e:[e],se=e=>`%c${e}`,le=(e,t)=>"string"==typeof t&&t.length>0?`${se(e)} | ${t}`:se(e),ce=(e,t)=>[le(e,null==t?void 0:t.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${(null==t?void 0:t.overwriteStyle)||""}`],ue=e=>ee()||!0===e,fe=new class{constructor(e){this.label=e}debug(e,t){ue(null==t?void 0:t.forceLog)&&console.debug(...ce(this.label,t),...ie(e))}info(e,t){ue(null==t?void 0:t.forceLog)&&console.info(...ce(this.label,t),...ie(e))}trace(e,t){ue(null==t?void 0:t.forceLog)&&console.trace(...ce(this.label,t),...ie(e))}warn(e,t){ue(null==t?void 0:t.forceLog)&&console.warn(...ce(this.label,t),...ie(e))}error(e,t){console.error(...ce(this.label,t),...ie(e))}throw(e,t){if(ue(null==t?void 0:t.forceLog))throw new Error(...ce(this.label,t),...ie(e))}}("KoliBri"),de=new Set,pe=e=>{!1===de.has(e)&&(de.add(e),fe.debug([e].concat([]),{classifier:"✋ a11y",forceLog:!1,overwriteStyle:"; background-color: #09f"}))},ge=new Set,be=e=>{!1===ge.has(e)&&(ge.add(e),fe.warn([e].concat([]),{classifier:"🔥 deprecated",forceLog:!1,overwriteStyle:"; background-color: #f00"}))},he=new Set,me=(e,t)=>{(!1===he.has(e)||(null==t?void 0:t.force))&&(he.add(e),fe.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},ye=e=>{!1===he.has(e)&&(he.add(e),fe.warn([e].concat([]),{classifier:"⚠️ dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))},ve=new Set,we=(e,t=!1)=>{!1===ve.has(e)&&(ve.add(e),fe.debug([e+=!0===t?" ✅":""].concat([]),{classifier:"🌟 feature",forceLog:!1,overwriteStyle:"; background-color: #309"}))};me("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");const ke=new Set,Se=e=>{!1===ke.has(e)&&(ke.add(e),fe.debug([e].concat([]),{classifier:"📑 ui/ux",forceLog:!1,overwriteStyle:"; background-color: #060;"}))},Ee=e=>{"string"==typeof e&&""!==e||pe("Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},Te=(e,t=8)=>{t>7&&Se(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var Me,Ae,Ne,Oe,Le=1/12.92;function xe(e){return Math.pow((e+.055)/1.055,2.4)}function Ie(e){var t=e[0]/255,n=e[1]/255,o=e[2]/255;return.2126*(t<=.03928?t*Le:xe(t))+.7152*(n<=.03928?n*Le:xe(n))+.0722*(o<=.03928?o*Le:xe(o))}function Re(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Ce(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(Ie(e),Ie(t))}(Re(e),Re(t))}var je=function(){if(Oe)return Ne;Oe=1;var e=Ae?Me:(Ae=1,Me={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]});Ne=function(n){var o,r,a=[],i=1;if("string"==typeof n)if(n=n.toLowerCase(),e[n])a=e[n].slice(),r="rgb";else if("transparent"===n)i=0,r="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);i=1,(u=s.length)<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===u&&(i=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===u&&(i=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),r="rgb"}else if(o=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var l=o[1],c="rgb"===l;r=s=l.replace(/a$/,"");var u="cmyk"===s?4:"gray"===s?1:3;a=o[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[n]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==t[e])return t[e]}return parseFloat(e)})),l===s&&a.push(1),i=c||void 0===a[u]?1:a[u],a=a.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(a=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),r=n.match(/([a-z])/gi).join("").toLowerCase());else isNaN(n)?Array.isArray(n)||n.length?(a=[n[0],n[1],n[2]],r="rgb",i=4===n.length?n[3]:1):n instanceof Object&&(null!=n.r||null!=n.red||null!=n.R?(r="rgb",a=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(r="hsl",a=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),i=n.a||n.alpha||n.opacity||1,null!=n.opacity&&(i/=100)):(r="rgb",a=[n>>>16,(65280&n)>>>8,255&n]);return{space:r,values:a,alpha:i}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return Ne}(),$e=e(je);const Fe={min:[0,0,0],max:[255,255,255]};var _e={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,n,o,r,a,i=e[0]/360,s=e[1]/100,l=e[2]/100,c=0;if(0===s)return[a=255*l,a,a];for(t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];c<3;)(o=i+1/3*-(c-1))<0?o++:o>1&&o--,r[c++]=255*(a=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t);return r}};Fe.hsl=function(e){var t,n,o=e[0]/255,r=e[1]/255,a=e[2]/255,i=Math.min(o,r,a),s=Math.max(o,r,a),l=s-i;return s===i?t=0:o===s?t=(r-a)/l:r===s?t=2+(a-o)/l:a===s&&(t=4+(o-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+s)/2,[t,100*(s===i?0:n<=.5?l/(s+i):l/(2-s-i)),100*n]};var He,Pe={exports:{}},Ue=function(){if(He)return Pe.exports;function e(e){var n=t(e);return 3==n.length?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),n=t.length;if(3==n||4==n){var r=o(t[0]),a=o(t[1]),i=o(t[2]),s=3==n?255:o(t[3]);if(isNaN(r)||isNaN(a)||isNaN(i)||isNaN(s))return;return[r,a,i,s]}}(e)||function(e){var t=e.replace(/^#/,""),n=t.length;if(6==n||8==n){var r=o(t.slice(0,2)),a=o(t.slice(2,4)),i=o(t.slice(4,6)),s=6==n?255:o(t.slice(6,8));if(isNaN(r)||isNaN(a)||isNaN(i)||isNaN(s))return;return[r,a,i,s]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=r(t[0],!0),o=r(t[1],!0),a=r(t[2],!0);if(-1!=n&&-1!=o&&-1!=a)return[n,o,a,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=r(t[0],!0),o=r(t[1],!0),a=r(t[2],!0),i=r(255*t[3]);if(-1!=n&&-1!=o&&-1!=a&&-1!=i)return[n,o,a,i]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=r(null!=e.r?e.r:null!=e.red?e.red:0,!0),n=r(null!=e.g?e.g:null!=e.green?e.green:0,!0),o=r(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),a=r(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=n&&-1!=o&&-1!=a)return[t,n,o,a]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=r(e[0],!0),n=r(e[1],!0),o=r(e[2],!0),a=r(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=n&&-1!=o&&-1!=a)return[t,n,o,a]}}(e)||function(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var t}function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function o(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function r(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return He=1,Pe.exports=e,Pe.exports.arr=e,Pe.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:3==n.length?255:Math.round(n[3])}},Pe.exports.css=function(e){var n=t(e);return 3==n.length&&n.push(255),255==n[3]?"rgb("+n[0]+", "+n[1]+", "+n[2]+")":0==n[3]?"rgba("+n[0]+", "+n[1]+", "+n[2]+", 0)":"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+String(n[3]/255).substr(1)+")"},Pe.exports.hex=function(e){var o=t(e);3==o.length&&o.push(255);var r=255==o[3],a=n(o[0]),i=n(o[1]),s=n(o[2]),l=function(e,t,n,o){var r=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=r.indexOf(e)&&-1!=r.indexOf(t)&&-1!=r.indexOf(n)&&-1!=r.indexOf(o)}(a,i,s,o=n(Math.round(o[3])));return r?l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0):"#"+a+i+s:l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0)+o.charAt(0):"#"+a+i+s+o},Pe.exports.num=function(e){var n=t(e);return 3==n.length?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},Pe.exports}(),qe=e(Ue);const ze=/\[object Object\]/,Je=(e,t)=>{"string"==typeof e&&ze.test(e)||t()},Be=(e,t)=>{ne()&&(fe.debug([e,t]),fe.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},Ke=(e,t,n,o={})=>{var r,a;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),"function"==typeof o.afterPatch&&(null===(r=e.nextHooks.get(t))||void 0===r||r.set("afterPatch",o.afterPatch)),"function"==typeof o.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",o.beforePatch)),e.nextState.set(t,n),(e=>{var t,n,o;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,n)=>{var o;const r=t.get("beforePatch");"function"==typeof r&&r(null===(o=e.nextState)||void 0===o?void 0:o.get(n),e.nextState,e,n)})),(null===(n=e.nextState)||void 0===n?void 0:n.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(o=e.nextHooks)||void 0===o||o.forEach(((t,n)=>{const o=t.get("afterPatch");"function"==typeof o&&o(e.state[n],e.state,e,n)}))),delete e.nextHooks})(e)};function We(e,t,n,o,r,a={}){if("production"!==Y||"production"!==Q())if(n(r))Ke(e,t,r,a.hooks);else if(void 0===r&&!0!==a.required&&n(a.defaultValue))Ke(e,t,a.defaultValue,a.hooks);else{const n=new Set(o);a.required||n.add(null),((e,t,n,o)=>{me(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(o).join(", ")}`)})(e,t,r,n)}else void 0!==r?Ke(e,t,r,a.hooks):n(void 0)?Ke(e,t,void 0,a.hooks):!0!==a.required&&n(a.defaultValue)&&Ke(e,t,a.defaultValue,a.hooks)}const De=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw fe.warn(["stringifyJson",e]),fe.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},Ge=/^[{[]/,Ye=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(Ge.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){fe.warn(["parseJson",e]),fe.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).")}}throw new Error},Ve=(e,t)=>{if(!e)return;const n=new Set,o=[e];let r=0;for(;r<o.length;){const e=o[r++];if(n.has(e))continue;if(n.add(e),t(e))return;const a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)o.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&o.push(e.shadowRoot),e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&o.push(t[e])}}},Qe=(e,t)=>((e,t)=>{let n=null;return Ve(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||D()),Xe=(e,t)=>((e,t)=>{const n=[];return Ve(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||D());let Ze=null;const et=()=>(Ze=Ze||{backgroundColor:"#00000000",color:"#00000000",domNode:D().body,level:"Fail",score:1},Ze),tt=/(\d+, ){3}0\)/,nt=(e,t=et())=>{const n=getComputedStyle(e),o=tt.test(n.backgroundColor)?t.backgroundColor:qe.hex(n.backgroundColor),r=tt.test(n.color)?t.color:qe.hex(n.color),a=Ce(o,r),i={backgroundColor:o,color:r,domNode:e,level:(s=a,s>=7?"AAA":s>=4.5?"AA":s>=3?"AA Large":"Fail"),score:a};var s;return a<4.5&&fe.error(["Color-Contrast-Error",{backgroundColor:i.backgroundColor,color:i.color,level:i.level,score:i.score},i.domNode]),i},ot=(e,t=et())=>{t.domNode instanceof HTMLElement&&(t=nt(t.domNode,t));const n=t.domNode.querySelector(e);if(null===n){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let o=0;o<n.length&&(t.domNode=n[o],null===(t=ot(e,t)).domNode);o++);return t}return nt(n,t)};class rt{static queryHtmlElementColors(e,t,n=!1,o=!0){let r=null;if(!0===n||!1===rt.executionLock)if(!1===n&&(rt.cache.clear(),rt.cache.set(t.domNode,t),rt.executionLock=!0,!0===o&&fe.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)r=t;else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)n.add(e[t])}const o=t.domNode;if("function"==typeof o.assignedNodes){const e=o.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&n.add(e[t])}const a=t.domNode.children;for(let e=0;e<a.length;e++)n.add(a[e]);const i=Array.from(n);for(let n=0;n<i.length;n++){let o=rt.cache.get(i[n]);void 0===o&&(o=nt(i[n],t)),rt.cache.set(i[n],o);const a=rt.queryHtmlElementColors(e,o,!0,!1);if(null!==a){r=a;break}}}else fe.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&fe.debug(`[KoliBriUtils] Color contrast analysis finished (${rt.cache.size} DOM elements are analysed).`),rt.executionLock=!1,rt.cache.clear()),r}}rt.executionLock=!1,rt.cache=new Map;class at{}at.getCssStyle=I,at.patchTheme=(e,t,n,o)=>g(e,t,n,o),at.patchThemeTag=(e,t,n,o)=>p(e,t,n,o),at.querySelector=Qe,at.querySelectorAll=Xe,at.stringifyJson=De;const it=e=>"object"==typeof e&&null!==e,st=(e,t=0)=>"string"==typeof e&&e.length>=t,lt=e=>{if("object"!=typeof e||null===e)return st(e,1);for(const t in e)if(!1===st(t,1))return!1;return!0},ct=new Event("StateChange");export{Ce as A,Te as B,ne as C,st as D,J as E,lt as F,We as G,Qe as H,ee as I,nt as J,B as K,fe as L,Xe as M,ot as N,rt as O,De as P,re as Q,v as R,ct as S,K as T,k as X,at as a,Ee as b,be as c,z as d,me as e,we as f,V as g,E as h,e as i,it as j,ye as k,$e as l,_e as m,pe as n,Je as o,Ye as p,D as q,Fe as r,Be as s,oe as t,Se as u,ae as v,y as w,W as x,te as y,qe as z}
@@ -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 l,F as e}from"./index-B_bJG8-2.js";import{g as r}from"./Heading-wrhAEuG3.js";import{t as s}from"./i18n-DtLKn3Xt.js";import"./common-OzsC_6kt.js";import{t as a}from"./props-from-config-Ci0dILpz.js";import{b as i}from"./bem-registry-Crcs_65u.js";import{c as n}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-BJ4gGOph.js";import{B as c}from"./component-Cxdi6on4.js";import{r as d}from"./component-NEw1tN3M.js";import{I as p}from"./component-et0GdBuf.js";const m=i.forBlock("kol-alert")("icon"),f={error:{label:s("kol-error"),icon:"kolicon-alert-error"},info:{label:s("kol-info"),icon:"kolicon-alert-info"},warning:{label:s("kol-warning"),icon:"kolicon-alert-warning"},success:{label:s("kol-success"),icon:"kolicon-alert-success"},default:{label:s("kol-message"),icon:"kolicon-alert-info"}},u=({type:o="default"})=>{const r=f[o||"default"];return l(e,null,l("span",{class:"visually-hidden"},r.label),l(p,{class:m,label:"",icons:r.icon}))},k=i.forBlock("kol-alert"),b=k("closer"),h=k("content"),C=void 0,g=(e,i)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:g,hasCloser:j,headingId:v,label:y,level:B,refCloserButton:I,refCloserTooltip:w,type:x,variant:D}=e,A=o(e,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),O=s("kol-close-alert"),G=r(null!=B?B:0);return l(t,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===j,[`type-${x}`]:!0,[`variant-${D}`]:!0},role:p?"alert":void 0},A),l(u,{type:x}),!!(null==y?void 0:y.length)&&l(G,{class:n("kol-headline",`kol-headline--${G}`,k("heading",{[`h${B}`]:!0}),"kol-headline--single"),id:v},d(y)),j&&l(c,{accessKey:"",ariaControls:"",ariaDescription:a(y),ariaDescriptionId:f,ariaExpanded:C,ariaHasPopup:"",ariaSelected:C,class:n(b,"kol-close-button"),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:g,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:O,name:"",on:{},refButton:I,refTooltip:w,role:C,shortKey:"",tabIndex:C,tooltipAlign:"top",type:"button",variant:["normal"]}),l("div",{"aria-describedby":(null==y?void 0:y.length)?v:void 0,class:h},i))};export{g as A}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-B_bJG8-2.js";import{b as l}from"./bem-registry-Crcs_65u.js";import{B as s}from"./component-Cxdi6on4.js";import{S as r}from"./component-NEw1tN3M.js";const t=l.forBlock("kol-badge"),a=t("label"),n=t("smart-button"),e=({color:l,icons:e,label:i,smartButton:c})=>o("div",{class:t({"has-smart-button":void 0!==c}),style:{backgroundColor:l.backgroundColor,color:l.foregroundColor}},o(r,{class:a,id:null==c?void 0:c.labelId,allowMarkdown:!0,icons:e,label:i}),c&&o(s,Object.assign({},c.resolvedButton,{class:n,ariaDescriptionId:c.ariaDescriptionId,handleBlur:c.handleBlur,handleClick:c.handleClick,handleFocus:c.handleFocus,handleMouseDown:c.handleMouseDown,refButton:c.refSmartButton,refTooltip:c.refTooltip})),o("br",null));export{e as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{a as s}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-B_bJG8-2.js";import{c}from"./clsx-COFh-Vc8.js";import{g as r}from"./block-bem-DehcAQZQ.js";const m=(m,t)=>{var{block:e,modifiers:i,class:a,component:b="div"}=m,l=s(m,["block","modifiers","class","component"]);const n=r(e);return o(b,Object.assign({class:c(n(i),a)},l),t)};export{m as B}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{n as r}from"./common-OzsC_6kt.js";import{c as t,b as n,u as o,n as e,i as s,w as a,o as i}from"./props-from-config-Ci0dILpz.js";import{i as f}from"./validators-BVM40IEr.js";import{c as u}from"./component-ChuoBFI-.js";import{h as p}from"./index-B_bJG8-2.js";const c=(r,t)=>{let n="";return Array.isArray(r)&&r.forEach((r=>{n+="kol-"+t+"--"+r+" "})),n},l=t("accessKey","",n),d=t("ariaControls","",n),m=t("ariaDescription","",n),y=t("ariaExpanded","",(function(r){return o(r,"aria-expanded")})),b=t("customClass","",n,(function(r){return""===r||f(r)})),g=t("hideLabel",!1,e),h=t("inline",!0,e),v=["tab","treeitem"],j=t("role","",(function(r){if(""===r)return"";if(s(r,v))return r;throw new Error(`Invalid role: expected one of ${v.join(", ")}, got ${JSON.stringify(r)}`)})),I=t("shortKey","",n),x=t("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return a(r);if("string"==typeof r)return n(r);if("object"==typeof r)return a(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),w=t("tabIndex",0,i,void 0,{hints:(t,n)=>{"number"==typeof n&&n>0&&r(`Positive tabIndex values ("${n}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),C=u("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)})),E=({description:r,descriptionId:t})=>r?p("span",{class:"visually-hidden",id:t},r):null;export{E as A,l as a,d as b,m as c,I as d,C as e,y as f,b as g,g as h,h as i,c as j,j as l,x as s,w as t,A as v}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as s,F as n}from"./index-B_bJG8-2.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{b as r}from"./bem-registry-Crcs_65u.js";import{B as o}from"./component-BJ4gGOph.js";import{c as t,n as e,b as l,r as i}from"./props-from-config-Ci0dILpz.js";import"./common-OzsC_6kt.js";import{l as p}from"./label-BRosRgdX.js";const c=t("show",!1,e),m=["dot","cycle","none"],u=t("variant","dot",(s=>{const n=l(s);if(m.includes(n))return n;throw new Error(`Invalid spin variant: ${n}`)}),(()=>!0)),d={optional:[p,c,u]},f=r.forBlock("kol-spin"),b=f("loader"),h=["1","2","3","neutral"],j=r=>{const{show:t,label:e,variant:l}=i(d,r);return s(o,{block:"kol-spin"},t?s(n,null,s("span",{class:f("spinner",{[l]:!0})},function(n){switch(n){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return h.map((n=>s("span",{class:f("spinner-element",{[n]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||a("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||a("kol-action-done")))};export{j as S,c as a,d as s,u as v}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,b as t,i as r}from"./props-from-config-Ci0dILpz.js";import{h as s}from"./index-B_bJG8-2.js";import{b as i}from"./bem-registry-Crcs_65u.js";import{S as e}from"./component-NEw1tN3M.js";const a=["left","right","top","bottom"];function n(s,i){return o(s,i,(o=>{const i=t(o);if(r(i,a))return i;throw new Error(`Invalid ${s} value: ${i}`)}))}const l=i.forBlock("kol-tooltip"),c=({label:o,badgeText:t,id:r,refFloating:i})=>s("div",{class:l("floating"),hidden:!o,ref:i},s("div",{class:l("arrow")}),s(e,{class:l("content"),badgeText:t,id:r,label:o}));export{c as T,n as c}
@@ -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-B_bJG8-2.js";import"./common-OzsC_6kt.js";import{c as o,i as s,u as i,a as t,b as r,r as n,t as l}from"./props-from-config-Ci0dILpz.js";import{a as d,b as c,c as p,f as m,g as u,h as b,i as f,l as h,d as v,s as x,t as C,e as j,v as y,A as I,j as g}from"./component-CPq3i3I_.js";import{b as B}from"./bem-registry-Crcs_65u.js";import{c as k}from"./clsx-COFh-Vc8.js";import{B as w}from"./component-BJ4gGOph.js";import{S as D}from"./component-NEw1tN3M.js";import{T as F}from"./component-ChuoBFI-.js";import{d as O}from"./disabled-Cqhc40CU.js";import{i as E}from"./id-CIYvVaNr.js";import{l as K}from"./label-with-expert-slot-CicRes-W.js";const N=["dialog","false","grid","listbox","menu","tree","true"],P=o("ariaHasPopup","",(function(a){if(""===a)return"";if(s(a,N))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${N.join(", ")}, got ${JSON.stringify(a)}`)})),S=o("ariaSelected","",(function(a){return i(a,"aria-selected")})),T=t(),L=["button","reset","submit"],M=o("type","button",(function(a){const e=r(a);if(s(e,L))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>L.includes(a))),_=o("name","",r),q={required:[K],optional:[d,c,p,m,P,S,T,M,u,O,b,E,f,h,_,v,x,C,j,y]},H=B.forBlock("kol-button"),J=H("interactive-element"),$=H("text"),z=H("tooltip"),A=o=>{const s=n(q,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:d,ariaExpanded:c,ariaHasPopup:p,ariaSelected:m,class:u,customClass:b,disabled:f,handleBlur:h,handleClick:v,handleFocus:x,handleMouseDown:C,hideLabel:j,icons:y,id:B,inline:O,label:E,name:K,refButton:N,refTooltip:P,role:S,shortKey:T,tabIndex:L,type:M,variant:_}=s,H=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"]),A=i||T,G=l(E).length>0,V=r.trim().length>0;return e(w,Object.assign({block:"kol-button",class:k(u,{[g(_,"button")]:_.length>0,[b]:b.length>0}),modifiers:{disabled:f,"hide-label":j,inline:!0===O,standalone:!1===O}},H),e("button",{ref:N,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":V?d:void 0,"aria-expanded":c||void 0,"aria-haspopup":p||void 0,"aria-keyshortcuts":T||void 0,"aria-label":j&&G?l(E):void 0,"aria-selected":m||void 0,class:J,disabled:f,id:B||void 0,name:K||void 0,onBlur:h,onClick:v,onFocus:x,onMouseDown:C,role:S||void 0,tabIndex:L,type:M},e(D,{class:$,badgeText:A,icons:y,hideLabel:j,label:E},e("slot",{name:"expert",slot:"expert"}))),j&&G&&e("div",{class:z},e(F,{badgeText:A,label:E,refFloating:P})),V&&e(I,{description:r,descriptionId:d}))};export{A as B,S as a,q as b,T as c,M as d,P as e,_ as n}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{t as o}from"./i18n-DtLKn3Xt.js";import{r as s}from"./resolve-props-CHPFh7Tn.js";import{h as e}from"./index-B_bJG8-2.js";import{K as r}from"./Heading-wrhAEuG3.js";import{b as l}from"./bem-registry-Crcs_65u.js";import{c as a}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-Cxdi6on4.js";import{a as i,r as n}from"./props-from-config-Ci0dILpz.js";import{r as c}from"./component-NEw1tN3M.js";import"./common-OzsC_6kt.js";import{l as m}from"./level-CA1s1_Mf.js";import{h as p}from"./has-closer-B9NQY7BK.js";import{h as d}from"./href-JqLbNBsW.js";import{l as f}from"./label-lang-segment-2_GnxjFp.js";import{l as h}from"./link-target-FX94oqMo.js";const u=i(),j={required:[f],optional:[u,p,d,m,h]};function b(e){return s({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:o("kol-close"),_tooltipAlign:"top"},e)}const g=l.forBlock("kol-card"),C=g("close-button"),B=g("content"),v=g("header"),_=g("link"),k=()=>{},F=({headingId:o,label:s,level:l})=>e(r,{class:v,id:o,level:l},c(s)),I=(o,s)=>{const{ariaDescriptionId:r,class:l,closeButtonProps:i,handleBlur:c,handleClose:m,handleFocus:p,hasCloser:d,headingId:f,href:h,label:u,level:b,refCloseButton:v,refCta:I,refTooltip:x,target:D}=n(j,o);return e("article",{"aria-labelledby":f,class:a(g(),l)},h.length>0?e("a",{class:_,href:h,target:D||void 0,onBlur:c,onFocus:p,ref:I},e(F,{headingId:f,label:u,level:b})):e(F,{headingId:f,label:u,level:b}),e("div",{class:B},s),d&&e("div",{class:a(C,"kol-close-button")},e(t,Object.assign({},i,{ariaDescriptionId:r,handleBlur:k,handleClick:m,handleFocus:k,handleMouseDown:k,refButton:v,refTooltip:x}))))};export{I as C,u as a,j as c,b as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h as o}from"./index-B_bJG8-2.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{e}from"./common-OzsC_6kt.js";import{c as s,b as i,a as r,r as t,t as n}from"./props-from-config-Ci0dILpz.js";import{a as l,b as d,c,f as p,g as m,h as f,s as b,i as k,l as v,d as h,t as g,e as j,v as u,A as x,j as C}from"./component-CPq3i3I_.js";import{b as y}from"./bem-registry-Crcs_65u.js";import{c as _}from"./clsx-COFh-Vc8.js";import{p as w}from"./element-interaction-sGYdEpmv.js";import{B as I}from"./component-BJ4gGOph.js";import{I as L}from"./component-et0GdBuf.js";import{S as B}from"./component-NEw1tN3M.js";import{T as O}from"./component-ChuoBFI-.js";import{d as q}from"./disabled-Cqhc40CU.js";import{h as K}from"./href-JqLbNBsW.js";import{l as A}from"./label-with-expert-slot-CicRes-W.js";import{l as D}from"./link-target-FX94oqMo.js";const F=["date","location","page","step","time","true","false"],G=s("ariaCurrentValue","page",(function(o){const a=i(o);return F.includes(a)?a:"page"})),T=s("ariaOwns","",i),E=s("download",void 0,i),J=r(),M={required:[K],optional:[l,d,G,c,p,T,m,q,E,f,b,k,A,J,v,D,h,g,j,u]},N=y.forBlock("kol-link"),$=(s,i)=>{const{accessKey:r,ariaControls:l,ariaCurrent:d,ariaDescription:c,ariaDescriptionId:p,ariaExpanded:m,ariaOwns:f,class:b,customClass:k,disabled:v,download:h,handleAnchorClick:g,hideLabel:j,href:u,icons:y,inline:q,label:K,on:A,ref:D,refAnchor:F,refTooltip:G,role:T,shortKey:E,tabIndex:J,target:$,variant:z,expertSlot:S}=t(M,s),V=a("kol-open-link-in-tab"),W="string"==typeof $&&$.length>0&&"_self"!==$,X={href:"string"==typeof u&&u.length>0?u:"javascript:void(0);",target:"string"==typeof $&&$.length>0?$:void 0,rel:W?"noopener":void 0,download:"string"==typeof h?h:void 0};!0===j&&""===n(K)&&e("[KolLink] An aria-label must be set when _hide-label is set.");const P=null==c?void 0:c.trim(),R=T||void 0;return o(I,{block:"kol-link",ref:D,class:_(b,{[k]:z.includes("custom")&&k.length>0,[C(z,"link")]:z.length>0}),modifiers:{disabled:!0===v,"external-link":W,"hide-label":!0===j,inline:!0===q,standalone:!1===q}},o("a",Object.assign({ref:F},X,{href:X.href,accessKey:r||void 0,"aria-current":d||void 0,"aria-controls":l||void 0,"aria-describedby":P?p:void 0,"aria-disabled":v?"true":void 0,"aria-expanded":""===m?void 0:m,"aria-owns":f||void 0,"aria-label":j&&""!==n(K)?`${n(K)}${W?` (${V})`:""}`:void 0,"aria-keyshortcuts":E||void 0,class:N("interactive-element")},A,{onClick:g,onMouseDown:v?w:void 0,role:R,tabIndex:v?-1:J}),o(B,{class:"kol-link__text",badgeText:r||E,icons:y,hideLabel:j,label:S?"":K||u},i.length>0?i:o("slot",{name:"expert",slot:"expert"})),W&&o(L,{class:"kol-link__icon",label:j?"":V,icons:"kolicon-link-external","aria-hidden":j})),!0===j&&!S&&o("div",{class:"kol-link__tooltip"},o(O,{badgeText:r||E||"",label:"string"==typeof K?K:"string"==typeof u?u:"",refFloating:G})),P&&o(x,{description:P,descriptionId:p}))};export{$ as L,G as a,J as b,T as c,E as d,M as l}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{z as t,A as r}from"./common-OzsC_6kt.js";import{y as o}from"./props-from-config-Ci0dILpz.js";const a=(o,n,s,e=1)=>{const c=[Math.max(Math.min(Math.round(n[0]+e*Math.max(1,n[0]/100)),255),0),Math.max(Math.min(Math.round(n[1]+e*Math.max(1,n[1]/100)),255),0),Math.max(Math.min(Math.round(n[2]+e*Math.max(1,n[2]/100)),255),0)],g=r(t.hex(`rgba(${o.join(",")},1)`),t.hex(`rgba(${c.join(",")},1)`)),f=c[0]+c[1]+c[2];return 0===f||765===f||g>s?{background:o,foreground:c,contrast:g}:a(o,c,s,e)},n=(r,n=7)=>{let s=[0,0,0,1],e=[255,255,255,1];"string"==typeof r?(s=o(r),e=s):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(s=o(r.background),e="string"==typeof r.foreground?o(r.foreground):s);const c=((t,r,o)=>{const n=(299*t[0]+587*t[1]+114*t[2])/1e3>=128?-1:1,s=a(t,r,o,n);if(s.contrast>=o)return s;const e=a(t,r,o,-n);return e.contrast>s.contrast?e:s})([s[0],s[1],s[2]],[e[0],e[1],e[2]],n);return e=[...c.foreground,1],{background:t.hex(`rgba(${s.join(",")})`),foreground:t.hex(`rgba(${e.join(",")})`),contrast:c.contrast}};export{n as c}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{L as t,q as n,t as e,v as o,x as i,y as s}from"./common-OzsC_6kt.js";import{E as a}from"./index-B_bJG8-2.js";const r=()=>{let t=i().KoliBri;return void 0===t&&(t={},Object.defineProperty(i(),"KoliBri",{value:t,writable:!1})),t},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const t=n();if(!t||"function"!=typeof t.querySelector)return;const i=t.querySelector('meta[name="kolibri"]');if(i&&i.hasAttribute("content")){const t=i.getAttribute("content");"string"==typeof t&&(e(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}}catch(t){}})(),t.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${a.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),t.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);s()&&(m=()=>"nonce");const p=t=>`${t}-${m()}`,b=(t,n)=>{const e=t.lastIndexOf("-");if(-1===e)return`${t}-${n}`;const o=t.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${t.slice(0,e)}-${n}-${o}`:`${t}-${n}`};export{b as a,p as c,u as i,m as n,l as r}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,n as s}from"./props-from-config-Ci0dILpz.js";const p=o("disabled",!1,s);export{p as d}
@@ -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 o}from"./index-B_bJG8-2.js";import"./common-OzsC_6kt.js";import{s as l,b as i}from"./component-NEw1tN3M.js";import{a,g as r,b as s,i as t}from"./api-7B_iI89k.js";import{b as n}from"./bem-registry-Crcs_65u.js";import{a as d}from"./dev.utils-Bg7nZBMk.js";import{B as b}from"./component-BJ4gGOph.js";import{T as p}from"./component-ChuoBFI-.js";const c=n.forBlock("kol-field-control"),m=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,f=(n,f)=>{const{class:h,id:g,label:u,hint:j,hideLabel:B,labelAlign:k,infoPopover:y,accessKey:N,shortKey:O,tooltipAlign:v,disabled:T,msg:_,touched:K,required:P,readOnly:C,renderNoHint:I,renderNoTooltip:x,labelProps:A,refInput:L,refTooltip:q}=n,F=e(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),E=l(u),G=m({hideLabel:B,label:u,renderNoTooltip:x}),H=i(N,O),J=t(_,K),M=()=>o("div",{class:c("input"),ref:L},f),w=()=>G?o("div",{class:"kol-form-field__tooltip"},o(p,{badgeText:H||"",label:u,align:v,id:d(g,"label"),refFloating:q})):null,z=()=>o(s,Object.assign({},A,{id:g,baseClassName:"kol-field-control",class:B?"kol-field-control__label--visually-hidden":void 0,omitId:G,hasExpertSlot:E,label:u,accessKey:N,shortKey:O,infoPopover:y}));return o(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(T),required:Boolean(P),touched:Boolean(K),"hide-label":Boolean(B),"read-only":Boolean(C)},J?{[r(_)]:!0}:{}),{"label-align-left":"left"===k,"label-align-right":"right"===k}),class:h},F),"left"===k?[z(),M(),w()]:[M(),w(),z()],!I&&o(a,{baseClassName:"kol-field-control",id:g,hint:j}))};export{f as F,m as i}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as s,n as i}from"./props-from-config-Ci0dILpz.js";import{h as o}from"./index-B_bJG8-2.js";import{g as t}from"./block-bem-DehcAQZQ.js";import{a as e}from"./dev.utils-Bg7nZBMk.js";import{B as n}from"./api-7B_iI89k.js";import{b as r}from"./bem-registry-Crcs_65u.js";const a=s("hasClearButton",!0,i),h=t("kol-custom-suggestions-options-group"),l=t("kol-custom-suggestions-option"),c=({blockSuggestionMouseOver:s,onKeyDown:i,style:t,hidden:e,id:n},r)=>o("ul",{id:n,role:"listbox",style:t,class:h({"cursor-hidden":s,open:!e}),hidden:e,onKeyDown:i},r),d=({disabled:s,id:i,index:t,ref:e,selected:n,onClick:r,onMouseOver:a,onFocus:h,onKeyDown:c,option:d,searchTerm:u})=>o("li",{id:i,key:`-${t}`,ref:e,"data-index":t,tabIndex:-1,role:"option","aria-selected":n?"true":void 0,"aria-disabled":s?"true":void 0,onClick:r,onMouseOver:a,onFocus:h,class:l({disabled:Boolean(s)}),onKeyDown:c},o("span",null,((s,i)=>{if(!(null==i?void 0:i.trim()))return s;const t=new RegExp(`(${i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return s.split(t).map(((s,i)=>i%2==1?o("mark",null,s):s))})(String(d),u||"")));class u extends n{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(s){return e(this.id,`option-${s}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(s){var i;this.focusedIndex=s,null===(i=this.optionRefs[s])||void 0===i||i.focus()}moveFocusWrapping(s){let i=this.focusedIndex+s;const o=this.getOptionCount();i>=o&&(i=0),i<0&&(i=o-1),this.focusOption(i)}moveFocusSkippingDisabled(s,i,o){const t=this.getOptionCount();let e=this.focusedIndex+s;for(let s=0;s<t;s++){if(e>=t&&(e=0),e<0&&(e=t-1),!o(e))return void this.focusOption(e);e+=i}}handleListboxEvent(s,i,o){var t;s.preventDefault(),void 0!==i&&(this.isOpen=i,i||null===(t=this.ctaRef.el)||void 0===t||t.focus()),null==o||o()}handleListboxKeyDown(s){var i,o;switch(s.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0;const i=this.isOpen;this.handleListboxEvent(s,!0,(()=>i?this.moveFocus(-1,-1):this.focusLastOption()));break}case"Tab":this.isOpen&&(this.isOpen=!1,null===(i=this.ctaRef.el)||void 0===i||i.focus());break;case"Esc":case"Escape":this.isOpen&&(s.preventDefault(),this.isOpen=!1,null===(o=this.ctaRef.el)||void 0===o||o.focus());break;case" ":case"Enter":case"NumpadEnter":this.handleConfirmKey(s);break;case"Home":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusFirstOption())));break;case"End":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusLastOption())));break;case"PageUp":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}}const p={"kol-combobox":r.forBlock("kol-combobox")("group"),"kol-single-select":r.forBlock("kol-single-select")("group")},b=({block:s},i)=>o("div",{class:p[s]},i);export{u as B,d as C,b as L,c as a,a as h}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,n as s}from"./props-from-config-Ci0dILpz.js";const r=o("hasCloser",!1,s);export{r as h}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,b as r}from"./props-from-config-Ci0dILpz.js";const s=o("href","",r,(o=>"string"==typeof o));export{s as h}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- var e={"action-done":"Aktion abgeschlossen","action-running":"Aktion wird ausgeführt...","avatar-alt":"Avatar von {{name}}","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen","character-counter-max-aria":"Zeichenlimit erreicht!","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","clear-search":"Suche löschen",close:"Schließen","close-alert":"Benachrichtigung schließen","data-browse-text":"Datei auswählen","delete-selection":"Auswahl entfernen","entries-per-site":"Einträge pro Seite",error:"Fehler","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:","filename-text":"Datei auswählen oder hier ablegen...","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.","hide-password":"Passwort verbergen",info:"Hinweis","kolibri-logo":"Logo von KoliBri","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} von {{max}} {{unit}}",message:"Nachricht","meter-state-critical":"Kritisch","meter-state-optimum":"Optimal","meter-state-suboptimal":"Suboptimal","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","no-results-message":"Keine Ergebnisse gefunden.","open-link-in-tab":"Öffnet in neuem Tab.",page:"Seite","page-back":"Eine Seite zurück","page-first":"Direkt zur ersten Seite","page-last":"Direkt zur letzten Seite","page-next":"Eine Seite weiter",pagination:"Paginierung","pagination-position-bottom":"unten","pagination-position-top":"oben",readonly:"schreibgeschützt","show-password":"Passwort einblenden","show-suggestions":"Vorschläge anzeigen",sort:"sortieren","split-button-dropdown-label-open":"Optionen anzeigen",success:"Erfolg","table-data-loading":"Daten für Tabelle {{caption}} werden geladen.","table-data-loaded":"Daten für Tabelle {{caption}} wurden geladen.","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-selection":"Auswahl","table-selection-all":"Alle auswählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-selection-none":"Alle abwählen","table-settings":"Tabellenkonfiguration","table-settings-apply":"Übernehmen","table-settings-cancel":"Abbrechen","table-settings-column-hidable":'Spalte "{{column}}" ausblenden.',"table-settings-column-not-hidable":'Spalte "{{column}}" kann nicht ausgeblendet werden.',"table-settings-column-width":'Breite von Spalte "{{column}}" in Pixel.',"table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-move-down":'Spalte "{{column}}" nach unten verschieben.',"table-settings-move-up":'Spalte "{{column}}" nach oben verschieben.',"table-settings-not-move":'Spalte "{{column}}" kann nicht verschoben werden.',"table-sort-order":"Priorität {{order}}","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","toast-close-all":"Alle Benachrichtigungen schließen",version:"Versionsnummer",warning:"Warnung"},t={"action-done":"Action done","action-running":"Action is running...","avatar-alt":"Avatar of {{name}}","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters","character-counter-max-aria":"Character limit reached!","character-limit-exceeded":"You have {{over}} characters too many.","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","clear-search":"Clear search",close:"Close","close-alert":"Close notification","data-browse-text":"Browse","delete-selection":"Delete selection","entries-per-site":"Entries per page",error:"Error","error-list":"Error list","error-list-message":"Please correct the following errors","filename-text":"Choose a file or drop it here...","form-description":"Form fields marked with an asterisk (*) are mandatory.","hide-password":"Hide password",info:"Note","kolibri-logo":"KoliBri logo","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} of {{max}} {{unit}}",message:"Message","meter-state-critical":"Critical","meter-state-optimum":"Optimum","meter-state-suboptimal":"Suboptimal","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation",new:"New","no-entries":"No entries available.","no-results-message":"No results found.","open-link-in-tab":"Opens in new tab.",page:"Page","page-back":"One page back","page-first":"Directly to the first page","page-last":"Directly to the last page","page-next":"One page further",pagination:"Pagination","pagination-position-bottom":"bottom","pagination-position-top":"top",readonly:"read-only","show-password":"Show password","show-suggestions":"Show suggestions",sort:"sort","split-button-dropdown-label-open":"Show options",success:"Success","table-data-loading":"Data in table {{caption}} is loading.","table-data-loaded":"Data in table {{caption}} got loaded.","table-pagination-label":"Pagination for table {{label}}","table-selection":"Selection","table-selection-all":"Select all","table-selection-indeterminate":"Select all with partial selection","table-selection-none":"Deselect all","table-settings":"Table configuration","table-settings-apply":"Apply","table-settings-cancel":"Cancel","table-settings-column-hidable":'Hide column "{{column}}".',"table-settings-column-not-hidable":'Column "{{column}}" cannot be hidden.',"table-settings-column-width":'Width of column "{{column}}" in pixel.',"table-settings-error-all-invisible":"At least one column must be visible.","table-settings-move-down":'Move column "{{column}}" down.',"table-settings-move-up":'Move column "{{column}}" up.',"table-settings-not-move":'Column "{{column}}" cannot be moved.',"table-sort-order":"Priority {{order}}","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","toast-close-all":"Close all notifications",version:"Version number",warning:"Warning"};const n=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),a=new Set([e=>e("en",n(t)),t=>t("de",n(e))]);class i{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){var n;let a=null===(n=this.resourceMap.get(this.language))||void 0===n?void 0:n.get(e);return a?(null==t?void 0:t.placeholders)&&Object.entries(t.placeholders).forEach((([e,t])=>{var n;n=t,a=a.split(`{{${e}}}`).join(n)})):a=e,a}}let r;const o=()=>r,l=(e,t=a)=>(r=new i(e),r.addTranslations(t),r);export{o as g,l as i}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{g as o,i as r}from"./i18n-Dl6Jjofb.js";import{y as s}from"./common-OzsC_6kt.js";let t=(s,t)=>{var m;return(null!==(m=o())&&void 0!==m?m:r("de")).translate(s,t)};s()&&(t=o=>o);export{t}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{c as o,b as s}from"./props-from-config-Ci0dILpz.js";const i=o("id","",s);export{i}