@public-ui/components 1.1.8 → 1.1.9-rc.2

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 (260) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{a11y.tipps-54ec8bae.js → a11y.tipps-c34c01ad.js} +1 -1
  3. package/dist/cjs/{app-globals-bc902400.js → app-globals-05d72ad5.js} +1 -1
  4. package/dist/cjs/{button-link-4380f157.js → button-link-6d439815.js} +1 -1
  5. package/dist/cjs/{controller-df507ca2.js → controller-1da63a1a.js} +1 -1
  6. package/dist/cjs/controller-788ab27c.js +4 -0
  7. package/dist/cjs/{controller-2e60fafc.js → controller-84b0dcc3.js} +1 -1
  8. package/dist/cjs/{controller-2a7b57a1.js → controller-9d5c41be.js} +1 -1
  9. package/dist/cjs/{controller-f4eac510.js → controller-9daf793a.js} +1 -1
  10. package/dist/cjs/{controller-7c2e68bd.js → controller-b797f4cb.js} +1 -1
  11. package/dist/cjs/dev.utils-d0a4bbec.js +4 -0
  12. package/dist/cjs/{devtools-b7556d66.js → devtools-ee09cf03.js} +1 -1
  13. package/dist/cjs/{icon-d3e06146.js → icon-432858f6.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-wc_3.cjs.entry.js +1 -1
  21. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  22. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  23. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  24. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  25. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  27. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  28. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  30. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  31. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  35. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  54. package/dist/cjs/kolibri.cjs.js +1 -1
  55. package/dist/cjs/loader.cjs.js +1 -1
  56. package/dist/cjs/{prop.validators-490c913d.js → prop.validators-3122c683.js} +1 -1
  57. package/dist/cjs/register-a7b0478c.js +4 -0
  58. package/dist/cjs/{validation-5005bdab.js → validation-0b5c65f3.js} +1 -1
  59. package/dist/cjs/{validation-846b8c03.js → validation-bd49dab0.js} +1 -1
  60. package/dist/components/prop.validators.js +1 -1
  61. package/dist/custom-elements/index.js +1 -1
  62. package/dist/esm/{a11y.tipps-14d41e3b.js → a11y.tipps-79d0562a.js} +1 -1
  63. package/dist/esm/{app-globals-6a53c357.js → app-globals-3725e0b1.js} +1 -1
  64. package/dist/esm/{button-link-6715264c.js → button-link-508668bf.js} +1 -1
  65. package/dist/esm/{controller-c59f4b61.js → controller-07ce2724.js} +1 -1
  66. package/dist/esm/{controller-e556da76.js → controller-21611d0a.js} +1 -1
  67. package/dist/esm/{controller-c9cc6084.js → controller-22a30342.js} +1 -1
  68. package/dist/esm/{controller-de29b073.js → controller-e0b55347.js} +1 -1
  69. package/dist/esm/{controller-bd2e73a0.js → controller-f4aa86b3.js} +1 -1
  70. package/dist/esm/{controller-111c85f2.js → controller-ffdfbee2.js} +1 -1
  71. package/dist/esm/dev.utils-bbaf8793.js +4 -0
  72. package/dist/esm/{devtools-21f99213.js → devtools-15677544.js} +1 -1
  73. package/dist/esm/{icon-1caba0f3.js → icon-18c331ca.js} +1 -1
  74. package/dist/esm/index.js +1 -1
  75. package/dist/esm/kol-abbr.entry.js +1 -1
  76. package/dist/esm/kol-accordion.entry.js +1 -1
  77. package/dist/esm/kol-alert.entry.js +1 -1
  78. package/dist/esm/kol-badge.entry.js +1 -1
  79. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  80. package/dist/esm/kol-button-wc_3.entry.js +1 -1
  81. package/dist/esm/kol-card.entry.js +1 -1
  82. package/dist/esm/kol-details.entry.js +1 -1
  83. package/dist/esm/kol-form.entry.js +1 -1
  84. package/dist/esm/kol-icon.entry.js +1 -1
  85. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  86. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  87. package/dist/esm/kol-input-color.entry.js +1 -1
  88. package/dist/esm/kol-input-email.entry.js +1 -1
  89. package/dist/esm/kol-input-file.entry.js +1 -1
  90. package/dist/esm/kol-input-number.entry.js +1 -1
  91. package/dist/esm/kol-input-password.entry.js +1 -1
  92. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  93. package/dist/esm/kol-input-radio.entry.js +1 -1
  94. package/dist/esm/kol-input-range.entry.js +1 -1
  95. package/dist/esm/kol-input-text.entry.js +1 -1
  96. package/dist/esm/kol-kolibri.entry.js +1 -1
  97. package/dist/esm/kol-link-group.entry.js +1 -1
  98. package/dist/esm/kol-link-wc.entry.js +1 -1
  99. package/dist/esm/kol-logo.entry.js +1 -1
  100. package/dist/esm/kol-modal.entry.js +1 -1
  101. package/dist/esm/kol-nav.entry.js +1 -1
  102. package/dist/esm/kol-pagination.entry.js +1 -1
  103. package/dist/esm/kol-progress.entry.js +1 -1
  104. package/dist/esm/kol-select.entry.js +1 -1
  105. package/dist/esm/kol-skip-nav.entry.js +1 -1
  106. package/dist/esm/kol-spin.entry.js +1 -1
  107. package/dist/esm/kol-symbol.entry.js +1 -1
  108. package/dist/esm/kol-table.entry.js +1 -1
  109. package/dist/esm/kol-tabs.entry.js +1 -1
  110. package/dist/esm/kol-textarea.entry.js +1 -1
  111. package/dist/esm/kol-toast.entry.js +1 -1
  112. package/dist/esm/kol-tooltip.entry.js +1 -1
  113. package/dist/esm/kol-version.entry.js +1 -1
  114. package/dist/esm/kolibri.js +1 -1
  115. package/dist/esm/loader.js +1 -1
  116. package/dist/esm/prop.validators-a25ae6eb.js +4 -0
  117. package/dist/esm/register-1f35463b.js +4 -0
  118. package/dist/esm/{validation-6a53b8ae.js → validation-354ec39a.js} +1 -1
  119. package/dist/esm/validation-fc3abe3b.js +4 -0
  120. package/dist/kolibri/{a11y.tipps-14d41e3b.js → a11y.tipps-79d0562a.js} +1 -1
  121. package/dist/kolibri/{app-globals-6a53c357.js → app-globals-3725e0b1.js} +1 -1
  122. package/dist/kolibri/button-link-508668bf.js +4 -0
  123. package/dist/kolibri/controller-07ce2724.js +4 -0
  124. package/dist/kolibri/{controller-e556da76.js → controller-21611d0a.js} +1 -1
  125. package/dist/kolibri/controller-22a30342.js +4 -0
  126. package/dist/kolibri/{controller-de29b073.js → controller-e0b55347.js} +1 -1
  127. package/dist/kolibri/{controller-bd2e73a0.js → controller-f4aa86b3.js} +1 -1
  128. package/{www/build/controller-111c85f2.js → dist/kolibri/controller-ffdfbee2.js} +1 -1
  129. package/dist/kolibri/dev.utils-bbaf8793.js +4 -0
  130. package/dist/kolibri/{devtools-21f99213.js → devtools-15677544.js} +1 -1
  131. package/dist/kolibri/{icon-1caba0f3.js → icon-18c331ca.js} +1 -1
  132. package/dist/kolibri/index.esm.js +1 -1
  133. package/dist/kolibri/kol-abbr.entry.js +1 -1
  134. package/dist/kolibri/kol-accordion.entry.js +1 -1
  135. package/dist/kolibri/kol-alert.entry.js +1 -1
  136. package/dist/kolibri/kol-badge.entry.js +1 -1
  137. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  138. package/dist/kolibri/kol-button-wc_3.entry.js +1 -1
  139. package/dist/kolibri/kol-card.entry.js +1 -1
  140. package/dist/kolibri/kol-details.entry.js +1 -1
  141. package/dist/kolibri/kol-form.entry.js +1 -1
  142. package/dist/kolibri/kol-icon.entry.js +1 -1
  143. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  144. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  145. package/dist/kolibri/kol-input-color.entry.js +1 -1
  146. package/dist/kolibri/kol-input-email.entry.js +1 -1
  147. package/dist/kolibri/kol-input-file.entry.js +1 -1
  148. package/dist/kolibri/kol-input-number.entry.js +1 -1
  149. package/dist/kolibri/kol-input-password.entry.js +1 -1
  150. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  151. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  152. package/dist/kolibri/kol-input-range.entry.js +1 -1
  153. package/dist/kolibri/kol-input-text.entry.js +1 -1
  154. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  155. package/dist/kolibri/kol-link-group.entry.js +1 -1
  156. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  157. package/dist/kolibri/kol-logo.entry.js +1 -1
  158. package/dist/kolibri/kol-modal.entry.js +1 -1
  159. package/dist/kolibri/kol-nav.entry.js +1 -1
  160. package/dist/kolibri/kol-pagination.entry.js +1 -1
  161. package/dist/kolibri/kol-progress.entry.js +1 -1
  162. package/dist/kolibri/kol-select.entry.js +1 -1
  163. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  164. package/dist/kolibri/kol-spin.entry.js +1 -1
  165. package/dist/kolibri/kol-symbol.entry.js +1 -1
  166. package/dist/kolibri/kol-table.entry.js +1 -1
  167. package/dist/kolibri/kol-tabs.entry.js +1 -1
  168. package/dist/kolibri/kol-textarea.entry.js +1 -1
  169. package/dist/kolibri/kol-toast.entry.js +1 -1
  170. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  171. package/dist/kolibri/kol-version.entry.js +1 -1
  172. package/dist/kolibri/kolibri.esm.js +1 -1
  173. package/dist/kolibri/prop.validators-a25ae6eb.js +4 -0
  174. package/dist/kolibri/register-1f35463b.js +4 -0
  175. package/dist/kolibri/validation-354ec39a.js +4 -0
  176. package/dist/kolibri/validation-fc3abe3b.js +4 -0
  177. package/dist/types/utils/prop.validators.d.ts +0 -7
  178. package/jest-test-results.json +1 -1
  179. package/package.json +1 -1
  180. package/www/build/{a11y.tipps-14d41e3b.js → a11y.tipps-79d0562a.js} +1 -1
  181. package/www/build/{app-globals-6a53c357.js → app-globals-3725e0b1.js} +1 -1
  182. package/www/build/button-link-508668bf.js +4 -0
  183. package/www/build/controller-07ce2724.js +4 -0
  184. package/www/build/{controller-e556da76.js → controller-21611d0a.js} +1 -1
  185. package/www/build/controller-22a30342.js +4 -0
  186. package/www/build/{controller-de29b073.js → controller-e0b55347.js} +1 -1
  187. package/www/build/{controller-bd2e73a0.js → controller-f4aa86b3.js} +1 -1
  188. package/{dist/kolibri/controller-111c85f2.js → www/build/controller-ffdfbee2.js} +1 -1
  189. package/www/build/dev.utils-bbaf8793.js +4 -0
  190. package/www/build/{devtools-21f99213.js → devtools-15677544.js} +1 -1
  191. package/www/build/{icon-1caba0f3.js → icon-18c331ca.js} +1 -1
  192. package/www/build/index.esm.js +1 -1
  193. package/www/build/kol-abbr.entry.js +1 -1
  194. package/www/build/kol-accordion.entry.js +1 -1
  195. package/www/build/kol-alert.entry.js +1 -1
  196. package/www/build/kol-badge.entry.js +1 -1
  197. package/www/build/kol-breadcrumb.entry.js +1 -1
  198. package/www/build/kol-button-wc_3.entry.js +1 -1
  199. package/www/build/kol-card.entry.js +1 -1
  200. package/www/build/kol-details.entry.js +1 -1
  201. package/www/build/kol-form.entry.js +1 -1
  202. package/www/build/kol-icon.entry.js +1 -1
  203. package/www/build/kol-input-adapter-leanup.entry.js +1 -1
  204. package/www/build/kol-input-checkbox.entry.js +1 -1
  205. package/www/build/kol-input-color.entry.js +1 -1
  206. package/www/build/kol-input-email.entry.js +1 -1
  207. package/www/build/kol-input-file.entry.js +1 -1
  208. package/www/build/kol-input-number.entry.js +1 -1
  209. package/www/build/kol-input-password.entry.js +1 -1
  210. package/www/build/kol-input-radio-group.entry.js +1 -1
  211. package/www/build/kol-input-radio.entry.js +1 -1
  212. package/www/build/kol-input-range.entry.js +1 -1
  213. package/www/build/kol-input-text.entry.js +1 -1
  214. package/www/build/kol-kolibri.entry.js +1 -1
  215. package/www/build/kol-link-group.entry.js +1 -1
  216. package/www/build/kol-link-wc.entry.js +1 -1
  217. package/www/build/kol-logo.entry.js +1 -1
  218. package/www/build/kol-modal.entry.js +1 -1
  219. package/www/build/kol-nav.entry.js +1 -1
  220. package/www/build/kol-pagination.entry.js +1 -1
  221. package/www/build/kol-progress.entry.js +1 -1
  222. package/www/build/kol-select.entry.js +1 -1
  223. package/www/build/kol-skip-nav.entry.js +1 -1
  224. package/www/build/kol-spin.entry.js +1 -1
  225. package/www/build/kol-symbol.entry.js +1 -1
  226. package/www/build/kol-table.entry.js +1 -1
  227. package/www/build/kol-tabs.entry.js +1 -1
  228. package/www/build/kol-textarea.entry.js +1 -1
  229. package/www/build/kol-toast.entry.js +1 -1
  230. package/www/build/kol-tooltip.entry.js +1 -1
  231. package/www/build/kol-version.entry.js +1 -1
  232. package/www/build/kolibri.esm.js +1 -1
  233. package/www/build/prop.validators-a25ae6eb.js +4 -0
  234. package/www/build/register-1f35463b.js +4 -0
  235. package/www/build/validation-354ec39a.js +4 -0
  236. package/www/build/validation-fc3abe3b.js +4 -0
  237. package/www/index.html +1 -1
  238. package/dist/cjs/controller-31aca951.js +0 -4
  239. package/dist/cjs/dev.utils-3c37c3f3.js +0 -4
  240. package/dist/cjs/register-2a6fd996.js +0 -4
  241. package/dist/esm/dev.utils-c9cfb9a5.js +0 -4
  242. package/dist/esm/prop.validators-5f63352c.js +0 -4
  243. package/dist/esm/register-c6216033.js +0 -4
  244. package/dist/esm/validation-bc7df42a.js +0 -4
  245. package/dist/kolibri/button-link-6715264c.js +0 -4
  246. package/dist/kolibri/controller-c59f4b61.js +0 -4
  247. package/dist/kolibri/controller-c9cc6084.js +0 -4
  248. package/dist/kolibri/dev.utils-c9cfb9a5.js +0 -4
  249. package/dist/kolibri/prop.validators-5f63352c.js +0 -4
  250. package/dist/kolibri/register-c6216033.js +0 -4
  251. package/dist/kolibri/validation-6a53b8ae.js +0 -4
  252. package/dist/kolibri/validation-bc7df42a.js +0 -4
  253. package/www/build/button-link-6715264c.js +0 -4
  254. package/www/build/controller-c59f4b61.js +0 -4
  255. package/www/build/controller-c9cc6084.js +0 -4
  256. package/www/build/dev.utils-c9cfb9a5.js +0 -4
  257. package/www/build/prop.validators-5f63352c.js +0 -4
  258. package/www/build/register-c6216033.js +0 -4
  259. package/www/build/validation-6a53b8ae.js +0 -4
  260. package/www/build/validation-bc7df42a.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{g as e,a as t,I as n,L as r}from"./dev.utils-c9cfb9a5.js";import{s as o,f as i}from"./index.m-df5ce03f.js";import{d as l}from"./a11y.tipps-14d41e3b.js";import{p as a,a as s}from"./register-c6216033.js";const c=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},u=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;c(o,t.querySelectorAll(e));const r=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<r.length;t++){const n=r[t].shadowRoot;c(o,u(e,"object"==typeof n&&null!==n?n:r[t]))}return Array.from(o)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},f=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let o=t.querySelector(e);if(null===o){const r=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<r.length;t++){const n=r[t].shadowRoot;if(o=f(e,"object"==typeof n&&null!==n?n:r[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 d=m;function m(e){var t=v(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function v(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 r=y(t[0]),n=y(t[1]),l=y(t[2]),a=3==o?255:y(t[3]);if(isNaN(r)||isNaN(n)||isNaN(l)||isNaN(a))return;return[r,n,l,a]}}(e)||function(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var r=y(t.slice(0,2)),n=y(t.slice(2,4)),l=y(t.slice(4,6)),a=6==o?255:y(t.slice(6,8));if(isNaN(r)||isNaN(n)||isNaN(l)||isNaN(a))return;return[r,n,l,a]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=p(t[0],!0),r=p(t[1],!0),n=p(t[2],!0);if(-1!=o&&-1!=r&&-1!=n)return[o,r,n,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=p(t[0],!0),r=p(t[1],!0),n=p(t[2],!0),l=p(255*t[3]);if(-1!=o&&-1!=r&&-1!=n&&-1!=l)return[o,r,n,l]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=p(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=p(null!=e.g?e.g:null!=e.green?e.green:0,!0),r=p(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),n=p(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=o&&-1!=r&&-1!=n)return[t,o,r,n]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=p(e[0],!0),o=p(e[1],!0),r=p(e[2],!0),n=p(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=r&&-1!=n)return[t,o,r,n]}}(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 h(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function y(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function p(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}d.arr=m,d.obj=function(e){var t=v(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}},d.css=function(e){var t=v(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)+")"},d.hex=function(e){3==(l=v(e)).length&&l.push(255);var t=255==l[3],o=h(l[0]),r=h(l[1]),n=h(l[2]),l=h(Math.round(l[3])),a=function(e,t,o,r){var n=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=n.indexOf(e)&&-1!=n.indexOf(t)&&-1!=n.indexOf(o)&&-1!=n.indexOf(r)}(o,r,n,l);return t?a?"#"+o.charAt(0)+r.charAt(0)+n.charAt(0):"#"+o+r+n:a?"#"+o.charAt(0)+r.charAt(0)+n.charAt(0)+l.charAt(0):"#"+o+r+n+l},d.num=function(e){var t=v(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 b=/\[object Object\]/,g=(e,t)=>{"string"==typeof e&&b.test(e)||t()},w=(e,t)=>{"string"==typeof e&&""===e||t()},S=(e,t)=>{Object.defineProperty(e,"target",{value:t,writable:!1}),null==e||e.stopPropagation()},N=(e,t,o,r={})=>{var n,l;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 r.afterPatch&&(null===(n=e.nextHooks.get(t))||void 0===n||n.set("afterPatch",r.afterPatch)),"function"==typeof r.beforePatch&&(null===(l=e.nextHooks.get(t))||void 0===l||l.set("beforePatch",r.beforePatch)),e.nextState.set(t,o),(e=>{var t,o,r;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,o)=>{var r;const n=t.get("beforePatch");"function"==typeof n&&n(null===(r=e.nextState)||void 0===r?void 0:r.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===(r=e.nextHooks)||void 0===r||r.forEach(((t,o)=>{const r=t.get("afterPatch");"function"==typeof r&&r(e.state[o],e.state,e,o)}))),delete e.nextHooks})(e))},M=(e,t,o,r,n,a={})=>{!o(n)||void 0!==(null==a?void 0:a.allowNull)&&!1!==(null==a?void 0:a.allowNull)&&null!==n?void 0!==(null==a?void 0:a.defaultValue)||void 0===(null==a?void 0:a.required)||!1===(null==a?void 0:a.required)?N(e,t,null==a?void 0:a.defaultValue,null==a?void 0:a.hooks):(!0===a.allowNull&&r.add(null),!0!==a.required&&r.add(void 0),((e,t,o,r)=>{l(`[${e.constructor.name}] Der Property-Wert (${o}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(r).join(", ")}`)})(e,t,n,r)):N(e,t,n,null==a?void 0:a.hooks)},E=(e,t,o,r)=>{M(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,r)},j=(e,t,o,r)=>{M(e,t,(e=>"string"==typeof e&&e.length>=("number"==typeof(null==r?void 0:r.minLength)?null==r?void 0:r.minLength:1)),new Set(["String (nicht leer)"]),o,r)},k=(e,t,o,r)=>{M(e,t,(e=>"number"==typeof e&&(void 0===(null==r?void 0:r.min)||"number"==typeof(null==r?void 0:r.min)&&e>=r.min)&&(void 0===(null==r?void 0:r.max)||"number"==typeof(null==r?void 0:r.max)&&e<=r.max)),new Set(["Number"]),o,r)},O=(e,t,o,r,n=(e=>e==e),a={})=>{w(r,(()=>{g(r,(()=>{void 0===r&&(r=[]);try{if("string"==typeof r&&(r=T(r)),Array.isArray(r)){const l=r.find((e=>!o(e)));void 0===l&&n(r)?N(e,t,r,a.hooks):g(l,(()=>{throw console.log(l),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else g(r,(()=>{throw new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){l("Known bug: Zeichenkettenliste (string[])")}}))}))},D=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.")}},T=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;).")}}},H=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,L=e=>"string"==typeof e?e:H(e),C=(t,o)=>f(t,o||e()),P=(t,o)=>u(t,o||e());let A=null;const $=()=>(A=A||{backgroundColor:"#00000000",color:"#00000000",domNode:e().body,level:"Fail",score:1},A),B=/(\d+, ){3}0\)/,J=(e,t=$())=>{const n=getComputedStyle(e),l=B.test(n.backgroundColor)?t.backgroundColor:d.hex(n.backgroundColor),a=B.test(n.color)?t.color:d.hex(n.color),s=o(l,a),c={backgroundColor:l,color:a,domNode:e,level:i(s),score:s};return s<4.5&&r.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},K=(e,t=$())=>{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 r=0;r<o.length&&(t.domNode=o[r],null===(t=K(e,t)).domNode);r++);return t}return J(o,t)},q=(e,o=window)=>{e instanceof HTMLElement?(o.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+t().pageYOffset-50}),e.focus()):l("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},x=(e,t)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof t){l("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=C(e,t);o instanceof HTMLElement?q(o):l(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else l("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class z{static queryHtmlElementColors(e,t,o=!1,n=!0){let l=null;if(!0===o||!1===z.executionLock)if(!1===o&&(z.cache.clear(),z.cache.set(t.domNode,t),z.executionLock=!0,!0===n&&r.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)l=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 r=t.domNode;if("function"==typeof r.assignedNodes){const e=r.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&o.add(e[t])}const n=t.domNode.children;for(let e=0;e<n.length;e++)o.add(n[e]);const a=Array.from(o);for(let o=0;o<a.length;o++){let r=z.cache.get(a[o]);void 0===r&&(r=J(a[o],t)),z.cache.set(a[o],r);const n=z.queryHtmlElementColors(e,r,!0,!1);if(null!==n){l=n;break}}}else r.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===n&&r.debug(`[KoliBriUtils] Color contrast analysis finished (${z.cache.size} DOM elements are analysed).`),z.executionLock=!1,z.cache.clear()),l}}z.executionLock=!1,z.cache=new Map;class R{}R.keyStore=new class extends n{constructor(){super(...arguments),this.store=new Map}register(e,t){return this.store.set(e,t),this}get(e){if(this.store.has(e))return this.store.get(e);throw new Error(`No value for key '${e}' in KoliBri-Store found.`)}},R.patchTheme=a,R.patchThemeTag=s,R.querySelector=C,R.querySelectorAll=P,R.scrollByHTMLElement=q,R.scrollBySelector=x,R.stringifyJson=D;export{R as K,M as a,E as b,O as c,k as d,S as e,w as f,H as g,x as h,z as i,J as j,C as k,P as l,L as m,K as n,g as o,T as p,D as q,d as r,N as s,j as w};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{l as e}from"./dev.utils-c9cfb9a5.js";const t=[];class o{constructor(e,t={}){this.shield=[`%c${e}`,"string"==typeof t.shieldStyle&&t.shieldStyle.length>0?t.shieldStyle:"color: white; background: #666; font-weight: bold; font-size: 10px; padding: 2px 6px; border-radius: 3px; border: 1px solid #000"]}static getInstance(e,t={}){if("string"==typeof e&&e.length>0)return!1===o.instances.has(e)&&o.instances.set(e,new o(e)),o.instances.get(e);throw new Error("The identifier of the Logger must be a string with a min length of 1.")}log(r,n){switch("object"==typeof n.refObject&&null!==n.refObject&&"function"==typeof n.refObject.constructor&&"string"==typeof n.refObject.constructor.name&&(n.className=`[${n.refObject.constructor.name}]:`),t.push({date:(new Date).toUTCString(),level:r,message:n}),r){case"trace":e.trace(...this.shield,n);break;case"debug":e.debug(...this.shield,n);break;case"info":e.info(...this.shield,n);break;case"warn":e.warn(...this.shield,n);break;default:e.error(...this.shield,n)}}trace(e,t){return this.log("trace",{messageText:e,refObject:t}),this}debug(e,t){return this.log("debug",{messageText:e,refObject:t}),this}info(e,t){return this.log("info",{messageText:e,refObject:t}),this}warn(e,t){return this.log("warn",{messageText:e,refObject:t}),this}error(e,t){return this.log("error",{messageText:e,refObject:t}),this}static get cache(){return[].concat(t)}}o.instances=new Map,e.setDefaultLevel("error");const n=o.getInstance("leanup"),r="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};let s=!1;const l=(e,t,o)=>{!1===s&&(s=!0,n.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\nimport { register } from '@a11y-ui/core';\nimport { defineCustomElements } from '...';\nimport { THEME } from '...';\n\nregister(THEME, defineCustomElements)\n\t.then(() => {\n\t\tconst htmlDivElement: HTMLDivElement | null = document.querySelector<HTMLDivElement>('div#app');\n if (htmlDivElement instanceof HTMLDivElement) {\n const root = createRoot(htmlDivElement);\n root.render(<AppComponent />);\n }\n })\n .catch(console.warn);`,{forceLog:!0})),"object"==typeof r.A11yUi&&null!==r.A11yUi||(r.A11yUi={}),"object"!=typeof r.A11yUi||null===r.A11yUi||"object"==typeof r.A11yUi.Themes&&null!==r.A11yUi.Themes||(r.A11yUi.Themes={}),"object"!=typeof r.A11yUi||null===r.A11yUi||"object"!=typeof r.A11yUi.Themes||null===r.A11yUi.Themes||"object"==typeof r.A11yUi.Themes[e]&&null!==r.A11yUi.Themes[e]||(r.A11yUi.Themes[e]={}),"object"==typeof r.A11yUi&&null!==r.A11yUi&&"object"==typeof r.A11yUi.Themes&&null!==r.A11yUi.Themes&&"object"==typeof r.A11yUi.Themes[e]&&null!==r.A11yUi.Themes[e]&&(r.A11yUi.Themes[e][t]=o)},i=(e,t)=>("object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((r=>{const n=t[r];"string"==typeof n&&n.length>0&&l(e,r,n)})),e),c=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 c(t)}}return null},a=e=>{if("object"==typeof r.A11yUi&&null!==r.A11yUi&&"object"==typeof r.A11yUi.Theme&&null!==r.A11yUi.Theme&&"boolean"==typeof r.A11yUi.Theme.cache&&"string"==typeof r.A11yUi.Theme.name&&"boolean"==typeof r.A11yUi.Theme.reset)return r.A11yUi.Theme;{const t=c(e);return t instanceof HTMLElement?{cache:"false"!==t.dataset.themeCache,name:t.dataset.theme||null,reset:"false"!==t.dataset.themeReset}:{cache:!0,name:null,reset:!0}}};export{r as G,l as a,a as g,i as p};
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{a as e}from"./prop.validators-5f63352c.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,4 +0,0 @@
1
- /*!
2
- * KoliBri - the accessible web component library
3
- */
4
- import{u as o}from"./a11y.tipps-14d41e3b.js";import{c as s}from"./prop.validators-5f63352c.js";const t=(t,p,a)=>{s(p,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),a),o(t,p.state._links.length)};export{t as w};