@public-ui/components 3.0.0-3f7ce4d6fae47ec93967f553e36b3173cbf0ab8d.0 → 3.0.0-767e14d4c804d21963c1c38583ecde3d45516a70.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 (775) hide show
  1. package/custom-elements.json +7 -13
  2. package/dist/cjs/Alert-c4199806.js +4 -0
  3. package/dist/cjs/Alert-c4199806.js.map +1 -0
  4. package/dist/cjs/{Collapsible-5bc4a629.js → Collapsible-44e53af0.js} +1 -1
  5. package/dist/cjs/{Collapsible-5bc4a629.js.map → Collapsible-44e53af0.js.map} +1 -1
  6. package/dist/cjs/{CustomSuggestionsOptionsGroup-f06b3c8b.js → CustomSuggestionsOptionsGroup-ae9c6ffb.js} +1 -1
  7. package/dist/cjs/CustomSuggestionsOptionsGroup-ae9c6ffb.js.map +1 -0
  8. package/dist/cjs/{FieldControlStateWrapper-406a2543.js → FieldControlStateWrapper-5c2585ee.js} +1 -1
  9. package/dist/cjs/{FieldControlStateWrapper-406a2543.js.map → FieldControlStateWrapper-5c2585ee.js.map} +1 -1
  10. package/dist/cjs/{Heading-df45a02a.js → Heading-4a3e8483.js} +1 -1
  11. package/dist/cjs/{Heading-df45a02a.js.map → Heading-4a3e8483.js.map} +1 -1
  12. package/dist/cjs/Icon-0162d2c0.js +4 -0
  13. package/dist/cjs/{Icon-d6c7ac6d.js.map → Icon-0162d2c0.js.map} +1 -1
  14. package/dist/cjs/{Input-dda8644e.js → Input-009785a2.js} +1 -1
  15. package/dist/cjs/{Input-dda8644e.js.map → Input-009785a2.js.map} +1 -1
  16. package/dist/cjs/{InputStateWrapper-514cc171.js → InputStateWrapper-7282630f.js} +1 -1
  17. package/dist/cjs/{InputStateWrapper-514cc171.js.map → InputStateWrapper-7282630f.js.map} +1 -1
  18. package/dist/cjs/InternalUnderlinedBadgeText-f6c49dcd.js +4 -0
  19. package/dist/cjs/InternalUnderlinedBadgeText-f6c49dcd.js.map +1 -0
  20. package/dist/cjs/{Span-d8476793.js → Span-66dde291.js} +1 -1
  21. package/dist/cjs/{Span-d8476793.js.map → Span-66dde291.js.map} +1 -1
  22. package/dist/cjs/{access-and-short-key-6155af7d.js → access-and-short-key-c819e5cc.js} +1 -1
  23. package/dist/cjs/{access-and-short-key-6155af7d.js.map → access-and-short-key-c819e5cc.js.map} +1 -1
  24. package/dist/cjs/{align-a9f24187.js → align-c5127132.js} +1 -1
  25. package/dist/cjs/{align-a9f24187.js.map → align-c5127132.js.map} +1 -1
  26. package/dist/cjs/app-globals-ea5888dc.js +4 -0
  27. package/dist/cjs/{app-globals-09011f29.js.map → app-globals-ea5888dc.js.map} +1 -1
  28. package/dist/cjs/{associated.controller-2005f7f0.js → associated.controller-09912821.js} +1 -1
  29. package/dist/cjs/{associated.controller-2005f7f0.js.map → associated.controller-09912821.js.map} +1 -1
  30. package/dist/cjs/bem-85316256.js +4 -0
  31. package/dist/cjs/bem-85316256.js.map +1 -0
  32. package/dist/cjs/bem-c7c596d7.js +4 -0
  33. package/dist/cjs/bem-c7c596d7.js.map +1 -0
  34. package/dist/cjs/browser-4433089a.js +4 -0
  35. package/dist/cjs/browser-4433089a.js.map +1 -0
  36. package/dist/cjs/{button-variant-10ad2503.js → button-variant-002721c4.js} +1 -1
  37. package/dist/cjs/{button-variant-10ad2503.js.map → button-variant-002721c4.js.map} +1 -1
  38. package/dist/cjs/{color-327a493c.js → color-375394b4.js} +1 -1
  39. package/dist/cjs/{color-327a493c.js.map → color-375394b4.js.map} +1 -1
  40. package/dist/cjs/{controller-1e713423.js → controller-43b2833c.js} +1 -1
  41. package/dist/cjs/{controller-1e713423.js.map → controller-43b2833c.js.map} +1 -1
  42. package/dist/cjs/{controller-1025bb87.js → controller-5a591f7b.js} +1 -1
  43. package/dist/cjs/{controller-1025bb87.js.map → controller-5a591f7b.js.map} +1 -1
  44. package/dist/cjs/{controller-b25d03c0.js → controller-cb159826.js} +1 -1
  45. package/dist/cjs/{controller-b25d03c0.js.map → controller-cb159826.js.map} +1 -1
  46. package/dist/cjs/{controller-897b28b7.js → controller-f7ffcff9.js} +1 -1
  47. package/dist/cjs/{controller-897b28b7.js.map → controller-f7ffcff9.js.map} +1 -1
  48. package/dist/cjs/{controller-icon-6c4d3a54.js → controller-icon-8160799e.js} +1 -1
  49. package/dist/cjs/{controller-icon-6c4d3a54.js.map → controller-icon-8160799e.js.map} +1 -1
  50. package/dist/cjs/custom-class-4ea59acd.js +4 -0
  51. package/dist/cjs/{custom-class-1bd0519a.js.map → custom-class-4ea59acd.js.map} +1 -1
  52. package/dist/cjs/{dev.utils-2df3b62b.js → dev.utils-801e0cbd.js} +1 -1
  53. package/dist/cjs/{dev.utils-2df3b62b.js.map → dev.utils-801e0cbd.js.map} +1 -1
  54. package/dist/cjs/{devtools-49e6f868.js → devtools-166faa48.js} +1 -1
  55. package/dist/cjs/{devtools-49e6f868.js.map → devtools-166faa48.js.map} +1 -1
  56. package/dist/cjs/{disabled-0ee19649.js → disabled-269f0287.js} +1 -1
  57. package/dist/cjs/{disabled-0ee19649.js.map → disabled-269f0287.js.map} +1 -1
  58. package/dist/cjs/{getRenderStates-f8d610c4.js → getRenderStates-090ecd7e.js} +1 -1
  59. package/dist/cjs/{getRenderStates-f8d610c4.js.map → getRenderStates-090ecd7e.js.map} +1 -1
  60. package/dist/cjs/has-closer-6fabfd78.js +4 -0
  61. package/dist/cjs/{has-closer-51ccf77f.js.map → has-closer-6fabfd78.js.map} +1 -1
  62. package/dist/cjs/has-counter-5fe8bd40.js +4 -0
  63. package/dist/cjs/{has-counter-8679115c.js.map → has-counter-5fe8bd40.js.map} +1 -1
  64. package/dist/cjs/hide-label-0aa897c8.js +4 -0
  65. package/dist/cjs/{hide-label-a9a94f19.js.map → hide-label-0aa897c8.js.map} +1 -1
  66. package/dist/cjs/href-031b6a4d.js +4 -0
  67. package/dist/cjs/{href-c14d2c3e.js.map → href-031b6a4d.js.map} +1 -1
  68. package/dist/cjs/{icons-cfdc392f.js → icons-72806ca7.js} +1 -1
  69. package/dist/cjs/{icons-cfdc392f.js.map → icons-72806ca7.js.map} +1 -1
  70. package/dist/cjs/image-source-38fc4e50.js +4 -0
  71. package/dist/cjs/{image-source-3b5f1388.js.map → image-source-38fc4e50.js.map} +1 -1
  72. package/dist/cjs/index-295bd75e.js +4 -0
  73. package/dist/cjs/index-295bd75e.js.map +1 -0
  74. package/dist/cjs/{index-9d66d61e.js → index-ec22bb74.js} +1 -1
  75. package/dist/cjs/{index-9d66d61e.js.map → index-ec22bb74.js.map} +1 -1
  76. package/dist/cjs/index.cjs.js +1 -1
  77. package/dist/cjs/index.cjs.js.map +1 -1
  78. package/dist/cjs/isArray-e114fe6e.js +4 -0
  79. package/dist/cjs/isArray-e114fe6e.js.map +1 -0
  80. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  84. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  86. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  90. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  92. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  154. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  156. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  157. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  161. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  164. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  166. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  168. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  169. package/dist/cjs/kolibri.cjs.js +1 -1
  170. package/dist/cjs/{label-3ce275fe.js → label-c96126e3.js} +1 -1
  171. package/dist/cjs/{label-3ce275fe.js.map → label-c96126e3.js.map} +1 -1
  172. package/dist/cjs/loader.cjs.js +1 -1
  173. package/dist/cjs/open-408c768d.js +4 -0
  174. package/dist/cjs/{open-e08280be.js.map → open-408c768d.js.map} +1 -1
  175. package/dist/cjs/{prop.validators-3c86f8eb.js → prop.validators-be4685a0.js} +1 -1
  176. package/dist/cjs/{prop.validators-3c86f8eb.js.map → prop.validators-be4685a0.js.map} +1 -1
  177. package/dist/cjs/rows-ec61db75.js +4 -0
  178. package/dist/cjs/{rows-24ccf646.js.map → rows-ec61db75.js.map} +1 -1
  179. package/dist/cjs/show-f4be3599.js +4 -0
  180. package/dist/cjs/{show-0625d136.js.map → show-f4be3599.js.map} +1 -1
  181. package/dist/cjs/spell-check-7e1ed16a.js +4 -0
  182. package/dist/cjs/{spell-check-d54fcffc.js.map → spell-check-7e1ed16a.js.map} +1 -1
  183. package/dist/cjs/{suggestions-eccef9c3.js → suggestions-4c76fb27.js} +1 -1
  184. package/dist/cjs/{suggestions-eccef9c3.js.map → suggestions-4c76fb27.js.map} +1 -1
  185. package/dist/cjs/{table-settings-e3e70637.js → table-settings-1f61f683.js} +1 -1
  186. package/dist/cjs/{table-settings-e3e70637.js.map → table-settings-1f61f683.js.map} +1 -1
  187. package/dist/cjs/test-component.cjs.entry.js +1 -1
  188. package/dist/cjs/tooltip-align-c9cb3a1c.js +4 -0
  189. package/dist/cjs/{tooltip-align-5aee86e8.js.map → tooltip-align-c9cb3a1c.js.map} +1 -1
  190. package/dist/cjs/{validation-bcb18e67.js → validation-25be3f2f.js} +1 -1
  191. package/dist/cjs/{validation-bcb18e67.js.map → validation-25be3f2f.js.map} +1 -1
  192. package/dist/cjs/{validation-2820e912.js → validation-2bf25b32.js} +1 -1
  193. package/dist/cjs/{validation-2820e912.js.map → validation-2bf25b32.js.map} +1 -1
  194. package/dist/components/Alert.js +1 -1
  195. package/dist/components/Alert.js.map +1 -1
  196. package/dist/components/CustomSuggestionsOptionsGroup.js +1 -1
  197. package/dist/components/CustomSuggestionsOptionsGroup.js.map +1 -1
  198. package/dist/components/InternalUnderlinedBadgeText.js +1 -1
  199. package/dist/components/InternalUnderlinedBadgeText.js.map +1 -1
  200. package/dist/components/access-and-short-key.js +1 -1
  201. package/dist/components/associated.controller.js +1 -1
  202. package/dist/components/bem.js +4 -0
  203. package/dist/components/bem.js.map +1 -0
  204. package/dist/components/bem2.js +4 -0
  205. package/dist/components/bem2.js.map +1 -0
  206. package/dist/components/browser.js +4 -0
  207. package/dist/components/browser.js.map +1 -0
  208. package/dist/components/button-variant.js +1 -1
  209. package/dist/components/color.js +1 -1
  210. package/dist/components/component-names.js +1 -1
  211. package/dist/components/controller.js +1 -1
  212. package/dist/components/controller2.js +1 -1
  213. package/dist/components/controller4.js +1 -1
  214. package/dist/components/custom-class.js +1 -1
  215. package/dist/components/disabled.js +1 -1
  216. package/dist/components/getRenderStates.js +1 -1
  217. package/dist/components/has-closer.js +1 -1
  218. package/dist/components/has-counter.js +1 -1
  219. package/dist/components/hide-label.js +1 -1
  220. package/dist/components/href.js +1 -1
  221. package/dist/components/icons.js +1 -1
  222. package/dist/components/image-source.js +1 -1
  223. package/dist/components/index.js +1 -1
  224. package/dist/components/index.js.map +1 -1
  225. package/dist/components/isArray.js +4 -0
  226. package/dist/components/isArray.js.map +1 -0
  227. package/dist/components/kol-alert-wc.js +1 -1
  228. package/dist/components/kol-alert.js +1 -1
  229. package/dist/components/kol-alert.js.map +1 -1
  230. package/dist/components/kol-badge.js +1 -1
  231. package/dist/components/kol-breadcrumb.js +1 -1
  232. package/dist/components/kol-breadcrumb.js.map +1 -1
  233. package/dist/components/kol-button-wc.js +1 -1
  234. package/dist/components/kol-button-wc.js.map +1 -1
  235. package/dist/components/kol-card.js +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-drawer.js +1 -1
  239. package/dist/components/kol-form.js +1 -1
  240. package/dist/components/kol-form.js.map +1 -1
  241. package/dist/components/kol-heading.js +1 -1
  242. package/dist/components/kol-icon.js +1 -1
  243. package/dist/components/kol-icon.js.map +1 -1
  244. package/dist/components/kol-image.js +1 -1
  245. package/dist/components/kol-input-checkbox.js +1 -1
  246. package/dist/components/kol-input-color.js +1 -1
  247. package/dist/components/kol-input-color.js.map +1 -1
  248. package/dist/components/kol-input-date.js +1 -1
  249. package/dist/components/kol-input-date.js.map +1 -1
  250. package/dist/components/kol-input-email.js +1 -1
  251. package/dist/components/kol-input-email.js.map +1 -1
  252. package/dist/components/kol-input-file.js +1 -1
  253. package/dist/components/kol-input-file.js.map +1 -1
  254. package/dist/components/kol-input-number.js +1 -1
  255. package/dist/components/kol-input-number.js.map +1 -1
  256. package/dist/components/kol-input-password.js +1 -1
  257. package/dist/components/kol-input-password.js.map +1 -1
  258. package/dist/components/kol-input-radio.js +1 -1
  259. package/dist/components/kol-input-radio.js.map +1 -1
  260. package/dist/components/kol-input-range.js +1 -1
  261. package/dist/components/kol-input-range.js.map +1 -1
  262. package/dist/components/kol-input-text.js +1 -1
  263. package/dist/components/kol-input-text.js.map +1 -1
  264. package/dist/components/kol-kolibri.js +1 -1
  265. package/dist/components/kol-link-button.js +1 -1
  266. package/dist/components/kol-link-wc.js +1 -1
  267. package/dist/components/kol-link.js +1 -1
  268. package/dist/components/kol-modal.js +1 -1
  269. package/dist/components/kol-nav.js +1 -1
  270. package/dist/components/kol-pagination.js +1 -1
  271. package/dist/components/kol-popover-button-wc.js +1 -1
  272. package/dist/components/kol-popover-button-wc.js.map +1 -1
  273. package/dist/components/kol-popover-button.js +1 -1
  274. package/dist/components/kol-popover-button.js.map +1 -1
  275. package/dist/components/kol-progress.js +1 -1
  276. package/dist/components/kol-quote.js +1 -1
  277. package/dist/components/kol-select.js +1 -1
  278. package/dist/components/kol-select.js.map +1 -1
  279. package/dist/components/kol-single-select.js +1 -1
  280. package/dist/components/kol-single-select.js.map +1 -1
  281. package/dist/components/kol-skip-nav.js +1 -1
  282. package/dist/components/kol-table-settings-wc.js +1 -1
  283. package/dist/components/kol-table-stateful.js +1 -1
  284. package/dist/components/kol-table-stateful.js.map +1 -1
  285. package/dist/components/kol-table-stateless-wc.js +1 -1
  286. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  287. package/dist/components/kol-table-stateless.js +1 -1
  288. package/dist/components/kol-table-stateless.js.map +1 -1
  289. package/dist/components/kol-tabs.js +1 -1
  290. package/dist/components/kol-textarea.js +1 -1
  291. package/dist/components/kol-textarea.js.map +1 -1
  292. package/dist/components/kol-toast-container.js +1 -1
  293. package/dist/components/kol-toast-container.js.map +1 -1
  294. package/dist/components/kol-toolbar.js +1 -1
  295. package/dist/components/kol-tooltip-wc.js +1 -1
  296. package/dist/components/kol-tree-item-wc.js +1 -1
  297. package/dist/components/label.js +1 -1
  298. package/dist/components/open.js +1 -1
  299. package/dist/components/prop.validators.js +1 -1
  300. package/dist/components/prop.validators.js.map +1 -1
  301. package/dist/components/show.js +1 -1
  302. package/dist/components/spell-check.js +1 -1
  303. package/dist/components/suggestions.js +1 -1
  304. package/dist/components/table-settings.js +1 -1
  305. package/dist/components/validation2.js +1 -1
  306. package/dist/esm/Alert-1d6366b5.js +4 -0
  307. package/dist/esm/Alert-1d6366b5.js.map +1 -0
  308. package/dist/esm/{Collapsible-a4c63640.js → Collapsible-6684dac1.js} +1 -1
  309. package/dist/esm/{Collapsible-a4c63640.js.map → Collapsible-6684dac1.js.map} +1 -1
  310. package/dist/esm/CustomSuggestionsOptionsGroup-1af9ea3b.js +4 -0
  311. package/dist/esm/CustomSuggestionsOptionsGroup-1af9ea3b.js.map +1 -0
  312. package/dist/esm/{FieldControlStateWrapper-9d8d530e.js → FieldControlStateWrapper-e6f9f811.js} +1 -1
  313. package/dist/esm/{FieldControlStateWrapper-9d8d530e.js.map → FieldControlStateWrapper-e6f9f811.js.map} +1 -1
  314. package/dist/esm/{Heading-485868a9.js → Heading-4c659dd9.js} +1 -1
  315. package/dist/esm/{Heading-485868a9.js.map → Heading-4c659dd9.js.map} +1 -1
  316. package/dist/esm/Icon-96e211b9.js +4 -0
  317. package/dist/esm/{Icon-230aeb46.js.map → Icon-96e211b9.js.map} +1 -1
  318. package/dist/esm/{Input-d311a0b6.js → Input-b3ac2403.js} +1 -1
  319. package/dist/esm/{Input-d311a0b6.js.map → Input-b3ac2403.js.map} +1 -1
  320. package/dist/esm/{InputStateWrapper-de2b63a4.js → InputStateWrapper-4151acc8.js} +1 -1
  321. package/dist/esm/{InputStateWrapper-de2b63a4.js.map → InputStateWrapper-4151acc8.js.map} +1 -1
  322. package/dist/esm/InternalUnderlinedBadgeText-dbf09164.js +4 -0
  323. package/dist/esm/InternalUnderlinedBadgeText-dbf09164.js.map +1 -0
  324. package/dist/esm/{Span-0b66f853.js → Span-bb475d8f.js} +1 -1
  325. package/dist/esm/{Span-0b66f853.js.map → Span-bb475d8f.js.map} +1 -1
  326. package/dist/esm/{access-and-short-key-16c1f3d9.js → access-and-short-key-4fd8b82e.js} +1 -1
  327. package/dist/esm/{access-and-short-key-16c1f3d9.js.map → access-and-short-key-4fd8b82e.js.map} +1 -1
  328. package/dist/esm/{align-61c6a220.js → align-5afc9876.js} +1 -1
  329. package/dist/esm/{align-61c6a220.js.map → align-5afc9876.js.map} +1 -1
  330. package/dist/esm/app-globals-29aa5c7c.js +4 -0
  331. package/dist/esm/{app-globals-29931fdd.js.map → app-globals-29aa5c7c.js.map} +1 -1
  332. package/dist/esm/{associated.controller-3b160a7e.js → associated.controller-7e6d1078.js} +1 -1
  333. package/dist/esm/{associated.controller-3b160a7e.js.map → associated.controller-7e6d1078.js.map} +1 -1
  334. package/dist/esm/bem-dabd96cc.js +4 -0
  335. package/dist/esm/bem-dabd96cc.js.map +1 -0
  336. package/dist/esm/bem-e4c3a2e6.js +4 -0
  337. package/dist/esm/bem-e4c3a2e6.js.map +1 -0
  338. package/dist/esm/browser-f629a56a.js +4 -0
  339. package/dist/esm/browser-f629a56a.js.map +1 -0
  340. package/dist/esm/{button-variant-a4270d4a.js → button-variant-9bea9a9f.js} +1 -1
  341. package/dist/esm/{button-variant-a4270d4a.js.map → button-variant-9bea9a9f.js.map} +1 -1
  342. package/dist/esm/{color-c32d99db.js → color-df9b40dc.js} +1 -1
  343. package/dist/esm/{color-c32d99db.js.map → color-df9b40dc.js.map} +1 -1
  344. package/dist/esm/{component-names-60d77143.js → component-names-7ee7402b.js} +1 -1
  345. package/dist/esm/{component-names-60d77143.js.map → component-names-7ee7402b.js.map} +1 -1
  346. package/dist/esm/{controller-c800edf4.js → controller-0b2bd751.js} +1 -1
  347. package/dist/esm/{controller-c800edf4.js.map → controller-0b2bd751.js.map} +1 -1
  348. package/dist/esm/{controller-a31f303e.js → controller-92bd8fff.js} +1 -1
  349. package/dist/esm/{controller-a31f303e.js.map → controller-92bd8fff.js.map} +1 -1
  350. package/dist/esm/{controller-ebac5af3.js → controller-ea570d96.js} +1 -1
  351. package/dist/esm/{controller-ebac5af3.js.map → controller-ea570d96.js.map} +1 -1
  352. package/dist/esm/{controller-20cae545.js → controller-ffa38115.js} +1 -1
  353. package/dist/esm/{controller-20cae545.js.map → controller-ffa38115.js.map} +1 -1
  354. package/dist/esm/{controller-icon-152a378d.js → controller-icon-0b94fb1a.js} +1 -1
  355. package/dist/esm/{controller-icon-152a378d.js.map → controller-icon-0b94fb1a.js.map} +1 -1
  356. package/dist/esm/custom-class-a88a361b.js +4 -0
  357. package/dist/esm/{custom-class-c7abcffc.js.map → custom-class-a88a361b.js.map} +1 -1
  358. package/dist/esm/{dev.utils-63a2f83b.js → dev.utils-df5fd961.js} +1 -1
  359. package/dist/esm/{dev.utils-63a2f83b.js.map → dev.utils-df5fd961.js.map} +1 -1
  360. package/dist/esm/{devtools-46afbd5e.js → devtools-c43b8925.js} +1 -1
  361. package/dist/esm/{devtools-46afbd5e.js.map → devtools-c43b8925.js.map} +1 -1
  362. package/dist/esm/disabled-b5956d7d.js +4 -0
  363. package/dist/esm/{disabled-11f5f213.js.map → disabled-b5956d7d.js.map} +1 -1
  364. package/dist/esm/{getRenderStates-356fb657.js → getRenderStates-60799f3f.js} +1 -1
  365. package/dist/esm/{getRenderStates-356fb657.js.map → getRenderStates-60799f3f.js.map} +1 -1
  366. package/dist/esm/{has-closer-b582e72a.js → has-closer-3722cb2f.js} +1 -1
  367. package/dist/esm/{has-closer-b582e72a.js.map → has-closer-3722cb2f.js.map} +1 -1
  368. package/dist/esm/{has-counter-0ab5f398.js → has-counter-1eaa9205.js} +1 -1
  369. package/dist/esm/{has-counter-0ab5f398.js.map → has-counter-1eaa9205.js.map} +1 -1
  370. package/dist/esm/{hide-label-90b37cc2.js → hide-label-bf71a54c.js} +1 -1
  371. package/dist/esm/{hide-label-90b37cc2.js.map → hide-label-bf71a54c.js.map} +1 -1
  372. package/dist/esm/{href-8bd5e6c9.js → href-63d8eef9.js} +1 -1
  373. package/dist/esm/{href-8bd5e6c9.js.map → href-63d8eef9.js.map} +1 -1
  374. package/dist/esm/{icons-6ec03aa3.js → icons-3ca72288.js} +1 -1
  375. package/dist/esm/{icons-6ec03aa3.js.map → icons-3ca72288.js.map} +1 -1
  376. package/dist/esm/{image-source-6cc4aef4.js → image-source-a57280d8.js} +1 -1
  377. package/dist/esm/{image-source-6cc4aef4.js.map → image-source-a57280d8.js.map} +1 -1
  378. package/dist/esm/{index-99a79ec9.js → index-6a6184d9.js} +1 -1
  379. package/dist/esm/{index-99a79ec9.js.map → index-6a6184d9.js.map} +1 -1
  380. package/dist/esm/index-78bc9474.js +4 -0
  381. package/dist/esm/index-78bc9474.js.map +1 -0
  382. package/dist/esm/index.js +1 -1
  383. package/dist/esm/index.js.map +1 -1
  384. package/dist/esm/isArray-7a60fa7f.js +4 -0
  385. package/dist/esm/isArray-7a60fa7f.js.map +1 -0
  386. package/dist/esm/kol-abbr.entry.js +1 -1
  387. package/dist/esm/kol-accordion.entry.js +1 -1
  388. package/dist/esm/kol-alert-wc.entry.js +1 -1
  389. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  390. package/dist/esm/kol-alert.entry.js +1 -1
  391. package/dist/esm/kol-alert.entry.js.map +1 -1
  392. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  393. package/dist/esm/kol-avatar.entry.js +1 -1
  394. package/dist/esm/kol-badge.entry.js +1 -1
  395. package/dist/esm/kol-badge.entry.js.map +1 -1
  396. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  397. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  398. package/dist/esm/kol-button-link.entry.js +1 -1
  399. package/dist/esm/kol-button-wc.entry.js +1 -1
  400. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  401. package/dist/esm/kol-button.entry.js +1 -1
  402. package/dist/esm/kol-card.entry.js +1 -1
  403. package/dist/esm/kol-combobox.entry.js +1 -1
  404. package/dist/esm/kol-combobox.entry.js.map +1 -1
  405. package/dist/esm/kol-details.entry.js +1 -1
  406. package/dist/esm/kol-drawer.entry.js +1 -1
  407. package/dist/esm/kol-form.entry.js +1 -1
  408. package/dist/esm/kol-form.entry.js.map +1 -1
  409. package/dist/esm/kol-heading.entry.js +1 -1
  410. package/dist/esm/kol-icon.entry.js +1 -1
  411. package/dist/esm/kol-icon.entry.js.map +1 -1
  412. package/dist/esm/kol-image.entry.js +1 -1
  413. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  414. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  415. package/dist/esm/kol-input-color.entry.js +1 -1
  416. package/dist/esm/kol-input-color.entry.js.map +1 -1
  417. package/dist/esm/kol-input-date.entry.js +1 -1
  418. package/dist/esm/kol-input-date.entry.js.map +1 -1
  419. package/dist/esm/kol-input-email.entry.js +1 -1
  420. package/dist/esm/kol-input-email.entry.js.map +1 -1
  421. package/dist/esm/kol-input-file.entry.js +1 -1
  422. package/dist/esm/kol-input-file.entry.js.map +1 -1
  423. package/dist/esm/kol-input-number.entry.js +1 -1
  424. package/dist/esm/kol-input-number.entry.js.map +1 -1
  425. package/dist/esm/kol-input-password.entry.js +1 -1
  426. package/dist/esm/kol-input-password.entry.js.map +1 -1
  427. package/dist/esm/kol-input-radio.entry.js +1 -1
  428. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  429. package/dist/esm/kol-input-range.entry.js +1 -1
  430. package/dist/esm/kol-input-range.entry.js.map +1 -1
  431. package/dist/esm/kol-input-text.entry.js +1 -1
  432. package/dist/esm/kol-input-text.entry.js.map +1 -1
  433. package/dist/esm/kol-kolibri.entry.js +1 -1
  434. package/dist/esm/kol-link-button.entry.js +1 -1
  435. package/dist/esm/kol-link-wc.entry.js +1 -1
  436. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  437. package/dist/esm/kol-link.entry.js +1 -1
  438. package/dist/esm/kol-modal.entry.js +1 -1
  439. package/dist/esm/kol-nav.entry.js +1 -1
  440. package/dist/esm/kol-pagination.entry.js +1 -1
  441. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  442. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  443. package/dist/esm/kol-popover-button.entry.js +1 -1
  444. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  445. package/dist/esm/kol-popover-wc.entry.js +1 -1
  446. package/dist/esm/kol-progress.entry.js +1 -1
  447. package/dist/esm/kol-quote.entry.js +1 -1
  448. package/dist/esm/kol-select.entry.js +1 -1
  449. package/dist/esm/kol-select.entry.js.map +1 -1
  450. package/dist/esm/kol-single-select.entry.js +1 -1
  451. package/dist/esm/kol-single-select.entry.js.map +1 -1
  452. package/dist/esm/kol-skip-nav.entry.js +1 -1
  453. package/dist/esm/kol-spin.entry.js +1 -1
  454. package/dist/esm/kol-split-button.entry.js +1 -1
  455. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  456. package/dist/esm/kol-table-stateful.entry.js +1 -1
  457. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  458. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  459. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  460. package/dist/esm/kol-table-stateless.entry.js +1 -1
  461. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  462. package/dist/esm/kol-tabs.entry.js +1 -1
  463. package/dist/esm/kol-textarea.entry.js +1 -1
  464. package/dist/esm/kol-textarea.entry.js.map +1 -1
  465. package/dist/esm/kol-toast-container.entry.js +1 -1
  466. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  467. package/dist/esm/kol-toolbar.entry.js +1 -1
  468. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  469. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  470. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  471. package/dist/esm/kol-tree-item.entry.js +1 -1
  472. package/dist/esm/kol-tree-wc.entry.js +1 -1
  473. package/dist/esm/kol-tree.entry.js +1 -1
  474. package/dist/esm/kol-version.entry.js +1 -1
  475. package/dist/esm/kolibri.js +1 -1
  476. package/dist/esm/{label-90c13388.js → label-eda19980.js} +1 -1
  477. package/dist/esm/{label-90c13388.js.map → label-eda19980.js.map} +1 -1
  478. package/dist/esm/loader.js +1 -1
  479. package/dist/esm/{open-4d9f16d0.js → open-f3adfe4b.js} +1 -1
  480. package/dist/esm/{open-4d9f16d0.js.map → open-f3adfe4b.js.map} +1 -1
  481. package/dist/esm/prop.validators-681945f2.js +4 -0
  482. package/dist/esm/{prop.validators-17aec743.js.map → prop.validators-681945f2.js.map} +1 -1
  483. package/dist/esm/{rows-f033b1b3.js → rows-5d85ae4b.js} +1 -1
  484. package/dist/esm/{rows-f033b1b3.js.map → rows-5d85ae4b.js.map} +1 -1
  485. package/dist/esm/show-a332e1ca.js +4 -0
  486. package/dist/esm/{show-c115b1eb.js.map → show-a332e1ca.js.map} +1 -1
  487. package/dist/esm/spell-check-5091fd6f.js +4 -0
  488. package/dist/esm/{spell-check-27a3f91d.js.map → spell-check-5091fd6f.js.map} +1 -1
  489. package/dist/esm/{suggestions-04da2b2e.js → suggestions-0df3a77a.js} +1 -1
  490. package/dist/esm/{suggestions-04da2b2e.js.map → suggestions-0df3a77a.js.map} +1 -1
  491. package/dist/esm/{table-settings-d708d477.js → table-settings-daded362.js} +1 -1
  492. package/dist/esm/{table-settings-d708d477.js.map → table-settings-daded362.js.map} +1 -1
  493. package/dist/esm/test-component.entry.js +1 -1
  494. package/dist/esm/{tooltip-align-7d5fdb9e.js → tooltip-align-2f91cf94.js} +1 -1
  495. package/dist/esm/{tooltip-align-7d5fdb9e.js.map → tooltip-align-2f91cf94.js.map} +1 -1
  496. package/dist/esm/{validation-81a4e752.js → validation-a701550c.js} +1 -1
  497. package/dist/esm/{validation-81a4e752.js.map → validation-a701550c.js.map} +1 -1
  498. package/dist/esm/{validation-16bfc143.js → validation-c19ff760.js} +1 -1
  499. package/dist/esm/{validation-16bfc143.js.map → validation-c19ff760.js.map} +1 -1
  500. package/dist/kolibri/Alert-1d6366b5.js +4 -0
  501. package/dist/kolibri/Alert-1d6366b5.js.map +1 -0
  502. package/dist/kolibri/{Collapsible-a4c63640.js → Collapsible-6684dac1.js} +1 -1
  503. package/dist/kolibri/CustomSuggestionsOptionsGroup-1af9ea3b.js +4 -0
  504. package/dist/kolibri/CustomSuggestionsOptionsGroup-1af9ea3b.js.map +1 -0
  505. package/dist/kolibri/{FieldControlStateWrapper-9d8d530e.js → FieldControlStateWrapper-e6f9f811.js} +1 -1
  506. package/dist/kolibri/{Heading-485868a9.js → Heading-4c659dd9.js} +1 -1
  507. package/dist/kolibri/Icon-96e211b9.js +4 -0
  508. package/dist/kolibri/Input-b3ac2403.js +4 -0
  509. package/dist/kolibri/{InputStateWrapper-de2b63a4.js → InputStateWrapper-4151acc8.js} +1 -1
  510. package/dist/kolibri/InternalUnderlinedBadgeText-dbf09164.js +4 -0
  511. package/dist/kolibri/InternalUnderlinedBadgeText-dbf09164.js.map +1 -0
  512. package/dist/kolibri/{Span-0b66f853.js → Span-bb475d8f.js} +1 -1
  513. package/dist/kolibri/access-and-short-key-4fd8b82e.js +4 -0
  514. package/dist/kolibri/align-5afc9876.js +4 -0
  515. package/dist/kolibri/app-globals-29aa5c7c.js +4 -0
  516. package/dist/kolibri/{app-globals-29931fdd.js.map → app-globals-29aa5c7c.js.map} +1 -1
  517. package/dist/kolibri/{associated.controller-3b160a7e.js → associated.controller-7e6d1078.js} +1 -1
  518. package/dist/kolibri/bem-dabd96cc.js +4 -0
  519. package/dist/kolibri/bem-dabd96cc.js.map +1 -0
  520. package/dist/kolibri/bem-e4c3a2e6.js +4 -0
  521. package/dist/kolibri/bem-e4c3a2e6.js.map +1 -0
  522. package/dist/kolibri/browser-f629a56a.js +4 -0
  523. package/dist/kolibri/browser-f629a56a.js.map +1 -0
  524. package/dist/kolibri/{button-variant-a4270d4a.js → button-variant-9bea9a9f.js} +1 -1
  525. package/dist/kolibri/{color-c32d99db.js → color-df9b40dc.js} +1 -1
  526. package/dist/kolibri/{component-names-60d77143.js → component-names-7ee7402b.js} +1 -1
  527. package/dist/kolibri/controller-0b2bd751.js +4 -0
  528. package/dist/kolibri/{controller-a31f303e.js → controller-92bd8fff.js} +1 -1
  529. package/dist/kolibri/{controller-ebac5af3.js → controller-ea570d96.js} +1 -1
  530. package/dist/kolibri/{controller-20cae545.js → controller-ffa38115.js} +1 -1
  531. package/dist/kolibri/controller-icon-0b94fb1a.js +4 -0
  532. package/dist/kolibri/{controller-icon-152a378d.js.map → controller-icon-0b94fb1a.js.map} +1 -1
  533. package/dist/kolibri/custom-class-a88a361b.js +4 -0
  534. package/dist/kolibri/{dev.utils-63a2f83b.js → dev.utils-df5fd961.js} +1 -1
  535. package/dist/kolibri/devtools-c43b8925.js +4 -0
  536. package/dist/kolibri/{disabled-11f5f213.js → disabled-b5956d7d.js} +1 -1
  537. package/dist/kolibri/{getRenderStates-356fb657.js → getRenderStates-60799f3f.js} +1 -1
  538. package/dist/kolibri/has-closer-3722cb2f.js +4 -0
  539. package/dist/kolibri/has-counter-1eaa9205.js +4 -0
  540. package/dist/kolibri/hide-label-bf71a54c.js +4 -0
  541. package/dist/kolibri/href-63d8eef9.js +4 -0
  542. package/dist/kolibri/{icons-6ec03aa3.js → icons-3ca72288.js} +1 -1
  543. package/dist/kolibri/image-source-a57280d8.js +4 -0
  544. package/dist/kolibri/{index-99a79ec9.js → index-6a6184d9.js} +2 -2
  545. package/dist/kolibri/{index-99a79ec9.js.map → index-6a6184d9.js.map} +1 -1
  546. package/dist/kolibri/index-78bc9474.js +4 -0
  547. package/dist/kolibri/index-78bc9474.js.map +1 -0
  548. package/dist/kolibri/index.esm.js +1 -1
  549. package/dist/kolibri/index.esm.js.map +1 -1
  550. package/dist/kolibri/isArray-7a60fa7f.js +4 -0
  551. package/dist/kolibri/isArray-7a60fa7f.js.map +1 -0
  552. package/dist/kolibri/kol-abbr.entry.js +1 -1
  553. package/dist/kolibri/kol-accordion.entry.js +1 -1
  554. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  555. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  556. package/dist/kolibri/kol-alert.entry.js +1 -1
  557. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  558. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  559. package/dist/kolibri/kol-avatar.entry.js +1 -1
  560. package/dist/kolibri/kol-badge.entry.js +1 -1
  561. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  562. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  563. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  564. package/dist/kolibri/kol-button-link.entry.js +1 -1
  565. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  566. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  567. package/dist/kolibri/kol-button.entry.js +1 -1
  568. package/dist/kolibri/kol-card.entry.js +1 -1
  569. package/dist/kolibri/kol-combobox.entry.js +1 -1
  570. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  571. package/dist/kolibri/kol-details.entry.js +1 -1
  572. package/dist/kolibri/kol-drawer.entry.js +1 -1
  573. package/dist/kolibri/kol-form.entry.js +1 -1
  574. package/dist/kolibri/kol-form.entry.js.map +1 -1
  575. package/dist/kolibri/kol-heading.entry.js +1 -1
  576. package/dist/kolibri/kol-icon.entry.js +1 -1
  577. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  578. package/dist/kolibri/kol-image.entry.js +1 -1
  579. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  580. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  581. package/dist/kolibri/kol-input-color.entry.js +1 -1
  582. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  583. package/dist/kolibri/kol-input-date.entry.js +1 -1
  584. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  585. package/dist/kolibri/kol-input-email.entry.js +1 -1
  586. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  587. package/dist/kolibri/kol-input-file.entry.js +1 -1
  588. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  589. package/dist/kolibri/kol-input-number.entry.js +1 -1
  590. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  591. package/dist/kolibri/kol-input-password.entry.js +1 -1
  592. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  593. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  594. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  595. package/dist/kolibri/kol-input-range.entry.js +1 -1
  596. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  597. package/dist/kolibri/kol-input-text.entry.js +1 -1
  598. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  599. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  600. package/dist/kolibri/kol-link-button.entry.js +1 -1
  601. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  602. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  603. package/dist/kolibri/kol-link.entry.js +1 -1
  604. package/dist/kolibri/kol-modal.entry.js +1 -1
  605. package/dist/kolibri/kol-nav.entry.js +1 -1
  606. package/dist/kolibri/kol-pagination.entry.js +1 -1
  607. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  608. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  609. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  610. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  611. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  612. package/dist/kolibri/kol-progress.entry.js +1 -1
  613. package/dist/kolibri/kol-quote.entry.js +1 -1
  614. package/dist/kolibri/kol-select.entry.js +1 -1
  615. package/dist/kolibri/kol-select.entry.js.map +1 -1
  616. package/dist/kolibri/kol-single-select.entry.js +1 -1
  617. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  618. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  619. package/dist/kolibri/kol-spin.entry.js +1 -1
  620. package/dist/kolibri/kol-split-button.entry.js +1 -1
  621. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  622. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  623. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  624. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  625. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  626. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  627. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  628. package/dist/kolibri/kol-tabs.entry.js +1 -1
  629. package/dist/kolibri/kol-textarea.entry.js +1 -1
  630. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  631. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  632. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  633. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  634. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  635. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  636. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  637. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  638. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  639. package/dist/kolibri/kol-tree.entry.js +1 -1
  640. package/dist/kolibri/kol-version.entry.js +1 -1
  641. package/dist/kolibri/kolibri.esm.js +1 -1
  642. package/dist/kolibri/kolibri.esm.js.map +1 -1
  643. package/dist/kolibri/{label-90c13388.js → label-eda19980.js} +1 -1
  644. package/dist/kolibri/open-f3adfe4b.js +4 -0
  645. package/dist/kolibri/{prop.validators-17aec743.js → prop.validators-681945f2.js} +1 -1
  646. package/dist/kolibri/rows-5d85ae4b.js +4 -0
  647. package/dist/kolibri/show-a332e1ca.js +4 -0
  648. package/dist/kolibri/spell-check-5091fd6f.js +4 -0
  649. package/dist/kolibri/{suggestions-04da2b2e.js → suggestions-0df3a77a.js} +1 -1
  650. package/dist/kolibri/{table-settings-d708d477.js → table-settings-daded362.js} +1 -1
  651. package/dist/kolibri/test-component.entry.js +1 -1
  652. package/dist/kolibri/tooltip-align-2f91cf94.js +4 -0
  653. package/dist/kolibri/validation-a701550c.js +4 -0
  654. package/dist/kolibri/validation-c19ff760.js +4 -0
  655. package/dist/types/components/button/component.d.ts +2 -0
  656. package/dist/types/components/icon/bem.d.ts +16 -0
  657. package/dist/types/components/input-file/shadow.d.ts +1 -0
  658. package/dist/types/components/popover-button/component.d.ts +1 -1
  659. package/dist/types/components/popover-button/shadow.d.ts +0 -1
  660. package/dist/types/components/single-select/controller.d.ts +1 -0
  661. package/dist/types/components/single-select/shadow.d.ts +3 -1
  662. package/dist/types/components/table-stateless/component.d.ts +1 -0
  663. package/dist/types/components.d.ts +14 -16
  664. package/dist/types/functional-components/Alert/Alert.d.ts +1 -1
  665. package/dist/types/functional-components/Alert/bem.d.ts +29 -0
  666. package/dist/types/index.d.ts +2 -0
  667. package/dist/types/schema/components/single-select.d.ts +3 -3
  668. package/dist/types/schema/props/aria-has-popup.d.ts +3 -0
  669. package/doc/popover-button.md +0 -1
  670. package/doc/single-select.md +1 -0
  671. package/package.json +4 -3
  672. package/vscode-custom-data.json +4 -8
  673. package/dist/cjs/Alert-1985e597.js +0 -4
  674. package/dist/cjs/Alert-1985e597.js.map +0 -1
  675. package/dist/cjs/CustomSuggestionsOptionsGroup-f06b3c8b.js.map +0 -1
  676. package/dist/cjs/Icon-d6c7ac6d.js +0 -4
  677. package/dist/cjs/InternalUnderlinedBadgeText-7b352779.js +0 -4
  678. package/dist/cjs/InternalUnderlinedBadgeText-7b352779.js.map +0 -1
  679. package/dist/cjs/app-globals-09011f29.js +0 -4
  680. package/dist/cjs/custom-class-1bd0519a.js +0 -4
  681. package/dist/cjs/has-closer-51ccf77f.js +0 -4
  682. package/dist/cjs/has-counter-8679115c.js +0 -4
  683. package/dist/cjs/hide-label-a9a94f19.js +0 -4
  684. package/dist/cjs/href-c14d2c3e.js +0 -4
  685. package/dist/cjs/image-source-3b5f1388.js +0 -4
  686. package/dist/cjs/index-c77a4142.js +0 -4
  687. package/dist/cjs/index-c77a4142.js.map +0 -1
  688. package/dist/cjs/open-e08280be.js +0 -4
  689. package/dist/cjs/rows-24ccf646.js +0 -4
  690. package/dist/cjs/show-0625d136.js +0 -4
  691. package/dist/cjs/spell-check-d54fcffc.js +0 -4
  692. package/dist/cjs/tooltip-align-5aee86e8.js +0 -4
  693. package/dist/esm/Alert-c740d8f3.js +0 -4
  694. package/dist/esm/Alert-c740d8f3.js.map +0 -1
  695. package/dist/esm/CustomSuggestionsOptionsGroup-7481dbd7.js +0 -4
  696. package/dist/esm/CustomSuggestionsOptionsGroup-7481dbd7.js.map +0 -1
  697. package/dist/esm/Icon-230aeb46.js +0 -4
  698. package/dist/esm/InternalUnderlinedBadgeText-67c31e1b.js +0 -4
  699. package/dist/esm/InternalUnderlinedBadgeText-67c31e1b.js.map +0 -1
  700. package/dist/esm/app-globals-29931fdd.js +0 -4
  701. package/dist/esm/custom-class-c7abcffc.js +0 -4
  702. package/dist/esm/disabled-11f5f213.js +0 -4
  703. package/dist/esm/index-6d801dad.js +0 -4
  704. package/dist/esm/index-6d801dad.js.map +0 -1
  705. package/dist/esm/prop.validators-17aec743.js +0 -4
  706. package/dist/esm/show-c115b1eb.js +0 -4
  707. package/dist/esm/spell-check-27a3f91d.js +0 -4
  708. package/dist/kolibri/Alert-c740d8f3.js +0 -4
  709. package/dist/kolibri/Alert-c740d8f3.js.map +0 -1
  710. package/dist/kolibri/CustomSuggestionsOptionsGroup-7481dbd7.js +0 -4
  711. package/dist/kolibri/CustomSuggestionsOptionsGroup-7481dbd7.js.map +0 -1
  712. package/dist/kolibri/Icon-230aeb46.js +0 -4
  713. package/dist/kolibri/Input-d311a0b6.js +0 -4
  714. package/dist/kolibri/InternalUnderlinedBadgeText-67c31e1b.js +0 -4
  715. package/dist/kolibri/InternalUnderlinedBadgeText-67c31e1b.js.map +0 -1
  716. package/dist/kolibri/access-and-short-key-16c1f3d9.js +0 -4
  717. package/dist/kolibri/align-61c6a220.js +0 -4
  718. package/dist/kolibri/app-globals-29931fdd.js +0 -4
  719. package/dist/kolibri/controller-c800edf4.js +0 -4
  720. package/dist/kolibri/controller-icon-152a378d.js +0 -4
  721. package/dist/kolibri/custom-class-c7abcffc.js +0 -4
  722. package/dist/kolibri/devtools-46afbd5e.js +0 -4
  723. package/dist/kolibri/has-closer-b582e72a.js +0 -4
  724. package/dist/kolibri/has-counter-0ab5f398.js +0 -4
  725. package/dist/kolibri/hide-label-90b37cc2.js +0 -4
  726. package/dist/kolibri/href-8bd5e6c9.js +0 -4
  727. package/dist/kolibri/image-source-6cc4aef4.js +0 -4
  728. package/dist/kolibri/index-6d801dad.js +0 -4
  729. package/dist/kolibri/index-6d801dad.js.map +0 -1
  730. package/dist/kolibri/open-4d9f16d0.js +0 -4
  731. package/dist/kolibri/rows-f033b1b3.js +0 -4
  732. package/dist/kolibri/show-c115b1eb.js +0 -4
  733. package/dist/kolibri/spell-check-27a3f91d.js +0 -4
  734. package/dist/kolibri/tooltip-align-7d5fdb9e.js +0 -4
  735. package/dist/kolibri/validation-16bfc143.js +0 -4
  736. package/dist/kolibri/validation-81a4e752.js +0 -4
  737. /package/dist/kolibri/{Collapsible-a4c63640.js.map → Collapsible-6684dac1.js.map} +0 -0
  738. /package/dist/kolibri/{FieldControlStateWrapper-9d8d530e.js.map → FieldControlStateWrapper-e6f9f811.js.map} +0 -0
  739. /package/dist/kolibri/{Heading-485868a9.js.map → Heading-4c659dd9.js.map} +0 -0
  740. /package/dist/kolibri/{Icon-230aeb46.js.map → Icon-96e211b9.js.map} +0 -0
  741. /package/dist/kolibri/{Input-d311a0b6.js.map → Input-b3ac2403.js.map} +0 -0
  742. /package/dist/kolibri/{InputStateWrapper-de2b63a4.js.map → InputStateWrapper-4151acc8.js.map} +0 -0
  743. /package/dist/kolibri/{Span-0b66f853.js.map → Span-bb475d8f.js.map} +0 -0
  744. /package/dist/kolibri/{access-and-short-key-16c1f3d9.js.map → access-and-short-key-4fd8b82e.js.map} +0 -0
  745. /package/dist/kolibri/{align-61c6a220.js.map → align-5afc9876.js.map} +0 -0
  746. /package/dist/kolibri/{associated.controller-3b160a7e.js.map → associated.controller-7e6d1078.js.map} +0 -0
  747. /package/dist/kolibri/{button-variant-a4270d4a.js.map → button-variant-9bea9a9f.js.map} +0 -0
  748. /package/dist/kolibri/{color-c32d99db.js.map → color-df9b40dc.js.map} +0 -0
  749. /package/dist/kolibri/{component-names-60d77143.js.map → component-names-7ee7402b.js.map} +0 -0
  750. /package/dist/kolibri/{controller-c800edf4.js.map → controller-0b2bd751.js.map} +0 -0
  751. /package/dist/kolibri/{controller-a31f303e.js.map → controller-92bd8fff.js.map} +0 -0
  752. /package/dist/kolibri/{controller-ebac5af3.js.map → controller-ea570d96.js.map} +0 -0
  753. /package/dist/kolibri/{controller-20cae545.js.map → controller-ffa38115.js.map} +0 -0
  754. /package/dist/kolibri/{custom-class-c7abcffc.js.map → custom-class-a88a361b.js.map} +0 -0
  755. /package/dist/kolibri/{dev.utils-63a2f83b.js.map → dev.utils-df5fd961.js.map} +0 -0
  756. /package/dist/kolibri/{devtools-46afbd5e.js.map → devtools-c43b8925.js.map} +0 -0
  757. /package/dist/kolibri/{disabled-11f5f213.js.map → disabled-b5956d7d.js.map} +0 -0
  758. /package/dist/kolibri/{getRenderStates-356fb657.js.map → getRenderStates-60799f3f.js.map} +0 -0
  759. /package/dist/kolibri/{has-closer-b582e72a.js.map → has-closer-3722cb2f.js.map} +0 -0
  760. /package/dist/kolibri/{has-counter-0ab5f398.js.map → has-counter-1eaa9205.js.map} +0 -0
  761. /package/dist/kolibri/{hide-label-90b37cc2.js.map → hide-label-bf71a54c.js.map} +0 -0
  762. /package/dist/kolibri/{href-8bd5e6c9.js.map → href-63d8eef9.js.map} +0 -0
  763. /package/dist/kolibri/{icons-6ec03aa3.js.map → icons-3ca72288.js.map} +0 -0
  764. /package/dist/kolibri/{image-source-6cc4aef4.js.map → image-source-a57280d8.js.map} +0 -0
  765. /package/dist/kolibri/{label-90c13388.js.map → label-eda19980.js.map} +0 -0
  766. /package/dist/kolibri/{open-4d9f16d0.js.map → open-f3adfe4b.js.map} +0 -0
  767. /package/dist/kolibri/{prop.validators-17aec743.js.map → prop.validators-681945f2.js.map} +0 -0
  768. /package/dist/kolibri/{rows-f033b1b3.js.map → rows-5d85ae4b.js.map} +0 -0
  769. /package/dist/kolibri/{show-c115b1eb.js.map → show-a332e1ca.js.map} +0 -0
  770. /package/dist/kolibri/{spell-check-27a3f91d.js.map → spell-check-5091fd6f.js.map} +0 -0
  771. /package/dist/kolibri/{suggestions-04da2b2e.js.map → suggestions-0df3a77a.js.map} +0 -0
  772. /package/dist/kolibri/{table-settings-d708d477.js.map → table-settings-daded362.js.map} +0 -0
  773. /package/dist/kolibri/{tooltip-align-7d5fdb9e.js.map → tooltip-align-2f91cf94.js.map} +0 -0
  774. /package/dist/kolibri/{validation-81a4e752.js.map → validation-a701550c.js.map} +0 -0
  775. /package/dist/kolibri/{validation-16bfc143.js.map → validation-c19ff760.js.map} +0 -0
@@ -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-17aec743.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-681945f2.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{s as o}from"./browser-f629a56a.js";const n=o(),s={"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null}},i=n("kol-icon"),c=n("kol-icon","icon");export{s as B,i as a,c as b};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bem","generateBemClassNames","BEM","elements","icon","modifiers","BEM_CLASS_ICON","BEM_CLASS_ICON__ICON"],"sources":["src/components/icon/bem.ts"],"sourcesContent":["import { generateBemClassNames } from 'typed-bem';\n\ntype SCHEMA = {\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n};\n\nconst bem = generateBemClassNames<SCHEMA>();\n\nconst BEM: SCHEMA = {\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n};\n\n/**\n * Define the static BEM class names for the alert component.\n */\nconst BEM_CLASS_ICON = bem('kol-icon');\nconst BEM_CLASS_ICON__ICON = bem('kol-icon', 'icon');\n\nexport { bem as genBemAlert, BEM as BEM_ICON };\nexport { BEM_CLASS_ICON, BEM_CLASS_ICON__ICON };\n"],"mappings":";;;0CAaA,MAAMA,EAAMC,I,MAENC,EAAc,CACnB,WAAY,CACXC,SAAU,CACTC,KAAM,CAAEC,UAAW,OAEpBA,UAAW,O,MAOPC,EAAiBN,EAAI,Y,MACrBO,EAAuBP,EAAI,WAAY,e","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{s as e}from"./browser-f629a56a.js";const o=e(),s={"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])}},t=o("kol-alert","closer"),n=o("kol-alert","content"),r=o("kol-alert","icon");export{s as B,r as a,o as b,n as c,t as d};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bem","generateBemClassNames","BEM","elements","closer","modifiers","heading","Set","icon","content","container","BEM_CLASS_ALERT__CLOSER","BEM_CLASS_ALERT__CONTENT","BEM_CLASS_ALERT__ICON"],"sources":["src/functional-components/Alert/bem.ts"],"sourcesContent":["import { generateBemClassNames } from 'typed-bem';\n\n/**\n * This file defines the BEM schema for the kol-alert component.\n */\n\n/**\n * The schema defines the structure of the BEM class names\n */\ntype SCHEMA = {\n\t'kol-alert': {\n\t\t/**\n\t\t * Here we define the elements we needed\n\t\t * to realize a minimal full featured alert\n\t\t * component (DOM).\n\t\t */\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\theading: {\n\t\t\t\t/**\n\t\t\t\t * Some elements needs modifiers to\n\t\t\t\t * style them properly.\n\t\t\t\t */\n\t\t\t\tmodifiers: Set<'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;\n\t\t\t};\n\t\t\tcontent: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcloser: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\t/**\n\t\t * Here we define the modifiers related to the\n\t\t * kol-alert component properties.\n\t\t */\n\t\tmodifiers: Set<'hasCloser' | 'type-default' | 'type-error' | 'type-info' | 'type-success' | 'type-warning' | 'variant-card' | 'variant-msg'>;\n\t};\n};\n\n/**\n * Define the generator function for the BEM class names.\n */\nconst bem = generateBemClassNames<SCHEMA>();\n\n/**\n * Define a constants object that contains the BEM schema for\n * reuse to generate SCSS files in themes.\n */\nconst BEM: SCHEMA = {\n\t'kol-alert': {\n\t\telements: {\n\t\t\tcloser: { modifiers: null },\n\t\t\theading: { modifiers: new Set(['h0', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']) },\n\t\t\ticon: { modifiers: null },\n\t\t\tcontent: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['hasCloser', 'type-default', 'type-error', 'type-info', 'type-success', 'type-warning', 'variant-card', 'variant-msg']),\n\t},\n};\n\n/**\n * Define the static BEM class names for the alert component.\n */\nconst BEM_CLASS_ALERT__CLOSER = bem('kol-alert', 'closer');\nconst BEM_CLASS_ALERT__CONTENT = bem('kol-alert', 'content');\nconst BEM_CLASS_ALERT__ICON = bem('kol-alert', 'icon');\n\nexport { bem as genBemAlert, BEM as BEM_ALERT };\nexport { BEM_CLASS_ALERT__CLOSER, BEM_CLASS_ALERT__CONTENT, BEM_CLASS_ALERT__ICON };\n"],"mappings":";;;gDAgDMA,EAAMC,I,MAMNC,EAAc,CACnB,YAAa,CACZC,SAAU,CACTC,OAAQ,CAAEC,UAAW,MACrBC,QAAS,CAAED,UAAW,IAAIE,IAAI,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,QACnEC,KAAM,CAAEH,UAAW,MACnBI,QAAS,CAAEJ,UAAW,MACtBK,UAAW,CAAEL,UAAW,OAEzBA,UAAW,IAAIE,IAAI,CAAC,YAAa,eAAgB,aAAc,YAAa,eAAgB,eAAgB,eAAgB,kB,MAOxHI,EAA0BX,EAAI,YAAa,U,MAC3CY,EAA2BZ,EAAI,YAAa,W,MAC5Ca,EAAwBb,EAAI,YAAa,e","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ var r=function(t){return function(r,n){if(!r)return t;var e;"string"==typeof r?e=r:n=r;var u=t;return e&&(u+="__"+e),u+(n?Object.keys(n).reduce((function(t,r){var e=n[r];return e&&(t+=" "+("boolean"==typeof e?u+"--"+r:u+"--"+r+"_"+e)),t}),""):"")}};const n=r;function t(){const t=new Map;return(r,e,u)=>{try{return t.get(r)(e,u)}catch{return t.set(r,n(r)).get(r)(e,u)}}}export{t as s};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["easyBem","bem","componentName","elementOrMods","mods","element","base","Object","keys","reduce","result","name","value","s","e","Map","t","n","o","get","set","r"],"sources":["../../node_modules/.pnpm/easy-bem@1.1.1/node_modules/easy-bem/index.js","../../node_modules/.pnpm/typed-bem@1.0.0-rc.7/node_modules/typed-bem/dist/browser.mjs"],"sourcesContent":["'use strict';\r\n\r\n/**\r\n * BEM class name factory.\r\n *\r\n * @typedef {Function} Bem\r\n * @param {String|Object} [elementOrMods] Element name or hash object with mods\r\n * @param {Object} [mods] Hash object with mods\r\n * @returns {String}\r\n */\r\n\r\n/**\r\n * Returns BEM class name factory.\r\n *\r\n * @param {String} componentName Block name\r\n * @returns {Bem}\r\n */\r\nmodule.exports = function bem(componentName) {\r\n return function (elementOrMods, mods) {\r\n if (!elementOrMods) {\r\n return componentName;\r\n }\r\n\r\n var element;\r\n\r\n if (typeof elementOrMods === 'string') {\r\n element = elementOrMods;\r\n } else {\r\n mods = elementOrMods;\r\n }\r\n\r\n var base = componentName;\r\n if (element) {\r\n base += '__' + element;\r\n }\r\n\r\n return base + (\r\n mods\r\n ? Object.keys(mods).reduce(function (result, name) {\r\n var value = mods[name];\r\n\r\n if (value) {\r\n result += ' ' + (\r\n typeof value === 'boolean'\r\n ? (base + '--' + name)\r\n : (base + '--' + name + '_' + value)\r\n );\r\n }\r\n\r\n return result;\r\n }, '')\r\n : ''\r\n );\r\n };\r\n}\r\n","import r from\"easy-bem\";function s(){const e=new Map;return(t,n,o)=>{try{return e.get(t)(n,o)}catch{return e.set(t,r(t)).get(t)(n,o)}}}function a(...e){const t=new Set;for(const n of e)if(n)for(const o of n.split(/\\s+/))t.add(o);return[...t].join(\" \")}export{s as generateBemClassNames,a as uniqueClassNames};\n//# sourceMappingURL=browser.mjs.map\n"],"mappings":";;;IAiBAA,EAAiB,SAASC,EAAIC,GAC1B,OAAO,SAAUC,EAAeC,GAC5B,IAAKD,EAAe,CAChB,OAAOD,CACnB,CAEQ,IAAIG,EAEJ,UAAWF,IAAkB,SAAU,CACnCE,EAAUF,CACtB,KAAe,CACHC,EAAOD,CACnB,CAEQ,IAAIG,EAAOJ,EACX,GAAIG,EAAS,CACTC,GAAQ,KAAOD,CAC3B,CAEQ,OAAOC,GACHF,EACMG,OAAOC,KAAKJ,GAAMK,QAAO,SAAUC,EAAQC,GACzC,IAAIC,EAAQR,EAAKO,GAEjB,GAAIC,EAAO,CACPF,GAAU,YACCE,IAAU,UACVN,EAAO,KAAOK,EACdL,EAAO,KAAOK,EAAO,IAAMC,EAE9D,CAEoB,OAAOF,CAC3B,GAAmB,IACD,GAElB,CACA,E,UCtDwB,SAASG,IAAI,MAAMC,EAAE,IAAIC,IAAI,MAAM,CAACC,EAAEC,EAAEC,KAAK,IAAI,OAAOJ,EAAEK,IAAIH,EAANF,CAASG,EAAEC,EAAE,CAAC,MAAM,OAAOJ,EAAEM,IAAIJ,EAAEK,EAAEL,IAAIG,IAAIH,EAAlBF,CAAqBG,EAAEC,EAAE,EAAE,Q","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as t,i as a,b as o}from"./prop.validators-17aec743.js";const r=["button","link","tab","treeitem"],n=(a,i)=>{t(a,"_role",(t=>"string"==typeof t&&r.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${r.join(", ")}`]),i)},e=(t,r)=>{a(t,"_ariaDescription",r)},i=(t,a)=>{o(t,"_ariaExpanded",a)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],c=(a,r)=>{t(a,"_variant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),r,{defaultValue:"normal"})};export{i as a,n as b,c,e as v};
4
+ import{w as t,i as a,b as o}from"./prop.validators-681945f2.js";const r=["button","link","tab","treeitem"],n=(a,i)=>{t(a,"_role",(t=>"string"==typeof t&&r.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${r.join(", ")}`]),i)},e=(t,r)=>{a(t,"_ariaDescription",r)},i=(t,a)=>{o(t,"_ariaExpanded",a)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],l=(a,r)=>{t(a,"_variant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),r,{defaultValue:"normal"})};export{i as a,n as b,l as c,e 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-17aec743.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-681945f2.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
- let l="kol-abbr",t="kol-accordion",e="kol-alert",o="kol-alert-wc",k="kol-avatar",a="kol-avatar-wc",s="kol-badge",n="kol-breadcrumb",i="kol-button-link",r="kol-button",p="kol-button-wc",c="kol-card",b="kol-combobox",u="kol-details",w="kol-drawer",d="kol-form",m="kol-heading",g="kol-icon",v="kol-image",x="kol-input-checkbox",f="kol-input-color",h="kol-input-date",q="kol-input-email",j="kol-input-file",K="kol-input-number",y="kol-input-password",z="kol-input-radio",A="kol-input-range",B="kol-input",C="kol-input-text",D="kol-kolibri",E="kol-link-button",F="kol-link",G="kol-link-wc",H="kol-modal",I="kol-nav",J="kol-pagination",L="kol-popover-wc",M="kol-popover-button",N="kol-popover-button-wc",O="kol-progress",P="kol-quote",Q="kol-select",R="kol-single-select",S="kol-skip-nav",T="kol-spin",U="kol-split-button",V="kol-table-settings-wc",W="kol-table-stateful",X="kol-table-stateless",Y="kol-table-stateless-wc",Z="kol-tabs",$="kol-textarea",_="kol-toast-container",ll="kol-tooltip-wc",tl="kol-tree-item",el="kol-tree-item-wc",ol="kol-tree",kl="kol-tree-wc",al="kol-version";const sl=sl=>{l=sl(l),t=sl(t),e=sl(e),o=sl(o),k=sl(k),a=sl(a),s=sl(s),n=sl(n),i=sl(i),r=sl(r),p=sl(p),c=sl(c),b=sl(b),u=sl(u),w=sl(w),d=sl(d),m=sl(m),g=sl(g),v=sl(v),x=sl(x),f=sl(f),h=sl(h),q=sl(q),j=sl(j),K=sl(K),y=sl(y),z=sl(z),A=sl(A),B=sl(B),C=sl(C),D=sl(D),E=sl(E),F=sl(F),G=sl(G),H=sl(H),I=sl(I),J=sl(J),L=sl(L),M=sl(M),N=sl(N),O=sl(O),P=sl(P),Q=sl(Q),R=sl(R),S=sl(S),T=sl(T),U=sl(U),V=sl(V),W=sl(W),X=sl(X),Y=sl(Y),Z=sl(Z),$=sl($),_=sl(_),sl(ll),ll=sl(ll),tl=sl(tl),el=sl(el),ol=sl(ol),kl=sl(kl),al=sl(al)};export{_ as K,p as a,o as b,a as c,g as d,F as e,G as f,ll as g,d as h,Q as i,N as j,L as k,m as l,x as m,K as n,J as o,Y as p,r as q,kl as r,sl as s,el as t,s as u,V as v,ol as w,tl as x};
4
+ let l="kol-abbr",t="kol-accordion",e="kol-alert",o="kol-alert-wc",k="kol-avatar",a="kol-avatar-wc",s="kol-badge",n="kol-breadcrumb",i="kol-button-link",r="kol-button",p="kol-button-wc",c="kol-card",b="kol-combobox",u="kol-details",w="kol-drawer",d="kol-form",m="kol-heading",g="kol-icon",v="kol-image",x="kol-input-checkbox",f="kol-input-color",h="kol-input-date",q="kol-input-email",j="kol-input-file",K="kol-input-number",y="kol-input-password",z="kol-input-radio",A="kol-input-range",B="kol-input",C="kol-input-text",D="kol-kolibri",E="kol-link-button",F="kol-link",G="kol-link-wc",H="kol-modal",I="kol-nav",J="kol-pagination",L="kol-popover-wc",M="kol-popover-button",N="kol-popover-button-wc",O="kol-progress",P="kol-quote",Q="kol-select",R="kol-single-select",S="kol-skip-nav",T="kol-spin",U="kol-split-button",V="kol-table-settings-wc",W="kol-table-stateful",X="kol-table-stateless",Y="kol-table-stateless-wc",Z="kol-tabs",$="kol-textarea",_="kol-toast-container",ll="kol-tooltip-wc",tl="kol-tree-item",el="kol-tree-item-wc",ol="kol-tree",kl="kol-tree-wc",al="kol-version";const sl=sl=>{l=sl(l),t=sl(t),e=sl(e),o=sl(o),k=sl(k),a=sl(a),s=sl(s),n=sl(n),i=sl(i),r=sl(r),p=sl(p),c=sl(c),b=sl(b),u=sl(u),w=sl(w),d=sl(d),m=sl(m),g=sl(g),v=sl(v),x=sl(x),f=sl(f),h=sl(h),q=sl(q),j=sl(j),K=sl(K),y=sl(y),z=sl(z),A=sl(A),B=sl(B),C=sl(C),D=sl(D),E=sl(E),F=sl(F),G=sl(G),H=sl(H),I=sl(I),J=sl(J),L=sl(L),M=sl(M),N=sl(N),O=sl(O),P=sl(P),Q=sl(Q),R=sl(R),S=sl(S),T=sl(T),U=sl(U),V=sl(V),W=sl(W),X=sl(X),Y=sl(Y),Z=sl(Z),$=sl($),_=sl(_),sl(ll),ll=sl(ll),tl=sl(tl),el=sl(el),ol=sl(ol),kl=sl(kl),al=sl(al)};export{_ as K,p as a,o as b,a as c,g as d,G as e,ll as f,d as g,Q as h,N as i,F as j,L as k,m as l,x as m,K as n,J as o,Y as p,r as q,kl as r,sl as s,el as t,s as u,V as v,ol as w,tl as x};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{I as s}from"./controller-ea570d96.js";import{v as t}from"./spell-check-5091fd6f.js";import{w as e}from"./prop.validators-681945f2.js";import{v as o}from"./suggestions-0df3a77a.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};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e}from"./component-names-60d77143.js";import{n as o,K as t,j as n}from"./prop.validators-17aec743.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{g as e}from"./component-names-7ee7402b.js";import{n as o,K as t,j as n}from"./prop.validators-681945f2.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{w as t,k as i,i as s,b as a}from"./prop.validators-17aec743.js";import{I as e}from"./controller-icon-152a378d.js";import{v as h}from"./has-counter-0ab5f398.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-681945f2.js";import{I as e}from"./controller-icon-0b94fb1a.js";import{v as h}from"./has-counter-1eaa9205.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{I as t}from"./getRenderStates-356fb657.js";import{a as s,g as e,b as i,w as a,s as r}from"./prop.validators-17aec743.js";import{b as o,c as n}from"./label-90c13388.js";const f=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)&&s(`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===f(t)));if("number"==typeof t.label)return!0}return!1},l=(t,o,a={})=>{e(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),o,void 0,a)},h=(t,o,a={})=>{e(t,"_options",f,o,void 0,a)},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){l(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,l as b,p as f,h as v};
4
+ import{I as t}from"./getRenderStates-60799f3f.js";import{a as s,g as e,b as i,w as a,s as r}from"./prop.validators-681945f2.js";import{b as o,c as n}from"./label-eda19980.js";const f=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)&&s(`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===f(t)));if("number"==typeof t.label)return!0}return!1},l=(t,o,a={})=>{e(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),o,void 0,a)},h=(t,o,a={})=>{e(t,"_options",f,o,void 0,a)},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){l(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,l as b,p as f,h as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as n}from"./index-6a6184d9.js";import{i as t}from"./InternalUnderlinedBadgeText-dbf09164.js";import{i as o}from"./isObject-ffcbbb76.js";import{_ as e}from"./tslib.es6-1173d062.js";import{a as s}from"./component-names-7ee7402b.js";import{K as i}from"./Icon-96e211b9.js";import{c}from"./clsx-09a06a12.js";import{c as r,a,I as d}from"./getRenderStates-60799f3f.js";import{v as l}from"./icons-3ca72288.js";const m=(s,t)=>{var{position:o="start",class:i}=s,a=e(s,["position","class"]);const r="kol-input-container__adornment",l=`${r}--${o}`;return n("div",Object.assign({class:c(r,l,i)},a),t)},b=m;function u(n){return!!n&&(Array.isArray(n)?n.length>0:Boolean(n))}const p=(s,t)=>{var{class:o}=s,i=e(s,["class"]);return n("div",Object.assign({class:c("kol-input-container__container",o)},i),t)},f=(s,t)=>{const{class:o,startAdornment:i,endAdornment:a,disabled:l,msg:d,touched:m,containerProps:g,startAdornmentProps:j,endAdornmentProps:_}=s,h=e(s,["class","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps"]),f=r(d,m),k={"kol-input-container--disabled":l,[`kol-input-container--${(null==d?void 0:d.type)||"error"}`]:f},A=Object.assign({class:c("kol-input-container",k,o)},h);return u(i)||u(a)?n("div",Object.assign({},A),n(b,Object.assign({},j,{position:"start"}),i),n(p,Object.assign({},g),t),n(b,Object.assign({},_,{position:"end"}),a)):n("div",Object.assign({},A),n(p,Object.assign({},g),t))},j=f,_=t=>{const{label:o,icons:i,hideLabel:a,disabled:c,onClick:r}=t,l=e(t,["label","icons","hideLabel","disabled","onClick"]);return n(s,Object.assign({_label:o,_disabled:c,_icons:i,_hideLabel:a,_on:{onClick:r}},l))},O=_,h=s=>{const{componentName:t="button",label:o,icon:a,onClick:c}=s,r=e(s,["componentName","label","icon","onClick"]);return n("button"===t?O:i,Object.assign({label:o||"",hideLabel:!0,icons:`codicon codicon-${a}`,onClick:c},r))},k=h;function v(n){let s,t;return"_icons"in n&&(s=n._icons),"_smartButton"in n&&(t=n._smartButton),{icons:s,smartButton:t,disabled:n._disabled,msg:a(n._msg),touched:n._touched}}const A=({state:s,endAdornment:e},i)=>{const{icons:a,smartButton:c,disabled:r,msg:l,touched:d}=v(s);let m=null==a?void 0:a.left;t(m)&&(m={icon:m});let b=null==a?void 0:a.right;t(b)&&(b={icon:b});const p=[],u=[];return e&&(Array.isArray(e)?u.push(...e):u.push(e)),m&&p.push(n(k,Object.assign({componentName:"icon",class:"kol-input-container__icon"},o(m)?m:{}))),o(c)&&u.push(n(k,Object.assign({componentName:"button",class:"kol-input-container__smart-button"},c,{hideLabel:!0,disabled:r}))),b&&u.push(n(k,Object.assign({componentName:"icon",class:"kol-input-container__icon"},o(b)?b:{}))),n(j,{disabled:r,msg:l,touched:d,startAdornment:p,endAdornment:u},i)},g=A;class C extends d{constructor(n,s,t){super(n,s,t),this.component=n}validateIcons(n){l(this.component,n)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{C as I,g as K,k as a};
@@ -1 +1 @@
1
- {"version":3,"names":["InputAdornment","_a","children","position","class","className","other","__rest","rootClassName","positionClassName","h","Object","assign","clsx","InputAdornment$1","hasItems","items","Array","isArray","length","Boolean","Container","KolInputContainerFc","props","classNames","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps","showMsg","checkHasMsg","stateCssClasses","type","baseProps","KolInputContainerFc$2","KolButtonFc","label","icons","hideLabel","onClick","KolButtonWcTag","_label","_disabled","_icons","_hideLabel","_on","KolButtonFc$1","KolIconButtonFc","componentName","icon","Component","KolIconFc","KolIconButtonFc$1","getInputContainerProps","state","undefined","smartButton","_smartButton","convertMsgToInternMsg","_msg","_touched","InputContainerStateWrapperFc","defaultEndAdornment","leftIconProps","left","isString","rightIconProps","right","push","isObject","InputIconController","InputController","constructor","component","name","host","super","this","validateIcons","value","componentWillLoad"],"sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx","src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `kol-input-container__adornment`;\n\tconst positionClassName = `${rootClassName}--${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, positionClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport InputAdornment from '../InputAdornment';\nimport { checkHasMsg, type InternMsgPropType } from '../../schema';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttouched?: boolean;\n\n\tcontainerProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tstartAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tendAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst Container: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: className, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-input-container__container', className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, disabled, msg, touched, containerProps, startAdornmentProps, endAdornmentProps, ...other } = props;\n\tconst showMsg = checkHasMsg(msg, touched);\n\n\tconst stateCssClasses = {\n\t\t['kol-input-container--disabled']: disabled,\n\t\t[`kol-input-container--${msg?.type || 'error'}`]: showMsg,\n\t};\n\n\tconst baseProps: JSXBase.HTMLAttributes<HTMLDivElement> = {\n\t\tclass: clsx('kol-input-container', stateCssClasses, classNames),\n\t\t...other,\n\t};\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div {...baseProps}>\n\t\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div {...baseProps}>\n\t\t\t<InputAdornment {...startAdornmentProps} position=\"start\">\n\t\t\t\t{startAdornment}\n\t\t\t</InputAdornment>\n\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t<InputAdornment {...endAdornmentProps} position=\"end\">\n\t\t\t\t{endAdornment}\n\t\t\t</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { InternalButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<InternalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The name of the icon (e.g., \"home\", \"edit\") or the Codicon class used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`codicon codicon-${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { InternMsgPropType } from '../../schema';\nimport {\n\ttype ButtonProps,\n\ttype IconOrIconClass,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype KoliBriHorizontalIcons,\n\ttype TextareaStates,\n\ttype SelectStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\n\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { isObject, isString } from 'lodash-es';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): {\n\ticons?: KoliBriHorizontalIcons;\n\tsmartButton?: ButtonProps;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttouched?: boolean;\n} {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: ButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn {\n\t\ticons,\n\t\tsmartButton,\n\t\tdisabled: state._disabled,\n\t\tmsg: convertMsgToInternMsg(state._msg),\n\t\ttouched: state._touched,\n\t};\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = ({ state, endAdornment: defaultEndAdornment }, children) => {\n\tconst { icons, smartButton, disabled, msg, touched } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(\n\t\t\t<KolIconButtonFc componentName=\"button\" class=\"kol-input-container__smart-button\" {...smartButton} hideLabel={true} disabled={disabled} />,\n\t\t);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc disabled={disabled} msg={msg} touched={touched} startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n","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":";;;qaAQA,MAAMA,EAA0C,CAACC,EAAoDC,K,IAApDC,SAAEA,EAAW,QAASC,MAAOC,GAASJ,EAAKK,EAAKC,EAAAN,EAAhD,sBAChD,MAAMO,EAAgB,iCACtB,MAAMC,EAAoB,GAAGD,MAAkBL,IAE/C,OACCO,EAAA,MAAAC,OAAAC,OAAA,CAAKR,MAAOS,EAAKL,EAAeC,EAAmBJ,IAAgBC,GACjEJ,EACI,EAIR,MAAAY,EAAed,ECCf,SAASe,EAASC,GACjB,IAAKA,EAAO,CACX,OAAO,K,CAGR,OAAOC,MAAMC,QAAQF,GAASA,EAAMG,OAAS,EAAIC,QAAQJ,EAC1D,CAEA,MAAMK,EAAwD,CAACpB,EAAgCC,K,IAA9BE,MAAOC,GAASJ,EAAKK,EAAKC,EAAAN,EAA5B,WAC9D,OACCS,EAAA,MAAAC,OAAAC,OAAA,CAAKR,MAAOS,EAAK,iCAAkCR,IAAgBC,GACjEJ,EACI,EAIR,MAAMoB,EAA+C,CAACC,EAAOrB,KAC5D,MAAQE,MAAOoB,EAAUC,eAAEA,EAAcC,aAAEA,EAAYC,SAAEA,EAAQC,IAAEA,EAAGC,QAAEA,EAAOC,eAAEA,EAAcC,oBAAEA,EAAmBC,kBAAEA,GAAgCT,EAAVjB,EAAKC,EAAKgB,EAAhJ,iIACN,MAAMU,EAAUC,EAAYN,EAAKC,GAEjC,MAAMM,EAAkB,CACvB,CAAC,iCAAkCR,EACnC,CAAC,yBAAwBC,IAAG,MAAHA,SAAG,SAAHA,EAAKQ,OAAQ,WAAYH,GAGnD,MAAMI,EAAS1B,OAAAC,OAAA,CACdR,MAAOS,EAAK,sBAAuBsB,EAAiBX,IACjDlB,GAGJ,IAAKS,EAASU,KAAoBV,EAASW,GAAe,CACzD,OACChB,EAAA,MAAAC,OAAAC,OAAA,GAASyB,GACR3B,EAACW,EAASV,OAAAC,OAAA,GAAKkB,GAAiB5B,G,CAKnC,OACCQ,EAAA,MAAAC,OAAAC,OAAA,GAASyB,GACR3B,EAACV,EAAcW,OAAAC,OAAA,GAAKmB,EAAmB,CAAE5B,SAAS,UAChDsB,GAEFf,EAACW,EAASV,OAAAC,OAAA,GAAKkB,GAAiB5B,GAChCQ,EAACV,EAAcW,OAAAC,OAAA,GAAKoB,EAAiB,CAAE7B,SAAS,QAC9CuB,GAEG,EAIR,MAAAY,EAAehB,EC7Df,MAAMiB,EAAgChB,IACrC,MAAMiB,MAAEA,EAAKC,MAAEA,EAAKC,UAAEA,EAASf,SAAEA,EAAQgB,QAAEA,GAAsBpB,EAAVjB,EAAKC,EAAKgB,EAA3D,oDAEN,OAAOb,EAACkC,EAAcjC,OAAAC,OAAA,CAACiC,OAAQL,EAAOM,UAAWnB,EAAUoB,OAAQN,EAAOO,WAAYN,EAAWO,IAAK,CAAEN,YAAerC,GAAS,EAGjI,MAAA4C,EAAeX,EC+Bf,MAAMY,EAAwC5B,IAC7C,MAAM6B,cAAEA,EAAgB,SAAQZ,MAAEA,EAAKa,KAAEA,EAAIV,QAAEA,GAAsBpB,EAAVjB,EAAKC,EAAKgB,EAA/D,4CACN,MAAM+B,EAAYF,IAAkB,SAAWb,EAAcgB,EAE7D,OAAO7C,EAAC4C,EAAS3C,OAAAC,OAAA,CAAC4B,MAAOA,GAAS,GAAIE,UAAS,KAACD,MAAO,mBAAmBY,IAAQV,QAASA,GAAarC,GAAS,EAGlH,MAAAkD,EAAeL,ECjBf,SAASM,EAAuBC,GAO/B,IAAIjB,EAA4CkB,UAChD,IAAIC,EAEJ,GAAI,WAAYF,EAAO,CACtBjB,EAAQiB,EAAMX,M,CAGf,GAAI,iBAAkBW,EAAO,CAC5BE,EAAcF,EAAMG,Y,CAGrB,MAAO,CACNpB,QACAmB,cACAjC,SAAU+B,EAAMZ,UAChBlB,IAAKkC,EAAsBJ,EAAMK,MACjClC,QAAS6B,EAAMM,SAEjB,CAEA,MAAMC,EAAoE,EAAGP,QAAOhC,aAAcwC,GAAuBhE,KACxH,MAAMuC,MAAEA,EAAKmB,YAAEA,EAAWjC,SAAEA,EAAQC,IAAEA,EAAGC,QAAEA,GAAY4B,EAAuBC,GAE9E,IAAIS,EAA6C1B,IAAK,MAALA,SAAK,SAALA,EAAO2B,KACxD,GAAIC,EAASF,GAAgB,CAC5BA,EAAgB,CAAEd,KAAMc,E,CAGzB,IAAIG,EAA8C7B,IAAK,MAALA,SAAK,SAALA,EAAO8B,MACzD,GAAIF,EAASC,GAAiB,CAC7BA,EAAiB,CAAEjB,KAAMiB,E,CAG1B,MAAM7C,EAAiB,GACvB,MAAMC,EAAe,GAErB,GAAIwC,EAAqB,CACxB,GAAIjD,MAAMC,QAAQgD,GAAsB,CACvCxC,EAAa8C,QAAQN,E,KACf,CACNxC,EAAa8C,KAAKN,E,EAIpB,GAAIC,EAAe,CAClB1C,EAAe+C,KAAK9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,OAAOhD,MAAM,6BAAiCqE,EAASN,GAAiBA,EAAgB,K,CAG5I,GAAIM,EAASb,GAAc,CAC1BlC,EAAa8C,KACZ9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,SAAShD,MAAM,qCAAwCwD,EAAW,CAAElB,UAAW,KAAMf,SAAUA,K,CAIhI,GAAI2C,EAAgB,CACnB5C,EAAa8C,KAAK9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,OAAOhD,MAAM,6BAAiCqE,EAASH,GAAkBA,EAAiB,K,CAG5I,OACC5D,EAACY,EAAmB,CAACK,SAAUA,EAAUC,IAAKA,EAAKC,QAASA,EAASJ,eAAgBA,EAAgBC,aAAcA,GACjHxB,EACoB,EAIxB,MAAAoB,EAAe2C,E,MCpGFS,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,UAAU9B,O","ignoreList":[]}
1
+ {"version":3,"names":["InputAdornment","_a","children","position","class","className","other","__rest","rootClassName","positionClassName","h","Object","assign","clsx","InputAdornment$1","hasItems","items","Array","isArray","length","Boolean","Container","KolInputContainerFc","props","classNames","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps","showMsg","checkHasMsg","stateCssClasses","type","baseProps","KolInputContainerFc$2","KolButtonFc","label","icons","hideLabel","onClick","KolButtonWcTag","_label","_disabled","_icons","_hideLabel","_on","KolButtonFc$1","KolIconButtonFc","componentName","icon","Component","KolIconFc","KolIconButtonFc$1","getInputContainerProps","state","undefined","smartButton","_smartButton","convertMsgToInternMsg","_msg","_touched","InputContainerStateWrapperFc","defaultEndAdornment","leftIconProps","left","isString","rightIconProps","right","push","isObject","InputIconController","InputController","constructor","component","name","host","super","this","validateIcons","value","componentWillLoad"],"sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx","src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `kol-input-container__adornment`;\n\tconst positionClassName = `${rootClassName}--${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, positionClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport InputAdornment from '../InputAdornment';\nimport { checkHasMsg, type InternMsgPropType } from '../../schema';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttouched?: boolean;\n\n\tcontainerProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tstartAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tendAdornmentProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst Container: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: className, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-input-container__container', className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, disabled, msg, touched, containerProps, startAdornmentProps, endAdornmentProps, ...other } = props;\n\tconst showMsg = checkHasMsg(msg, touched);\n\n\tconst stateCssClasses = {\n\t\t['kol-input-container--disabled']: disabled,\n\t\t[`kol-input-container--${msg?.type || 'error'}`]: showMsg,\n\t};\n\n\tconst baseProps: JSXBase.HTMLAttributes<HTMLDivElement> = {\n\t\tclass: clsx('kol-input-container', stateCssClasses, classNames),\n\t\t...other,\n\t};\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div {...baseProps}>\n\t\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div {...baseProps}>\n\t\t\t<InputAdornment {...startAdornmentProps} position=\"start\">\n\t\t\t\t{startAdornment}\n\t\t\t</InputAdornment>\n\t\t\t<Container {...containerProps}>{children}</Container>\n\t\t\t<InputAdornment {...endAdornmentProps} position=\"end\">\n\t\t\t\t{endAdornment}\n\t\t\t</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { InternalButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<InternalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The name of the icon (e.g., \"home\", \"edit\") or the Codicon class used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`codicon codicon-${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { InternMsgPropType } from '../../schema';\nimport {\n\ttype ButtonProps,\n\ttype IconOrIconClass,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype KoliBriHorizontalIcons,\n\ttype TextareaStates,\n\ttype SelectStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\n\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { isObject, isString } from 'lodash-es';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): {\n\ticons?: KoliBriHorizontalIcons;\n\tsmartButton?: ButtonProps;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttouched?: boolean;\n} {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: ButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn {\n\t\ticons,\n\t\tsmartButton,\n\t\tdisabled: state._disabled,\n\t\tmsg: convertMsgToInternMsg(state._msg),\n\t\ttouched: state._touched,\n\t};\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = ({ state, endAdornment: defaultEndAdornment }, children) => {\n\tconst { icons, smartButton, disabled, msg, touched } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(\n\t\t\t<KolIconButtonFc componentName=\"button\" class=\"kol-input-container__smart-button\" {...smartButton} hideLabel={true} disabled={disabled} />,\n\t\t);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" class=\"kol-input-container__icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc disabled={disabled} msg={msg} touched={touched} startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n","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":";;;2ZAQA,MAAMA,EAA0C,CAACC,EAAoDC,K,IAApDC,SAAEA,EAAW,QAASC,MAAOC,GAASJ,EAAKK,EAAKC,EAAAN,EAAhD,sBAChD,MAAMO,EAAgB,iCACtB,MAAMC,EAAoB,GAAGD,MAAkBL,IAE/C,OACCO,EAAA,MAAAC,OAAAC,OAAA,CAAKR,MAAOS,EAAKL,EAAeC,EAAmBJ,IAAgBC,GACjEJ,EACI,EAIR,MAAAY,EAAed,ECCf,SAASe,EAASC,GACjB,IAAKA,EAAO,CACX,OAAO,K,CAGR,OAAOC,MAAMC,QAAQF,GAASA,EAAMG,OAAS,EAAIC,QAAQJ,EAC1D,CAEA,MAAMK,EAAwD,CAACpB,EAAgCC,K,IAA9BE,MAAOC,GAASJ,EAAKK,EAAKC,EAAAN,EAA5B,WAC9D,OACCS,EAAA,MAAAC,OAAAC,OAAA,CAAKR,MAAOS,EAAK,iCAAkCR,IAAgBC,GACjEJ,EACI,EAIR,MAAMoB,EAA+C,CAACC,EAAOrB,KAC5D,MAAQE,MAAOoB,EAAUC,eAAEA,EAAcC,aAAEA,EAAYC,SAAEA,EAAQC,IAAEA,EAAGC,QAAEA,EAAOC,eAAEA,EAAcC,oBAAEA,EAAmBC,kBAAEA,GAAgCT,EAAVjB,EAAKC,EAAKgB,EAAhJ,iIACN,MAAMU,EAAUC,EAAYN,EAAKC,GAEjC,MAAMM,EAAkB,CACvB,CAAC,iCAAkCR,EACnC,CAAC,yBAAwBC,IAAG,MAAHA,SAAG,SAAHA,EAAKQ,OAAQ,WAAYH,GAGnD,MAAMI,EAAS1B,OAAAC,OAAA,CACdR,MAAOS,EAAK,sBAAuBsB,EAAiBX,IACjDlB,GAGJ,IAAKS,EAASU,KAAoBV,EAASW,GAAe,CACzD,OACChB,EAAA,MAAAC,OAAAC,OAAA,GAASyB,GACR3B,EAACW,EAASV,OAAAC,OAAA,GAAKkB,GAAiB5B,G,CAKnC,OACCQ,EAAA,MAAAC,OAAAC,OAAA,GAASyB,GACR3B,EAACV,EAAcW,OAAAC,OAAA,GAAKmB,EAAmB,CAAE5B,SAAS,UAChDsB,GAEFf,EAACW,EAASV,OAAAC,OAAA,GAAKkB,GAAiB5B,GAChCQ,EAACV,EAAcW,OAAAC,OAAA,GAAKoB,EAAiB,CAAE7B,SAAS,QAC9CuB,GAEG,EAIR,MAAAY,EAAehB,EC7Df,MAAMiB,EAAgChB,IACrC,MAAMiB,MAAEA,EAAKC,MAAEA,EAAKC,UAAEA,EAASf,SAAEA,EAAQgB,QAAEA,GAAsBpB,EAAVjB,EAAKC,EAAKgB,EAA3D,oDAEN,OAAOb,EAACkC,EAAcjC,OAAAC,OAAA,CAACiC,OAAQL,EAAOM,UAAWnB,EAAUoB,OAAQN,EAAOO,WAAYN,EAAWO,IAAK,CAAEN,YAAerC,GAAS,EAGjI,MAAA4C,EAAeX,EC+Bf,MAAMY,EAAwC5B,IAC7C,MAAM6B,cAAEA,EAAgB,SAAQZ,MAAEA,EAAKa,KAAEA,EAAIV,QAAEA,GAAsBpB,EAAVjB,EAAKC,EAAKgB,EAA/D,4CACN,MAAM+B,EAAYF,IAAkB,SAAWb,EAAcgB,EAE7D,OAAO7C,EAAC4C,EAAS3C,OAAAC,OAAA,CAAC4B,MAAOA,GAAS,GAAIE,UAAS,KAACD,MAAO,mBAAmBY,IAAQV,QAASA,GAAarC,GAAS,EAGlH,MAAAkD,EAAeL,ECjBf,SAASM,EAAuBC,GAO/B,IAAIjB,EAA4CkB,UAChD,IAAIC,EAEJ,GAAI,WAAYF,EAAO,CACtBjB,EAAQiB,EAAMX,M,CAGf,GAAI,iBAAkBW,EAAO,CAC5BE,EAAcF,EAAMG,Y,CAGrB,MAAO,CACNpB,QACAmB,cACAjC,SAAU+B,EAAMZ,UAChBlB,IAAKkC,EAAsBJ,EAAMK,MACjClC,QAAS6B,EAAMM,SAEjB,CAEA,MAAMC,EAAoE,EAAGP,QAAOhC,aAAcwC,GAAuBhE,KACxH,MAAMuC,MAAEA,EAAKmB,YAAEA,EAAWjC,SAAEA,EAAQC,IAAEA,EAAGC,QAAEA,GAAY4B,EAAuBC,GAE9E,IAAIS,EAA6C1B,IAAK,MAALA,SAAK,SAALA,EAAO2B,KACxD,GAAIC,EAASF,GAAgB,CAC5BA,EAAgB,CAAEd,KAAMc,E,CAGzB,IAAIG,EAA8C7B,IAAK,MAALA,SAAK,SAALA,EAAO8B,MACzD,GAAIF,EAASC,GAAiB,CAC7BA,EAAiB,CAAEjB,KAAMiB,E,CAG1B,MAAM7C,EAAiB,GACvB,MAAMC,EAAe,GAErB,GAAIwC,EAAqB,CACxB,GAAIjD,MAAMC,QAAQgD,GAAsB,CACvCxC,EAAa8C,QAAQN,E,KACf,CACNxC,EAAa8C,KAAKN,E,EAIpB,GAAIC,EAAe,CAClB1C,EAAe+C,KAAK9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,OAAOhD,MAAM,6BAAiCqE,EAASN,GAAiBA,EAAgB,K,CAG5I,GAAIM,EAASb,GAAc,CAC1BlC,EAAa8C,KACZ9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,SAAShD,MAAM,qCAAwCwD,EAAW,CAAElB,UAAW,KAAMf,SAAUA,K,CAIhI,GAAI2C,EAAgB,CACnB5C,EAAa8C,KAAK9D,EAACyC,EAAexC,OAAAC,OAAA,CAACwC,cAAc,OAAOhD,MAAM,6BAAiCqE,EAASH,GAAkBA,EAAiB,K,CAG5I,OACC5D,EAACY,EAAmB,CAACK,SAAUA,EAAUC,IAAKA,EAAKC,QAASA,EAASJ,eAAgBA,EAAgBC,aAAcA,GACjHxB,EACoB,EAIxB,MAAAoB,EAAe2C,E,MCpGFS,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,UAAU9B,O","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as s}from"./prop.validators-681945f2.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-99a79ec9.js";import{p as t}from"./reuse-f46e7e35.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-6a6184d9.js";import{p as t}from"./reuse-f46e7e35.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};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as t,r as e}from"./dev.utils-df5fd961.js";import{e as o,g as s,L as r,a as i,f as a,d as l}from"./dev.utils-fab45cbc.js";import{y as n,t as f,z as d,A as c,B as p,p as m,C as L}from"./prop.validators-681945f2.js";import"./index-6a6184d9.js";import"./reuse-f46e7e35.js";import"./index-78bc9474.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",f),v("querySelectorAll",d),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",i()),h("Color contrast analysis",a()),a()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{p.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-17aec743.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-681945f2.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{d as e,K as t}from"./events-5886c68b.js";import{A as s}from"./associated.controller-3b160a7e.js";import{b as i,o,p as a,w as r,c as n,a as l,i as d,j as c,s as h}from"./prop.validators-17aec743.js";import{v as u,a as f,b as m,c as p}from"./access-and-short-key-16c1f3d9.js";import{v as b}from"./tooltip-align-7d5fdb9e.js";import{v}from"./hide-label-90b37cc2.js";import{a as g}from"./label-90c13388.js";import{_ as y}from"./tslib.es6-1173d062.js";import{h as j,F as _}from"./index-99a79ec9.js";import{c as L}from"./clsx-09a06a12.js";import{K as x}from"./Alert-c740d8f3.js";import{t as O}from"./i18n-efbafc80.js";import{g as k}from"./component-names-60d77143.js";import{i as K,I as B}from"./InternalUnderlinedBadgeText-67c31e1b.js";import{b as P,s as C}from"./reuse-f46e7e35.js";import{b as F,i as M}from"./common-54bf85ba.js";const T=(e,t)=>{i(e,"_adjustHeight",t)},$=(e,t,o)=>{i(e,"_hideMsg",t,o)};function w(e){return Object.entries(e).reduce(((e,[t,o])=>{const s=t.startsWith("_")?t.slice(1):t;return Object.assign(Object.assign({},e),{[s]:o})}),{})}const H=(e,t)=>{o(t,(()=>{try{t=a(t)}catch(e){}r(e,"_msg",(e=>F(e)&&M(null==e?void 0:e._description,1)||void 0===(null==e?void 0:e._type)),new Set(["MsgPropType"]),t)}))};function I(e){if(e)return w(e)}function N(e,t){return!!e&&(!0===t||"error"!==(null==e?void 0:e.type))}const E=(e,t)=>{i(e,"_touched",t)},A=e=>{var{alert:t,msg:o,hideMsg:s,id:i,class:n}=e,a=y(e,["alert","msg","hideMsg","id","class"]);return j(x,Object.assign({id:`${i}-msg`,alert:t,type:"error",class:L("kol-form-field__msg",{"visually-hidden":!0===s},n)},o,a,{"aria-hidden":"true"}),(null==o?void 0:o.description)||void 0)},S=A,q=({hasExpertSlot:e,accessKey:t,shortKey:o,label:s,showBadge:i=!0})=>{if(e)return j("slot",{name:"expert"});if(!s)return null;const n=K(t)||K(o);if(!i||!n)return j("span",null,s);const a=P(t,o);return j(_,null,j(B,{badgeText:a,label:s})," ",j("span",{class:"badge-text-hint","aria-hidden":"true"},a))},D=e=>{var{component:t="label",id:o,baseClassName:s="kol-form-field",class:i,accessKey:n,shortKey:a,label:l,hideLabel:r,hasExpertSlot:d,showBadge:c}=e,h=y(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const m=!d&&r;return j(t,Object.assign({},h,{class:L(`${s}__label`,i),id:m?void 0:`${o}-label`,hidden:m,htmlFor:o}),j("span",{class:L(`${s}__label-text`)},j(q,{hasExpertSlot:d,accessKey:n,shortKey:a,label:l,showBadge:c})))},W=D,z=e=>{var{id:t,class:o,hint:s,baseClassName:i="kol-form-field"}=e,n=y(e,["id","class","hint","baseClassName"]);return s?j("span",Object.assign({class:L(`${i}__hint`,o),id:`${t}-hint`},n),s):null},U=z,V=e=>{var{currentLength:t,maxLength:o,class:s}=e,i=y(e,["currentLength","maxLength","class"]);return j("span",Object.assign({class:L("kol-form-field__counter",s)},i,{"aria-atomic":"true","aria-live":"polite","data-testid":"input-counter"}),t,o&&j(_,null,j("span",{"aria-label":O("kol-of"),role:"img"},"/"),o)," ",j("span",null,O("kol-characters")))},G=V,J=({id:e,align:t,badgeText:o,hideLabel:s,label:i,class:n})=>j(k,{"aria-hidden":"true",class:L("kol-form-field__tooltip",n),_badgeText:o,_align:t,_id:s?`${e}-label`:void 0,_label:i}),Q=J;function R(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const X=(e,t)=>{var{class:o}=e,s=y(e,["class"]);return j("div",Object.assign({class:L("kol-form-field__input",o)},s),t)},Y=(e,t)=>{const{component:o="div",renderNoLabel:s,renderNoTooltip:i,renderNoHint:n,anotherChildren:a,id:l,required:r,alert:d,disabled:c,class:h,msg:m,hideMsg:p,hideLabel:u,label:b,hint:g,accessKey:f,shortKey:v,tooltipAlign:_,counter:K,readOnly:x,touched:O,formFieldLabelProps:k,formFieldHintProps:B,formFieldTooltipProps:F,formFieldMsgProps:M,formFieldCounterProps:I,formFieldInputProps:E}=e,H=y(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps"]),T=!s,A=!n,$=!i,w=C(b),q=N(m,O),D=P(f,v),V=$&&!w&&u;let z={"kol-form-field--disabled":Boolean(c),"kol-form-field--required":Boolean(r),"kol-form-field--touched":Boolean(O),"kol-form-field--hide-label":Boolean(u),"kol-form-field--read-only":Boolean(x),"kol-form-field--hidden-msg":Boolean(p)};return q&&(z=Object.assign(Object.assign({},z),{[`kol-form-field--${(null==m?void 0:m.type)||"error"}`]:!0,[`kol-form-field--${R(m)}`]:!0})),j(o,Object.assign({class:L("kol-form-field",z,h)},H),T&&j(W,Object.assign({},k||{},{id:l,hasExpertSlot:w,hideLabel:u,label:b,accessKey:f,shortKey:v})),j(X,Object.assign({},E),t,V&&j(Q,Object.assign({},F||{},{id:l,label:b,hideLabel:u,align:_,badgeText:D}))),K?j(G,Object.assign({},I||{},K)):null,q&&j(S,Object.assign({},M||{},{id:l,alert:d,msg:m,hideMsg:p})),A&&j(U,Object.assign({},B||{},{id:l,hint:g})),a)},Z=Y;function ee({ariaDescribedBy:e,hideLabel:t,label:o}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&o?o:void 0}}class te extends s{constructor(e,t,o){super(e,t,o),this.component=e}validateTouched(e){E(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class se extends te{constructor(e,t,o){super(e,t,o),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=e}validateAccessKey(e){u(this.component,e),f(e,this.component._shortKey)}validateAdjustHeight(e){T(this.component,e)}validateDisabled(e){i(this.component,"_disabled",e),!0===e&&n()}validateTooltipAlign(e){b(this.component,e)}validateHideMsg(e){$(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&l("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){v(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&l("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){d(this.component,"_hint",e)}validateId(e){d(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||c("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){g(this.component,e,{required:!0})}validateMsg(e){H(this.component,e)}validateOn(e){"object"==typeof e&&h(this.component,"_on",e)}validateShortKey(e){m(this.component,e),f(this.component._accessKey,e)}validateSmartButton(e){o(e,(()=>{try{e=a(e)}catch(e){}h(this.component,"_smartButton",e)}))}validateTabIndex(e){p(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),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)}emitEvent(t,o){this.host&&e(this.host,t,o)}onBlur(e){var o;this.component._touched=!0,this.emitEvent(t.blur),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(e)}onChange(e,o){var s;void 0===o&&(o=e.target.value),this.emitEvent(t.change,o),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onChange)&&this.component._on.onChange(e,o),this.valueChangeListeners.forEach((e=>e(o)))}onInput(e,o=!0,s){var i;void 0===s&&(s=e.target.value),this.emitEvent(t.input,s),o&&this.setFormAssociatedValue(s),"function"==typeof(null===(i=this.component._on)||void 0===i?void 0:i.onInput)&&this.component._on.onInput(e,s)}onClick(e){var o;this.emitEvent(t.click),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(e)}onFocus(e){var o;this.emitEvent(t.focus),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}}function ie(e){const t={id:e._id,disabled:e._disabled,msg:I(e._msg),hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched,accessKey:e._accessKey,shortKey:e._shortKey};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_hasCounter"in e&&"_currentLength"in e&&(t.counter=e._hasCounter?{currentLength:e._currentLength}:void 0,t.counter&&"_maxLength"in e&&(t.counter.maxLength=e._maxLength)),t}const oe=(e,t)=>{var{state:o}=e,s=y(e,["state"]);return j(Z,Object.assign({},ie(o),s),t)},ae=oe,re=e=>{var t,o,s;const i=Boolean((null===(t=null==e?void 0:e._msg)||void 0===t?void 0:t._description)&&(null===(o=e._msg._description)||void 0===o?void 0:o.length)>0),n="error"===(null===(s=e._msg)||void 0===s?void 0:s._type)&&i&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return i&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:n,hasHint:a,ariaDescribedBy:l}};export{se as I,ae as K,I as a,Q as b,N as c,W as d,U as e,ee as f,re as g};
4
+ import{d as e,K as t}from"./events-5886c68b.js";import{A as s}from"./associated.controller-7e6d1078.js";import{b as i,o,p as a,w as r,c as n,a as l,i as d,j as h,s as c}from"./prop.validators-681945f2.js";import{v as f,a as u,b as m,c as p}from"./access-and-short-key-4fd8b82e.js";import{v as b}from"./tooltip-align-2f91cf94.js";import{v}from"./hide-label-bf71a54c.js";import{a as g}from"./label-eda19980.js";import{_ as y}from"./tslib.es6-1173d062.js";import{h as j,F as _}from"./index-6a6184d9.js";import{c as L}from"./clsx-09a06a12.js";import{K as x}from"./Alert-1d6366b5.js";import{t as O}from"./i18n-efbafc80.js";import{f as k}from"./component-names-7ee7402b.js";import{i as K,I as B}from"./InternalUnderlinedBadgeText-dbf09164.js";import{b as P,s as C}from"./reuse-f46e7e35.js";import{b as F,i as M}from"./common-54bf85ba.js";const T=(e,t)=>{i(e,"_adjustHeight",t)},$=(e,t,o)=>{i(e,"_hideMsg",t,o)};function w(e){return Object.entries(e).reduce(((e,[t,o])=>{const s=t.startsWith("_")?t.slice(1):t;return Object.assign(Object.assign({},e),{[s]:o})}),{})}const H=(e,t)=>{o(t,(()=>{try{t=a(t)}catch(e){}r(e,"_msg",(e=>F(e)&&M(null==e?void 0:e._description,1)||void 0===(null==e?void 0:e._type)),new Set(["MsgPropType"]),t)}))};function I(e){if(e)return w(e)}function N(e,t){return!!e&&(!0===t||"error"!==(null==e?void 0:e.type))}const E=(e,t)=>{i(e,"_touched",t)},A=e=>{var{alert:t,msg:o,hideMsg:s,id:i,class:n}=e,a=y(e,["alert","msg","hideMsg","id","class"]);return j(x,Object.assign({id:`${i}-msg`,alert:t,type:"error",class:L("kol-form-field__msg",{"visually-hidden":!0===s},n)},o,a,{"aria-hidden":"true"}),(null==o?void 0:o.description)||void 0)},S=A,q=({hasExpertSlot:e,accessKey:t,shortKey:o,label:s,showBadge:i=!0})=>{if(e)return j("slot",{name:"expert"});if(!s)return null;const n=K(t)||K(o);if(!i||!n)return j("span",null,s);const a=P(t,o);return j(_,null,j(B,{badgeText:a,label:s})," ",j("span",{class:"badge-text-hint","aria-hidden":"true"},a))},D=e=>{var{component:t="label",id:o,baseClassName:s="kol-form-field",class:i,accessKey:n,shortKey:a,label:l,hideLabel:r,hasExpertSlot:d,showBadge:c}=e,h=y(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const m=!d&&r;return j(t,Object.assign({},h,{class:L(`${s}__label`,i),id:m?void 0:`${o}-label`,hidden:m,htmlFor:o}),j("span",{class:L(`${s}__label-text`)},j(q,{hasExpertSlot:d,accessKey:n,shortKey:a,label:l,showBadge:c})))},W=D,z=e=>{var{id:t,class:o,hint:s,baseClassName:i="kol-form-field"}=e,n=y(e,["id","class","hint","baseClassName"]);return s?j("span",Object.assign({class:L(`${i}__hint`,o),id:`${t}-hint`},n),s):null},U=z,V=e=>{var{currentLength:t,maxLength:o,class:s}=e,i=y(e,["currentLength","maxLength","class"]);return j("span",Object.assign({class:L("kol-form-field__counter",s)},i,{"aria-atomic":"true","aria-live":"polite","data-testid":"input-counter"}),t,o&&j(_,null,j("span",{"aria-label":O("kol-of"),role:"img"},"/"),o)," ",j("span",null,O("kol-characters")))},G=V,J=({id:e,align:t,badgeText:o,hideLabel:s,label:i,class:n})=>j(k,{"aria-hidden":"true",class:L("kol-form-field__tooltip",n),_badgeText:o,_align:t,_id:s?`${e}-label`:void 0,_label:i}),Q=J;function R(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const X=(e,t)=>{var{class:o}=e,s=y(e,["class"]);return j("div",Object.assign({class:L("kol-form-field__input",o)},s),t)},Y=(e,t)=>{const{component:o="div",renderNoLabel:s,renderNoTooltip:i,renderNoHint:n,anotherChildren:a,id:l,required:r,alert:d,disabled:c,class:h,msg:m,hideMsg:p,hideLabel:u,label:b,hint:f,accessKey:g,shortKey:v,tooltipAlign:_,counter:K,readOnly:x,touched:O,formFieldLabelProps:k,formFieldHintProps:B,formFieldTooltipProps:F,formFieldMsgProps:M,formFieldCounterProps:I,formFieldInputProps:E}=e,H=y(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps"]),T=!s,A=!n,$=!i,w=C(b),q=N(m,O),D=P(g,v),V=$&&!w&&u;let z={"kol-form-field--disabled":Boolean(c),"kol-form-field--required":Boolean(r),"kol-form-field--touched":Boolean(O),"kol-form-field--hide-label":Boolean(u),"kol-form-field--read-only":Boolean(x),"kol-form-field--hidden-msg":Boolean(p)};return q&&(z=Object.assign(Object.assign({},z),{[`kol-form-field--${(null==m?void 0:m.type)||"error"}`]:!0,[`kol-form-field--${R(m)}`]:!0})),j(o,Object.assign({class:L("kol-form-field",z,h)},H),T&&j(W,Object.assign({},k||{},{id:l,hasExpertSlot:w,hideLabel:u,label:b,accessKey:g,shortKey:v})),j(X,Object.assign({},E),t,V&&j(Q,Object.assign({},F||{},{id:l,label:b,hideLabel:u,align:_,badgeText:D}))),K?j(G,Object.assign({},I||{},K)):null,q&&j(S,Object.assign({},M||{},{id:l,alert:d,msg:m,hideMsg:p})),A&&j(U,Object.assign({},B||{},{id:l,hint:f})),a)},Z=Y;function ee({ariaDescribedBy:e,hideLabel:t,label:o}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&o?o:void 0}}class te extends s{constructor(e,t,o){super(e,t,o),this.component=e}validateTouched(e){E(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class se extends te{constructor(e,t,o){super(e,t,o),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=e}validateAccessKey(e){f(this.component,e),u(e,this.component._shortKey)}validateAdjustHeight(e){T(this.component,e)}validateDisabled(e){i(this.component,"_disabled",e),!0===e&&n()}validateTooltipAlign(e){b(this.component,e)}validateHideMsg(e){$(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&l("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){v(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&l("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){d(this.component,"_hint",e)}validateId(e){d(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||h("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){g(this.component,e,{required:!0})}validateMsg(e){H(this.component,e)}validateOn(e){"object"==typeof e&&c(this.component,"_on",e)}validateShortKey(e){m(this.component,e),u(this.component._accessKey,e)}validateSmartButton(e){o(e,(()=>{try{e=a(e)}catch(e){}c(this.component,"_smartButton",e)}))}validateTabIndex(e){p(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),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),u(this.component._accessKey,this.component._shortKey)}emitEvent(t,o){this.host&&e(this.host,t,o)}onBlur(e){var o;this.component._touched=!0,this.emitEvent(t.blur),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(e)}onChange(e,o){var s;void 0===o&&(o=e.target.value),this.emitEvent(t.change,o),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onChange)&&this.component._on.onChange(e,o),this.valueChangeListeners.forEach((e=>e(o)))}onInput(e,o=!0,s){var i;void 0===s&&(s=e.target.value),this.emitEvent(t.input,s),o&&this.setFormAssociatedValue(s),"function"==typeof(null===(i=this.component._on)||void 0===i?void 0:i.onInput)&&this.component._on.onInput(e,s)}onClick(e){var o;this.emitEvent(t.click),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(e)}onFocus(e){var o;this.emitEvent(t.focus),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}}function ie(e){const t={id:e._id,disabled:e._disabled,msg:I(e._msg),hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched,accessKey:e._accessKey,shortKey:e._shortKey};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_hasCounter"in e&&"_currentLength"in e&&(t.counter=e._hasCounter?{currentLength:e._currentLength}:void 0,t.counter&&"_maxLength"in e&&(t.counter.maxLength=e._maxLength)),t}const oe=(e,t)=>{var{state:o}=e,s=y(e,["state"]);return j(Z,Object.assign({},ie(o),s),t)},ae=oe,re=e=>{var t,o,s;const i=Boolean((null===(t=null==e?void 0:e._msg)||void 0===t?void 0:t._description)&&(null===(o=e._msg._description)||void 0===o?void 0:o.length)>0),n="error"===(null===(s=e._msg)||void 0===s?void 0:s._type)&&i&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return i&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:n,hasHint:a,ariaDescribedBy:l}};export{se as I,ae as K,I as a,Q as b,N as c,W as d,U as e,ee as f,re as g};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{b as o}from"./prop.validators-681945f2.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-681945f2.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-681945f2.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-681945f2.js";const r=(r,s,a={})=>{o(r,"_href",s,a)};export{r as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o,p as t,w as e}from"./prop.validators-17aec743.js";import{i as n,a as i,b as l}from"./common-54bf85ba.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};
4
+ import{o,p as t,w as e}from"./prop.validators-681945f2.js";import{i as n,a as i,b as l}from"./common-54bf85ba.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,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as o}from"./prop.validators-681945f2.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:!1,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},l={kolibriVersion:"3.0.0-3f7ce4d6fae47ec93967f553e36b3173cbf0ab8d.0"};var r=Object.defineProperty,n=(e,t)=>{for(var n in t)r(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
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",b="s-id",w="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)},T=t.shadowDom,E=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),R=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>R().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 we,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.T=l,d},K=(e,t)=>{const n={l:0,R:e,k:t,D:null,j:null,C:null,O:null,T:null};return n},X={},_=e=>e&&e.R===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.T,vtag:e.R,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.T=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||le(j.body,O.F=new Map),e[b]=n,e.removeAttribute(b),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&&T&&""===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],R:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,T: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,T:null,R: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.R="slot",a[5]?l["s-sn"]=c.T=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.R),c.T&&c.D.setAttribute("name",c.T),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.R){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},le=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)le(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)le(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])}},re=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(`[${w}="${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 be(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of be(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function be(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.R&&(we&&o.classList.add(we+"-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.R),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.R),je&&"foreignObject"===r.R&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(we)&&i["s-si"]!==we&&i.classList.add(i["s-si"]=we),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.R?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.T||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.R===r.R&&e.D&&Te(e.D,!1)),i},Te=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===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&&Te(t,n)}O.l&=-2},Ee=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===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))))},Re=(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():Te(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(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.R&&"slot"!==v.R||Te(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.R&&"slot"!==v.R||Te(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.R!==m.R?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?Ee(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Re(t,i,u)},Le=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?(!("A"in e)||!n||8===e.D.nodeType)&&e.T===t.T:!!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.R,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=""),Ee(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Re(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.R=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,we=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")),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)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return 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},rt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),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=re(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(b),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}})),rt(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,lt(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=>E?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{l as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,R as p,o as r,pt as s};
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:!1,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},l={kolibriVersion:"3.0.0-767e14d4c804d21963c1c38583ecde3d45516a70.0"};var r=Object.defineProperty,n=(e,t)=>{for(var n in t)r(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
+ /*!__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)},T=t.shadowDom,E=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),R=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>R().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.T=l,d},K=(e,t)=>{const n={l:0,R:e,k:t,D:null,j:null,C:null,O:null,T:null};return n},X={},_=e=>e&&e.R===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.T,vtag:e.R,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.T=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||le(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&&T&&""===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],R:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,T: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,T:null,R: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.R="slot",a[5]?l["s-sn"]=c.T=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.R),c.T&&c.D.setAttribute("name",c.T),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.R){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},le=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)le(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)le(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])}},re=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.R&&(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.R),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.R),je&&"foreignObject"===r.R&&(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.R?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.T||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.R===r.R&&e.D&&Te(e.D,!1)),i},Te=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===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&&Te(t,n)}O.l&=-2},Ee=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===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))))},Re=(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():Te(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(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.R&&"slot"!==v.R||Te(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.R&&"slot"!==v.R||Te(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.R!==m.R?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?Ee(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Re(t,i,u)},Le=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?(!("A"in e)||!n||8===e.D.nodeType)&&e.T===t.T:!!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.R,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=""),Ee(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Re(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.R=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")),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)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return 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},rt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),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=re(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}})),rt(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,lt(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=>E?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{l as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,R as p,o as r,pt as s};