@public-ui/components 2.0.12 → 2.0.14

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 (616) hide show
  1. package/custom-elements.json +3 -3
  2. package/dist/cjs/{InternalUnderlinedAccessKey-88975721.js → InternalUnderlinedAccessKey-44f3fd5d.js} +1 -1
  3. package/dist/cjs/{InternalUnderlinedAccessKey-88975721.js.map → InternalUnderlinedAccessKey-44f3fd5d.js.map} +1 -1
  4. package/dist/cjs/{app-globals-abe315cd.js → app-globals-7b5b3873.js} +1 -1
  5. package/dist/cjs/{app-globals-abe315cd.js.map → app-globals-7b5b3873.js.map} +1 -1
  6. package/dist/cjs/{controller-77b081c6.js → controller-1ba9a551.js} +1 -1
  7. package/dist/cjs/controller-1ba9a551.js.map +1 -0
  8. package/dist/cjs/{controller-c78578f1.js → controller-67d07d7c.js} +1 -1
  9. package/dist/cjs/{controller-c78578f1.js.map → controller-67d07d7c.js.map} +1 -1
  10. package/dist/cjs/controller-97d1ca95.js +4 -0
  11. package/dist/cjs/{controller-454910c1.js.map → controller-97d1ca95.js.map} +1 -1
  12. package/dist/cjs/{controller-ccfa3732.js → controller-b02ed1e6.js} +1 -1
  13. package/dist/cjs/controller-b02ed1e6.js.map +1 -0
  14. package/dist/cjs/controller-be4b3d70.js +4 -0
  15. package/dist/cjs/controller-be4b3d70.js.map +1 -0
  16. package/dist/cjs/{controller-icon-f31387fd.js → controller-icon-49e7ba81.js} +1 -1
  17. package/dist/cjs/{controller-icon-f31387fd.js.map → controller-icon-49e7ba81.js.map} +1 -1
  18. package/dist/cjs/{form-field-msg-a1c5712a.js → form-field-msg-4194be2d.js} +1 -1
  19. package/dist/cjs/{form-field-msg-a1c5712a.js.map → form-field-msg-4194be2d.js.map} +1 -1
  20. package/dist/cjs/i18n-ac90ee57.js +4 -0
  21. package/dist/cjs/i18n-ac90ee57.js.map +1 -0
  22. package/dist/cjs/{i18n-7971042d.js → i18n-e10b3ac1.js} +1 -1
  23. package/dist/cjs/{i18n-7971042d.js.map → i18n-e10b3ac1.js.map} +1 -1
  24. package/dist/cjs/{index-d33b9844.js → index-926e4608.js} +1 -1
  25. package/dist/cjs/{index-d33b9844.js.map → index-926e4608.js.map} +1 -1
  26. package/dist/cjs/index-97424b25.js +4 -0
  27. package/dist/cjs/index-97424b25.js.map +1 -0
  28. package/dist/cjs/index.cjs.js +1 -1
  29. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  30. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  31. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  33. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  35. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  37. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  40. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  42. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  44. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +1 -1
  46. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  48. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  50. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  59. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  140. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kolibri.cjs.js +1 -1
  143. package/dist/cjs/kolibri.cjs.js.map +1 -1
  144. package/dist/cjs/loader.cjs.js +1 -1
  145. package/dist/cjs/toaster-5907cde3.js +4 -0
  146. package/dist/cjs/toaster-5907cde3.js.map +1 -0
  147. package/dist/cjs/{toaster-693061df.js → toaster-949fe63f.js} +1 -1
  148. package/dist/cjs/{toaster-693061df.js.map → toaster-949fe63f.js.map} +1 -1
  149. package/dist/components/controller.js +1 -1
  150. package/dist/components/controller.js.map +1 -1
  151. package/dist/components/controller2.js +1 -1
  152. package/dist/components/controller2.js.map +1 -1
  153. package/dist/components/controller3.js +1 -1
  154. package/dist/components/controller3.js.map +1 -1
  155. package/dist/components/i18n.js +1 -1
  156. package/dist/components/i18n.js.map +1 -1
  157. package/dist/components/index.js +1 -1
  158. package/dist/components/index.js.map +1 -1
  159. package/dist/components/kol-abbr.js +1 -1
  160. package/dist/components/kol-abbr.js.map +1 -1
  161. package/dist/components/kol-accordion.js +1 -1
  162. package/dist/components/kol-accordion.js.map +1 -1
  163. package/dist/components/kol-alert-wc.js +1 -1
  164. package/dist/components/kol-alert-wc.js.map +1 -1
  165. package/dist/components/kol-alert.js +1 -1
  166. package/dist/components/kol-alert.js.map +1 -1
  167. package/dist/components/kol-avatar-wc.js +1 -1
  168. package/dist/components/kol-avatar.js +1 -1
  169. package/dist/components/kol-avatar.js.map +1 -1
  170. package/dist/components/kol-badge.js +1 -1
  171. package/dist/components/kol-badge.js.map +1 -1
  172. package/dist/components/kol-breadcrumb.js +1 -1
  173. package/dist/components/kol-breadcrumb.js.map +1 -1
  174. package/dist/components/kol-button-group-wc.js +1 -1
  175. package/dist/components/kol-button-group-wc.js.map +1 -1
  176. package/dist/components/kol-button-group.js +1 -1
  177. package/dist/components/kol-button-group.js.map +1 -1
  178. package/dist/components/kol-button-link.js +1 -1
  179. package/dist/components/kol-button-link.js.map +1 -1
  180. package/dist/components/kol-button-wc.js +1 -1
  181. package/dist/components/kol-button.js +1 -1
  182. package/dist/components/kol-button.js.map +1 -1
  183. package/dist/components/kol-card.js +1 -1
  184. package/dist/components/kol-card.js.map +1 -1
  185. package/dist/components/kol-details.js +1 -1
  186. package/dist/components/kol-details.js.map +1 -1
  187. package/dist/components/kol-form.js +1 -1
  188. package/dist/components/kol-form.js.map +1 -1
  189. package/dist/components/kol-heading-wc.js +1 -1
  190. package/dist/components/kol-heading.js +1 -1
  191. package/dist/components/kol-heading.js.map +1 -1
  192. package/dist/components/kol-icon.js +1 -1
  193. package/dist/components/kol-image.js +1 -1
  194. package/dist/components/kol-indented-text.js +1 -1
  195. package/dist/components/kol-indented-text.js.map +1 -1
  196. package/dist/components/kol-input-checkbox.js +1 -1
  197. package/dist/components/kol-input-checkbox.js.map +1 -1
  198. package/dist/components/kol-input-color.js +1 -1
  199. package/dist/components/kol-input-color.js.map +1 -1
  200. package/dist/components/kol-input-date.js +1 -1
  201. package/dist/components/kol-input-date.js.map +1 -1
  202. package/dist/components/kol-input-email.js +1 -1
  203. package/dist/components/kol-input-email.js.map +1 -1
  204. package/dist/components/kol-input-file.js +1 -1
  205. package/dist/components/kol-input-file.js.map +1 -1
  206. package/dist/components/kol-input-number.js +1 -1
  207. package/dist/components/kol-input-number.js.map +1 -1
  208. package/dist/components/kol-input-password.js +1 -1
  209. package/dist/components/kol-input-password.js.map +1 -1
  210. package/dist/components/kol-input-radio.js +1 -1
  211. package/dist/components/kol-input-radio.js.map +1 -1
  212. package/dist/components/kol-input-range.js +1 -1
  213. package/dist/components/kol-input-range.js.map +1 -1
  214. package/dist/components/kol-input-text.js +1 -1
  215. package/dist/components/kol-input-text.js.map +1 -1
  216. package/dist/components/kol-input.js +1 -1
  217. package/dist/components/kol-input.js.map +1 -1
  218. package/dist/components/kol-kolibri.js +1 -1
  219. package/dist/components/kol-kolibri.js.map +1 -1
  220. package/dist/components/kol-link-button.js +1 -1
  221. package/dist/components/kol-link-button.js.map +1 -1
  222. package/dist/components/kol-link-group.js +1 -1
  223. package/dist/components/kol-link-group.js.map +1 -1
  224. package/dist/components/kol-link-wc.js +1 -1
  225. package/dist/components/kol-link-wc.js.map +1 -1
  226. package/dist/components/kol-link.js +1 -1
  227. package/dist/components/kol-link.js.map +1 -1
  228. package/dist/components/kol-logo.js +1 -1
  229. package/dist/components/kol-logo.js.map +1 -1
  230. package/dist/components/kol-modal.js +1 -1
  231. package/dist/components/kol-modal.js.map +1 -1
  232. package/dist/components/kol-nav.js +1 -1
  233. package/dist/components/kol-nav.js.map +1 -1
  234. package/dist/components/kol-pagination.js +1 -1
  235. package/dist/components/kol-pagination.js.map +1 -1
  236. package/dist/components/kol-popover-wc.js +1 -1
  237. package/dist/components/kol-popover-wc.js.map +1 -1
  238. package/dist/components/kol-progress.js +1 -1
  239. package/dist/components/kol-progress.js.map +1 -1
  240. package/dist/components/kol-quote.js +1 -1
  241. package/dist/components/kol-quote.js.map +1 -1
  242. package/dist/components/kol-select.js +1 -1
  243. package/dist/components/kol-select.js.map +1 -1
  244. package/dist/components/kol-skip-nav.js +1 -1
  245. package/dist/components/kol-skip-nav.js.map +1 -1
  246. package/dist/components/kol-span-wc.js +1 -1
  247. package/dist/components/kol-span-wc.js.map +1 -1
  248. package/dist/components/kol-span.js +1 -1
  249. package/dist/components/kol-span.js.map +1 -1
  250. package/dist/components/kol-spin.js +1 -1
  251. package/dist/components/kol-spin.js.map +1 -1
  252. package/dist/components/kol-split-button.js +1 -1
  253. package/dist/components/kol-split-button.js.map +1 -1
  254. package/dist/components/kol-symbol.js +1 -1
  255. package/dist/components/kol-table.js +1 -1
  256. package/dist/components/kol-table.js.map +1 -1
  257. package/dist/components/kol-tabs.js +1 -1
  258. package/dist/components/kol-tabs.js.map +1 -1
  259. package/dist/components/kol-textarea.js +1 -1
  260. package/dist/components/kol-textarea.js.map +1 -1
  261. package/dist/components/kol-toast-container.js +1 -1
  262. package/dist/components/kol-toast-container.js.map +1 -1
  263. package/dist/components/kol-tooltip-wc.js +1 -1
  264. package/dist/components/kol-tooltip-wc.js.map +1 -1
  265. package/dist/components/kol-tree-item-wc.js +1 -1
  266. package/dist/components/kol-tree-item.js +1 -1
  267. package/dist/components/kol-tree-wc.js +1 -1
  268. package/dist/components/kol-tree.js +1 -1
  269. package/dist/components/kol-tree.js.map +1 -1
  270. package/dist/components/kol-version.js +1 -1
  271. package/dist/components/kol-version.js.map +1 -1
  272. package/dist/esm/{InternalUnderlinedAccessKey-af087ccb.js → InternalUnderlinedAccessKey-864ae1a6.js} +1 -1
  273. package/dist/esm/{InternalUnderlinedAccessKey-af087ccb.js.map → InternalUnderlinedAccessKey-864ae1a6.js.map} +1 -1
  274. package/dist/esm/{app-globals-1181b095.js → app-globals-065709f5.js} +1 -1
  275. package/dist/esm/{app-globals-1181b095.js.map → app-globals-065709f5.js.map} +1 -1
  276. package/dist/esm/{controller-19587a5f.js → controller-13634753.js} +1 -1
  277. package/dist/esm/{controller-19587a5f.js.map → controller-13634753.js.map} +1 -1
  278. package/dist/esm/{controller-b7d35f53.js → controller-3c948f83.js} +1 -1
  279. package/dist/esm/{controller-b7d35f53.js.map → controller-3c948f83.js.map} +1 -1
  280. package/dist/esm/controller-77441244.js +4 -0
  281. package/dist/esm/controller-77441244.js.map +1 -0
  282. package/dist/esm/{controller-64de63fb.js → controller-853ed72e.js} +1 -1
  283. package/dist/esm/controller-853ed72e.js.map +1 -0
  284. package/dist/esm/{controller-12bf050b.js → controller-f47b7bfc.js} +1 -1
  285. package/dist/esm/controller-f47b7bfc.js.map +1 -0
  286. package/dist/esm/{controller-icon-c3bf90f3.js → controller-icon-28a0edb3.js} +1 -1
  287. package/dist/esm/{controller-icon-c3bf90f3.js.map → controller-icon-28a0edb3.js.map} +1 -1
  288. package/dist/esm/{form-field-msg-4b406780.js → form-field-msg-660c0262.js} +1 -1
  289. package/dist/esm/{form-field-msg-4b406780.js.map → form-field-msg-660c0262.js.map} +1 -1
  290. package/dist/esm/i18n-0c047df5.js +4 -0
  291. package/dist/esm/i18n-0c047df5.js.map +1 -0
  292. package/dist/esm/{i18n-1e6a70ea.js → i18n-7a7ff96e.js} +1 -1
  293. package/dist/esm/{i18n-1e6a70ea.js.map → i18n-7a7ff96e.js.map} +1 -1
  294. package/dist/esm/index-59e9528b.js +4 -0
  295. package/dist/esm/index-59e9528b.js.map +1 -0
  296. package/dist/esm/{index-fff5a4e2.js → index-9314e6e6.js} +1 -1
  297. package/dist/esm/{index-fff5a4e2.js.map → index-9314e6e6.js.map} +1 -1
  298. package/dist/esm/index.js +1 -1
  299. package/dist/esm/kol-abbr.entry.js +1 -1
  300. package/dist/esm/kol-abbr.entry.js.map +1 -1
  301. package/dist/esm/kol-accordion.entry.js +1 -1
  302. package/dist/esm/kol-accordion.entry.js.map +1 -1
  303. package/dist/esm/kol-alert-wc.entry.js +1 -1
  304. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  305. package/dist/esm/kol-alert.entry.js +1 -1
  306. package/dist/esm/kol-alert.entry.js.map +1 -1
  307. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  308. package/dist/esm/kol-avatar.entry.js +1 -1
  309. package/dist/esm/kol-avatar.entry.js.map +1 -1
  310. package/dist/esm/kol-badge.entry.js +1 -1
  311. package/dist/esm/kol-badge.entry.js.map +1 -1
  312. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  313. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  314. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  315. package/dist/esm/kol-button-group-wc.entry.js.map +1 -1
  316. package/dist/esm/kol-button-group.entry.js +1 -1
  317. package/dist/esm/kol-button-group.entry.js.map +1 -1
  318. package/dist/esm/kol-button-link.entry.js +1 -1
  319. package/dist/esm/kol-button-link.entry.js.map +1 -1
  320. package/dist/esm/kol-button-wc.entry.js +1 -1
  321. package/dist/esm/kol-button.entry.js +1 -1
  322. package/dist/esm/kol-button.entry.js.map +1 -1
  323. package/dist/esm/kol-card.entry.js +1 -1
  324. package/dist/esm/kol-card.entry.js.map +1 -1
  325. package/dist/esm/kol-details.entry.js +1 -1
  326. package/dist/esm/kol-details.entry.js.map +1 -1
  327. package/dist/esm/kol-form.entry.js +1 -1
  328. package/dist/esm/kol-form.entry.js.map +1 -1
  329. package/dist/esm/kol-heading-wc.entry.js +1 -1
  330. package/dist/esm/kol-heading.entry.js +1 -1
  331. package/dist/esm/kol-heading.entry.js.map +1 -1
  332. package/dist/esm/kol-icon.entry.js +1 -1
  333. package/dist/esm/kol-image.entry.js +1 -1
  334. package/dist/esm/kol-indented-text.entry.js +1 -1
  335. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  336. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  337. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  338. package/dist/esm/kol-input-color.entry.js +1 -1
  339. package/dist/esm/kol-input-color.entry.js.map +1 -1
  340. package/dist/esm/kol-input-date.entry.js +1 -1
  341. package/dist/esm/kol-input-date.entry.js.map +1 -1
  342. package/dist/esm/kol-input-email.entry.js +1 -1
  343. package/dist/esm/kol-input-email.entry.js.map +1 -1
  344. package/dist/esm/kol-input-file.entry.js +1 -1
  345. package/dist/esm/kol-input-file.entry.js.map +1 -1
  346. package/dist/esm/kol-input-number.entry.js +1 -1
  347. package/dist/esm/kol-input-number.entry.js.map +1 -1
  348. package/dist/esm/kol-input-password.entry.js +1 -1
  349. package/dist/esm/kol-input-password.entry.js.map +1 -1
  350. package/dist/esm/kol-input-radio.entry.js +1 -1
  351. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  352. package/dist/esm/kol-input-range.entry.js +1 -1
  353. package/dist/esm/kol-input-range.entry.js.map +1 -1
  354. package/dist/esm/kol-input-text.entry.js +1 -1
  355. package/dist/esm/kol-input-text.entry.js.map +1 -1
  356. package/dist/esm/kol-input.entry.js +1 -1
  357. package/dist/esm/kol-input.entry.js.map +1 -1
  358. package/dist/esm/kol-kolibri.entry.js +1 -1
  359. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  360. package/dist/esm/kol-link-button.entry.js +1 -1
  361. package/dist/esm/kol-link-button.entry.js.map +1 -1
  362. package/dist/esm/kol-link-group.entry.js +1 -1
  363. package/dist/esm/kol-link-group.entry.js.map +1 -1
  364. package/dist/esm/kol-link-wc.entry.js +1 -1
  365. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  366. package/dist/esm/kol-link.entry.js +1 -1
  367. package/dist/esm/kol-link.entry.js.map +1 -1
  368. package/dist/esm/kol-logo.entry.js +1 -1
  369. package/dist/esm/kol-logo.entry.js.map +1 -1
  370. package/dist/esm/kol-modal.entry.js +1 -1
  371. package/dist/esm/kol-modal.entry.js.map +1 -1
  372. package/dist/esm/kol-nav.entry.js +1 -1
  373. package/dist/esm/kol-nav.entry.js.map +1 -1
  374. package/dist/esm/kol-pagination.entry.js +1 -1
  375. package/dist/esm/kol-pagination.entry.js.map +1 -1
  376. package/dist/esm/kol-popover-wc.entry.js +1 -1
  377. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  378. package/dist/esm/kol-progress.entry.js +1 -1
  379. package/dist/esm/kol-progress.entry.js.map +1 -1
  380. package/dist/esm/kol-quote.entry.js +1 -1
  381. package/dist/esm/kol-quote.entry.js.map +1 -1
  382. package/dist/esm/kol-select.entry.js +1 -1
  383. package/dist/esm/kol-select.entry.js.map +1 -1
  384. package/dist/esm/kol-skip-nav.entry.js +1 -1
  385. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  386. package/dist/esm/kol-span-wc.entry.js +1 -1
  387. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  388. package/dist/esm/kol-span.entry.js +1 -1
  389. package/dist/esm/kol-span.entry.js.map +1 -1
  390. package/dist/esm/kol-spin.entry.js +1 -1
  391. package/dist/esm/kol-spin.entry.js.map +1 -1
  392. package/dist/esm/kol-split-button.entry.js +1 -1
  393. package/dist/esm/kol-split-button.entry.js.map +1 -1
  394. package/dist/esm/kol-symbol.entry.js +1 -1
  395. package/dist/esm/kol-table.entry.js +1 -1
  396. package/dist/esm/kol-table.entry.js.map +1 -1
  397. package/dist/esm/kol-tabs.entry.js +1 -1
  398. package/dist/esm/kol-tabs.entry.js.map +1 -1
  399. package/dist/esm/kol-textarea.entry.js +1 -1
  400. package/dist/esm/kol-textarea.entry.js.map +1 -1
  401. package/dist/esm/kol-toast-container.entry.js +1 -1
  402. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  403. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  404. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  405. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  406. package/dist/esm/kol-tree-item.entry.js +1 -1
  407. package/dist/esm/kol-tree-wc.entry.js +1 -1
  408. package/dist/esm/kol-tree.entry.js +1 -1
  409. package/dist/esm/kol-tree.entry.js.map +1 -1
  410. package/dist/esm/kol-version.entry.js +1 -1
  411. package/dist/esm/kol-version.entry.js.map +1 -1
  412. package/dist/esm/kolibri.js +1 -1
  413. package/dist/esm/kolibri.js.map +1 -1
  414. package/dist/esm/loader.js +1 -1
  415. package/dist/esm/toaster-521ae465.js +4 -0
  416. package/dist/esm/toaster-521ae465.js.map +1 -0
  417. package/dist/esm/{toaster-1e7f1deb.js → toaster-fd35e14e.js} +1 -1
  418. package/dist/esm/{toaster-1e7f1deb.js.map → toaster-fd35e14e.js.map} +1 -1
  419. package/dist/kolibri/InternalUnderlinedAccessKey-864ae1a6.js +4 -0
  420. package/dist/kolibri/app-globals-065709f5.js +4 -0
  421. package/dist/kolibri/controller-13634753.js +4 -0
  422. package/dist/kolibri/{controller-b7d35f53.js → controller-3c948f83.js} +1 -1
  423. package/dist/kolibri/controller-77441244.js +4 -0
  424. package/dist/kolibri/controller-77441244.js.map +1 -0
  425. package/dist/kolibri/controller-853ed72e.js +4 -0
  426. package/dist/kolibri/controller-853ed72e.js.map +1 -0
  427. package/dist/kolibri/{controller-12bf050b.js → controller-f47b7bfc.js} +1 -1
  428. package/dist/kolibri/{controller-12bf050b.js.map → controller-f47b7bfc.js.map} +1 -1
  429. package/dist/kolibri/{controller-icon-c3bf90f3.js → controller-icon-28a0edb3.js} +1 -1
  430. package/dist/kolibri/form-field-msg-660c0262.js +4 -0
  431. package/dist/kolibri/i18n-0c047df5.js +4 -0
  432. package/dist/kolibri/i18n-0c047df5.js.map +1 -0
  433. package/dist/kolibri/{i18n-1e6a70ea.js → i18n-7a7ff96e.js} +1 -1
  434. package/dist/kolibri/index-59e9528b.js +5 -0
  435. package/dist/kolibri/index-59e9528b.js.map +1 -0
  436. package/dist/kolibri/{index-fff5a4e2.js → index-9314e6e6.js} +1 -1
  437. package/dist/kolibri/index.esm.js +1 -1
  438. package/dist/kolibri/kol-abbr.entry.js +1 -1
  439. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  440. package/dist/kolibri/kol-accordion.entry.js +1 -1
  441. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  442. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  443. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  444. package/dist/kolibri/kol-alert.entry.js +1 -1
  445. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  446. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  447. package/dist/kolibri/kol-avatar.entry.js +1 -1
  448. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  449. package/dist/kolibri/kol-badge.entry.js +1 -1
  450. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  451. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  452. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  453. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  454. package/dist/kolibri/kol-button-group-wc.entry.js.map +1 -1
  455. package/dist/kolibri/kol-button-group.entry.js +1 -1
  456. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  457. package/dist/kolibri/kol-button-link.entry.js +1 -1
  458. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  459. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  460. package/dist/kolibri/kol-button.entry.js +1 -1
  461. package/dist/kolibri/kol-button.entry.js.map +1 -1
  462. package/dist/kolibri/kol-card.entry.js +1 -1
  463. package/dist/kolibri/kol-card.entry.js.map +1 -1
  464. package/dist/kolibri/kol-details.entry.js +1 -1
  465. package/dist/kolibri/kol-details.entry.js.map +1 -1
  466. package/dist/kolibri/kol-form.entry.js +1 -1
  467. package/dist/kolibri/kol-form.entry.js.map +1 -1
  468. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  469. package/dist/kolibri/kol-heading.entry.js +1 -1
  470. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  471. package/dist/kolibri/kol-icon.entry.js +1 -1
  472. package/dist/kolibri/kol-image.entry.js +1 -1
  473. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  474. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  475. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  476. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  477. package/dist/kolibri/kol-input-color.entry.js +1 -1
  478. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  479. package/dist/kolibri/kol-input-date.entry.js +1 -1
  480. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  481. package/dist/kolibri/kol-input-email.entry.js +1 -1
  482. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  483. package/dist/kolibri/kol-input-file.entry.js +1 -1
  484. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  485. package/dist/kolibri/kol-input-number.entry.js +1 -1
  486. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  487. package/dist/kolibri/kol-input-password.entry.js +1 -1
  488. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  489. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  490. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  491. package/dist/kolibri/kol-input-range.entry.js +1 -1
  492. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  493. package/dist/kolibri/kol-input-text.entry.js +1 -1
  494. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  495. package/dist/kolibri/kol-input.entry.js +1 -1
  496. package/dist/kolibri/kol-input.entry.js.map +1 -1
  497. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  498. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  499. package/dist/kolibri/kol-link-button.entry.js +1 -1
  500. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  501. package/dist/kolibri/kol-link-group.entry.js +1 -1
  502. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  503. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  504. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  505. package/dist/kolibri/kol-link.entry.js +1 -1
  506. package/dist/kolibri/kol-link.entry.js.map +1 -1
  507. package/dist/kolibri/kol-logo.entry.js +1 -1
  508. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  509. package/dist/kolibri/kol-modal.entry.js +1 -1
  510. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  511. package/dist/kolibri/kol-nav.entry.js +1 -1
  512. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  513. package/dist/kolibri/kol-pagination.entry.js +1 -1
  514. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  515. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  516. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  517. package/dist/kolibri/kol-progress.entry.js +1 -1
  518. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  519. package/dist/kolibri/kol-quote.entry.js +1 -1
  520. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  521. package/dist/kolibri/kol-select.entry.js +1 -1
  522. package/dist/kolibri/kol-select.entry.js.map +1 -1
  523. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  524. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  525. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  526. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  527. package/dist/kolibri/kol-span.entry.js +1 -1
  528. package/dist/kolibri/kol-span.entry.js.map +1 -1
  529. package/dist/kolibri/kol-spin.entry.js +1 -1
  530. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  531. package/dist/kolibri/kol-split-button.entry.js +1 -1
  532. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  533. package/dist/kolibri/kol-symbol.entry.js +1 -1
  534. package/dist/kolibri/kol-table.entry.js +1 -1
  535. package/dist/kolibri/kol-table.entry.js.map +1 -1
  536. package/dist/kolibri/kol-tabs.entry.js +1 -1
  537. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  538. package/dist/kolibri/kol-textarea.entry.js +1 -1
  539. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  540. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  541. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  542. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  543. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  544. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  545. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  546. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  547. package/dist/kolibri/kol-tree.entry.js +1 -1
  548. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  549. package/dist/kolibri/kol-version.entry.js +1 -1
  550. package/dist/kolibri/kol-version.entry.js.map +1 -1
  551. package/dist/kolibri/kolibri.esm.js +1 -1
  552. package/dist/kolibri/kolibri.esm.js.map +1 -1
  553. package/dist/kolibri/toaster-521ae465.js +4 -0
  554. package/dist/kolibri/toaster-521ae465.js.map +1 -0
  555. package/dist/kolibri/toaster-fd35e14e.js +4 -0
  556. package/dist/types/components/input-checkbox/component.d.ts +1 -0
  557. package/dist/types/components/input-radio/component.d.ts +1 -0
  558. package/dist/types/components/input-radio/controller.d.ts +1 -0
  559. package/dist/types/components/select/component.d.ts +1 -0
  560. package/dist/types/components/tabs/component.d.ts +0 -1
  561. package/dist/types/components/toaster/InternalToast.d.ts +4 -3
  562. package/dist/types/components/toaster/component.d.ts +2 -0
  563. package/dist/types/core/i18n.d.ts +7 -12
  564. package/dist/types/index.d.ts +5 -5
  565. package/doc/button-group.md +4 -0
  566. package/doc/link-group.md +1 -1
  567. package/doc/popover.md +2 -0
  568. package/doc/toaster.md +3 -3
  569. package/doc/tooltip.md +1 -1
  570. package/package.json +1 -1
  571. package/vscode-custom-data.json +2 -2
  572. package/dist/cjs/controller-0f81c0af.js +0 -4
  573. package/dist/cjs/controller-0f81c0af.js.map +0 -1
  574. package/dist/cjs/controller-454910c1.js +0 -4
  575. package/dist/cjs/controller-77b081c6.js.map +0 -1
  576. package/dist/cjs/controller-ccfa3732.js.map +0 -1
  577. package/dist/cjs/i18n-c3fa5bd7.js +0 -4
  578. package/dist/cjs/i18n-c3fa5bd7.js.map +0 -1
  579. package/dist/cjs/index-f0fde70b.js +0 -4
  580. package/dist/cjs/index-f0fde70b.js.map +0 -1
  581. package/dist/cjs/toaster-62a35c5f.js +0 -4
  582. package/dist/cjs/toaster-62a35c5f.js.map +0 -1
  583. package/dist/esm/controller-12bf050b.js.map +0 -1
  584. package/dist/esm/controller-64de63fb.js.map +0 -1
  585. package/dist/esm/controller-c23290a9.js +0 -4
  586. package/dist/esm/controller-c23290a9.js.map +0 -1
  587. package/dist/esm/i18n-fddf0324.js +0 -4
  588. package/dist/esm/i18n-fddf0324.js.map +0 -1
  589. package/dist/esm/index-9ca46203.js +0 -4
  590. package/dist/esm/index-9ca46203.js.map +0 -1
  591. package/dist/esm/toaster-98560ca8.js +0 -4
  592. package/dist/esm/toaster-98560ca8.js.map +0 -1
  593. package/dist/kolibri/InternalUnderlinedAccessKey-af087ccb.js +0 -4
  594. package/dist/kolibri/app-globals-1181b095.js +0 -4
  595. package/dist/kolibri/controller-19587a5f.js +0 -4
  596. package/dist/kolibri/controller-64de63fb.js +0 -4
  597. package/dist/kolibri/controller-64de63fb.js.map +0 -1
  598. package/dist/kolibri/controller-c23290a9.js +0 -4
  599. package/dist/kolibri/controller-c23290a9.js.map +0 -1
  600. package/dist/kolibri/form-field-msg-4b406780.js +0 -4
  601. package/dist/kolibri/i18n-fddf0324.js +0 -4
  602. package/dist/kolibri/i18n-fddf0324.js.map +0 -1
  603. package/dist/kolibri/index-9ca46203.js +0 -5
  604. package/dist/kolibri/index-9ca46203.js.map +0 -1
  605. package/dist/kolibri/toaster-1e7f1deb.js +0 -4
  606. package/dist/kolibri/toaster-98560ca8.js +0 -4
  607. package/dist/kolibri/toaster-98560ca8.js.map +0 -1
  608. /package/dist/kolibri/{InternalUnderlinedAccessKey-af087ccb.js.map → InternalUnderlinedAccessKey-864ae1a6.js.map} +0 -0
  609. /package/dist/kolibri/{app-globals-1181b095.js.map → app-globals-065709f5.js.map} +0 -0
  610. /package/dist/kolibri/{controller-19587a5f.js.map → controller-13634753.js.map} +0 -0
  611. /package/dist/kolibri/{controller-b7d35f53.js.map → controller-3c948f83.js.map} +0 -0
  612. /package/dist/kolibri/{controller-icon-c3bf90f3.js.map → controller-icon-28a0edb3.js.map} +0 -0
  613. /package/dist/kolibri/{form-field-msg-4b406780.js.map → form-field-msg-660c0262.js.map} +0 -0
  614. /package/dist/kolibri/{i18n-1e6a70ea.js.map → i18n-7a7ff96e.js.map} +0 -0
  615. /package/dist/kolibri/{index-fff5a4e2.js.map → index-9314e6e6.js.map} +0 -0
  616. /package/dist/kolibri/{toaster-1e7f1deb.js.map → toaster-fd35e14e.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["searchFormElement","el","getExperimentalMode","devHint","console","log","HTMLElement","tagName","parentElement","parentNode","ShadowRoot","host","error","propagateResetEventToForm","options","form","event","Event","bubbles","cancelable","setEventTarget","dispatchEvent","KoliBriDevHelper","querySelector","kolForm","_a","_on","onReset","_b","propagateSubmitEventToForm","SubmitEvent","submitter","noValidate","force","setTimeout","requestSubmit","onSubmit"],"sources":["src/components/form/controller.ts"],"sourcesContent":["import type { FormProps } from '@public-ui/schema';\nimport { devHint, getExperimentalMode, KoliBriDevHelper, setEventTarget } from '@public-ui/schema';\n\nconst searchFormElement = (el?: HTMLElement | ParentNode | null): HTMLElement | ParentNode | null | undefined => {\n\tif (getExperimentalMode()) {\n\t\tdevHint(`↓ Search form element start.`);\n\t\tconsole.log(el);\n\t}\n\twhile (el instanceof HTMLElement && el.tagName !== 'FORM' && el.tagName !== 'KOL-FORM') {\n\t\ttry {\n\t\t\tif (el.parentElement instanceof HTMLElement) {\n\t\t\t\tel = el.parentElement;\n\t\t\t} else if (el.parentNode instanceof ShadowRoot) {\n\t\t\t\tel = el.parentNode.host;\n\t\t\t} else {\n\t\t\t\tel = null;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\t/**\n\t\t\t * Try is needed for SSR.\n\t\t\t * - no HTMLElement is available\n\t\t\t * - no ShadowRoot is available\n\t\t\t */\n\t\t}\n\t\tif (getExperimentalMode()) {\n\t\t\tconsole.log(el);\n\t\t\tdevHint(`↑ Search form element finished.`);\n\t\t}\n\t}\n\treturn el;\n};\n\nexport const propagateResetEventToForm = (\n\toptions: {\n\t\tform?: HTMLElement | ParentNode | null;\n\t\tref?: HTMLElement;\n\t} = {},\n): void => {\n\tconst form = searchFormElement(options.form);\n\tif (form instanceof HTMLElement) {\n\t\tconst event = new Event('reset', {\n\t\t\tbubbles: true,\n\t\t\tcancelable: true,\n\t\t});\n\t\tif (form.tagName === 'FORM') {\n\t\t\tsetEventTarget(event, form);\n\t\t\tform.dispatchEvent(event);\n\t\t} else if (form.tagName === 'KOL-FORM') {\n\t\t\tsetEventTarget(event, KoliBriDevHelper.querySelector('form', form) as HTMLFormElement);\n\t\t\tconst kolForm = form as FormProps;\n\t\t\tif (typeof kolForm._on?.onReset === 'function') {\n\t\t\t\ttypeof kolForm._on?.onReset(event);\n\t\t\t}\n\t\t}\n\t}\n};\n\nexport const propagateSubmitEventToForm = (\n\toptions: {\n\t\tform?: HTMLElement | ParentNode | null;\n\t\tref?: HTMLElement;\n\t} = {},\n): void => {\n\tconst form = searchFormElement(options.form);\n\tif (form instanceof HTMLElement) {\n\t\tconst event = new SubmitEvent('submit', {\n\t\t\tbubbles: true,\n\t\t\tcancelable: true,\n\t\t\tsubmitter: form,\n\t\t});\n\t\t/**\n\t\t * TODO: Wenn Formular-Action (nicht Ajax oder JS) verwendet wird,\n\t\t * dann müssen wir das Event an das HTMLFormElement innerhalb\n\t\t * der HTMLKolFormElements propagieren, wenn kein onSubmit\n\t\t * gesetzt wurde.\n\t\t *\n\t\t * TODO: Form-associated custom elements:\n\t\t * - https://web.dev/more-capable-form-controls/\n\t\t * - https://github.com/public-ui/kolibri/issues/946\n\t\t */\n\t\tif (form.tagName === 'FORM') {\n\t\t\tif (getExperimentalMode() && (form as HTMLFormElement).noValidate === false) {\n\t\t\t\tdevHint(`If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.`, {\n\t\t\t\t\tforce: true,\n\t\t\t\t});\n\t\t\t\t// (form as HTMLFormElement).noValidate = true; do not make this implicit\n\t\t\t}\n\t\t\t// Use setTimeout to ensure onChange has been called first\n\t\t\tsetTimeout(() => {\n\t\t\t\t// See https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/requestSubmit\n\t\t\t\tif (typeof (form as HTMLFormElement).requestSubmit === 'function') {\n\t\t\t\t\t(form as HTMLFormElement).requestSubmit();\n\t\t\t\t} else {\n\t\t\t\t\tsetEventTarget(event, form);\n\t\t\t\t\tform.dispatchEvent(event);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (form.tagName === 'KOL-FORM') {\n\t\t\tsetEventTarget(event, KoliBriDevHelper.querySelector('form', form) as HTMLFormElement);\n\t\t\tconst kolForm = form as FormProps;\n\t\t\t// Use setTimeout to ensure onChange has been called first\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (typeof kolForm._on?.onSubmit === 'function') {\n\t\t\t\t\tkolForm._on?.onSubmit(event);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n};\n"],"mappings":";;;8DAGA,MAAMA,EAAqBC,IAC1B,GAAIC,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AeJ,EAAOD,GACtBA,EAAKM,cAAcL,E,UAGf,GAAID,EAAKR,UAAY,WAAY,CACvCa,EAAeJ,EAAOM,EAAiBC,cAAc,OAAQR,IAC7D,MAAMS,EAAUT,EAEhBmB,YAAW,K,QACV,WAAWT,EAAAD,EAAQE,OAAG,MAAAD,SAAA,SAAAA,EAAEW,YAAa,WAAY,EAChDR,EAAAJ,EAAQE,OAAG,MAAAE,SAAA,SAAAA,EAAEQ,SAASpB,E"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{z as t,J as i,A as s,M as e,N as h,O as o,P as a,Q as n,R as r,S as d,T as l,k as c,q as u,r as f,U as v}from"./index-fbc0a5be.js";import{s as p,t as y}from"./events-29e84d75.js";import{A as b}from"./associated.controller-c5369a0d.js";const g=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class m extends b{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class k extends m{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){s(this.component,"_accessKey",t)}validateAdjustHeight(t){e(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateError(t){const o=t?{_description:t,_type:"error"}:void 0;this.validateMsg(o)}validateHideError(t){o(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){a(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){s(this.component,"_hint",t)}validateId(t){s(this.component,"_id",t,{hooks:{afterPatch:()=>{this.setAttribute("id",this.formAssociated,this.component.state._id)}},minLength:1}),""!==t&&void 0!==t||r("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){d(this.component,t,{required:!0})}validateMsg(t){l(this.component,t)}validateOn(t){"object"==typeof t&&c(this.component,"_on",t)}validateSmartButton(t){u(t,(()=>{try{t=f(t)}catch(t){}c(this.component,"_smartButton",t)}))}validateTabIndex(t){v(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var o;this.component._alert=!0,this.component._touched=!0,p(t),y("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t){var o;const e=t.target.value;y("change",this.host,e),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,e),this.valueChangeListeners.forEach((t=>t(e)))}onInput(t,o=!0){var e;const n=t.target.value;p(t),y("input",this.host),o&&this.setFormAssociatedValue(n),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onInput)&&this.component._on.onInput(t)}onClick(t){var o;p(t),y("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;this.component._alert=!0,p(t),y("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{k as I,g};
4
+ import{z as t,J as i,A as s,M as e,N as h,O as o,P as a,Q as n,R as r,S as d,T as l,k as c,q as u,r as f,U as v}from"./index-fbc0a5be.js";import{s as p,t as y}from"./events-29e84d75.js";import{A as b}from"./associated.controller-c5369a0d.js";const g=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class m extends b{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class k extends m{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){s(this.component,"_accessKey",t)}validateAdjustHeight(t){e(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateError(t){const o=t?{_description:t,_type:"error"}:void 0;this.validateMsg(o)}validateHideError(t){o(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){a(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){s(this.component,"_hint",t)}validateId(t){s(this.component,"_id",t,{hooks:{afterPatch:()=>{this.setAttribute("id",this.formAssociated,this.component.state._id)}},minLength:1}),""!==t&&void 0!==t||r("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){d(this.component,t,{required:!0})}validateMsg(t){l(this.component,t)}validateOn(t){"object"==typeof t&&c(this.component,"_on",t)}validateSmartButton(t){u(t,(()=>{try{t=f(t)}catch(t){}c(this.component,"_smartButton",t)}))}validateTabIndex(t){v(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var o;this.component._alert=!0,this.component._touched=!0,p(t),y("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t){var o;const e=t.target.value;y("change",this.host,e),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,e),this.valueChangeListeners.forEach((t=>t(e)))}onInput(t,o=!0){var e;const n=t.target.value;p(t),y("input",this.host,n),o&&this.setFormAssociatedValue(n),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onInput)&&this.component._on.onInput(t,n)}onClick(t){var o;p(t),y("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;this.component._alert=!0,p(t),y("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{k as I,g};
@@ -1 +1 @@
1
- {"version":3,"names":["getRenderStates","state","isMessageValidError","Boolean","_a","_msg","_type","_description","_b","length","hasError","_touched","hasHint","_hint","ariaDescribedBy","push","_id","ControlledInputController","AssociatedInputController","constructor","component","name","host","super","this","validateAlert","value","watchBoolean","validateTouched","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","watchString","validateAdjustHeight","validateDisabled","a11yHintDisabled","validateError","message","undefined","validateMsg","validateHideError","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","validateId","setAttribute","formAssociated","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/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { MsgPropType, TouchedPropType } from '@public-ui/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 '@public-ui/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 { AdjustHeightPropType, ButtonProps, HideErrorPropType, InputTypeOnDefault, LabelWithExpertSlotPropType, MsgPropType } from '@public-ui/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} from '@public-ui/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: string) => 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\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tconst message: MsgPropType | undefined = value\n\t\t\t? {\n\t\t\t\t\t_description: value,\n\t\t\t\t\t_type: 'error',\n\t\t\t\t}\n\t\t\t: undefined;\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, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('id', this.formAssociated, this.component.state._id as string);\n\t\t\t\t},\n\t\t\t},\n\t\t\tminLength: 1,\n\t\t});\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.`);\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\tprotected onChange(event: Event): void {\n\t\tconst 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\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true): void {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host);\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);\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":";;;wPASaA,EAAmBC,I,QAU/B,MAAMC,EAAsBC,UAAQC,EAAAH,EAAMI,QAAI,MAAAD,SAAA,SAAAA,EAAEE,SAAU,SAAWL,EAAMI,KAAKE,gBAAgBC,EAAAP,EAAMI,KAAKE,gBAAY,MAAAC,SAAA,SAAAA,EAAEC,QAAS,GAClI,MAAMC,EAAWR,GAAuBD,EAAMU,WAAa,KAC3D,MAAMC,SAAiBX,EAAMY,QAAU,UAAYZ,EAAMY,MAAMJ,OAAS,EAExE,MAAMK,EAA4B,GAClC,GAAIJ,IAAa,KAAM,CACtBI,EAAgBC,KAAK,GAAGd,EAAMe,Y,CAE/B,GAAIJ,IAAY,KAAM,CACrBE,EAAgBC,KAAK,GAAGd,EAAMe,W,CAE/B,MAAO,CAAEN,WAAUE,UAASE,kBAAiB,E,MCvBjCG,UAAkCC,EAG9C,WAAAC,CAAmBC,EAA8CC,EAAcC,GAC9EC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,aAAAK,CAAcC,GACpBC,EAAaH,KAAKJ,UAAW,SAAUM,E,CAGjC,eAAAE,CAAgBF,GACtBE,EAAgBJ,KAAKJ,UAAWM,E,CAG1B,iBAAAG,GACNN,MAAMM,oBACNL,KAAKC,cAAcD,KAAKJ,UAAUU,QAClCN,KAAKI,gBAAgBJ,KAAKJ,UAAUT,S,QCEzBoB,UAAwBd,EAKpC,W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+ {"version":3,"names":["getRenderStates","state","isMessageValidError","Boolean","_a","_msg","_type","_description","_b","length","hasError","_touched","hasHint","_hint","ariaDescribedBy","push","_id","ControlledInputController","AssociatedInputController","constructor","component","name","host","super","this","validateAlert","value","watchBoolean","validateTouched","componentWillLoad","_alert","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","watchString","validateAdjustHeight","validateDisabled","a11yHintDisabled","validateError","message","undefined","validateMsg","validateHideError","hooks","afterPatch","_hideError","a11yHint","validateHideLabel","_hideLabel","validateHint","validateId","setAttribute","formAssociated","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/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { MsgPropType, TouchedPropType } from '@public-ui/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 '@public-ui/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 { AdjustHeightPropType, ButtonProps, HideErrorPropType, InputTypeOnDefault, LabelWithExpertSlotPropType, MsgPropType } from '@public-ui/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} from '@public-ui/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: string) => 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\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tconst message: MsgPropType | undefined = value\n\t\t\t? {\n\t\t\t\t\t_description: value,\n\t\t\t\t\t_type: 'error',\n\t\t\t\t}\n\t\t\t: undefined;\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, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('id', this.formAssociated, this.component.state._id as string);\n\t\t\t\t},\n\t\t\t},\n\t\t\tminLength: 1,\n\t\t});\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.`);\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\tprotected onChange(event: Event): void {\n\t\tconst 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\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true): void {\n\t\tconst 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":";;;wPASaA,EAAmBC,I,QAU/B,MAAMC,EAAsBC,UAAQC,EAAAH,EAAMI,QAAI,MAAAD,SAAA,SAAAA,EAAEE,SAAU,SAAWL,EAAMI,KAAKE,gBAAgBC,EAAAP,EAAMI,KAAKE,gBAAY,MAAAC,SAAA,SAAAA,EAAEC,QAAS,GAClI,MAAMC,EAAWR,GAAuBD,EAAMU,WAAa,KAC3D,MAAMC,SAAiBX,EAAMY,QAAU,UAAYZ,EAAMY,MAAMJ,OAAS,EAExE,MAAMK,EAA4B,GAClC,GAAIJ,IAAa,KAAM,CACtBI,EAAgBC,KAAK,GAAGd,EAAMe,Y,CAE/B,GAAIJ,IAAY,KAAM,CACrBE,EAAgBC,KAAK,GAAGd,EAAMe,W,CAE/B,MAAO,CAAEN,WAAUE,UAASE,kBAAiB,E,MCvBjCG,UAAkCC,EAG9C,WAAAC,CAAmBC,EAA8CC,EAAcC,GAC9EC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,aAAAK,CAAcC,GACpBC,EAAaH,KAAKJ,UAAW,SAAUM,E,CAGjC,eAAAE,CAAgBF,GACtBE,EAAgBJ,KAAKJ,UAAWM,E,CAG1B,iBAAAG,GACNN,MAAMM,oBACNL,KAAKC,cAAcD,KAAKJ,UAAUU,QAClCN,KAAKI,gBAAgBJ,KAAKJ,UAAUT,S,QCEzBoB,UAAwBd,EAKpC,WAAAE,CAAmBC,EAA8CC,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+1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{q as o,r as t,w as s,F as i,a3 as e}from"./index-fbc0a5be.js";import{I as c}from"./controller-12bf050b.js";const n=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(i(e.right,1)&&(e.right={icon:e.right}),i(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class r extends c{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(c){o(c,(()=>{try{c=t(c)}catch(o){}s(this.component,"_icons",(o=>"object"==typeof o&&null!==o&&(i(o.left,1)||e(o.left)||i(o.right,1)||e(o.right))),new Set(["KoliBriHorizontalIcon"]),c,{hooks:{beforePatch:n},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{r as I};
4
+ import{q as o,r as t,w as s,F as i,a3 as e}from"./index-fbc0a5be.js";import{I as c}from"./controller-f47b7bfc.js";const n=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(i(e.right,1)&&(e.right={icon:e.right}),i(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class r extends c{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(c){o(c,(()=>{try{c=t(c)}catch(o){}s(this.component,"_icons",(o=>"object"==typeof o&&null!==o&&(i(o.left,1)||e(o.left)||i(o.right,1)||e(o.right))),new Set(["KoliBriHorizontalIcon"]),c,{hooks:{beforePatch:n},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{r as I};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as r}from"./index-59e9528b.js";import{d as e}from"./component-names-61247f2f.js";const o=({_alert:o,_msg:i,_hideError:s,_id:d})=>r(e,Object.assign({"aria-hidden":"true",id:`${d}-error`,_alert:o,_type:"error",class:{error:!0,"visually-hidden":!0===s}},i),(null==i?void 0:i._description)||void 0);export{o as F};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ const t=function(e,t,n){return e.split(t).join(n)};class e{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,n){var r;let a=null===(r=this.resourceMap.get(this.language))||void 0===r?void 0:r.get(e);return a?(null==n?void 0:n.placeholders)&&Object.entries(n.placeholders).forEach((([e,n])=>{a=t(a,`{{${e}}}`,n)})):a=e,a}}let n;const i=()=>{if(!(n instanceof e))throw new Error("i18n not initialized yet");return n},s=(t,r)=>{n=new e(t),n.addTranslations(r)};export{i as g,s as i};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["replaceAll","text","search","replacement","split","join","I18nService","constructor","initialLanguage","this","resourceMap","Map","language","addTranslations","translations","Array","isArray","Set","undefined","forEach","t","l","resources","get","set","Object","entries","k","v","setLanguage","lng","translate","key","options","result","_a","placeholders","i18n","getI18nInstance","Error","initializeI18n"],"sources":["src/core/i18n.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\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\tif (!(i18n instanceof I18nService)) {\n\t\tthrow new Error('i18n not initialized yet');\n\t}\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>>,\n) => {\n\ti18n = new I18nService(lng);\n\ti18n.addTranslations(translations);\n};\n"],"mappings":";;;AAUA,MAAMA,EAAa,SAAUC,EAAcC,EAAgBC,GAC1D,OAAOF,EAAKG,MAAMF,GAAQG,KAAKF,EAChC,E,MAIaG,EAIZ,WAAAC,CAAmBC,GAHXC,KAAAC,YAAc,IAAIC,IAIzBF,KAAKG,SAAWJ,IAAe,MAAfA,SAAe,EAAfA,EAAmB,I,CAQ7B,eAAAK,CACNC,GAKA,GAAIC,MAAMC,QAAQF,GAAe,CAChCA,EAAe,IAAIG,IAAIH,E,MACjB,UAAWA,IAAiB,WAAY,CAC9CA,EAAe,IAAIG,IAAI,CAACH,G,CAGzB,GAAIA,IAAiBI,UAAW,CAC/BJ,EAAaK,SAASC,GACrBA,GAAE,CAACC,EAAGD,KACL,IAAIE,EAAYb,KAAKC,YAAYa,IAAIF,GACrC,IAAKC,EAAW,CACfA,EAAY,IAAIX,IAChBF,KAAKC,YAAYc,IAAIH,EAAGC,E,CAGzBG,OAAOC,QAAQN,GAAGD,SAAQ,EAAEQ,EAAGC,MAC9B,GAAIA,EAAG,CACNN,EAAUE,IAAIG,EAAGC,E,KAGnB,OAAOP,CAAC,K,EAUL,WAAAQ,CAAYC,GAClBrB,KAAKG,SAAWkB,C,CASV,SAAAC,CAAUC,EAAaC,G,MAC7B,IAAIC,GAASC,EAAA1B,KAAKC,YAAYa,IAAId,KAAKG,aAAS,MAAAuB,SAAA,SAAAA,EAAEZ,IAAIS,GACtD,GAAIE,EAAQ,CACX,GAAID,IAAO,MAAPA,SAAO,SAAPA,EAASG,aAAc,CAC1BX,OAAOC,QAAQO,EAAQG,cAAcjB,SAAQ,EAAEQ,EAAGC,MACjDM,EAASlC,EAAWkC,EAAS,KAAKP,MAAOC,EAAE,G,MAGvC,CACNM,EAASF,C,CAEV,OAAOE,C,EAIT,IAAIG,E,MAESC,EAAkB,KAC9B,KAAMD,aAAgB/B,GAAc,CACnC,MAAM,IAAIiC,MAAM,2B,CAEjB,OAAOF,CAAI,E,MAGCG,EAAiB,CAC7BV,EACAhB,KAKAuB,EAAO,IAAI/B,EAAYwB,GACvBO,EAAKxB,gBAAgBC,EAAa,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as e}from"./index-fbc0a5be.js";import{g as i}from"./i18n-fddf0324.js";const n={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}}","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}}"},a={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}}","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}}"},r=e=>Object.keys(e).reduce(((i,n)=>(i[`kol-${n}`]=e[n],i)),{}),t=new Set([e=>e("en",r(a)),e=>e("de",r(n))]);let o=(e,n)=>{const a=i();let r=a.translate(e,n);return r===e&&(a.addTranslations(t),r=a.translate(e,n)),r};"test"===e&&(o=e=>e);export{o as t};
4
+ import{p as e}from"./index-fbc0a5be.js";import{g as i}from"./i18n-0c047df5.js";const n={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}}","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}}"},a={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}}","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}}"},r=e=>Object.keys(e).reduce(((i,n)=>(i[`kol-${n}`]=e[n],i)),{}),t=new Set([e=>e("en",r(a)),e=>e("de",r(n))]);let o=(e,n)=>{const a=i();let r=a.translate(e,n);return r===e&&(a.addTranslations(t),r=a.translate(e,n)),r};"test"===e&&(o=e=>e);export{o as t};
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
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:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,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};let n,s,l,o=!1,i=!1,f=!1,c=!1;const r=(e,t="")=>()=>{},u=(e,t)=>()=>{},a="r",d="o",v="s",$="t",p="s-id",h="sty-id",m="c-id",y="{visibility:hidden}.hydrated{visibility:inherit}",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",g="http://www.w3.org/1999/xlink",w={},S="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xhtml",x=e=>null!=e,C=e=>"object"===(e=typeof e)||"function"===e;function j(e){var t,n,s;return null!==(s=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==s?s:void 0}const O=(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&&!C(s))&&(s=String(s)),r&&i?a[a.length-1].t+=s:a.push(r?R(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,D);const d=R(e,null);return d.l=t,a.length>0&&(d.o=a),d.i=o,d.u=l,d},R=(e,t)=>{const n={v:0,$:e,t:t,p:null,o:null,l:null,i:null,u:null};return n},T={},L=e=>e&&e.$===T,D={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(M)},F=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.$,vtext:e.t}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),O(e.vtag,t,...e.vchildren||[])}const t=R(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},A=(e,t,n,s)=>{const o=r(0,t),l=e.shadowRoot,i=[],a=l?[]:null,c=s.h=R(t,null);et.m||P(Ze.body,et.m=new Map),e[p]=n,e.removeAttribute(p),N(c,i,[],a,e,e,n),i.map((e=>{const n=e.S+"."+e.k,s=et.m.get(n),o=e.p;s&&tt&&""===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)),et.m.delete(n)})),l&&a.map((e=>{e&&l.appendChild(e)})),o()},N=(e,t,n,s,o,l,r)=>{let i,c,d,u;if(1===l.nodeType){for(i=l.getAttribute(m),i&&(c=i.split("."),c[0]!==r&&"0"!==c[0]||(d={v:0,S:c[0],k:c[1],C:c[2],j:c[3],$:l.tagName.toLowerCase(),p:l,l:null,o:null,i:null,u:null,t:null},t.push(d),l.removeAttribute(m),e.o||(e.o=[]),e.o[d.j]=d,e=d,s&&"0"===d.C&&(s[d.j]=d.p))),u=l.childNodes.length-1;u>=0;u--)N(e,t,n,s,o,l.childNodes[u],r);if(l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)N(e,t,n,s,o,l.shadowRoot.childNodes[u],r)}else if(8===l.nodeType)c=l.nodeValue.split("."),c[1]!==r&&"0"!==c[1]||(i=c[0],d={v:0,S:c[1],k:c[2],C:c[3],j:c[4],p:l,l:null,o:null,i:null,u:null,$:null,t:null},i===$?(d.p=l.nextSibling,d.p&&3===d.p.nodeType&&(d.t=d.p.textContent,t.push(d),l.remove(),e.o||(e.o=[]),e.o[d.j]=d,s&&"0"===d.C&&(s[d.j]=d.p))):d.S===r&&(i===v?(d.$="slot",c[5]?l["s-sn"]=d.u=c[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(d.p=Ze.createElement(d.$),d.u&&d.p.setAttribute("name",d.u),l.parentNode.insertBefore(d.p,l),l.remove(),"0"===d.C&&(s[d.j]=d.p)),n.push(d),e.o||(e.o=[]),e.o[d.j]=d):i===a&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.$){const t=R(null,l.textContent);t.p=l,t.j="0",e.o=[t]}},P=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)P(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)P(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===d&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},U=e=>Je.map((t=>t(e))).find((e=>!!e)),W=e=>Je.push(e),E=(e,t)=>null==e||C(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,I=e=>He(e).$hostElement$,z=(e,t,n)=>{const s=et.ce(t,n);return e.dispatchEvent(s),s},B=new WeakMap,H=(e,t,n)=>{let s=Ge.get(e);lt&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,Ge.set(e,s)},Q=(e,t,n)=>{var s;const o=K(t,n),l=Ge.get(o);if(e=11===e.nodeType?e:Ze,l)if("string"==typeof l){e=e.head||e;let n,r=B.get(e);if(r||B.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${h}="${o}"]`)))n.innerHTML=l;else{n=Ze.createElement("style"),n.innerHTML=l;const t=null!==(s=et.O)&&void 0!==s?s:j(Ze);null!=t&&n.setAttribute("nonce",t),e.insertBefore(n,e.querySelector("link"))}4&t.v&&(n.innerHTML+=b),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},q=e=>{const t=e.R,n=e.$hostElement$,s=t.v,o=r(0,t.T),l=Q(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.L);10&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},K=(e,t)=>"sc-"+(t&&32&e.v?e.T+"-"+t:e.T),V=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),X=(e,t,n,s,o,l)=>{if(n!==s){let r=Ke(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=G(n),l=G(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=C(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(g,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(g,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):Ke(Ye,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(J);t=t.replace(Y,""),n&&et.rel(e,t,n,o),s&&et.ael(e,t,s,o)}}},_=/\s/,G=e=>e?e.split(_):[],J="Capture",Y=new RegExp(J+"$"),Z=(e,t,n,s)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,l=e&&e.l||w,r=t.l||w;for(s of ee(Object.keys(l)))s in r||X(o,s,l[s],void 0,n,t.v);for(s of ee(Object.keys(r)))X(o,s,l[s],r[s],n,t.v)};function ee(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}const te=(e,t,r,i)=>{var a;const d=t.o[r];let u,p,h,v=0;if(o||(f=!0,"slot"===d.$&&(n&&i.classList.add(n+"-s"),d.v|=d.o?2:1)),null!==d.t)u=d.p=Ze.createTextNode(d.t);else if(1&d.v)u=d.p=Ze.createTextNode("");else{if(c||(c="svg"===d.$),u=d.p=Ze.createElementNS(c?S:k,2&d.v?"slot-fb":d.$),c&&"foreignObject"===d.$&&(c=!1),Z(null,d,c),x(n)&&u["s-si"]!==n&&u.classList.add(u["s-si"]=n),d.o)for(v=0;v<d.o.length;++v)p=te(e,d,v,u),p&&u.appendChild(p);"svg"===d.$?c=!1:"foreignObject"===u.tagName&&(c=!0)}return u["s-hn"]=l,3&d.v&&(u["s-sr"]=!0,u["s-cr"]=s,u["s-sn"]=d.u||"",u["s-rf"]=null===(a=d.l)||void 0===a?void 0:a.ref,h=e&&e.o&&e.o[r],h&&h.$===d.$&&e.p&&ne(e.p,!1)),u},ne=(e,n)=>{et.v|=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"]===l&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==l&&t["s-ol"]&&(ce(t).insertBefore(t,fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,f=!0),n&&ne(t,n)}et.v&=-2},se=(e,t,n,s,o,r)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===l&&(a=a.shadowRoot);o<=r;++o)s[o]&&(i=te(null,n,o,e),i&&(s[o].p=i,a.insertBefore(i,fe(t))))},le=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.p;$e(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():ne(e,!0),e.remove())}}},oe=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,p=t[0],h=t[u],f=s.length-1,v=s[0],m=s[f];for(;i<=u&&a<=f;)if(null==p)p=t[++i];else if(null==h)h=t[--u];else if(null==v)v=s[++a];else if(null==m)m=s[--f];else if(ie(p,v,o))re(p,v,o),p=t[++i],v=s[++a];else if(ie(h,m,o))re(h,m,o),h=t[--u],m=s[--f];else if(ie(p,m,o))"slot"!==p.$&&"slot"!==m.$||ne(p.p.parentNode,!1),re(p,m,o),e.insertBefore(p.p,h.p.nextSibling),p=t[++i],m=s[--f];else if(ie(h,v,o))"slot"!==p.$&&"slot"!==m.$||ne(h.p.parentNode,!1),re(h,v,o),e.insertBefore(h.p,p.p),h=t[--u],v=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].i&&t[d].i===v.i){c=d;break}c>=0?(r=t[c],r.$!==v.$?l=te(t&&t[a],n,c,e):(re(r,v,o),t[c]=void 0,l=r.p),v=s[++a]):(l=te(t&&t[a],n,a,e),v=s[++a]),l&&ce(p.p).insertBefore(l,fe(p.p))}i>u?se(e,null==s[f+1]?null:s[f+1].p,n,s,a,f):a>f&&le(t,i,u)},ie=(e,t,n=!1)=>e.$===t.$&&("slot"===e.$?e.u===t.u:!!n||e.i===t.i),fe=e=>e&&e["s-ol"]||e,ce=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,re=(e,t,n=!1)=>{const s=t.p=e.p,l=e.o,r=t.o,i=t.$,a=t.t;let d;null===a?(c="svg"===i||"foreignObject"!==i&&c,("slot"!==i||o)&&Z(e,t,c),null!==l&&null!==r?oe(s,l,t,r,n):null!==r?(null!==e.t&&(s.textContent=""),se(s,null,t,r,0,r.length-1)):null!==l&&le(l,0,l.length-1),c&&"svg"===i&&(c=!1)):(d=s["s-cr"])?d.parentNode.textContent=a:e.t!==a&&(s.data=a)},ue=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"])){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}ue(e)}},ae=[],de=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(ve(n,e)){let t=ae.find((e=>e.D===n));i=!0,n["s-sn"]=n["s-sn"]||e,t?(t.D["s-sh"]=l["s-hn"],t.F=l):(n["s-sh"]=l["s-hn"],ae.push({F:l,D:n})),n["s-sr"]&&ae.map((e=>{ve(e.D,n["s-sn"])&&(t=ae.find((e=>e.D===n)),t&&!e.F&&(e.F=t.F))}))}else ae.some((e=>e.D===n))||ae.push({D:n})}1===l.nodeType&&de(l)}},ve=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,$e=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map($e)},pe=(e,t,r=!1)=>{var a,c,d,u;const p=e.$hostElement$,h=e.R,v=e.h||R(null,null),m=L(t)?t:O(null,null,t);if(l=p.tagName,h.M&&(m.l=m.l||{},h.M.map((([e,t])=>m.l[t]=p[e]))),r&&m.l)for(const e of Object.keys(m.l))p.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(m.l[e]=p[e]);if(m.$=null,m.v|=4,e.h=m,m.p=v.p=p.shadowRoot||p,n=p["s-sc"],o=!!(1&h.v),s=p["s-cr"],i=!1,re(v,m,r),et.v|=1,f){de(m.p);for(const e of ae){const t=e.D;if(!t["s-ol"]){const e=Ze.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of ae){const t=e.D,n=e.F;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=null===(a=t["s-ol"])||void 0===a?void 0:a.previousSibling;for(;n;){let o=null!==(c=n["s-nr"])&&void 0!==c?c:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}n=n.previousSibling}}(!s&&e!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,s),1===t.nodeType&&(t.hidden=null!==(d=t["s-ih"])&&void 0!==d&&d)),t&&"function"==typeof n["s-rf"]&&n["s-rf"](t)}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(u=t.hidden)&&void 0!==u&&u),t.hidden=!0)}}i&&ue(m.p),et.v&=-2,ae.length=0,s=void 0},he=(e,t)=>{t&&!e.A&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.A=t)))},me=(e,t)=>{if(4&e.v)return void(e.v|=512);he(e,e.N);return ye(e,t)},ye=(e,t)=>{const n=r(0,e.R.T),s=e.P;let o;return t&&(e.v|=256,e.U&&(e.U.map((([e,t])=>Ce(s,e,t))),e.U=void 0),o=Ce(s,"componentWillLoad")),o=be(o,(()=>Ce(s,"componentWillRender"))),n(),be(o,(()=>we(e,s,t)))},be=(e,t)=>ge(e)?e.then(t):t(),ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,we=async(e,t,n)=>{var s;const o=e.$hostElement$,l=r(0,e.R.T),i=o["s-rc"];n&&q(e);const a=r(0,e.R.T);Se(e,t,o,n),i&&(i.map((e=>e())),o["s-rc"]=void 0),a(),l();{const t=null!==(s=o["s-p"])&&void 0!==s?s:[],n=()=>ke(e);0===t.length?n():(Promise.all(t).then(n),e.v|=4,t.length=0)}},Se=(e,t,n,s)=>{try{t=t.render(),e.v|=2,pe(e,t,s)}catch(t){Ve(t,e.$hostElement$)}return null},ke=e=>{const t=e.R.T,n=e.$hostElement$,s=r(0,t),o=e.P,l=e.N;Ce(o,"componentDidRender"),64&e.v?s():(e.v|=64,je(n),Ce(o,"componentDidLoad"),s(),e.W(n),l||xe()),e.I(n),e.A&&(e.A(),e.A=void 0),512&e.v&&ot((()=>me(e,!1))),e.v&=-517},xe=t=>{je(Ze.documentElement),ot((()=>z(Ye,"appload",{detail:{namespace:e}})))},Ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Ve(e)}},je=e=>e.classList.add("hydrated"),Oe=(e,t)=>He(e).B.get(t),Re=(e,t,n,s)=>{const o=He(e),l=o.$hostElement$,r=o.B.get(t),i=o.v,a=o.P;n=E(n,s.H[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&(n!==r&&!c)&&(o.B.set(t,n),a)){if(s.q&&128&i){const e=s.q[t];e&&e.map((e=>{try{a[e](n,r,t)}catch(e){Ve(e,l)}}))}2==(18&i)&&me(o,!1)}},Te=(e,t,n)=>{var s;const o=e.prototype;if(t.H){e.watchers&&(t.q=e.watchers);const l=Object.entries(t.H);if(l.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(o,e,{get(){return Oe(this,e)},set(n){Re(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(o,e,{value(...t){var n;const s=He(this);return null===(n=null==s?void 0:s.K)||void 0===n?void 0:n.then((()=>{var n;return null===(n=s.P)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,s,l){et.jmp((()=>{var r;const i=n.get(e);if(this.hasOwnProperty(i))l=this[i],delete this[i];else{if(o.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==l)return;if(null==i){const n=He(this),o=null==n?void 0:n.v;if(o&&!(8&o)&&128&o&&l!==s){const o=n.P,i=null===(r=t.q)||void 0===r?void 0:r[e];null==i||i.forEach((t=>{null!=o[t]&&o[t].call(o,l,s,e)}))}return}}this[i]=(null!==l||"boolean"!=typeof this[i])&&l}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(s=t.q)&&void 0!==s?s:{}),...l.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.M)||void 0===o||o.push([e,l])),l}))]))}}return e},Le=async(e,t,n,s)=>{let o;if(!(32&t.v)){t.v|=32;if(n.V){if(o=_e(n),o.then){const e=u();o=await o,e()}o.isProxied||(n.q=o.watchers,Te(o,n,2),o.isProxied=!0);const s=r(0,n.T);t.v|=8;try{new o(t)}catch(e){Ve(e)}t.v&=-9,t.v|=128,s(),De(t.P)}else o=e.constructor,customElements.whenDefined(n.T).then((()=>t.v|=128));if(o.style){let s=o.style;"string"!=typeof s&&(s=s[t.L=U(e)]);const l=K(n,t.L);if(!Ge.has(l)){const e=r(0,n.T);H(l,s,!!(1&n.v)),e()}}}const l=t.N,i=()=>me(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},De=e=>{Ce(e,"connectedCallback")},Fe=e=>{if(!(1&et.v)){const t=He(e),n=t.R,s=r(0,n.T);if(1&t.v)We(e,t,n.X),(null==t?void 0:t.P)?De(t.P):(null==t?void 0:t._)&&t._.then((()=>De(t.P)));else{let s;if(t.v|=1,s=e.getAttribute(p),s){if(1&n.v){const t=Q(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}A(e,n.T,s,t)}s||12&n.v&&Me(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){he(t,t.N=n);break}}n.H&&Object.entries(n.H).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Le(e,t,n)}s()}},Me=e=>{const t=e["s-cr"]=Ze.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Ae=e=>{Ce(e,"disconnectedCallback")},Ne=async e=>{if(!(1&et.v)){const t=He(e);t.G&&(t.G.map((e=>e())),t.G=void 0),(null==t?void 0:t.P)?Ae(t.P):(null==t?void 0:t._)&&t._.then((()=>Ae(t.P)))}},Pe=(e,t={})=>{var n;const s=r(),o=[],l=t.exclude||[],i=Ye.customElements,a=Ze.head,c=a.querySelector("meta[charset]"),d=Ze.createElement("style"),u=[],p=Ze.querySelectorAll(`[${h}]`);let f,v=!0,m=0;for(Object.assign(et,t),et.J=new URL(t.resourcesUrl||"./",Ze.baseURI).href,et.v|=2;m<p.length;m++)H(p[m].getAttribute(h),V(p[m].innerHTML),!0);let g=!1;if(e.map((e=>{e[1].map((n=>{var s;const r={v:n[0],T:n[1],H:n[2],X:n[3]};4&r.v&&(g=!0),r.H=n[2],r.X=n[3],r.M=[],r.q=null!==(s=n[4])&&void 0!==s?s:{};const a=t.transformTagName?t.transformTagName(r.T):r.T,c=class extends HTMLElement{constructor(e){super(e),qe(e=this,r),1&r.v&&e.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),v?u.push(this):et.jmp((()=>Fe(this)))}disconnectedCallback(){et.jmp((()=>Ne(this)))}componentOnReady(){return He(this)._}};r.V=e[0],l.includes(a)||i.get(a)||(o.push(a),i.define(a,Te(c,r,1)))}))})),o.length>0&&(g&&(d.textContent+=b),d.textContent+=o+y,d.innerHTML.length)){d.setAttribute("data-styles","");const e=null!==(n=et.O)&&void 0!==n?n:j(Ze);null!=e&&d.setAttribute("nonce",e),a.insertBefore(d,c?c.nextSibling:a.firstChild)}v=!1,u.length?u.map((e=>e.connectedCallback())):et.jmp((()=>f=setTimeout(xe,30))),s()},Ue=(e,t)=>t,We=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=e,r=Ee(t,o),i=Ie(n);et.ael(l,s,r,i),(t.G=t.G||[]).push((()=>et.rel(l,s,r,i)))}))},Ee=(e,t)=>n=>{try{256&e.v?e.P[t](n):(e.U=e.U||[]).push([t,n])}catch(e){Ve(e)}},Ie=e=>nt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),ze=e=>et.O=e,Be=new WeakMap,He=e=>Be.get(e),Qe=(e,t)=>Be.set(t.P=e,t),qe=(e,t)=>{const n={v:0,$hostElement$:e,R:t,B:new Map};return n.K=new Promise((e=>n.I=e)),n._=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],We(e,n,t.X),Be.set(e,n)},Ke=(e,t)=>t in e,Ve=(e,t)=>(0,console.error)(e,t),Xe=new Map,_e=(e,t,n)=>{const s=e.T.replace(/-/g,"_"),o=e.V,l=Xe.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(Xe.set(o,e),e[s])),Ve)
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ge=new Map,Je=[],Ye="undefined"!=typeof window?window:{},Ze=Ye.document||{head:{}},et={v:0,J:"",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)},tt=!0,nt=(()=>{let e=!1;try{Ze.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),st=e=>Promise.resolve(e),lt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ot=e=>st().then(e);export{Ue as F,T as H,W as a,Pe as b,I as g,O as h,st as p,Qe as r,ze as s};