@public-ui/components 2.0.15 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1216) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/access-key-29c8f473.js +4 -0
  3. package/dist/cjs/access-key-29c8f473.js.map +1 -0
  4. package/dist/cjs/align-716634b6.js +4 -0
  5. package/dist/cjs/align-716634b6.js.map +1 -0
  6. package/dist/cjs/{align-floating-elements-a4f32471.js → align-floating-elements-bc6be189.js} +1 -1
  7. package/dist/cjs/{align-floating-elements-a4f32471.js.map → align-floating-elements-bc6be189.js.map} +1 -1
  8. package/dist/cjs/alternative-button-link-role-91c25ec3.js +4 -0
  9. package/dist/cjs/alternative-button-link-role-91c25ec3.js.map +1 -0
  10. package/dist/cjs/app-globals-4f5190d8.js +4 -0
  11. package/dist/cjs/app-globals-4f5190d8.js.map +1 -0
  12. package/dist/cjs/associated.controller-3ba641a8.js +4 -0
  13. package/dist/cjs/associated.controller-3ba641a8.js.map +1 -0
  14. package/dist/cjs/color-ed9292d8.js +4 -0
  15. package/dist/cjs/color-ed9292d8.js.map +1 -0
  16. package/dist/cjs/controller-3b2e3d4d.js +4 -0
  17. package/dist/cjs/controller-3b2e3d4d.js.map +1 -0
  18. package/dist/cjs/controller-411155c7.js +4 -0
  19. package/dist/cjs/controller-411155c7.js.map +1 -0
  20. package/dist/cjs/controller-4d211a58.js +4 -0
  21. package/dist/cjs/controller-4d211a58.js.map +1 -0
  22. package/dist/cjs/controller-95705083.js +4 -0
  23. package/dist/cjs/controller-95705083.js.map +1 -0
  24. package/dist/cjs/controller-98af2f0b.js +4 -0
  25. package/dist/cjs/controller-98af2f0b.js.map +1 -0
  26. package/dist/cjs/controller-icon-dea18467.js +4 -0
  27. package/dist/cjs/controller-icon-dea18467.js.map +1 -0
  28. package/dist/cjs/custom-class-8298d456.js +4 -0
  29. package/dist/cjs/custom-class-8298d456.js.map +1 -0
  30. package/dist/cjs/dev.utils-3e595d38.js +4 -0
  31. package/dist/cjs/dev.utils-3e595d38.js.map +1 -0
  32. package/dist/cjs/dev.utils-b48ac291.js +4 -0
  33. package/dist/cjs/dev.utils-b48ac291.js.map +1 -0
  34. package/dist/cjs/devtools-d68258e5.js +4 -0
  35. package/dist/cjs/devtools-d68258e5.js.map +1 -0
  36. package/dist/cjs/disabled-67c674b5.js +4 -0
  37. package/dist/cjs/disabled-67c674b5.js.map +1 -0
  38. package/dist/cjs/form-field-msg-2e2600d7.js.map +1 -1
  39. package/dist/cjs/has-closer-ff878289.js +4 -0
  40. package/dist/cjs/has-closer-ff878289.js.map +1 -0
  41. package/dist/cjs/hide-label-5d971414.js +4 -0
  42. package/dist/cjs/hide-label-5d971414.js.map +1 -0
  43. package/dist/cjs/href-add3090a.js +4 -0
  44. package/dist/cjs/href-add3090a.js.map +1 -0
  45. package/dist/cjs/{i18n-db3c5520.js → i18n-4f73c04e.js} +1 -1
  46. package/dist/cjs/{i18n-db3c5520.js.map → i18n-4f73c04e.js.map} +1 -1
  47. package/dist/cjs/icons-1c0ab99c.js +4 -0
  48. package/dist/cjs/icons-1c0ab99c.js.map +1 -0
  49. package/dist/cjs/image-source-83159d74.js +4 -0
  50. package/dist/cjs/image-source-83159d74.js.map +1 -0
  51. package/dist/cjs/index-8d8858f3.js +4 -0
  52. package/dist/cjs/index-8d8858f3.js.map +1 -0
  53. package/dist/cjs/{index-443b07fc.js → index-b30289da.js} +1 -1
  54. package/dist/cjs/{index-443b07fc.js.map → index-b30289da.js.map} +1 -1
  55. package/dist/cjs/index.cjs.js +1 -1
  56. package/dist/cjs/index.cjs.js.map +1 -1
  57. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  59. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +1 -1
  75. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  77. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  79. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-heading-wc.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  123. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  125. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  135. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  137. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  143. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  145. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  146. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  147. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  148. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  149. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  150. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  151. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  153. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  155. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  157. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-symbol.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  161. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  162. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  163. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  164. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  165. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  166. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  167. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  168. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  169. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  170. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  171. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  172. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  173. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  174. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  175. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  176. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  177. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  178. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  179. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  180. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  181. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  182. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  183. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  184. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  185. package/dist/cjs/kolibri.cjs.js +1 -1
  186. package/dist/cjs/kolibri.cjs.js.map +1 -1
  187. package/dist/cjs/label-23abf417.js +4 -0
  188. package/dist/cjs/label-23abf417.js.map +1 -0
  189. package/dist/cjs/loader.cjs.js +1 -1
  190. package/dist/cjs/loader.cjs.js.map +1 -1
  191. package/dist/cjs/open-a2cab99b.js +4 -0
  192. package/dist/cjs/open-a2cab99b.js.map +1 -0
  193. package/dist/cjs/prop.validators-5eb93968.js +4 -0
  194. package/dist/cjs/prop.validators-5eb93968.js.map +1 -0
  195. package/dist/cjs/reuse-daa2baf3.js +4 -0
  196. package/dist/cjs/reuse-daa2baf3.js.map +1 -0
  197. package/dist/cjs/rows-d2f243a5.js +4 -0
  198. package/dist/cjs/rows-d2f243a5.js.map +1 -0
  199. package/dist/cjs/show-8898a23d.js +4 -0
  200. package/dist/cjs/show-8898a23d.js.map +1 -0
  201. package/dist/cjs/suggestions-8bd45259.js +4 -0
  202. package/dist/cjs/suggestions-8bd45259.js.map +1 -0
  203. package/dist/cjs/tab-index-0e013513.js +4 -0
  204. package/dist/cjs/tab-index-0e013513.js.map +1 -0
  205. package/dist/cjs/table-data-foot-5fe6c5bf.js +4 -0
  206. package/dist/cjs/table-data-foot-5fe6c5bf.js.map +1 -0
  207. package/dist/cjs/table-render-function-7d9ebadc.js.map +1 -1
  208. package/dist/cjs/{toaster-7cd54f74.js → toaster-143bd150.js} +1 -1
  209. package/dist/cjs/{toaster-7cd54f74.js.map → toaster-143bd150.js.map} +1 -1
  210. package/dist/cjs/{toaster-e899a47f.js → toaster-de2cd2c8.js} +1 -1
  211. package/dist/cjs/{toaster-e899a47f.js.map → toaster-de2cd2c8.js.map} +1 -1
  212. package/dist/cjs/tooltip-align-b968ab9c.js +4 -0
  213. package/dist/cjs/tooltip-align-b968ab9c.js.map +1 -0
  214. package/dist/cjs/validation-3cdd4d53.js +4 -0
  215. package/dist/cjs/validation-3cdd4d53.js.map +1 -0
  216. package/dist/cjs/validation-80c0b59f.js +4 -0
  217. package/dist/cjs/validation-80c0b59f.js.map +1 -0
  218. package/dist/components/access-key.js +4 -0
  219. package/dist/components/access-key.js.map +1 -0
  220. package/dist/components/align-floating-elements.js +1 -1
  221. package/dist/components/align-floating-elements.js.map +1 -1
  222. package/dist/components/align.js +4 -0
  223. package/dist/components/align.js.map +1 -0
  224. package/dist/components/alternative-button-link-role.js +4 -0
  225. package/dist/components/alternative-button-link-role.js.map +1 -0
  226. package/dist/components/associated.controller.js +1 -1
  227. package/dist/components/associated.controller.js.map +1 -1
  228. package/dist/components/color.js +4 -0
  229. package/dist/components/color.js.map +1 -0
  230. package/dist/components/controller-icon.js +1 -1
  231. package/dist/components/controller-icon.js.map +1 -1
  232. package/dist/components/controller.js +1 -1
  233. package/dist/components/controller.js.map +1 -1
  234. package/dist/components/controller2.js +1 -1
  235. package/dist/components/controller2.js.map +1 -1
  236. package/dist/components/controller3.js +1 -1
  237. package/dist/components/controller3.js.map +1 -1
  238. package/dist/components/controller4.js +1 -1
  239. package/dist/components/controller4.js.map +1 -1
  240. package/dist/components/controller5.js +1 -1
  241. package/dist/components/controller5.js.map +1 -1
  242. package/dist/components/custom-class.js +4 -0
  243. package/dist/components/custom-class.js.map +1 -0
  244. package/dist/components/dev.utils.js +1 -1
  245. package/dist/components/dev.utils.js.map +1 -1
  246. package/dist/components/dev.utils2.js +4 -0
  247. package/dist/components/dev.utils2.js.map +1 -0
  248. package/dist/components/devtools.js +1 -1
  249. package/dist/components/devtools.js.map +1 -1
  250. package/dist/components/disabled.js +4 -0
  251. package/dist/components/disabled.js.map +1 -0
  252. package/dist/components/form-field-msg.js.map +1 -1
  253. package/dist/components/has-closer.js +4 -0
  254. package/dist/components/has-closer.js.map +1 -0
  255. package/dist/components/hide-label.js +4 -0
  256. package/dist/components/hide-label.js.map +1 -0
  257. package/dist/components/href.js +4 -0
  258. package/dist/components/href.js.map +1 -0
  259. package/dist/components/i18n2.js +1 -1
  260. package/dist/components/i18n2.js.map +1 -1
  261. package/dist/components/icons.js +4 -0
  262. package/dist/components/icons.js.map +1 -0
  263. package/dist/components/image-source.js +4 -0
  264. package/dist/components/image-source.js.map +1 -0
  265. package/dist/components/index.js +1 -1
  266. package/dist/components/index.js.map +1 -1
  267. package/dist/components/index2.js +1 -1
  268. package/dist/components/index2.js.map +1 -1
  269. package/dist/components/kol-abbr.js +1 -1
  270. package/dist/components/kol-abbr.js.map +1 -1
  271. package/dist/components/kol-accordion.js +1 -1
  272. package/dist/components/kol-accordion.js.map +1 -1
  273. package/dist/components/kol-alert-wc.js +1 -1
  274. package/dist/components/kol-alert-wc.js.map +1 -1
  275. package/dist/components/kol-alert.js +1 -1
  276. package/dist/components/kol-alert.js.map +1 -1
  277. package/dist/components/kol-avatar-wc.js +1 -1
  278. package/dist/components/kol-avatar-wc.js.map +1 -1
  279. package/dist/components/kol-avatar.js +1 -1
  280. package/dist/components/kol-avatar.js.map +1 -1
  281. package/dist/components/kol-badge.js +1 -1
  282. package/dist/components/kol-badge.js.map +1 -1
  283. package/dist/components/kol-breadcrumb.js +1 -1
  284. package/dist/components/kol-breadcrumb.js.map +1 -1
  285. package/dist/components/kol-button-group-wc.js +1 -1
  286. package/dist/components/kol-button-group-wc.js.map +1 -1
  287. package/dist/components/kol-button-group.js +1 -1
  288. package/dist/components/kol-button-group.js.map +1 -1
  289. package/dist/components/kol-button-link.js +1 -1
  290. package/dist/components/kol-button-link.js.map +1 -1
  291. package/dist/components/kol-button-wc.js +1 -1
  292. package/dist/components/kol-button-wc.js.map +1 -1
  293. package/dist/components/kol-button.js +1 -1
  294. package/dist/components/kol-button.js.map +1 -1
  295. package/dist/components/kol-card.js +1 -1
  296. package/dist/components/kol-card.js.map +1 -1
  297. package/dist/components/kol-details.js +1 -1
  298. package/dist/components/kol-details.js.map +1 -1
  299. package/dist/components/kol-form.js +1 -1
  300. package/dist/components/kol-form.js.map +1 -1
  301. package/dist/components/kol-heading-wc.js +1 -1
  302. package/dist/components/kol-heading-wc.js.map +1 -1
  303. package/dist/components/kol-heading.js +1 -1
  304. package/dist/components/kol-heading.js.map +1 -1
  305. package/dist/components/kol-icon.js +1 -1
  306. package/dist/components/kol-icon.js.map +1 -1
  307. package/dist/components/kol-image.js +1 -1
  308. package/dist/components/kol-image.js.map +1 -1
  309. package/dist/components/kol-indented-text.js +1 -1
  310. package/dist/components/kol-indented-text.js.map +1 -1
  311. package/dist/components/kol-input-checkbox.js +1 -1
  312. package/dist/components/kol-input-checkbox.js.map +1 -1
  313. package/dist/components/kol-input-color.js +1 -1
  314. package/dist/components/kol-input-color.js.map +1 -1
  315. package/dist/components/kol-input-date.js +1 -1
  316. package/dist/components/kol-input-date.js.map +1 -1
  317. package/dist/components/kol-input-email.js +1 -1
  318. package/dist/components/kol-input-email.js.map +1 -1
  319. package/dist/components/kol-input-file.js +1 -1
  320. package/dist/components/kol-input-file.js.map +1 -1
  321. package/dist/components/kol-input-number.js +1 -1
  322. package/dist/components/kol-input-number.js.map +1 -1
  323. package/dist/components/kol-input-password.js +1 -1
  324. package/dist/components/kol-input-password.js.map +1 -1
  325. package/dist/components/kol-input-radio.js +1 -1
  326. package/dist/components/kol-input-radio.js.map +1 -1
  327. package/dist/components/kol-input-range.js +1 -1
  328. package/dist/components/kol-input-range.js.map +1 -1
  329. package/dist/components/kol-input-text.js +1 -1
  330. package/dist/components/kol-input-text.js.map +1 -1
  331. package/dist/components/kol-input.js +1 -1
  332. package/dist/components/kol-input.js.map +1 -1
  333. package/dist/components/kol-kolibri.js +1 -1
  334. package/dist/components/kol-kolibri.js.map +1 -1
  335. package/dist/components/kol-link-button.js +1 -1
  336. package/dist/components/kol-link-button.js.map +1 -1
  337. package/dist/components/kol-link-group.js +1 -1
  338. package/dist/components/kol-link-group.js.map +1 -1
  339. package/dist/components/kol-link-wc.js +1 -1
  340. package/dist/components/kol-link-wc.js.map +1 -1
  341. package/dist/components/kol-link.js +1 -1
  342. package/dist/components/kol-link.js.map +1 -1
  343. package/dist/components/kol-logo.js +1 -1
  344. package/dist/components/kol-logo.js.map +1 -1
  345. package/dist/components/kol-modal.js +1 -1
  346. package/dist/components/kol-modal.js.map +1 -1
  347. package/dist/components/kol-nav.js +1 -1
  348. package/dist/components/kol-nav.js.map +1 -1
  349. package/dist/components/kol-pagination.js +1 -1
  350. package/dist/components/kol-pagination.js.map +1 -1
  351. package/dist/components/kol-popover-wc.js +1 -1
  352. package/dist/components/kol-popover-wc.js.map +1 -1
  353. package/dist/components/kol-progress.js +1 -1
  354. package/dist/components/kol-progress.js.map +1 -1
  355. package/dist/components/kol-quote.js +1 -1
  356. package/dist/components/kol-quote.js.map +1 -1
  357. package/dist/components/kol-select.js +1 -1
  358. package/dist/components/kol-select.js.map +1 -1
  359. package/dist/components/kol-skip-nav.js +1 -1
  360. package/dist/components/kol-skip-nav.js.map +1 -1
  361. package/dist/components/kol-span-wc.js +1 -1
  362. package/dist/components/kol-span-wc.js.map +1 -1
  363. package/dist/components/kol-span.js +1 -1
  364. package/dist/components/kol-span.js.map +1 -1
  365. package/dist/components/kol-spin.js +1 -1
  366. package/dist/components/kol-spin.js.map +1 -1
  367. package/dist/components/kol-split-button.js +1 -1
  368. package/dist/components/kol-split-button.js.map +1 -1
  369. package/dist/components/kol-symbol.js +1 -1
  370. package/dist/components/kol-symbol.js.map +1 -1
  371. package/dist/components/kol-table-stateful.js +1 -1
  372. package/dist/components/kol-table-stateful.js.map +1 -1
  373. package/dist/components/kol-table-stateless-wc.js +1 -1
  374. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  375. package/dist/components/kol-table-stateless.js +1 -1
  376. package/dist/components/kol-table-stateless.js.map +1 -1
  377. package/dist/components/kol-table.js +1 -1
  378. package/dist/components/kol-table.js.map +1 -1
  379. package/dist/components/kol-tabs.js +1 -1
  380. package/dist/components/kol-tabs.js.map +1 -1
  381. package/dist/components/kol-textarea.js +1 -1
  382. package/dist/components/kol-textarea.js.map +1 -1
  383. package/dist/components/kol-toast-container.js +1 -1
  384. package/dist/components/kol-toast-container.js.map +1 -1
  385. package/dist/components/kol-tooltip-wc.js +1 -1
  386. package/dist/components/kol-tooltip-wc.js.map +1 -1
  387. package/dist/components/kol-tree-item-wc.js +1 -1
  388. package/dist/components/kol-tree-item-wc.js.map +1 -1
  389. package/dist/components/kol-tree-item.js +1 -1
  390. package/dist/components/kol-tree-item.js.map +1 -1
  391. package/dist/components/kol-tree-wc.js +1 -1
  392. package/dist/components/kol-tree-wc.js.map +1 -1
  393. package/dist/components/kol-tree.js +1 -1
  394. package/dist/components/kol-tree.js.map +1 -1
  395. package/dist/components/kol-version.js +1 -1
  396. package/dist/components/kol-version.js.map +1 -1
  397. package/dist/components/label.js +4 -0
  398. package/dist/components/label.js.map +1 -0
  399. package/dist/components/open.js +4 -0
  400. package/dist/components/open.js.map +1 -0
  401. package/dist/components/prop.validators.js +4 -0
  402. package/dist/components/prop.validators.js.map +1 -0
  403. package/dist/components/reuse.js +4 -0
  404. package/dist/components/reuse.js.map +1 -0
  405. package/dist/components/rows.js +4 -0
  406. package/dist/components/rows.js.map +1 -0
  407. package/dist/components/show.js +4 -0
  408. package/dist/components/show.js.map +1 -0
  409. package/dist/components/suggestions.js +4 -0
  410. package/dist/components/suggestions.js.map +1 -0
  411. package/dist/components/tab-index.js +4 -0
  412. package/dist/components/tab-index.js.map +1 -0
  413. package/dist/components/table-data-foot.js +4 -0
  414. package/dist/components/table-data-foot.js.map +1 -0
  415. package/dist/components/table-render-function.js.map +1 -1
  416. package/dist/components/tooltip-align.js +4 -0
  417. package/dist/components/tooltip-align.js.map +1 -0
  418. package/dist/components/validation.js +1 -1
  419. package/dist/components/validation.js.map +1 -1
  420. package/dist/components/validation2.js +1 -1
  421. package/dist/components/validation2.js.map +1 -1
  422. package/dist/declare.d.ts +22 -0
  423. package/dist/esm/access-key-04ca8172.js +4 -0
  424. package/dist/esm/access-key-04ca8172.js.map +1 -0
  425. package/dist/esm/align-fc528dec.js +4 -0
  426. package/dist/esm/align-fc528dec.js.map +1 -0
  427. package/dist/esm/{align-floating-elements-f7d913f4.js → align-floating-elements-0cd5dc51.js} +1 -1
  428. package/dist/esm/{align-floating-elements-f7d913f4.js.map → align-floating-elements-0cd5dc51.js.map} +1 -1
  429. package/dist/esm/alternative-button-link-role-97826181.js +4 -0
  430. package/dist/esm/alternative-button-link-role-97826181.js.map +1 -0
  431. package/dist/esm/app-globals-d78b8e64.js +4 -0
  432. package/dist/esm/app-globals-d78b8e64.js.map +1 -0
  433. package/dist/esm/associated.controller-b0ff2f30.js +4 -0
  434. package/dist/esm/associated.controller-b0ff2f30.js.map +1 -0
  435. package/dist/esm/color-5129ba78.js +4 -0
  436. package/dist/esm/color-5129ba78.js.map +1 -0
  437. package/dist/esm/controller-04329990.js +4 -0
  438. package/dist/esm/controller-04329990.js.map +1 -0
  439. package/dist/esm/controller-3340473e.js +4 -0
  440. package/dist/esm/controller-3340473e.js.map +1 -0
  441. package/dist/esm/controller-423fae71.js +4 -0
  442. package/dist/esm/controller-423fae71.js.map +1 -0
  443. package/dist/esm/controller-942cc80a.js +4 -0
  444. package/dist/esm/controller-942cc80a.js.map +1 -0
  445. package/dist/esm/controller-af9c691f.js +4 -0
  446. package/dist/esm/controller-af9c691f.js.map +1 -0
  447. package/dist/esm/controller-icon-b040c27e.js +4 -0
  448. package/dist/esm/controller-icon-b040c27e.js.map +1 -0
  449. package/dist/esm/custom-class-f88bc94b.js +4 -0
  450. package/dist/esm/custom-class-f88bc94b.js.map +1 -0
  451. package/dist/esm/dev.utils-1ca991a2.js +4 -0
  452. package/dist/esm/dev.utils-1ca991a2.js.map +1 -0
  453. package/dist/esm/dev.utils-37559a2c.js +4 -0
  454. package/dist/esm/dev.utils-37559a2c.js.map +1 -0
  455. package/dist/esm/devtools-a2ed4171.js +4 -0
  456. package/dist/esm/devtools-a2ed4171.js.map +1 -0
  457. package/dist/esm/disabled-fbc49ac0.js +4 -0
  458. package/dist/esm/disabled-fbc49ac0.js.map +1 -0
  459. package/dist/esm/form-field-msg-244f6083.js.map +1 -1
  460. package/dist/esm/has-closer-f9cf9bc4.js +4 -0
  461. package/dist/esm/has-closer-f9cf9bc4.js.map +1 -0
  462. package/dist/esm/hide-label-c461d8fe.js +4 -0
  463. package/dist/esm/hide-label-c461d8fe.js.map +1 -0
  464. package/dist/esm/href-7d17954a.js +4 -0
  465. package/dist/esm/href-7d17954a.js.map +1 -0
  466. package/dist/esm/{i18n-7bf2bd6f.js → i18n-37baa421.js} +1 -1
  467. package/dist/esm/{i18n-7bf2bd6f.js.map → i18n-37baa421.js.map} +1 -1
  468. package/dist/esm/icons-d2e01be4.js +4 -0
  469. package/dist/esm/icons-d2e01be4.js.map +1 -0
  470. package/dist/esm/image-source-36b5abe9.js +4 -0
  471. package/dist/esm/image-source-36b5abe9.js.map +1 -0
  472. package/dist/esm/index-4a3076fc.js +4 -0
  473. package/dist/esm/index-4a3076fc.js.map +1 -0
  474. package/dist/{kolibri/index-e9e31210.js → esm/index-a55b574c.js} +1 -1
  475. package/dist/esm/{index-e9e31210.js.map → index-a55b574c.js.map} +1 -1
  476. package/dist/esm/index.js +1 -1
  477. package/dist/esm/index.js.map +1 -1
  478. package/dist/esm/kol-abbr.entry.js +1 -1
  479. package/dist/esm/kol-abbr.entry.js.map +1 -1
  480. package/dist/esm/kol-accordion.entry.js +1 -1
  481. package/dist/esm/kol-accordion.entry.js.map +1 -1
  482. package/dist/esm/kol-alert-wc.entry.js +1 -1
  483. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  484. package/dist/esm/kol-alert.entry.js +1 -1
  485. package/dist/esm/kol-alert.entry.js.map +1 -1
  486. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  487. package/dist/esm/kol-avatar-wc.entry.js.map +1 -1
  488. package/dist/esm/kol-avatar.entry.js +1 -1
  489. package/dist/esm/kol-avatar.entry.js.map +1 -1
  490. package/dist/esm/kol-badge.entry.js +1 -1
  491. package/dist/esm/kol-badge.entry.js.map +1 -1
  492. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  493. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  494. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  495. package/dist/esm/kol-button-group-wc.entry.js.map +1 -1
  496. package/dist/esm/kol-button-group.entry.js +1 -1
  497. package/dist/esm/kol-button-group.entry.js.map +1 -1
  498. package/dist/esm/kol-button-link.entry.js +1 -1
  499. package/dist/esm/kol-button-link.entry.js.map +1 -1
  500. package/dist/esm/kol-button-wc.entry.js +1 -1
  501. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  502. package/dist/esm/kol-button.entry.js +1 -1
  503. package/dist/esm/kol-button.entry.js.map +1 -1
  504. package/dist/esm/kol-card.entry.js +1 -1
  505. package/dist/esm/kol-card.entry.js.map +1 -1
  506. package/dist/esm/kol-details.entry.js +1 -1
  507. package/dist/esm/kol-details.entry.js.map +1 -1
  508. package/dist/esm/kol-form.entry.js +1 -1
  509. package/dist/esm/kol-form.entry.js.map +1 -1
  510. package/dist/esm/kol-heading-wc.entry.js +1 -1
  511. package/dist/esm/kol-heading-wc.entry.js.map +1 -1
  512. package/dist/esm/kol-heading.entry.js +1 -1
  513. package/dist/esm/kol-heading.entry.js.map +1 -1
  514. package/dist/esm/kol-icon.entry.js +1 -1
  515. package/dist/esm/kol-icon.entry.js.map +1 -1
  516. package/dist/esm/kol-image.entry.js +1 -1
  517. package/dist/esm/kol-image.entry.js.map +1 -1
  518. package/dist/esm/kol-indented-text.entry.js +1 -1
  519. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  520. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  521. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  522. package/dist/esm/kol-input-color.entry.js +1 -1
  523. package/dist/esm/kol-input-color.entry.js.map +1 -1
  524. package/dist/esm/kol-input-date.entry.js +1 -1
  525. package/dist/esm/kol-input-date.entry.js.map +1 -1
  526. package/dist/esm/kol-input-email.entry.js +1 -1
  527. package/dist/esm/kol-input-email.entry.js.map +1 -1
  528. package/dist/esm/kol-input-file.entry.js +1 -1
  529. package/dist/esm/kol-input-file.entry.js.map +1 -1
  530. package/dist/esm/kol-input-number.entry.js +1 -1
  531. package/dist/esm/kol-input-number.entry.js.map +1 -1
  532. package/dist/esm/kol-input-password.entry.js +1 -1
  533. package/dist/esm/kol-input-password.entry.js.map +1 -1
  534. package/dist/esm/kol-input-radio.entry.js +1 -1
  535. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  536. package/dist/esm/kol-input-range.entry.js +1 -1
  537. package/dist/esm/kol-input-range.entry.js.map +1 -1
  538. package/dist/esm/kol-input-text.entry.js +1 -1
  539. package/dist/esm/kol-input-text.entry.js.map +1 -1
  540. package/dist/esm/kol-input.entry.js +1 -1
  541. package/dist/esm/kol-input.entry.js.map +1 -1
  542. package/dist/esm/kol-kolibri.entry.js +1 -1
  543. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  544. package/dist/esm/kol-link-button.entry.js +1 -1
  545. package/dist/esm/kol-link-button.entry.js.map +1 -1
  546. package/dist/esm/kol-link-group.entry.js +1 -1
  547. package/dist/esm/kol-link-group.entry.js.map +1 -1
  548. package/dist/esm/kol-link-wc.entry.js +1 -1
  549. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  550. package/dist/esm/kol-link.entry.js +1 -1
  551. package/dist/esm/kol-link.entry.js.map +1 -1
  552. package/dist/esm/kol-logo.entry.js +1 -1
  553. package/dist/esm/kol-logo.entry.js.map +1 -1
  554. package/dist/esm/kol-modal.entry.js +1 -1
  555. package/dist/esm/kol-modal.entry.js.map +1 -1
  556. package/dist/esm/kol-nav.entry.js +1 -1
  557. package/dist/esm/kol-nav.entry.js.map +1 -1
  558. package/dist/esm/kol-pagination.entry.js +1 -1
  559. package/dist/esm/kol-pagination.entry.js.map +1 -1
  560. package/dist/esm/kol-popover-wc.entry.js +1 -1
  561. package/dist/esm/kol-popover-wc.entry.js.map +1 -1
  562. package/dist/esm/kol-progress.entry.js +1 -1
  563. package/dist/esm/kol-progress.entry.js.map +1 -1
  564. package/dist/esm/kol-quote.entry.js +1 -1
  565. package/dist/esm/kol-quote.entry.js.map +1 -1
  566. package/dist/esm/kol-select.entry.js +1 -1
  567. package/dist/esm/kol-select.entry.js.map +1 -1
  568. package/dist/esm/kol-skip-nav.entry.js +1 -1
  569. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  570. package/dist/esm/kol-span-wc.entry.js +1 -1
  571. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  572. package/dist/esm/kol-span.entry.js +1 -1
  573. package/dist/esm/kol-span.entry.js.map +1 -1
  574. package/dist/esm/kol-spin.entry.js +1 -1
  575. package/dist/esm/kol-spin.entry.js.map +1 -1
  576. package/dist/esm/kol-split-button.entry.js +1 -1
  577. package/dist/esm/kol-split-button.entry.js.map +1 -1
  578. package/dist/esm/kol-symbol.entry.js +1 -1
  579. package/dist/esm/kol-symbol.entry.js.map +1 -1
  580. package/dist/esm/kol-table-stateful.entry.js +1 -1
  581. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  582. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  583. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  584. package/dist/esm/kol-table-stateless.entry.js +1 -1
  585. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  586. package/dist/esm/kol-table.entry.js +1 -1
  587. package/dist/esm/kol-table.entry.js.map +1 -1
  588. package/dist/esm/kol-tabs.entry.js +1 -1
  589. package/dist/esm/kol-tabs.entry.js.map +1 -1
  590. package/dist/esm/kol-textarea.entry.js +1 -1
  591. package/dist/esm/kol-textarea.entry.js.map +1 -1
  592. package/dist/esm/kol-toast-container.entry.js +1 -1
  593. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  594. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  595. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  596. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  597. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  598. package/dist/esm/kol-tree-item.entry.js +1 -1
  599. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  600. package/dist/esm/kol-tree-wc.entry.js +1 -1
  601. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  602. package/dist/esm/kol-tree.entry.js +1 -1
  603. package/dist/esm/kol-tree.entry.js.map +1 -1
  604. package/dist/esm/kol-version.entry.js +1 -1
  605. package/dist/esm/kol-version.entry.js.map +1 -1
  606. package/dist/esm/kolibri.js +1 -1
  607. package/dist/esm/kolibri.js.map +1 -1
  608. package/dist/esm/label-e56ffdc6.js +4 -0
  609. package/dist/esm/label-e56ffdc6.js.map +1 -0
  610. package/dist/esm/loader.js +1 -1
  611. package/dist/esm/loader.js.map +1 -1
  612. package/dist/esm/open-deacfbd7.js +4 -0
  613. package/dist/esm/open-deacfbd7.js.map +1 -0
  614. package/dist/esm/prop.validators-29d576d2.js +4 -0
  615. package/dist/esm/prop.validators-29d576d2.js.map +1 -0
  616. package/dist/esm/reuse-b66836de.js +4 -0
  617. package/dist/esm/reuse-b66836de.js.map +1 -0
  618. package/dist/esm/rows-005ad248.js +4 -0
  619. package/dist/esm/rows-005ad248.js.map +1 -0
  620. package/dist/esm/show-34226103.js +4 -0
  621. package/dist/esm/show-34226103.js.map +1 -0
  622. package/dist/esm/suggestions-d97a6ab9.js +4 -0
  623. package/dist/esm/suggestions-d97a6ab9.js.map +1 -0
  624. package/dist/esm/tab-index-2cbc1ad1.js +4 -0
  625. package/dist/esm/tab-index-2cbc1ad1.js.map +1 -0
  626. package/dist/esm/table-data-foot-ed56b062.js +4 -0
  627. package/dist/esm/table-data-foot-ed56b062.js.map +1 -0
  628. package/dist/esm/table-render-function-835a18a0.js.map +1 -1
  629. package/dist/esm/{toaster-12097d83.js → toaster-18d16ce1.js} +1 -1
  630. package/dist/esm/{toaster-12097d83.js.map → toaster-18d16ce1.js.map} +1 -1
  631. package/dist/esm/{toaster-4eb33f18.js → toaster-b6d0fa6b.js} +1 -1
  632. package/dist/esm/{toaster-4eb33f18.js.map → toaster-b6d0fa6b.js.map} +1 -1
  633. package/dist/esm/tooltip-align-c13a7aa7.js +4 -0
  634. package/dist/esm/tooltip-align-c13a7aa7.js.map +1 -0
  635. package/dist/esm/validation-561836d9.js +4 -0
  636. package/dist/esm/validation-561836d9.js.map +1 -0
  637. package/dist/esm/validation-c2d11c8c.js +4 -0
  638. package/dist/esm/validation-c2d11c8c.js.map +1 -0
  639. package/dist/kolibri/access-key-04ca8172.js +4 -0
  640. package/dist/kolibri/access-key-04ca8172.js.map +1 -0
  641. package/dist/kolibri/align-fc528dec.js +4 -0
  642. package/dist/kolibri/align-fc528dec.js.map +1 -0
  643. package/dist/kolibri/{align-floating-elements-f7d913f4.js → align-floating-elements-0cd5dc51.js} +1 -1
  644. package/dist/kolibri/{align-floating-elements-f7d913f4.js.map → align-floating-elements-0cd5dc51.js.map} +1 -1
  645. package/dist/kolibri/alternative-button-link-role-97826181.js +4 -0
  646. package/dist/kolibri/alternative-button-link-role-97826181.js.map +1 -0
  647. package/dist/kolibri/app-globals-d78b8e64.js +4 -0
  648. package/dist/kolibri/app-globals-d78b8e64.js.map +1 -0
  649. package/dist/kolibri/associated.controller-b0ff2f30.js +4 -0
  650. package/dist/kolibri/associated.controller-b0ff2f30.js.map +1 -0
  651. package/dist/kolibri/color-5129ba78.js +4 -0
  652. package/dist/kolibri/color-5129ba78.js.map +1 -0
  653. package/dist/kolibri/controller-04329990.js +4 -0
  654. package/dist/{esm/controller-09ce054b.js.map → kolibri/controller-04329990.js.map} +1 -1
  655. package/dist/kolibri/controller-3340473e.js +4 -0
  656. package/dist/kolibri/controller-3340473e.js.map +1 -0
  657. package/dist/kolibri/controller-423fae71.js +4 -0
  658. package/dist/kolibri/controller-423fae71.js.map +1 -0
  659. package/dist/kolibri/controller-942cc80a.js +4 -0
  660. package/dist/kolibri/controller-942cc80a.js.map +1 -0
  661. package/dist/kolibri/controller-af9c691f.js +4 -0
  662. package/dist/kolibri/controller-af9c691f.js.map +1 -0
  663. package/dist/kolibri/controller-icon-b040c27e.js +4 -0
  664. package/dist/kolibri/controller-icon-b040c27e.js.map +1 -0
  665. package/dist/kolibri/custom-class-f88bc94b.js +4 -0
  666. package/dist/kolibri/custom-class-f88bc94b.js.map +1 -0
  667. package/dist/kolibri/dev.utils-1ca991a2.js +4 -0
  668. package/dist/kolibri/dev.utils-1ca991a2.js.map +1 -0
  669. package/dist/kolibri/dev.utils-37559a2c.js +4 -0
  670. package/dist/kolibri/dev.utils-37559a2c.js.map +1 -0
  671. package/dist/kolibri/devtools-a2ed4171.js +4 -0
  672. package/dist/kolibri/devtools-a2ed4171.js.map +1 -0
  673. package/dist/kolibri/disabled-fbc49ac0.js +4 -0
  674. package/dist/kolibri/disabled-fbc49ac0.js.map +1 -0
  675. package/dist/kolibri/form-field-msg-244f6083.js.map +1 -1
  676. package/dist/kolibri/has-closer-f9cf9bc4.js +4 -0
  677. package/dist/kolibri/has-closer-f9cf9bc4.js.map +1 -0
  678. package/dist/kolibri/hide-label-c461d8fe.js +4 -0
  679. package/dist/kolibri/hide-label-c461d8fe.js.map +1 -0
  680. package/dist/kolibri/href-7d17954a.js +4 -0
  681. package/dist/kolibri/href-7d17954a.js.map +1 -0
  682. package/dist/kolibri/{i18n-7bf2bd6f.js → i18n-37baa421.js} +1 -1
  683. package/dist/kolibri/{i18n-7bf2bd6f.js.map → i18n-37baa421.js.map} +1 -1
  684. package/dist/kolibri/icons-d2e01be4.js +4 -0
  685. package/dist/kolibri/icons-d2e01be4.js.map +1 -0
  686. package/dist/kolibri/image-source-36b5abe9.js +4 -0
  687. package/dist/kolibri/image-source-36b5abe9.js.map +1 -0
  688. package/dist/kolibri/index-4a3076fc.js +4 -0
  689. package/dist/kolibri/index-4a3076fc.js.map +1 -0
  690. package/dist/{esm/index-e9e31210.js → kolibri/index-a55b574c.js} +1 -1
  691. package/dist/kolibri/index.esm.js +1 -1
  692. package/dist/kolibri/index.esm.js.map +1 -1
  693. package/dist/kolibri/kol-abbr.entry.js +1 -1
  694. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  695. package/dist/kolibri/kol-accordion.entry.js +1 -1
  696. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  697. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  698. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  699. package/dist/kolibri/kol-alert.entry.js +1 -1
  700. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  701. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  702. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  703. package/dist/kolibri/kol-avatar.entry.js +1 -1
  704. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  705. package/dist/kolibri/kol-badge.entry.js +1 -1
  706. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  707. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  708. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  709. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  710. package/dist/kolibri/kol-button-group-wc.entry.js.map +1 -1
  711. package/dist/kolibri/kol-button-group.entry.js +1 -1
  712. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  713. package/dist/kolibri/kol-button-link.entry.js +1 -1
  714. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  715. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  716. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  717. package/dist/kolibri/kol-button.entry.js +1 -1
  718. package/dist/kolibri/kol-button.entry.js.map +1 -1
  719. package/dist/kolibri/kol-card.entry.js +1 -1
  720. package/dist/kolibri/kol-card.entry.js.map +1 -1
  721. package/dist/kolibri/kol-details.entry.js +1 -1
  722. package/dist/kolibri/kol-details.entry.js.map +1 -1
  723. package/dist/kolibri/kol-form.entry.js +1 -1
  724. package/dist/kolibri/kol-form.entry.js.map +1 -1
  725. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  726. package/dist/kolibri/kol-heading-wc.entry.js.map +1 -1
  727. package/dist/kolibri/kol-heading.entry.js +1 -1
  728. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  729. package/dist/kolibri/kol-icon.entry.js +1 -1
  730. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  731. package/dist/kolibri/kol-image.entry.js +1 -1
  732. package/dist/kolibri/kol-image.entry.js.map +1 -1
  733. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  734. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  735. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  736. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  737. package/dist/kolibri/kol-input-color.entry.js +1 -1
  738. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  739. package/dist/kolibri/kol-input-date.entry.js +1 -1
  740. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  741. package/dist/kolibri/kol-input-email.entry.js +1 -1
  742. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  743. package/dist/kolibri/kol-input-file.entry.js +1 -1
  744. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  745. package/dist/kolibri/kol-input-number.entry.js +1 -1
  746. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  747. package/dist/kolibri/kol-input-password.entry.js +1 -1
  748. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  749. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  750. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  751. package/dist/kolibri/kol-input-range.entry.js +1 -1
  752. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  753. package/dist/kolibri/kol-input-text.entry.js +1 -1
  754. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  755. package/dist/kolibri/kol-input.entry.js +1 -1
  756. package/dist/kolibri/kol-input.entry.js.map +1 -1
  757. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  758. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  759. package/dist/kolibri/kol-link-button.entry.js +1 -1
  760. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  761. package/dist/kolibri/kol-link-group.entry.js +1 -1
  762. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  763. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  764. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  765. package/dist/kolibri/kol-link.entry.js +1 -1
  766. package/dist/kolibri/kol-link.entry.js.map +1 -1
  767. package/dist/kolibri/kol-logo.entry.js +1 -1
  768. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  769. package/dist/kolibri/kol-modal.entry.js +1 -1
  770. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  771. package/dist/kolibri/kol-nav.entry.js +1 -1
  772. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  773. package/dist/kolibri/kol-pagination.entry.js +1 -1
  774. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  775. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  776. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  777. package/dist/kolibri/kol-progress.entry.js +1 -1
  778. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  779. package/dist/kolibri/kol-quote.entry.js +1 -1
  780. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  781. package/dist/kolibri/kol-select.entry.js +1 -1
  782. package/dist/kolibri/kol-select.entry.js.map +1 -1
  783. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  784. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  785. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  786. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  787. package/dist/kolibri/kol-span.entry.js +1 -1
  788. package/dist/kolibri/kol-span.entry.js.map +1 -1
  789. package/dist/kolibri/kol-spin.entry.js +1 -1
  790. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  791. package/dist/kolibri/kol-split-button.entry.js +1 -1
  792. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  793. package/dist/kolibri/kol-symbol.entry.js +1 -1
  794. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  795. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  796. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  797. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  798. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  799. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  800. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  801. package/dist/kolibri/kol-table.entry.js +1 -1
  802. package/dist/kolibri/kol-table.entry.js.map +1 -1
  803. package/dist/kolibri/kol-tabs.entry.js +1 -1
  804. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  805. package/dist/kolibri/kol-textarea.entry.js +1 -1
  806. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  807. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  808. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  809. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  810. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  811. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  812. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  813. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  814. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  815. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  816. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  817. package/dist/kolibri/kol-tree.entry.js +1 -1
  818. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  819. package/dist/kolibri/kol-version.entry.js +1 -1
  820. package/dist/kolibri/kol-version.entry.js.map +1 -1
  821. package/dist/kolibri/kolibri.esm.js +1 -1
  822. package/dist/kolibri/kolibri.esm.js.map +1 -1
  823. package/dist/kolibri/label-e56ffdc6.js +4 -0
  824. package/dist/kolibri/label-e56ffdc6.js.map +1 -0
  825. package/dist/kolibri/open-deacfbd7.js +4 -0
  826. package/dist/kolibri/open-deacfbd7.js.map +1 -0
  827. package/dist/kolibri/prop.validators-29d576d2.js +4 -0
  828. package/dist/kolibri/prop.validators-29d576d2.js.map +1 -0
  829. package/dist/kolibri/reuse-b66836de.js +4 -0
  830. package/dist/kolibri/reuse-b66836de.js.map +1 -0
  831. package/dist/kolibri/rows-005ad248.js +4 -0
  832. package/dist/kolibri/rows-005ad248.js.map +1 -0
  833. package/dist/kolibri/show-34226103.js +4 -0
  834. package/dist/kolibri/show-34226103.js.map +1 -0
  835. package/dist/kolibri/suggestions-d97a6ab9.js +4 -0
  836. package/dist/kolibri/suggestions-d97a6ab9.js.map +1 -0
  837. package/dist/kolibri/tab-index-2cbc1ad1.js +4 -0
  838. package/dist/kolibri/tab-index-2cbc1ad1.js.map +1 -0
  839. package/dist/kolibri/table-data-foot-ed56b062.js +4 -0
  840. package/dist/kolibri/table-data-foot-ed56b062.js.map +1 -0
  841. package/dist/kolibri/table-render-function-835a18a0.js.map +1 -1
  842. package/dist/kolibri/{toaster-12097d83.js → toaster-18d16ce1.js} +1 -1
  843. package/dist/kolibri/toaster-18d16ce1.js.map +1 -0
  844. package/dist/kolibri/{toaster-4eb33f18.js → toaster-b6d0fa6b.js} +1 -1
  845. package/dist/kolibri/tooltip-align-c13a7aa7.js +4 -0
  846. package/dist/kolibri/tooltip-align-c13a7aa7.js.map +1 -0
  847. package/dist/kolibri/validation-561836d9.js +4 -0
  848. package/dist/kolibri/validation-561836d9.js.map +1 -0
  849. package/dist/kolibri/validation-c2d11c8c.js +4 -0
  850. package/dist/kolibri/validation-c2d11c8c.js.map +1 -0
  851. package/dist/types/components/@deprecated/input/controller-icon.d.ts +1 -1
  852. package/dist/types/components/@deprecated/input/controller.d.ts +1 -1
  853. package/dist/types/components/@deprecated/input/types-icon.d.ts +1 -1
  854. package/dist/types/components/@deprecated/input/types.d.ts +1 -1
  855. package/dist/types/components/@shared/form-field-msg.d.ts +1 -1
  856. package/dist/types/components/abbr/component.d.ts +1 -1
  857. package/dist/types/components/abbr/test/html.mock.d.ts +1 -1
  858. package/dist/types/components/accordion/component.d.ts +1 -1
  859. package/dist/types/components/accordion/test/html.mock.d.ts +1 -1
  860. package/dist/types/components/alert/component.d.ts +1 -1
  861. package/dist/types/components/alert/shadow.d.ts +1 -1
  862. package/dist/types/components/alert/test/html.mock.d.ts +1 -1
  863. package/dist/types/components/avatar/component.d.ts +1 -1
  864. package/dist/types/components/avatar/shadow.d.ts +1 -1
  865. package/dist/types/components/avatar/test/html.mock.d.ts +1 -1
  866. package/dist/types/components/badge/component.d.ts +1 -1
  867. package/dist/types/components/badge/test/html.mock.d.ts +1 -1
  868. package/dist/types/components/breadcrumb/component.d.ts +1 -1
  869. package/dist/types/components/breadcrumb/test/html.mock.d.ts +1 -1
  870. package/dist/types/components/button/component.d.ts +1 -1
  871. package/dist/types/components/button/shadow.d.ts +1 -1
  872. package/dist/types/components/button/test/html.mock.d.ts +1 -1
  873. package/dist/types/components/button-group/component.d.ts +1 -1
  874. package/dist/types/components/button-group/shadow.d.ts +1 -1
  875. package/dist/types/components/button-link/component.d.ts +1 -1
  876. package/dist/types/components/button-link/test/html.mock.d.ts +1 -1
  877. package/dist/types/components/card/component.d.ts +1 -1
  878. package/dist/types/components/card/test/html.mock.d.ts +1 -1
  879. package/dist/types/components/details/component.d.ts +2 -2
  880. package/dist/types/components/details/test/html.mock.d.ts +1 -1
  881. package/dist/types/components/form/component.d.ts +1 -1
  882. package/dist/types/components/form/test/html.mock.d.ts +1 -1
  883. package/dist/types/components/heading/component.d.ts +1 -1
  884. package/dist/types/components/heading/shadow.d.ts +1 -1
  885. package/dist/types/components/heading/test/html.mock.d.ts +1 -1
  886. package/dist/types/components/heading/validation.d.ts +1 -1
  887. package/dist/types/components/icon/component.d.ts +1 -1
  888. package/dist/types/components/icon/test/html.mock.d.ts +1 -1
  889. package/dist/types/components/image/shadow.d.ts +1 -1
  890. package/dist/types/components/image/test/html.mock.d.ts +1 -1
  891. package/dist/types/components/indented-text/component.d.ts +1 -1
  892. package/dist/types/components/indented-text/test/html.mock.d.ts +1 -1
  893. package/dist/types/components/input/component.d.ts +2 -2
  894. package/dist/types/components/input/controller.d.ts +1 -1
  895. package/dist/types/components/input/test/html.mock.d.ts +1 -1
  896. package/dist/types/components/input/types.d.ts +1 -1
  897. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +1 -1
  898. package/dist/types/components/input-checkbox/component.d.ts +1 -1
  899. package/dist/types/components/input-checkbox/controller.d.ts +1 -1
  900. package/dist/types/components/input-checkbox/test/html.mock.d.ts +1 -1
  901. package/dist/types/components/input-color/component.d.ts +1 -1
  902. package/dist/types/components/input-color/controller.d.ts +1 -1
  903. package/dist/types/components/input-color/test/html.mock.d.ts +1 -1
  904. package/dist/types/components/input-date/component.d.ts +2 -2
  905. package/dist/types/components/input-date/controller.d.ts +1 -1
  906. package/dist/types/components/input-date/test/html.mock.d.ts +1 -1
  907. package/dist/types/components/input-email/component.d.ts +1 -1
  908. package/dist/types/components/input-email/controller.d.ts +1 -1
  909. package/dist/types/components/input-email/test/html.mock.d.ts +1 -1
  910. package/dist/types/components/input-file/component.d.ts +1 -1
  911. package/dist/types/components/input-file/controller.d.ts +1 -1
  912. package/dist/types/components/input-file/test/html.mock.d.ts +1 -1
  913. package/dist/types/components/input-number/component.d.ts +1 -1
  914. package/dist/types/components/input-number/controller.d.ts +1 -1
  915. package/dist/types/components/input-number/test/html.mock.d.ts +1 -1
  916. package/dist/types/components/input-password/component.d.ts +1 -1
  917. package/dist/types/components/input-password/controller.d.ts +1 -1
  918. package/dist/types/components/input-password/test/html.mock.d.ts +1 -1
  919. package/dist/types/components/input-radio/component.d.ts +1 -1
  920. package/dist/types/components/input-radio/controller.d.ts +1 -1
  921. package/dist/types/components/input-radio/test/html.mock.d.ts +1 -1
  922. package/dist/types/components/input-range/component.d.ts +1 -1
  923. package/dist/types/components/input-range/controller.d.ts +1 -1
  924. package/dist/types/components/input-range/test/html.mock.d.ts +1 -1
  925. package/dist/types/components/input-text/component.d.ts +1 -1
  926. package/dist/types/components/input-text/controller.d.ts +1 -1
  927. package/dist/types/components/input-text/test/html.mock.d.ts +1 -1
  928. package/dist/types/components/kolibri/component.d.ts +1 -1
  929. package/dist/types/components/link/component.d.ts +1 -1
  930. package/dist/types/components/link/shadow.d.ts +1 -1
  931. package/dist/types/components/link/test/html.mock.d.ts +1 -1
  932. package/dist/types/components/link-button/component.d.ts +1 -1
  933. package/dist/types/components/link-group/component.d.ts +1 -1
  934. package/dist/types/components/modal/component.d.ts +1 -1
  935. package/dist/types/components/nav/component.d.ts +1 -1
  936. package/dist/types/components/nav/validation.d.ts +1 -1
  937. package/dist/types/components/pagination/component.d.ts +1 -1
  938. package/dist/types/components/popover/component.d.ts +1 -1
  939. package/dist/types/components/popover/test/html.mock.d.ts +1 -1
  940. package/dist/types/components/progress/component.d.ts +1 -1
  941. package/dist/types/components/quote/shadow.d.ts +1 -1
  942. package/dist/types/components/quote/test/html.mock.d.ts +1 -1
  943. package/dist/types/components/select/component.d.ts +1 -1
  944. package/dist/types/components/select/controller.d.ts +1 -1
  945. package/dist/types/components/skip-nav/component.d.ts +1 -1
  946. package/dist/types/components/span/component.d.ts +1 -1
  947. package/dist/types/components/span/shadow.d.ts +1 -1
  948. package/dist/types/components/span/test/html.mock.d.ts +1 -1
  949. package/dist/types/components/spin/component.d.ts +1 -1
  950. package/dist/types/components/spin/test/html.mock.d.ts +1 -1
  951. package/dist/types/components/split-button/component.d.ts +1 -1
  952. package/dist/types/components/symbol/component.d.ts +1 -1
  953. package/dist/types/components/symbol/test/html.mock.d.ts +1 -1
  954. package/dist/types/components/table/component.d.ts +1 -1
  955. package/dist/types/components/table-stateful/component.d.ts +1 -1
  956. package/dist/types/components/table-stateless/component.d.ts +1 -1
  957. package/dist/types/components/table-stateless/shadow.d.ts +1 -1
  958. package/dist/types/components/tabs/component.d.ts +1 -1
  959. package/dist/types/components/textarea/component.d.ts +1 -1
  960. package/dist/types/components/textarea/controller.d.ts +1 -1
  961. package/dist/types/components/toaster/InternalToast.d.ts +1 -1
  962. package/dist/types/components/toaster/component.d.ts +1 -1
  963. package/dist/types/components/toaster/toaster.d.ts +1 -1
  964. package/dist/types/components/tooltip/component.d.ts +1 -1
  965. package/dist/types/components/tooltip/test/html.mock.d.ts +1 -1
  966. package/dist/types/components/tree/component.d.ts +1 -1
  967. package/dist/types/components/tree/shadow.d.ts +1 -1
  968. package/dist/types/components/tree-item/component.d.ts +1 -1
  969. package/dist/types/components/tree-item/shadow.d.ts +1 -1
  970. package/dist/types/components/version/component.d.ts +1 -1
  971. package/dist/types/components/version/test/html.mock.d.ts +1 -1
  972. package/dist/types/components.d.ts +2 -2
  973. package/dist/types/index.d.ts +3 -3
  974. package/dist/types/schema/components/abbr.d.ts +10 -0
  975. package/dist/types/schema/components/accordion.d.ts +18 -0
  976. package/dist/types/schema/components/alert.d.ts +23 -0
  977. package/dist/types/schema/components/avatar.d.ts +10 -0
  978. package/dist/types/schema/components/badge.d.ts +23 -0
  979. package/dist/types/schema/components/breadcrumb.d.ts +17 -0
  980. package/dist/types/schema/components/button-group.d.ts +9 -0
  981. package/dist/types/schema/components/button-link.d.ts +8 -0
  982. package/dist/types/schema/components/button.d.ts +15 -0
  983. package/dist/types/schema/components/card.d.ts +17 -0
  984. package/dist/types/schema/components/details.d.ts +16 -0
  985. package/dist/types/schema/components/form.d.ts +19 -0
  986. package/dist/types/schema/components/heading.d.ts +17 -0
  987. package/dist/types/schema/components/icon.d.ts +12 -0
  988. package/dist/types/schema/components/image.d.ts +21 -0
  989. package/dist/types/schema/components/indented-text.d.ts +9 -0
  990. package/dist/types/schema/components/index.d.ts +1 -0
  991. package/dist/types/schema/components/input-checkbox.d.ts +53 -0
  992. package/dist/types/schema/components/input-color.d.ts +37 -0
  993. package/dist/types/schema/components/input-date.d.ts +34 -0
  994. package/dist/types/schema/components/input-email.d.ts +44 -0
  995. package/dist/types/schema/components/input-file.d.ts +34 -0
  996. package/dist/types/schema/components/input-number.d.ts +33 -0
  997. package/dist/types/schema/components/input-password.d.ts +43 -0
  998. package/dist/types/schema/components/input-radio.d.ts +31 -0
  999. package/dist/types/schema/components/input-range.d.ts +39 -0
  1000. package/dist/types/schema/components/input-text.d.ts +46 -0
  1001. package/dist/types/schema/components/input.d.ts +16 -0
  1002. package/dist/types/schema/components/kolibri.d.ts +21 -0
  1003. package/dist/types/schema/components/link-button.d.ts +7 -0
  1004. package/dist/types/schema/components/link-group.d.ts +22 -0
  1005. package/dist/types/schema/components/link.d.ts +14 -0
  1006. package/dist/types/schema/components/modal.d.ts +20 -0
  1007. package/dist/types/schema/components/nav.d.ts +19 -0
  1008. package/dist/types/schema/components/pagination.d.ts +41 -0
  1009. package/dist/types/schema/components/popover.d.ts +12 -0
  1010. package/dist/types/schema/components/progress.d.ts +22 -0
  1011. package/dist/types/schema/components/quote.d.ts +19 -0
  1012. package/dist/types/schema/components/select.d.ts +33 -0
  1013. package/dist/types/schema/components/skip-nav.d.ts +16 -0
  1014. package/dist/types/schema/components/span.d.ts +22 -0
  1015. package/dist/types/schema/components/spin.d.ts +10 -0
  1016. package/dist/types/schema/components/split-button.d.ts +13 -0
  1017. package/dist/types/schema/components/symbol.d.ts +12 -0
  1018. package/dist/types/schema/components/table.d.ts +56 -0
  1019. package/dist/types/schema/components/tableStateless.d.ts +20 -0
  1020. package/dist/types/schema/components/tabs.d.ts +35 -0
  1021. package/dist/types/schema/components/textarea.d.ts +40 -0
  1022. package/dist/types/schema/components/toaster.d.ts +33 -0
  1023. package/dist/types/schema/components/tooltip.d.ts +10 -0
  1024. package/dist/types/schema/components/tree-item.d.ts +12 -0
  1025. package/dist/types/schema/components/tree.d.ts +10 -0
  1026. package/dist/types/schema/components/version.d.ts +10 -0
  1027. package/dist/types/schema/enums/events.d.ts +20 -0
  1028. package/dist/types/schema/enums/index.d.ts +1 -0
  1029. package/dist/types/schema/i18n-keys.d.ts +27 -0
  1030. package/dist/types/schema/index.d.ts +7 -0
  1031. package/dist/types/schema/props/access-key.d.ts +6 -0
  1032. package/dist/types/schema/props/active.d.ts +7 -0
  1033. package/dist/types/schema/props/adjust-height.d.ts +6 -0
  1034. package/dist/types/schema/props/alert.d.ts +6 -0
  1035. package/dist/types/schema/props/align.d.ts +12 -0
  1036. package/dist/types/schema/props/alternative-button-link-role.d.ts +6 -0
  1037. package/dist/types/schema/props/aria-controls.d.ts +7 -0
  1038. package/dist/types/schema/props/aria-current-value.d.ts +8 -0
  1039. package/dist/types/schema/props/aria-expanded.d.ts +7 -0
  1040. package/dist/types/schema/props/aria-selected.d.ts +7 -0
  1041. package/dist/types/schema/props/button-callbacks.d.ts +12 -0
  1042. package/dist/types/schema/props/button-type.d.ts +8 -0
  1043. package/dist/types/schema/props/button-variant.d.ts +8 -0
  1044. package/dist/types/schema/props/checked.d.ts +6 -0
  1045. package/dist/types/schema/props/collapsible.d.ts +6 -0
  1046. package/dist/types/schema/props/color.d.ts +16 -0
  1047. package/dist/types/schema/props/custom-class.d.ts +6 -0
  1048. package/dist/types/schema/props/disabled.d.ts +6 -0
  1049. package/dist/types/schema/props/download.d.ts +6 -0
  1050. package/dist/types/schema/props/error-list.d.ts +9 -0
  1051. package/dist/types/schema/props/has-closer.d.ts +6 -0
  1052. package/dist/types/schema/props/has-compact-button.d.ts +7 -0
  1053. package/dist/types/schema/props/has-counter.d.ts +6 -0
  1054. package/dist/types/schema/props/has-icons-when-expanded.d.ts +6 -0
  1055. package/dist/types/schema/props/heading-variant.d.ts +8 -0
  1056. package/dist/types/schema/props/hide-error.d.ts +7 -0
  1057. package/dist/types/schema/props/hide-label.d.ts +7 -0
  1058. package/dist/types/schema/props/href.d.ts +8 -0
  1059. package/dist/types/schema/props/icons.d.ts +11 -0
  1060. package/dist/types/schema/props/id.d.ts +6 -0
  1061. package/dist/types/schema/props/image-source.d.ts +7 -0
  1062. package/dist/types/schema/props/indeterminate.d.ts +6 -0
  1063. package/dist/types/schema/props/index.d.ts +1 -0
  1064. package/dist/types/schema/props/label.d.ts +17 -0
  1065. package/dist/types/schema/props/link-on-callbacks.d.ts +10 -0
  1066. package/dist/types/schema/props/link-target.d.ts +6 -0
  1067. package/dist/types/schema/props/loading.d.ts +5 -0
  1068. package/dist/types/schema/props/max.d.ts +8 -0
  1069. package/dist/types/schema/props/msg.d.ts +9 -0
  1070. package/dist/types/schema/props/multiple.d.ts +6 -0
  1071. package/dist/types/schema/props/name.d.ts +7 -0
  1072. package/dist/types/schema/props/open.d.ts +7 -0
  1073. package/dist/types/schema/props/options.d.ts +14 -0
  1074. package/dist/types/schema/props/pagination-position.d.ts +8 -0
  1075. package/dist/types/schema/props/read-only.d.ts +6 -0
  1076. package/dist/types/schema/props/required.d.ts +7 -0
  1077. package/dist/types/schema/props/rows.d.ts +6 -0
  1078. package/dist/types/schema/props/show.d.ts +7 -0
  1079. package/dist/types/schema/props/suggestions.d.ts +8 -0
  1080. package/dist/types/schema/props/sync-value-by-selector.d.ts +4 -0
  1081. package/dist/types/schema/props/table-callbacks.d.ts +15 -0
  1082. package/dist/types/schema/props/table-data-foot.d.ts +8 -0
  1083. package/dist/types/schema/props/table-data.d.ts +8 -0
  1084. package/dist/types/schema/props/table-header-cells.d.ts +11 -0
  1085. package/dist/types/schema/props/tooltip-align.d.ts +7 -0
  1086. package/dist/types/schema/props/touched.d.ts +6 -0
  1087. package/dist/types/schema/props/variant/spin.d.ts +8 -0
  1088. package/dist/types/schema/tag-names.d.ts +54 -0
  1089. package/dist/types/schema/types/button-link-text.d.ts +23 -0
  1090. package/dist/types/schema/types/callbacks.d.ts +5 -0
  1091. package/dist/types/schema/types/common.d.ts +1 -0
  1092. package/dist/types/schema/types/icons.d.ts +19 -0
  1093. package/dist/types/schema/types/index.d.ts +1 -0
  1094. package/dist/types/schema/types/input/control/number.d.ts +27 -0
  1095. package/dist/types/schema/types/input/control/text.d.ts +2 -0
  1096. package/dist/types/schema/types/input/iso8601.d.ts +14 -0
  1097. package/dist/types/schema/types/input/types.d.ts +32 -0
  1098. package/dist/types/schema/types/modal.d.ts +3 -0
  1099. package/dist/types/schema/types/orientation.d.ts +2 -0
  1100. package/dist/types/schema/types/progress.d.ts +5 -0
  1101. package/dist/types/schema/types/table.d.ts +17 -0
  1102. package/dist/types/schema/types/unknown.d.ts +1 -0
  1103. package/dist/types/schema/types/w3c.d.ts +1 -0
  1104. package/dist/types/schema/utils/a11y.tipps.d.ts +13 -0
  1105. package/dist/types/schema/utils/contrast/color-rgba.d.ts +1 -0
  1106. package/dist/types/schema/utils/contrast/contrast.d.ts +13 -0
  1107. package/dist/types/schema/utils/contrast/index.d.ts +1 -0
  1108. package/dist/types/schema/utils/contrast/rgba-convert.d.ts +1 -0
  1109. package/dist/types/schema/utils/dev.utils.d.ts +29 -0
  1110. package/dist/types/schema/utils/index.d.ts +1 -0
  1111. package/dist/types/schema/utils/prop.validators.d.ts +63 -0
  1112. package/dist/types/schema/utils/reuse.d.ts +7 -0
  1113. package/dist/types/schema/validators/alignment.d.ts +3 -0
  1114. package/dist/types/schema/validators/common.d.ts +4 -0
  1115. package/dist/types/schema/validators/index.d.ts +1 -0
  1116. package/dist/types/schema/validators/options.d.ts +2 -0
  1117. package/dist/types/schema/validators/tab-index.d.ts +2 -0
  1118. package/dist/types/schema/validators/window.d.ts +0 -0
  1119. package/dist/types/utils/align-floating-elements.d.ts +1 -1
  1120. package/doc/input-checkbox.md +1 -1
  1121. package/doc/input-color.md +1 -1
  1122. package/doc/input-date.md +1 -1
  1123. package/doc/input-email.md +1 -1
  1124. package/doc/input-file.md +1 -1
  1125. package/doc/input-number.md +1 -1
  1126. package/doc/input-password.md +1 -1
  1127. package/doc/input-radio.md +1 -1
  1128. package/doc/input-range.md +1 -1
  1129. package/doc/input-text.md +1 -1
  1130. package/doc/select.md +1 -1
  1131. package/doc/tabs.md +1 -1
  1132. package/doc/textarea.md +1 -1
  1133. package/doc/toaster.md +1 -1
  1134. package/package.json +1 -1
  1135. package/dist/cjs/app-globals-08227ea9.js +0 -4
  1136. package/dist/cjs/app-globals-08227ea9.js.map +0 -1
  1137. package/dist/cjs/associated.controller-0defb8ca.js +0 -4
  1138. package/dist/cjs/associated.controller-0defb8ca.js.map +0 -1
  1139. package/dist/cjs/controller-2a04b820.js +0 -4
  1140. package/dist/cjs/controller-2a04b820.js.map +0 -1
  1141. package/dist/cjs/controller-5d8d3f88.js +0 -4
  1142. package/dist/cjs/controller-5d8d3f88.js.map +0 -1
  1143. package/dist/cjs/controller-69d0b6e3.js +0 -4
  1144. package/dist/cjs/controller-69d0b6e3.js.map +0 -1
  1145. package/dist/cjs/controller-cb2152bf.js +0 -4
  1146. package/dist/cjs/controller-cb2152bf.js.map +0 -1
  1147. package/dist/cjs/controller-dc7f3a60.js +0 -4
  1148. package/dist/cjs/controller-dc7f3a60.js.map +0 -1
  1149. package/dist/cjs/controller-icon-e9a7c0dd.js +0 -4
  1150. package/dist/cjs/controller-icon-e9a7c0dd.js.map +0 -1
  1151. package/dist/cjs/dev.utils-1e67d391.js +0 -4
  1152. package/dist/cjs/dev.utils-1e67d391.js.map +0 -1
  1153. package/dist/cjs/devtools-23724a90.js +0 -4
  1154. package/dist/cjs/devtools-23724a90.js.map +0 -1
  1155. package/dist/cjs/index-26a11fc3.js +0 -4
  1156. package/dist/cjs/index-26a11fc3.js.map +0 -1
  1157. package/dist/cjs/validation-89c93141.js +0 -4
  1158. package/dist/cjs/validation-89c93141.js.map +0 -1
  1159. package/dist/cjs/validation-db50789a.js +0 -4
  1160. package/dist/cjs/validation-db50789a.js.map +0 -1
  1161. package/dist/components/index3.js +0 -4
  1162. package/dist/components/index3.js.map +0 -1
  1163. package/dist/esm/app-globals-a87698fc.js +0 -4
  1164. package/dist/esm/app-globals-a87698fc.js.map +0 -1
  1165. package/dist/esm/associated.controller-47f177a8.js +0 -4
  1166. package/dist/esm/associated.controller-47f177a8.js.map +0 -1
  1167. package/dist/esm/controller-06b047bd.js +0 -4
  1168. package/dist/esm/controller-06b047bd.js.map +0 -1
  1169. package/dist/esm/controller-09ce054b.js +0 -4
  1170. package/dist/esm/controller-5207185b.js +0 -4
  1171. package/dist/esm/controller-5207185b.js.map +0 -1
  1172. package/dist/esm/controller-603b7d2b.js +0 -4
  1173. package/dist/esm/controller-603b7d2b.js.map +0 -1
  1174. package/dist/esm/controller-9c8cf4ce.js +0 -4
  1175. package/dist/esm/controller-9c8cf4ce.js.map +0 -1
  1176. package/dist/esm/controller-icon-23f9943c.js +0 -4
  1177. package/dist/esm/controller-icon-23f9943c.js.map +0 -1
  1178. package/dist/esm/dev.utils-ba0ad340.js +0 -4
  1179. package/dist/esm/dev.utils-ba0ad340.js.map +0 -1
  1180. package/dist/esm/devtools-8b54d55c.js +0 -4
  1181. package/dist/esm/devtools-8b54d55c.js.map +0 -1
  1182. package/dist/esm/index-44da6e7f.js +0 -4
  1183. package/dist/esm/index-44da6e7f.js.map +0 -1
  1184. package/dist/esm/validation-61bf6538.js +0 -4
  1185. package/dist/esm/validation-61bf6538.js.map +0 -1
  1186. package/dist/esm/validation-daa38230.js +0 -4
  1187. package/dist/esm/validation-daa38230.js.map +0 -1
  1188. package/dist/kolibri/app-globals-a87698fc.js +0 -4
  1189. package/dist/kolibri/app-globals-a87698fc.js.map +0 -1
  1190. package/dist/kolibri/associated.controller-47f177a8.js +0 -4
  1191. package/dist/kolibri/associated.controller-47f177a8.js.map +0 -1
  1192. package/dist/kolibri/controller-06b047bd.js +0 -4
  1193. package/dist/kolibri/controller-06b047bd.js.map +0 -1
  1194. package/dist/kolibri/controller-09ce054b.js +0 -4
  1195. package/dist/kolibri/controller-09ce054b.js.map +0 -1
  1196. package/dist/kolibri/controller-5207185b.js +0 -4
  1197. package/dist/kolibri/controller-5207185b.js.map +0 -1
  1198. package/dist/kolibri/controller-603b7d2b.js +0 -4
  1199. package/dist/kolibri/controller-603b7d2b.js.map +0 -1
  1200. package/dist/kolibri/controller-9c8cf4ce.js +0 -4
  1201. package/dist/kolibri/controller-9c8cf4ce.js.map +0 -1
  1202. package/dist/kolibri/controller-icon-23f9943c.js +0 -4
  1203. package/dist/kolibri/controller-icon-23f9943c.js.map +0 -1
  1204. package/dist/kolibri/dev.utils-ba0ad340.js +0 -4
  1205. package/dist/kolibri/dev.utils-ba0ad340.js.map +0 -1
  1206. package/dist/kolibri/devtools-8b54d55c.js +0 -4
  1207. package/dist/kolibri/devtools-8b54d55c.js.map +0 -1
  1208. package/dist/kolibri/index-44da6e7f.js +0 -4
  1209. package/dist/kolibri/index-44da6e7f.js.map +0 -1
  1210. package/dist/kolibri/toaster-12097d83.js.map +0 -1
  1211. package/dist/kolibri/validation-61bf6538.js +0 -4
  1212. package/dist/kolibri/validation-61bf6538.js.map +0 -1
  1213. package/dist/kolibri/validation-daa38230.js +0 -4
  1214. package/dist/kolibri/validation-daa38230.js.map +0 -1
  1215. /package/dist/kolibri/{index-e9e31210.js.map → index-a55b574c.js.map} +0 -0
  1216. /package/dist/kolibri/{toaster-4eb33f18.js.map → toaster-b6d0fa6b.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["locale_de","error","warning","info","success","message","close","of","characters","new","pagination","page","version","locale_en","mapLocaleKeys","locale","Object","keys","reduce","a","c","translations","Set","t","translate","key","options","i18n","getI18nInstance","text","addTranslations","processEnv"],"sources":["src/locales/de.ts","src/locales/en.ts","src/i18n.ts"],"sourcesContent":["export default {\n\terror: 'Fehler',\n\twarning: 'Warnung',\n\tinfo: 'Hinweis',\n\tsuccess: 'Erfolg',\n\tmessage: 'Nachricht',\n\tclose: 'Schließen',\n\t'form-description': 'Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.',\n\tof: 'von',\n\tcharacters: 'Zeichen',\n\tnew: 'Neu',\n\t'no-entries': 'Es sind keine Einträge vorhanden.',\n\t'change-order': 'Sortierung von {{colLabel}} ändern',\n\t'action-running': 'Aktion wird ausgeführt...',\n\t'action-done': 'Aktion abgeschlossen',\n\tpagination: 'Paginierung',\n\t'page-first': 'Direkt zur ersten Seite',\n\t'page-back': 'Eine Seite zurück',\n\t'page-next': 'Eine Seite weiter',\n\t'page-last': 'Direkt zur letzten Seite',\n\t'entries-per-site': 'Einträge pro Seite',\n\tpage: 'Seite',\n\t'page-current': 'Seite {{page}}',\n\t'page-selected': 'Seite {{page}} ist ausgewählt',\n\t'page-per-site': '{{entries}} Einträge pro Seite',\n\t'nav-maximize': 'Navigation maximieren',\n\t'nav-minimize': 'Navigation minimieren',\n\t'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',\n\t'open-link-in-tab': 'Öffnet in neuem Tab.',\n\t'kolibri-logo': 'Logo von KoliBri',\n\t'table-pagination-label': 'Paginierung für die Tabelle {{label}}',\n\t'avatar-alt': 'Avatar von {{name}}',\n\t'split-button-dropdown-label-open': 'Optionen anzeigen',\n\t'split-button-dropdown-label-close': 'Optionen schließen',\n\t'toast-close-all': 'Alle schließen',\n\t'error-list': 'Fehlerliste',\n\t'error-list-message': 'Bitte korrigieren Sie folgende Fehler:',\n\tversion: 'Versionsnummer',\n\t'table-visible-range': 'Einträge {{start}} bis {{end}} von {{total}}',\n};\n","export default {\n\terror: 'Error',\n\twarning: 'Warning',\n\tinfo: 'Note',\n\tsuccess: 'Success',\n\tmessage: 'Message',\n\tclose: 'Close',\n\t'form-description': 'Form fields marked with an asterisk (*) are mandatory.',\n\tof: 'of',\n\tcharacters: 'characters',\n\tnew: 'New',\n\t'no-entries': 'No entries available.',\n\t'change-order': 'Change order of {{colLabel}}',\n\t'action-running': 'Action is running...',\n\t'action-done': 'Action done',\n\tpagination: 'Pagination',\n\t'page-first': 'Directly to the first page',\n\t'page-back': 'One page back',\n\t'page-next': 'One page further',\n\t'page-last': 'Directly to the last page',\n\t'entries-per-site': 'Entries per page',\n\tpage: 'Page',\n\t'page-current': 'Page {{page}}',\n\t'page-selected': 'Page {{page}} is selected',\n\t'page-per-site': '{{entries}} entries per page',\n\t'nav-maximize': 'Maximize navigation',\n\t'nav-minimize': 'Minimize navigation',\n\t'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',\n\t'open-link-in-tab': 'Opens in new tab.',\n\t'kolibri-logo': 'KoliBri logo',\n\t'table-pagination-label': 'Pagination for table {{label}}',\n\t'avatar-alt': 'Avatar of {{name}}',\n\t'split-button-dropdown-label-open': 'Show options',\n\t'split-button-dropdown-label-close': 'Hide options',\n\t'toast-close-all': 'Close all',\n\t'error-list': 'Error list',\n\t'error-list-message': 'Please correct the following errors',\n\tversion: 'Version number',\n\t'table-visible-range': 'Entries {{start}} to {{end}} of {{total}}',\n};\n","import { processEnv } from '@public-ui/schema';\nimport type { Generic } from 'adopted-style-sheets';\nimport { getI18nInstance } from './core/i18n';\nimport locale_de from './locales/de';\nimport locale_en from './locales/en';\n\ntype ResourcePrefix = 'Kol';\ntype ComponentKeys = keyof typeof locale_de;\n\nconst mapLocaleKeys = (locale: { [K in ComponentKeys]: string }) =>\n\t(Object.keys(locale) as ComponentKeys[]).reduce((a, c) => ((a[`${'kol'}-${c}`] = locale[c]), a), {} as Generic.I18n.Map<ResourcePrefix, ComponentKeys>);\n\nconst translations = new Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, ResourcePrefix, ComponentKeys>>([\n\t(t: (language: 'en', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('en', mapLocaleKeys(locale_en)),\n\t(t: (language: 'de', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('de', mapLocaleKeys(locale_de)),\n]);\n\ntype Options = {\n\tcount?: number;\n\tplaceholders?: { [K: string]: string };\n};\n\nexport let translate = (key: `${Lowercase<ResourcePrefix>}-${Lowercase<ComponentKeys>}`, options?: Options) => {\n\tconst i18n = getI18nInstance();\n\tlet text = i18n.translate(key, options);\n\tif (text === key) {\n\t\ti18n.addTranslations(translations);\n\t\ttext = i18n.translate(key, options);\n\t}\n\treturn text;\n};\n\nif (processEnv === 'test') {\n\ttranslate = (key): string => key;\n}\n"],"mappings":";;;+EAAA,MAAAA,EAAe,CACdC,MAAO,SACPC,QAAS,UACTC,KAAM,UACNC,QAAS,SACTC,QAAS,YACTC,MAAO,YACP,mBAAoB,yFACpBC,GAAI,MACJC,WAAY,UACZC,IAAK,MACL,aAAc,oCACd,eAAgB,qCAChB,iBAAkB,4BAClB,cAAe,uBACfC,WAAY,cACZ,aAAc,0BACd,YAAa,oBACb,YAAa,oBACb,YAAa,2BACb,mBAAoB,qBACpBC,KAAM,QACN,eAAgB,iBAChB,gBAAiB,gCACjB,gBAAiB,iCACjB,eAAgB,wBAChB,eAAgB,wBAChB,mBAAoB,4EACpB,mBAAoB,uBACpB,eAAgB,mBAChB,yBAA0B,wCAC1B,aAAc,sBACd,mCAAoC,oBACpC,oCAAqC,qBACrC,kBAAmB,iBACnB,aAAc,cACd,qBAAsB,yCACtBC,QAAS,iBACT,sBAAuB,gDCtCxB,MAAAC,EAAe,CACdZ,MAAO,QACPC,QAAS,UACTC,KAAM,OACNC,QAAS,UACTC,QAAS,UACTC,MAAO,QACP,mBAAoB,yDACpBC,GAAI,KACJC,WAAY,aACZC,IAAK,MACL,aAAc,wBACd,eAAgB,+BAChB,iBAAkB,uBAClB,cAAe,cACfC,WAAY,aACZ,aAAc,6BACd,YAAa,gBACb,YAAa,mBACb,YAAa,4BACb,mBAAoB,mBACpBC,KAAM,OACN,eAAgB,gBAChB,gBAAiB,4BACjB,gBAAiB,+BACjB,eAAgB,sBAChB,eAAgB,sBAChB,mBAAoB,6EACpB,mBAAoB,oBACpB,eAAgB,eAChB,yBAA0B,iCAC1B,aAAc,qBACd,mCAAoC,eACpC,oCAAqC,eACrC,kBAAmB,YACnB,aAAc,aACd,qBAAsB,sCACtBC,QAAS,iBACT,sBAAuB,6CC7BxB,MAAME,EAAiBC,GACrBC,OAAOC,KAAKF,GAA4BG,QAAO,CAACC,EAAGC,KAAQD,EAAE,GAAG,SAASC,KAAOL,EAAOK,GAAKD,IAAI,IAElG,MAAME,EAAe,IAAIC,IAA8F,CACrHC,GAA0HA,EAAE,KAAMT,EAAcD,IAChJU,GAA0HA,EAAE,KAAMT,EAAcd,M,IAQvIwB,EAAY,CAACC,EAAiEC,KACxF,MAAMC,EAAOC,IACb,IAAIC,EAAOF,EAAKH,UAAUC,EAAKC,GAC/B,GAAIG,IAASJ,EAAK,CACjBE,EAAKG,gBAAgBT,GACrBQ,EAAOF,EAAKH,UAAUC,EAAKC,E,CAE5B,OAAOG,CAAI,EAGZ,GAAIE,IAAe,OAAQ,CAC1BP,EAAaC,GAAgBA,CAC9B,Q"}
1
+ {"version":3,"names":["locale_de","error","warning","info","success","message","close","of","characters","new","pagination","page","version","locale_en","mapLocaleKeys","locale","Object","keys","reduce","a","c","translations","Set","t","translate","key","options","i18n","getI18nInstance","text","addTranslations","processEnv"],"sources":["src/locales/de.ts","src/locales/en.ts","src/i18n.ts"],"sourcesContent":["export default {\n\terror: 'Fehler',\n\twarning: 'Warnung',\n\tinfo: 'Hinweis',\n\tsuccess: 'Erfolg',\n\tmessage: 'Nachricht',\n\tclose: 'Schließen',\n\t'form-description': 'Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.',\n\tof: 'von',\n\tcharacters: 'Zeichen',\n\tnew: 'Neu',\n\t'no-entries': 'Es sind keine Einträge vorhanden.',\n\t'change-order': 'Sortierung von {{colLabel}} ändern',\n\t'action-running': 'Aktion wird ausgeführt...',\n\t'action-done': 'Aktion abgeschlossen',\n\tpagination: 'Paginierung',\n\t'page-first': 'Direkt zur ersten Seite',\n\t'page-back': 'Eine Seite zurück',\n\t'page-next': 'Eine Seite weiter',\n\t'page-last': 'Direkt zur letzten Seite',\n\t'entries-per-site': 'Einträge pro Seite',\n\tpage: 'Seite',\n\t'page-current': 'Seite {{page}}',\n\t'page-selected': 'Seite {{page}} ist ausgewählt',\n\t'page-per-site': '{{entries}} Einträge pro Seite',\n\t'nav-maximize': 'Navigation maximieren',\n\t'nav-minimize': 'Navigation minimieren',\n\t'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',\n\t'open-link-in-tab': 'Öffnet in neuem Tab.',\n\t'kolibri-logo': 'Logo von KoliBri',\n\t'table-pagination-label': 'Paginierung für die Tabelle {{label}}',\n\t'avatar-alt': 'Avatar von {{name}}',\n\t'split-button-dropdown-label-open': 'Optionen anzeigen',\n\t'split-button-dropdown-label-close': 'Optionen schließen',\n\t'toast-close-all': 'Alle schließen',\n\t'error-list': 'Fehlerliste',\n\t'error-list-message': 'Bitte korrigieren Sie folgende Fehler:',\n\tversion: 'Versionsnummer',\n\t'table-visible-range': 'Einträge {{start}} bis {{end}} von {{total}}',\n};\n","export default {\n\terror: 'Error',\n\twarning: 'Warning',\n\tinfo: 'Note',\n\tsuccess: 'Success',\n\tmessage: 'Message',\n\tclose: 'Close',\n\t'form-description': 'Form fields marked with an asterisk (*) are mandatory.',\n\tof: 'of',\n\tcharacters: 'characters',\n\tnew: 'New',\n\t'no-entries': 'No entries available.',\n\t'change-order': 'Change order of {{colLabel}}',\n\t'action-running': 'Action is running...',\n\t'action-done': 'Action done',\n\tpagination: 'Pagination',\n\t'page-first': 'Directly to the first page',\n\t'page-back': 'One page back',\n\t'page-next': 'One page further',\n\t'page-last': 'Directly to the last page',\n\t'entries-per-site': 'Entries per page',\n\tpage: 'Page',\n\t'page-current': 'Page {{page}}',\n\t'page-selected': 'Page {{page}} is selected',\n\t'page-per-site': '{{entries}} entries per page',\n\t'nav-maximize': 'Maximize navigation',\n\t'nav-minimize': 'Minimize navigation',\n\t'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',\n\t'open-link-in-tab': 'Opens in new tab.',\n\t'kolibri-logo': 'KoliBri logo',\n\t'table-pagination-label': 'Pagination for table {{label}}',\n\t'avatar-alt': 'Avatar of {{name}}',\n\t'split-button-dropdown-label-open': 'Show options',\n\t'split-button-dropdown-label-close': 'Hide options',\n\t'toast-close-all': 'Close all',\n\t'error-list': 'Error list',\n\t'error-list-message': 'Please correct the following errors',\n\tversion: 'Version number',\n\t'table-visible-range': 'Entries {{start}} to {{end}} of {{total}}',\n};\n","import { processEnv } from './schema';\nimport type { Generic } from 'adopted-style-sheets';\nimport { getI18nInstance } from './core/i18n';\nimport locale_de from './locales/de';\nimport locale_en from './locales/en';\n\ntype ResourcePrefix = 'Kol';\ntype ComponentKeys = keyof typeof locale_de;\n\nconst mapLocaleKeys = (locale: { [K in ComponentKeys]: string }) =>\n\t(Object.keys(locale) as ComponentKeys[]).reduce((a, c) => ((a[`${'kol'}-${c}`] = locale[c]), a), {} as Generic.I18n.Map<ResourcePrefix, ComponentKeys>);\n\nconst translations = new Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, ResourcePrefix, ComponentKeys>>([\n\t(t: (language: 'en', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('en', mapLocaleKeys(locale_en)),\n\t(t: (language: 'de', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('de', mapLocaleKeys(locale_de)),\n]);\n\ntype Options = {\n\tcount?: number;\n\tplaceholders?: { [K: string]: string };\n};\n\nexport let translate = (key: `${Lowercase<ResourcePrefix>}-${Lowercase<ComponentKeys>}`, options?: Options) => {\n\tconst i18n = getI18nInstance();\n\tlet text = i18n.translate(key, options);\n\tif (text === key) {\n\t\ti18n.addTranslations(translations);\n\t\ttext = i18n.translate(key, options);\n\t}\n\treturn text;\n};\n\nif (processEnv === 'test') {\n\ttranslate = (key): string => key;\n}\n"],"mappings":";;;+EAAA,MAAAA,EA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E,KAAMT,EAAcD,IAChJU,GAA0HA,EAAE,KAAMT,EAAcd,M,IAQvIwB,EAAY,CAACC,EAAiEC,KACxF,MAAMC,EAAOC,IACb,IAAIC,EAAOF,EAAKH,UAAUC,EAAKC,GAC/B,GAAIG,IAASJ,EAAK,CACjBE,EAAKG,gBAAgBT,GACrBQ,EAAOF,EAAKH,UAAUC,EAAKC,E,CAE5B,OAAOG,CAAI,EAGZ,GAAIE,IAAe,OAAQ,CAC1BP,EAAaC,GAAgBA,CAC9B,Q"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{o,p as t,w as e}from"./prop.validators-29d576d2.js";import{i,b as n,c as l}from"./reuse-b66836de.js";const c=(t,o,e)=>{l(e)?t[o]=e:i(e,1)&&(t[o]={icon:e})},s=t=>{let o={};return i(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},f=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",s(o))}},d=t=>"object"==typeof t&&null!==t&&(void 0===t.style||n(t.style))&&(void 0===t.label||i(t.label))&&i(t.icon,1),r=(l,n,c={})=>{o(n,(()=>{var o;try{n=t(n)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||i(t,1)||"object"==typeof t&&null!==t&&(i(t.left,1)||d(t.left)||i(t.right,1)||d(t.right)||i(t.top,1)||d(t.top)||i(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),n,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,i)=>{var l,n;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(n=c.hooks)||void 0===n||n.beforePatch(t,o,e,i)),f(e)}}}))}))};export{d as i,r as v};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["mapCustomIcon","state","alignment","icon","isObject","isString","mapIconProp2State","left","top","right","bottom","beforePatchIcon","component","_a","nextState","has","icons","_b","get","_c","set","isIcon","value","style","isStyle","label","validateIcons","options","objectObjectHandler","parseJson","e","watchValidator","valueIsEmptyObject","Object","keys","length","Set","assign","defaultValue","hooks","afterPatch","beforePatch","nextValue","key"],"sources":["src/schema/props/icons.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { AnyIconFontClass, KoliBriCustomIcon, KoliBriIconsProp, KoliBriIconsState } from '../types';\nimport type { Stringified } from '../types/common';\nimport type { WatchOptions } from '../utils';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString, isStyle } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type IconsPropType = Stringified<KoliBriIconsProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcons = {\n\ticons: IconsPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconsState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconsProp): KoliBriIconsState => {\n\tlet state: KoliBriIconsState = {};\n\tif (isString(icon, 1)) {\n\t\tstate = {\n\t\t\tleft: {\n\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t},\n\t\t};\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icons')) {\n\t\tconst icons = component.nextState?.get('_icons') as KoliBriIconsProp;\n\t\tcomponent.nextState?.set('_icons', mapIconProp2State(icons));\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\t(typeof (value as KoliBriCustomIcon).label === 'undefined' || isString((value as KoliBriCustomIcon).label)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcons = (component: Generic.Element.Component, value?: IconsPropType, options: WatchOptions = {}): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconsProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icons',\n\t\t\t(value): boolean => {\n\t\t\t\tconst valueIsEmptyObject = typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tvalueIsEmptyObject ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\t...options,\n\t\t\t\tdefaultValue: {},\n\t\t\t\thooks: {\n\t\t\t\t\tafterPatch: options.hooks?.afterPatch,\n\t\t\t\t\tbeforePatch: (nextValue, nextState, component, key) => {\n\t\t\t\t\t\tif (typeof options.hooks?.beforePatch === 'function') {\n\t\t\t\t\t\t\toptions.hooks?.beforePatch(nextValue, nextState, component, key);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\t});\n};\n"],"mappings":";;;4GAsBA,MAAMA,EAAgB,CAACC,EAA0BC,EAA0BC,KAC1E,GAAIC,EAASD,GAAO,CACnBF,EAAMC,GAAaC,C,MACb,GAAIE,EAASF,EAAM,GAAI,CAC7BF,EAAMC,GAAa,CAClBC,KAAMA,E,GAKF,MAAMG,EAAqBH,IACjC,IAAIF,EAA2B,GAC/B,GAAII,EAASF,EAAM,GAAI,CACtBF,EAAQ,CACPM,KAAM,CACLJ,KAAMA,G,MAGF,UAAWA,IAAS,UAAYA,IAAS,KAAM,CACrDH,EAAcC,EAAO,MAAOE,EAAKK,KACjCR,EAAcC,EAAO,QAASE,EAAKM,OACnCT,EAAcC,EAAO,SAAUE,EAAKO,QACpCV,EAAcC,EAAO,OAAQE,EAAKI,K,CAEnC,OAAON,CAAK,EAGb,MAAMU,EAAmBC,I,UACxB,IAAIC,EAAAD,EAAUE,aAAS,MAAAD,SAAA,SAAAA,EAAEE,IAAI,UAAW,CACvC,MAAMC,GAAQC,EAAAL,EAAUE,aAAS,MAAAG,SAAA,SAAAA,EAAEC,IAAI,WACvCC,EAAAP,EAAUE,aAAS,MAAAK,SAAA,SAAAA,EAAEC,IAAI,SAAUd,EAAkBU,G,SAI1CK,EAAUC,UACfA,IAAU,UACjBA,IAAU,cACDA,EAA4BC,QAAU,aAAeC,EAASF,EAA4BC,iBAC1FD,EAA4BG,QAAU,aAAepB,EAAUiB,EAA4BG,SACpGpB,EAAUiB,EAA4BnB,KAAM,G,MAEhCuB,EAAgB,CAACd,EAAsCU,EAAuBK,EAAwB,MAClHC,EAAoBN,GAAO,K,MAC1B,IACCA,EAAQO,EAA4BP,E,CACnC,MAAOQ,G,CAGTC,EACCnB,EACA,UACCU,IACA,MAAMU,SAA4BV,IAAU,UAAYA,IAAU,MAAQW,OAAOC,KAAKZ,GAAOa,SAAW,EACxG,OACCb,IAAU,MACVU,GACA3B,EAASiB,EAAO,WACRA,IAAU,UACjBA,IAAU,OACTjB,EAASiB,EAAMf,KAAM,IACrBc,EAAOC,EAAMf,OACbF,EAASiB,EAAMb,MAAO,IACtBY,EAAOC,EAAMb,QACbJ,EAASiB,EAAMd,IAAK,IACpBa,EAAOC,EAAMd,MACbH,EAASiB,EAAMZ,OAAQ,IACvBW,EAAOC,EAAMZ,QAAS,GAG1B,IAAI0B,IAAI,CAAC,gBACTd,EAAKW,OAAAI,OAAAJ,OAAAI,OAAA,GAEDV,GAAO,CACVW,aAAc,GACdC,MAAO,CACNC,YAAY3B,EAAAc,EAAQY,SAAK,MAAA1B,SAAA,SAAAA,EAAE2B,WAC3BC,YAAa,CAACC,EAAW5B,EAAWF,EAAW+B,K,QAC9C,WAAW9B,EAAAc,EAAQY,SAAK,MAAA1B,SAAA,SAAAA,EAAE4B,eAAgB,WAAY,EACrDxB,EAAAU,EAAQY,SAAK,MAAAtB,SAAA,SAAAA,EAAEwB,YAAYC,EAAW5B,EAAWF,EAAW+B,E,CAE7DhC,EAAgBC,EAAU,KAI7B,GACA,S"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as o}from"./prop.validators-29d576d2.js";const r=(r,s,a)=>{o(r,"_src",s,a)};export{r as v};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateImageSource","component","value","options","watchString"],"sources":["src/schema/props/image-source.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ImageSourcePropType = string;\n\n/**\n * Sets the image `src` attribute to the given string.\n */\nexport type PropImageSource = {\n\tsrc: ImageSourcePropType;\n};\n\n/* validator */\nexport const validateImageSource = (component: Generic.Element.Component, value?: ImageSourcePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_src', value, options);\n};\n"],"mappings":";;;wDAgBaA,EAAsB,CAACC,EAAsCC,EAA6BC,KACtGC,EAAYH,EAAW,OAAQC,EAAOC,EAAQ,S"}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t={exports:{}};!function(t){!function(e,o){t.exports?t.exports=o():e.log=o()}(e,(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"],i={},s=null;function l(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 r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(n){return"debug"===n&&(n="log"),typeof console!==t&&("trace"===n&&o?r:void 0!==console[n]?l(console,n):void 0!==console.log?l(console,"log"):e)}function c(){for(var o=this.getLevel(),i=0;i<n.length;i++){var s=n[i];this[s]=i<o?e:this.methodFactory(s,o,this.name)}if(this.log=this.debug,typeof console===t&&o<this.levels.SILENT)return"No console available for logging"}function y(e){return function(){typeof console!==t&&(c.call(this),this[e].apply(this,arguments))}}function f(e,t,o){return a(e)||y.apply(this,arguments)}function h(e,o){var l,r,a,y=this,h="loglevel";function u(e){var o=(n[e]||"silent").toUpperCase();if(typeof window!==t&&h){try{return void(window.localStorage[h]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(h)+"="+o+";"}catch(e){}}}function m(){var e;if(typeof window!==t&&h){try{e=window.localStorage[h]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,n=encodeURIComponent(h),i=o.indexOf(n+"=");-1!==i&&(e=/^([^;]+)/.exec(o.slice(i+n.length+1))[1])}catch(e){}return void 0===y.levels[e]&&(e=void 0),e}}function p(e){var t=e;if("string"==typeof t&&void 0!==y.levels[t.toUpperCase()]&&(t=y.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=y.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?h+=":"+e:"symbol"==typeof e&&(h=void 0),y.name=e,y.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},y.methodFactory=o||f,y.getLevel=function(){return null!=a?a:null!=r?r:l},y.setLevel=function(e,t){return a=p(e),!1!==t&&u(a),c.call(y)},y.setDefaultLevel=function(e){r=p(e),m()||y.setLevel(e,!1)},y.resetLevel=function(){a=null,function(){if(typeof window!==t&&h){try{window.localStorage.removeItem(h)}catch(e){}try{window.document.cookie=encodeURIComponent(h)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),c.call(y)},y.enableAll=function(e){y.setLevel(y.levels.TRACE,e)},y.disableAll=function(e){y.setLevel(y.levels.SILENT,e)},y.rebuild=function(){if(s!==y&&(l=p(s.getLevel())),c.call(y),s===y)for(var e in i)i[e].rebuild()},l=p(s?s.getLevel():"WARN");var d=m();null!=d&&(a=p(d)),c.call(y)}(s=new h).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=i[e];return t||(t=i[e]=new h(e,s.methodFactory)),t};var u=typeof window!==t?window.log:void 0;return s.noConflict=function(){return typeof window!==t&&window.log===s&&(window.log=u),s},s.getLoggers=function(){return i},s.default=s,s}))}(t);const n=t.exports,o=(e,t)=>o=>o(e,t),r=(e,t)=>o=>o(e,t,{append:!1}),i={};let l=!0,f=!1;const s=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,c=e=>"string"==typeof e&&s.test(e),u=e=>{if(!1===c(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,s)=>{(s=s??{}).append=s.append??!1,u(e),!0===l&&!1===f&&(f=!0,n.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 i.A11yUi||null===i.A11yUi)&&(i.A11yUi={}),"object"==typeof i.A11yUi&&null!==i.A11yUi&&("object"!=typeof i.A11yUi.Themes||null===i.A11yUi.Themes)&&(i.A11yUi.Themes={}),"object"==typeof i.A11yUi&&null!==i.A11yUi&&"object"==typeof i.A11yUi.Themes&&null!==i.A11yUi.Themes&&("object"!=typeof i.A11yUi.Themes[e]||null===i.A11yUi.Themes[e])&&(i.A11yUi.Themes[e]={}),"object"==typeof i.A11yUi&&null!==i.A11yUi&&"object"==typeof i.A11yUi.Themes&&null!==i.A11yUi.Themes&&"object"==typeof i.A11yUi.Themes[e]&&null!==i.A11yUi.Themes[e]&&(s.append&&"string"==typeof i.A11yUi.Themes[e][t]?i.A11yUi.Themes[e][t]+=o:i.A11yUi.Themes[e][t]=o)},y=(e,t,o,n)=>(u(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((i=>{const s=t[i],l=i.toLowerCase(),r="function"!=typeof n?.transformTagName||["GLOBAL","PROPERTIES"].includes(i)?i:n.transformTagName(l);"string"==typeof s&&s.length>0&&a(e,r.toUpperCase(),s,o)})),e),p=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 p(t)}}return null},d=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},h=()=>"object"==typeof i.A11yUi&&null!==i.A11yUi&&"object"==typeof i.A11yUi.Theme&&null!==i.A11yUi.Theme&&"boolean"==typeof i.A11yUi.Theme.cache&&"object"==typeof i.A11yUi.Theme.encroachCss&&null!==i.A11yUi.Theme.encroachCss&&"string"==typeof i.A11yUi.Theme.encroachCss.mode&&"string"==typeof i.A11yUi.Theme.name,w=()=>!("object"==typeof i.A11yUi&&null!==i.A11yUi&&"object"==typeof i.A11yUi.Theme&&null!==i.A11yUi.Theme&&"default"===i.A11yUi.Theme.name),b=e=>{if(h())return i.A11yUi.Theme;{const t={cache:!0,encroachCss:d(),loglevel:"silent",name:null},o=p(e);return o instanceof HTMLElement&&(t.cache="false"!==o.dataset.themeCache,t.encroachCss=d(o.dataset),t.loglevel="debug"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:"silent",t.name=o.dataset.theme||null),t}},m=(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}),g=(e,t)=>{!1===h()&&w()&&"object"==typeof t&&null!==t&&("fixed"===(t=m(e,t)).detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(("object"!=typeof i.A11yUi||null===i.A11yUi)&&(i.A11yUi={}),i.A11yUi.Theme=t,n.info(`[Theming] Theme "${e}" was set as default theme.`))):n.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode."))};let T=!1;const v=(e,t,o={})=>{!1===T&&(T=!0,l=!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?g(e(((e,t,n)=>y(e,t,n,o))),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,name:o.theme?.name}):n.error("[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.")})),l=!0,"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const i=[];return t.forEach((e=>{const t=e();t instanceof Promise&&i.push(t)})),Promise.all(i)},E=new Map,S=[],j=new Set,R=new Map,A=/--[^;]+/g,L=/:/;("object"!=typeof i.A11yUi||null===i.A11yUi)&&(i.A11yUi={CSS_STYLE_CACHE:R,HYDRATED_HISTORY:S,STYLING_TASK_QUEUE:E});const C=(e,t)=>{let o=t.match(A);if(Array.isArray(o)){o=o.filter((e=>L.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t)}j.add(e)},O=(e,t)=>"object"==typeof i.A11yUi&&null!==i.A11yUi&&"object"==typeof i.A11yUi.Themes&&null!==i.A11yUi.Themes&&"object"==typeof i.A11yUi.Themes[e]&&null!==i.A11yUi.Themes[e]&&"string"==typeof i.A11yUi.Themes[e][t]?i.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",M=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t)}},D=(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)}))}},I=(e,t,o)=>{if(!1!==o){const n=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let i;try{i=[...Array.from(e.adoptedStyleSheets)]}catch{i=[]}"before"===o?.mode?(n.reverse().forEach((e=>t.unshift(e.innerHTML))),i.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(n.forEach((e=>t.push(e.innerHTML))),i.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))))}},H=(e,t,o)=>{const n=t.name||"default";let i;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");i=e.shadowRoot}catch{i=e}if(R.get(n)?.has(e.tagName))$(e,i,R.get(n)?.get(e.tagName),o);else{const s=O(n,"PROPERTIES"),l=O(n,"GLOBAL"),r=O(n,e.tagName);!1===j.has(n)&&C(n,l);const a=[s,l,r];I(i,a,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,a),!0===t.cache&&(!1===R.has(n)&&R.set(n,new Map),R.get(n)?.set(e.tagName,a)),$(e,i,a,o)}},$=(e,t,o,n)=>{M(t),D(t,o),e.style.display=n},z=e=>{"debug"===e.loglevel&&S.push({timestamp:Date.now(),numberOfTasks:E.size})},P=(e,t)=>{E.set(e,{styleDisplay:e.style.display?`${e.style.display}`:null,themeDetails:t})},U=(e,t)=>{P(e,t),z(t)},Y=e=>{E.delete(e)},x=(e,t)=>{Y(e),z(t)},N=e=>{const t=setTimeout((()=>{if(clearTimeout(t),E.has(e)&&e.classList.contains("hydrated")){const{styleDisplay:t,themeDetails:o}=E.get(e);H(e,o,t),x(e,o)}else N(e)}),25)},F=e=>{for(const t of e)if(E.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=E.get(t.target);H(t.target,o,e),x(t.target,o)}},_={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1};let k;try{k=new MutationObserver(F)}catch{k=null}const G=(e,t)=>{U(e,t),k?k.observe(e,_):N(e),e.style.display="none"};class B{constructor(e,t,n){this.createTheme=(e,t)=>r(e,t),this.createTranslation=(e,t)=>o(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}export{y as U,v as _,a as b,G as e,b as j,B as t};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["root","definition","module","exports","log","this","noop","undefinedType","isIE","window","navigator","test","userAgent","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","bind","Function","prototype","call","e","apply","arguments","traceForIE","console","trace","realMethod","undefined","replaceLoggingMethods","level","getLevel","i","length","methodFactory","name","debug","levels","SILENT","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","toUpperCase","localStorage","ignore","document","cookie","encodeURIComponent","getPersistedLevel","storedLevel","cookieName","location","indexOf","exec","slice","clearPersistedLevel","removeItem","normalizeLevel","input","TypeError","TRACE","DEBUG","INFO","WARN","ERROR","setLevel","persist","setDefaultLevel","resetLevel","enableAll","disableAll","rebuild","childName","initialLevel","getLogger","logger","_log","noConflict","getLoggers","H","t","s","P","append","o","u","A","D","I","g","Error","b","a","f","warn","A11yUi","Themes","U","Object","getOwnPropertyNames","forEach","r","n","toLowerCase","m","transformTagName","includes","E","HTMLElement","dataset","theme","parentNode","ShadowRoot","host","S","themeEncroachCss","themeReset","mode","themeEncroachCssMode","w","Theme","cache","encroachCss","z","j","loglevel","themeCache","themeLoglevel","k","detect","Y","info","C","_","Set","Array","isArray","error","Promise","push","all","c","Map","v","L","h","B","G","CSS_STYLE_CACHE","HYDRATED_HISTORY","STYLING_TASK_QUEUE","K","match","filter","createElement","innerHTML","join","querySelector","appendChild","add","T","replace","q","from","childNodes","HTMLStyleElement","tagName","removeChild","F","CSSStyleSheet","replaceSync","adoptedStyleSheets","reverse","insertBefore","firstChild","Q","unshift","cssRules","map","cssText","M","shadowRoot","get","has","$","y","set","style","display","O","timestamp","Date","now","numberOfTasks","size","J","styleDisplay","themeDetails","V","W","delete","R","N","setTimeout","clearTimeout","classList","contains","X","target","Z","attributes","attributeFilter","childList","subtree","p","MutationObserver","ee","observe","te","constructor","createTheme","createTranslation","Prefix","Key","Tag"],"sources":["../../node_modules/.pnpm/loglevel@1.9.1/node_modules/loglevel/lib/loglevel.js","../../node_modules/.pnpm/adopted-style-sheets@1.1.4/node_modules/adopted-style-sheets/dist/index.mjs"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n","import f from\"loglevel\";const H=(e,t)=>s=>s(e,t),P=(e,t)=>s=>s(e,t,{append:!1}),o={};let u=!0,A=!1;const D=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,I=e=>typeof e==\"string\"&&D.test(e),g=e=>{if(I(e)===!1)throw new Error(`[Theming] The theme identifier \"${typeof e==\"string\"?e:\"\"}\" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},b=(e,t,s,a)=>{a=a??{},a.append=a.append??!1,g(e),u===!0&&A===!1&&(A=!0,f.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);`)),(typeof o.A11yUi!=\"object\"||o.A11yUi===null)&&(o.A11yUi={}),typeof o.A11yUi==\"object\"&&o.A11yUi!==null&&(typeof o.A11yUi.Themes!=\"object\"||o.A11yUi.Themes===null)&&(o.A11yUi.Themes={}),typeof o.A11yUi==\"object\"&&o.A11yUi!==null&&typeof o.A11yUi.Themes==\"object\"&&o.A11yUi.Themes!==null&&(typeof o.A11yUi.Themes[e]!=\"object\"||o.A11yUi.Themes[e]===null)&&(o.A11yUi.Themes[e]={}),typeof o.A11yUi==\"object\"&&o.A11yUi!==null&&typeof o.A11yUi.Themes==\"object\"&&o.A11yUi.Themes!==null&&typeof o.A11yUi.Themes[e]==\"object\"&&o.A11yUi.Themes[e]!==null&&(a.append&&typeof o.A11yUi.Themes[e][t]==\"string\"?o.A11yUi.Themes[e][t]+=s:o.A11yUi.Themes[e][t]=s)},U=(e,t,s,a)=>(g(e),typeof t==\"object\"&&t!==null&&Object.getOwnPropertyNames(t).forEach(r=>{const n=t[r],i=r.toLowerCase(),m=typeof a?.transformTagName==\"function\"&&![\"GLOBAL\",\"PROPERTIES\"].includes(r)?a.transformTagName(i):r;typeof n==\"string\"&&n.length>0&&b(e,m.toUpperCase(),n,s)}),e),E=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme==\"string\")return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return E(t)}}else return null},S=(e={})=>e.themeEncroachCss===\"false\"||e.themeReset===\"true\"?!1:{mode:e.themeEncroachCssMode===\"after\"||e.themeEncroachCssMode===\"before\"?e.themeEncroachCssMode:\"before\"},w=()=>typeof o.A11yUi==\"object\"&&o.A11yUi!==null&&typeof o.A11yUi.Theme==\"object\"&&o.A11yUi.Theme!==null&&typeof o.A11yUi.Theme.cache==\"boolean\"&&typeof o.A11yUi.Theme.encroachCss==\"object\"&&o.A11yUi.Theme.encroachCss!==null&&typeof o.A11yUi.Theme.encroachCss.mode==\"string\"&&typeof o.A11yUi.Theme.name==\"string\",z=()=>!(typeof o.A11yUi==\"object\"&&o.A11yUi!==null)||!(typeof o.A11yUi.Theme==\"object\"&&o.A11yUi.Theme!==null)||o.A11yUi.Theme.name!==\"default\",j=e=>{if(w())return o.A11yUi.Theme;{const t={cache:!0,encroachCss:S(),loglevel:\"silent\",name:null},s=E(e);return s instanceof HTMLElement&&(t.cache=s.dataset.themeCache!==\"false\",t.encroachCss=S(s.dataset),t.loglevel=s.dataset.themeLoglevel===\"debug\"?s.dataset.themeLoglevel:\"silent\",t.name=s.dataset.theme||null),t}},x=e=>j(e).name,k=(e,t)=>({cache:t.cache!==!1,detect:t.detect===\"auto\"?\"auto\":\"fixed\",encroachCss:t.encroachCss===!1?!1:typeof t.encroachCss==\"object\"&&t.encroachCss!=null&&(t.encroachCss.mode===\"after\"||t.encroachCss.mode===\"before\")?t.encroachCss:{mode:\"before\"},loglevel:t.loglevel===\"debug\"?t.loglevel:\"silent\",name:typeof t.name==\"string\"?t.name:e}),Y=(e,t)=>{w()===!1&&z()&&typeof t==\"object\"&&t!==null&&(t=k(e,t),t.detect===\"fixed\"?(t.name===null&&typeof e==\"string\"&&(t.name=e),e===t.name&&((typeof o.A11yUi!=\"object\"||o.A11yUi===null)&&(o.A11yUi={}),o.A11yUi.Theme=t,f.info(`[Theming] Theme \"${e}\" was set as default theme.`))):f.warn(\"[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.\"))};let C=!1;const _=(e,t,s={})=>{C===!1&&(C=!0,u=!1),typeof e==\"function\"?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach(r=>{typeof r==\"function\"&&r.length===1?Y(r((n,i,m)=>U(n,i,m,s)),{cache:s.theme?.cache,detect:s.theme?.detect,encroachCss:s.theme?.encroachCss,name:s.theme?.name}):f.error(\"[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.\")}),u=!0,typeof t==\"function\"?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const a=[];return t.forEach(r=>{const n=r();n instanceof Promise&&a.push(n)}),Promise.all(a)},l=class{constructor(e,t){this.store=this.createStore(e,t)}static getInstance(e,t){let s=l.instances.get(e);return s===void 0&&(s=new l(t,e),l.instances.set(e,s)),s}createStore(e,t){return Object.defineProperty(e,t,{enumerable:!1,value:{},writable:!1}),e[t]}recursiveSetItem(e,t,s,a=l.options){let r=typeof s==\"object\"&&s!==null?{}:s;if(Object.defineProperty(e,t,{enumerable:a.enumerable===!0,get:()=>r,set:a.immutable===!0?void 0:n=>r=n}),typeof s==\"object\"&&s!==null)for(const[n,i]of Object.entries(s))this.recursiveSetItem(e[t],n,i,a)}setItem(e,t,s=l.options){return this.recursiveSetItem(this.store,e,t,s),this}getItem(e){return Array.isArray(e)?e.map(t=>this.getItem(t)):this.store[e]}};let d=l;d.options={enumerable:!1,immutable:!1},d.instances=new Map;const c=new Map,v=[],L=new Set,h=new Map,B=/--[^;]+/g,G=/:/;(typeof o.A11yUi!=\"object\"||o.A11yUi===null)&&(o.A11yUi={CSS_STYLE_CACHE:h,HYDRATED_HISTORY:v,STYLING_TASK_QUEUE:c});const K=(e,t)=>{let s=t.match(B);if(Array.isArray(s)){s=s.filter(r=>G.test(r));const a=document.createElement(\"style\");a.innerHTML=`.${e} {${s.join(\";\")}}`,document.querySelector(\"head\")?.appendChild(a)}L.add(e)},T=(e,t)=>typeof o.A11yUi==\"object\"&&o.A11yUi!==null&&typeof o.A11yUi.Themes==\"object\"&&o.A11yUi.Themes!==null&&typeof o.A11yUi.Themes[e]==\"object\"&&o.A11yUi.Themes[e]!==null&&typeof o.A11yUi.Themes[e][t]==\"string\"?o.A11yUi.Themes[e][t].replace(/\\r?\\n/g,\"\"):\"\",q=e=>{for(const t of Array.from(e.childNodes))if(t instanceof HTMLStyleElement&&t.tagName===\"STYLE\")e.removeChild(t);else break},F=(e,t)=>{try{const s=[];t.forEach(a=>{const r=new CSSStyleSheet;r.replaceSync(a),s.push(r)}),e.adoptedStyleSheets=s}catch{t.reverse().forEach(s=>{const a=document.createElement(\"style\");a.innerHTML=s,e.insertBefore(a,e.firstChild)})}},Q=(e,t,s)=>{if(s!==!1){const a=[...Array.from(e.childNodes).filter(n=>n instanceof HTMLStyleElement&&n.tagName===\"STYLE\")];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch{r=[]}s?.mode===\"before\"?(a.reverse().forEach(n=>t.unshift(n.innerHTML)),r.reverse().forEach(n=>t.unshift(Array.from(n.cssRules).map(i=>i.cssText).join(\"\")))):s?.mode===\"after\"&&(a.forEach(n=>t.push(n.innerHTML)),r.forEach(n=>t.push(Array.from(n.cssRules).map(i=>i.cssText).join(\"\"))))}},M=(e,t,s)=>{const a=t.name||\"default\";let r;try{if(e.shadowRoot===null)throw new Error(\"ShadowRoot is null\");r=e.shadowRoot}catch{r=e}if(h.get(a)?.has(e.tagName))$(e,r,h.get(a)?.get(e.tagName),s);else{const n=T(a,\"PROPERTIES\"),i=T(a,\"GLOBAL\"),m=T(a,e.tagName);L.has(a)===!1&&K(a,i);const y=[n,i,m];Q(r,y,t.encroachCss),t.loglevel===\"debug\"&&console.log(e.tagName,y),t.cache===!0&&(h.has(a)===!1&&h.set(a,new Map),h.get(a)?.set(e.tagName,y)),$(e,r,y,s)}},$=(e,t,s,a)=>{q(t),F(t,s),e.style.display=a},O=e=>{e.loglevel===\"debug\"&&v.push({timestamp:Date.now(),numberOfTasks:c.size})},J=(e,t)=>{c.set(e,{styleDisplay:e.style.display?`${e.style.display}`:null,themeDetails:t})},V=(e,t)=>{J(e,t),O(t)},W=e=>{c.delete(e)},R=(e,t)=>{W(e),O(t)},N=e=>{const t=setTimeout(()=>{if(clearTimeout(t),c.has(e)&&e.classList.contains(\"hydrated\")){const{styleDisplay:s,themeDetails:a}=c.get(e);M(e,a,s),R(e,a)}else N(e)},25)},X=e=>{for(const t of e)if(c.has(t.target)&&t.target.classList.contains(\"hydrated\")){const{styleDisplay:s,themeDetails:a}=c.get(t.target);M(t.target,a,s),R(t.target,a)}},Z={attributes:!0,attributeFilter:[\"class\"],childList:!1,subtree:!1};let p;try{p=new MutationObserver(X)}catch{p=null}const ee=(e,t)=>{V(e,t),p?p.observe(e,Z):N(e),e.style.display=\"none\"};class te{constructor(t,s,a){this.createTheme=(r,n)=>P(r,n),this.createTranslation=(r,n)=>H(r,n),this.Prefix=t,this.Key=Object.getOwnPropertyNames(s),this.Tag=Object.getOwnPropertyNames(a)}}export{d as RobustStore,o as STORE,te as Theme,x as getTheme,j as getThemeDetails,U as patchTheme,b as patchThemeTag,_ as register,ee as setThemeStyle};\n"],"mappings":";;;0LAMC,SAAUA,EAAMC,GAIN,GAAkCC,EAAOC,QAAS,CACrDD,EAAAC,QAAiBF,GACzB,KAAW,CACHD,EAAKI,IAAMH,GACnB,CACA,EATA,CASEI,GAAM,WAIJ,IAAIC,EAAO,WAAW,EACtB,IAAIC,EAAgB,YACpB,IAAIC,SAAeC,SAAWF,UAA0BE,OAAOC,YAAcH,GACzE,kBAAkBI,KAAKF,OAAOC,UAAUE,WAG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AAC9M,EAAEsE,KAAKsH,EAAE5L,EAAEsE,GAAGsI,EAAEA,EAAEG,QAAQ/M,EAAEuM,GAAGP,EAAEhM,GAAGA,EAAEiL,MAAMC,QAAQ,QAAQ,MAAM8B,EAAG,WAAAC,CAAY3I,EAAEC,EAAEW,GAAGrG,KAAKqO,YAAY,CAACvH,EAAEC,IAAIpB,EAAEmB,EAAEC,GAAG/G,KAAKsO,kBAAkB,CAACxH,EAAEC,IAAIvB,EAAEsB,EAAEC,GAAG/G,KAAKuO,OAAO9I,EAAEzF,KAAKwO,IAAI7H,OAAOC,oBAAoBlB,GAAG1F,KAAKyO,IAAI9H,OAAOC,oBAAoBP,EAAE,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- switch(location.pathname){case"/dev/toaster.html":import("./toaster-4eb33f18.js");break;case"/dev/input-error.html":import("./input-error-bc5a177b.js");break;case"/dev/reprod-accordion-does-not-toggle-with-open.html":import("./reprod-accordion-does-not-toggle-with-open-930fccf8.js");break;case"/dev/details-synced-open-state.html":import("./details-synced-open-state-45ecc035.js");break;case"/dev/table-render-function.html":import("./table-render-function-835a18a0.js")}
4
+ switch(location.pathname){case"/dev/toaster.html":import("./toaster-b6d0fa6b.js");break;case"/dev/input-error.html":import("./input-error-bc5a177b.js");break;case"/dev/reprod-accordion-does-not-toggle-with-open.html":import("./reprod-accordion-does-not-toggle-with-open-930fccf8.js");break;case"/dev/details-synced-open-state.html":import("./details-synced-open-state-45ecc035.js");break;case"/dev/table-render-function.html":import("./table-render-function-835a18a0.js")}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- export{K as KoliBriDevHelper}from"./index-44da6e7f.js";export{s as setCurrentLocation}from"./ariaCurrentService-6fe36ebc.js";export{T as ToasterService,b as bootstrap,r as register}from"./toaster-12097d83.js";export{c as BUNDESAEMTER,e as BUNDESANSTALTEN,a as BUNDESMINISTERIEN,f as BUND_LOGO_TEXT_MAP,b as Bundesamt,d as Bundesanstalt,B as Bundesministerium}from"./bund-ad41b762.js";import"./component-names-ed22f86e.js";import"./i18n-0c047df5.js";
4
+ import{t}from"./index-4a3076fc.js";export{s as setCurrentLocation}from"./ariaCurrentService-6fe36ebc.js";export{T as ToasterService,b as bootstrap,r as register}from"./toaster-18d16ce1.js";export{c as BUNDESAEMTER,e as BUNDESANSTALTEN,a as BUNDESMINISTERIEN,f as BUND_LOGO_TEXT_MAP,b as Bundesamt,d as Bundesanstalt,B as Bundesministerium}from"./bund-ad41b762.js";export{K as KoliBriDevHelper}from"./prop.validators-29d576d2.js";import"./component-names-ed22f86e.js";import"./i18n-0c047df5.js";import"./dev.utils-1ca991a2.js";var o,n;!function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"}(o||(o={})),function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e["accordion-group"]=2]="accordion-group",e[e.alert=3]="alert",e[e.avatar=4]="avatar",e[e.badge=5]="badge",e[e.breadcrumb=6]="breadcrumb",e[e.button=7]="button",e[e["button-group"]=8]="button-group",e[e["button-link"]=9]="button-link",e[e.card=10]="card",e[e.details=11]="details",e[e.form=12]="form",e[e.heading=13]="heading",e[e.icon=14]="icon",e[e.image=15]="image",e[e["indented-text"]=16]="indented-text",e[e["input-checkbox"]=17]="input-checkbox",e[e["input-color"]=18]="input-color",e[e["input-date"]=19]="input-date",e[e["input-email"]=20]="input-email",e[e["input-file"]=21]="input-file",e[e["input-number"]=22]="input-number",e[e["input-password"]=23]="input-password",e[e["input-radio"]=24]="input-radio",e[e["input-range"]=25]="input-range",e[e["input-text"]=26]="input-text",e[e.kolibri=27]="kolibri",e[e.link=28]="link",e[e["link-button"]=29]="link-button",e[e["link-group"]=30]="link-group",e[e.logo=31]="logo",e[e.modal=32]="modal",e[e.nav=33]="nav",e[e.pagination=34]="pagination",e[e.progress=35]="progress",e[e.select=36]="select",e[e.separator=37]="separator",e[e["skip-nav"]=38]="skip-nav",e[e.spin=39]="spin",e[e["split-button"]=40]="split-button",e[e.symbol=41]="symbol",e[e.table=42]="table",e[e["table-stateless"]=43]="table-stateless",e[e["table-stateful"]=44]="table-stateful",e[e.tabs=45]="tabs",e[e.textarea=46]="textarea",e[e["toast-container"]=47]="toast-container",e[e.toolbar=48]="toolbar",e[e.tooltip=49]="tooltip",e[e.tree=50]="tree",e[e["tree-item"]=51]="tree-item"}(n||(n={}));const i=new t("kol",o,n);export{i as KoliBri};
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":[],"mappings":""}
1
+ {"version":3,"names":["KeyEnum","TagEnum","KoliBri","Theme"],"sources":["src/schema/i18n-keys.ts","src/schema/tag-names.ts","src/schema/index.ts"],"sourcesContent":["export enum KeyEnum {\n\t'error',\n\t'warning',\n\t'info',\n\t'success',\n\t'message',\n\t'close',\n\t'form-description',\n\t'of',\n\t'characters',\n\t'new',\n\t'no-entries',\n\t'change-order',\n\t'action-running',\n\t'action-done',\n\t'page-first',\n\t'page-back',\n\t'page-next',\n\t'page-last',\n\t'entries-per-site',\n\t'page-current',\n\t'page-selected',\n\t'page-per-site',\n\t'logo-description',\n\t'open-link-in-tab',\n\t'kolibri-logo',\n}\n","export enum TagEnum {\n\t'abbr',\n\t'accordion',\n\t'accordion-group', // TODO: github pr link\n\t'alert',\n\t'avatar',\n\t'badge',\n\t'breadcrumb',\n\t'button',\n\t'button-group',\n\t'button-link',\n\t'card',\n\t'details',\n\t'form',\n\t'heading',\n\t'icon',\n\t'image',\n\t'indented-text',\n\t'input-checkbox',\n\t'input-color',\n\t'input-date',\n\t'input-email',\n\t'input-file',\n\t'input-number',\n\t'input-password',\n\t'input-radio',\n\t'input-range',\n\t'input-text',\n\t'kolibri',\n\t'link',\n\t'link-button',\n\t'link-group',\n\t'logo',\n\t'modal',\n\t'nav',\n\t'pagination',\n\t'progress',\n\t'select',\n\t'separator', // TODO: github pr link\n\t'skip-nav',\n\t'spin',\n\t'split-button',\n\t'symbol',\n\t'table',\n\t'table-stateless',\n\t'table-stateful',\n\t'tabs',\n\t'textarea',\n\t'toast-container',\n\t'toolbar', // TODO: github pr link\n\t'tooltip',\n\t'tree',\n\t'tree-item',\n}\n","import { Theme } from 'adopted-style-sheets';\n\nimport { KeyEnum } from './i18n-keys';\nimport { TagEnum } from './tag-names';\n\nexport const KoliBri = new Theme<'kol', keyof typeof KeyEnum, keyof typeof TagEnum>('kol', KeyEnum, TagEnum);\n\nexport * from './components';\n// export * from './enums'; only for internal use\nexport * from './props';\nexport * from './types';\nexport * from './utils';\nexport * from './validators';\n"],"mappings":";;;8gBAAA,IAAYA,GAAZ,SAAYA,GACXA,IAAA,oBACAA,IAAA,wBACAA,IAAA,kBACAA,IAAA,wBACAA,IAAA,wBACAA,IAAA,oBACAA,IAAA,0CACAA,IAAA,cACAA,IAAA,8BACAA,IAAA,gBACAA,IAAA,+BACAA,IAAA,mCACAA,IAAA,uCACAA,IAAA,iCACAA,IAAA,+BACAA,IAAA,6BACAA,IAAA,6BACAA,IAAA,6BACAA,IAAA,2CACAA,IAAA,mCACAA,IAAA,qCACAA,IAAA,qCACAA,IAAA,2CACAA,IAAA,2CACAA,IAAA,kCACA,EA1BD,CAAYA,MAAO,KCAnB,IAAYC,GAAZ,SAAYA,GACXA,IAAA,kBACAA,IAAA,4BACAA,IAAA,wCACAA,IAAA,oBACAA,IAAA,sBACAA,IAAA,oBACAA,IAAA,8BACAA,IAAA,sBACAA,IAAA,kCACAA,IAAA,gCACAA,IAAA,mBACAA,IAAA,yBACAA,IAAA,mBACAA,IAAA,yBACAA,IAAA,mBACAA,IAAA,qBACAA,IAAA,qCACAA,IAAA,uCACAA,IAAA,iCACAA,IAAA,+BACAA,IAAA,iCACAA,IAAA,+BACAA,IAAA,mCACAA,IAAA,uCACAA,IAAA,iCACAA,IAAA,iCACAA,IAAA,+BACAA,IAAA,yBACAA,IAAA,mBACAA,IAAA,iCACAA,IAAA,+BACAA,IAAA,mBACAA,IAAA,qBACAA,IAAA,iBACAA,IAAA,+BACAA,IAAA,2BACAA,IAAA,uBACAA,IAAA,6BACAA,IAAA,2BACAA,IAAA,mBACAA,IAAA,mCACAA,IAAA,uBACAA,IAAA,qBACAA,IAAA,yCACAA,IAAA,uCACAA,IAAA,mBACAA,IAAA,2BACAA,IAAA,yCACAA,IAAA,yBACAA,IAAA,yBACAA,IAAA,mBACAA,IAAA,4BACA,EArDD,CAAYA,MAAO,K,MCKNC,EAAU,IAAIC,EAAyD,MAAOH,EAASC,U"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,H as t}from"./index-3fbcceca.js";import{v as i,a}from"./index-44da6e7f.js";import{n as o}from"./dev.utils-ba0ad340.js";import{a as l}from"./component-names-ed22f86e.js";const s="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > abbr {\n cursor: help;\n }\n}",r=s,d=class{constructor(e){n(this,e),this.nonce=o(),this._label=void 0,this._tooltipAlign="top",this.state={_label:"",_tooltipAlign:"top"}}render(){return e(t,{key:"c925b5b379b596db99404d6c7d4507275d70496d",class:"kol-abbr"},e("abbr",{key:"c7a6a3482ea02fca65278aa28ea115f7a9a11f74","aria-labelledby":this.nonce,role:"definition",tabindex:"0",title:this.state._label},e("span",{key:"7179f3b594f6815c06c46dd465739376734ea940",title:""},e("slot",{key:"00590edd1ae4afeb4f4f066f0a16ce54c8af28a9"}))),e(l,{key:"2c44fa51a1849dabb59d0541a0d9dcc192e52bcd",_align:this.state._tooltipAlign,_id:this.nonce,_label:this.state._label}))}validateLabel(n){i(this,n,{required:!0})}validateTooltipAlign(n){a(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateTooltipAlign(this._tooltipAlign)}static get watchers(){return{_label:["validateLabel"],_tooltipAlign:["validateTooltipAlign"]}}};d.style={default:r};export{d as kol_abbr};
4
+ import{r as n,h as e,H as t}from"./index-3fbcceca.js";import{n as i}from"./dev.utils-37559a2c.js";import{a as o}from"./component-names-ed22f86e.js";import{v as a}from"./label-e56ffdc6.js";import{v as s}from"./tooltip-align-c13a7aa7.js";import"./dev.utils-1ca991a2.js";import"./reuse-b66836de.js";import"./prop.validators-29d576d2.js";import"./index-4a3076fc.js";import"./align-fc528dec.js";const l="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n :host > abbr {\n cursor: help;\n }\n}",r=l,d=class{constructor(e){n(this,e),this.nonce=i(),this._label=void 0,this._tooltipAlign="top",this.state={_label:"",_tooltipAlign:"top"}}render(){return e(t,{key:"598d706f074db11649d068894821a214d3373d11",class:"kol-abbr"},e("abbr",{key:"cea033577a07ea9cbc48cf32f2afa798b2f70c1b","aria-labelledby":this.nonce,role:"definition",tabindex:"0",title:this.state._label},e("span",{key:"f28a0dacfb9e1d5807f763e03401e1b71c0414c3",title:""},e("slot",{key:"c72ee140bfc1c43d781a5309c07f9a47689d6f4e"}))),e(o,{key:"2743bb91c1b770375bda8e19668e7ad698b10baa",_align:this.state._tooltipAlign,_id:this.nonce,_label:this.state._label}))}validateLabel(n){a(this,n,{required:!0})}validateTooltipAlign(n){s(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateTooltipAlign(this._tooltipAlign)}static get watchers(){return{_label:["validateLabel"],_tooltipAlign:["validateTooltipAlign"]}}};d.style={default:r};export{d as kol_abbr};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolAbbrDefaultStyle0","KolAbbr","this","nonce","_label","_tooltipAlign","render","h","Host","key","class","role","tabindex","title","state","KolTooltipWcTag","_align","_id","validateLabel","value","required","validateTooltipAlign","componentWillLoad"],"sources":["src/components/abbr/style.scss?tag=kol-abbr&mode=default&encapsulation=shadow","src/components/abbr/component.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../style';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n\n\t:host > abbr {\n\t\tcursor: help;\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { validateLabel, validateTooltipAlign } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { KolTooltipWcTag } from '../../core/component-names';\n\nimport type { AbbrAPI, AbbrStates, LabelPropType, TooltipAlignPropType } from '@public-ui/schema';\n\n/**\n * @slot - Der Begriff, der erläutert werden soll.\n */\n@Component({\n\ttag: 'kol-abbr',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAbbr implements AbbrAPI {\n\tprivate readonly nonce = nonce();\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-abbr\">\n\t\t\t\t{/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}\n\t\t\t\t<abbr aria-labelledby={this.nonce} role=\"definition\" tabindex=\"0\" title={this.state._label}>\n\t\t\t\t\t<span title=\"\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</span>\n\t\t\t\t</abbr>\n\t\t\t\t<KolTooltipWcTag _align={this.state._tooltipAlign} _id={this.nonce} _label={this.state._label}></KolTooltipWcTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\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 * Die State-Parameter repräsentieren den inneren State\n\t * einer Komponente.\n\t *\n\t * @see: https://stenciljs.com/docs/state\n\t */\n\t@State() public state: AbbrStates = {\n\t\t_label: '', // ⚠ required\n\t\t_tooltipAlign: 'top',\n\t};\n\n\t/**\n\t * Die Watch-Methoden dienen der Möglichkeit zur\n\t * Validierung der Werte eines Properties und\n\t * dem Mapping dessen auf einen anderen internen\n\t * State-Typ.\n\t *\n\t * @see: https://stenciljs.com/docs/properties#prop-validation\n\t */\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t}\n}\n"],"mappings":";;;8LAAA,MAAMA,EAAkB,qrIACxB,MAAAC,EAAeD,E,MCkBFE,EAAO,M,yBACFC,KAAAC,MAAQA,I,yCAwB6B,M,WAQlB,CACnCC,OAAQ,GACRC,cAAe,M,CAhCT,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,YAEXH,EAAA,QAAAE,IAAA,6DAAuBP,KAAKC,MAAOQ,KAAK,aAAaC,SAAS,IAAIC,MAAOX,KAAKY,MAAMV,QACnFG,EAAA,QAAAE,IAAA,2CAAMI,MAAM,IACXN,EAAA,QAAAE,IAAA,+CAGFF,EAACQ,EAAe,CAAAN,IAAA,2CAACO,OAAQd,KAAKY,MAAMT,cAAeY,IAAKf,KAAKC,MAAOC,OAAQF,KAAKY,MAAMV,S,CAmCnF,aAAAc,CAAcC,GACpBD,EAAchB,KAAMiB,EAAO,CAC1BC,SAAU,M,CAKL,oBAAAC,CAAqBF,GAC3BE,EAAqBnB,KAAMiB,E,CAGrB,iBAAAG,GACNpB,KAAKgB,cAAchB,KAAKE,QACxBF,KAAKmB,qBAAqBnB,KAAKG,c"}
1
+ {"version":3,"names":["defaultStyleCss","KolAbbrDefaultStyle0","KolAbbr","this","nonce","_label","_tooltipAlign","render","h","Host","key","class","role","tabindex","title","state","KolTooltipWcTag","_align","_id","validateLabel","value","required","validateTooltipAlign","componentWillLoad"],"sources":["src/components/abbr/style.scss?tag=kol-abbr&mode=default&encapsulation=shadow","src/components/abbr/component.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../style';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n\n\t:host > abbr {\n\t\tcursor: help;\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { validateLabel, validateTooltipAlign } from '../../schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { KolTooltipWcTag } from '../../core/component-names';\n\nimport type { AbbrAPI, AbbrStates, LabelPropType, TooltipAlignPropType } from '../../schema';\n\n/**\n * @slot - Der Begriff, der erläutert werden soll.\n */\n@Component({\n\ttag: 'kol-abbr',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAbbr implements AbbrAPI {\n\tprivate readonly nonce = nonce();\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-abbr\">\n\t\t\t\t{/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}\n\t\t\t\t<abbr aria-labelledby={this.nonce} role=\"definition\" tabindex=\"0\" title={this.state._label}>\n\t\t\t\t\t<span title=\"\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</span>\n\t\t\t\t</abbr>\n\t\t\t\t<KolTooltipWcTag _align={this.state._tooltipAlign} _id={this.nonce} _label={this.state._label}></KolTooltipWcTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: LabelPropType;\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 * Die State-Parameter repräsentieren den inneren State\n\t * einer Komponente.\n\t *\n\t * @see: https://stenciljs.com/docs/state\n\t */\n\t@State() public state: AbbrStates = {\n\t\t_label: '', // ⚠ required\n\t\t_tooltipAlign: 'top',\n\t};\n\n\t/**\n\t * Die Watch-Methoden dienen der Möglichkeit zur\n\t * Validierung der Werte eines Properties und\n\t * dem Mapping dessen auf einen anderen internen\n\t * State-Typ.\n\t *\n\t * @see: https://stenciljs.com/docs/properties#prop-validation\n\t */\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t}\n}\n"],"mappings":";;;sYAAA,MAAMA,EAAkB,qrIACxB,MAAAC,EAAeD,E,MCkBFE,EAAO,M,yBACFC,KAAAC,MAAQA,I,yCAwB6B,M,WAQlB,CACnCC,OAAQ,GACRC,cAAe,M,CAhCT,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,YAEXH,EAAA,QAAAE,IAAA,6DAAuBP,KAAKC,MAAOQ,KAAK,aAAaC,SAAS,IAAIC,MAAOX,KAAKY,MAAMV,QACnFG,EAAA,QAAAE,IAAA,2CAAMI,MAAM,IACXN,EAAA,QAAAE,IAAA,+CAGFF,EAACQ,EAAe,CAAAN,IAAA,2CAACO,OAAQd,KAAKY,MAAMT,cAAeY,IAAKf,KAAKC,MAAOC,OAAQF,KAAKY,MAAMV,S,CAmCnF,aAAAc,CAAcC,GACpBD,EAAchB,KAAMiB,EAAO,CAC1BC,SAAU,M,CAKL,oBAAAC,CAAqBF,GAC3BE,EAAqBnB,KAAMiB,E,CAGrB,iBAAAG,GACNpB,KAAKgB,cAAchB,KAAKE,QACxBF,KAAKmB,qBAAqBnB,KAAKG,c"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,H as t,g as i}from"./index-3fbcceca.js";import{f as o,h as a,i as s,v as l,k as r,l as d}from"./index-44da6e7f.js";import{n as c}from"./dev.utils-ba0ad340.js";import{w as h}from"./validation-61bf6538.js";import{b as p,c as f}from"./component-names-ed22f86e.js";const b="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n /* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n .wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n }\n .accordion.open .wrapper {\n grid-template-rows: 1fr;\n }\n .animation-wrapper {\n min-height: 0;\n transition: visibility 0.3s;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n }\n .accordion.open .animation-wrapper {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .animation-wrapper,\n .wrapper {\n transition-duration: 0s;\n }\n }\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n @media print {\n .accordion:not(.open) .animation-wrapper {\n display: none;\n }\n }\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n .accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n justify-items: start;\n }\n}",u=b;o("[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend"),o("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const m=class{constructor(e){n(this,e),this.nonce=c(),this.catchRef=n=>{a(this.host,n)},this.onClick=n=>{this._open=!this._open,setTimeout((()=>{var e;"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&this.state._on.onClick(n,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=1,this._on=void 0,this._open=!1,this.state={_label:"",_level:1}}render(){return e(t,{key:"375071dab3f67a8a9ea41166c5e5955a905ba04a",class:"kol-accordion"},e("div",{key:"44e8a90eed884c991797ea6e0e727777075d6d00",class:{accordion:!0,disabled:!0===this.state._disabled,open:!0===this.state._open}},e(p,{key:"6fdf9427c74afbcc932fa05c1840e8cb6b606b9a",_label:"",_level:this.state._level,class:"accordion-heading"},e(f,{key:"4e82eb30cd0ff1fef25262dc0e34a3408b0aaad6",class:"accordion-button",ref:this.catchRef,slot:"expert",_ariaControls:this.nonce,_ariaExpanded:this.state._open,_disabled:this.state._disabled,_icons:this.state._open?"codicon codicon-remove":"codicon codicon-add",_label:this.state._label,_on:{onClick:this.onClick}})),e("div",{key:"0835efe279a9deb62190997682ef0e8fe4a1edf2",class:"wrapper"},e("div",{key:"f7244e8b9807223dd80f0b261ec1e2b730f95e85",class:"animation-wrapper"},e("div",{key:"4ef5849701c39fe7f738cd34661e5c0fc9f29efc","aria-hidden":!1===this.state._open?"true":void 0,class:"content",id:this.nonce},e("slot",{key:"324bf4086448b8c5700c98d6fa7d830846e362af"}))))))}validateDisabled(n){s(this,n)}validateLabel(n){l(this,n,{required:!0})}validateLevel(n){h(this,n)}validateOn(n){"object"==typeof n&&null!==n&&"function"==typeof n.onClick&&r(this,"_on",n)}validateOpen(n){d(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return i(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};m.style={default:u};export{m as kol_accordion};
4
+ import{r as n,h as e,H as t,g as i}from"./index-3fbcceca.js";import{n as o}from"./dev.utils-37559a2c.js";import{w as a}from"./validation-c2d11c8c.js";import{b as s,c as r}from"./component-names-ed22f86e.js";import{f as l,s as d}from"./prop.validators-29d576d2.js";import{a as c}from"./reuse-b66836de.js";import{v as h}from"./disabled-fbc49ac0.js";import{v as p}from"./open-deacfbd7.js";import{v as f}from"./label-e56ffdc6.js";import"./dev.utils-1ca991a2.js";import"./index-4a3076fc.js";const b="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n /* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n .wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n }\n .accordion.open .wrapper {\n grid-template-rows: 1fr;\n }\n .animation-wrapper {\n min-height: 0;\n transition: visibility 0.3s;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n }\n .accordion.open .animation-wrapper {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .animation-wrapper,\n .wrapper {\n transition-duration: 0s;\n }\n }\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n @media print {\n .accordion:not(.open) .animation-wrapper {\n display: none;\n }\n }\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n .accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n justify-items: start;\n }\n}",u=b;l("[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend"),l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const m=class{constructor(e){n(this,e),this.nonce=o(),this.catchRef=n=>{c(this.host,n)},this.onClick=n=>{this._open=!this._open,setTimeout((()=>{var e;"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onClick)&&this.state._on.onClick(n,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=1,this._on=void 0,this._open=!1,this.state={_label:"",_level:1}}render(){return e(t,{key:"f1672f2cf8b9aa85b1f63ab68d00300b74638dd8",class:"kol-accordion"},e("div",{key:"e80bb532a6f148e9608b9d5b4eca382cf8c01e8d",class:{accordion:!0,disabled:!0===this.state._disabled,open:!0===this.state._open}},e(s,{key:"e221fc0ccd86504a3e491a8e32c55da5fa76a365",_label:"",_level:this.state._level,class:"accordion-heading"},e(r,{key:"f65af86aab71ff029bba8108495477d7be05c2f3",class:"accordion-button",ref:this.catchRef,slot:"expert",_ariaControls:this.nonce,_ariaExpanded:this.state._open,_disabled:this.state._disabled,_icons:this.state._open?"codicon codicon-remove":"codicon codicon-add",_label:this.state._label,_on:{onClick:this.onClick}})),e("div",{key:"5435d015a21707724c7180dbb96e7a0af30f9d42",class:"wrapper"},e("div",{key:"5a9958a91c49d8b807627f7029ad975e52c6e1ea",class:"animation-wrapper"},e("div",{key:"367a024dca25373063df9ec0e679161ad26bffb8","aria-hidden":!1===this.state._open?"true":void 0,class:"content",id:this.nonce},e("slot",{key:"dfbbf47f20297d5f5052d7df8f74bd659ce054fd"}))))))}validateDisabled(n){h(this,n)}validateLabel(n){f(this,n,{required:!0})}validateLevel(n){a(this,n)}validateOn(n){"object"==typeof n&&null!==n&&"function"==typeof n.onClick&&d(this,"_on",n)}validateOpen(n){p(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return i(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};m.style={default:u};export{m as kol_accordion};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolAccordionDefaultStyle0","featureHint","KolAccordion","this","nonce","catchRef","ref","propagateFocus","host","onClick","event","_open","setTimeout","_a","state","_on","_label","_level","render","h","Host","key","class","accordion","disabled","_disabled","open","KolHeadingWcTag","KolButtonWcTag","slot","_ariaControls","_ariaExpanded","_icons","undefined","id","validateDisabled","value","validateLabel","required","validateLevel","watchHeadingLevel","validateOn","setState","validateOpen","componentWillLoad"],"sources":["src/components/accordion/style.scss?tag=kol-accordion&mode=default&encapsulation=shadow","src/components/accordion/component.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../style';\n@import '../host-display-block';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n\n\t/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n\t.wrapper {\n\t\tdisplay: grid;\n\t\tgrid-template-rows: 0fr;\n\t\toverflow: hidden;\n\t\ttransition: grid-template-rows 0.3s;\n\t}\n\n\t.accordion.open .wrapper {\n\t\tgrid-template-rows: 1fr;\n\t}\n\n\t.animation-wrapper {\n\t\tmin-height: 0;\n\t\ttransition: visibility 0.3s;\n\t\t/* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n\t\tvisibility: hidden;\n\t}\n\n\t.accordion.open .animation-wrapper {\n\t\tvisibility: visible;\n\t}\n\n\t@media (prefers-reduced-motion) {\n\t\t.animation-wrapper,\n\t\t.wrapper {\n\t\t\ttransition-duration: 0s;\n\t\t}\n\t}\n\n\t/* @see https://github.com/public-ui/kolibri/issues/5952 */\n\t@media print {\n\t\t.accordion:not(.open) .animation-wrapper {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n\t.accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n\t\tjustify-items: start;\n\t}\n}\n","// https://codepen.io/mbxtr/pen/OJPOYg?html-preprocessor=haml\n\nimport { featureHint, propagateFocus, setState, validateDisabled, validateLabel, validateOpen } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { KolHeadingWcTag, KolButtonWcTag } from '../../core/component-names';\n\nimport type { AccordionAPI, AccordionStates, DisabledPropType, HeadingLevel, KoliBriAccordionCallbacks, LabelPropType, OpenPropType } from '@public-ui/schema';\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\n\n/**\n *\n * @slot - Ermöglicht das Einfügen beliebigen HTML's in den Inhaltsbereich des Accordions.\n */\n@Component({\n\ttag: 'kol-accordion',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAccordion implements AccordionAPI {\n\t@Element() private readonly host?: HTMLKolDetailsElement;\n\tprivate readonly nonce = nonce();\n\n\tprivate readonly catchRef = (ref?: HTMLKolButtonWcElement) => {\n\t\tpropagateFocus(this.host, ref);\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-accordion\">\n\t\t\t\t<div\n\t\t\t\t\tclass={{\n\t\t\t\t\t\taccordion: true,\n\t\t\t\t\t\tdisabled: this.state._disabled === true,\n\t\t\t\t\t\topen: this.state._open === true,\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<KolHeadingWcTag _label=\"\" _level={this.state._level} class=\"accordion-heading\">\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"accordion-button\"\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\tslot=\"expert\"\n\t\t\t\t\t\t\t_ariaControls={this.nonce}\n\t\t\t\t\t\t\t_ariaExpanded={this.state._open}\n\t\t\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t\t\t_icons={this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add'}\n\t\t\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t\t\t_on={{ onClick: this.onClick }}\n\t\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t\t</KolHeadingWcTag>\n\t\t\t\t\t<div class=\"wrapper\">\n\t\t\t\t\t\t<div class=\"animation-wrapper\">\n\t\t\t\t\t\t\t<div aria-hidden={this.state._open === false ? 'true' : undefined} class=\"content\" id={this.nonce}>\n\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: string;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen an.\n\t */\n\t@Prop() public _on?: KoliBriAccordionCallbacks;\n\n\t/**\n\t * If set (to true) opens/expands the element, closes if not set (or set to false).\n\t * @TODO: Change type back to `OpenPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _open?: boolean = false;\n\n\t@State() public state: AccordionStates = {\n\t\t_label: '', // ⚠ required\n\t\t_level: 1,\n\t};\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriAccordionCallbacks): void {\n\t\tif (typeof value === 'object' && value !== null && typeof value.onClick === 'function') {\n\t\t\tsetState(this, '_on', value);\n\t\t}\n\t}\n\n\t@Watch('_open')\n\tpublic validateOpen(value?: OpenPropType): void {\n\t\tvalidateOpen(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateOpen(this._open);\n\t}\n\n\tprivate onClick = (event: Event) => {\n\t\tthis._open = !this._open;\n\n\t\t/**\n\t\t * Der Timeout wird benötigt, damit das Event\n\t\t * vom Button- auf das Accordion-Event wechselt.\n\t\t * So ist es dem Anwendenden möglich das _open-\n\t\t * Attribute abzufragen.\n\t\t */\n\t\tsetTimeout(() => {\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tthis.state._on.onClick(event, this._open === true);\n\t\t\t}\n\t\t});\n\t};\n}\n"],"mappings":";;;0RAAA,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CAyCA,gBAAAc,CAAiBC,GACvBD,EAAiBhC,KAAMiC,E,CAIjB,aAAAC,CAAcD,GACpBC,EAAclC,KAAMiC,EAAO,CAC1BE,SAAU,M,CAKL,aAAAC,CAAcH,GACpBI,EAAkBrC,KAAMiC,E,CAIlB,UAAAK,CAAWL,GACjB,UAAWA,IAAU,UAAYA,IAAU,aAAeA,EAAM3B,UAAY,WAAY,CACvFiC,EAASvC,KAAM,MAAOiC,E,EAKjB,YAAAO,CAAaP,GACnBO,EAAaxC,KAAMiC,E,CAGb,iBAAAQ,GACNzC,KAAKgC,iBAAiBhC,KAAKsB,WAC3BtB,KAAKkC,cAAclC,KAAKa,QACxBb,KAAKoC,cAAcpC,KAAKc,QACxBd,KAAKsC,WAAWtC,KAAKY,KACrBZ,KAAKwC,aAAaxC,KAAKQ,M"}
1
+ {"version":3,"names":["defaultStyleCss","KolAccordionDefaultStyle0","featureHint","KolAccordion","this","nonce","catchRef","ref","propagateFocus","host","onClick","event","_open","setTimeout","_a","state","_on","_label","_level","render","h","Host","key","class","accordion","disabled","_disabled","open","KolHeadingWcTag","KolButtonWcTag","slot","_ariaControls","_ariaExpanded","_icons","undefined","id","validateDisabled","value","validateLabel","required","validateLevel","watchHeadingLevel","validateOn","setState","validateOpen","componentWillLoad"],"sources":["src/components/accordion/style.scss?tag=kol-accordion&mode=default&encapsulation=shadow","src/components/accordion/component.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../style';\n@import '../host-display-block';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n\n\t/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n\t.wrapper {\n\t\tdisplay: grid;\n\t\tgrid-template-rows: 0fr;\n\t\toverflow: hidden;\n\t\ttransition: grid-template-rows 0.3s;\n\t}\n\n\t.accordion.open .wrapper {\n\t\tgrid-template-rows: 1fr;\n\t}\n\n\t.animation-wrapper {\n\t\tmin-height: 0;\n\t\ttransition: visibility 0.3s;\n\t\t/* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n\t\tvisibility: hidden;\n\t}\n\n\t.accordion.open .animation-wrapper {\n\t\tvisibility: visible;\n\t}\n\n\t@media (prefers-reduced-motion) {\n\t\t.animation-wrapper,\n\t\t.wrapper {\n\t\t\ttransition-duration: 0s;\n\t\t}\n\t}\n\n\t/* @see https://github.com/public-ui/kolibri/issues/5952 */\n\t@media print {\n\t\t.accordion:not(.open) .animation-wrapper {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t/*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n\t.accordion .kol-heading-wc .kol-button-wc button .kol-span-wc {\n\t\tjustify-items: start;\n\t}\n}\n","// https://codepen.io/mbxtr/pen/OJPOYg?html-preprocessor=haml\n\nimport { featureHint, propagateFocus, setState, validateDisabled, validateLabel, validateOpen } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\n\nimport { nonce } from '../../utils/dev.utils';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { KolHeadingWcTag, KolButtonWcTag } from '../../core/component-names';\n\nimport type { AccordionAPI, AccordionStates, DisabledPropType, HeadingLevel, KoliBriAccordionCallbacks, LabelPropType, OpenPropType } from '../../schema';\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\n\n/**\n *\n * @slot - Ermöglicht das Einfügen beliebigen HTML's in den Inhaltsbereich des Accordions.\n */\n@Component({\n\ttag: 'kol-accordion',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAccordion implements AccordionAPI {\n\t@Element() private readonly host?: HTMLKolDetailsElement;\n\tprivate readonly nonce = nonce();\n\n\tprivate readonly catchRef = (ref?: HTMLKolButtonWcElement) => {\n\t\tpropagateFocus(this.host, ref);\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-accordion\">\n\t\t\t\t<div\n\t\t\t\t\tclass={{\n\t\t\t\t\t\taccordion: true,\n\t\t\t\t\t\tdisabled: this.state._disabled === true,\n\t\t\t\t\t\topen: this.state._open === true,\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t<KolHeadingWcTag _label=\"\" _level={this.state._level} class=\"accordion-heading\">\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"accordion-button\"\n\t\t\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\t\t\tslot=\"expert\"\n\t\t\t\t\t\t\t_ariaControls={this.nonce}\n\t\t\t\t\t\t\t_ariaExpanded={this.state._open}\n\t\t\t\t\t\t\t_disabled={this.state._disabled}\n\t\t\t\t\t\t\t_icons={this.state._open ? 'codicon codicon-remove' : 'codicon codicon-add'}\n\t\t\t\t\t\t\t_label={this.state._label}\n\t\t\t\t\t\t\t_on={{ onClick: this.onClick }}\n\t\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t\t</KolHeadingWcTag>\n\t\t\t\t\t<div class=\"wrapper\">\n\t\t\t\t\t\t<div class=\"animation-wrapper\">\n\t\t\t\t\t\t\t<div aria-hidden={this.state._open === false ? 'true' : undefined} class=\"content\" id={this.nonce}>\n\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label!: string;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen an.\n\t */\n\t@Prop() public _on?: KoliBriAccordionCallbacks;\n\n\t/**\n\t * If set (to true) opens/expands the element, closes if not set (or set to false).\n\t * @TODO: Change type back to `OpenPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _open?: boolean = false;\n\n\t@State() public state: AccordionStates = {\n\t\t_label: '', // ⚠ required\n\t\t_level: 1,\n\t};\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriAccordionCallbacks): void {\n\t\tif (typeof value === 'object' && value !== null && typeof value.onClick === 'function') {\n\t\t\tsetState(this, '_on', value);\n\t\t}\n\t}\n\n\t@Watch('_open')\n\tpublic validateOpen(value?: OpenPropType): void {\n\t\tvalidateOpen(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateOpen(this._open);\n\t}\n\n\tprivate onClick = (event: Event) => {\n\t\tthis._open = !this._open;\n\n\t\t/**\n\t\t * Der Timeout wird benötigt, damit das Event\n\t\t * vom Button- auf das Accordion-Event wechselt.\n\t\t * So ist es dem Anwendenden möglich das _open-\n\t\t * Attribute abzufragen.\n\t\t */\n\t\tsetTimeout(() => {\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tthis.state._on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WX,MAAM,UAAUY,GAAI/B,KAAKC,OAC3Fe,EAAA,QAAAE,IAAA,iD,CAyCA,gBAAAc,CAAiBC,GACvBD,EAAiBhC,KAAMiC,E,CAIjB,aAAAC,CAAcD,GACpBC,EAAclC,KAAMiC,EAAO,CAC1BE,SAAU,M,CAKL,aAAAC,CAAcH,GACpBI,EAAkBrC,KAAMiC,E,CAIlB,UAAAK,CAAWL,GACjB,UAAWA,IAAU,UAAYA,IAAU,aAAeA,EAAM3B,UAAY,WAAY,CACvFiC,EAASvC,KAAM,MAAOiC,E,EAKjB,YAAAO,CAAaP,GACnBO,EAAaxC,KAAMiC,E,CAGb,iBAAAQ,GACNzC,KAAKgC,iBAAiBhC,KAAKsB,WAC3BtB,KAAKkC,cAAclC,KAAKa,QACxBb,KAAKoC,cAAcpC,KAAKc,QACxBd,KAAKsC,WAAWtC,KAAKY,KACrBZ,KAAKwC,aAAaxC,KAAKQ,M"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as e,h as a,H as t}from"./index-3fbcceca.js";import{L as i,z as s,y as o,v as l,k as c,w as n,aw as r,ax as d}from"./index-44da6e7f.js";import{t as h}from"./i18n-7bf2bd6f.js";import{w as f}from"./validation-61bf6538.js";import{b,c as v,g as u}from"./component-names-ed22f86e.js";import"./i18n-0c047df5.js";const p=e=>a(u,{class:"heading-icon",_label:"string"==typeof e.label&&e.label.length>0?"":e.ariaLabel,_icons:e.icon}),y=e=>{switch(e.type){case"error":return a(p,{ariaLabel:h("kol-error"),icon:"codicon codicon-error",label:e.label});case"info":return a(p,{ariaLabel:h("kol-info"),icon:"codicon codicon-info",label:e.label});case"warning":return a(p,{ariaLabel:h("kol-warning"),icon:"codicon codicon-warning",label:e.label});case"success":return a(p,{ariaLabel:h("kol-success"),icon:"codicon codicon-pass",label:e.label});default:return a(p,{ariaLabel:h("kol-message"),icon:"codicon codicon-comment",label:e.label})}},_=class{constructor(a){e(this,a),this.close=()=>{var a;void 0!==(null===(a=this._on)||void 0===a?void 0:a.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=a=>"object"==typeof a&&null!==a&&"function"==typeof a.onClose,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){var e;if(this.state._alert){try{i.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){i.debug("Navigator does not support vibration.")}setTimeout((()=>{this.validateAlert(!1)}),1e4)}return a(t,{key:"056ebeba8b0ebc0d76a98e3855a0022e1c689e09",class:{"kol-alert-wc":!0,alert:!0,[this.state._type]:!0,[this.state._variant]:!0,hasCloser:!!this.state._hasCloser},role:this.state._alert?"alert":void 0},a("div",{key:"e2807b51c729dc7814aa46bc40f371d9b785b590",class:"heading"},a(y,{key:"207367acb5c59e0977feb68adefb0a7cdb0f4668",label:this.state._label,type:this.state._type}),a("div",{key:"1d9b3c352e84393eb31fbd056a6aa9ec639d13cd",class:"heading-content"},"string"==typeof this.state._label&&(null===(e=this.state._label)||void 0===e?void 0:e.length)>0&&a(b,{key:"d50d4a3e93158e486ccadec92a9e0ea2d6fa6619",_label:this.state._label,_level:this.state._level}),"msg"===this.state._variant&&a("div",{key:"63669d4a74b60428884b10f8b6dab0f6f81c3536",class:"content"},a("slot",{key:"96fcaa01e83175f5f4476b38765dfc0b98c623c7"}))),this.state._hasCloser&&a(v,{key:"2d07628e18f992d455c5104869aa4c54341b97c5",class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:h("kol-close"),_on:this.on,_tooltipAlign:"left"})),"card"===this.state._variant&&a("div",{key:"d2825b4f83e736616f4d8808f46af958ba2391d1",class:"content"},a("slot",{key:"2063f32e42cc024a8f9f4fe2e66489c8c73acf71"})))}validateAlert(a){s(this,"_alert",a)}validateHasCloser(a){o(this,a)}validateLabel(a){l(this,a)}validateLevel(a){f(this,a)}validateOn(a){this.validateOnValue(a)&&c(this,"_on",{onClose:a.onClose})}validateType(a){n(this,"_type",(a=>"string"==typeof a&&r.includes(a)),new Set(`String {${r.join(", ")}`),a)}validateVariant(a){n(this,"_variant",(a=>"string"==typeof a&&d.includes(a)),new Set(`AlertVariant {${d.join(", ")}`),a)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{_ as kol_alert_wc};
4
+ import{r as e,h as t,H as a}from"./index-3fbcceca.js";import{t as i}from"./i18n-37baa421.js";import{w as s}from"./validation-c2d11c8c.js";import{b as o,c,g as l}from"./component-names-ed22f86e.js";import{L as n}from"./dev.utils-1ca991a2.js";import{b as r,s as d,w as f}from"./prop.validators-29d576d2.js";import{v as h}from"./has-closer-f9cf9bc4.js";import{v as b}from"./label-e56ffdc6.js";import"./i18n-0c047df5.js";import"./reuse-b66836de.js";import"./index-4a3076fc.js";const v=["default","info","success","warning","error"],u=["card","msg"],p=e=>t(l,{class:"heading-icon",_label:"string"==typeof e.label&&e.label.length>0?"":e.ariaLabel,_icons:e.icon}),m=e=>{switch(e.type){case"error":return t(p,{ariaLabel:i("kol-error"),icon:"codicon codicon-error",label:e.label});case"info":return t(p,{ariaLabel:i("kol-info"),icon:"codicon codicon-info",label:e.label});case"warning":return t(p,{ariaLabel:i("kol-warning"),icon:"codicon codicon-warning",label:e.label});case"success":return t(p,{ariaLabel:i("kol-success"),icon:"codicon codicon-pass",label:e.label});default:return t(p,{ariaLabel:i("kol-message"),icon:"codicon codicon-comment",label:e.label})}},_=class{constructor(a){e(this,a),this.close=()=>{var e;void 0!==(null===(e=this._on)||void 0===e?void 0:e.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClick:this.close},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){var e;if(this.state._alert){try{n.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){n.debug("Navigator does not support vibration.")}setTimeout((()=>{this.validateAlert(!1)}),1e4)}return t(a,{key:"ecb2cd45b14f92cc1c337d2b81382a8cc820e869",class:{"kol-alert-wc":!0,alert:!0,[this.state._type]:!0,[this.state._variant]:!0,hasCloser:!!this.state._hasCloser},role:this.state._alert?"alert":void 0},t("div",{key:"b190de9f62c33d970daabc1b5638132da33c936e",class:"heading"},t(m,{key:"e1da8b194a13ec6f9270efc2234caadcee77e827",label:this.state._label,type:this.state._type}),t("div",{key:"7ffd000cfbe218c582791e8646ff5caf9bad5b25",class:"heading-content"},"string"==typeof this.state._label&&(null===(e=this.state._label)||void 0===e?void 0:e.length)>0&&t(o,{key:"f9e7c598243a4868b80b248fdf4dfdeed5d24a2b",_label:this.state._label,_level:this.state._level}),"msg"===this.state._variant&&t("div",{key:"b5b70319b6c7747872e9d8072a1fe7565938f7c1",class:"content"},t("slot",{key:"b75edf24762d861147d5ee5fa0701b4c5a30eed1"}))),this.state._hasCloser&&t(c,{key:"a21b86376be7c8c5d8b03be1bf9635525e0ab3b7",class:"close",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i("kol-close"),_on:this.on,_tooltipAlign:"left"})),"card"===this.state._variant&&t("div",{key:"222dfcfd8c2a42d88045b744d7fb98dea05be855",class:"content"},t("slot",{key:"48fb55900500e45c7f9670e065a26de7189f771f"})))}validateAlert(e){r(this,"_alert",e)}validateHasCloser(e){h(this,e)}validateLabel(e){b(this,e)}validateLevel(e){s(this,e)}validateOn(e){this.validateOnValue(e)&&d(this,"_on",{onClose:e.onClose})}validateType(e){f(this,"_type",(e=>"string"==typeof e&&v.includes(e)),new Set(`String {${v.join(", ")}`),e)}validateVariant(e){f(this,"_variant",(e=>"string"==typeof e&&u.includes(e)),new Set(`AlertVariant {${u.join(", ")}`),e)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{_ as kol_alert_wc};
@@ -1 +1 @@
1
- {"version":3,"names":["Icon","props","h","KolIconTag","class","_label","label","length","ariaLabel","_icons","icon","AlertIcon","type","translate","KolAlertWc","this","close","_a","_on","onClose","undefined","Event","on","onClick","validateOnValue","value","_level","render","state","_alert","Log","debug","navigator","vibrate","e","setTimeout","validateAlert","Host","key","alert","_type","_variant","hasCloser","_hasCloser","role","KolHeadingWcTag","KolButtonWcTag","_hideLabel","left","_tooltipAlign","watchBoolean","validateHasCloser","validateLabel","validateLevel","watchHeadingLevel","validateOn","setState","validateType","watchValidator","alertTypeOptions","includes","Set","join","validateVariant","alertVariantOptions","componentWillLoad"],"sources":["src/components/alert/component.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Log, alertTypeOptions, alertVariantOptions, setState, validateHasCloser, validateLabel, watchBoolean, watchValidator } from '@public-ui/schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { KolIconTag, KolHeadingWcTag, KolButtonWcTag } from '../../core/component-names';\n\nimport type {\n\tAlertAPI,\n\tAlertStates,\n\tAlertType,\n\tAlertVariant,\n\tHasCloserPropType,\n\tHeadingLevel,\n\tKoliBriAlertEventCallbacks,\n\tLabelPropType,\n} from '@public-ui/schema';\nconst Icon = (props: { ariaLabel: string; icon: string; label?: string }) => {\n\treturn <KolIconTag class=\"heading-icon\" _label={typeof props.label === 'string' && props.label.length > 0 ? '' : props.ariaLabel} _icons={props.icon} />;\n};\n\nconst AlertIcon = (props: { label?: string; type?: AlertType }) => {\n\tswitch (props.type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translate('kol-error')} icon=\"codicon codicon-error\" label={props.label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translate('kol-info')} icon=\"codicon codicon-info\" label={props.label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translate('kol-warning')} icon=\"codicon codicon-warning\" label={props.label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translate('kol-success')} icon=\"codicon codicon-pass\" label={props.label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translate('kol-message')} icon=\"codicon codicon-comment\" label={props.label} />;\n\t}\n};\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-alert-wc',\n\tshadow: false,\n})\nexport class KolAlertWc implements AlertAPI {\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tif (this.state._alert) {\n\t\t\t/**\n\t\t\t * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n\t\t\t * - https://googlechrome.github.io/samples/vibration/\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tLog.debug(['Navigator should vibrate ...', navigator.vibrate([100, 75, 100, 75, 100])]);\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug('Navigator does not support vibration.');\n\t\t\t}\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.validateAlert(false);\n\t\t\t}, 10000);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={{\n\t\t\t\t\t'kol-alert-wc': true,\n\t\t\t\t\talert: true,\n\t\t\t\t\t[this.state._type as string]: true,\n\t\t\t\t\t[this.state._variant as string]: true,\n\t\t\t\t\thasCloser: !!this.state._hasCloser,\n\t\t\t\t}}\n\t\t\t\trole={this.state._alert ? 'alert' : undefined}\n\t\t\t>\n\t\t\t\t<div class=\"heading\">\n\t\t\t\t\t<AlertIcon label={this.state._label} type={this.state._type} />\n\t\t\t\t\t<div class=\"heading-content\">\n\t\t\t\t\t\t{typeof this.state._label === 'string' && this.state._label?.length > 0 && (\n\t\t\t\t\t\t\t<KolHeadingWcTag _label={this.state._label} _level={this.state._level}></KolHeadingWcTag>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{this.state._variant === 'msg' && (\n\t\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{this.state._variant === 'card' && (\n\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop() public _alert?: boolean = false;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Alerts an.\n\t */\n\t@Prop() public _on?: KoliBriAlertEventCallbacks;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: AlertVariant = 'msg';\n\n\t@State() public state: AlertStates = {\n\t\t_level: 1,\n\t};\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this, '_alert', value);\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriAlertEventCallbacks).onClose === 'function';\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriAlertEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriAlertEventCallbacks>(\n\t\t\t\tthis,\n\t\t\t\t'_on',\n\t\t\t\t{\n\t\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t\t},\n\t\t\t\t// {\n\t\t\t\t// \tafterPatch: (value: unknown) => {\n\t\t\t\t// \t\tthis._hasCloser = this.validateOnValue(value);\n\t\t\t\t// \t},\n\t\t\t\t// }\n\t\t\t);\n\t\t\t// } else {\n\t\t\t// \tsetState<KoliBriAlertEventCallbacks>(this, '_on', null, {\n\t\t\t// \t\tafterPatch: (value: unknown) => {\n\t\t\t// \t\t\tthis._hasCloser = this.validateOnValue(value);\n\t\t\t// \t\t},\n\t\t\t// \t});\n\t\t}\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: AlertType): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_type',\n\t\t\t(value?) => typeof value === 'string' && alertTypeOptions.includes(value),\n\t\t\tnew Set(`String {${alertTypeOptions.join(', ')}`),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: AlertVariant): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_variant',\n\t\t\t(value?) => typeof value === 'string' && alertVariantOptions.includes(value),\n\t\t\tnew Set(`AlertVariant {${alertVariantOptions.join(', ')}`),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlert(this._alert);\n\t\tthis.validateHasCloser(this._hasCloser);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLevel(this._level);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateType(this._type);\n\t\tthis.validateVariant(this._variant);\n\t}\n}\n"],"mappings":";;;2TAkBA,MAAMA,EAAQC,GACNC,EAACC,EAAU,CAACC,MAAM,eAAeC,cAAeJ,EAAMK,QAAU,UAAYL,EAAMK,MAAMC,OAAS,EAAI,GAAKN,EAAMO,UAAWC,OAAQR,EAAMS,OAGjJ,MAAMC,EAAaV,IAClB,OAAQA,EAAMW,MACb,IAAK,QACJ,OAAOV,EAACF,EAAI,CAACQ,UAAWK,EAAU,aAAcH,KAAK,wBAAwBJ,MAAOL,EAAMK,QAC3F,IAAK,OACJ,OAAOJ,EAACF,EAAI,CAACQ,UAAWK,EAAU,YAAaH,KAAK,uBAAuBJ,MAAOL,EAAMK,QACzF,IAAK,UACJ,OAAOJ,EA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KAAKqB,cAAcrB,KAAKc,QACxBd,KAAKoC,kBAAkBpC,KAAK4B,YAC5B5B,KAAKqC,cAAcrC,KAAKV,QACxBU,KAAKsC,cAActC,KAAKW,QACxBX,KAAKwC,WAAWxC,KAAKG,KACrBH,KAAK0C,aAAa1C,KAAKyB,OACvBzB,KAAKgD,gBAAgBhD,KAAK0B,S"}
1
+ {"version":3,"names":["alertTypeOptions","alertVariantOptions","Icon","props","h","KolIconTag","class","_label","label","length","ariaLabel","_icons","icon","AlertIcon","type","translate","KolAlertWc","this","close","_a","_on","onClose","undefined","Event","on","onClick","validateOnValue","value","_level","render","state","_alert","Log","debug","navigator","vibrate","e","setTimeout","validateAlert","Host","key","alert","_type","_variant","hasCloser","_hasCloser","role","KolHeadingWcTag","KolButtonWcTag","_hideLabel","left","_tooltipAlign","watchBoolean","validateHasCloser","validateLabel","validateLevel","watchHeadingLevel","validateOn","setState","validateType","watchValidator","includes","Set","join","validateVariant","componentWillLoad"],"sources":["src/schema/components/alert.ts","src/components/alert/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { HeadingLevel, PropAlert, PropHasCloser, PropLabel } from '../props';\nimport type { EventCallback } from '../types';\n\nexport const alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'] as const;\nexport type AlertType = (typeof alertTypeOptions)[number];\n\nexport const alertVariantOptions = ['card', 'msg'] as const;\nexport type AlertVariant = (typeof alertVariantOptions)[number];\n\nexport type KoliBriAlertEventCallbacks = {\n\tonClose?: EventCallback<Event>;\n};\n\ntype RequiredAlertProps = NonNullable<unknown>;\ntype OptionalAlertProps = {\n\tlevel: HeadingLevel;\n\ton: KoliBriAlertEventCallbacks;\n\ttype: AlertType;\n\tvariant: AlertVariant;\n} & PropLabel &\n\tPropAlert &\n\tPropHasCloser;\n\ntype RequiredAlertStates = RequiredAlertProps;\ntype OptionalAlertStates = OptionalAlertProps;\n\nexport type AlertProps = Generic.Element.Members<RequiredAlertProps, OptionalAlertProps>;\nexport type AlertStates = Generic.Element.Members<RequiredAlertStates, OptionalAlertStates>;\nexport type AlertAPI = Generic.Element.ComponentApi<RequiredAlertProps, OptionalAlertProps, RequiredAlertStates, OptionalAlertStates>;\n","import type { JSX } from '@stencil/core';\nimport { Log, alertTypeOptions, alertVariantOptions, setState, validateHasCloser, validateLabel, watchBoolean, watchValidator } from '../../schema';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { translate } from '../../i18n';\nimport { watchHeadingLevel } from '../heading/validation';\nimport { KolIconTag, KolHeadingWcTag, KolButtonWcTag } from '../../core/component-names';\n\nimport type { AlertAPI, AlertStates, AlertType, AlertVariant, HasCloserPropType, HeadingLevel, KoliBriAlertEventCallbacks, LabelPropType } from '../../schema';\nconst Icon = (props: { ariaLabel: string; icon: string; label?: string }) => {\n\treturn <KolIconTag class=\"heading-icon\" _label={typeof props.label === 'string' && props.label.length > 0 ? '' : props.ariaLabel} _icons={props.icon} />;\n};\n\nconst AlertIcon = (props: { label?: string; type?: AlertType }) => {\n\tswitch (props.type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translate('kol-error')} icon=\"codicon codicon-error\" label={props.label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translate('kol-info')} icon=\"codicon codicon-info\" label={props.label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translate('kol-warning')} icon=\"codicon codicon-warning\" label={props.label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translate('kol-success')} icon=\"codicon codicon-pass\" label={props.label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translate('kol-message')} icon=\"codicon codicon-comment\" label={props.label} />;\n\t}\n};\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-alert-wc',\n\tshadow: false,\n})\nexport class KolAlertWc implements AlertAPI {\n\tprivate readonly close = () => {\n\t\tif (this._on?.onClose !== undefined) {\n\t\t\tthis._on.onClose(new Event('Close'));\n\t\t}\n\t};\n\n\tprivate readonly on = {\n\t\tonClick: this.close,\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tif (this.state._alert) {\n\t\t\t/**\n\t\t\t * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n\t\t\t * - https://googlechrome.github.io/samples/vibration/\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tLog.debug(['Navigator should vibrate ...', navigator.vibrate([100, 75, 100, 75, 100])]);\n\t\t\t} catch (e) {\n\t\t\t\tLog.debug('Navigator does not support vibration.');\n\t\t\t}\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.validateAlert(false);\n\t\t\t}, 10000);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={{\n\t\t\t\t\t'kol-alert-wc': true,\n\t\t\t\t\talert: true,\n\t\t\t\t\t[this.state._type as string]: true,\n\t\t\t\t\t[this.state._variant as string]: true,\n\t\t\t\t\thasCloser: !!this.state._hasCloser,\n\t\t\t\t}}\n\t\t\t\trole={this.state._alert ? 'alert' : undefined}\n\t\t\t>\n\t\t\t\t<div class=\"heading\">\n\t\t\t\t\t<AlertIcon label={this.state._label} type={this.state._type} />\n\t\t\t\t\t<div class=\"heading-content\">\n\t\t\t\t\t\t{typeof this.state._label === 'string' && this.state._label?.length > 0 && (\n\t\t\t\t\t\t\t<KolHeadingWcTag _label={this.state._label} _level={this.state._level}></KolHeadingWcTag>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{this.state._variant === 'msg' && (\n\t\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t{this.state._hasCloser && (\n\t\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t_label={translate('kol-close')}\n\t\t\t\t\t\t\t_on={this.on}\n\t\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t{this.state._variant === 'card' && (\n\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop() public _alert?: boolean = false;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Alerts an.\n\t */\n\t@Prop() public _on?: KoliBriAlertEventCallbacks;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: AlertVariant = 'msg';\n\n\t@State() public state: AlertStates = {\n\t\t_level: 1,\n\t};\n\n\t@Watch('_alert')\n\tpublic validateAlert(value?: boolean): void {\n\t\twatchBoolean(this, '_alert', value);\n\t}\n\n\t@Watch('_hasCloser')\n\tpublic validateHasCloser(value?: HasCloserPropType): void {\n\t\tvalidateHasCloser(this, value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t@Watch('_level')\n\tpublic validateLevel(value?: HeadingLevel): void {\n\t\twatchHeadingLevel(this, value);\n\t}\n\n\tprivate validateOnValue = (value: unknown): boolean =>\n\t\ttypeof value === 'object' && value !== null && typeof (value as KoliBriAlertEventCallbacks).onClose === 'function';\n\n\t@Watch('_on')\n\tpublic validateOn(value?: KoliBriAlertEventCallbacks): void {\n\t\tif (this.validateOnValue(value)) {\n\t\t\tsetState<KoliBriAlertEventCallbacks>(\n\t\t\t\tthis,\n\t\t\t\t'_on',\n\t\t\t\t{\n\t\t\t\t\tonClose: (value as KoliBriAlertEventCallbacks).onClose,\n\t\t\t\t},\n\t\t\t\t// {\n\t\t\t\t// \tafterPatch: (value: unknown) => {\n\t\t\t\t// \t\tthis._hasCloser = this.validateOnValue(value);\n\t\t\t\t// \t},\n\t\t\t\t// }\n\t\t\t);\n\t\t\t// } else {\n\t\t\t// \tsetState<KoliBriAlertEventCallbacks>(this, '_on', null, {\n\t\t\t// \t\tafterPatch: (value: unknown) => {\n\t\t\t// \t\t\tthis._hasCloser = this.validateOnValue(value);\n\t\t\t// \t\t},\n\t\t\t// \t});\n\t\t}\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: AlertType): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_type',\n\t\t\t(value?) => typeof value === 'string' && alertTypeOptions.includes(value),\n\t\t\tnew Set(`String {${alertTypeOptions.join(', ')}`),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: AlertVariant): void {\n\t\twatchValidator(\n\t\t\tthis,\n\t\t\t'_variant',\n\t\t\t(value?) => typeof value === 'string' && alertVariantOptions.includes(value),\n\t\t\tnew Set(`AlertVariant {${alertVariantOptions.join(', ')}`),\n\t\t\tvalue,\n\t\t);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlert(this._alert);\n\t\tthis.validateHasCloser(this._hasCloser);\n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,IAAA,8C,CAgDE,aAAAF,CAAcX,GACpByB,EAAanC,KAAM,SAAUU,E,CAIvB,iBAAA0B,CAAkB1B,GACxB0B,EAAkBpC,KAAMU,E,CAIlB,aAAA2B,CAAc3B,GACpB2B,EAAcrC,KAAMU,E,CAId,aAAA4B,CAAc5B,GACpB6B,EAAkBvC,KAAMU,E,CAOlB,UAAA8B,CAAW9B,GACjB,GAAIV,KAAKS,gBAAgBC,GAAQ,CAChC+B,EACCzC,KACA,MACA,CACCI,QAAUM,EAAqCN,S,EAkB5C,YAAAsC,CAAahC,GACnBiC,EACC3C,KACA,SACCU,UAAkBA,IAAU,UAAY3B,EAAiB6D,SAASlC,IACnE,IAAImC,IAAI,WAAW9D,EAAiB+D,KAAK,SACzCpC,E,CAKK,eAAAqC,CAAgBrC,GACtBiC,EACC3C,KACA,YACCU,UAAkBA,IAAU,UAAY1B,EAAoB4D,SAASlC,IACtE,IAAImC,IAAI,iBAAiB7D,EAAoB8D,KAAK,SAClDpC,E,CAIK,iBAAAsC,GACNhD,KAAKqB,cAAcrB,KAAKc,QACxBd,KAAKoC,kBAAkBpC,KAAK4B,YAC5B5B,KAAKqC,cAAcrC,KAAKV,QACxBU,KAAKsC,cAActC,KAAKW,QACxBX,KAAKwC,WAAWxC,KAAKG,KACrBH,KAAK0C,aAAa1C,KAAKyB,OACvBzB,KAAK+C,gBAAgB/C,KAAK0B,S"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,H as t}from"./index-3fbcceca.js";import{d as i}from"./component-names-ed22f86e.js";const o="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n}",a=o,l=class{constructor(e){n(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){return e(t,{key:"0bc6af8580c2671652be185c0703d6863173054b",class:"kol-alert"},e(i,{key:"597bc59e70dd38fc02c75f93fd4bd0e18a2adc1c",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},e("slot",{key:"c3216b358f6a0dd8357009d7c95f3aa6101cc781"})))}};l.style={default:a};export{l as kol_alert};
4
+ import{r as n,h as e,H as t}from"./index-3fbcceca.js";import{d as i}from"./component-names-ed22f86e.js";const o="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-alert-wc {\n display: grid;\n }\n .kol-alert-wc .heading {\n display: flex;\n place-items: center;\n }\n .kol-alert-wc .heading > div {\n flex-grow: 1;\n }\n .close {\n /* Visible with forced colors */\n outline: transparent solid 1px;\n }\n}",a=o,l=class{constructor(e){n(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){return e(t,{key:"4f87a50275ed8a213086458ce239ab24148b4e95",class:"kol-alert"},e(i,{key:"97764b041f739deb6fda2f01d31993131de5e6ab",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},e("slot",{key:"3108fc83dd474231a55d3ffaf4bb8fae2ac7719d"})))}};l.style={default:a};export{l as kol_alert};
@@ -1 +1 @@
1
- {"version":3,"names":["defaultStyleCss","KolAlertDefaultStyle0","KolAlert","_level","render","h","Host","key","class","KolAlertWcTag","_alert","this","_hasCloser","_label","_on","_type","_variant"],"sources":["src/components/alert/style.scss?tag=kol-alert&mode=default&encapsulation=shadow","src/components/alert/shadow.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../@shared/kol-alert-mixin.scss';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n}\n\n@include kol-alert-styles;\n","import type { AlertProps, AlertStates, AlertType, AlertVariant, HeadingLevel, KoliBriAlertEventCallbacks, LabelPropType } from '@public-ui/schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State } from '@stencil/core';\nimport { KolAlertWcTag } from '../../core/component-names';\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-alert',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAlert implements AlertProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-alert\">\n\t\t\t\t<KolAlertWcTag\n\t\t\t\t\t_alert={this._alert}\n\t\t\t\t\t_hasCloser={this._hasCloser}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_level={this._level}\n\t\t\t\t\t_on={this._on}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</KolAlertWcTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop() public _alert?: boolean = false;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Alerts an.\n\t */\n\t@Prop() public _on?: KoliBriAlertEventCallbacks;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: AlertVariant = 'msg';\n\n\t@State() public state: AlertStates = {\n\t\t_level: 1,\n\t};\n}\n"],"mappings":";;;wGAAA,MAAMA,EAAkB,u/IACxB,MAAAC,EAAeD,E,MCcFE,EAAQ,M,qCAsBc,M,gBAMI,M,kCAUC,E,8BAUJ,U,cAKM,M,WAEJ,CACpCC,OAAQ,E,CAvDF,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,aACXH,EAACI,EAAa,CAAAF,IAAA,2CACbG,OAAQC,KAAKD,OACbE,WAAYD,KAAKC,WACjBC,OAAQF,KAAKE,OACbV,OAAQQ,KAAKR,OACbW,IAAKH,KAAKG,IACVC,MAAOJ,KAAKI,MACZC,SAAUL,KAAKK,UAEfX,EAAA,QAAAE,IAAA,8C"}
1
+ {"version":3,"names":["defaultStyleCss","KolAlertDefaultStyle0","KolAlert","_level","render","h","Host","key","class","KolAlertWcTag","_alert","this","_hasCloser","_label","_on","_type","_variant"],"sources":["src/components/alert/style.scss?tag=kol-alert&mode=default&encapsulation=shadow","src/components/alert/shadow.tsx"],"sourcesContent":["@import '../@shared/mixins';\n@import '../@shared/kol-alert-mixin.scss';\n\n@layer kol-component {\n\t:host {\n\t\tfont-size: rem(16);\n\t}\n}\n\n@include kol-alert-styles;\n","import type { AlertProps, AlertStates, AlertType, AlertVariant, HeadingLevel, KoliBriAlertEventCallbacks, LabelPropType } from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State } from '@stencil/core';\nimport { KolAlertWcTag } from '../../core/component-names';\n\n/**\n * @slot - Der Inhalt der Meldung.\n */\n@Component({\n\ttag: 'kol-alert',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAlert implements AlertProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-alert\">\n\t\t\t\t<KolAlertWcTag\n\t\t\t\t\t_alert={this._alert}\n\t\t\t\t\t_hasCloser={this._hasCloser}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_level={this._level}\n\t\t\t\t\t_on={this._on}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</KolAlertWcTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines whether the screen-readers should read out the notification.\n\t */\n\t@Prop() public _alert?: boolean = false;\n\n\t/**\n\t * Defines whether the element can be closed.\n\t * @TODO: Change type back to `HasCloserPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hasCloser?: boolean = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 1;\n\n\t/**\n\t * Gibt die EventCallback-Function für das Schließen des Alerts an.\n\t */\n\t@Prop() public _on?: KoliBriAlertEventCallbacks;\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: AlertType = 'default';\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: AlertVariant = 'msg';\n\n\t@State() public state: AlertStates = {\n\t\t_level: 1,\n\t};\n}\n"],"mappings":";;;wGAAA,MAAMA,EAAkB,u/IACxB,MAAAC,EAAeD,E,MCcFE,EAAQ,M,qCAsBc,M,gBAMI,M,kCAUC,E,8BAUJ,U,cAKM,M,WAEJ,CACpCC,OAAQ,E,CAvDF,MAAAC,GACN,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,aACXH,EAACI,EAAa,CAAAF,IAAA,2CACbG,OAAQC,KAAKD,OACbE,WAAYD,KAAKC,WACjBC,OAAQF,KAAKE,OACbV,OAAQQ,KAAKR,OACbW,IAAKH,KAAKG,IACVC,MAAOJ,KAAKI,MACZC,SAAUL,KAAKK,UAEfX,EAAA,QAAAE,IAAA,8C"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as a,h as t,H as e}from"./index-3fbcceca.js";import{D as s,v as i}from"./index-44da6e7f.js";import{t as r}from"./i18n-7bf2bd6f.js";import"./i18n-0c047df5.js";const c=a=>0===a.length?"":a[0].toUpperCase(),n=a=>{const t=a.split(/\s+/),e=t.at(0),s=t.at(-1);return t.length>=2&&e&&s?`${c(e)}${c(s)}`:c(a)},l=class{constructor(t){a(this,t),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return t(e,{key:"99fac7e3555c26480cdaf36d21bae55e9455b2a4",class:"kol-avatar-wc"},t("div",{key:"bb096bc4e6e5c9e9d4c3e07338a09d36017966fe","aria-label":r("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"container",role:"img"},this.state._src?t("img",{alt:"","aria-hidden":"true",class:"image",src:this.state._src}):t("span",{"aria-hidden":"true",class:"initials"},n(this.state._label.trim()))))}validateSrc(a){s(this,a)}validateLabel(a){i(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{l as kol_avatar_wc};
4
+ import{r as a,h as t,H as s}from"./index-3fbcceca.js";import{t as r}from"./i18n-37baa421.js";import{v as e}from"./image-source-36b5abe9.js";import{v as i}from"./label-e56ffdc6.js";import"./i18n-0c047df5.js";import"./reuse-b66836de.js";import"./prop.validators-29d576d2.js";import"./index-4a3076fc.js";import"./dev.utils-1ca991a2.js";const c=a=>0===a.length?"":a[0].toUpperCase(),o=a=>{const t=a.split(/\s+/),s=t.at(0),e=t.at(-1);return t.length>=2&&s&&e?`${c(s)}${c(e)}`:c(a)},d=class{constructor(t){a(this,t),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return t(s,{key:"672b71c600e54214bbaf86210fe439af3f187c83",class:"kol-avatar-wc"},t("div",{key:"8631bb174ac54c1677149d12979f6837dddd692d","aria-label":r("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"container",role:"img"},this.state._src?t("img",{alt:"","aria-hidden":"true",class:"image",src:this.state._src}):t("span",{"aria-hidden":"true",class:"initials"},o(this.state._label.trim()))))}validateSrc(a){e(this,a)}validateLabel(a){i(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{d as kol_avatar_wc};