@public-ui/components 3.0.0-rc.6 → 3.0.0-rc.8

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 (1005) hide show
  1. package/custom-elements.json +158 -4
  2. package/dist/cjs/Alert-e2ac9865.js +4 -0
  3. package/dist/cjs/Alert-e2ac9865.js.map +1 -0
  4. package/dist/cjs/{Collapsible-844445d4.js → Collapsible-0bb6e7ee.js} +1 -1
  5. package/dist/cjs/{Collapsible-844445d4.js.map → Collapsible-0bb6e7ee.js.map} +1 -1
  6. package/dist/cjs/CustomSuggestionsOptionsGroup-d3e792bb.js +4 -0
  7. package/dist/cjs/CustomSuggestionsOptionsGroup-d3e792bb.js.map +1 -0
  8. package/dist/cjs/FieldControlStateWrapper-f4b1a95b.js +4 -0
  9. package/dist/cjs/FieldControlStateWrapper-f4b1a95b.js.map +1 -0
  10. package/dist/cjs/{Heading-11d92da1.js → Heading-e55498a4.js} +1 -1
  11. package/dist/cjs/{Heading-11d92da1.js.map → Heading-e55498a4.js.map} +1 -1
  12. package/dist/cjs/Icon-8867e73b.js +4 -0
  13. package/dist/cjs/{Icon-e7c8d39a.js.map → Icon-8867e73b.js.map} +1 -1
  14. package/dist/cjs/Input-5a0ca439.js +4 -0
  15. package/dist/cjs/Input-5a0ca439.js.map +1 -0
  16. package/dist/cjs/InputStateWrapper-b9e53e5f.js +4 -0
  17. package/dist/cjs/InputStateWrapper-b9e53e5f.js.map +1 -0
  18. package/dist/cjs/{InternalUnderlinedBadgeText-ee3dbba6.js → InternalUnderlinedBadgeText-389620e7.js} +1 -1
  19. package/dist/cjs/{InternalUnderlinedBadgeText-ee3dbba6.js.map → InternalUnderlinedBadgeText-389620e7.js.map} +1 -1
  20. package/dist/cjs/{Span-b6b1c70b.js → Span-e5bd6e07.js} +1 -1
  21. package/dist/cjs/{Span-b6b1c70b.js.map → Span-e5bd6e07.js.map} +1 -1
  22. package/dist/cjs/{access-and-short-key-12a097ab.js → access-and-short-key-6155af7d.js} +1 -1
  23. package/dist/cjs/{access-and-short-key-12a097ab.js.map → access-and-short-key-6155af7d.js.map} +1 -1
  24. package/dist/cjs/{align-b9732b91.js → align-a9f24187.js} +1 -1
  25. package/dist/cjs/{align-b9732b91.js.map → align-a9f24187.js.map} +1 -1
  26. package/dist/cjs/align-floating-elements-f88156a1.js +4 -0
  27. package/dist/cjs/align-floating-elements-f88156a1.js.map +1 -0
  28. package/dist/cjs/app-globals-7d7712b7.js +4 -0
  29. package/dist/cjs/{app-globals-5daba31a.js.map → app-globals-7d7712b7.js.map} +1 -1
  30. package/dist/cjs/{associated.controller-5e3fde43.js → associated.controller-2005f7f0.js} +1 -1
  31. package/dist/cjs/{associated.controller-5e3fde43.js.map → associated.controller-2005f7f0.js.map} +1 -1
  32. package/dist/cjs/{button-variant-cd1a80cf.js → button-variant-10ad2503.js} +1 -1
  33. package/dist/cjs/{button-variant-cd1a80cf.js.map → button-variant-10ad2503.js.map} +1 -1
  34. package/dist/cjs/{color-2c30c52b.js → color-327a493c.js} +1 -1
  35. package/dist/cjs/{color-2c30c52b.js.map → color-327a493c.js.map} +1 -1
  36. package/dist/cjs/component-names-82c4d68d.js +4 -0
  37. package/dist/cjs/component-names-82c4d68d.js.map +1 -0
  38. package/dist/cjs/{controller-fcd5edcb.js → controller-1025bb87.js} +1 -1
  39. package/dist/cjs/{controller-fcd5edcb.js.map → controller-1025bb87.js.map} +1 -1
  40. package/dist/cjs/{controller-f5116746.js → controller-2b2bad95.js} +1 -1
  41. package/dist/cjs/{controller-f5116746.js.map → controller-2b2bad95.js.map} +1 -1
  42. package/dist/cjs/{controller-3383d544.js → controller-3c91be90.js} +1 -1
  43. package/dist/cjs/{controller-3383d544.js.map → controller-3c91be90.js.map} +1 -1
  44. package/dist/cjs/controller-8fd8da59.js +4 -0
  45. package/dist/cjs/{controller-ea888e13.js.map → controller-8fd8da59.js.map} +1 -1
  46. package/dist/cjs/controller-icon-f083fb87.js +4 -0
  47. package/dist/cjs/controller-icon-f083fb87.js.map +1 -0
  48. package/dist/cjs/custom-class-1bd0519a.js +4 -0
  49. package/dist/cjs/{custom-class-3a1c18f3.js.map → custom-class-1bd0519a.js.map} +1 -1
  50. package/dist/cjs/{dev.utils-0fbf39d5.js → dev.utils-cf3e30cd.js} +1 -1
  51. package/dist/cjs/{dev.utils-0fbf39d5.js.map → dev.utils-cf3e30cd.js.map} +1 -1
  52. package/dist/cjs/{devtools-10797f26.js → devtools-fd4ade5c.js} +1 -1
  53. package/dist/cjs/{devtools-10797f26.js.map → devtools-fd4ade5c.js.map} +1 -1
  54. package/dist/cjs/{disabled-5a2e250c.js → disabled-0ee19649.js} +1 -1
  55. package/dist/cjs/{disabled-5a2e250c.js.map → disabled-0ee19649.js.map} +1 -1
  56. package/dist/cjs/{events-fc641593.js → events-40771c95.js} +1 -1
  57. package/dist/cjs/events-40771c95.js.map +1 -0
  58. package/dist/cjs/getRenderStates-ccd7c1d9.js +4 -0
  59. package/dist/cjs/getRenderStates-ccd7c1d9.js.map +1 -0
  60. package/dist/cjs/has-closer-51ccf77f.js +4 -0
  61. package/dist/cjs/{has-closer-9b3c14a7.js.map → has-closer-51ccf77f.js.map} +1 -1
  62. package/dist/cjs/has-counter-8679115c.js +4 -0
  63. package/dist/cjs/{has-counter-7318f6f4.js.map → has-counter-8679115c.js.map} +1 -1
  64. package/dist/cjs/hide-label-a9a94f19.js +4 -0
  65. package/dist/cjs/{hide-label-b0063224.js.map → hide-label-a9a94f19.js.map} +1 -1
  66. package/dist/cjs/href-c14d2c3e.js +4 -0
  67. package/dist/cjs/{href-2485cb51.js.map → href-c14d2c3e.js.map} +1 -1
  68. package/dist/cjs/{i18n-cdacfb29.js → i18n-0e710ccd.js} +1 -1
  69. package/dist/cjs/{i18n-cdacfb29.js.map → i18n-0e710ccd.js.map} +1 -1
  70. package/dist/cjs/i18n-8c288a27.js +4 -0
  71. package/dist/cjs/i18n-8c288a27.js.map +1 -0
  72. package/dist/cjs/{icons-310a07cc.js → icons-c0c89cbb.js} +1 -1
  73. package/dist/cjs/{icons-310a07cc.js.map → icons-c0c89cbb.js.map} +1 -1
  74. package/dist/cjs/image-source-3b5f1388.js +4 -0
  75. package/dist/cjs/{image-source-27335383.js.map → image-source-3b5f1388.js.map} +1 -1
  76. package/dist/cjs/index-c77a4142.js +4 -0
  77. package/dist/cjs/index-c77a4142.js.map +1 -0
  78. package/dist/cjs/index-f59a950a.js +4 -0
  79. package/dist/cjs/index-f59a950a.js.map +1 -0
  80. package/dist/cjs/index.cjs.js +1 -1
  81. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  88. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -0
  149. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -0
  150. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  155. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  157. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  161. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  163. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  165. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  166. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  167. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +4 -0
  168. package/dist/cjs/kol-table-settings-wc.cjs.entry.js.map +1 -0
  169. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  170. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  171. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  172. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  173. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  174. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  175. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  176. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  177. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  178. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  179. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  180. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  181. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  182. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  183. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  184. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  185. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  186. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  187. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  188. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  189. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  190. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  191. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  192. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  193. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  194. package/dist/cjs/kolibri.cjs.js +1 -1
  195. package/dist/cjs/{label-b8654499.js → label-3ce275fe.js} +1 -1
  196. package/dist/cjs/{label-b8654499.js.map → label-3ce275fe.js.map} +1 -1
  197. package/dist/cjs/loader.cjs.js +1 -1
  198. package/dist/cjs/open-e08280be.js +4 -0
  199. package/dist/cjs/{open-5c1af49f.js.map → open-e08280be.js.map} +1 -1
  200. package/dist/cjs/{prop.validators-96dfedce.js → prop.validators-3c86f8eb.js} +1 -1
  201. package/dist/cjs/prop.validators-3c86f8eb.js.map +1 -0
  202. package/dist/cjs/reuse-8650ea4e.js +4 -0
  203. package/dist/cjs/reuse-8650ea4e.js.map +1 -0
  204. package/dist/cjs/rows-24ccf646.js +4 -0
  205. package/dist/cjs/{rows-782313b6.js.map → rows-24ccf646.js.map} +1 -1
  206. package/dist/cjs/show-0625d136.js +4 -0
  207. package/dist/cjs/{show-5b2be58e.js.map → show-0625d136.js.map} +1 -1
  208. package/dist/cjs/spell-check-d54fcffc.js +4 -0
  209. package/dist/cjs/{spell-check-5c5eee25.js.map → spell-check-d54fcffc.js.map} +1 -1
  210. package/dist/cjs/{suggestions-cd0a843d.js → suggestions-eccef9c3.js} +1 -1
  211. package/dist/cjs/{suggestions-cd0a843d.js.map → suggestions-eccef9c3.js.map} +1 -1
  212. package/dist/cjs/{callback-ab215ba6.js → table-settings-e3e70637.js} +1 -1
  213. package/dist/cjs/table-settings-e3e70637.js.map +1 -0
  214. package/dist/cjs/test-component.cjs.entry.js +1 -1
  215. package/dist/cjs/tooltip-align-5aee86e8.js +4 -0
  216. package/dist/cjs/{tooltip-align-3b9a6bde.js.map → tooltip-align-5aee86e8.js.map} +1 -1
  217. package/dist/cjs/{validation-fbc2d426.js → validation-2820e912.js} +1 -1
  218. package/dist/cjs/{validation-fbc2d426.js.map → validation-2820e912.js.map} +1 -1
  219. package/dist/cjs/{validation-7ea25fa6.js → validation-bcb18e67.js} +1 -1
  220. package/dist/cjs/{validation-7ea25fa6.js.map → validation-bcb18e67.js.map} +1 -1
  221. package/dist/components/Alert.js +1 -1
  222. package/dist/components/Alert.js.map +1 -1
  223. package/dist/components/CustomSuggestionsOptionsGroup.js +1 -1
  224. package/dist/components/CustomSuggestionsOptionsGroup.js.map +1 -1
  225. package/dist/components/FieldControlStateWrapper.js +1 -1
  226. package/dist/components/FieldControlStateWrapper.js.map +1 -1
  227. package/dist/components/Input.js +1 -1
  228. package/dist/components/Input.js.map +1 -1
  229. package/dist/components/InputContainerStateWrapper.js +1 -1
  230. package/dist/components/InputContainerStateWrapper.js.map +1 -1
  231. package/dist/components/InputStateWrapper.js +1 -1
  232. package/dist/components/InputStateWrapper.js.map +1 -1
  233. package/dist/components/access-and-short-key.js +1 -1
  234. package/dist/components/align-floating-elements.js +1 -1
  235. package/dist/components/align-floating-elements.js.map +1 -1
  236. package/dist/components/associated.controller.js +1 -1
  237. package/dist/components/button-variant.js +1 -1
  238. package/dist/components/color.js +1 -1
  239. package/dist/components/color.js.map +1 -1
  240. package/dist/components/component-names.js +1 -1
  241. package/dist/components/component-names.js.map +1 -1
  242. package/dist/components/controller.js +1 -1
  243. package/dist/components/controller2.js +1 -1
  244. package/dist/components/controller2.js.map +1 -1
  245. package/dist/components/controller4.js +1 -1
  246. package/dist/components/custom-class.js +1 -1
  247. package/dist/components/devtools.js +1 -1
  248. package/dist/components/disabled.js +1 -1
  249. package/dist/components/events.js +1 -1
  250. package/dist/components/events.js.map +1 -1
  251. package/dist/components/getRenderStates.js +1 -1
  252. package/dist/components/getRenderStates.js.map +1 -1
  253. package/dist/components/has-closer.js +1 -1
  254. package/dist/components/has-counter.js +1 -1
  255. package/dist/components/hide-label.js +1 -1
  256. package/dist/components/href.js +1 -1
  257. package/dist/components/i18n.js +1 -1
  258. package/dist/components/i18n.js.map +1 -1
  259. package/dist/components/icons.js +1 -1
  260. package/dist/components/image-source.js +1 -1
  261. package/dist/components/index.js +1 -1
  262. package/dist/components/kol-abbr.js +1 -1
  263. package/dist/components/kol-abbr.js.map +1 -1
  264. package/dist/components/kol-accordion.js +1 -1
  265. package/dist/components/kol-accordion.js.map +1 -1
  266. package/dist/components/kol-alert-wc.js +1 -1
  267. package/dist/components/kol-alert.js +1 -1
  268. package/dist/components/kol-alert.js.map +1 -1
  269. package/dist/components/kol-avatar.js +1 -1
  270. package/dist/components/kol-avatar.js.map +1 -1
  271. package/dist/components/kol-badge.js +1 -1
  272. package/dist/components/kol-badge.js.map +1 -1
  273. package/dist/components/kol-breadcrumb.js +1 -1
  274. package/dist/components/kol-breadcrumb.js.map +1 -1
  275. package/dist/components/kol-button-link.js +1 -1
  276. package/dist/components/kol-button-link.js.map +1 -1
  277. package/dist/components/kol-button-wc.js +1 -1
  278. package/dist/components/kol-button.js +1 -1
  279. package/dist/components/kol-button.js.map +1 -1
  280. package/dist/components/kol-card.js +1 -1
  281. package/dist/components/kol-card.js.map +1 -1
  282. package/dist/components/kol-combobox.js +1 -1
  283. package/dist/components/kol-combobox.js.map +1 -1
  284. package/dist/components/kol-details.js +1 -1
  285. package/dist/components/kol-details.js.map +1 -1
  286. package/dist/components/kol-drawer.js +1 -1
  287. package/dist/components/kol-drawer.js.map +1 -1
  288. package/dist/components/kol-form.js +1 -1
  289. package/dist/components/kol-form.js.map +1 -1
  290. package/dist/components/kol-heading.js +1 -1
  291. package/dist/components/kol-heading.js.map +1 -1
  292. package/dist/components/kol-icon.js +1 -1
  293. package/dist/components/kol-image.js +1 -1
  294. package/dist/components/kol-image.js.map +1 -1
  295. package/dist/components/kol-input-checkbox.js +1 -1
  296. package/dist/components/kol-input-checkbox.js.map +1 -1
  297. package/dist/components/kol-input-color.js +1 -1
  298. package/dist/components/kol-input-color.js.map +1 -1
  299. package/dist/components/kol-input-date.js +1 -1
  300. package/dist/components/kol-input-date.js.map +1 -1
  301. package/dist/components/kol-input-email.js +1 -1
  302. package/dist/components/kol-input-email.js.map +1 -1
  303. package/dist/components/kol-input-file.js +1 -1
  304. package/dist/components/kol-input-file.js.map +1 -1
  305. package/dist/components/kol-input-number.js +1 -1
  306. package/dist/components/kol-input-number.js.map +1 -1
  307. package/dist/components/kol-input-password.js +1 -1
  308. package/dist/components/kol-input-password.js.map +1 -1
  309. package/dist/components/kol-input-radio.js +1 -1
  310. package/dist/components/kol-input-radio.js.map +1 -1
  311. package/dist/components/kol-input-range.js +1 -1
  312. package/dist/components/kol-input-range.js.map +1 -1
  313. package/dist/components/kol-input-text.js +1 -1
  314. package/dist/components/kol-input-text.js.map +1 -1
  315. package/dist/components/kol-kolibri.js +1 -1
  316. package/dist/components/kol-kolibri.js.map +1 -1
  317. package/dist/components/kol-link-button.js +1 -1
  318. package/dist/components/kol-link-button.js.map +1 -1
  319. package/dist/components/kol-link-wc.js +1 -1
  320. package/dist/components/kol-link.js +1 -1
  321. package/dist/components/kol-link.js.map +1 -1
  322. package/dist/components/kol-modal.js +1 -1
  323. package/dist/components/kol-modal.js.map +1 -1
  324. package/dist/components/kol-nav.js +1 -1
  325. package/dist/components/kol-nav.js.map +1 -1
  326. package/dist/components/kol-pagination.js +1 -1
  327. package/dist/components/kol-pagination.js.map +1 -1
  328. package/dist/components/{kol-input.d.ts → kol-popover-button-wc.d.ts} +4 -4
  329. package/dist/components/kol-popover-button-wc.js +4 -0
  330. package/dist/components/kol-popover-button-wc.js.map +1 -0
  331. package/dist/components/kol-popover-button.js +1 -1
  332. package/dist/components/kol-popover-button.js.map +1 -1
  333. package/dist/components/kol-popover-wc.js +1 -1
  334. package/dist/components/kol-progress.js +1 -1
  335. package/dist/components/kol-progress.js.map +1 -1
  336. package/dist/components/kol-quote.js +1 -1
  337. package/dist/components/kol-quote.js.map +1 -1
  338. package/dist/components/kol-select.js +1 -1
  339. package/dist/components/kol-select.js.map +1 -1
  340. package/dist/components/kol-single-select.js +1 -1
  341. package/dist/components/kol-single-select.js.map +1 -1
  342. package/dist/components/kol-skip-nav.js +1 -1
  343. package/dist/components/kol-skip-nav.js.map +1 -1
  344. package/dist/components/kol-spin.js +1 -1
  345. package/dist/components/kol-spin.js.map +1 -1
  346. package/dist/components/kol-split-button.js +1 -1
  347. package/dist/components/kol-split-button.js.map +1 -1
  348. package/dist/components/kol-table-settings-wc.d.ts +11 -0
  349. package/dist/components/kol-table-settings-wc.js +4 -0
  350. package/dist/components/kol-table-settings-wc.js.map +1 -0
  351. package/dist/components/kol-table-stateful.js +1 -1
  352. package/dist/components/kol-table-stateful.js.map +1 -1
  353. package/dist/components/kol-table-stateless-wc.js +1 -1
  354. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  355. package/dist/components/kol-table-stateless.js +1 -1
  356. package/dist/components/kol-table-stateless.js.map +1 -1
  357. package/dist/components/kol-tabs.js +1 -1
  358. package/dist/components/kol-tabs.js.map +1 -1
  359. package/dist/components/kol-textarea.js +1 -1
  360. package/dist/components/kol-textarea.js.map +1 -1
  361. package/dist/components/kol-toast-container.js +1 -1
  362. package/dist/components/kol-toast-container.js.map +1 -1
  363. package/dist/components/kol-toolbar.js +1 -1
  364. package/dist/components/kol-toolbar.js.map +1 -1
  365. package/dist/components/kol-tooltip-wc.js +1 -1
  366. package/dist/components/kol-tree-item-wc.js +1 -1
  367. package/dist/components/kol-tree-item-wc.js.map +1 -1
  368. package/dist/components/kol-tree-item.js +1 -1
  369. package/dist/components/kol-tree-item.js.map +1 -1
  370. package/dist/components/kol-tree-wc.js +1 -1
  371. package/dist/components/kol-tree-wc.js.map +1 -1
  372. package/dist/components/kol-tree.js +1 -1
  373. package/dist/components/kol-tree.js.map +1 -1
  374. package/dist/components/kol-version.js +1 -1
  375. package/dist/components/kol-version.js.map +1 -1
  376. package/dist/components/open.js +1 -1
  377. package/dist/components/prop.validators.js +1 -1
  378. package/dist/components/prop.validators.js.map +1 -1
  379. package/dist/components/reuse.js +1 -1
  380. package/dist/components/reuse.js.map +1 -1
  381. package/dist/components/rows.js +1 -1
  382. package/dist/components/show.js +1 -1
  383. package/dist/components/spell-check.js +1 -1
  384. package/dist/components/suggestions.js +1 -1
  385. package/dist/components/{callback.js → table-settings.js} +1 -1
  386. package/dist/components/table-settings.js.map +1 -0
  387. package/dist/components/validation2.js +1 -1
  388. package/dist/esm/Alert-bebb173b.js +4 -0
  389. package/dist/esm/Alert-bebb173b.js.map +1 -0
  390. package/dist/esm/{Collapsible-fb8abe4a.js → Collapsible-c54aff9a.js} +1 -1
  391. package/dist/esm/{Collapsible-fb8abe4a.js.map → Collapsible-c54aff9a.js.map} +1 -1
  392. package/dist/esm/CustomSuggestionsOptionsGroup-ec71e53e.js +4 -0
  393. package/dist/esm/CustomSuggestionsOptionsGroup-ec71e53e.js.map +1 -0
  394. package/dist/esm/FieldControlStateWrapper-4d0b5645.js +4 -0
  395. package/dist/esm/FieldControlStateWrapper-4d0b5645.js.map +1 -0
  396. package/dist/esm/{Heading-e581ac05.js → Heading-d8bc176d.js} +1 -1
  397. package/dist/esm/{Heading-e581ac05.js.map → Heading-d8bc176d.js.map} +1 -1
  398. package/dist/esm/{Icon-0127c9ad.js → Icon-29c7a575.js} +1 -1
  399. package/dist/esm/{Icon-0127c9ad.js.map → Icon-29c7a575.js.map} +1 -1
  400. package/dist/esm/Input-1f6b1e32.js +4 -0
  401. package/dist/esm/Input-1f6b1e32.js.map +1 -0
  402. package/dist/esm/InputStateWrapper-be686f5c.js +4 -0
  403. package/dist/esm/InputStateWrapper-be686f5c.js.map +1 -0
  404. package/dist/esm/{InternalUnderlinedBadgeText-e33ead64.js → InternalUnderlinedBadgeText-4e102a41.js} +1 -1
  405. package/dist/esm/{InternalUnderlinedBadgeText-e33ead64.js.map → InternalUnderlinedBadgeText-4e102a41.js.map} +1 -1
  406. package/dist/esm/{Span-d5aaae43.js → Span-25a2d8b1.js} +1 -1
  407. package/dist/esm/{Span-d5aaae43.js.map → Span-25a2d8b1.js.map} +1 -1
  408. package/dist/esm/{access-and-short-key-9cca88b8.js → access-and-short-key-16c1f3d9.js} +1 -1
  409. package/dist/esm/{access-and-short-key-9cca88b8.js.map → access-and-short-key-16c1f3d9.js.map} +1 -1
  410. package/dist/esm/{align-4719d626.js → align-61c6a220.js} +1 -1
  411. package/dist/esm/{align-4719d626.js.map → align-61c6a220.js.map} +1 -1
  412. package/dist/esm/align-floating-elements-7cdb6dc6.js +4 -0
  413. package/dist/esm/align-floating-elements-7cdb6dc6.js.map +1 -0
  414. package/dist/esm/app-globals-bfa38239.js +4 -0
  415. package/dist/esm/{app-globals-1e7de5a5.js.map → app-globals-bfa38239.js.map} +1 -1
  416. package/dist/esm/{associated.controller-52d302aa.js → associated.controller-3b160a7e.js} +1 -1
  417. package/dist/esm/{associated.controller-52d302aa.js.map → associated.controller-3b160a7e.js.map} +1 -1
  418. package/dist/esm/{button-variant-ce5f212b.js → button-variant-a4270d4a.js} +1 -1
  419. package/dist/esm/{button-variant-ce5f212b.js.map → button-variant-a4270d4a.js.map} +1 -1
  420. package/dist/esm/{color-62f7b76a.js → color-c32d99db.js} +1 -1
  421. package/dist/esm/{color-62f7b76a.js.map → color-c32d99db.js.map} +1 -1
  422. package/dist/esm/component-names-60d77143.js +4 -0
  423. package/dist/esm/component-names-60d77143.js.map +1 -0
  424. package/dist/esm/controller-39c6b21d.js +4 -0
  425. package/dist/esm/controller-39c6b21d.js.map +1 -0
  426. package/dist/esm/{controller-b00e9aff.js → controller-8e7f4d3c.js} +1 -1
  427. package/dist/esm/{controller-b00e9aff.js.map → controller-8e7f4d3c.js.map} +1 -1
  428. package/dist/esm/{controller-f84a4671.js → controller-a31f303e.js} +1 -1
  429. package/dist/esm/{controller-f84a4671.js.map → controller-a31f303e.js.map} +1 -1
  430. package/dist/esm/{controller-6727a24c.js → controller-a86d277d.js} +1 -1
  431. package/dist/esm/{controller-6727a24c.js.map → controller-a86d277d.js.map} +1 -1
  432. package/dist/esm/controller-icon-14449b07.js +4 -0
  433. package/dist/esm/controller-icon-14449b07.js.map +1 -0
  434. package/dist/esm/custom-class-c7abcffc.js +4 -0
  435. package/dist/esm/{custom-class-ac49545a.js.map → custom-class-c7abcffc.js.map} +1 -1
  436. package/dist/esm/{dev.utils-7a7f446c.js → dev.utils-5ecfad25.js} +1 -1
  437. package/dist/esm/{dev.utils-7a7f446c.js.map → dev.utils-5ecfad25.js.map} +1 -1
  438. package/dist/esm/{devtools-5d616428.js → devtools-ec77e067.js} +1 -1
  439. package/dist/esm/{devtools-5d616428.js.map → devtools-ec77e067.js.map} +1 -1
  440. package/dist/esm/{disabled-dad7478c.js → disabled-11f5f213.js} +1 -1
  441. package/dist/esm/{disabled-dad7478c.js.map → disabled-11f5f213.js.map} +1 -1
  442. package/dist/esm/{events-5adf6b62.js → events-5886c68b.js} +1 -1
  443. package/dist/esm/events-5886c68b.js.map +1 -0
  444. package/dist/esm/getRenderStates-0597d9aa.js +4 -0
  445. package/dist/esm/getRenderStates-0597d9aa.js.map +1 -0
  446. package/dist/esm/{has-closer-a4e62c58.js → has-closer-b582e72a.js} +1 -1
  447. package/dist/esm/{has-closer-a4e62c58.js.map → has-closer-b582e72a.js.map} +1 -1
  448. package/dist/esm/{has-counter-a43c36ef.js → has-counter-0ab5f398.js} +1 -1
  449. package/dist/esm/{has-counter-a43c36ef.js.map → has-counter-0ab5f398.js.map} +1 -1
  450. package/dist/esm/{hide-label-429a15ea.js → hide-label-90b37cc2.js} +1 -1
  451. package/dist/esm/{hide-label-429a15ea.js.map → hide-label-90b37cc2.js.map} +1 -1
  452. package/dist/esm/{href-d8ec67f8.js → href-8bd5e6c9.js} +1 -1
  453. package/dist/esm/{href-d8ec67f8.js.map → href-8bd5e6c9.js.map} +1 -1
  454. package/dist/esm/i18n-45224cc3.js +4 -0
  455. package/dist/esm/i18n-45224cc3.js.map +1 -0
  456. package/dist/esm/{i18n-35276313.js → i18n-efbafc80.js} +1 -1
  457. package/dist/esm/{i18n-35276313.js.map → i18n-efbafc80.js.map} +1 -1
  458. package/dist/esm/{icons-199f1746.js → icons-d00eff5e.js} +1 -1
  459. package/dist/esm/{icons-199f1746.js.map → icons-d00eff5e.js.map} +1 -1
  460. package/dist/esm/{image-source-320efd4f.js → image-source-6cc4aef4.js} +1 -1
  461. package/dist/esm/{image-source-320efd4f.js.map → image-source-6cc4aef4.js.map} +1 -1
  462. package/dist/esm/index-6d801dad.js +4 -0
  463. package/dist/esm/index-6d801dad.js.map +1 -0
  464. package/dist/esm/index-ed1aff4f.js +4 -0
  465. package/dist/esm/index-ed1aff4f.js.map +1 -0
  466. package/dist/esm/index.js +1 -1
  467. package/dist/esm/kol-abbr.entry.js +1 -1
  468. package/dist/esm/kol-abbr.entry.js.map +1 -1
  469. package/dist/esm/kol-accordion.entry.js +1 -1
  470. package/dist/esm/kol-accordion.entry.js.map +1 -1
  471. package/dist/esm/kol-alert-wc.entry.js +1 -1
  472. package/dist/esm/kol-alert.entry.js +1 -1
  473. package/dist/esm/kol-alert.entry.js.map +1 -1
  474. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  475. package/dist/esm/kol-avatar.entry.js +1 -1
  476. package/dist/esm/kol-avatar.entry.js.map +1 -1
  477. package/dist/esm/kol-badge.entry.js +1 -1
  478. package/dist/esm/kol-badge.entry.js.map +1 -1
  479. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  480. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  481. package/dist/esm/kol-button-link.entry.js +1 -1
  482. package/dist/esm/kol-button-link.entry.js.map +1 -1
  483. package/dist/esm/kol-button-wc.entry.js +1 -1
  484. package/dist/esm/kol-button.entry.js +1 -1
  485. package/dist/esm/kol-button.entry.js.map +1 -1
  486. package/dist/esm/kol-card.entry.js +1 -1
  487. package/dist/esm/kol-card.entry.js.map +1 -1
  488. package/dist/esm/kol-combobox.entry.js +1 -1
  489. package/dist/esm/kol-combobox.entry.js.map +1 -1
  490. package/dist/esm/kol-details.entry.js +1 -1
  491. package/dist/esm/kol-details.entry.js.map +1 -1
  492. package/dist/esm/kol-drawer.entry.js +1 -1
  493. package/dist/esm/kol-drawer.entry.js.map +1 -1
  494. package/dist/esm/kol-form.entry.js +1 -1
  495. package/dist/esm/kol-form.entry.js.map +1 -1
  496. package/dist/esm/kol-heading.entry.js +1 -1
  497. package/dist/esm/kol-heading.entry.js.map +1 -1
  498. package/dist/esm/kol-icon.entry.js +1 -1
  499. package/dist/esm/kol-image.entry.js +1 -1
  500. package/dist/esm/kol-image.entry.js.map +1 -1
  501. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  502. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  503. package/dist/esm/kol-input-color.entry.js +1 -1
  504. package/dist/esm/kol-input-color.entry.js.map +1 -1
  505. package/dist/esm/kol-input-date.entry.js +1 -1
  506. package/dist/esm/kol-input-date.entry.js.map +1 -1
  507. package/dist/esm/kol-input-email.entry.js +1 -1
  508. package/dist/esm/kol-input-email.entry.js.map +1 -1
  509. package/dist/esm/kol-input-file.entry.js +1 -1
  510. package/dist/esm/kol-input-file.entry.js.map +1 -1
  511. package/dist/esm/kol-input-number.entry.js +1 -1
  512. package/dist/esm/kol-input-number.entry.js.map +1 -1
  513. package/dist/esm/kol-input-password.entry.js +1 -1
  514. package/dist/esm/kol-input-password.entry.js.map +1 -1
  515. package/dist/esm/kol-input-radio.entry.js +1 -1
  516. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  517. package/dist/esm/kol-input-range.entry.js +1 -1
  518. package/dist/esm/kol-input-range.entry.js.map +1 -1
  519. package/dist/esm/kol-input-text.entry.js +1 -1
  520. package/dist/esm/kol-input-text.entry.js.map +1 -1
  521. package/dist/esm/kol-kolibri.entry.js +1 -1
  522. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  523. package/dist/esm/kol-link-button.entry.js +1 -1
  524. package/dist/esm/kol-link-button.entry.js.map +1 -1
  525. package/dist/esm/kol-link-wc.entry.js +1 -1
  526. package/dist/esm/kol-link.entry.js +1 -1
  527. package/dist/esm/kol-link.entry.js.map +1 -1
  528. package/dist/esm/kol-modal.entry.js +1 -1
  529. package/dist/esm/kol-modal.entry.js.map +1 -1
  530. package/dist/esm/kol-nav.entry.js +1 -1
  531. package/dist/esm/kol-nav.entry.js.map +1 -1
  532. package/dist/esm/kol-pagination.entry.js +1 -1
  533. package/dist/esm/kol-pagination.entry.js.map +1 -1
  534. package/dist/esm/kol-popover-button-wc.entry.js +4 -0
  535. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -0
  536. package/dist/esm/kol-popover-button.entry.js +1 -1
  537. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  538. package/dist/esm/kol-popover-wc.entry.js +1 -1
  539. package/dist/esm/kol-progress.entry.js +1 -1
  540. package/dist/esm/kol-progress.entry.js.map +1 -1
  541. package/dist/esm/kol-quote.entry.js +1 -1
  542. package/dist/esm/kol-quote.entry.js.map +1 -1
  543. package/dist/esm/kol-select.entry.js +1 -1
  544. package/dist/esm/kol-select.entry.js.map +1 -1
  545. package/dist/esm/kol-single-select.entry.js +1 -1
  546. package/dist/esm/kol-single-select.entry.js.map +1 -1
  547. package/dist/esm/kol-skip-nav.entry.js +1 -1
  548. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  549. package/dist/esm/kol-spin.entry.js +1 -1
  550. package/dist/esm/kol-spin.entry.js.map +1 -1
  551. package/dist/esm/kol-split-button.entry.js +1 -1
  552. package/dist/esm/kol-split-button.entry.js.map +1 -1
  553. package/dist/esm/kol-table-settings-wc.entry.js +4 -0
  554. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -0
  555. package/dist/esm/kol-table-stateful.entry.js +1 -1
  556. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  557. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  558. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  559. package/dist/esm/kol-table-stateless.entry.js +1 -1
  560. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  561. package/dist/esm/kol-tabs.entry.js +1 -1
  562. package/dist/esm/kol-tabs.entry.js.map +1 -1
  563. package/dist/esm/kol-textarea.entry.js +1 -1
  564. package/dist/esm/kol-textarea.entry.js.map +1 -1
  565. package/dist/esm/kol-toast-container.entry.js +1 -1
  566. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  567. package/dist/esm/kol-toolbar.entry.js +1 -1
  568. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  569. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  570. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  571. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  572. package/dist/esm/kol-tree-item.entry.js +1 -1
  573. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  574. package/dist/esm/kol-tree-wc.entry.js +1 -1
  575. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  576. package/dist/esm/kol-tree.entry.js +1 -1
  577. package/dist/esm/kol-tree.entry.js.map +1 -1
  578. package/dist/esm/kol-version.entry.js +1 -1
  579. package/dist/esm/kol-version.entry.js.map +1 -1
  580. package/dist/esm/kolibri.js +1 -1
  581. package/dist/esm/{label-d0315384.js → label-90c13388.js} +1 -1
  582. package/dist/esm/{label-d0315384.js.map → label-90c13388.js.map} +1 -1
  583. package/dist/esm/loader.js +1 -1
  584. package/dist/esm/{open-20d08415.js → open-4d9f16d0.js} +1 -1
  585. package/dist/esm/{open-20d08415.js.map → open-4d9f16d0.js.map} +1 -1
  586. package/dist/esm/prop.validators-17aec743.js +4 -0
  587. package/dist/esm/prop.validators-17aec743.js.map +1 -0
  588. package/dist/esm/reuse-f46e7e35.js +4 -0
  589. package/dist/esm/reuse-f46e7e35.js.map +1 -0
  590. package/dist/esm/{rows-26af6558.js → rows-f033b1b3.js} +1 -1
  591. package/dist/esm/{rows-26af6558.js.map → rows-f033b1b3.js.map} +1 -1
  592. package/dist/esm/show-c115b1eb.js +4 -0
  593. package/dist/esm/{show-484b637e.js.map → show-c115b1eb.js.map} +1 -1
  594. package/dist/esm/spell-check-27a3f91d.js +4 -0
  595. package/dist/esm/{spell-check-60fa0b9f.js.map → spell-check-27a3f91d.js.map} +1 -1
  596. package/dist/esm/{suggestions-f139f5ec.js → suggestions-04da2b2e.js} +1 -1
  597. package/dist/esm/{suggestions-f139f5ec.js.map → suggestions-04da2b2e.js.map} +1 -1
  598. package/dist/esm/{callback-fd6ab619.js → table-settings-d708d477.js} +1 -1
  599. package/dist/esm/table-settings-d708d477.js.map +1 -0
  600. package/dist/esm/test-component.entry.js +1 -1
  601. package/dist/esm/tooltip-align-7d5fdb9e.js +4 -0
  602. package/dist/esm/{tooltip-align-8e0fa436.js.map → tooltip-align-7d5fdb9e.js.map} +1 -1
  603. package/dist/esm/{validation-14b61e5a.js → validation-16bfc143.js} +1 -1
  604. package/dist/esm/{validation-14b61e5a.js.map → validation-16bfc143.js.map} +1 -1
  605. package/dist/esm/{validation-0c197148.js → validation-81a4e752.js} +1 -1
  606. package/dist/esm/{validation-0c197148.js.map → validation-81a4e752.js.map} +1 -1
  607. package/dist/kolibri/Alert-bebb173b.js +4 -0
  608. package/dist/kolibri/Alert-bebb173b.js.map +1 -0
  609. package/dist/kolibri/{Collapsible-fb8abe4a.js → Collapsible-c54aff9a.js} +1 -1
  610. package/dist/kolibri/CustomSuggestionsOptionsGroup-ec71e53e.js +4 -0
  611. package/dist/kolibri/CustomSuggestionsOptionsGroup-ec71e53e.js.map +1 -0
  612. package/dist/kolibri/FieldControlStateWrapper-4d0b5645.js +4 -0
  613. package/dist/kolibri/FieldControlStateWrapper-4d0b5645.js.map +1 -0
  614. package/dist/kolibri/Heading-d8bc176d.js +4 -0
  615. package/dist/kolibri/Icon-29c7a575.js +4 -0
  616. package/dist/kolibri/Input-1f6b1e32.js +4 -0
  617. package/dist/kolibri/Input-1f6b1e32.js.map +1 -0
  618. package/dist/kolibri/InputStateWrapper-be686f5c.js +4 -0
  619. package/dist/kolibri/{InputStateWrapper-e55ca6b7.js.map → InputStateWrapper-be686f5c.js.map} +1 -1
  620. package/dist/kolibri/{InternalUnderlinedBadgeText-e33ead64.js → InternalUnderlinedBadgeText-4e102a41.js} +1 -1
  621. package/dist/kolibri/{Span-d5aaae43.js → Span-25a2d8b1.js} +1 -1
  622. package/dist/kolibri/{access-and-short-key-9cca88b8.js → access-and-short-key-16c1f3d9.js} +1 -1
  623. package/dist/kolibri/{align-4719d626.js → align-61c6a220.js} +1 -1
  624. package/dist/kolibri/align-floating-elements-7cdb6dc6.js +4 -0
  625. package/dist/kolibri/align-floating-elements-7cdb6dc6.js.map +1 -0
  626. package/dist/kolibri/app-globals-bfa38239.js +4 -0
  627. package/dist/kolibri/{app-globals-1e7de5a5.js.map → app-globals-bfa38239.js.map} +1 -1
  628. package/dist/kolibri/{associated.controller-52d302aa.js → associated.controller-3b160a7e.js} +1 -1
  629. package/dist/kolibri/{button-variant-ce5f212b.js → button-variant-a4270d4a.js} +1 -1
  630. package/dist/kolibri/{color-62f7b76a.js → color-c32d99db.js} +1 -1
  631. package/dist/kolibri/color-c32d99db.js.map +1 -0
  632. package/dist/kolibri/component-names-60d77143.js +4 -0
  633. package/dist/kolibri/component-names-60d77143.js.map +1 -0
  634. package/dist/kolibri/controller-39c6b21d.js +4 -0
  635. package/dist/kolibri/controller-39c6b21d.js.map +1 -0
  636. package/dist/kolibri/{controller-b00e9aff.js → controller-8e7f4d3c.js} +1 -1
  637. package/dist/kolibri/{controller-f84a4671.js → controller-a31f303e.js} +1 -1
  638. package/dist/kolibri/{controller-6727a24c.js → controller-a86d277d.js} +1 -1
  639. package/dist/kolibri/controller-icon-14449b07.js +4 -0
  640. package/dist/kolibri/controller-icon-14449b07.js.map +1 -0
  641. package/dist/kolibri/custom-class-c7abcffc.js +4 -0
  642. package/dist/kolibri/{dev.utils-7a7f446c.js → dev.utils-5ecfad25.js} +1 -1
  643. package/dist/kolibri/devtools-ec77e067.js +4 -0
  644. package/dist/kolibri/{disabled-dad7478c.js → disabled-11f5f213.js} +1 -1
  645. package/dist/kolibri/events-5886c68b.js +4 -0
  646. package/dist/kolibri/events-5886c68b.js.map +1 -0
  647. package/dist/kolibri/getRenderStates-0597d9aa.js +4 -0
  648. package/dist/kolibri/getRenderStates-0597d9aa.js.map +1 -0
  649. package/dist/kolibri/has-closer-b582e72a.js +4 -0
  650. package/dist/kolibri/has-counter-0ab5f398.js +4 -0
  651. package/dist/kolibri/hide-label-90b37cc2.js +4 -0
  652. package/dist/kolibri/href-8bd5e6c9.js +4 -0
  653. package/dist/kolibri/i18n-45224cc3.js +4 -0
  654. package/dist/kolibri/i18n-45224cc3.js.map +1 -0
  655. package/dist/kolibri/i18n-efbafc80.js +4 -0
  656. package/dist/kolibri/{icons-199f1746.js → icons-d00eff5e.js} +1 -1
  657. package/dist/kolibri/image-source-6cc4aef4.js +4 -0
  658. package/dist/kolibri/{index-da3e0c00.js → index-6d801dad.js} +1 -1
  659. package/dist/kolibri/index-6d801dad.js.map +1 -0
  660. package/dist/kolibri/{index-c4d5cf81.js → index-ed1aff4f.js} +2 -2
  661. package/dist/kolibri/index-ed1aff4f.js.map +1 -0
  662. package/dist/kolibri/index.esm.js +1 -1
  663. package/dist/kolibri/kol-abbr.entry.js +1 -1
  664. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  665. package/dist/kolibri/kol-accordion.entry.js +1 -1
  666. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  667. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  668. package/dist/kolibri/kol-alert.entry.js +1 -1
  669. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  670. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  671. package/dist/kolibri/kol-avatar.entry.js +1 -1
  672. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  673. package/dist/kolibri/kol-badge.entry.js +1 -1
  674. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  675. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  676. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  677. package/dist/kolibri/kol-button-link.entry.js +1 -1
  678. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  679. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  680. package/dist/kolibri/kol-button.entry.js +1 -1
  681. package/dist/kolibri/kol-button.entry.js.map +1 -1
  682. package/dist/kolibri/kol-card.entry.js +1 -1
  683. package/dist/kolibri/kol-card.entry.js.map +1 -1
  684. package/dist/kolibri/kol-combobox.entry.js +1 -1
  685. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  686. package/dist/kolibri/kol-details.entry.js +1 -1
  687. package/dist/kolibri/kol-details.entry.js.map +1 -1
  688. package/dist/kolibri/kol-drawer.entry.js +1 -1
  689. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  690. package/dist/kolibri/kol-form.entry.js +1 -1
  691. package/dist/kolibri/kol-form.entry.js.map +1 -1
  692. package/dist/kolibri/kol-heading.entry.js +1 -1
  693. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  694. package/dist/kolibri/kol-icon.entry.js +1 -1
  695. package/dist/kolibri/kol-image.entry.js +1 -1
  696. package/dist/kolibri/kol-image.entry.js.map +1 -1
  697. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  698. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  699. package/dist/kolibri/kol-input-color.entry.js +1 -1
  700. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  701. package/dist/kolibri/kol-input-date.entry.js +1 -1
  702. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  703. package/dist/kolibri/kol-input-email.entry.js +1 -1
  704. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  705. package/dist/kolibri/kol-input-file.entry.js +1 -1
  706. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  707. package/dist/kolibri/kol-input-number.entry.js +1 -1
  708. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  709. package/dist/kolibri/kol-input-password.entry.js +1 -1
  710. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  711. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  712. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  713. package/dist/kolibri/kol-input-range.entry.js +1 -1
  714. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  715. package/dist/kolibri/kol-input-text.entry.js +1 -1
  716. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  717. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  718. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  719. package/dist/kolibri/kol-link-button.entry.js +1 -1
  720. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  721. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  722. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  723. package/dist/kolibri/kol-link.entry.js +1 -1
  724. package/dist/kolibri/kol-link.entry.js.map +1 -1
  725. package/dist/kolibri/kol-modal.entry.js +1 -1
  726. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  727. package/dist/kolibri/kol-nav.entry.js +1 -1
  728. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  729. package/dist/kolibri/kol-pagination.entry.js +1 -1
  730. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  731. package/dist/kolibri/kol-popover-button-wc.entry.js +4 -0
  732. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -0
  733. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  734. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  735. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  736. package/dist/kolibri/kol-progress.entry.js +1 -1
  737. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  738. package/dist/kolibri/kol-quote.entry.js +1 -1
  739. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  740. package/dist/kolibri/kol-select.entry.js +1 -1
  741. package/dist/kolibri/kol-select.entry.js.map +1 -1
  742. package/dist/kolibri/kol-single-select.entry.js +1 -1
  743. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  744. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  745. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  746. package/dist/kolibri/kol-spin.entry.js +1 -1
  747. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  748. package/dist/kolibri/kol-split-button.entry.js +1 -1
  749. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  750. package/dist/kolibri/kol-table-settings-wc.entry.js +4 -0
  751. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -0
  752. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  753. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  754. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  755. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  756. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  757. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  758. package/dist/kolibri/kol-tabs.entry.js +1 -1
  759. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  760. package/dist/kolibri/kol-textarea.entry.js +1 -1
  761. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  762. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  763. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  764. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  765. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  766. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  767. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  768. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  769. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  770. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  771. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  772. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  773. package/dist/kolibri/kol-tree.entry.js +1 -1
  774. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  775. package/dist/kolibri/kol-version.entry.js +1 -1
  776. package/dist/kolibri/kol-version.entry.js.map +1 -1
  777. package/dist/kolibri/kolibri.esm.js +1 -1
  778. package/dist/kolibri/kolibri.esm.js.map +1 -1
  779. package/dist/kolibri/label-90c13388.js +4 -0
  780. package/dist/kolibri/open-4d9f16d0.js +4 -0
  781. package/dist/kolibri/prop.validators-17aec743.js +4 -0
  782. package/dist/kolibri/prop.validators-17aec743.js.map +1 -0
  783. package/dist/kolibri/reuse-f46e7e35.js +4 -0
  784. package/dist/kolibri/reuse-f46e7e35.js.map +1 -0
  785. package/dist/kolibri/rows-f033b1b3.js +4 -0
  786. package/dist/kolibri/show-c115b1eb.js +4 -0
  787. package/dist/kolibri/spell-check-27a3f91d.js +4 -0
  788. package/dist/kolibri/{suggestions-f139f5ec.js → suggestions-04da2b2e.js} +1 -1
  789. package/dist/kolibri/{callback-fd6ab619.js → table-settings-d708d477.js} +1 -1
  790. package/dist/kolibri/table-settings-d708d477.js.map +1 -0
  791. package/dist/kolibri/test-component.entry.js +1 -1
  792. package/dist/kolibri/tooltip-align-7d5fdb9e.js +4 -0
  793. package/dist/kolibri/validation-16bfc143.js +4 -0
  794. package/dist/kolibri/validation-81a4e752.js +4 -0
  795. package/dist/types/components/combobox/shadow.d.ts +1 -0
  796. package/dist/types/components/input/controller.d.ts +1 -1
  797. package/dist/types/components/input-color/shadow.d.ts +10 -3
  798. package/dist/types/components/input-radio/controller.d.ts +1 -1
  799. package/dist/types/components/popover-button/component.d.ts +40 -0
  800. package/dist/types/components/popover-button/shadow.d.ts +3 -12
  801. package/dist/types/components/single-select/shadow.d.ts +1 -0
  802. package/dist/types/components/table-stateful/shadow.d.ts +3 -0
  803. package/dist/types/components/table-stateless/component.d.ts +15 -1
  804. package/dist/types/components/table-stateless/shadow.d.ts +2 -0
  805. package/dist/types/components/table-stateless/table-settings.d.ts +18 -0
  806. package/dist/types/components/tabs/shadow.d.ts +2 -1
  807. package/dist/types/components.d.ts +236 -194
  808. package/dist/types/core/component-names.d.ts +2 -0
  809. package/dist/types/functional-components/IconButton/IconButton.d.ts +1 -1
  810. package/dist/types/locales/de.d.ts +10 -0
  811. package/dist/types/locales/en.d.ts +10 -0
  812. package/dist/types/schema/components/table.d.ts +3 -2
  813. package/dist/types/schema/components/tableStateless.d.ts +3 -2
  814. package/dist/types/schema/props/msg.d.ts +1 -2
  815. package/dist/types/schema/props/table-settings.d.ts +7 -0
  816. package/dist/types/schema/types/index.d.ts +1 -1
  817. package/dist/types/schema/types/table-settings.d.ts +10 -0
  818. package/dist/types/schema/types/table.d.ts +1 -0
  819. package/dist/types/schema/utils/prop.validators.d.ts +0 -2
  820. package/dist/types/utils/events.d.ts +2 -1
  821. package/doc/popover-button.md +14 -1
  822. package/doc/table-stateful.md +2 -1
  823. package/doc/table-stateless.md +10 -9
  824. package/package.json +3 -3
  825. package/vscode-custom-data.json +165 -0
  826. package/dist/cjs/Alert-a5b198e6.js +0 -4
  827. package/dist/cjs/Alert-a5b198e6.js.map +0 -1
  828. package/dist/cjs/CustomSuggestionsOptionsGroup-77d600fa.js +0 -4
  829. package/dist/cjs/CustomSuggestionsOptionsGroup-77d600fa.js.map +0 -1
  830. package/dist/cjs/FieldControlStateWrapper-07e57b91.js +0 -4
  831. package/dist/cjs/FieldControlStateWrapper-07e57b91.js.map +0 -1
  832. package/dist/cjs/FormFieldMsg-e1ae42e0.js +0 -4
  833. package/dist/cjs/FormFieldMsg-e1ae42e0.js.map +0 -1
  834. package/dist/cjs/Icon-e7c8d39a.js +0 -4
  835. package/dist/cjs/Input-36131161.js +0 -4
  836. package/dist/cjs/Input-36131161.js.map +0 -1
  837. package/dist/cjs/InputStateWrapper-e31cb78c.js +0 -4
  838. package/dist/cjs/InputStateWrapper-e31cb78c.js.map +0 -1
  839. package/dist/cjs/align-floating-elements-1d37261b.js +0 -4
  840. package/dist/cjs/align-floating-elements-1d37261b.js.map +0 -1
  841. package/dist/cjs/app-globals-5daba31a.js +0 -4
  842. package/dist/cjs/callback-ab215ba6.js.map +0 -1
  843. package/dist/cjs/component-names-74abfa2e.js +0 -4
  844. package/dist/cjs/component-names-74abfa2e.js.map +0 -1
  845. package/dist/cjs/controller-ea888e13.js +0 -4
  846. package/dist/cjs/controller-icon-87bb43d8.js +0 -4
  847. package/dist/cjs/controller-icon-87bb43d8.js.map +0 -1
  848. package/dist/cjs/custom-class-3a1c18f3.js +0 -4
  849. package/dist/cjs/events-fc641593.js.map +0 -1
  850. package/dist/cjs/getRenderStates-46cbeb01.js +0 -4
  851. package/dist/cjs/getRenderStates-46cbeb01.js.map +0 -1
  852. package/dist/cjs/has-closer-9b3c14a7.js +0 -4
  853. package/dist/cjs/has-counter-7318f6f4.js +0 -4
  854. package/dist/cjs/hide-label-b0063224.js +0 -4
  855. package/dist/cjs/href-2485cb51.js +0 -4
  856. package/dist/cjs/i18n-583e3c4b.js +0 -4
  857. package/dist/cjs/i18n-583e3c4b.js.map +0 -1
  858. package/dist/cjs/image-source-27335383.js +0 -4
  859. package/dist/cjs/index-38f5f0b2.js +0 -4
  860. package/dist/cjs/index-38f5f0b2.js.map +0 -1
  861. package/dist/cjs/index-5eda7e82.js +0 -4
  862. package/dist/cjs/index-5eda7e82.js.map +0 -1
  863. package/dist/cjs/kol-input.cjs.entry.js +0 -4
  864. package/dist/cjs/kol-input.cjs.entry.js.map +0 -1
  865. package/dist/cjs/open-5c1af49f.js +0 -4
  866. package/dist/cjs/prop.validators-96dfedce.js.map +0 -1
  867. package/dist/cjs/reuse-8cfefa9b.js +0 -4
  868. package/dist/cjs/reuse-8cfefa9b.js.map +0 -1
  869. package/dist/cjs/rows-782313b6.js +0 -4
  870. package/dist/cjs/show-5b2be58e.js +0 -4
  871. package/dist/cjs/spell-check-5c5eee25.js +0 -4
  872. package/dist/cjs/tooltip-align-3b9a6bde.js +0 -4
  873. package/dist/components/FormFieldMsg.js +0 -4
  874. package/dist/components/FormFieldMsg.js.map +0 -1
  875. package/dist/components/callback.js.map +0 -1
  876. package/dist/components/kol-input.js +0 -4
  877. package/dist/components/kol-input.js.map +0 -1
  878. package/dist/esm/Alert-fb4611d9.js +0 -4
  879. package/dist/esm/Alert-fb4611d9.js.map +0 -1
  880. package/dist/esm/CustomSuggestionsOptionsGroup-a10a4cf2.js +0 -4
  881. package/dist/esm/CustomSuggestionsOptionsGroup-a10a4cf2.js.map +0 -1
  882. package/dist/esm/FieldControlStateWrapper-eab24f20.js +0 -4
  883. package/dist/esm/FieldControlStateWrapper-eab24f20.js.map +0 -1
  884. package/dist/esm/FormFieldMsg-00f6a985.js +0 -4
  885. package/dist/esm/FormFieldMsg-00f6a985.js.map +0 -1
  886. package/dist/esm/Input-3c3e229e.js +0 -4
  887. package/dist/esm/Input-3c3e229e.js.map +0 -1
  888. package/dist/esm/InputStateWrapper-e55ca6b7.js +0 -4
  889. package/dist/esm/InputStateWrapper-e55ca6b7.js.map +0 -1
  890. package/dist/esm/align-floating-elements-db77d917.js +0 -4
  891. package/dist/esm/align-floating-elements-db77d917.js.map +0 -1
  892. package/dist/esm/app-globals-1e7de5a5.js +0 -4
  893. package/dist/esm/callback-fd6ab619.js.map +0 -1
  894. package/dist/esm/component-names-545d6582.js +0 -4
  895. package/dist/esm/component-names-545d6582.js.map +0 -1
  896. package/dist/esm/controller-7d258ad2.js +0 -4
  897. package/dist/esm/controller-7d258ad2.js.map +0 -1
  898. package/dist/esm/controller-icon-00be418c.js +0 -4
  899. package/dist/esm/controller-icon-00be418c.js.map +0 -1
  900. package/dist/esm/custom-class-ac49545a.js +0 -4
  901. package/dist/esm/events-5adf6b62.js.map +0 -1
  902. package/dist/esm/getRenderStates-3f00199d.js +0 -4
  903. package/dist/esm/getRenderStates-3f00199d.js.map +0 -1
  904. package/dist/esm/i18n-c120df5c.js +0 -4
  905. package/dist/esm/i18n-c120df5c.js.map +0 -1
  906. package/dist/esm/index-c4d5cf81.js +0 -4
  907. package/dist/esm/index-c4d5cf81.js.map +0 -1
  908. package/dist/esm/index-da3e0c00.js +0 -4
  909. package/dist/esm/index-da3e0c00.js.map +0 -1
  910. package/dist/esm/kol-input.entry.js +0 -4
  911. package/dist/esm/kol-input.entry.js.map +0 -1
  912. package/dist/esm/prop.validators-9feb1d92.js +0 -4
  913. package/dist/esm/prop.validators-9feb1d92.js.map +0 -1
  914. package/dist/esm/reuse-32931294.js +0 -4
  915. package/dist/esm/reuse-32931294.js.map +0 -1
  916. package/dist/esm/show-484b637e.js +0 -4
  917. package/dist/esm/spell-check-60fa0b9f.js +0 -4
  918. package/dist/esm/tooltip-align-8e0fa436.js +0 -4
  919. package/dist/kolibri/Alert-fb4611d9.js +0 -4
  920. package/dist/kolibri/Alert-fb4611d9.js.map +0 -1
  921. package/dist/kolibri/CustomSuggestionsOptionsGroup-a10a4cf2.js +0 -4
  922. package/dist/kolibri/CustomSuggestionsOptionsGroup-a10a4cf2.js.map +0 -1
  923. package/dist/kolibri/FieldControlStateWrapper-eab24f20.js +0 -4
  924. package/dist/kolibri/FieldControlStateWrapper-eab24f20.js.map +0 -1
  925. package/dist/kolibri/FormFieldMsg-00f6a985.js +0 -4
  926. package/dist/kolibri/FormFieldMsg-00f6a985.js.map +0 -1
  927. package/dist/kolibri/Heading-e581ac05.js +0 -4
  928. package/dist/kolibri/Icon-0127c9ad.js +0 -4
  929. package/dist/kolibri/Input-3c3e229e.js +0 -4
  930. package/dist/kolibri/Input-3c3e229e.js.map +0 -1
  931. package/dist/kolibri/InputStateWrapper-e55ca6b7.js +0 -4
  932. package/dist/kolibri/align-floating-elements-db77d917.js +0 -4
  933. package/dist/kolibri/align-floating-elements-db77d917.js.map +0 -1
  934. package/dist/kolibri/app-globals-1e7de5a5.js +0 -4
  935. package/dist/kolibri/callback-fd6ab619.js.map +0 -1
  936. package/dist/kolibri/color-62f7b76a.js.map +0 -1
  937. package/dist/kolibri/component-names-545d6582.js +0 -4
  938. package/dist/kolibri/component-names-545d6582.js.map +0 -1
  939. package/dist/kolibri/controller-7d258ad2.js +0 -4
  940. package/dist/kolibri/controller-7d258ad2.js.map +0 -1
  941. package/dist/kolibri/controller-icon-00be418c.js +0 -4
  942. package/dist/kolibri/controller-icon-00be418c.js.map +0 -1
  943. package/dist/kolibri/custom-class-ac49545a.js +0 -4
  944. package/dist/kolibri/devtools-5d616428.js +0 -4
  945. package/dist/kolibri/events-5adf6b62.js +0 -4
  946. package/dist/kolibri/events-5adf6b62.js.map +0 -1
  947. package/dist/kolibri/getRenderStates-3f00199d.js +0 -4
  948. package/dist/kolibri/getRenderStates-3f00199d.js.map +0 -1
  949. package/dist/kolibri/has-closer-a4e62c58.js +0 -4
  950. package/dist/kolibri/has-counter-a43c36ef.js +0 -4
  951. package/dist/kolibri/hide-label-429a15ea.js +0 -4
  952. package/dist/kolibri/href-d8ec67f8.js +0 -4
  953. package/dist/kolibri/i18n-35276313.js +0 -4
  954. package/dist/kolibri/i18n-c120df5c.js +0 -4
  955. package/dist/kolibri/i18n-c120df5c.js.map +0 -1
  956. package/dist/kolibri/image-source-320efd4f.js +0 -4
  957. package/dist/kolibri/index-c4d5cf81.js.map +0 -1
  958. package/dist/kolibri/index-da3e0c00.js.map +0 -1
  959. package/dist/kolibri/kol-input.entry.js +0 -4
  960. package/dist/kolibri/kol-input.entry.js.map +0 -1
  961. package/dist/kolibri/label-d0315384.js +0 -4
  962. package/dist/kolibri/open-20d08415.js +0 -4
  963. package/dist/kolibri/prop.validators-9feb1d92.js +0 -4
  964. package/dist/kolibri/prop.validators-9feb1d92.js.map +0 -1
  965. package/dist/kolibri/reuse-32931294.js +0 -4
  966. package/dist/kolibri/reuse-32931294.js.map +0 -1
  967. package/dist/kolibri/rows-26af6558.js +0 -4
  968. package/dist/kolibri/show-484b637e.js +0 -4
  969. package/dist/kolibri/spell-check-60fa0b9f.js +0 -4
  970. package/dist/kolibri/tooltip-align-8e0fa436.js +0 -4
  971. package/dist/kolibri/validation-0c197148.js +0 -4
  972. package/dist/kolibri/validation-14b61e5a.js +0 -4
  973. package/dist/types/components/input/component.d.ts +0 -35
  974. /package/dist/kolibri/{Collapsible-fb8abe4a.js.map → Collapsible-c54aff9a.js.map} +0 -0
  975. /package/dist/kolibri/{Heading-e581ac05.js.map → Heading-d8bc176d.js.map} +0 -0
  976. /package/dist/kolibri/{Icon-0127c9ad.js.map → Icon-29c7a575.js.map} +0 -0
  977. /package/dist/kolibri/{InternalUnderlinedBadgeText-e33ead64.js.map → InternalUnderlinedBadgeText-4e102a41.js.map} +0 -0
  978. /package/dist/kolibri/{Span-d5aaae43.js.map → Span-25a2d8b1.js.map} +0 -0
  979. /package/dist/kolibri/{access-and-short-key-9cca88b8.js.map → access-and-short-key-16c1f3d9.js.map} +0 -0
  980. /package/dist/kolibri/{align-4719d626.js.map → align-61c6a220.js.map} +0 -0
  981. /package/dist/kolibri/{associated.controller-52d302aa.js.map → associated.controller-3b160a7e.js.map} +0 -0
  982. /package/dist/kolibri/{button-variant-ce5f212b.js.map → button-variant-a4270d4a.js.map} +0 -0
  983. /package/dist/kolibri/{controller-b00e9aff.js.map → controller-8e7f4d3c.js.map} +0 -0
  984. /package/dist/kolibri/{controller-f84a4671.js.map → controller-a31f303e.js.map} +0 -0
  985. /package/dist/kolibri/{controller-6727a24c.js.map → controller-a86d277d.js.map} +0 -0
  986. /package/dist/kolibri/{custom-class-ac49545a.js.map → custom-class-c7abcffc.js.map} +0 -0
  987. /package/dist/kolibri/{dev.utils-7a7f446c.js.map → dev.utils-5ecfad25.js.map} +0 -0
  988. /package/dist/kolibri/{devtools-5d616428.js.map → devtools-ec77e067.js.map} +0 -0
  989. /package/dist/kolibri/{disabled-dad7478c.js.map → disabled-11f5f213.js.map} +0 -0
  990. /package/dist/kolibri/{has-closer-a4e62c58.js.map → has-closer-b582e72a.js.map} +0 -0
  991. /package/dist/kolibri/{has-counter-a43c36ef.js.map → has-counter-0ab5f398.js.map} +0 -0
  992. /package/dist/kolibri/{hide-label-429a15ea.js.map → hide-label-90b37cc2.js.map} +0 -0
  993. /package/dist/kolibri/{href-d8ec67f8.js.map → href-8bd5e6c9.js.map} +0 -0
  994. /package/dist/kolibri/{i18n-35276313.js.map → i18n-efbafc80.js.map} +0 -0
  995. /package/dist/kolibri/{icons-199f1746.js.map → icons-d00eff5e.js.map} +0 -0
  996. /package/dist/kolibri/{image-source-320efd4f.js.map → image-source-6cc4aef4.js.map} +0 -0
  997. /package/dist/kolibri/{label-d0315384.js.map → label-90c13388.js.map} +0 -0
  998. /package/dist/kolibri/{open-20d08415.js.map → open-4d9f16d0.js.map} +0 -0
  999. /package/dist/kolibri/{rows-26af6558.js.map → rows-f033b1b3.js.map} +0 -0
  1000. /package/dist/kolibri/{show-484b637e.js.map → show-c115b1eb.js.map} +0 -0
  1001. /package/dist/kolibri/{spell-check-60fa0b9f.js.map → spell-check-27a3f91d.js.map} +0 -0
  1002. /package/dist/kolibri/{suggestions-f139f5ec.js.map → suggestions-04da2b2e.js.map} +0 -0
  1003. /package/dist/kolibri/{tooltip-align-8e0fa436.js.map → tooltip-align-7d5fdb9e.js.map} +0 -0
  1004. /package/dist/kolibri/{validation-14b61e5a.js.map → validation-16bfc143.js.map} +0 -0
  1005. /package/dist/kolibri/{validation-0c197148.js.map → validation-81a4e752.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"file":"prop.validators-96dfedce.js","mappings":";;;;;;;;AAOA,MAAM,SAAS,GAAgB,IAAI,GAAG,EAAE,CAAC;MAC5B,QAAQ,GAAG,CAAC,GAAW,EAAE,OAAqB;IAC1D,IAAI,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAA,EAAE;QACrD,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnBA,aAAG,CAAC,KAAK,CAAE,CAAC,GAAG,CAAe,CAAC,MAAM,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,EAAE,CAAC,EAAE;YAC9D,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,CAAC,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAA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AAW,GAAGO,OAAW,CAAC;AAC1B,2BAAU,GAAGC,OAAU,CAAC;AACxB,8BAAa,GAAGC,OAAa,CAAC;AAC9B,8BAAa,GAAG,oBAAoB,CAAC;AACrC,iCAAgB,GAAG,uBAAuB,CAAC;AAC3C,8BAAa,GAAG,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["Log","rgbaConvertModule","getExperimentalMode","getDocument","rgba","hex","score","getCssStyle","patchTheme","patchThemeTag"],"sources":["src/schema/utils/a11y.tipps.ts","../../node_modules/.pnpm/wcag-contrast@3.0.0/node_modules/wcag-contrast/dist/index.m.js","../../node_modules/.pnpm/rgba-convert@0.3.0/node_modules/rgba-convert/index.js","../../node_modules/.pnpm/query-selector-all-shadow-root@0.0.3/node_modules/query-selector-all-shadow-root/esm/index.js","../../node_modules/.pnpm/query-selector-shadow-root@0.0.3/node_modules/query-selector-shadow-root/esm/index.js","src/schema/utils/prop.validators.ts"],"sourcesContent":["import { Log } from './dev.utils';\n\ntype HintOptions = {\n\tdetails?: unknown[];\n\tforce?: boolean;\n};\n\nconst a11yCache: Set<string> = new Set();\nexport const a11yHint = (msg: string, options?: HintOptions): void => {\n\tif (a11yCache.has(msg) === false || !!options?.force) {\n\t\ta11yCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `✋ a11y`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #09f',\n\t\t});\n\t}\n};\n\nconst deprecatedCache: Set<string> = new Set();\nexport const deprecatedHint = (msg: string, options?: HintOptions): void => {\n\tif (deprecatedCache.has(msg) === false || !!options?.force) {\n\t\tdeprecatedCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🔥 deprecated`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #f00',\n\t\t});\n\t}\n};\n\nconst devCache: Set<string> = new Set();\nexport const devHint = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `💻 dev`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\nexport const devWarning = (msg: string, options?: HintOptions): void => {\n\tif (devCache.has(msg) === false || !!options?.force) {\n\t\tdevCache.add(msg);\n\t\tLog.warn(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `⚠️ dev`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #f09',\n\t\t});\n\t}\n};\n\nconst featureCache: Set<string> = new Set();\nexport const featureHint = (msg: string, done = false, options?: HintOptions): void => {\n\tif (featureCache.has(msg) === false || !!options?.force) {\n\t\tfeatureCache.add(msg);\n\t\tmsg += done === true ? ' ✅' : '';\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `🌟 feature`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #309',\n\t\t});\n\t}\n};\ndevHint(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);\n\nconst uiUxCache: Set<string> = new Set();\nexport const uiUxHint = (msg: string, options?: HintOptions): void => {\n\tif (uiUxCache.has(msg) === false || !!options?.force) {\n\t\tuiUxCache.add(msg);\n\t\tLog.debug(([msg] as unknown[]).concat(options?.details || []), {\n\t\t\tclassifier: `📑 ui/ux`,\n\t\t\tforceLog: !!options?.force,\n\t\t\toverwriteStyle: '; background-color: #060;',\n\t\t});\n\t}\n};\n\nexport const a11yHintDisabled = (): void => {\n\ta11yHint(\n\t\t`\"Disabled\" limits accessibility and visibility. From an accessibility perspective, we recommend using the readonly attribute instead of disabled.\\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae`,\n\t);\n};\n\nexport const a11yHintLabelingLandmarks = (value: unknown): void => {\n\tif (typeof value !== 'string' || value === '') {\n\t\ta11yHint(\n\t\t\t`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`,\n\t\t);\n\t}\n};\n\nexport const uiUxHintMillerscheZahl = (className: string, length = 8): void => {\n\tif (length > 7) {\n\t\tuiUxHint(\n\t\t\t`[${className}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`,\n\t\t);\n\t}\n};\n","var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,\"\")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return[t>>16,t>>8&255,255&t,r]}function c(n,r){return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s(n,r){return o(i(n),i(r))}function f(n){return n>=7?\"AAA\":n>=4.5?\"AA\":n>=3?\"AA Large\":\"Fail\"}export{c as luminance,o as rgb,s as hex,f as score};\n//# sourceMappingURL=index.m.js.map\n","\nmodule.exports = arr\nmodule.exports.arr = arr\nmodule.exports.obj = obj\nmodule.exports.css = css\nmodule.exports.hex = hex\nmodule.exports.num = num\n\nfunction arr(data) {\n var a = parse(data)\n if (a.length == 3) {\n return a.concat(255)\n } else {\n a[3] = Math.round(a[3])\n return a\n }\n}\n\nfunction obj(data) {\n var a = parse(data)\n return {\n r: a[0],\n g: a[1],\n b: a[2],\n a: a.length == 3\n ? 255\n : Math.round(a[3])\n }\n}\n\nfunction css(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n\n return a[3] == 255\n ? 'rgb(' + a[0] + ', ' + a[1] + ', ' + a[2] + ')'\n : a[3] == 0\n ? 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', 0)'\n : 'rgba(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' + String(a[3] / 255).substr(1) + ')'\n}\n\nfunction hex(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n var opaque = a[3] == 255\n var r = num2hex(a[0])\n var g = num2hex(a[1])\n var b = num2hex(a[2])\n var a = num2hex(Math.round(a[3]))\n var is = isshort(r, g, b, a)\n if (opaque) {\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0)\n : '#' + r + g + b\n }\n return is\n ? '#' + r.charAt(0) + g.charAt(0) + b.charAt(0) + a.charAt(0)\n : '#' + r + g + b + a\n}\n\nfunction num(data) {\n var a = parse(data)\n if (a.length == 3) a.push(255)\n else a[3] = Math.round(a[3])\n return ((a[3] << 24) >>> 0 | a[0] << 16 | a[1] << 8 | a[2]) >>> 0\n}\n\nfunction parse(data) {\n if (typeof data == 'string') {\n data = data.toLowerCase()\n return name(data)\n || hex3(data)\n || hex6(data)\n || rgb(data)\n || rgba(data)\n || [0, 0, 0, 255]\n }\n return object(data)\n || array(data)\n || number(data)\n || [0, 0, 0, 255]\n}\n\nfunction num2hex(num) {\n var s = num.toString(16)\n return s.length == 1\n ? '0' + s\n : s\n}\n\nfunction isshort(r, g, b, a) {\n var h = ['ff', '00', '11', '22', '33', '44', '55', '66',\n '77', '88', '99', 'aa', 'bb', 'cc', 'dd', 'ee']\n return h.indexOf(r) != -1\n && h.indexOf(g) != -1\n && h.indexOf(b) != -1\n && h.indexOf(a) != -1\n}\n\nfunction name(str) {\n if (str == 'red') return [255, 0, 0]\n if (str == 'green') return [0, 255, 0]\n if (str == 'blue') return [0, 0, 255]\n if (str == 'black') return [0, 0, 0]\n if (str == 'white') return [255, 255, 255]\n if (str == 'cyan') return [0, 255, 255]\n if (str == 'gray') return [128, 128, 128]\n if (str == 'grey') return [128, 128, 128]\n if (str == 'magenta') return [255, 0, 255]\n // ok, not the real css `pink` but my personal `magenta` alias\n // `pink` is simpler than `fuchsia`, whatever...\n if (str == 'pink') return [255, 0, 255]\n if (str == 'yellow') return [255, 255, 0]\n}\n\nfunction hex2num(str) {\n return str.length == 1\n ? parseInt(str + str, 16)\n : parseInt(str, 16)\n}\n\nfunction hex3(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 3 || l == 4) {\n var r = hex2num(s[0])\n var g = hex2num(s[1])\n var b = hex2num(s[2])\n var a = l == 3\n ? 255\n : hex2num(s[3])\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction hex6(str) {\n var s = str.replace(/^#/,'')\n var l = s.length\n if (l == 6 || l == 8) {\n var r = hex2num(s.slice(0, 2))\n var g = hex2num(s.slice(2, 4))\n var b = hex2num(s.slice(4, 6))\n var a = l == 6\n ? 255\n : hex2num(s.slice(6, 8))\n\n if (isNaN(r) || isNaN(g) || isNaN(b) || isNaN(a)) return\n\n return [r, g, b, a]\n }\n}\n\nfunction getnum(val, integer) {\n if (typeof val != 'number') return -1\n if (integer === true && Math.floor(val) !== val) return -1\n return val >= 0 && val <= 255\n ? val\n : -1\n}\n\nfunction object(obj) {\n if (Object.prototype.toString.call(obj) === '[object Object]'\n && Object.getPrototypeOf(obj) === Object.getPrototypeOf({})) {\n var r = getnum(obj.r != undefined ? obj.r : obj.red != undefined ? obj.red : 0, true)\n var g = getnum(obj.g != undefined ? obj.g : obj.green != undefined ? obj.green : 0, true)\n var b = getnum(obj.b != undefined ? obj.b : obj.blue != undefined ? obj.blue : 0, true)\n var a = getnum(obj.a != undefined ? obj.a : obj.alpha != undefined ? obj.alpha : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction array(arr) {\n if (Array.isArray(arr) && (arr.length == 3 || arr.length == 4)) {\n var r = getnum(arr[0], true)\n var g = getnum(arr[1], true)\n var b = getnum(arr[2], true)\n var a = getnum(arr[3] != undefined ? arr[3] : 255, true)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n\nfunction number(num) {\n if (typeof num == 'number' && Math.floor(num) == num && num <= 4294967295 && num >= 0) {\n var a = num >> 24 & 255\n var r = num >> 16 & 255\n var g = num >> 8 & 255\n var b = num & 255\n return [r, g, b, a]\n }\n}\n\nfunction rgb(str) {\n if (str.substr(0, 4) == 'rgb(') {\n str = str.match(/^rgb\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n if (r != -1 && g != -1 && b != -1) {\n return [r, g, b, 255]\n }\n }\n}\n\nfunction rgba(str) {\n if (str.substr(0, 5) == 'rgba(') {\n str = str.match(/^rgba\\(([^)]+)\\)/)[1]\n var t = str.split(/ *, */).map(Number)\n var r = getnum(t[0], true)\n var g = getnum(t[1], true)\n var b = getnum(t[2], true)\n var a = getnum(t[3] * 255)\n if (r != -1 && g != -1 && b != -1 && a != -1) {\n return [r, g, b, a]\n }\n }\n}\n","const pushNodes = (set, domNodes) => {\n domNodes.forEach((domNode) => {\n if (set.has(domNode) === false) {\n set.add(domNode);\n }\n });\n};\nexport const querySelectorAll = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n const domNodes = new Set();\n pushNodes(domNodes, node.querySelectorAll(selector));\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n pushNodes(domNodes, querySelectorAll(selector, shadowRoot));\n }\n else {\n pushNodes(domNodes, querySelectorAll(selector, nodeList[i]));\n }\n }\n return Array.from(domNodes);\n }\n else {\n throw new Error(`The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","export const querySelector = (selector, node = document) => {\n if (node instanceof Document ||\n node instanceof HTMLElement ||\n node instanceof ShadowRoot) {\n let domNode = node.querySelector(selector);\n if (domNode === null) {\n const nodeList = node.querySelectorAll('[class*=\"hydrated\"]');\n for (let i = 0; i < nodeList.length; i++) {\n const shadowRoot = nodeList[i].shadowRoot;\n if (typeof shadowRoot === \"object\" && shadowRoot !== null) {\n domNode = querySelector(selector, shadowRoot);\n }\n else {\n domNode = querySelector(selector, nodeList[i]);\n }\n if (domNode !== null) {\n break;\n }\n }\n }\n return domNode;\n }\n else {\n throw new Error(`The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.`);\n }\n};\n//# sourceMappingURL=index.js.map","import type { Generic } from 'adopted-style-sheets';\nimport { getCssStyle, patchTheme, patchThemeTag } from 'adopted-style-sheets';\nimport { querySelectorAll } from 'query-selector-all-shadow-root';\nimport { querySelector } from 'query-selector-shadow-root';\nimport rgba from 'rgba-convert';\nimport { hex, score } from 'wcag-contrast';\n\nimport { Log, getDocument, getExperimentalMode } from './dev.utils';\n\nimport type { Stringified } from '../types/common';\nimport type { StencilUnknown } from '../types/unknown';\nimport { devHint } from './a11y.tipps';\n// https://regex101.com/r/lSYLO9/1\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines komplexer Objekte\n * der String \"[object Object]\" an die Web Component übergeben wird. Um den Neben-\n * effekt abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nconst OBJECT_OBJECT = /\\[object Object\\]/;\nexport const objectObjectHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && OBJECT_OBJECT.test(value)) {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei Stencil kann es vorkommen, dass bei der Übergabe eines leeren Array's\n * ein leerer String an die Web Component übergeben wird. Um den Nebeneffekt\n * abzufangen, wird dieser Fall abgefangen und nicht ausgeführt.\n */\nexport const emptyStringByArrayHandler = (value: unknown, cb: () => void): void => {\n\tif (typeof value === 'string' && value === '') {\n\t\treturn;\n\t}\n\tcb();\n};\n\n/**\n * Bei interaktiven HTML-Elementen kommt es vor, dass der Event an einem nicht\n * interaktiven HTML-Element \"lostriggert\" und dann den DOM-Baum hoch propagiert.\n * Zu unterschiedlichen Zeitpunkten sind an dem einen Event somit immer unterschiedliche\n * HTML-Elemente.\n * Damit wir das \"richtige\" interaktive HTML-Element an das Event binden, setzen\n * wir das Target explizit und stoppen die Propagation.\n */\nexport const setEventTarget = (event: Event, target?: HTMLElement): void => {\n\tif (getExperimentalMode()) {\n\t\tLog.debug([event, target]);\n\t\tLog.debug(`↑ We propagate the (submit) event to this target.`);\n\t}\n\tObject.defineProperty(event, 'target', {\n\t\tvalue: target,\n\t\twritable: false,\n\t});\n};\n\nconst patchState = (component: Generic.Element.Component): void => {\n\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\tconst beforePatch = hooks.get('beforePatch') as Generic.Element.NextStateHooksCallback;\n\t\tif (typeof beforePatch === 'function') {\n\t\t\tbeforePatch(component.nextState?.get(key), component.nextState as Map<string, unknown>, component, key);\n\t\t}\n\t});\n\t/**\n\t * Wenn in beforePatch Methoden die Änderung verworfen wird,\n\t * muss auch nicht der State aktualisiert und neu gerendert\n\t * werden.\n\t */\n\tif ((component.nextState as Map<string, unknown>)?.size > 0) {\n\t\tcomponent.state = {\n\t\t\t...component.state,\n\t\t\t...Object.fromEntries(component.nextState as Map<string, unknown>),\n\t\t};\n\t\tdelete component.nextState;\n\n\t\tcomponent.nextHooks?.forEach((hooks, key) => {\n\t\t\tconst afterPatch = hooks.get('afterPatch') as Generic.Element.StateHooksCallback;\n\t\t\tif (typeof afterPatch === 'function') {\n\t\t\t\tafterPatch(component.state[key], component.state, component, key);\n\t\t\t}\n\t\t});\n\t}\n\tdelete component.nextHooks;\n};\n\nexport type SetStateHooks = {\n\tafterPatch?: Generic.Element.StateHooksCallback;\n\tbeforePatch?: Generic.Element.NextStateHooksCallback;\n};\n\nexport const setState = <T>(component: Generic.Element.Component, propName: string, value?: T | null | undefined, hooks: SetStateHooks = {}): void => {\n\tif (component.nextHooks === undefined) {\n\t\tcomponent.nextHooks = new Map();\n\t}\n\tif (component.nextState === undefined) {\n\t\tcomponent.nextState = new Map();\n\t}\n\tconst nextHooks = component.nextHooks.get(propName);\n\tif (nextHooks instanceof Map === false) {\n\t\tcomponent.nextHooks.set(propName, new Map());\n\t}\n\tif (typeof hooks.afterPatch === 'function') {\n\t\tcomponent.nextHooks.get(propName)?.set('afterPatch', hooks.afterPatch);\n\t}\n\tif (typeof hooks.beforePatch === 'function') {\n\t\tcomponent.nextHooks.get(propName)?.set('beforePatch', hooks.beforePatch);\n\t}\n\tcomponent.nextState.set(propName, value);\n\t/**\n\t * Muss erstmal in sync bleiben, da sonst der\n\t * Tooltip nicht korrekt ausgerichtet wird.\n\t */\n\t// if (component.hydrated === true || processEnv !== 'test') {\n\t// clearTimeout(component.timeout as NodeJS.Timeout);\n\t// component.timeout = setTimeout(() => {\n\t// \tclearTimeout(component.timeout as NodeJS.Timeout);\n\t// \tpatchState(component);\n\t// }, 50);\n\t// } else {\n\tpatchState(component);\n\t// }\n};\n\nconst logWarn = (component: Generic.Element.Component, propName: string, value: unknown, requiredGeneric: Set<string | null | undefined>): void => {\n\tdevHint(\n\t\t`[${component.constructor.name}] The property value: (${value as string}) for '${propName}' is not valid. Allowed values are: ${Array.from(\n\t\t\trequiredGeneric,\n\t\t).join(', ')}`,\n\t);\n};\n\nexport type WatchOptions = {\n\tdefaultValue?: unknown;\n\thooks?: SetStateHooks;\n\trequired?: boolean;\n};\n\nexport type WatchBooleanOptions = WatchOptions & {\n\tdefaultValue?: boolean | null;\n};\n\nexport type WatchStringOptions = WatchOptions & {\n\tdefaultValue?: string | null;\n\tmaxLength?: number;\n\tminLength?: number;\n};\n\nexport type WatchNumberOptions = WatchOptions & {\n\tdefaultValue?: number | null;\n\tmin?: number;\n\tmax?: number;\n};\n\nexport function watchValidator<T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\tvalidationFunction: (value?: T) => boolean,\n\trequiredGeneric: Set<string | null | undefined>,\n\tvalue?: T,\n\toptions: WatchOptions = {},\n): void {\n\tif (validationFunction(value)) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert VALIDE ist.\n\t\t */\n\t\tsetState(component, propName, value, options.hooks);\n\t} else if (value === undefined && options.required !== true && validationFunction(options.defaultValue as T)) {\n\t\t/**\n\t\t * Triff zu, wenn der Wert entweder ...\n\t\t * - UNDEFINED oder NULL\n\t\t * - und NICHT REQUIRED\n\t\t * ... ist.\n\t\t */\n\t\tsetState(component, propName, options.defaultValue, options.hooks);\n\t} else {\n\t\t/**\n\t\t * Triff zu, wenn der Wert NICHT valide ist.\n\t\t */\n\t\tif (!options.required) {\n\t\t\trequiredGeneric.add(null);\n\t\t}\n\t\tlogWarn(component, propName, value, requiredGeneric);\n\t}\n}\n\nexport const watchBoolean = (component: Generic.Element.Component, propName: string, value?: boolean, options?: WatchBooleanOptions): void => {\n\twatchValidator(component, propName, (value): boolean => typeof value === 'boolean', new Set(['Boolean {true, false}']), value, options);\n};\n\nexport const watchString = (component: Generic.Element.Component, propName: string, value?: string, options: WatchStringOptions = {}): void => {\n\tconst minLength = typeof options.minLength === 'number' ? options?.minLength : 0;\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'string' && value.length >= minLength && (typeof options?.maxLength === 'undefined' || value.length <= options.maxLength),\n\t\tnew Set([`String`]),\n\t\tvalue,\n\t\toptions,\n\t);\n};\n\nexport const watchNumber = (component: Generic.Element.Component, propName: string, value?: number, options?: WatchNumberOptions): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\tpropName,\n\t\t(value): boolean =>\n\t\t\ttypeof value === 'number' &&\n\t\t\t(typeof options?.min === 'undefined' || (typeof options?.min === 'number' && value >= options.min)) &&\n\t\t\t(typeof options?.max === 'undefined' || (typeof options?.max === 'number' && value <= options.max)),\n\t\tnew Set(['Number']),\n\t\tvalue,\n\t\toptions,\n\t);\n};\n\nexport const watchJsonArrayString = <T>(\n\tcomponent: Generic.Element.Component,\n\tpropName: string,\n\titemValidation: (item: T) => boolean,\n\tvalue?: Stringified<T[]>,\n\tarrayValidation: (items: T[]) => boolean = (items: T[]) => items === items, // nochmal hirnen\n\toptions: WatchOptions = {},\n): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\ttry {\n\t\t\t\t\tvalue = parseJson<T[]>(value);\n\t\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t\t}\n\t\t\t\tif (Array.isArray(value)) {\n\t\t\t\t\tconst invalid = value.find((item: T) => !itemValidation(item));\n\t\t\t\t\tif (invalid === undefined && arrayValidation(value)) {\n\t\t\t\t\t\tsetState(component, propName, value, options.hooks);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tobjectObjectHandler(invalid, () => {\n\t\t\t\t\t\t\tLog.debug(invalid);\n\t\t\t\t\t\t\tthrow new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tobjectObjectHandler(value, () => {\n\t\t\t\t\t\tLog.debug(value);\n\t\t\t\t\t\tthrow new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\t/**\n\t\t\t\t * TODO: Wir haben einen Known-Bug beim Propergieren von Zeichenkettenliste (string[]).\n\t\t\t\t */\n\t\t\t\tLog.debug(error);\n\t\t\t\t// devHint(`Known bug: String array (string[])`);\n\t\t\t}\n\t\t});\n\t});\n};\n\nconst BOOLEAN = /^(true|false)$/;\nconst INTEGER = /^-?(0|[1-9]\\d*)$/;\nconst FLOAT = /^-?(0.|[1-9]\\d*.)\\d*[1-9]$/;\nexport const mapString2Unknown = (value: StencilUnknown) => {\n\tconst typeStr = typeof value;\n\tconst oldValue = `${value as string}`;\n\tif (typeof value === 'string') {\n\t\tif (BOOLEAN.test(value)) {\n\t\t\tvalue = value === 'true';\n\t\t} else if (INTEGER.test(value)) {\n\t\t\tvalue = parseInt(value);\n\t\t} else if (FLOAT.test(value)) {\n\t\t\tvalue = parseFloat(value);\n\t\t} else if (JSON_CHARS.test(value)) {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<StencilUnknown>(value);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t}\n\t}\n\tif (typeStr !== typeof value) {\n\t\tdevHint(`You have used a stringified property value (${oldValue} to ${JSON.stringify(value)}) which type switched from ${typeStr} to ${typeof value}!`);\n\t}\n\treturn value;\n};\n\nexport const stringifyJson = (value: unknown): string => {\n\ttry {\n\t\treturn JSON.stringify(value).replace(/\"/g, \"'\");\n\t} catch (error) {\n\t\tLog.warn(['stringifyJson', value]);\n\t\tLog.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`);\n\t\tthrow new Error();\n\t}\n};\n\nconst JSON_CHARS = /^[{[]/; // string starts with { or [\nexport const parseJson = <T>(value: unknown): T => {\n\tif (typeof value === 'string') {\n\t\ttry {\n\t\t\t// \"null\", \"true\", \"false\", \"0\" works too\n\t\t\treturn JSON.parse(value);\n\t\t} catch (error) {\n\t\t\tif (JSON_CHARS.test(value)) {\n\t\t\t\ttry {\n\t\t\t\t\treturn JSON.parse(value.replace(/'/g, '\"'));\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.warn(['parseJson', value]);\n\t\t\t\t\tLog.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tthrow new Error();\n};\n\nexport const mapBoolean2String = (value?: boolean): string | undefined => {\n\treturn typeof value === 'boolean' ? (value === true ? 'true' : 'false') : undefined;\n};\n\nexport const mapStringOrBoolean2String = (value?: string | boolean): string | undefined => {\n\treturn typeof value === 'string' ? value : mapBoolean2String(value);\n};\n\nexport const koliBriQuerySelector = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T | null =>\n\tquerySelector<T>(selector, node || getDocument());\n\nexport const koliBriQuerySelectorAll = <T extends Element>(selector: string, node?: Document | HTMLElement | ShadowRoot): T[] =>\n\tquerySelectorAll<T>(selector, node || getDocument());\n\ninterface A11yColorContrast {\n\tbackgroundColor: string;\n\tcolor: string;\n\tdomNode: HTMLElement | HTMLSlotElement;\n\tlevel: string;\n\tscore: number;\n}\n\nlet DEFAULT_COLOR_CONTRAST: A11yColorContrast | null = null;\nconst getDefaultColorContrast = (): A11yColorContrast => {\n\tDEFAULT_COLOR_CONTRAST = DEFAULT_COLOR_CONTRAST || {\n\t\tbackgroundColor: '#00000000',\n\t\tcolor: '#00000000',\n\t\tdomNode: getDocument().body,\n\t\tlevel: 'Fail',\n\t\tscore: 1,\n\t};\n\treturn DEFAULT_COLOR_CONTRAST;\n};\n\nconst TRANSPARENT_REGEXP = /(\\d+, ){3}0\\)/;\nexport const koliBriA11yColorContrast = (domNode: HTMLElement, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tconst computedStyle = getComputedStyle(domNode);\n\tconst hexBG: string = TRANSPARENT_REGEXP.test(computedStyle.backgroundColor) ? a11yColorContrast.backgroundColor : rgba.hex(computedStyle.backgroundColor);\n\tconst hexC: string = TRANSPARENT_REGEXP.test(computedStyle.color) ? a11yColorContrast.color : rgba.hex(computedStyle.color);\n\tconst diff = hex(hexBG, hexC);\n\tconst contrast = {\n\t\tbackgroundColor: hexBG,\n\t\tcolor: hexC,\n\t\tdomNode: domNode,\n\t\tlevel: score(diff),\n\t\tscore: diff,\n\t};\n\tif (diff < 4.5) {\n\t\tLog.error([\n\t\t\t'Color-Contrast-Error',\n\t\t\t{\n\t\t\t\tbackgroundColor: contrast.backgroundColor,\n\t\t\t\tcolor: contrast.color,\n\t\t\t\tlevel: contrast.level,\n\t\t\t\tscore: contrast.score,\n\t\t\t},\n\t\t\tcontrast.domNode,\n\t\t]);\n\t}\n\treturn contrast;\n};\n\nexport const koliBriQuerySelectorColors = (selector: string, a11yColorContrast: A11yColorContrast = getDefaultColorContrast()): A11yColorContrast => {\n\tif (a11yColorContrast.domNode instanceof HTMLElement) {\n\t\ta11yColorContrast = koliBriA11yColorContrast(a11yColorContrast.domNode, a11yColorContrast);\n\t}\n\tconst selectedNode: HTMLElement | null = a11yColorContrast.domNode.querySelector<HTMLElement>(selector);\n\tif (selectedNode === null) {\n\t\tconst nodeList: NodeListOf<HTMLElement> = a11yColorContrast.domNode.querySelectorAll<HTMLElement>('[class=\"hydrated\"]');\n\t\tfor (let i = 0; i < nodeList.length; i++) {\n\t\t\t// const shadowRoot: ShadowRoot = nodeList[i].shadowRoot as ShadowRoot;\n\t\t\t// if (typeof shadowRoot === 'object' && shadowRoot !== null) {\n\t\t\t// a11yColorContrast.domNode = shadowRoot;\n\t\t\t// a11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// } else {\n\t\t\ta11yColorContrast.domNode = nodeList[i];\n\t\t\ta11yColorContrast = koliBriQuerySelectorColors(selector, a11yColorContrast);\n\t\t\t// }\n\t\t\tif (a11yColorContrast.domNode !== null) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn a11yColorContrast;\n\t} else {\n\t\treturn koliBriA11yColorContrast(selectedNode, a11yColorContrast);\n\t}\n};\n\nexport class KoliBriUtils {\n\tprivate static executionLock = false;\n\tprivate static cache = new Map<Element, A11yColorContrast>();\n\tpublic static queryHtmlElementColors(targetNode: HTMLElement, a11yColorContrast: A11yColorContrast, recursion = false, log = true): A11yColorContrast | null {\n\t\tlet returnValue = null;\n\t\tif (recursion === true || KoliBriUtils.executionLock === false) {\n\t\t\tif (recursion === false) {\n\t\t\t\tKoliBriUtils.cache.clear();\n\t\t\t\tKoliBriUtils.cache.set(a11yColorContrast.domNode, a11yColorContrast);\n\t\t\t\tKoliBriUtils.executionLock = true;\n\t\t\t\tif (log === true) {\n\t\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis started...`);\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Log.debug(a11yColorContrast.domNode);\n\t\t\tif (targetNode === a11yColorContrast.domNode) {\n\t\t\t\treturnValue = a11yColorContrast;\n\t\t\t} else {\n\t\t\t\tconst children: Set<Element> = new Set<Element>();\n\t\t\t\tif (a11yColorContrast.domNode.shadowRoot) {\n\t\t\t\t\tconst shadowChildren = a11yColorContrast.domNode.shadowRoot.children;\n\t\t\t\t\tfor (let i = 0; i < shadowChildren.length; i++) {\n\t\t\t\t\t\tchildren.add(shadowChildren[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst slotElement: HTMLSlotElement = a11yColorContrast.domNode as HTMLSlotElement;\n\t\t\t\tif (typeof slotElement.assignedNodes === 'function') {\n\t\t\t\t\tconst slotChildren = slotElement.assignedNodes();\n\t\t\t\t\tfor (let i = 0; i < slotChildren.length; i++) {\n\t\t\t\t\t\tif (slotChildren[i] instanceof HTMLElement) {\n\t\t\t\t\t\t\tchildren.add(slotChildren[i] as HTMLElement);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst domChildren = a11yColorContrast.domNode.children;\n\t\t\t\tfor (let i = 0; i < domChildren.length; i++) {\n\t\t\t\t\tchildren.add(domChildren[i]);\n\t\t\t\t}\n\t\t\t\tconst arrayChildren = Array.from(children);\n\t\t\t\tfor (let i = 0; i < arrayChildren.length; i++) {\n\t\t\t\t\tlet colorContrast: A11yColorContrast | undefined = KoliBriUtils.cache.get(arrayChildren[i]);\n\t\t\t\t\tif (colorContrast === undefined) {\n\t\t\t\t\t\tcolorContrast = koliBriA11yColorContrast(arrayChildren[i] as HTMLElement, a11yColorContrast);\n\t\t\t\t\t}\n\t\t\t\t\tKoliBriUtils.cache.set(arrayChildren[i], colorContrast);\n\t\t\t\t\tconst colors: A11yColorContrast | null = KoliBriUtils.queryHtmlElementColors(targetNode, colorContrast, true, false);\n\t\t\t\t\tif (colors !== null) {\n\t\t\t\t\t\treturnValue = colors;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tLog.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);\n\t\t}\n\t\tif (recursion === false) {\n\t\t\tif (log === true) {\n\t\t\t\tLog.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`);\n\t\t\t}\n\t\t\tKoliBriUtils.executionLock = false;\n\t\t\tKoliBriUtils.cache.clear();\n\t\t}\n\t\treturn returnValue;\n\t}\n}\n\nexport class KoliBriDevHelper {\n\tpublic static readonly getCssStyle = getCssStyle;\n\tpublic static readonly patchTheme = patchTheme;\n\tpublic static readonly patchThemeTag = patchThemeTag;\n\tpublic static readonly querySelector = koliBriQuerySelector;\n\tpublic static readonly querySelectorAll = koliBriQuerySelectorAll;\n\tpublic static readonly stringifyJson = stringifyJson;\n}\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";exports.processEnv="development";try{exports.processEnv="production"}catch(t){exports.processEnv="production"}const handleSlotContent=(t,e,o)=>{if(t&&e&&"string"==typeof o){const n=t.querySelector(`[slot="${o}"]`);n&&e.appendChild(n)}},showExpertSlot=t=>""===t,buildBadgeTextString=(t,e)=>t||e||"";exports.buildBadgeTextString=buildBadgeTextString,exports.handleSlotContent=handleSlotContent,exports.showExpertSlot=showExpertSlot;
@@ -1 +0,0 @@
1
- {"file":"reuse-8cfefa9b.js","mappings":";;;;;AAEWA,kBAAU,GAAe,cAAc;AAClD,IAAI;IACHA,kBAAU,GAAG,YAAkC,CAAC;AACjD,CAAC;AAAC,OAAO,CAAC,EAAE;IACXA,kBAAU,GAAG,YAAY,CAAC;AAC3B,CAAC;MAMY,iBAAiB,GAAG,CAAC,OAAoB,EAAE,OAAoB,EAAE,QAAgB;IAC7F,IAAI,OAAO,IAAI,OAAO,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QACvD,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,QAAQ,IAAI,CAAC,CAAC;QAC9D,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC7B;KACD;AACF,EAAE;MAOW,cAAc,GAAG,CAAC,KAAc,KAAK,KAAK,KAAK,GAAG;MAQlD,oBAAoB,GAAG,CAAC,SAAkB,EAAE,QAAiB;IACzE,OAAO,SAAS,IAAI,QAAQ,IAAI,EAAE,CAAC;AACpC;;;;;;","names":["processEnv"],"sources":["src/schema/utils/reuse.ts"],"sourcesContent":["const PROCESS_ENVS = ['development', 'production', 'test'] as const;\ntype ProcessEnv = (typeof PROCESS_ENVS)[number];\nexport let processEnv: ProcessEnv = 'development';\ntry {\n\tprocessEnv = process.env.NODE_ENV as ProcessEnv;\n} catch (e) {\n\tprocessEnv = 'production';\n}\n\n/**\n * This function is used to handle the slot content by\n * moving a DOM element to a defined slot element.\n */\nexport const handleSlotContent = (hostRef: HTMLElement, slotRef: HTMLElement, slotName: string) => {\n\tif (hostRef && slotRef && typeof slotName === 'string') {\n\t\tconst content = hostRef.querySelector(`[slot=\"${slotName}\"]`);\n\t\tif (content) {\n\t\t\tslotRef.appendChild(content);\n\t\t}\n\t}\n};\n\n/**\n * This function is used to check if a label is an empty string.\n * @param label The label of the slot\n * @returns True if the label is an empty string\n */\nexport const showExpertSlot = (label: unknown) => label === '';\n\n/**\n * This function builds the BadgeText. It chooses access key over shortkey or empty string, if both are empty\n * @param accessKey\n * @param shortKey\n * @returns returns badgeText as string\n */\nexport const buildBadgeTextString = (accessKey?: string, shortKey?: string) => {\n\treturn accessKey || shortKey || '';\n};\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const prop_validators=require("./prop.validators-96dfedce.js"),validateRows=(a,o)=>{prop_validators.watchNumber(a,"_rows",o,{min:1})};exports.validateRows=validateRows;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const prop_validators=require("./prop.validators-96dfedce.js"),validateShow=(a,o,t)=>{prop_validators.watchBoolean(a,"_show",o,t)};exports.validateShow=validateShow;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const prop_validators=require("./prop.validators-96dfedce.js"),validateSpellCheck=(e,l)=>{prop_validators.watchBoolean(e,"_spellCheck",l,{defaultValue:void 0})};exports.validateSpellCheck=validateSpellCheck;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const align=require("./align-b9732b91.js"),validateTooltipAlign=(i,l)=>{align.validateAlignment(i,"_tooltipAlign",l)};exports.validateTooltipAlign=validateTooltipAlign;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators.js";import{b as isObject}from"./common.js";import{_ as __rest}from"./tslib.es6.js";import{c as clsx}from"./clsx.js";import{h}from"@stencil/core/internal/client";import{K as KolAlertFc}from"./Alert.js";function transformObjectProperties(r){return Object.entries(r).reduce(((r,[s,e])=>{const t=s.startsWith("_")?s.slice(1):s;return Object.assign(Object.assign({},r),{[t]:e})}),{})}const validateMsg=(r,s)=>{objectObjectHandler(s,(()=>{try{s=parseJson(s)}catch(r){}watchValidator(r,"_msg",(r=>isObject(r)&&"string"==typeof(null==r?void 0:r._description)),new Set(["MsgPropType"]),s,{defaultValue:{_description:"",_type:"error"}})}))};function isMsgEmpty(r){return!r||"error"===r._type&&!r._description}function convertMsgToInternMsg(r){if(r&&!isMsgEmpty(r))return transformObjectProperties(r)}function checkHasError(r,s){return Boolean((null==r?void 0:r.description)&&(null==r?void 0:r.description.length)>0)&&(!0===s||"error"!==(null==r?void 0:r.type))}const FormFieldMsgFc=r=>{var{alert:s,msg:e,hideMsg:t,id:o,class:i}=r,c=__rest(r,["alert","msg","hideMsg","id","class"]);return h(KolAlertFc,Object.assign({id:`${o}-msg`,alert:s,type:"error",class:clsx("kol-form-field__msg",{"visually-hidden":!0===t},i)},e,c,{"aria-hidden":"true"}),(null==e?void 0:e.description)||void 0)},KolFormFieldMsgFc=FormFieldMsgFc;export{KolFormFieldMsgFc as K,checkHasError as a,convertMsgToInternMsg as c,validateMsg as v};
@@ -1 +0,0 @@
1
- {"file":"FormFieldMsg.js","mappings":";;;;;;;;;;SAuBgB,yBAAyB,CACxC,GAAM;IAIN,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAChC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;QACjB,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;QACxD,uCACI,GAAG,KACN,CAAC,MAAM,GAAG,KAAK,IACd;KACF,EACD,EAEC,CACD,CAAC;AACH;;MCda,WAAW,GAAG,CAAC,SAAoC,EAAE,KAAgC;IACjG,mBAAmB,CAAC,KAAK,EAAE;QA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AAG,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,OAAY,EAAP,KAAK,cAAtD,0CAAwD,CAAF;IAAO,QAC5H,EAAC,UAAU,kBACV,EAAE,EAAE,GAAG,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,EAAE,iBAAiB,EAAE,OAAO,KAAK,IAAI,EAAE,EAAE,UAAU,CAAC,IACnF,GAAG,EACH,KAAK,mBACG,MAAM,KAEjB,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW,KAAI,SAAS,CAClB,EACb;CAAA,CAAC;AAEF,0BAAe,cAAc;;;;","names":[],"sources":["src/utils/transformObjectProperties.ts","src/schema/props/msg.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx"],"sourcesContent":["/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps, InternalAlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\nexport type InternMsgPropType = Partial<\n\tInternalAlertProps & {\n\t\tdescription: string;\n\t}\n>;\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n\nexport function isMsgEmpty(msg?: MsgPropType): boolean {\n\tif (!msg) {\n\t\treturn true;\n\t}\n\n\treturn msg._type === 'error' && !msg._description;\n}\n\nexport function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined {\n\tif (!msg || isMsgEmpty(msg)) {\n\t\treturn undefined;\n\t}\n\n\treturn transformObjectProperties(msg);\n}\n\nexport function checkHasError(msg?: InternMsgPropType, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * The message is shown if:\n\t * - the message text is not an empty string\n\t * - we show only one message at a time\n\t * - by error messages the input must be touched\n\t */\n\tconst hasValidMsg = Boolean(msg?.description && msg?.description.length > 0);\n\tconst showMsg = hasValidMsg && (touched === true || msg?.type !== 'error');\n\n\treturn showMsg;\n}\n","import clsx from 'clsx';\nimport type { AlertPropType, HideMsgPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideMsg?: HideMsgPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideMsg, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-msg`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"callback.js","mappings":";;;;;;MAmCa,sBAAsB,GAAG,CAAC,SAAoC,EAAE,KAA8B;IAC1G,cAAc,CACb,SAAS,EACT,KAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,kEAAkE,CAAC,CAAC,EAC7E,KAAK,CACL,CAAC;AACH,EAAE;MAEW,8BAA8B,GAAG,CAAC,SAAoC,EAAE,KAAsC;IAC1H,cAAc,CACb,SAAS,EACT,KAAK,EACL,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EACtD,IAAI,GAAG,CAAC,CAAC,2DAA2D,CAAC,CAAC,EACtE,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8B;IAC1G,MAAM,oBAAoB,GAAG;QAC5B,IAAI;YACH,OAAO,SAAS,CAAwB,KAAK,CAAC,CAAC;SAC/C;QAAC,OAAO,CAAC,EAAE;YACX,OAAO,SAAS,CAAC;SACjB;KACD,CAAC;IAEF,MAAM,cAAc,GAAG,CAAC,KAA6B;QACpD,OAAO,KAAK,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,UAAU,KAAK,CAAC,KAAK,CAAC,YAAY,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;KACnI,CAAC;IAEF,MAAM,WAAW,GAAG,OAAO,KAAK,KAAK,QAAQ,GAAG,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAC/E,IAAI,cAAc,CAAC,WAAW,CAAC,EAAE;QAChC,QAAQ,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;KACzC;AACF;;ICjCY;AAAZ,WAAY,QAAQ;IACnB,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,+BAAmB,CAAA;IACnB,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,+BAAmB,CAAA;IACnB,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,+BAAmB,CAAA;IACnB,uCAA2B,CAAA;IAC3B,uCAA2B,CAAA;IAC3B,qCAAyB,CAAA;IACzB,uCAA2B,CAAA;IAC3B,mCAAuB,CAAA;IACvB,+BAAmB,CAAA;IACnB,iCAAqB,CAAA;IACrB,mDAAuC,CAAA;IACvC,iDAAqC,CAAA;IACrC,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;AACtB,CAAC,EAxBW,QAAQ,KAAR,QAAQ;;;;","names":[],"sources":["src/schema/props/table-callbacks.ts","src/schema/props/table-data.ts","src/schema/props/table-data-foot.ts","src/schema/props/table-selection.ts","src/schema/enums/callback.ts"],"sourcesContent":["import type { Callback } from '../enums';\nimport type { EventValueOrEventCallback } from '../types/callbacks';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriSortDirection, KoliBriTableDataType } from '../types';\n\n/* types */\nexport type SortEventPayload = {\n\tkey: string;\n\tcurrentSortDirection: KoliBriSortDirection;\n};\n\nexport type SelectionChangeEventPayload = string[] | string;\nexport type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;\n\nexport type TableCallbacksPropType = {\n\t[Callback.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;\n\t[Callback.onSelectionChange]?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>;\n};\nexport type TableStatefulCallbacksPropType = {\n\t[Callback.onSelectionChange]?: EventValueOrEventCallback<Event, StatefulSelectionChangeEventPayload>;\n};\n/**\n * Defines the callback functions for table events.\n */\nexport type PropTableCallbacks = {\n\ton: TableCallbacksPropType;\n};\n\nexport type StatefulPropTableCallbacks = {\n\ton: TableStatefulCallbacksPropType;\n};\n\n/* validator */\nexport const validateTableCallbacks = (component: Generic.Element.Component, value?: TableCallbacksPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['TableCallbacksPropType {Events.onSort, Events.onSelectionChange}']),\n\t\tvalue,\n\t);\n};\n\nexport const validateTableStatefulCallbacks = (component: Generic.Element.Component, value?: TableStatefulCallbacksPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['TableStatefulCallbacksPropType {Events.onSelectionChange}']),\n\t\tvalue,\n\t);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\n\n/* types */\nexport type TableDataPropType = Stringified<KoliBriTableDataType[]>;\n\n/**\n * Defines the primary table data.\n */\nexport type PropTableData = {\n\tdata: TableDataPropType;\n};\n\n/* validator */\nexport const validateTableData = (component: Generic.Element.Component, value?: TableDataPropType, setStateHooks?: SetStateHooks): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriTableDataType[]>(value);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value keeps the original data\n\t\t\t}\n\t\t\tif (Array.isArray(value) && value.every((data: KoliBriTableDataType) => typeof data === 'object' && data !== null)) {\n\t\t\t\tsetState(component, '_data', value, setStateHooks);\n\t\t\t}\n\t\t});\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { SetStateHooks } from '../utils';\nimport { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from '../utils';\nimport type { KoliBriTableDataType, Stringified } from '../types';\n\n/* types */\nexport type TableDataFootPropType = Stringified<KoliBriTableDataType[]>;\n\n/**\n * Defines the data for the table footer.\n */\nexport type PropTableDataFoot = {\n\tdataFoot: TableDataFootPropType;\n};\n\n/* validator */\nexport const validateTableDataFoot = (component: Generic.Element.Component, value?: TableDataFootPropType, setStateHooks?: SetStateHooks): void => {\n\temptyStringByArrayHandler(value, () => {\n\t\tobjectObjectHandler(value, () => {\n\t\t\tif (typeof value === 'undefined') {\n\t\t\t\tvalue = [];\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriTableDataType[]>(value);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value keeps the original data\n\t\t\t}\n\t\t\tif (Array.isArray(value) && value.every((data: KoliBriTableDataType) => typeof data === 'object' && data !== null)) {\n\t\t\t\tsetState(component, '_dataFoot', value, setStateHooks);\n\t\t\t}\n\t\t});\n\t});\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { KoliBriTableSelection, Stringified } from '../types';\nimport { parseJson, setState } from '../utils';\nimport { isObject } from '../validators';\n\n/* types */\nexport type TableSelectionPropType = Stringified<KoliBriTableSelection>;\n\n/**\n * Defines how rows can be selected and the current selection.\n */\nexport type PropTableSelection = {\n\tselection: TableSelectionPropType;\n};\n\n/* validator */\nexport const validateTableSelection = (component: Generic.Element.Component, value?: TableSelectionPropType): void => {\n\tconst parseSerializedValue = () => {\n\t\ttry {\n\t\t\treturn parseJson<KoliBriTableSelection>(value);\n\t\t} catch (e) {\n\t\t\treturn undefined;\n\t\t}\n\t};\n\n\tconst validateObject = (value?: KoliBriTableSelection) => {\n\t\treturn value && isObject(value) && typeof value.label === 'function' && (!value.selectedKeys || Array.isArray(value.selectedKeys));\n\t};\n\n\tconst objectValue = typeof value === 'string' ? parseSerializedValue() : value;\n\tif (validateObject(objectValue)) {\n\t\tsetState(component, '_selection', value);\n\t}\n};\n","export enum Callback {\n\tonBlur = 'onBlur',\n\tonChange = 'onChange',\n\tonChangePage = 'onChangePage',\n\tonClick = 'onClick',\n\tonClose = 'onClose',\n\tonDblClick = 'onDblClick',\n\tonFocus = 'onFocus',\n\tonInput = 'onInput',\n\tonKeyDown = 'onKeyDown',\n\tonKeyPress = 'onKeyPress',\n\tonKeyUp = 'onKeyUp',\n\tonMouseDown = 'onMouseDown',\n\tonMouseMove = 'onMouseMove',\n\tonMouseOut = 'onMouseOut',\n\tonMouseOver = 'onMouseOver',\n\tonMouseUp = 'onMouseUp',\n\tonReset = 'onReset',\n\tonSelect = 'onSelect',\n\tonSelectionChange = 'onSelectionChange',\n\tonChangePageSize = 'onChangePageSize',\n\tonSort = 'onSort',\n\tonSubmit = 'onSubmit',\n\tonToggle = 'onToggle',\n}\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{proxyCustomElement,HTMLElement,h,Host,Fragment}from"@stencil/core/internal/client";import{c as clsx}from"./clsx.js";import{t as translate}from"./i18n2.js";import{c as KolIconTag,a as KolButtonWcTag,f as KolTooltipWcTag}from"./component-names.js";import{h as handleSlotContent,s as showExpertSlot}from"./reuse.js";import{K as KolFormFieldMsgFc,c as convertMsgToInternMsg}from"./FormFieldMsg.js";const KolInputWc=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.slotName="input",this.catchInputSlot=t=>{handleSlotContent(this.host,t,this.slotName)},this._accessKey=void 0,this._alert=!0,this._currentLength=void 0,this._disabled=!1,this._hasCounter=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._maxLength=void 0,this._msg=void 0,this._readOnly=!1,this._renderNoLabel=!1,this._required=!1,this._shortKey=void 0,this._slotName=void 0,this._suggestions=void 0,this._smartButton=void 0,this._tooltipAlign="top",this._touched=!1}componentWillRender(){this.slotName=this._slotName?this._slotName:"input"}getIconStyles(t){return t&&"object"==typeof t&&t.style?t.style:{}}render(){var t,e,s,i,o,a,l,n,d,r,_,c;const u="object"==typeof this._msg&&null!==this._msg&&"string"==typeof(null===(t=this._msg)||void 0===t?void 0:t._description)&&(null===(e=this._msg)||void 0===e?void 0:e._description.length)>0&&(!0===this._touched||"error"!==(null===(s=this._msg)||void 0===s?void 0:s._type)),m=showExpertSlot(this._label),g="string"==typeof this._hint&&this._hint.length>0,b=!m&&this._hideLabel;return h(Host,{key:"b34d09ce8f5cebbd19d2c535b397d42652ebf4df",class:clsx("kol-input",this.getModifierClassNameByMsgType(u),{disabled:!0===this._disabled,[(null===(i=this._msg)||void 0===i?void 0:i._type)||"error"]:!0===u,"read-only":!0===this._readOnly,required:!0===this._required,touched:!0===this._touched,"hidden-msg":!0===this._hideMsg})},h("label",{key:"91311699f196b5116a0ea8db69dbfa78554eeeb3",class:"input-label",id:b?void 0:`${this._id}-label`,hidden:b,htmlFor:this._id},h("span",{key:"2a606999710b955444df2ad678397eeda89daab8",class:"input-label-span"},h("slot",{key:"d85343f56185a2a05ad5ab527a8312049d58fef0",name:"label"}))),g&&h("span",{key:"27f1cdad01a1d571fe5bf0f5ea32adc98747e9a1",class:"hint",id:`${this._id}-hint`},this._hint),h("div",{key:"de94b4b5aaf2353f525346d9cedea273b840d230",class:{input:!0,"icon-left":"object"==typeof(null===(o=this._icons)||void 0===o?void 0:o.left),"icon-right":"object"==typeof(null===(a=this._icons)||void 0===a?void 0:a.right)}},(null===(l=this._icons)||void 0===l?void 0:l.left)&&h(KolIconTag,{key:"50642b117ed6d051793290fb3b6ffc63982bee57",_label:"",_icons:(null===(n=this._icons)||void 0===n?void 0:n.left).icon,style:this.getIconStyles(null===(d=this._icons)||void 0===d?void 0:d.left)}),h("div",{key:"7963aed79f8d9d516975272cbbad66cdba3fc58b",ref:this.catchInputSlot,id:this.slotName,class:"input-slot"}),"object"==typeof this._smartButton&&null!==this._smartButton&&h(KolButtonWcTag,{key:"d0d8889be3e84064681623f8d4389c64902e2ba7",_customClass:this._smartButton._customClass,_disabled:this._smartButton._disabled,_icons:this._smartButton._icons,_hideLabel:!0,_id:this._smartButton._id,_label:this._smartButton._label,_on:this._smartButton._on,_tooltipAlign:this._smartButton._tooltipAlign,_variant:this._smartButton._variant}),(null===(r=this._icons)||void 0===r?void 0:r.right)&&h(KolIconTag,{key:"298221eea2a79aaf28d6049baab58adc8de5e38f",_label:"",_icons:(null===(_=this._icons)||void 0===_?void 0:_.right).icon,style:this.getIconStyles(null===(c=this._icons)||void 0===c?void 0:c.right)})),b&&h(KolTooltipWcTag,{key:"405a2937dbd121319a965a02a5d9ccf5f5ea687b","aria-hidden":"true",class:"input-tooltip",_badgeText:this._accessKey||this._shortKey,_align:this._tooltipAlign,_id:this._hideLabel?`${this._id}-label`:void 0,_label:this._label}),u&&h(KolFormFieldMsgFc,{key:"b1c3cb122e3ab8c7d46072596f1135c91d071f1c",alert:this._alert,hideMsg:this._hideMsg,msg:convertMsgToInternMsg(this._msg),id:this._id}),Array.isArray(this._suggestions)&&this._suggestions.length>0&&h("datalist",{key:"13cd304eb583a66508655023543d296bbd48a92a",id:`${this._id}-list`},this._suggestions.map((t=>h("option",{value:t})))),this._hasCounter&&h("span",{key:"28ea076d5d0687fa750cfbb25e0f8bc9a1d3612a",class:"counter","aria-atomic":"true","aria-live":"polite","data-testid":"input-counter"},this._currentLength,this._maxLength&&h(Fragment,null,h("span",{key:"415a6d8b6cf92bd81b38f7d86238531dee2c1309","aria-label":translate("kol-of"),role:"img"},"/"),this._maxLength)," ",h("span",{key:"d04122880915bdddae99d982b9c956afa595ad3f"},translate("kol-characters"))))}getModifierClassNameByMsgType(t){var e,s;if(t&&(null===(e=this._msg)||void 0===e?void 0:e._type))return{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null===(s=this._msg)||void 0===s?void 0:s._type]}get host(){return this}},[4,"kol-input",{_accessKey:[1,"_access-key"],_alert:[4],_currentLength:[2,"_current-length"],_disabled:[4],_hasCounter:[4,"_has-counter"],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[16],_id:[1],_label:[1],_maxLength:[2,"_max-length"],_msg:[16],_readOnly:[4,"_read-only"],_renderNoLabel:[4,"_render-no-label"],_required:[4],_shortKey:[1,"_short-key"],_slotName:[1,"_slot-name"],_suggestions:[1],_smartButton:[1,"_smart-button"],_tooltipAlign:[1,"_tooltip-align"],_touched:[4]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-input"].forEach((t=>{if("kol-input"===t)customElements.get(t)||customElements.define(t,KolInputWc)}))}const KolInput=KolInputWc,defineCustomElement=defineCustomElement$1;export{KolInput,defineCustomElement};
@@ -1 +0,0 @@
1
- {"file":"kol-input.js","mappings":";;;;;;;;;;MAgCa,UAAU;;;;QAGd,aAAQ,GAAW,OAAO,CAAC;QAM3B,mBAAc,GAAG,CAAC,IAAq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src/components/input/component.tsx"],"sourcesContent":["/* eslint-disable jsx-a11y/label-has-associated-control */\nimport { convertMsgToInternMsg, handleSlotContent, type MsgPropType, type ShortKeyPropType, showExpertSlot } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, Fragment, Host, Prop, h } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport { translate } from '../../i18n';\n\nimport type {\n\tAccessKeyPropType,\n\tAnyIconFontClass,\n\tButtonProps,\n\tIdPropType,\n\tKoliBriCustomIcon,\n\tKoliBriHorizontalIcons,\n\tLabelWithExpertSlotPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tTooltipAlignPropType,\n\tW3CInputValue,\n} from '../../schema';\nimport type { Props } from './types';\nimport { KolButtonWcTag, KolIconTag, KolTooltipWcTag } from '../../core/component-names';\nimport { KolFormFieldMsgFc } from '../../functional-components';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-input',\n\tshadow: false,\n})\nexport class KolInputWc implements Props {\n\t@Element() private readonly host?: HTMLElement;\n\n\tprivate slotName: string = 'input';\n\n\tpublic componentWillRender(): void {\n\t\tthis.slotName = this._slotName ? this._slotName : 'input';\n\t}\n\n\tprivate catchInputSlot = (slot?: HTMLDivElement): void => {\n\t\thandleSlotContent(this.host!, slot!, this.slotName);\n\t};\n\n\tprivate getIconStyles(icon?: AnyIconFontClass | KoliBriCustomIcon): Record<string, string> {\n\t\treturn icon && typeof icon === 'object' && icon.style ? icon.style : {};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\t/**\n\t\t * We support 5 types of messages:\n\t\t * - default\n\t\t * - info\n\t\t * - success\n\t\t * - warning\n\t\t * - error\n\t\t *\n\t\t * The message is shown if:\n\t\t * - the message text is not an empty string\n\t\t * - we show only one message at a time\n\t\t * - by error messages the input must be touched\n\t\t */\n\t\tconst hasValidMsg =\n\t\t\ttypeof this._msg === 'object' && this._msg !== null && typeof this._msg?._description === 'string' && this._msg?._description.length > 0;\n\t\tconst showMsg = hasValidMsg && (this._touched === true || this._msg?._type !== 'error');\n\n\t\tconst hasExpertSlot = showExpertSlot(this._label);\n\t\tconst hasHint = typeof this._hint === 'string' && this._hint.length > 0;\n\t\tconst useTooltipInsteadOfLabel = !hasExpertSlot && this._hideLabel;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={clsx('kol-input', this.getModifierClassNameByMsgType(showMsg), {\n\t\t\t\t\tdisabled: this._disabled === true,\n\t\t\t\t\t[this._msg?._type || 'error']: showMsg === true,\n\t\t\t\t\t'read-only': this._readOnly === true,\n\t\t\t\t\trequired: this._required === true,\n\t\t\t\t\ttouched: this._touched === true,\n\t\t\t\t\t'hidden-msg': this._hideMsg === true,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<label class=\"input-label\" id={!useTooltipInsteadOfLabel ? `${this._id}-label` : undefined} hidden={useTooltipInsteadOfLabel} htmlFor={this._id}>\n\t\t\t\t\t{/* INFO: span is needed for css styling :after content like a star (*) or optional text ! */}\n\t\t\t\t\t<span class=\"input-label-span\">\n\t\t\t\t\t\t{/* INFO: label comes with any html tag or as plain text! */}\n\t\t\t\t\t\t<slot name=\"label\"></slot>\n\t\t\t\t\t</span>\n\t\t\t\t</label>\n\t\t\t\t{hasHint && (\n\t\t\t\t\t<span class=\"hint\" id={`${this._id}-hint`}>\n\t\t\t\t\t\t{this._hint}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t\t<div\n\t\t\t\t\tclass={{\n\t\t\t\t\t\tinput: true,\n\t\t\t\t\t\t'icon-left': typeof this._icons?.left === 'object',\n\t\t\t\t\t\t'icon-right': typeof this._icons?.right === 'object',\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{this._icons?.left && (\n\t\t\t\t\t\t<KolIconTag _label=\"\" _icons={(this._icons?.left as KoliBriCustomIcon).icon} style={this.getIconStyles(this._icons?.left)}></KolIconTag>\n\t\t\t\t\t)}\n\t\t\t\t\t<div ref={this.catchInputSlot} id={this.slotName} class=\"input-slot\"></div>\n\t\t\t\t\t{typeof this._smartButton === 'object' && this._smartButton !== null && (\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\t_customClass={this._smartButton._customClass}\n\t\t\t\t\t\t\t_disabled={this._smartButton._disabled}\n\t\t\t\t\t\t\t_icons={this._smartButton._icons}\n\t\t\t\t\t\t\t_hideLabel={true}\n\t\t\t\t\t\t\t_id={this._smartButton._id}\n\t\t\t\t\t\t\t_label={this._smartButton._label}\n\t\t\t\t\t\t\t_on={this._smartButton._on}\n\t\t\t\t\t\t\t_tooltipAlign={this._smartButton._tooltipAlign}\n\t\t\t\t\t\t\t_variant={this._smartButton._variant}\n\t\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t\t)}\n\t\t\t\t\t{this._icons?.right && (\n\t\t\t\t\t\t<KolIconTag _label=\"\" _icons={(this._icons?.right as KoliBriCustomIcon).icon} style={this.getIconStyles(this._icons?.right)}></KolIconTag>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t\t<KolTooltipWcTag\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t\t\t\t */\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\tclass=\"input-tooltip\"\n\t\t\t\t\t\t_badgeText={this._accessKey || this._shortKey}\n\t\t\t\t\t\t_align={this._tooltipAlign}\n\t\t\t\t\t\t_id={this._hideLabel ? `${this._id}-label` : undefined}\n\t\t\t\t\t\t_label={this._label}\n\t\t\t\t\t></KolTooltipWcTag>\n\t\t\t\t)}\n\t\t\t\t{showMsg && <KolFormFieldMsgFc alert={this._alert} hideMsg={this._hideMsg} msg={convertMsgToInternMsg(this._msg)} id={this._id} />}\n\t\t\t\t{Array.isArray(this._suggestions) && this._suggestions.length > 0 && (\n\t\t\t\t\t<datalist id={`${this._id}-list`}>\n\t\t\t\t\t\t{this._suggestions.map((option: W3CInputValue) => (\n\t\t\t\t\t\t\t<option value={option} />\n\t\t\t\t\t\t))}\n\t\t\t\t\t</datalist>\n\t\t\t\t)}\n\t\t\t\t{this._hasCounter && (\n\t\t\t\t\t<span class=\"counter\" aria-atomic=\"true\" aria-live=\"polite\" data-testid=\"input-counter\">\n\t\t\t\t\t\t{this._currentLength}\n\t\t\t\t\t\t{this._maxLength && (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<span aria-label={translate('kol-of')} role=\"img\">\n\t\t\t\t\t\t\t\t\t/\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t{this._maxLength}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}{' '}\n\t\t\t\t\t\t<span>{translate('kol-characters')}</span>\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t * @TODO: Change type back to `AlertPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _alert?: boolean = true;\n\n\t/**\n\t * @internal\n\t */\n\t@Prop() public _currentLength?: number;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Shows the character count on the lower border of the input.\n\t * @TODO: Change type back to `HasCounterPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: KoliBriHorizontalIcons;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id!: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: MsgPropType;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Gibt an, ob die Komponente kein Label rendern soll.\n\t */\n\t@Prop() public _renderNoLabel?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Ermöglicht den Slotnamen zu bestimmen. Wird nur verwendet, wenn sonst mehrere Slots mit dem gleichen Namen innerhalb eines Shadow DOMs existieren würden.\n\t * @internal\n\t */\n\t@Prop() public _slotName?: string;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _touched?: boolean = false;\n\n\tprivate getModifierClassNameByMsgType(showMsg: boolean) {\n\t\tif (showMsg && this._msg?._type) {\n\t\t\treturn {\n\t\t\t\tdefault: 'msg-type-default',\n\t\t\t\tinfo: 'msg-type-info',\n\t\t\t\tsuccess: 'msg-type-success',\n\t\t\t\twarning: 'msg-type-warning',\n\t\t\t\terror: 'msg-type-error',\n\t\t\t}[this._msg?._type];\n\t\t}\n\t}\n}\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{_ as __rest}from"./tslib.es6-1173d062.js";import{h}from"./index-c4d5cf81.js";import{c as clsx}from"./clsx-09a06a12.js";import{t as translate}from"./i18n-35276313.js";import{d as KolIconTag,a as KolButtonWcTag}from"./component-names-545d6582.js";import{K as KolHeadingFc}from"./Heading-e581ac05.js";const Icon=({ariaLabel:l,icon:o})=>h(KolIconTag,{class:"kol-alert__heading-icon",_label:l,_icons:o}),AlertIcon=({type:l,label:o})=>{switch(l){case"error":return h(Icon,{ariaLabel:translate("kol-error"),icon:"codicon codicon-error",label:o});case"info":return h(Icon,{ariaLabel:translate("kol-info"),icon:"codicon codicon-info",label:o});case"warning":return h(Icon,{ariaLabel:translate("kol-warning"),icon:"codicon codicon-warning",label:o});case"success":return h(Icon,{ariaLabel:translate("kol-success"),icon:"codicon codicon-pass",label:o});default:return h(Icon,{ariaLabel:translate("kol-message"),icon:"codicon codicon-comment",label:o})}},AlertIcon$1=AlertIcon,KolAlertFc=(l,o)=>{var a,e;const{class:t={},type:n="default",variant:c="msg",label:r,hasCloser:s,alert:i,onAlertTimeout:d,onCloserClick:_,level:v}=l,b=__rest(l,["class","type","variant","label","hasCloser","alert","onAlertTimeout","onCloserClick","level"]);i&&((null===(a=navigator.userActivation)||void 0===a?void 0:a.hasBeenActive)&&(null===(e=null===navigator||void 0===navigator?void 0:navigator.vibrate)||void 0===e||e.call(navigator,[100,75,100,75,100])),setTimeout((()=>{null==d||d()}),1e4));const u=Object.assign({class:clsx("kol-alert",`kol-alert--${n}`,`kol-alert--${c}`,{"kol-alert--hasCloser":!!s},t),role:i?"alert":void 0},b);return h("div",Object.assign({},u),h("div",{class:"kol-alert__container"},h(AlertIcon$1,{label:r,type:n}),h("div",{class:"kol-alert__container-content"},r?h(KolHeadingFc,{class:"kol-alert__heading",level:v},r):null,"msg"===c&&h("div",{class:"kol-alert__content"},o)),s&&h(KolButtonWcTag,{class:"kol-alert__close-button close","data-testid":"alert-close-button",_ariaDescription:(null==r?void 0:r.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:translate("kol-close-alert"),_on:{onClick:_},_tooltipAlign:"left"})),"card"===c&&h("div",{class:"kol-alert__content"},o))},KolAlertFc$1=KolAlertFc;export{KolAlertFc$1 as K};
@@ -1 +0,0 @@
1
- {"file":"Alert-fb4611d9.js","mappings":";;;;;;;;;;AAKA,MAAM,IAAI,GAA4D,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;IACzF,OAAO,EAAC,UAAU,IAAC,KAAK,EAAC,yBAAyB,EAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,GAAI,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,SAAS,GAA6C,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IAC3E,QAAQ,IAAI;QACX,KAAK,OAAO;YACX,OAAO,EAAC,IAAI,IAAC,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,EAAE,IAAI,EAAC,uBAAuB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC;QAC/F,KAAK,MAAM;YACV,OAAO,EAAC,IAAI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CAAC,WAAW,EAAE,cAAc,IAAI,EAAE,EAAE,cAAc,OAAO,EAAE,EAAE,EAAE,sBAAsB,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,UAAU,CAAC,EAC5H,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,IAC9B,KAAK,CACR,CAAC;IAEF,QACC,2BAAS,SAAS;QACjB,WAAK,KAAK,EAAC,sBAAsB;YAChC,EAACA,WAAS,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAI;YACvC,WAAK,KAAK,EAAC,8BAA8B;gBACvC,KAAK,IACL,EAAC,YAAY,IAAC,KAAK,EAAC,oBAAoB,EAAC,KAAK,EAAE,KAAK,IACnD,KAAK,CACQ,IACZ,IAAI;gBACP,OAAO,KAAK,KAAK,IAAI,WAAK,KAAK,EAAC,oBAAoB,IAAE,QAAQ,CAAO,CACjE;YACL,SAAS,KACT,EAAC,cAAc,IACd,KAAK,EAAC,+BAA+B,iBACzB,oBAAoB,EAChC,gBAAgB,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,KAAI,EAAE,EACrC,UAAU,QACV,MAAM,EAAE;oBACP,IAAI,EAAE;wBACL,IAAI,EAAE,uBAAuB;qBAC7B;iBACD,EACD,MAAM,EAAE,SAAS,CAAC,iBAAiB,CAAC,EACpC,GAAG,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAC/B,aAAa,EAAC,MAAM,GACH,CAClB,CACI;QACL,OAAO,KAAK,MAAM,IAAI,WAAK,KAAK,EAAC,oBAAoB,IAAE,QAAQ,CAAO,CAClE,EACL;AACH,CAAC,CAAC;AAEF,qBAAe,UAAU;;;;","names":["AlertIcon"],"sources":["src/functional-components/AlertIcon/AlertIcon.tsx","src/functional-components/Alert/Alert.tsx"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport type { AlertType } from '../../schema';\nimport { translate } from '../../i18n';\n\nconst Icon: FC<{ ariaLabel: string; icon: string; label?: string }> = ({ ariaLabel, icon }) => {\n\treturn <KolIconTag class=\"kol-alert__heading-icon\" _label={ariaLabel} _icons={icon} />;\n};\n\nconst AlertIcon: FC<{ label?: string; type?: AlertType }> = ({ type, label }) => {\n\tswitch (type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translate('kol-error')} icon=\"codicon codicon-error\" label={label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translate('kol-info')} icon=\"codicon codicon-info\" label={label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translate('kol-warning')} icon=\"codicon codicon-warning\" label={label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translate('kol-success')} icon=\"codicon codicon-pass\" label={label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translate('kol-message')} icon=\"codicon codicon-comment\" label={label} />;\n\t}\n};\n\nexport default AlertIcon;\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nimport { type InternalAlertProps } from '../../schema';\nimport { translate } from '../../i18n';\nimport { KolButtonWcTag } from '../../core/component-names';\n\nimport AlertIcon from '../AlertIcon';\nimport KolHeadingFc from '../Heading';\n\nexport type KolAlertFcProps = JSXBase.HTMLAttributes<HTMLDivElement> &\n\tPartial<Omit<InternalAlertProps, 'on'>> & {\n\t\tonCloserClick?: () => void;\n\t\tonAlertTimeout?: () => void;\n\t};\n\nconst KolAlertFc: FC<KolAlertFcProps> = (props, children) => {\n\tconst { class: classNames = {}, type = 'default', variant = 'msg', label, hasCloser, alert, onAlertTimeout, onCloserClick, level, ...other } = props;\n\n\tif (alert) {\n\t\t/**\n\t\t * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n\t\t * - https://googlechrome.github.io/samples/vibration/\n\t\t * - Ongoing discussion: https://github.com/public-ui/kolibri/issues/7191\n\t\t * @todo Move side-effect out of render-function to avoid multiple incarnations.\n\t\t */\n\t\tif (navigator.userActivation?.hasBeenActive) {\n\t\t\tnavigator?.vibrate?.([100, 75, 100, 75, 100]);\n\t\t}\n\n\t\tsetTimeout(() => {\n\t\t\tonAlertTimeout?.();\n\t\t}, 10000);\n\t}\n\n\tconst rootProps: Partial<JSXBase.HTMLAttributes<HTMLDivElement>> = {\n\t\tclass: clsx('kol-alert', `kol-alert--${type}`, `kol-alert--${variant}`, { 'kol-alert--hasCloser': !!hasCloser }, classNames),\n\t\trole: alert ? 'alert' : undefined,\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<div {...rootProps}>\n\t\t\t<div class=\"kol-alert__container\">\n\t\t\t\t<AlertIcon label={label} type={type} />\n\t\t\t\t<div class=\"kol-alert__container-content\">\n\t\t\t\t\t{label ? (\n\t\t\t\t\t\t<KolHeadingFc class=\"kol-alert__heading\" level={level}>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</KolHeadingFc>\n\t\t\t\t\t) : null}\n\t\t\t\t\t{variant === 'msg' && <div class=\"kol-alert__content\">{children}</div>}\n\t\t\t\t</div>\n\t\t\t\t{hasCloser && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass=\"kol-alert__close-button close\"\n\t\t\t\t\t\tdata-testid=\"alert-close-button\"\n\t\t\t\t\t\t_ariaDescription={label?.trim() || ''}\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translate('kol-close-alert')}\n\t\t\t\t\t\t_on={{ onClick: onCloserClick }}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t\t{variant === 'card' && <div class=\"kol-alert__content\">{children}</div>}\n\t\t</div>\n\t);\n};\n\nexport default KolAlertFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{h}from"./index-c4d5cf81.js";import{d as KolIconTag}from"./component-names-545d6582.js";import{t as translate}from"./i18n-35276313.js";import{c as clsx}from"./clsx-09a06a12.js";const getRenderStates=o=>{var s,t;const n=Boolean("error"===(null===(s=o._msg)||void 0===s?void 0:s._type)&&o._msg._description&&(null===(t=o._msg._description)||void 0===t?void 0:t.length)>0)&&!0===o._touched,e="string"==typeof o._hint&&o._hint.length>0,i=[];return!0===n&&i.push(`${o._id}-error`),!0===e&&i.push(`${o._id}-hint`),{hasError:n,hasHint:e,ariaDescribedBy:i}},CustomSuggestionsToggleFc=({onClick:o,disabled:s})=>h("button",{tabindex:"-1",class:"kol-custom-suggestions-toggle",onClick:o,disabled:s},h(KolIconTag,{_icons:"codicon codicon-triangle-down",_label:translate("kol-dropdown")})),CustomSuggestionsToggleFc$1=CustomSuggestionsToggleFc,CustomSuggestionsOptionFc=({index:o,ref:s,selected:t,onClick:n,onMouseOver:e,onFocus:i,onKeyDown:g,option:u})=>h("li",{id:`option-${o}`,key:`-${o}`,ref:s,"data-index":o,tabIndex:-1,role:"option","aria-selected":t?"true":void 0,onClick:n,onMouseOver:e,onFocus:i,class:"kol-custom-suggestions-option",onKeyDown:g},u),CustomSuggestionsOptionFc$1=CustomSuggestionsOptionFc,CustomSuggestionsOptionsGroupFc=({blockSuggestionMouseOver:o,onKeyDown:s},t)=>h("ul",{role:"listbox",class:clsx("kol-custom-suggestions-options-group",{"kol-custom-suggestions-options-group--cursor-hidden":o}),onKeyDown:s},t),CustomSuggestionsOptionsGroupFc$1=CustomSuggestionsOptionsGroupFc;export{CustomSuggestionsToggleFc$1 as C,CustomSuggestionsOptionsGroupFc$1 as a,CustomSuggestionsOptionFc$1 as b,getRenderStates as g};
@@ -1 +0,0 @@
1
- {"file":"CustomSuggestionsOptionsGroup-a10a4cf2.js","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AS,EAAE,MAAM,EAAE;IACxI,QACC,UACC,EAAE,EAAE,UAAU,KAAK,EAAE,EACrB,GAAG,EAAE,IAAI,KAAK,EAAE,EAChB,GAAG,EAAE,GAAG,gBACI,KAAK,EACjB,QAAQ,EAAE,CAAC,CAAC,EACZ,IAAI,EAAC,QAAQ,mBACE,QAAQ,GAAG,MAAM,GAAG,SAAS,EAC5C,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,+BAA+B,EACrC,SAAS,EAAE,SAAS,IAEnB,MAAM,CACH,EACJ;AACH,CAAC,CAAC;AACF,oCAAe,yBAAyB;;ACvBxC,MAAM,+BAA+B,GAA2C,CAAC,EAAE,wBAAwB,EAAE,SAAS,EAAE,EAAE,QAAQ;IACjI,QACC,UACC,IAAI,EAAC,SAAS,EACd,KAAK,EAAE,IAAI,CAAC,sCAAsC,EAAE;YACnD,qDAAqD,EAAE,wBAAwB;SAC/E,CAAC,EACF,SAAS,EAAE,SAAS,IAEnB,QAAQ,CACL,EACJ;AACH,CAAC,CAAC;AACF,0CAAe,+BAA+B;;;;","names":[],"sources":["src/components/input/controller.ts","src/functional-components/CustomSuggestionsToggle/CustomSuggestionsToggle.tsx","src/functional-components/CustomSuggestionsOption/CustomSuggestionsOption.tsx","src/functional-components/CustomSuggestionsOptionsGroup/CustomSuggestionsOptionsGroup.tsx"],"sourcesContent":["import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst isMessageValidError = Boolean(state._msg?._type === 'error' && state._msg._description && state._msg._description?.length > 0);\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(`${state._id}-error`);\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport { translate } from '../../i18n';\nimport type { JSXBase } from '@stencil/core/internal';\n\nexport type CustomSuggestionsToggleProps = JSXBase.HTMLAttributes<HTMLButtonElement> & { disabled?: boolean };\n\nconst CustomSuggestionsToggleFc: FC<CustomSuggestionsToggleProps> = ({ onClick, disabled }) => {\n\treturn (\n\t\t<button tabindex=\"-1\" class=\"kol-custom-suggestions-toggle\" onClick={onClick} disabled={disabled}>\n\t\t\t<KolIconTag _icons=\"codicon codicon-triangle-down\" _label={translate('kol-dropdown')} />\n\t\t</button>\n\t);\n};\nexport default CustomSuggestionsToggleFc;\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport type { W3CInputValue } from '../../schema';\n\nexport type CustomSuggestionsProps = JSXBase.HTMLAttributes<HTMLLIElement> & {\n\tindex: number;\n\toption: W3CInputValue;\n\tselected: boolean;\n\tref?: ((elm?: HTMLLIElement | undefined) => void) | undefined;\n};\n\nconst CustomSuggestionsOptionFc: FC<CustomSuggestionsProps> = ({ index, ref, selected, onClick, onMouseOver, onFocus, onKeyDown, option }) => {\n\treturn (\n\t\t<li\n\t\t\tid={`option-${index}`}\n\t\t\tkey={`-${index}`}\n\t\t\tref={ref}\n\t\t\tdata-index={index}\n\t\t\ttabIndex={-1}\n\t\t\trole=\"option\"\n\t\t\taria-selected={selected ? 'true' : undefined}\n\t\t\tonClick={onClick}\n\t\t\tonMouseOver={onMouseOver}\n\t\t\tonFocus={onFocus}\n\t\t\tclass=\"kol-custom-suggestions-option\"\n\t\t\tonKeyDown={onKeyDown}\n\t\t>\n\t\t\t{option}\n\t\t</li>\n\t);\n};\nexport default CustomSuggestionsOptionFc;\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type CustomSuggestionsOptionsGroupProps = JSXBase.HTMLAttributes<HTMLUListElement> & {\n\tblockSuggestionMouseOver: boolean;\n};\n\nconst CustomSuggestionsOptionsGroupFc: FC<CustomSuggestionsOptionsGroupProps> = ({ blockSuggestionMouseOver, onKeyDown }, children) => {\n\treturn (\n\t\t<ul\n\t\t\trole=\"listbox\"\n\t\t\tclass={clsx('kol-custom-suggestions-options-group', {\n\t\t\t\t'kol-custom-suggestions-options-group--cursor-hidden': blockSuggestionMouseOver,\n\t\t\t})}\n\t\t\tonKeyDown={onKeyDown}\n\t\t>\n\t\t\t{children}\n\t\t</ul>\n\t);\n};\nexport default CustomSuggestionsOptionsGroupFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{_ as __rest}from"./tslib.es6-1173d062.js";import{h,F as Fragment}from"./index-c4d5cf81.js";import{c as clsx}from"./clsx-09a06a12.js";import{a as KolFieldControlTooltipFc,b as KolFieldControlLabelFc,c as KolFieldControlHintFc}from"./getRenderStates-3f00199d.js";import{s as showExpertSlot,b as buildBadgeTextString}from"./reuse-32931294.js";import{c as checkHasError,a as convertMsgToInternMsg}from"./FormFieldMsg-00f6a985.js";const InputContainer=(l,o)=>{var{class:e}=l,r=__rest(l,["class"]);return h("div",Object.assign({class:clsx("kol-field-control__input",e)},r),o)},KolFieldControlFc=(l,o)=>{const{class:e,id:r,disabled:t,label:i,hideLabel:n,labelAlign:s,renderNoTooltip:a,hint:d,renderNoHint:c,tooltipAlign:b,accessKey:p,shortKey:g,msg:F,touched:f,required:u,readonly:C,fieldControlInputProps:_,fieldControlLabelProps:K,fieldControlTooltipProps:m,fieldControlHintProps:y}=l,k=__rest(l,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","renderNoHint","tooltipAlign","accessKey","shortKey","msg","touched","required","readonly","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]),j=!c,x=!a,T=checkHasError(F,f),v=showExpertSlot(i),B=x&&!v&&n,P=buildBadgeTextString(p,g),S=[h(Fragment,null,h(InputContainer,Object.assign({},_),o),B&&h(KolFieldControlTooltipFc,Object.assign({},m||{},{id:r,label:i,hideLabel:n,align:b,badgeText:P}))),h(KolFieldControlLabelFc,Object.assign({},K||{},{id:r,baseClassName:"kol-field-control",class:clsx(null==K?void 0:K.class,{"kol-field-control__label--visually-hidden":Boolean(n)}),hasExpertSlot:v,label:i,accessKey:p,shortKey:g}))];"left"===s&&S.reverse();const L={"kol-field-control--disabled":Boolean(t),"kol-field-control--required":Boolean(u),"kol-field-control--touched":Boolean(f),"kol-field-control--hide-label":Boolean(n),"kol-field-control--read-only":Boolean(C),[`kol-field-control--${(null==F?void 0:F.type)||"error"}`]:Boolean(T),[`kol-field-control--label-align-${s}`]:Boolean(s)};return h("div",Object.assign({class:clsx("kol-field-control",L,e)},k),S,j&&h(KolFieldControlHintFc,Object.assign({},y||{},{baseClassName:"kol-field-control",id:r,hint:d})))},KolFieldControlFc$1=KolFieldControlFc;function getFieldControlProps(l){const o={accessKey:l._accessKey,shortKey:l._shortKey,id:l._id,disabled:l._disabled,msg:convertMsgToInternMsg(l._msg),hint:l._hint,label:l._label,hideLabel:l._hideLabel,touched:l._touched};return"_required"in l&&(o.required=l._required),"_readOnly"in l&&(o.readonly=l._readOnly),"_labelAlign"in l&&(o.labelAlign=l._labelAlign),o}const FieldControlStateWrapper=(l,o)=>{var{state:e}=l,r=__rest(l,["state"]);return h(KolFieldControlFc$1,Object.assign({},getFieldControlProps(e),r),o)},KolFieldControlStateWrapperFc=FieldControlStateWrapper;export{KolFieldControlStateWrapperFc as K};
@@ -1 +0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,IAAI,CAC7H,EACL;AACH,CAAC,CAAC;AAEF,4BAAe,iBAAiB;;AC/FhC,SAAS,oBAAoB,CAAC,KAAiB;IAC9C,MAAM,KAAK,GAAsB;QAChC,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,EAAE,EAAE,KAAK,CAAC,GAAG;QACb,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,GAAG,EAAE,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC;QACtC,IAAI,EAAE,KAAK,CAAC,KAAK;QACjB,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,OAAO,EAAE,KAAK,CAAC,QAAQ;KACvB,CAAC;IAEF,IAAI,WAAW,IAAI,KAAK,EAAE;QACzB,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC;KACjC;IAED,IAAI,WAAW,IAAI,KAAK,EAAE;QACzB,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC;KACjC;IAED,IAAI,aAAa,IAAI,KAAK,EAAE;QAC3B,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,WAAW,CAAC;KACrC;IAED,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,wBAAwB,GAAsC,CAAC,EAAmB,EAAE,QAAQ;QAA7B,EAAE,KAAK,OAAY,EAAP,KAAK,cAAjB,SAAmB,CAAF;IACrF,QACC,EAACA,mBAAiB,oBAAK,oBAAoB,CAAC,KAAK,CAAC,EAAM,KAAK,GAC3D,QAAQ,CACU,EACnB;AACH,CAAC,CAAC;AAEF,sCAAe,wBAAwB;;;;","names":["KolFieldControlFc"],"sources":["src/functional-components/FieldControl/FieldControl.tsx","src/functional-component-wrappers/FieldControlStateWrapper/FieldControlStateWrapper.tsx"],"sourcesContent":["import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { type AlignPropType, type LabelAlignPropType, buildBadgeTextString, checkHasError, type InternMsgPropType, showExpertSlot } from '../../schema';\nimport KolFieldControlTooltipFc from '../FormFieldTooltip';\nimport KolFieldControlLabelFc from '../FormFieldLabel';\nimport KolFieldControlHintFc from '../FormFieldHint';\n\nexport type FieldControlProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id'> & {\n\tid: string;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\tlabelAlign?: LabelAlignPropType;\n\taccessKey?: string;\n\tshortKey?: string;\n\ttooltipAlign?: AlignPropType;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttouched?: boolean;\n\trequired?: boolean;\n\treadonly?: boolean;\n\tshowTooltip?: boolean;\n\n\trenderNoLabel?: boolean;\n\trenderNoHint?: boolean;\n\trenderNoTooltip?: boolean;\n\n\tfieldControlLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\t\tcomponent?: 'label' | 'legend';\n\t\tshowBadge?: boolean;\n\t};\n\tfieldControlInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tfieldControlTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tfieldControlHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-field-control__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFieldControlFc: FC<FieldControlProps> = (props, children) => {\n\tconst {\n\t\tclass: classNames,\n\t\tid,\n\t\tdisabled,\n\t\tlabel,\n\t\thideLabel,\n\t\tlabelAlign,\n\t\trenderNoTooltip,\n\t\thint,\n\t\trenderNoHint,\n\t\ttooltipAlign,\n\t\taccessKey,\n\t\tshortKey,\n\t\tmsg,\n\t\ttouched,\n\t\trequired,\n\t\treadonly,\n\t\tfieldControlInputProps,\n\t\tfieldControlLabelProps,\n\t\tfieldControlTooltipProps,\n\t\tfieldControlHintProps,\n\t\t...other\n\t} = props;\n\n\tconst canShowHint = !renderNoHint;\n\tconst canShowTooltip = !renderNoTooltip;\n\tconst showMsg = checkHasError(msg, touched);\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst useTooltipInsteadOfLabel = canShowTooltip && !hasExpertSlot && hideLabel;\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\n\tconst components = [\n\t\t<>\n\t\t\t<InputContainer {...fieldControlInputProps}>{children}</InputContainer>\n\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t<KolFieldControlTooltipFc\n\t\t\t\t\t{...(fieldControlTooltipProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\talign={tooltipAlign}\n\t\t\t\t\tbadgeText={badgeText}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</>,\n\t\t<KolFieldControlLabelFc\n\t\t\t{...(fieldControlLabelProps || {})}\n\t\t\tid={id}\n\t\t\tbaseClassName=\"kol-field-control\"\n\t\t\tclass={clsx(fieldControlLabelProps?.class, {\n\t\t\t\t['kol-field-control__label--visually-hidden']: Boolean(hideLabel),\n\t\t\t})}\n\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\tlabel={label}\n\t\t\taccessKey={accessKey}\n\t\t\tshortKey={shortKey}\n\t\t/>,\n\t];\n\n\tif (labelAlign === 'left') {\n\t\tcomponents.reverse();\n\t}\n\n\tconst stateCssClasses = {\n\t\t['kol-field-control--disabled']: Boolean(disabled),\n\t\t['kol-field-control--required']: Boolean(required),\n\t\t['kol-field-control--touched']: Boolean(touched),\n\t\t['kol-field-control--hide-label']: Boolean(hideLabel),\n\t\t['kol-field-control--read-only']: Boolean(readonly),\n\t\t[`kol-field-control--${msg?.type || 'error'}`]: Boolean(showMsg),\n\t\t[`kol-field-control--label-align-${labelAlign}`]: Boolean(labelAlign),\n\t};\n\n\treturn (\n\t\t<div class={clsx('kol-field-control', stateCssClasses, classNames)} {...other}>\n\t\t\t{components}\n\t\t\t{canShowHint && <KolFieldControlHintFc {...(fieldControlHintProps || {})} baseClassName=\"kol-field-control\" id={id} hint={hint} />}\n\t\t</div>\n\t);\n};\n\nexport default KolFieldControlFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFieldControlFc, { type FieldControlProps } from '../../functional-components/FieldControl';\nimport {\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InputCheckboxStates,\n\ttype InputRadioStates,\n\ttype SelectStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates;\n\nexport type FieldControlStateWrapperProps = Partial<FieldControlProps> & {\n\tstate: InputState;\n};\n\nfunction getFieldControlProps(state: InputState): FieldControlProps {\n\tconst props: FieldControlProps = {\n\t\taccessKey: state._accessKey,\n\t\tshortKey: state._shortKey,\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: convertMsgToInternMsg(state._msg),\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\ttouched: state._touched,\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readonly = state._readOnly;\n\t}\n\n\tif ('_labelAlign' in state) {\n\t\tprops.labelAlign = state._labelAlign;\n\t}\n\n\treturn props;\n}\n\nconst FieldControlStateWrapper: FC<FieldControlStateWrapperProps> = ({ state, ...other }, children) => {\n\treturn (\n\t\t<KolFieldControlFc {...getFieldControlProps(state)} {...other}>\n\t\t\t{children}\n\t\t</KolFieldControlFc>\n\t);\n};\n\nexport default FieldControlStateWrapper;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators-9feb1d92.js";import{b as isObject}from"./common-54bf85ba.js";import{_ as __rest}from"./tslib.es6-1173d062.js";import{c as clsx}from"./clsx-09a06a12.js";import{h}from"./index-c4d5cf81.js";import{K as KolAlertFc}from"./Alert-fb4611d9.js";function transformObjectProperties(r){return Object.entries(r).reduce(((r,[s,e])=>{const t=s.startsWith("_")?s.slice(1):s;return Object.assign(Object.assign({},r),{[t]:e})}),{})}const validateMsg=(r,s)=>{objectObjectHandler(s,(()=>{try{s=parseJson(s)}catch(r){}watchValidator(r,"_msg",(r=>isObject(r)&&"string"==typeof(null==r?void 0:r._description)),new Set(["MsgPropType"]),s,{defaultValue:{_description:"",_type:"error"}})}))};function isMsgEmpty(r){return!r||"error"===r._type&&!r._description}function convertMsgToInternMsg(r){if(r&&!isMsgEmpty(r))return transformObjectProperties(r)}function checkHasError(r,s){return Boolean((null==r?void 0:r.description)&&(null==r?void 0:r.description.length)>0)&&(!0===s||"error"!==(null==r?void 0:r.type))}const FormFieldMsgFc=r=>{var{alert:s,msg:e,hideMsg:t,id:o,class:i}=r,c=__rest(r,["alert","msg","hideMsg","id","class"]);return h(KolAlertFc,Object.assign({id:`${o}-msg`,alert:s,type:"error",class:clsx("kol-form-field__msg",{"visually-hidden":!0===t},i)},e,c,{"aria-hidden":"true"}),(null==e?void 0:e.description)||void 0)},KolFormFieldMsgFc=FormFieldMsgFc;export{KolFormFieldMsgFc as K,convertMsgToInternMsg as a,checkHasError as c,validateMsg as v};
@@ -1 +0,0 @@
1
- {"file":"FormFieldMsg-00f6a985.js","mappings":";;;;;;;;;;SAuBgB,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AAiB;IAcvE,MAAM,WAAW,GAAG,OAAO,CAAC,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW,KAAI,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW,CAAC,MAAM,IAAG,CAAC,CAAC,CAAC;IAC7E,MAAM,OAAO,GAAG,WAAW,KAAK,OAAO,KAAK,IAAI,IAAI,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,IAAI,MAAK,OAAO,CAAC,CAAC;IAE3E,OAAO,OAAO,CAAC;AAChB;;ACtEA,MAAM,cAAc,GAA2C,CAAC,EAAwD;QAAxD,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,OAAY,EAAP,KAAK,cAAtD,0CAAwD,CAAF;IAAO,QAC5H,EAAC,UAAU,kBACV,EAAE,EAAE,GAAG,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,IAAI,CAAC,qBAAqB,EAAE,EAAE,iBAAiB,EAAE,OAAO,KAAK,IAAI,EAAE,EAAE,UAAU,CAAC,IACnF,GAAG,EACH,KAAK,mBACG,MAAM,KAEjB,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW,KAAI,SAAS,CAClB,EACb;CAAA,CAAC;AAEF,0BAAe,cAAc;;;;","names":[],"sources":["src/utils/transformObjectProperties.ts","src/schema/props/msg.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx"],"sourcesContent":["/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps, InternalAlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject } from '../validators';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\nexport type InternMsgPropType = Partial<\n\tInternalAlertProps & {\n\t\tdescription: string;\n\t}\n>;\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => isObject(value) && typeof value?._description === 'string',\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t\t{\n\t\t\t\tdefaultValue: {\n\t\t\t\t\t_description: '',\n\t\t\t\t\t_type: 'error',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n\nexport function isMsgEmpty(msg?: MsgPropType): boolean {\n\tif (!msg) {\n\t\treturn true;\n\t}\n\n\treturn msg._type === 'error' && !msg._description;\n}\n\nexport function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined {\n\tif (!msg || isMsgEmpty(msg)) {\n\t\treturn undefined;\n\t}\n\n\treturn transformObjectProperties(msg);\n}\n\nexport function checkHasError(msg?: InternMsgPropType, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * The message is shown if:\n\t * - the message text is not an empty string\n\t * - we show only one message at a time\n\t * - by error messages the input must be touched\n\t */\n\tconst hasValidMsg = Boolean(msg?.description && msg?.description.length > 0);\n\tconst showMsg = hasValidMsg && (touched === true || msg?.type !== 'error');\n\n\treturn showMsg;\n}\n","import clsx from 'clsx';\nimport type { AlertPropType, HideMsgPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideMsg?: HideMsgPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideMsg, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-msg`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{_ as __rest}from"./tslib.es6-1173d062.js";import{h,F as Fragment}from"./index-c4d5cf81.js";import{c as clsx}from"./clsx-09a06a12.js";import{d as getDefaultProps}from"./getRenderStates-3f00199d.js";import{c as checkHasError}from"./FormFieldMsg-00f6a985.js";const InputFc=e=>{const{class:s,msg:a,required:l,disabled:r,touched:o,readonly:t,ariaDescribedBy:i,hideLabel:d,label:n,suggestions:c,value:u}=e,p=__rest(e,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),b=checkHasError(a,o),g={"kol-input--disabled":Boolean(r),"kol-input--required":Boolean(l),"kol-input--touched":Boolean(o),"kol-input--readonly":Boolean(t),[`kol-input--${(null==a?void 0:a.type)||"error"}`]:b},m=Object.assign(Object.assign({class:clsx("kol-input",g,s),required:l,disabled:r,readonly:t,type:"text",list:c?`${p.id}-list`:void 0},getDefaultProps({ariaDescribedBy:i,hideLabel:d,label:n})),p);return h(Fragment,null,h("input",Object.assign({},m,{value:u})),c)},KolInputFc=InputFc;export{KolInputFc as K};
@@ -1 +0,0 @@
1
- {"file":"Input-3c3e229e.js","mappings":";;;;;;;;;AAkBA,MAAM,OAAO,GAAmB,CAAC,KAAK;IACrC,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,KAAe,KAAK,EAAf,KAAK,UAAK,KAAK,EAA1I,gIAAkI,CAAQ,CAAC;IAEjJ,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAE5C,MAAM,eAAe,GAAG;QACvB,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC;QAC1C,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC;QAC1C,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;QACxC,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC;QAC1C,CAAC,cAAc,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,IAAI,KAAI,OAAO,EAAE,GAAG,OAAO;KAC/C,CAAC;IAEF,MAAM,UAAU,iCACf,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,EAAE,UAAU,CAAC,EACrD,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,GAAG,GAAG,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,IAC/C,eAAe,CAAC,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,GACtD,KAAK,CACR,CAAC;IAEF,QACC;QACC,6BAAW,UAAU,IAAE,KAAK,EAAE,KAAK,IAAI;QACtC,WAAW,CACV,EACF;AACH,CAAC,CAAC;AAEF,mBAAe,OAAO;;;;","names":[],"sources":["src/functional-components/inputs/Input/Input.tsx"],"sourcesContent":["import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { checkHasError, type InternMsgPropType } from '../../../schema';\nimport { getDefaultProps } from '../_helpers/getDefaultProps';\nimport type { DefaultInputProps } from '../_types';\n\nexport type InputProps = DefaultInputProps<JSXBase.InputHTMLAttributes<HTMLInputElement>> & {\n\tvalue?: string | number | string[];\n\ttouched?: boolean;\n\tsuggestions?: VNode;\n\tspellcheck?: boolean;\n\tmsg?: InternMsgPropType;\n} & {\n\t[key: `data-${string}`]: unknown;\n\t[key: `aria-${string}`]: unknown;\n};\n\nconst InputFc: FC<InputProps> = (props) => {\n\tconst { class: classNames, msg, required, disabled, touched, readonly, ariaDescribedBy, hideLabel, label, suggestions, value, ...other } = props;\n\n\tconst showMsg = checkHasError(msg, touched);\n\n\tconst stateCssClasses = {\n\t\t['kol-input--disabled']: Boolean(disabled),\n\t\t['kol-input--required']: Boolean(required),\n\t\t['kol-input--touched']: Boolean(touched),\n\t\t['kol-input--readonly']: Boolean(readonly),\n\t\t[`kol-input--${msg?.type || 'error'}`]: showMsg,\n\t};\n\n\tconst inputProps: JSXBase.InputHTMLAttributes<HTMLInputElement> = {\n\t\tclass: clsx('kol-input', stateCssClasses, classNames),\n\t\trequired: required,\n\t\tdisabled: disabled,\n\t\treadonly: readonly,\n\t\ttype: 'text',\n\t\tlist: suggestions ? `${other.id}-list` : undefined,\n\t\t...getDefaultProps({ ariaDescribedBy, hideLabel, label }),\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t<input {...inputProps} value={value} />\n\t\t\t{suggestions}\n\t\t</>\n\t);\n};\n\nexport default InputFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{_ as __rest}from"./tslib.es6-1173d062.js";import{h}from"./index-c4d5cf81.js";import{g as getRenderStates}from"./getRenderStates-3f00199d.js";import{K as KolInputFc}from"./Input-3c3e229e.js";import{a as convertMsgToInternMsg}from"./FormFieldMsg-00f6a985.js";const SuggestionsFc=e=>{var{id:t,suggestions:s}=e,n=__rest(e,["id","suggestions"]);return s?h("datalist",Object.assign({id:`${t}-list`},n),s.map((e=>h("option",{value:e})))):null},KolSuggestionsFc=SuggestionsFc;function getInputProps(e,t){const{ariaDescribedBy:s}=getRenderStates(e),n={id:e._id,hideLabel:e._hideLabel,label:e._label,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:s};if("_type"in e&&(n.type=e._type),"_value"in e&&(n.value=e._value),"_required"in e&&(n.required=e._required),"_maxLength"in e&&(n.maxlength=e._maxLength),"_placeholder"in e&&(n.placeholder=e._placeholder),"_autoComplete"in e&&(n.autoComplete=e._autoComplete),"_spellCheck"in e&&(n.spellcheck=e._spellCheck),"_pattern"in e&&(n.pattern=e._pattern),"_readOnly"in e&&(n.readonly=e._readOnly),"_min"in e&&(n.min=e._min),"_max"in e&&(n.max=e._max),"_step"in e&&(n.step=e._step),"_multiple"in e&&(n.multiple=e._multiple),"_checked"in e&&(n.checked=e._checked),"_indeterminate"in e&&(n.indeterminate=e._indeterminate),"_touched"in e&&(n.touched=e._touched),"_msg"in e&&(n.msg=convertMsgToInternMsg(e._msg)),"_suggestions"in e&&!t){Array.isArray(e._suggestions)&&e._suggestions.length>0&&(n.suggestions=h(KolSuggestionsFc,{id:e._id,suggestions:e._suggestions}))}return n}const InputStateWrapper=e=>{var{state:t,customSuggestions:s}=e,n=__rest(e,["state","customSuggestions"]);return h(KolInputFc,Object.assign({},getInputProps(t,s),n))},KolInputStateWrapperFc=InputStateWrapper;export{KolInputStateWrapperFc as K,KolSuggestionsFc as a};
@@ -1 +0,0 @@
1
- {"file":"InputStateWrapper-e55ca6b7.js","mappings":";;;;;;;;;AASA,MAAM,aAAa,GAAyB,CAAC,EAA6B;QAA7B,EAAE,EAAE,EAAE,WAAW,OAAY,EAAP,KAAK,cAA3B,qBAA6B,CAAF;IACvE,IAAI,CAAC,WAAW,EAAE;QACjB,OAAO,IAAI,CAAC;KACZ;IAED,QACC,8BAAU,EAAE,EAAE,GAAG,EAAE,OAAO,IAAM,KAAK,GACnC,WAAW,CAAC,GAAG,CAAC,CAAC,MAAqB,MACtC,cAAQ,KAAK,EAAE,MAAM,GAAI,CACzB,CAAC,CACQ,EACV;AACH,CAAC,CAAC;AACF,yBAAe,aAAa;;ACiB5B,SAAS,aAAa,CAAC,KAAiB,EAAE,iBAA2B;IACpE,MAAM,EAAE,eAAe,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAEnD,MAAM,KAAK,GAAe;QACzB,EAAE,EAAE,KAAK,CAAC,GAAG;QACb,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS;Q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OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC;IACxD,IAAI,gBAAgB,IAAI,KAAK;QAAE,KAAK,CAAC,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC;IAC1E,IAAI,UAAU,IAAI,KAAK;QAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC;IACxD,IAAI,MAAM,IAAI,KAAK;QAAE,KAAK,CAAC,GAAG,GAAG,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnE,IAAI,cAAc,IAAI,KAAK,IAAI,CAAC,iBAAiB,EAAE;QAClD,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;QAC1F,IAAI,cAAc,EAAE;YACnB,KAAK,CAAC,WAAW,IAAI,EAACA,gBAAa,IAAC,EAAE,EAAE,KAAK,CAAC,GAAG,EAAE,WAAW,EAAE,KAAK,CAAC,YAAY,GAAI,CAAU,CAAC;SACjG;KACD;IAED,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,iBAAiB,GAA+B,CAAC,EAAsC;QAAtC,EAAE,KAAK,EAAE,iBAAiB,OAAY,EAAP,KAAK,cAApC,8BAAsC,CAAF;IAC1F,OAAO,EAAC,UAAU,oBAAK,aAAa,CAAC,KAAK,EAAE,iBAAiB,CAAC,EAAM,KAAK,EAAI,CAAC;AAC/E,CAAC,CAAC;AAEF,+BAAe,iBAAiB;;;;","names":["SuggestionsFc"],"sources":["src/functional-components/Suggestions/Suggestions.tsx","src/functional-component-wrappers/InputStateWrapper/InputStateWrapper.tsx"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport type { W3CInputValue } from '../../schema';\n\nexport type SuggestionsProps = JSXBase.HTMLAttributes<HTMLDataListElement> & {\n\tid: string;\n\tsuggestions: W3CInputValue[];\n};\n\nconst SuggestionsFc: FC<SuggestionsProps> = ({ id, suggestions, ...other }) => {\n\tif (!suggestions) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<datalist id={`${id}-list`} {...other}>\n\t\t\t{suggestions.map((option: W3CInputValue) => (\n\t\t\t\t<option value={option} />\n\t\t\t))}\n\t\t</datalist>\n\t);\n};\nexport default SuggestionsFc;\n","import type { VNode } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolInputFc, { type InputProps } from '../../functional-components/inputs/Input';\n\nimport {\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InputCheckboxStates,\n\ttype InputRadioStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\nimport SuggestionsFc from '../../functional-components/Suggestions';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates;\n\nexport type InputStateWrapperProps = Partial<InputProps> & {\n\tstate: InputState;\n\tcustomSuggestions?: boolean;\n};\n\n/**\n * @param state\n * @param customSuggestions - Set to true when a custom implementation for _suggestions is provided. Omits the native datalist.\n */\nfunction getInputProps(state: InputState, customSuggestions?: boolean): InputProps {\n\tconst { ariaDescribedBy } = getRenderStates(state);\n\n\tconst props: InputProps = {\n\t\tid: state._id,\n\t\thideLabel: state._hideLabel,\n\t\tlabel: state._label,\n\t\taccessKey: state._accessKey,\n\t\tdisabled: state._disabled,\n\t\tname: state._name,\n\n\t\tariaDescribedBy: ariaDescribedBy,\n\t};\n\n\tif ('_type' in state) props.type = state._type;\n\tif ('_value' in state) props.value = state._value as string | number | string[];\n\tif ('_required' in state) props.required = state._required;\n\tif ('_maxLength' in state) props.maxlength = state._maxLength;\n\tif ('_placeholder' in state) props.placeholder = state._placeholder;\n\tif ('_autoComplete' in state) props.autoComplete = state._autoComplete;\n\tif ('_spellCheck' in state) props.spellcheck = state._spellCheck;\n\tif ('_pattern' in state) props.pattern = state._pattern;\n\tif ('_readOnly' in state) props.readonly = state._readOnly;\n\tif ('_min' in state) props.min = state._min;\n\tif ('_max' in state) props.max = state._max;\n\tif ('_step' in state) props.step = state._step;\n\tif ('_multiple' in state) props.multiple = state._multiple;\n\tif ('_checked' in state) props.checked = state._checked;\n\tif ('_indeterminate' in state) props.indeterminate = state._indeterminate;\n\tif ('_touched' in state) props.touched = state._touched;\n\tif ('_msg' in state) props.msg = convertMsgToInternMsg(state._msg);\n\n\tif ('_suggestions' in state && !customSuggestions) {\n\t\tconst hasSuggestions = Array.isArray(state._suggestions) && state._suggestions.length > 0;\n\t\tif (hasSuggestions) {\n\t\t\tprops.suggestions = (<SuggestionsFc id={state._id} suggestions={state._suggestions} />) as VNode;\n\t\t}\n\t}\n\n\treturn props;\n}\n\nconst InputStateWrapper: FC<InputStateWrapperProps> = ({ state, customSuggestions, ...other }) => {\n\treturn <KolInputFc {...getInputProps(state, customSuggestions)} {...other} />;\n};\n\nexport default InputStateWrapper;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- import{p as processEnv}from"./reuse-32931294.js";const sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce(((e,t)=>e.concat(t,t+"-"+alignments[0],t+"-"+alignments[1])),[]),min=Math.min,max=Math.max,round=Math.round,floor=Math.floor,createCoords=e=>({x:e,y:e}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(e,t,n){return max(e,min(t,n))}function evaluate(e,t){return"function"==typeof e?e(t):e}function getSide(e){return e.split("-")[0]}function getAlignment(e){return e.split("-")[1]}function getOppositeAxis(e){return"x"===e?"y":"x"}function getAxisLength(e){return"y"===e?"height":"width"}function getSideAxis(e){return["top","bottom"].includes(getSide(e))?"y":"x"}function getAlignmentAxis(e){return getOppositeAxis(getSideAxis(e))}function getAlignmentSides(e,t,n){void 0===n&&(n=!1);const o=getAlignment(e),i=getAlignmentAxis(e),r=getAxisLength(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=getOppositePlacement(l)),[l,getOppositePlacement(l)]}function getExpandedPlacements(e){const t=getOppositePlacement(e);return[getOppositeAlignmentPlacement(e),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(e){return e.replace(/start|end/g,(e=>oppositeAlignmentMap[e]))}function getSideList(e,t,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?r:l;default:return[]}}function getOppositeAxisPlacements(e,t,n,o){const i=getAlignment(e);let r=getSideList(getSide(e),"start"===n,o);return i&&(r=r.map((e=>e+"-"+i)),t&&(r=r.concat(r.map(getOppositeAlignmentPlacement)))),r}function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(e=>oppositeSideMap[e]))}function expandPaddingObject(e){return{top:0,right:0,bottom:0,left:0,...e}}function getPaddingObject(e){return"number"!=typeof e?expandPaddingObject(e):{top:e,right:e,bottom:e,left:e}}function rectToClientRect(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function computeCoordsFromPlacement(e,t,n){let{reference:o,floating:i}=e;const r=getSideAxis(t),l=getAlignmentAxis(t),s=getAxisLength(l),a=getSide(t),c="y"===r,f=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let u;switch(a){case"top":u={x:f,y:o.y-i.height};break;case"bottom":u={x:f,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:g};break;case"left":u={x:o.x-i.width,y:g};break;default:u={x:o.x,y:o.y}}switch(getAlignment(t)){case"start":u[l]-=d*(n&&c?-1:1);break;case"end":u[l]+=d*(n&&c?-1:1)}return u}const computePosition$1=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,s=r.filter(Boolean),a=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:g}=computeCoordsFromPlacement(c,o,a),d=o,u={},m=0;for(let n=0;n<s.length;n++){const{name:r,fn:p}=s[n],{x:h,y:w,data:y,reset:x}=await p({x:f,y:g,initialPlacement:o,placement:d,strategy:i,middlewareData:u,rects:c,platform:l,elements:{reference:e,floating:t}});f=null!=h?h:f,g=null!=w?w:g,u={...u,[r]:{...u[r],...y}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),({x:f,y:g}=computeCoordsFromPlacement(c,d,a))),n=-1)}return{x:f,y:g,placement:d,strategy:i,middlewareData:u}};async function detectOverflow(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:r,rects:l,elements:s,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:g="floating",altBoundary:d=!1,padding:u=0}=evaluate(t,e),m=getPaddingObject(u),p=s[d?"floating"===g?"reference":"floating":g],h=rectToClientRect(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:a})),w="floating"===g?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(null==r.getOffsetParent?void 0:r.getOffsetParent(s.floating)),x=await(null==r.isElement?void 0:r.isElement(y))&&await(null==r.getScale?void 0:r.getScale(y))||{x:1,y:1},v=rectToClientRect(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:y,strategy:a}):w);return{top:(h.top-v.top+m.top)/x.y,bottom:(v.bottom-h.bottom+m.bottom)/x.y,left:(h.left-v.left+m.left)/x.x,right:(v.right-h.right+m.right)/x.x}}const arrow$1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:r,platform:l,elements:s,middlewareData:a}=t,{element:c,padding:f=0}=evaluate(e,t)||{};if(null==c)return{};const g=getPaddingObject(f),d={x:n,y:o},u=getAlignmentAxis(i),m=getAxisLength(u),p=await l.getDimensions(c),h="y"===u,w=h?"top":"left",y=h?"bottom":"right",x=h?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[u]-d[u]-r.floating[m],b=d[u]-r.reference[u],A=await(null==l.getOffsetParent?void 0:l.getOffsetParent(c));let R=A?A[x]:0;R&&await(null==l.isElement?void 0:l.isElement(A))||(R=s.floating[x]||r.floating[m]);const E=v/2-b/2,O=R/2-p[m]/2-1,S=min(g[w],O),C=min(g[y],O),T=S,P=R-p[m]-C,L=R/2-p[m]/2+E,N=clamp(T,L,P),D=!a.arrow&&null!=getAlignment(i)&&L!==N&&r.reference[m]/2-(L<T?S:C)-p[m]/2<0,W=D?L<T?L-T:L-P:0;return{[u]:d[u]+W,data:{[u]:N,centerOffset:L-N-W,...D&&{alignmentOffset:W}},reset:D}}});function getPlacementList(e,t,n){return(e?[...n.filter((t=>getAlignment(t)===e)),...n.filter((t=>getAlignment(t)!==e))]:n.filter((e=>getSide(e)===e))).filter((n=>!e||(getAlignment(n)===e||!!t&&getOppositeAlignmentPlacement(n)!==n)))}const autoPlacement=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:r,middlewareData:l,placement:s,platform:a,elements:c}=t,{crossAxis:f=!1,alignment:g,allowedPlacements:d=placements,autoAlignment:u=!0,...m}=evaluate(e,t),p=void 0!==g||d===placements?getPlacementList(g||null,u,d):d,h=await detectOverflow(t,m),w=(null==(n=l.autoPlacement)?void 0:n.index)||0,y=p[w];if(null==y)return{};const x=getAlignmentSides(y,r,await(null==a.isRTL?void 0:a.isRTL(c.floating)));if(s!==y)return{reset:{placement:p[0]}};const v=[h[getSide(y)],h[x[0]],h[x[1]]],b=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:y,overflows:v}],A=p[w+1];if(A)return{data:{index:w+1,overflows:b},reset:{placement:A}};const R=b.map((e=>{const t=getAlignment(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=(null==(i=R.filter((e=>e[2].slice(0,getAlignment(e[0])?2:3).every((e=>e<=0))))[0])?void 0:i[0])||R[0][0];return E!==s?{data:{index:w+1,overflows:b},reset:{placement:E}}:{}}}},flip$1=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:s,platform:a,elements:c}=t,{mainAxis:f=!0,crossAxis:g=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...h}=evaluate(e,t);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const w=getSide(i),y=getSideAxis(s),x=getSide(s)===s,v=await(null==a.isRTL?void 0:a.isRTL(c.floating)),b=d||(x||!p?[getOppositePlacement(s)]:getExpandedPlacements(s)),A="none"!==m;!d&&A&&b.push(...getOppositeAxisPlacements(s,p,m,v));const R=[s,...b],E=await detectOverflow(t,h),O=[];let S=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&O.push(E[w]),g){const e=getAlignmentSides(i,l,v);O.push(E[e[0]],E[e[1]])}if(S=[...S,{placement:i,overflows:O}],!O.every((e=>e<=0))){var C,T;const e=((null==(C=r.flip)?void 0:C.index)||0)+1,t=R[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(T=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(u){case"bestFit":{var P;const e=null==(P=S.filter((e=>{if(A){const t=getSideAxis(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function getSideOffsets(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function isAnySideFullyClipped(e){return sides.some((t=>e[t]>=0))}const hide=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=evaluate(e,t);switch(o){case"referenceHidden":{const e=getSideOffsets(await detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:isAnySideFullyClipped(e)}}}case"escaped":{const e=getSideOffsets(await detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:isAnySideFullyClipped(e)}}}default:return{}}}}};function getBoundingRect(e){const t=min(...e.map((e=>e.left))),n=min(...e.map((e=>e.top)));return{x:t,y:n,width:max(...e.map((e=>e.right)))-t,height:max(...e.map((e=>e.bottom)))-n}}function getRectsByLine(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const i=t[e];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((e=>rectToClientRect(getBoundingRect(e))))}const inline=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:i,platform:r,strategy:l}=t,{padding:s=2,x:a,y:c}=evaluate(e,t),f=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(o.reference))||[]),g=getRectsByLine(f),d=rectToClientRect(getBoundingRect(f)),u=getPaddingObject(s);const m=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=a&&null!=c)return g.find((e=>a>e.left-u.left&&a<e.right+u.right&&c>e.top-u.top&&c<e.bottom+u.bottom))||d;if(g.length>=2){if("y"===getSideAxis(n)){const e=g[0],t=g[g.length-1],o="top"===getSide(n),i=e.top,r=t.bottom,l=o?e.left:t.left,s=o?e.right:t.right;return{top:i,bottom:r,left:l,right:s,width:s-l,height:r-i,x:l,y:i}}const e="left"===getSide(n),t=max(...g.map((e=>e.right))),o=min(...g.map((e=>e.left))),i=g.filter((n=>e?n.left===o:n.right===t)),r=i[0].top,l=i[i.length-1].bottom;return{top:r,bottom:l,left:o,right:t,width:t-o,height:l-r,x:o,y:r}}return d}},floating:o.floating,strategy:l});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};async function convertValueToCoords(e,t){const{placement:n,platform:o,elements:i}=e,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=getSide(n),s=getAlignment(n),a="y"===getSideAxis(n),c=["left","top"].includes(l)?-1:1,f=r&&a?-1:1,g=evaluate(t,e);let{mainAxis:d,crossAxis:u,alignmentAxis:m}="number"==typeof g?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...g};return s&&"number"==typeof m&&(u="end"===s?-1*m:m),a?{x:u*f,y:d*c}:{x:d*c,y:u*f}}const offset$1=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:r,placement:l,middlewareData:s}=t,a=await convertValueToCoords(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+a.x,y:r+a.y,data:{...a,placement:l}}}}},shift$1=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=evaluate(e,t),c={x:n,y:o},f=await detectOverflow(t,a),g=getSideAxis(getSide(i)),d=getOppositeAxis(g);let u=c[d],m=c[g];if(r){const e="y"===d?"bottom":"right";u=clamp(u+f["y"===d?"top":"left"],u,u-f[e])}if(l){const e="y"===g?"bottom":"right";m=clamp(m+f["y"===g?"top":"left"],m,m-f[e])}const p=s.fn({...t,[d]:u,[g]:m});return{...p,data:{x:p.x-n,y:p.y-o}}}}},limitShift=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:c=!0}=evaluate(e,t),f={x:n,y:o},g=getSideAxis(i),d=getOppositeAxis(g);let u=f[d],m=f[g];const p=evaluate(s,t),h="number"==typeof p?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(a){const e="y"===d?"height":"width",t=r.reference[d]-r.floating[e]+h.mainAxis,n=r.reference[d]+r.reference[e]-h.mainAxis;u<t?u=t:u>n&&(u=n)}if(c){var w,y;const e="y"===d?"width":"height",t=["top","left"].includes(getSide(i)),n=r.reference[g]-r.floating[e]+(t&&(null==(w=l.offset)?void 0:w[g])||0)+(t?0:h.crossAxis),o=r.reference[g]+r.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[g])||0)-(t?h.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[d]:u,[g]:m}}}},size=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:r}=t,{apply:l=()=>{},...s}=evaluate(e,t),a=await detectOverflow(t,s),c=getSide(n),f=getAlignment(n),g="y"===getSideAxis(n),{width:d,height:u}=o.floating;let m,p;"top"===c||"bottom"===c?(m=c,p=f===(await(null==i.isRTL?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(p=c,m="end"===f?"top":"bottom");const h=u-a.top-a.bottom,w=d-a.left-a.right,y=min(u-a[m],h),x=min(d-a[p],w),v=!t.middlewareData.shift;let b=y,A=x;if(g?A=f||v?min(x,w):w:b=f||v?min(y,h):h,v&&!f){const e=max(a.left,0),t=max(a.right,0),n=max(a.top,0),o=max(a.bottom,0);g?A=d-2*(0!==e||0!==t?e+t:max(a.left,a.right)):b=u-2*(0!==n||0!==o?n+o:max(a.top,a.bottom))}await l({...t,availableWidth:A,availableHeight:b});const R=await i.getDimensions(r.floating);return d!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return"undefined"!=typeof window}function getNodeName(e){return isNode(e)?(e.nodeName||"").toLowerCase():"#document"}function getWindow(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function getDocumentElement(e){var t;return null==(t=(isNode(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function isNode(e){return!!hasWindow()&&(e instanceof Node||e instanceof getWindow(e).Node)}function isElement(e){return!!hasWindow()&&(e instanceof Element||e instanceof getWindow(e).Element)}function isHTMLElement(e){return!!hasWindow()&&(e instanceof HTMLElement||e instanceof getWindow(e).HTMLElement)}function isShadowRoot(e){return!(!hasWindow()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof getWindow(e).ShadowRoot)}function isOverflowElement(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=getComputedStyle(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function isTableElement(e){return["table","td","th"].includes(getNodeName(e))}function isTopLayer(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function isContainingBlock(e){const t=isWebKit(),n=isElement(e)?getComputedStyle(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function getContainingBlock(e){let t=getParentNode(e);for(;isHTMLElement(t)&&!isLastTraversableNode(t);){if(isContainingBlock(t))return t;if(isTopLayer(t))return null;t=getParentNode(t)}return null}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(e){return["html","body","#document"].includes(getNodeName(e))}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function getNodeScroll(e){return isElement(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function getParentNode(e){if("html"===getNodeName(e))return e;const t=e.assignedSlot||e.parentNode||isShadowRoot(e)&&e.host||getDocumentElement(e);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(e){const t=getParentNode(e);return isLastTraversableNode(t)?e.ownerDocument?e.ownerDocument.body:e.body:isHTMLElement(t)&&isOverflowElement(t)?t:getNearestOverflowAncestor(t)}function getOverflowAncestors(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=getNearestOverflowAncestor(e),r=i===(null==(o=e.ownerDocument)?void 0:o.body),l=getWindow(i);if(r){const e=getFrameElement(l);return t.concat(l,l.visualViewport||[],isOverflowElement(i)?i:[],e&&n?getOverflowAncestors(e):[])}return t.concat(i,getOverflowAncestors(i,[],n))}function getFrameElement(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function getCssDimensions(e){const t=getComputedStyle(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=isHTMLElement(e),r=i?e.offsetWidth:n,l=i?e.offsetHeight:o,s=round(n)!==r||round(o)!==l;return s&&(n=r,o=l),{width:n,height:o,$:s}}function unwrapElement(e){return isElement(e)?e:e.contextElement}function getScale(e){const t=unwrapElement(e);if(!isHTMLElement(t))return createCoords(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=getCssDimensions(t);let l=(r?round(n.width):n.width)/o,s=(r?round(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const noOffsets=createCoords(0);function getVisualOffsets(e){const t=getWindow(e);return isWebKit()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:noOffsets}function shouldAddVisualOffsets(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==getWindow(e))&&t}function getBoundingClientRect(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),r=unwrapElement(e);let l=createCoords(1);t&&(o?isElement(o)&&(l=getScale(o)):l=getScale(e));const s=shouldAddVisualOffsets(r,n,o)?getVisualOffsets(r):createCoords(0);let a=(i.left+s.x)/l.x,c=(i.top+s.y)/l.y,f=i.width/l.x,g=i.height/l.y;if(r){const e=getWindow(r),t=o&&isElement(o)?getWindow(o):o;let n=e,i=getFrameElement(n);for(;i&&o&&t!==n;){const e=getScale(i),t=i.getBoundingClientRect(),o=getComputedStyle(i),r=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;a*=e.x,c*=e.y,f*=e.x,g*=e.y,a+=r,c+=l,n=getWindow(i),i=getFrameElement(n)}}return rectToClientRect({width:f,height:g,x:a,y:c})}function getWindowScrollBarX(e,t){const n=getNodeScroll(e).scrollLeft;return t?t.left+n:getBoundingClientRect(getDocumentElement(e)).left+n}function getHTMLOffset(e,t,n){void 0===n&&(n=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(n?0:getWindowScrollBarX(e,o)),y:o.top+t.scrollTop}}function convertOffsetParentRelativeRectToViewportRelativeRect(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const r="fixed"===i,l=getDocumentElement(o),s=!!t&&isTopLayer(t.floating);if(o===l||s&&r)return n;let a={scrollLeft:0,scrollTop:0},c=createCoords(1);const f=createCoords(0),g=isHTMLElement(o);if((g||!g&&!r)&&(("body"!==getNodeName(o)||isOverflowElement(l))&&(a=getNodeScroll(o)),isHTMLElement(o))){const e=getBoundingClientRect(o);c=getScale(o),f.x=e.x+o.clientLeft,f.y=e.y+o.clientTop}const d=!l||g||r?createCoords(0):getHTMLOffset(l,a,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x+d.x,y:n.y*c.y-a.scrollTop*c.y+f.y+d.y}}function getClientRects(e){return Array.from(e.getClientRects())}function getDocumentRect(e){const t=getDocumentElement(e),n=getNodeScroll(e),o=e.ownerDocument.body,i=max(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=max(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+getWindowScrollBarX(e);const s=-n.scrollTop;return"rtl"===getComputedStyle(o).direction&&(l+=max(t.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}function getViewportRect(e,t){const n=getWindow(e),o=getDocumentElement(e),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,a=0;if(i){r=i.width,l=i.height;const e=isWebKit();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}return{width:r,height:l,x:s,y:a}}function getInnerBoundingClientRect(e,t){const n=getBoundingClientRect(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,r=isHTMLElement(e)?getScale(e):createCoords(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:i*r.x,y:o*r.y}}function getClientRectFromClippingAncestor(e,t,n){let o;if("viewport"===t)o=getViewportRect(e,n);else if("document"===t)o=getDocumentRect(getDocumentElement(e));else if(isElement(t))o=getInnerBoundingClientRect(t,n);else{const n=getVisualOffsets(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return rectToClientRect(o)}function hasFixedPositionAncestor(e,t){const n=getParentNode(e);return!(n===t||!isElement(n)||isLastTraversableNode(n))&&("fixed"===getComputedStyle(n).position||hasFixedPositionAncestor(n,t))}function getClippingElementAncestors(e,t){const n=t.get(e);if(n)return n;let o=getOverflowAncestors(e,[],!1).filter((e=>isElement(e)&&"body"!==getNodeName(e))),i=null;const r="fixed"===getComputedStyle(e).position;let l=r?getParentNode(e):e;for(;isElement(l)&&!isLastTraversableNode(l);){const t=getComputedStyle(l),n=isContainingBlock(l);n||"fixed"!==t.position||(i=null);(r?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||isOverflowElement(l)&&!n&&hasFixedPositionAncestor(e,l))?o=o.filter((e=>e!==l)):i=t,l=getParentNode(l)}return t.set(e,o),o}function getClippingRect(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const r=[..."clippingAncestors"===n?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(n),o],l=r[0],s=r.reduce(((e,n)=>{const o=getClientRectFromClippingAncestor(t,n,i);return e.top=max(o.top,e.top),e.right=min(o.right,e.right),e.bottom=min(o.bottom,e.bottom),e.left=max(o.left,e.left),e}),getClientRectFromClippingAncestor(t,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function getDimensions(e){const{width:t,height:n}=getCssDimensions(e);return{width:t,height:n}}function getRectRelativeToOffsetParent(e,t,n){const o=isHTMLElement(t),i=getDocumentElement(t),r="fixed"===n,l=getBoundingClientRect(e,!0,r,t);let s={scrollLeft:0,scrollTop:0};const a=createCoords(0);if(o||!o&&!r)if(("body"!==getNodeName(t)||isOverflowElement(i))&&(s=getNodeScroll(t)),o){const e=getBoundingClientRect(t,!0,r,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else i&&(a.x=getWindowScrollBarX(i));const c=!i||o||r?createCoords(0):getHTMLOffset(i,s);return{x:l.left+s.scrollLeft-a.x-c.x,y:l.top+s.scrollTop-a.y-c.y,width:l.width,height:l.height}}function isStaticPositioned(e){return"static"===getComputedStyle(e).position}function getTrueOffsetParent(e,t){if(!isHTMLElement(e)||"fixed"===getComputedStyle(e).position)return null;if(t)return t(e);let n=e.offsetParent;return getDocumentElement(e)===n&&(n=n.ownerDocument.body),n}function getOffsetParent(e,t){const n=getWindow(e);if(isTopLayer(e))return n;if(!isHTMLElement(e)){let t=getParentNode(e);for(;t&&!isLastTraversableNode(t);){if(isElement(t)&&!isStaticPositioned(t))return t;t=getParentNode(t)}return n}let o=getTrueOffsetParent(e,t);for(;o&&isTableElement(o)&&isStaticPositioned(o);)o=getTrueOffsetParent(o,t);return o&&isLastTraversableNode(o)&&isStaticPositioned(o)&&!isContainingBlock(o)?n:o||getContainingBlock(e)||n}const getElementRects=async function(e){const t=this.getOffsetParent||getOffsetParent,n=this.getDimensions,o=await n(e.floating);return{reference:getRectRelativeToOffsetParent(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function isRTL(e){return"rtl"===getComputedStyle(e).direction}const platform={convertOffsetParentRelativeRectToViewportRelativeRect:convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement:getDocumentElement,getClippingRect:getClippingRect,getOffsetParent:getOffsetParent,getElementRects:getElementRects,getClientRects:getClientRects,getDimensions:getDimensions,getScale:getScale,isElement:isElement,isRTL:isRTL};function rectsAreEqual(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function observeMove(e,t){let n,o=null;const i=getDocumentElement(e);function r(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function l(s,a){void 0===s&&(s=!1),void 0===a&&(a=1),r();const c=e.getBoundingClientRect(),{left:f,top:g,width:d,height:u}=c;if(s||t(),!d||!u)return;const m={rootMargin:-floor(g)+"px "+-floor(i.clientWidth-(f+d))+"px "+-floor(i.clientHeight-(g+u))+"px "+-floor(f)+"px",threshold:max(0,min(1,a))||1};let p=!0;function h(t){const o=t[0].intersectionRatio;if(o!==a){if(!p)return l();o?l(!1,o):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}1!==o||rectsAreEqual(c,e.getBoundingClientRect())||l(),p=!1}try{o=new IntersectionObserver(h,{...m,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(h,m)}o.observe(e)}(!0),r}function autoUpdate(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:a=!1}=o,c=unwrapElement(e),f=i||r?[...c?getOverflowAncestors(c):[],...getOverflowAncestors(t)]:[];f.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)}));const g=c&&s?observeMove(c,n):null;let d,u=-1,m=null;l&&(m=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),c&&!a&&m.observe(c),m.observe(t));let p=a?getBoundingClientRect(e):null;return a&&function t(){const o=getBoundingClientRect(e);p&&!rectsAreEqual(p,o)&&n();p=o,d=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach((e=>{i&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)})),null==g||g(),null==(e=m)||e.disconnect(),m=null,a&&cancelAnimationFrame(d)}}const offset=offset$1,shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(e,t,n)=>{const o=new Map,i={platform:platform,...n},r={...i.platform,_c:o};return computePosition$1(e,t,{...i,platform:r})},alignFloatingElements=async({floatingElement:e,referenceElement:t,arrowElement:n,align:o="top"})=>{var i,r,l;if("test"!==processEnv){const s=[offset(null!==(i=null==n?void 0:n.offsetHeight)&&void 0!==i?i:10),flip(),shift()];n&&s.push(arrow({element:n}));const{x:a,y:c,middlewareData:f,placement:g}=await computePosition(t,e,{placement:o,middleware:s,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),n&&((null===(r=f.arrow)||void 0===r?void 0:r.x)?Object.assign(n.style,{left:`${f.arrow.x}px`,top:"bottom"===g?-n.offsetHeight/2+"px":"",bottom:"top"===g?-n.offsetHeight/2+"px":""}):(null===(l=f.arrow)||void 0===l?void 0:l.y)&&Object.assign(n.style,{left:"right"===g?-n.offsetWidth/2+"px":"",right:"left"===g?-n.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{alignFloatingElements as a,autoUpdate as b};