@public-ui/components 1.1.11-rc.2 → 1.1.11-rc.4

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 (273) hide show
  1. package/custom-elements.json +19 -13
  2. package/dist/cjs/{app-globals-6e05ba86.js → app-globals-fcbae472.js} +1 -1
  3. package/dist/cjs/{button-link-a7bfc254.js → button-link-a24c38b6.js} +1 -1
  4. package/dist/cjs/{controller-58df7e65.js → controller-1dd601ef.js} +1 -1
  5. package/dist/cjs/{controller-3b68cee3.js → controller-3fd0fec3.js} +1 -1
  6. package/dist/cjs/{controller-59bb5443.js → controller-8bd02c44.js} +1 -1
  7. package/dist/cjs/{controller-8416b39d.js → controller-9538707c.js} +1 -1
  8. package/dist/cjs/{controller-73726e4f.js → controller-b9521d6f.js} +1 -1
  9. package/dist/cjs/{controller-530e7698.js → controller-e19ffc02.js} +1 -1
  10. package/dist/cjs/{devtools-63761608.js → devtools-3e7cd094.js} +1 -1
  11. package/dist/cjs/{icon-158213cb.js → icon-5d44ff69.js} +1 -1
  12. package/dist/cjs/index-07448828.js +4 -0
  13. package/dist/cjs/{index-33446c36.js → index-e6ae017d.js} +1 -1
  14. package/dist/cjs/index.cjs.js +1 -1
  15. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  16. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  17. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  19. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  20. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  21. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  22. package/dist/cjs/kol-button-wc_3.cjs.entry.js +1 -1
  23. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  24. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  25. package/dist/cjs/kol-color.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-counter.cjs.entry.js +1 -1
  27. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  28. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  30. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
  31. package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  35. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  68. package/dist/cjs/kolibri.cjs.js +1 -1
  69. package/dist/cjs/{label-5a6c471b.js → label-67aac40e.js} +1 -1
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/cjs/{prop.validators-e6996125.js → prop.validators-743a74b9.js} +1 -1
  72. package/dist/cjs/{tab-index-66b118c0.js → tab-index-2f583ace.js} +1 -1
  73. package/dist/cjs/{validation-641f4c30.js → validation-8c349304.js} +1 -1
  74. package/dist/cjs/{validation-6d7b9aa0.js → validation-dc181808.js} +1 -1
  75. package/dist/components/component.js +1 -1
  76. package/dist/components/component10.js +1 -1
  77. package/dist/components/component11.js +1 -1
  78. package/dist/components/component12.js +1 -1
  79. package/dist/components/component13.js +1 -1
  80. package/dist/components/component14.js +1 -1
  81. package/dist/components/component15.js +1 -1
  82. package/dist/components/component2.js +1 -1
  83. package/dist/components/component4.js +1 -1
  84. package/dist/components/component9.js +1 -1
  85. package/dist/components/controller4.js +1 -1
  86. package/dist/components/kol-accordion.js +1 -1
  87. package/dist/components/kol-button-link.js +1 -1
  88. package/dist/components/kol-card.js +1 -1
  89. package/dist/components/kol-details.js +1 -1
  90. package/dist/components/kol-input-checkbox.js +1 -1
  91. package/dist/components/kol-input-color.js +1 -1
  92. package/dist/components/kol-input-date.js +1 -1
  93. package/dist/components/kol-input-email.js +1 -1
  94. package/dist/components/kol-input-file.js +1 -1
  95. package/dist/components/kol-input-password.js +1 -1
  96. package/dist/components/kol-input-radio-group.js +1 -1
  97. package/dist/components/kol-input-range.js +1 -1
  98. package/dist/components/kol-input-text.js +1 -1
  99. package/dist/components/kol-kolibri.js +1 -1
  100. package/dist/components/kol-link-button.js +1 -1
  101. package/dist/components/kol-link-group.js +1 -1
  102. package/dist/components/kol-modal.js +1 -1
  103. package/dist/components/kol-nav.js +1 -1
  104. package/dist/components/kol-span.js +1 -1
  105. package/dist/components/kol-spin.js +1 -1
  106. package/dist/components/kol-table.js +1 -1
  107. package/dist/components/kol-textarea.js +1 -1
  108. package/dist/components/kol-toast.js +1 -1
  109. package/dist/components/prop.validators.js +1 -1
  110. package/dist/components/shadow.js +1 -1
  111. package/dist/components/shadow2.js +1 -1
  112. package/dist/custom-elements/index.js +1 -1
  113. package/dist/esm/{app-globals-daf921ad.js → app-globals-5b2f0ced.js} +1 -1
  114. package/dist/esm/{button-link-ef5135dc.js → button-link-fc772c87.js} +1 -1
  115. package/dist/esm/{controller-9cbb0153.js → controller-21762644.js} +1 -1
  116. package/dist/esm/{controller-e0c08aa1.js → controller-391de345.js} +1 -1
  117. package/dist/esm/{controller-2d55595b.js → controller-7a1f6859.js} +1 -1
  118. package/dist/esm/{controller-2c05cdae.js → controller-8e65fa9e.js} +1 -1
  119. package/dist/esm/{controller-62976bd8.js → controller-b7e433e2.js} +1 -1
  120. package/dist/esm/{controller-a7535a35.js → controller-fcb20ac8.js} +1 -1
  121. package/dist/esm/{devtools-d3feb71e.js → devtools-6749c812.js} +1 -1
  122. package/dist/esm/{icon-0bfea48a.js → icon-0f70ef67.js} +1 -1
  123. package/dist/esm/index-09eee154.js +4 -0
  124. package/dist/esm/{index-d338436e.js → index-bc1a7f22.js} +1 -1
  125. package/dist/esm/index.js +1 -1
  126. package/dist/esm/kol-abbr.entry.js +1 -1
  127. package/dist/esm/kol-accordion.entry.js +1 -1
  128. package/dist/esm/kol-alert.entry.js +1 -1
  129. package/dist/esm/kol-badge.entry.js +1 -1
  130. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  131. package/dist/esm/kol-button-group.entry.js +1 -1
  132. package/dist/esm/kol-button-link.entry.js +1 -1
  133. package/dist/esm/kol-button-wc_3.entry.js +1 -1
  134. package/dist/esm/kol-button.entry.js +1 -1
  135. package/dist/esm/kol-card.entry.js +1 -1
  136. package/dist/esm/kol-color.entry.js +1 -1
  137. package/dist/esm/kol-counter.entry.js +1 -1
  138. package/dist/esm/kol-details.entry.js +1 -1
  139. package/dist/esm/kol-form.entry.js +1 -1
  140. package/dist/esm/kol-heading.entry.js +1 -1
  141. package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
  142. package/dist/esm/kol-icon-icofont.entry.js +1 -1
  143. package/dist/esm/kol-icon.entry.js +1 -1
  144. package/dist/esm/kol-indented-text.entry.js +1 -1
  145. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  146. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  147. package/dist/esm/kol-input-color.entry.js +1 -1
  148. package/dist/esm/kol-input-date.entry.js +1 -1
  149. package/dist/esm/kol-input-email.entry.js +1 -1
  150. package/dist/esm/kol-input-file.entry.js +1 -1
  151. package/dist/esm/kol-input-number.entry.js +1 -1
  152. package/dist/esm/kol-input-password.entry.js +1 -1
  153. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  154. package/dist/esm/kol-input-radio.entry.js +1 -1
  155. package/dist/esm/kol-input-range.entry.js +1 -1
  156. package/dist/esm/kol-input-text.entry.js +1 -1
  157. package/dist/esm/kol-kolibri.entry.js +1 -1
  158. package/dist/esm/kol-link-button.entry.js +1 -1
  159. package/dist/esm/kol-link-group.entry.js +1 -1
  160. package/dist/esm/kol-link-wc.entry.js +1 -1
  161. package/dist/esm/kol-link.entry.js +1 -1
  162. package/dist/esm/kol-logo.entry.js +1 -1
  163. package/dist/esm/kol-modal.entry.js +1 -1
  164. package/dist/esm/kol-nav.entry.js +1 -1
  165. package/dist/esm/kol-pagination.entry.js +1 -1
  166. package/dist/esm/kol-progress.entry.js +1 -1
  167. package/dist/esm/kol-select.entry.js +1 -1
  168. package/dist/esm/kol-skip-nav.entry.js +1 -1
  169. package/dist/esm/kol-span-wc.entry.js +1 -1
  170. package/dist/esm/kol-span.entry.js +1 -1
  171. package/dist/esm/kol-spin.entry.js +1 -1
  172. package/dist/esm/kol-symbol.entry.js +1 -1
  173. package/dist/esm/kol-table.entry.js +1 -1
  174. package/dist/esm/kol-tabs.entry.js +1 -1
  175. package/dist/esm/kol-textarea.entry.js +1 -1
  176. package/dist/esm/kol-toast.entry.js +1 -1
  177. package/dist/esm/kol-tooltip.entry.js +1 -1
  178. package/dist/esm/kol-version.entry.js +1 -1
  179. package/dist/esm/kolibri.js +1 -1
  180. package/dist/esm/{label-919a73c8.js → label-d640a1cc.js} +1 -1
  181. package/dist/esm/loader.js +1 -1
  182. package/dist/esm/{prop.validators-0a1ccf64.js → prop.validators-52f20cba.js} +1 -1
  183. package/dist/esm/{tab-index-c61711b2.js → tab-index-0ac1b547.js} +1 -1
  184. package/dist/esm/{validation-4664ad06.js → validation-985202be.js} +1 -1
  185. package/dist/esm/{validation-6e5422b5.js → validation-e333ddb0.js} +1 -1
  186. package/dist/kolibri/{app-globals-daf921ad.js → app-globals-5b2f0ced.js} +1 -1
  187. package/dist/kolibri/{button-link-ef5135dc.js → button-link-fc772c87.js} +1 -1
  188. package/dist/kolibri/{controller-9cbb0153.js → controller-21762644.js} +1 -1
  189. package/dist/kolibri/{controller-e0c08aa1.js → controller-391de345.js} +1 -1
  190. package/dist/kolibri/{controller-2d55595b.js → controller-7a1f6859.js} +1 -1
  191. package/dist/kolibri/controller-8e65fa9e.js +4 -0
  192. package/dist/kolibri/{controller-62976bd8.js → controller-b7e433e2.js} +1 -1
  193. package/dist/kolibri/{controller-a7535a35.js → controller-fcb20ac8.js} +1 -1
  194. package/dist/kolibri/{devtools-d3feb71e.js → devtools-6749c812.js} +1 -1
  195. package/dist/kolibri/{icon-0bfea48a.js → icon-0f70ef67.js} +1 -1
  196. package/dist/kolibri/index-09eee154.js +4 -0
  197. package/dist/kolibri/{index-d338436e.js → index-bc1a7f22.js} +2 -2
  198. package/dist/kolibri/index.esm.js +1 -1
  199. package/dist/kolibri/kol-abbr.entry.js +1 -1
  200. package/dist/kolibri/kol-accordion.entry.js +1 -1
  201. package/dist/kolibri/kol-alert.entry.js +1 -1
  202. package/dist/kolibri/kol-badge.entry.js +1 -1
  203. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  204. package/dist/kolibri/kol-button-group.entry.js +1 -1
  205. package/dist/kolibri/kol-button-link.entry.js +1 -1
  206. package/dist/kolibri/kol-button-wc_3.entry.js +1 -1
  207. package/dist/kolibri/kol-button.entry.js +1 -1
  208. package/dist/kolibri/kol-card.entry.js +1 -1
  209. package/dist/kolibri/kol-color.entry.js +1 -1
  210. package/dist/kolibri/kol-counter.entry.js +1 -1
  211. package/dist/kolibri/kol-details.entry.js +1 -1
  212. package/dist/kolibri/kol-form.entry.js +1 -1
  213. package/dist/kolibri/kol-heading.entry.js +1 -1
  214. package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
  215. package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
  216. package/dist/kolibri/kol-icon.entry.js +1 -1
  217. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  218. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  219. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  220. package/dist/kolibri/kol-input-color.entry.js +1 -1
  221. package/dist/kolibri/kol-input-date.entry.js +1 -1
  222. package/dist/kolibri/kol-input-email.entry.js +1 -1
  223. package/dist/kolibri/kol-input-file.entry.js +1 -1
  224. package/dist/kolibri/kol-input-number.entry.js +1 -1
  225. package/dist/kolibri/kol-input-password.entry.js +1 -1
  226. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  227. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  228. package/dist/kolibri/kol-input-range.entry.js +1 -1
  229. package/dist/kolibri/kol-input-text.entry.js +1 -1
  230. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  231. package/dist/kolibri/kol-link-button.entry.js +1 -1
  232. package/dist/kolibri/kol-link-group.entry.js +1 -1
  233. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  234. package/dist/kolibri/kol-link.entry.js +1 -1
  235. package/dist/kolibri/kol-logo.entry.js +1 -1
  236. package/dist/kolibri/kol-modal.entry.js +1 -1
  237. package/dist/kolibri/kol-nav.entry.js +1 -1
  238. package/dist/kolibri/kol-pagination.entry.js +1 -1
  239. package/dist/kolibri/kol-progress.entry.js +1 -1
  240. package/dist/kolibri/kol-select.entry.js +1 -1
  241. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  242. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  243. package/dist/kolibri/kol-span.entry.js +1 -1
  244. package/dist/kolibri/kol-spin.entry.js +1 -1
  245. package/dist/kolibri/kol-symbol.entry.js +1 -1
  246. package/dist/kolibri/kol-table.entry.js +1 -1
  247. package/dist/kolibri/kol-tabs.entry.js +1 -1
  248. package/dist/kolibri/kol-textarea.entry.js +1 -1
  249. package/dist/kolibri/kol-toast.entry.js +1 -1
  250. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  251. package/dist/kolibri/kol-version.entry.js +1 -1
  252. package/dist/kolibri/kolibri.esm.js +1 -1
  253. package/dist/kolibri/{label-919a73c8.js → label-d640a1cc.js} +1 -1
  254. package/dist/kolibri/{prop.validators-0a1ccf64.js → prop.validators-52f20cba.js} +1 -1
  255. package/dist/kolibri/{tab-index-c61711b2.js → tab-index-0ac1b547.js} +1 -1
  256. package/dist/kolibri/{validation-4664ad06.js → validation-985202be.js} +1 -1
  257. package/dist/kolibri/{validation-6e5422b5.js → validation-e333ddb0.js} +1 -1
  258. package/dist/types/components/input-checkbox/component.d.ts +5 -3
  259. package/dist/types/components/input-checkbox/controller.d.ts +3 -2
  260. package/dist/types/components/input-checkbox/types.d.ts +4 -3
  261. package/dist/types/components/input-color/controller.d.ts +1 -1
  262. package/dist/types/components/input-file/controller.d.ts +1 -1
  263. package/dist/types/components/input-number/controller.d.ts +5 -4
  264. package/dist/types/components/input-password/controller.d.ts +1 -1
  265. package/dist/types/components/input-range/controller.d.ts +1 -1
  266. package/dist/types/components.d.ts +13 -3
  267. package/jest-test-results.json +1 -1
  268. package/package.json +1 -1
  269. package/vscode-custom-data.json +12 -0
  270. package/dist/cjs/index-009cdc55.js +0 -4
  271. package/dist/esm/index-315c6aa5.js +0 -4
  272. package/dist/kolibri/controller-2c05cdae.js +0 -4
  273. package/dist/kolibri/index-315c6aa5.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - the accessible web component library
3
3
  */
4
- import{e as a}from"./a11y.tipps-bb9add07.js";import{w as e}from"./prop.validators-0a1ccf64.js";const r=(e,r,i,s)=>{const t=r.has("_ariaLabel")?r.get("_ariaLabel"):i.state._ariaLabel;if("string"==typeof t&&t.length>0){const e=r.has("_label")?r.get("_label"):i.state._label;!1===new RegExp(`^${e}`).test(t)&&("_ariaLabel"===s?(r.set("_label",t),i._label=t):(r.set("_ariaLabel",e),i._ariaLabel=e),a("Das abweichende Aria-Label am Schalter ist nicht barrierefrei. Ein abweichendes Aria-Label muss aus Barrierefreiheitsgründen für die Sprachsteuerung mit dem Label-Text beginnen."))}},i=(a,i)=>{e(a,"_ariaLabel",i,{hooks:{beforePatch:r}})},s=(a,i)=>{e(a,"_label",i,{hooks:{beforePatch:r},required:!0})};export{s as a,i as v};
4
+ import{e as a}from"./a11y.tipps-bb9add07.js";import{w as e}from"./prop.validators-52f20cba.js";const r=(e,r,i,s)=>{const t=r.has("_ariaLabel")?r.get("_ariaLabel"):i.state._ariaLabel;if("string"==typeof t&&t.length>0){const e=r.has("_label")?r.get("_label"):i.state._label;!1===new RegExp(`^${e}`).test(t)&&("_ariaLabel"===s?(r.set("_label",t),i._label=t):(r.set("_ariaLabel",e),i._ariaLabel=e),a("Das abweichende Aria-Label am Schalter ist nicht barrierefrei. Ein abweichendes Aria-Label muss aus Barrierefreiheitsgründen für die Sprachsteuerung mit dem Label-Text beginnen."))}},i=(a,i)=>{e(a,"_ariaLabel",i,{hooks:{beforePatch:r}})},s=(a,i)=>{e(a,"_label",i,{hooks:{beforePatch:r},required:!0})};export{s as a,i as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - the accessible web component library
3
3
  */
4
- import{s as e,f as t}from"./index.m-df5ce03f.js";import{d as n}from"./a11y.tipps-bb9add07.js";import{g as r,a as o,L as a}from"./dev.utils-bbaf8793.js";import{p as i,a as l}from"./index-315c6aa5.js";const s=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},c=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;s(o,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;s(o,c(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.")},u=(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=u(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 f=d;function d(e){var t=m(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function m(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var n=h(t[0]),r=h(t[1]),a=h(t[2]),l=3==o?255:h(t[3]);if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(l))return;return[n,r,a,l]}}(e)||function(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var n=h(t.slice(0,2)),r=h(t.slice(2,4)),a=h(t.slice(4,6)),l=6==o?255:h(t.slice(6,8));if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(l))return;return[n,r,a,l]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=b(t[0],!0),n=b(t[1],!0),r=b(t[2],!0);if(-1!=o&&-1!=n&&-1!=r)return[o,n,r,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=b(t[0],!0),n=b(t[1],!0),r=b(t[2],!0),a=b(255*t[3]);if(-1!=o&&-1!=n&&-1!=r&&-1!=a)return[o,n,r,a]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=b(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=b(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=b(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=b(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]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=b(e[0],!0),o=b(e[1],!0),n=b(e[2],!0),r=b(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}(e)||function(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]}(e)||[0,0,0,255];var t}function v(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function h(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function b(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}f.arr=d,f.obj=function(e){var t=m(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}},f.css=function(e){var t=m(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)+")"},f.hex=function(e){3==(a=m(e)).length&&a.push(255);var t=255==a[3],o=v(a[0]),n=v(a[1]),r=v(a[2]),a=v(Math.round(a[3])),l=function(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)}(o,n,r,a);return t?l?"#"+o.charAt(0)+n.charAt(0)+r.charAt(0):"#"+o+n+r:l?"#"+o.charAt(0)+n.charAt(0)+r.charAt(0)+a.charAt(0):"#"+o+n+r+a},f.num=function(e){var t=m(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};const y=/\[object Object\]/,p=(e,t)=>{"string"==typeof e&&y.test(e)||t()},g=(e,t)=>{"string"==typeof e&&""===e||t()},w=(e,t)=>{Object.defineProperty(e,"target",{value:t,writable:!1})},S=(e,t,o,n={})=>{var r,a;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==0&&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===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",n.beforePatch)),e.nextState.set(t,o),(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})(e))},N=(e,t,o,r,a,l={})=>{o(a)?S(e,t,a,null==l?void 0:l.hooks):void 0===a||null===a&&(void 0===(null==l?void 0:l.required)||!1===(null==l?void 0:l.required))?S(e,t,null==l?void 0:l.defaultValue,null==l?void 0:l.hooks):(void 0!==(null==l?void 0:l.required)&&!1!==(null==l?void 0:l.required)||r.add(null),((e,t,o,r)=>{n(`[${e.constructor.name}] Der Property-Wert (${o}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(r).join(", ")}`)})(e,t,a,r))},M=(e,t,o,n)=>{N(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,n)},E=(e,t,o,n={})=>{const r="number"==typeof n.minLength?null==n?void 0:n.minLength:0;N(e,t,(e=>"string"==typeof e&&e.length>=r),new Set([`String (Mindestlänge ${r})`]),o,n)},j=(e,t,o,n)=>{N(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)},O=(e,t,o,r,a=(e=>e==e),l={})=>{g(r,(()=>{p(r,(()=>{void 0===r&&(r=[]);try{if("string"==typeof r&&(r=D(r)),Array.isArray(r)){const n=r.find((e=>!o(e)));void 0===n&&a(r)?S(e,t,r,l.hooks):p(n,(()=>{throw console.log(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else p(r,(()=>{throw new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){n("Known bug: Zeichenkettenliste (string[])")}}))}))},k=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(e){throw new Error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet.")}},D=e=>{try{return JSON.parse(e)}catch(t){try{return JSON.parse(e.replace(/'/g,'"'))}catch(e){throw new Error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}},T=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,H=e=>"string"==typeof e?e:T(e),L=(e,t)=>u(e,t||r()),C=(e,t)=>c(e,t||r());let P=null;const A=()=>(P=P||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},P),$=/(\d+, ){3}0\)/,J=(o,n=A())=>{const r=getComputedStyle(o),l=$.test(r.backgroundColor)?n.backgroundColor:f.hex(r.backgroundColor),s=$.test(r.color)?n.color:f.hex(r.color),i=e(l,s),c={backgroundColor:l,color:s,domNode:o,level:t(i),score:i};return i<4.5&&a.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},q=(e,t=A())=>{t.domNode instanceof HTMLElement&&(t=J(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=q(e,t)).domNode);n++);return t}return J(o,t)},x=(e,t=window)=>{e instanceof HTMLElement?(t.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+o().pageYOffset-50}),e.focus()):n("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},z=(e,t)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof t){n("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const o=`${t}`;t=e,e=o}if("string"==typeof e){const o=L(e,t);o instanceof HTMLElement?x(o):n(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else n("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class B{static queryHtmlElementColors(e,t,o=!1,n=!0){let r=null;if(!0===o||!1===B.executionLock)if(!1===o&&(B.cache.clear(),B.cache.set(t.domNode,t),B.executionLock=!0,!0===n&&a.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 a=t.domNode.children;for(let e=0;e<a.length;e++)o.add(a[e]);const l=Array.from(o);for(let o=0;o<l.length;o++){let n=B.cache.get(l[o]);void 0===n&&(n=J(l[o],t)),B.cache.set(l[o],n);const a=B.queryHtmlElementColors(e,n,!0,!1);if(null!==a){r=a;break}}}else a.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&a.debug(`[KoliBriUtils] Color contrast analysis finished (${B.cache.size} DOM elements are analysed).`),B.executionLock=!1,B.cache.clear()),r}}B.executionLock=!1,B.cache=new Map;class K{}K.patchTheme=i,K.patchThemeTag=l,K.querySelector=L,K.querySelectorAll=C,K.scrollByHTMLElement=x,K.scrollBySelector=z,K.stringifyJson=k;export{K,N as a,M as b,O as c,w as d,T as e,j as f,z as g,g as h,B as i,J as j,L as k,C as l,H as m,q as n,p as o,D as p,k as q,f as r,S as s,E as w};
4
+ import{s as e,f as t}from"./index.m-df5ce03f.js";import{d as n}from"./a11y.tipps-bb9add07.js";import{g as r,a as o,L as a}from"./dev.utils-bbaf8793.js";import{p as i,a as l}from"./index-09eee154.js";const s=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},c=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;s(o,t.querySelectorAll(e));const n=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<n.length;t++){const r=n[t].shadowRoot;s(o,c(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.")},u=(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=u(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 f=d;function d(e){var t=m(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function m(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var n=h(t[0]),r=h(t[1]),a=h(t[2]),l=3==o?255:h(t[3]);if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(l))return;return[n,r,a,l]}}(e)||function(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var n=h(t.slice(0,2)),r=h(t.slice(2,4)),a=h(t.slice(4,6)),l=6==o?255:h(t.slice(6,8));if(isNaN(n)||isNaN(r)||isNaN(a)||isNaN(l))return;return[n,r,a,l]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=b(t[0],!0),n=b(t[1],!0),r=b(t[2],!0);if(-1!=o&&-1!=n&&-1!=r)return[o,n,r,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=b(t[0],!0),n=b(t[1],!0),r=b(t[2],!0),a=b(255*t[3]);if(-1!=o&&-1!=n&&-1!=r&&-1!=a)return[o,n,r,a]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=b(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=b(null!=e.g?e.g:null!=e.green?e.green:0,!0),n=b(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=b(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]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=b(e[0],!0),o=b(e[1],!0),n=b(e[2],!0),r=b(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=n&&-1!=r)return[t,o,n,r]}}(e)||function(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]}(e)||[0,0,0,255];var t}function v(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function h(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function b(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}f.arr=d,f.obj=function(e){var t=m(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}},f.css=function(e){var t=m(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)+")"},f.hex=function(e){3==(a=m(e)).length&&a.push(255);var t=255==a[3],o=v(a[0]),n=v(a[1]),r=v(a[2]),a=v(Math.round(a[3])),l=function(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)}(o,n,r,a);return t?l?"#"+o.charAt(0)+n.charAt(0)+r.charAt(0):"#"+o+n+r:l?"#"+o.charAt(0)+n.charAt(0)+r.charAt(0)+a.charAt(0):"#"+o+n+r+a},f.num=function(e){var t=m(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};const y=/\[object Object\]/,p=(e,t)=>{"string"==typeof e&&y.test(e)||t()},g=(e,t)=>{"string"==typeof e&&""===e||t()},w=(e,t)=>{Object.defineProperty(e,"target",{value:t,writable:!1})},S=(e,t,o,n={})=>{var r,a;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==0&&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===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",n.beforePatch)),e.nextState.set(t,o),(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})(e))},N=(e,t,o,r,a,l={})=>{o(a)?S(e,t,a,null==l?void 0:l.hooks):void 0===a||null===a&&(void 0===(null==l?void 0:l.required)||!1===(null==l?void 0:l.required))?S(e,t,null==l?void 0:l.defaultValue,null==l?void 0:l.hooks):(void 0!==(null==l?void 0:l.required)&&!1!==(null==l?void 0:l.required)||r.add(null),((e,t,o,r)=>{n(`[${e.constructor.name}] Der Property-Wert (${o}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(r).join(", ")}`)})(e,t,a,r))},M=(e,t,o,n)=>{N(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,n)},E=(e,t,o,n={})=>{const r="number"==typeof n.minLength?null==n?void 0:n.minLength:0;N(e,t,(e=>"string"==typeof e&&e.length>=r),new Set([`String (Mindestlänge ${r})`]),o,n)},j=(e,t,o,n)=>{N(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)},O=(e,t,o,r,a=(e=>e==e),l={})=>{g(r,(()=>{p(r,(()=>{void 0===r&&(r=[]);try{if("string"==typeof r&&(r=D(r)),Array.isArray(r)){const n=r.find((e=>!o(e)));void 0===n&&a(r)?S(e,t,r,l.hooks):p(n,(()=>{throw console.log(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else p(r,(()=>{throw new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){n("Known bug: Zeichenkettenliste (string[])")}}))}))},k=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(e){throw new Error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet.")}},D=e=>{try{return JSON.parse(e)}catch(t){try{return JSON.parse(e.replace(/'/g,'"'))}catch(e){throw new Error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (&#8216;).")}}},T=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,H=e=>"string"==typeof e?e:T(e),L=(e,t)=>u(e,t||r()),C=(e,t)=>c(e,t||r());let P=null;const A=()=>(P=P||{backgroundColor:"#00000000",color:"#00000000",domNode:r().body,level:"Fail",score:1},P),$=/(\d+, ){3}0\)/,J=(o,n=A())=>{const r=getComputedStyle(o),l=$.test(r.backgroundColor)?n.backgroundColor:f.hex(r.backgroundColor),s=$.test(r.color)?n.color:f.hex(r.color),i=e(l,s),c={backgroundColor:l,color:s,domNode:o,level:t(i),score:i};return i<4.5&&a.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},q=(e,t=A())=>{t.domNode instanceof HTMLElement&&(t=J(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=q(e,t)).domNode);n++);return t}return J(o,t)},x=(e,t=window)=>{e instanceof HTMLElement?(t.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+o().pageYOffset-50}),e.focus()):n("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},z=(e,t)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof t){n("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const o=`${t}`;t=e,e=o}if("string"==typeof e){const o=L(e,t);o instanceof HTMLElement?x(o):n(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else n("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class B{static queryHtmlElementColors(e,t,o=!1,n=!0){let r=null;if(!0===o||!1===B.executionLock)if(!1===o&&(B.cache.clear(),B.cache.set(t.domNode,t),B.executionLock=!0,!0===n&&a.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 a=t.domNode.children;for(let e=0;e<a.length;e++)o.add(a[e]);const l=Array.from(o);for(let o=0;o<l.length;o++){let n=B.cache.get(l[o]);void 0===n&&(n=J(l[o],t)),B.cache.set(l[o],n);const a=B.queryHtmlElementColors(e,n,!0,!1);if(null!==a){r=a;break}}}else a.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&a.debug(`[KoliBriUtils] Color contrast analysis finished (${B.cache.size} DOM elements are analysed).`),B.executionLock=!1,B.cache.clear()),r}}B.executionLock=!1,B.cache=new Map;class K{}K.patchTheme=i,K.patchThemeTag=l,K.querySelector=L,K.querySelectorAll=C,K.scrollByHTMLElement=x,K.scrollBySelector=z,K.stringifyJson=k;export{K,N as a,M as b,O as c,w as d,T as e,j as f,z as g,g as h,B as i,J as j,L as k,C as l,H as m,q as n,p as o,D as p,k as q,f as r,S as s,E as w};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - the accessible web component library
3
3
  */
4
- import{e as a}from"./a11y.tipps-bb9add07.js";import{f as t}from"./prop.validators-0a1ccf64.js";const o={hooks:{afterPatch:t=>{-1!==t&&0!==t&&a("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},r=(a,r)=>{t(a,"_tabIndex",r,o)};export{r as v};
4
+ import{e as a}from"./a11y.tipps-bb9add07.js";import{f as t}from"./prop.validators-52f20cba.js";const o={hooks:{afterPatch:t=>{-1!==t&&0!==t&&a("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},r=(a,r)=>{t(a,"_tabIndex",r,o)};export{r as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - the accessible web component library
3
3
  */
4
- import{u as o}from"./a11y.tipps-bb9add07.js";import{c as s}from"./prop.validators-0a1ccf64.js";const t=(t,a,p)=>{s(a,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),p),o(t,a.state._links.length)};export{t as w};
4
+ import{u as o}from"./a11y.tipps-bb9add07.js";import{c as s}from"./prop.validators-52f20cba.js";const t=(t,a,p)=>{s(a,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),p),o(t,a.state._links.length)};export{t as w};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - the accessible web component library
3
3
  */
4
- import{a as e}from"./prop.validators-0a1ccf64.js";const r=(r,a)=>{e(r,"_level",(e=>"number"==typeof e&&1<=e&&e<=6),new Set(["Number {1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{r as w};
4
+ import{a as e}from"./prop.validators-52f20cba.js";const r=(r,a)=>{e(r,"_level",(e=>"number"==typeof e&&1<=e&&e<=6),new Set(["Number {1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{r as w};
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '../../stencil-public-runtime';
2
2
  import { InputTypeOnDefault } from '../../types/input/types';
3
- import { ComponentApi, InputCheckboxType, States } from './types';
3
+ import { ComponentApi, InputCheckboxVariant, States } from './types';
4
4
  export declare class KolInputCheckbox implements ComponentApi {
5
5
  render(): JSX.Element;
6
6
  private readonly controller;
@@ -18,8 +18,9 @@ export declare class KolInputCheckbox implements ComponentApi {
18
18
  _required?: boolean;
19
19
  _tabIndex?: number;
20
20
  _touched?: boolean;
21
- _type?: InputCheckboxType;
21
+ _type?: InputCheckboxVariant;
22
22
  _value?: string;
23
+ _variant?: InputCheckboxVariant;
23
24
  state: States;
24
25
  constructor();
25
26
  validateAccessKey(value?: string): void;
@@ -36,8 +37,9 @@ export declare class KolInputCheckbox implements ComponentApi {
36
37
  validateRequired(value?: boolean): void;
37
38
  validateTabIndex(value?: number): void;
38
39
  validateTouched(value?: boolean): void;
39
- validateType(value?: InputCheckboxType): void;
40
+ validateType(value?: InputCheckboxVariant): void;
40
41
  validateValue(value?: string): void;
42
+ validateVariant(value?: InputCheckboxVariant): void;
41
43
  componentWillLoad(): void;
42
44
  private onChange;
43
45
  }
@@ -1,12 +1,13 @@
1
1
  import { Generic } from '@public-ui/core';
2
2
  import { InputCheckboxRadioController } from '../input-radio/controller';
3
- import { InputCheckboxType, Props, Watches } from './types';
3
+ import { InputCheckboxVariant, Props, Watches } from './types';
4
4
  export declare class InputCheckboxController extends InputCheckboxRadioController implements Watches {
5
5
  protected readonly component: Generic.Element.Component & Props;
6
6
  constructor(component: Generic.Element.Component & Props, name: string);
7
7
  validateChecked(value?: boolean): void;
8
8
  validateIndeterminate(value?: boolean): void;
9
- validateType(value?: InputCheckboxType): void;
9
+ validateType(value?: InputCheckboxVariant): void;
10
+ validateVariant(value?: InputCheckboxVariant): void;
10
11
  validateValue(value?: string): void;
11
12
  componentWillLoad(): void;
12
13
  }
@@ -1,7 +1,7 @@
1
1
  import { Generic } from '@public-ui/core';
2
2
  import { InputTypeOnDefault } from '../../types/input/types';
3
3
  import { InputRequiredProps } from '../input-text/types';
4
- export declare type InputCheckboxType = 'checkbox' | 'switch';
4
+ export declare type InputCheckboxVariant = 'checkbox' | 'switch';
5
5
  declare type RequiredProps = InputRequiredProps;
6
6
  declare type OptionalProps = {
7
7
  alert: boolean;
@@ -17,15 +17,16 @@ declare type OptionalProps = {
17
17
  required: boolean;
18
18
  touched: boolean;
19
19
  tabIndex: number;
20
- type: InputCheckboxType;
20
+ type: InputCheckboxVariant;
21
21
  value: string;
22
+ variant: InputCheckboxVariant;
22
23
  };
23
24
  export declare type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
24
25
  declare type RequiredStates = {
25
26
  checked: boolean;
26
27
  id: string;
27
28
  name: string;
28
- type: InputCheckboxType;
29
+ variant: InputCheckboxVariant;
29
30
  };
30
31
  declare type OptionalStates = {
31
32
  alert: boolean;
@@ -8,6 +8,6 @@ export declare class InputColorController extends InputController implements Wat
8
8
  constructor(component: Generic.Element.Component & Props, name: string);
9
9
  validateAutoComplete(value?: InputTypeOnOff): void;
10
10
  validateList(value?: Stringified<string[]>): void;
11
- validateValue(value?: string | null): void;
11
+ validateValue(value?: string): void;
12
12
  componentWillLoad(): void;
13
13
  }
@@ -7,6 +7,6 @@ export declare class InputFileController extends InputController implements Watc
7
7
  validateAccept(value?: string): void;
8
8
  validateMultiple(value?: boolean): void;
9
9
  validateRequired(value?: boolean): void;
10
- validateValue(value?: string | null): void;
10
+ validateValue(value?: string): void;
11
11
  componentWillLoad(): void;
12
12
  }
@@ -11,14 +11,15 @@ export declare class InputNumberController extends InputController implements Wa
11
11
  constructor(component: Generic.Element.Component & Props, name: string);
12
12
  validateAutoComplete(value?: InputTypeOnOff): void;
13
13
  validateList(value?: Stringified<string[]>): void;
14
- private parseToString;
15
- validateMax(value?: number | Date | string): void;
16
- validateMin(value?: number | Date | string): void;
14
+ private readonly parseToString;
15
+ private readonly validateIso8601;
16
+ validateMax(value?: number | Iso8601): void;
17
+ validateMin(value?: number | Iso8601): void;
17
18
  validatePlaceholder(value?: string): void;
18
19
  validateReadOnly(value?: boolean): void;
19
20
  validateRequired(value?: boolean): void;
20
21
  validateStep(value?: number): void;
21
22
  validateType(value?: InputNumberType): void;
22
- validateValue(value?: number | Iso8601 | null): void;
23
+ validateValue(value?: number | Iso8601): void;
23
24
  componentWillLoad(): void;
24
25
  }
@@ -15,7 +15,7 @@ export declare class InputPasswordController extends InputController implements
15
15
  validateReadOnly(value?: boolean): void;
16
16
  validateRequired(value?: boolean): void;
17
17
  validateSize(value?: number): void;
18
- validateValue(value?: string | null): void;
18
+ validateValue(value?: string): void;
19
19
  componentWillLoad(): void;
20
20
  protected onBlur(event: Event): void;
21
21
  protected onFocus(event: Event): void;
@@ -11,6 +11,6 @@ export declare class InputRangeController extends InputController implements Wat
11
11
  validateMax(value?: number): void;
12
12
  validateMin(value?: number): void;
13
13
  validateStep(value?: number): void;
14
- validateValue(value?: number | null): void;
14
+ validateValue(value?: number): void;
15
15
  componentWillLoad(): void;
16
16
  }
@@ -19,7 +19,7 @@ import { FontAwesome, FontAwesomeOssPrefix } from "./enums/font-awesome";
19
19
  import { Icofont } from "./types/icofont";
20
20
  import { KoliBriInputIcon } from "./components/input-text/types";
21
21
  import { InputTypeOnDefault, InputTypeOnOff, Option, SelectOption } from "./types/input/types";
22
- import { InputCheckboxType } from "./components/input-checkbox/types";
22
+ import { InputCheckboxVariant } from "./components/input-checkbox/types";
23
23
  import { Iso8601 } from "./types/input/iso8601";
24
24
  import { InputDateType, InputNumberType } from "./types/input/control/number";
25
25
  import { Orientation } from "./types/orientation";
@@ -561,12 +561,17 @@ export namespace Components {
561
561
  "_touched"?: boolean;
562
562
  /**
563
563
  * Gibt an, welchen Type das Input haben soll.
564
+ * @deprecated Verwende stattdessen das Attribute _variant.
564
565
  */
565
- "_type"?: InputCheckboxType;
566
+ "_type"?: InputCheckboxVariant;
566
567
  /**
567
568
  * Gibt den Wert der Checkbox an.
568
569
  */
569
570
  "_value"?: string;
571
+ /**
572
+ * Gibt an, welchen Type das Input haben soll.
573
+ */
574
+ "_variant"?: InputCheckboxVariant;
570
575
  }
571
576
  interface KolInputColor {
572
577
  /**
@@ -3023,12 +3028,17 @@ declare namespace LocalJSX {
3023
3028
  "_touched"?: boolean;
3024
3029
  /**
3025
3030
  * Gibt an, welchen Type das Input haben soll.
3031
+ * @deprecated Verwende stattdessen das Attribute _variant.
3026
3032
  */
3027
- "_type"?: InputCheckboxType;
3033
+ "_type"?: InputCheckboxVariant;
3028
3034
  /**
3029
3035
  * Gibt den Wert der Checkbox an.
3030
3036
  */
3031
3037
  "_value"?: string;
3038
+ /**
3039
+ * Gibt an, welchen Type das Input haben soll.
3040
+ */
3041
+ "_variant"?: InputCheckboxVariant;
3032
3042
  }
3033
3043
  interface KolInputColor {
3034
3044
  /**