@public-ui/components 3.0.0 → 3.0.1-3b313a0f2df6c512e868df86f443d016defc56fa.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 (716) hide show
  1. package/custom-elements.json +7 -19
  2. package/dist/cjs/{Alert-22c49278.js → Alert-1d2a5161.js} +1 -1
  3. package/dist/cjs/{Alert-22c49278.js.map → Alert-1d2a5161.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-04d07ae5.js → Collapsible-402ca69a.js} +1 -1
  5. package/dist/cjs/{Collapsible-04d07ae5.js.map → Collapsible-402ca69a.js.map} +1 -1
  6. package/dist/cjs/CustomSuggestionsOptionsGroup-b28f436b.js +4 -0
  7. package/dist/cjs/{CustomSuggestionsOptionsGroup-60ec84bd.js.map → CustomSuggestionsOptionsGroup-b28f436b.js.map} +1 -1
  8. package/dist/cjs/FieldControlStateWrapper-26882a7e.js +4 -0
  9. package/dist/cjs/FieldControlStateWrapper-26882a7e.js.map +1 -0
  10. package/dist/cjs/Heading-a6ce4a7e.js +4 -0
  11. package/dist/cjs/Heading-a6ce4a7e.js.map +1 -0
  12. package/dist/cjs/{Icon-9e0021e7.js → Icon-45cefad5.js} +1 -1
  13. package/dist/cjs/{Icon-9e0021e7.js.map → Icon-45cefad5.js.map} +1 -1
  14. package/dist/cjs/{Input-c953eb09.js → Input-f19be604.js} +1 -1
  15. package/dist/cjs/{Input-c953eb09.js.map → Input-f19be604.js.map} +1 -1
  16. package/dist/cjs/InputStateWrapper-b2bde079.js +4 -0
  17. package/dist/cjs/InputStateWrapper-b2bde079.js.map +1 -0
  18. package/dist/cjs/{InternalUnderlinedBadgeText-6c8700f2.js → InternalUnderlinedBadgeText-746ed3a6.js} +1 -1
  19. package/dist/cjs/{InternalUnderlinedBadgeText-6c8700f2.js.map → InternalUnderlinedBadgeText-746ed3a6.js.map} +1 -1
  20. package/dist/cjs/{Span-77749bd7.js → Span-fb4cec1c.js} +1 -1
  21. package/dist/cjs/{Span-77749bd7.js.map → Span-fb4cec1c.js.map} +1 -1
  22. package/dist/cjs/{access-and-short-key-2167fc7c.js → access-and-short-key-ba5dc318.js} +1 -1
  23. package/dist/cjs/{access-and-short-key-2167fc7c.js.map → access-and-short-key-ba5dc318.js.map} +1 -1
  24. package/dist/cjs/{align-4abb9b20.js → align-6dbf7621.js} +1 -1
  25. package/dist/cjs/{align-4abb9b20.js.map → align-6dbf7621.js.map} +1 -1
  26. package/dist/cjs/align-floating-elements-7e50809a.js +4 -0
  27. package/dist/cjs/align-floating-elements-7e50809a.js.map +1 -0
  28. package/dist/cjs/app-globals-5784eae5.js +4 -0
  29. package/dist/cjs/{app-globals-46af1a24.js.map → app-globals-5784eae5.js.map} +1 -1
  30. package/dist/cjs/{associated.controller-949dd4e2.js → associated.controller-03ae298d.js} +1 -1
  31. package/dist/cjs/{associated.controller-949dd4e2.js.map → associated.controller-03ae298d.js.map} +1 -1
  32. package/dist/cjs/{bootstrap-7c830737.js → bootstrap-e11bb4f7.js} +1 -1
  33. package/dist/cjs/{bootstrap-7c830737.js.map → bootstrap-e11bb4f7.js.map} +1 -1
  34. package/dist/cjs/{button-variant-d57323f9.js → button-variant-1871e63b.js} +1 -1
  35. package/dist/cjs/{button-variant-d57323f9.js.map → button-variant-1871e63b.js.map} +1 -1
  36. package/dist/cjs/{color-e458d959.js → color-9f3a33be.js} +1 -1
  37. package/dist/cjs/{color-e458d959.js.map → color-9f3a33be.js.map} +1 -1
  38. package/dist/cjs/{controller-849b3844.js → controller-42c2042a.js} +1 -1
  39. package/dist/cjs/{controller-849b3844.js.map → controller-42c2042a.js.map} +1 -1
  40. package/dist/cjs/{controller-d834122a.js → controller-5a757e92.js} +1 -1
  41. package/dist/cjs/{controller-d834122a.js.map → controller-5a757e92.js.map} +1 -1
  42. package/dist/cjs/{controller-7c72bfb5.js → controller-cb68b652.js} +1 -1
  43. package/dist/cjs/{controller-7c72bfb5.js.map → controller-cb68b652.js.map} +1 -1
  44. package/dist/cjs/controller-fcbb871b.js +4 -0
  45. package/dist/cjs/controller-fcbb871b.js.map +1 -0
  46. package/dist/cjs/{controller-icon-e2f8e416.js → controller-icon-1057532f.js} +1 -1
  47. package/dist/cjs/{controller-icon-e2f8e416.js.map → controller-icon-1057532f.js.map} +1 -1
  48. package/dist/cjs/{custom-class-cfe6094f.js → custom-class-65fdabdc.js} +1 -1
  49. package/dist/cjs/{custom-class-cfe6094f.js.map → custom-class-65fdabdc.js.map} +1 -1
  50. package/dist/cjs/{dev.utils-f6da9b54.js → dev.utils-6362f657.js} +1 -1
  51. package/dist/cjs/{dev.utils-f6da9b54.js.map → dev.utils-6362f657.js.map} +1 -1
  52. package/dist/cjs/{devtools-ff9824c8.js → devtools-df614926.js} +1 -1
  53. package/dist/cjs/{devtools-ff9824c8.js.map → devtools-df614926.js.map} +1 -1
  54. package/dist/cjs/{disabled-71a44266.js → disabled-1872d3f6.js} +1 -1
  55. package/dist/cjs/{disabled-71a44266.js.map → disabled-1872d3f6.js.map} +1 -1
  56. package/dist/cjs/{getRenderStates-8e102335.js → getRenderStates-48fc8449.js} +1 -1
  57. package/dist/cjs/getRenderStates-48fc8449.js.map +1 -0
  58. package/dist/cjs/{has-closer-eda2f56e.js → has-closer-b9c139d3.js} +1 -1
  59. package/dist/cjs/{has-closer-eda2f56e.js.map → has-closer-b9c139d3.js.map} +1 -1
  60. package/dist/cjs/{has-counter-c7ed1940.js → has-counter-edfb692b.js} +1 -1
  61. package/dist/cjs/{has-counter-c7ed1940.js.map → has-counter-edfb692b.js.map} +1 -1
  62. package/dist/cjs/{hide-label-5889f019.js → hide-label-18d6d9e2.js} +1 -1
  63. package/dist/cjs/{hide-label-5889f019.js.map → hide-label-18d6d9e2.js.map} +1 -1
  64. package/dist/cjs/{href-273fdbde.js → href-b36c8e1d.js} +1 -1
  65. package/dist/cjs/{href-273fdbde.js.map → href-b36c8e1d.js.map} +1 -1
  66. package/dist/cjs/{i18n-b9d16ebc.js → i18n-b01aa5d0.js} +1 -1
  67. package/dist/cjs/{i18n-b9d16ebc.js.map → i18n-b01aa5d0.js.map} +1 -1
  68. package/dist/cjs/{icons-9df3131b.js → icons-99569c9b.js} +1 -1
  69. package/dist/cjs/{icons-9df3131b.js.map → icons-99569c9b.js.map} +1 -1
  70. package/dist/cjs/image-source-481ea03a.js +4 -0
  71. package/dist/cjs/{image-source-f24a4569.js.map → image-source-481ea03a.js.map} +1 -1
  72. package/dist/cjs/index-18da097e.js +4 -0
  73. package/dist/cjs/index-18da097e.js.map +1 -0
  74. package/dist/cjs/index-94c17ce6.js +4 -0
  75. package/dist/cjs/index-94c17ce6.js.map +1 -0
  76. package/dist/cjs/index.cjs.js +1 -1
  77. package/dist/cjs/index.cjs.js.map +1 -1
  78. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  120. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  147. package/dist/cjs/kolibri.cjs.js +1 -1
  148. package/dist/cjs/{label-21c38949.js → label-7b22af75.js} +1 -1
  149. package/dist/cjs/{label-21c38949.js.map → label-7b22af75.js.map} +1 -1
  150. package/dist/cjs/loader.cjs.js +1 -1
  151. package/dist/cjs/{open-4dee9006.js → open-350f3b99.js} +1 -1
  152. package/dist/cjs/{open-4dee9006.js.map → open-350f3b99.js.map} +1 -1
  153. package/dist/cjs/orientation-7bef64eb.js +4 -0
  154. package/dist/cjs/orientation-7bef64eb.js.map +1 -0
  155. package/dist/cjs/{rows-f8c639c4.js → rows-00510978.js} +1 -1
  156. package/dist/cjs/{rows-f8c639c4.js.map → rows-00510978.js.map} +1 -1
  157. package/dist/cjs/{show-f24ad825.js → show-0449c2d9.js} +1 -1
  158. package/dist/cjs/{show-f24ad825.js.map → show-0449c2d9.js.map} +1 -1
  159. package/dist/cjs/spell-check-e7bda657.js +4 -0
  160. package/dist/cjs/{spell-check-0419d7d7.js.map → spell-check-e7bda657.js.map} +1 -1
  161. package/dist/cjs/{suggestions-69a79ec5.js → suggestions-88f8f404.js} +1 -1
  162. package/dist/cjs/{suggestions-69a79ec5.js.map → suggestions-88f8f404.js.map} +1 -1
  163. package/dist/cjs/{table-settings-ab716c5d.js → table-settings-3f1de70e.js} +1 -1
  164. package/dist/cjs/{table-settings-ab716c5d.js.map → table-settings-3f1de70e.js.map} +1 -1
  165. package/dist/cjs/test-component.cjs.entry.js +1 -1
  166. package/dist/cjs/tooltip-align-6938fb01.js +4 -0
  167. package/dist/cjs/{tooltip-align-4446177f.js.map → tooltip-align-6938fb01.js.map} +1 -1
  168. package/dist/cjs/unique-nav-labels-eee92e0a.js +4 -0
  169. package/dist/cjs/unique-nav-labels-eee92e0a.js.map +1 -0
  170. package/dist/cjs/validation-515de18a.js +4 -0
  171. package/dist/cjs/{validation-2d282d7c.js.map → validation-515de18a.js.map} +1 -1
  172. package/dist/cjs/{validation-6b01b0ae.js → validation-8f012860.js} +1 -1
  173. package/dist/cjs/{validation-6b01b0ae.js.map → validation-8f012860.js.map} +1 -1
  174. package/dist/components/FieldControlStateWrapper.js +1 -1
  175. package/dist/components/FieldControlStateWrapper.js.map +1 -1
  176. package/dist/components/Heading.js +1 -1
  177. package/dist/components/Heading.js.map +1 -1
  178. package/dist/components/InputStateWrapper.js +1 -1
  179. package/dist/components/InputStateWrapper.js.map +1 -1
  180. package/dist/components/Span.js +1 -1
  181. package/dist/components/access-and-short-key.js +1 -1
  182. package/dist/components/align-floating-elements.js +1 -1
  183. package/dist/components/align-floating-elements.js.map +1 -1
  184. package/dist/components/associated.controller.js +1 -1
  185. package/dist/components/button-variant.js +1 -1
  186. package/dist/components/color.js +1 -1
  187. package/dist/components/color.js.map +1 -1
  188. package/dist/components/controller2.js +1 -1
  189. package/dist/components/controller2.js.map +1 -1
  190. package/dist/components/controller4.js +1 -1
  191. package/dist/components/custom-class.js +1 -1
  192. package/dist/components/dev.utils.js +1 -1
  193. package/dist/components/devtools.js +1 -1
  194. package/dist/components/disabled.js +1 -1
  195. package/dist/components/getRenderStates.js +1 -1
  196. package/dist/components/getRenderStates.js.map +1 -1
  197. package/dist/components/has-closer.js +1 -1
  198. package/dist/components/has-counter.js +1 -1
  199. package/dist/components/hide-label.js +1 -1
  200. package/dist/components/href.js +1 -1
  201. package/dist/components/icons.js +1 -1
  202. package/dist/components/image-source.js +1 -1
  203. package/dist/components/index.js +1 -1
  204. package/dist/components/index.js.map +1 -1
  205. package/dist/components/index2.js +1 -1
  206. package/dist/components/index2.js.map +1 -1
  207. package/dist/components/kol-alert-wc.js +1 -1
  208. package/dist/components/kol-badge.js +1 -1
  209. package/dist/components/kol-breadcrumb.js +1 -1
  210. package/dist/components/kol-button-wc.js +1 -1
  211. package/dist/components/kol-card.js +1 -1
  212. package/dist/components/kol-combobox.js +1 -1
  213. package/dist/components/kol-drawer.js +1 -1
  214. package/dist/components/kol-form.js +1 -1
  215. package/dist/components/kol-heading.js +1 -1
  216. package/dist/components/kol-heading.js.map +1 -1
  217. package/dist/components/kol-icon.js +1 -1
  218. package/dist/components/kol-image.js +1 -1
  219. package/dist/components/kol-input-checkbox.js +1 -1
  220. package/dist/components/kol-input-color.js +1 -1
  221. package/dist/components/kol-input-date.js +1 -1
  222. package/dist/components/kol-input-email.js +1 -1
  223. package/dist/components/kol-input-file.js +1 -1
  224. package/dist/components/kol-input-number.js +1 -1
  225. package/dist/components/kol-input-password.js +1 -1
  226. package/dist/components/kol-input-radio.js +1 -1
  227. package/dist/components/kol-input-radio.js.map +1 -1
  228. package/dist/components/kol-input-text.js +1 -1
  229. package/dist/components/kol-kolibri.js +1 -1
  230. package/dist/components/kol-link-wc.js +1 -1
  231. package/dist/components/kol-modal.js +1 -1
  232. package/dist/components/kol-modal.js.map +1 -1
  233. package/dist/components/kol-nav.js +1 -1
  234. package/dist/components/kol-nav.js.map +1 -1
  235. package/dist/components/kol-pagination.js +1 -1
  236. package/dist/components/kol-pagination.js.map +1 -1
  237. package/dist/components/kol-progress.js +1 -1
  238. package/dist/components/kol-quote.js +1 -1
  239. package/dist/components/kol-select.js +1 -1
  240. package/dist/components/kol-single-select.js +1 -1
  241. package/dist/components/kol-table-stateful.js +1 -1
  242. package/dist/components/kol-table-stateless-wc.js +1 -1
  243. package/dist/components/kol-tabs.js +1 -1
  244. package/dist/components/kol-textarea.js +1 -1
  245. package/dist/components/kol-toolbar.js +1 -1
  246. package/dist/components/kol-toolbar.js.map +1 -1
  247. package/dist/components/kol-tooltip-wc.js +1 -1
  248. package/dist/components/kol-tree-item-wc.js +1 -1
  249. package/dist/components/label.js +1 -1
  250. package/dist/components/open.js +1 -1
  251. package/dist/components/orientation.js +4 -0
  252. package/dist/components/orientation.js.map +1 -0
  253. package/dist/components/show.js +1 -1
  254. package/dist/components/spell-check.js +1 -1
  255. package/dist/components/suggestions.js +1 -1
  256. package/dist/components/table-settings.js +1 -1
  257. package/dist/components/unique-nav-labels.js +1 -1
  258. package/dist/components/unique-nav-labels.js.map +1 -1
  259. package/dist/components/validation2.js +1 -1
  260. package/dist/esm/Alert-05f95bd6.js +4 -0
  261. package/dist/esm/{Alert-3c98a2ff.js.map → Alert-05f95bd6.js.map} +1 -1
  262. package/dist/esm/{Collapsible-e6c95e1f.js → Collapsible-7e53a94c.js} +1 -1
  263. package/dist/esm/{Collapsible-e6c95e1f.js.map → Collapsible-7e53a94c.js.map} +1 -1
  264. package/dist/esm/CustomSuggestionsOptionsGroup-042dc702.js +4 -0
  265. package/dist/esm/{CustomSuggestionsOptionsGroup-6b0631f5.js.map → CustomSuggestionsOptionsGroup-042dc702.js.map} +1 -1
  266. package/dist/esm/{FieldControlStateWrapper-7397d965.js → FieldControlStateWrapper-b973bfc3.js} +1 -1
  267. package/dist/esm/FieldControlStateWrapper-b973bfc3.js.map +1 -0
  268. package/dist/esm/Heading-d8ed192d.js +4 -0
  269. package/dist/esm/Heading-d8ed192d.js.map +1 -0
  270. package/dist/esm/{Icon-faa6cbca.js → Icon-b74f22a2.js} +1 -1
  271. package/dist/esm/{Icon-faa6cbca.js.map → Icon-b74f22a2.js.map} +1 -1
  272. package/dist/esm/{Input-ce53cfae.js → Input-80c438fc.js} +1 -1
  273. package/dist/esm/{Input-ce53cfae.js.map → Input-80c438fc.js.map} +1 -1
  274. package/dist/esm/InputStateWrapper-0b8a1a3e.js +4 -0
  275. package/dist/esm/InputStateWrapper-0b8a1a3e.js.map +1 -0
  276. package/dist/esm/{InternalUnderlinedBadgeText-2e08c7cb.js → InternalUnderlinedBadgeText-7028c03e.js} +1 -1
  277. package/dist/esm/{InternalUnderlinedBadgeText-2e08c7cb.js.map → InternalUnderlinedBadgeText-7028c03e.js.map} +1 -1
  278. package/dist/esm/{Span-89b9ae45.js → Span-550d722f.js} +1 -1
  279. package/dist/esm/{Span-89b9ae45.js.map → Span-550d722f.js.map} +1 -1
  280. package/dist/esm/{access-and-short-key-753466cb.js → access-and-short-key-f743a5c4.js} +1 -1
  281. package/dist/esm/{access-and-short-key-753466cb.js.map → access-and-short-key-f743a5c4.js.map} +1 -1
  282. package/dist/esm/{align-a05c3d17.js → align-d2572387.js} +1 -1
  283. package/dist/esm/{align-a05c3d17.js.map → align-d2572387.js.map} +1 -1
  284. package/dist/esm/align-floating-elements-526ce555.js +4 -0
  285. package/dist/esm/align-floating-elements-526ce555.js.map +1 -0
  286. package/dist/esm/app-globals-e2bc9b44.js +4 -0
  287. package/dist/esm/{app-globals-7a7161e6.js.map → app-globals-e2bc9b44.js.map} +1 -1
  288. package/dist/esm/{associated.controller-4efb16f5.js → associated.controller-43abc1c0.js} +1 -1
  289. package/dist/esm/{associated.controller-4efb16f5.js.map → associated.controller-43abc1c0.js.map} +1 -1
  290. package/dist/esm/{bootstrap-874afb5b.js → bootstrap-7fca1a52.js} +1 -1
  291. package/dist/esm/{bootstrap-874afb5b.js.map → bootstrap-7fca1a52.js.map} +1 -1
  292. package/dist/esm/{button-variant-d6a980cf.js → button-variant-4fc69b59.js} +1 -1
  293. package/dist/esm/{button-variant-d6a980cf.js.map → button-variant-4fc69b59.js.map} +1 -1
  294. package/dist/esm/{color-066d384d.js → color-1228dab7.js} +1 -1
  295. package/dist/esm/{color-066d384d.js.map → color-1228dab7.js.map} +1 -1
  296. package/dist/esm/{controller-1beb6ffa.js → controller-460d12d6.js} +1 -1
  297. package/dist/esm/{controller-1beb6ffa.js.map → controller-460d12d6.js.map} +1 -1
  298. package/dist/esm/{controller-4227bd3b.js → controller-b4a4d397.js} +1 -1
  299. package/dist/esm/{controller-4227bd3b.js.map → controller-b4a4d397.js.map} +1 -1
  300. package/dist/esm/controller-c6ea1cc4.js +4 -0
  301. package/dist/esm/controller-c6ea1cc4.js.map +1 -0
  302. package/dist/esm/{controller-d626a16d.js → controller-d1cd494d.js} +1 -1
  303. package/dist/esm/{controller-d626a16d.js.map → controller-d1cd494d.js.map} +1 -1
  304. package/dist/esm/{controller-icon-bb92519e.js → controller-icon-86ecd871.js} +1 -1
  305. package/dist/esm/{controller-icon-bb92519e.js.map → controller-icon-86ecd871.js.map} +1 -1
  306. package/dist/esm/{custom-class-30e531d5.js → custom-class-d73b81b1.js} +1 -1
  307. package/dist/esm/{custom-class-30e531d5.js.map → custom-class-d73b81b1.js.map} +1 -1
  308. package/dist/esm/{dev.utils-77f0b548.js → dev.utils-0ac8aabc.js} +1 -1
  309. package/dist/esm/{dev.utils-77f0b548.js.map → dev.utils-0ac8aabc.js.map} +1 -1
  310. package/dist/esm/{devtools-3a667970.js → devtools-be4a2647.js} +1 -1
  311. package/dist/esm/{devtools-3a667970.js.map → devtools-be4a2647.js.map} +1 -1
  312. package/dist/esm/disabled-e1038f54.js +4 -0
  313. package/dist/esm/{disabled-e64a9155.js.map → disabled-e1038f54.js.map} +1 -1
  314. package/dist/esm/{getRenderStates-dba2a9a8.js → getRenderStates-d37b86aa.js} +1 -1
  315. package/dist/esm/getRenderStates-d37b86aa.js.map +1 -0
  316. package/dist/esm/has-closer-798e8f4d.js +4 -0
  317. package/dist/esm/{has-closer-ca9bcd36.js.map → has-closer-798e8f4d.js.map} +1 -1
  318. package/dist/esm/has-counter-3fc44829.js +4 -0
  319. package/dist/esm/{has-counter-a7dccaa5.js.map → has-counter-3fc44829.js.map} +1 -1
  320. package/dist/esm/hide-label-8b3a8709.js +4 -0
  321. package/dist/esm/{hide-label-418cc5c0.js.map → hide-label-8b3a8709.js.map} +1 -1
  322. package/dist/esm/href-d9ccbbdf.js +4 -0
  323. package/dist/esm/{href-7f134614.js.map → href-d9ccbbdf.js.map} +1 -1
  324. package/dist/esm/i18n-260f0fe9.js +4 -0
  325. package/dist/esm/{i18n-01abf777.js.map → i18n-260f0fe9.js.map} +1 -1
  326. package/dist/esm/{icons-acf365fd.js → icons-a9c52ed8.js} +1 -1
  327. package/dist/esm/{icons-acf365fd.js.map → icons-a9c52ed8.js.map} +1 -1
  328. package/dist/esm/{image-source-00f34574.js → image-source-8079f8a5.js} +1 -1
  329. package/dist/esm/{image-source-00f34574.js.map → image-source-8079f8a5.js.map} +1 -1
  330. package/dist/esm/index-bf880eba.js +4 -0
  331. package/dist/esm/index-bf880eba.js.map +1 -0
  332. package/dist/esm/index-ebe5a881.js +4 -0
  333. package/dist/esm/index-ebe5a881.js.map +1 -0
  334. package/dist/esm/index.js +1 -1
  335. package/dist/esm/index.js.map +1 -1
  336. package/dist/esm/kol-abbr.entry.js +1 -1
  337. package/dist/esm/kol-accordion.entry.js +1 -1
  338. package/dist/esm/kol-alert-wc.entry.js +1 -1
  339. package/dist/esm/kol-alert.entry.js +1 -1
  340. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  341. package/dist/esm/kol-avatar.entry.js +1 -1
  342. package/dist/esm/kol-badge.entry.js +1 -1
  343. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  344. package/dist/esm/kol-button-link.entry.js +1 -1
  345. package/dist/esm/kol-button-wc.entry.js +1 -1
  346. package/dist/esm/kol-button.entry.js +1 -1
  347. package/dist/esm/kol-card.entry.js +1 -1
  348. package/dist/esm/kol-combobox.entry.js +1 -1
  349. package/dist/esm/kol-details.entry.js +1 -1
  350. package/dist/esm/kol-drawer.entry.js +1 -1
  351. package/dist/esm/kol-form.entry.js +1 -1
  352. package/dist/esm/kol-heading.entry.js +1 -1
  353. package/dist/esm/kol-heading.entry.js.map +1 -1
  354. package/dist/esm/kol-icon.entry.js +1 -1
  355. package/dist/esm/kol-image.entry.js +1 -1
  356. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  357. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  358. package/dist/esm/kol-input-color.entry.js +1 -1
  359. package/dist/esm/kol-input-date.entry.js +1 -1
  360. package/dist/esm/kol-input-email.entry.js +1 -1
  361. package/dist/esm/kol-input-file.entry.js +1 -1
  362. package/dist/esm/kol-input-number.entry.js +1 -1
  363. package/dist/esm/kol-input-password.entry.js +1 -1
  364. package/dist/esm/kol-input-radio.entry.js +1 -1
  365. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  366. package/dist/esm/kol-input-range.entry.js +1 -1
  367. package/dist/esm/kol-input-text.entry.js +1 -1
  368. package/dist/esm/kol-kolibri.entry.js +1 -1
  369. package/dist/esm/kol-link-button.entry.js +1 -1
  370. package/dist/esm/kol-link-wc.entry.js +1 -1
  371. package/dist/esm/kol-link.entry.js +1 -1
  372. package/dist/esm/kol-modal.entry.js +1 -1
  373. package/dist/esm/kol-modal.entry.js.map +1 -1
  374. package/dist/esm/kol-nav.entry.js +1 -1
  375. package/dist/esm/kol-nav.entry.js.map +1 -1
  376. package/dist/esm/kol-pagination.entry.js +1 -1
  377. package/dist/esm/kol-pagination.entry.js.map +1 -1
  378. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  379. package/dist/esm/kol-popover-button.entry.js +1 -1
  380. package/dist/esm/kol-popover-wc.entry.js +1 -1
  381. package/dist/esm/kol-progress.entry.js +1 -1
  382. package/dist/esm/kol-quote.entry.js +1 -1
  383. package/dist/esm/kol-select.entry.js +1 -1
  384. package/dist/esm/kol-select.entry.js.map +1 -1
  385. package/dist/esm/kol-single-select.entry.js +1 -1
  386. package/dist/esm/kol-single-select.entry.js.map +1 -1
  387. package/dist/esm/kol-skip-nav.entry.js +1 -1
  388. package/dist/esm/kol-spin.entry.js +1 -1
  389. package/dist/esm/kol-split-button.entry.js +1 -1
  390. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  391. package/dist/esm/kol-table-stateful.entry.js +1 -1
  392. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  393. package/dist/esm/kol-table-stateless.entry.js +1 -1
  394. package/dist/esm/kol-tabs.entry.js +1 -1
  395. package/dist/esm/kol-textarea.entry.js +1 -1
  396. package/dist/esm/kol-toast-container.entry.js +1 -1
  397. package/dist/esm/kol-toolbar.entry.js +1 -1
  398. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  399. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  400. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  401. package/dist/esm/kol-tree-item.entry.js +1 -1
  402. package/dist/esm/kol-tree-wc.entry.js +1 -1
  403. package/dist/esm/kol-tree.entry.js +1 -1
  404. package/dist/esm/kol-version.entry.js +1 -1
  405. package/dist/esm/kolibri.js +1 -1
  406. package/dist/esm/{label-5982d241.js → label-bf9966d0.js} +1 -1
  407. package/dist/esm/{label-5982d241.js.map → label-bf9966d0.js.map} +1 -1
  408. package/dist/esm/loader.js +1 -1
  409. package/dist/esm/{open-a64bb227.js → open-385de2c9.js} +1 -1
  410. package/dist/esm/{open-a64bb227.js.map → open-385de2c9.js.map} +1 -1
  411. package/dist/esm/orientation-409d844a.js +4 -0
  412. package/dist/esm/orientation-409d844a.js.map +1 -0
  413. package/dist/esm/{rows-4ad04320.js → rows-225b4f43.js} +1 -1
  414. package/dist/esm/{rows-4ad04320.js.map → rows-225b4f43.js.map} +1 -1
  415. package/dist/esm/{show-96e68a00.js → show-fabfe6d7.js} +1 -1
  416. package/dist/esm/{show-96e68a00.js.map → show-fabfe6d7.js.map} +1 -1
  417. package/dist/esm/{spell-check-3f34625f.js → spell-check-5559a801.js} +1 -1
  418. package/dist/esm/{spell-check-3f34625f.js.map → spell-check-5559a801.js.map} +1 -1
  419. package/dist/esm/{suggestions-021d2964.js → suggestions-198125b7.js} +1 -1
  420. package/dist/esm/{suggestions-021d2964.js.map → suggestions-198125b7.js.map} +1 -1
  421. package/dist/esm/{table-settings-b08f49c1.js → table-settings-c12356ed.js} +1 -1
  422. package/dist/esm/{table-settings-b08f49c1.js.map → table-settings-c12356ed.js.map} +1 -1
  423. package/dist/esm/test-component.entry.js +1 -1
  424. package/dist/esm/tooltip-align-465a8590.js +4 -0
  425. package/dist/esm/{tooltip-align-4c18152e.js.map → tooltip-align-465a8590.js.map} +1 -1
  426. package/dist/esm/unique-nav-labels-e20db0b7.js +4 -0
  427. package/dist/esm/unique-nav-labels-e20db0b7.js.map +1 -0
  428. package/dist/esm/{validation-66c33ff5.js → validation-152ea092.js} +1 -1
  429. package/dist/esm/{validation-66c33ff5.js.map → validation-152ea092.js.map} +1 -1
  430. package/dist/esm/validation-9d549145.js +4 -0
  431. package/dist/esm/{validation-7cc70d5a.js.map → validation-9d549145.js.map} +1 -1
  432. package/dist/kolibri/{Alert-3c98a2ff.js → Alert-05f95bd6.js} +1 -1
  433. package/dist/kolibri/{Collapsible-e6c95e1f.js → Collapsible-7e53a94c.js} +1 -1
  434. package/dist/kolibri/{CustomSuggestionsOptionsGroup-6b0631f5.js → CustomSuggestionsOptionsGroup-042dc702.js} +1 -1
  435. package/dist/kolibri/FieldControlStateWrapper-b973bfc3.js +4 -0
  436. package/dist/kolibri/{FieldControlStateWrapper-7397d965.js.map → FieldControlStateWrapper-b973bfc3.js.map} +1 -1
  437. package/dist/kolibri/Heading-d8ed192d.js +4 -0
  438. package/dist/kolibri/Heading-d8ed192d.js.map +1 -0
  439. package/dist/kolibri/Icon-b74f22a2.js +4 -0
  440. package/dist/kolibri/{Input-ce53cfae.js → Input-80c438fc.js} +1 -1
  441. package/dist/kolibri/InputStateWrapper-0b8a1a3e.js +4 -0
  442. package/dist/kolibri/InputStateWrapper-0b8a1a3e.js.map +1 -0
  443. package/dist/kolibri/InternalUnderlinedBadgeText-7028c03e.js +4 -0
  444. package/dist/kolibri/Span-550d722f.js +4 -0
  445. package/dist/kolibri/{Span-89b9ae45.js.map → Span-550d722f.js.map} +1 -1
  446. package/dist/kolibri/{access-and-short-key-753466cb.js → access-and-short-key-f743a5c4.js} +1 -1
  447. package/dist/kolibri/align-d2572387.js +4 -0
  448. package/dist/kolibri/align-floating-elements-526ce555.js +4 -0
  449. package/dist/kolibri/align-floating-elements-526ce555.js.map +1 -0
  450. package/dist/kolibri/app-globals-e2bc9b44.js +4 -0
  451. package/dist/kolibri/{app-globals-7a7161e6.js.map → app-globals-e2bc9b44.js.map} +1 -1
  452. package/dist/kolibri/{associated.controller-4efb16f5.js → associated.controller-43abc1c0.js} +1 -1
  453. package/dist/kolibri/bootstrap-7fca1a52.js +4 -0
  454. package/dist/kolibri/{button-variant-d6a980cf.js → button-variant-4fc69b59.js} +1 -1
  455. package/dist/kolibri/{color-066d384d.js → color-1228dab7.js} +1 -1
  456. package/dist/kolibri/color-1228dab7.js.map +1 -0
  457. package/dist/kolibri/{controller-1beb6ffa.js → controller-460d12d6.js} +1 -1
  458. package/dist/kolibri/{controller-4227bd3b.js → controller-b4a4d397.js} +1 -1
  459. package/dist/kolibri/controller-c6ea1cc4.js +4 -0
  460. package/dist/kolibri/controller-c6ea1cc4.js.map +1 -0
  461. package/dist/kolibri/{controller-d626a16d.js → controller-d1cd494d.js} +1 -1
  462. package/dist/kolibri/{controller-icon-bb92519e.js → controller-icon-86ecd871.js} +1 -1
  463. package/dist/kolibri/custom-class-d73b81b1.js +4 -0
  464. package/dist/kolibri/{dev.utils-77f0b548.js → dev.utils-0ac8aabc.js} +1 -1
  465. package/dist/kolibri/{devtools-3a667970.js → devtools-be4a2647.js} +1 -1
  466. package/dist/kolibri/disabled-e1038f54.js +4 -0
  467. package/dist/kolibri/{getRenderStates-dba2a9a8.js → getRenderStates-d37b86aa.js} +1 -1
  468. package/dist/kolibri/{getRenderStates-dba2a9a8.js.map → getRenderStates-d37b86aa.js.map} +1 -1
  469. package/dist/kolibri/has-closer-798e8f4d.js +4 -0
  470. package/dist/kolibri/has-counter-3fc44829.js +4 -0
  471. package/dist/kolibri/hide-label-8b3a8709.js +4 -0
  472. package/dist/kolibri/href-d9ccbbdf.js +4 -0
  473. package/dist/kolibri/i18n-260f0fe9.js +4 -0
  474. package/dist/kolibri/{icons-acf365fd.js → icons-a9c52ed8.js} +1 -1
  475. package/dist/kolibri/image-source-8079f8a5.js +4 -0
  476. package/dist/kolibri/{index-136f59ac.js → index-bf880eba.js} +1 -1
  477. package/dist/kolibri/index-bf880eba.js.map +1 -0
  478. package/dist/kolibri/index-ebe5a881.js +4 -0
  479. package/dist/kolibri/index-ebe5a881.js.map +1 -0
  480. package/dist/kolibri/index.esm.js +1 -1
  481. package/dist/kolibri/index.esm.js.map +1 -1
  482. package/dist/kolibri/kol-abbr.entry.js +1 -1
  483. package/dist/kolibri/kol-accordion.entry.js +1 -1
  484. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  485. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  486. package/dist/kolibri/kol-alert.entry.js +1 -1
  487. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  488. package/dist/kolibri/kol-avatar.entry.js +1 -1
  489. package/dist/kolibri/kol-badge.entry.js +1 -1
  490. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  491. package/dist/kolibri/kol-button-link.entry.js +1 -1
  492. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  493. package/dist/kolibri/kol-button.entry.js +1 -1
  494. package/dist/kolibri/kol-card.entry.js +1 -1
  495. package/dist/kolibri/kol-combobox.entry.js +1 -1
  496. package/dist/kolibri/kol-details.entry.js +1 -1
  497. package/dist/kolibri/kol-drawer.entry.js +1 -1
  498. package/dist/kolibri/kol-form.entry.js +1 -1
  499. package/dist/kolibri/kol-heading.entry.js +1 -1
  500. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  501. package/dist/kolibri/kol-icon.entry.js +1 -1
  502. package/dist/kolibri/kol-image.entry.js +1 -1
  503. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  504. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  505. package/dist/kolibri/kol-input-color.entry.js +1 -1
  506. package/dist/kolibri/kol-input-date.entry.js +1 -1
  507. package/dist/kolibri/kol-input-email.entry.js +1 -1
  508. package/dist/kolibri/kol-input-file.entry.js +1 -1
  509. package/dist/kolibri/kol-input-number.entry.js +1 -1
  510. package/dist/kolibri/kol-input-password.entry.js +1 -1
  511. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  512. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  513. package/dist/kolibri/kol-input-range.entry.js +1 -1
  514. package/dist/kolibri/kol-input-text.entry.js +1 -1
  515. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  516. package/dist/kolibri/kol-link-button.entry.js +1 -1
  517. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  518. package/dist/kolibri/kol-link.entry.js +1 -1
  519. package/dist/kolibri/kol-modal.entry.js +1 -1
  520. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  521. package/dist/kolibri/kol-nav.entry.js +1 -1
  522. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  523. package/dist/kolibri/kol-pagination.entry.js +1 -1
  524. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  525. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  526. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  527. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  528. package/dist/kolibri/kol-progress.entry.js +1 -1
  529. package/dist/kolibri/kol-quote.entry.js +1 -1
  530. package/dist/kolibri/kol-select.entry.js +1 -1
  531. package/dist/kolibri/kol-select.entry.js.map +1 -1
  532. package/dist/kolibri/kol-single-select.entry.js +1 -1
  533. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  534. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  535. package/dist/kolibri/kol-spin.entry.js +1 -1
  536. package/dist/kolibri/kol-split-button.entry.js +1 -1
  537. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  538. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  539. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  540. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  541. package/dist/kolibri/kol-tabs.entry.js +1 -1
  542. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  543. package/dist/kolibri/kol-textarea.entry.js +1 -1
  544. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  545. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  546. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  547. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  548. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  549. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  550. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  551. package/dist/kolibri/kol-tree.entry.js +1 -1
  552. package/dist/kolibri/kol-version.entry.js +1 -1
  553. package/dist/kolibri/kolibri.esm.js +1 -1
  554. package/dist/kolibri/kolibri.esm.js.map +1 -1
  555. package/dist/kolibri/{label-5982d241.js → label-bf9966d0.js} +1 -1
  556. package/dist/kolibri/open-385de2c9.js +4 -0
  557. package/dist/kolibri/orientation-409d844a.js +4 -0
  558. package/dist/kolibri/orientation-409d844a.js.map +1 -0
  559. package/dist/kolibri/rows-225b4f43.js +4 -0
  560. package/dist/kolibri/show-fabfe6d7.js +4 -0
  561. package/dist/kolibri/spell-check-5559a801.js +4 -0
  562. package/dist/kolibri/{suggestions-021d2964.js → suggestions-198125b7.js} +1 -1
  563. package/dist/kolibri/{table-settings-b08f49c1.js → table-settings-c12356ed.js} +1 -1
  564. package/dist/kolibri/test-component.entry.js +1 -1
  565. package/dist/kolibri/tooltip-align-465a8590.js +4 -0
  566. package/dist/kolibri/unique-nav-labels-e20db0b7.js +4 -0
  567. package/dist/kolibri/unique-nav-labels-e20db0b7.js.map +1 -0
  568. package/dist/kolibri/validation-152ea092.js +4 -0
  569. package/dist/kolibri/validation-9d549145.js +4 -0
  570. package/dist/types/components/heading/shadow.d.ts +1 -3
  571. package/dist/types/components/input-radio/controller.d.ts +3 -2
  572. package/dist/types/components/input-radio/shadow.d.ts +4 -7
  573. package/dist/types/components/nav/shadow.d.ts +4 -3
  574. package/dist/types/components/toolbar/shadow.d.ts +3 -0
  575. package/dist/types/components.d.ts +16 -30
  576. package/dist/types/functional-component-wrappers/RadioStateWrapper/RadioStateWrapper.d.ts +10 -0
  577. package/dist/types/functional-component-wrappers/RadioStateWrapper/index.d.ts +1 -0
  578. package/dist/types/functional-components/Heading/Heading.d.ts +2 -4
  579. package/dist/types/functional-components/inputs/Radio/Radio.d.ts +8 -0
  580. package/dist/types/functional-components/inputs/Radio/index.d.ts +1 -0
  581. package/dist/types/schema/components/heading.d.ts +3 -3
  582. package/dist/types/schema/components/input-radio.d.ts +6 -7
  583. package/dist/types/schema/components/nav.d.ts +4 -6
  584. package/dist/types/schema/components/toolbar.d.ts +2 -1
  585. package/dist/types/schema/props/index.d.ts +1 -1
  586. package/dist/types/schema/props/orientation.d.ts +8 -0
  587. package/dist/types/schema/types/index.d.ts +1 -1
  588. package/doc/heading.md +5 -6
  589. package/doc/input-radio.md +0 -2
  590. package/doc/toolbar.md +5 -4
  591. package/package.json +4 -4
  592. package/vscode-custom-data.json +12 -35
  593. package/dist/cjs/CustomSuggestionsOptionsGroup-60ec84bd.js +0 -4
  594. package/dist/cjs/FieldControlStateWrapper-b83a1e2e.js +0 -4
  595. package/dist/cjs/FieldControlStateWrapper-b83a1e2e.js.map +0 -1
  596. package/dist/cjs/Heading-b8bbd132.js +0 -4
  597. package/dist/cjs/Heading-b8bbd132.js.map +0 -1
  598. package/dist/cjs/InputStateWrapper-89c220eb.js +0 -4
  599. package/dist/cjs/InputStateWrapper-89c220eb.js.map +0 -1
  600. package/dist/cjs/align-floating-elements-44e9ce7f.js +0 -4
  601. package/dist/cjs/align-floating-elements-44e9ce7f.js.map +0 -1
  602. package/dist/cjs/app-globals-46af1a24.js +0 -4
  603. package/dist/cjs/controller-3eecbf98.js +0 -4
  604. package/dist/cjs/controller-3eecbf98.js.map +0 -1
  605. package/dist/cjs/getRenderStates-8e102335.js.map +0 -1
  606. package/dist/cjs/image-source-f24a4569.js +0 -4
  607. package/dist/cjs/index-03ef29aa.js +0 -4
  608. package/dist/cjs/index-03ef29aa.js.map +0 -1
  609. package/dist/cjs/index-8b802221.js +0 -4
  610. package/dist/cjs/index-8b802221.js.map +0 -1
  611. package/dist/cjs/spell-check-0419d7d7.js +0 -4
  612. package/dist/cjs/tooltip-align-4446177f.js +0 -4
  613. package/dist/cjs/unique-nav-labels-879c42cf.js +0 -4
  614. package/dist/cjs/unique-nav-labels-879c42cf.js.map +0 -1
  615. package/dist/cjs/validation-2d282d7c.js +0 -4
  616. package/dist/esm/Alert-3c98a2ff.js +0 -4
  617. package/dist/esm/CustomSuggestionsOptionsGroup-6b0631f5.js +0 -4
  618. package/dist/esm/FieldControlStateWrapper-7397d965.js.map +0 -1
  619. package/dist/esm/Heading-bb974fcc.js +0 -4
  620. package/dist/esm/Heading-bb974fcc.js.map +0 -1
  621. package/dist/esm/InputStateWrapper-8dd66762.js +0 -4
  622. package/dist/esm/InputStateWrapper-8dd66762.js.map +0 -1
  623. package/dist/esm/align-floating-elements-14bb4167.js +0 -4
  624. package/dist/esm/align-floating-elements-14bb4167.js.map +0 -1
  625. package/dist/esm/app-globals-7a7161e6.js +0 -4
  626. package/dist/esm/controller-6c0e1b56.js +0 -4
  627. package/dist/esm/controller-6c0e1b56.js.map +0 -1
  628. package/dist/esm/disabled-e64a9155.js +0 -4
  629. package/dist/esm/getRenderStates-dba2a9a8.js.map +0 -1
  630. package/dist/esm/has-closer-ca9bcd36.js +0 -4
  631. package/dist/esm/has-counter-a7dccaa5.js +0 -4
  632. package/dist/esm/hide-label-418cc5c0.js +0 -4
  633. package/dist/esm/href-7f134614.js +0 -4
  634. package/dist/esm/i18n-01abf777.js +0 -4
  635. package/dist/esm/index-136f59ac.js +0 -4
  636. package/dist/esm/index-136f59ac.js.map +0 -1
  637. package/dist/esm/index-88dea7b1.js +0 -4
  638. package/dist/esm/index-88dea7b1.js.map +0 -1
  639. package/dist/esm/tooltip-align-4c18152e.js +0 -4
  640. package/dist/esm/unique-nav-labels-de957b96.js +0 -4
  641. package/dist/esm/unique-nav-labels-de957b96.js.map +0 -1
  642. package/dist/esm/validation-7cc70d5a.js +0 -4
  643. package/dist/kolibri/FieldControlStateWrapper-7397d965.js +0 -4
  644. package/dist/kolibri/Heading-bb974fcc.js +0 -4
  645. package/dist/kolibri/Heading-bb974fcc.js.map +0 -1
  646. package/dist/kolibri/Icon-faa6cbca.js +0 -4
  647. package/dist/kolibri/InputStateWrapper-8dd66762.js +0 -4
  648. package/dist/kolibri/InputStateWrapper-8dd66762.js.map +0 -1
  649. package/dist/kolibri/InternalUnderlinedBadgeText-2e08c7cb.js +0 -4
  650. package/dist/kolibri/Span-89b9ae45.js +0 -4
  651. package/dist/kolibri/align-a05c3d17.js +0 -4
  652. package/dist/kolibri/align-floating-elements-14bb4167.js +0 -4
  653. package/dist/kolibri/align-floating-elements-14bb4167.js.map +0 -1
  654. package/dist/kolibri/app-globals-7a7161e6.js +0 -4
  655. package/dist/kolibri/bootstrap-874afb5b.js +0 -4
  656. package/dist/kolibri/color-066d384d.js.map +0 -1
  657. package/dist/kolibri/controller-6c0e1b56.js +0 -4
  658. package/dist/kolibri/controller-6c0e1b56.js.map +0 -1
  659. package/dist/kolibri/custom-class-30e531d5.js +0 -4
  660. package/dist/kolibri/disabled-e64a9155.js +0 -4
  661. package/dist/kolibri/has-closer-ca9bcd36.js +0 -4
  662. package/dist/kolibri/has-counter-a7dccaa5.js +0 -4
  663. package/dist/kolibri/hide-label-418cc5c0.js +0 -4
  664. package/dist/kolibri/href-7f134614.js +0 -4
  665. package/dist/kolibri/i18n-01abf777.js +0 -4
  666. package/dist/kolibri/image-source-00f34574.js +0 -4
  667. package/dist/kolibri/index-136f59ac.js.map +0 -1
  668. package/dist/kolibri/index-88dea7b1.js +0 -4
  669. package/dist/kolibri/index-88dea7b1.js.map +0 -1
  670. package/dist/kolibri/open-a64bb227.js +0 -4
  671. package/dist/kolibri/rows-4ad04320.js +0 -4
  672. package/dist/kolibri/show-96e68a00.js +0 -4
  673. package/dist/kolibri/spell-check-3f34625f.js +0 -4
  674. package/dist/kolibri/tooltip-align-4c18152e.js +0 -4
  675. package/dist/kolibri/unique-nav-labels-de957b96.js +0 -4
  676. package/dist/kolibri/unique-nav-labels-de957b96.js.map +0 -1
  677. package/dist/kolibri/validation-66c33ff5.js +0 -4
  678. package/dist/kolibri/validation-7cc70d5a.js +0 -4
  679. package/dist/types/schema/props/heading-variant.d.ts +0 -8
  680. package/dist/types/schema/types/orientation.d.ts +0 -2
  681. /package/dist/kolibri/{Alert-3c98a2ff.js.map → Alert-05f95bd6.js.map} +0 -0
  682. /package/dist/kolibri/{Collapsible-e6c95e1f.js.map → Collapsible-7e53a94c.js.map} +0 -0
  683. /package/dist/kolibri/{CustomSuggestionsOptionsGroup-6b0631f5.js.map → CustomSuggestionsOptionsGroup-042dc702.js.map} +0 -0
  684. /package/dist/kolibri/{Icon-faa6cbca.js.map → Icon-b74f22a2.js.map} +0 -0
  685. /package/dist/kolibri/{Input-ce53cfae.js.map → Input-80c438fc.js.map} +0 -0
  686. /package/dist/kolibri/{InternalUnderlinedBadgeText-2e08c7cb.js.map → InternalUnderlinedBadgeText-7028c03e.js.map} +0 -0
  687. /package/dist/kolibri/{access-and-short-key-753466cb.js.map → access-and-short-key-f743a5c4.js.map} +0 -0
  688. /package/dist/kolibri/{align-a05c3d17.js.map → align-d2572387.js.map} +0 -0
  689. /package/dist/kolibri/{associated.controller-4efb16f5.js.map → associated.controller-43abc1c0.js.map} +0 -0
  690. /package/dist/kolibri/{bootstrap-874afb5b.js.map → bootstrap-7fca1a52.js.map} +0 -0
  691. /package/dist/kolibri/{button-variant-d6a980cf.js.map → button-variant-4fc69b59.js.map} +0 -0
  692. /package/dist/kolibri/{controller-1beb6ffa.js.map → controller-460d12d6.js.map} +0 -0
  693. /package/dist/kolibri/{controller-4227bd3b.js.map → controller-b4a4d397.js.map} +0 -0
  694. /package/dist/kolibri/{controller-d626a16d.js.map → controller-d1cd494d.js.map} +0 -0
  695. /package/dist/kolibri/{controller-icon-bb92519e.js.map → controller-icon-86ecd871.js.map} +0 -0
  696. /package/dist/kolibri/{custom-class-30e531d5.js.map → custom-class-d73b81b1.js.map} +0 -0
  697. /package/dist/kolibri/{dev.utils-77f0b548.js.map → dev.utils-0ac8aabc.js.map} +0 -0
  698. /package/dist/kolibri/{devtools-3a667970.js.map → devtools-be4a2647.js.map} +0 -0
  699. /package/dist/kolibri/{disabled-e64a9155.js.map → disabled-e1038f54.js.map} +0 -0
  700. /package/dist/kolibri/{has-closer-ca9bcd36.js.map → has-closer-798e8f4d.js.map} +0 -0
  701. /package/dist/kolibri/{has-counter-a7dccaa5.js.map → has-counter-3fc44829.js.map} +0 -0
  702. /package/dist/kolibri/{hide-label-418cc5c0.js.map → hide-label-8b3a8709.js.map} +0 -0
  703. /package/dist/kolibri/{href-7f134614.js.map → href-d9ccbbdf.js.map} +0 -0
  704. /package/dist/kolibri/{i18n-01abf777.js.map → i18n-260f0fe9.js.map} +0 -0
  705. /package/dist/kolibri/{icons-acf365fd.js.map → icons-a9c52ed8.js.map} +0 -0
  706. /package/dist/kolibri/{image-source-00f34574.js.map → image-source-8079f8a5.js.map} +0 -0
  707. /package/dist/kolibri/{label-5982d241.js.map → label-bf9966d0.js.map} +0 -0
  708. /package/dist/kolibri/{open-a64bb227.js.map → open-385de2c9.js.map} +0 -0
  709. /package/dist/kolibri/{rows-4ad04320.js.map → rows-225b4f43.js.map} +0 -0
  710. /package/dist/kolibri/{show-96e68a00.js.map → show-fabfe6d7.js.map} +0 -0
  711. /package/dist/kolibri/{spell-check-3f34625f.js.map → spell-check-5559a801.js.map} +0 -0
  712. /package/dist/kolibri/{suggestions-021d2964.js.map → suggestions-198125b7.js.map} +0 -0
  713. /package/dist/kolibri/{table-settings-b08f49c1.js.map → table-settings-c12356ed.js.map} +0 -0
  714. /package/dist/kolibri/{tooltip-align-4c18152e.js.map → tooltip-align-465a8590.js.map} +0 -0
  715. /package/dist/kolibri/{validation-66c33ff5.js.map → validation-152ea092.js.map} +0 -0
  716. /package/dist/kolibri/{validation-7cc70d5a.js.map → validation-9d549145.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as s}from"./index-88dea7b1.js";import{I as t}from"./controller-1beb6ffa.js";import{v as e}from"./spell-check-3f34625f.js";import{v as i}from"./suggestions-021d2964.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
4
+ import{w as s}from"./index-ebe5a881.js";import{I as t}from"./controller-460d12d6.js";import{v as e}from"./spell-check-5559a801.js";import{v as i}from"./suggestions-198125b7.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as n}from"./index-136f59ac.js";import{w as t}from"./index-88dea7b1.js";import{_ as o}from"./tslib.es6-1173d062.js";import{c as e}from"./clsx-09a06a12.js";import{c as s,a as i,I as r}from"./getRenderStates-dba2a9a8.js";import{a as c}from"./component-names-799e91e2.js";import{K as a}from"./Icon-faa6cbca.js";import{i as l}from"./InternalUnderlinedBadgeText-2e08c7cb.js";import{i as d}from"./isObject-ffcbbb76.js";import{v as m}from"./icons-acf365fd.js";const u=(t,s)=>{var{position:i="start",class:a}=t,r=o(t,["position","class"]);const c="kol-input-container__adornment",l=`${c}--${i}`;return n("div",Object.assign({class:e(c,l,a)},r),s)};function b(n){return!!n&&(Array.isArray(n)?n.length>0:Boolean(n))}const p=(t,s)=>{var{class:i}=t,a=o(t,["class"]);return n("div",Object.assign({class:e("kol-input-container__container",i)},a),s)},f=(t,i)=>{const{class:a,startAdornment:r,endAdornment:c,disabled:l,msg:d,touched:m,containerProps:h,startAdornmentProps:g,endAdornmentProps:j}=t,f=o(t,["class","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps"]),_=s(d,m),k={"kol-input-container--disabled":l,[`kol-input-container--${(null==d?void 0:d.type)||"error"}`]:_},v=Object.assign({class:e("kol-input-container",k,a)},f);return b(r)||b(c)?n("div",Object.assign({},v),n(u,Object.assign({},g,{position:"start"}),r),n(p,Object.assign({},h),i),n(u,Object.assign({},j,{position:"end"}),c)):n("div",Object.assign({},v),n(p,Object.assign({},h),i))},j=t=>{const{label:s,icons:e,hideLabel:i,disabled:a,onClick:r}=t,l=o(t,["label","icons","hideLabel","disabled","onClick"]);return n(c,Object.assign({_label:s,_disabled:a,_icons:e,_hideLabel:i,_on:{onClick:r}},l))},h=t=>{const{componentName:s="button",label:e,icon:i,onClick:r}=t,c=o(t,["componentName","label","icon","onClick"]);return n("button"===s?j:a,Object.assign({label:e||"",hideLabel:!0,icons:`codicon codicon-${i}`,onClick:r},c))};function v(n){let t,s;return"_icons"in n&&(t=n._icons),"_smartButton"in n&&(s=n._smartButton),{icons:t,smartButton:s,disabled:n._disabled,msg:i(n._msg),touched:n._touched}}const _=({state:t,endAdornment:s},e)=>{const{icons:o,smartButton:i,disabled:a,msg:r,touched:c}=v(t);let m=null==o?void 0:o.left;l(m)&&(m={icon:m});let b=null==o?void 0:o.right;l(b)&&(b={icon:b});const u=[],p=[];return s&&(Array.isArray(s)?p.push(...s):p.push(s)),m&&u.push(n(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(m)?m:{}))),d(i)&&p.push(n(h,Object.assign({componentName:"button",class:"kol-input-container__smart-button"},i,{hideLabel:!0,disabled:a}))),b&&p.push(n(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(b)?b:{}))),n(f,{disabled:a,msg:r,touched:c,startAdornment:u,endAdornment:p},e)};class k extends r{constructor(n,s,e){super(n,s,e),this.numberStringRegex=/^\d+(\.\d+)?$/,this.parseToNumber=n=>"number"==typeof n?isNaN(n)?null:n:this.isNumberString(n)?parseFloat(n):null,this.validateNumber=(n,s)=>t(this.component,n,(n=>null==n||"number"==typeof n||"string"==typeof n&&this.numberStringRegex.test(n)),new Set(["number","NumberString"]),s,{hooks:{beforePatch:(t,s)=>{(null==s?void 0:s.has(n))&&(null==s||s.set(n,this.parseToNumber(t)))}}}),this.component=n}validateIcons(n){m(this.component,n)}isNumberString(n){return"string"==typeof n&&this.numberStringRegex.test(n)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{k as I,h as K,_ as a};
4
+ import{h as n}from"./index-bf880eba.js";import{w as t}from"./index-ebe5a881.js";import{_ as o}from"./tslib.es6-1173d062.js";import{c as e}from"./clsx-09a06a12.js";import{c as s,a as i,I as r}from"./getRenderStates-d37b86aa.js";import{a as c}from"./component-names-799e91e2.js";import{K as a}from"./Icon-b74f22a2.js";import{i as l}from"./InternalUnderlinedBadgeText-7028c03e.js";import{i as d}from"./isObject-ffcbbb76.js";import{v as m}from"./icons-a9c52ed8.js";const u=(t,s)=>{var{position:i="start",class:a}=t,r=o(t,["position","class"]);const c="kol-input-container__adornment",l=`${c}--${i}`;return n("div",Object.assign({class:e(c,l,a)},r),s)};function b(n){return!!n&&(Array.isArray(n)?n.length>0:Boolean(n))}const p=(t,s)=>{var{class:i}=t,a=o(t,["class"]);return n("div",Object.assign({class:e("kol-input-container__container",i)},a),s)},f=(t,i)=>{const{class:a,startAdornment:r,endAdornment:c,disabled:l,msg:d,touched:m,containerProps:h,startAdornmentProps:g,endAdornmentProps:j}=t,_=o(t,["class","startAdornment","endAdornment","disabled","msg","touched","containerProps","startAdornmentProps","endAdornmentProps"]),f=s(d,m),k={"kol-input-container--disabled":l,[`kol-input-container--${(null==d?void 0:d.type)||"error"}`]:f},v=Object.assign({class:e("kol-input-container",k,a)},_);return b(r)||b(c)?n("div",Object.assign({},v),n(u,Object.assign({},g,{position:"start"}),r),n(p,Object.assign({},h),i),n(u,Object.assign({},j,{position:"end"}),c)):n("div",Object.assign({},v),n(p,Object.assign({},h),i))},j=t=>{const{label:s,icons:e,hideLabel:i,disabled:a,onClick:r}=t,l=o(t,["label","icons","hideLabel","disabled","onClick"]);return n(c,Object.assign({_label:s,_disabled:a,_icons:e,_hideLabel:i,_on:{onClick:r}},l))},h=t=>{const{componentName:s="button",label:e,icon:i,onClick:r}=t,c=o(t,["componentName","label","icon","onClick"]);return n("button"===s?j:a,Object.assign({label:e||"",hideLabel:!0,icons:`codicon codicon-${i}`,onClick:r},c))};function v(n){let t,s;return"_icons"in n&&(t=n._icons),"_smartButton"in n&&(s=n._smartButton),{icons:t,smartButton:s,disabled:n._disabled,msg:i(n._msg),touched:n._touched}}const _=({state:t,endAdornment:s},e)=>{const{icons:o,smartButton:i,disabled:a,msg:r,touched:c}=v(t);let m=null==o?void 0:o.left;l(m)&&(m={icon:m});let b=null==o?void 0:o.right;l(b)&&(b={icon:b});const u=[],p=[];return s&&(Array.isArray(s)?p.push(...s):p.push(s)),m&&u.push(n(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(m)?m:{}))),d(i)&&p.push(n(h,Object.assign({componentName:"button",class:"kol-input-container__smart-button"},i,{hideLabel:!0,disabled:a}))),b&&p.push(n(h,Object.assign({componentName:"icon",class:"kol-input-container__icon"},d(b)?b:{}))),n(f,{disabled:a,msg:r,touched:c,startAdornment:u,endAdornment:p},e)};class k extends r{constructor(n,s,e){super(n,s,e),this.numberStringRegex=/^\d+(\.\d+)?$/,this.parseToNumber=n=>"number"==typeof n?isNaN(n)?null:n:this.isNumberString(n)?parseFloat(n):null,this.validateNumber=(n,s)=>t(this.component,n,(n=>null==n||"number"==typeof n||"string"==typeof n&&this.numberStringRegex.test(n)),new Set(["number","NumberString"]),s,{hooks:{beforePatch:(t,s)=>{(null==s?void 0:s.has(n))&&(null==s||s.set(n,this.parseToNumber(t)))}}}),this.component=n}validateIcons(n){m(this.component,n)}isNumberString(n){return"string"==typeof n&&this.numberStringRegex.test(n)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{k as I,h as K,_ as a};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{B as e}from"./index-ebe5a881.js";const s=(s,a)=>{e(s,"_customClass",a,{defaultValue:void 0})};export{s as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-88dea7b1.js";import{E as r}from"./index-136f59ac.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(m=()=>"nonce");export{l as i,m as n,f as r};
4
+ import{L as e,g as t,s as n,d as i,e as o,p as s,h as a}from"./index-ebe5a881.js";import{E as r}from"./index-bf880eba.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(f=()=>"nonce");export{l as i,f as n,b as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{Q as t,g as e,L as o,F as s,R as a,T as i,N as l,U as n,W as r,X as f,j as c,Y as d,e as L}from"./index-88dea7b1.js";import{i as p,r as m}from"./dev.utils-77f0b548.js";import"./index-136f59ac.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function h(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(p(),t()){m(),h("a11yColorContrast",i),h("querySelector",l),h("querySelectorAll",n),h("querySelectorColors",r),h("utils",(function(){return f})),h("parseJson",c),h("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(p),v("Development mode",t()),v("Experimental mode",s()),v("Color contrast analysis",a()),a()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{f.queryHtmlElementColors(e().createElement("div"),i(o),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
4
+ import{Q as t,g as e,L as o,F as s,R as a,T as i,N as l,U as n,W as r,X as c,k as f,Y as d,h as L}from"./index-ebe5a881.js";import{i as p,r as m}from"./dev.utils-0ac8aabc.js";import"./index-bf880eba.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function h(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),b=()=>{if(p(),t()){m(),h("a11yColorContrast",i),h("querySelector",l),h("querySelectorAll",n),h("querySelectorColors",r),h("utils",(function(){return c})),h("parseJson",f),h("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e().body.appendChild(p),v("Development mode",t()),v("Experimental mode",s()),v("Color contrast analysis",a()),a()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{c.queryHtmlElementColors(e().createElement("div"),i(o),!1,!1)}),1e4)}),2500)}}};export{b as initialize};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as a,j as e}from"./index-ebe5a881.js";const s=(s,o)=>{a(s,"_disabled",o,{hooks:{afterPatch:a=>{!0===a&&e()}}})};export{s as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as e,o as t,j as i,w as s,v as o,q as a,B as r,l as n,i as l,b as d,A as h,D as c,k as u}from"./index-88dea7b1.js";import{d as f,K as m}from"./events-5886c68b.js";import{A as p}from"./associated.controller-4efb16f5.js";import{v as b,a as v,b as g,c as y}from"./access-and-short-key-753466cb.js";import{v as j}from"./tooltip-align-4c18152e.js";import{v as _}from"./hide-label-418cc5c0.js";import{a as L}from"./label-5982d241.js";import{_ as x}from"./tslib.es6-1173d062.js";import{h as k,F as O}from"./index-136f59ac.js";import{c as K}from"./clsx-09a06a12.js";import{K as B}from"./Alert-3c98a2ff.js";import{i as F,K as P}from"./InternalUnderlinedBadgeText-2e08c7cb.js";import{t as C}from"./i18n-01abf777.js";import{f as M}from"./component-names-799e91e2.js";const T=(t,o)=>{e(t,"_adjustHeight",o)},$=(t,o,s)=>{e(t,"_hideMsg",o,s)};function w(e){return Object.entries(e).reduce(((e,[t,o])=>{const s=t.startsWith("_")?t.slice(1):t;return Object.assign(Object.assign({},e),{[s]:o})}),{})}const H=(e,n)=>{t(n,(()=>{try{n=i(n)}catch(e){}s(e,"_msg",(e=>o(e)&&a(null==e?void 0:e._description,1)||void 0===(null==e?void 0:e._type)),new Set(["MsgPropType"]),n)}))};function N(e){if(e)return w(e)}function A(e,t){return!!e&&(!0===t||"error"!==(null==e?void 0:e.type))}const E=(t,o)=>{e(t,"_touched",o)},I=e=>{var{alert:t,msg:o,hideMsg:s,id:i,class:n}=e,a=x(e,["alert","msg","hideMsg","id","class"]);return k(B,Object.assign({id:`${i}-msg`,alert:t,type:"error",class:K("kol-form-field__msg",{"visually-hidden":!0===s},n)},o,a,{"aria-hidden":"true"}),(null==o?void 0:o.description)||void 0)},q=({hasExpertSlot:e,accessKey:t,shortKey:o,label:s,showBadge:i=!0})=>{if(e)return k("slot",{name:"expert"});if(!s)return null;const n=F(t)||F(o);if(!i||!n)return k("span",null,s);const a=r(t,o);return k(O,null,k(P,{badgeText:a,label:s})," ",k("span",{class:"badge-text-hint","aria-hidden":"true"},a))},S=e=>{var{component:t="label",id:o,baseClassName:s="kol-form-field",class:i,accessKey:n,shortKey:a,label:l,hideLabel:r,hasExpertSlot:d,showBadge:c}=e,h=x(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const m=!d&&r;return k(t,Object.assign({},h,{class:K(`${s}__label`,i),id:m?void 0:`${o}-label`,hidden:m,htmlFor:o}),k("span",{class:K(`${s}__label-text`)},k(q,{hasExpertSlot:d,accessKey:n,shortKey:a,label:l,showBadge:c})))},D=e=>{var{id:t,class:o,hint:s,baseClassName:i="kol-form-field"}=e,n=x(e,["id","class","hint","baseClassName"]);return s?k("span",Object.assign({class:K(`${i}__hint`,o),id:`${t}-hint`},n),s):null},W=e=>{var{currentLength:t,maxLength:o,class:s}=e,i=x(e,["currentLength","maxLength","class"]);return k("span",Object.assign({class:K("kol-form-field__counter",s)},i,{"aria-atomic":"true","aria-live":"polite","data-testid":"input-counter"}),t,o&&k(O,null,k("span",{"aria-label":C("kol-of"),role:"img"},"/"),o)," ",k("span",null,C("kol-characters")))},z=({id:e,align:t,badgeText:o,hideLabel:s,label:i,class:n})=>k(M,{"aria-hidden":"true",class:K("kol-form-field__tooltip",n),_badgeText:o,_align:t,_id:s?`${e}-label`:void 0,_label:i});function U(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const V=(e,t)=>{var{class:o}=e,s=x(e,["class"]);return k("div",Object.assign({class:K("kol-form-field__input",o)},s),t)},G=(e,t)=>{const{component:o="div",renderNoLabel:s,renderNoTooltip:i,renderNoHint:a,anotherChildren:l,id:d,required:c,alert:h,disabled:m,class:p,msg:u,hideMsg:b,hideLabel:g,label:f,hint:v,accessKey:_,shortKey:y,tooltipAlign:j,counter:L,readOnly:O,touched:C,formFieldLabelProps:B,formFieldHintProps:F,formFieldTooltipProps:M,formFieldMsgProps:P,formFieldCounterProps:E,formFieldInputProps:H}=e,T=x(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps"]),N=!s,$=!a,q=!i,w=n(f),G=A(u,C),J=r(_,y),Q=q&&!w&&g;let R={"kol-form-field--disabled":Boolean(m),"kol-form-field--required":Boolean(c),"kol-form-field--touched":Boolean(C),"kol-form-field--hide-label":Boolean(g),"kol-form-field--read-only":Boolean(O),"kol-form-field--hidden-msg":Boolean(b)};return G&&(R=Object.assign(Object.assign({},R),{[`kol-form-field--${(null==u?void 0:u.type)||"error"}`]:!0,[`kol-form-field--${U(u)}`]:!0})),k(o,Object.assign({class:K("kol-form-field",R,p)},T),N&&k(S,Object.assign({},B||{},{id:d,hasExpertSlot:w,hideLabel:g,label:f,accessKey:_,shortKey:y})),k(V,Object.assign({},H),t,Q&&k(z,Object.assign({},M||{},{id:d,label:f,hideLabel:g,align:j,badgeText:J}))),L?k(W,Object.assign({},E||{},L)):null,G&&k(I,Object.assign({},P||{},{id:d,alert:h,msg:u,hideMsg:b})),$&&k(D,Object.assign({},F||{},{id:d,hint:v})),l)};function J({ariaDescribedBy:e,hideLabel:t,label:o}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&o?o:void 0}}class Q extends p{constructor(e,t,o){super(e,t,o),this.component=e}validateTouched(e){E(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class R extends Q{constructor(e,t,o){super(e,t,o),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=e}validateAccessKey(e){b(this.component,e),v(e,this.component._shortKey)}validateAdjustHeight(e){T(this.component,e)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&l()}validateTooltipAlign(e){j(this.component,e)}validateHideMsg(e){$(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&d("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){_(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&d("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){h(this.component,"_hint",e)}validateId(e){h(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||c("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){L(this.component,e,{required:!0})}validateMsg(e){H(this.component,e)}validateOn(e){"object"==typeof e&&u(this.component,"_on",e)}validateShortKey(e){g(this.component,e),v(this.component._accessKey,e)}validateSmartButton(e){t(e,(()=>{try{e=i(e)}catch(e){}u(this.component,"_smartButton",e)}))}validateTabIndex(e){y(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),v(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&f(this.host,e,t)}onBlur(e){var t;this.component._touched=!0,this.emitEvent(m.blur),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onBlur)&&this.component._on.onBlur(e)}onChange(e,t){var o;void 0===t&&(t=e.target.value),this.emitEvent(m.change,t),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach((e=>e(t)))}onInput(e,t=!0,o){var s;void 0===o&&(o=e.target.value),this.emitEvent(m.input,o),t&&this.setFormAssociatedValue(o),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onInput)&&this.component._on.onInput(e,o)}onClick(e){var t;this.emitEvent(m.click),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onClick)&&this.component._on.onClick(e)}onFocus(e){var t;this.emitEvent(m.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}}function X(e){const t={id:e._id,disabled:e._disabled,msg:N(e._msg),hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched,accessKey:e._accessKey,shortKey:e._shortKey};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_hasCounter"in e&&"_currentLength"in e&&(t.counter=e._hasCounter?{currentLength:e._currentLength}:void 0,t.counter&&"_maxLength"in e&&(t.counter.maxLength=e._maxLength)),t}const Y=(e,t)=>{var{state:o}=e,s=x(e,["state"]);return k(G,Object.assign({},X(o),s),t)},Z=e=>{var t,o,s;const i=Boolean((null===(t=null==e?void 0:e._msg)||void 0===t?void 0:t._description)&&(null===(o=e._msg._description)||void 0===o?void 0:o.length)>0),n="error"===(null===(s=e._msg)||void 0===s?void 0:s._type)&&i&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return i&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:n,hasHint:a,ariaDescribedBy:l}};export{Y as F,R as I,S as K,N as a,z as b,A as c,D as d,J as e,Z as g};
4
+ import{i as e,o as t,k as i,w as s,x as o,t as a,C as n,m as r,j as l,c as d,B as h,D as c,l as u}from"./index-ebe5a881.js";import{d as f,K as m}from"./events-5886c68b.js";import{A as p}from"./associated.controller-43abc1c0.js";import{v as b,a as v,b as g,c as y}from"./access-and-short-key-f743a5c4.js";import{v as _}from"./tooltip-align-465a8590.js";import{v as j}from"./hide-label-8b3a8709.js";import{a as x}from"./label-bf9966d0.js";import{_ as L}from"./tslib.es6-1173d062.js";import{h as k,F as O}from"./index-bf880eba.js";import{c as K}from"./clsx-09a06a12.js";import{K as B}from"./Alert-05f95bd6.js";import{i as C,K as F}from"./InternalUnderlinedBadgeText-7028c03e.js";import{t as P}from"./i18n-260f0fe9.js";import{f as M}from"./component-names-799e91e2.js";const T=(t,o)=>{e(t,"_adjustHeight",o)},$=(t,o,s)=>{e(t,"_hideMsg",o,s)};function w(e){return Object.entries(e).reduce(((e,[t,o])=>{const s=t.startsWith("_")?t.slice(1):t;return Object.assign(Object.assign({},e),{[s]:o})}),{})}const H=(e,n)=>{t(n,(()=>{try{n=i(n)}catch(e){}s(e,"_msg",(e=>o(e)&&a(null==e?void 0:e._description,1)||void 0===(null==e?void 0:e._type)),new Set(["MsgPropType"]),n)}))};function N(e){if(e)return w(e)}function E(e,t){return!!e&&(!0===t||"error"!==(null==e?void 0:e.type))}const I=(t,o)=>{e(t,"_touched",o)},A=e=>{var{alert:t,msg:o,hideMsg:s,id:i,class:n}=e,a=L(e,["alert","msg","hideMsg","id","class"]);return k(B,Object.assign({id:`${i}-msg`,alert:t,type:"error",class:K("kol-form-field__msg",{"visually-hidden":!0===s},n)},o,a,{"aria-hidden":"true"}),(null==o?void 0:o.description)||void 0)},S=({hasExpertSlot:e,accessKey:t,shortKey:o,label:s,showBadge:i=!0})=>{if(e)return k("slot",{name:"expert"});if(!s)return null;const a=C(t)||C(o);if(!i||!a)return k("span",null,s);const l=n(t,o);return k(O,null,k(F,{badgeText:l,label:s})," ",k("span",{class:"badge-text-hint","aria-hidden":"true"},l))},q=e=>{var{component:t="label",id:o,baseClassName:s="kol-form-field",class:i,accessKey:n,shortKey:a,label:l,hideLabel:r,hasExpertSlot:d,showBadge:c}=e,h=L(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge"]);const m=!d&&r;return k(t,Object.assign({},h,{class:K(`${s}__label`,i),id:m?void 0:`${o}-label`,hidden:m,htmlFor:o}),k("span",{class:K(`${s}__label-text`)},k(S,{hasExpertSlot:d,accessKey:n,shortKey:a,label:l,showBadge:c})))},D=e=>{var{id:t,class:o,hint:s,baseClassName:i="kol-form-field"}=e,n=L(e,["id","class","hint","baseClassName"]);return s?k("span",Object.assign({class:K(`${i}__hint`,o),id:`${t}-hint`},n),s):null},W=e=>{var{currentLength:t,maxLength:o,class:s}=e,i=L(e,["currentLength","maxLength","class"]);return k("span",Object.assign({class:K("kol-form-field__counter",s)},i,{"aria-atomic":"true","aria-live":"polite","data-testid":"input-counter"}),t,o&&k(O,null,k("span",{"aria-label":P("kol-of"),role:"img"},"/"),o)," ",k("span",null,P("kol-characters")))},z=({id:e,align:t,badgeText:o,hideLabel:s,label:i,class:n})=>k(M,{"aria-hidden":"true",class:K("kol-form-field__tooltip",n),_badgeText:o,_align:t,_id:s?`${e}-label`:void 0,_label:i});function U(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const V=(e,t)=>{var{class:o}=e,s=L(e,["class"]);return k("div",Object.assign({class:K("kol-form-field__input",o)},s),t)},G=(e,t)=>{const{component:o="div",renderNoLabel:s,renderNoTooltip:i,renderNoHint:a,anotherChildren:l,id:d,required:c,alert:h,disabled:m,class:p,msg:u,hideMsg:b,hideLabel:g,label:f,hint:v,accessKey:_,shortKey:y,tooltipAlign:j,counter:x,readOnly:C,touched:O,formFieldLabelProps:B,formFieldHintProps:F,formFieldTooltipProps:M,formFieldMsgProps:P,formFieldCounterProps:H,formFieldInputProps:I}=e,T=L(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","tooltipAlign","counter","readOnly","touched","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps"]),N=!s,$=!a,w=!i,S=r(f),G=E(u,O),J=n(_,y),Q=w&&!S&&g;let R={"kol-form-field--disabled":Boolean(m),"kol-form-field--required":Boolean(c),"kol-form-field--touched":Boolean(O),"kol-form-field--hide-label":Boolean(g),"kol-form-field--read-only":Boolean(C),"kol-form-field--hidden-msg":Boolean(b)};return G&&(R=Object.assign(Object.assign({},R),{[`kol-form-field--${(null==u?void 0:u.type)||"error"}`]:!0,[`kol-form-field--${U(u)}`]:!0})),k(o,Object.assign({class:K("kol-form-field",R,p)},T),N&&k(q,Object.assign({},B||{},{id:d,hasExpertSlot:S,hideLabel:g,label:f,accessKey:_,shortKey:y})),k(V,Object.assign({},I),t,Q&&k(z,Object.assign({},M||{},{id:d,label:f,hideLabel:g,align:j,badgeText:J}))),x?k(W,Object.assign({},H||{},x)):null,G&&k(A,Object.assign({},P||{},{id:d,alert:h,msg:u,hideMsg:b})),$&&k(D,Object.assign({},F||{},{id:d,hint:v})),l)};function J({ariaDescribedBy:e,hideLabel:t,label:o}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&o?o:void 0}}class Q extends p{constructor(e,t,o){super(e,t,o),this.component=e}validateTouched(e){I(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class R extends Q{constructor(e,t,o){super(e,t,o),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=e}validateAccessKey(e){b(this.component,e),v(e,this.component._shortKey)}validateAdjustHeight(e){T(this.component,e)}validateDisabled(t){e(this.component,"_disabled",t),!0===t&&l()}validateTooltipAlign(e){_(this.component,e)}validateHideMsg(e){$(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&d("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){j(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&d("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){h(this.component,"_hint",e)}validateId(e){h(this.component,"_id",e,{minLength:1}),""!==e&&void 0!==e||c("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(e){x(this.component,e,{required:!0})}validateMsg(e){H(this.component,e)}validateOn(e){"object"==typeof e&&u(this.component,"_on",e)}validateShortKey(e){g(this.component,e),v(this.component._accessKey,e)}validateSmartButton(e){t(e,(()=>{try{e=i(e)}catch(e){}u(this.component,"_smartButton",e)}))}validateTabIndex(e){y(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),v(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&f(this.host,e,t)}onBlur(e){var t;this.component._touched=!0,this.emitEvent(m.blur),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onBlur)&&this.component._on.onBlur(e)}onChange(e,t){var o;void 0===t&&(t=e.target.value),this.emitEvent(m.change,t),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach((e=>e(t)))}onInput(e,t=!0,o){var s;void 0===o&&(o=e.target.value),this.emitEvent(m.input,o),t&&this.setFormAssociatedValue(o),"function"==typeof(null===(s=this.component._on)||void 0===s?void 0:s.onInput)&&this.component._on.onInput(e,o)}onClick(e){var t;this.emitEvent(m.click),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onClick)&&this.component._on.onClick(e)}onFocus(e){var t;this.emitEvent(m.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}}function X(e){const t={id:e._id,disabled:e._disabled,msg:N(e._msg),hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_accessKey"in e&&(t.accessKey=e._accessKey),"_shortKey"in e&&(t.shortKey=e._shortKey),"_hasCounter"in e&&"_currentLength"in e&&(t.counter=e._hasCounter?{currentLength:e._currentLength}:void 0,t.counter&&"_maxLength"in e&&(t.counter.maxLength=e._maxLength)),t}const Y=(e,t)=>{var{state:o}=e,s=L(e,["state"]);return k(G,Object.assign({},X(o),s),t)},Z=e=>{var t,o,s;const i=Boolean((null===(t=null==e?void 0:e._msg)||void 0===t?void 0:t._description)&&(null===(o=e._msg._description)||void 0===o?void 0:o.length)>0),n="error"===(null===(s=e._msg)||void 0===s?void 0:s._type)&&i&&!0===e._touched,a="string"==typeof e._hint&&e._hint.length>0,l=[];return i&&l.push(`${e._id}-msg`),a&&l.push(`${e._id}-hint`),{hasError:n,hasHint:a,ariaDescribedBy:l}};export{Y as F,R as I,q as K,N as a,z as b,E as c,D as d,J as e,Z as g};
@@ -1 +1 @@
1
- {"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideMsg","options","transformObjectProperties","obj","Object","entries","reduce","acc","key","newKey","startsWith","slice","assign","validateMsg","objectObjectHandler","parseJson","e","watchValidator","isObject","isString","_description","_type","undefined","Set","convertMsgToInternMsg","msg","checkHasMsg","touched","showMsg","type","validateTouched","FormFieldMsgFc","_a","alert","hideMsg","id","class","classNames","other","__rest","h","KolAlertFc","clsx","description","LabelFc","hasExpertSlot","accessKey","shortKey","label","showBadge","name","hasBadgeText","badgeText","buildBadgeTextString","Fragment","InternalUnderlinedBadgeText","KolFormFieldLabelFc","Component","baseClassName","hideLabel","useTooltipInsteadOfLabel","hidden","htmlFor","KolFormFieldHintFc","hint","KolFormFieldCounterFc","currentLength","maxLength","translate","role","FormFieldTooltipFc","align","KolTooltipWcTag","_badgeText","_align","_id","_label","getModifierClassNameByMsgType","default","info","success","warning","error","InputContainer","children","KolFormFieldFc","props","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","required","disabled","tooltipAlign","counter","readOnly","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps","showLabel","showHint","showTooltip","showExpertSlot","stateCssClasses","Boolean","KolFormFieldTooltipFc","KolFormFieldMsgFc","getDefaultProps","ariaDescribedBy","title","autoCapitalize","autoCorrect","length","join","ControlledInputController","AssociatedInputController","constructor","host","super","this","componentWillLoad","_touched","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","validateAccessAndShortKey","_shortKey","validateDisabled","a11yHintDisabled","validateTooltipAlign","hooks","afterPatch","state","_hideMsg","a11yHint","validateHideLabel","_hideLabel","validateHint","watchString","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","validateOn","setState","validateShortKey","_accessKey","validateSmartButton","validateTabIndex","_adjustHeight","_msg","_disabled","_hint","_smartButton","_on","_tabIndex","emitEvent","dispatchDomEvent","event","KolEvent","blur","target","change","forEach","listener","shouldSetFormAssociatedValue","input","setFormAssociatedValue","click","focus","addValueChangeListener","push","getFormFieldProps","_required","_readOnly","_hasCounter","_currentLength","_maxLength","FormFieldStateWrapper","getRenderStates","hasMessage","_b","isMessageValidError","_c","hasError","hasHint"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-msg.ts","src/utils/transformObjectProperties.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldHint/FormFieldHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.tsx","src/functional-components/FormFieldTooltip/FormFieldTooltip.tsx","src/functional-components/FormField/FormField.tsx","src/functional-components/inputs/_helpers/getDefaultProps.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts","src/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.tsx","src/functional-component-wrappers/_helpers/getRenderStates.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideMsgPropType = boolean;\n\n/**\n * Hides the message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideMsg = {\n\thideMsg: HideMsgPropType;\n};\n\n/* validator */\nexport const validateHideMsg = (component: Generic.Element.Component, value?: HideMsgPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideMsg', value, options);\n};\n","/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps, InternalAlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString } from '../validators';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\nexport type InternMsgPropType = Partial<\n\tInternalAlertProps & {\n\t\tdescription: string;\n\t}\n>;\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => (isObject(value) && isString(value?._description, 1)) || value?._type === undefined,\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t);\n\t});\n};\n\nexport function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined {\n\tif (!msg) {\n\t\treturn undefined;\n\t}\n\n\treturn transformObjectProperties(msg);\n}\n\nexport function checkHasMsg(msg?: InternMsgPropType, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * The message is shown if:\n\t * - we show only one message at a time\n\t * - by error messages the input must be touched\n\t */\n\tconst showMsg = msg ? touched === true || msg?.type !== 'error' : false;\n\n\treturn showMsg;\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import clsx from 'clsx';\nimport type { AlertPropType, HideMsgPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideMsg?: HideMsgPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideMsg, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-msg`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport InternalUnderlinedBadgeText from '../InternalUnderlinedBadgeText';\nimport { buildBadgeTextString } from '../../schema';\nimport { isString } from 'lodash-es';\n\ntype LabelProps = {\n\tlabel?: string;\n\taccessKey?: string;\n\tshortKey?: string;\n\thasExpertSlot?: boolean;\n\tshowBadge?: boolean;\n};\n\ntype FormFieldLabelProps = JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\tcomponent?: 'label' | 'legend';\n\tid: string;\n\thideLabel?: boolean;\n\tbaseClassName?: string;\n\tshowBadge?: boolean;\n} & LabelProps;\n\nconst LabelFc: FC<LabelProps> = ({ hasExpertSlot, accessKey, shortKey, label, showBadge = true }) => {\n\tif (hasExpertSlot) {\n\t\treturn <slot name=\"expert\"></slot>;\n\t}\n\n\tif (!label) {\n\t\treturn null;\n\t}\n\n\tconst hasBadgeText = isString(accessKey) || isString(shortKey);\n\n\tif (!showBadge || !hasBadgeText) {\n\t\treturn <span>{label}</span>;\n\t}\n\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\n\treturn (\n\t\t<>\n\t\t\t<InternalUnderlinedBadgeText badgeText={badgeText} label={label} />\n\t\t\t&nbsp;\n\t\t\t<span class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t{badgeText}\n\t\t\t</span>\n\t\t</>\n\t);\n};\n\nconst KolFormFieldLabelFc: FC<FormFieldLabelProps> = ({\n\tcomponent: Component = 'label',\n\tid,\n\tbaseClassName = 'kol-form-field',\n\tclass: classNames,\n\taccessKey,\n\tshortKey,\n\tlabel,\n\thideLabel,\n\thasExpertSlot,\n\tshowBadge,\n\t...other\n}) => {\n\tconst useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n\n\treturn (\n\t\t<Component\n\t\t\t{...other}\n\t\t\tclass={clsx(`${baseClassName}__label`, classNames)}\n\t\t\tid={!useTooltipInsteadOfLabel ? `${id}-label` : undefined}\n\t\t\thidden={useTooltipInsteadOfLabel}\n\t\t\thtmlFor={id}\n\t\t>\n\t\t\t{/* INFO: span is needed for css styling :after content like a star (*) or optional text ! */}\n\t\t\t<span class={clsx(`${baseClassName}__label-text`)}>\n\t\t\t\t{/* INFO: label comes with any html tag or as plain text! */}\n\t\t\t\t<LabelFc hasExpertSlot={hasExpertSlot} accessKey={accessKey} shortKey={shortKey} label={label} showBadge={showBadge} />\n\t\t\t</span>\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldLabelFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\ntype FormFieldHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\thint?: string;\n\tbaseClassName?: string;\n};\n\nconst KolFormFieldHintFc: FC<FormFieldHintProps> = ({ id, class: classNames, hint, baseClassName = 'kol-form-field', ...other }) => {\n\tif (!hint) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<span class={clsx(`${baseClassName}__hint`, classNames)} id={`${id}-hint`} {...other}>\n\t\t\t{hint}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldHintFc;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { translate } from '../../i18n';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength?: number;\n\tmaxLength?: number;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, maxLength, class: classNames, ...other }) => {\n\treturn (\n\t\t<span class={clsx('kol-form-field__counter', classNames)} {...other} aria-atomic=\"true\" aria-live=\"polite\" data-testid=\"input-counter\">\n\t\t\t{currentLength}\n\t\t\t{maxLength && (\n\t\t\t\t<>\n\t\t\t\t\t<span aria-label={translate('kol-of')} role=\"img\">\n\t\t\t\t\t\t/\n\t\t\t\t\t</span>\n\t\t\t\t\t{maxLength}\n\t\t\t\t</>\n\t\t\t)}\n\t\t\t&nbsp;<span>{translate('kol-characters')}</span>\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldCounterFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport type { AlignPropType } from '../../schema';\n\ntype FormFieldTooltipProps = Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'> & {\n\tid: string;\n\talign?: AlignPropType;\n\tbadgeText?: string;\n\thideLabel?: boolean;\n\tlabel: string;\n};\n\nconst FormFieldTooltipFc: FC<FormFieldTooltipProps> = ({ id, align, badgeText, hideLabel, label, class: classNames }) => {\n\treturn (\n\t\t<KolTooltipWcTag\n\t\t\t/**\n\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t */\n\t\t\taria-hidden=\"true\"\n\t\t\tclass={clsx('kol-form-field__tooltip', classNames)}\n\t\t\t_badgeText={badgeText}\n\t\t\t_align={align}\n\t\t\t_id={hideLabel ? `${id}-label` : undefined}\n\t\t\t_label={label}\n\t\t></KolTooltipWcTag>\n\t);\n};\n\nexport default FormFieldTooltipFc;\n","import type { JSX } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldMsgFc from '../FormFieldMsg';\nimport KolFormFieldLabelFc from '../FormFieldLabel';\nimport KolFormFieldHintFc from '../FormFieldHint/FormFieldHint';\nimport KolFormFieldCounterFc from '../FormFieldCounter';\nimport KolFormFieldTooltipFc from '../FormFieldTooltip';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { AlignPropType, InternMsgPropType } from '../../schema';\nimport { buildBadgeTextString, checkHasMsg, showExpertSlot } from '../../schema';\n\nfunction getModifierClassNameByMsgType(msg?: { type?: string }): string {\n\tif (msg?.type) {\n\t\treturn (\n\t\t\t{\n\t\t\t\tdefault: 'msg-type-default',\n\t\t\t\tinfo: 'msg-type-info',\n\t\t\t\tsuccess: 'msg-type-success',\n\t\t\t\twarning: 'msg-type-warning',\n\t\t\t\terror: 'msg-type-error',\n\t\t\t}[msg?.type] || ''\n\t\t);\n\t}\n\n\treturn '';\n}\n\nexport type FormFieldProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id'> & {\n\tcomponent?: 'div' | 'fieldset';\n\tid: string;\n\talert?: boolean;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttooltipAlign?: AlignPropType;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\thideMsg?: boolean;\n\taccessKey?: string;\n\tshortKey?: string;\n\tcounter?: { currentLength?: number; maxLength?: number };\n\treadOnly?: boolean;\n\ttouched?: boolean;\n\trequired?: boolean;\n\trenderNoLabel?: boolean;\n\trenderNoTooltip?: boolean;\n\trenderNoHint?: boolean;\n\tanotherChildren?: JSX.Element | JSX.Element[];\n\n\tformFieldLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & { component?: 'label' | 'legend' };\n\tformFieldHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n\tformFieldTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tformFieldMsgProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tformFieldCounterProps?: JSXBase.HTMLAttributes<HTMLSpanElement>;\n\tformFieldInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n} & {\n\t[key: `data-${string}`]: unknown;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-form-field__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFormFieldFc: FC<FormFieldProps> = (props, children) => {\n\tconst {\n\t\tcomponent: Component = 'div',\n\t\trenderNoLabel,\n\t\trenderNoTooltip,\n\t\trenderNoHint,\n\t\tanotherChildren,\n\t\tid,\n\t\trequired,\n\t\talert,\n\t\tdisabled,\n\t\tclass: classNames,\n\t\tmsg,\n\t\thideMsg,\n\t\thideLabel,\n\t\tlabel,\n\t\thint,\n\t\taccessKey,\n\t\tshortKey,\n\t\ttooltipAlign,\n\t\tcounter,\n\t\treadOnly,\n\t\ttouched,\n\t\tformFieldLabelProps,\n\t\tformFieldHintProps,\n\t\tformFieldTooltipProps,\n\t\tformFieldMsgProps,\n\t\tformFieldCounterProps,\n\t\tformFieldInputProps,\n\t\t...other\n\t} = props;\n\n\tconst showLabel = !renderNoLabel;\n\tconst showHint = !renderNoHint;\n\tconst showTooltip = !renderNoTooltip;\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\tconst useTooltipInsteadOfLabel = showTooltip && !hasExpertSlot && hideLabel;\n\n\tlet stateCssClasses = {\n\t\t['kol-form-field--disabled']: Boolean(disabled),\n\t\t['kol-form-field--required']: Boolean(required),\n\t\t['kol-form-field--touched']: Boolean(touched),\n\t\t['kol-form-field--hide-label']: Boolean(hideLabel),\n\t\t['kol-form-field--read-only']: Boolean(readOnly),\n\t\t['kol-form-field--hidden-msg']: Boolean(hideMsg),\n\t};\n\n\tif (showMsg) {\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${msg?.type || 'error'}`]: true,\n\t\t\t[`kol-form-field--${getModifierClassNameByMsgType(msg)}`]: true,\n\t\t};\n\t}\n\n\treturn (\n\t\t<Component class={clsx('kol-form-field', stateCssClasses, classNames)} {...other}>\n\t\t\t{showLabel && (\n\t\t\t\t<KolFormFieldLabelFc\n\t\t\t\t\t{...(formFieldLabelProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\taccessKey={accessKey}\n\t\t\t\t\tshortKey={shortKey}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<InputContainer {...formFieldInputProps}>\n\t\t\t\t{children}\n\t\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t\t<KolFormFieldTooltipFc {...(formFieldTooltipProps || {})} id={id} label={label} hideLabel={hideLabel} align={tooltipAlign} badgeText={badgeText} />\n\t\t\t\t)}\n\t\t\t</InputContainer>\n\t\t\t{counter ? <KolFormFieldCounterFc {...(formFieldCounterProps || {})} {...counter} /> : null}\n\t\t\t{showMsg && <KolFormFieldMsgFc {...(formFieldMsgProps || {})} id={id} alert={alert} msg={msg} hideMsg={hideMsg} />}\n\t\t\t{showHint && <KolFormFieldHintFc {...(formFieldHintProps || {})} id={id} hint={hint} />}\n\t\t\t{anotherChildren}\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldFc;\n","export function getDefaultProps({ ariaDescribedBy, hideLabel, label }: { ariaDescribedBy?: string[]; hideLabel?: boolean; label?: string }): {\n\ttitle: string;\n\tautoCapitalize: string;\n\tautoCorrect: string;\n\t'aria-describedby'?: string;\n\t'aria-label'?: string;\n} {\n\treturn {\n\t\ttitle: '',\n\t\tautoCapitalize: 'off',\n\t\tautoCorrect: 'off',\n\t\t'aria-describedby': ariaDescribedBy?.length ? ariaDescribedBy.join(' ') : undefined,\n\t\t'aria-label': hideLabel && label ? label : undefined,\n\t};\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\n\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideMsgPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideMsg,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateShortKey,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n} from '../../../schema';\n\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tvalidateHideMsg(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideMsg) {\n\t\t\t\t\t\ta11yHint('Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateMsg(this.component._msg);\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideMsg(this.component._hideMsg);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprivate emitEvent(type: KolEvent, value?: unknown): void {\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, type, value);\n\t\t}\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.blur);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.change, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.input, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.click);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.focus);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n}\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldFc, { type FormFieldProps } from '../../functional-components/FormField';\nimport {\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InputCheckboxStates,\n\ttype InputRadioStates,\n\ttype SelectStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates;\n\nexport type FormFieldStateWrapperProps = Partial<FormFieldProps> & {\n\tstate: InputState;\n};\n\nfunction getFormFieldProps(state: InputState): FormFieldProps {\n\tconst props: FormFieldProps = {\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: convertMsgToInternMsg(state._msg),\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\thideMsg: state._hideMsg,\n\t\ttouched: state._touched,\n\t\taccessKey: state._accessKey,\n\t\tshortKey: state._shortKey,\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readOnly = state._readOnly;\n\t}\n\n\tif ('_hasCounter' in state && '_currentLength' in state) {\n\t\tprops.counter = state._hasCounter ? { currentLength: state._currentLength } : undefined;\n\t\tif (props.counter && '_maxLength' in state) {\n\t\t\tprops.counter.maxLength = state._maxLength;\n\t\t}\n\t}\n\n\treturn props;\n}\n\nconst FormFieldStateWrapper: FC<FormFieldStateWrapperProps> = ({ state, ...other }, children) => {\n\treturn (\n\t\t<KolFormFieldFc {...getFormFieldProps(state)} {...other}>\n\t\t\t{children}\n\t\t</KolFormFieldFc>\n\t);\n};\n\nexport default FormFieldStateWrapper;\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasMessage = Boolean(state?._msg?._description && state._msg._description?.length > 0);\n\tconst isMessageValidError = state._msg?._type === 'error' && hasMessage;\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasMessage) {\n\t\tariaDescribedBy.push(`${state._id}-msg`);\n\t}\n\tif (hasHint) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n"],"mappings":";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AAS,CACZrF,EAAgBuE,KAAK,GAAGxC,EAAMnE,W,CAE/B,MAAO,CAAEwH,WAAUC,UAASrF,kBAAiB,S","ignoreList":[]}
1
+ {"version":3,"names":["validateAdjustHeight","component","value","watchBoolean","validateHideMsg","options","transformObjectProperties","obj","Object","entries","reduce","acc","key","newKey","startsWith","slice","assign","validateMsg","objectObjectHandler","parseJson","e","watchValidator","isObject","isString","_description","_type","undefined","Set","convertMsgToInternMsg","msg","checkHasMsg","touched","showMsg","type","validateTouched","FormFieldMsgFc","_a","alert","hideMsg","id","class","classNames","other","__rest","h","KolAlertFc","clsx","description","LabelFc","hasExpertSlot","accessKey","shortKey","label","showBadge","name","hasBadgeText","badgeText","buildBadgeTextString","Fragment","InternalUnderlinedBadgeText","KolFormFieldLabelFc","Component","baseClassName","hideLabel","useTooltipInsteadOfLabel","hidden","htmlFor","KolFormFieldHintFc","hint","KolFormFieldCounterFc","currentLength","maxLength","translate","role","FormFieldTooltipFc","align","KolTooltipWcTag","_badgeText","_align","_id","_label","getModifierClassNameByMsgType","default","info","success","warning","error","InputContainer","children","KolFormFieldFc","props","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","required","disabled","tooltipAlign","counter","readOnly","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldCounterProps","formFieldInputProps","showLabel","showHint","showTooltip","showExpertSlot","stateCssClasses","Boolean","KolFormFieldTooltipFc","KolFormFieldMsgFc","getDefaultProps","ariaDescribedBy","title","autoCapitalize","autoCorrect","length","join","ControlledInputController","AssociatedInputController","constructor","host","super","this","componentWillLoad","_touched","InputController","valueChangeListeners","onFacade","onBlur","bind","onChange","onClick","onFocus","onInput","validateAccessKey","validateAccessAndShortKey","_shortKey","validateDisabled","a11yHintDisabled","validateTooltipAlign","hooks","afterPatch","state","_hideMsg","a11yHint","validateHideLabel","_hideLabel","validateHint","watchString","validateId","minLength","devHint","validateLabel","validateLabelWithExpertSlot","validateOn","setState","validateShortKey","_accessKey","validateSmartButton","validateTabIndex","_adjustHeight","_msg","_disabled","_hint","_smartButton","_on","_tabIndex","emitEvent","dispatchDomEvent","event","KolEvent","blur","target","change","forEach","listener","shouldSetFormAssociatedValue","input","setFormAssociatedValue","click","focus","addValueChangeListener","push","getFormFieldProps","_required","_readOnly","_hasCounter","_currentLength","_maxLength","FormFieldStateWrapper","getRenderStates","hasMessage","_b","isMessageValidError","_c","hasError","hasHint"],"sources":["src/schema/props/adjust-height.ts","src/schema/props/hide-msg.ts","src/utils/transformObjectProperties.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldHint/FormFieldHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.tsx","src/functional-components/FormFieldTooltip/FormFieldTooltip.tsx","src/functional-components/FormField/FormField.tsx","src/functional-components/inputs/_helpers/getDefaultProps.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts","src/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.tsx","src/functional-component-wrappers/_helpers/getRenderStates.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideMsgPropType = boolean;\n\n/**\n * Hides the message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideMsg = {\n\thideMsg: HideMsgPropType;\n};\n\n/* validator */\nexport const validateHideMsg = (component: Generic.Element.Component, value?: HideMsgPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideMsg', value, options);\n};\n","/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps, InternalAlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString } from '../validators';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\n/* types */\nexport type MsgPropType = AlertProps & {\n\t_description: string;\n};\n\nexport type InternMsgPropType = Partial<\n\tInternalAlertProps & {\n\t\tdescription: string;\n\t}\n>;\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: MsgPropType;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t\t// eslint-disable-next-line no-empty\n\t\t} catch (e) {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<MsgPropType>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => (isObject(value) && isString(value?._description, 1)) || value?._type === undefined,\n\t\t\tnew Set(['MsgPropType']),\n\t\t\tvalue as MsgPropType,\n\t\t);\n\t});\n};\n\nexport function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined {\n\tif (!msg) {\n\t\treturn undefined;\n\t}\n\n\treturn transformObjectProperties(msg);\n}\n\nexport function checkHasMsg(msg?: InternMsgPropType, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * The message is shown if:\n\t * - we show only one message at a time\n\t * - by error messages the input must be touched\n\t */\n\tconst showMsg = msg ? touched === true || msg?.type !== 'error' : false;\n\n\treturn showMsg;\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import clsx from 'clsx';\nimport type { AlertPropType, HideMsgPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideMsg?: HideMsgPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideMsg, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-msg`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport InternalUnderlinedBadgeText from '../InternalUnderlinedBadgeText';\nimport { buildBadgeTextString } from '../../schema';\nimport { isString } from 'lodash-es';\n\ntype LabelProps = {\n\tlabel?: string;\n\taccessKey?: string;\n\tshortKey?: string;\n\thasExpertSlot?: boolean;\n\tshowBadge?: boolean;\n};\n\ntype FormFieldLabelProps = JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\tcomponent?: 'label' | 'legend';\n\tid: string;\n\thideLabel?: boolean;\n\tbaseClassName?: string;\n\tshowBadge?: boolean;\n} & LabelProps;\n\nconst LabelFc: FC<LabelProps> = ({ hasExpertSlot, accessKey, shortKey, label, showBadge = true }) => {\n\tif (hasExpertSlot) {\n\t\treturn <slot name=\"expert\"></slot>;\n\t}\n\n\tif (!label) {\n\t\treturn null;\n\t}\n\n\tconst hasBadgeText = isString(accessKey) || isString(shortKey);\n\n\tif (!showBadge || !hasBadgeText) {\n\t\treturn <span>{label}</span>;\n\t}\n\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\n\treturn (\n\t\t<>\n\t\t\t<InternalUnderlinedBadgeText badgeText={badgeText} label={label} />\n\t\t\t&nbsp;\n\t\t\t<span class=\"badge-text-hint\" aria-hidden=\"true\">\n\t\t\t\t{badgeText}\n\t\t\t</span>\n\t\t</>\n\t);\n};\n\nconst KolFormFieldLabelFc: FC<FormFieldLabelProps> = ({\n\tcomponent: Component = 'label',\n\tid,\n\tbaseClassName = 'kol-form-field',\n\tclass: classNames,\n\taccessKey,\n\tshortKey,\n\tlabel,\n\thideLabel,\n\thasExpertSlot,\n\tshowBadge,\n\t...other\n}) => {\n\tconst useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n\n\treturn (\n\t\t<Component\n\t\t\t{...other}\n\t\t\tclass={clsx(`${baseClassName}__label`, classNames)}\n\t\t\tid={!useTooltipInsteadOfLabel ? `${id}-label` : undefined}\n\t\t\thidden={useTooltipInsteadOfLabel}\n\t\t\thtmlFor={id}\n\t\t>\n\t\t\t{/* INFO: span is needed for css styling :after content like a star (*) or optional text ! */}\n\t\t\t<span class={clsx(`${baseClassName}__label-text`)}>\n\t\t\t\t{/* INFO: label comes with any html tag or as plain text! */}\n\t\t\t\t<LabelFc hasExpertSlot={hasExpertSlot} accessKey={accessKey} shortKey={shortKey} label={label} showBadge={showBadge} />\n\t\t\t</span>\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldLabelFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\ntype FormFieldHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\thint?: string;\n\tbaseClassName?: string;\n};\n\nconst KolFormFieldHintFc: FC<FormFieldHintProps> = ({ id, class: classNames, hint, baseClassName = 'kol-form-field', ...other }) => {\n\tif (!hint) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<span class={clsx(`${baseClassName}__hint`, classNames)} id={`${id}-hint`} {...other}>\n\t\t\t{hint}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldHintFc;\n","import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { translate } from '../../i18n';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength?: number;\n\tmaxLength?: number;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, maxLength, class: classNames, ...other }) => {\n\treturn (\n\t\t<span class={clsx('kol-form-field__counter', classNames)} {...other} aria-atomic=\"true\" aria-live=\"polite\" data-testid=\"input-counter\">\n\t\t\t{currentLength}\n\t\t\t{maxLength && (\n\t\t\t\t<>\n\t\t\t\t\t<span aria-label={translate('kol-of')} role=\"img\">\n\t\t\t\t\t\t/\n\t\t\t\t\t</span>\n\t\t\t\t\t{maxLength}\n\t\t\t\t</>\n\t\t\t)}\n\t\t\t&nbsp;<span>{translate('kol-characters')}</span>\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldCounterFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport type { AlignPropType } from '../../schema';\n\ntype FormFieldTooltipProps = Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'> & {\n\tid: string;\n\talign?: AlignPropType;\n\tbadgeText?: string;\n\thideLabel?: boolean;\n\tlabel: string;\n};\n\nconst FormFieldTooltipFc: FC<FormFieldTooltipProps> = ({ id, align, badgeText, hideLabel, label, class: classNames }) => {\n\treturn (\n\t\t<KolTooltipWcTag\n\t\t\t/**\n\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t */\n\t\t\taria-hidden=\"true\"\n\t\t\tclass={clsx('kol-form-field__tooltip', classNames)}\n\t\t\t_badgeText={badgeText}\n\t\t\t_align={align}\n\t\t\t_id={hideLabel ? `${id}-label` : undefined}\n\t\t\t_label={label}\n\t\t></KolTooltipWcTag>\n\t);\n};\n\nexport default FormFieldTooltipFc;\n","import type { JSX } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldMsgFc from '../FormFieldMsg';\nimport KolFormFieldLabelFc from '../FormFieldLabel';\nimport KolFormFieldHintFc from '../FormFieldHint/FormFieldHint';\nimport KolFormFieldCounterFc from '../FormFieldCounter';\nimport KolFormFieldTooltipFc from '../FormFieldTooltip';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { AlignPropType, InternMsgPropType } from '../../schema';\nimport { buildBadgeTextString, checkHasMsg, showExpertSlot } from '../../schema';\n\nfunction getModifierClassNameByMsgType(msg?: { type?: string }): string {\n\tif (msg?.type) {\n\t\treturn (\n\t\t\t{\n\t\t\t\tdefault: 'msg-type-default',\n\t\t\t\tinfo: 'msg-type-info',\n\t\t\t\tsuccess: 'msg-type-success',\n\t\t\t\twarning: 'msg-type-warning',\n\t\t\t\terror: 'msg-type-error',\n\t\t\t}[msg?.type] || ''\n\t\t);\n\t}\n\n\treturn '';\n}\n\nexport type FormFieldProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id'> & {\n\tcomponent?: 'div' | 'fieldset';\n\tid: string;\n\talert?: boolean;\n\tdisabled?: boolean;\n\tmsg?: InternMsgPropType;\n\ttooltipAlign?: AlignPropType;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\thideMsg?: boolean;\n\taccessKey?: string;\n\tshortKey?: string;\n\tcounter?: { currentLength?: number; maxLength?: number };\n\treadOnly?: boolean;\n\ttouched?: boolean;\n\trequired?: boolean;\n\trenderNoLabel?: boolean;\n\trenderNoTooltip?: boolean;\n\trenderNoHint?: boolean;\n\tanotherChildren?: JSX.Element | JSX.Element[];\n\n\tformFieldLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & { component?: 'label' | 'legend' };\n\tformFieldHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n\tformFieldTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tformFieldMsgProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tformFieldCounterProps?: JSXBase.HTMLAttributes<HTMLSpanElement>;\n\tformFieldInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n} & {\n\t[key: `data-${string}`]: unknown;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-form-field__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFormFieldFc: FC<FormFieldProps> = (props, children) => {\n\tconst {\n\t\tcomponent: Component = 'div',\n\t\trenderNoLabel,\n\t\trenderNoTooltip,\n\t\trenderNoHint,\n\t\tanotherChildren,\n\t\tid,\n\t\trequired,\n\t\talert,\n\t\tdisabled,\n\t\tclass: classNames,\n\t\tmsg,\n\t\thideMsg,\n\t\thideLabel,\n\t\tlabel,\n\t\thint,\n\t\taccessKey,\n\t\tshortKey,\n\t\ttooltipAlign,\n\t\tcounter,\n\t\treadOnly,\n\t\ttouched,\n\t\tformFieldLabelProps,\n\t\tformFieldHintProps,\n\t\tformFieldTooltipProps,\n\t\tformFieldMsgProps,\n\t\tformFieldCounterProps,\n\t\tformFieldInputProps,\n\t\t...other\n\t} = props;\n\n\tconst showLabel = !renderNoLabel;\n\tconst showHint = !renderNoHint;\n\tconst showTooltip = !renderNoTooltip;\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst showMsg = checkHasMsg(msg, touched);\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\tconst useTooltipInsteadOfLabel = showTooltip && !hasExpertSlot && hideLabel;\n\n\tlet stateCssClasses = {\n\t\t['kol-form-field--disabled']: Boolean(disabled),\n\t\t['kol-form-field--required']: Boolean(required),\n\t\t['kol-form-field--touched']: Boolean(touched),\n\t\t['kol-form-field--hide-label']: Boolean(hideLabel),\n\t\t['kol-form-field--read-only']: Boolean(readOnly),\n\t\t['kol-form-field--hidden-msg']: Boolean(hideMsg),\n\t};\n\n\tif (showMsg) {\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${msg?.type || 'error'}`]: true,\n\t\t\t[`kol-form-field--${getModifierClassNameByMsgType(msg)}`]: true,\n\t\t};\n\t}\n\n\treturn (\n\t\t<Component class={clsx('kol-form-field', stateCssClasses, classNames)} {...other}>\n\t\t\t{showLabel && (\n\t\t\t\t<KolFormFieldLabelFc\n\t\t\t\t\t{...(formFieldLabelProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\taccessKey={accessKey}\n\t\t\t\t\tshortKey={shortKey}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<InputContainer {...formFieldInputProps}>\n\t\t\t\t{children}\n\t\t\t\t{useTooltipInsteadOfLabel && (\n\t\t\t\t\t<KolFormFieldTooltipFc {...(formFieldTooltipProps || {})} id={id} label={label} hideLabel={hideLabel} align={tooltipAlign} badgeText={badgeText} />\n\t\t\t\t)}\n\t\t\t</InputContainer>\n\t\t\t{counter ? <KolFormFieldCounterFc {...(formFieldCounterProps || {})} {...counter} /> : null}\n\t\t\t{showMsg && <KolFormFieldMsgFc {...(formFieldMsgProps || {})} id={id} alert={alert} msg={msg} hideMsg={hideMsg} />}\n\t\t\t{showHint && <KolFormFieldHintFc {...(formFieldHintProps || {})} id={id} hint={hint} />}\n\t\t\t{anotherChildren}\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldFc;\n","export function getDefaultProps({ ariaDescribedBy, hideLabel, label }: { ariaDescribedBy?: string[]; hideLabel?: boolean; label?: string }): {\n\ttitle: string;\n\tautoCapitalize: string;\n\tautoCorrect: string;\n\t'aria-describedby'?: string;\n\t'aria-label'?: string;\n} {\n\treturn {\n\t\ttitle: '',\n\t\tautoCapitalize: 'off',\n\t\tautoCorrect: 'off',\n\t\t'aria-describedby': ariaDescribedBy?.length ? ariaDescribedBy.join(' ') : undefined,\n\t\t'aria-label': hideLabel && label ? label : undefined,\n\t};\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\n\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tButtonProps,\n\tHideMsgPropType,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\ta11yHintDisabled,\n\tdevHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateHideMsg,\n\tvalidateHideLabel,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateShortKey,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchBoolean,\n\twatchString,\n} from '../../../schema';\n\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: boolean): void {\n\t\twatchBoolean(this.component, '_disabled', value);\n\t\tif (value === true) {\n\t\t\ta11yHintDisabled();\n\t\t}\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tvalidateHideMsg(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideMsg) {\n\t\t\t\t\t\ta11yHint('Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: string): void {\n\t\twatchString(this.component, '_hint', value);\n\t}\n\n\tpublic validateId(value?: string): void {\n\t\twatchString(this.component, '_id', value, { minLength: 1 });\n\t\tif (value === '' || typeof value === 'undefined') {\n\t\t\tdevHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);\n\t\t}\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<ButtonProps>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateMsg(this.component._msg);\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideMsg(this.component._hideMsg);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateId(this.component._id);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprivate emitEvent(type: KolEvent, value?: unknown): void {\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, type, value);\n\t\t}\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.blur);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.change, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.input, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.click);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.focus);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t};\n}\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolFormFieldFc, { type FormFieldProps } from '../../functional-components/FormField';\nimport {\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype InputCheckboxStates,\n\ttype InputRadioStates,\n\ttype SelectStates,\n\tconvertMsgToInternMsg,\n} from '../../schema';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates;\n\nexport type FormFieldStateWrapperProps = Partial<FormFieldProps> & {\n\tstate: InputState;\n};\n\nfunction getFormFieldProps(state: InputState): FormFieldProps {\n\tconst props: FormFieldProps = {\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: convertMsgToInternMsg(state._msg),\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\thideMsg: state._hideMsg,\n\t\ttouched: state._touched,\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readOnly = state._readOnly;\n\t}\n\n\tif ('_accessKey' in state) {\n\t\tprops.accessKey = state._accessKey;\n\t}\n\n\tif ('_shortKey' in state) {\n\t\tprops.shortKey = state._shortKey;\n\t}\n\n\tif ('_hasCounter' in state && '_currentLength' in state) {\n\t\tprops.counter = state._hasCounter ? { currentLength: state._currentLength } : undefined;\n\t\tif (props.counter && '_maxLength' in state) {\n\t\t\tprops.counter.maxLength = state._maxLength;\n\t\t}\n\t}\n\n\treturn props;\n}\n\nconst FormFieldStateWrapper: FC<FormFieldStateWrapperProps> = ({ state, ...other }, children) => {\n\treturn (\n\t\t<KolFormFieldFc {...getFormFieldProps(state)} {...other}>\n\t\t\t{children}\n\t\t</KolFormFieldFc>\n\t);\n};\n\nexport default FormFieldStateWrapper;\n","import type { MsgPropType, TouchedPropType } from '../../schema';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: MsgPropType;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst hasMessage = Boolean(state?._msg?._description && state._msg._description?.length > 0);\n\tconst isMessageValidError = state._msg?._type === 'error' && hasMessage;\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasMessage) {\n\t\tariaDescribedBy.push(`${state._id}-msg`);\n\t}\n\tif (hasHint) {\n\t\tariaDescribedBy.push(`${state._id}-hint`);\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n"],"m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B,GAClC,GAAIgF,EAAY,CACfhF,EAAgBuE,KAAK,GAAGxC,EAAMnE,U,CAE/B,GAAIyH,EAAS,CACZrF,EAAgBuE,KAAK,GAAGxC,EAAMnE,W,CAE/B,MAAO,CAAEwH,WAAUC,UAASrF,kBAAiB,S","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as s}from"./index-ebe5a881.js";const e=(e,o)=>{s(e,"_hasCloser",o)};export{e as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as e}from"./index-ebe5a881.js";const o=(o,s,a)=>{e(o,"_hasCounter",s,a)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as e}from"./index-ebe5a881.js";const a=(a,i,o={})=>{e(a,"_hideLabel",i,o)};export{a as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{B as e}from"./index-ebe5a881.js";const o=(o,r,s={})=>{e(o,"_href",r,s)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as t,i as e}from"./i18n-45224cc3.js";import{p as r}from"./index-ebe5a881.js";let s=(r,s)=>{var a;return(null!==(a=t())&&void 0!==a?a:e("de")).translate(r,s)};"test"===r&&(s=t=>t);export{s as t};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o,j as t,w as e,q as n,t as i,v as l}from"./index-88dea7b1.js";const c=(t,o,e)=>{l(e)?t[o]=e:n(e,1)&&(t[o]={icon:e})},f=t=>{let o={};return n(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},s=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",f(o))}},d=t=>"object"==typeof t&&null!==t&&(void 0===t.style||i(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),u=(l,i,c={})=>{o(i,(()=>{var o;try{i=t(i)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||n(t,1)||"object"==typeof t&&null!==t&&(n(t.left,1)||d(t.left)||n(t.right,1)||d(t.right)||n(t.top,1)||d(t.top)||n(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),i,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,i;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(i=c.hooks)||void 0===i||i.beforePatch(t,o,e,n)),s(e)}}}))}))};export{u as v};
4
+ import{o,k as t,w as e,t as n,v as i,x as l}from"./index-ebe5a881.js";const c=(t,o,e)=>{l(e)?t[o]=e:n(e,1)&&(t[o]={icon:e})},f=t=>{let o={};return n(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},s=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",f(o))}},d=t=>"object"==typeof t&&null!==t&&(void 0===t.style||i(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),u=(l,i,c={})=>{o(i,(()=>{var o;try{i=t(i)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||n(t,1)||"object"==typeof t&&null!==t&&(n(t.left,1)||d(t.left)||n(t.right,1)||d(t.right)||n(t.top,1)||d(t.top)||n(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),i,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,i;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(i=c.hooks)||void 0===i||i.beforePatch(t,o,e,n)),s(e)}}}))}))};export{u as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{B as s}from"./index-ebe5a881.js";const e=(e,o,r)=>{s(e,"_src",o,r)};export{e as v};
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},l={kolibriVersion:"3.0.0"};var r=Object.defineProperty,n=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
4
+ const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},l={kolibriVersion:"3.0.1-3b313a0f2df6c512e868df86f443d016defc56fa.0"};var r=Object.defineProperty,n=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},T=t.shadowDom,E=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),R=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>R().then(e),F={},M="http://www.w3.org/2000/svg",A="http://www.w3.org/1999/xhtml",P=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};n(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var be,ge,Se,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.T=l,d},K=(e,t)=>{const n={l:0,R:e,k:t,D:null,j:null,C:null,O:null,T:null};return n},X={},_=e=>e&&e.R===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.T,vtag:e.R,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.T=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.L=K(t,null);O.F||le(j.body,O.F=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.M+"."+e.A,s=O.F.get(n),o=e.D;s&&T&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.F.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){if(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,M:a[0],A:a[1],P:a[2],N:a[3],R:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,T:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.P&&(s[c.N]=c.D))),l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r);for(d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,M:a[1],A:a[2],P:a[3],N:a[4],D:l,C:null,j:null,O:null,T:null,R:null,k:null},i===y?(c.D=l.nextSibling,c.D&&3===c.D.nodeType&&(c.k=c.D.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.P&&(s[c.N]=c.D))):c.M===r&&(i===$?(c.R="slot",a[5]?l["s-sn"]=c.T=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.R),c.T&&c.D.setAttribute("name",c.T),l.parentNode.insertBefore(c.D,l),l.remove(),"0"===c.P&&(s[c.N]=c.D)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.R){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},le=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)le(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)le(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},re=e=>h.map((t=>t(e))).find((e=>!!e)),ne=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);D&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const o=null!=(s=O.U)?s:U(j);null!=o&&n.setAttribute("nonce",o);(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&2&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=pe(n),l=pe(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace($e,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},he=/\s/,pe=e=>e?e.split(he):[],me="Capture",$e=new RegExp(me+"$"),ye=(e,t,n)=>{const s=11===t.D.nodeType&&t.D.host?t.D.host:t.D,o=e&&e.C||F,l=t.C||F;for(const e of we(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of we(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function we(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ke=!1,xe=!1,Ce=!1,je=!1,Oe=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(ke||(Ce=!0,"slot"===r.R&&(be&&o.classList.add(be+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.D=j.createTextNode(r.k);else if(1&r.l)i=r.D=j.createTextNode("");else{je||(je="svg"===r.R),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.R),je&&"foreignObject"===r.R&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(be)&&i["s-si"]!==be&&i.classList.add(i["s-si"]=be),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.R?je=!1:"foreignObject"===i.tagName&&(je=!0)}return i["s-hn"]=Se,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=ge,i["s-sn"]=r.T||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.R===r.R&&e.D&&Te(e.D,!1)),i},Te=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Se&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==Se&&t["s-ol"]&&(He(Me(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Ce=!0),n&&Te(t,n)}O.l&=-2},Ee=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===Se&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Oe(null,n,o,e),r&&(s[o].D=r,He(i,r,Fe(t))))},Re=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.D;Ie(t),e&&(xe=!0,e["s-ol"]?e["s-ol"].remove():Te(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Le(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Le(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Le(h,v,o))"slot"!==h.R&&"slot"!==v.R||Te(h.D.parentNode,!1),Ae(h,v,o),He(e,h.D,p.D.nextSibling),h=t[++i],v=s[--f];else if(Le(p,m,o))"slot"!==h.R&&"slot"!==v.R||Te(p.D.parentNode,!1),Ae(p,m,o),He(e,p.D,h.D),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.R!==m.R?l=Oe(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.D),m=s[++a]):(l=Oe(t&&t[a],n,a,e),m=s[++a]),l&&He(Me(h.D),l,Fe(h.D))}i>u?Ee(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Re(t,i,u)},Le=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?(!("A"in e)||!n||8===e.D.nodeType)&&e.T===t.T:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,n,s=!1)=>{const o=n.D=e.D,l=e.j,r=n.j,i=n.R,a=n.k;let c;null===a?(je="svg"===i||"foreignObject"!==i&&je,("slot"!==i||ke)&&ye(e,n,je),null!==l&&null!==r?De(o,l,n,r,s):null!==r?(null!==e.k&&(o.textContent=""),Ee(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Re(l,0,l.length-1),je&&"svg"===i&&(je=!1)):(c=o["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(o.data=a)},Pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Pe(e)}},Ne=[],Ue=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(We(n,e)){let t=Ne.find((e=>e.I===n));xe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ne.push({H:l,I:n})),n["s-sr"]&&Ne.map((e=>{We(e.I,n["s-sn"])&&(t=Ne.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ne.some((e=>e.I===n))||Ne.push({I:n})}1===l.nodeType&&Ue(l)}},We=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Ie=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(Ie)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.L||K(null,null),d=_(t)?t:G(null,null,t);if(Se=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.R=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,be=i["s-sc"],ke=!!(1&a.l),ge=i["s-cr"],xe=!1,Ae(c,d,n),O.l|=1,Ce){Ue(d.D);for(const e of Ne){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ne){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}xe&&Pe(d.D),O.l&=-2,Ne.length=0,ge=void 0},Be=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Qe=(e,t)=>{if(4&e.l)return void(e.l|=512);Be(e,e.q);return Ve(e,t)},Ve=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.G&&(e.G.map((([e,t])=>Ye(o,e,t))),e.G=void 0),l=Ye(o,"componentWillLoad")),s(),qe(l,(()=>Ke(e,o,t)))},qe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ke=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);Xe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>_e(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Xe=(e,t,n,s)=>{try{t=t.render&&t.render(),e.l|=2,ze(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},_e=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ye(o,"componentDidRender"),64&e.l?s():(e.l|=64,Ze(n),Ye(o,"componentDidLoad"),s(),e.p(n),l||Je()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&L((()=>Qe(e,!1))),e.l&=-517},Je=t=>{Ze(j.documentElement),L((()=>oe(C,"appload",{detail:{namespace:e}})))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Ze=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},et=(e,t)=>i(e).o.get(t),tt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Qe(o,!1)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return et(this,e)},set(n){tt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},rt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),nt(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=re(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},nt=e=>{Ye(e,"connectedCallback")},st=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)ut(e,t,n._),(null==t?void 0:t.t)?nt(t.t):(null==t?void 0:t.h)&&t.h.then((()=>nt(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&it(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Be(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),rt(e,t,n)}s()}},it=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ot=e=>{Ye(e,"disconnectedCallback")},at=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?ot(t.t):(null==t?void 0:t.h)&&t.h.then((()=>ot(t.t)))}},ft=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[];let p,f=!0;Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;let m=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(m=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,c._)),p&&(clearTimeout(p),p=null),f?h.push(this):O.jmp((()=>st(this)))}disconnectedCallback(){O.jmp((()=>at(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,lt(u,c,1)))}))})),o.length>0&&(m&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}f=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>p=setTimeout(Je,30))),s()},ct=(e,t)=>t,ut=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=dt(e,n),r=vt(t,o),i=ht(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},vt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},dt=(e,t)=>8&t?C:e,ht=e=>E?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{l as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,R as p,o as r,pt as s};