@public-ui/components 4.1.1-rc.1 → 4.1.1-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.json +1 -0
  3. package/assets/kolicons/kolicons.svg +4 -1
  4. package/assets/kolicons/kolicons.ttf +0 -0
  5. package/assets/kolicons/kolicons.woff +0 -0
  6. package/assets/kolicons/kolicons.woff2 +0 -0
  7. package/assets/kolicons/style.css +8 -7
  8. package/custom-elements.json +1 -1
  9. package/dist/cjs/{Alert-Db_ZEbGF.js → Alert-C3hMI3oh.js} +1 -1
  10. package/dist/cjs/{Alert-Db_ZEbGF.js.map → Alert-C3hMI3oh.js.map} +1 -1
  11. package/dist/cjs/{Collapsible-PRnFyRUg.js → Collapsible-BuDTPOMO.js} +1 -1
  12. package/dist/cjs/{Collapsible-PRnFyRUg.js.map → Collapsible-BuDTPOMO.js.map} +1 -1
  13. package/dist/cjs/{CustomSuggestionsOptionsGroup-BUi1zYwc.js → CustomSuggestionsOptionsGroup-DBavM4MR.js} +1 -1
  14. package/dist/cjs/{CustomSuggestionsOptionsGroup-BUi1zYwc.js.map → CustomSuggestionsOptionsGroup-DBavM4MR.js.map} +1 -1
  15. package/dist/cjs/{FieldControlStateWrapper-BJlxfzl8.js → FieldControlStateWrapper-DUh-vPos.js} +1 -1
  16. package/dist/cjs/{FieldControlStateWrapper-BJlxfzl8.js.map → FieldControlStateWrapper-DUh-vPos.js.map} +1 -1
  17. package/dist/cjs/{FormFieldStateWrapper-BuI8MZey.js → FormFieldStateWrapper-DiKfF9vY.js} +1 -1
  18. package/dist/cjs/{FormFieldStateWrapper-BuI8MZey.js.map → FormFieldStateWrapper-DiKfF9vY.js.map} +1 -1
  19. package/dist/cjs/{Heading-BxFn-5MB.js → Heading-g4x-f4VX.js} +1 -1
  20. package/dist/cjs/{Heading-BxFn-5MB.js.map → Heading-g4x-f4VX.js.map} +1 -1
  21. package/dist/cjs/{Icon-C4f2m8-1.js → Icon-xQM_BPGN.js} +1 -1
  22. package/dist/cjs/{Icon-C4f2m8-1.js.map → Icon-xQM_BPGN.js.map} +1 -1
  23. package/dist/cjs/{Input-BSSIWKSb.js → Input-PNxPL0-E.js} +1 -1
  24. package/dist/cjs/{Input-BSSIWKSb.js.map → Input-PNxPL0-E.js.map} +1 -1
  25. package/dist/cjs/{InputStateWrapper-LfZ-7FVe.js → InputStateWrapper-DVaoUrs_.js} +1 -1
  26. package/dist/cjs/{InputStateWrapper-LfZ-7FVe.js.map → InputStateWrapper-DVaoUrs_.js.map} +1 -1
  27. package/dist/cjs/{InternalUnderlinedBadgeText-UMxcIT5f.js → InternalUnderlinedBadgeText-C63kz_7k.js} +1 -1
  28. package/dist/cjs/{InternalUnderlinedBadgeText-UMxcIT5f.js.map → InternalUnderlinedBadgeText-C63kz_7k.js.map} +1 -1
  29. package/dist/cjs/{Span-Bbfquyqf.js → Span-DbRr6xgU.js} +1 -1
  30. package/dist/cjs/{Span-Bbfquyqf.js.map → Span-DbRr6xgU.js.map} +1 -1
  31. package/dist/cjs/{app-globals-DwfsOZ9N.js → app-globals-DBFGa66N.js} +1 -1
  32. package/dist/cjs/{app-globals-DwfsOZ9N.js.map → app-globals-DBFGa66N.js.map} +1 -1
  33. package/dist/cjs/base-controller-DH3vQNQ9.js +4 -0
  34. package/dist/cjs/base-controller-DH3vQNQ9.js.map +1 -0
  35. package/dist/cjs/{controller-BZcJinG_.js → controller-B2k6zItW.js} +1 -1
  36. package/dist/cjs/{controller-BZcJinG_.js.map → controller-B2k6zItW.js.map} +1 -1
  37. package/dist/cjs/controller-B7FTgo5S.js +4 -0
  38. package/dist/cjs/{controller-D9u3kano.js.map → controller-B7FTgo5S.js.map} +1 -1
  39. package/dist/cjs/{controller-Dy3aGyVD.js → controller-BUoe5mSY.js} +1 -1
  40. package/dist/cjs/{controller-Dy3aGyVD.js.map → controller-BUoe5mSY.js.map} +1 -1
  41. package/dist/cjs/{controller-B6NQTXWH.js → controller-DbjuLf_n.js} +1 -1
  42. package/dist/cjs/controller-DbjuLf_n.js.map +1 -0
  43. package/dist/cjs/{controller-icon-BC2BKHwx.js → controller-icon-Bye_-lO8.js} +1 -1
  44. package/dist/cjs/{controller-icon-BC2BKHwx.js.map → controller-icon-Bye_-lO8.js.map} +1 -1
  45. package/dist/cjs/{dev.utils-DphBw782.js → dev.utils-JTxdbgzS.js} +1 -1
  46. package/dist/cjs/{dev.utils-DphBw782.js.map → dev.utils-JTxdbgzS.js.map} +1 -1
  47. package/dist/cjs/{devtools-CMTh3yM9.js → devtools-vHnumVA-.js} +1 -1
  48. package/dist/cjs/{devtools-CMTh3yM9.js.map → devtools-vHnumVA-.js.map} +1 -1
  49. package/dist/cjs/{index-R5lmd7Z_.js → index-0zHTL6Wf.js} +1 -1
  50. package/dist/cjs/{index-R5lmd7Z_.js.map → index-0zHTL6Wf.js.map} +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  57. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  67. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  75. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  80. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  82. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  84. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  86. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  88. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  90. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  92. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  105. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  115. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  129. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  132. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  141. package/dist/cjs/kolibri.cjs.js +1 -1
  142. package/dist/cjs/label-paexHNB6.js +4 -0
  143. package/dist/cjs/{label-Cnh0Go2j.js.map → label-paexHNB6.js.map} +1 -1
  144. package/dist/cjs/loader.cjs.js +1 -1
  145. package/dist/cjs/src-BTSBdFm2.js +4 -0
  146. package/dist/cjs/{src-DqQgiFGx.js.map → src-BTSBdFm2.js.map} +1 -1
  147. package/dist/cjs/{table-selection-BHuuc8i2.js → table-selection-AQ4G1V6h.js} +1 -1
  148. package/dist/cjs/table-selection-AQ4G1V6h.js.map +1 -0
  149. package/dist/cjs/test-component.cjs.entry.js +1 -1
  150. package/dist/components/base-controller.js +1 -1
  151. package/dist/components/base-controller.js.map +1 -1
  152. package/dist/components/controller2.js +1 -1
  153. package/dist/components/controller2.js.map +1 -1
  154. package/dist/components/kol-avatar.js +1 -1
  155. package/dist/components/kol-avatar.js.map +1 -1
  156. package/dist/components/kol-combobox.js +1 -1
  157. package/dist/components/kol-combobox.js.map +1 -1
  158. package/dist/components/kol-icon.js +1 -1
  159. package/dist/components/kol-icon.js.map +1 -1
  160. package/dist/components/kol-image.js +1 -1
  161. package/dist/components/kol-image.js.map +1 -1
  162. package/dist/components/kol-input-color.js +1 -1
  163. package/dist/components/kol-input-color.js.map +1 -1
  164. package/dist/components/kol-input-date.js +1 -1
  165. package/dist/components/kol-input-date.js.map +1 -1
  166. package/dist/components/kol-input-email.js +1 -1
  167. package/dist/components/kol-input-email.js.map +1 -1
  168. package/dist/components/kol-input-file.js +1 -1
  169. package/dist/components/kol-input-file.js.map +1 -1
  170. package/dist/components/kol-input-number.js +1 -1
  171. package/dist/components/kol-input-number.js.map +1 -1
  172. package/dist/components/kol-input-password.js +1 -1
  173. package/dist/components/kol-input-password.js.map +1 -1
  174. package/dist/components/kol-input-radio.js +1 -1
  175. package/dist/components/kol-input-radio.js.map +1 -1
  176. package/dist/components/kol-input-range.js +1 -1
  177. package/dist/components/kol-input-range.js.map +1 -1
  178. package/dist/components/kol-input-text.js +1 -1
  179. package/dist/components/kol-input-text.js.map +1 -1
  180. package/dist/components/kol-pagination.js +1 -1
  181. package/dist/components/kol-pagination.js.map +1 -1
  182. package/dist/components/kol-progress.js +1 -1
  183. package/dist/components/kol-progress.js.map +1 -1
  184. package/dist/components/kol-quote.js +1 -1
  185. package/dist/components/kol-quote.js.map +1 -1
  186. package/dist/components/kol-select.js +1 -1
  187. package/dist/components/kol-select.js.map +1 -1
  188. package/dist/components/kol-single-select.js +1 -1
  189. package/dist/components/kol-single-select.js.map +1 -1
  190. package/dist/components/kol-skeleton.js +1 -1
  191. package/dist/components/kol-skeleton.js.map +1 -1
  192. package/dist/components/kol-table-stateful.js +1 -1
  193. package/dist/components/kol-table-stateful.js.map +1 -1
  194. package/dist/components/kol-table-stateless-wc.js +1 -1
  195. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  196. package/dist/components/kol-table-stateless.js +1 -1
  197. package/dist/components/kol-table-stateless.js.map +1 -1
  198. package/dist/components/kol-textarea.js +1 -1
  199. package/dist/components/kol-textarea.js.map +1 -1
  200. package/dist/components/kol-toolbar.js +1 -1
  201. package/dist/components/kol-toolbar.js.map +1 -1
  202. package/dist/components/table-selection.js +1 -1
  203. package/dist/components/table-selection.js.map +1 -1
  204. package/dist/esm/{Alert-DY4wIJCN.js → Alert-DJWeD9Xz.js} +1 -1
  205. package/dist/{kolibri/Alert-DY4wIJCN.js.map → esm/Alert-DJWeD9Xz.js.map} +1 -1
  206. package/dist/esm/{Collapsible-Upq6chrL.js → Collapsible-C6YbGDhK.js} +1 -1
  207. package/dist/esm/{Collapsible-Upq6chrL.js.map → Collapsible-C6YbGDhK.js.map} +1 -1
  208. package/dist/esm/{CustomSuggestionsOptionsGroup-wGKqStNB.js → CustomSuggestionsOptionsGroup-BBiujBa7.js} +1 -1
  209. package/dist/{kolibri/CustomSuggestionsOptionsGroup-wGKqStNB.js.map → esm/CustomSuggestionsOptionsGroup-BBiujBa7.js.map} +1 -1
  210. package/dist/esm/{FieldControlStateWrapper-DCIZHOWR.js → FieldControlStateWrapper-D0fzj9Oy.js} +1 -1
  211. package/dist/esm/{FieldControlStateWrapper-DCIZHOWR.js.map → FieldControlStateWrapper-D0fzj9Oy.js.map} +1 -1
  212. package/dist/esm/{FormFieldStateWrapper-C5-XgdrG.js → FormFieldStateWrapper-BFyiN9EY.js} +1 -1
  213. package/dist/{kolibri/FormFieldStateWrapper-C5-XgdrG.js.map → esm/FormFieldStateWrapper-BFyiN9EY.js.map} +1 -1
  214. package/dist/esm/{Heading-DjpTyUay.js → Heading-Cp72eQOw.js} +1 -1
  215. package/dist/esm/{Heading-DjpTyUay.js.map → Heading-Cp72eQOw.js.map} +1 -1
  216. package/dist/esm/{Icon-DFoU1x_z.js → Icon-BI9iw7pD.js} +1 -1
  217. package/dist/esm/{Icon-DFoU1x_z.js.map → Icon-BI9iw7pD.js.map} +1 -1
  218. package/dist/esm/{Input-CiOaVStR.js → Input-DXQUCRHF.js} +1 -1
  219. package/dist/esm/{Input-CiOaVStR.js.map → Input-DXQUCRHF.js.map} +1 -1
  220. package/dist/esm/{InputStateWrapper-Cq9j-3jw.js → InputStateWrapper-D7DYAs_8.js} +1 -1
  221. package/dist/{kolibri/InputStateWrapper-Cq9j-3jw.js.map → esm/InputStateWrapper-D7DYAs_8.js.map} +1 -1
  222. package/dist/esm/{InternalUnderlinedBadgeText-BCOuG2r0.js → InternalUnderlinedBadgeText-DLXbDpmD.js} +1 -1
  223. package/dist/{kolibri/InternalUnderlinedBadgeText-BCOuG2r0.js.map → esm/InternalUnderlinedBadgeText-DLXbDpmD.js.map} +1 -1
  224. package/dist/esm/{Span-AR30plJF.js → Span-BXTwASbu.js} +1 -1
  225. package/dist/esm/{Span-AR30plJF.js.map → Span-BXTwASbu.js.map} +1 -1
  226. package/dist/esm/{app-globals-BTeg0whH.js → app-globals-BOEnxU7e.js} +1 -1
  227. package/dist/esm/{app-globals-BTeg0whH.js.map → app-globals-BOEnxU7e.js.map} +1 -1
  228. package/dist/esm/base-controller-DXBNrrLx.js +4 -0
  229. package/dist/esm/base-controller-DXBNrrLx.js.map +1 -0
  230. package/dist/esm/{controller-jiynKPwh.js → controller-BaXjr15p.js} +1 -1
  231. package/dist/{kolibri/controller-jiynKPwh.js.map → esm/controller-BaXjr15p.js.map} +1 -1
  232. package/dist/esm/controller-CseHvmhJ.js +4 -0
  233. package/dist/esm/controller-CseHvmhJ.js.map +1 -0
  234. package/dist/esm/{controller-CrtH_HOv.js → controller-D61Uz9xi.js} +1 -1
  235. package/dist/esm/{controller-CrtH_HOv.js.map → controller-D61Uz9xi.js.map} +1 -1
  236. package/dist/esm/{controller-icon-40qRNTz0.js → controller-icon-DKRqmDU2.js} +1 -1
  237. package/dist/esm/{controller-icon-40qRNTz0.js.map → controller-icon-DKRqmDU2.js.map} +1 -1
  238. package/dist/esm/{controller-BErnEI7p.js → controller-vTikIczD.js} +1 -1
  239. package/dist/esm/{controller-BErnEI7p.js.map → controller-vTikIczD.js.map} +1 -1
  240. package/dist/esm/{dev.utils-DNEGN6vR.js → dev.utils-DEjbEXtH.js} +1 -1
  241. package/dist/esm/{dev.utils-DNEGN6vR.js.map → dev.utils-DEjbEXtH.js.map} +1 -1
  242. package/dist/esm/{devtools-DN64MIzS.js → devtools-CeSDfGe0.js} +1 -1
  243. package/dist/{kolibri/devtools-DN64MIzS.js.map → esm/devtools-CeSDfGe0.js.map} +1 -1
  244. package/dist/esm/{index-rqIkzkgG.js → index-CHdBQ7XR.js} +1 -1
  245. package/dist/esm/{index-rqIkzkgG.js.map → index-CHdBQ7XR.js.map} +1 -1
  246. package/dist/esm/kol-abbr.entry.js +1 -1
  247. package/dist/esm/kol-accordion.entry.js +1 -1
  248. package/dist/esm/kol-alert-wc.entry.js +1 -1
  249. package/dist/esm/kol-alert.entry.js +1 -1
  250. package/dist/esm/kol-avatar.entry.js +1 -1
  251. package/dist/esm/kol-avatar.entry.js.map +1 -1
  252. package/dist/esm/kol-badge.entry.js +1 -1
  253. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  254. package/dist/esm/kol-button-link.entry.js +1 -1
  255. package/dist/esm/kol-button-wc.entry.js +1 -1
  256. package/dist/esm/kol-button.entry.js +1 -1
  257. package/dist/esm/kol-card-wc.entry.js +1 -1
  258. package/dist/esm/kol-card.entry.js +1 -1
  259. package/dist/esm/kol-click-button.entry.js +1 -1
  260. package/dist/esm/kol-combobox.entry.js +1 -1
  261. package/dist/esm/kol-combobox.entry.js.map +1 -1
  262. package/dist/esm/kol-details.entry.js +1 -1
  263. package/dist/esm/kol-dialog-wc.entry.js +1 -1
  264. package/dist/esm/kol-dialog.entry.js +1 -1
  265. package/dist/esm/kol-drawer.entry.js +1 -1
  266. package/dist/esm/kol-form.entry.js +1 -1
  267. package/dist/esm/kol-heading.entry.js +1 -1
  268. package/dist/esm/kol-icon.entry.js +1 -1
  269. package/dist/esm/kol-icon.entry.js.map +1 -1
  270. package/dist/esm/kol-image.entry.js +1 -1
  271. package/dist/esm/kol-image.entry.js.map +1 -1
  272. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  273. package/dist/esm/kol-input-color.entry.js +1 -1
  274. package/dist/esm/kol-input-color.entry.js.map +1 -1
  275. package/dist/esm/kol-input-date.entry.js +1 -1
  276. package/dist/esm/kol-input-date.entry.js.map +1 -1
  277. package/dist/esm/kol-input-email.entry.js +1 -1
  278. package/dist/esm/kol-input-email.entry.js.map +1 -1
  279. package/dist/esm/kol-input-file.entry.js +1 -1
  280. package/dist/esm/kol-input-file.entry.js.map +1 -1
  281. package/dist/esm/kol-input-number.entry.js +1 -1
  282. package/dist/esm/kol-input-number.entry.js.map +1 -1
  283. package/dist/esm/kol-input-password.entry.js +1 -1
  284. package/dist/esm/kol-input-password.entry.js.map +1 -1
  285. package/dist/esm/kol-input-radio.entry.js +1 -1
  286. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  287. package/dist/esm/kol-input-range.entry.js +1 -1
  288. package/dist/esm/kol-input-range.entry.js.map +1 -1
  289. package/dist/esm/kol-input-text.entry.js +1 -1
  290. package/dist/esm/kol-input-text.entry.js.map +1 -1
  291. package/dist/esm/kol-kolibri.entry.js +1 -1
  292. package/dist/esm/kol-link-button.entry.js +1 -1
  293. package/dist/esm/kol-link-wc.entry.js +1 -1
  294. package/dist/esm/kol-link.entry.js +1 -1
  295. package/dist/esm/kol-modal.entry.js +1 -1
  296. package/dist/esm/kol-nav.entry.js +1 -1
  297. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  298. package/dist/esm/kol-pagination.entry.js +1 -1
  299. package/dist/esm/kol-pagination.entry.js.map +1 -1
  300. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  301. package/dist/esm/kol-popover-button.entry.js +1 -1
  302. package/dist/esm/kol-popover-wc.entry.js +1 -1
  303. package/dist/esm/kol-progress.entry.js +1 -1
  304. package/dist/esm/kol-progress.entry.js.map +1 -1
  305. package/dist/esm/kol-quote.entry.js +1 -1
  306. package/dist/esm/kol-quote.entry.js.map +1 -1
  307. package/dist/esm/kol-select-wc.entry.js +1 -1
  308. package/dist/esm/kol-select.entry.js +1 -1
  309. package/dist/esm/kol-select.entry.js.map +1 -1
  310. package/dist/esm/kol-single-select.entry.js +1 -1
  311. package/dist/esm/kol-single-select.entry.js.map +1 -1
  312. package/dist/esm/kol-skeleton.entry.js +1 -1
  313. package/dist/esm/kol-skeleton.entry.js.map +1 -1
  314. package/dist/esm/kol-skip-nav.entry.js +1 -1
  315. package/dist/esm/kol-spin.entry.js +1 -1
  316. package/dist/esm/kol-split-button.entry.js +1 -1
  317. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  318. package/dist/esm/kol-table-stateful.entry.js +1 -1
  319. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  320. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  321. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  322. package/dist/esm/kol-table-stateless.entry.js +1 -1
  323. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  324. package/dist/esm/kol-tabs.entry.js +1 -1
  325. package/dist/esm/kol-textarea.entry.js +1 -1
  326. package/dist/esm/kol-textarea.entry.js.map +1 -1
  327. package/dist/esm/kol-toast-container.entry.js +1 -1
  328. package/dist/esm/kol-toolbar.entry.js +1 -1
  329. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  330. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  331. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  332. package/dist/esm/kol-tree-item.entry.js +1 -1
  333. package/dist/esm/kol-tree-wc.entry.js +1 -1
  334. package/dist/esm/kol-tree.entry.js +1 -1
  335. package/dist/esm/kol-version.entry.js +1 -1
  336. package/dist/esm/kolibri.js +1 -1
  337. package/dist/esm/label-DVazFQSR.js +4 -0
  338. package/dist/esm/{label-dDkswsUq.js.map → label-DVazFQSR.js.map} +1 -1
  339. package/dist/esm/loader.js +1 -1
  340. package/dist/esm/{src-CdIzLWIb.js → src-CcGoBQSj.js} +1 -1
  341. package/dist/esm/{src-CdIzLWIb.js.map → src-CcGoBQSj.js.map} +1 -1
  342. package/dist/esm/table-selection-DAMWzd6x.js +4 -0
  343. package/dist/esm/table-selection-DAMWzd6x.js.map +1 -0
  344. package/dist/esm/test-component.entry.js +1 -1
  345. package/dist/kolibri/Alert-DJWeD9Xz.js +4 -0
  346. package/dist/{esm/Alert-DY4wIJCN.js.map → kolibri/Alert-DJWeD9Xz.js.map} +1 -1
  347. package/dist/kolibri/{Collapsible-Upq6chrL.js → Collapsible-C6YbGDhK.js} +1 -1
  348. package/dist/kolibri/{Collapsible-Upq6chrL.js.map → Collapsible-C6YbGDhK.js.map} +1 -1
  349. package/dist/kolibri/{CustomSuggestionsOptionsGroup-wGKqStNB.js → CustomSuggestionsOptionsGroup-BBiujBa7.js} +1 -1
  350. package/dist/{esm/CustomSuggestionsOptionsGroup-wGKqStNB.js.map → kolibri/CustomSuggestionsOptionsGroup-BBiujBa7.js.map} +1 -1
  351. package/dist/kolibri/FieldControlStateWrapper-D0fzj9Oy.js +4 -0
  352. package/dist/kolibri/{FieldControlStateWrapper-DCIZHOWR.js.map → FieldControlStateWrapper-D0fzj9Oy.js.map} +1 -1
  353. package/dist/kolibri/FormFieldStateWrapper-BFyiN9EY.js +4 -0
  354. package/dist/{esm/FormFieldStateWrapper-C5-XgdrG.js.map → kolibri/FormFieldStateWrapper-BFyiN9EY.js.map} +1 -1
  355. package/dist/kolibri/Heading-Cp72eQOw.js +4 -0
  356. package/dist/kolibri/{Heading-DjpTyUay.js.map → Heading-Cp72eQOw.js.map} +1 -1
  357. package/dist/kolibri/{Icon-DFoU1x_z.js → Icon-BI9iw7pD.js} +1 -1
  358. package/dist/kolibri/{Icon-DFoU1x_z.js.map → Icon-BI9iw7pD.js.map} +1 -1
  359. package/dist/kolibri/{Input-CiOaVStR.js → Input-DXQUCRHF.js} +1 -1
  360. package/dist/kolibri/{Input-CiOaVStR.js.map → Input-DXQUCRHF.js.map} +1 -1
  361. package/dist/kolibri/{InputStateWrapper-Cq9j-3jw.js → InputStateWrapper-D7DYAs_8.js} +1 -1
  362. package/dist/{esm/InputStateWrapper-Cq9j-3jw.js.map → kolibri/InputStateWrapper-D7DYAs_8.js.map} +1 -1
  363. package/dist/kolibri/{InternalUnderlinedBadgeText-BCOuG2r0.js → InternalUnderlinedBadgeText-DLXbDpmD.js} +1 -1
  364. package/dist/{esm/InternalUnderlinedBadgeText-BCOuG2r0.js.map → kolibri/InternalUnderlinedBadgeText-DLXbDpmD.js.map} +1 -1
  365. package/dist/kolibri/Span-BXTwASbu.js +4 -0
  366. package/dist/kolibri/{Span-AR30plJF.js.map → Span-BXTwASbu.js.map} +1 -1
  367. package/dist/kolibri/app-globals-BOEnxU7e.js +4 -0
  368. package/dist/kolibri/{app-globals-BTeg0whH.js.map → app-globals-BOEnxU7e.js.map} +1 -1
  369. package/dist/kolibri/base-controller-DXBNrrLx.js +4 -0
  370. package/dist/kolibri/base-controller-DXBNrrLx.js.map +1 -0
  371. package/dist/kolibri/{controller-jiynKPwh.js → controller-BaXjr15p.js} +1 -1
  372. package/dist/{esm/controller-jiynKPwh.js.map → kolibri/controller-BaXjr15p.js.map} +1 -1
  373. package/dist/kolibri/controller-CseHvmhJ.js +4 -0
  374. package/dist/kolibri/controller-CseHvmhJ.js.map +1 -0
  375. package/dist/kolibri/{controller-CrtH_HOv.js → controller-D61Uz9xi.js} +1 -1
  376. package/dist/kolibri/{controller-CrtH_HOv.js.map → controller-D61Uz9xi.js.map} +1 -1
  377. package/dist/kolibri/{controller-icon-40qRNTz0.js → controller-icon-DKRqmDU2.js} +1 -1
  378. package/dist/kolibri/{controller-icon-40qRNTz0.js.map → controller-icon-DKRqmDU2.js.map} +1 -1
  379. package/dist/kolibri/{controller-BErnEI7p.js → controller-vTikIczD.js} +1 -1
  380. package/dist/kolibri/{controller-BErnEI7p.js.map → controller-vTikIczD.js.map} +1 -1
  381. package/dist/kolibri/{dev.utils-DNEGN6vR.js → dev.utils-DEjbEXtH.js} +1 -1
  382. package/dist/kolibri/{dev.utils-DNEGN6vR.js.map → dev.utils-DEjbEXtH.js.map} +1 -1
  383. package/dist/kolibri/{devtools-DN64MIzS.js → devtools-CeSDfGe0.js} +1 -1
  384. package/dist/{esm/devtools-DN64MIzS.js.map → kolibri/devtools-CeSDfGe0.js.map} +1 -1
  385. package/dist/kolibri/{index-rqIkzkgG.js → index-CHdBQ7XR.js} +1 -1
  386. package/dist/kolibri/{index-rqIkzkgG.js.map → index-CHdBQ7XR.js.map} +1 -1
  387. package/dist/kolibri/kol-abbr.entry.js +1 -1
  388. package/dist/kolibri/kol-accordion.entry.js +1 -1
  389. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  390. package/dist/kolibri/kol-alert.entry.js +1 -1
  391. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  392. package/dist/kolibri/kol-avatar.entry.js +1 -1
  393. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  394. package/dist/kolibri/kol-badge.entry.js +1 -1
  395. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  396. package/dist/kolibri/kol-button-link.entry.js +1 -1
  397. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  398. package/dist/kolibri/kol-button.entry.js +1 -1
  399. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  400. package/dist/kolibri/kol-card.entry.js +1 -1
  401. package/dist/kolibri/kol-click-button.entry.js +1 -1
  402. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  403. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  404. package/dist/kolibri/kol-combobox.entry.js +1 -1
  405. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  406. package/dist/kolibri/kol-details.entry.js +1 -1
  407. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  408. package/dist/kolibri/kol-dialog.entry.js +1 -1
  409. package/dist/kolibri/kol-drawer.entry.js +1 -1
  410. package/dist/kolibri/kol-form.entry.js +1 -1
  411. package/dist/kolibri/kol-heading.entry.js +1 -1
  412. package/dist/kolibri/kol-icon.entry.esm.js.map +1 -1
  413. package/dist/kolibri/kol-icon.entry.js +1 -1
  414. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  415. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  416. package/dist/kolibri/kol-image.entry.js +1 -1
  417. package/dist/kolibri/kol-image.entry.js.map +1 -1
  418. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  419. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  420. package/dist/kolibri/kol-input-color.entry.js +1 -1
  421. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  422. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  423. package/dist/kolibri/kol-input-date.entry.js +1 -1
  424. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  425. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  426. package/dist/kolibri/kol-input-email.entry.js +1 -1
  427. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  428. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  429. package/dist/kolibri/kol-input-file.entry.js +1 -1
  430. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  431. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  432. package/dist/kolibri/kol-input-number.entry.js +1 -1
  433. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  434. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  435. package/dist/kolibri/kol-input-password.entry.js +1 -1
  436. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  437. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  438. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  439. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  440. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  441. package/dist/kolibri/kol-input-range.entry.js +1 -1
  442. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  443. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  444. package/dist/kolibri/kol-input-text.entry.js +1 -1
  445. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  446. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  447. package/dist/kolibri/kol-link-button.entry.js +1 -1
  448. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  449. package/dist/kolibri/kol-link.entry.js +1 -1
  450. package/dist/kolibri/kol-modal.entry.js +1 -1
  451. package/dist/kolibri/kol-nav.entry.js +1 -1
  452. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  453. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  454. package/dist/kolibri/kol-pagination.entry.js +1 -1
  455. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  456. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  457. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  458. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  459. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  460. package/dist/kolibri/kol-progress.entry.js +1 -1
  461. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  462. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  463. package/dist/kolibri/kol-quote.entry.js +1 -1
  464. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  465. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  466. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  467. package/dist/kolibri/kol-select.entry.js +1 -1
  468. package/dist/kolibri/kol-select.entry.js.map +1 -1
  469. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  470. package/dist/kolibri/kol-single-select.entry.js +1 -1
  471. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  472. package/dist/kolibri/kol-skeleton.entry.esm.js.map +1 -1
  473. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  474. package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
  475. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  476. package/dist/kolibri/kol-spin.entry.js +1 -1
  477. package/dist/kolibri/kol-split-button.entry.js +1 -1
  478. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  479. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  480. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  481. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  482. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  483. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  484. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  485. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  486. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  487. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  488. package/dist/kolibri/kol-tabs.entry.js +1 -1
  489. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  490. package/dist/kolibri/kol-textarea.entry.js +1 -1
  491. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  492. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  493. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  494. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  495. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  496. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  497. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  498. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  499. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  500. package/dist/kolibri/kol-tree.entry.js +1 -1
  501. package/dist/kolibri/kol-version.entry.js +1 -1
  502. package/dist/kolibri/kolibri.esm.js +1 -1
  503. package/dist/kolibri/label-DVazFQSR.js +4 -0
  504. package/dist/kolibri/{label-dDkswsUq.js.map → label-DVazFQSR.js.map} +1 -1
  505. package/dist/kolibri/src-CcGoBQSj.js +4 -0
  506. package/dist/kolibri/{src-CdIzLWIb.js.map → src-CcGoBQSj.js.map} +1 -1
  507. package/dist/kolibri/table-selection-DAMWzd6x.js +4 -0
  508. package/dist/kolibri/table-selection-DAMWzd6x.js.map +1 -0
  509. package/dist/kolibri/test-component.entry.js +1 -1
  510. package/dist/types/components/table-stateful/shadow.d.ts +3 -1
  511. package/dist/types/components/table-stateless/component.d.ts +8 -1
  512. package/dist/types/components/table-stateless/shadow.d.ts +2 -1
  513. package/dist/types/components.d.ts +26 -2
  514. package/dist/types/internal/functional-components/progress/api.d.ts +2 -2
  515. package/dist/types/internal/functional-components/progress/controller.d.ts +0 -1
  516. package/dist/types/internal/props/helpers/factory.d.ts +7 -1
  517. package/dist/types/internal/props/index.d.ts +1 -1
  518. package/dist/types/internal/props/value-number-clamped.d.ts +7 -0
  519. package/dist/types/internal/props/value-number.d.ts +3 -0
  520. package/dist/types/schema/components/table.d.ts +2 -0
  521. package/dist/types/schema/components/tableStateless.d.ts +1 -0
  522. package/dist/types/schema/props/index.d.ts +1 -1
  523. package/dist/types/schema/props/table-fixed-cols.d.ts +6 -0
  524. package/dist/types/schema/types/table.d.ts +1 -0
  525. package/doc/table-stateful.md +1 -0
  526. package/doc/table-stateless.md +1 -0
  527. package/package.json +1 -1
  528. package/dist/cjs/base-controller-Bb3KT5qb.js +0 -4
  529. package/dist/cjs/base-controller-Bb3KT5qb.js.map +0 -1
  530. package/dist/cjs/controller-B6NQTXWH.js.map +0 -1
  531. package/dist/cjs/controller-D9u3kano.js +0 -4
  532. package/dist/cjs/label-Cnh0Go2j.js +0 -4
  533. package/dist/cjs/src-DqQgiFGx.js +0 -4
  534. package/dist/cjs/table-selection-BHuuc8i2.js.map +0 -1
  535. package/dist/esm/base-controller-CUXUgRY-.js +0 -4
  536. package/dist/esm/base-controller-CUXUgRY-.js.map +0 -1
  537. package/dist/esm/controller-CCjZ2b0T.js +0 -4
  538. package/dist/esm/controller-CCjZ2b0T.js.map +0 -1
  539. package/dist/esm/label-dDkswsUq.js +0 -4
  540. package/dist/esm/table-selection-kWnbUSAj.js +0 -4
  541. package/dist/esm/table-selection-kWnbUSAj.js.map +0 -1
  542. package/dist/kolibri/Alert-DY4wIJCN.js +0 -4
  543. package/dist/kolibri/FieldControlStateWrapper-DCIZHOWR.js +0 -4
  544. package/dist/kolibri/FormFieldStateWrapper-C5-XgdrG.js +0 -4
  545. package/dist/kolibri/Heading-DjpTyUay.js +0 -4
  546. package/dist/kolibri/Span-AR30plJF.js +0 -4
  547. package/dist/kolibri/app-globals-BTeg0whH.js +0 -4
  548. package/dist/kolibri/base-controller-CUXUgRY-.js +0 -4
  549. package/dist/kolibri/base-controller-CUXUgRY-.js.map +0 -1
  550. package/dist/kolibri/controller-CCjZ2b0T.js +0 -4
  551. package/dist/kolibri/controller-CCjZ2b0T.js.map +0 -1
  552. package/dist/kolibri/label-dDkswsUq.js +0 -4
  553. package/dist/kolibri/src-CdIzLWIb.js +0 -4
  554. package/dist/kolibri/table-selection-kWnbUSAj.js +0 -4
  555. package/dist/kolibri/table-selection-kWnbUSAj.js.map +0 -1
  556. package/dist/types/internal/props/value.d.ts +0 -3
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-R5lmd7Z_.js"),appGlobals=require("./app-globals-DwfsOZ9N.js");require("./common-BDQKBMeS.js");const defineCustomElements=async(e,a)=>{if("undefined"!=typeof window)return await appGlobals.globalScripts(),index.bootstrapLazy(JSON.parse('[["kol-abbr.cjs",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion.cjs",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert.cjs",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc.cjs",[[260,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar.cjs",[[289,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge.cjs",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb.cjs",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button.cjs",[[289,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64]}]]],["kol-button-link.cjs",[[289,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64]}]]],["kol-button-wc.cjs",[[260,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card.cjs",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc.cjs",[[260,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-click-button.cjs",[[257,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox.cjs",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details.cjs",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog.cjs",[[289,"kol-dialog",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-dialog-wc.cjs",[[260,"kol-dialog-wc",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer.cjs",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form.cjs",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading.cjs",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon.cjs",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image.cjs",[[289,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["kol-input-checkbox.cjs",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color.cjs",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date.cjs",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[1],"_min":[1],"_msg":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email.cjs",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file.cjs",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number.cjs",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password.cjs",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio.cjs",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range.cjs",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_step":[8],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text.cjs",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri.cjs",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link.cjs",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-button.cjs",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-wc.cjs",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_inline":["validateInline"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_variant":["validateVariantClassName"]}]]],["kol-modal.cjs",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-nav.cjs",[[289,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-pagination.cjs",[[289,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2]}]]],["kol-pagination-wc.cjs",[[256,"kol-pagination-wc",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button.cjs",[[289,"kol-popover-button",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64],"showPopover":[64],"focus":[64]}]]],["kol-popover-button-wc.cjs",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc.cjs",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress.cjs",[[289,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"unit":[32],"variant":[32],"liveValue":[32],"max":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote.cjs",[[289,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select.cjs",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"getValue":[64],"focus":[64]}]]],["kol-select-wc.cjs",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select.cjs",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"]}]]],["kol-skeleton.cjs",[[257,"kol-skeleton",{"_count":[8],"_name":[1],"label":[32],"show":[32],"count":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_count":["watchCount"],"_name":["watchName"]}]]],["kol-skip-nav.cjs",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin.cjs",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button.cjs",[[289,"kol-split-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"getValue":[64],"focus":[64],"closePopup":[64]}]]],["kol-table-settings-wc.cjs",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful.cjs",[[289,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless.cjs",[[289,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc.cjs",[[256,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_on":["validateOn"],"_selection":["validateSelection"]}]]],["kol-tabs.cjs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea.cjs",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container.cjs",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar.cjs",[[289,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc.cjs",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree.cjs",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item.cjs",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc.cjs",[[260,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc.cjs",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version.cjs",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component.cjs",[[0,"test-component"]]]]'),a)};exports.setNonce=index.setNonce,exports.defineCustomElements=defineCustomElements;
4
+ "use strict";var index=require("./index-0zHTL6Wf.js"),appGlobals=require("./app-globals-DBFGa66N.js");require("./common-BDQKBMeS.js");const defineCustomElements=async(e,a)=>{if("undefined"!=typeof window)return await appGlobals.globalScripts(),index.bootstrapLazy(JSON.parse('[["kol-abbr.cjs",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion.cjs",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert.cjs",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc.cjs",[[260,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar.cjs",[[289,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge.cjs",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb.cjs",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button.cjs",[[289,"kol-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64]}]]],["kol-button-link.cjs",[[289,"kol-button-link",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64]}]]],["kol-button-wc.cjs",[[260,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card.cjs",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc.cjs",[[260,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-click-button.cjs",[[257,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox.cjs",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details.cjs",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog.cjs",[[289,"kol-dialog",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-dialog-wc.cjs",[[260,"kol-dialog-wc",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer.cjs",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form.cjs",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading.cjs",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon.cjs",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image.cjs",[[289,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["kol-input-checkbox.cjs",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color.cjs",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date.cjs",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[1],"_min":[1],"_msg":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email.cjs",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file.cjs",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number.cjs",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password.cjs",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio.cjs",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range.cjs",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_step":[8],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text.cjs",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri.cjs",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link.cjs",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-button.cjs",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-wc.cjs",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_inline":["validateInline"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_variant":["validateVariantClassName"]}]]],["kol-modal.cjs",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-nav.cjs",[[289,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-pagination.cjs",[[289,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2]}]]],["kol-pagination-wc.cjs",[[256,"kol-pagination-wc",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button.cjs",[[289,"kol-popover-button",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64],"showPopover":[64],"focus":[64]}]]],["kol-popover-button-wc.cjs",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc.cjs",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress.cjs",[[289,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"unit":[32],"variant":[32],"liveValue":[32],"max":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote.cjs",[[289,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select.cjs",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"getValue":[64],"focus":[64]}]]],["kol-select-wc.cjs",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select.cjs",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"]}]]],["kol-skeleton.cjs",[[257,"kol-skeleton",{"_count":[8],"_name":[1],"label":[32],"show":[32],"count":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_count":["watchCount"],"_name":["watchName"]}]]],["kol-skip-nav.cjs",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin.cjs",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button.cjs",[[289,"kol-split-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"getValue":[64],"focus":[64],"closePopup":[64]}]]],["kol-table-settings-wc.cjs",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful.cjs",[[289,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headers":[1],"_label":[1],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless.cjs",[[289,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc.cjs",[[256,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_on":["validateOn"],"_selection":["validateSelection"]}]]],["kol-tabs.cjs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea.cjs",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container.cjs",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar.cjs",[[289,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc.cjs",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree.cjs",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item.cjs",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc.cjs",[[260,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc.cjs",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version.cjs",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component.cjs",[[0,"test-component"]]]]'),a)};exports.setNonce=index.setNonce,exports.defineCustomElements=defineCustomElements;
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ "use strict";var baseController=require("./base-controller-DH3vQNQ9.js");const srcProp=baseController.createPropDefinition(baseController.normalizeString,()=>!0);exports.srcProp=srcProp;
@@ -1 +1 @@
1
- {"version":3,"file":"src-DqQgiFGx.js","sources":["src/internal/props/src.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type SrcProp = SimpleProp<'src', string>;\nexport const srcProp = createPropDefinition<SrcProp>(normalizeString, () => true);\n"],"names":["createPropDefinition","normalizeString"],"mappings":";;;;;;;AAKO,MAAM,OAAO,GAAGA,mCAAoB,CAAUC,8BAAe,EAAE,MAAM,IAAI;;;;"}
1
+ {"version":3,"file":"src-BTSBdFm2.js","sources":["src/internal/props/src.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type SrcProp = SimpleProp<'src', string>;\nexport const srcProp = createPropDefinition<SrcProp>(normalizeString, () => true);\n"],"names":["createPropDefinition","normalizeString"],"mappings":";;;;;;;AAKO,MAAM,OAAO,GAAGA,mCAAoB,CAAUC,8BAAe,EAAE,MAAM,IAAI;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var common=require("./common-BDQKBMeS.js");const validateHasSettingsMenu=(e,a)=>{common.watchBoolean(e,"_hasSettingsMenu",a)},validateTableCallbacks=(e,a)=>{common.watchValidator(e,"_on",e=>"object"==typeof e&&null!==e,new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange, Events.onChangeHeaderCells}"]),a)},validateTableStatefulCallbacks=(e,a)=>{common.watchValidator(e,"_on",e=>"object"==typeof e&&null!==e,new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),a)},validateTableData=(e,a,t)=>{common.emptyStringByArrayHandler(a,()=>{common.objectObjectHandler(a,()=>{void 0===a&&(a=[]);try{a=common.parseJson(a)}catch(e){}Array.isArray(a)&&a.every(e=>"object"==typeof e&&null!==e)&&common.setState(e,"_data",a,t)})})},validateTableDataFoot=(e,a,t)=>{common.emptyStringByArrayHandler(a,()=>{common.objectObjectHandler(a,()=>{void 0===a&&(a=[]);try{a=common.parseJson(a)}catch(e){}Array.isArray(a)&&a.every(e=>"object"==typeof e&&null!==e)&&common.setState(e,"_dataFoot",a,t)})})},validateTableSelection=(e,a)=>{(e=>e&&common.isObject(e)&&"function"==typeof e.label&&(!e.selectedKeys||Array.isArray(e.selectedKeys)))("string"==typeof a?(()=>{try{return common.parseJson(a)}catch(e){return}})():a)&&common.setState(e,"_selection",a)};exports.validateHasSettingsMenu=validateHasSettingsMenu,exports.validateTableCallbacks=validateTableCallbacks,exports.validateTableData=validateTableData,exports.validateTableDataFoot=validateTableDataFoot,exports.validateTableSelection=validateTableSelection,exports.validateTableStatefulCallbacks=validateTableStatefulCallbacks;
4
+ "use strict";var common=require("./common-BDQKBMeS.js");const validateHasSettingsMenu=(e,a)=>{common.watchBoolean(e,"_hasSettingsMenu",a)},validateTableCallbacks=(e,a)=>{common.watchValidator(e,"_on",e=>"object"==typeof e&&null!==e,new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange, Events.onChangeHeaderCells}"]),a)},validateTableStatefulCallbacks=(e,a)=>{common.watchValidator(e,"_on",e=>"object"==typeof e&&null!==e,new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),a)},validateTableData=(e,a,t)=>{common.emptyStringByArrayHandler(a,()=>{common.objectObjectHandler(a,()=>{void 0===a&&(a=[]);try{a=common.parseJson(a)}catch(e){}Array.isArray(a)&&a.every(e=>"object"==typeof e&&null!==e)&&common.setState(e,"_data",a,t)})})},validateTableDataFoot=(e,a,t)=>{common.emptyStringByArrayHandler(a,()=>{common.objectObjectHandler(a,()=>{void 0===a&&(a=[]);try{a=common.parseJson(a)}catch(e){}Array.isArray(a)&&a.every(e=>"object"==typeof e&&null!==e)&&common.setState(e,"_dataFoot",a,t)})})},validateFixedCols=(e,a)=>{common.watchValidator(e,"_fixedCols",e=>Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&Number.isInteger(e[0])&&Number.isInteger(e[1])&&e[0]>=0&&e[1]>=0,new Set(["FixedColsPropType [leftFixed: number, rightFixed: number]"]),a)},validateTableSelection=(e,a)=>{(e=>e&&common.isObject(e)&&"function"==typeof e.label&&(!e.selectedKeys||Array.isArray(e.selectedKeys)))("string"==typeof a?(()=>{try{return common.parseJson(a)}catch(e){return}})():a)&&common.setState(e,"_selection",a)};exports.validateFixedCols=validateFixedCols,exports.validateHasSettingsMenu=validateHasSettingsMenu,exports.validateTableCallbacks=validateTableCallbacks,exports.validateTableData=validateTableData,exports.validateTableDataFoot=validateTableDataFoot,exports.validateTableSelection=validateTableSelection,exports.validateTableStatefulCallbacks=validateTableStatefulCallbacks;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-selection-AQ4G1V6h.js","sources":["src/schema/props/has-settings-menu.ts","src/schema/props/table-callbacks.ts","src/schema/props/table-data.ts","src/schema/props/table-data-foot.ts","src/schema/props/table-fixed-cols.ts","src/schema/props/table-selection.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HasSettingsMenuPropType = boolean;\n\n/**\n * Defines whether the element shows a settings menu.\n */\nexport type PropHasSettingsMenu = {\n\thasSettingsMenu: HasSettingsMenuPropType;\n};\n\n/* validator */\nexport const validateHasSettingsMenu = (component: Generic.Element.Component, value?: HasSettingsMenuPropType): void => {\n\twatchBoolean(component, '_hasSettingsMenu', value);\n};\n","import type { Callback } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriSortDirection, KoliBriTableDataType, KoliBriTableSelectionKeys } from '../types';\nimport type { TableHeaderCells } from './table-header-cells';\n\n/* types */\nexport type SortEventPayload = {\n\tkey: string;\n\tcurrentSortDirection: KoliBriSortDirection;\n};\n\nexport type SelectionChangeEventPayload = KoliBriTableSelectionKeys;\nexport type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | null;\nexport type ChangeHeaderCellsEventPayload = TableHeaderCells;\n\nexport type TableCallbacksPropType = {\n\t[Callback.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;\n\t[Callback.onSelectionChange]?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>;\n\t[Callback.onChangeHeaderCells]?: EventValueOrEventCallback<Event, ChangeHeaderCellsEventPayload>;\n};\nexport type TableStatefulCallbacksPropType = {\n\t[Callback.onSelectionChange]?: EventValueOrEventCallback<Event, StatefulSelectionChangeEventPayload>;\n};\n/**\n * Defines the callback functions for table events.\n */\nexport type PropTableCallbacks = {\n\ton: TableCallbacksPropType;\n};\n\nexport type StatefulPropTableCallbacks = {\n\ton: TableStatefulCallbacksPropType;\n};\n\n/* validator */\nexport const validateTableCallbacks = (component: Generic.Element.Component, value?: TableCallbacksPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['TableCallbacksPropType {Events.onSort, Events.onSelectionChange, Events.onChangeHeaderCells}']),\n\t\tvalue,\n\t);\n};\n\nexport const validateTableStatefulCallbacks = (component: Generic.Element.Component, value?: TableStatefulCallbacksPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['TableStatefulCallbacksPropType {Events.onSelectionChange}']),\n\t\tvalue,\n\t);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { KoliBriTableDataType, Stringified } from '../types';\nimport type { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\n\n/* types */\nexport type TableDataPropType = Stringified<KoliBriTableDataType[]>;\n\n/**\n * Defines the primary table data.\n */\nexport type PropTableData = {\n\tdata: TableDataPropType;\n};\n\n/* validator */\nexport const validateTableData = (component: Generic.Element.Component, value?: TableDataPropType, setStateHooks?: SetStateHooks): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriTableDataType[]>(value);\n\t\t\t} catch {\n\t\t\t\t// value keeps the original data\n\t\t\t}\n\t\t\tif (Array.isArray(value) && value.every((data: KoliBriTableDataType) => typeof data === 'object' && data !== null)) {\n\t\t\t\tsetState(component, '_data', value, setStateHooks);\n\t\t\t}\n\t\t});\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { KoliBriTableDataType, Stringified } from '../types';\nimport type { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\n\n/* types */\nexport type TableDataFootPropType = Stringified<KoliBriTableDataType[]>;\n\n/**\n * Defines the data for the table footer.\n */\nexport type PropTableDataFoot = {\n\tdataFoot: TableDataFootPropType;\n};\n\n/* validator */\nexport const validateTableDataFoot = (component: Generic.Element.Component, value?: TableDataFootPropType, setStateHooks?: SetStateHooks): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriTableDataType[]>(value);\n\t\t\t} catch {\n\t\t\t\t// value keeps the original data\n\t\t\t}\n\t\t\tif (Array.isArray(value) && value.every((data: KoliBriTableDataType) => typeof data === 'object' && data !== null)) {\n\t\t\t\tsetState(component, '_dataFoot', value, setStateHooks);\n\t\t\t}\n\t\t});\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nexport type FixedColsPropType = [number, number];\nexport type PropFixedCols = {\n\tfixedCols: FixedColsPropType;\n};\n\nexport const validateFixedCols = (component: Generic.Element.Component, value?: FixedColsPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_fixedCols',\n\t\t(value) =>\n\t\t\tArray.isArray(value) &&\n\t\t\tvalue.length === 2 &&\n\t\t\ttypeof value[0] === 'number' &&\n\t\t\ttypeof value[1] === 'number' &&\n\t\t\tNumber.isInteger(value[0]) &&\n\t\t\tNumber.isInteger(value[1]) &&\n\t\t\tvalue[0] >= 0 &&\n\t\t\tvalue[1] >= 0,\n\t\tnew Set(['FixedColsPropType [leftFixed: number, rightFixed: number]']),\n\t\tvalue,\n\t);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriTableSelection, Stringified } from '../types';\nimport { parseJson, setState } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type TableSelectionPropType = Stringified<KoliBriTableSelection>;\n\n/**\n * Defines how rows can be selected and the current selection.\n */\nexport type PropTableSelection = {\n\tselection: TableSelectionPropType;\n};\n\n/* validator */\nexport const validateTableSelection = (component: Generic.Element.Component, value?: TableSelectionPropType): void => {\n\tconst parseSerializedValue = () => {\n\t\ttry {\n\t\t\treturn parseJson<KoliBriTableSelection>(value);\n\t\t} catch {\n\t\t\treturn undefined;\n\t\t}\n\t};\n\n\tconst validateObject = (value?: KoliBriTableSelection) => {\n\t\treturn value && isObject(value) && typeof value.label === 'function' && (!value.selectedKeys || Array.isArray(value.selectedKeys));\n\t};\n\n\tconst objectValue = typeof value === 'string' ? parseSerializedValue() : value;\n\tif (validateObject(objectValue)) {\n\t\tsetState(component, '_selection', value);\n\t}\n};\n"],"names":["watchBoolean","watchValidator","emptyString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2DAA2D,CAAC,CAAC,EACtE,KAAK,CACL;AACF;;MCRa,sBAAsB,GAAG,CAAC,SAAoC,EAAE,KAA8B,KAAU;IACpH,MAAM,oBAAoB,GAAG,MAAK;AACjC,QAAA,IAAI;AACH,YAAA,OAAOG,gBAAS,CAAwB,KAAK,CAAC;;QAC7C,OAAA,EAAA,EAAM;AACP,YAAA,OAAO,SAAS;;AAElB,KAAC;AAED,IAAA,MAAM,cAAc,GAAG,CAAC,KAA6B,KAAI;AACxD,QAAA,OAAO,KAAK,IAAIE,eAAQ,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,UAAU,KAAK,CAAC,KAAK,CAAC,YAAY,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AACnI,KAAC;AAED,IAAA,MAAM,WAAW,GAAG,OAAO,KAAK,KAAK,QAAQ,GAAG,oBAAoB,EAAE,GAAG,KAAK;AAC9E,IAAA,IAAI,cAAc,CAAC,WAAW,CAAC,EAAE;AAChC,QAAAD,eAAQ,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC;;AAE1C;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-R5lmd7Z_.js");require("./common-BDQKBMeS.js");const TestComponent=class{constructor(e){index.registerInstance(this,e)}};exports.test_component=TestComponent;
4
+ "use strict";var index=require("./index-0zHTL6Wf.js");require("./common-BDQKBMeS.js");const TestComponent=class{constructor(e){index.registerInstance(this,e)}};exports.test_component=TestComponent;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as Log}from"./common.js";function createPropDefinition(r,e=()=>!0){return{normalize:r,validate:e}}function withValidPropValue(r,e,n){try{const t=r.normalize(e);r.validate(t)&&n(t)}catch(r){Log.debug(r)}}function normalizeString(r){if("string"==typeof r)return r;if("number"==typeof r||"boolean"==typeof r||"bigint"==typeof r)return String(r);throw new Error(`Invalid string: ${r}`)}function normalizeInteger(r){if("number"==typeof r)return Number.isInteger(r)?r:Math.round(r);if("string"==typeof r){const e=parseInt(r,10);if(!isNaN(e))return e}throw new Error(`Invalid integer: ${r}`)}function normalizeNumber(r){if("number"==typeof r)return r;if("string"==typeof r){const e=Number(r);if(!isNaN(e))return e}throw new Error(`Invalid number: ${r}`)}const LOADING_OPTIONS=["eager","lazy"],LOADING_SET=new Set(LOADING_OPTIONS),loadingProp=createPropDefinition(r=>normalizeString(r),r=>LOADING_SET.has(r)),QUOTE_VARIANT_OPTIONS=["block","inline"],QUOTE_VARIANT_SET=new Set(QUOTE_VARIANT_OPTIONS),variantQuoteProp=createPropDefinition(r=>normalizeString(r),r=>QUOTE_VARIANT_SET.has(r));class BaseController{constructor(r,e){this.component=r,this.props=e}setProp(r,e){this.props[r]=e}getProps(){return this.props}setState(r,e){this.component[r]=e}}export{BaseController as B,normalizeNumber as a,normalizeInteger as b,createPropDefinition as c,loadingProp as l,normalizeString as n,variantQuoteProp as v,withValidPropValue as w};
4
+ import{L as Log}from"./common.js";function createPropDefinition(e,r=()=>!0){return{normalize:e,validate:r,apply(e,r){try{const n=this.normalize(e);this.validate(n)&&r(n)}catch(e){Log.debug(e)}}}}function createDependentPropDefinition(e,r=()=>!0){return{normalize:e,validate:r,apply(e,r,n){try{const t=this.normalize(e,n);this.validate(t,n)&&r(t)}catch(e){Log.debug(e)}}}}function normalizeString(e){if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e||"bigint"==typeof e)return String(e);throw new Error(`Invalid string: ${e}`)}function normalizeInteger(e){if("number"==typeof e)return Number.isInteger(e)?e:Math.round(e);if("string"==typeof e){const r=parseInt(e,10);if(!isNaN(r))return r}throw new Error(`Invalid integer: ${e}`)}function normalizeNumber(e){if("number"==typeof e)return e;if("string"==typeof e){const r=Number(e);if(!isNaN(r))return r}throw new Error(`Invalid number: ${e}`)}const LOADING_OPTIONS=["eager","lazy"],LOADING_SET=new Set(LOADING_OPTIONS),loadingProp=createPropDefinition(e=>normalizeString(e),e=>LOADING_SET.has(e)),QUOTE_VARIANT_OPTIONS=["block","inline"],QUOTE_VARIANT_SET=new Set(QUOTE_VARIANT_OPTIONS),variantQuoteProp=createPropDefinition(e=>normalizeString(e),e=>QUOTE_VARIANT_SET.has(e));class BaseController{constructor(e,r){this.component=e,this.props=r}setProp(e,r){this.props[e]=r}getProps(){return this.props}setState(e,r){this.component[e]=r}}export{BaseController as B,normalizeNumber as a,createDependentPropDefinition as b,createPropDefinition as c,normalizeInteger as d,loadingProp as l,normalizeString as n,variantQuoteProp as v};
@@ -1 +1 @@
1
- {"file":"base-controller.js","mappings":";;;;;AAmCM,SAAU,oBAAoB,CACnC,SAA2D,EAC3D,QAAqD,GAAA,MAAM,IAAI,EAAA;IAE/D,OAAO;QACN,SAAS;QACT,QAAQ;KACR;AACF;SAEgB,kBAAkB,CACjC,OAA6C,EAC7C,KAAc,EACd,QAAoD,EAAA;AAEpD,IAAA,IAAI;QACH,MAAM,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC;AAC3C,QAAA,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACjC,QAAQ,CAAC,UAAU,CAAC;;;IAEpB,OAAO,CAAC,EAAE;AACX,QAAA,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;;AAEd;;ACxDM,SAAU,eAAe,CAAC,KAAe,EAAA;AAC9C,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC9B,QAAA,OAAO,KAAK;;AAEb,IAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AACzF,QAAA,OAAO,MAAM,CAAC,KAAK,CAAC;;AAErB,IAAA,MAAM,IAAI,KAAK,CAAC,mBAAmB,KAAe,CAAA,CAAE,CAAC;AACt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AM,gBAAgB,GAAG,oBAAoB,CACnD,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAqB,EAC9D,CAAC,CAAC,KAAK,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;;MCRV,cAAc,CAAA;IACnC,WACoB,CAAA,SAA8B,EAChC,KAAuC,EAAA;AADrC,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS;AACX,QAAA,IAAK,CAAA,KAAA,GAAL,KAAK;;IAGb,OAAO,CAAqC,GAAM,EAAE,KAA0C,EAAA;AACvG,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK;;IAGjB,QAAQ,GAAA;QACd,OAAO,IAAI,CAAC,KAAK;;IAGR,QAAQ,CAAsC,GAAM,EAAE,KAA6B,EAAA;AAC3F,QAAA,IAAI,CAAC,SAAqC,CAAC,GAAa,CAAC,GAAG,KAAK;;AAEnE;;;;","names":[],"sources":["src/internal/props/helpers/factory.ts","src/internal/props/helpers/normalizers.ts","src/internal/props/loading.ts","src/internal/props/variant-quote.ts","src/internal/functional-components/base-controller.ts"],"sourcesContent":["import { Log } from '../../../schema';\n\n/**\n * Definiert einen Prop-Typ mit internem und externem Typ.\n *\n * - K: der Property-Name\n * - TExternal: der externe Eingabe-Typ (Web Component)\n * - TInternal: der normalisierte Typ (Controller/FC), default = TExternal\n *\n * Phantom-Keys `__input_${K}` tragen den externen Typ auf Type-Ebene.\n * Der feste Phantom-Key `__propInternal__` trägt TInternal für eine zuverlässige Inferenz.\n */\nexport type Prop<K extends string, TExternal, TInternal> = {\n\t[P in K]: TInternal;\n} & {\n\t[P in K as `__input_${P}`]?: TExternal;\n} & {\n\treadonly __propInternal__?: TInternal;\n};\n\n/**\n * Shorthand for Prop when external and internal types are identical.\n *\n * - K: der Property-Name\n * - T: der Typ (verwendet für externe und interne Nutzung)\n */\nexport type SimpleProp<K extends string, T> = Prop<K, T, T>;\n\nexport type InternalPropValue<P extends Prop<string, unknown, unknown>> = NonNullable<P['__propInternal__']>;\n\nexport type PropDefinition<TInternal> = {\n\tnormalize: (value: unknown) => TInternal | never;\n\tvalidate: (value: TInternal) => boolean;\n};\n\nexport function createPropDefinition<P extends Prop<string, unknown, unknown>>(\n\tnormalize: (value: unknown) => InternalPropValue<P> | never,\n\tvalidate: (value: InternalPropValue<P>) => boolean = () => true,\n): PropDefinition<InternalPropValue<P>> {\n\treturn {\n\t\tnormalize,\n\t\tvalidate,\n\t};\n}\n\nexport function withValidPropValue<P extends Prop<string, unknown, unknown>>(\n\tpropDef: PropDefinition<InternalPropValue<P>>,\n\tvalue: unknown,\n\tcallback: (normalized: InternalPropValue<P>) => void,\n): void {\n\ttry {\n\t\tconst normalized = propDef.normalize(value);\n\t\tif (propDef.validate(normalized)) {\n\t\t\tcallback(normalized);\n\t\t}\n\t} catch (e) {\n\t\tLog.debug(e);\n\t}\n}\n","import { isObject } from '../../../schema';\n\nexport function normalizeString(value?: unknown): string | never {\n\tif (typeof value === 'string') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint') {\n\t\treturn String(value);\n\t}\n\tthrow new Error(`Invalid string: ${value as string}`);\n}\n\nexport function normalizeInteger(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn Number.isInteger(value) ? value : Math.round(value);\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = parseInt(value, 10);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid integer: ${value as string}`);\n}\n\nexport function normalizeNumber(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = Number(value);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid number: ${value as string}`);\n}\n\nexport function normalizeBoolean(value?: unknown): boolean | never {\n\tif (typeof value === 'boolean') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.toLowerCase() === 'true';\n\t}\n\tthrow new Error(`Invalid boolean: ${value as string}`);\n}\n\nexport function normalizeObject(value?: unknown): object | never {\n\tif (isObject(value)) {\n\t\treturn value as object;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed)) {\n\t\t\treturn parsed as object;\n\t\t}\n\t}\n\tthrow new Error(`Invalid object: ${value as string}`);\n}\n\nexport function normalizeArray(value?: unknown): unknown[] | never {\n\tif (isObject(value) && Array.isArray(value)) {\n\t\treturn value as unknown[];\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed) && Array.isArray(parsed)) {\n\t\t\treturn parsed as unknown[];\n\t\t}\n\t}\n\tthrow new Error(`Invalid array: ${value as string}`);\n}\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n","import type { ComponentApi, InternalOf, ResolvedProps, StrictFields } from './generic-types';\n\ntype InternalStates<Api extends ComponentApi> = InternalOf<NonNullable<Api['States']>>;\n\nexport abstract class BaseController<Api extends ComponentApi> {\n\tpublic constructor(\n\t\tprotected readonly component: InternalStates<Api>,\n\t\tprivate readonly props: StrictFields<ResolvedProps<Api>>,\n\t) {}\n\n\tprotected setProp<K extends keyof ResolvedProps<Api>>(key: K, value: StrictFields<ResolvedProps<Api>>[K]): void {\n\t\tthis.props[key] = value;\n\t}\n\n\tpublic getProps(): StrictFields<ResolvedProps<Api>> {\n\t\treturn this.props;\n\t}\n\n\tprotected setState<K extends keyof InternalStates<Api>>(key: K, value: InternalStates<Api>[K]): void {\n\t\t(this.component as Record<string, unknown>)[key as string] = value;\n\t}\n}\n"],"version":3}
1
+ {"file":"base-controller.js","mappings":";;;;;AAoCM,SAAU,oBAAoB,CACnC,SAA2D,EAC3D,QAAqD,GAAA,MAAM,IAAI,EAAA;IAE/D,OAAO;QACN,SAAS;QACT,QAAQ;QACR,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAA;AACpB,YAAA,IAAI;gBACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;AACxC,gBAAA,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;oBAC9B,QAAQ,CAAC,UAAU,CAAC;;;YAEpB,OAAO,CAAC,EAAE;AACX,gBAAA,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;;SAEb;KACD;AACF;AAQM,SAAU,6BAA6B,CAC5C,SAAwE,EACxE,QAAkE,GAAA,MAAM,IAAI,EAAA;IAE5E,OAAO;QACN,SAAS;QACT,QAAQ;AACR,QAAA,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAW,EAAA;AACjC,YAAA,IAAI;gBACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,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AAK,CAAC;AAC5B,QAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AACnB,YAAA,OAAO,MAAM;;;AAGf,IAAA,MAAM,IAAI,KAAK,CAAC,mBAAmB,KAAe,CAAA,CAAE,CAAC;AACtD;;AChCA,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,CAAU;AAIlD,MAAM,WAAW,GAAwB,IAAI,GAAG,CAAC,eAAe,CAAC;AAE1D,MAAM,WAAW,GAAG,oBAAoB,CAC9C,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAgB,EACzD,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;;ACR1B,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAI1D,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,qBAAqB,CAAC;AAEtE,MAAM,gBAAgB,GAAG,oBAAoB,CACnD,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAqB,EAC9D,CAAC,CAAC,KAAK,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;;MCRV,cAAc,CAAA;IACnC,WACoB,CAAA,SAA8B,EAChC,KAAuC,EAAA;AADrC,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS;AACX,QAAA,IAAK,CAAA,KAAA,GAAL,KAAK;;IAGb,OAAO,CAAqC,GAAM,EAAE,KAA0C,EAAA;AACvG,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK;;IAGjB,QAAQ,GAAA;QACd,OAAO,IAAI,CAAC,KAAK;;IAGR,QAAQ,CAAsC,GAAM,EAAE,KAA6B,EAAA;AAC3F,QAAA,IAAI,CAAC,SAAqC,CAAC,GAAa,CAAC,GAAG,KAAK;;AAEnE;;;;","names":[],"sources":["src/internal/props/helpers/factory.ts","src/internal/props/helpers/normalizers.ts","src/internal/props/loading.ts","src/internal/props/variant-quote.ts","src/internal/functional-components/base-controller.ts"],"sourcesContent":["import { Log } from '../../../schema';\n\n/**\n * Definiert einen Prop-Typ mit internem und externem Typ.\n *\n * - K: der Property-Name\n * - TExternal: der externe Eingabe-Typ (Web Component)\n * - TInternal: der normalisierte Typ (Controller/FC), default = TExternal\n *\n * Phantom-Keys `__input_${K}` tragen den externen Typ auf Type-Ebene.\n * Der feste Phantom-Key `__propInternal__` trägt TInternal für eine zuverlässige Inferenz.\n */\nexport type Prop<K extends string, TExternal, TInternal> = {\n\t[P in K]: TInternal;\n} & {\n\t[P in K as `__input_${P}`]?: TExternal;\n} & {\n\treadonly __propInternal__?: TInternal;\n};\n\n/**\n * Shorthand for Prop when external and internal types are identical.\n *\n * - K: der Property-Name\n * - T: der Typ (verwendet für externe und interne Nutzung)\n */\nexport type SimpleProp<K extends string, T> = Prop<K, T, T>;\n\nexport type InternalPropValue<P extends Prop<string, unknown, unknown>> = NonNullable<P['__propInternal__']>;\n\nexport type PropDefinition<TInternal> = {\n\tnormalize: (value: unknown) => TInternal | never;\n\tvalidate: (value: TInternal) => boolean;\n\tapply: (value: unknown, callback: (normalized: TInternal) => void) => void;\n};\n\nexport function createPropDefinition<P extends Prop<string, unknown, unknown>>(\n\tnormalize: (value: unknown) => InternalPropValue<P> | never,\n\tvalidate: (value: InternalPropValue<P>) => boolean = () => true,\n): PropDefinition<InternalPropValue<P>> {\n\treturn {\n\t\tnormalize,\n\t\tvalidate,\n\t\tapply(value, callback) {\n\t\t\ttry {\n\t\t\t\tconst normalized = this.normalize(value);\n\t\t\t\tif (this.validate(normalized)) {\n\t\t\t\t\tcallback(normalized);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug(e);\n\t\t\t}\n\t\t},\n\t};\n}\n\nexport type DependentPropDefinition<TInternal, TDeps> = {\n\tnormalize: (value: unknown, deps: TDeps) => TInternal | never;\n\tvalidate: (value: TInternal, deps: TDeps) => boolean;\n\tapply: (value: unknown, callback: (normalized: TInternal) => void, deps: TDeps) => void;\n};\n\nexport function createDependentPropDefinition<P extends Prop<string, unknown, unknown>, TDeps>(\n\tnormalize: (value: unknown, deps: TDeps) => InternalPropValue<P> | never,\n\tvalidate: (value: InternalPropValue<P>, deps: TDeps) => boolean = () => true,\n): DependentPropDefinition<InternalPropValue<P>, TDeps> {\n\treturn {\n\t\tnormalize,\n\t\tvalidate,\n\t\tapply(value, callback, deps: TDeps) {\n\t\t\ttry {\n\t\t\t\tconst normalized = this.normalize(value, deps);\n\t\t\t\tif (this.validate(normalized, deps)) {\n\t\t\t\t\tcallback(normalized);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug(e);\n\t\t\t}\n\t\t},\n\t};\n}\n","import { isObject } from '../../../schema';\n\nexport function normalizeString(value?: unknown): string | never {\n\tif (typeof value === 'string') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint') {\n\t\treturn String(value);\n\t}\n\tthrow new Error(`Invalid string: ${value as string}`);\n}\n\nexport function normalizeInteger(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn Number.isInteger(value) ? value : Math.round(value);\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = parseInt(value, 10);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid integer: ${value as string}`);\n}\n\nexport function normalizeNumber(value?: unknown): number | never {\n\tif (typeof value === 'number') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = Number(value);\n\t\tif (!isNaN(parsed)) {\n\t\t\treturn parsed;\n\t\t}\n\t}\n\tthrow new Error(`Invalid number: ${value as string}`);\n}\n\nexport function normalizeBoolean(value?: unknown): boolean | never {\n\tif (typeof value === 'boolean') {\n\t\treturn value;\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.toLowerCase() === 'true';\n\t}\n\tthrow new Error(`Invalid boolean: ${value as string}`);\n}\n\nexport function normalizeObject(value?: unknown): object | never {\n\tif (isObject(value)) {\n\t\treturn value as object;\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed)) {\n\t\t\treturn parsed as object;\n\t\t}\n\t}\n\tthrow new Error(`Invalid object: ${value as string}`);\n}\n\nexport function normalizeArray(value?: unknown): unknown[] | never {\n\tif (isObject(value) && Array.isArray(value)) {\n\t\treturn value as unknown[];\n\t}\n\tif (typeof value === 'string') {\n\t\tconst parsed = JSON.parse(value) as unknown;\n\t\tif (isObject(parsed) && Array.isArray(parsed)) {\n\t\t\treturn parsed as unknown[];\n\t\t}\n\t}\n\tthrow new Error(`Invalid array: ${value as string}`);\n}\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n","import type { ComponentApi, InternalOf, ResolvedProps, StrictFields } from './generic-types';\n\ntype InternalStates<Api extends ComponentApi> = InternalOf<NonNullable<Api['States']>>;\n\nexport abstract class BaseController<Api extends ComponentApi> {\n\tpublic constructor(\n\t\tprotected readonly component: InternalStates<Api>,\n\t\tprivate readonly props: StrictFields<ResolvedProps<Api>>,\n\t) {}\n\n\tprotected setProp<K extends keyof ResolvedProps<Api>>(key: K, value: StrictFields<ResolvedProps<Api>>[K]): void {\n\t\tthis.props[key] = value;\n\t}\n\n\tpublic getProps(): StrictFields<ResolvedProps<Api>> {\n\t\treturn this.props;\n\t}\n\n\tprotected setState<K extends keyof InternalStates<Api>>(key: K, value: InternalStates<Api>[K]): void {\n\t\t(this.component as Record<string, unknown>)[key as string] = value;\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h}from"@stencil/core/internal/client";import{b as bem}from"./bem-registry.js";import{B as BaseController,w as withValidPropValue}from"./base-controller.js";import"./common.js";import{l as labelProp}from"./label2.js";const clickButtonBem=bem.forBlock("kol-click-button"),BEM_CLASS_CLICK_BUTTON=clickButtonBem(),BEM_CLASS_CLICK_BUTTON__LABEL=clickButtonBem("label"),ClickButtonFC=({label:t,handleClick:l,refButton:o})=>h("button",{class:BEM_CLASS_CLICK_BUTTON,ref:o,onClick:l,onKeyDown:t=>t.preventDefault()},h("span",{class:BEM_CLASS_CLICK_BUTTON__LABEL},t));class ClickButtonController extends BaseController{constructor(t={}){super(t,{label:""}),this.handleClick=()=>{console.log(this,this.buttonRef,"button clicked")},this.setButtonRef=t=>{this.buttonRef=t}}componentWillLoad(t){const{label:l}=t;this.watchLabel(l)}watchLabel(t){withValidPropValue(labelProp,t,t=>{this.setProp("label",t)})}focus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}}export{ClickButtonController as C,ClickButtonFC as a};
4
+ import{h}from"@stencil/core/internal/client";import{b as bem}from"./bem-registry.js";import"./common.js";import{l as labelProp}from"./label2.js";import{B as BaseController}from"./base-controller.js";const clickButtonBem=bem.forBlock("kol-click-button"),BEM_CLASS_CLICK_BUTTON=clickButtonBem(),BEM_CLASS_CLICK_BUTTON__LABEL=clickButtonBem("label"),ClickButtonFC=({label:t,handleClick:o,refButton:l})=>h("button",{class:BEM_CLASS_CLICK_BUTTON,ref:l,onClick:o,onKeyDown:t=>t.preventDefault()},h("span",{class:BEM_CLASS_CLICK_BUTTON__LABEL},t));class ClickButtonController extends BaseController{constructor(t={}){super(t,{label:""}),this.handleClick=()=>{console.log(this,this.buttonRef,"button clicked")},this.setButtonRef=t=>{this.buttonRef=t}}componentWillLoad(t){const{label:o}=t;this.watchLabel(o)}watchLabel(t){labelProp.apply(t,t=>{this.setProp("label",t)})}focus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}}export{ClickButtonController as C,ClickButtonFC as a};
@@ -1 +1 @@
1
- {"file":"controller2.js","mappings":";;;;;;;;;AAOA,MAAM,cAAc,GAAG,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACvD,MAAM,sBAAsB,GAAG,cAAc,EAAE;AAC/C,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,CAAC;AAEtD,MAAM,aAAa,GAAiD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAC5G,cAAQ,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,cAAc,EAAE,EAAA,EACxH,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAG,KAAK,CAAQ,CAClD;;ACRJ,MAAO,qBAAsB,SAAQ,cAA8B,CAAA;IAGxE,WAAmB,CAAA,SAAmC,EAAE,EAAA;QACvD,KAAK,CAAC,MAAM,EAAE;AACb,YAAA,KAAK,EAAE,EAAE;AACT,SAAA,CAAC;AAcI,QAAA,IAAW,CAAA,WAAA,GAAG,MAAW;YAE/B,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,gBAAgB,CAAC;AACpD,SAAC;AAMM,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC,OAA2B,KAAU;AAC3D,YAAA,IAAI,CAAC,SAAS,GAAG,OAAO;AACzB,SAAC;;AAtBM,IAAA,iBAAiB,CAAC,KAAyC,EAAA;AACjE,QAAA,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK;AACvB,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAGhB,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,kBAAkB,CAAY,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC,KAAI;AACrD,YAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;AACzB,SAAC,CAAC;;IAQI,KAAK,GAAA;;QACX,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,EAAE;;AAMxB;;;;","names":[],"sources":["src/internal/functional-components/click-button/component.tsx","src/internal/functional-components/click-button/controller.ts"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nconst clickButtonBem = bem.forBlock('kol-click-button');\nconst BEM_CLASS_CLICK_BUTTON = clickButtonBem();\nconst BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');\n\nexport const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>> = ({ label, handleClick, refButton }) => (\n\t<button class={BEM_CLASS_CLICK_BUTTON} ref={refButton} onClick={handleClick} onKeyDown={(event) => event.preventDefault()}>\n\t\t<span class={BEM_CLASS_CLICK_BUTTON__LABEL}>{label}</span>\n\t</button>\n);\n","import type { LabelProp } from '../../props';\nimport { labelProp, withValidPropValue } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nexport class ClickButtonController extends BaseController<ClickButtonApi> implements ControllerInterface<ClickButtonApi> {\n\tprivate buttonRef?: HTMLButtonElement;\n\n\tpublic constructor(states: ClickButtonApi['States'] = {}) {\n\t\tsuper(states, {\n\t\t\tlabel: '',\n\t\t});\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ClickButtonApi>): void {\n\t\tconst { label } = props;\n\t\tthis.watchLabel(label);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\twithValidPropValue<LabelProp>(labelProp, value, (v) => {\n\t\t\tthis.setProp('label', v);\n\t\t});\n\t}\n\n\tpublic handleClick = (): void => {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.log(this, this.buttonRef, 'button clicked');\n\t};\n\n\tpublic focus(): void {\n\t\tthis.buttonRef?.focus();\n\t}\n\n\tpublic setButtonRef = (element?: HTMLButtonElement): void => {\n\t\tthis.buttonRef = element;\n\t};\n}\n"],"version":3}
1
+ {"file":"controller2.js","mappings":";;;;;;;;;AAOA,MAAM,cAAc,GAAG,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC;AACvD,MAAM,sBAAsB,GAAG,cAAc,EAAE;AAC/C,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,CAAC;AAEtD,MAAM,aAAa,GAAiD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAC5G,cAAQ,KAAK,EAAE,sBAAsB,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,cAAc,EAAE,EAAA,EACxH,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,6BAA6B,EAAA,EAAG,KAAK,CAAQ,CAClD;;ACTJ,MAAO,qBAAsB,SAAQ,cAA8B,CAAA;IAGxE,WAAmB,CAAA,SAAmC,EAAE,EAAA;QACvD,KAAK,CAAC,MAAM,EAAE;AACb,YAAA,KAAK,EAAE,EAAE;AACT,SAAA,CAAC;AAcI,QAAA,IAAW,CAAA,WAAA,GAAG,MAAW;YAE/B,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,gBAAgB,CAAC;AACpD,SAAC;AAMM,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC,OAA2B,KAAU;AAC3D,YAAA,IAAI,CAAC,SAAS,GAAG,OAAO;AACzB,SAAC;;AAtBM,IAAA,iBAAiB,CAAC,KAAyC,EAAA;AACjE,QAAA,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK;AACvB,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAGhB,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AAC5B,YAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;AACzB,SAAC,CAAC;;IAQI,KAAK,GAAA;;QACX,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,EAAE;;AAMxB;;;;","names":[],"sources":["src/internal/functional-components/click-button/component.tsx","src/internal/functional-components/click-button/controller.ts"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nconst clickButtonBem = bem.forBlock('kol-click-button');\nconst BEM_CLASS_CLICK_BUTTON = clickButtonBem();\nconst BEM_CLASS_CLICK_BUTTON__LABEL = clickButtonBem('label');\n\nexport const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>> = ({ label, handleClick, refButton }) => (\n\t<button class={BEM_CLASS_CLICK_BUTTON} ref={refButton} onClick={handleClick} onKeyDown={(event) => event.preventDefault()}>\n\t\t<span class={BEM_CLASS_CLICK_BUTTON__LABEL}>{label}</span>\n\t</button>\n);\n","import { labelProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps } from '../generic-types';\nimport type { ClickButtonApi } from './api';\n\nexport class ClickButtonController extends BaseController<ClickButtonApi> implements ControllerInterface<ClickButtonApi> {\n\tprivate buttonRef?: HTMLButtonElement;\n\n\tpublic constructor(states: ClickButtonApi['States'] = {}) {\n\t\tsuper(states, {\n\t\t\tlabel: '',\n\t\t});\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ClickButtonApi>): void {\n\t\tconst { label } = props;\n\t\tthis.watchLabel(label);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setProp('label', v);\n\t\t});\n\t}\n\n\tpublic handleClick = (): void => {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.log(this, this.buttonRef, 'button clicked');\n\t};\n\n\tpublic focus(): void {\n\t\tthis.buttonRef?.focus();\n\t}\n\n\tpublic setButtonRef = (element?: HTMLButtonElement): void => {\n\t\tthis.buttonRef = element;\n\t};\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h,proxyCustomElement,HTMLElement,Host}from"@stencil/core/internal/client";import{t as translate}from"./i18n.js";import{b as bem}from"./bem-registry.js";import{c as createPropDefinition,B as BaseController,w as withValidPropValue}from"./base-controller.js";import"./common.js";import{c as createContrastColorPair}from"./contrast.js";import{l as labelProp}from"./label2.js";import{s as srcProp}from"./src.js";const BEM_BLOCK_AVATAR="kol-avatar",BEM_CLASS_AVATAR__IMAGE=bem("kol-avatar","image"),BEM_CLASS_AVATAR__INITIALS=bem("kol-avatar","initials"),AvatarFC=n=>{const{color:e,initials:t,label:o,src:r}=n;return h("div",{"aria-label":translate("kol-avatar-alt",{placeholders:{name:o}}),class:"kol-avatar",role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},r?h("img",{alt:"","aria-hidden":"true",class:BEM_CLASS_AVATAR__IMAGE,src:r}):h("span",{"aria-hidden":"true",class:BEM_CLASS_AVATAR__INITIALS},t))},HEX_REGEX=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function isHexString(n){return HEX_REGEX.test(n)}function normalizer(n){if("string"==typeof n&&isHexString(n)){const e=createContrastColorPair(n);return{backgroundColor:e.background,foregroundColor:e.foreground}}if("object"==typeof n&&n){const e=n;if("string"==typeof e.backgroundColor&&"string"==typeof e.foregroundColor&&isHexString(e.backgroundColor)&&isHexString(e.foregroundColor)){const n=createContrastColorPair({background:e.backgroundColor,foreground:e.foregroundColor});return{backgroundColor:n.background,foregroundColor:n.foreground}}}throw new Error(`Invalid color ${n}`)}function validator(n){return isHexString(n.foregroundColor)&&isHexString(n.backgroundColor)}const colorProp=createPropDefinition(normalizer,validator),formatNameAsInitial=n=>0===n.length?"":n[0].toUpperCase(),normalizeInitials=n=>{if("string"!=typeof n)throw new Error(`Invalid initials value: ${JSON.stringify(n)}`);const e=n.trim().split(/\s+/),t=e[0],o=e[e.length-1];return e.length>=2&&t&&o?`${formatNameAsInitial(t)}${formatNameAsInitial(o)}`:formatNameAsInitial(n)},initialsProp=createPropDefinition(normalizeInitials,n=>n.length>0);class AvatarController extends BaseController{constructor(n){super(n,{color:{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},label:"",src:""})}componentWillLoad(n){const{color:e,label:t,src:o}=n;this.watchColor(e),this.watchLabel(t),this.watchSrc(o)}watchColor(n){withValidPropValue(colorProp,n,n=>{this.setProp("color",n)})}watchLabel(n){withValidPropValue(labelProp,n,n=>{this.setProp("label",n)}),withValidPropValue(initialsProp,n,n=>{this.setState("initials",n)})}watchSrc(n){withValidPropValue(srcProp,n,n=>{this.setProp("src",n)})}}const defaultStyleCss="/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-avatar,\n .kol-avatar__image,\n .kol-avatar__initials {\n border-radius: 50%;\n }\n .kol-avatar {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: flex;\n width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-avatar__initials {\n background-color: inherit;\n margin: auto;\n font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));\n }\n}",KolAvatar$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.ctrl=new AvatarController(this),this.initials=""}watchColor(n){this.ctrl.watchColor(n)}watchLabel(n){this.ctrl.watchLabel(n)}watchSrc(n){this.ctrl.watchSrc(n)}componentWillLoad(){this.ctrl.componentWillLoad({color:this._color,label:this._label,src:this._src})}render(){const{color:n,label:e,src:t}=this.ctrl.getProps(),{initials:o}=this;return h(Host,{key:"356e548cb9a73c0fd50b71c01fc8862d08240a96"},h(AvatarFC,{key:"c69025eb44ed63b2fd4e5f1e8cd2bace9aa055ac",color:n,label:e,src:t,initials:o}))}static get watchers(){return{_color:["watchColor"],_label:["watchLabel"],_src:["watchSrc"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:["watchColor"],_label:["watchLabel"],_src:["watchSrc"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-avatar"].forEach(n=>{if("kol-avatar"===n)customElements.get(n)||customElements.define(n,KolAvatar$1)})}const KolAvatar=KolAvatar$1,defineCustomElement=defineCustomElement$1;export{KolAvatar,defineCustomElement};
4
+ import{h,proxyCustomElement,HTMLElement,Host}from"@stencil/core/internal/client";import{t as translate}from"./i18n.js";import{b as bem}from"./bem-registry.js";import"./common.js";import{c as createContrastColorPair}from"./contrast.js";import{c as createPropDefinition,B as BaseController}from"./base-controller.js";import{l as labelProp}from"./label2.js";import{s as srcProp}from"./src.js";const BEM_BLOCK_AVATAR="kol-avatar",BEM_CLASS_AVATAR__IMAGE=bem("kol-avatar","image"),BEM_CLASS_AVATAR__INITIALS=bem("kol-avatar","initials"),AvatarFC=n=>{const{color:e,initials:t,label:o,src:r}=n;return h("div",{"aria-label":translate("kol-avatar-alt",{placeholders:{name:o}}),class:"kol-avatar",role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},r?h("img",{alt:"","aria-hidden":"true",class:BEM_CLASS_AVATAR__IMAGE,src:r}):h("span",{"aria-hidden":"true",class:BEM_CLASS_AVATAR__INITIALS},t))},HEX_REGEX=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function isHexString(n){return HEX_REGEX.test(n)}function normalizer(n){if("string"==typeof n&&isHexString(n)){const e=createContrastColorPair(n);return{backgroundColor:e.background,foregroundColor:e.foreground}}if("object"==typeof n&&n){const e=n;if("string"==typeof e.backgroundColor&&"string"==typeof e.foregroundColor&&isHexString(e.backgroundColor)&&isHexString(e.foregroundColor)){const n=createContrastColorPair({background:e.backgroundColor,foreground:e.foregroundColor});return{backgroundColor:n.background,foregroundColor:n.foreground}}}throw new Error(`Invalid color ${n}`)}function validator(n){return isHexString(n.foregroundColor)&&isHexString(n.backgroundColor)}const colorProp=createPropDefinition(normalizer,validator),formatNameAsInitial=n=>0===n.length?"":n[0].toUpperCase(),normalizeInitials=n=>{if("string"!=typeof n)throw new Error(`Invalid initials value: ${JSON.stringify(n)}`);const e=n.trim().split(/\s+/),t=e[0],o=e[e.length-1];return e.length>=2&&t&&o?`${formatNameAsInitial(t)}${formatNameAsInitial(o)}`:formatNameAsInitial(n)},initialsProp=createPropDefinition(normalizeInitials,n=>n.length>0);class AvatarController extends BaseController{constructor(n){super(n,{color:{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},label:"",src:""})}componentWillLoad(n){const{color:e,label:t,src:o}=n;this.watchColor(e),this.watchLabel(t),this.watchSrc(o)}watchColor(n){colorProp.apply(n,n=>{this.setProp("color",n)})}watchLabel(n){labelProp.apply(n,n=>{this.setProp("label",n)}),initialsProp.apply(n,n=>{this.setState("initials",n)})}watchSrc(n){srcProp.apply(n,n=>{this.setProp("src",n)})}}const defaultStyleCss="/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-avatar,\n .kol-avatar__image,\n .kol-avatar__initials {\n border-radius: 50%;\n }\n .kol-avatar {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: flex;\n width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-avatar__initials {\n background-color: inherit;\n margin: auto;\n font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));\n }\n}",KolAvatar$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.ctrl=new AvatarController(this),this.initials=""}watchColor(n){this.ctrl.watchColor(n)}watchLabel(n){this.ctrl.watchLabel(n)}watchSrc(n){this.ctrl.watchSrc(n)}componentWillLoad(){this.ctrl.componentWillLoad({color:this._color,label:this._label,src:this._src})}render(){const{color:n,label:e,src:t}=this.ctrl.getProps(),{initials:o}=this;return h(Host,{key:"356e548cb9a73c0fd50b71c01fc8862d08240a96"},h(AvatarFC,{key:"c69025eb44ed63b2fd4e5f1e8cd2bace9aa055ac",color:n,label:e,src:t,initials:o}))}static get watchers(){return{_color:["watchColor"],_label:["watchLabel"],_src:["watchSrc"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:["watchColor"],_label:["watchLabel"],_src:["watchSrc"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-avatar"].forEach(n=>{if("kol-avatar"===n)customElements.get(n)||customElements.define(n,KolAvatar$1)})}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AE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;AACd,SAAA,CAAC;;IAGI,MAAM,GAAA;AACZ,QAAA,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClD,QAAA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI;AACzB,QAAA,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAC,CAAA,QAAQ,qDAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAI,CAAA,CAChE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolAvatar","__stencil_proxyCustomElement"],"sources":["src/internal/functional-components/avatar/component.tsx","src/internal/props/color.ts","src/internal/props/initials.ts","src/internal/functional-components/avatar/controller.ts","src/components/avatar/style.scss?tag=kol-avatar&mode=default&encapsulation=shadow","src/components/avatar/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nconst BEM_BLOCK_AVATAR = 'kol-avatar';\nconst BEM_CLASS_AVATAR__IMAGE = bem(BEM_BLOCK_AVATAR, 'image');\nconst BEM_CLASS_AVATAR__INITIALS = bem(BEM_BLOCK_AVATAR, 'initials');\n\nexport const AvatarFC: FC<FunctionalComponentProps<AvatarApi>> = (props) => {\n\tconst { color, initials, label, src } = props;\n\n\treturn (\n\t\t<div\n\t\t\taria-label={translate('kol-avatar-alt', { placeholders: { name: label } })}\n\t\t\tclass=\"kol-avatar\"\n\t\t\trole=\"img\"\n\t\t\tstyle={{\n\t\t\t\tbackgroundColor: color.backgroundColor,\n\t\t\t\tcolor: color.foregroundColor,\n\t\t\t}}\n\t\t>\n\t\t\t{src ? (\n\t\t\t\t<img alt=\"\" aria-hidden=\"true\" class={BEM_CLASS_AVATAR__IMAGE} src={src} />\n\t\t\t) : (\n\t\t\t\t<span aria-hidden=\"true\" class={BEM_CLASS_AVATAR__INITIALS}>\n\t\t\t\t\t{initials}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n","import type { ColorPair } from '../../schema';\nimport { createContrastColorPair } from '../../schema';\nimport { createPropDefinition, type Prop } from './helpers/factory';\n\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value: string): boolean {\n\treturn HEX_REGEX.test(value);\n}\n\nfunction normalizer(value: unknown): ColorPair {\n\tif (typeof value === 'string' && isHexString(value)) {\n\t\tconst colors = createContrastColorPair(value);\n\t\treturn {\n\t\t\tbackgroundColor: colors.background,\n\t\t\tforegroundColor: colors.foreground,\n\t\t};\n\t} else if (typeof value === 'object' && value) {\n\t\tconst colorPair = value as ColorPair;\n\t\tif (\n\t\t\ttypeof colorPair.backgroundColor === 'string' &&\n\t\t\ttypeof colorPair.foregroundColor === 'string' &&\n\t\t\tisHexString(colorPair.backgroundColor) &&\n\t\t\tisHexString(colorPair.foregroundColor)\n\t\t) {\n\t\t\tconst colors = createContrastColorPair({\n\t\t\t\tbackground: colorPair.backgroundColor,\n\t\t\t\tforeground: colorPair.foregroundColor,\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tbackgroundColor: colors.background,\n\t\t\t\tforegroundColor: colors.foreground,\n\t\t\t};\n\t\t}\n\t}\n\tthrow new Error(`Invalid color ${value as string}`);\n}\n\nfunction validator(value: ColorPair) {\n\treturn isHexString(value.foregroundColor) && isHexString(value.backgroundColor);\n}\n\nexport type ColorProp = Prop<'color', ColorPair | string, ColorPair>;\nexport const colorProp = createPropDefinition<ColorProp>(normalizer, validator);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\nconst formatNameAsInitial = (name: string): string => {\n\tif (name.length === 0) {\n\t\treturn '';\n\t}\n\n\treturn name[0].toUpperCase();\n};\n\nconst normalizeInitials = (value: unknown): string => {\n\tif (typeof value !== 'string') {\n\t\tthrow new Error(`Invalid initials value: ${JSON.stringify(value)}`);\n\t}\n\n\tconst names = value.trim().split(/\\s+/); // split by any whitespace characters\n\tconst first = names[0];\n\tconst last = names[names.length - 1];\n\n\t// names might consist of only one word\n\tif (names.length >= 2 && first && last) {\n\t\treturn `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n\t}\n\n\treturn formatNameAsInitial(value);\n};\n\nexport type InitialsProp = SimpleProp<'initials', string>;\nexport const initialsProp = createPropDefinition<InitialsProp>(normalizeInitials, (v) => v.length > 0);\n","import type { ColorPair } from '../../../schema';\nimport type { ColorProp, InitialsProp, LabelProp, SrcProp } from '../../props';\nimport { colorProp, initialsProp, labelProp, srcProp } from '../../props';\nimport { withValidPropValue } from '../../props/helpers/factory';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nexport class AvatarController extends BaseController<AvatarApi> implements ControllerInterface<AvatarApi> {\n\tpublic constructor(states: AvatarApi['States']) {\n\t\tsuper(states, {\n\t\t\tcolor: { backgroundColor: '#d3d3d3', foregroundColor: '#3f3f3f' },\n\t\t\tlabel: '',\n\t\t\tsrc: '',\n\t\t});\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<AvatarApi>): void {\n\t\tconst { color, label, src } = props;\n\t\tthis.watchColor(color);\n\t\tthis.watchLabel(label);\n\t\tthis.watchSrc(src);\n\t}\n\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\twithValidPropValue<ColorProp>(colorProp, value, (v) => {\n\t\t\tthis.setProp('color', v);\n\t\t});\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\twithValidPropValue<LabelProp>(labelProp, value, (v) => {\n\t\t\tthis.setProp('label', v);\n\t\t});\n\t\twithValidPropValue<InitialsProp>(initialsProp, value, (v) => {\n\t\t\tthis.setState('initials', v);\n\t\t});\n\t}\n\n\tpublic watchSrc(value?: string): void {\n\t\twithValidPropValue<SrcProp>(srcProp, value, (v) => {\n\t\t\tthis.setProp('src', v);\n\t\t});\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../host-display-block' as *;\n\n@layer kol-component {\n\t.kol-avatar,\n\t.kol-avatar__image,\n\t.kol-avatar__initials {\n\t\tborder-radius: 50%;\n\t}\n\n\t.kol-avatar {\n\t\t/* Visible with forced colors */\n\t\toutline: transparent solid to-rem(1);\n\n\t\tdisplay: flex;\n\t\twidth: to-rem(100);\n\t\theight: to-rem(100);\n\n\t\t&__initials {\n\t\t\tbackground-color: inherit;\n\t\t\tmargin: auto;\n\n\t\t\tfont-size: to-rem(40);\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { AvatarApi } from '../../internal/functional-components/avatar/api';\nimport { AvatarFC } from '../../internal/functional-components/avatar/component';\nimport { AvatarController } from '../../internal/functional-components/avatar/controller';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ColorPair } from '../../schema';\n\n@Component({\n\ttag: 'kol-avatar',\n\tshadow: true,\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n})\nexport class KolAvatar implements WebComponentInterface<AvatarApi> {\n\tprivate readonly ctrl = new AvatarController(this);\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop()\n\tpublic _color?: string | ColorPair;\n\n\t@Watch('_color')\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tthis.ctrl.watchColor(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop()\n\tpublic _label!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop()\n\tpublic _src?: string;\n\n\t@Watch('_src')\n\tpublic watchSrc(value?: string): void {\n\t\tthis.ctrl.watchSrc(value);\n\t}\n\n\t@State()\n\tpublic initials: string = '';\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tcolor: this._color,\n\t\t\tlabel: this._label,\n\t\t\tsrc: this._src,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { color, label, src } = this.ctrl.getProps();\n\t\tconst { initials } = this;\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<AvatarFC color={color} label={label} src={src} initials={initials} />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-avatar.js","mappings":";;;;;;;;;;;;AAQA,MAAM,gBAAgB,GAAG,YAAY;AACrC,MAAM,uBAAuB,GAAG,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC;AAC9D,MAAM,0BAA0B,GAAG,GAAG,CAAC,gBAAgB,EAAE,UAAU,CAAC;AAE7D,MAAM,QAAQ,GAA4C,CAAC,KAAK,KAAI;IAC1E,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK;AAE7C,IAAA,QACC,CACa,CAAA,KAAA,EAAA,EAAA,YAAA,EAAA,SAAS,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,EAC1E,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,KAAK,EACV,KAAK,EAAE;YACN,eAAe,EAAE,KAAK,CAAC,eAAe;YACtC,KAAK,EAAE,KAAK,CAAC,eAAe;SAC5B,EAAA,EAEA,GAAG,IACH,WAAK,GA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,CAAA,IAAI,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC;AAoC3C,QAAA,IAAQ,CAAA,QAAA,GAAW,EAAE;AAmB5B;AA9CO,IAAA,UAAU,CAAC,KAA0B,EAAA;AAC3C,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAUrB,IAAA,UAAU,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAUrB,IAAA,QAAQ,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;;IAMnB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC3B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;AACd,SAAA,CAAC;;IAGI,MAAM,GAAA;AACZ,QAAA,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClD,QAAA,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI;AACzB,QAAA,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAC,CAAA,QAAQ,qDAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAI,CAAA,CAChE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolAvatar","__stencil_proxyCustomElement"],"sources":["src/internal/functional-components/avatar/component.tsx","src/internal/props/color.ts","src/internal/props/initials.ts","src/internal/functional-components/avatar/controller.ts","src/components/avatar/style.scss?tag=kol-avatar&mode=default&encapsulation=shadow","src/components/avatar/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nconst BEM_BLOCK_AVATAR = 'kol-avatar';\nconst BEM_CLASS_AVATAR__IMAGE = bem(BEM_BLOCK_AVATAR, 'image');\nconst BEM_CLASS_AVATAR__INITIALS = bem(BEM_BLOCK_AVATAR, 'initials');\n\nexport const AvatarFC: FC<FunctionalComponentProps<AvatarApi>> = (props) => {\n\tconst { color, initials, label, src } = props;\n\n\treturn (\n\t\t<div\n\t\t\taria-label={translate('kol-avatar-alt', { placeholders: { name: label } })}\n\t\t\tclass=\"kol-avatar\"\n\t\t\trole=\"img\"\n\t\t\tstyle={{\n\t\t\t\tbackgroundColor: color.backgroundColor,\n\t\t\t\tcolor: color.foregroundColor,\n\t\t\t}}\n\t\t>\n\t\t\t{src ? (\n\t\t\t\t<img alt=\"\" aria-hidden=\"true\" class={BEM_CLASS_AVATAR__IMAGE} src={src} />\n\t\t\t) : (\n\t\t\t\t<span aria-hidden=\"true\" class={BEM_CLASS_AVATAR__INITIALS}>\n\t\t\t\t\t{initials}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</div>\n\t);\n};\n","import type { ColorPair } from '../../schema';\nimport { createContrastColorPair } from '../../schema';\nimport { createPropDefinition, type Prop } from './helpers/factory';\n\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value: string): boolean {\n\treturn HEX_REGEX.test(value);\n}\n\nfunction normalizer(value: unknown): ColorPair {\n\tif (typeof value === 'string' && isHexString(value)) {\n\t\tconst colors = createContrastColorPair(value);\n\t\treturn {\n\t\t\tbackgroundColor: colors.background,\n\t\t\tforegroundColor: colors.foreground,\n\t\t};\n\t} else if (typeof value === 'object' && value) {\n\t\tconst colorPair = value as ColorPair;\n\t\tif (\n\t\t\ttypeof colorPair.backgroundColor === 'string' &&\n\t\t\ttypeof colorPair.foregroundColor === 'string' &&\n\t\t\tisHexString(colorPair.backgroundColor) &&\n\t\t\tisHexString(colorPair.foregroundColor)\n\t\t) {\n\t\t\tconst colors = createContrastColorPair({\n\t\t\t\tbackground: colorPair.backgroundColor,\n\t\t\t\tforeground: colorPair.foregroundColor,\n\t\t\t});\n\t\t\treturn {\n\t\t\t\tbackgroundColor: colors.background,\n\t\t\t\tforegroundColor: colors.foreground,\n\t\t\t};\n\t\t}\n\t}\n\tthrow new Error(`Invalid color ${value as string}`);\n}\n\nfunction validator(value: ColorPair) {\n\treturn isHexString(value.foregroundColor) && isHexString(value.backgroundColor);\n}\n\nexport type ColorProp = Prop<'color', ColorPair | string, ColorPair>;\nexport const colorProp = createPropDefinition<ColorProp>(normalizer, validator);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\nconst formatNameAsInitial = (name: string): string => {\n\tif (name.length === 0) {\n\t\treturn '';\n\t}\n\n\treturn name[0].toUpperCase();\n};\n\nconst normalizeInitials = (value: unknown): string => {\n\tif (typeof value !== 'string') {\n\t\tthrow new Error(`Invalid initials value: ${JSON.stringify(value)}`);\n\t}\n\n\tconst names = value.trim().split(/\\s+/); // split by any whitespace characters\n\tconst first = names[0];\n\tconst last = names[names.length - 1];\n\n\t// names might consist of only one word\n\tif (names.length >= 2 && first && last) {\n\t\treturn `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n\t}\n\n\treturn formatNameAsInitial(value);\n};\n\nexport type InitialsProp = SimpleProp<'initials', string>;\nexport const initialsProp = createPropDefinition<InitialsProp>(normalizeInitials, (v) => v.length > 0);\n","import type { ColorPair } from '../../../schema';\nimport { colorProp, initialsProp, labelProp, srcProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps } from '../generic-types';\nimport type { AvatarApi } from './api';\n\nexport class AvatarController extends BaseController<AvatarApi> implements ControllerInterface<AvatarApi> {\n\tpublic constructor(states: AvatarApi['States']) {\n\t\tsuper(states, {\n\t\t\tcolor: { backgroundColor: '#d3d3d3', foregroundColor: '#3f3f3f' },\n\t\t\tlabel: '',\n\t\t\tsrc: '',\n\t\t});\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<AvatarApi>): void {\n\t\tconst { color, label, src } = props;\n\t\tthis.watchColor(color);\n\t\tthis.watchLabel(label);\n\t\tthis.watchSrc(src);\n\t}\n\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tcolorProp.apply(value, (v) => {\n\t\t\tthis.setProp('color', v);\n\t\t});\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setProp('label', v);\n\t\t});\n\t\tinitialsProp.apply(value, (v) => {\n\t\t\tthis.setState('initials', v);\n\t\t});\n\t}\n\n\tpublic watchSrc(value?: string): void {\n\t\tsrcProp.apply(value, (v) => {\n\t\t\tthis.setProp('src', v);\n\t\t});\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../../styles/global' as *;\n@use '../host-display-block' as *;\n\n@layer kol-component {\n\t.kol-avatar,\n\t.kol-avatar__image,\n\t.kol-avatar__initials {\n\t\tborder-radius: 50%;\n\t}\n\n\t.kol-avatar {\n\t\t/* Visible with forced colors */\n\t\toutline: transparent solid to-rem(1);\n\n\t\tdisplay: flex;\n\t\twidth: to-rem(100);\n\t\theight: to-rem(100);\n\n\t\t&__initials {\n\t\t\tbackground-color: inherit;\n\t\t\tmargin: auto;\n\n\t\t\tfont-size: to-rem(40);\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { AvatarApi } from '../../internal/functional-components/avatar/api';\nimport { AvatarFC } from '../../internal/functional-components/avatar/component';\nimport { AvatarController } from '../../internal/functional-components/avatar/controller';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ColorPair } from '../../schema';\n\n@Component({\n\ttag: 'kol-avatar',\n\tshadow: true,\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n})\nexport class KolAvatar implements WebComponentInterface<AvatarApi> {\n\tprivate readonly ctrl = new AvatarController(this);\n\n\t/**\n\t * Defines the backgroundColor and foregroundColor.\n\t */\n\t@Prop()\n\tpublic _color?: string | ColorPair;\n\n\t@Watch('_color')\n\tpublic watchColor(value?: string | ColorPair): void {\n\t\tthis.ctrl.watchColor(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop()\n\tpublic _label!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop()\n\tpublic _src?: string;\n\n\t@Watch('_src')\n\tpublic watchSrc(value?: string): void {\n\t\tthis.ctrl.watchSrc(value);\n\t}\n\n\t@State()\n\tpublic initials: string = '';\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tcolor: this._color,\n\t\t\tlabel: this._label,\n\t\t\tsrc: this._src,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { color, label, src } = this.ctrl.getProps();\n\t\tconst { initials } = this;\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<AvatarFC color={color} label={label} src={src} initials={initials} />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}