@public-ui/components 2.2.1 → 3.0.0-alpha.1

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 (689) hide show
  1. package/custom-elements.json +59 -65
  2. package/dist/cjs/Alert-f6b0d38e.js +4 -0
  3. package/dist/cjs/Alert-f6b0d38e.js.map +1 -0
  4. package/dist/cjs/Collapsible-4e60c250.js +4 -0
  5. package/dist/cjs/Collapsible-4e60c250.js.map +1 -0
  6. package/dist/cjs/FormFieldMsg-f9c66f2b.js +4 -0
  7. package/dist/cjs/{FormFieldMsg-a6239e8f.js.map → FormFieldMsg-f9c66f2b.js.map} +1 -1
  8. package/dist/cjs/Heading-862fa562.js +4 -0
  9. package/dist/cjs/Heading-862fa562.js.map +1 -0
  10. package/dist/cjs/InternalUnderlinedBadgeText-1c6598a7.js +4 -0
  11. package/dist/cjs/InternalUnderlinedBadgeText-1c6598a7.js.map +1 -0
  12. package/dist/cjs/Span-95000179.js +4 -0
  13. package/dist/{esm/kol-span-wc.entry.js.map → cjs/Span-95000179.js.map} +1 -1
  14. package/dist/cjs/{app-globals-ccb0de79.js → app-globals-cbed5be9.js} +1 -1
  15. package/dist/cjs/{app-globals-ccb0de79.js.map → app-globals-cbed5be9.js.map} +1 -1
  16. package/dist/cjs/component-names-7808fb62.js +4 -0
  17. package/dist/cjs/component-names-7808fb62.js.map +1 -0
  18. package/dist/cjs/{controller-f5179b00.js → controller-2cf5be5c.js} +1 -1
  19. package/dist/cjs/{controller-f5179b00.js.map → controller-2cf5be5c.js.map} +1 -1
  20. package/dist/cjs/{controller-fc146c36.js → controller-3ba0a95f.js} +1 -1
  21. package/dist/cjs/{controller-fc146c36.js.map → controller-3ba0a95f.js.map} +1 -1
  22. package/dist/cjs/{controller-2355b966.js → controller-4ad095de.js} +1 -1
  23. package/dist/cjs/{controller-2355b966.js.map → controller-4ad095de.js.map} +1 -1
  24. package/dist/cjs/{controller-bf4ff6cd.js → controller-59d57d18.js} +1 -1
  25. package/dist/cjs/{controller-bf4ff6cd.js.map → controller-59d57d18.js.map} +1 -1
  26. package/dist/cjs/{controller-3fc3acb5.js → controller-c08f0c47.js} +1 -1
  27. package/dist/cjs/{controller-3fc3acb5.js.map → controller-c08f0c47.js.map} +1 -1
  28. package/dist/cjs/{controller-icon-2b593d47.js → controller-icon-0a07b9d4.js} +1 -1
  29. package/dist/cjs/{controller-icon-2b593d47.js.map → controller-icon-0a07b9d4.js.map} +1 -1
  30. package/dist/cjs/{dev.utils-3c6636ce.js → dev.utils-91b818ef.js} +1 -1
  31. package/dist/cjs/{dev.utils-3c6636ce.js.map → dev.utils-91b818ef.js.map} +1 -1
  32. package/dist/cjs/{devtools-ba424ee7.js → devtools-189e17b0.js} +1 -1
  33. package/dist/cjs/{devtools-ba424ee7.js.map → devtools-189e17b0.js.map} +1 -1
  34. package/dist/cjs/index-80062b8e.js +4 -0
  35. package/dist/cjs/index-80062b8e.js.map +1 -0
  36. package/dist/cjs/index.cjs.js +1 -1
  37. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  39. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  41. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  43. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  45. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  51. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input.cjs.entry.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-group.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  134. package/dist/cjs/kolibri.cjs.js +1 -1
  135. package/dist/cjs/loader.cjs.js +1 -1
  136. package/dist/cjs/test-component.cjs.entry.js +1 -1
  137. package/dist/components/Alert.js +1 -1
  138. package/dist/components/Alert.js.map +1 -1
  139. package/dist/components/Collapsible.js +1 -1
  140. package/dist/components/Collapsible.js.map +1 -1
  141. package/dist/components/Heading.js +4 -0
  142. package/dist/components/Heading.js.map +1 -0
  143. package/dist/components/InternalUnderlinedBadgeText.js +1 -1
  144. package/dist/components/InternalUnderlinedBadgeText.js.map +1 -1
  145. package/dist/components/Span.js +4 -0
  146. package/dist/components/Span.js.map +1 -0
  147. package/dist/components/component-names.js +1 -1
  148. package/dist/components/component-names.js.map +1 -1
  149. package/dist/components/controller.js +1 -1
  150. package/dist/components/kol-abbr.js +1 -1
  151. package/dist/components/kol-abbr.js.map +1 -1
  152. package/dist/components/kol-accordion.js +1 -1
  153. package/dist/components/kol-accordion.js.map +1 -1
  154. package/dist/components/kol-alert-wc.js +1 -1
  155. package/dist/components/kol-alert-wc.js.map +1 -1
  156. package/dist/components/kol-alert.js +1 -1
  157. package/dist/components/kol-alert.js.map +1 -1
  158. package/dist/components/kol-avatar-wc.js +1 -1
  159. package/dist/components/kol-avatar-wc.js.map +1 -1
  160. package/dist/components/kol-avatar.js +1 -1
  161. package/dist/components/kol-avatar.js.map +1 -1
  162. package/dist/components/kol-badge.js +1 -1
  163. package/dist/components/kol-badge.js.map +1 -1
  164. package/dist/components/kol-breadcrumb.js +1 -1
  165. package/dist/components/kol-breadcrumb.js.map +1 -1
  166. package/dist/components/kol-button-group-wc.js +1 -1
  167. package/dist/components/kol-button-group.js +1 -1
  168. package/dist/components/kol-button-link.js +1 -1
  169. package/dist/components/kol-button-wc.js +1 -1
  170. package/dist/components/kol-button-wc.js.map +1 -1
  171. package/dist/components/kol-button.js +1 -1
  172. package/dist/components/kol-card.js +1 -1
  173. package/dist/components/kol-card.js.map +1 -1
  174. package/dist/components/kol-combobox.js +1 -1
  175. package/dist/components/kol-combobox.js.map +1 -1
  176. package/dist/components/kol-details.js +1 -1
  177. package/dist/components/kol-drawer.js +1 -1
  178. package/dist/components/kol-form.js +1 -1
  179. package/dist/components/kol-form.js.map +1 -1
  180. package/dist/components/kol-heading.js +1 -1
  181. package/dist/components/kol-heading.js.map +1 -1
  182. package/dist/components/kol-icon.js +1 -1
  183. package/dist/components/kol-image.js +1 -1
  184. package/dist/components/kol-indented-text-wc.js +1 -1
  185. package/dist/components/kol-indented-text.js +1 -1
  186. package/dist/components/kol-input-checkbox.js +1 -1
  187. package/dist/components/kol-input-checkbox.js.map +1 -1
  188. package/dist/components/kol-input-color.js +1 -1
  189. package/dist/components/kol-input-color.js.map +1 -1
  190. package/dist/components/kol-input-date.js +1 -1
  191. package/dist/components/kol-input-date.js.map +1 -1
  192. package/dist/components/kol-input-email.js +1 -1
  193. package/dist/components/kol-input-email.js.map +1 -1
  194. package/dist/components/kol-input-file.js +1 -1
  195. package/dist/components/kol-input-file.js.map +1 -1
  196. package/dist/components/kol-input-number.js +1 -1
  197. package/dist/components/kol-input-number.js.map +1 -1
  198. package/dist/components/kol-input-password.js +1 -1
  199. package/dist/components/kol-input-password.js.map +1 -1
  200. package/dist/components/kol-input-radio.js +1 -1
  201. package/dist/components/kol-input-radio.js.map +1 -1
  202. package/dist/components/kol-input-range.js +1 -1
  203. package/dist/components/kol-input-range.js.map +1 -1
  204. package/dist/components/kol-input-text.js +1 -1
  205. package/dist/components/kol-input-text.js.map +1 -1
  206. package/dist/components/kol-input.js +1 -1
  207. package/dist/components/kol-kolibri.js +1 -1
  208. package/dist/components/kol-link-button.js +1 -1
  209. package/dist/components/kol-link-group.js +1 -1
  210. package/dist/components/kol-link-wc.js +1 -1
  211. package/dist/components/kol-link-wc.js.map +1 -1
  212. package/dist/components/kol-link.js +1 -1
  213. package/dist/components/kol-logo.js +1 -1
  214. package/dist/components/kol-modal.js +1 -1
  215. package/dist/components/kol-nav.js +1 -1
  216. package/dist/components/kol-pagination.js +1 -1
  217. package/dist/components/kol-popover-wc.js +1 -1
  218. package/dist/components/kol-progress.js +1 -1
  219. package/dist/components/kol-quote.js +1 -1
  220. package/dist/components/kol-select.js +1 -1
  221. package/dist/components/kol-select.js.map +1 -1
  222. package/dist/components/kol-single-select.js +1 -1
  223. package/dist/components/kol-single-select.js.map +1 -1
  224. package/dist/components/kol-skip-nav.js +1 -1
  225. package/dist/components/kol-spin.js +1 -1
  226. package/dist/components/kol-split-button.js +1 -1
  227. package/dist/components/kol-symbol.js +1 -1
  228. package/dist/components/kol-table-stateful.js +1 -1
  229. package/dist/components/kol-table-stateless-wc.js +1 -1
  230. package/dist/components/kol-table-stateless.js +1 -1
  231. package/dist/components/kol-table.js +1 -1
  232. package/dist/components/kol-tabs.js +1 -1
  233. package/dist/components/kol-textarea.js +1 -1
  234. package/dist/components/kol-textarea.js.map +1 -1
  235. package/dist/components/kol-toast-container.js +1 -1
  236. package/dist/components/kol-toast-container.js.map +1 -1
  237. package/dist/components/kol-toolbar.js +1 -1
  238. package/dist/components/kol-tooltip-wc.js +1 -1
  239. package/dist/components/kol-tooltip-wc.js.map +1 -1
  240. package/dist/components/kol-tree-item-wc.js +1 -1
  241. package/dist/components/kol-tree-item.js +1 -1
  242. package/dist/components/kol-tree-wc.js +1 -1
  243. package/dist/components/kol-tree.js +1 -1
  244. package/dist/components/kol-version.js +1 -1
  245. package/dist/esm/Alert-1b318619.js +4 -0
  246. package/dist/esm/Alert-1b318619.js.map +1 -0
  247. package/dist/esm/Collapsible-53867075.js +4 -0
  248. package/dist/esm/Collapsible-53867075.js.map +1 -0
  249. package/dist/esm/FormFieldMsg-6843c725.js +4 -0
  250. package/dist/esm/{FormFieldMsg-ffa58506.js.map → FormFieldMsg-6843c725.js.map} +1 -1
  251. package/dist/esm/Heading-1fe830dd.js +4 -0
  252. package/dist/esm/Heading-1fe830dd.js.map +1 -0
  253. package/dist/esm/InternalUnderlinedBadgeText-8f2a64b6.js +4 -0
  254. package/dist/esm/InternalUnderlinedBadgeText-8f2a64b6.js.map +1 -0
  255. package/dist/esm/Span-7f84ad00.js +4 -0
  256. package/dist/esm/Span-7f84ad00.js.map +1 -0
  257. package/dist/esm/{align-e29ed804.js → align-3f029493.js} +1 -1
  258. package/dist/esm/{align-e29ed804.js.map → align-3f029493.js.map} +1 -1
  259. package/dist/esm/{app-globals-ccc036b6.js → app-globals-ebbcf310.js} +1 -1
  260. package/dist/esm/{app-globals-ccc036b6.js.map → app-globals-ebbcf310.js.map} +1 -1
  261. package/dist/esm/{common-0f1f2276.js → common-54bf85ba.js} +1 -1
  262. package/dist/esm/{common-0f1f2276.js.map → common-54bf85ba.js.map} +1 -1
  263. package/dist/esm/component-names-aa3cbc3c.js +4 -0
  264. package/dist/esm/component-names-aa3cbc3c.js.map +1 -0
  265. package/dist/esm/{controller-d1097e06.js → controller-1739038d.js} +1 -1
  266. package/dist/esm/{controller-d1097e06.js.map → controller-1739038d.js.map} +1 -1
  267. package/dist/esm/{controller-dacdb561.js → controller-506a6c81.js} +1 -1
  268. package/dist/esm/{controller-dacdb561.js.map → controller-506a6c81.js.map} +1 -1
  269. package/dist/esm/{controller-96fe2d26.js → controller-64301c42.js} +1 -1
  270. package/dist/esm/{controller-96fe2d26.js.map → controller-64301c42.js.map} +1 -1
  271. package/dist/esm/{controller-ff17d912.js → controller-68fd9cd8.js} +1 -1
  272. package/dist/esm/{controller-ff17d912.js.map → controller-68fd9cd8.js.map} +1 -1
  273. package/dist/esm/{controller-172fcdb6.js → controller-6c2714a5.js} +1 -1
  274. package/dist/esm/{controller-172fcdb6.js.map → controller-6c2714a5.js.map} +1 -1
  275. package/dist/esm/{controller-icon-29af0ac7.js → controller-icon-e20e2d63.js} +1 -1
  276. package/dist/esm/{controller-icon-29af0ac7.js.map → controller-icon-e20e2d63.js.map} +1 -1
  277. package/dist/esm/{dev.utils-514126fc.js → dev.utils-8fad8415.js} +1 -1
  278. package/dist/esm/{dev.utils-514126fc.js.map → dev.utils-8fad8415.js.map} +1 -1
  279. package/dist/esm/{devtools-aa4f8f79.js → devtools-a0824082.js} +1 -1
  280. package/dist/esm/{devtools-aa4f8f79.js.map → devtools-a0824082.js.map} +1 -1
  281. package/dist/esm/{events-e483577f.js → events-3111c1e8.js} +1 -1
  282. package/dist/esm/{events-e483577f.js.map → events-3111c1e8.js.map} +1 -1
  283. package/dist/esm/{icons-4c339a19.js → icons-f3b7aabd.js} +1 -1
  284. package/dist/esm/{icons-4c339a19.js.map → icons-f3b7aabd.js.map} +1 -1
  285. package/dist/esm/index-a49af574.js +4 -0
  286. package/dist/esm/index-a49af574.js.map +1 -0
  287. package/dist/esm/index.js +1 -1
  288. package/dist/esm/kol-abbr.entry.js +1 -1
  289. package/dist/esm/kol-abbr.entry.js.map +1 -1
  290. package/dist/esm/kol-accordion.entry.js +1 -1
  291. package/dist/esm/kol-accordion.entry.js.map +1 -1
  292. package/dist/esm/kol-alert-wc.entry.js +1 -1
  293. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  294. package/dist/esm/kol-alert.entry.js +1 -1
  295. package/dist/esm/kol-alert.entry.js.map +1 -1
  296. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  297. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  298. package/dist/esm/kol-avatar.entry.js +1 -1
  299. package/dist/esm/kol-avatar.entry.js.map +1 -1
  300. package/dist/esm/kol-badge.entry.js +1 -1
  301. package/dist/esm/kol-badge.entry.js.map +1 -1
  302. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  303. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  304. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  305. package/dist/esm/kol-button-group.entry.js +1 -1
  306. package/dist/esm/kol-button-link.entry.js +1 -1
  307. package/dist/esm/kol-button-wc.entry.js +1 -1
  308. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  309. package/dist/esm/kol-button.entry.js +1 -1
  310. package/dist/esm/kol-card.entry.js +1 -1
  311. package/dist/esm/kol-card.entry.js.map +1 -1
  312. package/dist/esm/kol-combobox.entry.js +1 -1
  313. package/dist/esm/kol-combobox.entry.js.map +1 -1
  314. package/dist/esm/kol-details.entry.js +1 -1
  315. package/dist/esm/kol-details.entry.js.map +1 -1
  316. package/dist/esm/kol-drawer.entry.js +1 -1
  317. package/dist/esm/kol-form.entry.js +1 -1
  318. package/dist/esm/kol-form.entry.js.map +1 -1
  319. package/dist/esm/kol-heading.entry.js +1 -1
  320. package/dist/esm/kol-heading.entry.js.map +1 -1
  321. package/dist/esm/kol-icon.entry.js +1 -1
  322. package/dist/esm/kol-image.entry.js +1 -1
  323. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  324. package/dist/esm/kol-indented-text.entry.js +1 -1
  325. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  326. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  327. package/dist/esm/kol-input-color.entry.js +1 -1
  328. package/dist/esm/kol-input-color.entry.js.map +1 -1
  329. package/dist/esm/kol-input-date.entry.js +1 -1
  330. package/dist/esm/kol-input-date.entry.js.map +1 -1
  331. package/dist/esm/kol-input-email.entry.js +1 -1
  332. package/dist/esm/kol-input-email.entry.js.map +1 -1
  333. package/dist/esm/kol-input-file.entry.js +1 -1
  334. package/dist/esm/kol-input-file.entry.js.map +1 -1
  335. package/dist/esm/kol-input-number.entry.js +1 -1
  336. package/dist/esm/kol-input-number.entry.js.map +1 -1
  337. package/dist/esm/kol-input-password.entry.js +1 -1
  338. package/dist/esm/kol-input-password.entry.js.map +1 -1
  339. package/dist/esm/kol-input-radio.entry.js +1 -1
  340. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  341. package/dist/esm/kol-input-range.entry.js +1 -1
  342. package/dist/esm/kol-input-range.entry.js.map +1 -1
  343. package/dist/esm/kol-input-text.entry.js +1 -1
  344. package/dist/esm/kol-input-text.entry.js.map +1 -1
  345. package/dist/esm/kol-input.entry.js +1 -1
  346. package/dist/esm/kol-input.entry.js.map +1 -1
  347. package/dist/esm/kol-kolibri.entry.js +1 -1
  348. package/dist/esm/kol-link-button.entry.js +1 -1
  349. package/dist/esm/kol-link-group.entry.js +1 -1
  350. package/dist/esm/kol-link-wc.entry.js +1 -1
  351. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  352. package/dist/esm/kol-link.entry.js +1 -1
  353. package/dist/esm/kol-logo.entry.js +1 -1
  354. package/dist/esm/kol-modal.entry.js +1 -1
  355. package/dist/esm/kol-nav.entry.js +1 -1
  356. package/dist/esm/kol-pagination.entry.js +1 -1
  357. package/dist/esm/kol-popover-wc.entry.js +1 -1
  358. package/dist/esm/kol-progress.entry.js +1 -1
  359. package/dist/esm/kol-quote.entry.js +1 -1
  360. package/dist/esm/kol-select.entry.js +1 -1
  361. package/dist/esm/kol-select.entry.js.map +1 -1
  362. package/dist/esm/kol-single-select.entry.js +1 -1
  363. package/dist/esm/kol-single-select.entry.js.map +1 -1
  364. package/dist/esm/kol-skip-nav.entry.js +1 -1
  365. package/dist/esm/kol-spin.entry.js +1 -1
  366. package/dist/esm/kol-split-button.entry.js +1 -1
  367. package/dist/esm/kol-symbol.entry.js +1 -1
  368. package/dist/esm/kol-table-stateful.entry.js +1 -1
  369. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  370. package/dist/esm/kol-table-stateless.entry.js +1 -1
  371. package/dist/esm/kol-table.entry.js +1 -1
  372. package/dist/esm/kol-tabs.entry.js +1 -1
  373. package/dist/esm/kol-textarea.entry.js +1 -1
  374. package/dist/esm/kol-textarea.entry.js.map +1 -1
  375. package/dist/esm/kol-toast-container.entry.js +1 -1
  376. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  377. package/dist/esm/kol-toolbar.entry.js +1 -1
  378. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  379. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  380. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  381. package/dist/esm/kol-tree-item.entry.js +1 -1
  382. package/dist/esm/kol-tree-wc.entry.js +1 -1
  383. package/dist/esm/kol-tree.entry.js +1 -1
  384. package/dist/esm/kol-version.entry.js +1 -1
  385. package/dist/esm/kolibri.js +1 -1
  386. package/dist/esm/loader.js +1 -1
  387. package/dist/esm/test-component.entry.js +1 -1
  388. package/dist/esm/{tooltip-align-6b648461.js → tooltip-align-c001aae2.js} +1 -1
  389. package/dist/esm/{tooltip-align-6b648461.js.map → tooltip-align-c001aae2.js.map} +1 -1
  390. package/dist/kolibri/Alert-1b318619.js +4 -0
  391. package/dist/kolibri/Alert-1b318619.js.map +1 -0
  392. package/dist/kolibri/Collapsible-53867075.js +4 -0
  393. package/dist/kolibri/Collapsible-53867075.js.map +1 -0
  394. package/dist/kolibri/FormFieldMsg-6843c725.js +4 -0
  395. package/dist/kolibri/Heading-1fe830dd.js +4 -0
  396. package/dist/kolibri/Heading-1fe830dd.js.map +1 -0
  397. package/dist/kolibri/InternalUnderlinedBadgeText-8f2a64b6.js +4 -0
  398. package/dist/kolibri/InternalUnderlinedBadgeText-8f2a64b6.js.map +1 -0
  399. package/dist/kolibri/Span-7f84ad00.js +4 -0
  400. package/dist/kolibri/Span-7f84ad00.js.map +1 -0
  401. package/dist/kolibri/{align-e29ed804.js → align-3f029493.js} +1 -1
  402. package/dist/kolibri/{app-globals-ccc036b6.js → app-globals-ebbcf310.js} +1 -1
  403. package/dist/kolibri/{common-0f1f2276.js → common-54bf85ba.js} +1 -1
  404. package/dist/kolibri/component-names-aa3cbc3c.js +4 -0
  405. package/dist/kolibri/component-names-aa3cbc3c.js.map +1 -0
  406. package/dist/kolibri/{controller-d1097e06.js → controller-1739038d.js} +1 -1
  407. package/dist/kolibri/{controller-dacdb561.js → controller-506a6c81.js} +1 -1
  408. package/dist/kolibri/controller-64301c42.js +4 -0
  409. package/dist/kolibri/{controller-96fe2d26.js.map → controller-64301c42.js.map} +1 -1
  410. package/dist/kolibri/{controller-ff17d912.js → controller-68fd9cd8.js} +1 -1
  411. package/dist/kolibri/{controller-172fcdb6.js → controller-6c2714a5.js} +1 -1
  412. package/dist/kolibri/controller-icon-e20e2d63.js +4 -0
  413. package/dist/kolibri/{dev.utils-514126fc.js → dev.utils-8fad8415.js} +1 -1
  414. package/dist/kolibri/{devtools-aa4f8f79.js → devtools-a0824082.js} +1 -1
  415. package/dist/kolibri/events-3111c1e8.js +4 -0
  416. package/dist/kolibri/{events-e483577f.js.map → events-3111c1e8.js.map} +1 -1
  417. package/dist/kolibri/{icons-4c339a19.js → icons-f3b7aabd.js} +1 -1
  418. package/dist/kolibri/{index-10e4924f.js → index-a49af574.js} +1 -1
  419. package/dist/kolibri/index-a49af574.js.map +1 -0
  420. package/dist/kolibri/index.esm.js +1 -1
  421. package/dist/kolibri/kol-abbr.entry.js +1 -1
  422. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  423. package/dist/kolibri/kol-accordion.entry.js +1 -1
  424. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  425. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  426. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  427. package/dist/kolibri/kol-alert.entry.js +1 -1
  428. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  429. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  430. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  431. package/dist/kolibri/kol-avatar.entry.js +1 -1
  432. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  433. package/dist/kolibri/kol-badge.entry.js +1 -1
  434. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  435. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  436. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  437. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  438. package/dist/kolibri/kol-button-group.entry.js +1 -1
  439. package/dist/kolibri/kol-button-link.entry.js +1 -1
  440. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  441. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  442. package/dist/kolibri/kol-button.entry.js +1 -1
  443. package/dist/kolibri/kol-card.entry.js +1 -1
  444. package/dist/kolibri/kol-card.entry.js.map +1 -1
  445. package/dist/kolibri/kol-combobox.entry.js +1 -1
  446. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  447. package/dist/kolibri/kol-details.entry.js +1 -1
  448. package/dist/kolibri/kol-details.entry.js.map +1 -1
  449. package/dist/kolibri/kol-drawer.entry.js +1 -1
  450. package/dist/kolibri/kol-form.entry.js +1 -1
  451. package/dist/kolibri/kol-form.entry.js.map +1 -1
  452. package/dist/kolibri/kol-heading.entry.js +1 -1
  453. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  454. package/dist/kolibri/kol-icon.entry.js +1 -1
  455. package/dist/kolibri/kol-image.entry.js +1 -1
  456. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  457. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  458. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  459. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  460. package/dist/kolibri/kol-input-color.entry.js +1 -1
  461. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  462. package/dist/kolibri/kol-input-date.entry.js +1 -1
  463. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  464. package/dist/kolibri/kol-input-email.entry.js +1 -1
  465. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  466. package/dist/kolibri/kol-input-file.entry.js +1 -1
  467. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  468. package/dist/kolibri/kol-input-number.entry.js +1 -1
  469. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  470. package/dist/kolibri/kol-input-password.entry.js +1 -1
  471. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  472. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  473. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  474. package/dist/kolibri/kol-input-range.entry.js +1 -1
  475. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  476. package/dist/kolibri/kol-input-text.entry.js +1 -1
  477. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  478. package/dist/kolibri/kol-input.entry.js +1 -1
  479. package/dist/kolibri/kol-input.entry.js.map +1 -1
  480. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  481. package/dist/kolibri/kol-link-button.entry.js +1 -1
  482. package/dist/kolibri/kol-link-group.entry.js +1 -1
  483. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  484. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  485. package/dist/kolibri/kol-link.entry.js +1 -1
  486. package/dist/kolibri/kol-logo.entry.js +1 -1
  487. package/dist/kolibri/kol-modal.entry.js +1 -1
  488. package/dist/kolibri/kol-nav.entry.js +1 -1
  489. package/dist/kolibri/kol-pagination.entry.js +1 -1
  490. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  491. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  492. package/dist/kolibri/kol-progress.entry.js +1 -1
  493. package/dist/kolibri/kol-quote.entry.js +1 -1
  494. package/dist/kolibri/kol-select.entry.js +1 -1
  495. package/dist/kolibri/kol-select.entry.js.map +1 -1
  496. package/dist/kolibri/kol-single-select.entry.js +1 -1
  497. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  498. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  499. package/dist/kolibri/kol-spin.entry.js +1 -1
  500. package/dist/kolibri/kol-split-button.entry.js +1 -1
  501. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  502. package/dist/kolibri/kol-symbol.entry.js +1 -1
  503. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  504. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  505. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  506. package/dist/kolibri/kol-table.entry.js +1 -1
  507. package/dist/kolibri/kol-tabs.entry.js +1 -1
  508. package/dist/kolibri/kol-textarea.entry.js +1 -1
  509. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  510. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  511. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  512. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  513. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  514. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  515. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  516. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  517. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  518. package/dist/kolibri/kol-tree.entry.js +1 -1
  519. package/dist/kolibri/kol-version.entry.js +1 -1
  520. package/dist/kolibri/kolibri.esm.js +1 -1
  521. package/dist/kolibri/kolibri.esm.js.map +1 -1
  522. package/dist/kolibri/test-component.entry.js +1 -1
  523. package/dist/kolibri/tooltip-align-c001aae2.js +4 -0
  524. package/dist/types/components/abbr/shadow.d.ts +2 -5
  525. package/dist/types/components/badge/shadow.d.ts +1 -0
  526. package/dist/types/components/card/shadow.d.ts +1 -1
  527. package/dist/types/components/heading/shadow.d.ts +9 -3
  528. package/dist/types/components.d.ts +2 -110
  529. package/dist/types/core/component-names.d.ts +0 -2
  530. package/dist/types/functional-components/Alert/Alert.d.ts +1 -1
  531. package/dist/types/functional-components/Collapsible/Collapsible.d.ts +1 -1
  532. package/dist/types/functional-components/Heading/Heading.d.ts +21 -0
  533. package/dist/types/functional-components/Heading/index.d.ts +1 -0
  534. package/dist/types/functional-components/Heading/test/Heading.test.d.ts +1 -0
  535. package/dist/types/functional-components/Heading/test/snapshot.test.d.ts +1 -0
  536. package/dist/types/functional-components/Icon/Icon.d.ts +11 -0
  537. package/dist/types/functional-components/Icon/index.d.ts +1 -0
  538. package/dist/types/functional-components/InternalUnderlinedBadgeText/InternalUnderlinedBadgeText.d.ts +8 -0
  539. package/dist/types/functional-components/InternalUnderlinedBadgeText/index.d.ts +1 -0
  540. package/dist/types/functional-components/Span/IconHelper.d.ts +6 -0
  541. package/dist/types/functional-components/Span/LabelHelper.d.ts +9 -0
  542. package/dist/types/functional-components/Span/Span.d.ts +12 -0
  543. package/dist/types/functional-components/Span/SpanCoreHelper.d.ts +9 -0
  544. package/dist/types/functional-components/Span/index.d.ts +1 -0
  545. package/dist/types/functional-components/Span/test/snapshot.test.d.ts +1 -0
  546. package/dist/types/functional-components/ToastItem/ToastItem.d.ts +10 -0
  547. package/dist/types/functional-components/ToastItem/index.d.ts +1 -0
  548. package/dist/types/functional-components/ToastItem/tests/snapshot.test.d.ts +1 -0
  549. package/dist/types/functional-components/index.d.ts +1 -1
  550. package/dist/types/schema/components/abbr.d.ts +3 -3
  551. package/dist/types/schema/components/badge.d.ts +5 -3
  552. package/dist/types/schema/components/icon.d.ts +1 -0
  553. package/dist/types/schema/components/textarea.d.ts +1 -1
  554. package/dist/types/schema/types/icons.d.ts +1 -1
  555. package/doc/abbr.md +7 -48
  556. package/doc/accordion.md +1 -108
  557. package/doc/alert.md +1 -85
  558. package/doc/avatar.md +1 -45
  559. package/doc/badge.md +1 -96
  560. package/doc/breadcrumb.md +1 -84
  561. package/doc/button-group.md +1 -89
  562. package/doc/button-link.md +1 -48
  563. package/doc/button.md +1 -117
  564. package/doc/card.md +1 -65
  565. package/doc/combobox.md +1 -50
  566. package/doc/details.md +1 -89
  567. package/doc/drawer.md +1 -126
  568. package/doc/form.md +1 -21
  569. package/doc/heading.md +5 -38
  570. package/doc/icon.md +1 -43
  571. package/doc/image.md +1 -51
  572. package/doc/indented-text.md +1 -36
  573. package/doc/input-checkbox.md +1 -78
  574. package/doc/input-color.md +1 -44
  575. package/doc/input-date.md +1 -99
  576. package/doc/input-email.md +1 -65
  577. package/doc/input-file.md +1 -64
  578. package/doc/input-number.md +1 -56
  579. package/doc/input-password.md +1 -57
  580. package/doc/input-radio.md +1 -97
  581. package/doc/input-range.md +1 -75
  582. package/doc/input-text.md +1 -80
  583. package/doc/kolibri.md +1 -18
  584. package/doc/link-button.md +1 -26
  585. package/doc/link-group.md +1 -81
  586. package/doc/link.md +1 -71
  587. package/doc/modal.md +1 -91
  588. package/doc/nav.md +1 -110
  589. package/doc/pagination.md +1 -42
  590. package/doc/progress.md +1 -41
  591. package/doc/quote.md +1 -63
  592. package/doc/select.md +1 -112
  593. package/doc/single-select.md +0 -28
  594. package/doc/skip-nav.md +1 -50
  595. package/doc/spin.md +1 -113
  596. package/doc/split-button.md +1 -24
  597. package/doc/table-stateful.md +1 -184
  598. package/doc/table-stateless.md +1 -72
  599. package/doc/table.md +1 -176
  600. package/doc/tabs.md +1 -89
  601. package/doc/textarea.md +2 -74
  602. package/doc/toaster.md +1 -71
  603. package/doc/toolbar.md +1 -46
  604. package/doc/tree-item.md +1 -3
  605. package/doc/tree.md +1 -70
  606. package/doc/version.md +1 -23
  607. package/package.json +1 -1
  608. package/vscode-custom-data.json +52 -76
  609. package/dist/cjs/Alert-621b81a8.js +0 -4
  610. package/dist/cjs/Alert-621b81a8.js.map +0 -1
  611. package/dist/cjs/Collapsible-e451263d.js +0 -4
  612. package/dist/cjs/Collapsible-e451263d.js.map +0 -1
  613. package/dist/cjs/FormFieldMsg-a6239e8f.js +0 -4
  614. package/dist/cjs/InternalUnderlinedBadgeText-aad31745.js +0 -4
  615. package/dist/cjs/InternalUnderlinedBadgeText-aad31745.js.map +0 -1
  616. package/dist/cjs/badge-text-1bbf50cd.js +0 -4
  617. package/dist/cjs/badge-text-1bbf50cd.js.map +0 -1
  618. package/dist/cjs/component-names-72b76dc7.js +0 -4
  619. package/dist/cjs/component-names-72b76dc7.js.map +0 -1
  620. package/dist/cjs/index-f7982219.js +0 -4
  621. package/dist/cjs/index-f7982219.js.map +0 -1
  622. package/dist/cjs/kol-heading-wc.cjs.entry.js +0 -4
  623. package/dist/cjs/kol-heading-wc.cjs.entry.js.map +0 -1
  624. package/dist/cjs/kol-span-wc.cjs.entry.js +0 -4
  625. package/dist/cjs/kol-span-wc.cjs.entry.js.map +0 -1
  626. package/dist/components/badge-text.js +0 -4
  627. package/dist/components/badge-text.js.map +0 -1
  628. package/dist/components/kol-heading-wc.d.ts +0 -11
  629. package/dist/components/kol-heading-wc.js +0 -4
  630. package/dist/components/kol-heading-wc.js.map +0 -1
  631. package/dist/components/kol-span-wc.d.ts +0 -11
  632. package/dist/components/kol-span-wc.js +0 -4
  633. package/dist/components/kol-span-wc.js.map +0 -1
  634. package/dist/esm/Alert-84e561fe.js +0 -4
  635. package/dist/esm/Alert-84e561fe.js.map +0 -1
  636. package/dist/esm/Collapsible-2207b3ef.js +0 -4
  637. package/dist/esm/Collapsible-2207b3ef.js.map +0 -1
  638. package/dist/esm/FormFieldMsg-ffa58506.js +0 -4
  639. package/dist/esm/InternalUnderlinedBadgeText-30239f48.js +0 -4
  640. package/dist/esm/InternalUnderlinedBadgeText-30239f48.js.map +0 -1
  641. package/dist/esm/badge-text-6be73b6a.js +0 -4
  642. package/dist/esm/badge-text-6be73b6a.js.map +0 -1
  643. package/dist/esm/component-names-d278f819.js +0 -4
  644. package/dist/esm/component-names-d278f819.js.map +0 -1
  645. package/dist/esm/index-10e4924f.js +0 -4
  646. package/dist/esm/index-10e4924f.js.map +0 -1
  647. package/dist/esm/kol-heading-wc.entry.js +0 -4
  648. package/dist/esm/kol-heading-wc.entry.js.map +0 -1
  649. package/dist/esm/kol-span-wc.entry.js +0 -4
  650. package/dist/kolibri/Alert-84e561fe.js +0 -4
  651. package/dist/kolibri/Alert-84e561fe.js.map +0 -1
  652. package/dist/kolibri/Collapsible-2207b3ef.js +0 -4
  653. package/dist/kolibri/Collapsible-2207b3ef.js.map +0 -1
  654. package/dist/kolibri/FormFieldMsg-ffa58506.js +0 -4
  655. package/dist/kolibri/InternalUnderlinedBadgeText-30239f48.js +0 -4
  656. package/dist/kolibri/InternalUnderlinedBadgeText-30239f48.js.map +0 -1
  657. package/dist/kolibri/badge-text-6be73b6a.js +0 -4
  658. package/dist/kolibri/badge-text-6be73b6a.js.map +0 -1
  659. package/dist/kolibri/component-names-d278f819.js +0 -4
  660. package/dist/kolibri/component-names-d278f819.js.map +0 -1
  661. package/dist/kolibri/controller-96fe2d26.js +0 -4
  662. package/dist/kolibri/controller-icon-29af0ac7.js +0 -4
  663. package/dist/kolibri/events-e483577f.js +0 -4
  664. package/dist/kolibri/index-10e4924f.js.map +0 -1
  665. package/dist/kolibri/kol-heading-wc.entry.js +0 -4
  666. package/dist/kolibri/kol-heading-wc.entry.js.map +0 -1
  667. package/dist/kolibri/kol-span-wc.entry.js +0 -4
  668. package/dist/kolibri/kol-span-wc.entry.js.map +0 -1
  669. package/dist/kolibri/tooltip-align-6b648461.js +0 -4
  670. package/dist/types/components/heading/component.d.ts +0 -17
  671. package/dist/types/components/span/InternalUnderlinedBadgeText.d.ts +0 -7
  672. package/dist/types/components/span/component.d.ts +0 -17
  673. package/dist/types/components/toaster/InternalToast.d.ts +0 -9
  674. package/doc/popover.md +0 -26
  675. package/doc/span.md +0 -32
  676. package/doc/tooltip.md +0 -47
  677. /package/dist/kolibri/{FormFieldMsg-ffa58506.js.map → FormFieldMsg-6843c725.js.map} +0 -0
  678. /package/dist/kolibri/{align-e29ed804.js.map → align-3f029493.js.map} +0 -0
  679. /package/dist/kolibri/{app-globals-ccc036b6.js.map → app-globals-ebbcf310.js.map} +0 -0
  680. /package/dist/kolibri/{common-0f1f2276.js.map → common-54bf85ba.js.map} +0 -0
  681. /package/dist/kolibri/{controller-d1097e06.js.map → controller-1739038d.js.map} +0 -0
  682. /package/dist/kolibri/{controller-dacdb561.js.map → controller-506a6c81.js.map} +0 -0
  683. /package/dist/kolibri/{controller-ff17d912.js.map → controller-68fd9cd8.js.map} +0 -0
  684. /package/dist/kolibri/{controller-172fcdb6.js.map → controller-6c2714a5.js.map} +0 -0
  685. /package/dist/kolibri/{controller-icon-29af0ac7.js.map → controller-icon-e20e2d63.js.map} +0 -0
  686. /package/dist/kolibri/{dev.utils-514126fc.js.map → dev.utils-8fad8415.js.map} +0 -0
  687. /package/dist/kolibri/{devtools-aa4f8f79.js.map → devtools-a0824082.js.map} +0 -0
  688. /package/dist/kolibri/{icons-4c339a19.js.map → icons-f3b7aabd.js.map} +0 -0
  689. /package/dist/kolibri/{tooltip-align-6b648461.js.map → tooltip-align-c001aae2.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"devtools-aa4f8f79.js","mappings":";;;;;;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG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CAAC;QAC/C,GAAG,CAAC,YAAY,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;QACnD,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,4BAA4B,CAAC,CAAC;QACxD,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACpC,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,8EAA8E,CAAC,CAAC;QAC1G,GAAG,CAAC,SAAS,GAAG;;;;;;;;;;;;OAYX,CAAC;QAEN,WAAW,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAEpC,WAAW,CAAC,kBAAkB,EAAE,UAAU,EAAE,CAAC,CAAC;QAC9C,WAAW,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACxD,WAAW,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnE,IAAI,wBAAwB,EAAE,EAAE;YAC/B,MAAM,OAAO,GAAG,UAAU,CAAC;gBAC1B,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,CAAC;oBACX,YAAY,CAAC,sBAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":[],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}
1
+ {"file":"devtools-a0824082.js","mappings":";;;;;;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CA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AAY,EAAE,kBAAkB,CAAC,CAAC;QACnD,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,4BAA4B,CAAC,CAAC;QACxD,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACpC,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,8EAA8E,CAAC,CAAC;QAC1G,GAAG,CAAC,SAAS,GAAG;;;;;;;;;;;;OAYX,CAAC;QAEN,WAAW,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAEpC,WAAW,CAAC,kBAAkB,EAAE,UAAU,EAAE,CAAC,CAAC;QAC9C,WAAW,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACxD,WAAW,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnE,IAAI,wBAAwB,EAAE,EAAE;YAC/B,MAAM,OAAO,GAAG,UAAU,CAAC;gBAC1B,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,CAAC;oBACX,YAAY,CAAC,sBAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":[],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as watchValidator,t as emptyStringByArrayHandler,o as objectObjectHandler,p as parseJson,s as setState}from"./prop.validators-c5e6ad2d.js";import{a as isObject}from"./common-0f1f2276.js";const validateTableCallbacks=(e,o)=>{watchValidator(e,"_on",(e=>"object"==typeof e&&null!==e),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),o)},validateTableStatefulCallbacks=(e,o)=>{watchValidator(e,"_on",(e=>"object"==typeof e&&null!==e),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),o)},validateTableData=(e,o,a)=>{emptyStringByArrayHandler(o,(()=>{objectObjectHandler(o,(()=>{void 0===o&&(o=[]);try{o=parseJson(o)}catch(e){}Array.isArray(o)&&o.every((e=>"object"==typeof e&&null!==e))&&setState(e,"_data",o,a)}))}))},validateTableDataFoot=(e,o,a)=>{emptyStringByArrayHandler(o,(()=>{objectObjectHandler(o,(()=>{void 0===o&&(o=[]);try{o=parseJson(o)}catch(e){}Array.isArray(o)&&o.every((e=>"object"==typeof e&&null!==e))&&setState(e,"_dataFoot",o,a)}))}))},validateTableSelection=(e,o)=>{(e=>e&&isObject(e)&&"function"==typeof e.label&&(!e.selectedKeys||Array.isArray(e.selectedKeys)))("string"==typeof o?(()=>{try{return parseJson(o)}catch(e){return}})():o)&&setState(e,"_selection",o)};var Events;!function(e){e.onBlur="onBlur",e.onChange="onChange",e.onClick="onClick",e.onDblClick="onDblClick",e.onFocus="onFocus",e.onInput="onInput",e.onKeyDown="onKeyDown",e.onKeyPress="onKeyPress",e.onKeyUp="onKeyUp",e.onMouseDown="onMouseDown",e.onMouseMove="onMouseMove",e.onMouseOut="onMouseOut",e.onMouseOver="onMouseOver",e.onMouseUp="onMouseUp",e.onReset="onReset",e.onSelect="onSelect",e.onSort="onSort",e.onSelectionChange="onSelectionChange",e.onSubmit="onSubmit",e.onToggle="onToggle",e.onClose="onClose"}(Events||(Events={}));export{Events as E,validateTableDataFoot as a,validateTableSelection as b,validateTableStatefulCallbacks as c,validateTableCallbacks as d,validateTableData as v};
4
+ import{w as watchValidator,t as emptyStringByArrayHandler,o as objectObjectHandler,p as parseJson,s as setState}from"./prop.validators-c5e6ad2d.js";import{b as isObject}from"./common-54bf85ba.js";const validateTableCallbacks=(e,o)=>{watchValidator(e,"_on",(e=>"object"==typeof e&&null!==e),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),o)},validateTableStatefulCallbacks=(e,o)=>{watchValidator(e,"_on",(e=>"object"==typeof e&&null!==e),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),o)},validateTableData=(e,o,a)=>{emptyStringByArrayHandler(o,(()=>{objectObjectHandler(o,(()=>{void 0===o&&(o=[]);try{o=parseJson(o)}catch(e){}Array.isArray(o)&&o.every((e=>"object"==typeof e&&null!==e))&&setState(e,"_data",o,a)}))}))},validateTableDataFoot=(e,o,a)=>{emptyStringByArrayHandler(o,(()=>{objectObjectHandler(o,(()=>{void 0===o&&(o=[]);try{o=parseJson(o)}catch(e){}Array.isArray(o)&&o.every((e=>"object"==typeof e&&null!==e))&&setState(e,"_dataFoot",o,a)}))}))},validateTableSelection=(e,o)=>{(e=>e&&isObject(e)&&"function"==typeof e.label&&(!e.selectedKeys||Array.isArray(e.selectedKeys)))("string"==typeof o?(()=>{try{return parseJson(o)}catch(e){return}})():o)&&setState(e,"_selection",o)};var Events;!function(e){e.onBlur="onBlur",e.onChange="onChange",e.onClick="onClick",e.onDblClick="onDblClick",e.onFocus="onFocus",e.onInput="onInput",e.onKeyDown="onKeyDown",e.onKeyPress="onKeyPress",e.onKeyUp="onKeyUp",e.onMouseDown="onMouseDown",e.onMouseMove="onMouseMove",e.onMouseOut="onMouseOut",e.onMouseOver="onMouseOver",e.onMouseUp="onMouseUp",e.onReset="onReset",e.onSelect="onSelect",e.onSort="onSort",e.onSelectionChange="onSelectionChange",e.onSubmit="onSubmit",e.onToggle="onToggle",e.onClose="onClose"}(Events||(Events={}));export{Events as E,validateTableDataFoot as a,validateTableSelection as b,validateTableStatefulCallbacks as c,validateTableCallbacks as d,validateTableData as v};
@@ -1 +1 @@
1
- {"file":"events-e483577f.js","mappings":";;;;;;MAmCa,sBAAsB,GAAG,CAAC,SAAoC,EAAE,KAA8B;IAC1G,cAAc,CACb,SAAS,EACT,KAAK,EACL,CA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A;IACzB,qCAA2B,CAAA;IAC3B,iCAAuB,CAAA;IACvB,6BAAmB,CAAA;IACnB,+BAAqB,CAAA;IACrB,2BAAiB,CAAA;IACjB,iDAAuC,CAAA;IACvC,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;AACpB,CAAC,EAtBW,MAAM,KAAN,MAAM;;;;","names":[],"sources":["src/schema/props/table-callbacks.ts","src/schema/props/table-data.ts","src/schema/props/table-data-foot.ts","src/schema/props/table-selection.ts","src/schema/enums/events.ts"],"sourcesContent":["import type { Events } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriSortDirection, KoliBriTableDataType } from '../types';\n\n/* types */\nexport type SortEventPayload = {\n\tkey: string;\n\tcurrentSortDirection: KoliBriSortDirection;\n};\n\nexport type SelectionChangeEventPayload = string[] | string;\nexport type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;\n\nexport type TableCallbacksPropType = {\n\t[Events.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;\n\t[Events.onSelectionChange]?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>;\n};\nexport type TableStatefulCallbacksPropType = {\n\t[Events.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}']),\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 { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\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\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\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 { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\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\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\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 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 (e) {\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","export enum Events {\n\tonBlur = 'onBlur',\n\tonChange = 'onChange',\n\tonClick = 'onClick',\n\tonDblClick = 'onDblClick',\n\tonFocus = 'onFocus',\n\tonInput = 'onInput',\n\tonKeyDown = 'onKeyDown',\n\tonKeyPress = 'onKeyPress',\n\tonKeyUp = 'onKeyUp',\n\tonMouseDown = 'onMouseDown',\n\tonMouseMove = 'onMouseMove',\n\tonMouseOut = 'onMouseOut',\n\tonMouseOver = 'onMouseOver',\n\tonMouseUp = 'onMouseUp',\n\tonReset = 'onReset',\n\tonSelect = 'onSelect',\n\tonSort = 'onSort',\n\tonSelectionChange = 'onSelectionChange',\n\tonSubmit = 'onSubmit',\n\tonToggle = 'onToggle',\n\tonClose = 'onClose',\n}\n"],"version":3}
1
+ {"file":"events-3111c1e8.js","mappings":";;;;;;MAmCa,sBAAsB,GAAG,CAAC,SAAoC,EAAE,KAA8B;IAC1G,cAAc,CACb,SAAS,EACT,KAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,kEAAkE,CAAC,CAAC,EAC7E,KAAK,CACL,CAAC;AACH,EAAE;MAEW,8BAA8B,GAAG,CAAC,SAAoC,EAAE,KAAsC;IAC1H,cAAc,CACb,SAAS,EACT,KAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,2DAA2D,CAAC,CAAC,EACtE,KAAK,CACL,CAAC;AACH;;MCpCa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAyB,EAAE,aAA6B;IAC/H,yBAAyB,CAAC,KAAK,EAAE;QAChC,mBAAmB,CAAC,KAAK,EAAE;YAC1B,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;gBACjC,KAAK,GAAG,EAAE,CAAC;aACX;YACD,IAAI;gBACH,KAAK,GAAG,SAAS,CAAyB,KAAK,CAAC,CAAC;aAEjD;YAAC,OAAO,CAAC,EAAE;aAEX;YACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAA0B,KAAK,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;gBACnH,QAAQ,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,C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S,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;KACzC;AACF;;ICjCY;AAAZ,WAAY,MAAM;IACjB,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;IACnB,mCAAyB,CAAA;IACzB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,iCAAuB,CAAA;IACvB,mCAAyB,CAAA;IACzB,6BAAmB,CAAA;IACnB,qCAA2B,CAAA;IAC3B,qCAA2B,CAAA;IAC3B,mCAAyB,CAAA;IACzB,qCAA2B,CAAA;IAC3B,iCAAuB,CAAA;IACvB,6BAAmB,CAAA;IACnB,+BAAqB,CAAA;IACrB,2BAAiB,CAAA;IACjB,iDAAuC,CAAA;IACvC,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,6BAAmB,CAAA;AACpB,CAAC,EAtBW,MAAM,KAAN,MAAM;;;;","names":[],"sources":["src/schema/props/table-callbacks.ts","src/schema/props/table-data.ts","src/schema/props/table-data-foot.ts","src/schema/props/table-selection.ts","src/schema/enums/events.ts"],"sourcesContent":["import type { Events } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriSortDirection, KoliBriTableDataType } from '../types';\n\n/* types */\nexport type SortEventPayload = {\n\tkey: string;\n\tcurrentSortDirection: KoliBriSortDirection;\n};\n\nexport type SelectionChangeEventPayload = string[] | string;\nexport type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;\n\nexport type TableCallbacksPropType = {\n\t[Events.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;\n\t[Events.onSelectionChange]?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>;\n};\nexport type TableStatefulCallbacksPropType = {\n\t[Events.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}']),\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 { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\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\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\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 { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\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\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\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 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 (e) {\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","export enum Events {\n\tonBlur = 'onBlur',\n\tonChange = 'onChange',\n\tonClick = 'onClick',\n\tonDblClick = 'onDblClick',\n\tonFocus = 'onFocus',\n\tonInput = 'onInput',\n\tonKeyDown = 'onKeyDown',\n\tonKeyPress = 'onKeyPress',\n\tonKeyUp = 'onKeyUp',\n\tonMouseDown = 'onMouseDown',\n\tonMouseMove = 'onMouseMove',\n\tonMouseOut = 'onMouseOut',\n\tonMouseOver = 'onMouseOver',\n\tonMouseUp = 'onMouseUp',\n\tonReset = 'onReset',\n\tonSelect = 'onSelect',\n\tonSort = 'onSort',\n\tonSelectionChange = 'onSelectionChange',\n\tonSubmit = 'onSubmit',\n\tonToggle = 'onToggle',\n\tonClose = 'onClose',\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators-c5e6ad2d.js";import{i as isString,b as isStyle,a as isObject}from"./common-0f1f2276.js";const mapCustomIcon=(t,o,e)=>{isObject(e)?t[o]=e:isString(e,1)&&(t[o]={icon:e})},mapIconProp2State=t=>{let o={};return isString(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(mapCustomIcon(o,"top",t.top),mapCustomIcon(o,"right",t.right),mapCustomIcon(o,"bottom",t.bottom),mapCustomIcon(o,"left",t.left)),o},beforePatchIcon=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",mapIconProp2State(o))}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||isStyle(t.style))&&(void 0===t.label||isString(t.label))&&isString(t.icon,1),validateIcons=(t,o,e={})=>{objectObjectHandler(o,(()=>{var i;try{o=parseJson(o)}catch(t){}watchValidator(t,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||isString(t,1)||"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right)||isString(t.top,1)||isIcon(t.top)||isString(t.bottom,1)||isIcon(t.bottom))}),new Set(["KoliBriIcon"]),o,Object.assign(Object.assign({},e),{defaultValue:{},hooks:{afterPatch:null===(i=e.hooks)||void 0===i?void 0:i.afterPatch,beforePatch:(t,o,i,n)=>{var s,a;"function"==typeof(null===(s=e.hooks)||void 0===s?void 0:s.beforePatch)&&(null===(a=e.hooks)||void 0===a||a.beforePatch(t,o,i,n)),beforePatchIcon(i)}}}))}))};export{isIcon as i,validateIcons as v};
4
+ import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators-c5e6ad2d.js";import{i as isString,a as isStyle,b as isObject}from"./common-54bf85ba.js";const mapCustomIcon=(t,o,e)=>{isObject(e)?t[o]=e:isString(e,1)&&(t[o]={icon:e})},mapIconProp2State=t=>{let o={};return isString(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(mapCustomIcon(o,"top",t.top),mapCustomIcon(o,"right",t.right),mapCustomIcon(o,"bottom",t.bottom),mapCustomIcon(o,"left",t.left)),o},beforePatchIcon=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",mapIconProp2State(o))}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||isStyle(t.style))&&(void 0===t.label||isString(t.label))&&isString(t.icon,1),validateIcons=(t,o,e={})=>{objectObjectHandler(o,(()=>{var i;try{o=parseJson(o)}catch(t){}watchValidator(t,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||isString(t,1)||"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right)||isString(t.top,1)||isIcon(t.top)||isString(t.bottom,1)||isIcon(t.bottom))}),new Set(["KoliBriIcon"]),o,Object.assign(Object.assign({},e),{defaultValue:{},hooks:{afterPatch:null===(i=e.hooks)||void 0===i?void 0:i.afterPatch,beforePatch:(t,o,i,n)=>{var s,a;"function"==typeof(null===(s=e.hooks)||void 0===s?void 0:s.beforePatch)&&(null===(a=e.hooks)||void 0===a||a.beforePatch(t,o,i,n)),beforePatchIcon(i)}}}))}))};export{isIcon as i,validateIcons as v};
@@ -1 +1 @@
1
- {"file":"icons-4c339a19.js","mappings":";;;;;;AAsBA,MAAM,aAAa,GAAG,CAAC,KAAwB,EAAE,SAAwB,EAAE,IAA2C;IACrH,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAyB,CAAC;KAC7C;SAAM,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;QAC7B,KAAK,CAAC,SAAS,CAAC,GAAG;YAClB,IAAI,EAAE,IAAwB;SAC9B,CAAC;KACF;AACF,CAAC,CAAC;AAEK,MAAM,iBAAiB,GAAG,CAAC,IAAsB;IACvD,IAAI,KAAK,GAAsB,EAAE,CAAC;IAClC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;QACtB,KAAK,GAAG;YACP,IAAI,EAAE;gBACL,IAAI,EAAE,IAAwB;aAC9B;SACD,CAAC;KACF;SAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QACrD,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1C,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5C,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,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AQ;oBACzB,KAAK,KAAK,IAAI;qBACb,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;wBACvB,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;wBAClB,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;wBACxB,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;wBACnB,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;wBACtB,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC;wBACjB,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;wBACzB,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EACvB;SACF,EACD,IAAI,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC,EACxB,KAAK,kCAED,OAAO,KACV,YAAY,EAAE,EAAE,EAChB,KAAK,EAAE;gBACN,UAAU,EAAE,MAAA,OAAO,CAAC,KAAK,0CAAE,UAAU;gBACrC,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG;;oBACjD,IAAI,QAAO,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAA,KAAK,UAAU,EAAE;wBACrD,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;qBACjE;oBACD,eAAe,CAAC,SAAS,CAAC,CAAC;iBAC3B;aACD,IAEF,CAAC;KACF,CAAC,CAAC;AACJ;;;;","names":[],"sources":["src/schema/props/icons.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { AnyIconFontClass, KoliBriCustomIcon, KoliBriIconsProp, KoliBriIconsState } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString, isStyle } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type IconsPropType = Stringified<KoliBriIconsProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcons = {\n\ticons: IconsPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconsState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconsProp): KoliBriIconsState => {\n\tlet state: KoliBriIconsState = {};\n\tif (isString(icon, 1)) {\n\t\tstate = {\n\t\t\tleft: {\n\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t},\n\t\t};\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icons')) {\n\t\tconst icons = component.nextState?.get('_icons') as KoliBriIconsProp;\n\t\tcomponent.nextState?.set('_icons', mapIconProp2State(icons));\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\t(typeof (value as KoliBriCustomIcon).label === 'undefined' || isString((value as KoliBriCustomIcon).label)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcons = (component: Generic.Element.Component, value?: IconsPropType, options: WatchOptions = {}): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconsProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\tconst valueIsEmptyObject = typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tvalueIsEmptyObject ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\t...options,\n\t\t\t\tdefaultValue: {},\n\t\t\t\thooks: {\n\t\t\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n"],"version":3}
1
+ {"file":"icons-f3b7aabd.js","mappings":";;;;;;AAsBA,MAAM,aAAa,GAAG,CAAC,KAAwB,EAAE,SAAwB,EAAE,IAA2C;IACrH,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAyB,CAAC;KAC7C;SAAM,IAAI,QAAQ,CAAC,IA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,KAAK,EAAE;gBACN,UAAU,EAAE,MAAA,OAAO,CAAC,KAAK,0CAAE,UAAU;gBACrC,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG;;oBACjD,IAAI,QAAO,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAA,KAAK,UAAU,EAAE;wBACrD,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;qBACjE;oBACD,eAAe,CAAC,SAAS,CAAC,CAAC;iBAC3B;aACD,IAEF,CAAC;KACF,CAAC,CAAC;AACJ;;;;","names":[],"sources":["src/schema/props/icons.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { AnyIconFontClass, KoliBriCustomIcon, KoliBriIconsProp, KoliBriIconsState } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString, isStyle } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type IconsPropType = Stringified<KoliBriIconsProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcons = {\n\ticons: IconsPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconsState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconsProp): KoliBriIconsState => {\n\tlet state: KoliBriIconsState = {};\n\tif (isString(icon, 1)) {\n\t\tstate = {\n\t\t\tleft: {\n\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t},\n\t\t};\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icons')) {\n\t\tconst icons = component.nextState?.get('_icons') as KoliBriIconsProp;\n\t\tcomponent.nextState?.set('_icons', mapIconProp2State(icons));\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\t(typeof (value as KoliBriCustomIcon).label === 'undefined' || isString((value as KoliBriCustomIcon).label)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcons = (component: Generic.Element.Component, value?: IconsPropType, options: WatchOptions = {}): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconsProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\tconst valueIsEmptyObject = typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tvalueIsEmptyObject ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\t...options,\n\t\t\t\tdefaultValue: {},\n\t\t\t\thooks: {\n\t\t\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ const NAMESPACE="kolibri",BUILD={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Env={kolibriVersion:"3.0.0-alpha.1"};var __defProp=Object.defineProperty,__export=(e,t)=>{for(var o in t)__defProp(e,o,{get:t[o],enumerable:!0})},hostRefs=new WeakMap,getHostRef=e=>hostRefs.get(e),registerInstance=(e,t)=>hostRefs.set(t.$lazyInstance$=e,t),registerHost=(e,t)=>{const o={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return o.$onInstancePromise$=new Promise((e=>o.$onInstanceResolve$=e)),o.$onReadyPromise$=new Promise((e=>o.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[],hostRefs.set(e,o)},isMemberInElement=(e,t)=>t in e,consoleError=(e,t)=>(0,console.error)(e,t),cmpModules=new Map,loadModule=(e,t,o)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const s=cmpModules.get(r);if(s)return s[n];if(!o||!BUILD.hotModuleReplacement){const e=e=>(cmpModules.set(r,e),e[n]);switch(r){case"kol-abbr":return import("./kol-abbr.entry.js").then(e,consoleError);case"kol-accordion":return import("./kol-accordion.entry.js").then(e,consoleError);case"kol-alert":return import("./kol-alert.entry.js").then(e,consoleError);case"kol-avatar":return import("./kol-avatar.entry.js").then(e,consoleError);case"kol-badge":return import("./kol-badge.entry.js").then(e,consoleError);case"kol-breadcrumb":return import("./kol-breadcrumb.entry.js").then(e,consoleError);case"kol-button":return import("./kol-button.entry.js").then(e,consoleError);case"kol-button-group":return import("./kol-button-group.entry.js").then(e,consoleError);case"kol-button-link":return import("./kol-button-link.entry.js").then(e,consoleError);case"kol-card":return import("./kol-card.entry.js").then(e,consoleError);case"kol-details":return import("./kol-details.entry.js").then(e,consoleError);case"kol-drawer":return import("./kol-drawer.entry.js").then(e,consoleError);case"kol-form":return import("./kol-form.entry.js").then(e,consoleError);case"kol-heading":return import("./kol-heading.entry.js").then(e,consoleError);case"kol-icon":return import("./kol-icon.entry.js").then(e,consoleError);case"kol-image":return import("./kol-image.entry.js").then(e,consoleError);case"kol-indented-text":return import("./kol-indented-text.entry.js").then(e,consoleError);case"kol-input-checkbox":return import("./kol-input-checkbox.entry.js").then(e,consoleError);case"kol-input-color":return import("./kol-input-color.entry.js").then(e,consoleError);case"kol-input-date":return import("./kol-input-date.entry.js").then(e,consoleError);case"kol-input-email":return import("./kol-input-email.entry.js").then(e,consoleError);case"kol-input-file":return import("./kol-input-file.entry.js").then(e,consoleError);case"kol-input-number":return import("./kol-input-number.entry.js").then(e,consoleError);case"kol-input-password":return import("./kol-input-password.entry.js").then(e,consoleError);case"kol-input-radio":return import("./kol-input-radio.entry.js").then(e,consoleError);case"kol-input-text":return import("./kol-input-text.entry.js").then(e,consoleError);case"kol-kolibri":return import("./kol-kolibri.entry.js").then(e,consoleError);case"kol-link":return import("./kol-link.entry.js").then(e,consoleError);case"kol-link-button":return import("./kol-link-button.entry.js").then(e,consoleError);case"kol-link-group":return import("./kol-link-group.entry.js").then(e,consoleError);case"kol-logo":return import("./kol-logo.entry.js").then(e,consoleError);case"kol-modal":return import("./kol-modal.entry.js").then(e,consoleError);case"kol-nav":return import("./kol-nav.entry.js").then(e,consoleError);case"kol-pagination":return import("./kol-pagination.entry.js").then(e,consoleError);case"kol-progress":return import("./kol-progress.entry.js").then(e,consoleError);case"kol-quote":return import("./kol-quote.entry.js").then(e,consoleError);case"kol-select":return import("./kol-select.entry.js").then(e,consoleError);case"kol-skip-nav":return import("./kol-skip-nav.entry.js").then(e,consoleError);case"kol-spin":return import("./kol-spin.entry.js").then(e,consoleError);case"kol-split-button":return import("./kol-split-button.entry.js").then(e,consoleError);case"kol-symbol":return import("./kol-symbol.entry.js").then(e,consoleError);case"kol-table":return import("./kol-table.entry.js").then(e,consoleError);case"kol-table-stateless":return import("./kol-table-stateless.entry.js").then(e,consoleError);case"kol-table-stateful":return import("./kol-table-stateful.entry.js").then(e,consoleError);case"kol-tabs":return import("./kol-tabs.entry.js").then(e,consoleError);case"kol-toolbar":return import("./kol-toolbar.entry.js").then(e,consoleError);case"kol-textarea":return import("./kol-textarea.entry.js").then(e,consoleError);case"kol-toast-container":return import("./kol-toast-container.entry.js").then(e,consoleError);case"kol-tree":return import("./kol-tree.entry.js").then(e,consoleError);case"kol-tree-item":return import("./kol-tree-item.entry.js").then(e,consoleError);case"kol-version":return import("./kol-version.entry.js").then(e,consoleError);case"kol-alert-wc":return import("./kol-alert-wc.entry.js").then(e,consoleError);case"kol-avatar-wc":return import("./kol-avatar-wc.entry.js").then(e,consoleError);case"kol-button-group-wc":return import("./kol-button-group-wc.entry.js").then(e,consoleError);case"kol-button-wc":return import("./kol-button-wc.entry.js").then(e,consoleError);case"kol-combobox":return import("./kol-combobox.entry.js").then(e,consoleError);case"kol-indented-text-wc":return import("./kol-indented-text-wc.entry.js").then(e,consoleError);case"kol-input":return import("./kol-input.entry.js").then(e,consoleError);case"kol-input-range":return import("./kol-input-range.entry.js").then(e,consoleError);case"kol-link-wc":return import("./kol-link-wc.entry.js").then(e,consoleError);case"kol-popover-wc":return import("./kol-popover-wc.entry.js").then(e,consoleError);case"kol-single-select":return import("./kol-single-select.entry.js").then(e,consoleError);case"kol-table-stateless-wc":return import("./kol-table-stateless-wc.entry.js").then(e,consoleError);case"kol-tooltip-wc":return import("./kol-tooltip-wc.entry.js").then(e,consoleError);case"kol-tree-item-wc":return import("./kol-tree-item-wc.entry.js").then(e,consoleError);case"kol-tree-wc":return import("./kol-tree-wc.entry.js").then(e,consoleError);case"test-component":return import("./test-component.entry.js").then(e,consoleError)}}return import(`./${r}.entry.js`).then((e=>(cmpModules.set(r,e),e[n])),consoleError)},styles=new Map,modeResolutionChain=[],CONTENT_REF_ID="r",ORG_LOCATION_ID="o",SLOT_NODE_ID="s",TEXT_NODE_ID="t",HYDRATE_ID="s-id",HYDRATED_STYLE_ID="sty-id",HYDRATE_CHILD_ID="c-id",HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}",SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win="undefined"!=typeof window?window:{},doc=win.document||{head:{}},plt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},supportsShadow=BUILD.shadowDom,supportsListenerOptions=(()=>{let e=!1;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),promiseResolve=e=>Promise.resolve(e),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),nextTick=e=>promiseResolve().then(e),EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=e=>null!=e,isComplexType=e=>"object"===(e=typeof e)||"function"===e;function queryNonceMetaTagContent(e){var t,o,n;return null!=(n=null==(o=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:o.getAttribute("content"))?n:void 0}var result_exports={};__export(result_exports,{err:()=>err,map:()=>map,ok:()=>ok,unwrap:()=>unwrap,unwrapErr:()=>unwrapErr});var ok=e=>({isOk:!0,isErr:!1,value:e}),err=e=>({isOk:!1,isErr:!0,value:e});function map(e,t){if(e.isOk){const o=t(e.value);return o instanceof Promise?o.then((e=>ok(e))):ok(o)}if(e.isErr){const t=e.value;return err(t)}throw"should never get here"}var scopeId,contentRef,hostTagName,unwrap=e=>{if(e.isOk)return e.value;throw e.value},unwrapErr=e=>{if(e.isErr)return e.value;throw e.value},createTime=(e,t="")=>()=>{},uniqueTime=(e,t)=>()=>{},h=(e,t,...o)=>{let n=null,r=null,s=null,l=!1,a=!1;const i=[],c=t=>{for(let o=0;o<t.length;o++)n=t[o],Array.isArray(n)?c(n):null!=n&&"boolean"!=typeof n&&((l="function"!=typeof e&&!isComplexType(n))&&(n=String(n)),l&&a?i[i.length-1].$text$+=n:i.push(l?newVNode(null,n):n),a=l)};if(c(o),t){t.key&&(r=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,vdomFnUtils);const $=newVNode(e,null);return $.$attrs$=t,i.length>0&&($.$children$=i),$.$key$=r,$.$name$=s,$},newVNode=(e,t)=>{const o={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null};return o},Host={},isHost=e=>e&&e.$tag$===Host,vdomFnUtils={forEach:(e,t)=>e.map(convertToPublic).forEach(t),map:(e,t)=>e.map(convertToPublic).map(t).map(convertToPrivate)},convertToPublic=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),convertToPrivate=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),h(e.vtag,t,...e.vchildren||[])}const t=newVNode(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},initializeClientHydrate=(e,t,o,n)=>{const r=createTime("hydrateClient",t),s=e.shadowRoot,l=[],a=s?[]:null,i=n.$vnode$=newVNode(t,null);plt.$orgLocNodes$||initializeDocumentHydrate(doc.body,plt.$orgLocNodes$=new Map),e[HYDRATE_ID]=o,e.removeAttribute(HYDRATE_ID),clientHydrate(i,l,[],a,e,e,o),l.map((e=>{const o=e.$hostId$+"."+e.$nodeId$,n=plt.$orgLocNodes$.get(o),r=e.$elm$;n&&supportsShadow&&""===n["s-en"]&&n.parentNode.insertBefore(r,n.nextSibling),s||(r["s-hn"]=t,n&&(r["s-ol"]=n,r["s-ol"]["s-nr"]=r)),plt.$orgLocNodes$.delete(o)})),s&&a.map((e=>{e&&s.appendChild(e)})),r()},clientHydrate=(e,t,o,n,r,s,l)=>{let a,i,c,$;if(1===s.nodeType){if(a=s.getAttribute(HYDRATE_CHILD_ID),a&&(i=a.split("."),i[0]!==l&&"0"!==i[0]||(c={$flags$:0,$hostId$:i[0],$nodeId$:i[1],$depth$:i[2],$index$:i[3],$tag$:s.tagName.toLowerCase(),$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),s.removeAttribute(HYDRATE_CHILD_ID),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,n&&"0"===c.$depth$&&(n[c.$index$]=c.$elm$))),s.shadowRoot)for($=s.shadowRoot.childNodes.length-1;$>=0;$--)clientHydrate(e,t,o,n,r,s.shadowRoot.childNodes[$],l);for($=s.childNodes.length-1;$>=0;$--)clientHydrate(e,t,o,n,r,s.childNodes[$],l)}else if(8===s.nodeType)i=s.nodeValue.split("."),i[1]!==l&&"0"!==i[1]||(a=i[0],c={$flags$:0,$hostId$:i[1],$nodeId$:i[2],$depth$:i[3],$index$:i[4],$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},a===TEXT_NODE_ID?(c.$elm$=s.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),s.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,n&&"0"===c.$depth$&&(n[c.$index$]=c.$elm$))):c.$hostId$===l&&(a===SLOT_NODE_ID?(c.$tag$="slot",i[5]?s["s-sn"]=c.$name$=i[5]:s["s-sn"]="",s["s-sr"]=!0,n&&(c.$elm$=doc.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),s.parentNode.insertBefore(c.$elm$,s),s.remove(),"0"===c.$depth$&&(n[c.$index$]=c.$elm$)),o.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):a===CONTENT_REF_ID&&(n?s.remove():(r["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=newVNode(null,s.textContent);t.$elm$=s,t.$index$="0",e.$children$=[t]}},initializeDocumentHydrate=(e,t)=>{if(1===e.nodeType){let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)initializeDocumentHydrate(e.shadowRoot.childNodes[o],t);for(o=0;o<e.childNodes.length;o++)initializeDocumentHydrate(e.childNodes[o],t)}else if(8===e.nodeType){const o=e.nodeValue.split(".");o[0]===ORG_LOCATION_ID&&(t.set(o[1]+"."+o[2],e),e.nodeValue="",e["s-en"]=o[3])}},computeMode=e=>modeResolutionChain.map((t=>t(e))).find((e=>!!e)),setMode=e=>modeResolutionChain.push(e),parsePropertyValue=(e,t)=>null==e||isComplexType(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,getElement=e=>getHostRef(e).$hostElement$,emitEvent=(e,t,o)=>{const n=plt.ce(t,o);return e.dispatchEvent(n),n},rootAppliedStyles=new WeakMap,registerStyle=(e,t,o)=>{let n=styles.get(e);supportsConstructableStylesheets&&o?(n=n||new CSSStyleSheet,"string"==typeof n?n=t:n.replaceSync(t)):n=t,styles.set(e,n)},addStyle=(e,t,o)=>{var n;const r=getScopeId(t,o),s=styles.get(r);if(e=11===e.nodeType?e:doc,s)if("string"==typeof s){e=e.head||e;let o,l=rootAppliedStyles.get(e);if(l||rootAppliedStyles.set(e,l=new Set),!l.has(r)){if(e.host&&(o=e.querySelector(`[${HYDRATED_STYLE_ID}="${r}"]`)))o.innerHTML=s;else{o=doc.createElement("style"),o.innerHTML=s;const r=null!=(n=plt.$nonce$)?n:queryNonceMetaTagContent(doc);null!=r&&o.setAttribute("nonce",r);(!(1&t.$flags$)||1&t.$flags$&&"HEAD"!==e.nodeName)&&e.insertBefore(o,e.querySelector("link"))}4&t.$flags$&&(o.innerHTML+=SLOT_FB_CSS),l&&l.add(r)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return r},attachStyles=e=>{const t=e.$cmpMeta$,o=e.$hostElement$,n=t.$flags$,r=createTime("attachStyles",t.$tagName$),s=addStyle(o.shadowRoot?o.shadowRoot:o.getRootNode(),t,e.$modeName$);10&n&&2&n&&(o["s-sc"]=s,o.classList.add(s+"-h")),r()},getScopeId=(e,t)=>"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),setAccessor=(e,t,o,n,r,s)=>{if(o!==n){let l=isMemberInElement(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,r=parseClassList(o),s=parseClassList(n);t.remove(...r.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!r.includes(e))))}else if("style"===t){for(const t in o)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)o&&n[t]===o[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(l||"o"!==t[0]||"n"!==t[1]){const i=isComplexType(n);if((l||i&&null!==n)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const r=null==n?"":n;"list"===t?l=!1:null!=o&&e[t]==r||(e[t]=r)}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(XLINK_NS,t):e.removeAttribute(t)):(!l||4&s||r)&&!i&&(n=!0===n?"":n,c?e.setAttributeNS(XLINK_NS,t,n):e.setAttribute(t,n))}else if(t="-"===t[2]?t.slice(3):isMemberInElement(win,a)?a.slice(2):a[2]+t.slice(3),o||n){const r=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,""),o&&plt.rel(e,t,o,r),n&&plt.ael(e,t,n,r)}}},parseClassListRegex=/\s/,parseClassList=e=>e?e.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(e,t,o)=>{const n=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||EMPTY_OBJ,s=t.$attrs$||EMPTY_OBJ;for(const e of sortedAttrNames(Object.keys(r)))e in s||setAccessor(n,e,r[e],void 0,o,t.$flags$);for(const e of sortedAttrNames(Object.keys(s)))setAccessor(n,e,r[e],s[e],o,t.$flags$)};function sortedAttrNames(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(e,t,o,n)=>{var r;const s=t.$children$[o];let l,a,i,c=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===s.$tag$&&(scopeId&&n.classList.add(scopeId+"-s"),s.$flags$|=s.$children$?2:1)),null!==s.$text$)l=s.$elm$=doc.createTextNode(s.$text$);else if(1&s.$flags$)l=s.$elm$=doc.createTextNode("");else{isSvgMode||(isSvgMode="svg"===s.$tag$),l=s.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&s.$flags$?"slot-fb":s.$tag$),isSvgMode&&"foreignObject"===s.$tag$&&(isSvgMode=!1),updateElement(null,s,isSvgMode);if(!!l.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&l["s-si"]!==scopeId&&l.classList.add(l["s-si"]=scopeId),s.$children$)for(c=0;c<s.$children$.length;++c)a=createElm(e,s,c,l),a&&l.appendChild(a);"svg"===s.$tag$?isSvgMode=!1:"foreignObject"===l.tagName&&(isSvgMode=!0)}return l["s-hn"]=hostTagName,3&s.$flags$&&(l["s-sr"]=!0,l["s-cr"]=contentRef,l["s-sn"]=s.$name$||"",l["s-rf"]=null==(r=s.$attrs$)?void 0:r.ref,i=e&&e.$children$&&e.$children$[o],i&&i.$tag$===s.$tag$&&e.$elm$&&putBackInOriginalLocation(e.$elm$,!1)),l},putBackInOriginalLocation=(e,t)=>{plt.$flags$|=1;const o=Array.from(e.childNodes);if(e["s-sr"]&&BUILD.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===hostTagName&&o.push(t)}for(let e=o.length-1;e>=0;e--){const n=o[e];n["s-hn"]!==hostTagName&&n["s-ol"]&&(insertBefore(parentReferenceNode(n),n,referenceNode(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,checkSlotRelocate=!0),t&&putBackInOriginalLocation(n,t)}plt.$flags$&=-2},addVnodes=(e,t,o,n,r,s)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===hostTagName&&(a=a.shadowRoot);r<=s;++r)n[r]&&(l=createElm(null,o,r,e),l&&(n[r].$elm$=l,insertBefore(a,l,referenceNode(t))))},removeVnodes=(e,t,o)=>{for(let n=t;n<=o;++n){const t=e[n];if(t){const e=t.$elm$;nullifyVNodeRefs(t),e&&(checkSlotFallbackVisibility=!0,e["s-ol"]?e["s-ol"].remove():putBackInOriginalLocation(e,!0),e.remove())}}},updateChildren=(e,t,o,n,r=!1)=>{let s,l,a=0,i=0,c=0,$=0,d=t.length-1,p=t[0],m=t[d],u=n.length-1,h=n[0],f=n[u];for(;a<=d&&i<=u;)if(null==p)p=t[++a];else if(null==m)m=t[--d];else if(null==h)h=n[++i];else if(null==f)f=n[--u];else if(isSameVnode(p,h,r))patch(p,h,r),p=t[++a],h=n[++i];else if(isSameVnode(m,f,r))patch(m,f,r),m=t[--d],f=n[--u];else if(isSameVnode(p,f,r))"slot"!==p.$tag$&&"slot"!==f.$tag$||putBackInOriginalLocation(p.$elm$.parentNode,!1),patch(p,f,r),insertBefore(e,p.$elm$,m.$elm$.nextSibling),p=t[++a],f=n[--u];else if(isSameVnode(m,h,r))"slot"!==p.$tag$&&"slot"!==f.$tag$||putBackInOriginalLocation(m.$elm$.parentNode,!1),patch(m,h,r),insertBefore(e,m.$elm$,p.$elm$),m=t[--d],h=n[++i];else{for(c=-1,$=a;$<=d;++$)if(t[$]&&null!==t[$].$key$&&t[$].$key$===h.$key$){c=$;break}c>=0?(l=t[c],l.$tag$!==h.$tag$?s=createElm(t&&t[i],o,c,e):(patch(l,h,r),t[c]=void 0,s=l.$elm$),h=n[++i]):(s=createElm(t&&t[i],o,i,e),h=n[++i]),s&&insertBefore(parentReferenceNode(p.$elm$),s,referenceNode(p.$elm$))}a>d?addVnodes(e,null==n[u+1]?null:n[u+1].$elm$,o,n,i,u):i>u&&removeVnodes(t,a,d)},isSameVnode=(e,t,o=!1)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?(!("$nodeId$"in e)||!o||8===e.$elm$.nodeType)&&e.$name$===t.$name$:!!o||e.$key$===t.$key$),referenceNode=e=>e&&e["s-ol"]||e,parentReferenceNode=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,patch=(e,t,o=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,s=t.$children$,l=t.$tag$,a=t.$text$;let i;null===a?(isSvgMode="svg"===l||"foreignObject"!==l&&isSvgMode,("slot"!==l||useNativeShadowDom)&&updateElement(e,t,isSvgMode),null!==r&&null!==s?updateChildren(n,r,t,s,o):null!==s?(null!==e.$text$&&(n.textContent=""),addVnodes(n,null,t,s,0,s.length-1)):!o&&BUILD.updatable&&null!==r&&removeVnodes(r,0,r.length-1),isSvgMode&&"svg"===l&&(isSvgMode=!1)):(i=n["s-cr"])?i.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},updateFallbackSlotVisibility=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const o=e["s-sn"];e.hidden=!1;for(const n of t)if(n!==e)if(n["s-hn"]!==e["s-hn"]||""!==o){if(1===n.nodeType&&(o===n.getAttribute("slot")||o===n["s-sn"])||3===n.nodeType&&o===n["s-sn"]){e.hidden=!0;break}}else if(1===n.nodeType||3===n.nodeType&&""!==n.textContent.trim()){e.hidden=!0;break}}updateFallbackSlotVisibility(e)}},relocateNodes=[],markSlotContentForRelocation=e=>{let t,o,n;for(const r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.childNodes;const e=r["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(t,e)){let o=relocateNodes.find((e=>e.$nodeToRelocate$===t));checkSlotFallbackVisibility=!0,t["s-sn"]=t["s-sn"]||e,o?(o.$nodeToRelocate$["s-sh"]=r["s-hn"],o.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],relocateNodes.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&relocateNodes.map((e=>{isNodeLocatedInSlot(e.$nodeToRelocate$,t["s-sn"])&&(o=relocateNodes.find((e=>e.$nodeToRelocate$===t)),o&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$))}))}else relocateNodes.some((e=>e.$nodeToRelocate$===t))||relocateNodes.push({$nodeToRelocate$:t})}1===r.nodeType&&markSlotContentForRelocation(r)}},isNodeLocatedInSlot=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,nullifyVNodeRefs=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(nullifyVNodeRefs)},insertBefore=(e,t,o)=>null==e?void 0:e.insertBefore(t,o),renderVdom=(e,t,o=!1)=>{var n,r,s,l;const a=e.$hostElement$,i=e.$cmpMeta$,c=e.$vnode$||newVNode(null,null),$=isHost(t)?t:h(null,null,t);if(hostTagName=a.tagName,i.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},i.$attrsToReflect$.map((([e,t])=>$.$attrs$[t]=a[e]))),o&&$.$attrs$)for(const e of Object.keys($.$attrs$))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&($.$attrs$[e]=a[e]);if($.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=a.shadowRoot||a,scopeId=a["s-sc"],useNativeShadowDom=!!(1&i.$flags$),contentRef=a["s-cr"],checkSlotFallbackVisibility=!1,patch(c,$,o),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation($.$elm$);for(const e of relocateNodes){const t=e.$nodeToRelocate$;if(!t["s-ol"]){const e=doc.createTextNode("");e["s-nr"]=t,insertBefore(t.parentNode,t["s-ol"]=e,t)}}for(const e of relocateNodes){const t=e.$nodeToRelocate$,a=e.$slotRefNode$;if(a){const e=a.parentNode;let o=a.nextSibling;{let s=null==(n=t["s-ol"])?void 0:n.previousSibling;for(;s;){let n=null!=(r=s["s-nr"])?r:null;if(n&&n["s-sn"]===t["s-sn"]&&e===n.parentNode){for(n=n.nextSibling;n===t||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){o=n;break}}s=s.previousSibling}}(!o&&e!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),insertBefore(e,t,o),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof a["s-rf"]&&a["s-rf"](t)}else 1===t.nodeType&&(o&&(t["s-ih"]=null!=(l=t.hidden)&&l),t.hidden=!0)}}checkSlotFallbackVisibility&&updateFallbackSlotVisibility($.$elm$),plt.$flags$&=-2,relocateNodes.length=0,contentRef=void 0},attachToAncestor=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},scheduleUpdate=(e,t)=>{if(4&e.$flags$)return void(e.$flags$|=512);attachToAncestor(e,e.$ancestorComponent$);return dispatchHooks(e,t)},dispatchHooks=(e,t)=>{const o=e.$hostElement$,n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid KoliBri runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((([e,t])=>safeCall(r,e,t))),e.$queuedListeners$=void 0),s=safeCall(r,"componentWillLoad")),s=enqueue(s,(()=>safeCall(r,"componentWillRender"))),n(),enqueue(s,(()=>updateComponent(e,r,t)))},enqueue=(e,t)=>isPromisey(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),isPromisey=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,updateComponent=async(e,t,o)=>{var n;const r=e.$hostElement$,s=createTime("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];o&&attachStyles(e);const a=createTime("render",e.$cmpMeta$.$tagName$);callRender(e,t,r,o),l&&(l.map((e=>e())),r["s-rc"]=void 0),a(),s();{const t=null!=(n=r["s-p"])?n:[],o=()=>postUpdateComponent(e);0===t.length?o():(Promise.all(t).then(o),e.$flags$|=4,t.length=0)}},callRender=(e,t,o,n)=>{try{t=t.render&&t.render(),e.$flags$|=2,renderVdom(e,t,n)}catch(t){consoleError(t,e.$hostElement$)}return null},postUpdateComponent=e=>{const t=e.$cmpMeta$.$tagName$,o=e.$hostElement$,n=createTime("postUpdate",t),r=e.$lazyInstance$,s=e.$ancestorComponent$;safeCall(r,"componentDidRender"),64&e.$flags$?n():(e.$flags$|=64,addHydratedFlag(o),safeCall(r,"componentDidLoad"),n(),e.$onReadyResolve$(o),s||appDidLoad()),e.$onInstanceResolve$(o),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&nextTick((()=>scheduleUpdate(e,!1))),e.$flags$&=-517},appDidLoad=e=>{addHydratedFlag(doc.documentElement),nextTick((()=>emitEvent(win,"appload",{detail:{namespace:"kolibri"}})))},safeCall=(e,t,o)=>{if(e&&e[t])try{return e[t](o)}catch(e){consoleError(e)}},addHydratedFlag=e=>{var t;return e.classList.add(null!=(t=BUILD.hydratedSelectorName)?t:"hydrated")},getValue=(e,t)=>getHostRef(e).$instanceValues$.get(t),setValue=(e,t,o,n)=>{const r=getHostRef(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const s=r.$hostElement$,l=r.$instanceValues$.get(t),a=r.$flags$,i=r.$lazyInstance$;o=parsePropertyValue(o,n.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(o);if((!(8&a)||void 0===l)&&(o!==l&&!c)&&(r.$instanceValues$.set(t,o),i)){if(n.$watchers$&&128&a){const e=n.$watchers$[t];e&&e.map((e=>{try{i[e](o,l,t)}catch(e){consoleError(e,s)}}))}2==(18&a)&&scheduleUpdate(r,!1)}},proxyComponent=(e,t,o)=>{var n,r;const s=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries(null!=(n=t.$members$)?n:{});if(l.map((([e,[n]])=>{31&n||2&o&&32&n?Object.defineProperty(s,e,{get(){return getValue(this,e)},set(o){setValue(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&n&&Object.defineProperty(s,e,{value(...t){var o;const n=getHostRef(this);return null==(o=null==n?void 0:n.$onInstancePromise$)?void 0:o.then((()=>{var o;return null==(o=n.$lazyInstance$)?void 0:o[e](...t)}))}})})),1&o){const o=new Map;s.attributeChangedCallback=function(e,n,r){plt.jmp((()=>{var l;const a=o.get(e);if(this.hasOwnProperty(a))r=this[a],delete this[a];else{if(s.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=getHostRef(this),s=null==o?void 0:o.$flags$;if(s&&!(8&s)&&128&s&&r!==n){const s=o.$lazyInstance$,a=null==(l=t.$watchers$)?void 0:l[e];null==a||a.forEach((t=>{null!=s[t]&&s[t].call(s,r,n,e)}))}return}}this[a]=(null!==r||"boolean"!=typeof this[a])&&r}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.$watchers$)?r:{}),...l.filter((([e,t])=>15&t[0])).map((([e,n])=>{var r;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(r=t.$attrsToReflect$)||r.push([e,s])),s}))]))}}return e},initializeComponent=async(e,t,o,n)=>{let r;if(!(32&t.$flags$)){t.$flags$|=32;if(o.$lazyBundleId$){const e=loadModule(o);if(e&&"then"in e){const t=uniqueTime();r=await e,t()}else r=e;if(!r)throw new Error(`Constructor for "${o.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(o.$watchers$=r.watchers,proxyComponent(r,o,2),r.isProxied=!0);const n=createTime("createInstance",o.$tagName$);t.$flags$|=8;try{new r(t)}catch(e){consoleError(e)}t.$flags$&=-9,t.$flags$|=128,n(),fireConnectedCallback(t.$lazyInstance$)}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then((()=>t.$flags$|=128))}if(r&&r.style){let n;"string"==typeof r.style?n=r.style:"string"!=typeof r.style&&(t.$modeName$=computeMode(e),t.$modeName$&&(n=r.style[t.$modeName$]));const s=getScopeId(o,t.$modeName$);if(!styles.has(s)){const e=createTime("registerStyles",o.$tagName$);registerStyle(s,n,!!(1&o.$flags$)),e()}}}const s=t.$ancestorComponent$,l=()=>scheduleUpdate(t,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()},fireConnectedCallback=e=>{safeCall(e,"connectedCallback")},connectedCallback=e=>{if(!(1&plt.$flags$)){const t=getHostRef(e),o=t.$cmpMeta$,n=createTime("connectedCallback",o.$tagName$);if(1&t.$flags$)addHostEventListeners(e,t,o.$listeners$),(null==t?void 0:t.$lazyInstance$)?fireConnectedCallback(t.$lazyInstance$):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>fireConnectedCallback(t.$lazyInstance$)));else{let n;if(t.$flags$|=1,n=e.getAttribute(HYDRATE_ID),n){if(1&o.$flags$){const t=addStyle(e.shadowRoot,o,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}initializeClientHydrate(e,o.$tagName$,n,t)}n||12&o.$flags$&&setContentReference(e);{let o=e;for(;o=o.parentNode||o.host;)if(1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.$ancestorComponent$=o);break}}o.$members$&&Object.entries(o.$members$).map((([t,[o]])=>{if(31&o&&e.hasOwnProperty(t)){const o=e[t];delete e[t],e[t]=o}})),initializeComponent(e,t,o)}n()}},setContentReference=e=>{const t=e["s-cr"]=doc.createComment("");t["s-cn"]=!0,insertBefore(e,t,e.firstChild)},disconnectInstance=e=>{safeCall(e,"disconnectedCallback")},disconnectedCallback=async e=>{if(!(1&plt.$flags$)){const t=getHostRef(e);t.$rmListeners$&&(t.$rmListeners$.map((e=>e())),t.$rmListeners$=void 0),(null==t?void 0:t.$lazyInstance$)?disconnectInstance(t.$lazyInstance$):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then((()=>disconnectInstance(t.$lazyInstance$)))}},bootstrapLazy=(e,t={})=>{var o;const n=createTime(),r=[],s=t.exclude||[],l=win.customElements,a=doc.head,i=a.querySelector("meta[charset]"),c=doc.createElement("style"),$=[];let d,p=!0;Object.assign(plt,t),plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href,plt.$flags$|=2;let m=!1;if(e.map((e=>{e[1].map((o=>{var n;const a={$flags$:o[0],$tagName$:o[1],$members$:o[2],$listeners$:o[3]};4&a.$flags$&&(m=!0),a.$members$=o[2],a.$listeners$=o[3],a.$attrsToReflect$=[],a.$watchers$=null!=(n=o[4])?n:{};const i=t.transformTagName?t.transformTagName(a.$tagName$):a.$tagName$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,registerHost(e=this,a),1&a.$flags$)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${a.$tagName$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&a.$flags$)})}connectedCallback(){const e=getHostRef(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,addHostEventListeners(this,e,a.$listeners$)),d&&(clearTimeout(d),d=null),p?$.push(this):plt.jmp((()=>connectedCallback(this)))}disconnectedCallback(){plt.jmp((()=>disconnectedCallback(this)))}componentOnReady(){return getHostRef(this).$onReadyPromise$}};a.$lazyBundleId$=e[0],s.includes(i)||l.get(i)||(r.push(i),l.define(i,proxyComponent(c,a,1)))}))})),r.length>0&&(m&&(c.textContent+=SLOT_FB_CSS),c.textContent+=r.sort()+HYDRATED_CSS,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(doc);null!=e&&c.setAttribute("nonce",e),a.insertBefore(c,i?i.nextSibling:a.firstChild)}p=!1,$.length?$.map((e=>e.connectedCallback())):plt.jmp((()=>d=setTimeout(appDidLoad,30))),n()},Fragment=(e,t)=>t,addHostEventListeners=(e,t,o,n)=>{o&&o.map((([o,n,r])=>{const s=getHostListenerTarget(e,o),l=hostListenerProxy(t,r),a=hostListenerOpts(o);plt.ael(s,n,l,a),(t.$rmListeners$=t.$rmListeners$||[]).push((()=>plt.rel(s,n,l,a)))}))},hostListenerProxy=(e,t)=>o=>{var n;try{256&e.$flags$?null==(n=e.$lazyInstance$)||n[t](o):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,o])}catch(e){consoleError(e)}},getHostListenerTarget=(e,t)=>8&t?win:e,hostListenerOpts=e=>supportsListenerOptions?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),setNonce=e=>plt.$nonce$=e;export{Env as E,Fragment as F,Host as H,setMode as a,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};