@public-ui/components 2.1.7-rc.0 → 2.1.7-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (570) hide show
  1. package/custom-elements.json +187 -15
  2. package/dist/cjs/{InternalUnderlinedAccessKey-01ae439c.js → InternalUnderlinedAccessKey-3951c769.js} +1 -1
  3. package/dist/cjs/{InternalUnderlinedAccessKey-01ae439c.js.map → InternalUnderlinedAccessKey-3951c769.js.map} +1 -1
  4. package/dist/cjs/{app-globals-f24d49b3.js → app-globals-13285c37.js} +1 -1
  5. package/dist/cjs/{app-globals-f24d49b3.js.map → app-globals-13285c37.js.map} +1 -1
  6. package/dist/cjs/aria-expanded-be98ced6.js +4 -0
  7. package/dist/cjs/aria-expanded-be98ced6.js.map +1 -0
  8. package/dist/cjs/associated.controller-17a88d17.js +4 -0
  9. package/dist/cjs/associated.controller-17a88d17.js.map +1 -0
  10. package/dist/cjs/component-names-f704607d.js +4 -0
  11. package/dist/cjs/component-names-f704607d.js.map +1 -0
  12. package/dist/cjs/{controller-c859dca1.js → controller-42b3f8a1.js} +1 -1
  13. package/dist/cjs/{controller-c859dca1.js.map → controller-42b3f8a1.js.map} +1 -1
  14. package/dist/cjs/{controller-6f51903f.js → controller-bd9f9fcd.js} +1 -1
  15. package/dist/cjs/controller-bd9f9fcd.js.map +1 -0
  16. package/dist/cjs/{controller-dbb37c4c.js → controller-cbd26426.js} +1 -1
  17. package/dist/cjs/controller-cbd26426.js.map +1 -0
  18. package/dist/cjs/controller-e2f6b61c.js +4 -0
  19. package/dist/cjs/controller-e2f6b61c.js.map +1 -0
  20. package/dist/cjs/{controller-99650aa7.js → controller-f984e45f.js} +1 -1
  21. package/dist/cjs/{controller-99650aa7.js.map → controller-f984e45f.js.map} +1 -1
  22. package/dist/cjs/{controller-icon-38a32576.js → controller-icon-885a15b3.js} +1 -1
  23. package/dist/cjs/{controller-icon-38a32576.js.map → controller-icon-885a15b3.js.map} +1 -1
  24. package/dist/cjs/{dev.utils-b6ff0a97.js → dev.utils-edbe192a.js} +1 -1
  25. package/dist/cjs/{dev.utils-b6ff0a97.js.map → dev.utils-edbe192a.js.map} +1 -1
  26. package/dist/cjs/{devtools-923a51f8.js → devtools-a43c79b4.js} +1 -1
  27. package/dist/cjs/{devtools-923a51f8.js.map → devtools-a43c79b4.js.map} +1 -1
  28. package/dist/cjs/events-a0477b5a.js.map +1 -1
  29. package/dist/cjs/form-field-msg-eb812022.js +4 -0
  30. package/dist/cjs/{form-field-msg-731fd758.js.map → form-field-msg-eb812022.js.map} +1 -1
  31. package/dist/cjs/i18n-41ebfcca.js +4 -0
  32. package/dist/cjs/i18n-41ebfcca.js.map +1 -0
  33. package/dist/cjs/{i18n-e623dc7e.js → i18n-c8be9482.js} +1 -1
  34. package/dist/cjs/{i18n-e623dc7e.js.map → i18n-c8be9482.js.map} +1 -1
  35. package/dist/cjs/index-afb88da6.js +4 -0
  36. package/dist/cjs/{index-6c9d50dd.js.map → index-afb88da6.js.map} +1 -1
  37. package/dist/cjs/index.cjs.js +1 -1
  38. package/dist/cjs/index.cjs.js.map +1 -1
  39. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-accordion.cjs.entry.js +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-avatar-wc.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-single-select.cjs.entry.js +4 -0
  101. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -0
  102. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  126. package/dist/cjs/kolibri.cjs.js +1 -1
  127. package/dist/cjs/loader.cjs.js +1 -1
  128. package/dist/components/aria-expanded.js +1 -1
  129. package/dist/components/aria-expanded.js.map +1 -1
  130. package/dist/components/associated.controller.js +1 -1
  131. package/dist/components/associated.controller.js.map +1 -1
  132. package/dist/components/component-names.js +1 -1
  133. package/dist/components/component-names.js.map +1 -1
  134. package/dist/components/controller2.js +1 -1
  135. package/dist/components/controller2.js.map +1 -1
  136. package/dist/components/controller3.js +1 -1
  137. package/dist/components/controller3.js.map +1 -1
  138. package/dist/components/controller5.js.map +1 -1
  139. package/dist/components/events2.js.map +1 -1
  140. package/dist/components/i18n.js +1 -1
  141. package/dist/components/i18n.js.map +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/index.js.map +1 -1
  144. package/dist/components/kol-alert-wc.js +1 -1
  145. package/dist/components/kol-alert-wc.js.map +1 -1
  146. package/dist/components/kol-avatar.js +1 -1
  147. package/dist/components/kol-avatar.js.map +1 -1
  148. package/dist/components/kol-button-link.js +1 -1
  149. package/dist/components/kol-button-link.js.map +1 -1
  150. package/dist/components/kol-button-wc.js +1 -1
  151. package/dist/components/kol-button-wc.js.map +1 -1
  152. package/dist/components/kol-button.js +1 -1
  153. package/dist/components/kol-button.js.map +1 -1
  154. package/dist/components/kol-card.js +1 -1
  155. package/dist/components/kol-combobox.js +1 -1
  156. package/dist/components/kol-combobox.js.map +1 -1
  157. package/dist/components/kol-details.js +1 -1
  158. package/dist/components/kol-drawer.js +1 -1
  159. package/dist/components/kol-form.js +1 -1
  160. package/dist/components/kol-heading-wc.js +1 -1
  161. package/dist/components/kol-heading.js +1 -1
  162. package/dist/components/kol-icon.js +1 -1
  163. package/dist/components/kol-image.js +1 -1
  164. package/dist/components/kol-indented-text-wc.js +1 -1
  165. package/dist/components/kol-indented-text.js +1 -1
  166. package/dist/components/kol-input-checkbox.js +1 -1
  167. package/dist/components/kol-input-color.js +1 -1
  168. package/dist/components/kol-input-color.js.map +1 -1
  169. package/dist/components/kol-input-date.js +1 -1
  170. package/dist/components/kol-input-date.js.map +1 -1
  171. package/dist/components/kol-input-email.js +1 -1
  172. package/dist/components/kol-input-file.js +1 -1
  173. package/dist/components/kol-input-number.js +1 -1
  174. package/dist/components/kol-input-password.js +1 -1
  175. package/dist/components/kol-input-radio.js +1 -1
  176. package/dist/components/kol-input-radio.js.map +1 -1
  177. package/dist/components/kol-input-range.js +1 -1
  178. package/dist/components/kol-input-text.js +1 -1
  179. package/dist/components/kol-input.js +1 -1
  180. package/dist/components/kol-kolibri.js +1 -1
  181. package/dist/components/kol-link-button.js +1 -1
  182. package/dist/components/kol-link-button.js.map +1 -1
  183. package/dist/components/kol-link-group.js +1 -1
  184. package/dist/components/kol-link-wc.js +1 -1
  185. package/dist/components/kol-link-wc.js.map +1 -1
  186. package/dist/components/kol-link.js +1 -1
  187. package/dist/components/kol-link.js.map +1 -1
  188. package/dist/components/kol-logo.js +1 -1
  189. package/dist/components/kol-modal.js +1 -1
  190. package/dist/components/kol-nav.js +1 -1
  191. package/dist/components/kol-popover-wc.js +1 -1
  192. package/dist/components/kol-progress.js +1 -1
  193. package/dist/components/kol-quote.js +1 -1
  194. package/dist/components/kol-select.js +1 -1
  195. package/dist/components/kol-select.js.map +1 -1
  196. package/dist/components/kol-single-select.d.ts +11 -0
  197. package/dist/components/kol-single-select.js +4 -0
  198. package/dist/components/kol-single-select.js.map +1 -0
  199. package/dist/components/kol-skip-nav.js +1 -1
  200. package/dist/components/kol-span-wc.js +1 -1
  201. package/dist/components/kol-spin.js +1 -1
  202. package/dist/components/kol-spin.js.map +1 -1
  203. package/dist/components/kol-split-button.js +1 -1
  204. package/dist/components/kol-symbol.js +1 -1
  205. package/dist/components/kol-table-stateful.js +1 -1
  206. package/dist/components/kol-table-stateful.js.map +1 -1
  207. package/dist/components/kol-table-stateless-wc.js +1 -1
  208. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  209. package/dist/components/kol-table-stateless.js +1 -1
  210. package/dist/components/kol-table-stateless.js.map +1 -1
  211. package/dist/components/kol-table.js +1 -1
  212. package/dist/components/kol-tabs.js +1 -1
  213. package/dist/components/kol-textarea.js +1 -1
  214. package/dist/components/kol-toast-container.js +1 -1
  215. package/dist/components/kol-toolbar.js +1 -1
  216. package/dist/components/kol-tooltip-wc.js +1 -1
  217. package/dist/components/kol-tree-item-wc.js +1 -1
  218. package/dist/components/kol-tree-item-wc.js.map +1 -1
  219. package/dist/components/kol-tree-item.js +1 -1
  220. package/dist/components/kol-tree-wc.js +1 -1
  221. package/dist/components/kol-tree.js +1 -1
  222. package/dist/components/kol-version.js +1 -1
  223. package/dist/esm/{InternalUnderlinedAccessKey-33d7f9d0.js → InternalUnderlinedAccessKey-308bff0a.js} +1 -1
  224. package/dist/esm/{InternalUnderlinedAccessKey-33d7f9d0.js.map → InternalUnderlinedAccessKey-308bff0a.js.map} +1 -1
  225. package/dist/esm/{app-globals-eda08c15.js → app-globals-ca7441bd.js} +1 -1
  226. package/dist/esm/{app-globals-eda08c15.js.map → app-globals-ca7441bd.js.map} +1 -1
  227. package/dist/esm/aria-expanded-e75617bf.js +4 -0
  228. package/dist/esm/aria-expanded-e75617bf.js.map +1 -0
  229. package/dist/esm/associated.controller-8e2d43be.js +4 -0
  230. package/dist/esm/associated.controller-8e2d43be.js.map +1 -0
  231. package/dist/esm/{component-names-5dd1e02a.js → component-names-3e0158fe.js} +1 -1
  232. package/dist/esm/component-names-3e0158fe.js.map +1 -0
  233. package/dist/esm/{controller-9685f029.js → controller-056d0f3b.js} +1 -1
  234. package/dist/esm/controller-056d0f3b.js.map +1 -0
  235. package/dist/esm/{controller-6d4582e2.js → controller-3cb3d1e6.js} +1 -1
  236. package/dist/esm/controller-3cb3d1e6.js.map +1 -0
  237. package/dist/esm/{controller-c311c73b.js → controller-4bd39719.js} +1 -1
  238. package/dist/esm/{controller-c311c73b.js.map → controller-4bd39719.js.map} +1 -1
  239. package/dist/esm/{controller-aa6c0837.js → controller-ad9f8f69.js} +1 -1
  240. package/dist/esm/{controller-aa6c0837.js.map → controller-ad9f8f69.js.map} +1 -1
  241. package/dist/esm/{controller-a3b04811.js → controller-ec76e4bf.js} +1 -1
  242. package/dist/esm/controller-ec76e4bf.js.map +1 -0
  243. package/dist/esm/{controller-icon-0c8dba65.js → controller-icon-e155a2b1.js} +1 -1
  244. package/dist/esm/{controller-icon-0c8dba65.js.map → controller-icon-e155a2b1.js.map} +1 -1
  245. package/dist/esm/{dev.utils-9599764b.js → dev.utils-cb789c3d.js} +1 -1
  246. package/dist/esm/{dev.utils-9599764b.js.map → dev.utils-cb789c3d.js.map} +1 -1
  247. package/dist/esm/{devtools-507bae30.js → devtools-a88bc2ec.js} +1 -1
  248. package/dist/esm/{devtools-507bae30.js.map → devtools-a88bc2ec.js.map} +1 -1
  249. package/dist/esm/events-9570402d.js.map +1 -1
  250. package/dist/esm/form-field-msg-2e39a9f7.js +4 -0
  251. package/dist/esm/{form-field-msg-1fff5bb0.js.map → form-field-msg-2e39a9f7.js.map} +1 -1
  252. package/dist/esm/i18n-80da5843.js +4 -0
  253. package/dist/esm/{i18n-6d848180.js.map → i18n-80da5843.js.map} +1 -1
  254. package/dist/esm/i18n-ece780dd.js +4 -0
  255. package/dist/esm/i18n-ece780dd.js.map +1 -0
  256. package/dist/esm/index-bd96e8df.js +4 -0
  257. package/dist/esm/{index-0da2c850.js.map → index-bd96e8df.js.map} +1 -1
  258. package/dist/esm/index.js +1 -1
  259. package/dist/esm/index.js.map +1 -1
  260. package/dist/esm/kol-abbr.entry.js +1 -1
  261. package/dist/esm/kol-accordion.entry.js +1 -1
  262. package/dist/esm/kol-alert-wc.entry.js +1 -1
  263. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  264. package/dist/esm/kol-alert.entry.js +1 -1
  265. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  266. package/dist/esm/kol-avatar.entry.js +1 -1
  267. package/dist/esm/kol-avatar.entry.js.map +1 -1
  268. package/dist/esm/kol-badge.entry.js +1 -1
  269. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  270. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  271. package/dist/esm/kol-button-group.entry.js +1 -1
  272. package/dist/esm/kol-button-link.entry.js +1 -1
  273. package/dist/esm/kol-button-link.entry.js.map +1 -1
  274. package/dist/esm/kol-button-wc.entry.js +1 -1
  275. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  276. package/dist/esm/kol-button.entry.js +1 -1
  277. package/dist/esm/kol-button.entry.js.map +1 -1
  278. package/dist/esm/kol-card.entry.js +1 -1
  279. package/dist/esm/kol-combobox.entry.js +1 -1
  280. package/dist/esm/kol-combobox.entry.js.map +1 -1
  281. package/dist/esm/kol-details.entry.js +1 -1
  282. package/dist/esm/kol-drawer.entry.js +1 -1
  283. package/dist/esm/kol-form.entry.js +1 -1
  284. package/dist/esm/kol-heading-wc.entry.js +1 -1
  285. package/dist/esm/kol-heading.entry.js +1 -1
  286. package/dist/esm/kol-icon.entry.js +1 -1
  287. package/dist/esm/kol-image.entry.js +1 -1
  288. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  289. package/dist/esm/kol-indented-text.entry.js +1 -1
  290. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  291. package/dist/esm/kol-input-color.entry.js +1 -1
  292. package/dist/esm/kol-input-color.entry.js.map +1 -1
  293. package/dist/esm/kol-input-date.entry.js +1 -1
  294. package/dist/esm/kol-input-date.entry.js.map +1 -1
  295. package/dist/esm/kol-input-email.entry.js +1 -1
  296. package/dist/esm/kol-input-file.entry.js +1 -1
  297. package/dist/esm/kol-input-number.entry.js +1 -1
  298. package/dist/esm/kol-input-password.entry.js +1 -1
  299. package/dist/esm/kol-input-radio.entry.js +1 -1
  300. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  301. package/dist/esm/kol-input-range.entry.js +1 -1
  302. package/dist/esm/kol-input-text.entry.js +1 -1
  303. package/dist/esm/kol-input.entry.js +1 -1
  304. package/dist/esm/kol-kolibri.entry.js +1 -1
  305. package/dist/esm/kol-link-button.entry.js +1 -1
  306. package/dist/esm/kol-link-button.entry.js.map +1 -1
  307. package/dist/esm/kol-link-group.entry.js +1 -1
  308. package/dist/esm/kol-link-wc.entry.js +1 -1
  309. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  310. package/dist/esm/kol-link.entry.js +1 -1
  311. package/dist/esm/kol-link.entry.js.map +1 -1
  312. package/dist/esm/kol-logo.entry.js +1 -1
  313. package/dist/esm/kol-modal.entry.js +1 -1
  314. package/dist/esm/kol-nav.entry.js +1 -1
  315. package/dist/esm/kol-pagination.entry.js +1 -1
  316. package/dist/esm/kol-popover-wc.entry.js +1 -1
  317. package/dist/esm/kol-progress.entry.js +1 -1
  318. package/dist/esm/kol-quote.entry.js +1 -1
  319. package/dist/esm/kol-select.entry.js +1 -1
  320. package/dist/esm/kol-select.entry.js.map +1 -1
  321. package/dist/esm/kol-single-select.entry.js +4 -0
  322. package/dist/esm/kol-single-select.entry.js.map +1 -0
  323. package/dist/esm/kol-skip-nav.entry.js +1 -1
  324. package/dist/esm/kol-span-wc.entry.js +1 -1
  325. package/dist/esm/kol-spin.entry.js +1 -1
  326. package/dist/esm/kol-spin.entry.js.map +1 -1
  327. package/dist/esm/kol-split-button.entry.js +1 -1
  328. package/dist/esm/kol-symbol.entry.js +1 -1
  329. package/dist/esm/kol-table-stateful.entry.js +1 -1
  330. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  331. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  332. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  333. package/dist/esm/kol-table-stateless.entry.js +1 -1
  334. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  335. package/dist/esm/kol-table.entry.js +1 -1
  336. package/dist/esm/kol-tabs.entry.js +1 -1
  337. package/dist/esm/kol-textarea.entry.js +1 -1
  338. package/dist/esm/kol-toast-container.entry.js +1 -1
  339. package/dist/esm/kol-toolbar.entry.js +1 -1
  340. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  341. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  342. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  343. package/dist/esm/kol-tree-item.entry.js +1 -1
  344. package/dist/esm/kol-tree-wc.entry.js +1 -1
  345. package/dist/esm/kol-tree.entry.js +1 -1
  346. package/dist/esm/kol-version.entry.js +1 -1
  347. package/dist/esm/kolibri.js +1 -1
  348. package/dist/esm/loader.js +1 -1
  349. package/dist/kolibri/InternalUnderlinedAccessKey-308bff0a.js +4 -0
  350. package/dist/kolibri/{app-globals-eda08c15.js → app-globals-ca7441bd.js} +1 -1
  351. package/dist/kolibri/aria-expanded-e75617bf.js +4 -0
  352. package/dist/kolibri/aria-expanded-e75617bf.js.map +1 -0
  353. package/dist/kolibri/associated.controller-8e2d43be.js +4 -0
  354. package/dist/kolibri/associated.controller-8e2d43be.js.map +1 -0
  355. package/dist/kolibri/{component-names-5dd1e02a.js → component-names-3e0158fe.js} +1 -1
  356. package/dist/kolibri/{component-names-5dd1e02a.js.map → component-names-3e0158fe.js.map} +1 -1
  357. package/dist/kolibri/{controller-9685f029.js → controller-056d0f3b.js} +1 -1
  358. package/dist/kolibri/controller-056d0f3b.js.map +1 -0
  359. package/dist/kolibri/{controller-6d4582e2.js → controller-3cb3d1e6.js} +1 -1
  360. package/dist/kolibri/controller-3cb3d1e6.js.map +1 -0
  361. package/dist/kolibri/{controller-c311c73b.js → controller-4bd39719.js} +1 -1
  362. package/dist/kolibri/controller-ad9f8f69.js +4 -0
  363. package/dist/kolibri/controller-ec76e4bf.js +4 -0
  364. package/dist/kolibri/controller-ec76e4bf.js.map +1 -0
  365. package/dist/kolibri/controller-icon-e155a2b1.js +4 -0
  366. package/dist/kolibri/{dev.utils-9599764b.js → dev.utils-cb789c3d.js} +1 -1
  367. package/dist/kolibri/{devtools-507bae30.js → devtools-a88bc2ec.js} +1 -1
  368. package/dist/kolibri/events-9570402d.js.map +1 -1
  369. package/dist/kolibri/form-field-msg-2e39a9f7.js +4 -0
  370. package/dist/kolibri/i18n-80da5843.js +4 -0
  371. package/dist/kolibri/i18n-ece780dd.js +4 -0
  372. package/dist/kolibri/i18n-ece780dd.js.map +1 -0
  373. package/dist/kolibri/{index-0da2c850.js → index-bd96e8df.js} +1 -1
  374. package/dist/kolibri/{index-0da2c850.js.map → index-bd96e8df.js.map} +1 -1
  375. package/dist/kolibri/index.esm.js +1 -1
  376. package/dist/kolibri/index.esm.js.map +1 -1
  377. package/dist/kolibri/kol-abbr.entry.js +1 -1
  378. package/dist/kolibri/kol-accordion.entry.js +1 -1
  379. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  380. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  381. package/dist/kolibri/kol-alert.entry.js +1 -1
  382. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  383. package/dist/kolibri/kol-avatar.entry.js +1 -1
  384. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  385. package/dist/kolibri/kol-badge.entry.js +1 -1
  386. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  387. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  388. package/dist/kolibri/kol-button-group.entry.js +1 -1
  389. package/dist/kolibri/kol-button-link.entry.js +1 -1
  390. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  391. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  392. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  393. package/dist/kolibri/kol-button.entry.js +1 -1
  394. package/dist/kolibri/kol-button.entry.js.map +1 -1
  395. package/dist/kolibri/kol-card.entry.js +1 -1
  396. package/dist/kolibri/kol-combobox.entry.js +1 -1
  397. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  398. package/dist/kolibri/kol-details.entry.js +1 -1
  399. package/dist/kolibri/kol-drawer.entry.js +1 -1
  400. package/dist/kolibri/kol-form.entry.js +1 -1
  401. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  402. package/dist/kolibri/kol-heading.entry.js +1 -1
  403. package/dist/kolibri/kol-icon.entry.js +1 -1
  404. package/dist/kolibri/kol-image.entry.js +1 -1
  405. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  406. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  407. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  408. package/dist/kolibri/kol-input-color.entry.js +1 -1
  409. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  410. package/dist/kolibri/kol-input-date.entry.js +1 -1
  411. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  412. package/dist/kolibri/kol-input-email.entry.js +1 -1
  413. package/dist/kolibri/kol-input-file.entry.js +1 -1
  414. package/dist/kolibri/kol-input-number.entry.js +1 -1
  415. package/dist/kolibri/kol-input-password.entry.js +1 -1
  416. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  417. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  418. package/dist/kolibri/kol-input-range.entry.js +1 -1
  419. package/dist/kolibri/kol-input-text.entry.js +1 -1
  420. package/dist/kolibri/kol-input.entry.js +1 -1
  421. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  422. package/dist/kolibri/kol-link-button.entry.js +1 -1
  423. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  424. package/dist/kolibri/kol-link-group.entry.js +1 -1
  425. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  426. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  427. package/dist/kolibri/kol-link.entry.js +1 -1
  428. package/dist/kolibri/kol-link.entry.js.map +1 -1
  429. package/dist/kolibri/kol-logo.entry.js +1 -1
  430. package/dist/kolibri/kol-modal.entry.js +1 -1
  431. package/dist/kolibri/kol-nav.entry.js +1 -1
  432. package/dist/kolibri/kol-pagination.entry.js +1 -1
  433. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  434. package/dist/kolibri/kol-progress.entry.js +1 -1
  435. package/dist/kolibri/kol-quote.entry.js +1 -1
  436. package/dist/kolibri/kol-select.entry.js +1 -1
  437. package/dist/kolibri/kol-select.entry.js.map +1 -1
  438. package/dist/kolibri/kol-single-select.entry.js +4 -0
  439. package/dist/kolibri/kol-single-select.entry.js.map +1 -0
  440. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  441. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  442. package/dist/kolibri/kol-spin.entry.js +1 -1
  443. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  444. package/dist/kolibri/kol-split-button.entry.js +1 -1
  445. package/dist/kolibri/kol-symbol.entry.js +1 -1
  446. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  447. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  448. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  449. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  450. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  451. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  452. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  453. package/dist/kolibri/kol-table.entry.js +1 -1
  454. package/dist/kolibri/kol-tabs.entry.js +1 -1
  455. package/dist/kolibri/kol-textarea.entry.js +1 -1
  456. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  457. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  458. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  459. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  460. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  461. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  462. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  463. package/dist/kolibri/kol-tree.entry.js +1 -1
  464. package/dist/kolibri/kol-version.entry.js +1 -1
  465. package/dist/kolibri/kolibri.esm.js +1 -1
  466. package/dist/kolibri/kolibri.esm.js.map +1 -1
  467. package/dist/types/components/button/component.d.ts +4 -1
  468. package/dist/types/components/button/shadow.d.ts +2 -1
  469. package/dist/types/components/button-link/shadow.d.ts +2 -1
  470. package/dist/types/components/combobox/shadow.d.ts +1 -1
  471. package/dist/types/components/combobox/test/html.mock.d.ts +2 -0
  472. package/dist/types/components/input-date/shadow.d.ts +1 -0
  473. package/dist/types/components/input-password/controller.d.ts +1 -1
  474. package/dist/types/components/input-radio/controller.d.ts +3 -3
  475. package/dist/types/components/input-radio/shadow.d.ts +3 -3
  476. package/dist/types/components/link/component.d.ts +4 -1
  477. package/dist/types/components/link/shadow.d.ts +2 -1
  478. package/dist/types/components/link-button/shadow.d.ts +2 -1
  479. package/dist/types/components/single-select/controller.d.ts +16 -0
  480. package/dist/types/components/single-select/shadow.d.ts +75 -0
  481. package/dist/types/components/table-stateful/shadow.d.ts +6 -1
  482. package/dist/types/components/tree-item/component.d.ts +0 -1
  483. package/dist/types/components.d.ts +235 -7
  484. package/dist/types/locales/de.d.ts +3 -1
  485. package/dist/types/locales/en.d.ts +3 -1
  486. package/dist/types/schema/components/button.d.ts +2 -2
  487. package/dist/types/schema/components/combobox.d.ts +2 -2
  488. package/dist/types/schema/components/index.d.ts +1 -1
  489. package/dist/types/schema/components/input-radio.d.ts +4 -4
  490. package/dist/types/schema/components/link.d.ts +2 -2
  491. package/dist/types/schema/components/single-select.d.ts +31 -0
  492. package/dist/types/schema/index.d.ts +1 -1
  493. package/dist/types/schema/props/aria-description.d.ts +6 -0
  494. package/dist/types/schema/props/index.d.ts +1 -1
  495. package/dist/types/schema/props/options.d.ts +5 -1
  496. package/dist/types/schema/props/table-callbacks.d.ts +2 -2
  497. package/dist/types/schema/tag-names.d.ts +13 -12
  498. package/dist/types/schema/types/input/types.d.ts +4 -1
  499. package/dist/types/schema/types/table.d.ts +1 -0
  500. package/doc/badge.md +6 -6
  501. package/doc/button-link.md +19 -18
  502. package/doc/button.md +21 -20
  503. package/doc/combobox.md +1 -1
  504. package/doc/input-color.md +22 -22
  505. package/doc/input-date.md +38 -28
  506. package/doc/input-email.md +29 -29
  507. package/doc/input-file.md +23 -23
  508. package/doc/input-number.md +28 -28
  509. package/doc/input-password.md +28 -28
  510. package/doc/input-radio.md +1 -1
  511. package/doc/input-text.md +29 -29
  512. package/doc/link-button.md +1 -0
  513. package/doc/link.md +1 -0
  514. package/doc/single-select.md +91 -0
  515. package/doc/table-stateful.md +3 -3
  516. package/doc/table-stateless.md +1 -1
  517. package/doc/table.md +1 -1
  518. package/package.json +1 -1
  519. package/vscode-custom-data.json +111 -0
  520. package/dist/cjs/aria-expanded-8331b8d6.js +0 -4
  521. package/dist/cjs/aria-expanded-8331b8d6.js.map +0 -1
  522. package/dist/cjs/associated.controller-98098f66.js +0 -4
  523. package/dist/cjs/associated.controller-98098f66.js.map +0 -1
  524. package/dist/cjs/component-names-e841018d.js +0 -4
  525. package/dist/cjs/component-names-e841018d.js.map +0 -1
  526. package/dist/cjs/controller-195131e7.js +0 -4
  527. package/dist/cjs/controller-195131e7.js.map +0 -1
  528. package/dist/cjs/controller-6f51903f.js.map +0 -1
  529. package/dist/cjs/controller-dbb37c4c.js.map +0 -1
  530. package/dist/cjs/form-field-msg-731fd758.js +0 -4
  531. package/dist/cjs/i18n-50cc2ee1.js +0 -4
  532. package/dist/cjs/i18n-50cc2ee1.js.map +0 -1
  533. package/dist/cjs/index-6c9d50dd.js +0 -4
  534. package/dist/esm/aria-expanded-c2a03d43.js +0 -4
  535. package/dist/esm/aria-expanded-c2a03d43.js.map +0 -1
  536. package/dist/esm/associated.controller-a2335f21.js +0 -4
  537. package/dist/esm/associated.controller-a2335f21.js.map +0 -1
  538. package/dist/esm/component-names-5dd1e02a.js.map +0 -1
  539. package/dist/esm/controller-6d4582e2.js.map +0 -1
  540. package/dist/esm/controller-9685f029.js.map +0 -1
  541. package/dist/esm/controller-a3b04811.js.map +0 -1
  542. package/dist/esm/form-field-msg-1fff5bb0.js +0 -4
  543. package/dist/esm/i18n-3dcfca85.js +0 -4
  544. package/dist/esm/i18n-3dcfca85.js.map +0 -1
  545. package/dist/esm/i18n-6d848180.js +0 -4
  546. package/dist/esm/index-0da2c850.js +0 -4
  547. package/dist/kolibri/InternalUnderlinedAccessKey-33d7f9d0.js +0 -4
  548. package/dist/kolibri/aria-expanded-c2a03d43.js +0 -4
  549. package/dist/kolibri/aria-expanded-c2a03d43.js.map +0 -1
  550. package/dist/kolibri/associated.controller-a2335f21.js +0 -4
  551. package/dist/kolibri/associated.controller-a2335f21.js.map +0 -1
  552. package/dist/kolibri/controller-6d4582e2.js.map +0 -1
  553. package/dist/kolibri/controller-9685f029.js.map +0 -1
  554. package/dist/kolibri/controller-a3b04811.js +0 -4
  555. package/dist/kolibri/controller-a3b04811.js.map +0 -1
  556. package/dist/kolibri/controller-aa6c0837.js +0 -4
  557. package/dist/kolibri/controller-icon-0c8dba65.js +0 -4
  558. package/dist/kolibri/form-field-msg-1fff5bb0.js +0 -4
  559. package/dist/kolibri/i18n-3dcfca85.js +0 -4
  560. package/dist/kolibri/i18n-3dcfca85.js.map +0 -1
  561. package/dist/kolibri/i18n-6d848180.js +0 -4
  562. /package/dist/kolibri/{InternalUnderlinedAccessKey-33d7f9d0.js.map → InternalUnderlinedAccessKey-308bff0a.js.map} +0 -0
  563. /package/dist/kolibri/{app-globals-eda08c15.js.map → app-globals-ca7441bd.js.map} +0 -0
  564. /package/dist/kolibri/{controller-c311c73b.js.map → controller-4bd39719.js.map} +0 -0
  565. /package/dist/kolibri/{controller-aa6c0837.js.map → controller-ad9f8f69.js.map} +0 -0
  566. /package/dist/kolibri/{controller-icon-0c8dba65.js.map → controller-icon-e155a2b1.js.map} +0 -0
  567. /package/dist/kolibri/{dev.utils-9599764b.js.map → dev.utils-cb789c3d.js.map} +0 -0
  568. /package/dist/kolibri/{devtools-507bae30.js.map → devtools-a88bc2ec.js.map} +0 -0
  569. /package/dist/kolibri/{form-field-msg-1fff5bb0.js.map → form-field-msg-2e39a9f7.js.map} +0 -0
  570. /package/dist/kolibri/{i18n-6d848180.js.map → i18n-80da5843.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideError","options","validateMsg","watchValidator","Set","validateTouched","getRenderStates","state","isMessageValidError","Boolean","_a","_msg","_type","_description","_b","length","hasError","_touched","hasHint","_hint","ariaDescribedBy","push","_id","ControlledInputController","AssociatedInputController","constructor","name","host","super","this","validateAlert","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","watchString","validateDisabled","a11yHintDisabled","validateTooltipAlign","validateError","message","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","required","validateOn","setState","validateSmartButton","objectObjectHandler","parseJson","e","validateTabIndex","_accessKey","_adjustHeight","_error","_disabled","_label","_smartButton","_on","_tabIndex","event","stopPropagation","tryToDispatchKoliBriEvent","target","forEach","listener","shouldSetFormAssociatedValue","setFormAssociatedValue","addValueChangeListener"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-error.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideErrorPropType = boolean;\n\n/**\n * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideError = {\n\thideError: HideErrorPropType;\n};\n\n/* validator */\nexport const validateHideError = (component: Generic.Element.Component, value?: HideErrorPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideError', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport { watchValidator } from '../utils';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: MsgPropType): void => {\n\twatchValidator(component, `_msg`, (value) => typeof value === 'object', new Set(['Object']), value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst isMessageValidError = Boolean(state._msg?._type === 'error' && state._msg._description && state._msg._description?.length > 0);\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this.component, '_alert', value);\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAlert(this.component._alert);\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideErrorPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tStencilUnknown,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateTabIndex,\n\twatchBoolean,\n\twatchString,\n\tvalidateTooltipAlign,\n} from '../../../schema';\n\nimport { stopPropagation, tryToDispatchKoliBriEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: string): void {\n\t\twatchString(this.component, '_accessKey', value);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tconst message: MsgPropType = {\n\t\t\t_description: value || '',\n\t\t\t_type: 'error',\n\t\t};\n\t\tthis.validateMsg(message);\n\t}\n\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tvalidateHideError(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideError) {\n\t\t\t\t\t\ta11yHint('Property hide-error for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: MsgPropType): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateError(this.component._error);\n\t\tthis.validateMsg(this.component._msg);\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideError(this.component._hideError);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._alert = true;\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('blur', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('click', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\tthis.component._alert = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('focus', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{I as o}from"./controller-ec76e4bf.js";import{i as s}from"./icons-bd60f3a5.js";import{o as t,p as i,w as r}from"./prop.validators-f89d26b4.js";import{i as c}from"./common-54bf85ba.js";const e=(o,t)=>{const s=o;"object"==typeof s&&null!==s&&(c(s.right,1)&&(s.right={icon:s.right}),c(s.left,1)&&(s.left={icon:s.left}),t.set("_icons",s))};class a extends o{constructor(o,t,s){super(o,t,s),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(o){t(o,(()=>{try{o=i(o)}catch(o){}r(this.component,"_icons",(o=>"object"==typeof o&&null!==o&&(c(o.left,1)||s(o.left)||c(o.right,1)||s(o.right))),new Set(["KoliBriHorizontalIcon"]),o,{hooks:{beforePatch:e},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{a as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{E as e}from"./index-0da2c850.js";import{p as t}from"./reuse-523ba2ac.js";import{L as n,g as i,s as o,b as s,c as a,d as r}from"./dev.utils-fab45cbc.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),a(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=r().KoliBri;return void 0===e&&(e={},Object.defineProperty(r(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(f=()=>"nonce");export{l as i,f as n,b as r};
4
+ import{E as e}from"./index-bd96e8df.js";import{p as t}from"./reuse-523ba2ac.js";import{L as n,g as i,s as o,b as s,c as a,d as r}from"./dev.utils-fab45cbc.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),a(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=r().KoliBri;return void 0===e&&(e={},Object.defineProperty(r(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(f=()=>"nonce");export{l as i,f as n,b as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{i as t,r as e}from"./dev.utils-9599764b.js";import{e as o,g as s,L as a,a as r,f as i,d as l}from"./dev.utils-fab45cbc.js";import{z as n,v as c,A as d,B as f,C as p,p as m,D as L}from"./prop.validators-f89d26b4.js";import"./index-0da2c850.js";import"./reuse-523ba2ac.js";import"./index-db4aa6e4.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const b=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(t(),o()){e(),v("a11yColorContrast",n),v("querySelector",c),v("querySelectorAll",d),v("querySelectorColors",f),v("utils",(function(){return p})),v("parseJson",m),v("stringifyJson",L);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.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>',s().body.appendChild(a),b("Development mode",o()),b("Experimental mode",r()),b("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{p.queryHtmlElementColors(s().createElement("div"),n(t),!1,!1)}),1e4)}),2500)}}};export{h as initialize};
4
+ import{i as t,r as e}from"./dev.utils-cb789c3d.js";import{e as o,g as s,L as a,a as r,f as i,d as l}from"./dev.utils-fab45cbc.js";import{z as n,v as d,A as c,B as f,C as p,p as m,D as L}from"./prop.validators-f89d26b4.js";import"./index-bd96e8df.js";import"./reuse-523ba2ac.js";import"./index-db4aa6e4.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const b=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(t(),o()){e(),v("a11yColorContrast",n),v("querySelector",d),v("querySelectorAll",c),v("querySelectorColors",f),v("utils",(function(){return p})),v("parseJson",m),v("stringifyJson",L);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.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>',s().body.appendChild(a),b("Development mode",o()),b("Experimental mode",r()),b("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{p.queryHtmlElementColors(s().createElement("div"),n(t),!1,!1)}),1e4)}),2500)}}};export{h as initialize};
@@ -1 +1 @@
1
- {"version":3,"names":["validateTableCallbacks","component","value","watchValidator","Set","validateTableStatefulCallbacks","validateTableData","setStateHooks","emptyStringByArrayHandler","objectObjectHandler","parseJson","e","Array","isArray","every","data","setState","validateTableDataFoot","validateTableSelection","parseSerializedValue","undefined","validateObject","isObject","label","selectedKeys","objectValue","Events"],"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[];\nexport type StatefulSelectionChangeEventPayload = KoliBriTableDataType[];\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}\n"],"mappings":";;;wHAmCaA,EAAyB,CAACC,EAAsCC,KAC5EC,EACCF,EACA,OACCC,UAAiBA,IAAU,UAAYA,IAAU,MAClD,IAAIE,IAAI,CAAC,qEACTF,EACA,E,MAGWG,EAAiC,CAACJ,EAAsCC,KACpFC,EACCF,EACA,OACCC,UAAiBA,IAAU,UAAYA,IAAU,MAClD,IAAIE,IAAI,CAAC,8DACTF,EACA,E,MCnCWI,EAAoB,CAACL,EAAsCC,EAA2BK,KAClGC,EAA0BN,GAAO,KAChCO,EAAoBP,GAAO,KAC1B,UAAWA,IAAU,YAAa,CACjCA,EAAQ,E,CAET,IACCA,EAAQQ,EAAkCR,E,CAEzC,MAAOS,G,CAGT,GAAIC,MAAMC,QAAQX,IAAUA,EAAMY,OAAOC,UAAsCA,IAAS,UAAYA,IAAS,OAAO,CACnHC,EAASf,EAAW,QAASC,EAAOK,E,IAEpC,GACD,E,MChBUU,EAAwB,CAAChB,EAAsCC,EAA+BK,KAC1GC,EAA0BN,GAAO,KAChCO,EAAoBP,GAAO,KAC1B,UAAWA,IAAU,YAAa,CACjCA,EAAQ,E,CAET,IACCA,EAAQQ,EAAkCR,E,CAEzC,MAAOS,G,CAGT,GAAIC,MAAMC,QAAQX,IAAUA,EAAMY,OAAOC,UAAsCA,IAAS,UAAYA,IAAS,OAAO,CACnHC,EAASf,EAAW,YAAaC,EAAOK,E,IAExC,GACD,E,MCjBUW,EAAyB,CAACjB,EAAsCC,KAC5E,MAAMiB,EAAuB,KAC5B,IACC,OAAOT,EAAiCR,E,CACvC,MAAOS,GACR,OAAOS,S,GAIT,MAAMC,EAAkBnB,GAChBA,GAASoB,EAASpB,WAAiBA,EAAMqB,QAAU,cAAgBrB,EAAMsB,cAAgBZ,MAAMC,QAAQX,EAAMsB,eAGrH,MAAMC,SAAqBvB,IAAU,SAAWiB,IAAyBjB,EACzE,GAAImB,EAAeI,GAAc,CAChCT,EAASf,EAAW,aAAcC,E,OC/BxBwB,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,uBACAA,EAAA,qBACAA,EAAA,2BACAA,EAAA,qBACAA,EAAA,qBACAA,EAAA,yBACAA,EAAA,2BACAA,EAAA,qBACAA,EAAA,6BACAA,EAAA,6BACAA,EAAA,2BACAA,EAAA,6BACAA,EAAA,yBACAA,EAAA,qBACAA,EAAA,uBACAA,EAAA,mBACAA,EAAA,yCACAA,EAAA,sBACA,EApBD,CAAYA,MAAM,Y","ignoreList":[]}
1
+ {"version":3,"names":["validateTableCallbacks","component","value","watchValidator","Set","validateTableStatefulCallbacks","validateTableData","setStateHooks","emptyStringByArrayHandler","objectObjectHandler","parseJson","e","Array","isArray","every","data","setState","validateTableDataFoot","validateTableSelection","parseSerializedValue","undefined","validateObject","isObject","label","selectedKeys","objectValue","Events"],"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}\n"],"mappings":";;;wHAmCaA,EAAyB,CAACC,EAAsCC,KAC5EC,EACCF,EACA,OACCC,UAAiBA,IAAU,UAAYA,IAAU,MAClD,IAAIE,IAAI,CAAC,qEACTF,EACA,E,MAGWG,EAAiC,CAACJ,EAAsCC,KACpFC,EACCF,EACA,OACCC,UAAiBA,IAAU,UAAYA,IAAU,MAClD,IAAIE,IAAI,CAAC,8DACTF,EACA,E,MCnCWI,EAAoB,CAACL,EAAsCC,EAA2BK,KAClGC,EAA0BN,GAAO,KAChCO,EAAoBP,GAAO,KAC1B,UAAWA,IAAU,YAAa,CACjCA,EAAQ,E,CAET,IACCA,EAAQQ,EAAkCR,E,CAEzC,MAAOS,G,CAGT,GAAIC,MAAMC,QAAQX,IAAUA,EAAMY,OAAOC,UAAsCA,IAAS,UAAYA,IAAS,OAAO,CACnHC,EAASf,EAAW,QAASC,EAAOK,E,IAEpC,GACD,E,MChBUU,EAAwB,CAAChB,EAAsCC,EAA+BK,KAC1GC,EAA0BN,GAAO,KAChCO,EAAoBP,GAAO,KAC1B,UAAWA,IAAU,YAAa,CACjCA,EAAQ,E,CAET,IACCA,EAAQQ,EAAkCR,E,CAEzC,MAAOS,G,CAGT,GAAIC,MAAMC,QAAQX,IAAUA,EAAMY,OAAOC,UAAsCA,IAAS,UAAYA,IAAS,OAAO,CACnHC,EAASf,EAAW,YAAaC,EAAOK,E,IAExC,GACD,E,MCjBUW,EAAyB,CAACjB,EAAsCC,KAC5E,MAAMiB,EAAuB,KAC5B,IACC,OAAOT,EAAiCR,E,CACvC,MAAOS,GACR,OAAOS,S,GAIT,MAAMC,EAAkBnB,GAChBA,GAASoB,EAASpB,WAAiBA,EAAMqB,QAAU,cAAgBrB,EAAMsB,cAAgBZ,MAAMC,QAAQX,EAAMsB,eAGrH,MAAMC,SAAqBvB,IAAU,SAAWiB,IAAyBjB,EACzE,GAAImB,EAAeI,GAAc,CAChCT,EAASf,EAAW,aAAcC,E,OC/BxBwB,GAAZ,SAAYA,GACXA,EAAA,mBACAA,EAAA,uBACAA,EAAA,qBACAA,EAAA,2BACAA,EAAA,qBACAA,EAAA,qBACAA,EAAA,yBACAA,EAAA,2BACAA,EAAA,qBACAA,EAAA,6BACAA,EAAA,6BACAA,EAAA,2BACAA,EAAA,6BACAA,EAAA,yBACAA,EAAA,qBACAA,EAAA,uBACAA,EAAA,mBACAA,EAAA,yCACAA,EAAA,sBACA,EApBD,CAAYA,MAAM,Y","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as r}from"./index-bd96e8df.js";import{d as e}from"./component-names-3e0158fe.js";const d=({_alert:d,_msg:i,_hideError:o,_id:s})=>r(e,Object.assign({"aria-hidden":"true",id:`${s}-error`,_alert:d,_type:"error",class:{error:!0,"visually-hidden":!0===o}},i),(null==i?void 0:i._description)||void 0);export{d as F};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as e,i as r}from"./i18n-ece780dd.js";import{p as s}from"./reuse-523ba2ac.js";let t=(t,s)=>{var a;return(null!==(a=e())&&void 0!==a?a:r("de")).translate(t,s)};"test"===s&&(t=e=>e);export{t};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ const e={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",of:"von",characters:"Zeichen",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"{{entries}} Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung {{label}} schließen","show-password":"einblenden","hide-password":"ausblenden","no-results-message":"Keine Ergebnisse gefunden.","delete-selection":"Auswahl entfernen"},n={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",of:"of",characters:"characters",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"{{entries}} entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-indeterminate":"Select all with partial selection",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Close notification {{label}}","show-password":"Show","hide-password":"Hide","no-results-message":"No results found.","delete-selection":"Delete selection"},i=e=>Object.keys(e).reduce(((n,a)=>(n[`kol-${a}`]=e[a],n)),{}),t=new Set([e=>e("en",i(n)),n=>n("de",i(e))]),a=function(e,n,a){return e.split(n).join(a)};class o{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,n)=>{let a=this.resourceMap.get(e);return a||(a=new Map,this.resourceMap.set(e,a)),Object.entries(n).forEach((([e,n])=>{n&&a.set(e,n)})),e}))))}setLanguage(e){this.language=e}translate(e,n){var t;let i=null===(t=this.resourceMap.get(this.language))||void 0===t?void 0:t.get(e);return i?(null==n?void 0:n.placeholders)&&Object.entries(n.placeholders).forEach((([e,n])=>{i=a(i,`{{${e}}}`,n)})):i=e,i}}let l;const r=()=>l,s=(e,n=t)=>(l=new o(e),l.addTranslations(n),l);export{r as g,s as i};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["locale_de","error","warning","info","success","message","close","of","characters","new","pagination","page","version","dropdown","locale_en","mapLocaleKeys","locale","Object","keys","reduce","a","c","TRANSLATIONS","Set","t","replaceAll","text","search","replacement","split","join","I18nService","constructor","initialLanguage","this","resourceMap","Map","language","addTranslations","translations","Array","isArray","undefined","forEach","l","resources","get","set","entries","k","v","setLanguage","lng","translate","key","options","result","_a","placeholders","i18n","getI18nInstance","initializeI18n"],"sources":["src/locales/de.ts","src/locales/en.ts","src/core/i18n.ts"],"sourcesContent":["export default {\n\terror: 'Fehler',\n\twarning: 'Warnung',\n\tinfo: 'Hinweis',\n\tsuccess: 'Erfolg',\n\tmessage: 'Nachricht',\n\tclose: 'Schließen',\n\t'form-description': 'Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.',\n\tof: 'von',\n\tcharacters: 'Zeichen',\n\tnew: 'Neu',\n\t'no-entries': 'Es sind keine Einträge vorhanden.',\n\t'change-order': 'Sortierung von {{colLabel}} ändern',\n\t'action-running': 'Aktion wird ausgeführt...',\n\t'action-done': 'Aktion abgeschlossen',\n\tpagination: 'Paginierung',\n\t'page-first': 'Direkt zur ersten Seite',\n\t'page-back': 'Eine Seite zurück',\n\t'page-next': 'Eine Seite weiter',\n\t'page-last': 'Direkt zur letzten Seite',\n\t'entries-per-site': 'Einträge pro Seite',\n\tpage: 'Seite',\n\t'page-current': 'Seite {{page}}',\n\t'page-selected': 'Seite {{page}} ist ausgewählt',\n\t'page-per-site': '{{entries}} Einträge pro Seite',\n\t'nav-maximize': 'Navigation maximieren',\n\t'nav-minimize': 'Navigation minimieren',\n\t'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',\n\t'open-link-in-tab': 'Öffnet in neuem Tab.',\n\t'kolibri-logo': 'Logo von KoliBri',\n\t'table-pagination-label': 'Paginierung für die Tabelle {{label}}',\n\t'avatar-alt': 'Avatar von {{name}}',\n\t'split-button-dropdown-label-open': 'Optionen anzeigen',\n\t'split-button-dropdown-label-close': 'Optionen schließen',\n\t'toast-close-all': 'Alle schließen',\n\t'error-list': 'Fehlerliste',\n\t'error-list-message': 'Bitte korrigieren Sie folgende Fehler:',\n\tversion: 'Versionsnummer',\n\t'table-visible-range': 'Einträge {{start}} bis {{end}} von {{total}}',\n\t'table-selection-all': 'Alle auswählen',\n\t'table-selection-none': 'Alle abwählen',\n\t'table-selection-indeterminate': 'Alle auswählen bei teilweiser Auswahl',\n\tdropdown: 'Auswahlliste',\n\t'nav-label-open': 'Untermenü zu {{label}} öffnen',\n\t'nav-label-close': 'Untermenü zu {{label}} schließen',\n\t'close-alert': 'Benachrichtigung {{label}} schließen',\n\t'show-password': 'einblenden',\n\t'hide-password': 'ausblenden',\n\t'no-results-message': 'Keine Ergebnisse gefunden.',\n\t'delete-selection': 'Auswahl entfernen',\n};\n","export default {\n\terror: 'Error',\n\twarning: 'Warning',\n\tinfo: 'Note',\n\tsuccess: 'Success',\n\tmessage: 'Message',\n\tclose: 'Close',\n\t'form-description': 'Form fields marked with an asterisk (*) are mandatory.',\n\tof: 'of',\n\tcharacters: 'characters',\n\tnew: 'New',\n\t'no-entries': 'No entries available.',\n\t'change-order': 'Change order of {{colLabel}}',\n\t'action-running': 'Action is running...',\n\t'action-done': 'Action done',\n\tpagination: 'Pagination',\n\t'page-first': 'Directly to the first page',\n\t'page-back': 'One page back',\n\t'page-next': 'One page further',\n\t'page-last': 'Directly to the last page',\n\t'entries-per-site': 'Entries per page',\n\tpage: 'Page',\n\t'page-current': 'Page {{page}}',\n\t'page-selected': 'Page {{page}} is selected',\n\t'page-per-site': '{{entries}} entries per page',\n\t'nav-maximize': 'Maximize navigation',\n\t'nav-minimize': 'Minimize navigation',\n\t'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',\n\t'open-link-in-tab': 'Opens in new tab.',\n\t'kolibri-logo': 'KoliBri logo',\n\t'table-pagination-label': 'Pagination for table {{label}}',\n\t'avatar-alt': 'Avatar of {{name}}',\n\t'split-button-dropdown-label-open': 'Show options',\n\t'split-button-dropdown-label-close': 'Hide options',\n\t'toast-close-all': 'Close all',\n\t'error-list': 'Error list',\n\t'error-list-message': 'Please correct the following errors',\n\tversion: 'Version number',\n\t'table-visible-range': 'Entries {{start}} to {{end}} of {{total}}',\n\t'table-selection-all': 'Select all',\n\t'table-selection-none': 'Deselect all',\n\t'table-selection-indeterminate': 'Select all with partial selection',\n\tdropdown: 'Dropdown',\n\t'nav-label-open': 'Submenu for {{label}} open',\n\t'nav-label-close': 'Submenu for {{label}} close',\n\t'close-alert': 'Close notification {{label}}',\n\t'show-password': 'Show',\n\t'hide-password': 'Hide',\n\t'no-results-message': 'No results found.',\n\t'delete-selection': 'Delete selection',\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport locale_de from '../locales/de';\nimport locale_en from '../locales/en';\n\nexport type ResourcePrefix = 'Kol';\nexport type ComponentKeys = keyof typeof locale_de;\n\nconst mapLocaleKeys = (locale: { [K in ComponentKeys]: string }) =>\n\t(Object.keys(locale) as ComponentKeys[]).reduce((a, c) => ((a[`${'kol'}-${c}`] = locale[c]), a), {} as Generic.I18n.Map<ResourcePrefix, ComponentKeys>);\n\nconst TRANSLATIONS = new Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, ResourcePrefix, ComponentKeys>>([\n\t(t: (language: 'en', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('en', mapLocaleKeys(locale_en)),\n\t(t: (language: 'de', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('de', mapLocaleKeys(locale_de)),\n]);\n\ninterface ITranslationOptions {\n\t/**\n\t * Placeholders to insert into the text. Replacing {{key}} with the specified value if the \"key\".\n\t */\n\tplaceholders?: { [K: string]: string };\n}\n\n// String.replaceAll should be used but is only available with ECMAScript 2021.\nconst replaceAll = function (text: string, search: string, replacement: string) {\n\treturn text.split(search).join(replacement);\n};\n\ntype Resources = Map<string, string>;\n\nexport class I18nService {\n\tprivate resourceMap = new Map<Generic.I18n.Locale.ISO_639_1, Resources>();\n\tlanguage: Generic.I18n.Locale.ISO_639_1;\n\n\tpublic constructor(initialLanguage?: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = initialLanguage ?? 'de';\n\t}\n\n\t/**\n\t * Adds a resource bundle for the specified language.\n\t * @param lng the language the bundle is for\n\t * @param translationMap the translations of the given language\n\t */\n\tpublic addTranslations(\n\t\ttranslations?:\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>>,\n\t) {\n\t\tif (Array.isArray(translations)) {\n\t\t\ttranslations = new Set(translations);\n\t\t} else if (typeof translations === 'function') {\n\t\t\ttranslations = new Set([translations]);\n\t\t}\n\n\t\tif (translations !== undefined) {\n\t\t\ttranslations.forEach((t) =>\n\t\t\t\tt((l, t) => {\n\t\t\t\t\tlet resources = this.resourceMap.get(l);\n\t\t\t\t\tif (!resources) {\n\t\t\t\t\t\tresources = new Map<string, string>();\n\t\t\t\t\t\tthis.resourceMap.set(l, resources);\n\t\t\t\t\t}\n\n\t\t\t\t\tObject.entries(t).forEach(([k, v]) => {\n\t\t\t\t\t\tif (v) {\n\t\t\t\t\t\t\tresources.set(k, v);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\treturn l;\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Set the current language.\n\t * @param lng the language the bundle is for\n\t */\n\tpublic setLanguage(lng: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = lng;\n\t}\n\n\t/**\n\t * Determines a human-readable translated text for the given resource key.\n\t * @param key the resource key\n\t * @param options optional translation parameters\n\t * @returns the translated text\n\t */\n\tpublic translate(key: string, options?: ITranslationOptions) {\n\t\tlet result = this.resourceMap.get(this.language)?.get(key);\n\t\tif (result) {\n\t\t\tif (options?.placeholders) {\n\t\t\t\tObject.entries(options.placeholders).forEach(([k, v]) => {\n\t\t\t\t\tresult = replaceAll(result!, `{{${k}}}`, v);\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tresult = key;\n\t\t}\n\t\treturn result;\n\t}\n}\n\nlet i18n: I18nService;\n\nexport const getI18nInstance = () => {\n\treturn i18n;\n};\n\nexport const initializeI18n = (\n\tlng: Generic.I18n.Locale.ISO_639_1,\n\ttranslations:\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>> = TRANSLATIONS,\n) => {\n\ti18n = new I18nService(lng);\n\ti18n.addTranslations(translations);\n\treturn i18n;\n};\n"],"mappings":"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","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e="kolibri",t={allRenderFn:!0,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:!1,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},r={kolibriVersion:"2.1.7-rc.0"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
4
+ const e="kolibri",t={allRenderFn:!0,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:!1,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},r={kolibriVersion:"2.1.7-rc.2"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},R=t.shadowDom,T=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),E=e=>Promise.resolve(e),L=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),D=e=>E().then(e),M={},F="http://www.w3.org/2000/svg",P="http://www.w3.org/1999/xhtml",A=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};n(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var ge,Se,ke,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=t.key),t.name&&(l=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,a,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.R=l,d},K=(e,t)=>{const n={l:0,T:e,k:t,L:null,j:null,C:null,O:null,R:null};return n},X={},_=e=>e&&e.T===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.R,vtag:e.T,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.R=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.D=K(t,null);O.M||re(j.body,O.M=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.F+"."+e.P,s=O.M.get(n),o=e.L;s&&R&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.M.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){for(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,F:a[0],P:a[1],A:a[2],N:a[3],T:l.tagName.toLowerCase(),L:l,C:null,j:null,O:null,R:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.A&&(s[c.N]=c.L))),d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r);if(l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,F:a[1],P:a[2],A:a[3],N:a[4],L:l,C:null,j:null,O:null,R:null,T:null,k:null},i===y?(c.L=l.nextSibling,c.L&&3===c.L.nodeType&&(c.k=c.L.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.A&&(s[c.N]=c.L))):c.F===r&&(i===$?(c.T="slot",a[5]?l["s-sn"]=c.R=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.L=j.createElement(c.T),c.R&&c.L.setAttribute("name",c.R),l.parentNode.insertBefore(c.L,l),l.remove(),"0"===c.A&&(s[c.N]=c.L)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.T){const t=K(null,l.textContent);t.L=l,t.N="0",e.j=[t]}},re=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)re(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)re(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},le=e=>h.map((t=>t(e))).find((e=>!!e)),ne=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);L&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const t=null!=(s=O.U)?s:U(j);null!=t&&n.setAttribute("nonce",t),e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),he=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=me(n),l=me(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith($e);t=t.replace(ye,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},pe=/\s/,me=e=>e?e.split(pe):[],$e="Capture",ye=new RegExp($e+"$"),we=(e,t,n)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,o=e&&e.C||M,l=t.C||M;for(const e of be(Object.keys(o)))e in l||he(s,e,o[e],void 0,n,t.l);for(const e of be(Object.keys(l)))he(s,e,o[e],l[e],n,t.l)};function be(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var xe=!1,Ce=!1,je=!1,Oe=!1,Re=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(xe||(je=!0,"slot"===r.T&&(ge&&o.classList.add(ge+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.L=j.createTextNode(r.k);else if(1&r.l)i=r.L=j.createTextNode("");else{if(Oe||(Oe="svg"===r.T),i=r.L=j.createElementNS(Oe?F:P,!xe&&t.slotRelocation&&2&r.l?"slot-fb":r.T),Oe&&"foreignObject"===r.T&&(Oe=!1),we(null,r,Oe),A(ge)&&i["s-si"]!==ge&&i.classList.add(i["s-si"]=ge),r.j)for(d=0;d<r.j.length;++d)a=Re(e,r,d,i),a&&i.appendChild(a);"svg"===r.T?Oe=!1:"foreignObject"===i.tagName&&(Oe=!0)}return i["s-hn"]=ke,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=Se,i["s-sn"]=r.R||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.T===r.T&&e.L&&Te(e.L,!1)),i},Te=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===ke&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==ke&&t["s-ol"]&&(ze(Pe(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,je=!0),n&&Te(t,n)}O.l&=-2},Ee=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===ke&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Re(null,n,o,e),r&&(s[o].L=r,ze(i,r,Fe(t))))},Le=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.L;He(t),e&&(Ce=!0,e["s-ol"]?e["s-ol"].remove():Te(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Me(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Me(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Me(h,v,o))"slot"!==h.T&&"slot"!==v.T||Te(h.L.parentNode,!1),Ae(h,v,o),ze(e,h.L,p.L.nextSibling),h=t[++i],v=s[--f];else if(Me(p,m,o))"slot"!==h.T&&"slot"!==v.T||Te(p.L.parentNode,!1),Ae(p,m,o),ze(e,p.L,h.L),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.T!==m.T?l=Re(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.L),m=s[++a]):(l=Re(t&&t[a],n,a,e),m=s[++a]),l&&ze(Pe(h.L),l,Fe(h.L))}i>u?Ee(e,null==s[f+1]?null:s[f+1].L,n,s,a,f):a>f&&Le(t,i,u)},Me=(e,t,n=!1)=>e.T===t.T&&("slot"===e.T?e.R===t.R:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Pe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,t,n=!1)=>{const s=t.L=e.L,o=e.j,l=t.j,r=t.T,i=t.k;let a;null===i?(Oe="svg"===r||"foreignObject"!==r&&Oe,("slot"!==r||xe)&&we(e,t,Oe),null!==o&&null!==l?De(s,o,t,l,n):null!==l?(null!==e.k&&(s.textContent=""),Ee(s,null,t,l,0,l.length-1)):null!==o&&Le(o,0,o.length-1),Oe&&"svg"===r&&(Oe=!1)):(a=s["s-cr"])?a.parentNode.textContent=i:e.k!==i&&(s.data=i)},Ne=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Ne(e)}},Ue=[],We=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(Ie(n,e)){let t=Ue.find((e=>e.I===n));Ce=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ue.push({H:l,I:n})),n["s-sr"]&&Ue.map((e=>{Ie(e.I,n["s-sn"])&&(t=Ue.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ue.some((e=>e.I===n))||Ue.push({I:n})}1===l.nodeType&&We(l)}},Ie=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,He=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(He)},ze=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Be=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.D||K(null,null),d=_(t)?t:G(null,null,t);if(ke=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.T=null,d.l|=4,e.D=d,d.L=c.L=i.shadowRoot||i,ge=i["s-sc"],xe=!!(1&a.l),Se=i["s-cr"],Ce=!1,Ae(c,d,n),O.l|=1,je){We(d.L);for(const e of Ue){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,ze(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ue){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ze(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}Ce&&Ne(d.L),O.l&=-2,Ue.length=0,Se=void 0},Qe=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Ve=(e,t)=>{if(4&e.l)return void(e.l|=512);Qe(e,e.q);return qe(e,t)},qe=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)throw new Error(`Can't render component <${n.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 l;return t&&(e.l|=256,e.G&&(e.G.map((([e,t])=>Ze(o,e,t))),e.G=void 0),l=Ze(o,"componentWillLoad")),l=Ge(l,(()=>Ze(o,"componentWillRender"))),s(),Ge(l,(()=>Xe(e,o,t)))},Ge=(e,t)=>Ke(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ke=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Xe=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);_e(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>Je(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},_e=(e,t,n,s)=>{try{t=t.render(),e.l|=2,Be(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},Je=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ze(o,"componentDidRender"),64&e.l?s():(e.l|=64,et(n),Ze(o,"componentDidLoad"),s(),e.p(n),l||Ye()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&D((()=>Ve(e,!1))),e.l&=-517},Ye=t=>{et(j.documentElement),D((()=>oe(C,"appload",{detail:{namespace:e}})))},Ze=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},et=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},tt=(e,t)=>i(e).o.get(t),rt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" 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 l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Ve(o,!1)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return tt(this,e)},set(n){rt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},nt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),st(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=le(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Ve(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},st=e=>{Ze(e,"connectedCallback")},it=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)vt(e,t,n._),(null==t?void 0:t.t)?st(t.t):(null==t?void 0:t.h)&&t.h.then((()=>st(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&ot(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Qe(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),nt(e,t,n)}s()}},ot=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,ze(e,t,e.firstChild)},at=e=>{Ze(e,"disconnectedCallback")},ft=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?at(t.t):(null==t?void 0:t.h)&&t.h.then((()=>at(t.t)))}},ct=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[],p=j.querySelectorAll(`[${b}]`);let f,m=!0,v=0;for(Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;v<p.length;v++)fe(p[v].getAttribute(b),de(p[v].innerHTML),!0);let y=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(y=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,vt(this,e,c._)),f&&(clearTimeout(f),f=null),m?h.push(this):O.jmp((()=>it(this)))}disconnectedCallback(){O.jmp((()=>ft(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,lt(u,c,1)))}))})),o.length>0&&(y&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}m=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>f=setTimeout(Ye,30))),s()},ut=(e,t)=>t,vt=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=ht(e,n),r=dt(t,o),i=pt(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},dt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},ht=(e,t)=>8&t?C:e,pt=e=>T?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),mt=e=>O.U=e;export{r as E,ut as F,X as H,ne as a,ct as b,ie as g,G as h,E as p,o as r,mt as s};