@public-ui/components 2.2.11 → 2.2.12

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 (1083) hide show
  1. package/custom-elements.json +3 -21
  2. package/dist/cjs/Alert-0c185e9e.js +4 -0
  3. package/dist/cjs/Alert-0c185e9e.js.map +1 -0
  4. package/dist/cjs/{Collapsible-8b3c4050.js → Collapsible-7f75d739.js} +1 -1
  5. package/dist/cjs/Collapsible-7f75d739.js.map +1 -0
  6. package/dist/cjs/FormFieldMsg-f354ccfa.js +4 -0
  7. package/dist/cjs/FormFieldMsg-f354ccfa.js.map +1 -0
  8. package/dist/cjs/{InternalUnderlinedBadgeText-5bf32805.js → InternalUnderlinedBadgeText-c4cf143b.js} +1 -1
  9. package/dist/cjs/{InternalUnderlinedBadgeText-5bf32805.js.map → InternalUnderlinedBadgeText-c4cf143b.js.map} +1 -1
  10. package/dist/cjs/access-and-short-key-5bfd764e.js +4 -0
  11. package/dist/cjs/access-and-short-key-5bfd764e.js.map +1 -0
  12. package/dist/cjs/align-033dd3ec.js +4 -0
  13. package/dist/cjs/{align-a9f24187.js.map → align-033dd3ec.js.map} +1 -1
  14. package/dist/cjs/align-floating-elements-fd0cbb89.js +4 -0
  15. package/dist/cjs/align-floating-elements-fd0cbb89.js.map +1 -0
  16. package/dist/cjs/app-globals-3630d4e9.js +4 -0
  17. package/dist/cjs/app-globals-3630d4e9.js.map +1 -0
  18. package/dist/cjs/associated.controller-52a935b6.js +4 -0
  19. package/dist/cjs/associated.controller-52a935b6.js.map +1 -0
  20. package/dist/cjs/badge-text-8dec676c.js +4 -0
  21. package/dist/cjs/{badge-text-9d12359c.js.map → badge-text-8dec676c.js.map} +1 -1
  22. package/dist/cjs/button-variant-88579d18.js +4 -0
  23. package/dist/cjs/{button-variant-10ad2503.js.map → button-variant-88579d18.js.map} +1 -1
  24. package/dist/cjs/color-162ea61e.js +4 -0
  25. package/dist/cjs/color-162ea61e.js.map +1 -0
  26. package/dist/cjs/controller-5f8b2d27.js +4 -0
  27. package/dist/cjs/controller-5f8b2d27.js.map +1 -0
  28. package/dist/cjs/controller-63392fcc.js +4 -0
  29. package/dist/cjs/{controller-d7e8fba5.js.map → controller-63392fcc.js.map} +1 -1
  30. package/dist/cjs/controller-b58f6250.js +4 -0
  31. package/dist/cjs/controller-b58f6250.js.map +1 -0
  32. package/dist/cjs/controller-e30139f3.js +4 -0
  33. package/dist/cjs/{controller-20541e1e.js.map → controller-e30139f3.js.map} +1 -1
  34. package/dist/cjs/controller-ea284a25.js +4 -0
  35. package/dist/cjs/controller-ea284a25.js.map +1 -0
  36. package/dist/cjs/controller-icon-f2b4f168.js +4 -0
  37. package/dist/cjs/controller-icon-f2b4f168.js.map +1 -0
  38. package/dist/cjs/custom-class-0e90f691.js +4 -0
  39. package/dist/cjs/{custom-class-1bd0519a.js.map → custom-class-0e90f691.js.map} +1 -1
  40. package/dist/cjs/dev.utils-c93c0f5c.js +4 -0
  41. package/dist/cjs/dev.utils-c93c0f5c.js.map +1 -0
  42. package/dist/cjs/devtools-7be6b549.js +4 -0
  43. package/dist/cjs/devtools-7be6b549.js.map +1 -0
  44. package/dist/cjs/disabled-a4caeaf0.js +4 -0
  45. package/dist/cjs/{disabled-0ee19649.js.map → disabled-a4caeaf0.js.map} +1 -1
  46. package/dist/cjs/has-closer-418d6eb6.js +4 -0
  47. package/dist/cjs/{has-closer-51ccf77f.js.map → has-closer-418d6eb6.js.map} +1 -1
  48. package/dist/cjs/has-counter-4e1a4310.js +4 -0
  49. package/dist/cjs/{has-counter-8679115c.js.map → has-counter-4e1a4310.js.map} +1 -1
  50. package/dist/cjs/hide-label-c4e4da8c.js +4 -0
  51. package/dist/cjs/{hide-label-a9a94f19.js.map → hide-label-c4e4da8c.js.map} +1 -1
  52. package/dist/cjs/href-a57999b2.js +4 -0
  53. package/dist/cjs/{href-c14d2c3e.js.map → href-a57999b2.js.map} +1 -1
  54. package/dist/cjs/i18n-b5fa004e.js +4 -0
  55. package/dist/cjs/{i18n-5f0ed6ed.js.map → i18n-b5fa004e.js.map} +1 -1
  56. package/dist/cjs/icons-bdb59a04.js +4 -0
  57. package/dist/cjs/icons-bdb59a04.js.map +1 -0
  58. package/dist/cjs/image-source-92ea226a.js +4 -0
  59. package/dist/cjs/{image-source-3b5f1388.js.map → image-source-92ea226a.js.map} +1 -1
  60. package/dist/cjs/index-4d023d25.js +4 -0
  61. package/dist/cjs/index-4d023d25.js.map +1 -0
  62. package/dist/cjs/{index-cb5cbda1.js → index-f08231ed.js} +1 -1
  63. package/dist/cjs/{index-cb5cbda1.js.map → index-f08231ed.js.map} +1 -1
  64. package/dist/cjs/index.cjs.js +1 -1
  65. package/dist/cjs/index.cjs.js.map +1 -1
  66. package/dist/cjs/keyboard-f10324af.js +4 -0
  67. package/dist/cjs/keyboard-f10324af.js.map +1 -0
  68. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-heading-wc.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  140. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  150. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  154. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  156. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  157. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  158. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  159. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  160. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  162. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  164. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  166. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  168. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  170. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  171. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  172. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  174. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  175. package/dist/cjs/kol-symbol.cjs.entry.js.map +1 -1
  176. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  177. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  178. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  179. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  180. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  181. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  182. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  183. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  184. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  185. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  186. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  187. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  188. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  189. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  190. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  191. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  192. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  193. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  194. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  195. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  196. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  197. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  198. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  199. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  200. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  201. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  202. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  203. package/dist/cjs/kolibri.cjs.js +1 -1
  204. package/dist/cjs/kolibri.cjs.js.map +1 -1
  205. package/dist/cjs/label-32668ef6.js +4 -0
  206. package/dist/cjs/label-32668ef6.js.map +1 -0
  207. package/dist/cjs/loader.cjs.js +1 -1
  208. package/dist/cjs/loader.cjs.js.map +1 -1
  209. package/dist/cjs/open-0bd660ad.js +4 -0
  210. package/dist/cjs/{open-e08280be.js.map → open-0bd660ad.js.map} +1 -1
  211. package/dist/cjs/rows-945eef57.js +4 -0
  212. package/dist/cjs/{rows-24ccf646.js.map → rows-945eef57.js.map} +1 -1
  213. package/dist/cjs/show-7c9e5406.js +4 -0
  214. package/dist/cjs/{show-0625d136.js.map → show-7c9e5406.js.map} +1 -1
  215. package/dist/cjs/spell-check-2d7ed9c3.js +4 -0
  216. package/dist/cjs/{spell-check-d54fcffc.js.map → spell-check-2d7ed9c3.js.map} +1 -1
  217. package/dist/cjs/suggestions-7567310b.js +4 -0
  218. package/dist/cjs/suggestions-7567310b.js.map +1 -0
  219. package/dist/cjs/table-selection-15ab1cff.js +4 -0
  220. package/dist/cjs/table-selection-15ab1cff.js.map +1 -0
  221. package/dist/cjs/test-component.cjs.entry.js +1 -1
  222. package/dist/cjs/tooltip-align-cf8829c6.js +4 -0
  223. package/dist/cjs/tooltip-align-cf8829c6.js.map +1 -0
  224. package/dist/cjs/unique-nav-labels-b8a16446.js +4 -0
  225. package/dist/cjs/unique-nav-labels-b8a16446.js.map +1 -0
  226. package/dist/cjs/validation-4fab29ff.js +4 -0
  227. package/dist/cjs/{validation-2820e912.js.map → validation-4fab29ff.js.map} +1 -1
  228. package/dist/cjs/validation-5256cf18.js +4 -0
  229. package/dist/cjs/{validation-bcb18e67.js.map → validation-5256cf18.js.map} +1 -1
  230. package/dist/components/Alert.js +1 -1
  231. package/dist/components/Alert.js.map +1 -1
  232. package/dist/components/Collapsible.js +1 -1
  233. package/dist/components/Collapsible.js.map +1 -1
  234. package/dist/components/FormFieldMsg.js +1 -1
  235. package/dist/components/FormFieldMsg.js.map +1 -1
  236. package/dist/components/access-and-short-key.js +1 -1
  237. package/dist/components/align-floating-elements.js +1 -1
  238. package/dist/components/align-floating-elements.js.map +1 -1
  239. package/dist/components/align.js +1 -1
  240. package/dist/components/associated.controller.js +1 -1
  241. package/dist/components/associated.controller.js.map +1 -1
  242. package/dist/components/badge-text.js +1 -1
  243. package/dist/components/button-variant.js +1 -1
  244. package/dist/components/color.js +1 -1
  245. package/dist/components/color.js.map +1 -1
  246. package/dist/components/controller-icon.js +1 -1
  247. package/dist/components/controller-icon.js.map +1 -1
  248. package/dist/components/controller.js +1 -1
  249. package/dist/components/controller.js.map +1 -1
  250. package/dist/components/controller2.js +1 -1
  251. package/dist/components/controller2.js.map +1 -1
  252. package/dist/components/controller3.js +1 -1
  253. package/dist/components/controller4.js +1 -1
  254. package/dist/components/controller5.js +1 -1
  255. package/dist/components/custom-class.js +1 -1
  256. package/dist/components/dev.utils.js +1 -1
  257. package/dist/components/dev.utils.js.map +1 -1
  258. package/dist/components/devtools.js +1 -1
  259. package/dist/components/devtools.js.map +1 -1
  260. package/dist/components/disabled.js +1 -1
  261. package/dist/components/has-closer.js +1 -1
  262. package/dist/components/has-counter.js +1 -1
  263. package/dist/components/hide-label.js +1 -1
  264. package/dist/components/href.js +1 -1
  265. package/dist/components/i18n2.js +1 -1
  266. package/dist/components/icons.js +1 -1
  267. package/dist/components/icons.js.map +1 -1
  268. package/dist/components/image-source.js +1 -1
  269. package/dist/components/index.js +1 -1
  270. package/dist/components/index.js.map +1 -1
  271. package/dist/components/index2.js +4 -0
  272. package/dist/components/index2.js.map +1 -0
  273. package/dist/components/keyboard.js +4 -0
  274. package/dist/components/keyboard.js.map +1 -0
  275. package/dist/components/kol-abbr.js +1 -1
  276. package/dist/components/kol-abbr.js.map +1 -1
  277. package/dist/components/kol-accordion.js +1 -1
  278. package/dist/components/kol-accordion.js.map +1 -1
  279. package/dist/components/kol-alert-wc.js +1 -1
  280. package/dist/components/kol-alert.js +1 -1
  281. package/dist/components/kol-alert.js.map +1 -1
  282. package/dist/components/kol-avatar-wc.js +1 -1
  283. package/dist/components/kol-avatar-wc.js.map +1 -1
  284. package/dist/components/kol-avatar.js +1 -1
  285. package/dist/components/kol-avatar.js.map +1 -1
  286. package/dist/components/kol-badge.js +1 -1
  287. package/dist/components/kol-badge.js.map +1 -1
  288. package/dist/components/kol-breadcrumb.js +1 -1
  289. package/dist/components/kol-breadcrumb.js.map +1 -1
  290. package/dist/components/kol-button-group.js +1 -1
  291. package/dist/components/kol-button-group.js.map +1 -1
  292. package/dist/components/kol-button-link.js +1 -1
  293. package/dist/components/kol-button-link.js.map +1 -1
  294. package/dist/components/kol-button-wc.js +1 -1
  295. package/dist/components/kol-button-wc.js.map +1 -1
  296. package/dist/components/kol-button.js +1 -1
  297. package/dist/components/kol-button.js.map +1 -1
  298. package/dist/components/kol-card.js +1 -1
  299. package/dist/components/kol-card.js.map +1 -1
  300. package/dist/components/kol-combobox.js +1 -1
  301. package/dist/components/kol-combobox.js.map +1 -1
  302. package/dist/components/kol-details.js +1 -1
  303. package/dist/components/kol-details.js.map +1 -1
  304. package/dist/components/kol-drawer.js +1 -1
  305. package/dist/components/kol-drawer.js.map +1 -1
  306. package/dist/components/kol-form.js +1 -1
  307. package/dist/components/kol-form.js.map +1 -1
  308. package/dist/components/kol-heading-wc.js +1 -1
  309. package/dist/components/kol-heading-wc.js.map +1 -1
  310. package/dist/components/kol-heading.js +1 -1
  311. package/dist/components/kol-heading.js.map +1 -1
  312. package/dist/components/kol-icon.js +1 -1
  313. package/dist/components/kol-icon.js.map +1 -1
  314. package/dist/components/kol-image.js +1 -1
  315. package/dist/components/kol-image.js.map +1 -1
  316. package/dist/components/kol-indented-text.js +1 -1
  317. package/dist/components/kol-indented-text.js.map +1 -1
  318. package/dist/components/kol-input-checkbox.js +1 -1
  319. package/dist/components/kol-input-checkbox.js.map +1 -1
  320. package/dist/components/kol-input-color.js +1 -1
  321. package/dist/components/kol-input-color.js.map +1 -1
  322. package/dist/components/kol-input-date.js +1 -1
  323. package/dist/components/kol-input-date.js.map +1 -1
  324. package/dist/components/kol-input-email.js +1 -1
  325. package/dist/components/kol-input-email.js.map +1 -1
  326. package/dist/components/kol-input-file.js +1 -1
  327. package/dist/components/kol-input-file.js.map +1 -1
  328. package/dist/components/kol-input-number.js +1 -1
  329. package/dist/components/kol-input-number.js.map +1 -1
  330. package/dist/components/kol-input-password.js +1 -1
  331. package/dist/components/kol-input-password.js.map +1 -1
  332. package/dist/components/kol-input-radio.js +1 -1
  333. package/dist/components/kol-input-radio.js.map +1 -1
  334. package/dist/components/kol-input-range.js +1 -1
  335. package/dist/components/kol-input-range.js.map +1 -1
  336. package/dist/components/kol-input-text.js +1 -1
  337. package/dist/components/kol-input-text.js.map +1 -1
  338. package/dist/components/kol-input.js +1 -1
  339. package/dist/components/kol-input.js.map +1 -1
  340. package/dist/components/kol-kolibri.js +1 -1
  341. package/dist/components/kol-kolibri.js.map +1 -1
  342. package/dist/components/kol-link-button.js +1 -1
  343. package/dist/components/kol-link-button.js.map +1 -1
  344. package/dist/components/kol-link-group.js +1 -1
  345. package/dist/components/kol-link-group.js.map +1 -1
  346. package/dist/components/kol-link-wc.js +1 -1
  347. package/dist/components/kol-link-wc.js.map +1 -1
  348. package/dist/components/kol-link.js +1 -1
  349. package/dist/components/kol-link.js.map +1 -1
  350. package/dist/components/kol-logo.js +1 -1
  351. package/dist/components/kol-logo.js.map +1 -1
  352. package/dist/components/kol-modal.js +1 -1
  353. package/dist/components/kol-modal.js.map +1 -1
  354. package/dist/components/kol-nav.js +1 -1
  355. package/dist/components/kol-nav.js.map +1 -1
  356. package/dist/components/kol-pagination.js +1 -1
  357. package/dist/components/kol-pagination.js.map +1 -1
  358. package/dist/components/kol-popover-button.js +1 -1
  359. package/dist/components/kol-popover-button.js.map +1 -1
  360. package/dist/components/kol-popover-wc.js +1 -1
  361. package/dist/components/kol-popover-wc.js.map +1 -1
  362. package/dist/components/kol-progress.js +1 -1
  363. package/dist/components/kol-progress.js.map +1 -1
  364. package/dist/components/kol-quote.js +1 -1
  365. package/dist/components/kol-quote.js.map +1 -1
  366. package/dist/components/kol-select.js +1 -1
  367. package/dist/components/kol-select.js.map +1 -1
  368. package/dist/components/kol-single-select.js +1 -1
  369. package/dist/components/kol-single-select.js.map +1 -1
  370. package/dist/components/kol-skip-nav.js +1 -1
  371. package/dist/components/kol-skip-nav.js.map +1 -1
  372. package/dist/components/kol-span-wc.js +1 -1
  373. package/dist/components/kol-span-wc.js.map +1 -1
  374. package/dist/components/kol-spin.js +1 -1
  375. package/dist/components/kol-spin.js.map +1 -1
  376. package/dist/components/kol-split-button.js +1 -1
  377. package/dist/components/kol-split-button.js.map +1 -1
  378. package/dist/components/kol-symbol.js +1 -1
  379. package/dist/components/kol-table-stateful.js +1 -1
  380. package/dist/components/kol-table-stateful.js.map +1 -1
  381. package/dist/components/kol-table-stateless-wc.js +1 -1
  382. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  383. package/dist/components/kol-table-stateless.js +1 -1
  384. package/dist/components/kol-table-stateless.js.map +1 -1
  385. package/dist/components/kol-tabs.js +1 -1
  386. package/dist/components/kol-tabs.js.map +1 -1
  387. package/dist/components/kol-textarea.js +1 -1
  388. package/dist/components/kol-textarea.js.map +1 -1
  389. package/dist/components/kol-toast-container.js +1 -1
  390. package/dist/components/kol-toast-container.js.map +1 -1
  391. package/dist/components/kol-toolbar.js +1 -1
  392. package/dist/components/kol-toolbar.js.map +1 -1
  393. package/dist/components/kol-tooltip-wc.js +1 -1
  394. package/dist/components/kol-tooltip-wc.js.map +1 -1
  395. package/dist/components/kol-tree-item-wc.js +1 -1
  396. package/dist/components/kol-tree-item.js +1 -1
  397. package/dist/components/kol-tree-item.js.map +1 -1
  398. package/dist/components/kol-tree-wc.js +1 -1
  399. package/dist/components/kol-tree-wc.js.map +1 -1
  400. package/dist/components/kol-tree.js +1 -1
  401. package/dist/components/kol-tree.js.map +1 -1
  402. package/dist/components/kol-version.js +1 -1
  403. package/dist/components/kol-version.js.map +1 -1
  404. package/dist/components/label.js +1 -1
  405. package/dist/components/open.js +1 -1
  406. package/dist/components/rows.js +1 -1
  407. package/dist/components/show.js +1 -1
  408. package/dist/components/spell-check.js +1 -1
  409. package/dist/components/suggestions.js +1 -1
  410. package/dist/components/table-selection.js +4 -0
  411. package/dist/{kolibri/events-3c3b4721.js.map → components/table-selection.js.map} +1 -1
  412. package/dist/components/tooltip-align.js +1 -1
  413. package/dist/components/tooltip-align.js.map +1 -1
  414. package/dist/components/unique-nav-labels.js +1 -1
  415. package/dist/components/unique-nav-labels.js.map +1 -1
  416. package/dist/components/validation.js +1 -1
  417. package/dist/components/validation2.js +1 -1
  418. package/dist/esm/Alert-d73245cd.js +4 -0
  419. package/dist/{kolibri/Alert-69d3fb7c.js.map → esm/Alert-d73245cd.js.map} +1 -1
  420. package/dist/esm/{Collapsible-a6f9d7da.js → Collapsible-9550dafb.js} +1 -1
  421. package/dist/esm/Collapsible-9550dafb.js.map +1 -0
  422. package/dist/esm/{FormFieldMsg-555f329f.js → FormFieldMsg-9b700df8.js} +1 -1
  423. package/dist/esm/FormFieldMsg-9b700df8.js.map +1 -0
  424. package/dist/esm/InternalUnderlinedBadgeText-f079fc87.js +4 -0
  425. package/dist/esm/{InternalUnderlinedBadgeText-868a81c0.js.map → InternalUnderlinedBadgeText-f079fc87.js.map} +1 -1
  426. package/dist/esm/access-and-short-key-25e651f4.js +4 -0
  427. package/dist/esm/{access-and-short-key-16c1f3d9.js.map → access-and-short-key-25e651f4.js.map} +1 -1
  428. package/dist/esm/align-d80dfc19.js +4 -0
  429. package/dist/esm/{align-eeb4ecdd.js.map → align-d80dfc19.js.map} +1 -1
  430. package/dist/esm/align-floating-elements-f5502865.js +4 -0
  431. package/dist/esm/align-floating-elements-f5502865.js.map +1 -0
  432. package/dist/esm/app-globals-840598eb.js +4 -0
  433. package/dist/esm/app-globals-840598eb.js.map +1 -0
  434. package/dist/esm/associated.controller-2ad4f930.js +4 -0
  435. package/dist/esm/associated.controller-2ad4f930.js.map +1 -0
  436. package/dist/esm/badge-text-4cf87dc1.js +4 -0
  437. package/dist/esm/{badge-text-91fe6f6c.js.map → badge-text-4cf87dc1.js.map} +1 -1
  438. package/dist/esm/button-variant-fa29de43.js +4 -0
  439. package/dist/esm/{button-variant-a4270d4a.js.map → button-variant-fa29de43.js.map} +1 -1
  440. package/dist/esm/color-9352cce1.js +4 -0
  441. package/dist/esm/color-9352cce1.js.map +1 -0
  442. package/dist/esm/controller-5c44e017.js +4 -0
  443. package/dist/esm/controller-5c44e017.js.map +1 -0
  444. package/dist/esm/controller-cbb66178.js +4 -0
  445. package/dist/esm/{controller-823a2e8d.js.map → controller-cbb66178.js.map} +1 -1
  446. package/dist/esm/controller-d5636bab.js +4 -0
  447. package/dist/esm/{controller-80316c73.js.map → controller-d5636bab.js.map} +1 -1
  448. package/dist/esm/controller-d9005336.js +4 -0
  449. package/dist/esm/controller-d9005336.js.map +1 -0
  450. package/dist/esm/controller-e284d179.js +4 -0
  451. package/dist/esm/{controller-30593aa8.js.map → controller-e284d179.js.map} +1 -1
  452. package/dist/esm/controller-icon-22e2a4c6.js +4 -0
  453. package/dist/esm/controller-icon-22e2a4c6.js.map +1 -0
  454. package/dist/esm/custom-class-349f0572.js +4 -0
  455. package/dist/esm/{custom-class-c7abcffc.js.map → custom-class-349f0572.js.map} +1 -1
  456. package/dist/esm/dev.utils-ad247965.js +4 -0
  457. package/dist/esm/dev.utils-ad247965.js.map +1 -0
  458. package/dist/esm/devtools-6c22a2de.js +4 -0
  459. package/dist/esm/devtools-6c22a2de.js.map +1 -0
  460. package/dist/esm/disabled-ad5b6199.js +4 -0
  461. package/dist/esm/{disabled-11f5f213.js.map → disabled-ad5b6199.js.map} +1 -1
  462. package/dist/esm/has-closer-229bd67f.js +4 -0
  463. package/dist/esm/{has-closer-b582e72a.js.map → has-closer-229bd67f.js.map} +1 -1
  464. package/dist/esm/has-counter-451a5ec0.js +4 -0
  465. package/dist/esm/{has-counter-0ab5f398.js.map → has-counter-451a5ec0.js.map} +1 -1
  466. package/dist/esm/hide-label-e3ae2cf6.js +4 -0
  467. package/dist/esm/{hide-label-90b37cc2.js.map → hide-label-e3ae2cf6.js.map} +1 -1
  468. package/dist/esm/href-1819d882.js +4 -0
  469. package/dist/esm/{href-8bd5e6c9.js.map → href-1819d882.js.map} +1 -1
  470. package/dist/esm/{i18n-31adef87.js → i18n-0835cc3b.js} +1 -1
  471. package/dist/esm/{i18n-31adef87.js.map → i18n-0835cc3b.js.map} +1 -1
  472. package/dist/esm/icons-e36b4959.js +4 -0
  473. package/dist/esm/icons-e36b4959.js.map +1 -0
  474. package/dist/esm/image-source-aecd6893.js +4 -0
  475. package/dist/esm/{image-source-6cc4aef4.js.map → image-source-aecd6893.js.map} +1 -1
  476. package/dist/esm/{index-5879a66b.js → index-c9c194c1.js} +1 -1
  477. package/dist/esm/{index-5879a66b.js.map → index-c9c194c1.js.map} +1 -1
  478. package/dist/esm/index-e32279bc.js +4 -0
  479. package/dist/esm/index-e32279bc.js.map +1 -0
  480. package/dist/esm/index.js +1 -1
  481. package/dist/esm/index.js.map +1 -1
  482. package/dist/esm/keyboard-77e19a81.js +4 -0
  483. package/dist/esm/keyboard-77e19a81.js.map +1 -0
  484. package/dist/esm/kol-abbr.entry.js +1 -1
  485. package/dist/esm/kol-abbr.entry.js.map +1 -1
  486. package/dist/esm/kol-accordion.entry.js +1 -1
  487. package/dist/esm/kol-accordion.entry.js.map +1 -1
  488. package/dist/esm/kol-alert-wc.entry.js +1 -1
  489. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  490. package/dist/esm/kol-alert.entry.js +1 -1
  491. package/dist/esm/kol-alert.entry.js.map +1 -1
  492. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  493. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  494. package/dist/esm/kol-avatar.entry.js +1 -1
  495. package/dist/esm/kol-avatar.entry.js.map +1 -1
  496. package/dist/esm/kol-badge.entry.js +1 -1
  497. package/dist/esm/kol-badge.entry.js.map +1 -1
  498. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  499. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  500. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  501. package/dist/esm/kol-button-group.entry.js +1 -1
  502. package/dist/esm/kol-button-group.entry.js.map +1 -1
  503. package/dist/esm/kol-button-link.entry.js +1 -1
  504. package/dist/esm/kol-button-link.entry.js.map +1 -1
  505. package/dist/esm/kol-button-wc.entry.js +1 -1
  506. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  507. package/dist/esm/kol-button.entry.js +1 -1
  508. package/dist/esm/kol-button.entry.js.map +1 -1
  509. package/dist/esm/kol-card.entry.js +1 -1
  510. package/dist/esm/kol-card.entry.js.map +1 -1
  511. package/dist/esm/kol-combobox.entry.js +1 -1
  512. package/dist/esm/kol-combobox.entry.js.map +1 -1
  513. package/dist/esm/kol-details.entry.js +1 -1
  514. package/dist/esm/kol-details.entry.js.map +1 -1
  515. package/dist/esm/kol-drawer.entry.js +1 -1
  516. package/dist/esm/kol-drawer.entry.js.map +1 -1
  517. package/dist/esm/kol-form.entry.js +1 -1
  518. package/dist/esm/kol-form.entry.js.map +1 -1
  519. package/dist/esm/kol-heading-wc.entry.js +1 -1
  520. package/dist/esm/kol-heading-wc.entry.js.map +1 -1
  521. package/dist/esm/kol-heading.entry.js +1 -1
  522. package/dist/esm/kol-heading.entry.js.map +1 -1
  523. package/dist/esm/kol-icon.entry.js +1 -1
  524. package/dist/esm/kol-icon.entry.js.map +1 -1
  525. package/dist/esm/kol-image.entry.js +1 -1
  526. package/dist/esm/kol-image.entry.js.map +1 -1
  527. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  528. package/dist/esm/kol-indented-text.entry.js +1 -1
  529. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  530. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  531. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  532. package/dist/esm/kol-input-color.entry.js +1 -1
  533. package/dist/esm/kol-input-color.entry.js.map +1 -1
  534. package/dist/esm/kol-input-date.entry.js +1 -1
  535. package/dist/esm/kol-input-date.entry.js.map +1 -1
  536. package/dist/esm/kol-input-email.entry.js +1 -1
  537. package/dist/esm/kol-input-email.entry.js.map +1 -1
  538. package/dist/esm/kol-input-file.entry.js +1 -1
  539. package/dist/esm/kol-input-file.entry.js.map +1 -1
  540. package/dist/esm/kol-input-number.entry.js +1 -1
  541. package/dist/esm/kol-input-number.entry.js.map +1 -1
  542. package/dist/esm/kol-input-password.entry.js +1 -1
  543. package/dist/esm/kol-input-password.entry.js.map +1 -1
  544. package/dist/esm/kol-input-radio.entry.js +1 -1
  545. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  546. package/dist/esm/kol-input-range.entry.js +1 -1
  547. package/dist/esm/kol-input-range.entry.js.map +1 -1
  548. package/dist/esm/kol-input-text.entry.js +1 -1
  549. package/dist/esm/kol-input-text.entry.js.map +1 -1
  550. package/dist/esm/kol-input.entry.js +1 -1
  551. package/dist/esm/kol-input.entry.js.map +1 -1
  552. package/dist/esm/kol-kolibri.entry.js +1 -1
  553. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  554. package/dist/esm/kol-link-button.entry.js +1 -1
  555. package/dist/esm/kol-link-button.entry.js.map +1 -1
  556. package/dist/esm/kol-link-group.entry.js +1 -1
  557. package/dist/esm/kol-link-group.entry.js.map +1 -1
  558. package/dist/esm/kol-link-wc.entry.js +1 -1
  559. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  560. package/dist/esm/kol-link.entry.js +1 -1
  561. package/dist/esm/kol-link.entry.js.map +1 -1
  562. package/dist/esm/kol-logo.entry.js +1 -1
  563. package/dist/esm/kol-logo.entry.js.map +1 -1
  564. package/dist/esm/kol-modal.entry.js +1 -1
  565. package/dist/esm/kol-modal.entry.js.map +1 -1
  566. package/dist/esm/kol-nav.entry.js +1 -1
  567. package/dist/esm/kol-nav.entry.js.map +1 -1
  568. package/dist/esm/kol-pagination.entry.js +1 -1
  569. package/dist/esm/kol-pagination.entry.js.map +1 -1
  570. package/dist/esm/kol-popover-button.entry.js +1 -1
  571. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  572. package/dist/esm/kol-popover-wc.entry.js +1 -1
  573. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  574. package/dist/esm/kol-progress.entry.js +1 -1
  575. package/dist/esm/kol-progress.entry.js.map +1 -1
  576. package/dist/esm/kol-quote.entry.js +1 -1
  577. package/dist/esm/kol-quote.entry.js.map +1 -1
  578. package/dist/esm/kol-select.entry.js +1 -1
  579. package/dist/esm/kol-select.entry.js.map +1 -1
  580. package/dist/esm/kol-single-select.entry.js +1 -1
  581. package/dist/esm/kol-single-select.entry.js.map +1 -1
  582. package/dist/esm/kol-skip-nav.entry.js +1 -1
  583. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  584. package/dist/esm/kol-span-wc.entry.js +1 -1
  585. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  586. package/dist/esm/kol-spin.entry.js +1 -1
  587. package/dist/esm/kol-spin.entry.js.map +1 -1
  588. package/dist/esm/kol-split-button.entry.js +1 -1
  589. package/dist/esm/kol-split-button.entry.js.map +1 -1
  590. package/dist/esm/kol-symbol.entry.js +1 -1
  591. package/dist/esm/kol-symbol.entry.js.map +1 -1
  592. package/dist/esm/kol-table-stateful.entry.js +1 -1
  593. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  594. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  595. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  596. package/dist/esm/kol-table-stateless.entry.js +1 -1
  597. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  598. package/dist/esm/kol-table.entry.js +1 -1
  599. package/dist/esm/kol-tabs.entry.js +1 -1
  600. package/dist/esm/kol-tabs.entry.js.map +1 -1
  601. package/dist/esm/kol-textarea.entry.js +1 -1
  602. package/dist/esm/kol-textarea.entry.js.map +1 -1
  603. package/dist/esm/kol-toast-container.entry.js +1 -1
  604. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  605. package/dist/esm/kol-toolbar.entry.js +1 -1
  606. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  607. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  608. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  609. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  610. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  611. package/dist/esm/kol-tree-item.entry.js +1 -1
  612. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  613. package/dist/esm/kol-tree-wc.entry.js +1 -1
  614. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  615. package/dist/esm/kol-tree.entry.js +1 -1
  616. package/dist/esm/kol-tree.entry.js.map +1 -1
  617. package/dist/esm/kol-version.entry.js +1 -1
  618. package/dist/esm/kol-version.entry.js.map +1 -1
  619. package/dist/esm/kolibri.js +1 -1
  620. package/dist/esm/kolibri.js.map +1 -1
  621. package/dist/esm/label-c2f427ab.js +4 -0
  622. package/dist/esm/{label-90c13388.js.map → label-c2f427ab.js.map} +1 -1
  623. package/dist/esm/loader.js +1 -1
  624. package/dist/esm/loader.js.map +1 -1
  625. package/dist/esm/open-8d886d18.js +4 -0
  626. package/dist/esm/{open-4d9f16d0.js.map → open-8d886d18.js.map} +1 -1
  627. package/dist/esm/rows-11065067.js +4 -0
  628. package/dist/esm/{rows-f033b1b3.js.map → rows-11065067.js.map} +1 -1
  629. package/dist/esm/show-37e6b447.js +4 -0
  630. package/dist/esm/{show-c115b1eb.js.map → show-37e6b447.js.map} +1 -1
  631. package/dist/esm/spell-check-99498ed1.js +4 -0
  632. package/dist/esm/{spell-check-27a3f91d.js.map → spell-check-99498ed1.js.map} +1 -1
  633. package/dist/esm/suggestions-3d93a5ce.js +4 -0
  634. package/dist/esm/{suggestions-04da2b2e.js.map → suggestions-3d93a5ce.js.map} +1 -1
  635. package/dist/esm/table-selection-94fe9747.js +4 -0
  636. package/dist/esm/table-selection-94fe9747.js.map +1 -0
  637. package/dist/esm/test-component.entry.js +1 -1
  638. package/dist/esm/tooltip-align-86e888fb.js +4 -0
  639. package/dist/esm/tooltip-align-86e888fb.js.map +1 -0
  640. package/dist/esm/unique-nav-labels-2ea6b853.js +4 -0
  641. package/dist/esm/unique-nav-labels-2ea6b853.js.map +1 -0
  642. package/dist/esm/validation-8a691044.js +4 -0
  643. package/dist/esm/{validation-81a4e752.js.map → validation-8a691044.js.map} +1 -1
  644. package/dist/esm/validation-c5900dbf.js +4 -0
  645. package/dist/esm/{validation-16bfc143.js.map → validation-c5900dbf.js.map} +1 -1
  646. package/dist/kolibri/Alert-d73245cd.js +4 -0
  647. package/dist/kolibri/Alert-d73245cd.js.map +1 -0
  648. package/dist/kolibri/{Collapsible-a6f9d7da.js → Collapsible-9550dafb.js} +1 -1
  649. package/dist/kolibri/Collapsible-9550dafb.js.map +1 -0
  650. package/dist/kolibri/FormFieldMsg-9b700df8.js +4 -0
  651. package/dist/kolibri/FormFieldMsg-9b700df8.js.map +1 -0
  652. package/dist/kolibri/{InternalUnderlinedBadgeText-868a81c0.js → InternalUnderlinedBadgeText-f079fc87.js} +1 -1
  653. package/dist/kolibri/access-and-short-key-25e651f4.js +4 -0
  654. package/dist/kolibri/{access-and-short-key-16c1f3d9.js.map → access-and-short-key-25e651f4.js.map} +1 -1
  655. package/dist/kolibri/align-d80dfc19.js +4 -0
  656. package/dist/kolibri/{align-eeb4ecdd.js.map → align-d80dfc19.js.map} +1 -1
  657. package/dist/kolibri/align-floating-elements-f5502865.js +4 -0
  658. package/dist/kolibri/align-floating-elements-f5502865.js.map +1 -0
  659. package/dist/kolibri/app-globals-840598eb.js +4 -0
  660. package/dist/kolibri/{app-globals-2d0926bd.js.map → app-globals-840598eb.js.map} +1 -1
  661. package/dist/kolibri/associated.controller-2ad4f930.js +4 -0
  662. package/dist/kolibri/{associated.controller-3b160a7e.js.map → associated.controller-2ad4f930.js.map} +1 -1
  663. package/dist/kolibri/badge-text-4cf87dc1.js +4 -0
  664. package/dist/kolibri/{badge-text-91fe6f6c.js.map → badge-text-4cf87dc1.js.map} +1 -1
  665. package/dist/kolibri/button-variant-fa29de43.js +4 -0
  666. package/dist/kolibri/{button-variant-a4270d4a.js.map → button-variant-fa29de43.js.map} +1 -1
  667. package/dist/kolibri/color-9352cce1.js +4 -0
  668. package/dist/kolibri/color-9352cce1.js.map +1 -0
  669. package/dist/kolibri/controller-5c44e017.js +4 -0
  670. package/dist/kolibri/{controller-63e3499d.js.map → controller-5c44e017.js.map} +1 -1
  671. package/dist/kolibri/controller-cbb66178.js +4 -0
  672. package/dist/kolibri/{controller-823a2e8d.js.map → controller-cbb66178.js.map} +1 -1
  673. package/dist/kolibri/controller-d5636bab.js +4 -0
  674. package/dist/kolibri/{controller-80316c73.js.map → controller-d5636bab.js.map} +1 -1
  675. package/dist/kolibri/controller-d9005336.js +4 -0
  676. package/dist/kolibri/{controller-8ee06262.js.map → controller-d9005336.js.map} +1 -1
  677. package/dist/kolibri/controller-e284d179.js +4 -0
  678. package/dist/kolibri/{controller-30593aa8.js.map → controller-e284d179.js.map} +1 -1
  679. package/dist/kolibri/controller-icon-22e2a4c6.js +4 -0
  680. package/dist/kolibri/{controller-icon-0a8dd3ac.js.map → controller-icon-22e2a4c6.js.map} +1 -1
  681. package/dist/kolibri/custom-class-349f0572.js +4 -0
  682. package/dist/kolibri/{custom-class-c7abcffc.js.map → custom-class-349f0572.js.map} +1 -1
  683. package/dist/kolibri/dev.utils-ad247965.js +4 -0
  684. package/dist/kolibri/{dev.utils-c278c4ae.js.map → dev.utils-ad247965.js.map} +1 -1
  685. package/dist/kolibri/devtools-6c22a2de.js +4 -0
  686. package/dist/kolibri/{devtools-35fb12ed.js.map → devtools-6c22a2de.js.map} +1 -1
  687. package/dist/kolibri/disabled-ad5b6199.js +4 -0
  688. package/dist/kolibri/{disabled-11f5f213.js.map → disabled-ad5b6199.js.map} +1 -1
  689. package/dist/kolibri/has-closer-229bd67f.js +4 -0
  690. package/dist/kolibri/{has-closer-b582e72a.js.map → has-closer-229bd67f.js.map} +1 -1
  691. package/dist/kolibri/has-counter-451a5ec0.js +4 -0
  692. package/dist/kolibri/{has-counter-0ab5f398.js.map → has-counter-451a5ec0.js.map} +1 -1
  693. package/dist/kolibri/hide-label-e3ae2cf6.js +4 -0
  694. package/dist/kolibri/{hide-label-90b37cc2.js.map → hide-label-e3ae2cf6.js.map} +1 -1
  695. package/dist/kolibri/href-1819d882.js +4 -0
  696. package/dist/kolibri/{href-8bd5e6c9.js.map → href-1819d882.js.map} +1 -1
  697. package/dist/kolibri/i18n-0835cc3b.js +4 -0
  698. package/dist/kolibri/icons-e36b4959.js +4 -0
  699. package/dist/kolibri/{icons-b21fdac0.js.map → icons-e36b4959.js.map} +1 -1
  700. package/dist/kolibri/image-source-aecd6893.js +4 -0
  701. package/dist/kolibri/{image-source-6cc4aef4.js.map → image-source-aecd6893.js.map} +1 -1
  702. package/dist/kolibri/{index-5879a66b.js → index-c9c194c1.js} +1 -1
  703. package/dist/kolibri/{index-5879a66b.js.map → index-c9c194c1.js.map} +1 -1
  704. package/dist/kolibri/index-e32279bc.js +4 -0
  705. package/dist/kolibri/index-e32279bc.js.map +1 -0
  706. package/dist/kolibri/index.esm.js +1 -1
  707. package/dist/kolibri/index.esm.js.map +1 -1
  708. package/dist/kolibri/keyboard-77e19a81.js +4 -0
  709. package/dist/kolibri/keyboard-77e19a81.js.map +1 -0
  710. package/dist/kolibri/kol-abbr.entry.js +1 -1
  711. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  712. package/dist/kolibri/kol-accordion.entry.js +1 -1
  713. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  714. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  715. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  716. package/dist/kolibri/kol-alert.entry.js +1 -1
  717. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  718. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  719. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  720. package/dist/kolibri/kol-avatar.entry.js +1 -1
  721. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  722. package/dist/kolibri/kol-badge.entry.js +1 -1
  723. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  724. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  725. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  726. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  727. package/dist/kolibri/kol-button-group.entry.js +1 -1
  728. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  729. package/dist/kolibri/kol-button-link.entry.js +1 -1
  730. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  731. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  732. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  733. package/dist/kolibri/kol-button.entry.js +1 -1
  734. package/dist/kolibri/kol-button.entry.js.map +1 -1
  735. package/dist/kolibri/kol-card.entry.js +1 -1
  736. package/dist/kolibri/kol-card.entry.js.map +1 -1
  737. package/dist/kolibri/kol-combobox.entry.js +1 -1
  738. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  739. package/dist/kolibri/kol-details.entry.js +1 -1
  740. package/dist/kolibri/kol-details.entry.js.map +1 -1
  741. package/dist/kolibri/kol-drawer.entry.js +1 -1
  742. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  743. package/dist/kolibri/kol-form.entry.js +1 -1
  744. package/dist/kolibri/kol-form.entry.js.map +1 -1
  745. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  746. package/dist/kolibri/kol-heading-wc.entry.js.map +1 -1
  747. package/dist/kolibri/kol-heading.entry.js +1 -1
  748. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  749. package/dist/kolibri/kol-icon.entry.js +1 -1
  750. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  751. package/dist/kolibri/kol-image.entry.js +1 -1
  752. package/dist/kolibri/kol-image.entry.js.map +1 -1
  753. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  754. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  755. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  756. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  757. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  758. package/dist/kolibri/kol-input-color.entry.js +1 -1
  759. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  760. package/dist/kolibri/kol-input-date.entry.js +1 -1
  761. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  762. package/dist/kolibri/kol-input-email.entry.js +1 -1
  763. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  764. package/dist/kolibri/kol-input-file.entry.js +1 -1
  765. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  766. package/dist/kolibri/kol-input-number.entry.js +1 -1
  767. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  768. package/dist/kolibri/kol-input-password.entry.js +1 -1
  769. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  770. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  771. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  772. package/dist/kolibri/kol-input-range.entry.js +1 -1
  773. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  774. package/dist/kolibri/kol-input-text.entry.js +1 -1
  775. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  776. package/dist/kolibri/kol-input.entry.js +1 -1
  777. package/dist/kolibri/kol-input.entry.js.map +1 -1
  778. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  779. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  780. package/dist/kolibri/kol-link-button.entry.js +1 -1
  781. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  782. package/dist/kolibri/kol-link-group.entry.js +1 -1
  783. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  784. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  785. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  786. package/dist/kolibri/kol-link.entry.js +1 -1
  787. package/dist/kolibri/kol-link.entry.js.map +1 -1
  788. package/dist/kolibri/kol-logo.entry.js +1 -1
  789. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  790. package/dist/kolibri/kol-modal.entry.js +1 -1
  791. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  792. package/dist/kolibri/kol-nav.entry.js +1 -1
  793. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  794. package/dist/kolibri/kol-pagination.entry.js +1 -1
  795. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  796. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  797. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  798. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  799. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  800. package/dist/kolibri/kol-progress.entry.js +1 -1
  801. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  802. package/dist/kolibri/kol-quote.entry.js +1 -1
  803. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  804. package/dist/kolibri/kol-select.entry.js +1 -1
  805. package/dist/kolibri/kol-select.entry.js.map +1 -1
  806. package/dist/kolibri/kol-single-select.entry.js +1 -1
  807. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  808. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  809. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  810. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  811. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  812. package/dist/kolibri/kol-spin.entry.js +1 -1
  813. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  814. package/dist/kolibri/kol-split-button.entry.js +1 -1
  815. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  816. package/dist/kolibri/kol-symbol.entry.js +1 -1
  817. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  818. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  819. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  820. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  821. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  822. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  823. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  824. package/dist/kolibri/kol-table.entry.js +1 -1
  825. package/dist/kolibri/kol-tabs.entry.js +1 -1
  826. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  827. package/dist/kolibri/kol-textarea.entry.js +1 -1
  828. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  829. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  830. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  831. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  832. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  833. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  834. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  835. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  836. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  837. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  838. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  839. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  840. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  841. package/dist/kolibri/kol-tree.entry.js +1 -1
  842. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  843. package/dist/kolibri/kol-version.entry.js +1 -1
  844. package/dist/kolibri/kol-version.entry.js.map +1 -1
  845. package/dist/kolibri/kolibri.esm.js +1 -1
  846. package/dist/kolibri/kolibri.esm.js.map +1 -1
  847. package/dist/kolibri/label-c2f427ab.js +4 -0
  848. package/dist/kolibri/{label-90c13388.js.map → label-c2f427ab.js.map} +1 -1
  849. package/dist/kolibri/open-8d886d18.js +4 -0
  850. package/dist/kolibri/{open-4d9f16d0.js.map → open-8d886d18.js.map} +1 -1
  851. package/dist/kolibri/rows-11065067.js +4 -0
  852. package/dist/kolibri/{rows-f033b1b3.js.map → rows-11065067.js.map} +1 -1
  853. package/dist/kolibri/show-37e6b447.js +4 -0
  854. package/dist/kolibri/{show-c115b1eb.js.map → show-37e6b447.js.map} +1 -1
  855. package/dist/kolibri/spell-check-99498ed1.js +4 -0
  856. package/dist/kolibri/{spell-check-27a3f91d.js.map → spell-check-99498ed1.js.map} +1 -1
  857. package/dist/kolibri/suggestions-3d93a5ce.js +4 -0
  858. package/dist/kolibri/{suggestions-04da2b2e.js.map → suggestions-3d93a5ce.js.map} +1 -1
  859. package/dist/kolibri/table-selection-94fe9747.js +4 -0
  860. package/dist/kolibri/table-selection-94fe9747.js.map +1 -0
  861. package/dist/kolibri/test-component.entry.js +1 -1
  862. package/dist/kolibri/tooltip-align-86e888fb.js +4 -0
  863. package/dist/kolibri/{tooltip-align-d8ac9d69.js.map → tooltip-align-86e888fb.js.map} +1 -1
  864. package/dist/kolibri/unique-nav-labels-2ea6b853.js +4 -0
  865. package/dist/kolibri/unique-nav-labels-2ea6b853.js.map +1 -0
  866. package/dist/kolibri/validation-8a691044.js +4 -0
  867. package/dist/kolibri/{validation-81a4e752.js.map → validation-8a691044.js.map} +1 -1
  868. package/dist/kolibri/validation-c5900dbf.js +4 -0
  869. package/dist/kolibri/{validation-16bfc143.js.map → validation-c5900dbf.js.map} +1 -1
  870. package/dist/types/components/button/component.d.ts +2 -0
  871. package/dist/types/components/input-radio/shadow.d.ts +1 -5
  872. package/dist/types/components/popover-button/shadow.d.ts +3 -1
  873. package/dist/types/components.d.ts +8 -24
  874. package/dist/types/schema/components/input-radio.d.ts +4 -4
  875. package/dist/types/schema/props/aria-has-popup.d.ts +3 -0
  876. package/doc/combobox.md +0 -4
  877. package/doc/heading.md +6 -6
  878. package/doc/input-radio.md +0 -2
  879. package/doc/popover-button.md +0 -1
  880. package/doc/tree.md +17 -17
  881. package/package.json +5 -6
  882. package/vscode-custom-data.json +2 -14
  883. package/dist/cjs/Alert-96b369f4.js +0 -4
  884. package/dist/cjs/Alert-96b369f4.js.map +0 -1
  885. package/dist/cjs/Collapsible-8b3c4050.js.map +0 -1
  886. package/dist/cjs/FormFieldMsg-f54e236a.js +0 -4
  887. package/dist/cjs/FormFieldMsg-f54e236a.js.map +0 -1
  888. package/dist/cjs/access-and-short-key-6155af7d.js +0 -4
  889. package/dist/cjs/access-and-short-key-6155af7d.js.map +0 -1
  890. package/dist/cjs/align-a9f24187.js +0 -4
  891. package/dist/cjs/align-floating-elements-74691aff.js +0 -4
  892. package/dist/cjs/align-floating-elements-74691aff.js.map +0 -1
  893. package/dist/cjs/app-globals-52debe8b.js +0 -4
  894. package/dist/cjs/app-globals-52debe8b.js.map +0 -1
  895. package/dist/cjs/associated.controller-2005f7f0.js +0 -4
  896. package/dist/cjs/associated.controller-2005f7f0.js.map +0 -1
  897. package/dist/cjs/badge-text-9d12359c.js +0 -4
  898. package/dist/cjs/button-variant-10ad2503.js +0 -4
  899. package/dist/cjs/color-327a493c.js +0 -4
  900. package/dist/cjs/color-327a493c.js.map +0 -1
  901. package/dist/cjs/common-1ab929ac.js +0 -4
  902. package/dist/cjs/common-1ab929ac.js.map +0 -1
  903. package/dist/cjs/controller-20541e1e.js +0 -4
  904. package/dist/cjs/controller-3c347f5b.js +0 -4
  905. package/dist/cjs/controller-3c347f5b.js.map +0 -1
  906. package/dist/cjs/controller-8d407dee.js +0 -4
  907. package/dist/cjs/controller-8d407dee.js.map +0 -1
  908. package/dist/cjs/controller-b8eea6f7.js +0 -4
  909. package/dist/cjs/controller-b8eea6f7.js.map +0 -1
  910. package/dist/cjs/controller-d7e8fba5.js +0 -4
  911. package/dist/cjs/controller-icon-a88486d3.js +0 -4
  912. package/dist/cjs/controller-icon-a88486d3.js.map +0 -1
  913. package/dist/cjs/custom-class-1bd0519a.js +0 -4
  914. package/dist/cjs/dev.utils-17f58b75.js +0 -4
  915. package/dist/cjs/dev.utils-17f58b75.js.map +0 -1
  916. package/dist/cjs/dev.utils-58fde089.js +0 -4
  917. package/dist/cjs/dev.utils-58fde089.js.map +0 -1
  918. package/dist/cjs/devtools-55284fd6.js +0 -4
  919. package/dist/cjs/devtools-55284fd6.js.map +0 -1
  920. package/dist/cjs/disabled-0ee19649.js +0 -4
  921. package/dist/cjs/events-2a23336e.js +0 -4
  922. package/dist/cjs/events-2a23336e.js.map +0 -1
  923. package/dist/cjs/has-closer-51ccf77f.js +0 -4
  924. package/dist/cjs/has-counter-8679115c.js +0 -4
  925. package/dist/cjs/hide-label-a9a94f19.js +0 -4
  926. package/dist/cjs/href-c14d2c3e.js +0 -4
  927. package/dist/cjs/i18n-5f0ed6ed.js +0 -4
  928. package/dist/cjs/icons-cfdc392f.js +0 -4
  929. package/dist/cjs/icons-cfdc392f.js.map +0 -1
  930. package/dist/cjs/image-source-3b5f1388.js +0 -4
  931. package/dist/cjs/index-c77a4142.js +0 -4
  932. package/dist/cjs/index-c77a4142.js.map +0 -1
  933. package/dist/cjs/label-3ce275fe.js +0 -4
  934. package/dist/cjs/label-3ce275fe.js.map +0 -1
  935. package/dist/cjs/open-e08280be.js +0 -4
  936. package/dist/cjs/prop.validators-3c86f8eb.js +0 -4
  937. package/dist/cjs/prop.validators-3c86f8eb.js.map +0 -1
  938. package/dist/cjs/reuse-8cfefa9b.js +0 -4
  939. package/dist/cjs/reuse-8cfefa9b.js.map +0 -1
  940. package/dist/cjs/rows-24ccf646.js +0 -4
  941. package/dist/cjs/show-0625d136.js +0 -4
  942. package/dist/cjs/spell-check-d54fcffc.js +0 -4
  943. package/dist/cjs/suggestions-eccef9c3.js +0 -4
  944. package/dist/cjs/suggestions-eccef9c3.js.map +0 -1
  945. package/dist/cjs/tooltip-align-5aee86e8.js +0 -4
  946. package/dist/cjs/tooltip-align-5aee86e8.js.map +0 -1
  947. package/dist/cjs/unique-nav-labels-b12ecac7.js +0 -4
  948. package/dist/cjs/unique-nav-labels-b12ecac7.js.map +0 -1
  949. package/dist/cjs/validation-2820e912.js +0 -4
  950. package/dist/cjs/validation-bcb18e67.js +0 -4
  951. package/dist/components/common.js +0 -4
  952. package/dist/components/common.js.map +0 -1
  953. package/dist/components/dev.utils2.js +0 -4
  954. package/dist/components/dev.utils2.js.map +0 -1
  955. package/dist/components/events2.js +0 -4
  956. package/dist/components/events2.js.map +0 -1
  957. package/dist/components/prop.validators.js +0 -4
  958. package/dist/components/prop.validators.js.map +0 -1
  959. package/dist/components/reuse.js +0 -4
  960. package/dist/components/reuse.js.map +0 -1
  961. package/dist/esm/Alert-69d3fb7c.js +0 -4
  962. package/dist/esm/Alert-69d3fb7c.js.map +0 -1
  963. package/dist/esm/Collapsible-a6f9d7da.js.map +0 -1
  964. package/dist/esm/FormFieldMsg-555f329f.js.map +0 -1
  965. package/dist/esm/InternalUnderlinedBadgeText-868a81c0.js +0 -4
  966. package/dist/esm/access-and-short-key-16c1f3d9.js +0 -4
  967. package/dist/esm/align-eeb4ecdd.js +0 -4
  968. package/dist/esm/align-floating-elements-ae4deaae.js +0 -4
  969. package/dist/esm/align-floating-elements-ae4deaae.js.map +0 -1
  970. package/dist/esm/app-globals-2d0926bd.js +0 -4
  971. package/dist/esm/app-globals-2d0926bd.js.map +0 -1
  972. package/dist/esm/associated.controller-3b160a7e.js +0 -4
  973. package/dist/esm/associated.controller-3b160a7e.js.map +0 -1
  974. package/dist/esm/badge-text-91fe6f6c.js +0 -4
  975. package/dist/esm/button-variant-a4270d4a.js +0 -4
  976. package/dist/esm/color-c32d99db.js +0 -4
  977. package/dist/esm/color-c32d99db.js.map +0 -1
  978. package/dist/esm/common-0f1f2276.js +0 -4
  979. package/dist/esm/common-0f1f2276.js.map +0 -1
  980. package/dist/esm/controller-30593aa8.js +0 -4
  981. package/dist/esm/controller-63e3499d.js +0 -4
  982. package/dist/esm/controller-63e3499d.js.map +0 -1
  983. package/dist/esm/controller-80316c73.js +0 -4
  984. package/dist/esm/controller-823a2e8d.js +0 -4
  985. package/dist/esm/controller-8ee06262.js +0 -4
  986. package/dist/esm/controller-8ee06262.js.map +0 -1
  987. package/dist/esm/controller-icon-0a8dd3ac.js +0 -4
  988. package/dist/esm/controller-icon-0a8dd3ac.js.map +0 -1
  989. package/dist/esm/custom-class-c7abcffc.js +0 -4
  990. package/dist/esm/dev.utils-c278c4ae.js +0 -4
  991. package/dist/esm/dev.utils-c278c4ae.js.map +0 -1
  992. package/dist/esm/dev.utils-fab45cbc.js +0 -4
  993. package/dist/esm/dev.utils-fab45cbc.js.map +0 -1
  994. package/dist/esm/devtools-35fb12ed.js +0 -4
  995. package/dist/esm/devtools-35fb12ed.js.map +0 -1
  996. package/dist/esm/disabled-11f5f213.js +0 -4
  997. package/dist/esm/events-3c3b4721.js +0 -4
  998. package/dist/esm/events-3c3b4721.js.map +0 -1
  999. package/dist/esm/has-closer-b582e72a.js +0 -4
  1000. package/dist/esm/has-counter-0ab5f398.js +0 -4
  1001. package/dist/esm/hide-label-90b37cc2.js +0 -4
  1002. package/dist/esm/href-8bd5e6c9.js +0 -4
  1003. package/dist/esm/icons-b21fdac0.js +0 -4
  1004. package/dist/esm/icons-b21fdac0.js.map +0 -1
  1005. package/dist/esm/image-source-6cc4aef4.js +0 -4
  1006. package/dist/esm/index-6d801dad.js +0 -4
  1007. package/dist/esm/index-6d801dad.js.map +0 -1
  1008. package/dist/esm/label-90c13388.js +0 -4
  1009. package/dist/esm/open-4d9f16d0.js +0 -4
  1010. package/dist/esm/prop.validators-17aec743.js +0 -4
  1011. package/dist/esm/prop.validators-17aec743.js.map +0 -1
  1012. package/dist/esm/reuse-32931294.js +0 -4
  1013. package/dist/esm/reuse-32931294.js.map +0 -1
  1014. package/dist/esm/rows-f033b1b3.js +0 -4
  1015. package/dist/esm/show-c115b1eb.js +0 -4
  1016. package/dist/esm/spell-check-27a3f91d.js +0 -4
  1017. package/dist/esm/suggestions-04da2b2e.js +0 -4
  1018. package/dist/esm/tooltip-align-d8ac9d69.js +0 -4
  1019. package/dist/esm/tooltip-align-d8ac9d69.js.map +0 -1
  1020. package/dist/esm/unique-nav-labels-768d04e9.js +0 -4
  1021. package/dist/esm/unique-nav-labels-768d04e9.js.map +0 -1
  1022. package/dist/esm/validation-16bfc143.js +0 -4
  1023. package/dist/esm/validation-81a4e752.js +0 -4
  1024. package/dist/kolibri/Alert-69d3fb7c.js +0 -4
  1025. package/dist/kolibri/Collapsible-a6f9d7da.js.map +0 -1
  1026. package/dist/kolibri/FormFieldMsg-555f329f.js +0 -4
  1027. package/dist/kolibri/FormFieldMsg-555f329f.js.map +0 -1
  1028. package/dist/kolibri/access-and-short-key-16c1f3d9.js +0 -4
  1029. package/dist/kolibri/align-eeb4ecdd.js +0 -4
  1030. package/dist/kolibri/align-floating-elements-ae4deaae.js +0 -4
  1031. package/dist/kolibri/align-floating-elements-ae4deaae.js.map +0 -1
  1032. package/dist/kolibri/app-globals-2d0926bd.js +0 -4
  1033. package/dist/kolibri/associated.controller-3b160a7e.js +0 -4
  1034. package/dist/kolibri/badge-text-91fe6f6c.js +0 -4
  1035. package/dist/kolibri/button-variant-a4270d4a.js +0 -4
  1036. package/dist/kolibri/color-c32d99db.js +0 -4
  1037. package/dist/kolibri/color-c32d99db.js.map +0 -1
  1038. package/dist/kolibri/common-0f1f2276.js +0 -4
  1039. package/dist/kolibri/common-0f1f2276.js.map +0 -1
  1040. package/dist/kolibri/controller-30593aa8.js +0 -4
  1041. package/dist/kolibri/controller-63e3499d.js +0 -4
  1042. package/dist/kolibri/controller-80316c73.js +0 -4
  1043. package/dist/kolibri/controller-823a2e8d.js +0 -4
  1044. package/dist/kolibri/controller-8ee06262.js +0 -4
  1045. package/dist/kolibri/controller-icon-0a8dd3ac.js +0 -4
  1046. package/dist/kolibri/custom-class-c7abcffc.js +0 -4
  1047. package/dist/kolibri/dev.utils-c278c4ae.js +0 -4
  1048. package/dist/kolibri/dev.utils-fab45cbc.js +0 -4
  1049. package/dist/kolibri/dev.utils-fab45cbc.js.map +0 -1
  1050. package/dist/kolibri/devtools-35fb12ed.js +0 -4
  1051. package/dist/kolibri/disabled-11f5f213.js +0 -4
  1052. package/dist/kolibri/events-3c3b4721.js +0 -4
  1053. package/dist/kolibri/has-closer-b582e72a.js +0 -4
  1054. package/dist/kolibri/has-counter-0ab5f398.js +0 -4
  1055. package/dist/kolibri/hide-label-90b37cc2.js +0 -4
  1056. package/dist/kolibri/href-8bd5e6c9.js +0 -4
  1057. package/dist/kolibri/i18n-31adef87.js +0 -4
  1058. package/dist/kolibri/icons-b21fdac0.js +0 -4
  1059. package/dist/kolibri/image-source-6cc4aef4.js +0 -4
  1060. package/dist/kolibri/index-6d801dad.js +0 -4
  1061. package/dist/kolibri/index-6d801dad.js.map +0 -1
  1062. package/dist/kolibri/label-90c13388.js +0 -4
  1063. package/dist/kolibri/open-4d9f16d0.js +0 -4
  1064. package/dist/kolibri/prop.validators-17aec743.js +0 -4
  1065. package/dist/kolibri/prop.validators-17aec743.js.map +0 -1
  1066. package/dist/kolibri/reuse-32931294.js +0 -4
  1067. package/dist/kolibri/reuse-32931294.js.map +0 -1
  1068. package/dist/kolibri/rows-f033b1b3.js +0 -4
  1069. package/dist/kolibri/show-c115b1eb.js +0 -4
  1070. package/dist/kolibri/spell-check-27a3f91d.js +0 -4
  1071. package/dist/kolibri/suggestions-04da2b2e.js +0 -4
  1072. package/dist/kolibri/tooltip-align-d8ac9d69.js +0 -4
  1073. package/dist/kolibri/unique-nav-labels-768d04e9.js +0 -4
  1074. package/dist/kolibri/unique-nav-labels-768d04e9.js.map +0 -1
  1075. package/dist/kolibri/validation-16bfc143.js +0 -4
  1076. package/dist/kolibri/validation-81a4e752.js +0 -4
  1077. package/dist/types/components/kolibri/color-rgba.d.ts +0 -1
  1078. package/dist/types/schema/utils/contrast/color-rgba.d.ts +0 -1
  1079. package/dist/types/schema/utils/contrast/index.d.ts +0 -1
  1080. package/dist/types/schema/utils/contrast/rgba-convert.d.ts +0 -1
  1081. /package/dist/kolibri/{InternalUnderlinedBadgeText-868a81c0.js.map → InternalUnderlinedBadgeText-f079fc87.js.map} +0 -0
  1082. /package/dist/kolibri/{i18n-31adef87.js.map → i18n-0835cc3b.js.map} +0 -0
  1083. /package/dist/types/schema/utils/{contrast/contrast.d.ts → contrast.d.ts} +0 -0
@@ -1 +1 @@
1
- {"file":"controller2.js","mappings":";;;;;;;;;;;;AAeO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B;IACtG,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;;ACDM,MAAM,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAyB,EAAE,OAA6B;IAC/H,YAAY,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACvD,CAAC;;ACCM,MAAM,WAAW,GAAG,CAAC,SAAoC,EAAE,KAAgC;IACjG,mBAAmB,CAAC,KAAK,EAAE;QAC1B,IAAI;YACH,KAAK,GAAG,SAAS,CAAc,KAAK,CAAC,CAAC;SAEtC;QAAC,OAAO,CAAC,EAAE;SAEX;QACD,cAAc,CACb,SAAS,EACT,MAAM,EACN,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAO,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAA,KAAK,QAAQ,EACrE,IAAI,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC,EACxB,KAAoB,EACpB;YACC,YAAY,EAAE;gBACb,YAAY,EAAE,EAAE;gBAChB,KAAK,EAAE,OAAO;aACd;SACD,CACD,CAAC;KACF,CAAC,CAAC;AACJ,CAAC;;AC1BM,MAAM,eAAe,GAAG,CAAC,SAAoC,EAAE,KAAuB;IAC5F,YAAY,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;;MCRY,eAAe,GAAG,CAAC,KAK/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AC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAClC;KACD;IAES,OAAO,CAAC,KAAY;;QAE7B,eAAe,CAAC,KAAK,CAAC,CAAC;QACvB,yBAAyB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAG9C,IAAI,QAAO,MAAA,IAAI,CAAC,SAAS,CAAC,GAAG,0CAAE,OAAO,CAAA,KAAK,UAAU,EAAE;YACtD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAClC;KACD;IAEM,sBAAsB,CAAC,QAA6B;QAC1D,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACzC;;;;;","names":[],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-error.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideErrorPropType = boolean;\n\n/**\n * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideError = {\n\thideError: HideErrorPropType;\n};\n\n/* validator */\nexport const validateHideError = (component: Generic.Element.Component, value?: HideErrorPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideError', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst isMessageValidError = Boolean(state._msg?._type === 'error' && state._msg._description && state._msg._description?.length > 0);\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this.component, '_alert', value);\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAlert(this.component._alert);\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideErrorPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n\tvalidateShortKey,\n} from '../../../schema';\n\nimport { stopPropagation, tryToDispatchKoliBriEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\tthis.validateMsg({\n\t\t\t\t_description: value,\n\t\t\t\t_type: 'error',\n\t\t\t});\n\t\t} else {\n\t\t\tthis.validateMsg(undefined);\n\t\t}\n\t}\n\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tvalidateHideError(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideError) {\n\t\t\t\t\t\ta11yHint('Property hide-error for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<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 validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\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\t// _msg should only override _error if it is also defined.\n\t\tif (this.component._msg) {\n\t\t\tthis.validateMsg(this.component._msg);\n\t\t}\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.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('blur', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('click', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\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"],"version":3}
1
+ {"file":"controller2.js","mappings":";;;;;;;;;;;AAeO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B;IACtG,Y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C,KAAK,CAAC,CAAC;SAClC;KACD;IAEM,sBAAsB,CAAC,QAA6B;QAC1D,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACzC;;;;;","names":[],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-error.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input/controller.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideErrorPropType = boolean;\n\n/**\n * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideError = {\n\thideError: HideErrorPropType;\n};\n\n/* validator */\nexport const validateHideError = (component: Generic.Element.Component, value?: HideErrorPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideError', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst isMessageValidError = Boolean(state._msg?._type === 'error' && state._msg._description && state._msg._description?.length > 0);\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched, watchBoolean } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this.component, '_alert', value);\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAlert(this.component._alert);\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideErrorPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideError,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n\tvalidateShortKey,\n} from '../../../schema';\n\nimport { stopPropagation, tryToDispatchKoliBriEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\t/**\n\t * @deprecated\n\t */\n\tpublic validateError(value?: string): void {\n\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\tthis.validateMsg({\n\t\t\t\t_description: value,\n\t\t\t\t_type: 'error',\n\t\t\t});\n\t\t} else {\n\t\t\tthis.validateMsg(undefined);\n\t\t}\n\t}\n\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tvalidateHideError(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideError) {\n\t\t\t\t\t\ta11yHint('Property hide-error for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<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 validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\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\t// _msg should only override _error if it is also defined.\n\t\tif (this.component._msg) {\n\t\t\tthis.validateMsg(this.component._msg);\n\t\t}\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.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('blur', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tvalue = value ?? (event.target as HTMLInputElement).value;\n\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tstopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('click', this.host);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\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"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as InputController}from"./controller2.js";import{a as a11yHint,i as watchJsonArrayString,b as watchBoolean,w as watchValidator,s as setState}from"./prop.validators.js";import{b as hasEnoughReadableChars,c as containsOnlyNumbers}from"./label.js";const validateInputSelectOptions=t=>{if("object"==typeof t&&null!==t){if("string"==typeof t.label&&t.label.length>0)return t.disabled=!0===t.disabled,t.label=`${t.label}`.trim(),!1===hasEnoughReadableChars(t.label,3)&&!1===containsOnlyNumbers(t.label)&&a11yHint(`A differing Aria-Label (${t.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(t.options)||void 0===t.options.find((t=>!1===validateInputSelectOptions(t)));if("number"==typeof t.label)return!0}return!1},validateOptions=(t,e,o={})=>{watchJsonArrayString(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),e,void 0,o)},validateOptionsWithOptgroup=(t,e,o={})=>{watchJsonArrayString(t,"_options",validateInputSelectOptions,e,void 0,o)},validateRequired=(t,e)=>{watchBoolean(t,"_required",e)},orientationOptions=["horizontal","vertical"],fillKeyOptionMap=(t,e,o="")=>{e.forEach(((e,a)=>{const i=`${o}-${a}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?fillKeyOptionMap(t,e.options,i):t.set(i,e))}))};class InputCheckboxRadioController extends InputController{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){validateRequired(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class InputRadioController extends InputCheckboxRadioController{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,a)=>{"_value"===a&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),fillKeyOptionMap(this.keyOptionMap,o))},this.component=t}validateOrientation(t){watchValidator(this.component,"_orientation",(t=>"string"==typeof t&&orientationOptions.includes(t)),new Set([`Orientation {${orientationOptions.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){validateOptions(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,setState(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{InputCheckboxRadioController as I,InputRadioController as a,validateOptions as b,fillKeyOptionMap as f,validateOptionsWithOptgroup as v};
4
+ import{f as a11yHint,v as watchJsonArrayString,i as watchBoolean,w as watchValidator,k as setState}from"./index2.js";import{I as InputController}from"./controller2.js";import{b as hasEnoughReadableChars,c as containsOnlyNumbers}from"./label.js";const validateInputSelectOptions=t=>{if("object"==typeof t&&null!==t){if("string"==typeof t.label&&t.label.length>0)return t.disabled=!0===t.disabled,t.label=`${t.label}`.trim(),!1===hasEnoughReadableChars(t.label,3)&&!1===containsOnlyNumbers(t.label)&&a11yHint(`A differing Aria-Label (${t.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(t.options)||void 0===t.options.find((t=>!1===validateInputSelectOptions(t)));if("number"==typeof t.label)return!0}return!1},validateOptions=(t,e,o={})=>{watchJsonArrayString(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),e,void 0,o)},validateOptionsWithOptgroup=(t,e,o={})=>{watchJsonArrayString(t,"_options",validateInputSelectOptions,e,void 0,o)},validateRequired=(t,e)=>{watchBoolean(t,"_required",e)},orientationOptions=["horizontal","vertical"],fillKeyOptionMap=(t,e,o="")=>{e.forEach(((e,a)=>{const i=`${o}-${a}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?fillKeyOptionMap(t,e.options,i):t.set(i,e))}))};class InputCheckboxRadioController extends InputController{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){validateRequired(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class InputRadioController extends InputCheckboxRadioController{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,a)=>{"_value"===a&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),fillKeyOptionMap(this.keyOptionMap,o))},this.component=t}validateOrientation(t){watchValidator(this.component,"_orientation",(t=>"string"==typeof t&&orientationOptions.includes(t)),new Set([`Orientation {${orientationOptions.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){validateOptions(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,setState(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{InputCheckboxRadioController as I,InputRadioController as a,validateOptions as b,fillKeyOptionMap as f,validateOptionsWithOptgroup as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as InputPasswordController}from"./controller5.js";import{v as validateSpellCheck}from"./spell-check.js";import{w as watchValidator}from"./prop.validators.js";import{v as validateSuggestions}from"./suggestions.js";const inputTextTypeOptions=["text","search","url","tel"];class InputTextEmailController extends InputPasswordController{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){validateSuggestions(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class InputTextController extends InputTextEmailController{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){validateSpellCheck(this.component,t)}validateType(t){watchValidator(this.component,"_type",(t=>"string"==typeof t&&inputTextTypeOptions.includes(t)),new Set([`String {${inputTextTypeOptions.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{InputTextEmailController as I,InputTextController as a};
4
+ import{w as watchValidator}from"./index2.js";import{I as InputPasswordController}from"./controller5.js";import{v as validateSpellCheck}from"./spell-check.js";import{v as validateSuggestions}from"./suggestions.js";const inputTextTypeOptions=["text","search","url","tel"];class InputTextEmailController extends InputPasswordController{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){validateSuggestions(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class InputTextController extends InputTextEmailController{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){validateSpellCheck(this.component,t)}validateType(t){watchValidator(this.component,"_type",(t=>"string"==typeof t&&inputTextTypeOptions.includes(t)),new Set([`String {${inputTextTypeOptions.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{InputTextEmailController as I,InputTextController as a};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as watchValidator,v as watchNumber,d as watchString,b as watchBoolean}from"./prop.validators.js";import{I as InputIconController}from"./controller-icon.js";import{v as validateHasCounter}from"./has-counter.js";const PasswordVariantPropTypeOptions=["default","visibility-toggle"],validatePasswordVariant=(t,a)=>{watchValidator(t,"_variant",(t=>"string"==typeof t&&PasswordVariantPropTypeOptions.includes(t)),new Set(PasswordVariantPropTypeOptions),a)};class InputPasswordController extends InputIconController{constructor(t,a,e){super(t,a,e),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&this.component._value.length>0&&(this.component.state._currentLength=this.component._value.length)},this.component=t}validateAutoComplete(t){watchValidator(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){validateHasCounter(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){validatePasswordVariant(this.component,t)}validateMaxLength(t){watchNumber(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){watchString(this.component,"_pattern",t)}validatePlaceholder(t){watchString(this.component,"_placeholder",t)}validateReadOnly(t){watchBoolean(this.component,"_readOnly",t)}validateRequired(t){watchBoolean(this.component,"_required",t)}validateValue(t){watchString(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{InputPasswordController as I};
4
+ import{w as watchValidator,F as watchNumber,l as watchString,i as watchBoolean}from"./index2.js";import{I as InputIconController}from"./controller-icon.js";import{v as validateHasCounter}from"./has-counter.js";const PasswordVariantPropTypeOptions=["default","visibility-toggle"],validatePasswordVariant=(t,a)=>{watchValidator(t,"_variant",(t=>"string"==typeof t&&PasswordVariantPropTypeOptions.includes(t)),new Set(PasswordVariantPropTypeOptions),a)};class InputPasswordController extends InputIconController{constructor(t,a,e){super(t,a,e),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&this.component._value.length>0&&(this.component.state._currentLength=this.component._value.length)},this.component=t}validateAutoComplete(t){watchValidator(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){validateHasCounter(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){validatePasswordVariant(this.component,t)}validateMaxLength(t){watchNumber(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){watchString(this.component,"_pattern",t)}validatePlaceholder(t){watchString(this.component,"_placeholder",t)}validateReadOnly(t){watchBoolean(this.component,"_readOnly",t)}validateRequired(t){watchBoolean(this.component,"_required",t)}validateValue(t){watchString(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{InputPasswordController as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{d as watchString}from"./prop.validators.js";const validateCustomClass=(a,s)=>{watchString(a,"_customClass",s,{defaultValue:void 0})};export{validateCustomClass as v};
4
+ import{l as watchString}from"./index2.js";const validateCustomClass=(a,s)=>{watchString(a,"_customClass",s,{defaultValue:void 0})};export{validateCustomClass as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const getWindow=()=>"undefined"==typeof window?null:window,getDocument=()=>void 0===getWindow().document?null:getWindow().document;let DEV_MODE=!1,EXPERIMENTAL_MODE=!1,COLOR_CONTRAST_ANALYSIS=!1;const getDevMode=()=>!0===DEV_MODE,setDevMode=e=>{DEV_MODE=!0===e},getExperimentalMode=()=>!0===EXPERIMENTAL_MODE,setExperimentalMode=e=>{EXPERIMENTAL_MODE=!0===e},getColorContrastAnalysis=()=>!0===COLOR_CONTRAST_ANALYSIS,setColorContrastAnalysis=e=>{COLOR_CONTRAST_ANALYSIS=!0===e},LOG_STYLE="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",mapToArray=e=>Array.isArray(e)?e:[e],getLogLabel=e=>`%c${e}`,handleClassifier=(e,o)=>"string"==typeof o&&o.length>0?`${getLogLabel(e)} | ${o}`:getLogLabel(e),getShield=(e,o)=>[handleClassifier(e,null==o?void 0:o.classifier),`${LOG_STYLE};${(null==o?void 0:o.overwriteStyle)||""}`],isDevModeOrForceLog=(e,o)=>e()||!0===o;class Logger{constructor(e,o){this.label=e,this.devMode=o}debug(e,o){isDevModeOrForceLog(this.devMode,null==o?void 0:o.forceLog)&&console.debug(...getShield(this.label,o),...mapToArray(e))}info(e,o){isDevModeOrForceLog(this.devMode,null==o?void 0:o.forceLog)&&console.info(...getShield(this.label,o),...mapToArray(e))}trace(e,o){isDevModeOrForceLog(this.devMode,null==o?void 0:o.forceLog)&&console.trace(...getShield(this.label,o),...mapToArray(e))}warn(e,o){isDevModeOrForceLog(this.devMode,null==o?void 0:o.forceLog)&&console.warn(...getShield(this.label,o),...mapToArray(e))}error(e,o){console.error(...getShield(this.label,o),...mapToArray(e))}throw(e,o){if(isDevModeOrForceLog(this.devMode,null==o?void 0:o.forceLog))throw new Error(...getShield(this.label,o),...mapToArray(e))}}const Log=new Logger("KoliBri",getDevMode);export{Log as L,getExperimentalMode as a,setExperimentalMode as b,setColorContrastAnalysis as c,getWindow as d,getDevMode as e,getColorContrastAnalysis as f,getDocument as g,setDevMode as s};
4
+ import{L as Log,p as processEnv,g as getDocument,s as setDevMode,c as setExperimentalMode,d as setColorContrastAnalysis,e as getWindow}from"./index2.js";import{Env}from"@stencil/core/internal/client";const initMeta=()=>{const e=getDocument().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(setDevMode(t.includes("dev-mode=true")),setExperimentalMode(t.includes("experimental-mode=true")),setColorContrastAnalysis(t.includes("color-contrast-analysis=true")))}},getKoliBri=()=>{let e=getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(getWindow(),"KoliBri",{value:e,writable:!1})),e},initKoliBri=()=>{initMeta(),Log.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,{forceLog:!0})},renderDevAdvice=()=>{!0!==getKoliBri().adviceShown&&(Object.defineProperty(getKoliBri(),"adviceShown",{get:function(){return!0}}),Log.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let nonce=()=>Math.floor(16777215*Math.random()).toString(16);"test"===processEnv&&(nonce=()=>"nonce");export{initKoliBri as i,nonce as n,renderDevAdvice as r};
@@ -1 +1 @@
1
- {"file":"dev.utils.js","mappings":";;;MAOa,SAAS,GAAG,OAAyB,OAAO,MAAM,KAAK,WAAW,GAAI,IAA0B,GAAG,MAAM,EAAE;MAK3G,WAAW,GAAG,OAA6B,OAAO,SAAS,EAAE,CAAC,QAAQ,KAAK,WAAW,GAAI,IAA4B,GAAG,SAAS,EAAE,CAAC,QAAQ,EAAE;AAK5J,IAAI,QAAQ,GAAY,KAAK,CAAC;AAC9B,IAAI,iBAAiB,GAAY,KAAK,CAAC;AACvC,IAAI,uBAAuB,GAAY,KAAK,CAAC;MAEhC,UAAU,GAAG,MAAe,QAAQ,KAAK,KAAK;MAC9C,UAAU,GAAG,CAAC,IAAa;IACvC,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;AAC1B,EAAE;MAEW,mBAAmB,GAAG,MAAe,iBAAiB,KAAK,KAAK;MAChE,mBAAmB,GAAG,CAAC,IAAa;IAChD,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;AACnC,EAAE;MAEW,wBAAwB,GAAG,MAAe,uBAAuB,KAAK,KAAK;MAC3E,wBAAwB,GAAG,CAAC,IAAa;IACrD,uBAAuB,GAAG,IAAI,KAAK,IAAI,CAAC;AACzC,EAAE;AAQF,MAAM,SAAS,GAAG,oHAAoH,CAAC;AAEvI,MAAM,UAAU,GAAG,CAAC,GAAwB;IAC3C,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,K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I,MAAM,CAAC,SAAS,EAAE,UAAU;;;;","names":[],"sources":["src/schema/utils/dev.utils.ts"],"sourcesContent":["/* eslint-disable no-console */\n\ntype GetModeFn = () => boolean;\n\nlet WINDOW: Window | null = null;\nlet DOCUMENT: Document | null = null;\n\nexport const getWindow = (): Window => (WINDOW || typeof window === 'undefined' ? (null as unknown as Window) : window);\nexport const setWindow = (value: Window): void => {\n\tWINDOW = value;\n};\n\nexport const getDocument = (): Document => (DOCUMENT || typeof getWindow().document === 'undefined' ? (null as unknown as Document) : getWindow().document);\nexport const setDocument = (value: Document): void => {\n\tDOCUMENT = value;\n};\n\nlet DEV_MODE: boolean = false;\nlet EXPERIMENTAL_MODE: boolean = false;\nlet COLOR_CONTRAST_ANALYSIS: boolean = false;\n\nexport const getDevMode = (): boolean => DEV_MODE === true;\nexport const setDevMode = (mode: boolean): void => {\n\tDEV_MODE = mode === true;\n};\n\nexport const getExperimentalMode = (): boolean => EXPERIMENTAL_MODE === true;\nexport const setExperimentalMode = (mode: boolean): void => {\n\tEXPERIMENTAL_MODE = mode === true;\n};\n\nexport const getColorContrastAnalysis = (): boolean => COLOR_CONTRAST_ANALYSIS === true;\nexport const setColorContrastAnalysis = (mode: boolean): void => {\n\tCOLOR_CONTRAST_ANALYSIS = mode === true;\n};\n\ntype LogShieldOptions = {\n\tclassifier?: string;\n\tforceLog?: boolean;\n\toverwriteStyle?: string;\n};\n\nconst LOG_STYLE = 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000';\n\nconst mapToArray = (msg: unknown | unknown[]): unknown[] => {\n\treturn Array.isArray(msg) ? msg : [msg];\n};\n\nconst getLogLabel = (label: string): string => {\n\treturn `%c${label}`;\n};\n\nconst handleClassifier = (label: string, classifier?: string): string => {\n\tif (typeof classifier === 'string' && classifier.length > 0) {\n\t\treturn `${getLogLabel(label)} | ${classifier}`;\n\t} else {\n\t\treturn getLogLabel(label);\n\t}\n};\n\nconst getShield = (label: string, options?: LogShieldOptions): string[] => {\n\treturn [handleClassifier(label, options?.classifier), `${LOG_STYLE};${options?.overwriteStyle || ''}`];\n};\n\nconst isDevModeOrForceLog = (devMode: GetModeFn, forceLog?: boolean): boolean => devMode() || forceLog === true;\n\nexport class Logger {\n\tpublic constructor(\n\t\tprivate readonly label: string,\n\t\tprivate readonly devMode: GetModeFn,\n\t) {}\n\n\tpublic debug(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (isDevModeOrForceLog(this.devMode, options?.forceLog)) {\n\t\t\tconsole.debug(...getShield(this.label, options), ...mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic info(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (isDevModeOrForceLog(this.devMode, options?.forceLog)) {\n\t\t\tconsole.info(...getShield(this.label, options), ...mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic trace(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (isDevModeOrForceLog(this.devMode, options?.forceLog)) {\n\t\t\tconsole.trace(...getShield(this.label, options), ...mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic warn(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (isDevModeOrForceLog(this.devMode, options?.forceLog)) {\n\t\t\tconsole.warn(...getShield(this.label, options), ...mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic error(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tconsole.error(...getShield(this.label, options), ...mapToArray(msg));\n\t}\n\n\tpublic throw(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (isDevModeOrForceLog(this.devMode, options?.forceLog)) {\n\t\t\tthrow new Error(...getShield(this.label, options), ...mapToArray(msg));\n\t\t}\n\t}\n}\n\nexport const Log = new Logger('KoliBri', getDevMode);\n"],"version":3}
1
+ {"file":"dev.utils.js","mappings":";;;;;;AAKA,MAAM,QAAQ,GAAG;IAChB,MAAM,IAAI,GAAG,WAAW,EAAE,CAAC,aAAa,CAAC,sBAAsB,CAAC,CA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AM,EAAE,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE;AAE5E,IAAI,UAAU,KAAK,MAAM,EAAE;IAC1B,KAAK,GAAG,MAAc,OAAO,CAAC;AAC/B;;;;","names":[],"sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, processEnv, setColorContrastAnalysis, setDevMode, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\tconst meta = getDocument().querySelector('meta[name=\"kolibri\"]');\n\tif (meta && meta.hasAttribute('content')) {\n\t\tconst content = meta.getAttribute('content');\n\t\tif (typeof content === 'string') {\n\t\t\tsetDevMode(content.includes('dev-mode=true'));\n\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t}\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (processEnv === 'test') {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{i as initKoliBri,r as renderDevAdvice}from"./dev.utils2.js";import{e as getDevMode,g as getDocument,L as Log,a as getExperimentalMode,f as getColorContrastAnalysis,d as getWindow}from"./dev.utils.js";import{A as koliBriA11yColorContrast,z as koliBriQuerySelector,C as koliBriQuerySelectorAll,D as koliBriQuerySelectorColors,E as KoliBriUtils,p as parseJson,F as stringifyJson}from"./prop.validators.js";const getKoliBri=()=>{let e=getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(getWindow(),"KoliBri",{value:e,writable:!1})),e};function prototypeKoliBri(e,t){try{Object.defineProperty(getKoliBri(),e,{get:function(){return t}})}catch(t){Log.debug(`KoliBri property ${e} is already bind.`)}}const metaModeLog=(e,t)=>Log.debug(`${e} ${t?"":"not "}activated`),initialize=()=>{if(initKoliBri(),getDevMode()){renderDevAdvice(),prototypeKoliBri("a11yColorContrast",koliBriA11yColorContrast),prototypeKoliBri("querySelector",koliBriQuerySelector),prototypeKoliBri("querySelectorAll",koliBriQuerySelectorAll),prototypeKoliBri("querySelectorColors",koliBriQuerySelectorColors),prototypeKoliBri("utils",(function(){return KoliBriUtils})),prototypeKoliBri("parseJson",parseJson),prototypeKoliBri("stringifyJson",stringifyJson);const e=getDocument().body,t=getDocument().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',getDocument().body.appendChild(t),metaModeLog("Development mode",getDevMode()),metaModeLog("Experimental mode",getExperimentalMode()),metaModeLog("Color contrast analysis",getColorContrastAnalysis()),getColorContrastAnalysis()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{KoliBriUtils.queryHtmlElementColors(getDocument().createElement("div"),koliBriA11yColorContrast(e),!1,!1)}),1e4)}),2500)}}};export{initialize};
4
+ import{R as getDevMode,g as getDocument,L as Log,C as getExperimentalMode,T as getColorContrastAnalysis,U as koliBriA11yColorContrast,Q as koliBriQuerySelector,W as koliBriQuerySelectorAll,X as koliBriQuerySelectorColors,Y as KoliBriUtils,m as parseJson,Z as stringifyJson,e as getWindow}from"./index2.js";import{i as initKoliBri,r as renderDevAdvice}from"./dev.utils.js";const getKoliBri=()=>{let e=getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(getWindow(),"KoliBri",{value:e,writable:!1})),e};function prototypeKoliBri(e,t){try{Object.defineProperty(getKoliBri(),e,{get:function(){return t}})}catch(t){Log.debug(`KoliBri property ${e} is already bind.`)}}const metaModeLog=(e,t)=>Log.debug(`${e} ${t?"":"not "}activated`),initialize=()=>{if(initKoliBri(),getDevMode()){renderDevAdvice(),prototypeKoliBri("a11yColorContrast",koliBriA11yColorContrast),prototypeKoliBri("querySelector",koliBriQuerySelector),prototypeKoliBri("querySelectorAll",koliBriQuerySelectorAll),prototypeKoliBri("querySelectorColors",koliBriQuerySelectorColors),prototypeKoliBri("utils",(function(){return KoliBriUtils})),prototypeKoliBri("parseJson",parseJson),prototypeKoliBri("stringifyJson",stringifyJson);const e=getDocument().body,t=getDocument().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',getDocument().body.appendChild(t),metaModeLog("Development mode",getDevMode()),metaModeLog("Experimental mode",getExperimentalMode()),metaModeLog("Color contrast analysis",getColorContrastAnalysis()),getColorContrastAnalysis()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{KoliBriUtils.queryHtmlElementColors(getDocument().createElement("div"),koliBriA11yColorContrast(e),!1,!1)}),1e4)}),2500)}}};export{initialize};
@@ -1 +1 @@
1
- {"file":"devtools.js","mappings":";;;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE;YAC7C,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,KAAK;SACf,CAAC,CAAC;KACH;IACD,OAAO,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Y,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACpC,GAAG,CAAC,YAAY,CAAC,OAAO,EAAE,8EAA8E,CAAC,CAAC;QAC1G,GAAG,CAAC,SAAS,GAAG;;;;;;;;;;;;OAYX,CAAC;QAEN,WAAW,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAEpC,WAAW,CAAC,kBAAkB,EAAE,UAAU,EAAE,CAAC,CAAC;QAC9C,WAAW,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACxD,WAAW,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnE,IAAI,wBAAwB,EAAE,EAAE;YAC/B,MAAM,OAAO,GAAG,UAAU,CAAC;gBAC1B,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,CAAC;oBACX,YAAY,CAAC,sBAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":[],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}
1
+ {"file":"devtools.js","mappings":";;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE;YAC7C,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,KAAK;SACf,CAAC,CAAC;KACH;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAEF,SAAS,gBAAgB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,CAAC,YAAY,CAAC,OAAO,EAAE,8EAA8E,CAAC,CAAC;QAC1G,GAAG,CAAC,SAAS,GAAG;;;;;;;;;;;;OAYX,CAAC;QAEN,WAAW,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAEpC,WAAW,CAAC,kBAAkB,EAAE,UAAU,EAAE,CAAC,CAAC;QAC9C,WAAW,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC,CAAC;QACxD,WAAW,CAAC,yBAAyB,EAAE,wBAAwB,EAAE,CAAC,CAAC;QAEnE,IAAI,wBAAwB,EAAE,EAAE;YAC/B,MAAM,OAAO,GAAG,UAAU,CAAC;gBAC1B,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,CAAC;oBACX,YAAY,CAAC,sBAAsB,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":[],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as watchBoolean,c as a11yHintDisabled}from"./prop.validators.js";const validateDisabled=(a,o)=>{watchBoolean(a,"_disabled",o,{hooks:{afterPatch:a=>{!0===a&&a11yHintDisabled()}}})};export{validateDisabled as v};
4
+ import{i as watchBoolean,j as a11yHintDisabled}from"./index2.js";const validateDisabled=(a,e)=>{watchBoolean(a,"_disabled",e,{hooks:{afterPatch:a=>{!0===a&&a11yHintDisabled()}}})};export{validateDisabled as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as watchBoolean}from"./prop.validators.js";const validateHasCloser=(a,o)=>{watchBoolean(a,"_hasCloser",o)};export{validateHasCloser as v};
4
+ import{i as watchBoolean}from"./index2.js";const validateHasCloser=(a,o)=>{watchBoolean(a,"_hasCloser",o)};export{validateHasCloser as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as watchBoolean}from"./prop.validators.js";const validateHasCounter=(a,o,t)=>{watchBoolean(a,"_hasCounter",o,t)};export{validateHasCounter as v};
4
+ import{i as watchBoolean}from"./index2.js";const validateHasCounter=(a,o,t)=>{watchBoolean(a,"_hasCounter",o,t)};export{validateHasCounter as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as watchBoolean}from"./prop.validators.js";const validateHideLabel=(a,e,o={})=>{watchBoolean(a,"_hideLabel",e,o)};export{validateHideLabel as v};
4
+ import{i as watchBoolean}from"./index2.js";const validateHideLabel=(a,e,i={})=>{watchBoolean(a,"_hideLabel",e,i)};export{validateHideLabel as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{d as watchString}from"./prop.validators.js";const validateHref=(a,r,t={})=>{watchString(a,"_href",r,t)};export{validateHref as v};
4
+ import{l as watchString}from"./index2.js";const validateHref=(t,a,r={})=>{watchString(t,"_href",a,r)};export{validateHref as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{g as getI18nInstance,i as initializeI18n}from"./i18n.js";import{p as processEnv}from"./reuse.js";let translate=(t,e)=>{var n;return(null!==(n=getI18nInstance())&&void 0!==n?n:initializeI18n("de")).translate(t,e)};"test"===processEnv&&(translate=t=>t);export{translate as t};
4
+ import{g as getI18nInstance,i as initializeI18n}from"./i18n.js";import{p as processEnv}from"./index2.js";let translate=(t,n)=>{var e;return(null!==(e=getI18nInstance())&&void 0!==e?e:initializeI18n("de")).translate(t,n)};"test"===processEnv&&(translate=t=>t);export{translate as t};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{e as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators.js";import{i as isString,a as isStyle,b as isObject}from"./common.js";const mapCustomIcon=(t,o,e)=>{isObject(e)?t[o]=e:isString(e,1)&&(t[o]={icon:e})},mapIconProp2State=t=>{let o={};return isString(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(mapCustomIcon(o,"top",t.top),mapCustomIcon(o,"right",t.right),mapCustomIcon(o,"bottom",t.bottom),mapCustomIcon(o,"left",t.left)),o},beforePatchIcon=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",mapIconProp2State(o))}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||isStyle(t.style))&&(void 0===t.label||isString(t.label))&&isString(t.icon,1),validateIcons=(t,o,e={})=>{objectObjectHandler(o,(()=>{var i;try{o=parseJson(o)}catch(t){}watchValidator(t,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||isString(t,1)||"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right)||isString(t.top,1)||isIcon(t.top)||isString(t.bottom,1)||isIcon(t.bottom))}),new Set(["KoliBriIcon"]),o,Object.assign(Object.assign({},e),{defaultValue:{},hooks:{afterPatch:null===(i=e.hooks)||void 0===i?void 0:i.afterPatch,beforePatch:(t,o,i,n)=>{var s,a;"function"==typeof(null===(s=e.hooks)||void 0===s?void 0:s.beforePatch)&&(null===(a=e.hooks)||void 0===a||a.beforePatch(t,o,i,n)),beforePatchIcon(i)}}}))}))};export{validateIcons as v};
4
+ import{o as objectObjectHandler,m as parseJson,w as watchValidator,G as isString,H as isStyle,I as isObject}from"./index2.js";const mapCustomIcon=(t,o,e)=>{isObject(e)?t[o]=e:isString(e,1)&&(t[o]={icon:e})},mapIconProp2State=t=>{let o={};return isString(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(mapCustomIcon(o,"top",t.top),mapCustomIcon(o,"right",t.right),mapCustomIcon(o,"bottom",t.bottom),mapCustomIcon(o,"left",t.left)),o},beforePatchIcon=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",mapIconProp2State(o))}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||isStyle(t.style))&&(void 0===t.label||isString(t.label))&&isString(t.icon,1),validateIcons=(t,o,e={})=>{objectObjectHandler(o,(()=>{var i;try{o=parseJson(o)}catch(t){}watchValidator(t,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||isString(t,1)||"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right)||isString(t.top,1)||isIcon(t.top)||isString(t.bottom,1)||isIcon(t.bottom))}),new Set(["KoliBriIcon"]),o,Object.assign(Object.assign({},e),{defaultValue:{},hooks:{afterPatch:null===(i=e.hooks)||void 0===i?void 0:i.afterPatch,beforePatch:(t,o,i,n)=>{var s,a;"function"==typeof(null===(s=e.hooks)||void 0===s?void 0:s.beforePatch)&&(null===(a=e.hooks)||void 0===a||a.beforePatch(t,o,i,n)),beforePatchIcon(i)}}}))}))};export{validateIcons as v};
@@ -1 +1 @@
1
- {"file":"icons.js","mappings":";;;;;;AA0BA,MAAM,aAAa,GAAG,CAAC,KAAwB,EAAE,SAAwB,EAAE,IAA2C;IACrH,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAyB,CAAC;KAC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AK,kCAED,OAAO,KACV,YAAY,EAAE,EAAE,EAChB,KAAK,EAAE;gBACN,UAAU,EAAE,MAAA,OAAO,CAAC,KAAK,0CAAE,UAAU;gBACrC,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG;;oBACjD,IAAI,QAAO,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAA,KAAK,UAAU,EAAE;wBACrD,MAAA,OAAO,CAAC,KAAK,0CAAE,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;qBACjE;oBACD,eAAe,CAAC,SAAS,CAAC,CAAC;iBAC3B;aACD,IAEF,CAAC;KACF,CAAC,CAAC;AACJ;;;;","names":[],"sources":["src/schema/props/icons.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { AnyIconFontClass, KoliBriCustomIcon, KoliBriHorizontalIconsProp, KoliBriIconsProp, KoliBriIconsState } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString, isStyle } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type IconsPropType = Stringified<KoliBriIconsProp>;\nexport type IconsHorizontalPropType = Stringified<KoliBriHorizontalIconsProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcons = {\n\ticons: IconsPropType;\n};\nexport type PropHorizontalIcons = {\n\ticons: IconsHorizontalPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconsState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconsProp): KoliBriIconsState => {\n\tlet state: KoliBriIconsState = {};\n\tif (isString(icon, 1)) {\n\t\tstate = {\n\t\t\tleft: {\n\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t},\n\t\t};\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icons')) {\n\t\tconst icons = component.nextState?.get('_icons') as KoliBriIconsProp;\n\t\tcomponent.nextState?.set('_icons', mapIconProp2State(icons));\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\t(typeof (value as KoliBriCustomIcon).label === 'undefined' || isString((value as KoliBriCustomIcon).label)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcons = (component: Generic.Element.Component, value?: IconsPropType, options: WatchOptions = {}): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconsProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\tconst valueIsEmptyObject = typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tvalueIsEmptyObject ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\t...options,\n\t\t\t\tdefaultValue: {},\n\t\t\t\thooks: {\n\t\t\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n"],"version":3}
1
+ {"file":"icons.js","mappings":";;;;;AA0BA,MAAM,aAAa,GAAG,CAAC,KAAwB,EAAE,SAAwB,EAAE,IAA2C;IACrH,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;QACnB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAyB,CAAC;KAC7C;SAAM,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;QAC7B,KAAK,CAAC,SAAS,CAAC,GAAG;YAClB,IAAI,EAAE,IAAwB;SAC9B,CAAC;KACF;AACF,CAAC,CAAC;AAEK,MAAM,iBAAiB,GAAG,CAAC,IAAsB;IACvD,IAAI,KAAK,GAAsB,EAAE,CAAC;IAClC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;QACtB,KAAK,GAAG;YACP,IAAI,EAAE;gBACL,IAAI,EAAE,IAAwB;aAC9B;SACD,CAAC;KACF;SAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EA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ACF,CAAC,CAAC;AACJ;;;;","names":[],"sources":["src/schema/props/icons.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { AnyIconFontClass, KoliBriCustomIcon, KoliBriHorizontalIconsProp, KoliBriIconsProp, KoliBriIconsState } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString, isStyle } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type IconsPropType = Stringified<KoliBriIconsProp>;\nexport type IconsHorizontalPropType = Stringified<KoliBriHorizontalIconsProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcons = {\n\ticons: IconsPropType;\n};\nexport type PropHorizontalIcons = {\n\ticons: IconsHorizontalPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconsState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconsProp): KoliBriIconsState => {\n\tlet state: KoliBriIconsState = {};\n\tif (isString(icon, 1)) {\n\t\tstate = {\n\t\t\tleft: {\n\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t},\n\t\t};\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icons')) {\n\t\tconst icons = component.nextState?.get('_icons') as KoliBriIconsProp;\n\t\tcomponent.nextState?.set('_icons', mapIconProp2State(icons));\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\t(typeof (value as KoliBriCustomIcon).label === 'undefined' || isString((value as KoliBriCustomIcon).label)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcons = (component: Generic.Element.Component, value?: IconsPropType, options: WatchOptions = {}): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconsProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\tconst valueIsEmptyObject = typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tvalueIsEmptyObject ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\t...options,\n\t\t\t\tdefaultValue: {},\n\t\t\t\thooks: {\n\t\t\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{d as watchString}from"./prop.validators.js";const validateImageSource=(a,r,t)=>{watchString(a,"_src",r,t)};export{validateImageSource as v};
4
+ import{l as watchString}from"./index2.js";const validateImageSource=(a,t,e)=>{watchString(a,"_src",t,e)};export{validateImageSource as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{n as ne,o as oe,S,B}from"./prop.validators.js";export{K as KoliBriDevHelper}from"./prop.validators.js";import{setMode}from"@stencil/core/internal/client";export{getAssetPath,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";import{L as Log,s as setDevMode}from"./dev.utils.js";export{s as setCurrentLocation}from"./ariaCurrentService.js";import{s as setCustomTagNames,K as KolToastContainerTag}from"./component-names.js";import{i as initializeI18n}from"./i18n.js";export{c as BUNDESAEMTER,e as BUNDESANSTALTEN,a as BUNDESMINISTERIEN,f as BUND_LOGO_TEXT_MAP,b as Bundesamt,d as Bundesanstalt,B as Bundesministerium}from"./bund.js";var KeyEnum,TagEnum;!function(t){t[t.error=0]="error",t[t.warning=1]="warning",t[t.info=2]="info",t[t.success=3]="success",t[t.message=4]="message",t[t.close=5]="close",t[t["form-description"]=6]="form-description",t[t.of=7]="of",t[t.characters=8]="characters",t[t.new=9]="new",t[t["no-entries"]=10]="no-entries",t[t["change-order"]=11]="change-order",t[t["action-running"]=12]="action-running",t[t["action-done"]=13]="action-done",t[t["page-first"]=14]="page-first",t[t["page-back"]=15]="page-back",t[t["page-next"]=16]="page-next",t[t["page-last"]=17]="page-last",t[t["entries-per-site"]=18]="entries-per-site",t[t["page-current"]=19]="page-current",t[t["page-selected"]=20]="page-selected",t[t["page-per-site"]=21]="page-per-site",t[t["logo-description"]=22]="logo-description",t[t["open-link-in-tab"]=23]="open-link-in-tab",t[t["kolibri-logo"]=24]="kolibri-logo"}(KeyEnum||(KeyEnum={})),function(t){t[t.abbr=0]="abbr",t[t.accordion=1]="accordion",t[t["accordion-group"]=2]="accordion-group",t[t.alert=3]="alert",t[t.avatar=4]="avatar",t[t.badge=5]="badge",t[t.breadcrumb=6]="breadcrumb",t[t.button=7]="button",t[t["button-group"]=8]="button-group",t[t["button-link"]=9]="button-link",t[t.card=10]="card",t[t.combobox=11]="combobox",t[t.details=12]="details",t[t.drawer=13]="drawer",t[t.form=14]="form",t[t.heading=15]="heading",t[t.icon=16]="icon",t[t.image=17]="image",t[t["indented-text"]=18]="indented-text",t[t["input-checkbox"]=19]="input-checkbox",t[t["input-color"]=20]="input-color",t[t["input-date"]=21]="input-date",t[t["input-email"]=22]="input-email",t[t["input-file"]=23]="input-file",t[t["input-number"]=24]="input-number",t[t["input-password"]=25]="input-password",t[t["input-radio"]=26]="input-radio",t[t["input-range"]=27]="input-range",t[t["input-text"]=28]="input-text",t[t.kolibri=29]="kolibri",t[t.link=30]="link",t[t["link-button"]=31]="link-button",t[t["link-group"]=32]="link-group",t[t.logo=33]="logo",t[t.modal=34]="modal",t[t.nav=35]="nav",t[t.pagination=36]="pagination",t[t["popover-button"]=37]="popover-button",t[t.progress=38]="progress",t[t.select=39]="select",t[t.separator=40]="separator",t[t["single-select"]=41]="single-select",t[t["skip-nav"]=42]="skip-nav",t[t.spin=43]="spin",t[t["split-button"]=44]="split-button",t[t.symbol=45]="symbol",t[t.table=46]="table",t[t["table-stateful"]=47]="table-stateful",t[t["table-stateless"]=48]="table-stateless",t[t.tabs=49]="tabs",t[t.textarea=50]="textarea",t[t["toast-container"]=51]="toast-container",t[t.toolbar=52]="toolbar",t[t.tooltip=53]="tooltip",t[t.tree=54]="tree",t[t["tree-item"]=55]="tree-item"}(TagEnum||(TagEnum={}));const KoliBri=new ne("kol",KeyEnum,TagEnum);setMode((t=>{try{t.shadowRoot instanceof ShadowRoot&&oe(t,S(t))}catch(t){}return"default"})),import("./devtools.js").then((t=>{"object"==typeof t&&null!==t&&"function"==typeof t.initialize&&t.initialize()})).catch((t=>{Log.error(t)}));const globalFn=()=>{},appGlobalScript=globalFn,globalScripts=appGlobalScript;let initialized=!1;const bootstrap=async(t,e,o)=>{var n,i;setDevMode("development"===(null==o?void 0:o.environment)),initializeI18n(null!==(i=null===(n=null==o?void 0:o.translation)||void 0===n?void 0:n.name)&&void 0!==i?i:"de",null==o?void 0:o.translations),(null==o?void 0:o.transformTagName)&&setCustomTagNames(null==o?void 0:o.transformTagName);const a=await B(t,e,o);return initialized=!0,a},register=bootstrap,isInitialized=()=>initialized;class ToasterService{constructor(t,e){this.document=t,this.options=e,this.toastContainerElement=this.document.createElement(KolToastContainerTag),this.document.body.prepend(this.toastContainerElement)}static getInstance(t,e){if(!isInitialized())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let o=this.instances.get(t);return o||(o=new ToasterService(t,e),this.instances.set(t,o)),o}dispose(){const t=this.toastContainerElement;t?(this.toastContainerElement=void 0,t.remove()):Log.warn("Toaster service is already disposed.",{forceLog:!0})}enqueue(t){var e,o,n,i;if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue){const a=null!==(o=null===(e=this.options)||void 0===e?void 0:e.defaultVariant)&&void 0!==o?o:void 0,r=null!==(i=null===(n=this.options)||void 0===n?void 0:n.defaultAlertVariant)&&void 0!==i?i:void 0;return t.alertVariant||t.variant||!this.options||(t.variant=null!=r?r:a),this.toastContainerElement.enqueue(t)}}closeAll(t=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(t)}}ToasterService.instances=new Map,globalScripts();export{KoliBri,ToasterService,bootstrap,isInitialized,register};
4
+ import{n as ne,b,L as Log,V,s as setDevMode}from"./index2.js";export{K as KoliBri,a as KoliBriDevHelper}from"./index2.js";import{setMode}from"@stencil/core/internal/client";export{getAssetPath,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";export{s as setCurrentLocation}from"./ariaCurrentService.js";import{s as setCustomTagNames,K as KolToastContainerTag}from"./component-names.js";import{i as initializeI18n}from"./i18n.js";export{c as BUNDESAEMTER,e as BUNDESANSTALTEN,a as BUNDESMINISTERIEN,f as BUND_LOGO_TEXT_MAP,b as Bundesamt,d as Bundesanstalt,B as Bundesministerium}from"./bund.js";setMode((t=>{try{t.shadowRoot instanceof ShadowRoot&&ne(t,b(t))}catch(t){}return"default"})),import("./devtools.js").then((t=>{"object"==typeof t&&null!==t&&"function"==typeof t.initialize&&t.initialize()})).catch((t=>{Log.error(t)}));let initialized=!1;const bootstrap=async(t,e,i)=>{var o,n;setDevMode("development"===(null==i?void 0:i.environment)),initializeI18n(null!==(n=null===(o=null==i?void 0:i.translation)||void 0===o?void 0:o.name)&&void 0!==n?n:"de",null==i?void 0:i.translations),(null==i?void 0:i.transformTagName)&&setCustomTagNames(null==i?void 0:i.transformTagName);const s=await V(t,e,i);return initialized=!0,s},register=bootstrap,isInitialized=()=>initialized;class ToasterService{constructor(t,e){this.document=t,this.options=e,this.toastContainerElement=this.document.createElement(KolToastContainerTag),this.document.body.prepend(this.toastContainerElement)}static getInstance(t,e){if(!isInitialized())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(t);return i||(i=new ToasterService(t,e),this.instances.set(t,i)),i}dispose(){const t=this.toastContainerElement;t?(this.toastContainerElement=void 0,t.remove()):Log.warn("Toaster service is already disposed.")}enqueue(t){var e,i,o,n;if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue){const s=null!==(i=null===(e=this.options)||void 0===e?void 0:e.defaultVariant)&&void 0!==i?i:void 0,a=null!==(n=null===(o=this.options)||void 0===o?void 0:o.defaultAlertVariant)&&void 0!==n?n:void 0;return t.alertVariant||t.variant||!this.options||(t.variant=null!=a?a:s),this.toastContainerElement.enqueue(t)}}closeAll(t=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(t)}}ToasterService.instances=new Map;export{ToasterService,bootstrap,isInitialized,register};
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;;;;;;;;;;;AAAA,IAAY,OA0BX;AA1BD,WAAY,OAAO;IAClB,uCAAO,CAAA;IACP,2CAAS,CAAA;IACT,qCAAM,CAAA;IACN,2CAAS,CAAA;IACT,2CAAS,CAAA;IACT,uCAAO,CAAA;IACP,6DAAkB,CAAA;IAClB,iCAAI,CAAA;IACJ,iDAAY,CAAA;IACZ,mCAAK,CAAA;IACL,kDAAY,CAAA;IACZ,sDAAc,CAAA;IACd,0DAAgB,CAAA;IAChB,oDAAa,CAAA;IACb,kDAAY,CAAA;IACZ,gDAAW,CAAA;IACX,gDAAW,CAAA;IACX,gDAAW,CAAA;IACX,8DAAkB,CAAA;IAClB,sDAAc,CAAA;IACd,wDAAe,CAAA;IACf,wDAAe,CAAA;IACf,8DAAkB,CAAA;IAClB,8DAAkB,CAAA;IAClB,sDAAc,CAAA;AACf,CAAC,EA1BW,OAAO,KAAP,OAAO;;ACAnB,IAAY,OAyDX;AAzDD,WAAY,OAAO;IAClB,qCAAM,CAAA;IACN,+CAAW,CAAA;IACX,2DAAiB,CAAA;IACjB,uCAAO,CAAA;IACP,yCAAQ,CAAA;IACR,uCAAO,CAAA;IACP,iDAAY,CAAA;IACZ,yCAAQ,CAAA;IACR,qDAAc,CAAA;IACd,mDAAa,CAAA;IACb,sCAAM,CAAA;IACN,8CAAU,CAAA;IACV,4CAAS,CAAA;IACT,0CAAQ,CAAA;IACR,sCAAM,CAAA;IACN,4CAAS,CAAA;IACT,sCAAM,CAAA;IACN,wCAAO,CAAA;IACP,wDAAe,CAAA;IACf,0DAAgB,CAAA;IAChB,oDAAa,CAAA;IACb,kDAAY,CAAA;IACZ,oDAAa,CAAA;IACb,kDAAY,CAAA;IACZ,sD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C,QAAQ,KAAK,UAAU,EAAE;YAC5F,KAAK,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;SACpD;KACD;;AA1DuB,wBAAS,GAAkC,IAAI,GAAG,EAA4B;;;;;;","names":["Theme","setThemeStyle","getThemeDetails","coreRegister"],"sources":["src/schema/i18n-keys.ts","src/schema/tag-names.ts","src/schema/index.ts","src/global/script.ts","@stencil/core/internal/app-globals","src/core/bootstrap.ts","src/components/toaster/toaster.tsx"],"sourcesContent":["export enum KeyEnum {\n\t'error',\n\t'warning',\n\t'info',\n\t'success',\n\t'message',\n\t'close',\n\t'form-description',\n\t'of',\n\t'characters',\n\t'new',\n\t'no-entries',\n\t'change-order',\n\t'action-running',\n\t'action-done',\n\t'page-first',\n\t'page-back',\n\t'page-next',\n\t'page-last',\n\t'entries-per-site',\n\t'page-current',\n\t'page-selected',\n\t'page-per-site',\n\t'logo-description',\n\t'open-link-in-tab',\n\t'kolibri-logo',\n}\n","export enum TagEnum {\n\t'abbr',\n\t'accordion',\n\t'accordion-group', // TODO: github pr link\n\t'alert',\n\t'avatar',\n\t'badge',\n\t'breadcrumb',\n\t'button',\n\t'button-group',\n\t'button-link',\n\t'card',\n\t'combobox',\n\t'details',\n\t'drawer',\n\t'form',\n\t'heading',\n\t'icon',\n\t'image',\n\t'indented-text',\n\t'input-checkbox',\n\t'input-color',\n\t'input-date',\n\t'input-email',\n\t'input-file',\n\t'input-number',\n\t'input-password',\n\t'input-radio',\n\t'input-range',\n\t'input-text',\n\t'kolibri',\n\t'link',\n\t'link-button',\n\t'link-group',\n\t'logo',\n\t'modal',\n\t'nav',\n\t'pagination',\n\t'popover-button',\n\t'progress',\n\t'select',\n\t'separator', // TODO: github pr link\n\t'single-select',\n\t'skip-nav',\n\t'spin',\n\t'split-button',\n\t'symbol',\n\t'table',\n\t'table-stateful',\n\t'table-stateless',\n\t'tabs',\n\t'textarea',\n\t'toast-container',\n\t'toolbar', // TODO: github pr link\n\t'tooltip',\n\t'tree',\n\t'tree-item',\n}\n","import { Theme } from 'adopted-style-sheets';\n\nimport { KeyEnum } from './i18n-keys';\nimport { TagEnum } from './tag-names';\n\nexport const KoliBri = new Theme<'kol', keyof typeof KeyEnum, keyof typeof TagEnum>('kol', KeyEnum, TagEnum);\n\nexport * from './components';\n// export * from './enums'; only for internal use\nexport * from './props';\nexport * from './types';\nexport * from './utils';\nexport * from './validators';\nexport * from './interfaces';\n","import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n","import type { Generic, LoaderCallback, RegisterOptions } from 'adopted-style-sheets';\nimport { register as coreRegister } from 'adopted-style-sheets';\nimport { setDevMode } from '../schema';\nimport { setCustomTagNames } from './component-names';\nimport { initializeI18n } from './i18n';\n\ntype Environment = 'development' | 'production';\n\ntype KoliBriOptions = RegisterOptions & {\n\t/**\n\t * The environment in which the application is running.\n\t */\n\tenvironment?: Environment;\n\t/**\n\t * This option allows you to transform the component tag names.\n\t */\n\ttransformTagName?: (tagName: string) => string;\n};\n\nlet initialized = false;\n\nexport const bootstrap = async (\n\tthemes:\n\t\t| Generic.Theming.RegisterPatch<string, string, string>\n\t\t| Generic.Theming.RegisterPatch<string, string, string>[]\n\t\t| Set<Generic.Theming.RegisterPatch<string, string, string>>,\n\tloaders: LoaderCallback | LoaderCallback[] | Set<LoaderCallback>,\n\toptions?: KoliBriOptions,\n): Promise<void[]> => {\n\tsetDevMode(options?.environment === 'development');\n\n\tinitializeI18n(options?.translation?.name ?? 'de', options?.translations);\n\tif (options?.transformTagName) {\n\t\tsetCustomTagNames(options?.transformTagName);\n\t}\n\tconst coreRegisterReturnValue = await coreRegister(themes, loaders, options);\n\tinitialized = true;\n\n\treturn coreRegisterReturnValue;\n};\n\nexport const register = bootstrap;\nexport const isInitialized = () => initialized;\n","import type { Toast, ToasterOptions } from '../../schema';\nimport { Log } from '../../schema';\nimport { KolToastContainerTag } from '../../core/component-names';\nimport { isInitialized } from '../../core/bootstrap';\n\nexport class ToasterService {\n\tprivate static readonly instances: Map<Document, ToasterService> = new Map<Document, ToasterService>();\n\n\tprivate toastContainerElement?: HTMLKolToastContainerElement;\n\n\tprivate constructor(\n\t\tprivate readonly document: Document,\n\t\tprivate readonly options?: ToasterOptions,\n\t) {\n\t\tthis.toastContainerElement = this.document.createElement(KolToastContainerTag);\n\t\tthis.document.body.prepend(this.toastContainerElement);\n\t}\n\n\t/**\n\t * Get a toaster for the specified document environment. Each environment has exactly one instance of the service.\n\t */\n\tpublic static getInstance(document: Document, options?: ToasterOptions): ToasterService {\n\t\tif (!isInitialized()) {\n\t\t\tthrow new Error('Toaster: Call KoliBri bootstrap/register method first.');\n\t\t}\n\n\t\tlet instance = this.instances.get(document);\n\t\tif (!instance) {\n\t\t\tinstance = new ToasterService(document, options);\n\t\t\tthis.instances.set(document, instance);\n\t\t}\n\t\treturn instance;\n\t}\n\n\tpublic dispose() {\n\t\tconst element = this.toastContainerElement;\n\t\tif (element) {\n\t\t\tthis.toastContainerElement = undefined;\n\t\t\telement.remove();\n\t\t} else {\n\t\t\tLog.warn('Toaster service is already disposed.', { forceLog: true });\n\t\t}\n\t}\n\n\tpublic enqueue(toast: Toast): Promise<() => void> | undefined {\n\t\t/**\n\t\t * We need this condition for SSR. The toast container is not rendered on the server,\n\t\t * so we can't enqueue toasts.\n\t\t */\n\t\tif (this.toastContainerElement && typeof this.toastContainerElement.enqueue === 'function') {\n\t\t\tconst defaultVariant = this.options?.defaultVariant ?? undefined;\n\t\t\tconst defaultAlertVariant = this.options?.defaultAlertVariant ?? undefined;\n\t\t\tif (!toast.alertVariant && !toast.variant && this.options) {\n\t\t\t\ttoast.variant = defaultAlertVariant ?? defaultVariant;\n\t\t\t}\n\n\t\t\treturn this.toastContainerElement.enqueue(toast);\n\t\t}\n\t}\n\n\tpublic closeAll(immediate: boolean = false): void {\n\t\tif (this.toastContainerElement && typeof this.toastContainerElement.closeAll === 'function') {\n\t\t\tvoid this.toastContainerElement.closeAll(immediate);\n\t\t}\n\t}\n}\n"],"version":3}
1
+ {"file":"index.js","mappings":";;;;;;;;;;;;AAKA,OAAO,CAAC,CAAC,GAAG;IACX,IAAI;QACH,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;YACzCA,EAAa,CAAC,GAAG,EAAEC,CAAe,CAAC,GAAG,CAAC,CAAC,CAAC;SACzC;KACD;IAAC,OAAO,KAAK,EAAE;KAMf;IACD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,OAAO,eAAY,CAAC;KAClB,IAAI,CAAC,CAAC,QAAQ;IACd,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;QACnG,QAAQ,CAAC,UAAU,EAAE,CAAC;KACtB;AACF,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,KAAK;IACZ,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAClB,CAAC,CAAC;;ACTH,IAAI,WAAW,GAAG,KAAK,CAAC;MAEX,SAAS,GAAG,OACxB,MAG6D,EAC7D,OAAgE,EAChE,OAAwB;;IAExB,UAAU,CAAC,CAAA,OAA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x"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import type { Generic, LoaderCallback, RegisterOptions } from 'adopted-style-sheets';\nimport { register as coreRegister } from 'adopted-style-sheets';\nimport { setDevMode } from '../schema';\nimport { setCustomTagNames } from './component-names';\nimport { initializeI18n } from './i18n';\n\ntype Environment = 'development' | 'production';\n\ntype KoliBriOptions = RegisterOptions & {\n\t/**\n\t * The environment in which the application is running.\n\t */\n\tenvironment?: Environment;\n\t/**\n\t * This option allows you to transform the component tag names.\n\t */\n\ttransformTagName?: (tagName: string) => string;\n};\n\nlet initialized = false;\n\nexport const bootstrap = async (\n\tthemes:\n\t\t| Generic.Theming.RegisterPatch<string, string, string>\n\t\t| Generic.Theming.RegisterPatch<string, string, string>[]\n\t\t| Set<Generic.Theming.RegisterPatch<string, string, string>>,\n\tloaders: LoaderCallback | LoaderCallback[] | Set<LoaderCallback>,\n\toptions?: KoliBriOptions,\n): Promise<void[]> => {\n\tsetDevMode(options?.environment === 'development');\n\n\tinitializeI18n(options?.translation?.name ?? 'de', options?.translations);\n\tif (options?.transformTagName) {\n\t\tsetCustomTagNames(options?.transformTagName);\n\t}\n\tconst coreRegisterReturnValue = await coreRegister(themes, loaders, options);\n\tinitialized = true;\n\n\treturn coreRegisterReturnValue;\n};\n\nexport const register = bootstrap;\nexport const isInitialized = () => initialized;\n","import type { Toast, ToasterOptions } from '../../schema';\nimport { Log } from '../../schema';\nimport { KolToastContainerTag } from '../../core/component-names';\nimport { isInitialized } from '../../core/bootstrap';\n\nexport class ToasterService {\n\tprivate static readonly instances: Map<Document, ToasterService> = new Map<Document, ToasterService>();\n\n\tprivate toastContainerElement?: HTMLKolToastContainerElement;\n\n\tprivate constructor(\n\t\tprivate readonly document: Document,\n\t\tprivate readonly options?: ToasterOptions,\n\t) {\n\t\tthis.toastContainerElement = this.document.createElement(KolToastContainerTag);\n\t\tthis.document.body.prepend(this.toastContainerElement);\n\t}\n\n\t/**\n\t * Get a toaster for the specified document environment. Each environment has exactly one instance of the service.\n\t */\n\tpublic static getInstance(document: Document, options?: ToasterOptions): ToasterService {\n\t\tif (!isInitialized()) {\n\t\t\tthrow new Error('Toaster: Call KoliBri bootstrap/register method first.');\n\t\t}\n\n\t\tlet instance = this.instances.get(document);\n\t\tif (!instance) {\n\t\t\tinstance = new ToasterService(document, options);\n\t\t\tthis.instances.set(document, instance);\n\t\t}\n\t\treturn instance;\n\t}\n\n\tpublic dispose() {\n\t\tconst element = this.toastContainerElement;\n\t\tif (element) {\n\t\t\tthis.toastContainerElement = undefined;\n\t\t\telement.remove();\n\t\t} else {\n\t\t\tLog.warn('Toaster service is already disposed.');\n\t\t}\n\t}\n\n\tpublic enqueue(toast: Toast): Promise<() => void> | undefined {\n\t\t/**\n\t\t * We need this condition for SSR. The toast container is not rendered on the server,\n\t\t * so we can't enqueue toasts.\n\t\t */\n\t\tif (this.toastContainerElement && typeof this.toastContainerElement.enqueue === 'function') {\n\t\t\tconst defaultVariant = this.options?.defaultVariant ?? undefined;\n\t\t\tconst defaultAlertVariant = this.options?.defaultAlertVariant ?? undefined;\n\t\t\tif (!toast.alertVariant && !toast.variant && this.options) {\n\t\t\t\ttoast.variant = defaultAlertVariant ?? defaultVariant;\n\t\t\t}\n\n\t\t\treturn this.toastContainerElement.enqueue(toast);\n\t\t}\n\t}\n\n\tpublic closeAll(immediate: boolean = false): void {\n\t\tif (this.toastContainerElement && typeof this.toastContainerElement.closeAll === 'function') {\n\t\t\tvoid this.toastContainerElement.closeAll(immediate);\n\t\t}\n\t}\n}\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},loglevel={exports:{}};!function(e){var t,o;t=commonjsGlobal,o=function(){var e=function(){},t="undefined",o=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],r={},a=null;function i(e,t){var o=e[t];if("function"==typeof o.bind)return o.bind(e);try{return Function.prototype.bind.call(o,e)}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(){for(var o=this.getLevel(),r=0;r<n.length;r++){var a=n[r];this[a]=r<o?e:this.methodFactory(a,o,this.name)}if(this.log=this.debug,typeof console===t&&o<this.levels.SILENT)return"No console available for logging"}function c(e){return function(){typeof console!==t&&(l.call(this),this[e].apply(this,arguments))}}function u(n,r,a){return function(n){return"debug"===n&&(n="log"),typeof console!==t&&("trace"===n&&o?s:void 0!==console[n]?i(console,n):void 0!==console.log?i(console,"log"):e)}(n)||c.apply(this,arguments)}function d(e,o){var i,s,c,d=this,g="loglevel";function h(){var e;if(typeof window!==t&&g){try{e=window.localStorage[g]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,n=encodeURIComponent(g),r=o.indexOf(n+"=");-1!==r&&(e=/^([^;]+)/.exec(o.slice(r+n.length+1))[1])}catch(e){}return void 0===d.levels[e]&&(e=void 0),e}}function f(e){var t=e;if("string"==typeof t&&void 0!==d.levels[t.toUpperCase()]&&(t=d.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=d.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?g+=":"+e:"symbol"==typeof e&&(g=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=o||u,d.getLevel=function(){return null!=c?c:null!=s?s:i},d.setLevel=function(e,o){return c=f(e),!1!==o&&function(e){var o=(n[e]||"silent").toUpperCase();if(typeof window!==t&&g){try{return void(window.localStorage[g]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(g)+"="+o+";"}catch(e){}}}(c),l.call(d)},d.setDefaultLevel=function(e){s=f(e),h()||d.setLevel(e,!1)},d.resetLevel=function(){c=null,function(){if(typeof window!==t&&g){try{window.localStorage.removeItem(g)}catch(e){}try{window.document.cookie=encodeURIComponent(g)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),l.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(a!==d&&(i=f(a.getLevel())),l.call(d),a===d)for(var e in r)r[e].rebuild()},i=f(a?a.getLevel():"WARN");var p=h();null!=p&&(c=f(p)),l.call(d)}(a=new d).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=r[e];return t||(t=r[e]=new d(e,a.methodFactory)),t};var g=typeof window!==t?window.log:void 0;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=g),a},a.getLoggers=function(){return r},a.default=a,a},e.exports?e.exports=o():t.log=o()}(loglevel);const h=loglevel.exports,I=(e,t)=>o=>o(e,t),P=(e,t)=>o=>o(e,t,{append:!1}),$=()=>{const e=typeof process<"u"&&process.env?process.env:{},t="test"===e.NODE_ENV,o="VITEST"in e,n="JEST_WORKER_ID"in e,r="PLAYWRIGHT_TEST_BASE_URL"in e,a="true"===e.CI,i="true"===e.TEST||"true"===e.IS_TEST,s=typeof navigator<"u"&&!0===navigator.webdriver,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||o||n||r||a||i||s||l},n$1={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:$(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[t,o]of n$1.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[o.totalTime/o.count,o.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,o]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:o}])))),e}}};let d=!0,f$1=!1;const j=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,F=e=>"string"==typeof e&&j.test(e),E=e=>{if(!F(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},g=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{}:;,])\s*/g,"$1").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),Y=(e,t,o,n)=>u$1(e,t,o,n),u$1=(e,t,o,n)=>{(n=n??{}).append=n.append??!1,E(e),d&&!f$1&&(f$1=!0,h.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let r=n$1.A11yUi.THEMES.get(e);if(r||(r=new Map,n$1.A11yUi.THEMES.set(e,r)),n.append&&r.has(t)){const e=r.get(t);r.set(t,g(`${e}${o}`))}else r.set(t,g(o))},k=(e,t,o,n)=>p(e,t,o,n),p=(e,t,o,n)=>(E(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((r=>{const a=t[r],i=r.toLowerCase(),s="function"!=typeof n?.transformTagName||["GLOBAL","PROPERTIES"].includes(r)?r:n.transformTagName(i);"string"==typeof a&&a.length>0&&u$1(e,s.toUpperCase(),a,o)})),e),S=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return S(t)}}return null},A=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},C=()=>"object"==typeof n$1.A11yUi.Theme&&null!==n$1.A11yUi.Theme&&"boolean"==typeof n$1.A11yUi.Theme.cache&&"object"==typeof n$1.A11yUi.Theme.encroachCss&&null!==n$1.A11yUi.Theme.encroachCss&&"string"==typeof n$1.A11yUi.Theme.encroachCss.mode&&"string"==typeof n$1.A11yUi.Theme.name,G=()=>!("object"==typeof n$1.A11yUi.Theme&&null!==n$1.A11yUi.Theme)||"default"!==n$1.A11yUi.Theme.name,b=e=>{if(C())return n$1.A11yUi.Theme;{const t={cache:!0,encroachCss:A(),loglevel:"silent",mode:"csr",name:null},o=S(e);return o instanceof HTMLElement&&(t.cache="false"!==o.dataset.themeCache,t.encroachCss=A(o.dataset),t.loglevel="debug"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:"silent",t.mode="ssr"===o.dataset.themeMode?o.dataset.themeMode:"csr",t.name=o.dataset.theme||null),t}},B=(e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",mode:"ssr"===t.mode?t.mode:"csr",name:"string"==typeof t.name?t.name:e}),K=(e,t)=>{!1===C()&&G()&&"object"==typeof t&&null!==t&&("fixed"===(t=B(e,t)).detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(n$1.A11yUi.Theme=t,h.info(`[Theming] Theme "${e}" was set as default theme.`))):f$1||(f$1=!0,h.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))};let U=!1;const V=(e,t,o={})=>{U||(U=!0,d=!1,typeof window<"u"&&(window.A11yUi=n$1.A11yUi)),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?K(e(((e,t,n)=>p(e,t,n,o))),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,mode:o.theme?.mode,name:o.theme?.name}):h.error("[Theming] An attempt was made to load an incompatible theme.")})),d=!0,"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const n=[];return t.forEach((e=>{const t=e();t instanceof Promise&&n.push(t)})),Promise.all(n)},w=new Set,W=/--[^;]+/g,q=/:/,J=typeof MutationObserver<"u";let M=25,N=()=>{M=Math.min(25+20*Math.log2(n$1.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const X=(e,t)=>{let o=t.match(W);if(Array.isArray(o)){o=o.filter((e=>q.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t)}w.add(e)},y=(e,t)=>{const o=n$1.A11yUi.THEMES.get(e);return o instanceof Map&&o.has(t)?o.get(t):""},Z=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName&&void 0===t.dataset.themingFallback))break;e.removeChild(t)}},ee=(e,t)=>{try{if("ssr"===n$1.A11yUi.Theme?.mode)throw new Error("SSR");const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t)})),e.adoptedStyleSheets=o}catch{[...t].reverse().forEach(((t,o)=>{if("string"!=typeof t||0===t.length)return;const n=document.createElement("style");switch(n.dataset.themingFallback="",o){case 4:n.dataset.themingBaseA11y="";break;case 3:n.dataset.themingBaseGlobal="";break;case 2:n.dataset.themingBaseComponent="";break;case 1:n.dataset.themingCustomGlobal="";break;case 0:n.dataset.themingCustomComponent="";break;default:n.dataset.themingUnknown=""}n.innerHTML=t,e.insertBefore(n,e.firstChild)}))}},te=(e,t,o)=>{if(!1!==o){const n=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch{r=[]}"before"===o?.mode?(n.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(n.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))))}},se=(e,t,o)=>{const n=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch{r=e}if(n$1.A11yUi.CSS_STYLE_CACHE.get(n)?.has(e.tagName))v(e,r,n$1.A11yUi.CSS_STYLE_CACHE.get(n)?.get(e.tagName),o);else{const a=y(n,"PROPERTIES"),i=y(n,"GLOBAL"),s=y(n,e.tagName);!1===w.has(n)&&X(n,i);const l=[a,i,s];te(r,l,t.encroachCss),!0===t.cache&&(!1===n$1.A11yUi.CSS_STYLE_CACHE.has(n)&&n$1.A11yUi.CSS_STYLE_CACHE.set(n,new Map),n$1.A11yUi.CSS_STYLE_CACHE.get(n)?.set(e.tagName,l)),v(e,r,l,o)}},v=(e,t,o,n)=>{const r=performance.now();if(Z(t),ee(t,o),H(e),n(),n$1.A11yUi.PERFORMANCE_MEASURES.has(e.tagName)){const t=n$1.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);t.count+=1,t.totalTime+=performance.now()-r}else n$1.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:performance.now()-r})},L=e=>{const t=n$1.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:o,themeDetails:n}=t;se(e,n,o),H(e)}};let T=e=>{const t=setTimeout((()=>{clearTimeout(t),e.classList.contains("hydrated")?L(e):T(e)}),M)};const ae={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},oe={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},R=J?new MutationObserver(((e,t)=>{for(const o of e){const e=o.target;e.classList.contains("hydrated")&&(L(e),t.observe(e,oe))}})):null;R&&(T=e=>R.observe(e,ae),N=()=>{});let _=e=>{const t=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();if(t.endsWith("ms"))return parseFloat(t);if(t.endsWith("s"))return 1e3*parseFloat(t);{const e=parseFloat(t);return isNaN(e)?0:e}};n$1.A11yUi.IS_TEST_ENVIRONMENT&&(_=()=>0);const O=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},re=(e,t)=>{const o=e.style.visibility||null;n$1.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=_(e);t>0?setTimeout((()=>{O(e,o)}),t):O(e,o)},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),T(e)},H=e=>{n$1.A11yUi.STYLING_TASK_QUEUE.delete(e),N()},ne=(e,t)=>{re(e,{...n$1.A11yUi.Theme,...t})};class ie{Prefix;Key;Tag;createTheme=(e,t)=>P(e,t);createTranslation=(e,t)=>I(e,t);constructor(e,t,o){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o)}}var KeyEnum,TagEnum;!function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"}(KeyEnum||(KeyEnum={})),function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e["accordion-group"]=2]="accordion-group",e[e.alert=3]="alert",e[e.avatar=4]="avatar",e[e.badge=5]="badge",e[e.breadcrumb=6]="breadcrumb",e[e.button=7]="button",e[e["button-group"]=8]="button-group",e[e["button-link"]=9]="button-link",e[e.card=10]="card",e[e.combobox=11]="combobox",e[e.details=12]="details",e[e.drawer=13]="drawer",e[e.form=14]="form",e[e.heading=15]="heading",e[e.icon=16]="icon",e[e.image=17]="image",e[e["indented-text"]=18]="indented-text",e[e["input-checkbox"]=19]="input-checkbox",e[e["input-color"]=20]="input-color",e[e["input-date"]=21]="input-date",e[e["input-email"]=22]="input-email",e[e["input-file"]=23]="input-file",e[e["input-number"]=24]="input-number",e[e["input-password"]=25]="input-password",e[e["input-radio"]=26]="input-radio",e[e["input-range"]=27]="input-range",e[e["input-text"]=28]="input-text",e[e.kolibri=29]="kolibri",e[e.link=30]="link",e[e["link-button"]=31]="link-button",e[e["link-group"]=32]="link-group",e[e.logo=33]="logo",e[e.modal=34]="modal",e[e.nav=35]="nav",e[e.pagination=36]="pagination",e[e["popover-button"]=37]="popover-button",e[e.progress=38]="progress",e[e.select=39]="select",e[e.separator=40]="separator",e[e["single-select"]=41]="single-select",e[e["skip-nav"]=42]="skip-nav",e[e.spin=43]="spin",e[e["split-button"]=44]="split-button",e[e.symbol=45]="symbol",e[e.table=46]="table",e[e["table-stateful"]=47]="table-stateful",e[e["table-stateless"]=48]="table-stateless",e[e.tabs=49]="tabs",e[e.textarea=50]="textarea",e[e["toast-container"]=51]="toast-container",e[e.toolbar=52]="toolbar",e[e.tooltip=53]="tooltip",e[e.tree=54]="tree",e[e["tree-item"]=55]="tree-item"}(TagEnum||(TagEnum={}));const getWindow=()=>"undefined"==typeof window?null:window,getDocument=()=>void 0===getWindow().document?null:getWindow().document;let DEV_MODE=!1,EXPERIMENTAL_MODE=!1,COLOR_CONTRAST_ANALYSIS=!1;const getDevMode=()=>!0===DEV_MODE,setDevMode=e=>{DEV_MODE=!0===e},getExperimentalMode=()=>!0===EXPERIMENTAL_MODE,setExperimentalMode=e=>{EXPERIMENTAL_MODE=!0===e},getColorContrastAnalysis=()=>!0===COLOR_CONTRAST_ANALYSIS,setColorContrastAnalysis=e=>{COLOR_CONTRAST_ANALYSIS=!0===e},LOG_STYLE="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",mapToArray=e=>Array.isArray(e)?e:[e],getLogLabel=e=>`%c${e}`,handleClassifier=(e,t)=>"string"==typeof t&&t.length>0?`${getLogLabel(e)} | ${t}`:getLogLabel(e),getShield=(e,t)=>[handleClassifier(e,null==t?void 0:t.classifier),`${LOG_STYLE};${(null==t?void 0:t.overwriteStyle)||""}`],isDevModeOrForceLog=(e,t)=>e()||!0===t;class Logger{constructor(e,t){this.label=e,this.devMode=t}debug(e,t){isDevModeOrForceLog(this.devMode,null==t?void 0:t.forceLog)&&console.debug(...getShield(this.label,t),...mapToArray(e))}info(e,t){isDevModeOrForceLog(this.devMode,null==t?void 0:t.forceLog)&&console.info(...getShield(this.label,t),...mapToArray(e))}trace(e,t){isDevModeOrForceLog(this.devMode,null==t?void 0:t.forceLog)&&console.trace(...getShield(this.label,t),...mapToArray(e))}warn(e,t){isDevModeOrForceLog(this.devMode,null==t?void 0:t.forceLog)&&console.warn(...getShield(this.label,t),...mapToArray(e))}error(e,t){console.error(...getShield(this.label,t),...mapToArray(e))}throw(e,t){if(isDevModeOrForceLog(this.devMode,null==t?void 0:t.forceLog))throw new Error(...getShield(this.label,t),...mapToArray(e))}}const Log=new Logger("KoliBri",getDevMode),a11yCache=new Set,a11yHint=(e,t)=>{(!1===a11yCache.has(e)||(null==t?void 0:t.force))&&(a11yCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"✋ a11y",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #09f"}))},deprecatedCache=new Set,deprecatedHint=(e,t)=>{(!1===deprecatedCache.has(e)||(null==t?void 0:t.force))&&(deprecatedCache.add(e),Log.warn([e].concat((null==t?void 0:t.details)||[]),{classifier:"🔥 deprecated",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f00"}))},devCache=new Set,devHint=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},devWarning=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.warn([e].concat((null==t?void 0:t.details)||[]),{classifier:"⚠️ dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},featureCache=new Set,featureHint=(e,t=!1,o)=>{(!1===featureCache.has(e)||(null==o?void 0:o.force))&&(featureCache.add(e),e+=!0===t?" ✅":"",Log.debug([e].concat((null==o?void 0:o.details)||[]),{classifier:"🌟 feature",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #309"}))};devHint("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");const uiUxCache=new Set,uiUxHint=(e,t)=>{(!1===uiUxCache.has(e)||(null==t?void 0:t.force))&&(uiUxCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"📑 ui/ux",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #060;"}))},a11yHintDisabled=()=>{a11yHint('"Disabled" limits accessibility and visibility. From an accessibility perspective, we recommend using the readonly attribute instead of disabled.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},a11yHintLabelingLandmarks=e=>{"string"==typeof e&&""!==e||a11yHint("Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},uiUxHintMillerscheZahl=(e,t=8)=>{t>7&&uiUxHint(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(e){return Math.pow((e+.055)/1.055,2.4)}function a(o){var a=o[0]/255,i=o[1]/255,s=o[2]/255,l=a<=.03928?a*e:u(a),c=i<=.03928?i*e:u(i),d=s<=.03928?s*e:u(s);return l*n+c*r+d*t}function i(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var o=parseInt(e,16);return[o>>16,o>>8&255,255&o,t]}function c(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function o(e,t){return c(a(e),a(t))}function s(e,t){return o(i(e),i(t))}function f(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var rgbaConvert={exports:{}};function arr(e){var t=parse(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function obj(e){var t=parse(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function css(e){var t=parse(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function hex(e){3==(t=parse(e)).length&&t.push(255);var t,o=255==t[3],n=num2hex(t[0]),r=num2hex(t[1]),a=num2hex(t[2]),i=isshort(n,r,a,t=num2hex(Math.round(t[3])));return o?i?"#"+n.charAt(0)+r.charAt(0)+a.charAt(0):"#"+n+r+a:i?"#"+n.charAt(0)+r.charAt(0)+a.charAt(0)+t.charAt(0):"#"+n+r+a+t}function num(e){var t=parse(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function parse(e){return"string"==typeof e?name(e=e.toLowerCase())||hex3(e)||hex6(e)||rgb(e)||rgba(e)||[0,0,0,255]:object(e)||array(e)||number(e)||[0,0,0,255]}function num2hex(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function isshort(e,t,o,n){var r=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=r.indexOf(e)&&-1!=r.indexOf(t)&&-1!=r.indexOf(o)&&-1!=r.indexOf(n)}function name(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function hex2num(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function hex3(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var n=hex2num(t[0]),r=hex2num(t[1]),a=hex2num(t[2]),i=3==o?255:hex2num(t[3]);if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(i))return;return[n,r,a,i]}}function hex6(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var n=hex2num(t.slice(0,2)),r=hex2num(t.slice(2,4)),a=hex2num(t.slice(4,6)),i=6==o?255:hex2num(t.slice(6,8));if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(i))return;return[n,r,a,i]}}function getnum(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function object(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=getnum(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=getnum(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=getnum(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=getnum(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function array(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=getnum(e[0],!0),o=getnum(e[1],!0),n=getnum(e[2],!0),r=getnum(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function number(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function rgb(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0);if(-1!=o&&-1!=n&&-1!=r)return[o,n,r,255]}}function rgba(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0),a=getnum(255*t[3]);if(-1!=o&&-1!=n&&-1!=r&&-1!=a)return[o,n,r,a]}}rgbaConvert.exports=arr,rgbaConvert.exports.arr=arr,rgbaConvert.exports.obj=obj,rgbaConvert.exports.css=css,rgbaConvert.exports.hex=hex,rgbaConvert.exports.num=num;const rgba$1=rgbaConvert.exports,pushNodes=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},querySelectorAll=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;pushNodes(o,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;pushNodes(o,querySelectorAll(e,"object"==typeof r&&null!==r?r:n[t]))}return Array.from(o)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},querySelector=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let o=t.querySelector(e);if(null===o){const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;if(o=querySelector(e,"object"==typeof r&&null!==r?r:n[t]),null!==o)break}}return o}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")},OBJECT_OBJECT=/\[object Object\]/,objectObjectHandler=(e,t)=>{"string"==typeof e&&OBJECT_OBJECT.test(e)||t()},emptyStringByArrayHandler=(e,t)=>{"string"==typeof e&&""===e||t()},setEventTarget=(e,t)=>{getExperimentalMode()&&(Log.debug([e,t]),Log.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},patchState=e=>{var t,o,n;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,o)=>{var n;const r=t.get("beforePatch");"function"==typeof r&&r(null===(n=e.nextState)||void 0===n?void 0:n.get(o),e.nextState,e,o)})),(null===(o=e.nextState)||void 0===o?void 0:o.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(n=e.nextHooks)||void 0===n||n.forEach(((t,o)=>{const n=t.get("afterPatch");"function"==typeof n&&n(e.state[o],e.state,e,o)}))),delete e.nextHooks},setState=(e,t,o,n={})=>{var r,a;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map);e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof n.afterPatch&&(null===(r=e.nextHooks.get(t))||void 0===r||r.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",n.beforePatch)),e.nextState.set(t,o),patchState(e)},logWarn=(e,t,o,n)=>{devHint(`[${e.constructor.name}] The property value: (${o}) for '${t}' is not valid. Allowed values are: ${Array.from(n).join(", ")}`)};function watchValidator(e,t,o,n,r,a={}){o(r)?setState(e,t,r,a.hooks):void 0===r&&!0!==a.required&&o(a.defaultValue)?setState(e,t,a.defaultValue,a.hooks):(a.required||n.add(null),logWarn(e,t,r,n))}const watchBoolean=(e,t,o,n)=>{watchValidator(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,n)},watchString=(e,t,o,n={})=>{const r="number"==typeof n.minLength?null==n?void 0:n.minLength:0;watchValidator(e,t,(e=>"string"==typeof e&&e.length>=r&&(void 0===(null==n?void 0:n.maxLength)||e.length<=n.maxLength)),new Set(["String"]),o,n)},watchNumber=(e,t,o,n)=>{watchValidator(e,t,(e=>"number"==typeof e&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&e>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&e<=n.max)),new Set(["Number"]),o,n)},watchJsonArrayString=(e,t,o,n,r=e=>e==e,a={})=>{emptyStringByArrayHandler(n,(()=>{objectObjectHandler(n,(()=>{void 0===n&&(n=[]);try{try{n=parseJson(n)}catch(e){}if(Array.isArray(n)){const i=n.find((e=>!o(e)));void 0===i&&r(n)?setState(e,t,n,a.hooks):objectObjectHandler(i,(()=>{throw Log.debug(i),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")}))}else objectObjectHandler(n,(()=>{throw Log.debug(n),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")}))}catch(e){Log.debug(e)}}))}))},stringifyJson=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw Log.warn(["stringifyJson",e]),Log.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},JSON_CHARS=/^[{[]/,parseJson=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(JSON_CHARS.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){Log.warn(["parseJson",e]),Log.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).")}}throw new Error},mapBoolean2String=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,mapStringOrBoolean2String=e=>"string"==typeof e?e:mapBoolean2String(e),koliBriQuerySelector=(e,t)=>querySelector(e,t||getDocument()),koliBriQuerySelectorAll=(e,t)=>querySelectorAll(e,t||getDocument());let DEFAULT_COLOR_CONTRAST=null;const getDefaultColorContrast=()=>(DEFAULT_COLOR_CONTRAST=DEFAULT_COLOR_CONTRAST||{backgroundColor:"#00000000",color:"#00000000",domNode:getDocument().body,level:"Fail",score:1},DEFAULT_COLOR_CONTRAST),TRANSPARENT_REGEXP=/(\d+, ){3}0\)/,koliBriA11yColorContrast=(e,t=getDefaultColorContrast())=>{const o=getComputedStyle(e),n=TRANSPARENT_REGEXP.test(o.backgroundColor)?t.backgroundColor:rgba$1.hex(o.backgroundColor),r=TRANSPARENT_REGEXP.test(o.color)?t.color:rgba$1.hex(o.color),a=s(n,r),i={backgroundColor:n,color:r,domNode:e,level:f(a),score:a};return a<4.5&&Log.error(["Color-Contrast-Error",{backgroundColor:i.backgroundColor,color:i.color,level:i.level,score:i.score},i.domNode]),i},koliBriQuerySelectorColors=(e,t=getDefaultColorContrast())=>{t.domNode instanceof HTMLElement&&(t=koliBriA11yColorContrast(t.domNode,t));const o=t.domNode.querySelector(e);if(null===o){const o=t.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<o.length&&(t.domNode=o[n],null===(t=koliBriQuerySelectorColors(e,t)).domNode);n++);return t}return koliBriA11yColorContrast(o,t)};class KoliBriUtils{static queryHtmlElementColors(e,t,o=!1,n=!0){let r=null;if(!0===o||!1===KoliBriUtils.executionLock)if(!1===o&&(KoliBriUtils.cache.clear(),KoliBriUtils.cache.set(t.domNode,t),KoliBriUtils.executionLock=!0,!0===n&&Log.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)r=t;else{const o=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)o.add(e[t])}const n=t.domNode;if("function"==typeof n.assignedNodes){const e=n.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&o.add(e[t])}const a=t.domNode.children;for(let e=0;e<a.length;e++)o.add(a[e]);const i=Array.from(o);for(let o=0;o<i.length;o++){let n=KoliBriUtils.cache.get(i[o]);void 0===n&&(n=koliBriA11yColorContrast(i[o],t)),KoliBriUtils.cache.set(i[o],n);const a=KoliBriUtils.queryHtmlElementColors(e,n,!0,!1);if(null!==a){r=a;break}}}else Log.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&Log.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`),KoliBriUtils.executionLock=!1,KoliBriUtils.cache.clear()),r}}KoliBriUtils.executionLock=!1,KoliBriUtils.cache=new Map;class KoliBriDevHelper{}KoliBriDevHelper.getCssStyle=y,KoliBriDevHelper.patchTheme=k,KoliBriDevHelper.patchThemeTag=Y,KoliBriDevHelper.querySelector=koliBriQuerySelector,KoliBriDevHelper.querySelectorAll=koliBriQuerySelectorAll,KoliBriDevHelper.stringifyJson=stringifyJson;let processEnv="development";try{processEnv="production"}catch(e){processEnv="production"}const handleSlotContent=(e,t,o)=>{if(e&&t&&"string"==typeof o){const n=e.querySelector(`[slot="${o}"]`);n&&t.appendChild(n)}},showExpertSlot=e=>""===e,buildBadgeTextString=(e,t)=>e||t||"",isObject=e=>"object"==typeof e&&null!==e,isString=(e,t=0)=>"string"==typeof e&&e.length>=t,isStyle=e=>{if("object"!=typeof e||null===e)return isString(e,1);for(const t in e)if(!1===isString(t,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange");var KoliBriProgressVariantEnum;!function(e){e.bar="bar",e.cycle="cycle"}(KoliBriProgressVariantEnum||(KoliBriProgressVariantEnum={}));const KoliBri=new ie("kol",KeyEnum,TagEnum);export{setEventTarget as A,showExpertSlot as B,getExperimentalMode as C,devHint as D,devWarning as E,watchNumber as F,isString as G,isStyle as H,isObject as I,buildBadgeTextString as J,KoliBri as K,Log as L,handleSlotContent as M,deprecatedHint as N,KoliBriProgressVariantEnum as O,emptyStringByArrayHandler as P,koliBriQuerySelector as Q,getDevMode as R,STATE_CHANGE_EVENT as S,getColorContrastAnalysis as T,koliBriA11yColorContrast as U,V,koliBriQuerySelectorAll as W,koliBriQuerySelectorColors as X,KoliBriUtils as Y,stringifyJson as Z,KoliBriDevHelper as a,b,setExperimentalMode as c,setColorContrastAnalysis as d,getWindow as e,a11yHint as f,getDocument as g,featureHint as h,watchBoolean as i,a11yHintDisabled as j,setState as k,watchString as l,parseJson as m,ne as n,objectObjectHandler as o,processEnv as p,s as q,rgba$1 as r,setDevMode as s,a11yHintLabelingLandmarks as t,uiUxHint as u,watchJsonArrayString as v,watchValidator as w,uiUxHintMillerscheZahl as x,mapBoolean2String as y,mapStringOrBoolean2String as z};