@public-ui/components 2.2.7-rc.0 → 2.2.8-rc.0

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 (829) hide show
  1. package/custom-elements.json +10 -4
  2. package/dist/cjs/{Alert-b62cac0a.js → Alert-9281cbb3.js} +1 -1
  3. package/dist/cjs/{Alert-b62cac0a.js.map → Alert-9281cbb3.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-b16235d6.js → Collapsible-fbca0971.js} +1 -1
  5. package/dist/cjs/{Collapsible-b16235d6.js.map → Collapsible-fbca0971.js.map} +1 -1
  6. package/dist/cjs/{FormFieldMsg-a84f7d94.js → FormFieldMsg-2a980141.js} +1 -1
  7. package/dist/cjs/{FormFieldMsg-a84f7d94.js.map → FormFieldMsg-2a980141.js.map} +1 -1
  8. package/dist/cjs/{InternalUnderlinedBadgeText-db1101db.js → InternalUnderlinedBadgeText-4fb359c4.js} +1 -1
  9. package/dist/cjs/{InternalUnderlinedBadgeText-db1101db.js.map → InternalUnderlinedBadgeText-4fb359c4.js.map} +1 -1
  10. package/dist/cjs/{access-and-short-key-12a097ab.js → access-and-short-key-4ee0c067.js} +1 -1
  11. package/dist/cjs/{access-and-short-key-12a097ab.js.map → access-and-short-key-4ee0c067.js.map} +1 -1
  12. package/dist/cjs/{align-b9732b91.js → align-3fa838b5.js} +1 -1
  13. package/dist/cjs/{align-b9732b91.js.map → align-3fa838b5.js.map} +1 -1
  14. package/dist/cjs/{app-globals-ffeffd73.js → app-globals-5a87ccd0.js} +1 -1
  15. package/dist/cjs/{app-globals-ffeffd73.js.map → app-globals-5a87ccd0.js.map} +1 -1
  16. package/dist/cjs/{aria-expanded-3376c72e.js → aria-expanded-7d8d2aca.js} +1 -1
  17. package/dist/cjs/{aria-expanded-3376c72e.js.map → aria-expanded-7d8d2aca.js.map} +1 -1
  18. package/dist/cjs/{associated.controller-5e3fde43.js → associated.controller-8d2d4650.js} +1 -1
  19. package/dist/cjs/{associated.controller-5e3fde43.js.map → associated.controller-8d2d4650.js.map} +1 -1
  20. package/dist/cjs/badge-text-8d3864bd.js +4 -0
  21. package/dist/cjs/{badge-text-3a33a84b.js.map → badge-text-8d3864bd.js.map} +1 -1
  22. package/dist/cjs/{color-2c30c52b.js → color-1a036a49.js} +1 -1
  23. package/dist/cjs/{color-2c30c52b.js.map → color-1a036a49.js.map} +1 -1
  24. package/dist/cjs/{controller-0fbcf11a.js → controller-4c62765f.js} +1 -1
  25. package/dist/cjs/{controller-0fbcf11a.js.map → controller-4c62765f.js.map} +1 -1
  26. package/dist/cjs/{controller-1f1105de.js → controller-563984db.js} +1 -1
  27. package/dist/cjs/{controller-1f1105de.js.map → controller-563984db.js.map} +1 -1
  28. package/dist/cjs/controller-91763b20.js +4 -0
  29. package/dist/cjs/{controller-8c83cf6d.js.map → controller-91763b20.js.map} +1 -1
  30. package/dist/cjs/{controller-6bc73748.js → controller-d91f5077.js} +1 -1
  31. package/dist/cjs/{controller-6bc73748.js.map → controller-d91f5077.js.map} +1 -1
  32. package/dist/cjs/{controller-3df689d7.js → controller-ee67ec39.js} +1 -1
  33. package/dist/cjs/{controller-3df689d7.js.map → controller-ee67ec39.js.map} +1 -1
  34. package/dist/cjs/controller-icon-b978babc.js +4 -0
  35. package/dist/cjs/controller-icon-b978babc.js.map +1 -0
  36. package/dist/cjs/custom-class-8f276ee3.js +4 -0
  37. package/dist/cjs/{custom-class-3a1c18f3.js.map → custom-class-8f276ee3.js.map} +1 -1
  38. package/dist/cjs/{dev.utils-e56fa7e1.js → dev.utils-331aa3d8.js} +1 -1
  39. package/dist/cjs/{dev.utils-e56fa7e1.js.map → dev.utils-331aa3d8.js.map} +1 -1
  40. package/dist/cjs/{devtools-7e0f225f.js → devtools-0e7aff2e.js} +1 -1
  41. package/dist/cjs/{devtools-7e0f225f.js.map → devtools-0e7aff2e.js.map} +1 -1
  42. package/dist/cjs/disabled-d424f708.js +4 -0
  43. package/dist/cjs/{disabled-5a2e250c.js.map → disabled-d424f708.js.map} +1 -1
  44. package/dist/cjs/{events-e094ddcb.js → events-275a2a5e.js} +1 -1
  45. package/dist/cjs/{events-e094ddcb.js.map → events-275a2a5e.js.map} +1 -1
  46. package/dist/cjs/has-closer-d1310212.js +4 -0
  47. package/dist/cjs/{has-closer-9b3c14a7.js.map → has-closer-d1310212.js.map} +1 -1
  48. package/dist/cjs/has-counter-878e61ea.js +4 -0
  49. package/dist/cjs/{has-counter-7318f6f4.js.map → has-counter-878e61ea.js.map} +1 -1
  50. package/dist/cjs/hide-label-cfe594e0.js +4 -0
  51. package/dist/cjs/{hide-label-b0063224.js.map → hide-label-cfe594e0.js.map} +1 -1
  52. package/dist/cjs/href-51cfc659.js +4 -0
  53. package/dist/cjs/{href-2485cb51.js.map → href-51cfc659.js.map} +1 -1
  54. package/dist/cjs/{icons-310a07cc.js → icons-f0f3f9c5.js} +1 -1
  55. package/dist/cjs/icons-f0f3f9c5.js.map +1 -0
  56. package/dist/cjs/image-source-74bc2874.js +4 -0
  57. package/dist/cjs/{image-source-27335383.js.map → image-source-74bc2874.js.map} +1 -1
  58. package/dist/cjs/{index-4fc60305.js → index-d1ea09f9.js} +1 -1
  59. package/dist/cjs/{index-4fc60305.js.map → index-d1ea09f9.js.map} +1 -1
  60. package/dist/cjs/index.cjs.js +1 -1
  61. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  75. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  143. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  150. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  154. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  157. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  162. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  165. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  166. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  168. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  170. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  171. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  172. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  174. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  175. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  176. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  177. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  178. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  179. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  180. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  181. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  182. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  183. package/dist/cjs/kolibri.cjs.js +1 -1
  184. package/dist/cjs/{label-b8654499.js → label-477be19d.js} +1 -1
  185. package/dist/cjs/{label-b8654499.js.map → label-477be19d.js.map} +1 -1
  186. package/dist/cjs/loader.cjs.js +1 -1
  187. package/dist/cjs/open-ef7b4602.js +4 -0
  188. package/dist/cjs/{open-5c1af49f.js.map → open-ef7b4602.js.map} +1 -1
  189. package/dist/cjs/{prop.validators-96dfedce.js → prop.validators-888c8338.js} +1 -1
  190. package/dist/cjs/prop.validators-888c8338.js.map +1 -0
  191. package/dist/cjs/rows-4d4438c2.js +4 -0
  192. package/dist/cjs/{rows-782313b6.js.map → rows-4d4438c2.js.map} +1 -1
  193. package/dist/cjs/show-ebdc6e78.js +4 -0
  194. package/dist/cjs/{show-5b2be58e.js.map → show-ebdc6e78.js.map} +1 -1
  195. package/dist/cjs/spell-check-beb27264.js +4 -0
  196. package/dist/cjs/{spell-check-5c5eee25.js.map → spell-check-beb27264.js.map} +1 -1
  197. package/dist/cjs/{suggestions-cd0a843d.js → suggestions-0e186f46.js} +1 -1
  198. package/dist/cjs/{suggestions-cd0a843d.js.map → suggestions-0e186f46.js.map} +1 -1
  199. package/dist/cjs/test-component.cjs.entry.js +1 -1
  200. package/dist/cjs/tooltip-align-c6cf9049.js +4 -0
  201. package/dist/cjs/{tooltip-align-3b9a6bde.js.map → tooltip-align-c6cf9049.js.map} +1 -1
  202. package/dist/cjs/{validation-fbc2d426.js → validation-244ee97f.js} +1 -1
  203. package/dist/cjs/{validation-fbc2d426.js.map → validation-244ee97f.js.map} +1 -1
  204. package/dist/cjs/{validation-7ea25fa6.js → validation-cd978d87.js} +1 -1
  205. package/dist/cjs/{validation-7ea25fa6.js.map → validation-cd978d87.js.map} +1 -1
  206. package/dist/components/controller-icon.js +1 -1
  207. package/dist/components/controller-icon.js.map +1 -1
  208. package/dist/components/controller2.js +1 -1
  209. package/dist/components/controller2.js.map +1 -1
  210. package/dist/components/controller3.js +1 -1
  211. package/dist/components/controller3.js.map +1 -1
  212. package/dist/components/devtools.js +1 -1
  213. package/dist/components/events2.js +1 -1
  214. package/dist/components/icons.js +1 -1
  215. package/dist/components/icons.js.map +1 -1
  216. package/dist/components/kol-abbr.js +1 -1
  217. package/dist/components/kol-abbr.js.map +1 -1
  218. package/dist/components/kol-accordion.js +1 -1
  219. package/dist/components/kol-accordion.js.map +1 -1
  220. package/dist/components/kol-alert.js +1 -1
  221. package/dist/components/kol-alert.js.map +1 -1
  222. package/dist/components/kol-avatar.js +1 -1
  223. package/dist/components/kol-avatar.js.map +1 -1
  224. package/dist/components/kol-badge.js +1 -1
  225. package/dist/components/kol-badge.js.map +1 -1
  226. package/dist/components/kol-breadcrumb.js +1 -1
  227. package/dist/components/kol-breadcrumb.js.map +1 -1
  228. package/dist/components/kol-button-group.js +1 -1
  229. package/dist/components/kol-button-group.js.map +1 -1
  230. package/dist/components/kol-button-link.js +1 -1
  231. package/dist/components/kol-button-link.js.map +1 -1
  232. package/dist/components/kol-button.js +1 -1
  233. package/dist/components/kol-button.js.map +1 -1
  234. package/dist/components/kol-card.js +1 -1
  235. package/dist/components/kol-card.js.map +1 -1
  236. package/dist/components/kol-combobox.js +1 -1
  237. package/dist/components/kol-combobox.js.map +1 -1
  238. package/dist/components/kol-details.js +1 -1
  239. package/dist/components/kol-details.js.map +1 -1
  240. package/dist/components/kol-drawer.js +1 -1
  241. package/dist/components/kol-drawer.js.map +1 -1
  242. package/dist/components/kol-form.js +1 -1
  243. package/dist/components/kol-form.js.map +1 -1
  244. package/dist/components/kol-heading.js +1 -1
  245. package/dist/components/kol-heading.js.map +1 -1
  246. package/dist/components/kol-image.js +1 -1
  247. package/dist/components/kol-image.js.map +1 -1
  248. package/dist/components/kol-indented-text.js +1 -1
  249. package/dist/components/kol-indented-text.js.map +1 -1
  250. package/dist/components/kol-input-checkbox.js +1 -1
  251. package/dist/components/kol-input-checkbox.js.map +1 -1
  252. package/dist/components/kol-input-color.js +1 -1
  253. package/dist/components/kol-input-color.js.map +1 -1
  254. package/dist/components/kol-input-date.js +1 -1
  255. package/dist/components/kol-input-date.js.map +1 -1
  256. package/dist/components/kol-input-email.js +1 -1
  257. package/dist/components/kol-input-email.js.map +1 -1
  258. package/dist/components/kol-input-file.js +1 -1
  259. package/dist/components/kol-input-file.js.map +1 -1
  260. package/dist/components/kol-input-number.js +1 -1
  261. package/dist/components/kol-input-number.js.map +1 -1
  262. package/dist/components/kol-input-password.js +1 -1
  263. package/dist/components/kol-input-password.js.map +1 -1
  264. package/dist/components/kol-input-radio.js +1 -1
  265. package/dist/components/kol-input-radio.js.map +1 -1
  266. package/dist/components/kol-input-range.js +1 -1
  267. package/dist/components/kol-input-range.js.map +1 -1
  268. package/dist/components/kol-input-text.js +1 -1
  269. package/dist/components/kol-input-text.js.map +1 -1
  270. package/dist/components/kol-input.js.map +1 -1
  271. package/dist/components/kol-kolibri.js +1 -1
  272. package/dist/components/kol-kolibri.js.map +1 -1
  273. package/dist/components/kol-link-button.js +1 -1
  274. package/dist/components/kol-link-button.js.map +1 -1
  275. package/dist/components/kol-link-group.js +1 -1
  276. package/dist/components/kol-link-group.js.map +1 -1
  277. package/dist/components/kol-link.js +1 -1
  278. package/dist/components/kol-link.js.map +1 -1
  279. package/dist/components/kol-logo.js +1 -1
  280. package/dist/components/kol-logo.js.map +1 -1
  281. package/dist/components/kol-modal.js +1 -1
  282. package/dist/components/kol-modal.js.map +1 -1
  283. package/dist/components/kol-nav.js +1 -1
  284. package/dist/components/kol-nav.js.map +1 -1
  285. package/dist/components/kol-pagination.js +1 -1
  286. package/dist/components/kol-pagination.js.map +1 -1
  287. package/dist/components/kol-popover-button.js +1 -1
  288. package/dist/components/kol-popover-button.js.map +1 -1
  289. package/dist/components/kol-progress.js +1 -1
  290. package/dist/components/kol-progress.js.map +1 -1
  291. package/dist/components/kol-quote.js +1 -1
  292. package/dist/components/kol-quote.js.map +1 -1
  293. package/dist/components/kol-select.js +1 -1
  294. package/dist/components/kol-select.js.map +1 -1
  295. package/dist/components/kol-single-select.js +1 -1
  296. package/dist/components/kol-single-select.js.map +1 -1
  297. package/dist/components/kol-skip-nav.js +1 -1
  298. package/dist/components/kol-skip-nav.js.map +1 -1
  299. package/dist/components/kol-spin.js +1 -1
  300. package/dist/components/kol-spin.js.map +1 -1
  301. package/dist/components/kol-split-button.js +1 -1
  302. package/dist/components/kol-split-button.js.map +1 -1
  303. package/dist/components/kol-table-stateful.js +1 -1
  304. package/dist/components/kol-table-stateful.js.map +1 -1
  305. package/dist/components/kol-table-stateless-wc.js +1 -1
  306. package/dist/components/kol-table-stateless.js +1 -1
  307. package/dist/components/kol-table-stateless.js.map +1 -1
  308. package/dist/components/kol-tabs.js +1 -1
  309. package/dist/components/kol-tabs.js.map +1 -1
  310. package/dist/components/kol-textarea.js +1 -1
  311. package/dist/components/kol-textarea.js.map +1 -1
  312. package/dist/components/kol-toast-container.js +1 -1
  313. package/dist/components/kol-toast-container.js.map +1 -1
  314. package/dist/components/kol-toolbar.js +1 -1
  315. package/dist/components/kol-toolbar.js.map +1 -1
  316. package/dist/components/kol-tree-item.js +1 -1
  317. package/dist/components/kol-tree-item.js.map +1 -1
  318. package/dist/components/kol-tree.js +1 -1
  319. package/dist/components/kol-tree.js.map +1 -1
  320. package/dist/components/kol-version.js +1 -1
  321. package/dist/components/kol-version.js.map +1 -1
  322. package/dist/components/prop.validators.js +1 -1
  323. package/dist/components/prop.validators.js.map +1 -1
  324. package/dist/esm/{Alert-9ed7965c.js → Alert-19c2deb0.js} +1 -1
  325. package/dist/esm/{Alert-9ed7965c.js.map → Alert-19c2deb0.js.map} +1 -1
  326. package/dist/esm/{Collapsible-01dec088.js → Collapsible-6b1e0807.js} +1 -1
  327. package/dist/esm/{Collapsible-01dec088.js.map → Collapsible-6b1e0807.js.map} +1 -1
  328. package/dist/esm/{FormFieldMsg-ac8ab6bc.js → FormFieldMsg-b4d8844e.js} +1 -1
  329. package/dist/esm/{FormFieldMsg-ac8ab6bc.js.map → FormFieldMsg-b4d8844e.js.map} +1 -1
  330. package/dist/esm/InternalUnderlinedBadgeText-485d7878.js +4 -0
  331. package/dist/esm/{InternalUnderlinedBadgeText-6c36269d.js.map → InternalUnderlinedBadgeText-485d7878.js.map} +1 -1
  332. package/dist/esm/{access-and-short-key-9cca88b8.js → access-and-short-key-e094398d.js} +1 -1
  333. package/dist/esm/{access-and-short-key-9cca88b8.js.map → access-and-short-key-e094398d.js.map} +1 -1
  334. package/dist/esm/{align-82100bda.js → align-878fb132.js} +1 -1
  335. package/dist/esm/{align-82100bda.js.map → align-878fb132.js.map} +1 -1
  336. package/dist/esm/{app-globals-c28e84c1.js → app-globals-3f955ac9.js} +1 -1
  337. package/dist/esm/{app-globals-c28e84c1.js.map → app-globals-3f955ac9.js.map} +1 -1
  338. package/dist/esm/{aria-expanded-ec1ec6df.js → aria-expanded-9f877821.js} +1 -1
  339. package/dist/esm/{aria-expanded-ec1ec6df.js.map → aria-expanded-9f877821.js.map} +1 -1
  340. package/dist/esm/{associated.controller-52d302aa.js → associated.controller-5bee50ee.js} +1 -1
  341. package/dist/esm/{associated.controller-52d302aa.js.map → associated.controller-5bee50ee.js.map} +1 -1
  342. package/dist/esm/{badge-text-16dedc1b.js → badge-text-65c680b2.js} +1 -1
  343. package/dist/esm/{badge-text-16dedc1b.js.map → badge-text-65c680b2.js.map} +1 -1
  344. package/dist/esm/{color-62f7b76a.js → color-4da01fff.js} +1 -1
  345. package/dist/esm/{color-62f7b76a.js.map → color-4da01fff.js.map} +1 -1
  346. package/dist/esm/{controller-8eb39b13.js → controller-1a0e05c9.js} +1 -1
  347. package/dist/esm/{controller-8eb39b13.js.map → controller-1a0e05c9.js.map} +1 -1
  348. package/dist/esm/controller-4a9a50f2.js +4 -0
  349. package/dist/esm/controller-4a9a50f2.js.map +1 -0
  350. package/dist/esm/{controller-07000871.js → controller-96d99a72.js} +1 -1
  351. package/dist/esm/{controller-07000871.js.map → controller-96d99a72.js.map} +1 -1
  352. package/dist/esm/{controller-a2550e7a.js → controller-a3c1b90d.js} +1 -1
  353. package/dist/esm/{controller-a2550e7a.js.map → controller-a3c1b90d.js.map} +1 -1
  354. package/dist/esm/{controller-9c6419a9.js → controller-afbd59b5.js} +1 -1
  355. package/dist/esm/{controller-9c6419a9.js.map → controller-afbd59b5.js.map} +1 -1
  356. package/dist/esm/controller-icon-f9b7e1f9.js +4 -0
  357. package/dist/esm/controller-icon-f9b7e1f9.js.map +1 -0
  358. package/dist/esm/custom-class-cedc9f43.js +4 -0
  359. package/dist/esm/{custom-class-ac49545a.js.map → custom-class-cedc9f43.js.map} +1 -1
  360. package/dist/esm/{dev.utils-2043cd7a.js → dev.utils-23a59a36.js} +1 -1
  361. package/dist/esm/{dev.utils-2043cd7a.js.map → dev.utils-23a59a36.js.map} +1 -1
  362. package/dist/esm/{devtools-64c2666b.js → devtools-f3ccf71e.js} +1 -1
  363. package/dist/esm/{devtools-64c2666b.js.map → devtools-f3ccf71e.js.map} +1 -1
  364. package/dist/esm/disabled-e9084205.js +4 -0
  365. package/dist/esm/{disabled-dad7478c.js.map → disabled-e9084205.js.map} +1 -1
  366. package/dist/esm/{events-8ec9ecc6.js → events-5b899bd2.js} +1 -1
  367. package/dist/esm/{events-8ec9ecc6.js.map → events-5b899bd2.js.map} +1 -1
  368. package/dist/esm/{has-closer-a4e62c58.js → has-closer-abdab7af.js} +1 -1
  369. package/dist/esm/{has-closer-a4e62c58.js.map → has-closer-abdab7af.js.map} +1 -1
  370. package/dist/esm/{has-counter-a43c36ef.js → has-counter-23a7a06b.js} +1 -1
  371. package/dist/esm/{has-counter-a43c36ef.js.map → has-counter-23a7a06b.js.map} +1 -1
  372. package/dist/esm/{hide-label-429a15ea.js → hide-label-8c202307.js} +1 -1
  373. package/dist/esm/{hide-label-429a15ea.js.map → hide-label-8c202307.js.map} +1 -1
  374. package/dist/esm/{href-d8ec67f8.js → href-cec41fcd.js} +1 -1
  375. package/dist/esm/{href-d8ec67f8.js.map → href-cec41fcd.js.map} +1 -1
  376. package/dist/esm/{icons-e1a5023e.js → icons-c857b77d.js} +1 -1
  377. package/dist/esm/icons-c857b77d.js.map +1 -0
  378. package/dist/esm/{image-source-320efd4f.js → image-source-90db908f.js} +1 -1
  379. package/dist/esm/{image-source-320efd4f.js.map → image-source-90db908f.js.map} +1 -1
  380. package/dist/esm/{index-5347a9df.js → index-5e0804e6.js} +1 -1
  381. package/dist/esm/{index-5347a9df.js.map → index-5e0804e6.js.map} +1 -1
  382. package/dist/esm/index.js +1 -1
  383. package/dist/esm/kol-abbr.entry.js +1 -1
  384. package/dist/esm/kol-abbr.entry.js.map +1 -1
  385. package/dist/esm/kol-accordion.entry.js +1 -1
  386. package/dist/esm/kol-accordion.entry.js.map +1 -1
  387. package/dist/esm/kol-alert-wc.entry.js +1 -1
  388. package/dist/esm/kol-alert.entry.js +1 -1
  389. package/dist/esm/kol-alert.entry.js.map +1 -1
  390. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  391. package/dist/esm/kol-avatar.entry.js +1 -1
  392. package/dist/esm/kol-avatar.entry.js.map +1 -1
  393. package/dist/esm/kol-badge.entry.js +1 -1
  394. package/dist/esm/kol-badge.entry.js.map +1 -1
  395. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  396. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  397. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  398. package/dist/esm/kol-button-group.entry.js +1 -1
  399. package/dist/esm/kol-button-group.entry.js.map +1 -1
  400. package/dist/esm/kol-button-link.entry.js +1 -1
  401. package/dist/esm/kol-button-link.entry.js.map +1 -1
  402. package/dist/esm/kol-button-wc.entry.js +1 -1
  403. package/dist/esm/kol-button.entry.js +1 -1
  404. package/dist/esm/kol-button.entry.js.map +1 -1
  405. package/dist/esm/kol-card.entry.js +1 -1
  406. package/dist/esm/kol-card.entry.js.map +1 -1
  407. package/dist/esm/kol-combobox.entry.js +1 -1
  408. package/dist/esm/kol-combobox.entry.js.map +1 -1
  409. package/dist/esm/kol-details.entry.js +1 -1
  410. package/dist/esm/kol-details.entry.js.map +1 -1
  411. package/dist/esm/kol-drawer.entry.js +1 -1
  412. package/dist/esm/kol-drawer.entry.js.map +1 -1
  413. package/dist/esm/kol-form.entry.js +1 -1
  414. package/dist/esm/kol-form.entry.js.map +1 -1
  415. package/dist/esm/kol-heading-wc.entry.js +1 -1
  416. package/dist/esm/kol-heading.entry.js +1 -1
  417. package/dist/esm/kol-heading.entry.js.map +1 -1
  418. package/dist/esm/kol-icon.entry.js +1 -1
  419. package/dist/esm/kol-image.entry.js +1 -1
  420. package/dist/esm/kol-image.entry.js.map +1 -1
  421. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  422. package/dist/esm/kol-indented-text.entry.js +1 -1
  423. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  424. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  425. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  426. package/dist/esm/kol-input-color.entry.js +1 -1
  427. package/dist/esm/kol-input-color.entry.js.map +1 -1
  428. package/dist/esm/kol-input-date.entry.js +1 -1
  429. package/dist/esm/kol-input-date.entry.js.map +1 -1
  430. package/dist/esm/kol-input-email.entry.js +1 -1
  431. package/dist/esm/kol-input-email.entry.js.map +1 -1
  432. package/dist/esm/kol-input-file.entry.js +1 -1
  433. package/dist/esm/kol-input-file.entry.js.map +1 -1
  434. package/dist/esm/kol-input-number.entry.js +1 -1
  435. package/dist/esm/kol-input-number.entry.js.map +1 -1
  436. package/dist/esm/kol-input-password.entry.js +1 -1
  437. package/dist/esm/kol-input-password.entry.js.map +1 -1
  438. package/dist/esm/kol-input-radio.entry.js +1 -1
  439. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  440. package/dist/esm/kol-input-range.entry.js +1 -1
  441. package/dist/esm/kol-input-range.entry.js.map +1 -1
  442. package/dist/esm/kol-input-text.entry.js +1 -1
  443. package/dist/esm/kol-input-text.entry.js.map +1 -1
  444. package/dist/esm/kol-input.entry.js +1 -1
  445. package/dist/esm/kol-input.entry.js.map +1 -1
  446. package/dist/esm/kol-kolibri.entry.js +1 -1
  447. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  448. package/dist/esm/kol-link-button.entry.js +1 -1
  449. package/dist/esm/kol-link-button.entry.js.map +1 -1
  450. package/dist/esm/kol-link-group.entry.js +1 -1
  451. package/dist/esm/kol-link-group.entry.js.map +1 -1
  452. package/dist/esm/kol-link-wc.entry.js +1 -1
  453. package/dist/esm/kol-link.entry.js +1 -1
  454. package/dist/esm/kol-link.entry.js.map +1 -1
  455. package/dist/esm/kol-logo.entry.js +1 -1
  456. package/dist/esm/kol-logo.entry.js.map +1 -1
  457. package/dist/esm/kol-modal.entry.js +1 -1
  458. package/dist/esm/kol-modal.entry.js.map +1 -1
  459. package/dist/esm/kol-nav.entry.js +1 -1
  460. package/dist/esm/kol-nav.entry.js.map +1 -1
  461. package/dist/esm/kol-pagination.entry.js +1 -1
  462. package/dist/esm/kol-pagination.entry.js.map +1 -1
  463. package/dist/esm/kol-popover-button.entry.js +1 -1
  464. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  465. package/dist/esm/kol-popover-wc.entry.js +1 -1
  466. package/dist/esm/kol-progress.entry.js +1 -1
  467. package/dist/esm/kol-progress.entry.js.map +1 -1
  468. package/dist/esm/kol-quote.entry.js +1 -1
  469. package/dist/esm/kol-quote.entry.js.map +1 -1
  470. package/dist/esm/kol-select.entry.js +1 -1
  471. package/dist/esm/kol-select.entry.js.map +1 -1
  472. package/dist/esm/kol-single-select.entry.js +1 -1
  473. package/dist/esm/kol-single-select.entry.js.map +1 -1
  474. package/dist/esm/kol-skip-nav.entry.js +1 -1
  475. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  476. package/dist/esm/kol-span-wc.entry.js +1 -1
  477. package/dist/esm/kol-spin.entry.js +1 -1
  478. package/dist/esm/kol-spin.entry.js.map +1 -1
  479. package/dist/esm/kol-split-button.entry.js +1 -1
  480. package/dist/esm/kol-split-button.entry.js.map +1 -1
  481. package/dist/esm/kol-symbol.entry.js +1 -1
  482. package/dist/esm/kol-table-stateful.entry.js +1 -1
  483. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  484. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  485. package/dist/esm/kol-table-stateless.entry.js +1 -1
  486. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  487. package/dist/esm/kol-table.entry.js +1 -1
  488. package/dist/esm/kol-tabs.entry.js +1 -1
  489. package/dist/esm/kol-tabs.entry.js.map +1 -1
  490. package/dist/esm/kol-textarea.entry.js +1 -1
  491. package/dist/esm/kol-textarea.entry.js.map +1 -1
  492. package/dist/esm/kol-toast-container.entry.js +1 -1
  493. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  494. package/dist/esm/kol-toolbar.entry.js +1 -1
  495. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  496. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  497. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  498. package/dist/esm/kol-tree-item.entry.js +1 -1
  499. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  500. package/dist/esm/kol-tree-wc.entry.js +1 -1
  501. package/dist/esm/kol-tree.entry.js +1 -1
  502. package/dist/esm/kol-tree.entry.js.map +1 -1
  503. package/dist/esm/kol-version.entry.js +1 -1
  504. package/dist/esm/kol-version.entry.js.map +1 -1
  505. package/dist/esm/kolibri.js +1 -1
  506. package/dist/esm/{label-d0315384.js → label-e8ec0e3a.js} +1 -1
  507. package/dist/esm/{label-d0315384.js.map → label-e8ec0e3a.js.map} +1 -1
  508. package/dist/esm/loader.js +1 -1
  509. package/dist/esm/{open-20d08415.js → open-7e16be6b.js} +1 -1
  510. package/dist/esm/{open-20d08415.js.map → open-7e16be6b.js.map} +1 -1
  511. package/dist/esm/prop.validators-64749272.js +4 -0
  512. package/dist/esm/prop.validators-64749272.js.map +1 -0
  513. package/dist/esm/{rows-26af6558.js → rows-3e585d8f.js} +1 -1
  514. package/dist/esm/{rows-26af6558.js.map → rows-3e585d8f.js.map} +1 -1
  515. package/dist/esm/{show-484b637e.js → show-6d1c1b72.js} +1 -1
  516. package/dist/esm/{show-484b637e.js.map → show-6d1c1b72.js.map} +1 -1
  517. package/dist/esm/spell-check-cb87a985.js +4 -0
  518. package/dist/esm/{spell-check-60fa0b9f.js.map → spell-check-cb87a985.js.map} +1 -1
  519. package/dist/esm/{suggestions-f139f5ec.js → suggestions-b6fd51c8.js} +1 -1
  520. package/dist/esm/{suggestions-f139f5ec.js.map → suggestions-b6fd51c8.js.map} +1 -1
  521. package/dist/esm/test-component.entry.js +1 -1
  522. package/dist/esm/{tooltip-align-3e629203.js → tooltip-align-5902aa96.js} +1 -1
  523. package/dist/esm/{tooltip-align-3e629203.js.map → tooltip-align-5902aa96.js.map} +1 -1
  524. package/dist/esm/{validation-14b61e5a.js → validation-3745ed01.js} +1 -1
  525. package/dist/esm/{validation-14b61e5a.js.map → validation-3745ed01.js.map} +1 -1
  526. package/dist/esm/{validation-0c197148.js → validation-3ba0e439.js} +1 -1
  527. package/dist/esm/{validation-0c197148.js.map → validation-3ba0e439.js.map} +1 -1
  528. package/dist/kolibri/{Alert-9ed7965c.js → Alert-19c2deb0.js} +1 -1
  529. package/dist/kolibri/Collapsible-6b1e0807.js +4 -0
  530. package/dist/kolibri/FormFieldMsg-b4d8844e.js +4 -0
  531. package/dist/kolibri/InternalUnderlinedBadgeText-485d7878.js +4 -0
  532. package/dist/kolibri/access-and-short-key-e094398d.js +4 -0
  533. package/dist/kolibri/align-878fb132.js +4 -0
  534. package/dist/kolibri/app-globals-3f955ac9.js +4 -0
  535. package/dist/kolibri/aria-expanded-9f877821.js +4 -0
  536. package/dist/kolibri/{associated.controller-52d302aa.js → associated.controller-5bee50ee.js} +1 -1
  537. package/dist/kolibri/badge-text-65c680b2.js +4 -0
  538. package/dist/kolibri/{color-62f7b76a.js → color-4da01fff.js} +1 -1
  539. package/dist/kolibri/{controller-8eb39b13.js → controller-1a0e05c9.js} +1 -1
  540. package/dist/kolibri/controller-4a9a50f2.js +4 -0
  541. package/dist/kolibri/controller-4a9a50f2.js.map +1 -0
  542. package/dist/kolibri/{controller-07000871.js → controller-96d99a72.js} +1 -1
  543. package/dist/kolibri/{controller-a2550e7a.js → controller-a3c1b90d.js} +1 -1
  544. package/dist/kolibri/{controller-9c6419a9.js → controller-afbd59b5.js} +1 -1
  545. package/dist/kolibri/controller-icon-f9b7e1f9.js +4 -0
  546. package/dist/kolibri/controller-icon-f9b7e1f9.js.map +1 -0
  547. package/dist/kolibri/custom-class-cedc9f43.js +4 -0
  548. package/dist/kolibri/{dev.utils-2043cd7a.js → dev.utils-23a59a36.js} +1 -1
  549. package/dist/kolibri/{devtools-64c2666b.js → devtools-f3ccf71e.js} +1 -1
  550. package/dist/kolibri/{disabled-dad7478c.js → disabled-e9084205.js} +1 -1
  551. package/dist/kolibri/{events-8ec9ecc6.js → events-5b899bd2.js} +1 -1
  552. package/dist/kolibri/has-closer-abdab7af.js +4 -0
  553. package/dist/kolibri/has-counter-23a7a06b.js +4 -0
  554. package/dist/kolibri/hide-label-8c202307.js +4 -0
  555. package/dist/kolibri/href-cec41fcd.js +4 -0
  556. package/dist/kolibri/icons-c857b77d.js +4 -0
  557. package/dist/kolibri/icons-c857b77d.js.map +1 -0
  558. package/dist/kolibri/image-source-90db908f.js +4 -0
  559. package/dist/kolibri/{index-5347a9df.js → index-5e0804e6.js} +1 -1
  560. package/dist/kolibri/{index-5347a9df.js.map → index-5e0804e6.js.map} +1 -1
  561. package/dist/kolibri/index.esm.js +1 -1
  562. package/dist/kolibri/kol-abbr.entry.js +1 -1
  563. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  564. package/dist/kolibri/kol-accordion.entry.js +1 -1
  565. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  566. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  567. package/dist/kolibri/kol-alert.entry.js +1 -1
  568. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  569. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  570. package/dist/kolibri/kol-avatar.entry.js +1 -1
  571. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  572. package/dist/kolibri/kol-badge.entry.js +1 -1
  573. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  574. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  575. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  576. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  577. package/dist/kolibri/kol-button-group.entry.js +1 -1
  578. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  579. package/dist/kolibri/kol-button-link.entry.js +1 -1
  580. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  581. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  582. package/dist/kolibri/kol-button.entry.js +1 -1
  583. package/dist/kolibri/kol-button.entry.js.map +1 -1
  584. package/dist/kolibri/kol-card.entry.js +1 -1
  585. package/dist/kolibri/kol-card.entry.js.map +1 -1
  586. package/dist/kolibri/kol-combobox.entry.js +1 -1
  587. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  588. package/dist/kolibri/kol-details.entry.js +1 -1
  589. package/dist/kolibri/kol-details.entry.js.map +1 -1
  590. package/dist/kolibri/kol-drawer.entry.js +1 -1
  591. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  592. package/dist/kolibri/kol-form.entry.js +1 -1
  593. package/dist/kolibri/kol-form.entry.js.map +1 -1
  594. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  595. package/dist/kolibri/kol-heading.entry.js +1 -1
  596. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  597. package/dist/kolibri/kol-icon.entry.js +1 -1
  598. package/dist/kolibri/kol-image.entry.js +1 -1
  599. package/dist/kolibri/kol-image.entry.js.map +1 -1
  600. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  601. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  602. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  603. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  604. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  605. package/dist/kolibri/kol-input-color.entry.js +1 -1
  606. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  607. package/dist/kolibri/kol-input-date.entry.js +1 -1
  608. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  609. package/dist/kolibri/kol-input-email.entry.js +1 -1
  610. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  611. package/dist/kolibri/kol-input-file.entry.js +1 -1
  612. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  613. package/dist/kolibri/kol-input-number.entry.js +1 -1
  614. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  615. package/dist/kolibri/kol-input-password.entry.js +1 -1
  616. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  617. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  618. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  619. package/dist/kolibri/kol-input-range.entry.js +1 -1
  620. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  621. package/dist/kolibri/kol-input-text.entry.js +1 -1
  622. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  623. package/dist/kolibri/kol-input.entry.js +1 -1
  624. package/dist/kolibri/kol-input.entry.js.map +1 -1
  625. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  626. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  627. package/dist/kolibri/kol-link-button.entry.js +1 -1
  628. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  629. package/dist/kolibri/kol-link-group.entry.js +1 -1
  630. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  631. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  632. package/dist/kolibri/kol-link.entry.js +1 -1
  633. package/dist/kolibri/kol-link.entry.js.map +1 -1
  634. package/dist/kolibri/kol-logo.entry.js +1 -1
  635. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  636. package/dist/kolibri/kol-modal.entry.js +1 -1
  637. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  638. package/dist/kolibri/kol-nav.entry.js +1 -1
  639. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  640. package/dist/kolibri/kol-pagination.entry.js +1 -1
  641. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  642. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  643. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  644. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  645. package/dist/kolibri/kol-progress.entry.js +1 -1
  646. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  647. package/dist/kolibri/kol-quote.entry.js +1 -1
  648. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  649. package/dist/kolibri/kol-select.entry.js +1 -1
  650. package/dist/kolibri/kol-select.entry.js.map +1 -1
  651. package/dist/kolibri/kol-single-select.entry.js +1 -1
  652. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  653. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  654. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  655. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  656. package/dist/kolibri/kol-spin.entry.js +1 -1
  657. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  658. package/dist/kolibri/kol-split-button.entry.js +1 -1
  659. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  660. package/dist/kolibri/kol-symbol.entry.js +1 -1
  661. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  662. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  663. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  664. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  665. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  666. package/dist/kolibri/kol-table.entry.js +1 -1
  667. package/dist/kolibri/kol-tabs.entry.js +1 -1
  668. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  669. package/dist/kolibri/kol-textarea.entry.js +1 -1
  670. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  671. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  672. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  673. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  674. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  675. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  676. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  677. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  678. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  679. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  680. package/dist/kolibri/kol-tree.entry.js +1 -1
  681. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  682. package/dist/kolibri/kol-version.entry.js +1 -1
  683. package/dist/kolibri/kol-version.entry.js.map +1 -1
  684. package/dist/kolibri/kolibri.esm.js +1 -1
  685. package/dist/kolibri/kolibri.esm.js.map +1 -1
  686. package/dist/kolibri/label-e8ec0e3a.js +4 -0
  687. package/dist/kolibri/open-7e16be6b.js +4 -0
  688. package/dist/kolibri/prop.validators-64749272.js +4 -0
  689. package/dist/kolibri/prop.validators-64749272.js.map +1 -0
  690. package/dist/kolibri/rows-3e585d8f.js +4 -0
  691. package/dist/kolibri/show-6d1c1b72.js +4 -0
  692. package/dist/kolibri/spell-check-cb87a985.js +4 -0
  693. package/dist/kolibri/{suggestions-f139f5ec.js → suggestions-b6fd51c8.js} +1 -1
  694. package/dist/kolibri/test-component.entry.js +1 -1
  695. package/dist/kolibri/tooltip-align-5902aa96.js +4 -0
  696. package/dist/kolibri/validation-3745ed01.js +4 -0
  697. package/dist/kolibri/{validation-0c197148.js → validation-3ba0e439.js} +1 -1
  698. package/dist/types/components/@deprecated/input/controller-icon.d.ts +2 -2
  699. package/dist/types/components/@deprecated/input/types-icon.d.ts +2 -4
  700. package/dist/types/components/combobox/shadow.d.ts +3 -3
  701. package/dist/types/components/input/component.d.ts +1 -1
  702. package/dist/types/components/input/types.d.ts +2 -3
  703. package/dist/types/components/input-color/shadow.d.ts +3 -3
  704. package/dist/types/components/input-date/shadow.d.ts +3 -3
  705. package/dist/types/components/input-email/shadow.d.ts +3 -3
  706. package/dist/types/components/input-file/shadow.d.ts +3 -3
  707. package/dist/types/components/input-number/shadow.d.ts +3 -3
  708. package/dist/types/components/input-password/shadow.d.ts +3 -3
  709. package/dist/types/components/input-radio/controller.d.ts +1 -1
  710. package/dist/types/components/input-range/shadow.d.ts +3 -3
  711. package/dist/types/components/input-text/shadow.d.ts +3 -3
  712. package/dist/types/components/select/shadow.d.ts +4 -4
  713. package/dist/types/components/single-select/shadow.d.ts +3 -3
  714. package/dist/types/components/tabs/shadow.d.ts +2 -1
  715. package/dist/types/components/textarea/shadow.d.ts +3 -3
  716. package/dist/types/components.d.ts +28 -28
  717. package/dist/types/schema/components/combobox.d.ts +4 -6
  718. package/dist/types/schema/components/input-color.d.ts +4 -6
  719. package/dist/types/schema/components/input-date.d.ts +2 -3
  720. package/dist/types/schema/components/input-email.d.ts +4 -6
  721. package/dist/types/schema/components/input-file.d.ts +4 -6
  722. package/dist/types/schema/components/input-number.d.ts +2 -3
  723. package/dist/types/schema/components/input-password.d.ts +5 -7
  724. package/dist/types/schema/components/input-range.d.ts +4 -6
  725. package/dist/types/schema/components/input-text.d.ts +4 -6
  726. package/dist/types/schema/components/input.d.ts +2 -3
  727. package/dist/types/schema/components/select.d.ts +5 -7
  728. package/dist/types/schema/components/single-select.d.ts +4 -6
  729. package/dist/types/schema/components/textarea.d.ts +4 -6
  730. package/dist/types/schema/props/icons.d.ts +5 -1
  731. package/dist/types/schema/types/icons.d.ts +4 -0
  732. package/dist/types/schema/types/input/control/number.d.ts +3 -4
  733. package/dist/types/schema/utils/prop.validators.d.ts +0 -2
  734. package/doc/select.md +26 -24
  735. package/doc/textarea.md +1 -1
  736. package/package.json +1 -1
  737. package/vscode-custom-data.json +5 -1
  738. package/dist/cjs/badge-text-3a33a84b.js +0 -4
  739. package/dist/cjs/controller-8c83cf6d.js +0 -4
  740. package/dist/cjs/controller-icon-4caf2636.js +0 -4
  741. package/dist/cjs/controller-icon-4caf2636.js.map +0 -1
  742. package/dist/cjs/custom-class-3a1c18f3.js +0 -4
  743. package/dist/cjs/disabled-5a2e250c.js +0 -4
  744. package/dist/cjs/has-closer-9b3c14a7.js +0 -4
  745. package/dist/cjs/has-counter-7318f6f4.js +0 -4
  746. package/dist/cjs/hide-label-b0063224.js +0 -4
  747. package/dist/cjs/href-2485cb51.js +0 -4
  748. package/dist/cjs/icons-310a07cc.js.map +0 -1
  749. package/dist/cjs/image-source-27335383.js +0 -4
  750. package/dist/cjs/open-5c1af49f.js +0 -4
  751. package/dist/cjs/prop.validators-96dfedce.js.map +0 -1
  752. package/dist/cjs/rows-782313b6.js +0 -4
  753. package/dist/cjs/show-5b2be58e.js +0 -4
  754. package/dist/cjs/spell-check-5c5eee25.js +0 -4
  755. package/dist/cjs/tooltip-align-3b9a6bde.js +0 -4
  756. package/dist/esm/InternalUnderlinedBadgeText-6c36269d.js +0 -4
  757. package/dist/esm/controller-964599c0.js +0 -4
  758. package/dist/esm/controller-964599c0.js.map +0 -1
  759. package/dist/esm/controller-icon-e363322f.js +0 -4
  760. package/dist/esm/controller-icon-e363322f.js.map +0 -1
  761. package/dist/esm/custom-class-ac49545a.js +0 -4
  762. package/dist/esm/disabled-dad7478c.js +0 -4
  763. package/dist/esm/icons-e1a5023e.js.map +0 -1
  764. package/dist/esm/prop.validators-9feb1d92.js +0 -4
  765. package/dist/esm/prop.validators-9feb1d92.js.map +0 -1
  766. package/dist/esm/spell-check-60fa0b9f.js +0 -4
  767. package/dist/kolibri/Collapsible-01dec088.js +0 -4
  768. package/dist/kolibri/FormFieldMsg-ac8ab6bc.js +0 -4
  769. package/dist/kolibri/InternalUnderlinedBadgeText-6c36269d.js +0 -4
  770. package/dist/kolibri/access-and-short-key-9cca88b8.js +0 -4
  771. package/dist/kolibri/align-82100bda.js +0 -4
  772. package/dist/kolibri/app-globals-c28e84c1.js +0 -4
  773. package/dist/kolibri/aria-expanded-ec1ec6df.js +0 -4
  774. package/dist/kolibri/badge-text-16dedc1b.js +0 -4
  775. package/dist/kolibri/controller-964599c0.js +0 -4
  776. package/dist/kolibri/controller-964599c0.js.map +0 -1
  777. package/dist/kolibri/controller-icon-e363322f.js +0 -4
  778. package/dist/kolibri/controller-icon-e363322f.js.map +0 -1
  779. package/dist/kolibri/custom-class-ac49545a.js +0 -4
  780. package/dist/kolibri/has-closer-a4e62c58.js +0 -4
  781. package/dist/kolibri/has-counter-a43c36ef.js +0 -4
  782. package/dist/kolibri/hide-label-429a15ea.js +0 -4
  783. package/dist/kolibri/href-d8ec67f8.js +0 -4
  784. package/dist/kolibri/icons-e1a5023e.js +0 -4
  785. package/dist/kolibri/icons-e1a5023e.js.map +0 -1
  786. package/dist/kolibri/image-source-320efd4f.js +0 -4
  787. package/dist/kolibri/label-d0315384.js +0 -4
  788. package/dist/kolibri/open-20d08415.js +0 -4
  789. package/dist/kolibri/prop.validators-9feb1d92.js +0 -4
  790. package/dist/kolibri/prop.validators-9feb1d92.js.map +0 -1
  791. package/dist/kolibri/rows-26af6558.js +0 -4
  792. package/dist/kolibri/show-484b637e.js +0 -4
  793. package/dist/kolibri/spell-check-60fa0b9f.js +0 -4
  794. package/dist/kolibri/tooltip-align-3e629203.js +0 -4
  795. package/dist/kolibri/validation-14b61e5a.js +0 -4
  796. /package/dist/kolibri/{Alert-9ed7965c.js.map → Alert-19c2deb0.js.map} +0 -0
  797. /package/dist/kolibri/{Collapsible-01dec088.js.map → Collapsible-6b1e0807.js.map} +0 -0
  798. /package/dist/kolibri/{FormFieldMsg-ac8ab6bc.js.map → FormFieldMsg-b4d8844e.js.map} +0 -0
  799. /package/dist/kolibri/{InternalUnderlinedBadgeText-6c36269d.js.map → InternalUnderlinedBadgeText-485d7878.js.map} +0 -0
  800. /package/dist/kolibri/{access-and-short-key-9cca88b8.js.map → access-and-short-key-e094398d.js.map} +0 -0
  801. /package/dist/kolibri/{align-82100bda.js.map → align-878fb132.js.map} +0 -0
  802. /package/dist/kolibri/{app-globals-c28e84c1.js.map → app-globals-3f955ac9.js.map} +0 -0
  803. /package/dist/kolibri/{aria-expanded-ec1ec6df.js.map → aria-expanded-9f877821.js.map} +0 -0
  804. /package/dist/kolibri/{associated.controller-52d302aa.js.map → associated.controller-5bee50ee.js.map} +0 -0
  805. /package/dist/kolibri/{badge-text-16dedc1b.js.map → badge-text-65c680b2.js.map} +0 -0
  806. /package/dist/kolibri/{color-62f7b76a.js.map → color-4da01fff.js.map} +0 -0
  807. /package/dist/kolibri/{controller-8eb39b13.js.map → controller-1a0e05c9.js.map} +0 -0
  808. /package/dist/kolibri/{controller-07000871.js.map → controller-96d99a72.js.map} +0 -0
  809. /package/dist/kolibri/{controller-a2550e7a.js.map → controller-a3c1b90d.js.map} +0 -0
  810. /package/dist/kolibri/{controller-9c6419a9.js.map → controller-afbd59b5.js.map} +0 -0
  811. /package/dist/kolibri/{custom-class-ac49545a.js.map → custom-class-cedc9f43.js.map} +0 -0
  812. /package/dist/kolibri/{dev.utils-2043cd7a.js.map → dev.utils-23a59a36.js.map} +0 -0
  813. /package/dist/kolibri/{devtools-64c2666b.js.map → devtools-f3ccf71e.js.map} +0 -0
  814. /package/dist/kolibri/{disabled-dad7478c.js.map → disabled-e9084205.js.map} +0 -0
  815. /package/dist/kolibri/{events-8ec9ecc6.js.map → events-5b899bd2.js.map} +0 -0
  816. /package/dist/kolibri/{has-closer-a4e62c58.js.map → has-closer-abdab7af.js.map} +0 -0
  817. /package/dist/kolibri/{has-counter-a43c36ef.js.map → has-counter-23a7a06b.js.map} +0 -0
  818. /package/dist/kolibri/{hide-label-429a15ea.js.map → hide-label-8c202307.js.map} +0 -0
  819. /package/dist/kolibri/{href-d8ec67f8.js.map → href-cec41fcd.js.map} +0 -0
  820. /package/dist/kolibri/{image-source-320efd4f.js.map → image-source-90db908f.js.map} +0 -0
  821. /package/dist/kolibri/{label-d0315384.js.map → label-e8ec0e3a.js.map} +0 -0
  822. /package/dist/kolibri/{open-20d08415.js.map → open-7e16be6b.js.map} +0 -0
  823. /package/dist/kolibri/{rows-26af6558.js.map → rows-3e585d8f.js.map} +0 -0
  824. /package/dist/kolibri/{show-484b637e.js.map → show-6d1c1b72.js.map} +0 -0
  825. /package/dist/kolibri/{spell-check-60fa0b9f.js.map → spell-check-cb87a985.js.map} +0 -0
  826. /package/dist/kolibri/{suggestions-f139f5ec.js.map → suggestions-b6fd51c8.js.map} +0 -0
  827. /package/dist/kolibri/{tooltip-align-3e629203.js.map → tooltip-align-5902aa96.js.map} +0 -0
  828. /package/dist/kolibri/{validation-14b61e5a.js.map → validation-3745ed01.js.map} +0 -0
  829. /package/dist/kolibri/{validation-0c197148.js.map → validation-3ba0e439.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"validation-14b61e5a.js","mappings":";;;;;;MAKa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAoB;IAC3F,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAoB;QACpB,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KACxE,EACD,IAAI,GAAG,CAAC,CAAC,WAAW,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EACtD,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { HeadingLevel } from '../../schema';\nimport { headingLevelOptions, watchValidator } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: HeadingLevel): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value?: HeadingLevel): boolean => {\n\t\t\treturn typeof value === 'number' && headingLevelOptions.includes(value);\n\t\t},\n\t\tnew Set([`Number {${headingLevelOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\n\t\t},\n\t);\n};\n"],"version":3}
1
+ {"file":"validation-3745ed01.js","mappings":";;;;;;MAKa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAoB;IAC3F,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAoB;QACpB,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KACxE,EACD,IAAI,GAAG,CAAC,CAAC,WAAW,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EACtD,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { HeadingLevel } from '../../schema';\nimport { headingLevelOptions, watchValidator } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: HeadingLevel): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value?: HeadingLevel): boolean => {\n\t\t\treturn typeof value === 'number' && headingLevelOptions.includes(value);\n\t\t},\n\t\tnew Set([`Number {${headingLevelOptions.join(', ')}`]),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\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{g as watchJsonArrayString,h as uiUxHintMillerscheZahl}from"./prop.validators-9feb1d92.js";const watchNavLinks=(t,a,s)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),s),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
4
+ import{g as watchJsonArrayString,h as uiUxHintMillerscheZahl}from"./prop.validators-64749272.js";const watchNavLinks=(t,a,s)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),s),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
@@ -1 +1 @@
1
- {"file":"validation-0c197148.js","mappings":";;;;;MAOa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { HrefProp, LabelProp, Stringified } from '../../schema';\nimport { uiUxHintMillerscheZahl, watchJsonArrayString } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>,\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue,\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
1
+ {"file":"validation-3ba0e439.js","mappings":";;;;;MAOa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { HrefProp, LabelProp, Stringified } from '../../schema';\nimport { uiUxHintMillerscheZahl, watchJsonArrayString } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>,\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue,\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{_ as o}from"./tslib.es6-2e5096f8.js";import{h as e}from"./index-5347a9df.js";import{c as a}from"./clsx-09a06a12.js";import{t as l}from"./i18n-5fe08f1c.js";import{g as c,b as i,c as s}from"./component-names-6ca7e863.js";import{L as n}from"./dev.utils-fab45cbc.js";const r=({ariaLabel:o,icon:a})=>e(c,{class:"heading-icon",_label:o,_icons:a}),t=({type:o,label:a})=>{switch(o){case"error":return e(r,{ariaLabel:l("kol-error"),icon:"codicon codicon-error",label:a});case"info":return e(r,{ariaLabel:l("kol-info"),icon:"codicon codicon-info",label:a});case"warning":return e(r,{ariaLabel:l("kol-warning"),icon:"codicon codicon-warning",label:a});case"success":return e(r,{ariaLabel:l("kol-success"),icon:"codicon codicon-pass",label:a});default:return e(r,{ariaLabel:l("kol-message"),icon:"codicon codicon-comment",label:a})}},d=t,b=(c,r)=>{const{class:t={},type:b="default",variant:m="msg",label:u,hasCloser:f,alert:v,onAlertTimeout:g,onCloserClick:p,level:h}=c,_=o(c,["class","type","variant","label","hasCloser","alert","onAlertTimeout","onCloserClick","level"]);if(v){try{n.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){n.debug("Navigator does not support vibration.")}setTimeout((()=>{null==g||g()}),1e4)}const k=Object.assign({class:a("kol-alert-wc","alert",b,m,{hasCloser:!!f},t),role:v?"alert":void 0},_);return e("div",Object.assign({},k),e("div",{class:"heading"},e(d,{label:u,type:b}),e("div",{class:"heading-content"},u?e(i,{_label:u,_level:h}):null,"msg"===m&&e("div",{class:"content"},r)),f&&e(s,{class:"close",_ariaDescription:(null==u?void 0:u.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:l("kol-close-alert"),_on:{onClick:p},_tooltipAlign:"left"})),"card"===m&&e("div",{class:"content"},r))},m=b;export{m as K};
4
+ import{_ as o}from"./tslib.es6-2e5096f8.js";import{h as e}from"./index-5e0804e6.js";import{c as a}from"./clsx-09a06a12.js";import{t as l}from"./i18n-5fe08f1c.js";import{g as c,b as i,c as s}from"./component-names-6ca7e863.js";import{L as n}from"./dev.utils-fab45cbc.js";const r=({ariaLabel:o,icon:a})=>e(c,{class:"heading-icon",_label:o,_icons:a}),t=({type:o,label:a})=>{switch(o){case"error":return e(r,{ariaLabel:l("kol-error"),icon:"codicon codicon-error",label:a});case"info":return e(r,{ariaLabel:l("kol-info"),icon:"codicon codicon-info",label:a});case"warning":return e(r,{ariaLabel:l("kol-warning"),icon:"codicon codicon-warning",label:a});case"success":return e(r,{ariaLabel:l("kol-success"),icon:"codicon codicon-pass",label:a});default:return e(r,{ariaLabel:l("kol-message"),icon:"codicon codicon-comment",label:a})}},d=t,b=(c,r)=>{const{class:t={},type:b="default",variant:m="msg",label:u,hasCloser:v,alert:f,onAlertTimeout:g,onCloserClick:p,level:h}=c,_=o(c,["class","type","variant","label","hasCloser","alert","onAlertTimeout","onCloserClick","level"]);if(f){try{n.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){n.debug("Navigator does not support vibration.")}setTimeout((()=>{null==g||g()}),1e4)}const k=Object.assign({class:a("kol-alert-wc","alert",b,m,{hasCloser:!!v},t),role:f?"alert":void 0},_);return e("div",Object.assign({},k),e("div",{class:"heading"},e(d,{label:u,type:b}),e("div",{class:"heading-content"},u?e(i,{_label:u,_level:h}):null,"msg"===m&&e("div",{class:"content"},r)),v&&e(s,{class:"close",_ariaDescription:(null==u?void 0:u.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:l("kol-close-alert"),_on:{onClick:p},_tooltipAlign:"left"})),"card"===m&&e("div",{class:"content"},r))},m=b;export{m as K};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{_ as l}from"./tslib.es6-2e5096f8.js";import{h as o}from"./index-5e0804e6.js";import{c as e}from"./clsx-09a06a12.js";import{b as i,c as s}from"./component-names-6ca7e863.js";const n=(a,n)=>{const{id:d,class:c,label:r,level:t=1,disabled:p,open:_,onClick:b,HeadingProps:v={},HeadingButtonProps:m={},ContentProps:u={}}=a,f=l(a,["id","class","label","level","disabled","open","onClick","HeadingProps","HeadingButtonProps","ContentProps"]),C=_?"remove":"add";return o("div",Object.assign({id:d,class:e("collapsible",{disabled:!0===p,open:!0===_},c)},f),o(i,{ref:null==v?void 0:v.ref,_label:"",_level:t,class:e("collapsible__heading",null==v?void 0:v.class)},o(s,{class:e("collapsible__heading-button",null==m?void 0:m.class),ref:null==m?void 0:m.ref,slot:"expert",_ariaControls:`${d}-control`,_ariaExpanded:_,_disabled:p,_icons:(null==m?void 0:m._icons)||`codicon codicon-${C}`,_label:r,_on:{onClick:b}})),o("div",{class:e("collapsible__wrapper",null==u?void 0:u.wrapperClass)},o("div",{class:e("collapsible__wrapper-animation",null==u?void 0:u.animationClass)},o("div",{"aria-hidden":!1===_?"true":void 0,class:e("collapsible__content",null==u?void 0:u.class),id:`${d}-control`},n))))},a=n;export{a as K};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as r}from"./clsx-09a06a12.js";import{h as e}from"./index-5e0804e6.js";import{K as t}from"./Alert-19c2deb0.js";function o(r){return Object.entries(r).reduce(((r,[e,s])=>{const t=e.startsWith("_")?e.slice(1):e;return Object.assign(Object.assign({},r),{[t]:s})}),{})}const s=({_alert:s,_msg:i,_hideError:n,_id:c})=>{const a=o(i||{});return e(t,Object.assign({id:`${c}-error`,alert:s,type:"error",class:r({error:!0,"visually-hidden":!0===n})},a),(null==i?void 0:i._description)||void 0)},n=s;export{n as K};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as l,F as e}from"./index-5e0804e6.js";const n=({badgeText:t,label:n})=>{const s=t;let[o,...a]=n.split(s);return 0===a.length&&(t=s.toUpperCase(),[o,...a]=n.split(s)),0===a.length&&(t=s.toLowerCase(),[o,...a]=n.split(s)),l(e,null,o,a.length?l(e,null,l("u",null,t),a.join(s)):null)};export{n as I};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as a,k as s,a as t}from"./prop.validators-64749272.js";const e=(e,s)=>{a(e,"_accessKey",s)},o={hooks:{afterPatch:a=>{-1!==a&&0!==a&&t("Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},r=(a,e)=>{s(a,"_tabIndex",e,o)},n=(e,s)=>{a(e,"_shortKey",s)},c=(a,e)=>{if(a&&e)throw new Error("AccessKey and ShortKey are used. Only one is allowed.")};export{c as a,n as b,r as c,e as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{w as t}from"./prop.validators-64749272.js";const o=(o,a,e)=>{t(o,a,(t=>"string"==typeof t&&n.includes(t)),new Set(n),e,{defaultValue:"top"})},s=["left","right"],a=["top","bottom"],n=[...s,...a],e=(t,a)=>{o(t,"_align",a)};export{e as a,o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{n as o,b as t}from"./index-da3e0c00.js";import{a as e}from"./index-5e0804e6.js";import{L as s}from"./dev.utils-fab45cbc.js";e((e=>{try{e.shadowRoot instanceof ShadowRoot&&o(e,t(e))}catch(o){}return"default"})),import("./devtools-f3ccf71e.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{s.error(o)}));const c=()=>{},f=c,n=f;export{n as g};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{w as t,i as a,b as o}from"./prop.validators-64749272.js";const i=["button","link","tab","treeitem"],s=(a,e)=>{t(a,"_role",(t=>"string"==typeof t&&i.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${i.join(", ")}`]),e)},e=(i,t)=>{a(i,"_ariaDescription",t)},n=(i,t)=>{o(i,"_ariaExpanded",t)};export{n as a,s as b,e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{a as t}from"./dev.utils-fab45cbc.js";import{i as e,j as i,l as s}from"./prop.validators-9feb1d92.js";const o=(t,i,s)=>{e(t,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(e,s,o){var r,n,l;if(this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=e,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&e._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
4
+ import{a as t}from"./dev.utils-fab45cbc.js";import{i as e,j as i,l as s}from"./prop.validators-64749272.js";const o=(t,i,s)=>{e(t,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(e,s,o){var r,n,l;if(this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=e,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&e._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as o}from"./prop.validators-64749272.js";const a=(a,r)=>{o(a,"_badgeText",r)};export{a as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as e}from"./dev.utils-fab45cbc.js";import{r,d as a,w as t,a as n}from"./prop.validators-9feb1d92.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},o=l,i=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,t=[],n=1;if("string"==typeof e)if(e=e.toLowerCase(),o[e])t=o[e].slice(),a="rgb";else if("transparent"===e)n=0,a="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var l=e.slice(1);n=1,(g=l.length)<=4?(t=[parseInt(l[0]+l[0],16),parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16)],4===g&&(n=parseInt(l[3]+l[3],16)/255)):(t=[parseInt(l[0]+l[1],16),parseInt(l[2]+l[3],16),parseInt(l[4]+l[5],16)],8===g&&(n=parseInt(l[6]+l[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var i=r[1],u="rgb"===i;a=l=i.replace(/a$/,"");var g="cmyk"===l?4:"gray"===l?1:3;t=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===l?255*parseFloat(e)/100:parseFloat(e);if("h"===l[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),i===l&&t.push(1),n=u||void 0===t[g]?1:t[g],t=t.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(t=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(t=[e[0],e[1],e[2]],a="rgb",n=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",t=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",t=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),n=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(n/=100)):(a="rgb",t=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:t,alpha:n}}var g=i,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=f,h=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,p=(e,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=a(r.hex(`rgba(${e.join(",")},1)`),r.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:e,foreground:l,contrast:i}:p(e,l,t,n)},y=new Map,b=(e,r,a,o=1)=>{if(y.has(e))return y.get(e);const t=p(e,r,a,o);return y.set(e,t),t},v=(e,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof e?(o=c(e),t=o):"object"==typeof e&&null!==e&&"string"==typeof e.background&&"string"==typeof e.foreground&&(o=c(e.background),t="string"==typeof e.foreground?c(e.foreground):o);const n=h(o[0],o[1],o[2]),l=b([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:r.hex(`rgba(${o.join(",")})`),foreground:r.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},m=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function k(e){return m.test(e)}function w(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if($(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function M(e){if(e)if("string"==typeof e){if(k(e))return{type:"string",valid:!0,value:e};{const r=w(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if($(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function $(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function q(e){const r=M(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const I=(e,r,a)=>{t(e,"_color",q,new Set(["rgb in hex","ColorPair"]),r,a)},A=r=>{var a;let o;const t=M(r);switch(t.type){case"string":o=v(t.value);break;case"ColorPair":{const e=t.value;let r="";"string"==typeof e.foregroundColor?r=e.foregroundColor:(null===(a=e.foregroundColor)||void 0===a?void 0:a.primary)&&(r=e.foregroundColor.primary),r&&"string"==typeof r||(r="#fff"),o=v({background:e.backgroundColor,foreground:r});break}case null:e.warn(`_color was empty or invalid (${JSON.stringify(r)})`,{forceLog:!0}),o=v({background:"#000",foreground:"#000"})}return o.contrast<7&&n(`[KolBadge] The contrast of ${o.contrast} (≥7, AAA) is to low, between the color pair ${o.background} and ${o.foreground}.`),{backgroundColor:o.background,foregroundColor:o.foreground}};export{c,A as h,I as v};
4
+ import{L as e}from"./dev.utils-fab45cbc.js";import{r,d as a,w as t,a as n}from"./prop.validators-64749272.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},o=l,i=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,t=[],n=1;if("string"==typeof e)if(e=e.toLowerCase(),o[e])t=o[e].slice(),a="rgb";else if("transparent"===e)n=0,a="rgb",t=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var l=e.slice(1);n=1,(g=l.length)<=4?(t=[parseInt(l[0]+l[0],16),parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16)],4===g&&(n=parseInt(l[3]+l[3],16)/255)):(t=[parseInt(l[0]+l[1],16),parseInt(l[2]+l[3],16),parseInt(l[4]+l[5],16)],8===g&&(n=parseInt(l[6]+l[7],16)/255)),t[0]||(t[0]=0),t[1]||(t[1]=0),t[2]||(t[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var i=r[1],u="rgb"===i;a=l=i.replace(/a$/,"");var g="cmyk"===l?4:"gray"===l?1:3;t=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===l?255*parseFloat(e)/100:parseFloat(e);if("h"===l[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),i===l&&t.push(1),n=u||void 0===t[g]?1:t[g],t=t.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(t=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(t=[e[0],e[1],e[2]],a="rgb",n=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",t=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",t=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),n=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(n/=100)):(a="rgb",t=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:t,alpha:n}}var g=i,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=f,h=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,p=(e,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=a(r.hex(`rgba(${e.join(",")},1)`),r.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:e,foreground:l,contrast:i}:p(e,l,t,n)},y=new Map,b=(e,r,a,o=1)=>{if(y.has(e))return y.get(e);const t=p(e,r,a,o);return y.set(e,t),t},v=(e,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof e?(o=c(e),t=o):"object"==typeof e&&null!==e&&"string"==typeof e.background&&"string"==typeof e.foreground&&(o=c(e.background),t="string"==typeof e.foreground?c(e.foreground):o);const n=h(o[0],o[1],o[2]),l=b([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:r.hex(`rgba(${o.join(",")})`),foreground:r.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},m=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function k(e){return m.test(e)}function w(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if($(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function M(e){if(e)if("string"==typeof e){if(k(e))return{type:"string",valid:!0,value:e};{const r=w(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if($(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function $(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function q(e){const r=M(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const I=(e,r,a)=>{t(e,"_color",q,new Set(["rgb in hex","ColorPair"]),r,a)},A=r=>{var a;let o;const t=M(r);switch(t.type){case"string":o=v(t.value);break;case"ColorPair":{const e=t.value;let r="";"string"==typeof e.foregroundColor?r=e.foregroundColor:(null===(a=e.foregroundColor)||void 0===a?void 0:a.primary)&&(r=e.foregroundColor.primary),r&&"string"==typeof r||(r="#fff"),o=v({background:e.backgroundColor,foreground:r});break}case null:e.warn(`_color was empty or invalid (${JSON.stringify(r)})`,{forceLog:!0}),o=v({background:"#000",foreground:"#000"})}return o.contrast<7&&n(`[KolBadge] The contrast of ${o.contrast} (≥7, AAA) is to low, between the color pair ${o.background} and ${o.foreground}.`),{backgroundColor:o.background,foregroundColor:o.foreground}};export{c,A as h,I as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{s as t,t as i}from"./events-29e84d75.js";import{A as s}from"./associated.controller-52d302aa.js";import{b as e,o,p as h,w as a,c as r,a as n,i as l,j as d,s as u}from"./prop.validators-9feb1d92.js";import{v as c,a as f,b as p,c as v}from"./access-and-short-key-9cca88b8.js";import{v as m}from"./hide-label-429a15ea.js";import{a as y}from"./label-d0315384.js";import{a as b}from"./common-0f1f2276.js";import{v as g}from"./tooltip-align-3e629203.js";const _=(t,o)=>{e(t,"_adjustHeight",o)},j=(t,o,n)=>{e(t,"_hideError",o,n)},k=(t,e)=>{o(e,(()=>{try{e=h(e)}catch(t){}a(t,"_msg",(t=>b(t)&&"string"==typeof(null==t?void 0:t._description)),new Set(["MsgPropType"]),e,{defaultValue:{_description:"",_type:"error"}})}))},x=(t,o)=>{e(t,"_touched",o)},A=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class B extends s{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(t){e(this.component,"_alert",t)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class E extends B{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){c(this.component,t),f(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&r()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){l(this.component,"_hint",t)}validateId(t){l(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||d("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){y(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&u(this.component,"_on",t)}validateShortKey(t){p(this.component,t),f(this.component._accessKey,t)}validateSmartButton(t){o(t,(()=>{try{t=h(t)}catch(t){}u(this.component,"_smartButton",t)}))}validateTabIndex(t){v(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),f(this.component._accessKey,this.component._shortKey)}onBlur(o){var e;this.component._touched=!0,t(o),i("blur",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onBlur)&&this.component._on.onBlur(o)}onChange(t,o){var e;o=null!=o?o:t.target.value,i("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onInput(o,e=!0,n){var s;n=null!=n?n:o.target.value,t(o),i("input",this.host,n),e&&this.setFormAssociatedValue(n),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onInput)&&this.component._on.onInput(o,n)}onClick(o){var e;t(o),i("click",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onClick)&&this.component._on.onClick(o)}onFocus(o){var e;t(o),i("focus",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onFocus)&&this.component._on.onFocus(o)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{E as I,A as g};
4
+ import{s as t,t as i}from"./events-29e84d75.js";import{A as s}from"./associated.controller-5bee50ee.js";import{b as e,o,p as h,w as a,c as r,a as n,i as l,j as d,s as u}from"./prop.validators-64749272.js";import{v as c,a as f,b as p,c as v}from"./access-and-short-key-e094398d.js";import{v as m}from"./hide-label-8c202307.js";import{a as y}from"./label-e8ec0e3a.js";import{a as b}from"./common-0f1f2276.js";import{v as g}from"./tooltip-align-5902aa96.js";const _=(t,o)=>{e(t,"_adjustHeight",o)},j=(t,o,n)=>{e(t,"_hideError",o,n)},k=(t,e)=>{o(e,(()=>{try{e=h(e)}catch(t){}a(t,"_msg",(t=>b(t)&&"string"==typeof(null==t?void 0:t._description)),new Set(["MsgPropType"]),e,{defaultValue:{_description:"",_type:"error"}})}))},x=(t,o)=>{e(t,"_touched",o)},A=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class B extends s{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(t){e(this.component,"_alert",t)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class E extends B{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){c(this.component,t),f(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&r()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){l(this.component,"_hint",t)}validateId(t){l(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||d("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){y(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&u(this.component,"_on",t)}validateShortKey(t){p(this.component,t),f(this.component._accessKey,t)}validateSmartButton(t){o(t,(()=>{try{t=h(t)}catch(t){}u(this.component,"_smartButton",t)}))}validateTabIndex(t){v(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),f(this.component._accessKey,this.component._shortKey)}onBlur(o){var e;this.component._touched=!0,t(o),i("blur",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onBlur)&&this.component._on.onBlur(o)}onChange(t,o){var e;o=null!=o?o:t.target.value,i("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onInput(o,e=!0,n){var s;n=null!=n?n:o.target.value,t(o),i("input",this.host,n),e&&this.setFormAssociatedValue(n),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onInput)&&this.component._on.onInput(o,n)}onClick(o){var e;t(o),i("click",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onClick)&&this.component._on.onClick(o)}onFocus(o){var e;t(o),i("focus",this.host),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onFocus)&&this.component._on.onFocus(o)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{E as I,A as g};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{I as t}from"./controller-1a0e05c9.js";import{a as e,g as s,b as i,w as a,s as r}from"./prop.validators-64749272.js";import{b as o,c as n}from"./label-e8ec0e3a.js";const l=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===o(t.label,3)&&!1===n(t.label)&&e(`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===l(t)));if("number"==typeof t.label)return!0}return!1},f=(t,e,o={})=>{s(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),e,void 0,o)},h=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},c=(t,e)=>{i(t,"_required",e)},u=["horizontal","vertical"],p=(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)?p(t,e.options,i):t.set(i,e))}))};class d extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){c(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class b extends d{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(),p(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",(t=>"string"==typeof t&&u.includes(t)),new Set([`Orientation {${u.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){f(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(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{d as I,b as a,f as b,p as f,h as v};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateInputSelectOptions","option","label","length","disabled","trim","hasEnoughReadableChars","containsOnlyNumbers","a11yHint","Array","isArray","options","find","item","undefined","validateOptions","component","value","watchJsonArrayString","validateOptionsWithOptgroup","validateRequired","watchBoolean","orientationOptions","fillKeyOptionMap","keyOptionMap","preKey","forEach","index","key","set","InputCheckboxRadioController","InputController","constructor","name","host","super","this","componentWillLoad","_required","InputRadioController","Map","getOptionByKey","get","afterPatchOptions","_state","_component","setFormAssociatedValue","beforePatchOptions","_value","nextState","has","state","_options","clear","validateOrientation","watchValidator","includes","Set","join","defaultValue","hooks","afterPatch","beforePatch","validateValue","setState","_orientation"],"sources":["src/schema/validators/options.ts","src/schema/props/options.ts","src/schema/props/required.ts","src/schema/types/orientation.ts","src/components/input-radio/controller.ts"],"sourcesContent":["import { containsOnlyNumbers, hasEnoughReadableChars } from '../props';\nimport { a11yHint } from '../utils';\n\nimport type { Optgroup, SelectOption } from '../types';\nexport const validateInputSelectOptions = <T>(option: SelectOption<T>): boolean => {\n\tif (typeof option === 'object' && option !== null) {\n\t\tif (typeof option.label === 'string' && option.label.length > 0) {\n\t\t\toption.disabled = option.disabled === true;\n\t\t\toption.label = `${option.label}`.trim();\n\t\t\tif (hasEnoughReadableChars(option.label, 3) === false && containsOnlyNumbers(option.label) === false) {\n\t\t\t\ta11yHint(`A differing Aria-Label (${option.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`);\n\t\t\t}\n\t\t\tif (Array.isArray((option as Optgroup<T>).options)) {\n\t\t\t\treturn (\n\t\t\t\t\t(option as Optgroup<T>).options.find((item) => {\n\t\t\t\t\t\treturn validateInputSelectOptions(item) === false;\n\t\t\t\t\t}) === undefined\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn true;\n\t\t} else if (typeof option.label === 'number') {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { RadioOption, Optgroup, Option, StencilUnknown } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { watchJsonArrayString } from '../utils';\nimport { validateInputSelectOptions } from '../validators';\n\n/* types */\n\nexport type OptionsPropType = Stringified<Option<StencilUnknown>[]>;\nexport type OptionsWithOptgroupPropType = Stringified<(Option<StencilUnknown> | Optgroup<StencilUnknown>)[]>;\nexport type RadioOptionsPropType = Stringified<RadioOption<StencilUnknown>[]>;\n\n/**\n * Options the user can choose from.\n */\nexport type PropOptions = {\n\toptions: OptionsPropType;\n};\n\nexport type PropRadioOptions = {\n\toptions: RadioOptionsPropType;\n};\n\n/**\n * Options the user can choose from, also supporting Optgroup.\n */\nexport type PropOptionsWithOptgroup = {\n\toptions: OptionsWithOptgroupPropType;\n};\n\n/* validators */\n\nexport const validateOptions = (component: Generic.Element.Component, value: OptionsPropType | undefined, options: WatchOptions = {}): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_options',\n\t\t(item: Option<StencilUnknown>) => typeof item === 'object' && item !== null && typeof item.label === 'string' && item.label.length > 0,\n\t\tvalue,\n\t\tundefined,\n\t\toptions,\n\t);\n};\n\nexport const validateOptionsWithOptgroup = (\n\tcomponent: Generic.Element.Component,\n\tvalue: OptionsWithOptgroupPropType | undefined,\n\toptions: WatchOptions = {},\n) => {\n\twatchJsonArrayString(component, '_options', validateInputSelectOptions, value, undefined, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\ntype RequiredPropType = boolean;\n\n/**\n * Makes the input element required.\n */\nexport type PropRequired = {\n\trequired: RequiredPropType;\n};\n\n/* validator */\nexport const validateRequired = (component: Generic.Element.Component, value?: RequiredPropType): void => {\n\twatchBoolean(component, '_required', value);\n};\n","export const orientationOptions = ['horizontal', 'vertical'] as const;\nexport type Orientation = (typeof orientationOptions)[number];\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tInputRadioProps,\n\tInputRadioWatches,\n\tOptgroup,\n\tOptionsPropType,\n\tOrientation,\n\tPropLabelWithExpertSlot,\n\tRadioOption,\n\tSelectOption,\n\tStencilUnknown,\n\tStringified,\n\tW3CInputValue,\n} from '../../schema';\nimport { orientationOptions, setState, validateOptions, validateRequired, watchValidator } from '../../schema';\n\nimport { InputController } from '../@deprecated/input/controller';\n\nexport const fillKeyOptionMap = <T>(keyOptionMap: Map<string, RadioOption<T>>, options: SelectOption<T>[], preKey = ''): void => {\n\toptions.forEach((option, index) => {\n\t\tconst key = `${preKey}-${index}`;\n\t\tif (typeof option === 'object' && option !== null && typeof option.label === 'string' && option.label.length > 0) {\n\t\t\tif (Array.isArray((option as Optgroup<T>).options)) {\n\t\t\t\tfillKeyOptionMap(keyOptionMap, (option as Optgroup<T>).options, key);\n\t\t\t} else {\n\t\t\t\tkeyOptionMap.set(key, option as RadioOption<T>);\n\t\t\t}\n\t\t}\n\t});\n};\n\ntype RequiredProps = PropLabelWithExpertSlot;\ntype OptionalProps = {\n\trequired: boolean;\n};\ntype InputCheckboxRadioProps = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype InputCheckboxRadioWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport class InputCheckboxRadioController extends InputController implements InputCheckboxRadioWatches {\n\tprotected readonly component: Generic.Element.Component & InputCheckboxRadioProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputCheckboxRadioProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateRequired(value?: boolean): void {\n\t\tvalidateRequired(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateRequired(this.component._required);\n\t}\n}\n\nexport class InputRadioController extends InputCheckboxRadioController implements InputRadioWatches {\n\tprotected readonly component: Generic.Element.Component & InputRadioProps;\n\tprivate readonly keyOptionMap = new Map<string, RadioOption<W3CInputValue>>();\n\n\tpublic constructor(component: Generic.Element.Component & InputRadioProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic readonly getOptionByKey = (key: string): RadioOption<W3CInputValue> | undefined => this.keyOptionMap.get(key);\n\n\tprotected readonly afterPatchOptions = (value: unknown, _state: Record<string, unknown>, _component: Generic.Element.Component, key: string): void => {\n\t\tif (key === '_value') {\n\t\t\tthis.setFormAssociatedValue(value as string);\n\t\t}\n\t};\n\n\tpublic validateOrientation(value?: Orientation): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_orientation',\n\t\t\t(value): boolean => typeof value === 'string' && orientationOptions.includes(value),\n\t\t\tnew Set([`Orientation {${orientationOptions.join(', ')}`]),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\tdefaultValue: 'vertical',\n\t\t\t},\n\t\t);\n\t}\n\n\tprotected readonly beforePatchOptions = (_value: unknown, nextState: Map<string, unknown>): void => {\n\t\tconst options = nextState.has('_options') ? nextState.get('_options') : this.component.state._options;\n\t\tif (Array.isArray(options) && options.length > 0) {\n\t\t\tthis.keyOptionMap.clear();\n\t\t\tfillKeyOptionMap(this.keyOptionMap, options as SelectOption<W3CInputValue>[]);\n\t\t}\n\t};\n\n\tpublic validateOptions(value?: OptionsPropType): void {\n\t\tvalidateOptions(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterPatchOptions,\n\t\t\t\tbeforePatch: this.beforePatchOptions,\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateValue(value?: Stringified<StencilUnknown>): void {\n\t\tvalue = Array.isArray(value) ? (value[0] as StencilUnknown) : value;\n\t\tsetState(this.component, '_value', value, {\n\t\t\tafterPatch: this.afterPatchOptions,\n\t\t\tbeforePatch: this.beforePatchOptions,\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateOrientation(this.component._orientation);\n\t\tthis.validateOptions(this.component._options);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n"],"mappings":";;;0KAIO,MAAMA,EAAiCC,IAC7C,UAAWA,IAAW,UAAYA,IAAW,KAAM,CAClD,UAAWA,EAAOC,QAAU,UAAYD,EAAOC,MAAMC,OAAS,EAAG,CAChEF,EAAOG,SAAWH,EAAOG,WAAa,KACtCH,EAAOC,MAAQ,GAAGD,EAAOC,QAAQG,OACjC,GAAIC,EAAuBL,EAAOC,MAAO,KAAO,OAASK,EAAoBN,EAAOC,SAAW,MAAO,CACrGM,EAAS,2BAA2BP,EAAOC,yG,CAE5C,GAAIO,MAAMC,QAAST,EAAuBU,SAAU,CACnD,OACEV,EAAuBU,QAAQC,MAAMC,GAC9Bb,EAA2Ba,KAAU,UACtCC,S,CAGT,OAAO,I,MACD,UAAWb,EAAOC,QAAU,SAAU,CAC5C,OAAO,I,EAGT,OAAO,KAAK,E,MCUAa,EAAkB,CAACC,EAAsCC,EAAoCN,EAAwB,MACjIO,EACCF,EACA,YACCH,UAAwCA,IAAS,UAAYA,IAAS,aAAeA,EAAKX,QAAU,UAAYW,EAAKX,MAAMC,OAAS,GACrIc,EACAH,UACAH,EACA,E,MAGWQ,EAA8B,CAC1CH,EACAC,EACAN,EAAwB,MAExBO,EAAqBF,EAAW,WAAYhB,EAA4BiB,EAAOH,UAAWH,EAAQ,ECnC5F,MAAMS,EAAmB,CAACJ,EAAsCC,KACtEI,EAAaL,EAAW,YAAaC,EAAM,EChBrC,MAAMK,EAAqB,CAAC,aAAc,Y,MCmBpCC,EAAmB,CAAIC,EAA2Cb,EAA4Bc,EAAS,MACnHd,EAAQe,SAAQ,CAACzB,EAAQ0B,KACxB,MAAMC,EAAM,GAAGH,KAAUE,IACzB,UAAW1B,IAAW,UAAYA,IAAW,aAAeA,EAAOC,QAAU,UAAYD,EAAOC,MAAMC,OAAS,EAAG,CACjH,GAAIM,MAAMC,QAAST,EAAuBU,SAAU,CACnDY,EAAiBC,EAAevB,EAAuBU,QAASiB,E,KAC1D,CACNJ,EAAaK,IAAID,EAAK3B,E,KAGvB,E,MAUU6B,UAAqCC,EAGjD,WAAAC,CAAmBhB,EAAgEiB,EAAcC,GAChGC,MAAMnB,EAAWiB,EAAMC,GACvBE,KAAKpB,UAAYA,C,CAGX,gBAAAI,CAAiBH,GACvBG,EAAiBgB,KAAKpB,UAAWC,E,CAG3B,iBAAAoB,GACNF,MAAME,oBACND,KAAKhB,iBAAiBgB,KAAKpB,UAAUsB,U,QAI1BC,UAA6BT,EAIzC,WAAAE,CAAmBhB,EAAwDiB,EAAcC,GACxFC,MAAMnB,EAAWiB,EAAMC,GAHPE,KAAAZ,aAAe,IAAIgB,IAOpBJ,KAAAK,eAAkBb,GAAwDQ,KAAKZ,aAAakB,IAAId,GAE7FQ,KAAAO,kBAAoB,CAAC1B,EAAgB2B,EAAiCC,EAAuCjB,KAC/H,GAAIA,IAAQ,SAAU,CACrBQ,KAAKU,uBAAuB7B,E,GAiBXmB,KAAAW,mBAAqB,CAACC,EAAiBC,KACzD,MAAMtC,EAAUsC,EAAUC,IAAI,YAAcD,EAAUP,IAAI,YAAcN,KAAKpB,UAAUmC,MAAMC,SAC7F,GAAI3C,MAAMC,QAAQC,IAAYA,EAAQR,OAAS,EAAG,CACjDiC,KAAKZ,aAAa6B,QAClB9B,EAAiBa,KAAKZ,aAAcb,E,GA5BrCyB,KAAKpB,UAAYA,C,CAWX,mBAAAsC,CAAoBrC,GAC1BsC,EACCnB,KAAKpB,UACL,gBACCC,UAA0BA,IAAU,UAAYK,EAAmBkC,SAASvC,IAC7E,IAAIwC,IAAI,CAAC,gBAAgBnC,EAAmBoC,KAAK,UACjDzC,EACA,CACC0C,aAAc,Y,CAaV,eAAA5C,CAAgBE,GACtBF,EAAgBqB,KAAKpB,UAAWC,EAAO,CACtC2C,MAAO,CACNC,WAAYzB,KAAKO,kBACjBmB,YAAa1B,KAAKW,qB,CAKd,aAAAgB,CAAc9C,GACpBA,EAAQR,MAAMC,QAAQO,GAAUA,EAAM,GAAwBA,EAC9D+C,EAAS5B,KAAKpB,UAAW,SAAUC,EAAO,CACzC4C,WAAYzB,KAAKO,kBACjBmB,YAAa1B,KAAKW,oB,CAIb,iBAAAV,GACNF,MAAME,oBACND,KAAKkB,oBAAoBlB,KAAKpB,UAAUiD,cACxC7B,KAAKrB,gBAAgBqB,KAAKpB,UAAUoC,UACpChB,KAAK2B,cAAc3B,KAAKpB,UAAUgC,O","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as t,k as i,i as s,b as a}from"./prop.validators-9feb1d92.js";import{I as e}from"./controller-icon-e363322f.js";import{v as h}from"./has-counter-a43c36ef.js";const o=["default","visibility-toggle"],r=(e,a)=>{t(e,"_variant",(t=>"string"==typeof t&&o.includes(t)),new Set(o),a)};class l extends e{constructor(t,e,a){super(t,e,a),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&this.component._value.length>0&&(this.component.state._currentLength=this.component._value.length)},this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){h(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){r(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){a(this.component,"_readOnly",t)}validateRequired(t){a(this.component,"_required",t)}validateValue(t){s(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{l as I};
4
+ import{w as t,k as i,i as s,b as a}from"./prop.validators-64749272.js";import{I as e}from"./controller-icon-f9b7e1f9.js";import{v as h}from"./has-counter-23a7a06b.js";const o=["default","visibility-toggle"],r=(e,a)=>{t(e,"_variant",(t=>"string"==typeof t&&o.includes(t)),new Set(o),a)};class l extends e{constructor(t,e,a){super(t,e,a),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&this.component._value.length>0&&(this.component.state._currentLength=this.component._value.length)},this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){h(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){r(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){a(this.component,"_readOnly",t)}validateRequired(t){a(this.component,"_required",t)}validateValue(t){s(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{l as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{m as e}from"./component-names-6ca7e863.js";import{q as o,K as t,j as n}from"./prop.validators-9feb1d92.js";import{a as i,L as s}from"./dev.utils-fab45cbc.js";const f=t=>{for(i()&&(n("↓ Search form element start."),s.debug(t));t instanceof HTMLElement&&"FORM"!==t.tagName&&t.tagName!==e.toUpperCase();){try{t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null}catch(e){}i()&&(s.debug(t),n("↑ Search form element finished."))}return t},a=(n={})=>{var a,s;const i=f(n.form);if(i instanceof HTMLElement){const n=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)o(n,i),i.dispatchEvent(n);else if(i.tagName===e.toUpperCase()){o(n,t.querySelector("form",i));const e=i;"function"==typeof(null===(a=e._on)||void 0===a?void 0:a.onReset)&&(null===(s=e._on)||void 0===s||s.onReset(n))}}},l=(a={})=>{const s=f(a.form);if(s instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:s});if("FORM"===s.tagName)i()&&!1===s.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof s.requestSubmit?s.requestSubmit():(o(a,s),s.dispatchEvent(a))}));else if(s.tagName===e.toUpperCase()){o(a,t.querySelector("form",s));const e=s;setTimeout((()=>{var t,o;"function"==typeof(null===(t=e._on)||void 0===t?void 0:t.onSubmit)&&(null===(o=e._on)||void 0===o||o.onSubmit(a))}))}}};export{a,l as p};
4
+ import{m as e}from"./component-names-6ca7e863.js";import{n as o,K as t,j as n}from"./prop.validators-64749272.js";import{a as i,L as s}from"./dev.utils-fab45cbc.js";const f=t=>{for(i()&&(n("↓ Search form element start."),s.debug(t));t instanceof HTMLElement&&"FORM"!==t.tagName&&t.tagName!==e.toUpperCase();){try{t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null}catch(e){}i()&&(s.debug(t),n("↑ Search form element finished."))}return t},a=(n={})=>{var a,s;const i=f(n.form);if(i instanceof HTMLElement){const n=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)o(n,i),i.dispatchEvent(n);else if(i.tagName===e.toUpperCase()){o(n,t.querySelector("form",i));const e=i;"function"==typeof(null===(a=e._on)||void 0===a?void 0:a.onReset)&&(null===(s=e._on)||void 0===s||s.onReset(n))}}},l=(a={})=>{const s=f(a.form);if(s instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:s});if("FORM"===s.tagName)i()&&!1===s.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof s.requestSubmit?s.requestSubmit():(o(a,s),s.dispatchEvent(a))}));else if(s.tagName===e.toUpperCase()){o(a,t.querySelector("form",s));const e=s;setTimeout((()=>{var t,o;"function"==typeof(null===(t=e._on)||void 0===t?void 0:t.onSubmit)&&(null===(o=e._on)||void 0===o||o.onSubmit(a))}))}}};export{a,l as p};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as s}from"./controller-07000871.js";import{v as t}from"./spell-check-60fa0b9f.js";import{w as e}from"./prop.validators-9feb1d92.js";import{v as o}from"./suggestions-f139f5ec.js";const i=["text","search","url","tel"];class r extends s{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){o(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(e){t(this.component,e)}validateType(t){e(this.component,"_type",(t=>"string"==typeof t&&i.includes(t)),new Set([`String {${i.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
4
+ import{I as s}from"./controller-96d99a72.js";import{v as t}from"./spell-check-cb87a985.js";import{w as e}from"./prop.validators-64749272.js";import{v as o}from"./suggestions-b6fd51c8.js";const i=["text","search","url","tel"];class r extends s{constructor(t,o,e){super(t,o,e),this.component=t}validateSuggestions(t){o(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,o,e){super(t,o,e),this.hasError=!1,this.component=t}validateSpellCheck(o){t(this.component,o)}validateType(t){e(this.component,"_type",(t=>"string"==typeof t&&i.includes(t)),new Set([`String {${i.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{I as s}from"./controller-1a0e05c9.js";import{v as o}from"./icons-c857b77d.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["InputIconController","InputController","constructor","component","name","host","super","this","validateIcons","value","componentWillLoad","_icons"],"sources":["src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { IconsHorizontalPropType } from '../../../schema';\nimport { validateIcons } from '../../../schema';\n\nimport { InputController } from './controller';\n\nimport type { Props, Watches } from './types-icon';\n\nexport class InputIconController extends InputController 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 validateIcons(value?: IconsHorizontalPropType): void {\n\t\tvalidateIcons(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcons(this.component._icons);\n\t}\n}\n"],"mappings":";;;2FASaA,UAA4BC,EAGxC,WAAAC,CAAmBC,EAA8CC,EAAcC,GAC9EC,MAAMH,EAAWC,EAAMC,GACvBE,KAAKJ,UAAYA,C,CAGX,aAAAK,CAAcC,GACpBD,EAAcD,KAAKJ,UAAWM,E,CAGxB,iBAAAC,GACNJ,MAAMI,oBACNH,KAAKC,cAAcD,KAAKJ,UAAUQ,O","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as s}from"./prop.validators-64749272.js";const a=(a,o)=>{s(a,"_customClass",o,{defaultValue:void 0})};export{a as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{E as e}from"./index-5347a9df.js";import{p as t}from"./reuse-32931294.js";import{L as n,g as i,s as o,b as s,c as r,d as a}from"./dev.utils-fab45cbc.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),r(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(m=()=>"nonce");export{l as i,m as n,f as r};
4
+ import{E as e}from"./index-5e0804e6.js";import{p as t}from"./reuse-32931294.js";import{L as n,g as i,s as o,b as s,c as r,d as a}from"./dev.utils-fab45cbc.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),r(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(m=()=>"nonce");export{l as i,m as n,f as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{i as t,r as e}from"./dev.utils-2043cd7a.js";import{e as o,g as s,L as r,a,f as i,d as l}from"./dev.utils-fab45cbc.js";import{z as n,v as d,A as f,B as c,C as p,p as m,D as L}from"./prop.validators-9feb1d92.js";import"./index-5347a9df.js";import"./reuse-32931294.js";import"./index-da3e0c00.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){r.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>r.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(t(),o()){e(),v("a11yColorContrast",n),v("querySelector",d),v("querySelectorAll",f),v("querySelectorColors",c),v("utils",(function(){return p})),v("parseJson",m),v("stringifyJson",L);const t=s().body,r=s().createElement("svg");if(r.setAttribute("aria-label","KoliBri-DevTools"),r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("role","toolbar"),r.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),r.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',s().body.appendChild(r),h("Development mode",o()),h("Experimental mode",a()),h("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{p.queryHtmlElementColors(s().createElement("div"),n(t),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
4
+ import{i as t,r as e}from"./dev.utils-23a59a36.js";import{e as o,g as s,L as r,a,f as i,d as l}from"./dev.utils-fab45cbc.js";import{y as n,t as c,z as f,A as p,B as d,p as m,C as L}from"./prop.validators-64749272.js";import"./index-5e0804e6.js";import"./reuse-32931294.js";import"./index-da3e0c00.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){r.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>r.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(t(),o()){e(),v("a11yColorContrast",n),v("querySelector",c),v("querySelectorAll",f),v("querySelectorColors",p),v("utils",(function(){return d})),v("parseJson",m),v("stringifyJson",L);const t=s().body,r=s().createElement("svg");if(r.setAttribute("aria-label","KoliBri-DevTools"),r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("role","toolbar"),r.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),r.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',s().body.appendChild(r),h("Development mode",o()),h("Experimental mode",a()),h("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{d.queryHtmlElementColors(s().createElement("div"),n(t),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as a,c as o}from"./prop.validators-9feb1d92.js";const s=(s,r)=>{a(s,"_disabled",r,{hooks:{afterPatch:a=>{!0===a&&o()}}})};export{s as v};
4
+ import{b as a,c as o}from"./prop.validators-64749272.js";const s=(s,r)=>{a(s,"_disabled",r,{hooks:{afterPatch:a=>{!0===a&&o()}}})};export{s as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as o,t as n,o as e,p as t,s}from"./prop.validators-9feb1d92.js";import{a}from"./common-0f1f2276.js";const c=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),n)},r=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),n)},l=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_data",a,r)}))}))},f=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_dataFoot",a,r)}))}))},u=(o,e)=>{(o=>o&&a(o)&&"function"==typeof o.label&&(!o.selectedKeys||Array.isArray(o.selectedKeys)))("string"==typeof e?(()=>{try{return t(e)}catch(o){return}})():e)&&s(o,"_selection",e)};var i;!function(o){o.onBlur="onBlur",o.onChange="onChange",o.onClick="onClick",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSort="onSort",o.onSelectionChange="onSelectionChange",o.onSubmit="onSubmit",o.onToggle="onToggle",o.onClose="onClose"}(i||(i={}));export{i as E,f as a,u as b,r as c,c as d,l as v};
4
+ import{w as o,q as n,o as e,p as t,s}from"./prop.validators-64749272.js";import{a}from"./common-0f1f2276.js";const c=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),n)},r=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),n)},l=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_data",a,r)}))}))},f=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_dataFoot",a,r)}))}))},u=(o,e)=>{(o=>o&&a(o)&&"function"==typeof o.label&&(!o.selectedKeys||Array.isArray(o.selectedKeys)))("string"==typeof e?(()=>{try{return t(e)}catch(o){return}})():e)&&s(o,"_selection",e)};var i;!function(o){o.onBlur="onBlur",o.onChange="onChange",o.onClick="onClick",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSort="onSort",o.onSelectionChange="onSelectionChange",o.onSubmit="onSubmit",o.onToggle="onToggle",o.onClose="onClose"}(i||(i={}));export{i as E,f as a,u as b,r as c,c as d,l as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{b as o}from"./prop.validators-64749272.js";const s=(s,r)=>{o(s,"_hasCloser",r)};export{s as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{b as o}from"./prop.validators-64749272.js";const r=(r,s,a)=>{o(r,"_hasCounter",s,a)};export{r as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{b as o}from"./prop.validators-64749272.js";const a=(a,r,s={})=>{o(a,"_hideLabel",r,s)};export{a as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as o}from"./prop.validators-64749272.js";const r=(r,s,a={})=>{o(r,"_href",s,a)};export{r as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{o,p as t,w as e}from"./prop.validators-64749272.js";import{i as n,b as i,a as l}from"./common-0f1f2276.js";const c=(t,o,e)=>{l(e)?t[o]=e:n(e,1)&&(t[o]={icon:e})},f=t=>{let o={};return n(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},s=t=>{var o,e,n;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===(n=t.nextState)||void 0===n||n.set("_icons",f(o))}},a=t=>"object"==typeof t&&null!==t&&(void 0===t.style||i(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),r=(l,i,c={})=>{o(i,(()=>{var o;try{i=t(i)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||n(t,1)||"object"==typeof t&&null!==t&&(n(t.left,1)||a(t.left)||n(t.right,1)||a(t.right)||n(t.top,1)||a(t.top)||n(t.bottom,1)||a(t.bottom))}),new Set(["KoliBriIcon"]),i,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,a;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(a=c.hooks)||void 0===a||a.beforePatch(t,o,e,n)),s(e)}}}))}))};export{r as v};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["mapCustomIcon","state","alignment","icon","isObject","isString","mapIconProp2State","left","top","right","bottom","beforePatchIcon","component","_a","nextState","has","icons","_b","get","_c","set","isIcon","value","style","isStyle","label","validateIcons","options","objectObjectHandler","parseJson","e","watchValidator","valueIsEmptyObject","Object","keys","length","Set","assign","defaultValue","hooks","afterPatch","beforePatch","nextValue","key"],"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"],"mappings":";;;kHA0BA,MAAMA,EAAgB,CAACC,EAA0BC,EAA0BC,KAC1E,GAAIC,EAASD,GAAO,CACnBF,EAAMC,GAAaC,C,MACb,GAAIE,EAASF,EAAM,GAAI,CAC7BF,EAAMC,GAAa,CAClBC,KAAMA,E,GAKF,MAAMG,EAAqBH,IACjC,IAAIF,EAA2B,GAC/B,GAAII,EAASF,EAAM,GAAI,CACtBF,EAAQ,CACPM,KAAM,CACLJ,KAAMA,G,MAGF,UAAWA,IAAS,UAAYA,IAAS,KAAM,CACrDH,EAAcC,EAAO,MAAOE,EAAKK,KACjCR,EAAcC,EAAO,QAASE,EAAKM,OACnCT,EAAcC,EAAO,SAAUE,EAAKO,QACpCV,EAAcC,EAAO,OAAQE,EAAKI,K,CAEnC,OAAON,CAAK,EAGb,MAAMU,EAAmBC,I,UACxB,IAAIC,EAAAD,EAAUE,aAAS,MAAAD,SAAA,SAAAA,EAAEE,IAAI,UAAW,CACvC,MAAMC,GAAQC,EAAAL,EAAUE,aAAS,MAAAG,SAAA,SAAAA,EAAEC,IAAI,WACvCC,EAAAP,EAAUE,aAAS,MAAAK,SAAA,SAAAA,EAAEC,IAAI,SAAUd,EAAkBU,G,GAIhD,MAAMK,EAAUC,UACfA,IAAU,UACjBA,IAAU,cACDA,EAA4BC,QAAU,aAAeC,EAASF,EAA4BC,iBAC1FD,EAA4BG,QAAU,aAAepB,EAAUiB,EAA4BG,SACpGpB,EAAUiB,EAA4BnB,KAAM,G,MAEhCuB,EAAgB,CAACd,EAAsCU,EAAuBK,EAAwB,MAClHC,EAAoBN,GAAO,K,MAC1B,IACCA,EAAQO,EAA4BP,E,CACnC,MAAOQ,G,CAGTC,EACCnB,EACA,UACCU,IACA,MAAMU,SAA4BV,IAAU,UAAYA,IAAU,MAAQW,OAAOC,KAAKZ,GAAOa,SAAW,EACxG,OACCb,IAAU,MACVU,GACA3B,EAASiB,EAAO,WACRA,IAAU,UACjBA,IAAU,OACTjB,EAASiB,EAAMf,KAAM,IACrBc,EAAOC,EAAMf,OACbF,EAASiB,EAAMb,MAAO,IACtBY,EAAOC,EAAMb,QACbJ,EAASiB,EAAMd,IAAK,IACpBa,EAAOC,EAAMd,MACbH,EAASiB,EAAMZ,OAAQ,IACvBW,EAAOC,EAAMZ,QAAS,GAG1B,IAAI0B,IAAI,CAAC,gBACTd,EAAKW,OAAAI,OAAAJ,OAAAI,OAAA,GAEDV,GAAO,CACVW,aAAc,GACdC,MAAO,CACNC,YAAY3B,EAAAc,EAAQY,SAAK,MAAA1B,SAAA,SAAAA,EAAE2B,WAC3BC,YAAa,CAACC,EAAW5B,EAAWF,EAAW+B,K,QAC9C,WAAW9B,EAAAc,EAAQY,SAAK,MAAA1B,SAAA,SAAAA,EAAE4B,eAAgB,WAAY,EACrDxB,EAAAU,EAAQY,SAAK,MAAAtB,SAAA,SAAAA,EAAEwB,YAAYC,EAAW5B,EAAWF,EAAW+B,E,CAE7DhC,EAAgBC,EAAU,KAI7B,GACA,S","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as o}from"./prop.validators-64749272.js";const r=(r,s,a)=>{o(r,"_src",s,a)};export{r as v};
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},r={kolibriVersion:"2.2.7-rc.0"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
4
+ const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},r={kolibriVersion:"2.2.8-rc.0"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},R=t.shadowDom,T=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),E=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>E().then(e),F={},M="http://www.w3.org/2000/svg",A="http://www.w3.org/1999/xhtml",P=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};n(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var be,ge,Se,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.R=l,d},K=(e,t)=>{const n={l:0,T:e,k:t,D:null,j:null,C:null,O:null,R:null};return n},X={},_=e=>e&&e.T===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.R,vtag:e.T,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.R=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.L=K(t,null);O.F||re(j.body,O.F=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.M+"."+e.A,s=O.F.get(n),o=e.D;s&&R&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.F.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){if(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,M:a[0],A:a[1],P:a[2],N:a[3],T:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,R:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.P&&(s[c.N]=c.D))),l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r);for(d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,M:a[1],A:a[2],P:a[3],N:a[4],D:l,C:null,j:null,O:null,R:null,T:null,k:null},i===y?(c.D=l.nextSibling,c.D&&3===c.D.nodeType&&(c.k=c.D.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.P&&(s[c.N]=c.D))):c.M===r&&(i===$?(c.T="slot",a[5]?l["s-sn"]=c.R=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.T),c.R&&c.D.setAttribute("name",c.R),l.parentNode.insertBefore(c.D,l),l.remove(),"0"===c.P&&(s[c.N]=c.D)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.T){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},re=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)re(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)re(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},le=e=>h.map((t=>t(e))).find((e=>!!e)),ne=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);D&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const o=null!=(s=O.U)?s:U(j);null!=o&&n.setAttribute("nonce",o);(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&2&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=pe(n),l=pe(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace($e,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},he=/\s/,pe=e=>e?e.split(he):[],me="Capture",$e=new RegExp(me+"$"),ye=(e,t,n)=>{const s=11===t.D.nodeType&&t.D.host?t.D.host:t.D,o=e&&e.C||F,l=t.C||F;for(const e of we(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of we(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function we(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ke=!1,xe=!1,Ce=!1,je=!1,Oe=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(ke||(Ce=!0,"slot"===r.T&&(be&&o.classList.add(be+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.D=j.createTextNode(r.k);else if(1&r.l)i=r.D=j.createTextNode("");else{je||(je="svg"===r.T),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.T),je&&"foreignObject"===r.T&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(be)&&i["s-si"]!==be&&i.classList.add(i["s-si"]=be),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.T?je=!1:"foreignObject"===i.tagName&&(je=!0)}return i["s-hn"]=Se,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=ge,i["s-sn"]=r.R||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.T===r.T&&e.D&&Re(e.D,!1)),i},Re=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Se&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==Se&&t["s-ol"]&&(He(Me(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Ce=!0),n&&Re(t,n)}O.l&=-2},Te=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===Se&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Oe(null,n,o,e),r&&(s[o].D=r,He(i,r,Fe(t))))},Ee=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.D;Ie(t),e&&(xe=!0,e["s-ol"]?e["s-ol"].remove():Re(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Le(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Le(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Le(h,v,o))"slot"!==h.T&&"slot"!==v.T||Re(h.D.parentNode,!1),Ae(h,v,o),He(e,h.D,p.D.nextSibling),h=t[++i],v=s[--f];else if(Le(p,m,o))"slot"!==h.T&&"slot"!==v.T||Re(p.D.parentNode,!1),Ae(p,m,o),He(e,p.D,h.D),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.T!==m.T?l=Oe(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.D),m=s[++a]):(l=Oe(t&&t[a],n,a,e),m=s[++a]),l&&He(Me(h.D),l,Fe(h.D))}i>u?Te(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Ee(t,i,u)},Le=(e,t,n=!1)=>e.T===t.T&&("slot"===e.T?(!("A"in e)||!n||8===e.D.nodeType)&&e.R===t.R:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,n,s=!1)=>{const o=n.D=e.D,l=e.j,r=n.j,i=n.T,a=n.k;let c;null===a?(je="svg"===i||"foreignObject"!==i&&je,("slot"!==i||ke)&&ye(e,n,je),null!==l&&null!==r?De(o,l,n,r,s):null!==r?(null!==e.k&&(o.textContent=""),Te(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Ee(l,0,l.length-1),je&&"svg"===i&&(je=!1)):(c=o["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(o.data=a)},Pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Pe(e)}},Ne=[],Ue=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(We(n,e)){let t=Ne.find((e=>e.I===n));xe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ne.push({H:l,I:n})),n["s-sr"]&&Ne.map((e=>{We(e.I,n["s-sn"])&&(t=Ne.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ne.some((e=>e.I===n))||Ne.push({I:n})}1===l.nodeType&&Ue(l)}},We=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Ie=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(Ie)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.L||K(null,null),d=_(t)?t:G(null,null,t);if(Se=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.T=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,be=i["s-sc"],ke=!!(1&a.l),ge=i["s-cr"],xe=!1,Ae(c,d,n),O.l|=1,Ce){Ue(d.D);for(const e of Ne){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ne){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}xe&&Pe(d.D),O.l&=-2,Ne.length=0,ge=void 0},Be=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Qe=(e,t)=>{if(4&e.l)return void(e.l|=512);Be(e,e.q);return Ve(e,t)},Ve=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.G&&(e.G.map((([e,t])=>Ye(o,e,t))),e.G=void 0),l=Ye(o,"componentWillLoad")),l=qe(l,(()=>Ye(o,"componentWillRender"))),s(),qe(l,(()=>Ke(e,o,t)))},qe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ke=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);Xe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>_e(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Xe=(e,t,n,s)=>{try{t=t.render&&t.render(),e.l|=2,ze(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},_e=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ye(o,"componentDidRender"),64&e.l?s():(e.l|=64,Ze(n),Ye(o,"componentDidLoad"),s(),e.p(n),l||Je()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&L((()=>Qe(e,!1))),e.l&=-517},Je=t=>{Ze(j.documentElement),L((()=>oe(C,"appload",{detail:{namespace:e}})))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Ze=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},et=(e,t)=>i(e).o.get(t),tt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Qe(o,!1)}},rt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return et(this,e)},set(n){tt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},lt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,rt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),nt(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=le(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},nt=e=>{Ye(e,"connectedCallback")},st=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)ut(e,t,n._),(null==t?void 0:t.t)?nt(t.t):(null==t?void 0:t.h)&&t.h.then((()=>nt(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&it(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Be(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),lt(e,t,n)}s()}},it=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ot=e=>{Ye(e,"disconnectedCallback")},at=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?ot(t.t):(null==t?void 0:t.h)&&t.h.then((()=>ot(t.t)))}},ft=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[];let p,f=!0;Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;let m=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(m=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,c._)),p&&(clearTimeout(p),p=null),f?h.push(this):O.jmp((()=>st(this)))}disconnectedCallback(){O.jmp((()=>at(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,rt(u,c,1)))}))})),o.length>0&&(m&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}f=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>p=setTimeout(Je,30))),s()},ct=(e,t)=>t,ut=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=dt(e,n),r=vt(t,o),i=ht(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},vt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},dt=(e,t)=>8&t?C:e,ht=e=>T?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{r as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,E as p,o as r,pt as s};