@public-ui/components 2.2.11 → 3.0.0-0a564237c37a5d1ca12470bdd73e4ea1eac06982.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1570) hide show
  1. package/custom-elements.json +290 -680
  2. package/dist/cjs/Alert-fe32c539.js +4 -0
  3. package/dist/cjs/Alert-fe32c539.js.map +1 -0
  4. package/dist/cjs/Collapsible-4ca71fd6.js +4 -0
  5. package/dist/cjs/Collapsible-4ca71fd6.js.map +1 -0
  6. package/dist/cjs/CustomSuggestionsOptionsGroup-218ef4fb.js +4 -0
  7. package/dist/cjs/CustomSuggestionsOptionsGroup-218ef4fb.js.map +1 -0
  8. package/dist/cjs/FieldControlStateWrapper-93112c76.js +4 -0
  9. package/dist/cjs/FieldControlStateWrapper-93112c76.js.map +1 -0
  10. package/dist/cjs/Heading-34ee96af.js +4 -0
  11. package/dist/cjs/Heading-34ee96af.js.map +1 -0
  12. package/dist/cjs/Icon-fd91b30e.js +4 -0
  13. package/dist/cjs/Icon-fd91b30e.js.map +1 -0
  14. package/dist/cjs/Input-ffc26107.js +4 -0
  15. package/dist/cjs/Input-ffc26107.js.map +1 -0
  16. package/dist/cjs/InputStateWrapper-6b2effff.js +4 -0
  17. package/dist/cjs/InputStateWrapper-6b2effff.js.map +1 -0
  18. package/dist/cjs/InternalUnderlinedBadgeText-ec26f7f6.js +4 -0
  19. package/dist/cjs/InternalUnderlinedBadgeText-ec26f7f6.js.map +1 -0
  20. package/dist/cjs/Span-44005167.js +4 -0
  21. package/dist/cjs/Span-44005167.js.map +1 -0
  22. package/dist/cjs/access-and-short-key-c9b6eca5.js +4 -0
  23. package/dist/cjs/access-and-short-key-c9b6eca5.js.map +1 -0
  24. package/dist/cjs/align-93a03292.js +4 -0
  25. package/dist/cjs/align-93a03292.js.map +1 -0
  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-a8c62c1a.js +4 -0
  29. package/dist/cjs/app-globals-a8c62c1a.js.map +1 -0
  30. package/dist/cjs/associated.controller-9b900f21.js +4 -0
  31. package/dist/cjs/associated.controller-9b900f21.js.map +1 -0
  32. package/dist/cjs/bem-85316256.js +4 -0
  33. package/dist/cjs/bem-85316256.js.map +1 -0
  34. package/dist/cjs/bem-c7c596d7.js +4 -0
  35. package/dist/cjs/bem-c7c596d7.js.map +1 -0
  36. package/dist/cjs/browser-4433089a.js +4 -0
  37. package/dist/cjs/browser-4433089a.js.map +1 -0
  38. package/dist/cjs/button-variant-9968f6a1.js +4 -0
  39. package/dist/cjs/button-variant-9968f6a1.js.map +1 -0
  40. package/dist/cjs/color-dc09cdf5.js +4 -0
  41. package/dist/cjs/color-dc09cdf5.js.map +1 -0
  42. package/dist/cjs/component-names-82c4d68d.js +4 -0
  43. package/dist/cjs/component-names-82c4d68d.js.map +1 -0
  44. package/dist/cjs/controller-2ab8bf77.js +4 -0
  45. package/dist/cjs/controller-2ab8bf77.js.map +1 -0
  46. package/dist/cjs/controller-9e02ba64.js +4 -0
  47. package/dist/cjs/controller-9e02ba64.js.map +1 -0
  48. package/dist/cjs/controller-b26368e7.js +4 -0
  49. package/dist/cjs/controller-b26368e7.js.map +1 -0
  50. package/dist/cjs/controller-d926ed4c.js +4 -0
  51. package/dist/cjs/controller-d926ed4c.js.map +1 -0
  52. package/dist/cjs/controller-icon-26a0c9bf.js +4 -0
  53. package/dist/cjs/controller-icon-26a0c9bf.js.map +1 -0
  54. package/dist/cjs/custom-class-38fd2475.js +4 -0
  55. package/dist/cjs/custom-class-38fd2475.js.map +1 -0
  56. package/dist/cjs/dev.utils-c01ed0db.js +4 -0
  57. package/dist/cjs/dev.utils-c01ed0db.js.map +1 -0
  58. package/dist/cjs/devtools-9de2b586.js +4 -0
  59. package/dist/cjs/devtools-9de2b586.js.map +1 -0
  60. package/dist/cjs/disabled-a0110ea5.js +4 -0
  61. package/dist/cjs/disabled-a0110ea5.js.map +1 -0
  62. package/dist/cjs/events-40771c95.js +4 -0
  63. package/dist/cjs/events-40771c95.js.map +1 -0
  64. package/dist/cjs/getRenderStates-528714f9.js +4 -0
  65. package/dist/cjs/getRenderStates-528714f9.js.map +1 -0
  66. package/dist/cjs/has-closer-ef341b5a.js +4 -0
  67. package/dist/cjs/has-closer-ef341b5a.js.map +1 -0
  68. package/dist/cjs/has-counter-759c9aaa.js +4 -0
  69. package/dist/cjs/has-counter-759c9aaa.js.map +1 -0
  70. package/dist/cjs/hide-label-6a0e93be.js +4 -0
  71. package/dist/cjs/hide-label-6a0e93be.js.map +1 -0
  72. package/dist/cjs/href-0a142e94.js +4 -0
  73. package/dist/cjs/href-0a142e94.js.map +1 -0
  74. package/dist/cjs/i18n-0e710ccd.js +4 -0
  75. package/dist/cjs/i18n-0e710ccd.js.map +1 -0
  76. package/dist/cjs/i18n-8c288a27.js +4 -0
  77. package/dist/cjs/i18n-8c288a27.js.map +1 -0
  78. package/dist/cjs/icons-a86d96c3.js +4 -0
  79. package/dist/cjs/icons-a86d96c3.js.map +1 -0
  80. package/dist/cjs/image-source-516d45d9.js +4 -0
  81. package/dist/cjs/image-source-516d45d9.js.map +1 -0
  82. package/dist/cjs/index-58ac5907.js +4 -0
  83. package/dist/cjs/index-58ac5907.js.map +1 -0
  84. package/dist/cjs/index-daa20b89.js +4 -0
  85. package/dist/cjs/index-daa20b89.js.map +1 -0
  86. package/dist/cjs/index.cjs.js +1 -1
  87. package/dist/cjs/index.cjs.js.map +1 -1
  88. package/dist/cjs/isArray-e114fe6e.js +4 -0
  89. package/dist/cjs/isArray-e114fe6e.js.map +1 -0
  90. package/dist/cjs/isObject-6090b636.js +4 -0
  91. package/dist/cjs/isObject-6090b636.js.map +1 -0
  92. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  140. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  150. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  152. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  153. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  154. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  155. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  156. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  157. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  158. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  159. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  160. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  162. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  164. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -0
  165. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -0
  166. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  168. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  170. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  171. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  172. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  174. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  175. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  176. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  177. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  178. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  179. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  180. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  181. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  182. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  183. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  184. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +4 -0
  185. package/dist/cjs/kol-table-settings-wc.cjs.entry.js.map +1 -0
  186. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  187. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  188. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  189. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  190. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  191. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  192. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  193. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  194. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  195. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  196. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  197. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  198. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  199. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  200. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  201. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  202. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  203. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  204. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  205. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  206. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  207. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  208. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  209. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  210. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  211. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  212. package/dist/cjs/kolibri.cjs.js +1 -1
  213. package/dist/cjs/label-ab57738c.js +4 -0
  214. package/dist/cjs/label-ab57738c.js.map +1 -0
  215. package/dist/cjs/loader.cjs.js +1 -1
  216. package/dist/cjs/open-0551bf2a.js +4 -0
  217. package/dist/cjs/open-0551bf2a.js.map +1 -0
  218. package/dist/cjs/prop.validators-e984090f.js +4 -0
  219. package/dist/cjs/prop.validators-e984090f.js.map +1 -0
  220. package/dist/cjs/reuse-8650ea4e.js +4 -0
  221. package/dist/cjs/reuse-8650ea4e.js.map +1 -0
  222. package/dist/cjs/rows-f79b5888.js +4 -0
  223. package/dist/cjs/rows-f79b5888.js.map +1 -0
  224. package/dist/cjs/show-6fcedf06.js +4 -0
  225. package/dist/cjs/show-6fcedf06.js.map +1 -0
  226. package/dist/cjs/spell-check-804f80f3.js +4 -0
  227. package/dist/cjs/spell-check-804f80f3.js.map +1 -0
  228. package/dist/cjs/suggestions-cc7f7d12.js +4 -0
  229. package/dist/cjs/suggestions-cc7f7d12.js.map +1 -0
  230. package/dist/cjs/table-settings-002db8b1.js +4 -0
  231. package/dist/cjs/table-settings-002db8b1.js.map +1 -0
  232. package/dist/cjs/test-component.cjs.entry.js +1 -1
  233. package/dist/cjs/tooltip-align-83772c00.js +4 -0
  234. package/dist/cjs/tooltip-align-83772c00.js.map +1 -0
  235. package/dist/cjs/validation-f5ed486c.js +4 -0
  236. package/dist/cjs/validation-f5ed486c.js.map +1 -0
  237. package/dist/cjs/validation-f681c170.js +4 -0
  238. package/dist/cjs/validation-f681c170.js.map +1 -0
  239. package/dist/components/Alert.js +1 -1
  240. package/dist/components/Alert.js.map +1 -1
  241. package/dist/components/Collapsible.js +1 -1
  242. package/dist/components/Collapsible.js.map +1 -1
  243. package/dist/components/CustomSuggestionsOptionsGroup.js +4 -0
  244. package/dist/components/CustomSuggestionsOptionsGroup.js.map +1 -0
  245. package/dist/components/FieldControlStateWrapper.js +4 -0
  246. package/dist/components/FieldControlStateWrapper.js.map +1 -0
  247. package/dist/components/Heading.js +4 -0
  248. package/dist/components/Heading.js.map +1 -0
  249. package/dist/components/Icon.js +4 -0
  250. package/dist/components/Icon.js.map +1 -0
  251. package/dist/components/Input.js +4 -0
  252. package/dist/components/Input.js.map +1 -0
  253. package/dist/components/InputContainerStateWrapper.js +4 -0
  254. package/dist/components/InputContainerStateWrapper.js.map +1 -0
  255. package/dist/components/InputStateWrapper.js +4 -0
  256. package/dist/components/InputStateWrapper.js.map +1 -0
  257. package/dist/components/InternalUnderlinedBadgeText.js +1 -1
  258. package/dist/components/InternalUnderlinedBadgeText.js.map +1 -1
  259. package/dist/components/Span.js +4 -0
  260. package/dist/components/Span.js.map +1 -0
  261. package/dist/components/access-and-short-key.js +1 -1
  262. package/dist/components/align-floating-elements.js +1 -1
  263. package/dist/components/align-floating-elements.js.map +1 -1
  264. package/dist/components/associated.controller.js +1 -1
  265. package/dist/components/bem.js +4 -0
  266. package/dist/components/bem.js.map +1 -0
  267. package/dist/components/bem2.js +4 -0
  268. package/dist/components/bem2.js.map +1 -0
  269. package/dist/components/browser.js +4 -0
  270. package/dist/components/browser.js.map +1 -0
  271. package/dist/components/button-variant.js +1 -1
  272. package/dist/components/color.js +1 -1
  273. package/dist/components/component-names.js +1 -1
  274. package/dist/components/component-names.js.map +1 -1
  275. package/dist/components/controller.js +1 -1
  276. package/dist/components/controller2.js +1 -1
  277. package/dist/components/controller2.js.map +1 -1
  278. package/dist/components/controller3.js +1 -1
  279. package/dist/components/controller3.js.map +1 -1
  280. package/dist/components/controller4.js +1 -1
  281. package/dist/components/controller4.js.map +1 -1
  282. package/dist/components/custom-class.js +1 -1
  283. package/dist/components/devtools.js +1 -1
  284. package/dist/components/disabled.js +1 -1
  285. package/dist/components/events.js +1 -1
  286. package/dist/components/events.js.map +1 -1
  287. package/dist/components/getRenderStates.js +4 -0
  288. package/dist/components/getRenderStates.js.map +1 -0
  289. package/dist/components/has-closer.js +1 -1
  290. package/dist/components/has-counter.js +1 -1
  291. package/dist/components/hide-label.js +1 -1
  292. package/dist/components/href.js +1 -1
  293. package/dist/components/i18n.js +1 -1
  294. package/dist/components/i18n.js.map +1 -1
  295. package/dist/components/icons.js +1 -1
  296. package/dist/components/image-source.js +1 -1
  297. package/dist/components/index.js +1 -1
  298. package/dist/components/index.js.map +1 -1
  299. package/dist/components/isArray.js +4 -0
  300. package/dist/components/isArray.js.map +1 -0
  301. package/dist/components/isObject.js +4 -0
  302. package/dist/components/isObject.js.map +1 -0
  303. package/dist/components/kol-abbr.js +1 -1
  304. package/dist/components/kol-abbr.js.map +1 -1
  305. package/dist/components/kol-accordion.js +1 -1
  306. package/dist/components/kol-accordion.js.map +1 -1
  307. package/dist/components/kol-alert-wc.js +1 -1
  308. package/dist/components/kol-alert-wc.js.map +1 -1
  309. package/dist/components/kol-alert.js +1 -1
  310. package/dist/components/kol-alert.js.map +1 -1
  311. package/dist/components/kol-avatar-wc.js +1 -1
  312. package/dist/components/kol-avatar-wc.js.map +1 -1
  313. package/dist/components/kol-avatar.js +1 -1
  314. package/dist/components/kol-avatar.js.map +1 -1
  315. package/dist/components/kol-badge.js +1 -1
  316. package/dist/components/kol-badge.js.map +1 -1
  317. package/dist/components/kol-breadcrumb.js +1 -1
  318. package/dist/components/kol-breadcrumb.js.map +1 -1
  319. package/dist/components/kol-button-link.js +1 -1
  320. package/dist/components/kol-button-link.js.map +1 -1
  321. package/dist/components/kol-button-wc.js +1 -1
  322. package/dist/components/kol-button-wc.js.map +1 -1
  323. package/dist/components/kol-button.js +1 -1
  324. package/dist/components/kol-button.js.map +1 -1
  325. package/dist/components/kol-card.js +1 -1
  326. package/dist/components/kol-card.js.map +1 -1
  327. package/dist/components/kol-combobox.js +1 -1
  328. package/dist/components/kol-combobox.js.map +1 -1
  329. package/dist/components/kol-details.js +1 -1
  330. package/dist/components/kol-details.js.map +1 -1
  331. package/dist/components/kol-drawer.js +1 -1
  332. package/dist/components/kol-drawer.js.map +1 -1
  333. package/dist/components/kol-form.js +1 -1
  334. package/dist/components/kol-form.js.map +1 -1
  335. package/dist/components/kol-heading.js +1 -1
  336. package/dist/components/kol-heading.js.map +1 -1
  337. package/dist/components/kol-icon.js +1 -1
  338. package/dist/components/kol-icon.js.map +1 -1
  339. package/dist/components/kol-image.js +1 -1
  340. package/dist/components/kol-image.js.map +1 -1
  341. package/dist/components/kol-input-checkbox.js +1 -1
  342. package/dist/components/kol-input-checkbox.js.map +1 -1
  343. package/dist/components/kol-input-color.js +1 -1
  344. package/dist/components/kol-input-color.js.map +1 -1
  345. package/dist/components/kol-input-date.js +1 -1
  346. package/dist/components/kol-input-date.js.map +1 -1
  347. package/dist/components/kol-input-email.js +1 -1
  348. package/dist/components/kol-input-email.js.map +1 -1
  349. package/dist/components/kol-input-file.js +1 -1
  350. package/dist/components/kol-input-file.js.map +1 -1
  351. package/dist/components/kol-input-number.js +1 -1
  352. package/dist/components/kol-input-number.js.map +1 -1
  353. package/dist/components/kol-input-password.js +1 -1
  354. package/dist/components/kol-input-password.js.map +1 -1
  355. package/dist/components/kol-input-radio.js +1 -1
  356. package/dist/components/kol-input-radio.js.map +1 -1
  357. package/dist/components/kol-input-range.js +1 -1
  358. package/dist/components/kol-input-range.js.map +1 -1
  359. package/dist/components/kol-input-text.js +1 -1
  360. package/dist/components/kol-input-text.js.map +1 -1
  361. package/dist/components/kol-kolibri.js +1 -1
  362. package/dist/components/kol-kolibri.js.map +1 -1
  363. package/dist/components/kol-link-button.js +1 -1
  364. package/dist/components/kol-link-button.js.map +1 -1
  365. package/dist/components/kol-link-wc.js +1 -1
  366. package/dist/components/kol-link-wc.js.map +1 -1
  367. package/dist/components/kol-link.js +1 -1
  368. package/dist/components/kol-link.js.map +1 -1
  369. package/dist/components/kol-modal.js +1 -1
  370. package/dist/components/kol-modal.js.map +1 -1
  371. package/dist/components/kol-nav.js +1 -1
  372. package/dist/components/kol-nav.js.map +1 -1
  373. package/dist/components/kol-pagination.js +1 -1
  374. package/dist/components/kol-pagination.js.map +1 -1
  375. package/dist/components/kol-popover-button-wc.d.ts +11 -0
  376. package/dist/components/kol-popover-button-wc.js +4 -0
  377. package/dist/components/kol-popover-button-wc.js.map +1 -0
  378. package/dist/components/kol-popover-button.js +1 -1
  379. package/dist/components/kol-popover-button.js.map +1 -1
  380. package/dist/components/kol-popover-wc.js +1 -1
  381. package/dist/components/kol-popover-wc.js.map +1 -1
  382. package/dist/components/kol-progress.js +1 -1
  383. package/dist/components/kol-progress.js.map +1 -1
  384. package/dist/components/kol-quote.js +1 -1
  385. package/dist/components/kol-quote.js.map +1 -1
  386. package/dist/components/kol-select.js +1 -1
  387. package/dist/components/kol-select.js.map +1 -1
  388. package/dist/components/kol-single-select.js +1 -1
  389. package/dist/components/kol-single-select.js.map +1 -1
  390. package/dist/components/kol-skip-nav.js +1 -1
  391. package/dist/components/kol-skip-nav.js.map +1 -1
  392. package/dist/components/kol-spin.js +1 -1
  393. package/dist/components/kol-spin.js.map +1 -1
  394. package/dist/components/kol-split-button.js +1 -1
  395. package/dist/components/kol-split-button.js.map +1 -1
  396. package/dist/components/kol-table-settings-wc.d.ts +11 -0
  397. package/dist/components/kol-table-settings-wc.js +4 -0
  398. package/dist/components/kol-table-settings-wc.js.map +1 -0
  399. package/dist/components/kol-table-stateful.js +1 -1
  400. package/dist/components/kol-table-stateful.js.map +1 -1
  401. package/dist/components/kol-table-stateless-wc.js +1 -1
  402. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  403. package/dist/components/kol-table-stateless.js +1 -1
  404. package/dist/components/kol-table-stateless.js.map +1 -1
  405. package/dist/components/kol-tabs.js +1 -1
  406. package/dist/components/kol-tabs.js.map +1 -1
  407. package/dist/components/kol-textarea.js +1 -1
  408. package/dist/components/kol-textarea.js.map +1 -1
  409. package/dist/components/kol-toast-container.js +1 -1
  410. package/dist/components/kol-toast-container.js.map +1 -1
  411. package/dist/components/kol-toolbar.js +1 -1
  412. package/dist/components/kol-toolbar.js.map +1 -1
  413. package/dist/components/kol-tooltip-wc.js +1 -1
  414. package/dist/components/kol-tooltip-wc.js.map +1 -1
  415. package/dist/components/kol-tree-item-wc.js +1 -1
  416. package/dist/components/kol-tree-item-wc.js.map +1 -1
  417. package/dist/components/kol-tree-item.js +1 -1
  418. package/dist/components/kol-tree-item.js.map +1 -1
  419. package/dist/components/kol-tree-wc.js +1 -1
  420. package/dist/components/kol-tree-wc.js.map +1 -1
  421. package/dist/components/kol-tree.js +1 -1
  422. package/dist/components/kol-tree.js.map +1 -1
  423. package/dist/components/kol-version.js +1 -1
  424. package/dist/components/kol-version.js.map +1 -1
  425. package/dist/components/label.js +1 -1
  426. package/dist/components/open.js +1 -1
  427. package/dist/components/prop.validators.js +1 -1
  428. package/dist/components/prop.validators.js.map +1 -1
  429. package/dist/components/reuse.js +1 -1
  430. package/dist/components/reuse.js.map +1 -1
  431. package/dist/components/show.js +1 -1
  432. package/dist/components/spell-check.js +1 -1
  433. package/dist/components/suggestions.js +1 -1
  434. package/dist/components/table-settings.js +4 -0
  435. package/dist/components/table-settings.js.map +1 -0
  436. package/dist/components/validation2.js +1 -1
  437. package/dist/esm/Alert-6cd2f6dc.js +4 -0
  438. package/dist/esm/Alert-6cd2f6dc.js.map +1 -0
  439. package/dist/esm/Collapsible-c913fc3d.js +4 -0
  440. package/dist/esm/Collapsible-c913fc3d.js.map +1 -0
  441. package/dist/esm/CustomSuggestionsOptionsGroup-6142831a.js +4 -0
  442. package/dist/esm/CustomSuggestionsOptionsGroup-6142831a.js.map +1 -0
  443. package/dist/esm/FieldControlStateWrapper-ebd5579d.js +4 -0
  444. package/dist/esm/FieldControlStateWrapper-ebd5579d.js.map +1 -0
  445. package/dist/esm/Heading-7f4642c5.js +4 -0
  446. package/dist/esm/Heading-7f4642c5.js.map +1 -0
  447. package/dist/esm/Icon-6bed0b43.js +4 -0
  448. package/dist/esm/Icon-6bed0b43.js.map +1 -0
  449. package/dist/esm/Input-7d2ee70a.js +4 -0
  450. package/dist/esm/Input-7d2ee70a.js.map +1 -0
  451. package/dist/esm/InputStateWrapper-4a79e4a6.js +4 -0
  452. package/dist/esm/InputStateWrapper-4a79e4a6.js.map +1 -0
  453. package/dist/esm/InternalUnderlinedBadgeText-d1821325.js +4 -0
  454. package/dist/esm/InternalUnderlinedBadgeText-d1821325.js.map +1 -0
  455. package/dist/esm/Span-cb3bdb3f.js +4 -0
  456. package/dist/esm/Span-cb3bdb3f.js.map +1 -0
  457. package/dist/esm/access-and-short-key-58467f3a.js +4 -0
  458. package/dist/esm/access-and-short-key-58467f3a.js.map +1 -0
  459. package/dist/esm/align-2f553440.js +4 -0
  460. package/dist/esm/align-2f553440.js.map +1 -0
  461. package/dist/esm/align-floating-elements-7cdb6dc6.js +4 -0
  462. package/dist/esm/align-floating-elements-7cdb6dc6.js.map +1 -0
  463. package/dist/esm/app-globals-50619664.js +4 -0
  464. package/dist/esm/app-globals-50619664.js.map +1 -0
  465. package/dist/esm/associated.controller-a6273a44.js +4 -0
  466. package/dist/esm/associated.controller-a6273a44.js.map +1 -0
  467. package/dist/esm/bem-dabd96cc.js +4 -0
  468. package/dist/esm/bem-dabd96cc.js.map +1 -0
  469. package/dist/esm/bem-e4c3a2e6.js +4 -0
  470. package/dist/esm/bem-e4c3a2e6.js.map +1 -0
  471. package/dist/esm/browser-f629a56a.js +4 -0
  472. package/dist/esm/browser-f629a56a.js.map +1 -0
  473. package/dist/esm/button-variant-22db3cae.js +4 -0
  474. package/dist/esm/button-variant-22db3cae.js.map +1 -0
  475. package/dist/esm/color-e2f76a18.js +4 -0
  476. package/dist/esm/color-e2f76a18.js.map +1 -0
  477. package/dist/esm/common-54bf85ba.js +4 -0
  478. package/dist/esm/common-54bf85ba.js.map +1 -0
  479. package/dist/esm/component-names-7ee7402b.js +4 -0
  480. package/dist/esm/component-names-7ee7402b.js.map +1 -0
  481. package/dist/esm/controller-04af0502.js +4 -0
  482. package/dist/esm/controller-04af0502.js.map +1 -0
  483. package/dist/esm/controller-1a508e22.js +4 -0
  484. package/dist/esm/controller-1a508e22.js.map +1 -0
  485. package/dist/esm/controller-7964efb9.js +4 -0
  486. package/dist/esm/controller-7964efb9.js.map +1 -0
  487. package/dist/esm/controller-b150dd8f.js +4 -0
  488. package/dist/esm/controller-b150dd8f.js.map +1 -0
  489. package/dist/esm/controller-icon-0bd2a7ef.js +4 -0
  490. package/dist/esm/controller-icon-0bd2a7ef.js.map +1 -0
  491. package/dist/esm/custom-class-1ea7f6ba.js +4 -0
  492. package/dist/esm/custom-class-1ea7f6ba.js.map +1 -0
  493. package/dist/esm/dev.utils-869ad410.js +4 -0
  494. package/dist/esm/dev.utils-869ad410.js.map +1 -0
  495. package/dist/esm/devtools-a9857e56.js +4 -0
  496. package/dist/esm/devtools-a9857e56.js.map +1 -0
  497. package/dist/esm/disabled-bdfddd32.js +4 -0
  498. package/dist/esm/disabled-bdfddd32.js.map +1 -0
  499. package/dist/esm/events-5886c68b.js +4 -0
  500. package/dist/esm/events-5886c68b.js.map +1 -0
  501. package/dist/esm/getRenderStates-05837109.js +4 -0
  502. package/dist/esm/getRenderStates-05837109.js.map +1 -0
  503. package/dist/esm/has-closer-1f00aaf3.js +4 -0
  504. package/dist/esm/has-closer-1f00aaf3.js.map +1 -0
  505. package/dist/esm/has-counter-46536f3c.js +4 -0
  506. package/dist/esm/has-counter-46536f3c.js.map +1 -0
  507. package/dist/esm/hide-label-8fc169d2.js +4 -0
  508. package/dist/esm/hide-label-8fc169d2.js.map +1 -0
  509. package/dist/esm/href-50f7d11b.js +4 -0
  510. package/dist/esm/href-50f7d11b.js.map +1 -0
  511. package/dist/esm/i18n-45224cc3.js +4 -0
  512. package/dist/esm/i18n-45224cc3.js.map +1 -0
  513. package/dist/esm/i18n-efbafc80.js +4 -0
  514. package/dist/esm/i18n-efbafc80.js.map +1 -0
  515. package/dist/esm/icons-d9615c78.js +4 -0
  516. package/dist/esm/icons-d9615c78.js.map +1 -0
  517. package/dist/esm/image-source-dc18dccc.js +4 -0
  518. package/dist/esm/image-source-dc18dccc.js.map +1 -0
  519. package/dist/esm/index-058cc56d.js +4 -0
  520. package/dist/esm/index-058cc56d.js.map +1 -0
  521. package/dist/esm/index-0a773c52.js +4 -0
  522. package/dist/esm/index-0a773c52.js.map +1 -0
  523. package/dist/esm/index.js +1 -1
  524. package/dist/esm/index.js.map +1 -1
  525. package/dist/esm/isArray-7a60fa7f.js +4 -0
  526. package/dist/esm/isArray-7a60fa7f.js.map +1 -0
  527. package/dist/esm/isObject-ffcbbb76.js +4 -0
  528. package/dist/esm/isObject-ffcbbb76.js.map +1 -0
  529. package/dist/esm/kol-abbr.entry.js +1 -1
  530. package/dist/esm/kol-abbr.entry.js.map +1 -1
  531. package/dist/esm/kol-accordion.entry.js +1 -1
  532. package/dist/esm/kol-accordion.entry.js.map +1 -1
  533. package/dist/esm/kol-alert-wc.entry.js +1 -1
  534. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  535. package/dist/esm/kol-alert.entry.js +1 -1
  536. package/dist/esm/kol-alert.entry.js.map +1 -1
  537. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  538. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  539. package/dist/esm/kol-avatar.entry.js +1 -1
  540. package/dist/esm/kol-avatar.entry.js.map +1 -1
  541. package/dist/esm/kol-badge.entry.js +1 -1
  542. package/dist/esm/kol-badge.entry.js.map +1 -1
  543. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  544. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  545. package/dist/esm/kol-button-link.entry.js +1 -1
  546. package/dist/esm/kol-button-link.entry.js.map +1 -1
  547. package/dist/esm/kol-button-wc.entry.js +1 -1
  548. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  549. package/dist/esm/kol-button.entry.js +1 -1
  550. package/dist/esm/kol-button.entry.js.map +1 -1
  551. package/dist/esm/kol-card.entry.js +1 -1
  552. package/dist/esm/kol-card.entry.js.map +1 -1
  553. package/dist/esm/kol-combobox.entry.js +1 -1
  554. package/dist/esm/kol-combobox.entry.js.map +1 -1
  555. package/dist/esm/kol-details.entry.js +1 -1
  556. package/dist/esm/kol-details.entry.js.map +1 -1
  557. package/dist/esm/kol-drawer.entry.js +1 -1
  558. package/dist/esm/kol-drawer.entry.js.map +1 -1
  559. package/dist/esm/kol-form.entry.js +1 -1
  560. package/dist/esm/kol-form.entry.js.map +1 -1
  561. package/dist/esm/kol-heading.entry.js +1 -1
  562. package/dist/esm/kol-heading.entry.js.map +1 -1
  563. package/dist/esm/kol-icon.entry.js +1 -1
  564. package/dist/esm/kol-icon.entry.js.map +1 -1
  565. package/dist/esm/kol-image.entry.js +1 -1
  566. package/dist/esm/kol-image.entry.js.map +1 -1
  567. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  568. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  569. package/dist/esm/kol-input-color.entry.js +1 -1
  570. package/dist/esm/kol-input-color.entry.js.map +1 -1
  571. package/dist/esm/kol-input-date.entry.js +1 -1
  572. package/dist/esm/kol-input-date.entry.js.map +1 -1
  573. package/dist/esm/kol-input-email.entry.js +1 -1
  574. package/dist/esm/kol-input-email.entry.js.map +1 -1
  575. package/dist/esm/kol-input-file.entry.js +1 -1
  576. package/dist/esm/kol-input-file.entry.js.map +1 -1
  577. package/dist/esm/kol-input-number.entry.js +1 -1
  578. package/dist/esm/kol-input-number.entry.js.map +1 -1
  579. package/dist/esm/kol-input-password.entry.js +1 -1
  580. package/dist/esm/kol-input-password.entry.js.map +1 -1
  581. package/dist/esm/kol-input-radio.entry.js +1 -1
  582. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  583. package/dist/esm/kol-input-range.entry.js +1 -1
  584. package/dist/esm/kol-input-range.entry.js.map +1 -1
  585. package/dist/esm/kol-input-text.entry.js +1 -1
  586. package/dist/esm/kol-input-text.entry.js.map +1 -1
  587. package/dist/esm/kol-kolibri.entry.js +1 -1
  588. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  589. package/dist/esm/kol-link-button.entry.js +1 -1
  590. package/dist/esm/kol-link-button.entry.js.map +1 -1
  591. package/dist/esm/kol-link-wc.entry.js +1 -1
  592. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  593. package/dist/esm/kol-link.entry.js +1 -1
  594. package/dist/esm/kol-link.entry.js.map +1 -1
  595. package/dist/esm/kol-modal.entry.js +1 -1
  596. package/dist/esm/kol-modal.entry.js.map +1 -1
  597. package/dist/esm/kol-nav.entry.js +1 -1
  598. package/dist/esm/kol-nav.entry.js.map +1 -1
  599. package/dist/esm/kol-pagination.entry.js +1 -1
  600. package/dist/esm/kol-pagination.entry.js.map +1 -1
  601. package/dist/esm/kol-popover-button-wc.entry.js +4 -0
  602. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -0
  603. package/dist/esm/kol-popover-button.entry.js +1 -1
  604. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  605. package/dist/esm/kol-popover-wc.entry.js +1 -1
  606. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  607. package/dist/esm/kol-progress.entry.js +1 -1
  608. package/dist/esm/kol-progress.entry.js.map +1 -1
  609. package/dist/esm/kol-quote.entry.js +1 -1
  610. package/dist/esm/kol-quote.entry.js.map +1 -1
  611. package/dist/esm/kol-select.entry.js +1 -1
  612. package/dist/esm/kol-select.entry.js.map +1 -1
  613. package/dist/esm/kol-single-select.entry.js +1 -1
  614. package/dist/esm/kol-single-select.entry.js.map +1 -1
  615. package/dist/esm/kol-skip-nav.entry.js +1 -1
  616. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  617. package/dist/esm/kol-spin.entry.js +1 -1
  618. package/dist/esm/kol-spin.entry.js.map +1 -1
  619. package/dist/esm/kol-split-button.entry.js +1 -1
  620. package/dist/esm/kol-split-button.entry.js.map +1 -1
  621. package/dist/esm/kol-table-settings-wc.entry.js +4 -0
  622. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -0
  623. package/dist/esm/kol-table-stateful.entry.js +1 -1
  624. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  625. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  626. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  627. package/dist/esm/kol-table-stateless.entry.js +1 -1
  628. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  629. package/dist/esm/kol-tabs.entry.js +1 -1
  630. package/dist/esm/kol-tabs.entry.js.map +1 -1
  631. package/dist/esm/kol-textarea.entry.js +1 -1
  632. package/dist/esm/kol-textarea.entry.js.map +1 -1
  633. package/dist/esm/kol-toast-container.entry.js +1 -1
  634. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  635. package/dist/esm/kol-toolbar.entry.js +1 -1
  636. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  637. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  638. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  639. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  640. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  641. package/dist/esm/kol-tree-item.entry.js +1 -1
  642. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  643. package/dist/esm/kol-tree-wc.entry.js +1 -1
  644. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  645. package/dist/esm/kol-tree.entry.js +1 -1
  646. package/dist/esm/kol-tree.entry.js.map +1 -1
  647. package/dist/esm/kol-version.entry.js +1 -1
  648. package/dist/esm/kol-version.entry.js.map +1 -1
  649. package/dist/esm/kolibri.js +1 -1
  650. package/dist/esm/label-0219bcdb.js +4 -0
  651. package/dist/esm/label-0219bcdb.js.map +1 -0
  652. package/dist/esm/loader.js +1 -1
  653. package/dist/esm/open-d5b42a38.js +4 -0
  654. package/dist/esm/open-d5b42a38.js.map +1 -0
  655. package/dist/esm/prop.validators-de1491c5.js +4 -0
  656. package/dist/esm/prop.validators-de1491c5.js.map +1 -0
  657. package/dist/esm/reuse-f46e7e35.js +4 -0
  658. package/dist/esm/reuse-f46e7e35.js.map +1 -0
  659. package/dist/esm/rows-4dc53b94.js +4 -0
  660. package/dist/esm/rows-4dc53b94.js.map +1 -0
  661. package/dist/esm/show-46145480.js +4 -0
  662. package/dist/esm/show-46145480.js.map +1 -0
  663. package/dist/esm/spell-check-d3f3ed29.js +4 -0
  664. package/dist/esm/spell-check-d3f3ed29.js.map +1 -0
  665. package/dist/esm/suggestions-dc373440.js +4 -0
  666. package/dist/esm/suggestions-dc373440.js.map +1 -0
  667. package/dist/esm/table-settings-9d7f54fa.js +4 -0
  668. package/dist/esm/table-settings-9d7f54fa.js.map +1 -0
  669. package/dist/esm/test-component.entry.js +1 -1
  670. package/dist/esm/tooltip-align-f41ae17f.js +4 -0
  671. package/dist/esm/tooltip-align-f41ae17f.js.map +1 -0
  672. package/dist/esm/validation-1473d7f0.js +4 -0
  673. package/dist/esm/validation-1473d7f0.js.map +1 -0
  674. package/dist/esm/validation-70143d97.js +4 -0
  675. package/dist/esm/validation-70143d97.js.map +1 -0
  676. package/dist/kolibri/Alert-6cd2f6dc.js +4 -0
  677. package/dist/kolibri/Alert-6cd2f6dc.js.map +1 -0
  678. package/dist/kolibri/Collapsible-c913fc3d.js +4 -0
  679. package/dist/kolibri/Collapsible-c913fc3d.js.map +1 -0
  680. package/dist/kolibri/CustomSuggestionsOptionsGroup-6142831a.js +4 -0
  681. package/dist/kolibri/CustomSuggestionsOptionsGroup-6142831a.js.map +1 -0
  682. package/dist/kolibri/FieldControlStateWrapper-ebd5579d.js +4 -0
  683. package/dist/kolibri/FieldControlStateWrapper-ebd5579d.js.map +1 -0
  684. package/dist/kolibri/Heading-7f4642c5.js +4 -0
  685. package/dist/kolibri/Heading-7f4642c5.js.map +1 -0
  686. package/dist/kolibri/Icon-6bed0b43.js +4 -0
  687. package/dist/kolibri/Icon-6bed0b43.js.map +1 -0
  688. package/dist/kolibri/Input-7d2ee70a.js +4 -0
  689. package/dist/kolibri/Input-7d2ee70a.js.map +1 -0
  690. package/dist/kolibri/InputStateWrapper-4a79e4a6.js +4 -0
  691. package/dist/kolibri/InputStateWrapper-4a79e4a6.js.map +1 -0
  692. package/dist/kolibri/InternalUnderlinedBadgeText-d1821325.js +4 -0
  693. package/dist/kolibri/InternalUnderlinedBadgeText-d1821325.js.map +1 -0
  694. package/dist/kolibri/Span-cb3bdb3f.js +4 -0
  695. package/dist/kolibri/Span-cb3bdb3f.js.map +1 -0
  696. package/dist/kolibri/access-and-short-key-58467f3a.js +4 -0
  697. package/dist/kolibri/align-2f553440.js +4 -0
  698. package/dist/kolibri/align-floating-elements-7cdb6dc6.js +4 -0
  699. package/dist/kolibri/align-floating-elements-7cdb6dc6.js.map +1 -0
  700. package/dist/kolibri/app-globals-50619664.js +4 -0
  701. package/dist/kolibri/app-globals-50619664.js.map +1 -0
  702. package/dist/kolibri/associated.controller-a6273a44.js +4 -0
  703. package/dist/kolibri/bem-dabd96cc.js +4 -0
  704. package/dist/kolibri/bem-dabd96cc.js.map +1 -0
  705. package/dist/kolibri/bem-e4c3a2e6.js +4 -0
  706. package/dist/kolibri/bem-e4c3a2e6.js.map +1 -0
  707. package/dist/kolibri/browser-f629a56a.js +4 -0
  708. package/dist/kolibri/browser-f629a56a.js.map +1 -0
  709. package/dist/kolibri/button-variant-22db3cae.js +4 -0
  710. package/dist/kolibri/color-e2f76a18.js +4 -0
  711. package/dist/kolibri/common-54bf85ba.js +4 -0
  712. package/dist/kolibri/component-names-7ee7402b.js +4 -0
  713. package/dist/kolibri/component-names-7ee7402b.js.map +1 -0
  714. package/dist/kolibri/controller-04af0502.js +4 -0
  715. package/dist/kolibri/controller-1a508e22.js +4 -0
  716. package/dist/kolibri/controller-7964efb9.js +4 -0
  717. package/dist/kolibri/controller-7964efb9.js.map +1 -0
  718. package/dist/kolibri/controller-b150dd8f.js +4 -0
  719. package/dist/kolibri/controller-icon-0bd2a7ef.js +4 -0
  720. package/dist/kolibri/controller-icon-0bd2a7ef.js.map +1 -0
  721. package/dist/kolibri/custom-class-1ea7f6ba.js +4 -0
  722. package/dist/kolibri/dev.utils-869ad410.js +4 -0
  723. package/dist/kolibri/devtools-a9857e56.js +4 -0
  724. package/dist/kolibri/disabled-bdfddd32.js +4 -0
  725. package/dist/kolibri/events-5886c68b.js +4 -0
  726. package/dist/kolibri/events-5886c68b.js.map +1 -0
  727. package/dist/kolibri/getRenderStates-05837109.js +4 -0
  728. package/dist/kolibri/getRenderStates-05837109.js.map +1 -0
  729. package/dist/kolibri/has-closer-1f00aaf3.js +4 -0
  730. package/dist/kolibri/has-counter-46536f3c.js +4 -0
  731. package/dist/kolibri/hide-label-8fc169d2.js +4 -0
  732. package/dist/kolibri/href-50f7d11b.js +4 -0
  733. package/dist/kolibri/i18n-45224cc3.js +4 -0
  734. package/dist/kolibri/i18n-45224cc3.js.map +1 -0
  735. package/dist/kolibri/i18n-efbafc80.js +4 -0
  736. package/dist/kolibri/icons-d9615c78.js +4 -0
  737. package/dist/kolibri/image-source-dc18dccc.js +4 -0
  738. package/dist/kolibri/index-058cc56d.js +5 -0
  739. package/dist/kolibri/index-058cc56d.js.map +1 -0
  740. package/dist/kolibri/index-0a773c52.js +4 -0
  741. package/dist/kolibri/index-0a773c52.js.map +1 -0
  742. package/dist/kolibri/index.esm.js +1 -1
  743. package/dist/kolibri/index.esm.js.map +1 -1
  744. package/dist/kolibri/isArray-7a60fa7f.js +4 -0
  745. package/dist/kolibri/isArray-7a60fa7f.js.map +1 -0
  746. package/dist/kolibri/isObject-ffcbbb76.js +4 -0
  747. package/dist/kolibri/isObject-ffcbbb76.js.map +1 -0
  748. package/dist/kolibri/kol-abbr.entry.js +1 -1
  749. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  750. package/dist/kolibri/kol-accordion.entry.js +1 -1
  751. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  752. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  753. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  754. package/dist/kolibri/kol-alert.entry.js +1 -1
  755. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  756. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  757. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  758. package/dist/kolibri/kol-avatar.entry.js +1 -1
  759. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  760. package/dist/kolibri/kol-badge.entry.js +1 -1
  761. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  762. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  763. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  764. package/dist/kolibri/kol-button-link.entry.js +1 -1
  765. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  766. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  767. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  768. package/dist/kolibri/kol-button.entry.js +1 -1
  769. package/dist/kolibri/kol-button.entry.js.map +1 -1
  770. package/dist/kolibri/kol-card.entry.js +1 -1
  771. package/dist/kolibri/kol-card.entry.js.map +1 -1
  772. package/dist/kolibri/kol-combobox.entry.js +1 -1
  773. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  774. package/dist/kolibri/kol-details.entry.js +1 -1
  775. package/dist/kolibri/kol-details.entry.js.map +1 -1
  776. package/dist/kolibri/kol-drawer.entry.js +1 -1
  777. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  778. package/dist/kolibri/kol-form.entry.js +1 -1
  779. package/dist/kolibri/kol-form.entry.js.map +1 -1
  780. package/dist/kolibri/kol-heading.entry.js +1 -1
  781. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  782. package/dist/kolibri/kol-icon.entry.js +1 -1
  783. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  784. package/dist/kolibri/kol-image.entry.js +1 -1
  785. package/dist/kolibri/kol-image.entry.js.map +1 -1
  786. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  787. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  788. package/dist/kolibri/kol-input-color.entry.js +1 -1
  789. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  790. package/dist/kolibri/kol-input-date.entry.js +1 -1
  791. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  792. package/dist/kolibri/kol-input-email.entry.js +1 -1
  793. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  794. package/dist/kolibri/kol-input-file.entry.js +1 -1
  795. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  796. package/dist/kolibri/kol-input-number.entry.js +1 -1
  797. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  798. package/dist/kolibri/kol-input-password.entry.js +1 -1
  799. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  800. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  801. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  802. package/dist/kolibri/kol-input-range.entry.js +1 -1
  803. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  804. package/dist/kolibri/kol-input-text.entry.js +1 -1
  805. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  806. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  807. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  808. package/dist/kolibri/kol-link-button.entry.js +1 -1
  809. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  810. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  811. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  812. package/dist/kolibri/kol-link.entry.js +1 -1
  813. package/dist/kolibri/kol-link.entry.js.map +1 -1
  814. package/dist/kolibri/kol-modal.entry.js +1 -1
  815. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  816. package/dist/kolibri/kol-nav.entry.js +1 -1
  817. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  818. package/dist/kolibri/kol-pagination.entry.js +1 -1
  819. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  820. package/dist/kolibri/kol-popover-button-wc.entry.js +4 -0
  821. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -0
  822. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  823. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  824. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  825. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  826. package/dist/kolibri/kol-progress.entry.js +1 -1
  827. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  828. package/dist/kolibri/kol-quote.entry.js +1 -1
  829. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  830. package/dist/kolibri/kol-select.entry.js +1 -1
  831. package/dist/kolibri/kol-select.entry.js.map +1 -1
  832. package/dist/kolibri/kol-single-select.entry.js +1 -1
  833. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  834. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  835. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  836. package/dist/kolibri/kol-spin.entry.js +1 -1
  837. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  838. package/dist/kolibri/kol-split-button.entry.js +1 -1
  839. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  840. package/dist/kolibri/kol-table-settings-wc.entry.js +4 -0
  841. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -0
  842. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  843. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  844. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  845. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  846. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  847. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  848. package/dist/kolibri/kol-tabs.entry.js +1 -1
  849. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  850. package/dist/kolibri/kol-textarea.entry.js +1 -1
  851. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  852. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  853. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  854. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  855. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  856. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  857. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  858. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  859. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  860. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  861. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  862. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  863. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  864. package/dist/kolibri/kol-tree.entry.js +1 -1
  865. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  866. package/dist/kolibri/kol-version.entry.js +1 -1
  867. package/dist/kolibri/kol-version.entry.js.map +1 -1
  868. package/dist/kolibri/kolibri.esm.js +1 -1
  869. package/dist/kolibri/kolibri.esm.js.map +1 -1
  870. package/dist/kolibri/label-0219bcdb.js +4 -0
  871. package/dist/kolibri/open-d5b42a38.js +4 -0
  872. package/dist/kolibri/prop.validators-de1491c5.js +4 -0
  873. package/dist/kolibri/reuse-f46e7e35.js +4 -0
  874. package/dist/kolibri/reuse-f46e7e35.js.map +1 -0
  875. package/dist/kolibri/rows-4dc53b94.js +4 -0
  876. package/dist/kolibri/show-46145480.js +4 -0
  877. package/dist/kolibri/spell-check-d3f3ed29.js +4 -0
  878. package/dist/kolibri/suggestions-dc373440.js +4 -0
  879. package/dist/kolibri/table-settings-9d7f54fa.js +4 -0
  880. package/dist/kolibri/table-settings-9d7f54fa.js.map +1 -0
  881. package/dist/kolibri/test-component.entry.js +1 -1
  882. package/dist/kolibri/tooltip-align-f41ae17f.js +4 -0
  883. package/dist/kolibri/validation-1473d7f0.js +4 -0
  884. package/dist/kolibri/validation-70143d97.js +4 -0
  885. package/dist/types/components/@deprecated/input/controller.d.ts +3 -3
  886. package/dist/types/components/@deprecated/input/types-icon.d.ts +1 -1
  887. package/dist/types/components/@deprecated/input/types.d.ts +1 -2
  888. package/dist/types/components/abbr/shadow.d.ts +2 -5
  889. package/dist/types/components/accordion/shadow.d.ts +1 -1
  890. package/dist/types/components/alert/component.d.ts +1 -0
  891. package/dist/types/components/badge/shadow.d.ts +1 -0
  892. package/dist/types/components/button/component.d.ts +3 -0
  893. package/dist/types/components/button/shadow.d.ts +0 -2
  894. package/dist/types/components/button-link/shadow.d.ts +0 -2
  895. package/dist/types/components/card/shadow.d.ts +2 -1
  896. package/dist/types/components/combobox/shadow.d.ts +6 -8
  897. package/dist/types/components/component-list.d.ts +16 -2
  898. package/dist/types/components/details/shadow.d.ts +1 -2
  899. package/dist/types/components/drawer/shadow.d.ts +5 -5
  900. package/dist/types/components/form/shadow.d.ts +1 -0
  901. package/dist/types/components/heading/shadow.d.ts +9 -3
  902. package/dist/types/components/icon/bem.d.ts +16 -0
  903. package/dist/types/components/input/controller.d.ts +1 -1
  904. package/dist/types/components/input/types.d.ts +2 -2
  905. package/dist/types/components/input-adapter-leanup/controller.d.ts +0 -1
  906. package/dist/types/components/input-adapter-leanup/types.d.ts +0 -1
  907. package/dist/types/components/input-checkbox/shadow.d.ts +7 -11
  908. package/dist/types/components/input-color/shadow.d.ts +16 -11
  909. package/dist/types/components/input-date/shadow.d.ts +7 -10
  910. package/dist/types/components/input-email/shadow.d.ts +5 -10
  911. package/dist/types/components/input-file/controller.d.ts +0 -1
  912. package/dist/types/components/input-file/shadow.d.ts +11 -12
  913. package/dist/types/components/input-number/shadow.d.ts +12 -16
  914. package/dist/types/components/input-password/shadow.d.ts +6 -10
  915. package/dist/types/components/input-radio/shadow.d.ts +7 -11
  916. package/dist/types/components/input-range/shadow.d.ts +8 -10
  917. package/dist/types/components/input-text/shadow.d.ts +7 -10
  918. package/dist/types/components/link/component.d.ts +4 -3
  919. package/dist/types/components/link/shadow.d.ts +0 -2
  920. package/dist/types/components/link-button/shadow.d.ts +0 -2
  921. package/dist/types/components/modal/shadow.d.ts +5 -3
  922. package/dist/types/components/pagination/shadow.d.ts +1 -0
  923. package/dist/types/components/popover-button/component.d.ts +40 -0
  924. package/dist/types/components/popover-button/shadow.d.ts +3 -13
  925. package/dist/types/components/select/shadow.d.ts +5 -9
  926. package/dist/types/components/single-select/shadow.d.ts +7 -8
  927. package/dist/types/components/split-button/shadow.d.ts +0 -1
  928. package/dist/types/components/table-stateful/shadow.d.ts +6 -6
  929. package/dist/types/components/table-stateless/component.d.ts +20 -3
  930. package/dist/types/components/table-stateless/shadow.d.ts +5 -2
  931. package/dist/types/components/table-stateless/table-settings.d.ts +18 -0
  932. package/dist/types/components/textarea/shadow.d.ts +5 -10
  933. package/dist/types/components.d.ts +401 -1275
  934. package/dist/types/core/component-names.d.ts +3 -11
  935. package/dist/types/functional-component-wrappers/CheckboxStateWrapper/CheckboxStateWrapper.d.ts +10 -0
  936. package/dist/types/functional-component-wrappers/CheckboxStateWrapper/index.d.ts +1 -0
  937. package/dist/types/functional-component-wrappers/FieldControlStateWrapper/FieldControlStateWrapper.d.ts +9 -0
  938. package/dist/types/functional-component-wrappers/FieldControlStateWrapper/index.d.ts +1 -0
  939. package/dist/types/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.d.ts +9 -0
  940. package/dist/types/functional-component-wrappers/FormFieldStateWrapper/index.d.ts +1 -0
  941. package/dist/types/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.d.ts +9 -0
  942. package/dist/types/functional-component-wrappers/InputContainerStateWrapper/index.d.ts +1 -0
  943. package/dist/types/functional-component-wrappers/InputStateWrapper/InputStateWrapper.d.ts +10 -0
  944. package/dist/types/functional-component-wrappers/InputStateWrapper/index.d.ts +1 -0
  945. package/dist/types/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.d.ts +8 -0
  946. package/dist/types/functional-component-wrappers/SelectStateWrapper/index.d.ts +1 -0
  947. package/dist/types/functional-component-wrappers/TextAreaStateWrapper/TextAreaStateWrapper.d.ts +8 -0
  948. package/dist/types/functional-component-wrappers/TextAreaStateWrapper/index.d.ts +1 -0
  949. package/dist/types/functional-component-wrappers/_helpers/getRenderStates.d.ts +11 -0
  950. package/dist/types/functional-components/Alert/Alert.d.ts +2 -2
  951. package/dist/types/functional-components/Alert/bem.d.ts +29 -0
  952. package/dist/types/functional-components/Button/Button.d.ts +9 -0
  953. package/dist/types/functional-components/Button/index.d.ts +1 -0
  954. package/dist/types/functional-components/Button/tests/snapshot.test.d.ts +1 -0
  955. package/dist/types/functional-components/Collapsible/Collapsible.d.ts +1 -1
  956. package/dist/types/functional-components/CustomSuggestionsOption/CustomSuggestionsOption.d.ts +11 -0
  957. package/dist/types/functional-components/CustomSuggestionsOption/index.d.ts +1 -0
  958. package/dist/types/functional-components/CustomSuggestionsOption/test/snapshot.test.d.ts +1 -0
  959. package/dist/types/functional-components/CustomSuggestionsOptionsGroup/CustomSuggestionsOptionsGroup.d.ts +7 -0
  960. package/dist/types/functional-components/CustomSuggestionsOptionsGroup/index.d.ts +1 -0
  961. package/dist/types/functional-components/CustomSuggestionsOptionsGroup/test/snapshot.test.d.ts +1 -0
  962. package/dist/types/functional-components/CustomSuggestionsToggle/CustomSuggestionsToggle.d.ts +7 -0
  963. package/dist/types/functional-components/CustomSuggestionsToggle/index.d.ts +1 -0
  964. package/dist/types/functional-components/CustomSuggestionsToggle/test/snapshot.test.d.ts +1 -0
  965. package/dist/types/functional-components/FieldControl/FieldControl.d.ts +31 -0
  966. package/dist/types/functional-components/FieldControl/index.d.ts +1 -0
  967. package/dist/types/functional-components/FormField/FormField.d.ts +41 -0
  968. package/dist/types/functional-components/FormField/index.d.ts +1 -0
  969. package/dist/types/functional-components/FormField/tests/snapshot.test.d.ts +1 -0
  970. package/dist/types/functional-components/FormFieldCounter/FormFieldCounter.d.ts +8 -0
  971. package/dist/types/functional-components/FormFieldCounter/index.d.ts +1 -0
  972. package/dist/types/functional-components/FormFieldCounter/tests/snapshot.test.d.ts +1 -0
  973. package/dist/types/functional-components/FormFieldHint/FormFieldHint.d.ts +8 -0
  974. package/dist/types/functional-components/FormFieldHint/index.d.ts +1 -0
  975. package/dist/types/functional-components/FormFieldHint/tests/snapshot.test.d.ts +1 -0
  976. package/dist/types/functional-components/FormFieldLabel/FormFieldLabel.d.ts +18 -0
  977. package/dist/types/functional-components/FormFieldLabel/index.d.ts +1 -0
  978. package/dist/types/functional-components/FormFieldLabel/tests/snapshot.test.d.ts +1 -0
  979. package/dist/types/functional-components/FormFieldMsg/FormFieldMsg.d.ts +7 -6
  980. package/dist/types/functional-components/FormFieldMsg/tests/snapshort.test.d.ts +1 -0
  981. package/dist/types/functional-components/FormFieldTooltip/FormFieldTooltip.d.ts +12 -0
  982. package/dist/types/functional-components/FormFieldTooltip/index.d.ts +1 -0
  983. package/dist/types/functional-components/FormFieldTooltip/tests/snapshort.test.d.ts +1 -0
  984. package/dist/types/functional-components/Heading/Heading.d.ts +21 -0
  985. package/dist/types/functional-components/Heading/index.d.ts +1 -0
  986. package/dist/types/functional-components/Heading/test/Heading.test.d.ts +1 -0
  987. package/dist/types/functional-components/Heading/test/snapshot.test.d.ts +1 -0
  988. package/dist/types/functional-components/Icon/Icon.d.ts +11 -0
  989. package/dist/types/functional-components/Icon/index.d.ts +1 -0
  990. package/dist/types/functional-components/Icon/tests/snapshot.test.d.ts +1 -0
  991. package/dist/types/functional-components/IconButton/IconButton.d.ts +19 -0
  992. package/dist/types/functional-components/IconButton/index.d.ts +1 -0
  993. package/dist/types/functional-components/IconButton/tests/snapshot.test.d.ts +1 -0
  994. package/dist/types/functional-components/InputAdornment/InputAdornment.d.ts +7 -0
  995. package/dist/types/functional-components/InputAdornment/index.d.ts +1 -0
  996. package/dist/types/functional-components/InputAdornment/tests/snapshot.test.d.ts +1 -0
  997. package/dist/types/functional-components/InputContainer/InputContainer.d.ts +16 -0
  998. package/dist/types/functional-components/InputContainer/index.d.ts +1 -0
  999. package/dist/types/functional-components/InputContainer/tests/snapshot.test.d.ts +1 -0
  1000. package/dist/types/functional-components/InternalUnderlinedBadgeText/InternalUnderlinedBadgeText.d.ts +8 -0
  1001. package/dist/types/functional-components/InternalUnderlinedBadgeText/index.d.ts +1 -0
  1002. package/dist/types/functional-components/Span/IconHelper.d.ts +6 -0
  1003. package/dist/types/functional-components/Span/LabelHelper.d.ts +9 -0
  1004. package/dist/types/functional-components/Span/Span.d.ts +12 -0
  1005. package/dist/types/functional-components/Span/SpanCoreHelper.d.ts +9 -0
  1006. package/dist/types/functional-components/Span/index.d.ts +1 -0
  1007. package/dist/types/functional-components/Span/test/snapshot.test.d.ts +1 -0
  1008. package/dist/types/functional-components/Suggestions/Suggestions.d.ts +9 -0
  1009. package/dist/types/functional-components/Suggestions/index.d.ts +1 -0
  1010. package/dist/types/functional-components/Suggestions/tests/snapshot.test.d.ts +1 -0
  1011. package/dist/types/functional-components/ToastItem/ToastItem.d.ts +10 -0
  1012. package/dist/types/functional-components/ToastItem/index.d.ts +1 -0
  1013. package/dist/types/functional-components/ToastItem/tests/snapshot.test.d.ts +1 -0
  1014. package/dist/types/functional-components/index.d.ts +1 -1
  1015. package/dist/types/functional-components/inputs/Checkbox/Checkbox.d.ts +10 -0
  1016. package/dist/types/functional-components/inputs/Checkbox/index.d.ts +1 -0
  1017. package/dist/types/functional-components/inputs/Combobox/Combobox.d.ts +10 -0
  1018. package/dist/types/functional-components/inputs/Input/Input.d.ts +16 -0
  1019. package/dist/types/functional-components/inputs/Input/index.d.ts +1 -0
  1020. package/dist/types/functional-components/inputs/Input/tests/snapshot.test.d.ts +1 -0
  1021. package/dist/types/functional-components/inputs/NativeOption/NativeOption.d.ts +12 -0
  1022. package/dist/types/functional-components/inputs/NativeOption/index.d.ts +1 -0
  1023. package/dist/types/functional-components/inputs/NativeOption/tests/snapshot.test.d.ts +1 -0
  1024. package/dist/types/functional-components/inputs/NativeOptionList/NativeOptionList.d.ts +14 -0
  1025. package/dist/types/functional-components/inputs/NativeOptionList/index.d.ts +1 -0
  1026. package/dist/types/functional-components/inputs/NativeOptionList/tests/snapshot.test.d.ts +1 -0
  1027. package/dist/types/functional-components/inputs/NativeSelect/NativeSelect.d.ts +12 -0
  1028. package/dist/types/functional-components/inputs/NativeSelect/index.d.ts +1 -0
  1029. package/dist/types/functional-components/inputs/NativeSelect/tests/snapshot.test.d.ts +1 -0
  1030. package/dist/types/functional-components/inputs/TextArea/TextArea.d.ts +11 -0
  1031. package/dist/types/functional-components/inputs/TextArea/index.d.ts +1 -0
  1032. package/dist/types/functional-components/inputs/TextArea/tests/snapshot.test.d.ts +1 -0
  1033. package/dist/types/functional-components/inputs/_helpers/getDefaultProps.d.ts +11 -0
  1034. package/dist/types/functional-components/inputs/_helpers/getDefaultProps.test.d.ts +1 -0
  1035. package/dist/types/functional-components/inputs/_types/index.d.ts +6 -0
  1036. package/dist/types/index.d.ts +3 -0
  1037. package/dist/types/locales/de.d.ts +10 -0
  1038. package/dist/types/locales/en.d.ts +10 -0
  1039. package/dist/types/schema/components/abbr.d.ts +3 -3
  1040. package/dist/types/schema/components/badge.d.ts +5 -3
  1041. package/dist/types/schema/components/button.d.ts +1 -0
  1042. package/dist/types/schema/components/combobox.d.ts +3 -6
  1043. package/dist/types/schema/components/form.d.ts +3 -3
  1044. package/dist/types/schema/components/icon.d.ts +1 -0
  1045. package/dist/types/schema/components/index.d.ts +1 -1
  1046. package/dist/types/schema/components/input-checkbox.d.ts +3 -8
  1047. package/dist/types/schema/components/input-color.d.ts +3 -8
  1048. package/dist/types/schema/components/input-date.d.ts +3 -6
  1049. package/dist/types/schema/components/input-email.d.ts +3 -8
  1050. package/dist/types/schema/components/input-file.d.ts +3 -10
  1051. package/dist/types/schema/components/input-number.d.ts +4 -7
  1052. package/dist/types/schema/components/input-password.d.ts +3 -8
  1053. package/dist/types/schema/components/input-radio.d.ts +3 -8
  1054. package/dist/types/schema/components/input-range.d.ts +3 -8
  1055. package/dist/types/schema/components/input-text.d.ts +3 -8
  1056. package/dist/types/schema/components/input.d.ts +2 -3
  1057. package/dist/types/schema/components/link-button.d.ts +2 -2
  1058. package/dist/types/schema/components/link.d.ts +1 -6
  1059. package/dist/types/schema/components/modal.d.ts +3 -4
  1060. package/dist/types/schema/components/pagination.d.ts +2 -2
  1061. package/dist/types/schema/components/select.d.ts +3 -7
  1062. package/dist/types/schema/components/single-select.d.ts +4 -8
  1063. package/dist/types/schema/components/table.d.ts +10 -18
  1064. package/dist/types/schema/components/tableStateless.d.ts +7 -9
  1065. package/dist/types/schema/components/tabs.d.ts +3 -3
  1066. package/dist/types/schema/components/textarea.d.ts +4 -10
  1067. package/dist/types/schema/components/toaster.d.ts +0 -2
  1068. package/dist/types/schema/enums/index.d.ts +1 -1
  1069. package/dist/types/schema/index.d.ts +1 -1
  1070. package/dist/types/schema/interfaces/EventDetail.d.ts +4 -0
  1071. package/dist/types/schema/props/accordion-callbacks.d.ts +2 -2
  1072. package/dist/types/schema/props/alert.d.ts +0 -2
  1073. package/dist/types/schema/props/aria-has-popup.d.ts +3 -0
  1074. package/dist/types/schema/props/button-callbacks.d.ts +3 -3
  1075. package/dist/types/schema/props/details-callbacks.d.ts +2 -2
  1076. package/dist/types/schema/props/hide-msg.d.ts +7 -0
  1077. package/dist/types/schema/props/index.d.ts +1 -1
  1078. package/dist/types/schema/props/link-on-callbacks.d.ts +2 -2
  1079. package/dist/types/schema/props/min-width.d.ts +7 -0
  1080. package/dist/types/schema/props/msg.d.ts +6 -1
  1081. package/dist/types/schema/props/popover-callbacks.d.ts +2 -2
  1082. package/dist/types/schema/props/table-callbacks.d.ts +4 -4
  1083. package/dist/types/schema/props/table-settings.d.ts +7 -0
  1084. package/dist/types/schema/props/variant/modal.d.ts +8 -0
  1085. package/dist/types/schema/tag-names.d.ts +45 -48
  1086. package/dist/types/schema/types/icons.d.ts +1 -1
  1087. package/dist/types/schema/types/index.d.ts +1 -1
  1088. package/dist/types/schema/types/input/control/number.d.ts +2 -5
  1089. package/dist/types/schema/types/input/types.d.ts +6 -6
  1090. package/dist/types/schema/types/table-settings.d.ts +10 -0
  1091. package/dist/types/schema/types/table.d.ts +1 -1
  1092. package/dist/types/utils/events.d.ts +20 -5
  1093. package/doc/abbr.md +7 -48
  1094. package/doc/accordion.md +1 -118
  1095. package/doc/alert.md +2 -86
  1096. package/doc/avatar.md +1 -45
  1097. package/doc/badge.md +1 -96
  1098. package/doc/breadcrumb.md +1 -84
  1099. package/doc/button-link.md +1 -59
  1100. package/doc/button.md +1 -128
  1101. package/doc/card.md +2 -66
  1102. package/doc/combobox.md +21 -72
  1103. package/doc/components.md +1 -1
  1104. package/doc/details.md +1 -99
  1105. package/doc/drawer.md +1 -127
  1106. package/doc/form.md +1 -21
  1107. package/doc/heading.md +5 -38
  1108. package/doc/icon.md +1 -43
  1109. package/doc/image.md +1 -51
  1110. package/doc/input-checkbox.md +26 -116
  1111. package/doc/input-color.md +21 -77
  1112. package/doc/input-date.md +27 -138
  1113. package/doc/input-email.md +28 -105
  1114. package/doc/input-file.md +21 -98
  1115. package/doc/input-number.md +27 -95
  1116. package/doc/input-password.md +27 -96
  1117. package/doc/input-radio.md +20 -129
  1118. package/doc/input-range.md +23 -110
  1119. package/doc/input-text.md +29 -121
  1120. package/doc/kolibri.md +1 -18
  1121. package/doc/link-button.md +1 -37
  1122. package/doc/link.md +1 -82
  1123. package/doc/modal.md +7 -97
  1124. package/doc/nav.md +1 -110
  1125. package/doc/pagination.md +1 -42
  1126. package/doc/popover-button.md +14 -2
  1127. package/doc/progress.md +1 -41
  1128. package/doc/quote.md +1 -63
  1129. package/doc/select.md +23 -148
  1130. package/doc/single-select.md +22 -52
  1131. package/doc/skip-nav.md +1 -50
  1132. package/doc/spin.md +1 -113
  1133. package/doc/split-button.md +1 -25
  1134. package/doc/table-stateful.md +14 -200
  1135. package/doc/table-stateless.md +11 -81
  1136. package/doc/tabs.md +1 -89
  1137. package/doc/textarea.md +4 -89
  1138. package/doc/toaster.md +4 -74
  1139. package/doc/toolbar.md +1 -46
  1140. package/doc/tree-item.md +1 -3
  1141. package/doc/tree.md +1 -70
  1142. package/doc/version.md +1 -23
  1143. package/package.json +6 -4
  1144. package/vscode-custom-data.json +305 -520
  1145. package/dist/cjs/Alert-96b369f4.js +0 -4
  1146. package/dist/cjs/Alert-96b369f4.js.map +0 -1
  1147. package/dist/cjs/Collapsible-8b3c4050.js +0 -4
  1148. package/dist/cjs/Collapsible-8b3c4050.js.map +0 -1
  1149. package/dist/cjs/FormFieldMsg-f54e236a.js +0 -4
  1150. package/dist/cjs/FormFieldMsg-f54e236a.js.map +0 -1
  1151. package/dist/cjs/InternalUnderlinedBadgeText-5bf32805.js +0 -4
  1152. package/dist/cjs/InternalUnderlinedBadgeText-5bf32805.js.map +0 -1
  1153. package/dist/cjs/access-and-short-key-6155af7d.js +0 -4
  1154. package/dist/cjs/access-and-short-key-6155af7d.js.map +0 -1
  1155. package/dist/cjs/align-a9f24187.js +0 -4
  1156. package/dist/cjs/align-a9f24187.js.map +0 -1
  1157. package/dist/cjs/align-floating-elements-74691aff.js +0 -4
  1158. package/dist/cjs/align-floating-elements-74691aff.js.map +0 -1
  1159. package/dist/cjs/app-globals-52debe8b.js +0 -4
  1160. package/dist/cjs/app-globals-52debe8b.js.map +0 -1
  1161. package/dist/cjs/associated.controller-2005f7f0.js +0 -4
  1162. package/dist/cjs/associated.controller-2005f7f0.js.map +0 -1
  1163. package/dist/cjs/badge-text-9d12359c.js +0 -4
  1164. package/dist/cjs/badge-text-9d12359c.js.map +0 -1
  1165. package/dist/cjs/bund-4be96755.js +0 -4
  1166. package/dist/cjs/bund-4be96755.js.map +0 -1
  1167. package/dist/cjs/button-variant-10ad2503.js +0 -4
  1168. package/dist/cjs/button-variant-10ad2503.js.map +0 -1
  1169. package/dist/cjs/color-327a493c.js +0 -4
  1170. package/dist/cjs/color-327a493c.js.map +0 -1
  1171. package/dist/cjs/component-names-2c750b1b.js +0 -4
  1172. package/dist/cjs/component-names-2c750b1b.js.map +0 -1
  1173. package/dist/cjs/controller-20541e1e.js +0 -4
  1174. package/dist/cjs/controller-20541e1e.js.map +0 -1
  1175. package/dist/cjs/controller-3c347f5b.js +0 -4
  1176. package/dist/cjs/controller-3c347f5b.js.map +0 -1
  1177. package/dist/cjs/controller-8d407dee.js +0 -4
  1178. package/dist/cjs/controller-8d407dee.js.map +0 -1
  1179. package/dist/cjs/controller-b8eea6f7.js +0 -4
  1180. package/dist/cjs/controller-b8eea6f7.js.map +0 -1
  1181. package/dist/cjs/controller-d7e8fba5.js +0 -4
  1182. package/dist/cjs/controller-d7e8fba5.js.map +0 -1
  1183. package/dist/cjs/controller-icon-a88486d3.js +0 -4
  1184. package/dist/cjs/controller-icon-a88486d3.js.map +0 -1
  1185. package/dist/cjs/custom-class-1bd0519a.js +0 -4
  1186. package/dist/cjs/custom-class-1bd0519a.js.map +0 -1
  1187. package/dist/cjs/dev.utils-17f58b75.js +0 -4
  1188. package/dist/cjs/dev.utils-17f58b75.js.map +0 -1
  1189. package/dist/cjs/devtools-55284fd6.js +0 -4
  1190. package/dist/cjs/devtools-55284fd6.js.map +0 -1
  1191. package/dist/cjs/disabled-0ee19649.js +0 -4
  1192. package/dist/cjs/disabled-0ee19649.js.map +0 -1
  1193. package/dist/cjs/events-221fcb43.js +0 -4
  1194. package/dist/cjs/events-221fcb43.js.map +0 -1
  1195. package/dist/cjs/events-2a23336e.js +0 -4
  1196. package/dist/cjs/events-2a23336e.js.map +0 -1
  1197. package/dist/cjs/has-closer-51ccf77f.js +0 -4
  1198. package/dist/cjs/has-closer-51ccf77f.js.map +0 -1
  1199. package/dist/cjs/has-counter-8679115c.js +0 -4
  1200. package/dist/cjs/has-counter-8679115c.js.map +0 -1
  1201. package/dist/cjs/hide-label-a9a94f19.js +0 -4
  1202. package/dist/cjs/hide-label-a9a94f19.js.map +0 -1
  1203. package/dist/cjs/href-c14d2c3e.js +0 -4
  1204. package/dist/cjs/href-c14d2c3e.js.map +0 -1
  1205. package/dist/cjs/i18n-3219485c.js +0 -4
  1206. package/dist/cjs/i18n-3219485c.js.map +0 -1
  1207. package/dist/cjs/i18n-5f0ed6ed.js +0 -4
  1208. package/dist/cjs/i18n-5f0ed6ed.js.map +0 -1
  1209. package/dist/cjs/icons-cfdc392f.js +0 -4
  1210. package/dist/cjs/icons-cfdc392f.js.map +0 -1
  1211. package/dist/cjs/image-source-3b5f1388.js +0 -4
  1212. package/dist/cjs/image-source-3b5f1388.js.map +0 -1
  1213. package/dist/cjs/index-c77a4142.js +0 -4
  1214. package/dist/cjs/index-c77a4142.js.map +0 -1
  1215. package/dist/cjs/index-cb5cbda1.js +0 -4
  1216. package/dist/cjs/index-cb5cbda1.js.map +0 -1
  1217. package/dist/cjs/kol-button-group-wc.cjs.entry.js +0 -4
  1218. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +0 -1
  1219. package/dist/cjs/kol-button-group.cjs.entry.js +0 -4
  1220. package/dist/cjs/kol-button-group.cjs.entry.js.map +0 -1
  1221. package/dist/cjs/kol-heading-wc.cjs.entry.js +0 -4
  1222. package/dist/cjs/kol-heading-wc.cjs.entry.js.map +0 -1
  1223. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +0 -4
  1224. package/dist/cjs/kol-indented-text-wc.cjs.entry.js.map +0 -1
  1225. package/dist/cjs/kol-indented-text.cjs.entry.js +0 -4
  1226. package/dist/cjs/kol-indented-text.cjs.entry.js.map +0 -1
  1227. package/dist/cjs/kol-input.cjs.entry.js +0 -4
  1228. package/dist/cjs/kol-input.cjs.entry.js.map +0 -1
  1229. package/dist/cjs/kol-link-group.cjs.entry.js +0 -4
  1230. package/dist/cjs/kol-link-group.cjs.entry.js.map +0 -1
  1231. package/dist/cjs/kol-logo.cjs.entry.js +0 -4
  1232. package/dist/cjs/kol-logo.cjs.entry.js.map +0 -1
  1233. package/dist/cjs/kol-span-wc.cjs.entry.js +0 -4
  1234. package/dist/cjs/kol-span-wc.cjs.entry.js.map +0 -1
  1235. package/dist/cjs/kol-symbol.cjs.entry.js +0 -4
  1236. package/dist/cjs/kol-symbol.cjs.entry.js.map +0 -1
  1237. package/dist/cjs/kol-table.cjs.entry.js +0 -4
  1238. package/dist/cjs/kol-table.cjs.entry.js.map +0 -1
  1239. package/dist/cjs/label-3ce275fe.js +0 -4
  1240. package/dist/cjs/label-3ce275fe.js.map +0 -1
  1241. package/dist/cjs/open-e08280be.js +0 -4
  1242. package/dist/cjs/open-e08280be.js.map +0 -1
  1243. package/dist/cjs/prop.validators-3c86f8eb.js +0 -4
  1244. package/dist/cjs/prop.validators-3c86f8eb.js.map +0 -1
  1245. package/dist/cjs/reuse-8cfefa9b.js +0 -4
  1246. package/dist/cjs/reuse-8cfefa9b.js.map +0 -1
  1247. package/dist/cjs/rows-24ccf646.js +0 -4
  1248. package/dist/cjs/rows-24ccf646.js.map +0 -1
  1249. package/dist/cjs/show-0625d136.js +0 -4
  1250. package/dist/cjs/show-0625d136.js.map +0 -1
  1251. package/dist/cjs/spell-check-d54fcffc.js +0 -4
  1252. package/dist/cjs/spell-check-d54fcffc.js.map +0 -1
  1253. package/dist/cjs/suggestions-eccef9c3.js +0 -4
  1254. package/dist/cjs/suggestions-eccef9c3.js.map +0 -1
  1255. package/dist/cjs/tooltip-align-5aee86e8.js +0 -4
  1256. package/dist/cjs/tooltip-align-5aee86e8.js.map +0 -1
  1257. package/dist/cjs/validation-2820e912.js +0 -4
  1258. package/dist/cjs/validation-2820e912.js.map +0 -1
  1259. package/dist/cjs/validation-bcb18e67.js +0 -4
  1260. package/dist/cjs/validation-bcb18e67.js.map +0 -1
  1261. package/dist/components/FormFieldMsg.js +0 -4
  1262. package/dist/components/FormFieldMsg.js.map +0 -1
  1263. package/dist/components/badge-text.js +0 -4
  1264. package/dist/components/badge-text.js.map +0 -1
  1265. package/dist/components/bund.js +0 -4
  1266. package/dist/components/bund.js.map +0 -1
  1267. package/dist/components/controller-icon.js +0 -4
  1268. package/dist/components/controller-icon.js.map +0 -1
  1269. package/dist/components/controller5.js +0 -4
  1270. package/dist/components/controller5.js.map +0 -1
  1271. package/dist/components/events2.js +0 -4
  1272. package/dist/components/events2.js.map +0 -1
  1273. package/dist/components/kol-button-group-wc.d.ts +0 -11
  1274. package/dist/components/kol-button-group-wc.js +0 -4
  1275. package/dist/components/kol-button-group-wc.js.map +0 -1
  1276. package/dist/components/kol-button-group.d.ts +0 -11
  1277. package/dist/components/kol-button-group.js +0 -4
  1278. package/dist/components/kol-button-group.js.map +0 -1
  1279. package/dist/components/kol-heading-wc.d.ts +0 -11
  1280. package/dist/components/kol-heading-wc.js +0 -4
  1281. package/dist/components/kol-heading-wc.js.map +0 -1
  1282. package/dist/components/kol-indented-text-wc.d.ts +0 -11
  1283. package/dist/components/kol-indented-text-wc.js +0 -4
  1284. package/dist/components/kol-indented-text-wc.js.map +0 -1
  1285. package/dist/components/kol-indented-text.d.ts +0 -11
  1286. package/dist/components/kol-indented-text.js +0 -4
  1287. package/dist/components/kol-indented-text.js.map +0 -1
  1288. package/dist/components/kol-input.d.ts +0 -11
  1289. package/dist/components/kol-input.js +0 -4
  1290. package/dist/components/kol-input.js.map +0 -1
  1291. package/dist/components/kol-link-group.d.ts +0 -11
  1292. package/dist/components/kol-link-group.js +0 -4
  1293. package/dist/components/kol-link-group.js.map +0 -1
  1294. package/dist/components/kol-logo.d.ts +0 -11
  1295. package/dist/components/kol-logo.js +0 -4
  1296. package/dist/components/kol-logo.js.map +0 -1
  1297. package/dist/components/kol-span-wc.d.ts +0 -11
  1298. package/dist/components/kol-span-wc.js +0 -4
  1299. package/dist/components/kol-span-wc.js.map +0 -1
  1300. package/dist/components/kol-symbol.d.ts +0 -11
  1301. package/dist/components/kol-symbol.js +0 -4
  1302. package/dist/components/kol-symbol.js.map +0 -1
  1303. package/dist/components/kol-table.d.ts +0 -11
  1304. package/dist/components/kol-table.js +0 -4
  1305. package/dist/components/kol-table.js.map +0 -1
  1306. package/dist/esm/Alert-69d3fb7c.js +0 -4
  1307. package/dist/esm/Alert-69d3fb7c.js.map +0 -1
  1308. package/dist/esm/Collapsible-a6f9d7da.js +0 -4
  1309. package/dist/esm/Collapsible-a6f9d7da.js.map +0 -1
  1310. package/dist/esm/FormFieldMsg-555f329f.js +0 -4
  1311. package/dist/esm/FormFieldMsg-555f329f.js.map +0 -1
  1312. package/dist/esm/InternalUnderlinedBadgeText-868a81c0.js +0 -4
  1313. package/dist/esm/InternalUnderlinedBadgeText-868a81c0.js.map +0 -1
  1314. package/dist/esm/access-and-short-key-16c1f3d9.js +0 -4
  1315. package/dist/esm/access-and-short-key-16c1f3d9.js.map +0 -1
  1316. package/dist/esm/align-eeb4ecdd.js +0 -4
  1317. package/dist/esm/align-eeb4ecdd.js.map +0 -1
  1318. package/dist/esm/align-floating-elements-ae4deaae.js +0 -4
  1319. package/dist/esm/align-floating-elements-ae4deaae.js.map +0 -1
  1320. package/dist/esm/app-globals-2d0926bd.js +0 -4
  1321. package/dist/esm/app-globals-2d0926bd.js.map +0 -1
  1322. package/dist/esm/associated.controller-3b160a7e.js +0 -4
  1323. package/dist/esm/associated.controller-3b160a7e.js.map +0 -1
  1324. package/dist/esm/badge-text-91fe6f6c.js +0 -4
  1325. package/dist/esm/badge-text-91fe6f6c.js.map +0 -1
  1326. package/dist/esm/bund-ad41b762.js +0 -4
  1327. package/dist/esm/bund-ad41b762.js.map +0 -1
  1328. package/dist/esm/button-variant-a4270d4a.js +0 -4
  1329. package/dist/esm/button-variant-a4270d4a.js.map +0 -1
  1330. package/dist/esm/color-c32d99db.js +0 -4
  1331. package/dist/esm/color-c32d99db.js.map +0 -1
  1332. package/dist/esm/common-0f1f2276.js +0 -4
  1333. package/dist/esm/common-0f1f2276.js.map +0 -1
  1334. package/dist/esm/component-names-4cb1c62b.js +0 -4
  1335. package/dist/esm/component-names-4cb1c62b.js.map +0 -1
  1336. package/dist/esm/controller-30593aa8.js +0 -4
  1337. package/dist/esm/controller-30593aa8.js.map +0 -1
  1338. package/dist/esm/controller-63e3499d.js +0 -4
  1339. package/dist/esm/controller-63e3499d.js.map +0 -1
  1340. package/dist/esm/controller-80316c73.js +0 -4
  1341. package/dist/esm/controller-80316c73.js.map +0 -1
  1342. package/dist/esm/controller-823a2e8d.js +0 -4
  1343. package/dist/esm/controller-823a2e8d.js.map +0 -1
  1344. package/dist/esm/controller-8ee06262.js +0 -4
  1345. package/dist/esm/controller-8ee06262.js.map +0 -1
  1346. package/dist/esm/controller-icon-0a8dd3ac.js +0 -4
  1347. package/dist/esm/controller-icon-0a8dd3ac.js.map +0 -1
  1348. package/dist/esm/custom-class-c7abcffc.js +0 -4
  1349. package/dist/esm/custom-class-c7abcffc.js.map +0 -1
  1350. package/dist/esm/dev.utils-c278c4ae.js +0 -4
  1351. package/dist/esm/dev.utils-c278c4ae.js.map +0 -1
  1352. package/dist/esm/devtools-35fb12ed.js +0 -4
  1353. package/dist/esm/devtools-35fb12ed.js.map +0 -1
  1354. package/dist/esm/disabled-11f5f213.js +0 -4
  1355. package/dist/esm/disabled-11f5f213.js.map +0 -1
  1356. package/dist/esm/events-29e84d75.js +0 -4
  1357. package/dist/esm/events-29e84d75.js.map +0 -1
  1358. package/dist/esm/events-3c3b4721.js +0 -4
  1359. package/dist/esm/events-3c3b4721.js.map +0 -1
  1360. package/dist/esm/has-closer-b582e72a.js +0 -4
  1361. package/dist/esm/has-closer-b582e72a.js.map +0 -1
  1362. package/dist/esm/has-counter-0ab5f398.js +0 -4
  1363. package/dist/esm/has-counter-0ab5f398.js.map +0 -1
  1364. package/dist/esm/hide-label-90b37cc2.js +0 -4
  1365. package/dist/esm/hide-label-90b37cc2.js.map +0 -1
  1366. package/dist/esm/href-8bd5e6c9.js +0 -4
  1367. package/dist/esm/href-8bd5e6c9.js.map +0 -1
  1368. package/dist/esm/i18n-31adef87.js +0 -4
  1369. package/dist/esm/i18n-31adef87.js.map +0 -1
  1370. package/dist/esm/i18n-eef4b287.js +0 -4
  1371. package/dist/esm/i18n-eef4b287.js.map +0 -1
  1372. package/dist/esm/icons-b21fdac0.js +0 -4
  1373. package/dist/esm/icons-b21fdac0.js.map +0 -1
  1374. package/dist/esm/image-source-6cc4aef4.js +0 -4
  1375. package/dist/esm/image-source-6cc4aef4.js.map +0 -1
  1376. package/dist/esm/index-5879a66b.js +0 -4
  1377. package/dist/esm/index-5879a66b.js.map +0 -1
  1378. package/dist/esm/index-6d801dad.js +0 -4
  1379. package/dist/esm/index-6d801dad.js.map +0 -1
  1380. package/dist/esm/kol-button-group-wc.entry.js +0 -4
  1381. package/dist/esm/kol-button-group-wc.entry.js.map +0 -1
  1382. package/dist/esm/kol-button-group.entry.js +0 -4
  1383. package/dist/esm/kol-button-group.entry.js.map +0 -1
  1384. package/dist/esm/kol-heading-wc.entry.js +0 -4
  1385. package/dist/esm/kol-heading-wc.entry.js.map +0 -1
  1386. package/dist/esm/kol-indented-text-wc.entry.js +0 -4
  1387. package/dist/esm/kol-indented-text-wc.entry.js.map +0 -1
  1388. package/dist/esm/kol-indented-text.entry.js +0 -4
  1389. package/dist/esm/kol-indented-text.entry.js.map +0 -1
  1390. package/dist/esm/kol-input.entry.js +0 -4
  1391. package/dist/esm/kol-input.entry.js.map +0 -1
  1392. package/dist/esm/kol-link-group.entry.js +0 -4
  1393. package/dist/esm/kol-link-group.entry.js.map +0 -1
  1394. package/dist/esm/kol-logo.entry.js +0 -4
  1395. package/dist/esm/kol-logo.entry.js.map +0 -1
  1396. package/dist/esm/kol-span-wc.entry.js +0 -4
  1397. package/dist/esm/kol-span-wc.entry.js.map +0 -1
  1398. package/dist/esm/kol-symbol.entry.js +0 -4
  1399. package/dist/esm/kol-symbol.entry.js.map +0 -1
  1400. package/dist/esm/kol-table.entry.js +0 -4
  1401. package/dist/esm/kol-table.entry.js.map +0 -1
  1402. package/dist/esm/label-90c13388.js +0 -4
  1403. package/dist/esm/label-90c13388.js.map +0 -1
  1404. package/dist/esm/open-4d9f16d0.js +0 -4
  1405. package/dist/esm/open-4d9f16d0.js.map +0 -1
  1406. package/dist/esm/prop.validators-17aec743.js +0 -4
  1407. package/dist/esm/prop.validators-17aec743.js.map +0 -1
  1408. package/dist/esm/reuse-32931294.js +0 -4
  1409. package/dist/esm/reuse-32931294.js.map +0 -1
  1410. package/dist/esm/rows-f033b1b3.js +0 -4
  1411. package/dist/esm/rows-f033b1b3.js.map +0 -1
  1412. package/dist/esm/show-c115b1eb.js +0 -4
  1413. package/dist/esm/show-c115b1eb.js.map +0 -1
  1414. package/dist/esm/spell-check-27a3f91d.js +0 -4
  1415. package/dist/esm/spell-check-27a3f91d.js.map +0 -1
  1416. package/dist/esm/suggestions-04da2b2e.js +0 -4
  1417. package/dist/esm/suggestions-04da2b2e.js.map +0 -1
  1418. package/dist/esm/tooltip-align-d8ac9d69.js +0 -4
  1419. package/dist/esm/tooltip-align-d8ac9d69.js.map +0 -1
  1420. package/dist/esm/validation-16bfc143.js +0 -4
  1421. package/dist/esm/validation-16bfc143.js.map +0 -1
  1422. package/dist/esm/validation-81a4e752.js +0 -4
  1423. package/dist/esm/validation-81a4e752.js.map +0 -1
  1424. package/dist/kolibri/Alert-69d3fb7c.js +0 -4
  1425. package/dist/kolibri/Alert-69d3fb7c.js.map +0 -1
  1426. package/dist/kolibri/Collapsible-a6f9d7da.js +0 -4
  1427. package/dist/kolibri/Collapsible-a6f9d7da.js.map +0 -1
  1428. package/dist/kolibri/FormFieldMsg-555f329f.js +0 -4
  1429. package/dist/kolibri/FormFieldMsg-555f329f.js.map +0 -1
  1430. package/dist/kolibri/InternalUnderlinedBadgeText-868a81c0.js +0 -4
  1431. package/dist/kolibri/InternalUnderlinedBadgeText-868a81c0.js.map +0 -1
  1432. package/dist/kolibri/access-and-short-key-16c1f3d9.js +0 -4
  1433. package/dist/kolibri/align-eeb4ecdd.js +0 -4
  1434. package/dist/kolibri/align-floating-elements-ae4deaae.js +0 -4
  1435. package/dist/kolibri/align-floating-elements-ae4deaae.js.map +0 -1
  1436. package/dist/kolibri/app-globals-2d0926bd.js +0 -4
  1437. package/dist/kolibri/app-globals-2d0926bd.js.map +0 -1
  1438. package/dist/kolibri/associated.controller-3b160a7e.js +0 -4
  1439. package/dist/kolibri/badge-text-91fe6f6c.js +0 -4
  1440. package/dist/kolibri/badge-text-91fe6f6c.js.map +0 -1
  1441. package/dist/kolibri/bund-ad41b762.js +0 -4
  1442. package/dist/kolibri/bund-ad41b762.js.map +0 -1
  1443. package/dist/kolibri/button-variant-a4270d4a.js +0 -4
  1444. package/dist/kolibri/color-c32d99db.js +0 -4
  1445. package/dist/kolibri/common-0f1f2276.js +0 -4
  1446. package/dist/kolibri/component-names-4cb1c62b.js +0 -4
  1447. package/dist/kolibri/component-names-4cb1c62b.js.map +0 -1
  1448. package/dist/kolibri/controller-30593aa8.js +0 -4
  1449. package/dist/kolibri/controller-63e3499d.js +0 -4
  1450. package/dist/kolibri/controller-80316c73.js +0 -4
  1451. package/dist/kolibri/controller-80316c73.js.map +0 -1
  1452. package/dist/kolibri/controller-823a2e8d.js +0 -4
  1453. package/dist/kolibri/controller-8ee06262.js +0 -4
  1454. package/dist/kolibri/controller-8ee06262.js.map +0 -1
  1455. package/dist/kolibri/controller-icon-0a8dd3ac.js +0 -4
  1456. package/dist/kolibri/controller-icon-0a8dd3ac.js.map +0 -1
  1457. package/dist/kolibri/custom-class-c7abcffc.js +0 -4
  1458. package/dist/kolibri/dev.utils-c278c4ae.js +0 -4
  1459. package/dist/kolibri/devtools-35fb12ed.js +0 -4
  1460. package/dist/kolibri/disabled-11f5f213.js +0 -4
  1461. package/dist/kolibri/events-29e84d75.js +0 -4
  1462. package/dist/kolibri/events-29e84d75.js.map +0 -1
  1463. package/dist/kolibri/events-3c3b4721.js +0 -4
  1464. package/dist/kolibri/events-3c3b4721.js.map +0 -1
  1465. package/dist/kolibri/has-closer-b582e72a.js +0 -4
  1466. package/dist/kolibri/has-counter-0ab5f398.js +0 -4
  1467. package/dist/kolibri/hide-label-90b37cc2.js +0 -4
  1468. package/dist/kolibri/href-8bd5e6c9.js +0 -4
  1469. package/dist/kolibri/i18n-31adef87.js +0 -4
  1470. package/dist/kolibri/i18n-eef4b287.js +0 -4
  1471. package/dist/kolibri/i18n-eef4b287.js.map +0 -1
  1472. package/dist/kolibri/icons-b21fdac0.js +0 -4
  1473. package/dist/kolibri/image-source-6cc4aef4.js +0 -4
  1474. package/dist/kolibri/index-5879a66b.js +0 -5
  1475. package/dist/kolibri/index-5879a66b.js.map +0 -1
  1476. package/dist/kolibri/index-6d801dad.js +0 -4
  1477. package/dist/kolibri/index-6d801dad.js.map +0 -1
  1478. package/dist/kolibri/kol-button-group-wc.entry.js +0 -4
  1479. package/dist/kolibri/kol-button-group-wc.entry.js.map +0 -1
  1480. package/dist/kolibri/kol-button-group.entry.js +0 -4
  1481. package/dist/kolibri/kol-button-group.entry.js.map +0 -1
  1482. package/dist/kolibri/kol-heading-wc.entry.js +0 -4
  1483. package/dist/kolibri/kol-heading-wc.entry.js.map +0 -1
  1484. package/dist/kolibri/kol-indented-text-wc.entry.js +0 -4
  1485. package/dist/kolibri/kol-indented-text-wc.entry.js.map +0 -1
  1486. package/dist/kolibri/kol-indented-text.entry.js +0 -4
  1487. package/dist/kolibri/kol-indented-text.entry.js.map +0 -1
  1488. package/dist/kolibri/kol-input.entry.js +0 -4
  1489. package/dist/kolibri/kol-input.entry.js.map +0 -1
  1490. package/dist/kolibri/kol-link-group.entry.js +0 -4
  1491. package/dist/kolibri/kol-link-group.entry.js.map +0 -1
  1492. package/dist/kolibri/kol-logo.entry.js +0 -4
  1493. package/dist/kolibri/kol-logo.entry.js.map +0 -1
  1494. package/dist/kolibri/kol-span-wc.entry.js +0 -4
  1495. package/dist/kolibri/kol-span-wc.entry.js.map +0 -1
  1496. package/dist/kolibri/kol-symbol.entry.js +0 -4
  1497. package/dist/kolibri/kol-symbol.entry.js.map +0 -1
  1498. package/dist/kolibri/kol-table.entry.js +0 -4
  1499. package/dist/kolibri/kol-table.entry.js.map +0 -1
  1500. package/dist/kolibri/label-90c13388.js +0 -4
  1501. package/dist/kolibri/open-4d9f16d0.js +0 -4
  1502. package/dist/kolibri/prop.validators-17aec743.js +0 -4
  1503. package/dist/kolibri/reuse-32931294.js +0 -4
  1504. package/dist/kolibri/reuse-32931294.js.map +0 -1
  1505. package/dist/kolibri/rows-f033b1b3.js +0 -4
  1506. package/dist/kolibri/show-c115b1eb.js +0 -4
  1507. package/dist/kolibri/spell-check-27a3f91d.js +0 -4
  1508. package/dist/kolibri/suggestions-04da2b2e.js +0 -4
  1509. package/dist/kolibri/tooltip-align-d8ac9d69.js +0 -4
  1510. package/dist/kolibri/validation-16bfc143.js +0 -4
  1511. package/dist/kolibri/validation-81a4e752.js +0 -4
  1512. package/dist/types/components/button-group/component.d.ts +0 -6
  1513. package/dist/types/components/button-group/shadow.d.ts +0 -5
  1514. package/dist/types/components/heading/component.d.ts +0 -17
  1515. package/dist/types/components/indented-text/component.d.ts +0 -6
  1516. package/dist/types/components/indented-text/shadow.d.ts +0 -5
  1517. package/dist/types/components/input/component.d.ts +0 -35
  1518. package/dist/types/components/link-group/shadow.d.ts +0 -17
  1519. package/dist/types/components/logo/shadow.d.ts +0 -10
  1520. package/dist/types/components/logo/types.d.ts +0 -11
  1521. package/dist/types/components/span/InternalUnderlinedBadgeText.d.ts +0 -7
  1522. package/dist/types/components/span/component.d.ts +0 -17
  1523. package/dist/types/components/symbol/component.d.ts +0 -11
  1524. package/dist/types/components/table/shadow.d.ts +0 -15
  1525. package/dist/types/components/toaster/InternalToast.d.ts +0 -9
  1526. package/dist/types/schema/components/button-group.d.ts +0 -9
  1527. package/dist/types/schema/components/indented-text.d.ts +0 -9
  1528. package/dist/types/schema/components/link-group.d.ts +0 -22
  1529. package/dist/types/schema/components/symbol.d.ts +0 -12
  1530. package/dist/types/schema/enums/events.d.ts +0 -23
  1531. package/dist/types/schema/props/hide-error.d.ts +0 -7
  1532. package/doc/button-group.md +0 -96
  1533. package/doc/indented-text.md +0 -52
  1534. package/doc/link-group.md +0 -98
  1535. package/doc/logo.md +0 -67
  1536. package/doc/popover.md +0 -26
  1537. package/doc/span.md +0 -32
  1538. package/doc/symbol.md +0 -44
  1539. package/doc/table.md +0 -201
  1540. package/doc/tooltip.md +0 -47
  1541. /package/dist/kolibri/{access-and-short-key-16c1f3d9.js.map → access-and-short-key-58467f3a.js.map} +0 -0
  1542. /package/dist/kolibri/{align-eeb4ecdd.js.map → align-2f553440.js.map} +0 -0
  1543. /package/dist/kolibri/{associated.controller-3b160a7e.js.map → associated.controller-a6273a44.js.map} +0 -0
  1544. /package/dist/kolibri/{button-variant-a4270d4a.js.map → button-variant-22db3cae.js.map} +0 -0
  1545. /package/dist/kolibri/{color-c32d99db.js.map → color-e2f76a18.js.map} +0 -0
  1546. /package/dist/kolibri/{common-0f1f2276.js.map → common-54bf85ba.js.map} +0 -0
  1547. /package/dist/kolibri/{controller-63e3499d.js.map → controller-04af0502.js.map} +0 -0
  1548. /package/dist/kolibri/{controller-30593aa8.js.map → controller-1a508e22.js.map} +0 -0
  1549. /package/dist/kolibri/{controller-823a2e8d.js.map → controller-b150dd8f.js.map} +0 -0
  1550. /package/dist/kolibri/{custom-class-c7abcffc.js.map → custom-class-1ea7f6ba.js.map} +0 -0
  1551. /package/dist/kolibri/{dev.utils-c278c4ae.js.map → dev.utils-869ad410.js.map} +0 -0
  1552. /package/dist/kolibri/{devtools-35fb12ed.js.map → devtools-a9857e56.js.map} +0 -0
  1553. /package/dist/kolibri/{disabled-11f5f213.js.map → disabled-bdfddd32.js.map} +0 -0
  1554. /package/dist/kolibri/{has-closer-b582e72a.js.map → has-closer-1f00aaf3.js.map} +0 -0
  1555. /package/dist/kolibri/{has-counter-0ab5f398.js.map → has-counter-46536f3c.js.map} +0 -0
  1556. /package/dist/kolibri/{hide-label-90b37cc2.js.map → hide-label-8fc169d2.js.map} +0 -0
  1557. /package/dist/kolibri/{href-8bd5e6c9.js.map → href-50f7d11b.js.map} +0 -0
  1558. /package/dist/kolibri/{i18n-31adef87.js.map → i18n-efbafc80.js.map} +0 -0
  1559. /package/dist/kolibri/{icons-b21fdac0.js.map → icons-d9615c78.js.map} +0 -0
  1560. /package/dist/kolibri/{image-source-6cc4aef4.js.map → image-source-dc18dccc.js.map} +0 -0
  1561. /package/dist/kolibri/{label-90c13388.js.map → label-0219bcdb.js.map} +0 -0
  1562. /package/dist/kolibri/{open-4d9f16d0.js.map → open-d5b42a38.js.map} +0 -0
  1563. /package/dist/kolibri/{prop.validators-17aec743.js.map → prop.validators-de1491c5.js.map} +0 -0
  1564. /package/dist/kolibri/{rows-f033b1b3.js.map → rows-4dc53b94.js.map} +0 -0
  1565. /package/dist/kolibri/{show-c115b1eb.js.map → show-46145480.js.map} +0 -0
  1566. /package/dist/kolibri/{spell-check-27a3f91d.js.map → spell-check-d3f3ed29.js.map} +0 -0
  1567. /package/dist/kolibri/{suggestions-04da2b2e.js.map → suggestions-dc373440.js.map} +0 -0
  1568. /package/dist/kolibri/{tooltip-align-d8ac9d69.js.map → tooltip-align-f41ae17f.js.map} +0 -0
  1569. /package/dist/kolibri/{validation-16bfc143.js.map → validation-1473d7f0.js.map} +0 -0
  1570. /package/dist/kolibri/{validation-81a4e752.js.map → validation-70143d97.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"kol-input-checkbox.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqBO,MAAM,2BAA2B,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAU;;ACN5E,MAAM,eAAe,GAAG,CAAC,SAAoC,EAAE,KAAuB;IAC5FA,4BAAY,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;;ACFM,MAAM,qBAAqB,GAAG,CAAC,SAAoC,EAAE,KAA6B;IACxGA,4BAAY,CAAC,SAAS,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;;ACbD,MAAM,yBAAyB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAWtD,MAAM,kBAAkB,GAAG,CAAC,SAAoC,EAAE,KAA0B;IAClGC,8BAAc,CACb,SAAS,EACT,aAAa,EACb,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,yBAAyB,CAAC,QAAQ,CAAC,KAAK,CAAC,EACjF,IAAI,GAAG,CAAC,CAA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I,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KACxC;IAGM,2BAA2B,CAAC,KAAmC;QACrE,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;KACnD;IAGM,gBAAgB,CAAC,KAAc;QACrC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KACxC;IAGM,eAAe,CAAC,KAAe;QACrC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KACvC;IAGM,aAAa,CAAC,KAAmC;QACvD,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACrC;IAGM,eAAe,CAAC,KAA4B;QAClD,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KACvC;IAEM,iBAAiB;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC;QACvC,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;KACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["watchBoolean","watchValidator","InputCheckboxRadioController","isString","setState","getRenderStates","showExpertSlot","h","Host","KolInputTag","InternalUnderlinedBadgeText","buildBadgeTextString","KolIconTag","tryToDispatchKoliBriEvent","nonce"],"sources":["src/schema/components/input-checkbox.ts","src/schema/props/checked.ts","src/schema/props/indeterminate.ts","src/schema/props/label-align.ts","src/components/input-checkbox/controller.ts","src/components/input-checkbox/style.scss?tag=kol-input-checkbox&mode=default&encapsulation=shadow","src/components/input-checkbox/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tMsgPropType,\n\tPropChecked,\n\tPropDisabled,\n\tPropHideError,\n\tPropHideLabel,\n\tPropIndeterminate,\n\tPropLabelAlign,\n\tPropLabelWithExpertSlot,\n\tPropMsg,\n\tPropName,\n\tPropRequired,\n\tPropSyncValueBySelector,\n\tPropTouched,\n\tPropShortKey,\n\tPropAccessKey,\n} from '../props';\nimport type { AnyIconFontClass, InputTypeOnDefault, StencilUnknown, Stringified } from '../types';\n\nexport const inputCheckboxVariantOptions = ['button', 'default', 'switch'] as const;\nexport type InputCheckboxVariant = (typeof inputCheckboxVariantOptions)[number];\n\nexport type InputCheckboxIconsProp =\n\t| {\n\t\t\tchecked: AnyIconFontClass;\n\t\t\tindeterminate?: AnyIconFontClass;\n\t\t\tunchecked?: AnyIconFontClass;\n\t }\n\t| {\n\t\t\tchecked?: AnyIconFontClass;\n\t\t\tindeterminate: AnyIconFontClass;\n\t\t\tunchecked?: AnyIconFontClass;\n\t }\n\t| {\n\t\t\tchecked?: AnyIconFontClass;\n\t\t\tindeterminate?: AnyIconFontClass;\n\t\t\tunchecked: AnyIconFontClass;\n\t };\n\nexport type InputCheckboxIconsState = {\n\tchecked: AnyIconFontClass;\n\tindeterminate: AnyIconFontClass;\n\tunchecked: AnyIconFontClass;\n};\n\ntype RequiredProps = PropLabelWithExpertSlot;\ntype OptionalProps = {\n\talert: boolean;\n\t/**\n\t * @deprecated Will be removed in v3. Use `msg` instead.\n\t */\n\terror: string;\n\thint: string;\n\ticons: Stringified<InputCheckboxIconsProp>;\n\tmsg: Stringified<MsgPropType>;\n\ton: InputTypeOnDefault;\n\ttabIndex: number;\n\tvalue: Stringified<StencilUnknown>;\n\tvariant: InputCheckboxVariant;\n} & PropAccessKey &\n\tPropChecked &\n\tPropDisabled &\n\tPropHideError &\n\tPropHideLabel &\n\tPropIndeterminate &\n\tPropName &\n\tPropRequired &\n\tPropShortKey &\n\tPropSyncValueBySelector &\n\tPropTouched &\n\tPropLabelAlign;\n\ntype RequiredStates = {\n\ticons: InputCheckboxIconsState;\n\tid: string;\n\tvalue: StencilUnknown;\n\tvariant: InputCheckboxVariant;\n} & PropChecked &\n\tPropHideError &\n\tPropIndeterminate &\n\tPropLabelWithExpertSlot;\ntype OptionalStates = {\n\talert: boolean;\n\thint: string;\n\ton: InputTypeOnDefault;\n\ttabIndex: number;\n} & PropAccessKey &\n\tPropDisabled &\n\tPropHideLabel &\n\tPropMsg &\n\tPropName &\n\tPropRequired &\n\tPropShortKey &\n\tPropTouched &\n\tPropLabelAlign;\n\nexport type InputCheckboxProps = Generic.Element.Members<RequiredProps, OptionalProps>;\nexport type InputCheckboxStates = Generic.Element.Members<RequiredStates, OptionalStates>;\nexport type InputCheckboxWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\nexport type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type CheckedPropType = boolean;\n\n/**\n * Defines whether the checkbox is checked or not. Can be read and written.\n */\nexport type PropChecked = {\n\tchecked: CheckedPropType;\n};\n\n/* validator */\nexport const validateChecked = (component: Generic.Element.Component, value?: CheckedPropType): void => {\n\twatchBoolean(component, '_checked', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type IndeterminatePropType = boolean;\n\n/**\n * Puts the checkbox in the indeterminate state, does not change the value of _checked.\n */\nexport type PropIndeterminate = {\n\tindeterminate: IndeterminatePropType;\n};\n\n/* validator */\nexport const validateIndeterminate = (component: Generic.Element.Component, value?: IndeterminatePropType): void => {\n\twatchBoolean(component, '_indeterminate', value);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst labelAlignPropTypeOptions = ['left', 'right'] as const;\nexport type LabelAlignPropType = (typeof labelAlignPropTypeOptions)[number];\n\n/**\n * Defines which alignment should be used for presentation.\n */\nexport type PropLabelAlign = {\n\tlabelAlign: LabelAlignPropType;\n};\n\n/* validator */\nexport const validateLabelAlign = (component: Generic.Element.Component, value?: LabelAlignPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_labelAlign`,\n\t\t(value) => typeof value === 'string' && labelAlignPropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriLabelAlign {${labelAlignPropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type {\n\tCheckedPropType,\n\tIndeterminatePropType,\n\tInputCheckboxIconsProp,\n\tInputCheckboxIconsState,\n\tInputCheckboxProps,\n\tInputCheckboxVariant,\n\tInputCheckboxWatches,\n\tLabelAlignPropType,\n\tStencilUnknown,\n\tStringified,\n} from '../../schema';\nimport { inputCheckboxVariantOptions, isString, setState, validateChecked, validateIndeterminate, validateLabelAlign, watchValidator } from '../../schema';\n\nimport { InputCheckboxRadioController } from '../input-radio/controller';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputCheckboxController extends InputCheckboxRadioController implements InputCheckboxWatches {\n\tprotected readonly component: Generic.Element.Component & InputCheckboxProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputCheckboxProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic readonly setFormAssociatedCheckboxValue = (value: StencilUnknown) => {\n\t\tif (this.component._checked) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t} else {\n\t\t\tthis.setFormAssociatedValue(null);\n\t\t}\n\t};\n\n\tpublic validateChecked(value?: CheckedPropType): void {\n\t\tvalidateChecked(this.component, value);\n\t\tthis.setFormAssociatedCheckboxValue(this.component.state._value as StencilUnknown);\n\t}\n\n\tpublic validateIcons(value?: Stringified<InputCheckboxIconsProp>): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\treturn typeof value === 'object' && value !== null && (isString(value.checked, 1) || isString(value.indeterminate, 1) || isString(value.unchecked, 1));\n\t\t\t},\n\t\t\tnew Set(['InputCheckboxIcons']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (nextValue: unknown, nextState: Map<string, unknown>, component: Generic.Element.Component) => {\n\t\t\t\t\t\tnextState.set('_icons', {\n\t\t\t\t\t\t\t...(component.state._icons as InputCheckboxIconsState),\n\t\t\t\t\t\t\t...(nextValue as InputCheckboxIconsProp),\n\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\tpublic validateIndeterminate(value?: IndeterminatePropType): void {\n\t\tvalidateIndeterminate(this.component, value);\n\t}\n\n\tpublic validateLabelAlign(value?: LabelAlignPropType): void {\n\t\tvalidateLabelAlign(this.component, value);\n\t}\n\n\tpublic validateValue(value?: Stringified<StencilUnknown>): void {\n\t\tsetState(this.component, '_value', value);\n\t\tthis.setFormAssociatedCheckboxValue(this.component.state._value as StencilUnknown);\n\t}\n\n\tpublic validateVariant(value?: InputCheckboxVariant): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_variant',\n\t\t\t(value): boolean => typeof value === 'string' && inputCheckboxVariantOptions.includes(value),\n\t\t\tnew Set([`String {${inputCheckboxVariantOptions.join(', ')}`]),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateChecked(this.component._checked);\n\t\tthis.validateIcons(this.component._icons);\n\t\tthis.validateIndeterminate(this.component._indeterminate);\n\t\tthis.validateValue(this.component._value);\n\t\tthis.validateVariant(this.component._variant);\n\t\tthis.validateLabelAlign(this.component._labelAlign);\n\t}\n}\n","@use '../@shared/kol-alert-mixin' as *;\n@use '../style' as *;\n@use '../input' as *;\n@use './common' as *;\n@use './button' as *;\n@use './checkbox' as *;\n@use './switch' as *;\n\n@include kol-alert-styles;\n","import type {\n\tCheckedPropType,\n\tHideErrorPropType,\n\tIdPropType,\n\tIndeterminatePropType,\n\tInputCheckboxAPI,\n\tInputCheckboxIconsProp,\n\tInputCheckboxStates,\n\tInputCheckboxVariant,\n\tInputTypeOnDefault,\n\tLabelAlignPropType,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { buildBadgeTextString, showExpertSlot } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, Fragment, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { tryToDispatchKoliBriEvent } from '../../utils/events';\nimport { getRenderStates } from '../input/controller';\nimport { InternalUnderlinedBadgeText } from '../span/InternalUnderlinedBadgeText';\nimport { InputCheckboxController } from './controller';\nimport { KolIconTag, KolInputTag } from '../../core/component-names';\nimport type { FocusableElement } from '../../schema/interfaces/FocusableElement';\n\n/**\n * @slot expert - Die Beschriftung der Checkbox.\n */\n@Component({\n\ttag: 'kol-input-checkbox',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputCheckbox implements InputCheckboxAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputCheckboxElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\tprivate getModelValue(): StencilUnknown {\n\t\treturn this._checked ? this.state._value : null;\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this.getModelValue();\n\t}\n\n\t/**\n\t * @deprecated Use kolFocus instead.\n\t */\n\t@Method()\n\tpublic async focus() {\n\t\tawait this.kolFocus();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { ariaDescribedBy } = getRenderStates(this.state);\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\n\t\treturn (\n\t\t\t<Host class=\"kol-input-checkbox\">\n\t\t\t\t<KolInputTag\n\t\t\t\t\tclass={{\n\t\t\t\t\t\tcheckbox: true,\n\t\t\t\t\t\t[this.state._variant]: true,\n\t\t\t\t\t\t'hide-label': !!this.state._hideLabel,\n\t\t\t\t\t\tchecked: this.state._checked,\n\t\t\t\t\t\tindeterminate: this.state._indeterminate,\n\t\t\t\t\t}}\n\t\t\t\t\tdata-label-align={this.state._labelAlign || 'right'}\n\t\t\t\t\tdata-role={this.state._variant === 'button' ? 'button' : undefined}\n\t\t\t\t\t_accessKey={this.state._accessKey}\n\t\t\t\t\t_alert={this.showAsAlert()}\n\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t_msg={this.state._msg}\n\t\t\t\t\t_hideError={this.state._hideError}\n\t\t\t\t\t_hideLabel={this.state._hideLabel}\n\t\t\t\t\t_hint={this.state._hint}\n\t\t\t\t\t_id={this.state._id}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t_required={this.state._required}\n\t\t\t\t\t_shortKey={this.state._shortKey}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_touched={this.state._touched}\n\t\t\t\t>\n\t\t\t\t\t<span slot=\"label\">\n\t\t\t\t\t\t{hasExpertSlot ? (\n\t\t\t\t\t\t\t<slot name=\"expert\"></slot>\n\t\t\t\t\t\t) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<InternalUnderlinedBadgeText badgeText={buildBadgeTextString(this.state._accessKey, this.state._shortKey)} label={this.state._label} />{' '}\n\t\t\t\t\t\t\t\t<span class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t{buildBadgeTextString(this.state._accessKey || this.state._shortKey)}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\t\t\t\t\t<label slot=\"input\" class=\"checkbox-container\">\n\t\t\t\t\t\t<KolIconTag\n\t\t\t\t\t\t\tclass=\"icon\"\n\t\t\t\t\t\t\t_icons={\n\t\t\t\t\t\t\t\tthis.state._indeterminate ? this.state._icons.indeterminate : this.state._checked ? this.state._icons.checked : this.state._icons.unchecked\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t_label=\"\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={`checkbox-input-element${this.state._variant === 'button' ? ' visually-hidden' : ''}`}\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\ttitle=\"\"\n\t\t\t\t\t\t\taccessKey={this.state._accessKey} // by checkbox?!\n\t\t\t\t\t\t\taria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n\t\t\t\t\t\t\taria-label={this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\t\t\tchecked={this.state._checked}\n\t\t\t\t\t\t\tdisabled={this.state._disabled}\n\t\t\t\t\t\t\tid={this.state._id}\n\t\t\t\t\t\t\tindeterminate={this.state._indeterminate}\n\t\t\t\t\t\t\tname={this.state._name}\n\t\t\t\t\t\t\trequired={this.state._required}\n\t\t\t\t\t\t\ttabIndex={this.state._tabIndex}\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t{...this.controller.onFacade}\n\t\t\t\t\t\t\tonInput={this.onInput}\n\t\t\t\t\t\t\tonChange={this.onChange}\n\t\t\t\t\t\t\tonFocus={(event) => {\n\t\t\t\t\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\t\t\t\t\tthis.inputHasFocus = true;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonBlur={(event) => {\n\t\t\t\t\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\t\t\t\t\tthis.inputHasFocus = false;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonClick={undefined} // onClick is not needed since onChange already triggers the correct event\n\t\t\t\t\t\t/>\n\t\t\t\t\t</label>\n\t\t\t\t</KolInputTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputCheckboxController;\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?: string;\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t * @deprecated Will be removed in v3. Use automatic behaviour instead.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _alert?: boolean;\n\n\t/**\n\t * Defines whether the checkbox is checked or not. Can be read and written.\n\t * @TODO: Change type back to `CheckedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _checked?: 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 `HideErrorPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideError?: boolean = false;\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 * Defines the error message text.\n\t * @deprecated Will be removed in v3. Use `msg` instead.\n\t */\n\t@Prop() public _error?: string;\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?: Stringified<InputCheckboxIconsProp>;\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 * Puts the checkbox in the indeterminate state, does not change the value of _checked.\n\t * @TODO: Change type back to `IndeterminatePropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _indeterminate?: boolean;\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 which alignment should be used for presentation.\n\t */\n\t@Prop() public _labelAlign?: LabelAlignPropType = 'right';\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\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 * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\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({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop() public _value?: Stringified<StencilUnknown> = true;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: InputCheckboxVariant = 'default';\n\n\t@State() public state: InputCheckboxStates = {\n\t\t_checked: false,\n\t\t_hideError: false,\n\t\t_icons: {\n\t\t\tchecked: 'codicon codicon-check',\n\t\t\tindeterminate: 'codicon codicon-remove',\n\t\t\tunchecked: 'codicon codicon-close',\n\t\t},\n\t\t_id: `id-${nonce()}`,\n\t\t_indeterminate: false,\n\t\t_label: '', // ⚠ required\n\t\t_value: true,\n\t\t_variant: 'default',\n\t\t_labelAlign: 'right',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputCheckboxController(this, 'checkbox', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\tif (this.state._alert === undefined) {\n\t\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t\t}\n\t\treturn this.state._alert;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\tthis.controller.validateAlert(value);\n\t}\n\n\t@Watch('_checked')\n\tpublic validateChecked(value?: CheckedPropType): void {\n\t\tthis.controller.validateChecked(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_error')\n\tpublic validateError(value?: string): void {\n\t\tthis.controller.validateError(value);\n\t}\n\n\t@Watch('_hideError')\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tthis.controller.validateHideError(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: Stringified<InputCheckboxIconsProp>): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_indeterminate')\n\tpublic validateIndeterminate(value?: IndeterminatePropType): void {\n\t\tthis.controller.validateIndeterminate(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_labelAlign')\n\tpublic validateLabelAlign(value?: LabelAlignPropType): void {\n\t\tthis.controller.validateLabelAlign(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: Stringified<StencilUnknown>): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: InputCheckboxVariant): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\t}\n\n\tprivate onInput = (event: Event): void => {\n\t\tthis._checked = !this._checked;\n\t\tthis._indeterminate = false;\n\n\t\tconst value = this.getModelValue();\n\n\t\t// Event handling\n\t\ttryToDispatchKoliBriEvent('input', this.host, value);\n\n\t\t// Callback\n\t\tif (typeof this._on?.onInput === 'function') {\n\t\t\tthis._on.onInput(event, value);\n\t\t}\n\t};\n\n\tprivate onChange = (event: Event): void => {\n\t\tconst value = this.getModelValue();\n\n\t\t// Event handling\n\t\t// stopPropagation(event);\n\t\ttryToDispatchKoliBriEvent('change', this.host, value);\n\n\t\t// Static form handling\n\t\t// this.controller.setFormAssociatedValue(value);\n\t\tthis.controller.setFormAssociatedCheckboxValue(value);\n\n\t\t// Callback\n\t\tif (typeof this._on?.onChange === 'function') {\n\t\t\tthis._on.onChange(event, value);\n\t\t}\n\t};\n}\n"],"version":3}
1
+ {"file":"kol-input-checkbox.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBO,MAAM,2BAA2B,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAU;;ACN5E,MAAM,eAAe,GAAG,CAAC,SAAoC,EAAE,KAAuB;IAC5FA,4BAAY,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;;ACFM,MAAM,qBAAqB,GAAG,CAAC,SAAoC,EAAE,KAA6B;IACxGA,4BAAY,CAAC,SAAS,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;;ACbD,MAAM,yBAAyB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAWtD,MAAM,kBAAkB,GAAG,CAAC,SAAoC,EAAE,KAA0B;IAClGC,8BAAc,CACb,SAAS,EACT,aAAa,EACb,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,yBAAyB,CAAC,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CAAC,KAAK,CAAC,CAAC;KACvC;IAGM,aAAa,CAAC,KAAmC;QACvD,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACrC;IAGM,eAAe,CAAC,KAA4B;QAClD,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KACvC;IAEM,iBAAiB;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC;QACvC,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;KACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["watchBoolean","watchValidator","InputCheckboxRadioController","isString","setState","h","KolIconFc","clsx","KolInputFc","checkHasMsg","getRenderStates","convertMsgToInternMsg","KolFormFieldStateWrapperFc","KolFieldControlStateWrapperFc","nonce"],"sources":["src/schema/components/input-checkbox.ts","src/schema/props/checked.ts","src/schema/props/indeterminate.ts","src/schema/props/label-align.ts","src/components/input-checkbox/controller.ts","src/functional-components/inputs/Checkbox/Checkbox.tsx","src/functional-component-wrappers/CheckboxStateWrapper/CheckboxStateWrapper.tsx","src/components/input-checkbox/style.scss?tag=kol-input-checkbox&mode=default&encapsulation=shadow","src/components/input-checkbox/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tMsgPropType,\n\tPropChecked,\n\tPropDisabled,\n\tPropHideMsg,\n\tPropHideLabel,\n\tPropIndeterminate,\n\tPropLabelAlign,\n\tPropLabelWithExpertSlot,\n\tPropMsg,\n\tPropName,\n\tPropRequired,\n\tPropSyncValueBySelector,\n\tPropTouched,\n\tPropShortKey,\n\tPropAccessKey,\n} from '../props';\nimport type { AnyIconFontClass, InputTypeOnDefault, StencilUnknown, Stringified } from '../types';\n\nexport const inputCheckboxVariantOptions = ['button', 'default', 'switch'] as const;\nexport type InputCheckboxVariant = (typeof inputCheckboxVariantOptions)[number];\n\nexport type InputCheckboxIconsProp =\n\t| {\n\t\t\tchecked: AnyIconFontClass;\n\t\t\tindeterminate?: AnyIconFontClass;\n\t\t\tunchecked?: AnyIconFontClass;\n\t }\n\t| {\n\t\t\tchecked?: AnyIconFontClass;\n\t\t\tindeterminate: AnyIconFontClass;\n\t\t\tunchecked?: AnyIconFontClass;\n\t }\n\t| {\n\t\t\tchecked?: AnyIconFontClass;\n\t\t\tindeterminate?: AnyIconFontClass;\n\t\t\tunchecked: AnyIconFontClass;\n\t };\n\nexport type InputCheckboxIconsState = {\n\tchecked: AnyIconFontClass;\n\tindeterminate: AnyIconFontClass;\n\tunchecked: AnyIconFontClass;\n};\n\ntype RequiredProps = PropLabelWithExpertSlot;\ntype OptionalProps = {\n\thint: string;\n\ticons: Stringified<InputCheckboxIconsProp>;\n\tmsg: Stringified<MsgPropType>;\n\ton: InputTypeOnDefault;\n\tvalue: Stringified<StencilUnknown>;\n\tvariant: InputCheckboxVariant;\n} & PropAccessKey &\n\tPropChecked &\n\tPropDisabled &\n\tPropHideMsg &\n\tPropHideLabel &\n\tPropIndeterminate &\n\tPropName &\n\tPropRequired &\n\tPropShortKey &\n\tPropSyncValueBySelector &\n\tPropTouched &\n\tPropLabelAlign;\n\ntype RequiredStates = {\n\ticons: InputCheckboxIconsState;\n\tid: string;\n\tvalue: StencilUnknown;\n\tvariant: InputCheckboxVariant;\n} & PropChecked &\n\tPropHideMsg &\n\tPropIndeterminate &\n\tPropLabelWithExpertSlot;\ntype OptionalStates = {\n\thint: string;\n\ton: InputTypeOnDefault;\n} & PropAccessKey &\n\tPropDisabled &\n\tPropHideLabel &\n\tPropMsg &\n\tPropName &\n\tPropRequired &\n\tPropShortKey &\n\tPropTouched &\n\tPropLabelAlign;\n\nexport type InputCheckboxProps = Generic.Element.Members<RequiredProps, OptionalProps>;\nexport type InputCheckboxStates = Generic.Element.Members<RequiredStates, OptionalStates>;\nexport type InputCheckboxWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\nexport type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type CheckedPropType = boolean;\n\n/**\n * Defines whether the checkbox is checked or not. Can be read and written.\n */\nexport type PropChecked = {\n\tchecked: CheckedPropType;\n};\n\n/* validator */\nexport const validateChecked = (component: Generic.Element.Component, value?: CheckedPropType): void => {\n\twatchBoolean(component, '_checked', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type IndeterminatePropType = boolean;\n\n/**\n * Puts the checkbox in the indeterminate state, does not change the value of _checked.\n */\nexport type PropIndeterminate = {\n\tindeterminate: IndeterminatePropType;\n};\n\n/* validator */\nexport const validateIndeterminate = (component: Generic.Element.Component, value?: IndeterminatePropType): void => {\n\twatchBoolean(component, '_indeterminate', value);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst labelAlignPropTypeOptions = ['left', 'right'] as const;\nexport type LabelAlignPropType = (typeof labelAlignPropTypeOptions)[number];\n\n/**\n * Defines which alignment should be used for presentation.\n */\nexport type PropLabelAlign = {\n\tlabelAlign: LabelAlignPropType;\n};\n\n/* validator */\nexport const validateLabelAlign = (component: Generic.Element.Component, value?: LabelAlignPropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_labelAlign`,\n\t\t(value) => typeof value === 'string' && labelAlignPropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriLabelAlign {${labelAlignPropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type {\n\tCheckedPropType,\n\tIndeterminatePropType,\n\tInputCheckboxIconsProp,\n\tInputCheckboxIconsState,\n\tInputCheckboxProps,\n\tInputCheckboxVariant,\n\tInputCheckboxWatches,\n\tLabelAlignPropType,\n\tStencilUnknown,\n\tStringified,\n} from '../../schema';\nimport { inputCheckboxVariantOptions, isString, setState, validateChecked, validateIndeterminate, validateLabelAlign, watchValidator } from '../../schema';\n\nimport { InputCheckboxRadioController } from '../input-radio/controller';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputCheckboxController extends InputCheckboxRadioController implements InputCheckboxWatches {\n\tprotected readonly component: Generic.Element.Component & InputCheckboxProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputCheckboxProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic readonly setFormAssociatedCheckboxValue = (value: StencilUnknown) => {\n\t\tif (this.component._checked) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t} else {\n\t\t\tthis.setFormAssociatedValue(null);\n\t\t}\n\t};\n\n\tpublic validateChecked(value?: CheckedPropType): void {\n\t\tvalidateChecked(this.component, value);\n\t\tthis.setFormAssociatedCheckboxValue(this.component.state._value as StencilUnknown);\n\t}\n\n\tpublic validateIcons(value?: Stringified<InputCheckboxIconsProp>): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\treturn typeof value === 'object' && value !== null && (isString(value.checked, 1) || isString(value.indeterminate, 1) || isString(value.unchecked, 1));\n\t\t\t},\n\t\t\tnew Set(['InputCheckboxIcons']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (nextValue: unknown, nextState: Map<string, unknown>, component: Generic.Element.Component) => {\n\t\t\t\t\t\tnextState.set('_icons', {\n\t\t\t\t\t\t\t...(component.state._icons as InputCheckboxIconsState),\n\t\t\t\t\t\t\t...(nextValue as InputCheckboxIconsProp),\n\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t}\n\n\tpublic validateIndeterminate(value?: IndeterminatePropType): void {\n\t\tvalidateIndeterminate(this.component, value);\n\t}\n\n\tpublic validateLabelAlign(value?: LabelAlignPropType): void {\n\t\tvalidateLabelAlign(this.component, value);\n\t}\n\n\tpublic validateValue(value?: Stringified<StencilUnknown>): void {\n\t\tsetState(this.component, '_value', value);\n\t\tthis.setFormAssociatedCheckboxValue(this.component.state._value as StencilUnknown);\n\t}\n\n\tpublic validateVariant(value?: InputCheckboxVariant): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_variant',\n\t\t\t(value): boolean => typeof value === 'string' && inputCheckboxVariantOptions.includes(value),\n\t\t\tnew Set([`String {${inputCheckboxVariantOptions.join(', ')}`]),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateChecked(this.component._checked);\n\t\tthis.validateIcons(this.component._icons);\n\t\tthis.validateIndeterminate(this.component._indeterminate);\n\t\tthis.validateValue(this.component._value);\n\t\tthis.validateVariant(this.component._variant);\n\t\tthis.validateLabelAlign(this.component._labelAlign);\n\t}\n}\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport KolIconFc, { type IconProps } from '../../Icon';\nimport KolInputFc, { type InputProps } from '../Input';\nimport { checkHasMsg } from '../../../schema';\n\nexport type CheckboxProps = JSXBase.HTMLAttributes<HTMLLabelElement> & {\n\ticon: string;\n\tvariant?: 'default' | 'button' | 'switch';\n\tinputProps: InputProps;\n};\n\nconst IconWrapperFc: FC<IconProps> = ({ class: classNames, ...other }) => {\n\treturn <KolIconFc class={clsx('kol-checkbox__icon', classNames)} {...other} />;\n};\n\nconst InputWrapperFc: FC<InputProps> = ({ class: classNames, ...other }) => {\n\treturn <KolInputFc class={clsx('kol-checkbox__input', classNames)} {...other} type=\"checkbox\" />;\n};\n\nconst CheckboxFc: FC<CheckboxProps> = ({ class: classNames, variant = 'default', icon, inputProps, ...other }) => {\n\tconst showMsg = checkHasMsg(inputProps?.msg, inputProps?.touched);\n\n\tconst cssVariants = {\n\t\t[`kol-checkbox--variant-${variant}`]: true,\n\t\t[`kol-checkbox--checked`]: inputProps?.checked,\n\t\t[`kol-checkbox--indeterminate`]: inputProps?.indeterminate,\n\t\t['kol-checkbox--disabled']: Boolean(inputProps?.disabled),\n\t\t['kol-checkbox--required']: Boolean(inputProps?.required),\n\t\t['kol-checkbox--touched']: Boolean(inputProps?.touched),\n\t\t[`kol-checkbox--${inputProps?.msg?.type || 'error'}`]: Boolean(showMsg),\n\t};\n\n\treturn (\n\t\t// eslint-disable-next-line jsx-a11y/label-has-associated-control\n\t\t<label class={clsx('kol-checkbox', cssVariants, classNames)} {...other}>\n\t\t\t<IconWrapperFc label=\"\" icons={icon} />\n\t\t\t<InputWrapperFc {...inputProps} />\n\t\t</label>\n\t);\n};\nexport default CheckboxFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolCheckboxFc, { type CheckboxProps } from '../../functional-components/inputs/Checkbox';\nimport { type InputProps } from '../../functional-components/inputs/Input';\n\nimport { type InputCheckboxStates, convertMsgToInternMsg } from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\n\nexport type CheckboxStateWrapperProps = Omit<CheckboxProps, 'inputProps'> & {\n\tstate: InputCheckboxStates;\n\tinputProps?: Partial<InputProps>;\n};\n\nfunction getCheckboxProps(state: InputCheckboxStates, inputProps: Partial<InputProps> = {}): 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\tvalue: state._value as string | number | string[],\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 ('_required' in state) props.required = state._required;\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\treturn { ...props, ...inputProps };\n}\n\nconst CheckboxStateWrapper: FC<CheckboxStateWrapperProps> = ({ state, inputProps, ...other }) => {\n\tconst variant = state?._variant || 'default';\n\n\treturn <KolCheckboxFc variant={variant} inputProps={getCheckboxProps(state, inputProps)} {...other} />;\n};\n\nexport default CheckboxStateWrapper;\n","@use '../../styles/global' as *;\n@use '../../styles/kol-field-control-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../@shared/mixins' as *;\n@use '../host-display-block' as *;\n@use '../tooltip/style' as *;\n\n@include kol-form-field;\n@include kol-field-control;\n\n@layer kol-component {\n\t$root: '.kol-checkbox';\n\n\t.kol-form-field {\n\t\tdisplay: grid;\n\t}\n\n\t#{$root} {\n\t\talign-items: center;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tposition: relative;\n\n\t\t&--disabled {\n\t\t\tcursor: not-allowed;\n\t\t}\n\n\t\t.kol-input {\n\t\t\tappearance: none;\n\t\t\tbackground-color: #fff;\n\t\t\tborder-style: solid;\n\t\t\tborder-width: 2px;\n\t\t\tcursor: inherit;\n\t\t\tfont-size: rem(16);\n\t\t\tmargin: 0;\n\t\t\ttransition: 0.5s;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Variant: Checkbox\n\t */\n\t#{$root}--variant-default {\n\t\theight: var(--a11y-min-size);\n\t\tjustify-content: center;\n\t\tposition: relative;\n\t\twidth: var(--a11y-min-size);\n\n\t\t.kol-icon {\n\t\t\tdisplay: flex;\n\t\t\tinset: auto;\n\t\t\tposition: absolute;\n\t\t\tz-index: 1;\n\t\t\tpointer-events: none;\n\n\t\t\t&::part(icon) {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\n\t\t.kol-input {\n\t\t\twidth: rem(22);\n\t\t\theight: rem(22);\n\t\t}\n\n\t\t&#{$root}--checked,\n\t\t&#{$root}--indeterminate {\n\t\t\t.kol-icon::part(icon) {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Variant: Switch\n\t */\n\t#{$root}--variant-switch {\n\t\tposition: relative;\n\n\t\t.kol-input {\n\t\t\tdisplay: inline-block;\n\t\t\theight: 1.7em;\n\t\t\tmin-width: 3.2em;\n\t\t\tposition: relative;\n\t\t\twidth: 3.2em;\n\n\t\t\t&::before {\n\t\t\t\tbackground-color: #000;\n\t\t\t\theight: 1.2em;\n\t\t\t\tleft: calc(0.25em - rem(2));\n\t\t\t\ttop: calc(0.25em - rem(2));\n\t\t\t\tposition: absolute;\n\t\t\t\ttransition: 0.5s;\n\t\t\t\twidth: 1.2em;\n\t\t\t}\n\n\t\t\t&:checked::before {\n\t\t\t\ttransform: translateX(1.5em);\n\t\t\t}\n\n\t\t\t&:indeterminate::before {\n\t\t\t\ttransform: translateX(0.75em);\n\t\t\t}\n\t\t}\n\n\t\t.kol-icon {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 1.2em;\n\t\t\theight: 1.2em;\n\t\t\tposition: absolute;\n\t\t\tz-index: 1;\n\t\t\ttop: 50%;\n\t\t\tleft: rem(4);\n\t\t\ttransform: translate(0, -50%);\n\t\t\ttransition: 0.5s;\n\t\t\tcolor: #000;\n\t\t}\n\n\t\t&#{$root}--checked .kol-icon {\n\t\t\ttransform: translate(1.5em, -50%);\n\t\t}\n\n\t\t&#{$root}--indeterminate .kol-icon {\n\t\t\ttransform: translate(0.75em, -50%);\n\t\t}\n\t}\n\n\t/**\n\t * Variant: Button\n\t */\n\t#{$root}--variant-button {\n\t\twidth: var(--a11y-min-size);\n\n\t\t.kol-icon {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: var(--a11y-min-size);\n\t\t\theight: var(--a11y-min-size);\n\t\t}\n\t}\n}\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tCheckedPropType,\n\tFocusableElement,\n\tHideMsgPropType,\n\tIdPropType,\n\tIndeterminatePropType,\n\tInputCheckboxAPI,\n\tInputCheckboxIconsProp,\n\tInputCheckboxStates,\n\tInputCheckboxVariant,\n\tInputTypeOnDefault,\n\tLabelAlignPropType,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { InputCheckboxController } from './controller';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper';\nimport KolFieldControlStateWrapperFc, { type FieldControlStateWrapperProps } from '../../functional-component-wrappers/FieldControlStateWrapper';\nimport KolCheckboxStateWrapperFc, { type CheckboxStateWrapperProps } from '../../functional-component-wrappers/CheckboxStateWrapper';\n\n/**\n * @slot expert - Checkbox description.\n */\n@Component({\n\ttag: 'kol-input-checkbox',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputCheckbox implements InputCheckboxAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputCheckboxElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\tprivate getModelValue(): StencilUnknown {\n\t\treturn this._checked ? this.state._value : null;\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown> {\n\t\treturn this.getModelValue();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-checkbox', {\n\t\t\t\t[`kol-input-checkbox--checked`]: this.state._checked,\n\t\t\t\t[`kol-input-checkbox--indeterminate`]: this.state._indeterminate,\n\t\t\t\t[`kol-input-checkbox--variant-${this.state._variant || 'default'}`]: true,\n\t\t\t\t[`kol-input-checkbox--label-align-${this.state._labelAlign || 'right'}`]: true,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\t'data-role': this.state._variant === 'button' ? 'button' : undefined,\n\t\t\talert: this.showAsAlert(),\n\t\t\trenderNoTooltip: true,\n\t\t};\n\t}\n\n\tprivate getFieldControlProps(): FieldControlStateWrapperProps {\n\t\treturn {\n\t\t\tclass: clsx('kol-input-checkbox__field-control', {\n\t\t\t\t[`kol-input-checkbox__field-control--checked`]: this.state._checked,\n\t\t\t\t[`kol-input-checkbox__field-control--indeterminate`]: this.state._indeterminate,\n\t\t\t\t[`kol-input-checkbox__field-control--variant-${this.state._variant || 'default'}`]: true,\n\t\t\t}),\n\t\t\tstate: this.state,\n\t\t};\n\t}\n\n\tprivate getInputProps(): CheckboxStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\ticon: this.getIcon(),\n\t\t\tinputProps: {\n\t\t\t\tclass: clsx({\n\t\t\t\t\t'visually-hidden': this.state._variant === 'button',\n\t\t\t\t}),\n\t\t\t\tref: this.catchRef,\n\t\t\t\t...this.controller.onFacade,\n\t\t\t\tonInput: this.onInput,\n\t\t\t\tonChange: this.onChange,\n\t\t\t\tonFocus: (event: Event) => {\n\t\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\t\tthis.inputHasFocus = true;\n\t\t\t\t},\n\t\t\t\tonBlur: (event: Event) => {\n\t\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\t\tthis.inputHasFocus = false;\n\t\t\t\t},\n\t\t\t\tonClick: undefined, // onClick is not needed since onChange already triggers the correct event\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate getIcon(): string {\n\t\tif (this.state._indeterminate) return this.state._icons.indeterminate;\n\t\tif (this.state._checked) return this.state._icons.checked;\n\t\treturn this.state._icons.unchecked;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()} renderNoLabel>\n\t\t\t\t<KolFieldControlStateWrapperFc {...this.getFieldControlProps()} renderNoHint>\n\t\t\t\t\t<KolCheckboxStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolFieldControlStateWrapperFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputCheckboxController;\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?: string;\n\n\t/**\n\t * Defines whether the checkbox is checked or not. Can be read and written.\n\t * @TODO: Change type back to `CheckedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _checked?: 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({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\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 * 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?: Stringified<InputCheckboxIconsProp>;\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 * Puts the checkbox in the indeterminate state, does not change the value of _checked.\n\t * @TODO: Change type back to `IndeterminatePropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _indeterminate?: boolean;\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 which alignment should be used for presentation.\n\t */\n\t@Prop() public _labelAlign?: LabelAlignPropType = 'right';\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\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 * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\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({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop() public _value?: Stringified<StencilUnknown> = true;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: InputCheckboxVariant = 'default';\n\n\t@State() public state: InputCheckboxStates = {\n\t\t_checked: false,\n\t\t_hideMsg: false,\n\t\t_icons: {\n\t\t\tchecked: 'codicon codicon-check',\n\t\t\tindeterminate: 'codicon codicon-remove',\n\t\t\tunchecked: 'codicon codicon-close',\n\t\t},\n\t\t_id: `id-${nonce()}`,\n\t\t_indeterminate: false,\n\t\t_label: '', // ⚠ required\n\t\t_value: true,\n\t\t_variant: 'default',\n\t\t_labelAlign: 'right',\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputCheckboxController(this, 'checkbox', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_checked')\n\tpublic validateChecked(value?: CheckedPropType): void {\n\t\tthis.controller.validateChecked(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: Stringified<InputCheckboxIconsProp>): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_indeterminate')\n\tpublic validateIndeterminate(value?: IndeterminatePropType): void {\n\t\tthis.controller.validateIndeterminate(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_labelAlign')\n\tpublic validateLabelAlign(value?: LabelAlignPropType): void {\n\t\tthis.controller.validateLabelAlign(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: Stringified<StencilUnknown>): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: InputCheckboxVariant): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\t}\n\n\tprivate onInput = (event: Event): void => {\n\t\tthis._checked = !this._checked;\n\t\tthis._indeterminate = false;\n\n\t\tconst value = this.getModelValue();\n\t\tthis.controller.onFacade.onInput(event, false, value);\n\t\tthis.controller.setFormAssociatedCheckboxValue(value);\n\t};\n\n\tprivate onChange = (event: Event): void => {\n\t\tthis.controller.onFacade.onChange(event, this.getModelValue());\n\t};\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-cb5cbda1.js"),componentNames=require("./component-names-2c750b1b.js"),dev_utils=require("./dev.utils-17f58b75.js"),controller=require("./controller-8d407dee.js"),InternalUnderlinedBadgeText=require("./InternalUnderlinedBadgeText-5bf32805.js"),controllerIcon=require("./controller-icon-a88486d3.js"),suggestions=require("./suggestions-eccef9c3.js"),prop_validators=require("./prop.validators-3c86f8eb.js"),reuse=require("./reuse-8cfefa9b.js");require("./dev.utils-58fde089.js"),require("./events-221fcb43.js"),require("./associated.controller-2005f7f0.js"),require("./access-and-short-key-6155af7d.js"),require("./hide-label-a9a94f19.js"),require("./label-3ce275fe.js"),require("./common-1ab929ac.js"),require("./tooltip-align-5aee86e8.js"),require("./align-a9f24187.js"),require("./icons-cfdc392f.js"),require("./index-c77a4142.js");const inputTypeOnOffOptions=["on","off"];class InputColorController extends controllerIcon.InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateAutoComplete(e){prop_validators.watchValidator(this.component,"_autoComplete",(e=>"string"==typeof e&&inputTypeOnOffOptions.includes(e)),new Set(inputTypeOnOffOptions),e)}validateSuggestions(e){suggestions.validateSuggestions(this.component,e)}validateValue(e){prop_validators.watchString(this.component,"_value",e),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateSuggestions(this.component._suggestions),this.validateValue(this.component._value)}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip-wc {\n display: contents;\n }\n .kol-tooltip-wc .tooltip-floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n /* Shared between content and arrow */\n .kol-tooltip-wc .tooltip-area {\n background-color: #fff;\n color: #000;\n }\n .kol-tooltip-wc .tooltip-arrow {\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip-wc .tooltip-content {\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n option,\n select,\n textarea {\n background-color: transparent;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n overflow: hidden;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n overflow: hidden;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n align-items: center;\n background-color: white;\n cursor: pointer;\n display: flex;\n }\n button:not([role=link]) {\n min-height: auto;\n }\n .input > .kol-icon {\n display: grid;\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}",KolInputColorDefaultStyle0=defaultStyleCss,KolInputColor=class{async getValue(){var e;return null===(e=this.inputRef)||void 0===e?void 0:e.value}async focus(){await this.kolFocus()}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}render(){const{ariaDescribedBy:e}=controller.getRenderStates(this.state),t=Array.isArray(this.state._suggestions)&&this.state._suggestions.length>0,n=reuse.showExpertSlot(this.state._label);return index.h(index.Host,{key:"476eb37b3da86f7369b715d5e67675886f405cf1",class:"kol-input-color"},index.h(componentNames.KolInputTag,{key:"3613ef4b027ed2be05674182282c581eb4094e2c",class:{color:!0,"hide-label":!!this.state._hideLabel},_accessKey:this.state._accessKey,_alert:this.showAsAlert(),_disabled:this.state._disabled,_msg:this.state._msg,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_hideError:this.state._hideError,_id:this.state._id,_label:this.state._label,_shortKey:this.state._shortKey,_suggestions:this.state._suggestions,_smartButton:this.state._smartButton,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched,onClick:()=>{var e;return null===(e=this.inputRef)||void 0===e?void 0:e.focus()},role:"presentation"},index.h("span",{key:"f71443b94412cbc0f61a878340992fe426ce10c6",slot:"label"},n?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey||"string"==typeof this.state._shortKey?index.h(index.Fragment,null,index.h(InternalUnderlinedBadgeText.InternalUnderlinedBadgeText,{badgeText:reuse.buildBadgeTextString(this.state._accessKey,this.state._shortKey),label:this.state._label})," ",index.h("span",{class:"badge-text-hint","aria-hidden":"true"},reuse.buildBadgeTextString(this.state._accessKey,this.state._shortKey))):index.h("span",null,this.state._label)),index.h("div",{key:"13a3651744af92d2d88f71c6d505b7b6b6254f55",slot:"input"},index.h("input",Object.assign({key:"4073d1f5ac2b6701f4df53a63ea477cdfe6a17ff",ref:this.catchRef,title:"",accessKey:this.state._accessKey,"aria-describedby":e.length>0?e.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,autoCapitalize:"off",autoComplete:this.state._autoComplete,autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,list:t?`${this.state._id}-list`:void 0,name:this.state._name,slot:"input",type:"color",value:this.state._value},this.controller.onFacade,{onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1}})))))}constructor(e){index.registerInstance(this,e),this.catchRef=e=>{this.inputRef=e},this._accessKey=void 0,this._alert=void 0,this._autoComplete=void 0,this._disabled=!1,this._error=void 0,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_autoComplete:"off",_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[]},this.inputHasFocus=!1,this.controller=new InputColorController(this,"color",this.host)}showAsAlert(){return void 0===this.state._alert?Boolean(this.state._touched)&&!this.inputHasFocus:this.state._alert}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAlert(e){this.controller.validateAlert(e)}validateAutoComplete(e){this.controller.validateAutoComplete(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateError(e){this.controller.validateError(e)}validateHideError(e){this.controller.validateHideError(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSmartButton(e){this.controller.validateSmartButton(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_alert:["validateAlert"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_error:["validateError"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputColor.style={default:KolInputColorDefaultStyle0},exports.kol_input_color=KolInputColor;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-daa20b89.js"),tslib_es6=require("./tslib.es6-5e301284.js"),dev_utils=require("./dev.utils-c01ed0db.js"),controllerIcon=require("./controller-icon-26a0c9bf.js"),suggestions=require("./suggestions-cc7f7d12.js"),prop_validators=require("./prop.validators-e984090f.js"),InputStateWrapper=require("./InputStateWrapper-6b2effff.js"),getRenderStates=require("./getRenderStates-528714f9.js");require("./reuse-8650ea4e.js"),require("./dev.utils-58fde089.js"),require("./InternalUnderlinedBadgeText-ec26f7f6.js"),require("./isArray-e114fe6e.js"),require("./isObject-6090b636.js"),require("./component-names-82c4d68d.js"),require("./Icon-fd91b30e.js"),require("./clsx-dd4d6dd1.js"),require("./icons-a86d96c3.js"),require("./common-1ab929ac.js"),require("./index-58ac5907.js"),require("./Input-ffc26107.js"),require("./events-40771c95.js"),require("./associated.controller-9b900f21.js"),require("./access-and-short-key-c9b6eca5.js"),require("./tooltip-align-83772c00.js"),require("./align-93a03292.js"),require("./hide-label-6a0e93be.js"),require("./label-ab57738c.js"),require("./Alert-fe32c539.js"),require("./i18n-0e710ccd.js"),require("./i18n-8c288a27.js"),require("./bem-85316256.js"),require("./browser-4433089a.js"),require("./Heading-34ee96af.js");const inputTypeOnOffOptions=["on","off"];class InputColorController extends controllerIcon.InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateAutoComplete(e){prop_validators.watchValidator(this.component,"_autoComplete",(e=>"string"==typeof e&&inputTypeOnOffOptions.includes(e)),new Set(inputTypeOnOffOptions),e)}validateSuggestions(e){suggestions.validateSuggestions(this.component,e)}validateValue(e){prop_validators.watchString(this.component,"_value",e),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateSuggestions(this.component._suggestions),this.validateValue(this.component._value)}}const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n.kol-input-color__input--color {\n flex-grow: 1;\n}\n.kol-input-color__input--text {\n width: calc(112rem / var(--kolibri-root-font-size, 16));\n}\n.kol-input-color__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: calc(6rem / var(--kolibri-root-font-size, 16)) !important;\n}\n\n.kol-input {\n cursor: pointer;\n}\n.kol-input:disabled {\n cursor: not-allowed;\n}",KolInputColorDefaultStyle0=defaultStyleCss,KolInputColor=class{async getValue(){var e;return null===(e=this.refInputText)||void 0===e?void 0:e.value}async kolFocus(){var e;null===(e=this.refInputText)||void 0===e||e.focus()}get hasSuggestions(){return Array.isArray(this.state._suggestions)&&this.state._suggestions.length>0}getFormFieldProps(){return{state:this.state,class:"kol-input-color",tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.refInputText)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getInputColorProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchColorRef,type:"color",name:this.state._name?`${this.state._name}-color`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,id:void 0,"aria-hidden":"true",tabIndex:-1,onInput:this.onColorInput})}getInputTextProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchRef,type:"text",name:this.state._name?`${this.state._name}-text`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,onInput:this.onTextInput})}getGenericInputProps(){const e=this.state,t=tslib_es6.__rest(e,["_suggestions"]);return Object.assign(Object.assign({state:Object.assign(Object.assign({},t),{_suggestions:[]})},this.controller.onFacade),{onBlur:this.onBlur,onFocus:this.onFocus})}render(){return index.h(getRenderStates.KolFormFieldStateWrapperFc,Object.assign({key:"4618fa8ab667bdc8d8418ddb9a5612298c70a52f"},this.getFormFieldProps()),index.h(controllerIcon.KolInputContainerFc,{key:"fe5ab536ae149d533ca24d048722def43b9414c8",state:this.state,class:"kol-input-color__inputs-wrapper"},index.h("div",{key:"5152e937fb33845d08374862d90487b507132edf",class:"kol-input-color__inputs-wrapper"},index.h(InputStateWrapper.KolInputStateWrapperFc,Object.assign({key:"4f256a72a9b3f45c4153a63a6c865ff5e5d50bfb",class:"kol-input-color__input kol-input-color__input--color"},this.getInputColorProps())),index.h(InputStateWrapper.KolInputStateWrapperFc,Object.assign({key:"bb9edc748af69658ba7082624c75ff0c05527415",class:"kol-input-color__input kol-input-color__input--text"},this.getInputTextProps())))))}constructor(e){index.registerInstance(this,e),this.catchRef=e=>{this.refInputText=e},this.catchColorRef=e=>{this.refInputColor=e},this.onBlur=e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1},this.onFocus=e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},this.onColorInput=e=>{const t=e.target.value;this.state._value=t,this.refInputText&&(this.refInputText.value=t),this.controller.onFacade.onInput(e)},this.onTextInput=e=>{let t=e.target.value;t.startsWith("#")||(t=`#${t}`),this._value=t,this.refInputColor&&(this.refInputColor.value=t),this.controller.onFacade.onInput(e)},this._accessKey=void 0,this._autoComplete=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_autoComplete:"off",_hideMsg:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[]},this.inputHasFocus=!1,this.controller=new InputColorController(this,"color",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAutoComplete(e){this.controller.validateAutoComplete(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSmartButton(e){this.controller.validateSmartButton(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}componentDidLoad(){!this._value&&this.refInputColor&&(this._value=this.refInputColor.value)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputColor.style={default:KolInputColorDefaultStyle0},exports.kol_input_color=KolInputColor;
@@ -1 +1 @@
1
- {"file":"kol-input-color.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,KAAK,CAAU;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AAK,CAAC,CAAC;KACrC;IAGM,WAAW,CAAC,KAAgC;QAClD,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KACnC;IAGM,YAAY,CAAC,KAAc;QACjC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;KACpC;IAGM,UAAU,CAAC,KAA0B;QAC3C,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;KAClC;IAGM,gBAAgB,CAAC,KAAwB;QAC/C,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KACxC;IAGM,mBAAmB,CAAC,KAA4B;QACtD,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KAC3C;IAGM,mBAAmB,CAAC,KAA2B;QACrD,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;KAC3C;IAGM,2BAA2B,CAAC,KAAmC;QACrE,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;KACnD;IAGM,gBAAgB,CAAC,KAAc;QACrC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KACxC;IAGM,eAAe,CAAC,KAAe;QACrC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KACvC;IAGM,aAAa,CAAC,KAAc;QAClC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACrC;IAEM,iBAAiB;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC;QACvC,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;KACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["InputIconController","watchValidator","validateSuggestions","watchString","getRenderStates","showExpertSlot","h","Host","KolInputTag","InternalUnderlinedBadgeText","buildBadgeTextString","nonce"],"sources":["src/schema/types/input/types.ts","src/components/input-color/controller.ts","src/components/input-color/style.scss?tag=kol-input-color&mode=default&encapsulation=shadow","src/components/input-color/shadow.tsx"],"sourcesContent":["import type { EventCallback, EventValueOrEventCallback } from '../callbacks';\nimport type { Events } from '../../enums';\n\nexport const inputTypeOnOffOptions = ['on', 'off'] as const;\nexport type InputTypeOnOff = (typeof inputTypeOnOffOptions)[number];\n\ntype InputTypeOnBlur = {\n\t[Events.onBlur]?: EventCallback<Event>;\n};\n\ntype InputTypeOnClick = {\n\t[Events.onClick]?: EventCallback<Event>;\n};\n\ntype InputTypeOnChange = {\n\t[Events.onChange]?: EventValueOrEventCallback<Event, unknown>;\n};\n\ntype InputTypeOnFocus = {\n\t[Events.onFocus]?: EventCallback<Event>;\n};\n\ntype InputTypeOnInput = {\n\t[Events.onInput]?: EventValueOrEventCallback<Event, unknown>;\n};\n\n// https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element\nexport type Option<T> = {\n\tdisabled?: boolean;\n\tlabel: string | number;\n\t// selected?: boolean; // wird über den value der *-Komponente gesteuert\n\tvalue: T;\n};\nexport type RadioOption<T> = Option<T> & {\n\thint?: string;\n};\nexport type Optgroup<T> = {\n\tdisabled?: boolean;\n\tlabel: string;\n\toptions: Option<T>[];\n};\n\nexport type SelectOption<T> = Option<T> | Optgroup<T> | RadioOption<T>;\n\nexport type InputTypeOnDefault = InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus & InputTypeOnInput;\n","import type { InputColorProps, InputColorWatches, InputTypeOnOff, SuggestionsPropType } from '../../schema';\nimport { inputTypeOnOffOptions, validateSuggestions, watchString, watchValidator } from '../../schema';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputColorController extends InputIconController implements InputColorWatches {\n\tprotected readonly component: Generic.Element.Component & InputColorProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputColorProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_autoComplete',\n\t\t\t(value): boolean => typeof value === 'string' && inputTypeOnOffOptions.includes(value),\n\t\t\tnew Set(inputTypeOnOffOptions),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../style' as *;\n@use '../input-line' as *;\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, Fragment, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tButtonProps,\n\tFocusableElement,\n\tHideErrorPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputColorAPI,\n\tInputColorStates,\n\tInputTypeOnDefault,\n\tInputTypeOnOff,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { buildBadgeTextString, showExpertSlot } from '../../schema';\n\nimport { KolInputTag } from '../../core/component-names';\nimport { nonce } from '../../utils/dev.utils';\nimport { getRenderStates } from '../input/controller';\nimport { InternalUnderlinedBadgeText } from '../span/InternalUnderlinedBadgeText';\nimport { InputColorController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-color',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputColor implements InputColorAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputColorElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.inputRef?.value;\n\t}\n\n\t/**\n\t * @deprecated Use kolFocus instead.\n\t */\n\t@Method()\n\tpublic async focus() {\n\t\tawait this.kolFocus();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { ariaDescribedBy } = getRenderStates(this.state);\n\t\tconst hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\n\t\treturn (\n\t\t\t<Host class=\"kol-input-color\">\n\t\t\t\t<KolInputTag\n\t\t\t\t\tclass={{\n\t\t\t\t\t\tcolor: true,\n\t\t\t\t\t\t'hide-label': !!this.state._hideLabel,\n\t\t\t\t\t}}\n\t\t\t\t\t_accessKey={this.state._accessKey}\n\t\t\t\t\t_alert={this.showAsAlert()}\n\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t_msg={this.state._msg}\n\t\t\t\t\t_hideLabel={this.state._hideLabel}\n\t\t\t\t\t_hint={this.state._hint}\n\t\t\t\t\t_icons={this.state._icons}\n\t\t\t\t\t_hideError={this.state._hideError}\n\t\t\t\t\t_id={this.state._id}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t_shortKey={this.state._shortKey}\n\t\t\t\t\t_suggestions={this.state._suggestions}\n\t\t\t\t\t_smartButton={this.state._smartButton}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_touched={this.state._touched}\n\t\t\t\t\tonClick={() => this.inputRef?.focus()}\n\t\t\t\t\trole={`presentation` /* Avoid element being read as 'clickable' in NVDA */}\n\t\t\t\t>\n\t\t\t\t\t<span slot=\"label\">\n\t\t\t\t\t\t{hasExpertSlot ? (\n\t\t\t\t\t\t\t<slot name=\"expert\"></slot>\n\t\t\t\t\t\t) : typeof this.state._accessKey === 'string' || typeof this.state._shortKey === 'string' ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<InternalUnderlinedBadgeText badgeText={buildBadgeTextString(this.state._accessKey, this.state._shortKey)} label={this.state._label} />{' '}\n\t\t\t\t\t\t\t\t<span class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t{buildBadgeTextString(this.state._accessKey, this.state._shortKey)}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\t\t\t\t\t<div slot=\"input\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\ttitle=\"\"\n\t\t\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\t\t\taria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n\t\t\t\t\t\t\taria-label={this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\t\t\tautoCapitalize=\"off\"\n\t\t\t\t\t\t\tautoComplete={this.state._autoComplete}\n\t\t\t\t\t\t\tautoCorrect=\"off\"\n\t\t\t\t\t\t\tdisabled={this.state._disabled}\n\t\t\t\t\t\t\tid={this.state._id}\n\t\t\t\t\t\t\tlist={hasSuggestions ? `${this.state._id}-list` : undefined}\n\t\t\t\t\t\t\tname={this.state._name}\n\t\t\t\t\t\t\tslot=\"input\"\n\t\t\t\t\t\t\ttype=\"color\"\n\t\t\t\t\t\t\tvalue={this.state._value as string}\n\t\t\t\t\t\t\t{...this.controller.onFacade}\n\t\t\t\t\t\t\tonFocus={(event) => {\n\t\t\t\t\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\t\t\t\t\tthis.inputHasFocus = true;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonBlur={(event) => {\n\t\t\t\t\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\t\t\t\t\tthis.inputHasFocus = false;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</KolInputTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputColorController;\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?: string;\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t * @deprecated Will be removed in v3. Use automatic behaviour instead.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _alert?: boolean;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: InputTypeOnOff;\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 * Defines the error message text.\n\t * @deprecated Will be removed in v3. Use `msg` instead.\n\t */\n\t@Prop() public _error?: string;\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 `HideErrorPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideError?: 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?: IconsHorizontalPropType;\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 properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\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 * 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 * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\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({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop() public _value?: string;\n\n\t@State() public state: InputColorStates = {\n\t\t_autoComplete: 'off',\n\t\t_hideError: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputColorController(this, 'color', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\tif (this.state._alert === undefined) {\n\t\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t\t}\n\t\treturn this.state._alert;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\tthis.controller.validateAlert(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_error')\n\tpublic validateError(value?: string): void {\n\t\tthis.controller.validateError(value);\n\t}\n\n\t@Watch('_hideError')\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tthis.controller.validateHideError(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\t}\n}\n"],"version":3}
1
+ {"file":"kol-input-color.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,KAAK,CAAU;;MCG9C,oBAAqB,SAAQA,kCAAmB;IAG5D,YAAmB,SAAsD,EAAE,IAAY,EAAE,IAAkB;QAC1G,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC3B;IAEM,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,CAAC,UAAU,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;KACnD;IAGM,eAAe,CAAC,KAAe;QACrC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KACvC;IAGM,aAAa,CAAC,KAAc;QAClC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACrC;IAEM,gBAAgB;QACtB,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,aAAa,EAAE;YACvC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC;SACvC;KACD;IAEM,iBAAiB;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC;QACvC,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;KACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["InputIconController","watchValidator","validateSuggestions","watchString","h","KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc","nonce"],"sources":["src/schema/types/input/types.ts","src/components/input-color/controller.ts","src/components/input-color/style.scss?tag=kol-input-color&mode=default&encapsulation=shadow","src/components/input-color/shadow.tsx"],"sourcesContent":["import type { EventCallback, EventValueOrEventCallback } from '../callbacks';\nimport type { Callback } from '../../enums';\n\nexport const inputTypeOnOffOptions = ['on', 'off'] as const;\nexport type InputTypeOnOff = (typeof inputTypeOnOffOptions)[number];\n\ntype InputTypeOnBlur = {\n\t[Callback.onBlur]?: EventCallback<Event>;\n};\n\ntype InputTypeOnClick = {\n\t[Callback.onClick]?: EventCallback<Event>;\n};\n\ntype InputTypeOnChange = {\n\t[Callback.onChange]?: EventValueOrEventCallback<Event, unknown>;\n};\n\ntype InputTypeOnFocus = {\n\t[Callback.onFocus]?: EventCallback<Event>;\n};\n\ntype InputTypeOnInput = {\n\t[Callback.onInput]?: EventValueOrEventCallback<Event, unknown>;\n};\n\n// https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element\nexport type Option<T> = {\n\tdisabled?: boolean;\n\tlabel: string | number;\n\t// selected?: boolean; // wird über den value der *-Komponente gesteuert\n\tvalue: T;\n};\nexport type RadioOption<T> = Option<T> & {\n\thint?: string;\n};\nexport type Optgroup<T> = {\n\tdisabled?: boolean;\n\tlabel: string;\n\toptions: Option<T>[];\n};\n\nexport type SelectOption<T> = Option<T> | Optgroup<T> | RadioOption<T>;\n\nexport type InputTypeOnDefault = InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus & InputTypeOnInput;\n","import type { InputColorProps, InputColorWatches, InputTypeOnOff, SuggestionsPropType } from '../../schema';\nimport { inputTypeOnOffOptions, validateSuggestions, watchString, watchValidator } from '../../schema';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputColorController extends InputIconController implements InputColorWatches {\n\tprotected readonly component: Generic.Element.Component & InputColorProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputColorProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_autoComplete',\n\t\t\t(value): boolean => typeof value === 'string' && inputTypeOnOffOptions.includes(value),\n\t\t\tnew Set(inputTypeOnOffOptions),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@include kol-alert;\n@include kol-form-field;\n@include kol-input-container;\n@include kol-input;\n\n.kol-input-color {\n\t&__input {\n\t\t&--color {\n\t\t\tflex-grow: 1;\n\t\t}\n\n\t\t&--text {\n\t\t\twidth: rem(112);\n\t\t}\n\t}\n\n\t&__inputs-wrapper {\n\t\talign-items: center;\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\tgap: rem(6) !important;\n\t}\n}\n\n.kol-input {\n\tcursor: pointer;\n\n\t&:disabled {\n\t\tcursor: not-allowed;\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tButtonProps,\n\tFocusableElement,\n\tHideMsgPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputColorAPI,\n\tInputColorStates,\n\tInputTypeOnDefault,\n\tInputTypeOnOff,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport { nonce } from '../../utils/dev.utils';\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper';\nimport { InputColorController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-color',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputColor implements InputColorAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputColorElement;\n\tprivate refInputText?: HTMLInputElement;\n\tprivate refInputColor?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.refInputText = ref;\n\t};\n\tprivate readonly catchColorRef = (ref?: HTMLInputElement) => {\n\t\tthis.refInputColor = ref;\n\t};\n\tprivate readonly onBlur = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onBlur(event);\n\t\tthis.inputHasFocus = false;\n\t};\n\n\tprivate readonly onFocus = (event: FocusEvent) => {\n\t\tthis.controller.onFacade.onFocus(event);\n\t\tthis.inputHasFocus = true;\n\t};\n\n\tprivate readonly onColorInput = (event: InputEvent) => {\n\t\tconst value = (event.target as HTMLInputElement).value;\n\t\tthis.state._value = value;\n\n\t\tif (this.refInputText) {\n\t\t\tthis.refInputText.value = value;\n\t\t}\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate readonly onTextInput = (event: InputEvent) => {\n\t\tlet value = (event.target as HTMLInputElement).value;\n\t\tif (!value.startsWith('#')) {\n\t\t\tvalue = `#${value}`;\n\t\t}\n\t\tthis._value = value;\n\t\tif (this.refInputColor) {\n\t\t\tthis.refInputColor.value = value;\n\t\t}\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.refInputText?.value;\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.refInputText?.focus();\n\t}\n\n\tprivate get hasSuggestions(): boolean {\n\t\treturn Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;\n\t}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: 'kol-input-color',\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.refInputText?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputColorProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tref: this.catchColorRef,\n\t\t\ttype: 'color',\n\t\t\tname: this.state._name ? `${this.state._name}-color` : undefined,\n\t\t\tlist: this.hasSuggestions ? `${this.state._id}-list` : undefined,\n\t\t\tid: undefined,\n\t\t\t'aria-hidden': 'true',\n\t\t\ttabIndex: -1,\n\t\t\tonInput: this.onColorInput,\n\t\t};\n\t}\n\tprivate getInputTextProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\t...this.getGenericInputProps(),\n\t\t\tref: this.catchRef,\n\t\t\ttype: 'text',\n\t\t\tname: this.state._name ? `${this.state._name}-text` : undefined,\n\t\t\tlist: this.hasSuggestions ? `${this.state._id}-list` : undefined,\n\t\t\tonInput: this.onTextInput,\n\t\t};\n\t}\n\n\tprivate getGenericInputProps() {\n\t\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\t\tconst { _suggestions, ...other } = this.state;\n\n\t\treturn {\n\t\t\tstate: { ...other, _suggestions: [] },\n\t\t\t...this.controller.onFacade,\n\t\t\tonBlur: this.onBlur,\n\t\t\tonFocus: this.onFocus,\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state} class=\"kol-input-color__inputs-wrapper\">\n\t\t\t\t\t<div class=\"kol-input-color__inputs-wrapper\">\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-color__input kol-input-color__input--color\" {...this.getInputColorProps()} />\n\t\t\t\t\t\t<KolInputStateWrapperFc class=\"kol-input-color__input kol-input-color__input--text\" {...this.getInputTextProps()} />\n\t\t\t\t\t</div>\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputColorController;\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?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: InputTypeOnOff;\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 * 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({ mutable: true, reflect: true }) 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?: IconsHorizontalPropType;\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 properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\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 * 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 * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\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({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ reflect: true }) public _value?: string;\n\n\t@State() public state: InputColorStates = {\n\t\t_autoComplete: 'off',\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputColorController(this, 'color', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: InputTypeOnOff): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tif (!this._value && this.refInputColor) {\n\t\t\tthis._value = this.refInputColor.value;\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-cb5cbda1.js"),componentNames=require("./component-names-2c750b1b.js"),dev_utils=require("./dev.utils-17f58b75.js"),controller$1=require("./controller-b8eea6f7.js"),controller=require("./controller-8d407dee.js"),InternalUnderlinedBadgeText=require("./InternalUnderlinedBadgeText-5bf32805.js"),controllerIcon=require("./controller-icon-a88486d3.js"),prop_validators=require("./prop.validators-3c86f8eb.js"),suggestions=require("./suggestions-eccef9c3.js"),reuse=require("./reuse-8cfefa9b.js");require("./dev.utils-58fde089.js"),require("./events-221fcb43.js"),require("./associated.controller-2005f7f0.js"),require("./access-and-short-key-6155af7d.js"),require("./hide-label-a9a94f19.js"),require("./label-3ce275fe.js"),require("./common-1ab929ac.js"),require("./tooltip-align-5aee86e8.js"),require("./align-a9f24187.js"),require("./icons-cfdc392f.js"),require("./index-c77a4142.js");const validateReadOnly=(t,e)=>{prop_validators.watchBoolean(t,"_readOnly",e)},inputDateTypeOptions=["date","datetime-local","month","time","week"];class InputDateController extends controllerIcon.InputIconController{constructor(t,e,n){super(t,e,n),this.validateIso8601=(t,e,n)=>prop_validators.watchValidator(this.component,t,(t=>void 0===t||null==t||""===t||this.validateDateString(t)),new Set(["Date","string{ISO-8601}"]),InputDateController.tryParseToString(e,this.component._type,this.component._step),{hooks:{afterPatch:t=>{"string"==typeof t&&n&&n(t)}}}),this.component=t}validateAutoComplete(t){prop_validators.watchValidator(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateSuggestions(t){suggestions.validateSuggestions(this.component,t)}static tryParseToString(t,e,n){if("string"==typeof t||null===t)return t;if("object"==typeof t&&t instanceof Date){const i=t.getFullYear(),a=String(t.getMonth()+1).padStart(2,"0"),o=String(t.getDate()).padStart(2,"0"),s=String(t.getHours()).padStart(2,"0"),l=String(t.getMinutes()).padStart(2,"0"),r=String(t.getSeconds()).padStart(2,"0"),d=[i,a,o].join("-"),c=[s,l,r].join(":");switch(e){case"date":return d;case"datetime-local":return`${d}T${c}`;case"month":return`${i}-${a}`;case"time":return void 0===n||"60"===String(n)?`${s}:${l}`:c;case"week":return`${i}-W${this.getWeekNumberOfDate(t)}`}}}static getWeekNumberOfDate(t){const e=new Date(t),n=(e.getDay()+6)%7;e.setDate(e.getDate()-n+3);const i=e.valueOf();e.setMonth(0,1),4!==e.getDay()&&e.setMonth(0,1+(4-e.getDay()+7)%7);return(1+Math.ceil((i-e.valueOf())/6048e5)).toString().padStart(2,"0")}validateDateString(t){switch(this.component._type){case"date":return InputDateController.isoDateRegex.test(t);case"datetime-local":return InputDateController.isoLocalDateTimeRegex.test(t);case"month":return InputDateController.isoMonthRegex.test(t);case"time":return InputDateController.isoTimeRegex.test(t);case"week":return InputDateController.isoWeekRegex.test(t);default:return!1}}onBlur(t){super.onBlur(t),!!t.target.value!=!!this.component._value&&(this.component._value=t.target.value)}validateMax(t){const e=null!=t||"date"!==this.component._type&&"month"!==this.component._type&&"datetime-local"!==this.component._type?t:InputDateController.DEFAULT_MAX_DATE;this.validateIso8601("_max",e)}validateMin(t){this.validateIso8601("_min",t)}validateOn(t){prop_validators.setState(this.component,"_on",Object.assign(Object.assign({},t),{onChange:(e,n)=>{!!n!=!!this.component._value&&(this.component._value=n),(null==t?void 0:t.onChange)&&t.onChange(e,n)}}))}validateReadOnly(t){validateReadOnly(this.component,t)}validateRequired(t){prop_validators.watchBoolean(this.component,"_required",t)}validateStep(t){prop_validators.watchNumber(this.component,"_step",t)}validateType(t){prop_validators.watchValidator(this.component,"_type",(t=>"string"==typeof t&&inputDateTypeOptions.includes(t)),new Set([`String {${inputDateTypeOptions.join(", ")}`]),t)}validateValue(t){this.validateValueEx(t)}validateValueEx(t,e){this.validateIso8601("_value",t,e),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateMax(this.component._max),this.validateMin(this.component._min),this.validateLabel(this.component._label),this.validateSuggestions(this.component._suggestions),this.validateOn(this.component._on),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateStep(this.component._step),this.validateType(this.component._type),this.validateValue(this.component._value)}}InputDateController.isoDateRegex=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,InputDateController.isoLocalDateTimeRegex=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,InputDateController.isoMonthRegex=/^\d{4}-([0]\d|1[0-2])/,InputDateController.isoTimeRegex=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,InputDateController.isoWeekRegex=/^\d{4}-W(?:[0-4]\d|5[0-3])$/,InputDateController.DEFAULT_MAX_DATE=new Date(9999,11,31,23,59,59);const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip-wc {\n display: contents;\n }\n .kol-tooltip-wc .tooltip-floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n /* Shared between content and arrow */\n .kol-tooltip-wc .tooltip-area {\n background-color: #fff;\n color: #000;\n }\n .kol-tooltip-wc .tooltip-arrow {\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip-wc .tooltip-content {\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .required label > span::after,\n .required legend > span::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n input,\n textarea {\n cursor: text;\n }\n input[type=checkbox],\n input[type=color],\n input[type=file],\n input[type=radio],\n input[type=range],\n label,\n option,\n select {\n cursor: pointer;\n }\n /* input[type='checkbox'], */\n /* input[type='radio'], */\n /* input[type='range'], */\n input[type=color],\n input[type=date],\n input[type=datetime-local],\n input[type=email],\n input[type=file],\n input[type=month],\n input[type=number],\n input[type=password],\n input[type=search],\n input[type=tel],\n input[type=text],\n input[type=time],\n input[type=url],\n input[type=week],\n option,\n select,\n textarea {\n background-color: transparent;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n /* needed hack for vertical alignment */\n input[type=file] {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n }\n /* needed hack for vertical alignment */\n select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n overflow: hidden;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-input {\n display: grid;\n }\n .kol-input .input-slot {\n flex-grow: 1;\n overflow: hidden;\n }\n input:focus,\n option:focus,\n select:focus,\n textarea:focus {\n outline: 0;\n }\n .input {\n align-items: center;\n background-color: white;\n cursor: pointer;\n display: flex;\n }\n button:not([role=link]) {\n min-height: auto;\n }\n .input > .kol-icon {\n display: grid;\n place-items: center;\n }\n .kol-input.required .input-tooltip .span-label::after {\n content: \"*\";\n }\n}",KolInputDateDefaultStyle0=defaultStyleCss,KolInputDate=class{async getValue(){var t;return this.inputRef&&this.remapValue(null===(t=this.inputRef)||void 0===t?void 0:t.value)}async focus(){await this.kolFocus()}async kolFocus(){var t;null===(t=this.inputRef)||void 0===t||t.focus()}async reset(){this.state=Object.assign(Object.assign({},this.state),{_value:null}),this.controller.setFormAssociatedValue(""),this.inputRef&&(this.inputRef.value="")}setInitialValueType(t){t instanceof Date?this._initialValueType="Date":this._initialValueType="string"==typeof t?"String":null}remapValue(t){return"Date"===this._initialValueType?new Date(t):t}render(){const{ariaDescribedBy:t}=controller.getRenderStates(this.state),e=Array.isArray(this.state._suggestions)&&this.state._suggestions.length>0,n=reuse.showExpertSlot(this.state._label);return index.h(index.Host,{key:"890d9d5577b165cdbf763cb64c0043621c29c67c",class:{"kol-input-date":!0,"has-value":this.state._hasValue}},index.h(componentNames.KolInputTag,{key:"a80b6099bc0fef2894c9f45d4fdf209be463d048",class:{[this.state._type]:!0,"hide-label":!!this.state._hideLabel},_accessKey:this.state._accessKey,_alert:this.showAsAlert(),_disabled:this.state._disabled,_msg:this.state._msg,_hideError:this.state._hideError,_hideLabel:this.state._hideLabel,_hint:this.state._hint,_icons:this.state._icons,_id:this.state._id,_label:this.state._label,_suggestions:this.state._suggestions,_readOnly:this.state._readOnly,_required:this.state._required,_shortKey:this.state._shortKey,_smartButton:this.state._smartButton,_tooltipAlign:this._tooltipAlign,_touched:this.state._touched},index.h("span",{key:"c8c811d983ab825f6aa209e3510f14301f3f71bd",slot:"label"},n?index.h("slot",{name:"expert"}):"string"==typeof this.state._accessKey||"string"==typeof this.state._shortKey?index.h(index.Fragment,null,index.h(InternalUnderlinedBadgeText.InternalUnderlinedBadgeText,{badgeText:reuse.buildBadgeTextString(this.state._accessKey,this.state._shortKey),label:this.state._label})," ",index.h("span",{class:"badge-text-hint","aria-hidden":"true"},reuse.buildBadgeTextString(this.state._accessKey||this.state._shortKey))):index.h("span",null,this.state._label)),index.h("div",{key:"fbd093fdfbf6f96274c48a197412dee4af00c9d5",slot:"input"},index.h("input",Object.assign({key:"6c97d632b14bd8fa3188b58c6c65467e240e45f6",ref:this.catchRef,title:"",accessKey:this.state._accessKey,"aria-describedby":t.length>0?t.join(" "):void 0,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,autoCapitalize:"off",autoComplete:this.state._autoComplete,autoCorrect:"off",disabled:this.state._disabled,id:this.state._id,list:e?`${this.state._id}-list`:void 0,max:this.state._max,min:this.state._min,name:this.state._name,readOnly:this.state._readOnly,required:this.state._required,step:this.state._step,type:this.state._type,value:this.state._value||void 0},this.controller.onFacade,{onKeyDown:this.onKeyDown,onBlur:t=>{this.controller.onFacade.onBlur(t),this.inputHasFocus=!1},onFocus:t=>{this.controller.onFacade.onFocus(t),this.inputHasFocus=!0},onChange:this.onChange,onInput:this.onInput})))))}constructor(t){index.registerInstance(this,t),this.catchRef=t=>{this.inputRef=t},this.onChange=t=>{const e=t.target.value,n=this.remapValue(e);this.controller.onFacade.onChange(t,n)},this.onInput=t=>{const e=t.target.value,n=this.remapValue(e);this.controller.onFacade.onInput(t,!0,n)},this.onKeyDown=t=>{"Enter"!==t.code&&"NumpadEnter"!==t.code||controller$1.propagateSubmitEventToForm({form:this.host,ref:this.inputRef})},this._initialValueType=null,this._accessKey=void 0,this._alert=void 0,this._autoComplete=void 0,this._disabled=!1,this._error=void 0,this._hideError=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this.state={_autoComplete:"off",_hasValue:!1,_hideError:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[],_type:"datetime-local"},this.inputHasFocus=!1,this.controller=new InputDateController(this,"date",this.host)}showAsAlert(){return void 0===this.state._alert?Boolean(this.state._touched)&&!this.inputHasFocus:this.state._alert}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAlert(t){this.controller.validateAlert(t)}validateAutoComplete(t){this.controller.validateAutoComplete(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateError(t){this.controller.validateError(t)}validateHideError(t){this.controller.validateHideError(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMax(t){this.controller.validateMax(t)}validateMin(t){this.controller.validateMin(t)}validateMsg(t){this.controller.validateMsg(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validateReadOnly(t){this.controller.validateReadOnly(t)}validateRequired(t){this.controller.validateRequired(t)}validateShortKey(t){this.controller.validateShortKey(t)}validateSmartButton(t){this.controller.validateSmartButton(t)}validateSuggestions(t){this.controller.validateSuggestions(t)}validateStep(t){this.controller.validateStep(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){this.controller.validateTabIndex(t)}validateTouched(t){this.controller.validateTouched(t)}validateType(t){this.controller.validateType(t)}validateValue(t){t instanceof Date&&prop_validators.deprecatedHint("Date type will be removed in v3. Use `Iso8601` instead."),this.controller.validateValueEx(t),void 0!==t&&this.setInitialValueType(t)}componentWillLoad(){void 0!==this._value&&this.setInitialValueType(this._value),this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((t=>this.state._hasValue=!!t))}static get delegatesFocus(){return!0}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_alert:["validateAlert"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_error:["validateError"],_hideError:["validateHideError"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_max:["validateMax"],_min:["validateMin"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_step:["validateStep"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_type:["validateType"],_value:["validateValue"]}}};KolInputDate.style={default:KolInputDateDefaultStyle0},exports.kol_input_date=KolInputDate;
4
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const index=require("./index-daa20b89.js"),clsx=require("./clsx-dd4d6dd1.js"),dev_utils=require("./dev.utils-c01ed0db.js"),controller=require("./controller-2ab8bf77.js"),controllerIcon=require("./controller-icon-26a0c9bf.js"),prop_validators=require("./prop.validators-e984090f.js"),suggestions=require("./suggestions-cc7f7d12.js"),InputStateWrapper=require("./InputStateWrapper-6b2effff.js"),getRenderStates=require("./getRenderStates-528714f9.js");require("./reuse-8650ea4e.js"),require("./dev.utils-58fde089.js"),require("./component-names-82c4d68d.js"),require("./InternalUnderlinedBadgeText-ec26f7f6.js"),require("./isArray-e114fe6e.js"),require("./isObject-6090b636.js"),require("./tslib.es6-5e301284.js"),require("./Icon-fd91b30e.js"),require("./icons-a86d96c3.js"),require("./common-1ab929ac.js"),require("./index-58ac5907.js"),require("./Input-ffc26107.js"),require("./events-40771c95.js"),require("./associated.controller-9b900f21.js"),require("./access-and-short-key-c9b6eca5.js"),require("./tooltip-align-83772c00.js"),require("./align-93a03292.js"),require("./hide-label-6a0e93be.js"),require("./label-ab57738c.js"),require("./Alert-fe32c539.js"),require("./i18n-0e710ccd.js"),require("./i18n-8c288a27.js"),require("./bem-85316256.js"),require("./browser-4433089a.js"),require("./Heading-34ee96af.js");const validateReadOnly=(e,t)=>{prop_validators.watchBoolean(e,"_readOnly",t)},inputDateTypeOptions=["date","datetime-local","month","time","week"];class InputDateController extends controllerIcon.InputIconController{constructor(e,t,n){super(e,t,n),this.validateIso8601=(e,t,n)=>prop_validators.watchValidator(this.component,e,(e=>void 0===e||null==e||""===e||this.validateDateString(e)),new Set(["Date","string{ISO-8601}"]),InputDateController.tryParseToString(t,this.component._type,this.component._step),{hooks:{afterPatch:e=>{"string"==typeof e&&n&&n(e)}}}),this.component=e}validateAutoComplete(e){prop_validators.watchValidator(this.component,"_autoComplete",(e=>"string"==typeof e&&("on"===e||"off"===e)),new Set(["on | off"]),e)}validateSuggestions(e){suggestions.validateSuggestions(this.component,e)}static tryParseToString(e,t,n){if("string"==typeof e||null===e)return e;if("object"==typeof e&&e instanceof Date){const i=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),l=String(e.getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),r=String(e.getSeconds()).padStart(2,"0"),d=[i,a,o].join("-"),c=[l,s,r].join(":");switch(t){case"date":return d;case"datetime-local":return`${d}T${c}`;case"month":return`${i}-${a}`;case"time":return void 0===n||"60"===String(n)?`${l}:${s}`:c;case"week":return`${i}-W${this.getWeekNumberOfDate(e)}`}}}static getWeekNumberOfDate(e){const t=new Date(e),n=(t.getDay()+6)%7;t.setDate(t.getDate()-n+3);const i=t.valueOf();t.setMonth(0,1),4!==t.getDay()&&t.setMonth(0,1+(4-t.getDay()+7)%7);return(1+Math.ceil((i-t.valueOf())/6048e5)).toString().padStart(2,"0")}validateDateString(e){switch(this.component._type){case"date":return InputDateController.isoDateRegex.test(e);case"datetime-local":return InputDateController.isoLocalDateTimeRegex.test(e);case"month":return InputDateController.isoMonthRegex.test(e);case"time":return InputDateController.isoTimeRegex.test(e);case"week":return InputDateController.isoWeekRegex.test(e);default:return!1}}onBlur(e){super.onBlur(e),!!e.target.value!=!!this.component._value&&(this.component._value=e.target.value)}validateMax(e){const t=null!=e||"date"!==this.component._type&&"month"!==this.component._type&&"datetime-local"!==this.component._type?e:InputDateController.DEFAULT_MAX_DATE;this.validateIso8601("_max",t)}validateMin(e){this.validateIso8601("_min",e)}validateOn(e){prop_validators.setState(this.component,"_on",Object.assign(Object.assign({},e),{onChange:(t,n)=>{!!n!=!!this.component._value&&(this.component._value=n),(null==e?void 0:e.onChange)&&e.onChange(t,n)}}))}validateReadOnly(e){validateReadOnly(this.component,e)}validateRequired(e){prop_validators.watchBoolean(this.component,"_required",e)}validateStep(e){prop_validators.watchNumber(this.component,"_step",e)}validateType(e){prop_validators.watchValidator(this.component,"_type",(e=>"string"==typeof e&&inputDateTypeOptions.includes(e)),new Set([`String {${inputDateTypeOptions.join(", ")}`]),e)}validateValue(e){this.validateValueEx(e)}validateValueEx(e,t){this.validateIso8601("_value",e,t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateMax(this.component._max),this.validateMin(this.component._min),this.validateLabel(this.component._label),this.validateSuggestions(this.component._suggestions),this.validateOn(this.component._on),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateStep(this.component._step),this.validateType(this.component._type),this.validateValue(this.component._value)}}InputDateController.isoDateRegex=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,InputDateController.isoLocalDateTimeRegex=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,InputDateController.isoMonthRegex=/^\d{4}-([0]\d|1[0-2])/,InputDateController.isoTimeRegex=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,InputDateController.isoWeekRegex=/^\d{4}-W(?:[0-4]\d|5[0-3])$/,InputDateController.DEFAULT_MAX_DATE=new Date(9999,11,31,23,59,59);const defaultStyleCss="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}",KolInputDateDefaultStyle0=defaultStyleCss,KolInputDate=class{async getValue(){var e;return this.inputRef&&this.remapValue(null===(e=this.inputRef)||void 0===e?void 0:e.value)}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}async reset(){this.state=Object.assign(Object.assign({},this.state),{_value:null}),this.controller.setFormAssociatedValue(""),this.inputRef&&(this.inputRef.value="")}setInitialValueType(e){e instanceof Date?this._initialValueType="Date":this._initialValueType="string"==typeof e?"String":null}remapValue(e){return"Date"===this._initialValueType?new Date(e):e}getFormFieldProps(){return{state:this.state,class:clsx.clsx("kol-input-date",this.state._type,{"has-value":this.state._hasValue}),tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.inputRef)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getInputProps(){return Object.assign(Object.assign({ref:this.catchRef,state:this.state},this.controller.onFacade),{onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onChange:this.onChange,onInput:this.onInput})}render(){return index.h(getRenderStates.KolFormFieldStateWrapperFc,Object.assign({key:"764e827d7652c7ace5ca967fb2a86e8d84a68258"},this.getFormFieldProps()),index.h(controllerIcon.KolInputContainerFc,{key:"cfb29cd3fae3706ef1db8e67bf67cab1ffb29a6b",state:this.state},index.h(InputStateWrapper.KolInputStateWrapperFc,Object.assign({key:"cb590885f58275b5e5d7d86935b8a612c02a2699"},this.getInputProps()))))}constructor(e){index.registerInstance(this,e),this.catchRef=e=>{this.inputRef=e},this.onBlur=e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1},this.onFocus=e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},this.onChange=e=>{const t=e.target.value,n=this.remapValue(t);this.controller.onFacade.onChange(e,n)},this.onInput=e=>{const t=e.target.value,n=this.remapValue(t);this._value=n,this.controller.onFacade.onInput(e,!0,n)},this.onKeyDown=e=>{"Enter"!==e.code&&"NumpadEnter"!==e.code||controller.propagateSubmitEventToForm({form:this.host,ref:this.inputRef})},this._initialValueType=null,this._accessKey=void 0,this._autoComplete=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this.state={_autoComplete:"off",_hasValue:!1,_hideMsg:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_suggestions:[],_type:"datetime-local"},this.inputHasFocus=!1,this.controller=new InputDateController(this,"date",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAutoComplete(e){this.controller.validateAutoComplete(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMax(e){this.controller.validateMax(e)}validateMin(e){this.controller.validateMin(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateReadOnly(e){this.controller.validateReadOnly(e)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSmartButton(e){this.controller.validateSmartButton(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateStep(e){this.controller.validateStep(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateType(e){this.controller.validateType(e)}validateValue(e){e instanceof Date&&prop_validators.deprecatedHint("Date type will be removed in v3. Use `Iso8601` instead."),this.controller.validateValueEx(e),void 0!==e&&this.setInitialValueType(e)}componentWillLoad(){void 0!==this._value&&this.setInitialValueType(this._value),this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener((e=>this.state._hasValue=!!e))}static get delegatesFocus(){return!0}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_max:["validateMax"],_min:["validateMin"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_step:["validateStep"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_type:["validateType"],_value:["validateValue"]}}};KolInputDate.style={default:KolInputDateDefaultStyle0},exports.kol_input_date=KolInputDate;