@public-ui/components 2.0.0 → 2.0.1

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 (840) hide show
  1. package/custom-elements.json +2 -9
  2. package/dist/cjs/{InternalUnderlinedAccessKey-13d98585.js → InternalUnderlinedAccessKey-db20fe4c.js} +1 -1
  3. package/dist/cjs/{InternalUnderlinedAccessKey-13d98585.js.map → InternalUnderlinedAccessKey-db20fe4c.js.map} +1 -1
  4. package/dist/cjs/{a11y.tipps-3cff218a.js → a11y.tipps-5093e030.js} +1 -1
  5. package/dist/cjs/{a11y.tipps-3cff218a.js.map → a11y.tipps-5093e030.js.map} +1 -1
  6. package/dist/cjs/access-key-08e22c70.js +4 -0
  7. package/dist/cjs/access-key-08e22c70.js.map +1 -0
  8. package/dist/cjs/{alignment-516753a3.js → alignment-da95c567.js} +1 -1
  9. package/dist/cjs/alignment-da95c567.js.map +1 -0
  10. package/dist/cjs/alternative-button-link-role-46c7e9ff.js +4 -0
  11. package/dist/cjs/alternative-button-link-role-46c7e9ff.js.map +1 -0
  12. package/dist/cjs/app-globals-dbba0fd7.js +4 -0
  13. package/dist/cjs/app-globals-dbba0fd7.js.map +1 -0
  14. package/dist/cjs/{associated.controller-66de4b43.js → associated.controller-665c978d.js} +1 -1
  15. package/dist/cjs/associated.controller-665c978d.js.map +1 -0
  16. package/dist/cjs/{color-1cc0d5df.js → color-f3eb202a.js} +1 -1
  17. package/dist/cjs/{color-1cc0d5df.js.map → color-f3eb202a.js.map} +1 -1
  18. package/dist/cjs/{controller-d5f2264d.js → controller-318aaac7.js} +1 -1
  19. package/dist/cjs/controller-318aaac7.js.map +1 -0
  20. package/dist/cjs/{controller-7f8062fe.js → controller-3a053b42.js} +1 -1
  21. package/dist/cjs/{controller-7f8062fe.js.map → controller-3a053b42.js.map} +1 -1
  22. package/dist/cjs/{controller-b237a488.js → controller-5a5b8671.js} +1 -1
  23. package/dist/cjs/controller-5a5b8671.js.map +1 -0
  24. package/dist/cjs/{controller-c32a52d6.js → controller-644ec366.js} +1 -1
  25. package/dist/cjs/controller-644ec366.js.map +1 -0
  26. package/dist/cjs/{controller-bff44c4c.js → controller-8f3bdef3.js} +1 -1
  27. package/dist/cjs/controller-8f3bdef3.js.map +1 -0
  28. package/dist/cjs/{controller-icon-7021badf.js → controller-icon-870a91fe.js} +1 -1
  29. package/dist/cjs/controller-icon-870a91fe.js.map +1 -0
  30. package/dist/cjs/custom-class-fe018ec9.js +4 -0
  31. package/dist/cjs/custom-class-fe018ec9.js.map +1 -0
  32. package/dist/cjs/dev.utils-dd133f0a.js +4 -0
  33. package/dist/cjs/dev.utils-dd133f0a.js.map +1 -0
  34. package/dist/cjs/{devtools-5b98bd4e.js → devtools-59e9f930.js} +1 -1
  35. package/dist/cjs/{devtools-5b98bd4e.js.map → devtools-59e9f930.js.map} +1 -1
  36. package/dist/cjs/has-closer-e0792c7f.js +4 -0
  37. package/dist/cjs/has-closer-e0792c7f.js.map +1 -0
  38. package/dist/cjs/hide-label-69a12ef6.js +4 -0
  39. package/dist/cjs/hide-label-69a12ef6.js.map +1 -0
  40. package/dist/cjs/{i18n-b7ec2d1b.js → i18n-9b1797b5.js} +1 -1
  41. package/dist/cjs/{i18n-b7ec2d1b.js.map → i18n-9b1797b5.js.map} +1 -1
  42. package/dist/cjs/{icons-20f8bfb5.js → icons-7d782feb.js} +1 -1
  43. package/dist/cjs/icons-7d782feb.js.map +1 -0
  44. package/dist/cjs/image-source-9b7df5ba.js +4 -0
  45. package/dist/cjs/image-source-9b7df5ba.js.map +1 -0
  46. package/dist/cjs/index-814a048a.js +4 -0
  47. package/dist/cjs/index-814a048a.js.map +1 -0
  48. package/dist/cjs/{index-a2400b65.js → index-de77e597.js} +1 -1
  49. package/dist/cjs/index-de77e597.js.map +1 -0
  50. package/dist/cjs/index.cjs.js +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-alert-wc_2.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert-wc_2.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-button-link-text-switch.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-button-wc_2.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  134. package/dist/cjs/kolibri.cjs.js +1 -1
  135. package/dist/cjs/kolibri.cjs.js.map +1 -1
  136. package/dist/cjs/{label-de5ebf4b.js → label-1ffb616a.js} +1 -1
  137. package/dist/cjs/label-1ffb616a.js.map +1 -0
  138. package/dist/cjs/loader.cjs.js +1 -1
  139. package/dist/cjs/open-4fe1ba4b.js +4 -0
  140. package/dist/cjs/open-4fe1ba4b.js.map +1 -0
  141. package/dist/cjs/{prop.validators-5f352bbf.js → prop.validators-85dcd797.js} +1 -1
  142. package/dist/cjs/prop.validators-85dcd797.js.map +1 -0
  143. package/dist/cjs/rows-e1b2cbc4.js +4 -0
  144. package/dist/cjs/rows-e1b2cbc4.js.map +1 -0
  145. package/dist/cjs/show-5514164d.js +4 -0
  146. package/dist/cjs/show-5514164d.js.map +1 -0
  147. package/dist/cjs/{suggestions-54b14d40.js → suggestions-c6f511ef.js} +1 -1
  148. package/dist/cjs/suggestions-c6f511ef.js.map +1 -0
  149. package/dist/cjs/{tab-index-1cc9cecb.js → tab-index-9a2f9acd.js} +1 -1
  150. package/dist/cjs/tab-index-9a2f9acd.js.map +1 -0
  151. package/dist/cjs/{tooltip-align-d0446059.js → tooltip-align-231659b9.js} +1 -1
  152. package/dist/cjs/tooltip-align-231659b9.js.map +1 -0
  153. package/dist/cjs/{validation-90a278d7.js → validation-fb5cac9f.js} +1 -1
  154. package/dist/cjs/validation-fb5cac9f.js.map +1 -0
  155. package/dist/cjs/{validation-26535d0c.js → validation-ffe8a5ab.js} +1 -1
  156. package/dist/cjs/validation-ffe8a5ab.js.map +1 -0
  157. package/dist/components/align-floating-elements.js.map +1 -1
  158. package/dist/components/color.js +1 -1
  159. package/dist/components/color.js.map +1 -1
  160. package/dist/components/component.js +1 -1
  161. package/dist/components/component13.js +1 -1
  162. package/dist/components/component14.js +1 -1
  163. package/dist/components/component14.js.map +1 -1
  164. package/dist/components/component15.js +1 -1
  165. package/dist/components/component15.js.map +1 -1
  166. package/dist/components/component2.js +1 -1
  167. package/dist/components/component2.js.map +1 -1
  168. package/dist/components/component3.js +1 -1
  169. package/dist/components/component3.js.map +1 -1
  170. package/dist/components/component4.js +1 -1
  171. package/dist/components/component4.js.map +1 -1
  172. package/dist/components/component5.js +1 -1
  173. package/dist/components/component5.js.map +1 -1
  174. package/dist/components/component6.js +1 -1
  175. package/dist/components/component6.js.map +1 -1
  176. package/dist/components/component8.js +1 -1
  177. package/dist/components/component8.js.map +1 -1
  178. package/dist/components/component9.js +1 -1
  179. package/dist/components/component9.js.map +1 -1
  180. package/dist/components/controller-icon.js +1 -1
  181. package/dist/components/controller-icon.js.map +1 -1
  182. package/dist/components/controller.js +1 -1
  183. package/dist/components/controller.js.map +1 -1
  184. package/dist/components/controller2.js +1 -1
  185. package/dist/components/controller2.js.map +1 -1
  186. package/dist/components/controller3.js.map +1 -1
  187. package/dist/components/controller4.js +1 -1
  188. package/dist/components/controller4.js.map +1 -1
  189. package/dist/components/devtools.js +1 -1
  190. package/dist/components/has-closer.js +1 -1
  191. package/dist/components/has-closer.js.map +1 -1
  192. package/dist/components/i18n.js +1 -1
  193. package/dist/components/i18n.js.map +1 -1
  194. package/dist/components/image-source.js +1 -1
  195. package/dist/components/image-source.js.map +1 -1
  196. package/dist/components/index.js +1 -1
  197. package/dist/components/index.js.map +1 -1
  198. package/dist/components/kol-accordion.js +1 -1
  199. package/dist/components/kol-avatar.js +1 -1
  200. package/dist/components/kol-avatar.js.map +1 -1
  201. package/dist/components/kol-breadcrumb.js +1 -1
  202. package/dist/components/kol-button-link.js +1 -1
  203. package/dist/components/kol-card.js +1 -1
  204. package/dist/components/kol-card.js.map +1 -1
  205. package/dist/components/kol-details.js +1 -1
  206. package/dist/components/kol-form.js +1 -1
  207. package/dist/components/kol-image.js +1 -1
  208. package/dist/components/kol-image.js.map +1 -1
  209. package/dist/components/kol-input-checkbox.js +1 -1
  210. package/dist/components/kol-input-checkbox.js.map +1 -1
  211. package/dist/components/kol-input-color.js +1 -1
  212. package/dist/components/kol-input-color.js.map +1 -1
  213. package/dist/components/kol-input-date.js +1 -1
  214. package/dist/components/kol-input-date.js.map +1 -1
  215. package/dist/components/kol-input-email.js +1 -1
  216. package/dist/components/kol-input-email.js.map +1 -1
  217. package/dist/components/kol-input-file.js +1 -1
  218. package/dist/components/kol-input-file.js.map +1 -1
  219. package/dist/components/kol-input-number.js +1 -1
  220. package/dist/components/kol-input-number.js.map +1 -1
  221. package/dist/components/kol-input-password.js +1 -1
  222. package/dist/components/kol-input-radio.js +1 -1
  223. package/dist/components/kol-input-radio.js.map +1 -1
  224. package/dist/components/kol-input-range.js +1 -1
  225. package/dist/components/kol-input-range.js.map +1 -1
  226. package/dist/components/kol-input-text.js +1 -1
  227. package/dist/components/kol-input-text.js.map +1 -1
  228. package/dist/components/kol-kolibri.js +1 -1
  229. package/dist/components/kol-kolibri.js.map +1 -1
  230. package/dist/components/kol-link-button.js +1 -1
  231. package/dist/components/kol-logo.js +1 -1
  232. package/dist/components/kol-modal.js +1 -1
  233. package/dist/components/kol-modal.js.map +1 -1
  234. package/dist/components/kol-nav.js +1 -1
  235. package/dist/components/kol-nav.js.map +1 -1
  236. package/dist/components/kol-progress.js +1 -1
  237. package/dist/components/kol-quote.js +1 -1
  238. package/dist/components/kol-quote.js.map +1 -1
  239. package/dist/components/kol-spin.js.map +1 -1
  240. package/dist/components/kol-symbol.js +1 -1
  241. package/dist/components/kol-table.js +1 -1
  242. package/dist/components/kol-table.js.map +1 -1
  243. package/dist/components/kol-tabs.js +1 -1
  244. package/dist/components/kol-tabs.js.map +1 -1
  245. package/dist/components/kol-textarea.js +1 -1
  246. package/dist/components/kol-textarea.js.map +1 -1
  247. package/dist/components/label.js +1 -1
  248. package/dist/components/label.js.map +1 -1
  249. package/dist/components/open.js +1 -1
  250. package/dist/components/open.js.map +1 -1
  251. package/dist/components/prop.validators.js +1 -1
  252. package/dist/components/prop.validators.js.map +1 -1
  253. package/dist/components/rows.js +1 -1
  254. package/dist/components/rows.js.map +1 -1
  255. package/dist/components/shadow.js +1 -1
  256. package/dist/components/shadow.js.map +1 -1
  257. package/dist/components/shadow2.js +1 -1
  258. package/dist/components/shadow3.js +1 -1
  259. package/dist/components/show.js +1 -1
  260. package/dist/components/show.js.map +1 -1
  261. package/dist/components/suggestions.js +1 -1
  262. package/dist/components/suggestions.js.map +1 -1
  263. package/dist/components/tab-index.js +1 -1
  264. package/dist/components/tab-index.js.map +1 -1
  265. package/dist/components/tooltip-align.js.map +1 -1
  266. package/dist/components/validation.js +1 -1
  267. package/dist/components/validation.js.map +1 -1
  268. package/dist/esm/{InternalUnderlinedAccessKey-2c5af489.js → InternalUnderlinedAccessKey-e3698cee.js} +1 -1
  269. package/dist/esm/{InternalUnderlinedAccessKey-2c5af489.js.map → InternalUnderlinedAccessKey-e3698cee.js.map} +1 -1
  270. package/dist/esm/{a11y.tipps-e9cad37c.js → a11y.tipps-f367a979.js} +1 -1
  271. package/dist/esm/{a11y.tipps-e9cad37c.js.map → a11y.tipps-f367a979.js.map} +1 -1
  272. package/dist/esm/access-key-d70aa275.js +4 -0
  273. package/dist/esm/access-key-d70aa275.js.map +1 -0
  274. package/dist/esm/{alignment-2f00e22b.js → alignment-493b6c84.js} +1 -1
  275. package/dist/esm/alignment-493b6c84.js.map +1 -0
  276. package/dist/esm/alternative-button-link-role-0fc029bf.js +4 -0
  277. package/dist/esm/alternative-button-link-role-0fc029bf.js.map +1 -0
  278. package/dist/esm/app-globals-f7f4352c.js +4 -0
  279. package/dist/esm/app-globals-f7f4352c.js.map +1 -0
  280. package/dist/esm/{associated.controller-4725864a.js → associated.controller-700d5133.js} +1 -1
  281. package/dist/esm/associated.controller-700d5133.js.map +1 -0
  282. package/dist/esm/{color-4fd77675.js → color-afc2e34f.js} +1 -1
  283. package/dist/esm/{color-4fd77675.js.map → color-afc2e34f.js.map} +1 -1
  284. package/dist/esm/{controller-bca2b59f.js → controller-17eb7878.js} +1 -1
  285. package/dist/esm/controller-17eb7878.js.map +1 -0
  286. package/dist/esm/{controller-24fd3c96.js → controller-60b830eb.js} +1 -1
  287. package/dist/esm/controller-60b830eb.js.map +1 -0
  288. package/dist/esm/{controller-8eba0306.js → controller-6e772d91.js} +1 -1
  289. package/dist/esm/controller-6e772d91.js.map +1 -0
  290. package/dist/esm/{controller-b59b53b5.js → controller-ae07d1c7.js} +1 -1
  291. package/dist/esm/controller-ae07d1c7.js.map +1 -0
  292. package/dist/esm/{controller-15b86c4c.js → controller-e23535f2.js} +1 -1
  293. package/dist/esm/{controller-15b86c4c.js.map → controller-e23535f2.js.map} +1 -1
  294. package/dist/esm/{controller-icon-745779e5.js → controller-icon-01cabd99.js} +1 -1
  295. package/dist/esm/controller-icon-01cabd99.js.map +1 -0
  296. package/dist/esm/custom-class-603a7fda.js +4 -0
  297. package/dist/esm/custom-class-603a7fda.js.map +1 -0
  298. package/dist/esm/dev.utils-da51d5d8.js +4 -0
  299. package/dist/esm/dev.utils-da51d5d8.js.map +1 -0
  300. package/dist/esm/{devtools-2ad36829.js → devtools-308d0386.js} +1 -1
  301. package/dist/esm/{devtools-2ad36829.js.map → devtools-308d0386.js.map} +1 -1
  302. package/dist/esm/{has-closer-4da7b42f.js → has-closer-091d5cc7.js} +1 -1
  303. package/dist/esm/has-closer-091d5cc7.js.map +1 -0
  304. package/dist/esm/{hide-label-aca36293.js → hide-label-e711f812.js} +1 -1
  305. package/dist/esm/hide-label-e711f812.js.map +1 -0
  306. package/dist/esm/{i18n-e1b2767a.js → i18n-d92de40a.js} +1 -1
  307. package/dist/esm/{i18n-e1b2767a.js.map → i18n-d92de40a.js.map} +1 -1
  308. package/dist/esm/{icons-6e5f46e1.js → icons-1ad89985.js} +1 -1
  309. package/dist/esm/icons-1ad89985.js.map +1 -0
  310. package/dist/esm/{image-source-9e600678.js → image-source-f76f6ad4.js} +1 -1
  311. package/dist/esm/image-source-f76f6ad4.js.map +1 -0
  312. package/dist/esm/{index-e9d20d00.js → index-6ea18cec.js} +1 -1
  313. package/dist/esm/index-6ea18cec.js.map +1 -0
  314. package/dist/esm/index-9fc5c44a.js +4 -0
  315. package/dist/esm/index-9fc5c44a.js.map +1 -0
  316. package/dist/esm/index.js +1 -1
  317. package/dist/esm/kol-abbr.entry.js +1 -1
  318. package/dist/esm/kol-accordion.entry.js +1 -1
  319. package/dist/esm/kol-alert-wc_2.entry.js +1 -1
  320. package/dist/esm/kol-alert-wc_2.entry.js.map +1 -1
  321. package/dist/esm/kol-alert.entry.js +1 -1
  322. package/dist/esm/kol-alert.entry.js.map +1 -1
  323. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  324. package/dist/esm/kol-avatar.entry.js +1 -1
  325. package/dist/esm/kol-avatar.entry.js.map +1 -1
  326. package/dist/esm/kol-badge.entry.js +1 -1
  327. package/dist/esm/kol-badge.entry.js.map +1 -1
  328. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  329. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  330. package/dist/esm/kol-button-group.entry.js +1 -1
  331. package/dist/esm/kol-button-link-text-switch.entry.js +1 -1
  332. package/dist/esm/kol-button-link.entry.js +1 -1
  333. package/dist/esm/kol-button-wc_2.entry.js +1 -1
  334. package/dist/esm/kol-button-wc_2.entry.js.map +1 -1
  335. package/dist/esm/kol-button.entry.js +1 -1
  336. package/dist/esm/kol-card.entry.js +1 -1
  337. package/dist/esm/kol-card.entry.js.map +1 -1
  338. package/dist/esm/kol-details.entry.js +1 -1
  339. package/dist/esm/kol-form.entry.js +1 -1
  340. package/dist/esm/kol-heading.entry.js +1 -1
  341. package/dist/esm/kol-icon.entry.js +1 -1
  342. package/dist/esm/kol-image.entry.js +1 -1
  343. package/dist/esm/kol-image.entry.js.map +1 -1
  344. package/dist/esm/kol-indented-text.entry.js +1 -1
  345. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  346. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  347. package/dist/esm/kol-input-color.entry.js +1 -1
  348. package/dist/esm/kol-input-color.entry.js.map +1 -1
  349. package/dist/esm/kol-input-date.entry.js +1 -1
  350. package/dist/esm/kol-input-date.entry.js.map +1 -1
  351. package/dist/esm/kol-input-email.entry.js +1 -1
  352. package/dist/esm/kol-input-email.entry.js.map +1 -1
  353. package/dist/esm/kol-input-file.entry.js +1 -1
  354. package/dist/esm/kol-input-file.entry.js.map +1 -1
  355. package/dist/esm/kol-input-number.entry.js +1 -1
  356. package/dist/esm/kol-input-number.entry.js.map +1 -1
  357. package/dist/esm/kol-input-password.entry.js +1 -1
  358. package/dist/esm/kol-input-radio.entry.js +1 -1
  359. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  360. package/dist/esm/kol-input-range.entry.js +1 -1
  361. package/dist/esm/kol-input-range.entry.js.map +1 -1
  362. package/dist/esm/kol-input-text.entry.js +1 -1
  363. package/dist/esm/kol-input-text.entry.js.map +1 -1
  364. package/dist/esm/kol-input.entry.js +1 -1
  365. package/dist/esm/kol-kolibri.entry.js +1 -1
  366. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  367. package/dist/esm/kol-link-button.entry.js +1 -1
  368. package/dist/esm/kol-link-group.entry.js +1 -1
  369. package/dist/esm/kol-link-wc.entry.js +1 -1
  370. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  371. package/dist/esm/kol-link.entry.js +1 -1
  372. package/dist/esm/kol-logo.entry.js +1 -1
  373. package/dist/esm/kol-modal.entry.js +1 -1
  374. package/dist/esm/kol-modal.entry.js.map +1 -1
  375. package/dist/esm/kol-nav.entry.js +1 -1
  376. package/dist/esm/kol-nav.entry.js.map +1 -1
  377. package/dist/esm/kol-pagination.entry.js +1 -1
  378. package/dist/esm/kol-pagination.entry.js.map +1 -1
  379. package/dist/esm/kol-popover-wc.entry.js +1 -1
  380. package/dist/esm/kol-progress.entry.js +1 -1
  381. package/dist/esm/kol-quote.entry.js +1 -1
  382. package/dist/esm/kol-quote.entry.js.map +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-skip-nav.entry.js +1 -1
  386. package/dist/esm/kol-span-wc.entry.js +1 -1
  387. package/dist/esm/kol-span.entry.js +1 -1
  388. package/dist/esm/kol-spin.entry.js +1 -1
  389. package/dist/esm/kol-spin.entry.js.map +1 -1
  390. package/dist/esm/kol-split-button.entry.js +1 -1
  391. package/dist/esm/kol-symbol.entry.js +1 -1
  392. package/dist/esm/kol-table.entry.js +1 -1
  393. package/dist/esm/kol-table.entry.js.map +1 -1
  394. package/dist/esm/kol-tabs.entry.js +1 -1
  395. package/dist/esm/kol-tabs.entry.js.map +1 -1
  396. package/dist/esm/kol-textarea.entry.js +1 -1
  397. package/dist/esm/kol-textarea.entry.js.map +1 -1
  398. package/dist/esm/kol-toast-container.entry.js +1 -1
  399. package/dist/esm/kol-version.entry.js +1 -1
  400. package/dist/esm/kolibri.js +1 -1
  401. package/dist/esm/kolibri.js.map +1 -1
  402. package/dist/esm/{label-32f655e1.js → label-8ddb917e.js} +1 -1
  403. package/dist/esm/label-8ddb917e.js.map +1 -0
  404. package/dist/esm/loader.js +1 -1
  405. package/dist/esm/{open-4fee4c52.js → open-0bdcff02.js} +1 -1
  406. package/dist/esm/open-0bdcff02.js.map +1 -0
  407. package/dist/esm/prop.validators-f887ad3b.js +4 -0
  408. package/dist/esm/prop.validators-f887ad3b.js.map +1 -0
  409. package/dist/esm/{rows-32475866.js → rows-77cd583c.js} +1 -1
  410. package/dist/esm/rows-77cd583c.js.map +1 -0
  411. package/dist/esm/{show-0ced7b04.js → show-8341c904.js} +1 -1
  412. package/dist/esm/show-8341c904.js.map +1 -0
  413. package/dist/esm/{suggestions-4347211e.js → suggestions-40d68773.js} +1 -1
  414. package/dist/esm/suggestions-40d68773.js.map +1 -0
  415. package/dist/esm/{tab-index-555bc0fc.js → tab-index-2206620f.js} +1 -1
  416. package/dist/esm/tab-index-2206620f.js.map +1 -0
  417. package/dist/esm/{tooltip-align-9f02b487.js → tooltip-align-00398d75.js} +1 -1
  418. package/dist/esm/tooltip-align-00398d75.js.map +1 -0
  419. package/dist/esm/validation-34db9bcf.js +4 -0
  420. package/dist/esm/validation-34db9bcf.js.map +1 -0
  421. package/dist/esm/{validation-54b01567.js → validation-503191a4.js} +1 -1
  422. package/dist/esm/validation-503191a4.js.map +1 -0
  423. package/dist/kolibri/InternalUnderlinedAccessKey-e3698cee.js +4 -0
  424. package/dist/kolibri/{a11y.tipps-e9cad37c.js → a11y.tipps-f367a979.js} +1 -1
  425. package/dist/kolibri/access-key-d70aa275.js +4 -0
  426. package/dist/kolibri/access-key-d70aa275.js.map +1 -0
  427. package/dist/kolibri/alignment-493b6c84.js +4 -0
  428. package/dist/kolibri/alignment-493b6c84.js.map +1 -0
  429. package/dist/kolibri/alternative-button-link-role-0fc029bf.js +4 -0
  430. package/dist/kolibri/alternative-button-link-role-0fc029bf.js.map +1 -0
  431. package/dist/kolibri/app-globals-f7f4352c.js +4 -0
  432. package/dist/kolibri/app-globals-f7f4352c.js.map +1 -0
  433. package/dist/kolibri/{associated.controller-4725864a.js → associated.controller-700d5133.js} +1 -1
  434. package/dist/kolibri/associated.controller-700d5133.js.map +1 -0
  435. package/dist/kolibri/{color-4fd77675.js → color-afc2e34f.js} +1 -1
  436. package/dist/kolibri/{color-4fd77675.js.map → color-afc2e34f.js.map} +1 -1
  437. package/dist/kolibri/{controller-bca2b59f.js → controller-17eb7878.js} +1 -1
  438. package/dist/kolibri/controller-17eb7878.js.map +1 -0
  439. package/dist/kolibri/controller-60b830eb.js +4 -0
  440. package/dist/kolibri/controller-60b830eb.js.map +1 -0
  441. package/dist/kolibri/{controller-8eba0306.js → controller-6e772d91.js} +1 -1
  442. package/dist/kolibri/controller-6e772d91.js.map +1 -0
  443. package/dist/kolibri/{controller-b59b53b5.js → controller-ae07d1c7.js} +1 -1
  444. package/dist/kolibri/controller-ae07d1c7.js.map +1 -0
  445. package/dist/kolibri/{controller-15b86c4c.js → controller-e23535f2.js} +1 -1
  446. package/dist/kolibri/controller-icon-01cabd99.js +4 -0
  447. package/dist/kolibri/controller-icon-01cabd99.js.map +1 -0
  448. package/dist/kolibri/custom-class-603a7fda.js +4 -0
  449. package/dist/kolibri/custom-class-603a7fda.js.map +1 -0
  450. package/dist/kolibri/dev.utils-da51d5d8.js +4 -0
  451. package/dist/kolibri/dev.utils-da51d5d8.js.map +1 -0
  452. package/dist/kolibri/devtools-308d0386.js +4 -0
  453. package/dist/kolibri/has-closer-091d5cc7.js +4 -0
  454. package/dist/kolibri/has-closer-091d5cc7.js.map +1 -0
  455. package/dist/kolibri/hide-label-e711f812.js +4 -0
  456. package/dist/kolibri/hide-label-e711f812.js.map +1 -0
  457. package/dist/kolibri/{i18n-e1b2767a.js → i18n-d92de40a.js} +1 -1
  458. package/dist/kolibri/{i18n-e1b2767a.js.map → i18n-d92de40a.js.map} +1 -1
  459. package/dist/kolibri/icons-1ad89985.js +4 -0
  460. package/dist/kolibri/icons-1ad89985.js.map +1 -0
  461. package/dist/kolibri/image-source-f76f6ad4.js +4 -0
  462. package/dist/kolibri/image-source-f76f6ad4.js.map +1 -0
  463. package/dist/kolibri/{index-e9d20d00.js → index-6ea18cec.js} +1 -1
  464. package/dist/kolibri/index-6ea18cec.js.map +1 -0
  465. package/dist/kolibri/index-9fc5c44a.js +4 -0
  466. package/dist/kolibri/index-9fc5c44a.js.map +1 -0
  467. package/dist/kolibri/index.esm.js +1 -1
  468. package/dist/kolibri/kol-abbr.entry.js +1 -1
  469. package/dist/kolibri/kol-accordion.entry.js +1 -1
  470. package/dist/kolibri/kol-alert-wc_2.entry.js +1 -1
  471. package/dist/kolibri/kol-alert-wc_2.entry.js.map +1 -1
  472. package/dist/kolibri/kol-alert.entry.js +1 -1
  473. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  474. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  475. package/dist/kolibri/kol-avatar.entry.js +1 -1
  476. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  477. package/dist/kolibri/kol-badge.entry.js +1 -1
  478. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  479. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  480. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  481. package/dist/kolibri/kol-button-group.entry.js +1 -1
  482. package/dist/kolibri/kol-button-link-text-switch.entry.js +1 -1
  483. package/dist/kolibri/kol-button-link.entry.js +1 -1
  484. package/dist/kolibri/kol-button-wc_2.entry.js +1 -1
  485. package/dist/kolibri/kol-button-wc_2.entry.js.map +1 -1
  486. package/dist/kolibri/kol-button.entry.js +1 -1
  487. package/dist/kolibri/kol-card.entry.js +1 -1
  488. package/dist/kolibri/kol-card.entry.js.map +1 -1
  489. package/dist/kolibri/kol-details.entry.js +1 -1
  490. package/dist/kolibri/kol-form.entry.js +1 -1
  491. package/dist/kolibri/kol-heading.entry.js +1 -1
  492. package/dist/kolibri/kol-icon.entry.js +1 -1
  493. package/dist/kolibri/kol-image.entry.js +1 -1
  494. package/dist/kolibri/kol-image.entry.js.map +1 -1
  495. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  496. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  497. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  498. package/dist/kolibri/kol-input-color.entry.js +1 -1
  499. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  500. package/dist/kolibri/kol-input-date.entry.js +1 -1
  501. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  502. package/dist/kolibri/kol-input-email.entry.js +1 -1
  503. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  504. package/dist/kolibri/kol-input-file.entry.js +1 -1
  505. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  506. package/dist/kolibri/kol-input-number.entry.js +1 -1
  507. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  508. package/dist/kolibri/kol-input-password.entry.js +1 -1
  509. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  510. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  511. package/dist/kolibri/kol-input-range.entry.js +1 -1
  512. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  513. package/dist/kolibri/kol-input-text.entry.js +1 -1
  514. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  515. package/dist/kolibri/kol-input.entry.js +1 -1
  516. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  517. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  518. package/dist/kolibri/kol-link-button.entry.js +1 -1
  519. package/dist/kolibri/kol-link-group.entry.js +1 -1
  520. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  521. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  522. package/dist/kolibri/kol-link.entry.js +1 -1
  523. package/dist/kolibri/kol-logo.entry.js +1 -1
  524. package/dist/kolibri/kol-modal.entry.js +1 -1
  525. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  526. package/dist/kolibri/kol-nav.entry.js +1 -1
  527. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  528. package/dist/kolibri/kol-pagination.entry.js +1 -1
  529. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  530. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  531. package/dist/kolibri/kol-progress.entry.js +1 -1
  532. package/dist/kolibri/kol-quote.entry.js +1 -1
  533. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  534. package/dist/kolibri/kol-select.entry.js +1 -1
  535. package/dist/kolibri/kol-select.entry.js.map +1 -1
  536. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  537. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  538. package/dist/kolibri/kol-span.entry.js +1 -1
  539. package/dist/kolibri/kol-spin.entry.js +1 -1
  540. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  541. package/dist/kolibri/kol-split-button.entry.js +1 -1
  542. package/dist/kolibri/kol-symbol.entry.js +1 -1
  543. package/dist/kolibri/kol-table.entry.js +1 -1
  544. package/dist/kolibri/kol-table.entry.js.map +1 -1
  545. package/dist/kolibri/kol-tabs.entry.js +1 -1
  546. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  547. package/dist/kolibri/kol-textarea.entry.js +1 -1
  548. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  549. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  550. package/dist/kolibri/kol-version.entry.js +1 -1
  551. package/dist/kolibri/kolibri.esm.js +1 -1
  552. package/dist/kolibri/kolibri.esm.js.map +1 -1
  553. package/dist/kolibri/label-8ddb917e.js +4 -0
  554. package/dist/kolibri/label-8ddb917e.js.map +1 -0
  555. package/dist/kolibri/open-0bdcff02.js +4 -0
  556. package/dist/kolibri/open-0bdcff02.js.map +1 -0
  557. package/dist/kolibri/prop.validators-f887ad3b.js +4 -0
  558. package/dist/kolibri/prop.validators-f887ad3b.js.map +1 -0
  559. package/dist/kolibri/rows-77cd583c.js +4 -0
  560. package/dist/kolibri/rows-77cd583c.js.map +1 -0
  561. package/dist/kolibri/show-8341c904.js +4 -0
  562. package/dist/kolibri/show-8341c904.js.map +1 -0
  563. package/dist/kolibri/suggestions-40d68773.js +4 -0
  564. package/dist/kolibri/suggestions-40d68773.js.map +1 -0
  565. package/dist/kolibri/tab-index-2206620f.js +4 -0
  566. package/dist/kolibri/tab-index-2206620f.js.map +1 -0
  567. package/dist/kolibri/tooltip-align-00398d75.js +4 -0
  568. package/dist/kolibri/tooltip-align-00398d75.js.map +1 -0
  569. package/dist/kolibri/validation-34db9bcf.js +4 -0
  570. package/dist/kolibri/validation-34db9bcf.js.map +1 -0
  571. package/dist/kolibri/{validation-54b01567.js → validation-503191a4.js} +1 -1
  572. package/dist/kolibri/validation-503191a4.js.map +1 -0
  573. package/dist/types/components/@deprecated/input/controller-icon.d.ts +1 -1
  574. package/dist/types/components/@deprecated/input/controller.d.ts +1 -1
  575. package/dist/types/components/@deprecated/input/types-icon.d.ts +1 -1
  576. package/dist/types/components/@deprecated/input/types.d.ts +1 -1
  577. package/dist/types/components/@else/all/component.d.ts +1 -1
  578. package/dist/types/components/abbr/types.d.ts +1 -1
  579. package/dist/types/components/accordion/types.d.ts +1 -1
  580. package/dist/types/components/alert/types.d.ts +1 -1
  581. package/dist/types/components/avatar/types.d.ts +1 -1
  582. package/dist/types/components/badge/types.d.ts +1 -1
  583. package/dist/types/components/breadcrumb/types.d.ts +1 -1
  584. package/dist/types/components/button/types.d.ts +1 -1
  585. package/dist/types/components/button-group/types.d.ts +1 -1
  586. package/dist/types/components/button-link/types.d.ts +1 -1
  587. package/dist/types/components/button-link-text-switch/types.d.ts +1 -1
  588. package/dist/types/components/card/types.d.ts +1 -1
  589. package/dist/types/components/details/types.d.ts +1 -1
  590. package/dist/types/components/form/types.d.ts +1 -1
  591. package/dist/types/components/heading/types.d.ts +1 -1
  592. package/dist/types/components/heading/validation.d.ts +1 -1
  593. package/dist/types/components/icon/types.d.ts +1 -1
  594. package/dist/types/components/image/types.d.ts +1 -1
  595. package/dist/types/components/indented-text/types.d.ts +1 -1
  596. package/dist/types/components/input/types.d.ts +1 -1
  597. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +1 -1
  598. package/dist/types/components/input-adapter-leanup/controller.d.ts +1 -1
  599. package/dist/types/components/input-adapter-leanup/types.d.ts +1 -1
  600. package/dist/types/components/input-checkbox/controller.d.ts +1 -1
  601. package/dist/types/components/input-checkbox/types.d.ts +1 -1
  602. package/dist/types/components/input-color/controller.d.ts +1 -1
  603. package/dist/types/components/input-color/types.d.ts +1 -1
  604. package/dist/types/components/input-date/controller.d.ts +1 -1
  605. package/dist/types/components/input-date/types.d.ts +1 -1
  606. package/dist/types/components/input-email/controller.d.ts +1 -1
  607. package/dist/types/components/input-email/types.d.ts +1 -1
  608. package/dist/types/components/input-file/controller.d.ts +1 -1
  609. package/dist/types/components/input-file/types.d.ts +1 -1
  610. package/dist/types/components/input-number/controller.d.ts +1 -1
  611. package/dist/types/components/input-number/types.d.ts +1 -1
  612. package/dist/types/components/input-password/controller.d.ts +1 -1
  613. package/dist/types/components/input-password/types.d.ts +1 -1
  614. package/dist/types/components/input-radio/controller.d.ts +1 -1
  615. package/dist/types/components/input-radio/types.d.ts +1 -1
  616. package/dist/types/components/input-range/component.d.ts +4 -1
  617. package/dist/types/components/input-range/controller.d.ts +1 -1
  618. package/dist/types/components/input-range/types.d.ts +1 -1
  619. package/dist/types/components/input-text/controller.d.ts +1 -1
  620. package/dist/types/components/input-text/types.d.ts +1 -1
  621. package/dist/types/components/kolibri/component.d.ts +0 -5
  622. package/dist/types/components/kolibri/types.d.ts +1 -3
  623. package/dist/types/components/link/types.d.ts +1 -1
  624. package/dist/types/components/link-button/types.d.ts +1 -1
  625. package/dist/types/components/link-group/types.d.ts +1 -1
  626. package/dist/types/components/logo/types.d.ts +1 -1
  627. package/dist/types/components/modal/types.d.ts +1 -1
  628. package/dist/types/components/nav/types.d.ts +1 -1
  629. package/dist/types/components/nav/validation.d.ts +1 -1
  630. package/dist/types/components/pagination/types.d.ts +1 -1
  631. package/dist/types/components/popover/types.d.ts +1 -1
  632. package/dist/types/components/progress/types.d.ts +1 -1
  633. package/dist/types/components/quote/types.d.ts +1 -1
  634. package/dist/types/components/select/controller.d.ts +1 -1
  635. package/dist/types/components/select/types.d.ts +1 -1
  636. package/dist/types/components/skip-nav/types.d.ts +1 -1
  637. package/dist/types/components/span/types.d.ts +1 -1
  638. package/dist/types/components/spin/types.d.ts +1 -1
  639. package/dist/types/components/split-button/types.d.ts +1 -1
  640. package/dist/types/components/symbol/types.d.ts +1 -1
  641. package/dist/types/components/table/types.d.ts +1 -1
  642. package/dist/types/components/tabs/types.d.ts +1 -1
  643. package/dist/types/components/textarea/controller.d.ts +1 -1
  644. package/dist/types/components/textarea/types.d.ts +1 -1
  645. package/dist/types/components/toaster/types.d.ts +1 -1
  646. package/dist/types/components/tooltip/types.d.ts +1 -1
  647. package/dist/types/components/version/types.d.ts +1 -1
  648. package/dist/types/components.d.ts +2 -10
  649. package/dist/types/core/declare.d.ts +1 -1
  650. package/dist/types/core/i18n.d.ts +1 -1
  651. package/dist/types/core/index.d.ts +1 -1
  652. package/dist/types/i18n.d.ts +1 -1
  653. package/dist/types/types/button-link-text.d.ts +1 -1
  654. package/dist/types/types/props/access-key.d.ts +1 -1
  655. package/dist/types/types/props/adjust-height.d.ts +1 -1
  656. package/dist/types/types/props/alert.d.ts +1 -1
  657. package/dist/types/types/props/align.d.ts +1 -1
  658. package/dist/types/types/props/alternative-button-link-role.d.ts +1 -1
  659. package/dist/types/types/props/aria-controls.d.ts +1 -1
  660. package/dist/types/types/props/aria-current-value.d.ts +1 -1
  661. package/dist/types/types/props/aria-expanded.d.ts +1 -1
  662. package/dist/types/types/props/aria-selected.d.ts +1 -1
  663. package/dist/types/types/props/button-callbacks.d.ts +1 -1
  664. package/dist/types/types/props/button-type.d.ts +1 -1
  665. package/dist/types/types/props/button-variant.d.ts +1 -1
  666. package/dist/types/types/props/checked.d.ts +1 -1
  667. package/dist/types/types/props/collapsible.d.ts +1 -1
  668. package/dist/types/types/props/color.d.ts +1 -1
  669. package/dist/types/types/props/custom-class.d.ts +1 -1
  670. package/dist/types/types/props/disabled.d.ts +1 -1
  671. package/dist/types/types/props/download.d.ts +1 -1
  672. package/dist/types/types/props/has-closer.d.ts +1 -1
  673. package/dist/types/types/props/has-compact-button.d.ts +1 -1
  674. package/dist/types/types/props/has-counter.d.ts +1 -1
  675. package/dist/types/types/props/heading-variant.d.ts +1 -1
  676. package/dist/types/types/props/hide-error.d.ts +1 -1
  677. package/dist/types/types/props/hide-label.d.ts +1 -1
  678. package/dist/types/types/props/href.d.ts +1 -1
  679. package/dist/types/types/props/icons.d.ts +1 -1
  680. package/dist/types/types/props/id.d.ts +1 -1
  681. package/dist/types/types/props/image-source.d.ts +1 -1
  682. package/dist/types/types/props/indeterminate.d.ts +1 -1
  683. package/dist/types/types/props/label.d.ts +1 -1
  684. package/dist/types/types/props/link-on-callbacks.d.ts +1 -1
  685. package/dist/types/types/props/link-target.d.ts +1 -1
  686. package/dist/types/types/props/max.d.ts +1 -1
  687. package/dist/types/types/props/multiple.d.ts +1 -1
  688. package/dist/types/types/props/name.d.ts +1 -1
  689. package/dist/types/types/props/open.d.ts +1 -1
  690. package/dist/types/types/props/options.d.ts +1 -1
  691. package/dist/types/types/props/read-only.d.ts +1 -1
  692. package/dist/types/types/props/required.d.ts +1 -1
  693. package/dist/types/types/props/rows.d.ts +1 -1
  694. package/dist/types/types/props/show.d.ts +1 -1
  695. package/dist/types/types/props/suggestions.d.ts +1 -1
  696. package/dist/types/types/props/tooltip-align.d.ts +1 -1
  697. package/dist/types/types/props/touched.d.ts +1 -1
  698. package/dist/types/types/props/variant/spin.d.ts +1 -1
  699. package/dist/types/utils/dev.utils.d.ts +1 -2
  700. package/dist/types/utils/prop.validators.d.ts +3 -3
  701. package/dist/types/utils/validators/alignment.d.ts +1 -1
  702. package/dist/types/utils/validators/loading.d.ts +1 -1
  703. package/dist/types/utils/validators/tab-index.d.ts +1 -1
  704. package/doc/badge.md +17 -0
  705. package/doc/input-color.md +2 -1
  706. package/doc/kolibri.md +5 -11
  707. package/package.json +1 -1
  708. package/vscode-custom-data.json +1 -5
  709. package/dist/cjs/access-key-3f7e20a4.js +0 -4
  710. package/dist/cjs/access-key-3f7e20a4.js.map +0 -1
  711. package/dist/cjs/alignment-516753a3.js.map +0 -1
  712. package/dist/cjs/alternative-button-link-role-e640cd3e.js +0 -4
  713. package/dist/cjs/alternative-button-link-role-e640cd3e.js.map +0 -1
  714. package/dist/cjs/app-globals-c1bdbf21.js +0 -4
  715. package/dist/cjs/app-globals-c1bdbf21.js.map +0 -1
  716. package/dist/cjs/associated.controller-66de4b43.js.map +0 -1
  717. package/dist/cjs/controller-b237a488.js.map +0 -1
  718. package/dist/cjs/controller-bff44c4c.js.map +0 -1
  719. package/dist/cjs/controller-c32a52d6.js.map +0 -1
  720. package/dist/cjs/controller-d5f2264d.js.map +0 -1
  721. package/dist/cjs/controller-icon-7021badf.js.map +0 -1
  722. package/dist/cjs/custom-class-f6c69910.js +0 -4
  723. package/dist/cjs/custom-class-f6c69910.js.map +0 -1
  724. package/dist/cjs/dev.utils-dd53475e.js +0 -4
  725. package/dist/cjs/dev.utils-dd53475e.js.map +0 -1
  726. package/dist/cjs/has-closer-884ff2c9.js +0 -4
  727. package/dist/cjs/has-closer-884ff2c9.js.map +0 -1
  728. package/dist/cjs/hide-label-c4baa68a.js +0 -4
  729. package/dist/cjs/hide-label-c4baa68a.js.map +0 -1
  730. package/dist/cjs/icons-20f8bfb5.js.map +0 -1
  731. package/dist/cjs/image-source-0601c693.js +0 -4
  732. package/dist/cjs/image-source-0601c693.js.map +0 -1
  733. package/dist/cjs/index-a2400b65.js.map +0 -1
  734. package/dist/cjs/index-bb49d83a.js +0 -4
  735. package/dist/cjs/index-bb49d83a.js.map +0 -1
  736. package/dist/cjs/label-de5ebf4b.js.map +0 -1
  737. package/dist/cjs/open-4a152c75.js +0 -4
  738. package/dist/cjs/open-4a152c75.js.map +0 -1
  739. package/dist/cjs/prop.validators-5f352bbf.js.map +0 -1
  740. package/dist/cjs/rows-4798c8ee.js +0 -4
  741. package/dist/cjs/rows-4798c8ee.js.map +0 -1
  742. package/dist/cjs/show-705b299e.js +0 -4
  743. package/dist/cjs/show-705b299e.js.map +0 -1
  744. package/dist/cjs/suggestions-54b14d40.js.map +0 -1
  745. package/dist/cjs/tab-index-1cc9cecb.js.map +0 -1
  746. package/dist/cjs/tooltip-align-d0446059.js.map +0 -1
  747. package/dist/cjs/validation-26535d0c.js.map +0 -1
  748. package/dist/cjs/validation-90a278d7.js.map +0 -1
  749. package/dist/esm/access-key-1625dd20.js +0 -4
  750. package/dist/esm/access-key-1625dd20.js.map +0 -1
  751. package/dist/esm/alignment-2f00e22b.js.map +0 -1
  752. package/dist/esm/alternative-button-link-role-f981a27b.js +0 -4
  753. package/dist/esm/alternative-button-link-role-f981a27b.js.map +0 -1
  754. package/dist/esm/app-globals-b23d4e7b.js +0 -4
  755. package/dist/esm/app-globals-b23d4e7b.js.map +0 -1
  756. package/dist/esm/associated.controller-4725864a.js.map +0 -1
  757. package/dist/esm/controller-24fd3c96.js.map +0 -1
  758. package/dist/esm/controller-8eba0306.js.map +0 -1
  759. package/dist/esm/controller-b59b53b5.js.map +0 -1
  760. package/dist/esm/controller-bca2b59f.js.map +0 -1
  761. package/dist/esm/controller-icon-745779e5.js.map +0 -1
  762. package/dist/esm/custom-class-f42c69f8.js +0 -4
  763. package/dist/esm/custom-class-f42c69f8.js.map +0 -1
  764. package/dist/esm/dev.utils-61c61d76.js +0 -4
  765. package/dist/esm/dev.utils-61c61d76.js.map +0 -1
  766. package/dist/esm/has-closer-4da7b42f.js.map +0 -1
  767. package/dist/esm/hide-label-aca36293.js.map +0 -1
  768. package/dist/esm/icons-6e5f46e1.js.map +0 -1
  769. package/dist/esm/image-source-9e600678.js.map +0 -1
  770. package/dist/esm/index-c1312005.js +0 -4
  771. package/dist/esm/index-c1312005.js.map +0 -1
  772. package/dist/esm/index-e9d20d00.js.map +0 -1
  773. package/dist/esm/label-32f655e1.js.map +0 -1
  774. package/dist/esm/open-4fee4c52.js.map +0 -1
  775. package/dist/esm/prop.validators-2e3fde52.js +0 -4
  776. package/dist/esm/prop.validators-2e3fde52.js.map +0 -1
  777. package/dist/esm/rows-32475866.js.map +0 -1
  778. package/dist/esm/show-0ced7b04.js.map +0 -1
  779. package/dist/esm/suggestions-4347211e.js.map +0 -1
  780. package/dist/esm/tab-index-555bc0fc.js.map +0 -1
  781. package/dist/esm/tooltip-align-9f02b487.js.map +0 -1
  782. package/dist/esm/validation-54b01567.js.map +0 -1
  783. package/dist/esm/validation-b86b914b.js +0 -4
  784. package/dist/esm/validation-b86b914b.js.map +0 -1
  785. package/dist/kolibri/InternalUnderlinedAccessKey-2c5af489.js +0 -4
  786. package/dist/kolibri/access-key-1625dd20.js +0 -4
  787. package/dist/kolibri/access-key-1625dd20.js.map +0 -1
  788. package/dist/kolibri/alignment-2f00e22b.js +0 -4
  789. package/dist/kolibri/alignment-2f00e22b.js.map +0 -1
  790. package/dist/kolibri/alternative-button-link-role-f981a27b.js +0 -4
  791. package/dist/kolibri/alternative-button-link-role-f981a27b.js.map +0 -1
  792. package/dist/kolibri/app-globals-b23d4e7b.js +0 -4
  793. package/dist/kolibri/app-globals-b23d4e7b.js.map +0 -1
  794. package/dist/kolibri/associated.controller-4725864a.js.map +0 -1
  795. package/dist/kolibri/controller-24fd3c96.js +0 -4
  796. package/dist/kolibri/controller-24fd3c96.js.map +0 -1
  797. package/dist/kolibri/controller-8eba0306.js.map +0 -1
  798. package/dist/kolibri/controller-b59b53b5.js.map +0 -1
  799. package/dist/kolibri/controller-bca2b59f.js.map +0 -1
  800. package/dist/kolibri/controller-icon-745779e5.js +0 -4
  801. package/dist/kolibri/controller-icon-745779e5.js.map +0 -1
  802. package/dist/kolibri/custom-class-f42c69f8.js +0 -4
  803. package/dist/kolibri/custom-class-f42c69f8.js.map +0 -1
  804. package/dist/kolibri/dev.utils-61c61d76.js +0 -4
  805. package/dist/kolibri/dev.utils-61c61d76.js.map +0 -1
  806. package/dist/kolibri/devtools-2ad36829.js +0 -4
  807. package/dist/kolibri/has-closer-4da7b42f.js +0 -4
  808. package/dist/kolibri/has-closer-4da7b42f.js.map +0 -1
  809. package/dist/kolibri/hide-label-aca36293.js +0 -4
  810. package/dist/kolibri/hide-label-aca36293.js.map +0 -1
  811. package/dist/kolibri/icons-6e5f46e1.js +0 -4
  812. package/dist/kolibri/icons-6e5f46e1.js.map +0 -1
  813. package/dist/kolibri/image-source-9e600678.js +0 -4
  814. package/dist/kolibri/image-source-9e600678.js.map +0 -1
  815. package/dist/kolibri/index-c1312005.js +0 -4
  816. package/dist/kolibri/index-c1312005.js.map +0 -1
  817. package/dist/kolibri/index-e9d20d00.js.map +0 -1
  818. package/dist/kolibri/label-32f655e1.js +0 -4
  819. package/dist/kolibri/label-32f655e1.js.map +0 -1
  820. package/dist/kolibri/open-4fee4c52.js +0 -4
  821. package/dist/kolibri/open-4fee4c52.js.map +0 -1
  822. package/dist/kolibri/prop.validators-2e3fde52.js +0 -4
  823. package/dist/kolibri/prop.validators-2e3fde52.js.map +0 -1
  824. package/dist/kolibri/rows-32475866.js +0 -4
  825. package/dist/kolibri/rows-32475866.js.map +0 -1
  826. package/dist/kolibri/show-0ced7b04.js +0 -4
  827. package/dist/kolibri/show-0ced7b04.js.map +0 -1
  828. package/dist/kolibri/suggestions-4347211e.js +0 -4
  829. package/dist/kolibri/suggestions-4347211e.js.map +0 -1
  830. package/dist/kolibri/tab-index-555bc0fc.js +0 -4
  831. package/dist/kolibri/tab-index-555bc0fc.js.map +0 -1
  832. package/dist/kolibri/tooltip-align-9f02b487.js +0 -4
  833. package/dist/kolibri/tooltip-align-9f02b487.js.map +0 -1
  834. package/dist/kolibri/validation-54b01567.js.map +0 -1
  835. package/dist/kolibri/validation-b86b914b.js +0 -4
  836. package/dist/kolibri/validation-b86b914b.js.map +0 -1
  837. /package/dist/kolibri/{InternalUnderlinedAccessKey-2c5af489.js.map → InternalUnderlinedAccessKey-e3698cee.js.map} +0 -0
  838. /package/dist/kolibri/{a11y.tipps-e9cad37c.js.map → a11y.tipps-f367a979.js.map} +0 -0
  839. /package/dist/kolibri/{controller-15b86c4c.js.map → controller-e23535f2.js.map} +0 -0
  840. /package/dist/kolibri/{devtools-2ad36829.js.map → devtools-308d0386.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"kol-textarea.js","mappings":";;;;;;;;;;;;;;;;AAiBO,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,CAAU;;MCTtE,kBAAmB,SAAQ,eAAe;IAGtD,YAAmB,SAA4C,EAAE,IAAY,EAAE,IAAkB;QAChG,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAItB,yBAAoB,GAAG;YAC9B,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,QAAQ,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;gBAClF,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;aACnE;SACD,CAAC;QAPD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC3B;IAQM,kBAAkB,CAAC,KAA0B;QACnD,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE;YAClD,KAAK,EAAE;gBACN,UAAU,EAAE,IAAI,CAAC,oBAAoB;aACrC;SACD,CAAC,CAAC;KACH;IAEM,iBAAiB,CAAC,KAAc;QACtC,WAAW,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GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolTextarea"],"sources":["src/components/textarea/types.ts","src/components/textarea/controller.ts","src/components/textarea/style.css?tag=kol-textarea&mode=default&encapsulation=shadow","src/components/textarea/component.tsx"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { InputTypeOnDefault } from '../../types/input/types';\nimport { PropAdjustHeight } from '../../types/props/adjust-height';\nimport { PropDisabled } from '../../types/props/disabled';\nimport { PropHasCounter } from '../../types/props/has-counter';\nimport { PropHideError } from '../../types/props/hide-error';\nimport { PropHideLabel } from '../../types/props/hide-label';\nimport { PropId } from '../../types/props/id';\nimport { PropLabelWithExpertSlot } from '../../types/props/label';\nimport { PropName } from '../../types/props/name';\nimport { PropReadOnly } from '../../types/props/read-only';\nimport { PropRequired } from '../../types/props/required';\nimport { PropRows } from '../../types/props/rows';\nimport { PropSyncValueBySelector } from '../../types/props/sync-value-by-selector';\nimport { PropTouched } from '../../types/props/touched';\n\nexport const cssResizeOptions = ['both', 'horizontal', 'vertical', 'none'] as const;\nexport type CSSResize = (typeof cssResizeOptions)[number];\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\taccessKey: string;\n\talert: boolean;\n\terror: string;\n\thint: string;\n\tmaxLength: number;\n\ton: InputTypeOnDefault;\n\tplaceholder: string;\n\tresize: CSSResize;\n\ttabIndex: number;\n\tvalue: string;\n} & PropAdjustHeight &\n\tPropDisabled &\n\tPropHasCounter &\n\tPropHideError &\n\tPropHideLabel &\n\tPropLabelWithExpertSlot &\n\tPropName &\n\tPropReadOnly &\n\tPropRequired &\n\tPropRows &\n\tPropSyncValueBySelector &\n\tPropTouched;\nexport type Props = Generic.Element.Members<RequiredProps, OptionalProps>;\n\ntype RequiredStates = {\n\tadjustHeight: boolean;\n\tcurrentLength: number;\n\thasValue: boolean;\n\tresize: CSSResize;\n} & PropId &\n\tPropAdjustHeight &\n\tPropHideError &\n\tPropLabelWithExpertSlot;\ntype OptionalStates = {\n\taccessKey: string;\n\talert: boolean;\n\terror: string;\n\thint: string;\n\tmaxLength: number;\n\ton: InputTypeOnDefault;\n\tplaceholder: string;\n\ttabIndex: number;\n\tvalue: string;\n} & PropDisabled &\n\tPropHasCounter &\n\tPropHideLabel &\n\tPropName &\n\tPropReadOnly &\n\tPropRequired &\n\tPropRows &\n\tPropTouched;\n\nexport type States = Generic.Element.Members<RequiredStates, OptionalStates>;\n\nexport type Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport type API = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;\n","import { Generic } from '@a11y-ui/core';\n\nimport { HasCounterPropType } from '../../types/props/has-counter';\nimport { RowsPropType, validateRows } from '../../types/props/rows';\nimport { watchBoolean, watchNumber, watchString, watchValidator } from '../../utils/prop.validators';\nimport { InputController } from '../@deprecated/input/controller';\nimport { CSSResize, Props, Watches, cssResizeOptions } from './types';\n\nexport class TextareaController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tprivate afterSyncCharCounter = () => {\n\t\tif (typeof this.component._value === 'string' && this.component._value.length > 0) {\n\t\t\tthis.component.state._currentLength = this.component._value.length;\n\t\t}\n\t};\n\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\twatchBoolean(this.component, '_hasCounter', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateMaxLength(value?: number): void {\n\t\twatchNumber(this.component, '_maxLength', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t\tmin: 0,\n\t\t});\n\t}\n\n\tpublic validatePlaceholder(value?: string): void {\n\t\twatchString(this.component, '_placeholder', value);\n\t}\n\n\tpublic validateReadOnly(value?: boolean): void {\n\t\twatchBoolean(this.component, '_readOnly', value);\n\t}\n\n\tpublic validateResize(value?: CSSResize): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_resize',\n\t\t\t(value) => typeof value === 'string' && cssResizeOptions.includes(value),\n\t\t\tnew Set(`String {${cssResizeOptions.join(', ')}`),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateRequired(value?: boolean): void {\n\t\twatchBoolean(this.component, '_required', value);\n\t}\n\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tvalidateRows(this.component, value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t});\n\t\tthis.setFormAssociatedValue(this.component._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t\tthis.validateMaxLength(this.component._maxLength);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateResize(this.component._resize);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateRows(this.component._rows);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@import url(../input-line.css);\n@layer kol-component {\n\t.error.hidden {\n\t\tdisplay: none;\n\t}\n}\n","import { Component, Element, Fragment, h, Host, JSX, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { InputTypeOnDefault } from '../../types/input/types';\nimport { AdjustHeightPropType } from '../../types/props/adjust-height';\nimport { HasCounterPropType } from '../../types/props/has-counter';\nimport { HideErrorPropType } from '../../types/props/hide-error';\nimport { IdPropType } from '../../types/props/id';\nimport { LabelWithExpertSlotPropType } from '../../types/props/label';\nimport { NamePropType } from '../../types/props/name';\nimport { RowsPropType } from '../../types/props/rows';\nimport { SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { TooltipAlignPropType } from '../../types/props/tooltip-align';\nimport { nonce } from '../../utils/dev.utils';\nimport { setState } from '../../utils/prop.validators';\nimport { propagateFocus, showExpertSlot } from '../../utils/reuse';\nimport { getRenderStates } from '../input/controller';\nimport { InternalUnderlinedAccessKey } from '../span/InternalUnderlinedAccessKey';\nimport { TextareaController } from './controller';\nimport { API, CSSResize, States } from './types';\n\n/**\n * https://stackoverflow.com/questions/17772260/textarea-auto-height\n */\nconst increaseTextareaHeight = (el: HTMLTextAreaElement): number => {\n\tel.style.overflow = 'hidden'; // verhindert, dass ein Scrollbalken kurz angezeigt wird\n\tconst currentRows = el.rows;\n\tconst rowHeight = el.clientHeight / currentRows;\n\tel.rows = 1;\n\tconst nextRows = Math.round(el.scrollHeight / rowHeight);\n\tel.rows = currentRows;\n\treturn nextRows;\n};\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-textarea',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolTextarea implements API {\n\t@Element() private readonly host?: HTMLKolTextareaElement;\n\tprivate ref?: HTMLTextAreaElement;\n\n\tprivate readonly catchRef = (ref?: HTMLTextAreaElement) => {\n\t\tthis.ref = ref;\n\t\tpropagateFocus(this.host, this.ref);\n\t};\n\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\t@Method()\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ref?.value;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { ariaDescribedBy } = getRenderStates(this.state);\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\n\t\treturn (\n\t\t\t<Host class={{ 'has-value': this.state._hasValue }}>\n\t\t\t\t<kol-input\n\t\t\t\t\tclass={{ textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }}\n\t\t\t\t\t_accessKey={this.state._accessKey}\n\t\t\t\t\t_alert={this.state._alert}\n\t\t\t\t\t_currentLength={this.state._currentLength}\n\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t_error={this.state._error}\n\t\t\t\t\t_hideError={this.state._hideError}\n\t\t\t\t\t_hasCounter={this.state._hasCounter}\n\t\t\t\t\t_hideLabel={this.state._hideLabel}\n\t\t\t\t\t_hint={this.state._hint}\n\t\t\t\t\t_id={this.state._id}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t_maxLength={this.state._maxLength}\n\t\t\t\t\t_readOnly={this.state._readOnly}\n\t\t\t\t\t_required={this.state._required}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_touched={this.state._touched}\n\t\t\t\t\tonClick={() => this.ref?.focus()}\n\t\t\t\t>\n\t\t\t\t\t<span slot=\"label\">\n\t\t\t\t\t\t{hasExpertSlot ? (\n\t\t\t\t\t\t\t<slot name=\"expert\"></slot>\n\t\t\t\t\t\t) : typeof this.state._accessKey === 'string' ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<InternalUnderlinedAccessKey accessKey={this.state._accessKey} label={this.state._label} />{' '}\n\t\t\t\t\t\t\t\t<span class=\"access-key-hint\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t{this.state._accessKey}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\t\t\t\t\t<div slot=\"input\">\n\t\t\t\t\t\t<textarea\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\ttitle=\"\"\n\t\t\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\t\t\taria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n\t\t\t\t\t\t\taria-label={this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\t\t\tautoCapitalize=\"off\"\n\t\t\t\t\t\t\tautoCorrect=\"off\"\n\t\t\t\t\t\t\tdisabled={this.state._disabled}\n\t\t\t\t\t\t\tid={this.state._id}\n\t\t\t\t\t\t\tmaxlength={this.state._maxLength}\n\t\t\t\t\t\t\tname={this.state._name}\n\t\t\t\t\t\t\treadOnly={this.state._readOnly}\n\t\t\t\t\t\t\trequired={this.state._required}\n\t\t\t\t\t\t\trows={this.state._rows}\n\t\t\t\t\t\t\tplaceholder={this.state._placeholder}\n\t\t\t\t\t\t\tspellcheck=\"false\"\n\t\t\t\t\t\t\t{...this.controller.onFacade}\n\t\t\t\t\t\t\tonKeyUp={this.onKeyUp}\n\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\tresize: this.state._resize,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={this.state._value}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</kol-input>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: TextareaController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Adjusts the height of the element to its content.\n\t * @TODO: change back to AdjustHeightPropType after stencil #4663 has been resolved\n\t */\n\t@Prop() public _adjustHeight?: boolean = false;\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _alert?: boolean = true;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the error message text.\n\t */\n\t@Prop() public _error?: string;\n\n\t/**\n\t * Shows the character count on the lower border of the input.\n\t * @TODO: Change type back to `HasCounterPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideErrorPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideError?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Defines whether and in which direction the size of the input can be changed by the user. (https://developer.mozilla.org/de/docs/Web/CSS/resize)\n\t */\n\t@Prop() public _resize?: CSSResize = 'vertical';\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Defines how many rows of text should be visible at the same time.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _rows?: RowsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop() public _value?: string;\n\n\t@State() public state: States = {\n\t\t_adjustHeight: false,\n\t\t_currentLength: 0,\n\t\t_hasValue: false,\n\t\t_hideError: false,\n\t\t_id: `id-${nonce()}`, // ⚠ required\n\t\t_label: '', // ⚠ required\n\t\t_resize: 'vertical',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new TextareaController(this, 'textarea', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_adjustHeight')\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tthis.controller.validateAdjustHeight(value);\n\t}\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\tthis.controller.validateAlert(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_error')\n\tpublic validateError(value?: string): void {\n\t\tthis.controller.validateError(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hideError')\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tthis.controller.validateHideError(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: string): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: boolean): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_resize')\n\tpublic validateResize(value?: CSSResize): void {\n\t\tthis.controller.validateResize(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_rows')\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tthis.controller.validateRows(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._alert = this._alert === true;\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n\n\tprivate readonly onKeyUp = () => {\n\t\tif (this.ref instanceof HTMLTextAreaElement) {\n\t\t\tsetState(this, '_currentLength', this.ref.value.length);\n\t\t\tif (this.state._adjustHeight) {\n\t\t\t\tthis._rows = increaseTextareaHeight(this.ref);\n\t\t\t}\n\t\t}\n\t};\n}\n"],"version":3}
1
+ {"file":"kol-textarea.js","mappings":";;;;;;;;;;;;;;;;AAiBO,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,CAAU;;MCTtE,kBAAmB,SAAQ,eAAe;IAGtD,YAAmB,SAA4C,EAAE,IAAY,EAAE,IAAkB;QAChG,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAItB,yBAAoB,GAAG;YAC9B,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,QAAQ,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;gBAClF,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC;aACnE;SACD,CAAC;QAPD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;KAC3B;IAQM,kBAAkB,CAAC,KAA0B;QACnD,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE;YAClD,KAAK,EAAE;gBACN,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AAC;QAC3C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolTextarea"],"sources":["src/components/textarea/types.ts","src/components/textarea/controller.ts","src/components/textarea/style.css?tag=kol-textarea&mode=default&encapsulation=shadow","src/components/textarea/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { InputTypeOnDefault } from '../../types/input/types';\nimport { PropAdjustHeight } from '../../types/props/adjust-height';\nimport { PropDisabled } from '../../types/props/disabled';\nimport { PropHasCounter } from '../../types/props/has-counter';\nimport { PropHideError } from '../../types/props/hide-error';\nimport { PropHideLabel } from '../../types/props/hide-label';\nimport { PropId } from '../../types/props/id';\nimport { PropLabelWithExpertSlot } from '../../types/props/label';\nimport { PropName } from '../../types/props/name';\nimport { PropReadOnly } from '../../types/props/read-only';\nimport { PropRequired } from '../../types/props/required';\nimport { PropRows } from '../../types/props/rows';\nimport { PropSyncValueBySelector } from '../../types/props/sync-value-by-selector';\nimport { PropTouched } from '../../types/props/touched';\n\nexport const cssResizeOptions = ['both', 'horizontal', 'vertical', 'none'] as const;\nexport type CSSResize = (typeof cssResizeOptions)[number];\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\taccessKey: string;\n\talert: boolean;\n\terror: string;\n\thint: string;\n\tmaxLength: number;\n\ton: InputTypeOnDefault;\n\tplaceholder: string;\n\tresize: CSSResize;\n\ttabIndex: number;\n\tvalue: string;\n} & PropAdjustHeight &\n\tPropDisabled &\n\tPropHasCounter &\n\tPropHideError &\n\tPropHideLabel &\n\tPropLabelWithExpertSlot &\n\tPropName &\n\tPropReadOnly &\n\tPropRequired &\n\tPropRows &\n\tPropSyncValueBySelector &\n\tPropTouched;\nexport type Props = Generic.Element.Members<RequiredProps, OptionalProps>;\n\ntype RequiredStates = {\n\tadjustHeight: boolean;\n\tcurrentLength: number;\n\thasValue: boolean;\n\tresize: CSSResize;\n} & PropId &\n\tPropAdjustHeight &\n\tPropHideError &\n\tPropLabelWithExpertSlot;\ntype OptionalStates = {\n\taccessKey: string;\n\talert: boolean;\n\terror: string;\n\thint: string;\n\tmaxLength: number;\n\ton: InputTypeOnDefault;\n\tplaceholder: string;\n\ttabIndex: number;\n\tvalue: string;\n} & PropDisabled &\n\tPropHasCounter &\n\tPropHideLabel &\n\tPropName &\n\tPropReadOnly &\n\tPropRequired &\n\tPropRows &\n\tPropTouched;\n\nexport type States = Generic.Element.Members<RequiredStates, OptionalStates>;\n\nexport type Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\nexport type API = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { HasCounterPropType } from '../../types/props/has-counter';\nimport { RowsPropType, validateRows } from '../../types/props/rows';\nimport { watchBoolean, watchNumber, watchString, watchValidator } from '../../utils/prop.validators';\nimport { InputController } from '../@deprecated/input/controller';\nimport { CSSResize, Props, Watches, cssResizeOptions } from './types';\n\nexport class TextareaController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tprivate afterSyncCharCounter = () => {\n\t\tif (typeof this.component._value === 'string' && this.component._value.length > 0) {\n\t\t\tthis.component.state._currentLength = this.component._value.length;\n\t\t}\n\t};\n\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\twatchBoolean(this.component, '_hasCounter', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateMaxLength(value?: number): void {\n\t\twatchNumber(this.component, '_maxLength', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t\tmin: 0,\n\t\t});\n\t}\n\n\tpublic validatePlaceholder(value?: string): void {\n\t\twatchString(this.component, '_placeholder', value);\n\t}\n\n\tpublic validateReadOnly(value?: boolean): void {\n\t\twatchBoolean(this.component, '_readOnly', value);\n\t}\n\n\tpublic validateResize(value?: CSSResize): void {\n\t\twatchValidator(\n\t\t\tthis.component,\n\t\t\t'_resize',\n\t\t\t(value) => typeof value === 'string' && cssResizeOptions.includes(value),\n\t\t\tnew Set(`String {${cssResizeOptions.join(', ')}`),\n\t\t\tvalue\n\t\t);\n\t}\n\n\tpublic validateRequired(value?: boolean): void {\n\t\twatchBoolean(this.component, '_required', value);\n\t}\n\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tvalidateRows(this.component, value);\n\t}\n\n\tpublic validateValue(value?: string): void {\n\t\twatchString(this.component, '_value', value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: this.afterSyncCharCounter,\n\t\t\t},\n\t\t});\n\t\tthis.setFormAssociatedValue(this.component._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateHasCounter(this.component._hasCounter);\n\t\tthis.validateMaxLength(this.component._maxLength);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateResize(this.component._resize);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateRows(this.component._rows);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@import url(../input-line.css);\n@layer kol-component {\n\t.error.hidden {\n\t\tdisplay: none;\n\t}\n}\n","import { Component, Element, Fragment, h, Host, JSX, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { InputTypeOnDefault } from '../../types/input/types';\nimport { AdjustHeightPropType } from '../../types/props/adjust-height';\nimport { HasCounterPropType } from '../../types/props/has-counter';\nimport { HideErrorPropType } from '../../types/props/hide-error';\nimport { IdPropType } from '../../types/props/id';\nimport { LabelWithExpertSlotPropType } from '../../types/props/label';\nimport { NamePropType } from '../../types/props/name';\nimport { RowsPropType } from '../../types/props/rows';\nimport { SyncValueBySelectorPropType } from '../../types/props/sync-value-by-selector';\nimport { TooltipAlignPropType } from '../../types/props/tooltip-align';\nimport { nonce } from '../../utils/dev.utils';\nimport { setState } from '../../utils/prop.validators';\nimport { propagateFocus, showExpertSlot } from '../../utils/reuse';\nimport { getRenderStates } from '../input/controller';\nimport { InternalUnderlinedAccessKey } from '../span/InternalUnderlinedAccessKey';\nimport { TextareaController } from './controller';\nimport { API, CSSResize, States } from './types';\n\n/**\n * https://stackoverflow.com/questions/17772260/textarea-auto-height\n */\nconst increaseTextareaHeight = (el: HTMLTextAreaElement): number => {\n\tel.style.overflow = 'hidden'; // verhindert, dass ein Scrollbalken kurz angezeigt wird\n\tconst currentRows = el.rows;\n\tconst rowHeight = el.clientHeight / currentRows;\n\tel.rows = 1;\n\tconst nextRows = Math.round(el.scrollHeight / rowHeight);\n\tel.rows = currentRows;\n\treturn nextRows;\n};\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-textarea',\n\tstyleUrls: {\n\t\tdefault: './style.css',\n\t},\n\tshadow: true,\n})\nexport class KolTextarea implements API {\n\t@Element() private readonly host?: HTMLKolTextareaElement;\n\tprivate ref?: HTMLTextAreaElement;\n\n\tprivate readonly catchRef = (ref?: HTMLTextAreaElement) => {\n\t\tthis.ref = ref;\n\t\tpropagateFocus(this.host, this.ref);\n\t};\n\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\t@Method()\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ref?.value;\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { ariaDescribedBy } = getRenderStates(this.state);\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\n\t\treturn (\n\t\t\t<Host class={{ 'has-value': this.state._hasValue }}>\n\t\t\t\t<kol-input\n\t\t\t\t\tclass={{ textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }}\n\t\t\t\t\t_accessKey={this.state._accessKey}\n\t\t\t\t\t_alert={this.state._alert}\n\t\t\t\t\t_currentLength={this.state._currentLength}\n\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t_error={this.state._error}\n\t\t\t\t\t_hideError={this.state._hideError}\n\t\t\t\t\t_hasCounter={this.state._hasCounter}\n\t\t\t\t\t_hideLabel={this.state._hideLabel}\n\t\t\t\t\t_hint={this.state._hint}\n\t\t\t\t\t_id={this.state._id}\n\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t_maxLength={this.state._maxLength}\n\t\t\t\t\t_readOnly={this.state._readOnly}\n\t\t\t\t\t_required={this.state._required}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_touched={this.state._touched}\n\t\t\t\t\tonClick={() => this.ref?.focus()}\n\t\t\t\t>\n\t\t\t\t\t<span slot=\"label\">\n\t\t\t\t\t\t{hasExpertSlot ? (\n\t\t\t\t\t\t\t<slot name=\"expert\"></slot>\n\t\t\t\t\t\t) : typeof this.state._accessKey === 'string' ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<InternalUnderlinedAccessKey accessKey={this.state._accessKey} label={this.state._label} />{' '}\n\t\t\t\t\t\t\t\t<span class=\"access-key-hint\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t{this.state._accessKey}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<span>{this.state._label}</span>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</span>\n\t\t\t\t\t<div slot=\"input\">\n\t\t\t\t\t\t<textarea\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\ttitle=\"\"\n\t\t\t\t\t\t\taccessKey={this.state._accessKey}\n\t\t\t\t\t\t\taria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n\t\t\t\t\t\t\taria-label={this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\t\t\tautoCapitalize=\"off\"\n\t\t\t\t\t\t\tautoCorrect=\"off\"\n\t\t\t\t\t\t\tdisabled={this.state._disabled}\n\t\t\t\t\t\t\tid={this.state._id}\n\t\t\t\t\t\t\tmaxlength={this.state._maxLength}\n\t\t\t\t\t\t\tname={this.state._name}\n\t\t\t\t\t\t\treadOnly={this.state._readOnly}\n\t\t\t\t\t\t\trequired={this.state._required}\n\t\t\t\t\t\t\trows={this.state._rows}\n\t\t\t\t\t\t\tplaceholder={this.state._placeholder}\n\t\t\t\t\t\t\tspellcheck=\"false\"\n\t\t\t\t\t\t\t{...this.controller.onFacade}\n\t\t\t\t\t\t\tonKeyUp={this.onKeyUp}\n\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\tresize: this.state._resize,\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={this.state._value}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</kol-input>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: TextareaController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Adjusts the height of the element to its content.\n\t * @TODO: change back to AdjustHeightPropType after stencil #4663 has been resolved\n\t */\n\t@Prop() public _adjustHeight?: boolean = false;\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _alert?: boolean = true;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the error message text.\n\t */\n\t@Prop() public _error?: string;\n\n\t/**\n\t * Shows the character count on the lower border of the input.\n\t * @TODO: Change type back to `HasCounterPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideErrorPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideError?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Defines whether and in which direction the size of the input can be changed by the user. (https://developer.mozilla.org/de/docs/Web/CSS/resize)\n\t */\n\t@Prop() public _resize?: CSSResize = 'vertical';\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Defines how many rows of text should be visible at the same time.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _rows?: RowsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop() public _value?: string;\n\n\t@State() public state: States = {\n\t\t_adjustHeight: false,\n\t\t_currentLength: 0,\n\t\t_hasValue: false,\n\t\t_hideError: false,\n\t\t_id: `id-${nonce()}`, // ⚠ required\n\t\t_label: '', // ⚠ required\n\t\t_resize: 'vertical',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new TextareaController(this, 'textarea', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_adjustHeight')\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tthis.controller.validateAdjustHeight(value);\n\t}\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\tthis.controller.validateAlert(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: boolean): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_error')\n\tpublic validateError(value?: string): void {\n\t\tthis.controller.validateError(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hideError')\n\tpublic validateHideError(value?: HideErrorPropType): void {\n\t\tthis.controller.validateHideError(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: string): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: string): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: boolean): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_resize')\n\tpublic validateResize(value?: CSSResize): void {\n\t\tthis.controller.validateResize(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: boolean): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_rows')\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tthis.controller.validateRows(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._alert = this._alert === true;\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n\n\tprivate readonly onKeyUp = () => {\n\t\tif (this.ref instanceof HTMLTextAreaElement) {\n\t\t\tsetState(this, '_currentLength', this.ref.value.length);\n\t\t\tif (this.state._adjustHeight) {\n\t\t\t\tthis._rows = increaseTextareaHeight(this.ref);\n\t\t\t}\n\t\t}\n\t};\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as watchValidator,a as a11yHint,u as uiUxHint}from"./prop.validators.js";const READABLE_CHARS=/[a-zA-Z0-9äöüÄÖÜß]/g,ONLY_NUMBERS=/^\d+$/;function countReadableChars(a){var t;return"string"==typeof a&&(null===(t=a.match(READABLE_CHARS))||void 0===t?void 0:t.length)||0}function hasEnoughReadableChars(a,t=1){return countReadableChars(a)>=t}function containsOnlyNumbers(a){return ONLY_NUMBERS.test(a)}function getValidationOptions(a){var t;return{hooks:{afterPatch:(t,e,o,n)=>{var l,i;"function"==typeof(null===(l=a.hooks)||void 0===l?void 0:l.afterPatch)&&(null===(i=a.hooks)||void 0===i||i.afterPatch(t,e,o,n)),"string"==typeof t&&!1===hasEnoughReadableChars(t,3)&&!1===containsOnlyNumbers(t)&&a11yHint(`The heading or label ("${t}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof t&&t.length>80&&uiUxHint("A heading or label should not be longer than 80 characters.")},beforePatch:null===(t=a.hooks)||void 0===t?void 0:t.beforePatch}}}const LABEL_VALUES=new Set(["string"]),validateLabel=(a,t,e={})=>{watchValidator(a,"_label",(a=>"string"==typeof a),LABEL_VALUES,t,getValidationOptions(e))},validateLabelWithExpertSlot=validateLabel;export{validateLabelWithExpertSlot as a,containsOnlyNumbers as c,hasEnoughReadableChars as h,validateLabel as v};
4
+ import{w as watchValidator,b as a11yHint,u as uiUxHint}from"./prop.validators.js";const READABLE_CHARS=/[a-zA-Z0-9äöüÄÖÜß]/g,ONLY_NUMBERS=/^\d+$/;function countReadableChars(a){var t;return"string"==typeof a&&(null===(t=a.match(READABLE_CHARS))||void 0===t?void 0:t.length)||0}function hasEnoughReadableChars(a,t=1){return countReadableChars(a)>=t}function containsOnlyNumbers(a){return ONLY_NUMBERS.test(a)}function getValidationOptions(a){var t;return{hooks:{afterPatch:(t,e,o,n)=>{var l,i;"function"==typeof(null===(l=a.hooks)||void 0===l?void 0:l.afterPatch)&&(null===(i=a.hooks)||void 0===i||i.afterPatch(t,e,o,n)),"string"==typeof t&&!1===hasEnoughReadableChars(t,3)&&!1===containsOnlyNumbers(t)&&a11yHint(`The heading or label ("${t}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof t&&t.length>80&&uiUxHint("A heading or label should not be longer than 80 characters.")},beforePatch:null===(t=a.hooks)||void 0===t?void 0:t.beforePatch}}}const LABEL_VALUES=new Set(["string"]),validateLabel=(a,t,e={})=>{watchValidator(a,"_label",(a=>"string"==typeof a),LABEL_VALUES,t,getValidationOptions(e))},validateLabelWithExpertSlot=validateLabel;export{validateLabelWithExpertSlot as a,containsOnlyNumbers as c,hasEnoughReadableChars as h,validateLabel as v};
@@ -1 +1 @@
1
- {"file":"label.js","mappings":";;;;;AAYA,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAK7C,MAAM,YAAY,GAAG,OAAO,CAAC;AAO7B,SAAS,kBAAkB,CA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AAqB,EAAE,UAA8B,EAAE;IAC1H,cAAc,CAAC,SAAS,EAAE,QAAQ,EAAE,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/H,EAAE;MAMW,2BAA2B,GAAG;;;;","names":[],"sources":["src/types/props/label.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { a11yHint, uiUxHint } from '../../utils/a11y.tipps';\nimport { WatchStringOptions, watchValidator } from '../../utils/prop.validators';\n\n/* types */\n\n/**\n * This is a regular expression that matches all readable characters.\n *\n * Interesting: https://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters\n */\nconst READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;\n\n/**\n * This is a regular expression that matches only numbers.\n */\nconst ONLY_NUMBERS = /^\\d+$/;\n\n/**\n * This function counts the number of readable characters in a string.\n * @param str The string to count.\n * @returns The number of readable characters in the string.\n */\nfunction countReadableChars(str: string): number {\n\treturn typeof str === 'string' ? str.match(READABLE_CHARS)?.length || 0 : 0;\n}\n\n/**\n * This function checks if a string has at least a certain number of readable characters.\n * @param str The string to check.\n * @param min The minimum number of readable characters.\n * @returns True if the string has at least the minimum number of readable characters, false otherwise.\n */\nexport function hasEnoughReadableChars(str: string, min = 1): boolean {\n\treturn countReadableChars(str) >= min;\n}\n\n/**\n * This function checks if a string contains only numbers.\n * @param str The string to check.\n * @returns True if the string contains only numbers, false otherwise.\n */\nexport function containsOnlyNumbers(str: string): boolean {\n\treturn ONLY_NUMBERS.test(str);\n}\n\n/**\n * Defines the type of the label property.\n */\nexport type LabelPropType = string;\n\n/**\n * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n */\nexport type LabelWithExpertSlotPropType = LabelPropType | '';\n\n/**\n * The label property is used to label different elements:\n * - abbr -> title text\n * - button -> label text\n * - heading -> headline text\n * - input, select and textarea -> label text\n * - summary -> summary text\n * - quote, table -> caption text\n * - version -> version text\n * - etc.\n *\n * The label is often a mandatory attribute. If the value of the label is false,\n * the expert-slot will be used. Otherwise, the value of the label must be a string\n * and the expert-slot will be ignored.\n */\nexport type PropLabel = {\n\tlabel: LabelPropType;\n};\nexport type PropLabelWithExpertSlot = {\n\tlabel: LabelWithExpertSlotPropType;\n};\n\nexport type LabelProp = Generic.Element.Members<PropLabel, unknown>;\n// type LabelWithExpertSlotProp = Generic.Element.Members<PropLabelWithExpertSlot, unknown>;\n\nfunction getValidationOptions(options: WatchStringOptions): WatchStringOptions {\n\treturn {\n\t\thooks: {\n\t\t\tafterPatch: (value, state, component, key) => {\n\t\t\t\tif (typeof options.hooks?.afterPatch === 'function') {\n\t\t\t\t\toptions.hooks?.afterPatch(value, state, component, key);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && hasEnoughReadableChars(value, 3) === false && containsOnlyNumbers(value) === false) {\n\t\t\t\t\ta11yHint(`The heading or label (\"${value}\") is not accessible. A label should consist of at least three readable characters.`);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 80) {\n\t\t\t\t\tuiUxHint(`A heading or label should not be longer than 80 characters.`);\n\t\t\t\t}\n\t\t\t},\n\t\t\tbeforePatch: options.hooks?.beforePatch,\n\t\t},\n\t};\n}\n\nconst LABEL_VALUES = new Set(['string']);\nexport const validateLabel = (component: Generic.Element.Component, value?: LabelPropType, options: WatchStringOptions = {}): void => {\n\twatchValidator(component, '_label', (value) => typeof value === 'string', LABEL_VALUES, value, getValidationOptions(options));\n};\n\n/**\n * This method name helps to differentiate between the label\n * and the label with expert slot usage.\n */\nexport const validateLabelWithExpertSlot = validateLabel;\n"],"version":3}
1
+ {"file":"label.js","mappings":";;;;;AAYA,MAAM,cAAc,GAAG,qBAAqB,CAAC;AAK7C,MAAM,YAAY,GAAG,OAAO,CAAC;AAO7B,SAAS,kBAAkB,CAAC,GAAW;;IACtC,OAAO,O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;IAC1H,cAAc,CAAC,SAAS,EAAE,QAAQ,EAAE,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/H,EAAE;MAMW,2BAA2B,GAAG;;;;","names":[],"sources":["src/types/props/label.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { a11yHint, uiUxHint } from '../../utils/a11y.tipps';\nimport { WatchStringOptions, watchValidator } from '../../utils/prop.validators';\n\n/* types */\n\n/**\n * This is a regular expression that matches all readable characters.\n *\n * Interesting: https://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters\n */\nconst READABLE_CHARS = /[a-zA-Z0-9äöüÄÖÜß]/g;\n\n/**\n * This is a regular expression that matches only numbers.\n */\nconst ONLY_NUMBERS = /^\\d+$/;\n\n/**\n * This function counts the number of readable characters in a string.\n * @param str The string to count.\n * @returns The number of readable characters in the string.\n */\nfunction countReadableChars(str: string): number {\n\treturn typeof str === 'string' ? str.match(READABLE_CHARS)?.length || 0 : 0;\n}\n\n/**\n * This function checks if a string has at least a certain number of readable characters.\n * @param str The string to check.\n * @param min The minimum number of readable characters.\n * @returns True if the string has at least the minimum number of readable characters, false otherwise.\n */\nexport function hasEnoughReadableChars(str: string, min = 1): boolean {\n\treturn countReadableChars(str) >= min;\n}\n\n/**\n * This function checks if a string contains only numbers.\n * @param str The string to check.\n * @returns True if the string contains only numbers, false otherwise.\n */\nexport function containsOnlyNumbers(str: string): boolean {\n\treturn ONLY_NUMBERS.test(str);\n}\n\n/**\n * Defines the type of the label property.\n */\nexport type LabelPropType = string;\n\n/**\n * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n */\nexport type LabelWithExpertSlotPropType = LabelPropType | '';\n\n/**\n * The label property is used to label different elements:\n * - abbr -> title text\n * - button -> label text\n * - heading -> headline text\n * - input, select and textarea -> label text\n * - summary -> summary text\n * - quote, table -> caption text\n * - version -> version text\n * - etc.\n *\n * The label is often a mandatory attribute. If the value of the label is false,\n * the expert-slot will be used. Otherwise, the value of the label must be a string\n * and the expert-slot will be ignored.\n */\nexport type PropLabel = {\n\tlabel: LabelPropType;\n};\nexport type PropLabelWithExpertSlot = {\n\tlabel: LabelWithExpertSlotPropType;\n};\n\nexport type LabelProp = Generic.Element.Members<PropLabel, unknown>;\n// type LabelWithExpertSlotProp = Generic.Element.Members<PropLabelWithExpertSlot, unknown>;\n\nfunction getValidationOptions(options: WatchStringOptions): WatchStringOptions {\n\treturn {\n\t\thooks: {\n\t\t\tafterPatch: (value, state, component, key) => {\n\t\t\t\tif (typeof options.hooks?.afterPatch === 'function') {\n\t\t\t\t\toptions.hooks?.afterPatch(value, state, component, key);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && hasEnoughReadableChars(value, 3) === false && containsOnlyNumbers(value) === false) {\n\t\t\t\t\ta11yHint(`The heading or label (\"${value}\") is not accessible. A label should consist of at least three readable characters.`);\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 80) {\n\t\t\t\t\tuiUxHint(`A heading or label should not be longer than 80 characters.`);\n\t\t\t\t}\n\t\t\t},\n\t\t\tbeforePatch: options.hooks?.beforePatch,\n\t\t},\n\t};\n}\n\nconst LABEL_VALUES = new Set(['string']);\nexport const validateLabel = (component: Generic.Element.Component, value?: LabelPropType, options: WatchStringOptions = {}): void => {\n\twatchValidator(component, '_label', (value) => typeof value === 'string', LABEL_VALUES, value, getValidationOptions(options));\n};\n\n/**\n * This method name helps to differentiate between the label\n * and the label with expert slot usage.\n */\nexport const validateLabelWithExpertSlot = validateLabel;\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{e as watchBoolean}from"./prop.validators.js";const validateOpen=(a,o,e)=>{watchBoolean(a,"_open",o,e)};export{validateOpen as v};
4
+ import{g as watchBoolean}from"./prop.validators.js";const validateOpen=(a,o,e)=>{watchBoolean(a,"_open",o,e)};export{validateOpen as v};
@@ -1 +1 @@
1
- {"file":"open.js","mappings":";;;;;MAea,YAAY,GAAG,CAAC,SAAoC,EAAE,KAA+B,EAAE,OAA6B;IAChI,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AAClD;;;;","names":[],"sources":["src/types/props/open.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { watchBoolean, WatchBooleanOptions } from '../../utils/prop.validators';\n\n/* types */\nexport type OpenPropType = boolean;\n\n/**\n * If set (to true) opens/expands the element, closes if not set (or set to false).\n */\nexport type PropOpen = {\n\topen: OpenPropType;\n};\n\n/* validator */\nexport const validateOpen = (component: Generic.Element.Component, value: OpenPropType | undefined, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_open', value, options);\n};\n"],"version":3}
1
+ {"file":"open.js","mappings":";;;;;MAea,YAAY,GAAG,CAAC,SAAoC,EAAE,KAA+B,EAAE,OAA6B;IAChI,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AAClD;;;;","names":[],"sources":["src/types/props/open.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean, WatchBooleanOptions } from '../../utils/prop.validators';\n\n/* types */\nexport type OpenPropType = boolean;\n\n/**\n * If set (to true) opens/expands the element, closes if not set (or set to false).\n */\nexport type PropOpen = {\n\topen: OpenPropType;\n};\n\n/* validator */\nexport const validateOpen = (component: Generic.Element.Component, value: OpenPropType | undefined, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_open', value, options);\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return commonjsRequire()}},o.exports),o.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var loglevel=createCommonjsModule((function(e){var t,o;t=commonjsGlobal,o=function(){var e=function(){},t="undefined",o=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function r(e,t){var o=e[t];if("function"==typeof o.bind)return o.bind(e);try{return Function.prototype.bind.call(o,e)}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(t,o){for(var r=0;r<n.length;r++){var i=n[r];this[i]=r<t?e:this.methodFactory(i,t,o)}this.log=this.debug}function a(e,o,n){return function(){typeof console!==t&&(l.call(this,o,n),this[e].apply(this,arguments))}}function s(n,l,s){return function(n){return"debug"===n&&(n="log"),typeof console!==t&&("trace"===n&&o?i:void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}(n)||a.apply(this,arguments)}function c(e,o,r){var i,a=this;o=null==o?"WARN":o;var c="loglevel";function u(){var e;if(typeof window!==t&&c){try{e=window.localStorage[c]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,n=o.indexOf(encodeURIComponent(c)+"=");-1!==n&&(e=/^([^;]+)/.exec(o.slice(n))[1])}catch(e){}return void 0===a.levels[e]&&(e=void 0),e}}"string"==typeof e?c+=":"+e:"symbol"==typeof e&&(c=void 0),a.name=e,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=r||s,a.getLevel=function(){return i},a.setLevel=function(o,r){if("string"==typeof o&&void 0!==a.levels[o.toUpperCase()]&&(o=a.levels[o.toUpperCase()]),!("number"==typeof o&&o>=0&&o<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+o;if(i=o,!1!==r&&function(e){var o=(n[e]||"silent").toUpperCase();if(typeof window!==t&&c){try{return void(window.localStorage[c]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"="+o+";"}catch(e){}}}(o),l.call(a,o,e),typeof console===t&&o<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(e){o=e,u()||a.setLevel(e,!1)},a.resetLevel=function(){a.setLevel(o,!1),function(){if(typeof window!==t&&c){try{return void window.localStorage.removeItem(c)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}()},a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)},a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};var d=u();null==d&&(d=o),a.setLevel(d,!1)}var u=new c,d={};u.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=d[e];return t||(t=d[e]=new c(e,u.getLevel(),u.methodFactory)),t};var h=typeof window!==t?window.log:void 0;return u.noConflict=function(){return typeof window!==t&&window.log===u&&(window.log=h),u},u.getLoggers=function(){return d},u.default=u,u},e.exports?e.exports=o():t.log=o()}));const STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};let lockThemePatching=!0,warrentyWarning=!1;const THEME_NAME_PATTERN=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,isThemeNameValid=e=>"string"==typeof e&&THEME_NAME_PATTERN.test(e),validateThemeName=e=>{if(!1===isThemeNameValid(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},patchThemeTag=(e,t,o,n=!1)=>{validateThemeName(e),!0===lockThemePatching&&!1===warrentyWarning&&(warrentyWarning=!0,loglevel.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n\timport { register } from 'adopted-style-sheets';\n\timport { defineCustomElements } from '...';\n\timport { THEME } from '...';\n\n\tregister(THEME, defineCustomElements)\n\t.then(() => {\n\t\t// run your app or website\n\t})\n\t.catch(console.warn);`)),"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),"object"!=typeof STORE.A11yUi||null===STORE.A11yUi||"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes||(STORE.A11yUi.Themes={}),"object"!=typeof STORE.A11yUi||null===STORE.A11yUi||"object"!=typeof STORE.A11yUi.Themes||null===STORE.A11yUi.Themes||"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]||(STORE.A11yUi.Themes[e]={}),"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&(n&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t]+=o:STORE.A11yUi.Themes[e][t]=o)},patchTheme=(e,t,o=!1)=>(validateThemeName(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((n=>{const r=t[n];"string"==typeof r&&r.length>0&&patchThemeTag(e,n,r,o)})),e),getThemeNode=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return getThemeNode(t)}}return null},getEncroachCss=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},isTheCurrentThemeConfigValid=()=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme&&"boolean"==typeof STORE.A11yUi.Theme.cache&&"object"==typeof STORE.A11yUi.Theme.encroachCss&&null!==typeof STORE.A11yUi.Theme.encroachCss&&"string"==typeof STORE.A11yUi.Theme.encroachCss.mode&&"string"==typeof STORE.A11yUi.Theme.name,isTheCurrentThemeNotDefault=()=>0==("object"==typeof STORE.A11yUi&&null!==STORE.A11yUi)||0==("object"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme)||"default"!==STORE.A11yUi.Theme.name,getThemeDetails=e=>{if(isTheCurrentThemeConfigValid())return STORE.A11yUi.Theme;{const t={cache:!0,encroachCss:getEncroachCss(),loglevel:"silent",name:null},o=getThemeNode(e);return o instanceof HTMLElement&&(t.cache="false"!==o.dataset.themeCache,t.encroachCss=getEncroachCss(o.dataset),t.loglevel="debug"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:"silent",t.name=o.dataset.theme||null),t}},getThemeOptionDefaults=(e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",name:"string"==typeof t.name?t.name:e}),setConfigureTheme=(e,t)=>{!1===isTheCurrentThemeConfigValid()&&isTheCurrentThemeNotDefault()&&"object"==typeof t&&null!==t&&("fixed"===(t=getThemeOptionDefaults(e,t)).detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&("object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),STORE.A11yUi.Theme=t,loglevel.info(`[Theming] Theme "${e}" was set as default theme.`))):loglevel.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode."))};let registered=!1;const register=(e,t,o={})=>{!1===registered&&(registered=!0,lockThemePatching=!1),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?setConfigureTheme(e(patchTheme),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,name:o.theme?.name}):loglevel.error("[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.")})),lockThemePatching=!0,"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const n=[];return t.forEach((e=>n.push(e()))),Promise.all(n)},STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t)}CSS_PROPERTIES_REGISTERED.add(e)},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t)}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t)})),e.adoptedStyleSheets=o}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild)}))}},encroachStyles=(e,t,o)=>{if(!1!==o){const n=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch(e){r=[]}"before"===o?.mode?(n.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(n.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))))}},setThemeStyleAfterHydrated=(e,t,o)=>{const n=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch(t){r=e}if(CSS_STYLE_CACHE.get(n)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(n)?.get(e.tagName),o);else{const i=getCssStyle(n,"PROPERTIES"),l=getCssStyle(n,"GLOBAL"),a=getCssStyle(n,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(n)&&extractProperties(n,l);const s=[i,l,a];encroachStyles(r,s,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,s),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(n)&&CSS_STYLE_CACHE.set(n,new Map),CSS_STYLE_CACHE.get(n)?.set(e.tagName,s)),switchStyle(e,r,s,o)}},switchStyle=(e,t,o,n)=>{removeStyle(t),patchStyle(t,o),e.style.display=n},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size})},pushToDoTask=(e,t)=>{STYLING_TASK_QUEUE.set(e,{styleDisplay:e.style.display?`${e.style.display}`:null,themeDetails:t})},loggedPushToDoTask=(e,t)=>{pushToDoTask(e,t),logHydratedHistory(t)},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e)},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t)},waitForHydrated=e=>{const t=setTimeout((()=>{if(clearTimeout(t),STYLING_TASK_QUEUE.has(e)&&e.classList.contains("hydrated")){const{styleDisplay:t,themeDetails:o}=STYLING_TASK_QUEUE.get(e);setThemeStyleAfterHydrated(e,o,t),loggedDeleteDoneTask(e,o)}else waitForHydrated(e)}),25)},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o)}},observerOptions={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1};let observer;try{observer=new MutationObserver(observerCallback)}catch(e){observer=null}const setThemeStyle=(e,t)=>{loggedPushToDoTask(e,t),observer?observer.observe(e,observerOptions):waitForHydrated(e),e.style.display="none"};class ModalService{constructor(){this.lockedElements=new Map,this.modalStack=new Map}lockElement(e){const t=e.getAttribute("tabindex");(e instanceof HTMLAnchorElement||e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||"string"==typeof t||void 0!==e.dataset.kolModal)&&("string"==typeof t?this.lockedElements.set(e,{tabIndex:t}):this.lockedElements.set(e,{}),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),e.style.userSelect="none")}unlockElement(e,t){"string"==typeof e.tabIndex?t.setAttribute("tabindex",e.tabIndex):t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden"),t.style.userSelect="unset",this.lockedElements.delete(t)}unlockLockedElements(e){e.forEach(this.unlockElement.bind(this))}lockFocus(e,t){try{if(e!==t&&(e instanceof HTMLElement||e instanceof ShadowRoot)){e instanceof HTMLElement&&(this.lockElement(e),this.lockFocus(e.shadowRoot,t));for(let o=0;o<e.children.length;o++)this.lockFocus(e.children[o],t)}}catch(e){}}renderModalIfExists(e){if(e instanceof HTMLElement){this.lockedElements.has(e)&&this.unlockElement(this.lockedElements.get(e),e);const t=setTimeout((()=>{clearTimeout(t),e.focus()}),500)}if(this.unlockLockedElements(this.lockedElements),this.modalStack.size>0){const e=Array.from(this.modalStack.keys()),t=e[e.length-1];this.modalStack.forEach(((e,o)=>{o.style.display=t===o?"inline":"none"})),getDocument().body.style.maxHeight="100vh",getDocument().body.style.overflow="hidden",this.lockFocus(getDocument().body,t)}else getDocument().body.style.maxHeight="unset",getDocument().body.style.overflow="unset"}openModal(e,t){e instanceof HTMLElement==!1?Log.warn("[KolModalService] Die DOM-Referenz des Modals ist nicht valide."):(this.modalStack.set(e,{activeElement:t}),this.renderModalIfExists())}closeModal(e){var t;if(e instanceof HTMLElement==!1)Log.warn("[KolModalService] Die DOM-Referenz des Modals ist nicht valide.");else{const o=null===(t=this.modalStack.get(e))||void 0===t?void 0:t.activeElement;this.modalStack.delete(e),this.renderModalIfExists(o)}}}const isObject=e=>"object"==typeof e&&null!==e,isString=(e,t=0)=>"string"==typeof e&&e.length>=t,isStyle=e=>{if("object"!=typeof e||null===e)return isString(e,1);for(const t in e)if(!1===isString(t,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange"),propagateFocus=(e,t)=>{isObject(e)&&e&&(e.focus=e=>null==t?void 0:t.focus(e))};let processEnv="development";try{processEnv="production"}catch(e){processEnv="production"}const handleSlotContent=(e,t,o)=>{if(e&&t&&"string"==typeof o){const n=e.querySelector(`[slot="${o}"]`);n&&t.appendChild(n)}},showExpertSlot=e=>""===e;let WINDOW=null,DOCUMENT=null;const configKoliBri=e=>{e instanceof Window?(WINDOW=e,WINDOW.document instanceof Document?DOCUMENT=e.document:console.warn("The given Window has no valid Document.")):console.warn("The given Window is not valid.")},getWindow=()=>WINDOW||"undefined"==typeof window?null:window,getDocument=()=>DOCUMENT||void 0===getWindow().document?null:getWindow().document;let META_CONFIG=null,DEV_MODE=null,EXPERIMENTAL_MODE=null,COLOR_CONTRAST_ANALYSIS=null;const getDevMode=()=>!0===DEV_MODE,getExperimentalMode=()=>!0===EXPERIMENTAL_MODE,getColorContrastAnalysis=()=>!0===COLOR_CONTRAST_ANALYSIS;class Log{static mapToArray(e){return Array.isArray(e)?e:[e]}static handleClassifier(e){return"string"==typeof e&&e.length>0?`${Log.shield.label} | ${e}`:Log.shield.label}static getShield(e){return[Log.handleClassifier(null==e?void 0:e.classifier),`${Log.shield.style};${(null==e?void 0:e.overwriteStyle)||""}`]}static debug(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.debug(...Log.getShield(t),...Log.mapToArray(e))}static info(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.info(...Log.getShield(t),...Log.mapToArray(e))}static trace(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.trace(...Log.getShield(t),...Log.mapToArray(e))}static warn(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.warn(...Log.getShield(t),...Log.mapToArray(e))}static error(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.error(...Log.getShield(t),...Log.mapToArray(e))}static throw(e,t){if(DEV_MODE||!0===(null==t?void 0:t.forceLog))throw new Error(...Log.getShield(t),...Log.mapToArray(e))}}Log.shield={label:"%cKoliBri",style:"color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000"};const initMeta=()=>{if(null===DEV_MODE&&null===EXPERIMENTAL_MODE&&null===COLOR_CONTRAST_ANALYSIS){const e=getDocument().querySelector('meta[name="kolibri"]');e&&e.hasAttribute("content")&&(META_CONFIG=e.getAttribute("content"),"string"==typeof META_CONFIG&&(DEV_MODE=META_CONFIG.includes("dev-mode=true"),EXPERIMENTAL_MODE=META_CONFIG.includes("experimental-mode=true"),COLOR_CONTRAST_ANALYSIS=META_CONFIG.includes("color-contrast-analysis=true")))}else console.warn("You can only initialize DEV_MODE and COLOR_CONTRAST_ANALYSIS once.")};let KoliBri=null;const getKoliBri=()=>KoliBri||{},initKoliBri=()=>{if(null===KoliBri){KoliBri=getWindow().KoliBri||{};const e=new ModalService;Object.defineProperty(KoliBri,"Modal",{get:function(){return e}}),initMeta(),Log.debug("\n\t,--. ,--. ,--. ,--. ,-----. ,--.\n\t| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n\t| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n\t| |\\ \\ | '-' | | | | | | '--' / | | | |\n\t`--' `--´ `---´ `--' `--' `------´ `--' `--'\n\t🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 2.0.0\n\t\t",{forceLog:!0})}else console.warn("You can only initialize KoliBri once.")},renderDevAdvice=()=>{void 0===getWindow().KoliBri&&Object.defineProperty(window,"KoliBri",{get:function(){return KoliBri}}),!0!==getKoliBri().adviceShown&&(Object.defineProperty(KoliBri,"adviceShown",{get:function(){return!0}}),Log.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 nonce=()=>Math.floor(16777215*Math.random()).toString(16);"test"===processEnv&&(nonce=()=>"nonce");const a11yCache=new Set,a11yHint=(e,t)=>{(!1===a11yCache.has(e)||(null==t?void 0:t.force))&&(a11yCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"✋ a11y",overwriteStyle:"; background-color: #09f"}))},devCache=new Set,devHint=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},devWarning=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.warn([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},featureCache=new Set,featureHint=(e,t=!1,o)=>{(!1===featureCache.has(e)||(null==o?void 0:o.force))&&(featureCache.add(e),e+=!0===t?" ✅":"",Log.debug([e].concat((null==o?void 0:o.details)||[]),{classifier:"🌟 feature",overwriteStyle:"; background-color: #309"}))};devHint("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const uiUxCache=new Set,uiUxHint=(e,t)=>{(!1===uiUxCache.has(e)||(null==t?void 0:t.force))&&(uiUxCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"📑 ui/ux",overwriteStyle:"; background-color: #060;"}))},a11yHintDisabled=()=>{a11yHint('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},a11yHintLabelingLandmarks=e=>{"string"==typeof e&&""!==e||a11yHint("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},uiUxHintMillerscheZahl=(e,t=8)=>{t>7&&uiUxHint(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)},pushNodes=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},querySelectorAll=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;pushNodes(o,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;pushNodes(o,querySelectorAll(e,"object"==typeof r&&null!==r?r:n[t]))}return Array.from(o)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},querySelector=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let o=t.querySelector(e);if(null===o){const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;if(o=querySelector(e,"object"==typeof r&&null!==r?r:n[t]),null!==o)break}}return o}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var rgbaConvert=arr,arr_1=arr,obj_1=obj,css_1=css,hex_1=hex,num_1=num;function arr(e){var t=parse(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function obj(e){var t=parse(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function css(e){var t=parse(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function hex(e){3==(t=parse(e)).length&&t.push(255);var t,o=255==t[3],n=num2hex(t[0]),r=num2hex(t[1]),i=num2hex(t[2]),l=isshort(n,r,i,t=num2hex(Math.round(t[3])));return o?l?"#"+n.charAt(0)+r.charAt(0)+i.charAt(0):"#"+n+r+i:l?"#"+n.charAt(0)+r.charAt(0)+i.charAt(0)+t.charAt(0):"#"+n+r+i+t}function num(e){var t=parse(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function parse(e){return"string"==typeof e?name(e=e.toLowerCase())||hex3(e)||hex6(e)||rgb(e)||rgba(e)||[0,0,0,255]:object(e)||array(e)||number(e)||[0,0,0,255]}function num2hex(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function isshort(e,t,o,n){var r=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=r.indexOf(e)&&-1!=r.indexOf(t)&&-1!=r.indexOf(o)&&-1!=r.indexOf(n)}function name(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function hex2num(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function hex3(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var n=hex2num(t[0]),r=hex2num(t[1]),i=hex2num(t[2]),l=3==o?255:hex2num(t[3]);if(isNaN(n)||isNaN(r)||isNaN(i)||isNaN(l))return;return[n,r,i,l]}}function hex6(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var n=hex2num(t.slice(0,2)),r=hex2num(t.slice(2,4)),i=hex2num(t.slice(4,6)),l=6==o?255:hex2num(t.slice(6,8));if(isNaN(n)||isNaN(r)||isNaN(i)||isNaN(l))return;return[n,r,i,l]}}function getnum(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function object(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=getnum(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=getnum(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=getnum(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=getnum(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function array(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=getnum(e[0],!0),o=getnum(e[1],!0),n=getnum(e[2],!0),r=getnum(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function number(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function rgb(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0);if(-1!=o&&-1!=n&&-1!=r)return[o,n,r,255]}}function rgba(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0),i=getnum(255*t[3]);if(-1!=o&&-1!=n&&-1!=r&&-1!=i)return[o,n,r,i]}}rgbaConvert.arr=arr_1,rgbaConvert.obj=obj_1,rgbaConvert.css=css_1,rgbaConvert.hex=hex_1,rgbaConvert.num=num_1;var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(e){return Math.pow((e+.055)/1.055,2.4)}function a(o){var i=o[0]/255,l=o[1]/255,a=o[2]/255,s=i<=.03928?i*e:u(i),c=l<=.03928?l*e:u(l),d=a<=.03928?a*e:u(a);return s*n+c*r+d*t}function i(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var o=parseInt(e,16);return[o>>16,o>>8&255,255&o,t]}function c(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function o(e,t){return c(a(e),a(t))}function s(e,t){return o(i(e),i(t))}function f(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const OBJECT_OBJECT=/\[object Object\]/,objectObjectHandler=(e,t)=>{"string"==typeof e&&OBJECT_OBJECT.test(e)||t()},emptyStringByArrayHandler=(e,t)=>{"string"==typeof e&&""===e||t()},setEventTarget=(e,t)=>{getExperimentalMode()&&(Log.debug([e,t]),Log.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},patchState=e=>{var t,o,n;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,o)=>{var n;const r=t.get("beforePatch");"function"==typeof r&&r(null===(n=e.nextState)||void 0===n?void 0:n.get(o),e.nextState,e,o)})),(null===(o=e.nextState)||void 0===o?void 0:o.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(n=e.nextHooks)||void 0===n||n.forEach(((t,o)=>{const n=t.get("afterPatch");"function"==typeof n&&n(e.state[o],e.state,e,o)}))),delete e.nextHooks},setState=(e,t,o,n={})=>{var r,i;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==o){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof n.afterPatch&&(null===(r=e.nextHooks.get(t))||void 0===r||r.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(i=e.nextHooks.get(t))||void 0===i||i.set("beforePatch",n.beforePatch)),e.nextState.set(t,o),patchState(e)}},logWarn=(e,t,o,n)=>{devHint(`[${e.constructor.name}] Der Property-Wert (${o}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(n).join(", ")}`)};function watchValidator(e,t,o,n,r,i={}){o(r)?setState(e,t,r,i.hooks):null!=r||i.required?(i.required||n.add(null),logWarn(e,t,r,n)):setState(e,t,i.defaultValue,i.hooks)}const watchBoolean=(e,t,o,n)=>{watchValidator(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,n)},watchString=(e,t,o,n={})=>{const r="number"==typeof n.minLength?null==n?void 0:n.minLength:0;watchValidator(e,t,(e=>"string"==typeof e&&e.length>=r&&(void 0===(null==n?void 0:n.maxLength)||e.length<=n.maxLength)),new Set(["String"]),o,n)},watchNumber=(e,t,o,n)=>{watchValidator(e,t,(e=>"number"==typeof e&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&e>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&e<=n.max)),new Set(["Number"]),o,n)},watchJsonArrayString=(e,t,o,n,r=(e=>e==e),i={})=>{emptyStringByArrayHandler(n,(()=>{objectObjectHandler(n,(()=>{void 0===n&&(n=[]);try{try{n=parseJson(n)}catch(e){}if(Array.isArray(n)){const l=n.find((e=>!o(e)));void 0===l&&r(n)?setState(e,t,n,i.hooks):objectObjectHandler(l,(()=>{throw Log.debug(l),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else objectObjectHandler(n,(()=>{throw Log.debug(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){Log.debug(e)}}))}))},BOOLEAN=/^(true|false)$/,INTEGER=/^-?(0|[1-9]\d*)$/,FLOAT=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,mapString2Unknown=e=>{const t=typeof e,o=`${e}`;if("string"==typeof e)if(BOOLEAN.test(e))e="true"===e;else if(INTEGER.test(e))e=parseInt(e);else if(FLOAT.test(e))e=parseFloat(e);else if(JSON_CHARS.test(e))try{e=parseJson(e)}catch(e){}return t!==typeof e&&devHint(`You have used a stringified property value (${o} to ${JSON.stringify(e)}) which type switched from ${t} to ${typeof e}!`),e},stringifyJson=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw Log.warn(["stringifyJson",e]),Log.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},JSON_CHARS=/^[{[]/,parseJson=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(JSON_CHARS.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){Log.warn(["parseJson",e]),Log.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}throw new Error},mapBoolean2String=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,mapStringOrBoolean2String=e=>"string"==typeof e?e:mapBoolean2String(e),koliBriQuerySelector=(e,t)=>querySelector(e,t||getDocument()),koliBriQuerySelectorAll=(e,t)=>querySelectorAll(e,t||getDocument());let DEFAULT_COLOR_CONTRAST=null;const getDefaultColorContrast=()=>(DEFAULT_COLOR_CONTRAST=DEFAULT_COLOR_CONTRAST||{backgroundColor:"#00000000",color:"#00000000",domNode:getDocument().body,level:"Fail",score:1},DEFAULT_COLOR_CONTRAST),TRANSPARENT_REGEXP=/(\d+, ){3}0\)/,koliBriA11yColorContrast=(e,t=getDefaultColorContrast())=>{const o=getComputedStyle(e),n=TRANSPARENT_REGEXP.test(o.backgroundColor)?t.backgroundColor:rgbaConvert.hex(o.backgroundColor),r=TRANSPARENT_REGEXP.test(o.color)?t.color:rgbaConvert.hex(o.color),i=s(n,r),l={backgroundColor:n,color:r,domNode:e,level:f(i),score:i};return i<4.5&&Log.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},koliBriQuerySelectorColors=(e,t=getDefaultColorContrast())=>{t.domNode instanceof HTMLElement&&(t=koliBriA11yColorContrast(t.domNode,t));const o=t.domNode.querySelector(e);if(null===o){const o=t.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<o.length&&(t.domNode=o[n],null===(t=koliBriQuerySelectorColors(e,t)).domNode);n++);return t}return koliBriA11yColorContrast(o,t)};class KoliBriUtils{static queryHtmlElementColors(e,t,o=!1,n=!0){let r=null;if(!0===o||!1===KoliBriUtils.executionLock)if(!1===o&&(KoliBriUtils.cache.clear(),KoliBriUtils.cache.set(t.domNode,t),KoliBriUtils.executionLock=!0,!0===n&&Log.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)r=t;else{const o=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)o.add(e[t])}const n=t.domNode;if("function"==typeof n.assignedNodes){const e=n.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&o.add(e[t])}const i=t.domNode.children;for(let e=0;e<i.length;e++)o.add(i[e]);const l=Array.from(o);for(let o=0;o<l.length;o++){let n=KoliBriUtils.cache.get(l[o]);void 0===n&&(n=koliBriA11yColorContrast(l[o],t)),KoliBriUtils.cache.set(l[o],n);const i=KoliBriUtils.queryHtmlElementColors(e,n,!0,!1);if(null!==i){r=i;break}}}else Log.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&Log.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`),KoliBriUtils.executionLock=!1,KoliBriUtils.cache.clear()),r}}KoliBriUtils.executionLock=!1,KoliBriUtils.cache=new Map;class KoliBriDevHelper{}KoliBriDevHelper.patchTheme=patchTheme,KoliBriDevHelper.patchThemeTag=patchThemeTag,KoliBriDevHelper.querySelector=koliBriQuerySelector,KoliBriDevHelper.querySelectorAll=koliBriQuerySelectorAll,KoliBriDevHelper.stringifyJson=stringifyJson;export{stringifyJson as $,mapBoolean2String as A,mapStringOrBoolean2String as B,a11yHintDisabled as C,watchNumber as D,rgbaConvert as E,s as F,a11yHintLabelingLandmarks as G,watchJsonArrayString as H,uiUxHintMillerscheZahl as I,handleSlotContent as J,KoliBriDevHelper as K,Log as L,mapString2Unknown as M,STATE_CHANGE_EVENT as N,getKoliBri as O,emptyStringByArrayHandler as P,koliBriQuerySelector as Q,initKoliBri as R,STORE as S,getDevMode as T,renderDevAdvice as U,getColorContrastAnalysis as V,KoliBriUtils as W,koliBriA11yColorContrast as X,KoliBri as Y,koliBriQuerySelectorAll as Z,koliBriQuerySelectorColors as _,a11yHint as a,watchString as b,configKoliBri as c,devHint as d,watchBoolean as e,parseJson as f,getThemeDetails as g,isStyle as h,isString as i,isObject as j,createCommonjsModule as k,showExpertSlot as l,getDocument as m,nonce as n,objectObjectHandler as o,processEnv as p,featureHint as q,register as r,setThemeStyle as s,propagateFocus as t,uiUxHint as u,setState as v,watchValidator as w,setEventTarget as x,getExperimentalMode as y,devWarning as z};
4
+ var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return commonjsRequire()}},o.exports),o.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var loglevel=createCommonjsModule((function(e){var t,o;t=commonjsGlobal,o=function(){var e=function(){},t="undefined",o=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function r(e,t){var o=e[t];if("function"==typeof o.bind)return o.bind(e);try{return Function.prototype.bind.call(o,e)}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(t,o){for(var r=0;r<n.length;r++){var i=n[r];this[i]=r<t?e:this.methodFactory(i,t,o)}this.log=this.debug}function a(e,o,n){return function(){typeof console!==t&&(l.call(this,o,n),this[e].apply(this,arguments))}}function s(n,l,s){return function(n){return"debug"===n&&(n="log"),typeof console!==t&&("trace"===n&&o?i:void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}(n)||a.apply(this,arguments)}function c(e,o,r){var i,a=this;o=null==o?"WARN":o;var c="loglevel";function u(){var e;if(typeof window!==t&&c){try{e=window.localStorage[c]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,n=o.indexOf(encodeURIComponent(c)+"=");-1!==n&&(e=/^([^;]+)/.exec(o.slice(n))[1])}catch(e){}return void 0===a.levels[e]&&(e=void 0),e}}"string"==typeof e?c+=":"+e:"symbol"==typeof e&&(c=void 0),a.name=e,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=r||s,a.getLevel=function(){return i},a.setLevel=function(o,r){if("string"==typeof o&&void 0!==a.levels[o.toUpperCase()]&&(o=a.levels[o.toUpperCase()]),!("number"==typeof o&&o>=0&&o<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+o;if(i=o,!1!==r&&function(e){var o=(n[e]||"silent").toUpperCase();if(typeof window!==t&&c){try{return void(window.localStorage[c]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"="+o+";"}catch(e){}}}(o),l.call(a,o,e),typeof console===t&&o<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(e){o=e,u()||a.setLevel(e,!1)},a.resetLevel=function(){a.setLevel(o,!1),function(){if(typeof window!==t&&c){try{return void window.localStorage.removeItem(c)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}()},a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)},a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};var d=u();null==d&&(d=o),a.setLevel(d,!1)}var u=new c,d={};u.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=d[e];return t||(t=d[e]=new c(e,u.getLevel(),u.methodFactory)),t};var h=typeof window!==t?window.log:void 0;return u.noConflict=function(){return typeof window!==t&&window.log===u&&(window.log=h),u},u.getLoggers=function(){return d},u.default=u,u},e.exports?e.exports=o():t.log=o()}));const o$1="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};let p=!0,T=!1;const D=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,I=e=>"string"==typeof e&&D.test(e),g=e=>{if(!1===I(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},A=(e,t,o,n)=>{(n=n??{}).append=n.append??!1,g(e),!0===p&&!1===T&&(T=!0,loglevel.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n\timport { register } from 'adopted-style-sheets';\n\timport { defineCustomElements } from '...';\n\timport { THEME } from '...';\n\n\tregister(THEME, defineCustomElements)\n\t.then(() => {\n\t\t// run your app or website\n\t})\n\t.catch(console.warn);`)),("object"!=typeof o$1.A11yUi||null===o$1.A11yUi)&&(o$1.A11yUi={}),"object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&("object"!=typeof o$1.A11yUi.Themes||null===o$1.A11yUi.Themes)&&(o$1.A11yUi.Themes={}),"object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&"object"==typeof o$1.A11yUi.Themes&&null!==o$1.A11yUi.Themes&&("object"!=typeof o$1.A11yUi.Themes[e]||null===o$1.A11yUi.Themes[e])&&(o$1.A11yUi.Themes[e]={}),"object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&"object"==typeof o$1.A11yUi.Themes&&null!==o$1.A11yUi.Themes&&"object"==typeof o$1.A11yUi.Themes[e]&&null!==o$1.A11yUi.Themes[e]&&(n.append&&"string"==typeof o$1.A11yUi.Themes[e][t]?o$1.A11yUi.Themes[e][t]+=o:o$1.A11yUi.Themes[e][t]=o)},b=(e,t,o)=>(g(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((n=>{const r=t[n];"string"==typeof r&&r.length>0&&A(e,n,r,o)})),e),U=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return U(t)}}return null},E=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},w=()=>"object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&"object"==typeof o$1.A11yUi.Theme&&null!==o$1.A11yUi.Theme&&"boolean"==typeof o$1.A11yUi.Theme.cache&&"object"==typeof o$1.A11yUi.Theme.encroachCss&&null!==o$1.A11yUi.Theme.encroachCss&&"string"==typeof o$1.A11yUi.Theme.encroachCss.mode&&"string"==typeof o$1.A11yUi.Theme.name,z=()=>!("object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&"object"==typeof o$1.A11yUi.Theme&&null!==o$1.A11yUi.Theme&&"default"===o$1.A11yUi.Theme.name),S=e=>{if(w())return o$1.A11yUi.Theme;{const t={cache:!0,encroachCss:E(),loglevel:"silent",name:null},o=U(e);return o instanceof HTMLElement&&(t.cache="false"!==o.dataset.themeCache,t.encroachCss=E(o.dataset),t.loglevel="debug"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:"silent",t.name=o.dataset.theme||null),t}},Y=(e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",name:"string"==typeof t.name?t.name:e}),k=(e,t)=>{!1===w()&&z()&&"object"==typeof t&&null!==t&&("fixed"===(t=Y(e,t)).detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(("object"!=typeof o$1.A11yUi||null===o$1.A11yUi)&&(o$1.A11yUi={}),o$1.A11yUi.Theme=t,loglevel.info(`[Theming] Theme "${e}" was set as default theme.`))):loglevel.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode."))};let j=!1;const _=(e,t,o={})=>{!1===j&&(j=!0,p=!1),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?k(e(b),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,name:o.theme?.name}):loglevel.error("[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.")})),p=!0,"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const n=[];return t.forEach((e=>{const t=e();t instanceof Promise&&n.push(t)})),Promise.all(n)},c$1=new Map,C=[],v=new Set,h=new Map,B=/--[^;]+/g,G=/:/;("object"!=typeof o$1.A11yUi||null===o$1.A11yUi)&&(o$1.A11yUi={CSS_STYLE_CACHE:h,HYDRATED_HISTORY:C,STYLING_TASK_QUEUE:c$1});const K=(e,t)=>{let o=t.match(B);if(Array.isArray(o)){o=o.filter((e=>G.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t)}v.add(e)},d=(e,t)=>"object"==typeof o$1.A11yUi&&null!==o$1.A11yUi&&"object"==typeof o$1.A11yUi.Themes&&null!==o$1.A11yUi.Themes&&"object"==typeof o$1.A11yUi.Themes[e]&&null!==o$1.A11yUi.Themes[e]&&"string"==typeof o$1.A11yUi.Themes[e][t]?o$1.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",q=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t)}},F=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t)})),e.adoptedStyleSheets=o}catch{t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild)}))}},Q=(e,t,o)=>{if(!1!==o){const n=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch{r=[]}"before"===o?.mode?(n.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(n.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))))}},L=(e,t,o)=>{const n=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch{r=e}if(h.get(n)?.has(e.tagName))M(e,r,h.get(n)?.get(e.tagName),o);else{const i=d(n,"PROPERTIES"),l=d(n,"GLOBAL"),a=d(n,e.tagName);!1===v.has(n)&&K(n,l);const s=[i,l,a];Q(r,s,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,s),!0===t.cache&&(!1===h.has(n)&&h.set(n,new Map),h.get(n)?.set(e.tagName,s)),M(e,r,s,o)}},M=(e,t,o,n)=>{q(t),F(t,o),e.style.display=n},$=e=>{"debug"===e.loglevel&&C.push({timestamp:Date.now(),numberOfTasks:c$1.size})},J=(e,t)=>{c$1.set(e,{styleDisplay:e.style.display?`${e.style.display}`:null,themeDetails:t})},V=(e,t)=>{J(e,t),$(t)},W=e=>{c$1.delete(e)},O=(e,t)=>{W(e),$(t)},R=e=>{const t=setTimeout((()=>{if(clearTimeout(t),c$1.has(e)&&e.classList.contains("hydrated")){const{styleDisplay:t,themeDetails:o}=c$1.get(e);L(e,o,t),O(e,o)}else R(e)}),25)},X=e=>{for(const t of e)if(c$1.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=c$1.get(t.target);L(t.target,o,e),O(t.target,o)}},Z={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1};let f$1;try{f$1=new MutationObserver(X)}catch{f$1=null}const ee=(e,t)=>{V(e,t),f$1?f$1.observe(e,Z):R(e),e.style.display="none"};class ModalService{constructor(){this.lockedElements=new Map,this.modalStack=new Map}lockElement(e){const t=e.getAttribute("tabindex");(e instanceof HTMLAnchorElement||e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||"string"==typeof t||void 0!==e.dataset.kolModal)&&("string"==typeof t?this.lockedElements.set(e,{tabIndex:t}):this.lockedElements.set(e,{}),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),e.style.userSelect="none")}unlockElement(e,t){"string"==typeof e.tabIndex?t.setAttribute("tabindex",e.tabIndex):t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden"),t.style.userSelect="unset",this.lockedElements.delete(t)}unlockLockedElements(e){e.forEach(this.unlockElement.bind(this))}lockFocus(e,t){try{if(e!==t&&(e instanceof HTMLElement||e instanceof ShadowRoot)){e instanceof HTMLElement&&(this.lockElement(e),this.lockFocus(e.shadowRoot,t));for(let o=0;o<e.children.length;o++)this.lockFocus(e.children[o],t)}}catch(e){}}renderModalIfExists(e){if(e instanceof HTMLElement){this.lockedElements.has(e)&&this.unlockElement(this.lockedElements.get(e),e);const t=setTimeout((()=>{clearTimeout(t),e.focus()}),500)}if(this.unlockLockedElements(this.lockedElements),this.modalStack.size>0){const e=Array.from(this.modalStack.keys()),t=e[e.length-1];this.modalStack.forEach(((e,o)=>{o.style.display=t===o?"inline":"none"})),getDocument().body.style.maxHeight="100vh",getDocument().body.style.overflow="hidden",this.lockFocus(getDocument().body,t)}else getDocument().body.style.maxHeight="unset",getDocument().body.style.overflow="unset"}openModal(e,t){e instanceof HTMLElement==!1?Log.warn("[KolModalService] Die DOM-Referenz des Modals ist nicht valide."):(this.modalStack.set(e,{activeElement:t}),this.renderModalIfExists())}closeModal(e){var t;if(e instanceof HTMLElement==!1)Log.warn("[KolModalService] Die DOM-Referenz des Modals ist nicht valide.");else{const o=null===(t=this.modalStack.get(e))||void 0===t?void 0:t.activeElement;this.modalStack.delete(e),this.renderModalIfExists(o)}}}const isObject=e=>"object"==typeof e&&null!==e,isString=(e,t=0)=>"string"==typeof e&&e.length>=t,isStyle=e=>{if("object"!=typeof e||null===e)return isString(e,1);for(const t in e)if(!1===isString(t,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange"),propagateFocus=(e,t)=>{isObject(e)&&e&&(e.focus=e=>null==t?void 0:t.focus(e))};let processEnv="development";try{processEnv="production"}catch(e){processEnv="production"}const handleSlotContent=(e,t,o)=>{if(e&&t&&"string"==typeof o){const n=e.querySelector(`[slot="${o}"]`);n&&t.appendChild(n)}},showExpertSlot=e=>""===e;let WINDOW=null,DOCUMENT=null;const configKoliBri=e=>{e instanceof Window?(WINDOW=e,WINDOW.document instanceof Document?DOCUMENT=e.document:console.warn("The given Window has no valid Document.")):console.warn("The given Window is not valid.")},getWindow=()=>WINDOW||"undefined"==typeof window?null:window,getDocument=()=>DOCUMENT||void 0===getWindow().document?null:getWindow().document;let META_CONFIG=null,DEV_MODE=null,EXPERIMENTAL_MODE=null,COLOR_CONTRAST_ANALYSIS=null;const getDevMode=()=>!0===DEV_MODE,getExperimentalMode=()=>!0===EXPERIMENTAL_MODE,getColorContrastAnalysis=()=>!0===COLOR_CONTRAST_ANALYSIS;class Log{static mapToArray(e){return Array.isArray(e)?e:[e]}static handleClassifier(e){return"string"==typeof e&&e.length>0?`${Log.shield.label} | ${e}`:Log.shield.label}static getShield(e){return[Log.handleClassifier(null==e?void 0:e.classifier),`${Log.shield.style};${(null==e?void 0:e.overwriteStyle)||""}`]}static debug(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.debug(...Log.getShield(t),...Log.mapToArray(e))}static info(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.info(...Log.getShield(t),...Log.mapToArray(e))}static trace(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.trace(...Log.getShield(t),...Log.mapToArray(e))}static warn(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.warn(...Log.getShield(t),...Log.mapToArray(e))}static error(e,t){(DEV_MODE||!0===(null==t?void 0:t.forceLog))&&console.error(...Log.getShield(t),...Log.mapToArray(e))}static throw(e,t){if(DEV_MODE||!0===(null==t?void 0:t.forceLog))throw new Error(...Log.getShield(t),...Log.mapToArray(e))}}Log.shield={label:"%cKoliBri",style:"color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000"};const initMeta=()=>{if(null===DEV_MODE&&null===EXPERIMENTAL_MODE&&null===COLOR_CONTRAST_ANALYSIS){const e=getDocument().querySelector('meta[name="kolibri"]');e&&e.hasAttribute("content")&&(META_CONFIG=e.getAttribute("content"),"string"==typeof META_CONFIG&&(DEV_MODE=META_CONFIG.includes("dev-mode=true"),EXPERIMENTAL_MODE=META_CONFIG.includes("experimental-mode=true"),COLOR_CONTRAST_ANALYSIS=META_CONFIG.includes("color-contrast-analysis=true")))}else console.warn("You can only initialize DEV_MODE and COLOR_CONTRAST_ANALYSIS once.")},KoliBri={};Object.defineProperty(window,"KoliBri",{get:function(){return KoliBri}});const initKoliBri=()=>{if(void 0===KoliBri.Modal){const e=new ModalService;Object.defineProperty(KoliBri,"Modal",{get:function(){return e}}),initMeta(),Log.debug("\n\t,--. ,--. ,--. ,--. ,-----. ,--.\n\t| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n\t| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n\t| |\\ \\ | '-' | | | | | | '--' / | | | |\n\t`--' `--´ `---´ `--' `--' `------´ `--' `--'\n\t🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 2.0.1\n\t\t",{forceLog:!0})}else console.warn("You can only initialize KoliBri once.")},renderDevAdvice=()=>{void 0===getWindow().KoliBri&&Object.defineProperty(window,"KoliBri",{get:function(){return KoliBri}}),!0!==KoliBri.adviceShown&&(Object.defineProperty(KoliBri,"adviceShown",{get:function(){return!0}}),Log.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 nonce=()=>Math.floor(16777215*Math.random()).toString(16);"test"===processEnv&&(nonce=()=>"nonce");const a11yCache=new Set,a11yHint=(e,t)=>{(!1===a11yCache.has(e)||(null==t?void 0:t.force))&&(a11yCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"✋ a11y",overwriteStyle:"; background-color: #09f"}))},devCache=new Set,devHint=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},devWarning=(e,t)=>{(!1===devCache.has(e)||(null==t?void 0:t.force))&&(devCache.add(e),Log.warn([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",overwriteStyle:"; background-color: #f09"}))},featureCache=new Set,featureHint=(e,t=!1,o)=>{(!1===featureCache.has(e)||(null==o?void 0:o.force))&&(featureCache.add(e),e+=!0===t?" ✅":"",Log.debug([e].concat((null==o?void 0:o.details)||[]),{classifier:"🌟 feature",overwriteStyle:"; background-color: #309"}))};devHint("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const uiUxCache=new Set,uiUxHint=(e,t)=>{(!1===uiUxCache.has(e)||(null==t?void 0:t.force))&&(uiUxCache.add(e),Log.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"📑 ui/ux",overwriteStyle:"; background-color: #060;"}))},a11yHintDisabled=()=>{a11yHint('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},a11yHintLabelingLandmarks=e=>{"string"==typeof e&&""!==e||a11yHint("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},uiUxHintMillerscheZahl=(e,t=8)=>{t>7&&uiUxHint(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)},pushNodes=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},querySelectorAll=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;pushNodes(o,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;pushNodes(o,querySelectorAll(e,"object"==typeof r&&null!==r?r:n[t]))}return Array.from(o)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},querySelector=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let o=t.querySelector(e);if(null===o){const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;if(o=querySelector(e,"object"==typeof r&&null!==r?r:n[t]),null!==o)break}}return o}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var rgbaConvert=arr,arr_1=arr,obj_1=obj,css_1=css,hex_1=hex,num_1=num;function arr(e){var t=parse(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function obj(e){var t=parse(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}}function css(e){var t=parse(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function hex(e){3==(t=parse(e)).length&&t.push(255);var t,o=255==t[3],n=num2hex(t[0]),r=num2hex(t[1]),i=num2hex(t[2]),l=isshort(n,r,i,t=num2hex(Math.round(t[3])));return o?l?"#"+n.charAt(0)+r.charAt(0)+i.charAt(0):"#"+n+r+i:l?"#"+n.charAt(0)+r.charAt(0)+i.charAt(0)+t.charAt(0):"#"+n+r+i+t}function num(e){var t=parse(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function parse(e){return"string"==typeof e?name(e=e.toLowerCase())||hex3(e)||hex6(e)||rgb(e)||rgba(e)||[0,0,0,255]:object(e)||array(e)||number(e)||[0,0,0,255]}function num2hex(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function isshort(e,t,o,n){var r=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=r.indexOf(e)&&-1!=r.indexOf(t)&&-1!=r.indexOf(o)&&-1!=r.indexOf(n)}function name(e){return"red"==e?[255,0,0]:"green"==e?[0,255,0]:"blue"==e?[0,0,255]:"black"==e?[0,0,0]:"white"==e?[255,255,255]:"cyan"==e?[0,255,255]:"gray"==e||"grey"==e?[128,128,128]:"magenta"==e||"pink"==e?[255,0,255]:"yellow"==e?[255,255,0]:void 0}function hex2num(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function hex3(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var n=hex2num(t[0]),r=hex2num(t[1]),i=hex2num(t[2]),l=3==o?255:hex2num(t[3]);if(isNaN(n)||isNaN(r)||isNaN(i)||isNaN(l))return;return[n,r,i,l]}}function hex6(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var n=hex2num(t.slice(0,2)),r=hex2num(t.slice(2,4)),i=hex2num(t.slice(4,6)),l=6==o?255:hex2num(t.slice(6,8));if(isNaN(n)||isNaN(r)||isNaN(i)||isNaN(l))return;return[n,r,i,l]}}function getnum(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function object(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=getnum(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=getnum(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=getnum(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=getnum(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function array(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=getnum(e[0],!0),o=getnum(e[1],!0),n=getnum(e[2],!0),r=getnum(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}function number(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}function rgb(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0);if(-1!=o&&-1!=n&&-1!=r)return[o,n,r,255]}}function rgba(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=getnum(t[0],!0),n=getnum(t[1],!0),r=getnum(t[2],!0),i=getnum(255*t[3]);if(-1!=o&&-1!=n&&-1!=r&&-1!=i)return[o,n,r,i]}}rgbaConvert.arr=arr_1,rgbaConvert.obj=obj_1,rgbaConvert.css=css_1,rgbaConvert.hex=hex_1,rgbaConvert.num=num_1;var n=.2126,r=.7152,t=.0722,e=1/12.92;function u(e){return Math.pow((e+.055)/1.055,2.4)}function a(o){var i=o[0]/255,l=o[1]/255,a=o[2]/255,s=i<=.03928?i*e:u(i),c=l<=.03928?l*e:u(l),d=a<=.03928?a*e:u(a);return s*n+c*r+d*t}function i(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var o=parseInt(e,16);return[o>>16,o>>8&255,255&o,t]}function c(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function o(e,t){return c(a(e),a(t))}function s(e,t){return o(i(e),i(t))}function f(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}const OBJECT_OBJECT=/\[object Object\]/,objectObjectHandler=(e,t)=>{"string"==typeof e&&OBJECT_OBJECT.test(e)||t()},emptyStringByArrayHandler=(e,t)=>{"string"==typeof e&&""===e||t()},setEventTarget=(e,t)=>{getExperimentalMode()&&(Log.debug([e,t]),Log.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},patchState=e=>{var t,o,n;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,o)=>{var n;const r=t.get("beforePatch");"function"==typeof r&&r(null===(n=e.nextState)||void 0===n?void 0:n.get(o),e.nextState,e,o)})),(null===(o=e.nextState)||void 0===o?void 0:o.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(n=e.nextHooks)||void 0===n||n.forEach(((t,o)=>{const n=t.get("afterPatch");"function"==typeof n&&n(e.state[o],e.state,e,o)}))),delete e.nextHooks},setState=(e,t,o,n={})=>{var r,i;if(void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==o){e.nextHooks.get(t)instanceof Map==!1&&e.nextHooks.set(t,new Map),"function"==typeof n.afterPatch&&(null===(r=e.nextHooks.get(t))||void 0===r||r.set("afterPatch",n.afterPatch)),"function"==typeof n.beforePatch&&(null===(i=e.nextHooks.get(t))||void 0===i||i.set("beforePatch",n.beforePatch)),e.nextState.set(t,o),patchState(e)}},logWarn=(e,t,o,n)=>{devHint(`[${e.constructor.name}] Der Property-Wert (${o}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(n).join(", ")}`)};function watchValidator(e,t,o,n,r,i={}){o(r)?setState(e,t,r,i.hooks):null!=r||i.required?(i.required||n.add(null),logWarn(e,t,r,n)):setState(e,t,i.defaultValue,i.hooks)}const watchBoolean=(e,t,o,n)=>{watchValidator(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,n)},watchString=(e,t,o,n={})=>{const r="number"==typeof n.minLength?null==n?void 0:n.minLength:0;watchValidator(e,t,(e=>"string"==typeof e&&e.length>=r&&(void 0===(null==n?void 0:n.maxLength)||e.length<=n.maxLength)),new Set(["String"]),o,n)},watchNumber=(e,t,o,n)=>{watchValidator(e,t,(e=>"number"==typeof e&&(void 0===(null==n?void 0:n.min)||"number"==typeof(null==n?void 0:n.min)&&e>=n.min)&&(void 0===(null==n?void 0:n.max)||"number"==typeof(null==n?void 0:n.max)&&e<=n.max)),new Set(["Number"]),o,n)},watchJsonArrayString=(e,t,o,n,r=(e=>e==e),i={})=>{emptyStringByArrayHandler(n,(()=>{objectObjectHandler(n,(()=>{void 0===n&&(n=[]);try{try{n=parseJson(n)}catch(e){}if(Array.isArray(n)){const l=n.find((e=>!o(e)));void 0===l&&r(n)?setState(e,t,n,i.hooks):objectObjectHandler(l,(()=>{throw Log.debug(l),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else objectObjectHandler(n,(()=>{throw Log.debug(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){Log.debug(e)}}))}))},BOOLEAN=/^(true|false)$/,INTEGER=/^-?(0|[1-9]\d*)$/,FLOAT=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,mapString2Unknown=e=>{const t=typeof e,o=`${e}`;if("string"==typeof e)if(BOOLEAN.test(e))e="true"===e;else if(INTEGER.test(e))e=parseInt(e);else if(FLOAT.test(e))e=parseFloat(e);else if(JSON_CHARS.test(e))try{e=parseJson(e)}catch(e){}return t!==typeof e&&devHint(`You have used a stringified property value (${o} to ${JSON.stringify(e)}) which type switched from ${t} to ${typeof e}!`),e},stringifyJson=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw Log.warn(["stringifyJson",e]),Log.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},JSON_CHARS=/^[{[]/,parseJson=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(JSON_CHARS.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){Log.warn(["parseJson",e]),Log.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}throw new Error},mapBoolean2String=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,mapStringOrBoolean2String=e=>"string"==typeof e?e:mapBoolean2String(e),koliBriQuerySelector=(e,t)=>querySelector(e,t||getDocument()),koliBriQuerySelectorAll=(e,t)=>querySelectorAll(e,t||getDocument());let DEFAULT_COLOR_CONTRAST=null;const getDefaultColorContrast=()=>(DEFAULT_COLOR_CONTRAST=DEFAULT_COLOR_CONTRAST||{backgroundColor:"#00000000",color:"#00000000",domNode:getDocument().body,level:"Fail",score:1},DEFAULT_COLOR_CONTRAST),TRANSPARENT_REGEXP=/(\d+, ){3}0\)/,koliBriA11yColorContrast=(e,t=getDefaultColorContrast())=>{const o=getComputedStyle(e),n=TRANSPARENT_REGEXP.test(o.backgroundColor)?t.backgroundColor:rgbaConvert.hex(o.backgroundColor),r=TRANSPARENT_REGEXP.test(o.color)?t.color:rgbaConvert.hex(o.color),i=s(n,r),l={backgroundColor:n,color:r,domNode:e,level:f(i),score:i};return i<4.5&&Log.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},koliBriQuerySelectorColors=(e,t=getDefaultColorContrast())=>{t.domNode instanceof HTMLElement&&(t=koliBriA11yColorContrast(t.domNode,t));const o=t.domNode.querySelector(e);if(null===o){const o=t.domNode.querySelectorAll('[class="hydrated"]');for(let n=0;n<o.length&&(t.domNode=o[n],null===(t=koliBriQuerySelectorColors(e,t)).domNode);n++);return t}return koliBriA11yColorContrast(o,t)};class KoliBriUtils{static queryHtmlElementColors(e,t,o=!1,n=!0){let r=null;if(!0===o||!1===KoliBriUtils.executionLock)if(!1===o&&(KoliBriUtils.cache.clear(),KoliBriUtils.cache.set(t.domNode,t),KoliBriUtils.executionLock=!0,!0===n&&Log.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)r=t;else{const o=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)o.add(e[t])}const n=t.domNode;if("function"==typeof n.assignedNodes){const e=n.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&o.add(e[t])}const i=t.domNode.children;for(let e=0;e<i.length;e++)o.add(i[e]);const l=Array.from(o);for(let o=0;o<l.length;o++){let n=KoliBriUtils.cache.get(l[o]);void 0===n&&(n=koliBriA11yColorContrast(l[o],t)),KoliBriUtils.cache.set(l[o],n);const i=KoliBriUtils.queryHtmlElementColors(e,n,!0,!1);if(null!==i){r=i;break}}}else Log.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&Log.debug(`[KoliBriUtils] Color contrast analysis finished (${KoliBriUtils.cache.size} DOM elements are analysed).`),KoliBriUtils.executionLock=!1,KoliBriUtils.cache.clear()),r}}KoliBriUtils.executionLock=!1,KoliBriUtils.cache=new Map;class KoliBriDevHelper{}KoliBriDevHelper.patchTheme=b,KoliBriDevHelper.patchThemeTag=A,KoliBriDevHelper.querySelector=koliBriQuerySelector,KoliBriDevHelper.querySelectorAll=koliBriQuerySelectorAll,KoliBriDevHelper.stringifyJson=stringifyJson;export{mapStringOrBoolean2String as A,a11yHintDisabled as B,watchNumber as C,rgbaConvert as D,s as E,a11yHintLabelingLandmarks as F,watchJsonArrayString as G,uiUxHintMillerscheZahl as H,handleSlotContent as I,mapString2Unknown as J,KoliBriDevHelper as K,Log as L,STATE_CHANGE_EVENT as M,emptyStringByArrayHandler as N,koliBriQuerySelector as O,initKoliBri as P,getDevMode as Q,renderDevAdvice as R,S,getColorContrastAnalysis as T,KoliBriUtils as U,koliBriA11yColorContrast as V,koliBriQuerySelectorAll as W,koliBriQuerySelectorColors as X,stringifyJson as Y,_,KoliBri as a,a11yHint as b,configKoliBri as c,devHint as d,ee as e,watchString as f,watchBoolean as g,parseJson as h,isString as i,isStyle as j,isObject as k,createCommonjsModule as l,getDocument as m,nonce as n,objectObjectHandler as o,processEnv as p,featureHint as q,propagateFocus as r,showExpertSlot as s,setState as t,uiUxHint as u,setEventTarget as v,watchValidator as w,getExperimentalMode as x,devWarning as y,mapBoolean2String as z};