@public-ui/components 3.0.2-rc.0 → 3.0.2-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. package/custom-elements.json +106 -1
  2. package/dist/cjs/{Alert-9fdb7776.js → Alert-e828f697.js} +1 -1
  3. package/dist/cjs/Alert-e828f697.js.map +1 -0
  4. package/dist/cjs/{Collapsible-27f768b6.js → Collapsible-d152ffe9.js} +1 -1
  5. package/dist/cjs/{Collapsible-27f768b6.js.map → Collapsible-d152ffe9.js.map} +1 -1
  6. package/dist/cjs/CustomSuggestionsOptionsGroup-bccb0c85.js +4 -0
  7. package/dist/cjs/CustomSuggestionsOptionsGroup-bccb0c85.js.map +1 -0
  8. package/dist/cjs/{FieldControlStateWrapper-c24e99c5.js → FieldControlStateWrapper-e48740a1.js} +1 -1
  9. package/dist/cjs/{FieldControlStateWrapper-c24e99c5.js.map → FieldControlStateWrapper-e48740a1.js.map} +1 -1
  10. package/dist/cjs/Heading-22a4eaf4.js +4 -0
  11. package/dist/cjs/Heading-22a4eaf4.js.map +1 -0
  12. package/dist/cjs/Icon-54f6fbd9.js +4 -0
  13. package/dist/cjs/{Icon-537bb332.js.map → Icon-54f6fbd9.js.map} +1 -1
  14. package/dist/cjs/{Input-b3df5b7d.js → Input-8d9e04a9.js} +1 -1
  15. package/dist/cjs/{Input-b3df5b7d.js.map → Input-8d9e04a9.js.map} +1 -1
  16. package/dist/cjs/{InputStateWrapper-4734d8d1.js → InputStateWrapper-f59de6b8.js} +1 -1
  17. package/dist/cjs/{InputStateWrapper-4734d8d1.js.map → InputStateWrapper-f59de6b8.js.map} +1 -1
  18. package/dist/cjs/{InternalUnderlinedBadgeText-0ea7ba87.js → InternalUnderlinedBadgeText-7387a5ef.js} +1 -1
  19. package/dist/cjs/{InternalUnderlinedBadgeText-0ea7ba87.js.map → InternalUnderlinedBadgeText-7387a5ef.js.map} +1 -1
  20. package/dist/cjs/{Span-0e05b374.js → Span-8bce0670.js} +1 -1
  21. package/dist/cjs/{Span-0e05b374.js.map → Span-8bce0670.js.map} +1 -1
  22. package/dist/cjs/align-floating-elements-8ddb8593.js +4 -0
  23. package/dist/cjs/align-floating-elements-8ddb8593.js.map +1 -0
  24. package/dist/cjs/{app-globals-cd9bce81.js → app-globals-02065fac.js} +1 -1
  25. package/dist/cjs/{app-globals-cd9bce81.js.map → app-globals-02065fac.js.map} +1 -1
  26. package/dist/cjs/{associated.controller-103272e2.js → associated.controller-7b651bde.js} +1 -1
  27. package/dist/cjs/{associated.controller-103272e2.js.map → associated.controller-7b651bde.js.map} +1 -1
  28. package/dist/cjs/{bootstrap-a35cdb5f.js → bootstrap-0ea93cf5.js} +1 -1
  29. package/dist/cjs/{bootstrap-a35cdb5f.js.map → bootstrap-0ea93cf5.js.map} +1 -1
  30. package/dist/cjs/component-names-1cb5b7ce.js +4 -0
  31. package/dist/cjs/component-names-1cb5b7ce.js.map +1 -0
  32. package/dist/cjs/{controller-4a3740d3.js → controller-33d9efe1.js} +1 -1
  33. package/dist/cjs/{controller-4a3740d3.js.map → controller-33d9efe1.js.map} +1 -1
  34. package/dist/cjs/{controller-e3f2bc2d.js → controller-6a9e56c9.js} +1 -1
  35. package/dist/cjs/{controller-e3f2bc2d.js.map → controller-6a9e56c9.js.map} +1 -1
  36. package/dist/cjs/{controller-872e38fa.js → controller-6b4e91b3.js} +1 -1
  37. package/dist/cjs/{controller-872e38fa.js.map → controller-6b4e91b3.js.map} +1 -1
  38. package/dist/cjs/{controller-b85b16a2.js → controller-75a14bc0.js} +1 -1
  39. package/dist/cjs/{controller-b85b16a2.js.map → controller-75a14bc0.js.map} +1 -1
  40. package/dist/cjs/{controller-icon-01e6fff3.js → controller-icon-4e94157b.js} +1 -1
  41. package/dist/cjs/{controller-icon-01e6fff3.js.map → controller-icon-4e94157b.js.map} +1 -1
  42. package/dist/cjs/{dev.utils-c3903802.js → dev.utils-d67f4f5e.js} +1 -1
  43. package/dist/cjs/{dev.utils-c3903802.js.map → dev.utils-d67f4f5e.js.map} +1 -1
  44. package/dist/cjs/{devtools-c9352fa2.js → devtools-00b028a3.js} +1 -1
  45. package/dist/cjs/{devtools-c9352fa2.js.map → devtools-00b028a3.js.map} +1 -1
  46. package/dist/cjs/getRenderStates-7523a890.js +4 -0
  47. package/dist/cjs/getRenderStates-7523a890.js.map +1 -0
  48. package/dist/cjs/index-f23172b0.js +4 -0
  49. package/dist/cjs/{index-c0d419b5.js.map → index-f23172b0.js.map} +1 -1
  50. package/dist/cjs/index.cjs.js +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-pagination-wc.cjs.entry.js +4 -0
  92. package/dist/cjs/kol-pagination-wc.cjs.entry.js.map +1 -0
  93. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  129. package/dist/cjs/kolibri.cjs.js +1 -1
  130. package/dist/cjs/loader.cjs.js +1 -1
  131. package/dist/cjs/test-component.cjs.entry.js +1 -1
  132. package/dist/components/Alert.js +1 -1
  133. package/dist/components/Alert.js.map +1 -1
  134. package/dist/components/CustomSuggestionsOptionsGroup.js +1 -1
  135. package/dist/components/CustomSuggestionsOptionsGroup.js.map +1 -1
  136. package/dist/components/Heading.js +1 -1
  137. package/dist/components/Heading.js.map +1 -1
  138. package/dist/components/InputStateWrapper.js +1 -1
  139. package/dist/components/align-floating-elements.js +1 -1
  140. package/dist/components/align-floating-elements.js.map +1 -1
  141. package/dist/components/component-names.js +1 -1
  142. package/dist/components/component-names.js.map +1 -1
  143. package/dist/components/getRenderStates.js +1 -1
  144. package/dist/components/getRenderStates.js.map +1 -1
  145. package/dist/components/kol-button-wc.js +1 -1
  146. package/dist/components/kol-button-wc.js.map +1 -1
  147. package/dist/components/kol-card-wc.js +1 -1
  148. package/dist/components/kol-combobox.js +1 -1
  149. package/dist/components/kol-combobox.js.map +1 -1
  150. package/dist/components/kol-heading.js +1 -1
  151. package/dist/components/kol-heading.js.map +1 -1
  152. package/dist/components/kol-nav.js +1 -1
  153. package/dist/components/kol-nav.js.map +1 -1
  154. package/dist/components/kol-pagination-wc.d.ts +11 -0
  155. package/dist/components/kol-pagination-wc.js +4 -0
  156. package/dist/components/kol-pagination-wc.js.map +1 -0
  157. package/dist/components/kol-pagination.js +1 -1
  158. package/dist/components/kol-pagination.js.map +1 -1
  159. package/dist/components/kol-popover-button-wc.js +1 -1
  160. package/dist/components/kol-popover-button-wc.js.map +1 -1
  161. package/dist/components/kol-popover-button.js +1 -1
  162. package/dist/components/kol-popover-button.js.map +1 -1
  163. package/dist/components/kol-popover-wc.js +1 -1
  164. package/dist/components/kol-progress.js +1 -1
  165. package/dist/components/kol-progress.js.map +1 -1
  166. package/dist/components/kol-quote.js +1 -1
  167. package/dist/components/kol-select.js +1 -1
  168. package/dist/components/kol-single-select.js +1 -1
  169. package/dist/components/kol-single-select.js.map +1 -1
  170. package/dist/components/kol-skip-nav.js +1 -1
  171. package/dist/components/kol-spin.js +1 -1
  172. package/dist/components/kol-split-button.js +1 -1
  173. package/dist/components/kol-split-button.js.map +1 -1
  174. package/dist/components/kol-table-settings-wc.js +1 -1
  175. package/dist/components/kol-table-stateful.js +1 -1
  176. package/dist/components/kol-table-stateful.js.map +1 -1
  177. package/dist/components/kol-table-stateless-wc.js +1 -1
  178. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  179. package/dist/components/kol-table-stateless.js +1 -1
  180. package/dist/components/kol-table-stateless.js.map +1 -1
  181. package/dist/components/kol-tabs.js +1 -1
  182. package/dist/components/kol-textarea.js +1 -1
  183. package/dist/components/kol-toast-container.js +1 -1
  184. package/dist/components/kol-toast-container.js.map +1 -1
  185. package/dist/components/kol-toolbar.js +1 -1
  186. package/dist/components/kol-tooltip-wc.js +1 -1
  187. package/dist/components/kol-tooltip-wc.js.map +1 -1
  188. package/dist/components/kol-tree-item-wc.js +1 -1
  189. package/dist/components/kol-tree-item.js +1 -1
  190. package/dist/components/kol-tree-wc.js +1 -1
  191. package/dist/components/kol-tree.js +1 -1
  192. package/dist/components/kol-version.js +1 -1
  193. package/dist/esm/{Alert-4f2f7115.js → Alert-a96714a0.js} +1 -1
  194. package/dist/esm/Alert-a96714a0.js.map +1 -0
  195. package/dist/esm/{Collapsible-7cb22ab1.js → Collapsible-29bb352a.js} +1 -1
  196. package/dist/esm/{Collapsible-7cb22ab1.js.map → Collapsible-29bb352a.js.map} +1 -1
  197. package/dist/esm/CustomSuggestionsOptionsGroup-4d57f72c.js +4 -0
  198. package/dist/esm/CustomSuggestionsOptionsGroup-4d57f72c.js.map +1 -0
  199. package/dist/esm/{FieldControlStateWrapper-602a7af3.js → FieldControlStateWrapper-adc38f2f.js} +1 -1
  200. package/dist/esm/{FieldControlStateWrapper-602a7af3.js.map → FieldControlStateWrapper-adc38f2f.js.map} +1 -1
  201. package/dist/esm/Heading-4990ec84.js +4 -0
  202. package/dist/esm/Heading-4990ec84.js.map +1 -0
  203. package/dist/esm/Icon-d694fbfe.js +4 -0
  204. package/dist/esm/{Icon-a2f91629.js.map → Icon-d694fbfe.js.map} +1 -1
  205. package/dist/esm/{Input-324f4b1d.js → Input-529b3f6c.js} +1 -1
  206. package/dist/esm/{Input-324f4b1d.js.map → Input-529b3f6c.js.map} +1 -1
  207. package/dist/esm/{InputStateWrapper-e0c888e4.js → InputStateWrapper-16c56aee.js} +1 -1
  208. package/dist/esm/{InputStateWrapper-e0c888e4.js.map → InputStateWrapper-16c56aee.js.map} +1 -1
  209. package/dist/esm/{InternalUnderlinedBadgeText-2d939629.js → InternalUnderlinedBadgeText-e15d02d5.js} +1 -1
  210. package/dist/esm/{InternalUnderlinedBadgeText-2d939629.js.map → InternalUnderlinedBadgeText-e15d02d5.js.map} +1 -1
  211. package/dist/esm/{Span-78135d4f.js → Span-3cb1ff76.js} +1 -1
  212. package/dist/esm/{Span-78135d4f.js.map → Span-3cb1ff76.js.map} +1 -1
  213. package/dist/esm/align-floating-elements-9459ccc3.js +4 -0
  214. package/dist/esm/align-floating-elements-9459ccc3.js.map +1 -0
  215. package/dist/esm/{app-globals-f57fb61d.js → app-globals-42ba66a8.js} +1 -1
  216. package/dist/esm/{app-globals-f57fb61d.js.map → app-globals-42ba66a8.js.map} +1 -1
  217. package/dist/esm/{associated.controller-22684481.js → associated.controller-4237c28d.js} +1 -1
  218. package/dist/esm/{associated.controller-22684481.js.map → associated.controller-4237c28d.js.map} +1 -1
  219. package/dist/esm/{bootstrap-dcdb1765.js → bootstrap-53ed580c.js} +1 -1
  220. package/dist/esm/{bootstrap-dcdb1765.js.map → bootstrap-53ed580c.js.map} +1 -1
  221. package/dist/esm/component-names-0657b355.js +4 -0
  222. package/dist/esm/component-names-0657b355.js.map +1 -0
  223. package/dist/esm/{controller-cf01f031.js → controller-235b6c3b.js} +1 -1
  224. package/dist/esm/{controller-cf01f031.js.map → controller-235b6c3b.js.map} +1 -1
  225. package/dist/esm/{controller-75622398.js → controller-2a5d8667.js} +1 -1
  226. package/dist/esm/{controller-75622398.js.map → controller-2a5d8667.js.map} +1 -1
  227. package/dist/esm/{controller-2152c5b3.js → controller-6253c3cd.js} +1 -1
  228. package/dist/esm/{controller-2152c5b3.js.map → controller-6253c3cd.js.map} +1 -1
  229. package/dist/esm/{controller-c6883e74.js → controller-a10288c6.js} +1 -1
  230. package/dist/esm/{controller-c6883e74.js.map → controller-a10288c6.js.map} +1 -1
  231. package/dist/esm/{controller-icon-6d59bc84.js → controller-icon-8f0ee809.js} +1 -1
  232. package/dist/esm/{controller-icon-6d59bc84.js.map → controller-icon-8f0ee809.js.map} +1 -1
  233. package/dist/esm/{dev.utils-ca3cce4b.js → dev.utils-98923b37.js} +1 -1
  234. package/dist/esm/{dev.utils-ca3cce4b.js.map → dev.utils-98923b37.js.map} +1 -1
  235. package/dist/esm/{devtools-fa819249.js → devtools-2b1bb963.js} +1 -1
  236. package/dist/esm/{devtools-fa819249.js.map → devtools-2b1bb963.js.map} +1 -1
  237. package/dist/esm/getRenderStates-6c8f7e98.js +4 -0
  238. package/dist/esm/getRenderStates-6c8f7e98.js.map +1 -0
  239. package/dist/esm/index-d47f6be5.js +4 -0
  240. package/dist/esm/{index-2f6c3929.js.map → index-d47f6be5.js.map} +1 -1
  241. package/dist/esm/index.js +1 -1
  242. package/dist/esm/kol-abbr.entry.js +1 -1
  243. package/dist/esm/kol-accordion.entry.js +1 -1
  244. package/dist/esm/kol-alert-wc.entry.js +1 -1
  245. package/dist/esm/kol-alert.entry.js +1 -1
  246. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  247. package/dist/esm/kol-avatar.entry.js +1 -1
  248. package/dist/esm/kol-badge.entry.js +1 -1
  249. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  250. package/dist/esm/kol-button-link.entry.js +1 -1
  251. package/dist/esm/kol-button-wc.entry.js +1 -1
  252. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  253. package/dist/esm/kol-button.entry.js +1 -1
  254. package/dist/esm/kol-card-wc.entry.js +1 -1
  255. package/dist/esm/kol-card.entry.js +1 -1
  256. package/dist/esm/kol-combobox.entry.js +1 -1
  257. package/dist/esm/kol-combobox.entry.js.map +1 -1
  258. package/dist/esm/kol-details.entry.js +1 -1
  259. package/dist/esm/kol-drawer.entry.js +1 -1
  260. package/dist/esm/kol-form.entry.js +1 -1
  261. package/dist/esm/kol-heading.entry.js +1 -1
  262. package/dist/esm/kol-heading.entry.js.map +1 -1
  263. package/dist/esm/kol-icon.entry.js +1 -1
  264. package/dist/esm/kol-image.entry.js +1 -1
  265. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  266. package/dist/esm/kol-input-color.entry.js +1 -1
  267. package/dist/esm/kol-input-date.entry.js +1 -1
  268. package/dist/esm/kol-input-email.entry.js +1 -1
  269. package/dist/esm/kol-input-file.entry.js +1 -1
  270. package/dist/esm/kol-input-number.entry.js +1 -1
  271. package/dist/esm/kol-input-password.entry.js +1 -1
  272. package/dist/esm/kol-input-radio.entry.js +1 -1
  273. package/dist/esm/kol-input-range.entry.js +1 -1
  274. package/dist/esm/kol-input-text.entry.js +1 -1
  275. package/dist/esm/kol-kolibri.entry.js +1 -1
  276. package/dist/esm/kol-link-button.entry.js +1 -1
  277. package/dist/esm/kol-link-wc.entry.js +1 -1
  278. package/dist/esm/kol-link.entry.js +1 -1
  279. package/dist/esm/kol-modal.entry.js +1 -1
  280. package/dist/esm/kol-nav.entry.js +1 -1
  281. package/dist/esm/kol-nav.entry.js.map +1 -1
  282. package/dist/esm/kol-pagination-wc.entry.js +4 -0
  283. package/dist/esm/kol-pagination-wc.entry.js.map +1 -0
  284. package/dist/esm/kol-pagination.entry.js +1 -1
  285. package/dist/esm/kol-pagination.entry.js.map +1 -1
  286. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  287. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  288. package/dist/esm/kol-popover-button.entry.js +1 -1
  289. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  290. package/dist/esm/kol-popover-wc.entry.js +1 -1
  291. package/dist/esm/kol-progress.entry.js +1 -1
  292. package/dist/esm/kol-progress.entry.js.map +1 -1
  293. package/dist/esm/kol-quote.entry.js +1 -1
  294. package/dist/esm/kol-select.entry.js +1 -1
  295. package/dist/esm/kol-single-select.entry.js +1 -1
  296. package/dist/esm/kol-single-select.entry.js.map +1 -1
  297. package/dist/esm/kol-skip-nav.entry.js +1 -1
  298. package/dist/esm/kol-spin.entry.js +1 -1
  299. package/dist/esm/kol-split-button.entry.js +1 -1
  300. package/dist/esm/kol-split-button.entry.js.map +1 -1
  301. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  302. package/dist/esm/kol-table-stateful.entry.js +1 -1
  303. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  304. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  305. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  306. package/dist/esm/kol-table-stateless.entry.js +1 -1
  307. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  308. package/dist/esm/kol-tabs.entry.js +1 -1
  309. package/dist/esm/kol-textarea.entry.js +1 -1
  310. package/dist/esm/kol-toast-container.entry.js +1 -1
  311. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  312. package/dist/esm/kol-toolbar.entry.js +1 -1
  313. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  314. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  315. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  316. package/dist/esm/kol-tree-item.entry.js +1 -1
  317. package/dist/esm/kol-tree-wc.entry.js +1 -1
  318. package/dist/esm/kol-tree.entry.js +1 -1
  319. package/dist/esm/kol-version.entry.js +1 -1
  320. package/dist/esm/kolibri.js +1 -1
  321. package/dist/esm/loader.js +1 -1
  322. package/dist/esm/test-component.entry.js +1 -1
  323. package/dist/kolibri/Alert-a96714a0.js +4 -0
  324. package/dist/kolibri/{Alert-4f2f7115.js.map → Alert-a96714a0.js.map} +1 -1
  325. package/dist/kolibri/{Collapsible-7cb22ab1.js → Collapsible-29bb352a.js} +1 -1
  326. package/dist/kolibri/CustomSuggestionsOptionsGroup-4d57f72c.js +4 -0
  327. package/dist/kolibri/CustomSuggestionsOptionsGroup-4d57f72c.js.map +1 -0
  328. package/dist/kolibri/{FieldControlStateWrapper-602a7af3.js → FieldControlStateWrapper-adc38f2f.js} +1 -1
  329. package/dist/kolibri/Heading-4990ec84.js +4 -0
  330. package/dist/kolibri/Heading-4990ec84.js.map +1 -0
  331. package/dist/kolibri/Icon-d694fbfe.js +4 -0
  332. package/dist/kolibri/Input-529b3f6c.js +4 -0
  333. package/dist/kolibri/{InputStateWrapper-e0c888e4.js → InputStateWrapper-16c56aee.js} +1 -1
  334. package/dist/kolibri/InternalUnderlinedBadgeText-e15d02d5.js +4 -0
  335. package/dist/kolibri/Span-3cb1ff76.js +4 -0
  336. package/dist/kolibri/align-floating-elements-9459ccc3.js +4 -0
  337. package/dist/kolibri/align-floating-elements-9459ccc3.js.map +1 -0
  338. package/dist/kolibri/app-globals-42ba66a8.js +4 -0
  339. package/dist/kolibri/{app-globals-f57fb61d.js.map → app-globals-42ba66a8.js.map} +1 -1
  340. package/dist/kolibri/{associated.controller-22684481.js → associated.controller-4237c28d.js} +1 -1
  341. package/dist/kolibri/{bootstrap-dcdb1765.js → bootstrap-53ed580c.js} +1 -1
  342. package/dist/kolibri/component-names-0657b355.js +4 -0
  343. package/dist/kolibri/component-names-0657b355.js.map +1 -0
  344. package/dist/kolibri/{controller-cf01f031.js → controller-235b6c3b.js} +1 -1
  345. package/dist/kolibri/{controller-75622398.js → controller-2a5d8667.js} +1 -1
  346. package/dist/kolibri/{controller-2152c5b3.js → controller-6253c3cd.js} +1 -1
  347. package/dist/kolibri/{controller-c6883e74.js → controller-a10288c6.js} +1 -1
  348. package/dist/kolibri/{controller-icon-6d59bc84.js → controller-icon-8f0ee809.js} +1 -1
  349. package/dist/kolibri/{dev.utils-ca3cce4b.js → dev.utils-98923b37.js} +1 -1
  350. package/dist/kolibri/{devtools-fa819249.js → devtools-2b1bb963.js} +1 -1
  351. package/dist/kolibri/getRenderStates-6c8f7e98.js +4 -0
  352. package/dist/kolibri/getRenderStates-6c8f7e98.js.map +1 -0
  353. package/dist/kolibri/{index-2f6c3929.js → index-d47f6be5.js} +1 -1
  354. package/dist/kolibri/{index-2f6c3929.js.map → index-d47f6be5.js.map} +1 -1
  355. package/dist/kolibri/index.esm.js +1 -1
  356. package/dist/kolibri/kol-abbr.entry.js +1 -1
  357. package/dist/kolibri/kol-accordion.entry.js +1 -1
  358. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  359. package/dist/kolibri/kol-alert.entry.js +1 -1
  360. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  361. package/dist/kolibri/kol-avatar.entry.js +1 -1
  362. package/dist/kolibri/kol-badge.entry.js +1 -1
  363. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  364. package/dist/kolibri/kol-button-link.entry.js +1 -1
  365. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  366. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  367. package/dist/kolibri/kol-button.entry.js +1 -1
  368. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  369. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  370. package/dist/kolibri/kol-card.entry.js +1 -1
  371. package/dist/kolibri/kol-combobox.entry.js +1 -1
  372. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  373. package/dist/kolibri/kol-details.entry.js +1 -1
  374. package/dist/kolibri/kol-drawer.entry.js +1 -1
  375. package/dist/kolibri/kol-form.entry.js +1 -1
  376. package/dist/kolibri/kol-heading.entry.js +1 -1
  377. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  378. package/dist/kolibri/kol-icon.entry.js +1 -1
  379. package/dist/kolibri/kol-image.entry.js +1 -1
  380. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  381. package/dist/kolibri/kol-input-color.entry.js +1 -1
  382. package/dist/kolibri/kol-input-date.entry.js +1 -1
  383. package/dist/kolibri/kol-input-email.entry.js +1 -1
  384. package/dist/kolibri/kol-input-file.entry.js +1 -1
  385. package/dist/kolibri/kol-input-number.entry.js +1 -1
  386. package/dist/kolibri/kol-input-password.entry.js +1 -1
  387. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  388. package/dist/kolibri/kol-input-range.entry.js +1 -1
  389. package/dist/kolibri/kol-input-text.entry.js +1 -1
  390. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  391. package/dist/kolibri/kol-link-button.entry.js +1 -1
  392. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  393. package/dist/kolibri/kol-link.entry.js +1 -1
  394. package/dist/kolibri/kol-modal.entry.js +1 -1
  395. package/dist/kolibri/kol-nav.entry.js +1 -1
  396. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  397. package/dist/kolibri/kol-pagination-wc.entry.js +4 -0
  398. package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -0
  399. package/dist/kolibri/kol-pagination.entry.js +1 -1
  400. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  401. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  402. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  403. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  404. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  405. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  406. package/dist/kolibri/kol-progress.entry.js +1 -1
  407. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  408. package/dist/kolibri/kol-quote.entry.js +1 -1
  409. package/dist/kolibri/kol-select.entry.js +1 -1
  410. package/dist/kolibri/kol-single-select.entry.js +1 -1
  411. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  412. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  413. package/dist/kolibri/kol-spin.entry.js +1 -1
  414. package/dist/kolibri/kol-split-button.entry.js +1 -1
  415. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  416. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  417. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  418. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  419. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  420. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  421. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  422. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  423. package/dist/kolibri/kol-tabs.entry.js +1 -1
  424. package/dist/kolibri/kol-textarea.entry.js +1 -1
  425. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  426. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  427. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  428. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  429. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  430. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  431. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  432. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  433. package/dist/kolibri/kol-tree.entry.js +1 -1
  434. package/dist/kolibri/kol-version.entry.js +1 -1
  435. package/dist/kolibri/kolibri.esm.js +1 -1
  436. package/dist/kolibri/kolibri.esm.js.map +1 -1
  437. package/dist/kolibri/test-component.entry.js +1 -1
  438. package/dist/types/components/button/component.d.ts +2 -1
  439. package/dist/types/components/pagination/component.d.ts +46 -0
  440. package/dist/types/components/pagination/shadow.d.ts +2 -32
  441. package/dist/types/components/split-button/shadow.d.ts +11 -4
  442. package/dist/types/components/table-stateless/component.d.ts +1 -1
  443. package/dist/types/components/tooltip/component.d.ts +5 -5
  444. package/dist/types/components.d.ts +135 -6
  445. package/dist/types/core/component-names.d.ts +1 -0
  446. package/dist/types/e2e/input-msg.d.ts +5 -0
  447. package/dist/types/functional-components/CustomSuggestionsOption/CustomSuggestionsOption.d.ts +1 -0
  448. package/dist/types/functional-components/Heading/Heading.d.ts +0 -2
  449. package/dist/types/schema/components/toaster.d.ts +1 -0
  450. package/dist/types/schema/props/msg.d.ts +2 -2
  451. package/dist/types/schema/types/aria.d.ts +4 -0
  452. package/dist/types/schema/types/index.d.ts +1 -1
  453. package/doc/pagination.md +1 -1
  454. package/doc/split-button.md +41 -18
  455. package/doc/toaster.md +3 -3
  456. package/package.json +5 -1
  457. package/postinstall.js +38 -0
  458. package/vscode-custom-data.json +75 -0
  459. package/dist/cjs/Alert-9fdb7776.js.map +0 -1
  460. package/dist/cjs/CustomSuggestionsOptionsGroup-5aa8cb59.js +0 -4
  461. package/dist/cjs/CustomSuggestionsOptionsGroup-5aa8cb59.js.map +0 -1
  462. package/dist/cjs/Heading-37af6473.js +0 -4
  463. package/dist/cjs/Heading-37af6473.js.map +0 -1
  464. package/dist/cjs/Icon-537bb332.js +0 -4
  465. package/dist/cjs/align-floating-elements-7e50809a.js +0 -4
  466. package/dist/cjs/align-floating-elements-7e50809a.js.map +0 -1
  467. package/dist/cjs/component-names-f5f2ca3a.js +0 -4
  468. package/dist/cjs/component-names-f5f2ca3a.js.map +0 -1
  469. package/dist/cjs/getRenderStates-0f8144fb.js +0 -4
  470. package/dist/cjs/getRenderStates-0f8144fb.js.map +0 -1
  471. package/dist/cjs/index-c0d419b5.js +0 -4
  472. package/dist/esm/Alert-4f2f7115.js.map +0 -1
  473. package/dist/esm/CustomSuggestionsOptionsGroup-06278bda.js +0 -4
  474. package/dist/esm/CustomSuggestionsOptionsGroup-06278bda.js.map +0 -1
  475. package/dist/esm/Heading-7b90eeb4.js +0 -4
  476. package/dist/esm/Heading-7b90eeb4.js.map +0 -1
  477. package/dist/esm/Icon-a2f91629.js +0 -4
  478. package/dist/esm/align-floating-elements-526ce555.js +0 -4
  479. package/dist/esm/align-floating-elements-526ce555.js.map +0 -1
  480. package/dist/esm/component-names-553d8bfa.js +0 -4
  481. package/dist/esm/component-names-553d8bfa.js.map +0 -1
  482. package/dist/esm/getRenderStates-1a7401a2.js +0 -4
  483. package/dist/esm/getRenderStates-1a7401a2.js.map +0 -1
  484. package/dist/esm/index-2f6c3929.js +0 -4
  485. package/dist/kolibri/Alert-4f2f7115.js +0 -4
  486. package/dist/kolibri/CustomSuggestionsOptionsGroup-06278bda.js +0 -4
  487. package/dist/kolibri/CustomSuggestionsOptionsGroup-06278bda.js.map +0 -1
  488. package/dist/kolibri/Heading-7b90eeb4.js +0 -4
  489. package/dist/kolibri/Heading-7b90eeb4.js.map +0 -1
  490. package/dist/kolibri/Icon-a2f91629.js +0 -4
  491. package/dist/kolibri/Input-324f4b1d.js +0 -4
  492. package/dist/kolibri/InternalUnderlinedBadgeText-2d939629.js +0 -4
  493. package/dist/kolibri/Span-78135d4f.js +0 -4
  494. package/dist/kolibri/align-floating-elements-526ce555.js +0 -4
  495. package/dist/kolibri/align-floating-elements-526ce555.js.map +0 -1
  496. package/dist/kolibri/app-globals-f57fb61d.js +0 -4
  497. package/dist/kolibri/component-names-553d8bfa.js +0 -4
  498. package/dist/kolibri/component-names-553d8bfa.js.map +0 -1
  499. package/dist/kolibri/getRenderStates-1a7401a2.js +0 -4
  500. package/dist/kolibri/getRenderStates-1a7401a2.js.map +0 -1
  501. package/dist/types/components/input/controller.d.ts +0 -11
  502. /package/dist/kolibri/{Collapsible-7cb22ab1.js.map → Collapsible-29bb352a.js.map} +0 -0
  503. /package/dist/kolibri/{FieldControlStateWrapper-602a7af3.js.map → FieldControlStateWrapper-adc38f2f.js.map} +0 -0
  504. /package/dist/kolibri/{Icon-a2f91629.js.map → Icon-d694fbfe.js.map} +0 -0
  505. /package/dist/kolibri/{Input-324f4b1d.js.map → Input-529b3f6c.js.map} +0 -0
  506. /package/dist/kolibri/{InputStateWrapper-e0c888e4.js.map → InputStateWrapper-16c56aee.js.map} +0 -0
  507. /package/dist/kolibri/{InternalUnderlinedBadgeText-2d939629.js.map → InternalUnderlinedBadgeText-e15d02d5.js.map} +0 -0
  508. /package/dist/kolibri/{Span-78135d4f.js.map → Span-3cb1ff76.js.map} +0 -0
  509. /package/dist/kolibri/{associated.controller-22684481.js.map → associated.controller-4237c28d.js.map} +0 -0
  510. /package/dist/kolibri/{bootstrap-dcdb1765.js.map → bootstrap-53ed580c.js.map} +0 -0
  511. /package/dist/kolibri/{controller-cf01f031.js.map → controller-235b6c3b.js.map} +0 -0
  512. /package/dist/kolibri/{controller-75622398.js.map → controller-2a5d8667.js.map} +0 -0
  513. /package/dist/kolibri/{controller-2152c5b3.js.map → controller-6253c3cd.js.map} +0 -0
  514. /package/dist/kolibri/{controller-c6883e74.js.map → controller-a10288c6.js.map} +0 -0
  515. /package/dist/kolibri/{controller-icon-6d59bc84.js.map → controller-icon-8f0ee809.js.map} +0 -0
  516. /package/dist/kolibri/{dev.utils-ca3cce4b.js.map → dev.utils-98923b37.js.map} +0 -0
  517. /package/dist/kolibri/{devtools-fa819249.js.map → devtools-2b1bb963.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- export{s as setCurrentLocation}from"./ariaCurrentService-6fe36ebc.js";import{L as e}from"./index-ebe5a881.js";export{K as KoliBri,a as KoliBriDevHelper}from"./index-ebe5a881.js";import{K as n}from"./component-names-553d8bfa.js";import{i as t}from"./bootstrap-dcdb1765.js";export{b as bootstrap,i as isInitialized,r as register}from"./bootstrap-dcdb1765.js";export{K as KolEvent}from"./events-bad0a075.js";export{B as BEM_ALERT}from"./bem-e4c3a2e6.js";export{B as BEM_ICON}from"./bem-dabd96cc.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";class u{constructor(e,t){this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(n),this.document.body.prepend(this.toastContainerElement)}static getInstance(e,n){if(!t())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let s=this.instances.get(e);return s||(s=new u(e,n),this.instances.set(e,s)),s}dispose(){const n=this.toastContainerElement;n?(this.toastContainerElement=void 0,n.remove()):e.warn("Toaster service is already disposed.")}enqueue(e){var n,t;if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return null!==(n=e.variant)&&void 0!==n||(e.variant=null===(t=this.options)||void 0===t?void 0:t.defaultVariant),this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var d;u.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(d||(d={}));const f=Object.getOwnPropertyNames(d);var m;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(m||(m={}));const o=Object.getOwnPropertyNames(m);var h;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(h||(h={}));const c=Object.getOwnPropertyNames(h),l=new Map;l.set(d["Die Bundesregierung"],["Die","Bundesregierung"]),l.set(d["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),l.set(d["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),l.set(d["Auswärtiges Amt"],["Auswärtiges Amt"]),l.set(d["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),l.set(d["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),l.set(d["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),l.set(d["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),l.set(d["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),l.set(d["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),l.set(d["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),l.set(d["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),l.set(d["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),l.set(d["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),l.set(d["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),l.set(m["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),l.set(m["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),l.set(m["Bundesamt für äußere Restitutionen"],[]),l.set(m["Bundesamt für Bauwesen und Raumordnung"],[]),l.set(m["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),l.set(m["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),l.set(m["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),l.set(m["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),l.set(m["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),l.set(m["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),l.set(m["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),l.set(m["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),l.set(m["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),l.set(m["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),l.set(m["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),l.set(m["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),l.set(m["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),l.set(m.Bundesarchiv,["Das","Bundesarchiv"]),l.set(m["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),l.set(m.Bundesausgleichsamt,["Bundesausgleichsamt"]),l.set(m.Bundeskartellamt,["Bundeskartellamt"]),l.set(m.Bundeskriminalamt,["Bundeskriminalamt"]),l.set(m.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),l.set(m["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),l.set(m["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),l.set(m["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),l.set(m.Bundessortenamt,["Bundessortenamt"]),l.set(m.Bundessprachenamt,["Bundessprachenamt"]),l.set(m["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),l.set(m.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),l.set(m["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),l.set(m["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),l.set(m["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),l.set(m.Generalzolldirektion,["Generalzolldirektion"]),l.set(m["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),l.set(m["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),l.set(h["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),l.set(h["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),l.set(h["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),l.set(h["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),l.set(h["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),l.set(h["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),l.set(h["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);export{o as BUNDESAEMTER,c as BUNDESANSTALTEN,f as BUNDESMINISTERIEN,l as BUND_LOGO_TEXT_MAP,m as Bundesamt,h as Bundesanstalt,d as Bundesministerium,u as ToasterService};
4
+ export{s as setCurrentLocation}from"./ariaCurrentService-6fe36ebc.js";import{L as e}from"./index-ebe5a881.js";export{K as KoliBri,a as KoliBriDevHelper}from"./index-ebe5a881.js";import{K as n}from"./component-names-0657b355.js";import{i as t}from"./bootstrap-53ed580c.js";export{b as bootstrap,i as isInitialized,r as register}from"./bootstrap-53ed580c.js";export{K as KolEvent}from"./events-bad0a075.js";export{B as BEM_ALERT}from"./bem-e4c3a2e6.js";export{B as BEM_ICON}from"./bem-dabd96cc.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";class u{constructor(e,t){this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(n),this.document.body.prepend(this.toastContainerElement)}static getInstance(e,n){if(!t())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let s=this.instances.get(e);return s||(s=new u(e,n),this.instances.set(e,s)),s}dispose(){const n=this.toastContainerElement;n?(this.toastContainerElement=void 0,n.remove()):e.warn("Toaster service is already disposed.")}enqueue(e){var n,t;if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return null!==(n=e.variant)&&void 0!==n||(e.variant=null===(t=this.options)||void 0===t?void 0:t.defaultVariant),this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var d;u.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(d||(d={}));const f=Object.getOwnPropertyNames(d);var m;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(m||(m={}));const o=Object.getOwnPropertyNames(m);var h;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(h||(h={}));const c=Object.getOwnPropertyNames(h),l=new Map;l.set(d["Die Bundesregierung"],["Die","Bundesregierung"]),l.set(d["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),l.set(d["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),l.set(d["Auswärtiges Amt"],["Auswärtiges Amt"]),l.set(d["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),l.set(d["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),l.set(d["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),l.set(d["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),l.set(d["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),l.set(d["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),l.set(d["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),l.set(d["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),l.set(d["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),l.set(d["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),l.set(d["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),l.set(m["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),l.set(m["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),l.set(m["Bundesamt für äußere Restitutionen"],[]),l.set(m["Bundesamt für Bauwesen und Raumordnung"],[]),l.set(m["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),l.set(m["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),l.set(m["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),l.set(m["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),l.set(m["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),l.set(m["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),l.set(m["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),l.set(m["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),l.set(m["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),l.set(m["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),l.set(m["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),l.set(m["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),l.set(m["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),l.set(m.Bundesarchiv,["Das","Bundesarchiv"]),l.set(m["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),l.set(m.Bundesausgleichsamt,["Bundesausgleichsamt"]),l.set(m.Bundeskartellamt,["Bundeskartellamt"]),l.set(m.Bundeskriminalamt,["Bundeskriminalamt"]),l.set(m.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),l.set(m["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),l.set(m["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),l.set(m["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),l.set(m.Bundessortenamt,["Bundessortenamt"]),l.set(m.Bundessprachenamt,["Bundessprachenamt"]),l.set(m["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),l.set(m.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),l.set(m["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),l.set(m["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),l.set(m["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),l.set(m.Generalzolldirektion,["Generalzolldirektion"]),l.set(m["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),l.set(m["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),l.set(h["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),l.set(h["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),l.set(h["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),l.set(h["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),l.set(h["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),l.set(h["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),l.set(h["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);export{o as BUNDESAEMTER,c as BUNDESANSTALTEN,f as BUNDESMINISTERIEN,l as BUND_LOGO_TEXT_MAP,m as Bundesamt,h as Bundesanstalt,d as Bundesministerium,u as ToasterService};
@@ -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-2f6c3929.js";import"./index-ebe5a881.js";import{a as i}from"./component-names-553d8bfa.js";import{v as o}from"./label-bf9966d0.js";const a="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}",l=a,s=class{constructor(e){n(this,e),this._label=void 0,this.state={_label:""}}render(){return e(t,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},e("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},e("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?e(i,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(n){o(this,n)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};s.style={default:l};export{s as kol_abbr};
4
+ import{r as n,h as e,H as t}from"./index-d47f6be5.js";import"./index-ebe5a881.js";import{a as i}from"./component-names-0657b355.js";import{v as o}from"./label-bf9966d0.js";const a="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}",l=a,s=class{constructor(e){n(this,e),this._label=void 0,this.state={_label:""}}render(){return e(t,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},e("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},e("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?e(i,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(n){o(this,n)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};s.style={default:l};export{s as kol_abbr};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,g as t}from"./index-2f6c3929.js";import{w as i,f as o}from"./index-ebe5a881.js";import{n as a}from"./dev.utils-ca3cce4b.js";import{w as s}from"./validation-152ea092.js";import{K as l}from"./Collapsible-7cb22ab1.js";import{d as r,K as d}from"./events-bad0a075.js";import{v as c}from"./disabled-e1038f54.js";import{v as h}from"./open-385de2c9.js";import{v as p}from"./label-bf9966d0.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./component-names-553d8bfa.js";import"./Heading-7b90eeb4.js";const b=(n,e)=>{i(n,"_on",(n=>"object"==typeof n&&null!==n),new Set(["AccordionCallbacksPropType {Events.onClick}"]),e)},m="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n@layer kol-component {\n .collapsible {\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n }\n .collapsible__wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\n transform: translateZ(0);\n }\n .collapsible__wrapper-animation {\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 .collapsible--open .collapsible__wrapper {\n grid-template-rows: 1fr;\n }\n .collapsible--open .collapsible__wrapper-animation {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .collapsible__wrapper-animation, .collapsible__wrapper {\n transition-duration: 0s;\n }\n }\n @media print {\n :not(.collapsible--open) .collapsible__wrapper-animation {\n display: none;\n }\n }\n .collapsible__heading-button button .kol-span {\n justify-items: start;\n }\n}",u=m;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 f=class{constructor(e){n(this,e),this.nonce=a(),this.catchRef=n=>{this.buttonWcRef=n},this.handleOnClick=n=>{this._open=!this._open,setTimeout((()=>{var e,t;null===(t=null===(e=this.state._on)||void 0===e?void 0:e.onClick)||void 0===t||t.call(e,n,!0===this._open),this.host&&r(this.host,d.click,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=0,this._on=void 0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:i,_level:o}=this.state,a="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:i,level:o,onClick:this.handleOnClick,class:a,HeadingProps:{class:`${a}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${a}__heading-button`},ContentProps:{class:`${a}__content`,wrapperClass:`${a}__wrapper`,animationClass:`${a}__wrapper-animation`}};return e(l,Object.assign({key:"1dbccb17356ce71203174127364c940a335db42d"},s),e("slot",{key:"a04b6c07d149b451f549400a506d7b97e6cf3ed7"}))}validateDisabled(n){c(this,n)}validateLabel(n){p(this,n,{required:!0})}validateLevel(n){s(this,n)}validateOn(n){b(this,n)}validateOpen(n){h(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 t(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};f.style={default:u};export{f as kol_accordion};
4
+ import{r as n,h as e,g as t}from"./index-d47f6be5.js";import{w as i,f as o}from"./index-ebe5a881.js";import{n as a}from"./dev.utils-98923b37.js";import{w as s}from"./validation-152ea092.js";import{K as l}from"./Collapsible-29bb352a.js";import{d as r,K as d}from"./events-bad0a075.js";import{v as h}from"./disabled-e1038f54.js";import{v as c}from"./open-385de2c9.js";import{v as p}from"./label-bf9966d0.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./component-names-0657b355.js";import"./Heading-4990ec84.js";const b=(n,e)=>{i(n,"_on",(n=>"object"==typeof n&&null!==n),new Set(["AccordionCallbacksPropType {Events.onClick}"]),e)},m="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n@layer kol-component {\n .collapsible {\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n }\n .collapsible__wrapper {\n display: grid;\n grid-template-rows: 0fr;\n overflow: hidden;\n transition: grid-template-rows 0.3s;\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\n transform: translateZ(0);\n }\n .collapsible__wrapper-animation {\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 .collapsible--open .collapsible__wrapper {\n grid-template-rows: 1fr;\n }\n .collapsible--open .collapsible__wrapper-animation {\n visibility: visible;\n }\n @media (prefers-reduced-motion) {\n .collapsible__wrapper-animation, .collapsible__wrapper {\n transition-duration: 0s;\n }\n }\n @media print {\n :not(.collapsible--open) .collapsible__wrapper-animation {\n display: none;\n }\n }\n .collapsible__heading-button button .kol-span {\n justify-items: start;\n }\n}",u=m;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 f=class{constructor(e){n(this,e),this.nonce=a(),this.catchRef=n=>{this.buttonWcRef=n},this.handleOnClick=n=>{this._open=!this._open,setTimeout((()=>{var e,t;null===(t=null===(e=this.state._on)||void 0===e?void 0:e.onClick)||void 0===t||t.call(e,n,!0===this._open),this.host&&r(this.host,d.click,!0===this._open)}))},this._disabled=!1,this._label=void 0,this._level=0,this._on=void 0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:i,_level:o}=this.state,a="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:i,level:o,onClick:this.handleOnClick,class:a,HeadingProps:{class:`${a}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${a}__heading-button`},ContentProps:{class:`${a}__content`,wrapperClass:`${a}__wrapper`,animationClass:`${a}__wrapper-animation`}};return e(l,Object.assign({key:"1dbccb17356ce71203174127364c940a335db42d"},s),e("slot",{key:"a04b6c07d149b451f549400a506d7b97e6cf3ed7"}))}validateDisabled(n){h(this,n)}validateLabel(n){p(this,n,{required:!0})}validateLevel(n){s(this,n)}validateOn(n){b(this,n)}validateOpen(n){c(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 t(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};f.style={default:u};export{f as kol_accordion};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as e,g as s}from"./index-2f6c3929.js";import{i,l as a,w as l}from"./index-ebe5a881.js";import{w as r}from"./validation-152ea092.js";import{K as o}from"./Alert-4f2f7115.js";import{d as n,K as h}from"./events-bad0a075.js";import{v as d}from"./has-closer-798e8f4d.js";import{v as f}from"./label-bf9966d0.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./component-names-553d8bfa.js";import"./i18n-260f0fe9.js";import"./i18n-45224cc3.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-7b90eeb4.js";const v=["default","info","success","warning","error"],c=["card","msg"],m=class{constructor(e){t(this,e),this.close=()=>{var e,t;null===(t=null===(e=this._on)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&n(this.host,h.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:0}}render(){const{_alert:t,_hasCloser:a,_label:s,_level:i,_type:l,_variant:r}=this.state,n={alert:t,hasCloser:a,label:s,level:i,type:l,variant:r,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return e(o,Object.assign({key:"2b0d74465270eef8d8d6f3da8c04377f862e8630"},n),e("slot",{key:"55e8ad62be763c26af16813e5ebfac2ce1f63b54"}))}validateAlert(e){i(this,"_alert",e)}validateHasCloser(e){d(this,e)}validateLabel(e){f(this,e)}validateLevel(e){r(this,e)}validateOn(e){this.validateOnValue(e)&&a(this,"_on",{onClose:e.onClose})}validateType(e){l(this,"_type",(e=>"string"==typeof e&&v.includes(e)),new Set(`String {${v.join(", ")}`),e)}validateVariant(e){l(this,"_variant",(e=>"string"==typeof e&&c.includes(e)),new Set(`AlertVariant {${c.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)}get host(){return s(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{m as kol_alert_wc};
4
+ import{r as t,h as e,g as s}from"./index-d47f6be5.js";import{i,l as a,w as l}from"./index-ebe5a881.js";import{w as r}from"./validation-152ea092.js";import{K as o}from"./Alert-a96714a0.js";import{d as n,K as h}from"./events-bad0a075.js";import{v as d}from"./has-closer-798e8f4d.js";import{v as f}from"./label-bf9966d0.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./component-names-0657b355.js";import"./i18n-260f0fe9.js";import"./i18n-45224cc3.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-4990ec84.js";const v=["default","info","success","warning","error"],c=["card","msg"],m=class{constructor(e){t(this,e),this.close=()=>{var e,t;null===(t=null===(e=this._on)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&n(this.host,h.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this.validateOnValue=e=>"object"==typeof e&&null!==e&&"function"==typeof e.onClose,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:0}}render(){const{_alert:t,_hasCloser:a,_label:s,_level:i,_type:l,_variant:r}=this.state,n={alert:t,hasCloser:a,label:s,level:i,type:l,variant:r,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return e(o,Object.assign({key:"2b0d74465270eef8d8d6f3da8c04377f862e8630"},n),e("slot",{key:"55e8ad62be763c26af16813e5ebfac2ce1f63b54"}))}validateAlert(e){i(this,"_alert",e)}validateHasCloser(e){d(this,e)}validateLabel(e){f(this,e)}validateLevel(e){r(this,e)}validateOn(e){this.validateOnValue(e)&&a(this,"_on",{onClose:e.onClose})}validateType(e){l(this,"_type",(e=>"string"==typeof e&&v.includes(e)),new Set(`String {${v.join(", ")}`),e)}validateVariant(e){l(this,"_variant",(e=>"string"==typeof e&&c.includes(e)),new Set(`AlertVariant {${c.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)}get host(){return s(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{m as kol_alert_wc};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e}from"./index-2f6c3929.js";import{c as t}from"./component-names-553d8bfa.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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}",i=o,a=class{constructor(e){n(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return e(t,{key:"2864ce68b908fefb6e43f8ab8d255b67060d5999",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},e("slot",{key:"d6ac5ace725340adf1202221172d0f9200bd8bd9"}))}};a.style={default:i};export{a as kol_alert};
4
+ import{r as n,h as e}from"./index-d47f6be5.js";import{c as t}from"./component-names-0657b355.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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}",i=o,a=class{constructor(e){n(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return e(t,{key:"2864ce68b908fefb6e43f8ab8d255b67060d5999",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},e("slot",{key:"d6ac5ace725340adf1202221172d0f9200bd8bd9"}))}};a.style={default:i};export{a as kol_alert};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as a,h as t}from"./index-2f6c3929.js";import"./index-ebe5a881.js";import{t as r}from"./i18n-260f0fe9.js";import{v as s}from"./image-source-8079f8a5.js";import{v as e}from"./label-bf9966d0.js";import"./i18n-45224cc3.js";const i=a=>0===a.length?"":a[0].toUpperCase(),l=a=>{const t=a.split(/\s+/),e=t[0],s=t[t.length-1];return t.length>=2&&e&&s?`${i(e)}${i(s)}`:i(a)},o=class{constructor(t){a(this,t),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return t("div",{key:"b9ad63a1fb9190d47524deae8e59a00d2a14fa83","aria-label":r("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img"},this.state._src?t("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):t("span",{"aria-hidden":"true",class:"kol-avatar__initials"},l(this.state._label.trim())))}validateSrc(a){s(this,a)}validateLabel(a){e(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{o as kol_avatar_wc};
4
+ import{r as a,h as t}from"./index-d47f6be5.js";import"./index-ebe5a881.js";import{t as e}from"./i18n-260f0fe9.js";import{v as r}from"./image-source-8079f8a5.js";import{v as s}from"./label-bf9966d0.js";import"./i18n-45224cc3.js";const i=a=>0===a.length?"":a[0].toUpperCase(),l=a=>{const t=a.split(/\s+/),e=t[0],s=t[t.length-1];return t.length>=2&&e&&s?`${i(e)}${i(s)}`:i(a)},o=class{constructor(t){a(this,t),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return t("div",{key:"b9ad63a1fb9190d47524deae8e59a00d2a14fa83","aria-label":e("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img"},this.state._src?t("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):t("span",{"aria-hidden":"true",class:"kol-avatar__initials"},l(this.state._label.trim())))}validateSrc(a){r(this,a)}validateLabel(a){s(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{o as kol_avatar_wc};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e}from"./index-2f6c3929.js";import{d as t}from"./component-names-553d8bfa.js";const i="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-avatar {\n border-radius: 50%;\n overflow: hidden;\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n /*theme?*/\n width: calc(100rem / var(--kolibri-root-font-size, 16));\n height: calc(100rem / var(--kolibri-root-font-size, 16));\n }\n .kol-avatar__image {\n width: 100%;\n height: 100%;\n }\n .kol-avatar__initials {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n /*theme?*/\n background-color: #d3d3d3;\n font-size: calc(40rem / var(--kolibri-root-font-size, 16));\n }\n}",o=i,a=class{constructor(e){n(this,e),this._src=void 0,this._label=void 0}render(){return e(t,{key:"c4547a5724ed8d947c20de5128227bc71c14d401",_src:this._src,_label:this._label})}};a.style={default:o};export{a as kol_avatar};
4
+ import{r as n,h as e}from"./index-d47f6be5.js";import{d as t}from"./component-names-0657b355.js";const i="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-avatar {\n border-radius: 50%;\n overflow: hidden;\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n /*theme?*/\n width: calc(100rem / var(--kolibri-root-font-size, 16));\n height: calc(100rem / var(--kolibri-root-font-size, 16));\n }\n .kol-avatar__image {\n width: 100%;\n height: 100%;\n }\n .kol-avatar__initials {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n /*theme?*/\n background-color: #d3d3d3;\n font-size: calc(40rem / var(--kolibri-root-font-size, 16));\n }\n}",o=i,a=class{constructor(e){n(this,e),this._src=void 0,this._label=void 0}render(){return e(t,{key:"c4547a5724ed8d947c20de5128227bc71c14d401",_src:this._src,_label:this._label})}};a.style={default:o};export{a as kol_avatar};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as t}from"./index-2f6c3929.js";import{f as e,o,k as i,l as a}from"./index-ebe5a881.js";import{c as s}from"./clsx-09a06a12.js";import{b as l}from"./component-names-553d8bfa.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as r}from"./Span-78135d4f.js";import{n as d}from"./dev.utils-ca3cce4b.js";import{h as c,v as h}from"./color-1228dab7.js";import{v as m}from"./icons-a9c52ed8.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./Icon-a2f91629.js";import"./markdown-f827f2ac.js";import"./InternalUnderlinedBadgeText-2d939629.js";import"./isArray-7a60fa7f.js";import"./isObject-ffcbbb76.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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-badge {\n display: inline-flex;\n place-items: center;\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-badge .kol-badge__smart-button .button {\n color: inherit;\n }\n}",f=b;e("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const p=class{constructor(t){n(this,t),this.bgColorStr="#000",this.colorStr="#fff",this.id=d(),this.handleColorChange=n=>{const t=c(n);this.bgColorStr=t.backgroundColor,this.colorStr=t.foregroundColor},this._color="#000",this._icons=void 0,this._label=void 0,this._smartButton=void 0,this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}}}renderSmartButton(n){return t(l,{class:"kol-badge__smart-button",_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_buttonVariant:n._variant})}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return t("span",{key:"5887c57c800757a960919276d5422054b6d7c17f",class:s("kol-badge",{"kol-badge--has-smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},t(r,{key:"d6650fca7447ba669d77f8c81cfbc70a67622b0b",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){m(this,n)}validateColor(n){h(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){o(n,(()=>{try{n=i(n)}catch(n){}a(this,"_smartButton",n)}))}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};p.style={default:f};export{p as kol_badge};
4
+ import{r as n,h as t}from"./index-d47f6be5.js";import{f as e,o,k as i,l as a}from"./index-ebe5a881.js";import{c as s}from"./clsx-09a06a12.js";import{b as l}from"./component-names-0657b355.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as r}from"./Span-3cb1ff76.js";import{n as d}from"./dev.utils-98923b37.js";import{h as c,v as h}from"./color-1228dab7.js";import{v as b}from"./icons-a9c52ed8.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./Icon-d694fbfe.js";import"./markdown-f827f2ac.js";import"./InternalUnderlinedBadgeText-e15d02d5.js";import"./isArray-7a60fa7f.js";import"./isObject-ffcbbb76.js";const m="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-badge {\n display: inline-flex;\n place-items: center;\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-badge .kol-badge__smart-button .button {\n color: inherit;\n }\n}",f=m;e("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const p=class{constructor(t){n(this,t),this.bgColorStr="#000",this.colorStr="#fff",this.id=d(),this.handleColorChange=n=>{const t=c(n);this.bgColorStr=t.backgroundColor,this.colorStr=t.foregroundColor},this._color="#000",this._icons=void 0,this._label=void 0,this._smartButton=void 0,this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}}}renderSmartButton(n){return t(l,{class:"kol-badge__smart-button",_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_buttonVariant:n._variant})}render(){const n="object"==typeof this.state._smartButton&&null!==this.state._smartButton;return t("span",{key:"5887c57c800757a960919276d5422054b6d7c17f",class:s("kol-badge",{"kol-badge--has-smart-button":"object"==typeof this.state._smartButton&&null!==this.state._smartButton}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},t(r,{key:"d6650fca7447ba669d77f8c81cfbc70a67622b0b",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){b(this,n)}validateColor(n){h(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){o(n,(()=>{try{n=i(n)}catch(n){}a(this,"_smartButton",n)}))}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};p.style={default:f};export{p as kol_badge};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,F as t}from"./index-2f6c3929.js";import{y as i}from"./index-ebe5a881.js";import{r as o,a}from"./unique-nav-labels-e20db0b7.js";import{w as l}from"./validation-9d549145.js";import{e as s,f as r}from"./component-names-553d8bfa.js";import{v as d}from"./label-bf9966d0.js";const c="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}",h=c,b=class{constructor(i){n(this,i),this.renderLink=(n,i)=>{const o=this.state._links.length-1;return e("li",{class:"kol-breadcrumb__list-element",key:i},0!==i&&e(s,{class:"kol-breadcrumb__icon",_label:"",_icons:"codicon codicon-chevron-right"}),i===o?e("span",{class:"kol-breadcrumb__list-element-span"},n._hideLabel?e(s,{class:"kol-breadcrumb__icon",_label:n._label,_icons:"string"==typeof n._icons?n._icons:"codicon codicon-symbol-event"}):e(t,null,n._label)):e(r,Object.assign({class:"kol-breadcrumb__link",_linkVariant:"standalone"},n)))},this._label=void 0,this._links=void 0,this.state={_label:"",_links:[]}}render(){return e("nav",{key:"9b691f50f72dd131c580746baf66bc7275ad01f4",class:"kol-breadcrumb","aria-label":this.state._label},e("ul",{key:"9dcc08ba1193c7d38e811db071d1adacc14aa7bc",class:"kol-breadcrumb__list"},0===this.state._links.length&&e("li",{key:"e50c3fc24b34212a270c76fc94d2002f27a699a2"},e(s,{key:"e60c9653a31176ec54e2ce9016caf274ecf7a7bc",class:"kol-breadcrumb_icon",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(n,e,t=!1){t||o(this.state._label),d(this,n,{required:!0}),i(n),a(this.state._label)}validateLinks(n){l("KolBreadcrumb",this,n)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){o(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};b.style={default:h};export{b as kol_breadcrumb};
4
+ import{r as n,h as e,F as t}from"./index-d47f6be5.js";import{y as i}from"./index-ebe5a881.js";import{r as o,a}from"./unique-nav-labels-e20db0b7.js";import{w as l}from"./validation-9d549145.js";import{e as s,f as r}from"./component-names-0657b355.js";import{v as d}from"./label-bf9966d0.js";const c="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}",h=c,b=class{constructor(i){n(this,i),this.renderLink=(n,i)=>{const o=this.state._links.length-1;return e("li",{class:"kol-breadcrumb__list-element",key:i},0!==i&&e(s,{class:"kol-breadcrumb__icon",_label:"",_icons:"codicon codicon-chevron-right"}),i===o?e("span",{class:"kol-breadcrumb__list-element-span"},n._hideLabel?e(s,{class:"kol-breadcrumb__icon",_label:n._label,_icons:"string"==typeof n._icons?n._icons:"codicon codicon-symbol-event"}):e(t,null,n._label)):e(r,Object.assign({class:"kol-breadcrumb__link",_linkVariant:"standalone"},n)))},this._label=void 0,this._links=void 0,this.state={_label:"",_links:[]}}render(){return e("nav",{key:"9b691f50f72dd131c580746baf66bc7275ad01f4",class:"kol-breadcrumb","aria-label":this.state._label},e("ul",{key:"9dcc08ba1193c7d38e811db071d1adacc14aa7bc",class:"kol-breadcrumb__list"},0===this.state._links.length&&e("li",{key:"e50c3fc24b34212a270c76fc94d2002f27a699a2"},e(s,{key:"e60c9653a31176ec54e2ce9016caf274ecf7a7bc",class:"kol-breadcrumb_icon",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(n,e,t=!1){t||o(this.state._label),d(this,n,{required:!0}),i(n),a(this.state._label)}validateLinks(n){l("KolBreadcrumb",this,n)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){o(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};b.style={default:h};export{b as kol_breadcrumb};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e}from"./index-2f6c3929.js";import{b as t}from"./component-names-553d8bfa.js";const i="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-button--standalone {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n .kol-button__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-button:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-button__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-button__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}",o=i,a=class{constructor(e){n(this,e),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._variant="inline",this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0}async getValue(){return this._value}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return e(t,{key:"0e94fbffd57b2573adc5d340c2adb282402ebb81",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_label:this._label,_linkVariant:this._variant,_name:this._name,_on:this._on,_role:"link",_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value},e("slot",{key:"88da41760d6af22629adf4a8b02a5bfd935f2567",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};a.style={default:o};export{a as kol_button_link};
4
+ import{r as n,h as e}from"./index-d47f6be5.js";import{b as t}from"./component-names-0657b355.js";const i="/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\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 rem(44).\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n font-size: rem(16);\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-button--standalone {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n .kol-button__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-button:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-button__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-button__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}",o=i,a=class{constructor(e){n(this,e),this.catchRef=n=>{this.buttonWcRef=n},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._variant="inline",this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0}async getValue(){return this._value}async kolFocus(){var n;await(null===(n=this.buttonWcRef)||void 0===n?void 0:n.kolFocus())}render(){return e(t,{key:"0e94fbffd57b2573adc5d340c2adb282402ebb81",ref:this.catchRef,_accessKey:this._accessKey,_ariaControls:this._ariaControls,_ariaDescription:this._ariaDescription,_ariaExpanded:this._ariaExpanded,_ariaSelected:this._ariaSelected,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_label:this._label,_linkVariant:this._variant,_name:this._name,_on:this._on,_role:"link",_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value},e("slot",{key:"88da41760d6af22629adf4a8b02a5bfd935f2567",name:"expert",slot:"expert"}))}static get delegatesFocus(){return!0}};a.style={default:o};export{a as kol_button_link};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t,H as i,r as s,g as a}from"./index-2f6c3929.js";import{B as e,i as o,w as d,O as n,P as h,I as l,l as r,m as c}from"./index-ebe5a881.js";import{d as f,K as b}from"./events-bad0a075.js";import{n as u}from"./dev.utils-ca3cce4b.js";import{p as v,a as m}from"./controller-cf01f031.js";import{A as p}from"./associated.controller-22684481.js";import{a as _}from"./component-names-553d8bfa.js";import{v as y,a as j,b as k,c as x}from"./access-and-short-key-f743a5c4.js";import{c as g}from"./clsx-09a06a12.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as A}from"./Span-78135d4f.js";import{v as S,a as C,b as V,c as B,d as I}from"./link-variant-47605ebe.js";import{v as T}from"./custom-class-d73b81b1.js";import{v as w}from"./disabled-e1038f54.js";import{v as K}from"./hide-label-8b3a8709.js";import{v as L}from"./icons-a9c52ed8.js";import{a as D}from"./label-bf9966d0.js";import{v as E}from"./tooltip-align-465a8590.js";import"./bootstrap-dcdb1765.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./Icon-a2f91629.js";import"./markdown-f827f2ac.js";import"./InternalUnderlinedBadgeText-2d939629.js";import"./isArray-7a60fa7f.js";import"./isObject-ffcbbb76.js";import"./align-d2572387.js";const O=(t,a)=>{e(t,"_ariaControls",a)},H=(t,a)=>{o(t,"_ariaSelected",a)},$=(t,a)=>{d(t,"_on",(t=>"object"==typeof t&&null!==t),new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),a)},M=["button","reset","submit"],N=(t,a)=>{d(t,"_type",(t=>"string"==typeof t&&M.includes(t)),new Set([`KoliBriButtonType {${M.join(", ")}`]),a)},P=class{async kolFocus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}render(){var a,s;const e=c(this.state._label),o=Boolean(null===(s=null===(a=this.state._ariaDescription)||void 0===a?void 0:a.trim())||void 0===s?void 0:s.length),l=this.state._accessKey||this.state._shortKey;return t(i,{key:"2b703fead6b1346566b8ba69fb37c3cdc5a5a537"},t("button",{key:"eb4f2749f914c1dfcc37e1127b9af301f2e0c2f2",ref:this.catchRef,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-describedby":o?this.internalDescriptionById:void 0,"aria-expanded":n(this.state._ariaExpanded),"aria-haspopup":this._ariaHasPopup,"aria-label":this.state._hideLabel&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":h(this.state._ariaSelected),class:g("kol-button",{"kol-button--disabled":!0===this.state._disabled,[`kol-button--${this.state._buttonVariant}`]:"custom"!==this.state._buttonVariant,[`kol-button--${this.state._linkVariant}`]:this.state._linkVariant,"kol-button--hide-label":!0===this.state._hideLabel,[this.state._customClass]:"custom"===this.state._buttonVariant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0}),disabled:this.state._disabled,id:this.state._id,name:this.state._name,onClick:this.onClick,onMouseDown:this.onMouseDown,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type},t(A,{key:"2efcf0481450a17adeff115deb1d5f4dd401d450",class:"kol-button__text",badgeText:l,icons:this.state._icons,hideLabel:this.state._hideLabel,label:e?"":this.state._label},t("slot",{key:"c0b27f62c80ac0f5ea5c90033e715e9519776f67",name:"expert",slot:"expert"}))),t(_,{key:"127bacca5614982dcd5ad452230b7be6f273de0d","aria-hidden":"true",hidden:e||!this.state._hideLabel,class:"kol-button__tooltip",_badgeText:l,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}),o&&t("span",{key:"a16e0c834c2ffb061402ca75ae5610b26042877c",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}constructor(t){s(this,t),this.internalDescriptionById=u(),this.catchRef=t=>{this.buttonRef=t},this.onClick=t=>{var a,i;"submit"===this.state._type?v({form:this.host,ref:this.buttonRef}):"reset"===this.state._type?m({form:this.host,ref:this.buttonRef}):(this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a.onClick)&&(l(t,this.buttonRef),null===(i=this.state._on)||void 0===i||i.onClick(t,this.state._value))),this.host&&f(this.host,b.click,this.state._value)},this.onMouseDown=t=>{var a,i,s;null===(s=null===(i=null===(a=this.state)||void 0===a?void 0:a._on)||void 0===i?void 0:i.onMouseDown)||void 0===s||s.call(i,t),this.host&&f(this.host,b.mousedown)},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaHasPopup=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._linkVariant=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._buttonVariant="normal",this.state={_icons:{},_label:"",_on:{},_type:"button",_buttonVariant:"normal"},this.controller=new p(this,"button",this.host)}validateAccessKey(t){y(this,t),j(t,this._shortKey)}validateAriaControls(t){O(this,t)}validateAriaDescription(t){S(this,t)}validateAriaExpanded(t){C(this,t)}validateAriaSelected(t){H(this,t)}validateCustomClass(t){T(this,t)}validateDisabled(t){w(this,t)}validateHideLabel(t){K(this,t)}validateIcons(t){L(this,t)}validateId(t){e(this,"_id",t)}validateLabel(t){D(this,t,{required:!0})}validateLinkVariant(t){V(this,t)}validateName(t){this.controller.validateName(t)}validateOn(t){$(this,t)}validateRole(t){B(this,t)}validateShortKey(t){k(this,t),j(this._accessKey,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){x(this,t)}validateTooltipAlign(t){E(this,t)}validateType(t){N(this,t)}validateValue(t){r(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateButtonVariant(t){I(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateLabel(this._label),this.validateLinkVariant(this._linkVariant),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateButtonVariant(this._buttonVariant),j(this._accessKey,this._shortKey)}get host(){return a(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_linkVariant:["validateLinkVariant"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_buttonVariant:["validateButtonVariant"]}}};export{P as kol_button_wc};
4
+ import{h as t,H as i,r as s,g as a}from"./index-d47f6be5.js";import{B as e,i as o,w as d,O as n,P as h,I as l,l as r,m as c}from"./index-ebe5a881.js";import{d as f,K as b}from"./events-bad0a075.js";import{n as v}from"./dev.utils-98923b37.js";import{p as u,a as p}from"./controller-235b6c3b.js";import{A as m}from"./associated.controller-4237c28d.js";import{a as _}from"./component-names-0657b355.js";import{v as y,a as j,b as k,c as x}from"./access-and-short-key-f743a5c4.js";import{c as g}from"./clsx-09a06a12.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as A}from"./Span-3cb1ff76.js";import{v as S,a as C,b as T,c as V,d as B}from"./link-variant-47605ebe.js";import{v as I}from"./custom-class-d73b81b1.js";import{v as w}from"./disabled-e1038f54.js";import{v as K}from"./hide-label-8b3a8709.js";import{v as L}from"./icons-a9c52ed8.js";import{a as D}from"./label-bf9966d0.js";import{v as E}from"./tooltip-align-465a8590.js";import"./bootstrap-53ed580c.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./Icon-d694fbfe.js";import"./markdown-f827f2ac.js";import"./InternalUnderlinedBadgeText-e15d02d5.js";import"./isArray-7a60fa7f.js";import"./isObject-ffcbbb76.js";import"./align-d2572387.js";const O=(t,a)=>{e(t,"_ariaControls",a)},H=(t,a)=>{o(t,"_ariaSelected",a)},$=(t,a)=>{d(t,"_on",(t=>"object"==typeof t&&null!==t),new Set(["ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}"]),a)},M=["button","reset","submit"],N=(t,a)=>{d(t,"_type",(t=>"string"==typeof t&&M.includes(t)),new Set([`KoliBriButtonType {${M.join(", ")}`]),a)},P=class{async kolFocus(){var t;null===(t=this.buttonRef)||void 0===t||t.focus()}async hideTooltip(){var t;null===(t=this.tooltipRef)||void 0===t||t.hideTooltip()}render(){var a,s;const e=c(this.state._label),o=Boolean(null===(s=null===(a=this.state._ariaDescription)||void 0===a?void 0:a.trim())||void 0===s?void 0:s.length),l=this.state._accessKey||this.state._shortKey,d=!0===this.state._disabled,r=!0===this.state._hideLabel;return t(i,{key:"6a9f8d7a855452a4b414648a221df6cf5dcfa749"},t("button",{key:"3f09ae09eb8c046026337886dafbc625b76e8394",ref:t=>this.buttonRef=t,accessKey:this.state._accessKey||void 0,"aria-controls":this.state._ariaControls,"aria-describedby":o?this.internalDescriptionById:void 0,"aria-expanded":n(this.state._ariaExpanded),"aria-haspopup":this._ariaHasPopup,"aria-label":r&&"string"==typeof this.state._label?this.state._label:void 0,"aria-selected":h(this.state._ariaSelected),class:g("kol-button",{"kol-button--disabled":d,[`kol-button--${this.state._buttonVariant}`]:"custom"!==this.state._buttonVariant,[`kol-button--${this.state._linkVariant}`]:this.state._linkVariant,"kol-button--hide-label":r,[this.state._customClass]:"custom"===this.state._buttonVariant&&"string"==typeof this.state._customClass&&this.state._customClass.length>0}),disabled:d,id:this.state._id,name:this.state._name,onClick:this.onClick,onMouseDown:this.onMouseDown,role:this.state._role,tabIndex:this.state._tabIndex,type:this.state._type},t(A,{key:"a1a9eb0f603577289872b455d2b829dc16059a5d",class:"kol-button__text",badgeText:l,icons:this.state._icons,hideLabel:r,label:e?"":this.state._label},t("slot",{key:"3736fd6e4afbcd32e5df4305bbac7cc50e42804b",name:"expert",slot:"expert"}))),t(_,{key:"f44c22709f4a8eb6946c036abd05edd6158cbcb0",ref:t=>this.tooltipRef=t,"aria-hidden":"true",hidden:e||!r,class:"kol-button__tooltip",_badgeText:l,_align:this.state._tooltipAlign,_label:"string"==typeof this.state._label?this.state._label:""}),o&&t("span",{key:"babe6def97a72c16f9a21d595d02cd74f4450d68",class:"visually-hidden",id:this.internalDescriptionById},this.state._ariaDescription))}constructor(t){s(this,t),this.internalDescriptionById=v(),this.onClick=t=>{var a,i;"submit"===this.state._type?u({form:this.host,ref:this.buttonRef}):"reset"===this.state._type?p({form:this.host,ref:this.buttonRef}):(this.controller.setFormAssociatedValue(this.state._value),"function"==typeof(null===(a=this.state._on)||void 0===a?void 0:a.onClick)&&(l(t,this.buttonRef),null===(i=this.state._on)||void 0===i||i.onClick(t,this.state._value))),this.host&&f(this.host,b.click,this.state._value)},this.onMouseDown=t=>{var a,i,s;null===(s=null===(i=null===(a=this.state)||void 0===a?void 0:a._on)||void 0===i?void 0:i.onMouseDown)||void 0===s||s.call(i,t),this.host&&f(this.host,b.mousedown)},this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaHasPopup=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._id=void 0,this._label=void 0,this._linkVariant=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._buttonVariant="normal",this.state={_icons:{},_label:"",_on:{},_type:"button",_buttonVariant:"normal"},this.controller=new m(this,"button",this.host)}validateAccessKey(t){y(this,t),j(t,this._shortKey)}validateAriaControls(t){O(this,t)}validateAriaDescription(t){S(this,t)}validateAriaExpanded(t){C(this,t)}validateAriaSelected(t){H(this,t)}validateCustomClass(t){I(this,t)}validateDisabled(t){w(this,t)}validateHideLabel(t){K(this,t)}validateIcons(t){L(this,t)}validateId(t){e(this,"_id",t)}validateLabel(t){D(this,t,{required:!0})}validateLinkVariant(t){T(this,t)}validateName(t){this.controller.validateName(t)}validateOn(t){$(this,t)}validateRole(t){V(this,t)}validateShortKey(t){k(this,t),j(this._accessKey,t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTabIndex(t){x(this,t)}validateTooltipAlign(t){E(this,t)}validateType(t){N(this,t)}validateValue(t){r(this,"_value",t),this.controller.setFormAssociatedValue(this.state._value)}validateButtonVariant(t){B(this,t)}componentWillLoad(){this.validateAccessKey(this._accessKey),this.validateAriaControls(this._ariaControls),this.validateAriaDescription(this._ariaDescription),this.validateAriaExpanded(this._ariaExpanded),this.validateAriaSelected(this._ariaSelected),this.validateCustomClass(this._customClass),this.validateDisabled(this._disabled),this.validateHideLabel(this._hideLabel),this.validateIcons(this._icons),this.validateId(this._id),this.validateLabel(this._label),this.validateLinkVariant(this._linkVariant),this.validateName(this._name),this.validateOn(this._on),this.validateRole(this._role),this.validateShortKey(this._shortKey),this.validateSyncValueBySelector(this._syncValueBySelector),this.validateTabIndex(this._tabIndex),this.validateTooltipAlign(this._tooltipAlign),this.validateType(this._type),this.validateValue(this._value),this.validateButtonVariant(this._buttonVariant),j(this._accessKey,this._shortKey)}get host(){return a(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_ariaControls:["validateAriaControls"],_ariaDescription:["validateAriaDescription"],_ariaExpanded:["validateAriaExpanded"],_ariaSelected:["validateAriaSelected"],_customClass:["validateCustomClass"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_linkVariant:["validateLinkVariant"],_name:["validateName"],_on:["validateOn"],_role:["validateRole"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_tooltipAlign:["validateTooltipAlign"],_type:["validateType"],_value:["validateValue"],_buttonVariant:["validateButtonVariant"]}}};export{P as kol_button_wc};
@@ -1 +1 @@
1
- {"version":3,"names":["validateAriaControls","component","value","watchString","validateAriaSelected","watchBoolean","validateButtonCallbacks","watchValidator","Set","buttonTypePropTypeOptions","validateButtonType","includes","join","KolButtonWc","kolFocus","_a","this","buttonRef","focus","render","hasExpertSlot","showExpertSlot","state","_label","hasAriaDescription","Boolean","_b","_ariaDescription","trim","length","badgeText","_accessKey","_shortKey","h","Host","key","ref","catchRef","accessKey","undefined","_ariaControls","internalDescriptionById","mapBoolean2String","_ariaExpanded","_ariaHasPopup","_hideLabel","mapStringOrBoolean2String","_ariaSelected","class","clsx","_disabled","_buttonVariant","_linkVariant","_customClass","disabled","id","_id","name","_name","onClick","onMouseDown","role","_role","tabIndex","_tabIndex","type","_type","KolSpanFc","icons","_icons","hideLabel","label","slot","KolTooltipWcTag","hidden","_badgeText","_align","_tooltipAlign","constructor","hostRef","nonce","event","propagateSubmitEventToForm","form","host","propagateResetEventToForm","controller","setFormAssociatedValue","_value","_on","setEventTarget","dispatchDomEvent","KolEvent","click","_c","call","mousedown","AssociatedInputController","validateAccessKey","validateAccessAndShortKey","validateAriaDescription","validateAriaExpanded","validateCustomClass","validateDisabled","validateHideLabel","validateIcons","validateId","validateLabel","validateLabelWithExpertSlot","required","validateLinkVariant","validateName","validateOn","validateRole","validateAlternativeButtonLinkRole","validateShortKey","validateSyncValueBySelector","validateTabIndex","validateTooltipAlign","validateType","validateValue","setState","validateButtonVariant","componentWillLoad","_syncValueBySelector"],"sources":["src/schema/props/aria-controls.ts","src/schema/props/aria-selected.ts","src/schema/props/button-callbacks.ts","src/schema/props/button-type.ts","src/components/button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\n/**\n * Defines which elements are being controlled. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n */\ntype AriaControlsPropType = string;\n\nexport type PropAriaControls = {\n\tariaControls: AriaControlsPropType;\n};\n\n/* validator */\nexport const validateAriaControls = (component: Generic.Element.Component, value?: AriaControlsPropType): void => {\n\twatchString(component, '_ariaControls', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\ntype AriaSelectedPropType = boolean;\n\n/**\n * Marks this element as selected.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n */\nexport type PropAriaSelected = {\n\tariaSelected: AriaSelectedPropType;\n};\n\n/* validator */\nexport const validateAriaSelected = (component: Generic.Element.Component, value?: boolean): void => {\n\twatchBoolean(component, '_ariaSelected', value);\n};\n","import type { Callback } from '../enums';\nimport type { EventCallback, EventValueOrEventCallback } from '../types/callbacks';\nimport type { StencilUnknown } from '../types/unknown';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\n/* types */\nexport type ButtonCallbacksPropType<T> = {\n\t[Callback.onClick]?: EventValueOrEventCallback<MouseEvent, T>;\n\t[Callback.onMouseDown]?: EventCallback<MouseEvent>;\n};\n\n/**\n * Defines the callback functions for button events.\n */\nexport type PropButtonCallbacks<T> = {\n\ton: ButtonCallbacksPropType<T>;\n};\n\n/* validator */\nexport const validateButtonCallbacks = (component: Generic.Element.Component, value?: ButtonCallbacksPropType<StencilUnknown>): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}']),\n\t\tvalue,\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst buttonTypePropTypeOptions = ['button', 'reset', 'submit'] as const;\nexport type ButtonTypePropType = (typeof buttonTypePropTypeOptions)[number];\n\n/**\n * Defines either the type of the component or of the components interactive element.\n */\nexport type PropButtonType = {\n\ttype: ButtonTypePropType;\n};\n\n/* validator */\nexport const validateButtonType = (component: Generic.Element.Component, value?: ButtonTypePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_type`,\n\t\t(value?) => typeof value === 'string' && buttonTypePropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonStates,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInternalButtonAPI,\n\tLabelWithExpertSlotPropType,\n\tLinkVariantPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateLinkVariant } from '../../schema';\nimport {\n\tmapBoolean2String,\n\tmapStringOrBoolean2String,\n\tsetEventTarget,\n\tsetState,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaSelected,\n\tvalidateButtonCallbacks,\n\tvalidateButtonType,\n\tvalidateButtonVariant,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateIcons,\n\tvalidateLabelWithExpertSlot,\n\tvalidateShortKey,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchString,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\nimport { AssociatedInputController } from '../input-adapter-leanup/associated.controller';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { KolSpanFc } from '../../functional-components';\nimport clsx from 'clsx';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-button-wc',\n\tshadow: false,\n})\nexport class KolButtonWc implements InternalButtonAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolButtonWcElement;\n\tprivate buttonRef?: HTMLButtonElement;\n\n\tprivate readonly internalDescriptionById = nonce();\n\n\tprivate readonly catchRef = (ref?: HTMLButtonElement) => {\n\t\tthis.buttonRef = ref;\n\t};\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.buttonRef?.focus();\n\t}\n\n\tprivate readonly onClick = (event: MouseEvent) => {\n\t\tif (this.state._type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.buttonRef,\n\t\t\t});\n\t\t} else if (this.state._type === 'reset') {\n\t\t\tpropagateResetEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.buttonRef,\n\t\t\t});\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\n\t\t\t// Callback\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.buttonRef);\n\t\t\t\tthis.state._on?.onClick(event, this.state._value);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._value);\n\t\t}\n\t};\n\n\tprivate readonly onMouseDown = (event: MouseEvent) => {\n\t\tthis.state?._on?.onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst hasAriaDescription = Boolean(this.state._ariaDescription?.trim()?.length);\n\t\tconst badgeText = this.state._accessKey || this.state._shortKey;\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<button\n\t\t\t\t\tref={this.catchRef}\n\t\t\t\t\taccessKey={this.state._accessKey || undefined}\n\t\t\t\t\taria-controls={this.state._ariaControls}\n\t\t\t\t\taria-describedby={hasAriaDescription ? this.internalDescriptionById : undefined}\n\t\t\t\t\taria-expanded={mapBoolean2String(this.state._ariaExpanded)}\n\t\t\t\t\taria-haspopup={this._ariaHasPopup}\n\t\t\t\t\taria-label={this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\taria-selected={mapStringOrBoolean2String(this.state._ariaSelected)}\n\t\t\t\t\tclass={clsx('kol-button', {\n\t\t\t\t\t\t'kol-button--disabled': this.state._disabled === true,\n\t\t\t\t\t\t[`kol-button--${this.state._buttonVariant as string}`]: this.state._buttonVariant !== 'custom',\n\t\t\t\t\t\t[`kol-button--${this.state._linkVariant as string}`]: this.state._linkVariant,\n\t\t\t\t\t\t'kol-button--hide-label': this.state._hideLabel === true,\n\t\t\t\t\t\t[this.state._customClass as string]:\n\t\t\t\t\t\t\tthis.state._buttonVariant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\tdisabled={this.state._disabled}\n\t\t\t\t\tid={this.state._id}\n\t\t\t\t\tname={this.state._name}\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonMouseDown={this.onMouseDown}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._tabIndex}\n\t\t\t\t\ttype={this.state._type}\n\t\t\t\t>\n\t\t\t\t\t<KolSpanFc\n\t\t\t\t\t\tclass=\"kol-button__text\"\n\t\t\t\t\t\tbadgeText={badgeText}\n\t\t\t\t\t\ticons={this.state._icons}\n\t\t\t\t\t\thideLabel={this.state._hideLabel}\n\t\t\t\t\t\tlabel={hasExpertSlot ? '' : this.state._label}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t\t</KolSpanFc>\n\t\t\t\t</button>\n\t\t\t\t<KolTooltipWcTag\n\t\t\t\t\t/**\n\t\t\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t\t\t */\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\thidden={hasExpertSlot || !this.state._hideLabel}\n\t\t\t\t\tclass=\"kol-button__tooltip\"\n\t\t\t\t\t_badgeText={badgeText}\n\t\t\t\t\t_align={this.state._tooltipAlign}\n\t\t\t\t\t_label={typeof this.state._label === 'string' ? this.state._label : ''}\n\t\t\t\t></KolTooltipWcTag>\n\t\t\t\t{hasAriaDescription && (\n\t\t\t\t\t<span class=\"visually-hidden\" id={this.internalDescriptionById}>\n\t\t\t\t\t\t{this.state._ariaDescription}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: AssociatedInputController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the aria-haspopup attribute. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-haspopup)\n\t * @internal\n\t */\n\t@Prop() public _ariaHasPopup?: AriaHasPopupPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _buttonVariant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\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 * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _linkVariant?: LinkVariantPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value that the button emits on click.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _buttonVariant?: ButtonVariantPropType = 'normal';\n\n\t@State() public state: ButtonStates = {\n\t\t_icons: {},\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t\t_type: 'button',\n\t\t_buttonVariant: 'normal',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new AssociatedInputController(this, 'button', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this, value);\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t@Watch('_ariaControls')\n\tpublic validateAriaControls(value?: string): void {\n\t\tvalidateAriaControls(this, value);\n\t}\n\n\t@Watch('_ariaDescription')\n\tpublic validateAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tvalidateAriaDescription(this, value);\n\t}\n\n\t@Watch('_ariaExpanded')\n\tpublic validateAriaExpanded(value?: boolean): void {\n\t\tvalidateAriaExpanded(this, value);\n\t}\n\n\t@Watch('_ariaSelected')\n\tpublic validateAriaSelected(value?: boolean): void {\n\t\tvalidateAriaSelected(this, value);\n\t}\n\n\t@Watch('_customClass')\n\tpublic validateCustomClass(value?: CustomClassPropType): void {\n\t\tvalidateCustomClass(this, value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this, value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsPropType): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\twatchString(this, '_id', value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_linkVariant')\n\tpublic validateLinkVariant(value?: LinkVariantPropType): void {\n\t\tvalidateLinkVariant(this, value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tvalidateButtonCallbacks(this, value);\n\t}\n\n\t@Watch('_role')\n\tpublic validateRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tvalidateAlternativeButtonLinkRole(this, value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this, value);\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: ButtonTypePropType): void {\n\t\tvalidateButtonType(this, value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: StencilUnknown): void {\n\t\tsetState(this, '_value', value);\n\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\t}\n\n\t@Watch('_buttonVariant')\n\tpublic validateButtonVariant(value?: ButtonVariantPropType): void {\n\t\tvalidateButtonVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaSelected(this._ariaSelected);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateId(this._id);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLinkVariant(this._linkVariant);\n\t\tthis.validateName(this._name);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateType(this._type);\n\t\tthis.validateValue(this._value);\n\t\tthis.validateButtonVariant(this._buttonVariant);\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["validateAriaControls","component","value","watchString","validateAriaSelected","watchBoolean","validateButtonCallbacks","watchValidator","Set","buttonTypePropTypeOptions","validateButtonType","includes","join","KolButtonWc","kolFocus","_a","this","buttonRef","focus","hideTooltip","tooltipRef","render","hasExpertSlot","showExpertSlot","state","_label","hasAriaDescription","Boolean","_b","_ariaDescription","trim","length","badgeText","_accessKey","_shortKey","isDisabled","_disabled","hideLabel","_hideLabel","h","Host","key","ref","accessKey","undefined","_ariaControls","internalDescriptionById","mapBoolean2String","_ariaExpanded","_ariaHasPopup","mapStringOrBoolean2String","_ariaSelected","class","clsx","_buttonVariant","_linkVariant","_customClass","disabled","id","_id","name","_name","onClick","onMouseDown","role","_role","tabIndex","_tabIndex","type","_type","KolSpanFc","icons","_icons","label","slot","KolTooltipWcTag","hidden","_badgeText","_align","_tooltipAlign","constructor","hostRef","nonce","event","propagateSubmitEventToForm","form","host","propagateResetEventToForm","controller","setFormAssociatedValue","_value","_on","setEventTarget","dispatchDomEvent","KolEvent","click","_c","call","mousedown","AssociatedInputController","validateAccessKey","validateAccessAndShortKey","validateAriaDescription","validateAriaExpanded","validateCustomClass","validateDisabled","validateHideLabel","validateIcons","validateId","validateLabel","validateLabelWithExpertSlot","required","validateLinkVariant","validateName","validateOn","validateRole","validateAlternativeButtonLinkRole","validateShortKey","validateSyncValueBySelector","validateTabIndex","validateTooltipAlign","validateType","validateValue","setState","validateButtonVariant","componentWillLoad","_syncValueBySelector"],"sources":["src/schema/props/aria-controls.ts","src/schema/props/aria-selected.ts","src/schema/props/button-callbacks.ts","src/schema/props/button-type.ts","src/components/button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\n/**\n * Defines which elements are being controlled. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n */\ntype AriaControlsPropType = string;\n\nexport type PropAriaControls = {\n\tariaControls: AriaControlsPropType;\n};\n\n/* validator */\nexport const validateAriaControls = (component: Generic.Element.Component, value?: AriaControlsPropType): void => {\n\twatchString(component, '_ariaControls', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\ntype AriaSelectedPropType = boolean;\n\n/**\n * Marks this element as selected.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n */\nexport type PropAriaSelected = {\n\tariaSelected: AriaSelectedPropType;\n};\n\n/* validator */\nexport const validateAriaSelected = (component: Generic.Element.Component, value?: boolean): void => {\n\twatchBoolean(component, '_ariaSelected', value);\n};\n","import type { Callback } from '../enums';\nimport type { EventCallback, EventValueOrEventCallback } from '../types/callbacks';\nimport type { StencilUnknown } from '../types/unknown';\nimport { watchValidator } from '../utils';\n\nimport type { Generic } from 'adopted-style-sheets';\n/* types */\nexport type ButtonCallbacksPropType<T> = {\n\t[Callback.onClick]?: EventValueOrEventCallback<MouseEvent, T>;\n\t[Callback.onMouseDown]?: EventCallback<MouseEvent>;\n};\n\n/**\n * Defines the callback functions for button events.\n */\nexport type PropButtonCallbacks<T> = {\n\ton: ButtonCallbacksPropType<T>;\n};\n\n/* validator */\nexport const validateButtonCallbacks = (component: Generic.Element.Component, value?: ButtonCallbacksPropType<StencilUnknown>): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_on`,\n\t\t(value) => typeof value === 'object' && value !== null,\n\t\tnew Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}']),\n\t\tvalue,\n\t);\n};\n","/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst buttonTypePropTypeOptions = ['button', 'reset', 'submit'] as const;\nexport type ButtonTypePropType = (typeof buttonTypePropTypeOptions)[number];\n\n/**\n * Defines either the type of the component or of the components interactive element.\n */\nexport type PropButtonType = {\n\ttype: ButtonTypePropType;\n};\n\n/* validator */\nexport const validateButtonType = (component: Generic.Element.Component, value?: ButtonTypePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_type`,\n\t\t(value?) => typeof value === 'string' && buttonTypePropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonStates,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tDisabledPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInternalButtonAPI,\n\tLabelWithExpertSlotPropType,\n\tLinkVariantPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateLinkVariant } from '../../schema';\nimport {\n\tmapBoolean2String,\n\tmapStringOrBoolean2String,\n\tsetEventTarget,\n\tsetState,\n\tshowExpertSlot,\n\tvalidateAccessKey,\n\tvalidateAlternativeButtonLinkRole,\n\tvalidateAriaControls,\n\tvalidateAriaDescription,\n\tvalidateAriaExpanded,\n\tvalidateAriaSelected,\n\tvalidateButtonCallbacks,\n\tvalidateButtonType,\n\tvalidateButtonVariant,\n\tvalidateCustomClass,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateIcons,\n\tvalidateLabelWithExpertSlot,\n\tvalidateShortKey,\n\tvalidateTabIndex,\n\tvalidateTooltipAlign,\n\twatchString,\n} from '../../schema';\nimport type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\nimport { AssociatedInputController } from '../input-adapter-leanup/associated.controller';\nimport { KolTooltipWcTag } from '../../core/component-names';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { KolSpanFc } from '../../functional-components';\nimport clsx from 'clsx';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-button-wc',\n\tshadow: false,\n})\nexport class KolButtonWc implements InternalButtonAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolButtonWcElement;\n\tprivate buttonRef?: HTMLButtonElement;\n\tprivate tooltipRef?: HTMLKolTooltipWcElement;\n\n\tprivate readonly internalDescriptionById = nonce();\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.buttonRef?.focus();\n\t}\n\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hideTooltip() {\n\t\tvoid this.tooltipRef?.hideTooltip();\n\t}\n\n\tprivate readonly onClick = (event: MouseEvent) => {\n\t\tif (this.state._type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.buttonRef,\n\t\t\t});\n\t\t} else if (this.state._type === 'reset') {\n\t\t\tpropagateResetEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.buttonRef,\n\t\t\t});\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\n\t\t\t// Callback\n\t\t\tif (typeof this.state._on?.onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.buttonRef);\n\t\t\t\tthis.state._on?.onClick(event, this.state._value);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.state._value);\n\t\t}\n\t};\n\n\tprivate readonly onMouseDown = (event: MouseEvent) => {\n\t\tthis.state?._on?.onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tpublic render(): JSX.Element {\n\t\tconst hasExpertSlot = showExpertSlot(this.state._label);\n\t\tconst hasAriaDescription = Boolean(this.state._ariaDescription?.trim()?.length);\n\t\tconst badgeText = this.state._accessKey || this.state._shortKey;\n\t\tconst isDisabled = this.state._disabled === true;\n\t\tconst hideLabel = this.state._hideLabel === true;\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<button\n\t\t\t\t\tref={(ref) => (this.buttonRef = ref)}\n\t\t\t\t\taccessKey={this.state._accessKey || undefined}\n\t\t\t\t\taria-controls={this.state._ariaControls}\n\t\t\t\t\taria-describedby={hasAriaDescription ? this.internalDescriptionById : undefined}\n\t\t\t\t\taria-expanded={mapBoolean2String(this.state._ariaExpanded)}\n\t\t\t\t\taria-haspopup={this._ariaHasPopup}\n\t\t\t\t\taria-label={hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined}\n\t\t\t\t\taria-selected={mapStringOrBoolean2String(this.state._ariaSelected)}\n\t\t\t\t\tclass={clsx('kol-button', {\n\t\t\t\t\t\t'kol-button--disabled': isDisabled,\n\t\t\t\t\t\t[`kol-button--${this.state._buttonVariant as string}`]: this.state._buttonVariant !== 'custom',\n\t\t\t\t\t\t[`kol-button--${this.state._linkVariant as string}`]: this.state._linkVariant,\n\t\t\t\t\t\t'kol-button--hide-label': hideLabel,\n\t\t\t\t\t\t[this.state._customClass as string]:\n\t\t\t\t\t\t\tthis.state._buttonVariant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,\n\t\t\t\t\t})}\n\t\t\t\t\tdisabled={isDisabled}\n\t\t\t\t\tid={this.state._id}\n\t\t\t\t\tname={this.state._name}\n\t\t\t\t\tonClick={this.onClick}\n\t\t\t\t\tonMouseDown={this.onMouseDown}\n\t\t\t\t\trole={this.state._role}\n\t\t\t\t\ttabIndex={this.state._tabIndex}\n\t\t\t\t\ttype={this.state._type}\n\t\t\t\t>\n\t\t\t\t\t<KolSpanFc\n\t\t\t\t\t\tclass=\"kol-button__text\"\n\t\t\t\t\t\tbadgeText={badgeText}\n\t\t\t\t\t\ticons={this.state._icons}\n\t\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\t\tlabel={hasExpertSlot ? '' : this.state._label}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t\t</KolSpanFc>\n\t\t\t\t</button>\n\t\t\t\t<KolTooltipWcTag\n\t\t\t\t\tref={(ref) => (this.tooltipRef = ref)}\n\t\t\t\t\t/**\n\t\t\t\t\t * Dieses Aria-Hidden verhindert das doppelte Vorlesen des Labels,\n\t\t\t\t\t * verhindert aber nicht das Aria-Labelledby vorgelesen wird.\n\t\t\t\t\t */\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\thidden={hasExpertSlot || !hideLabel}\n\t\t\t\t\tclass=\"kol-button__tooltip\"\n\t\t\t\t\t_badgeText={badgeText}\n\t\t\t\t\t_align={this.state._tooltipAlign}\n\t\t\t\t\t_label={typeof this.state._label === 'string' ? this.state._label : ''}\n\t\t\t\t></KolTooltipWcTag>\n\t\t\t\t{hasAriaDescription && (\n\t\t\t\t\t<span class=\"visually-hidden\" id={this.internalDescriptionById}>\n\t\t\t\t\t\t{this.state._ariaDescription}\n\t\t\t\t\t</span>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate readonly controller: AssociatedInputController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n\t */\n\t@Prop() public _ariaControls?: string;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n\t */\n\t@Prop() public _ariaExpanded?: boolean;\n\n\t/**\n\t * Defines the aria-haspopup attribute. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-haspopup)\n\t * @internal\n\t */\n\t@Prop() public _ariaHasPopup?: AriaHasPopupPropType;\n\n\t/**\n\t * Defines whether the interactive element of the component is selected (e.g. role=tab). (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)\n\t */\n\t@Prop() public _ariaSelected?: boolean;\n\n\t/**\n\t * Defines the custom class attribute if _buttonVariant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\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 * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: string;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _linkVariant?: LinkVariantPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines the callback functions for button events.\n\t */\n\t@Prop() public _on?: ButtonCallbacksPropType<StencilUnknown>;\n\n\t/**\n\t * Defines the role of the components primary element.\n\t */\n\t@Prop() public _role?: AlternativeButtonLinkRolePropType;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value that the button emits on click.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t * @internal\n\t */\n\t@Prop() public _buttonVariant?: ButtonVariantPropType = 'normal';\n\n\t@State() public state: ButtonStates = {\n\t\t_icons: {},\n\t\t_label: '', // ⚠ required\n\t\t_on: {},\n\t\t_type: 'button',\n\t\t_buttonVariant: 'normal',\n\t};\n\n\tpublic constructor() {\n\t\tthis.controller = new AssociatedInputController(this, 'button', this.host);\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this, value);\n\t\tvalidateAccessAndShortKey(value, this._shortKey);\n\t}\n\n\t@Watch('_ariaControls')\n\tpublic validateAriaControls(value?: string): void {\n\t\tvalidateAriaControls(this, value);\n\t}\n\n\t@Watch('_ariaDescription')\n\tpublic validateAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tvalidateAriaDescription(this, value);\n\t}\n\n\t@Watch('_ariaExpanded')\n\tpublic validateAriaExpanded(value?: boolean): void {\n\t\tvalidateAriaExpanded(this, value);\n\t}\n\n\t@Watch('_ariaSelected')\n\tpublic validateAriaSelected(value?: boolean): void {\n\t\tvalidateAriaSelected(this, value);\n\t}\n\n\t@Watch('_customClass')\n\tpublic validateCustomClass(value?: CustomClassPropType): void {\n\t\tvalidateCustomClass(this, value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this, value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: boolean): void {\n\t\tvalidateHideLabel(this, value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsPropType): void {\n\t\tvalidateIcons(this, value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\twatchString(this, '_id', value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_linkVariant')\n\tpublic validateLinkVariant(value?: LinkVariantPropType): void {\n\t\tvalidateLinkVariant(this, value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tvalidateButtonCallbacks(this, value);\n\t}\n\n\t@Watch('_role')\n\tpublic validateRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tvalidateAlternativeButtonLinkRole(this, value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this, value);\n\t\tvalidateAccessAndShortKey(this._accessKey, value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this, value);\n\t}\n\n\t@Watch('_tooltipAlign')\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this, value);\n\t}\n\n\t@Watch('_type')\n\tpublic validateType(value?: ButtonTypePropType): void {\n\t\tvalidateButtonType(this, value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: StencilUnknown): void {\n\t\tsetState(this, '_value', value);\n\t\tthis.controller.setFormAssociatedValue(this.state._value);\n\t}\n\n\t@Watch('_buttonVariant')\n\tpublic validateButtonVariant(value?: ButtonVariantPropType): void {\n\t\tvalidateButtonVariant(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAccessKey(this._accessKey);\n\t\tthis.validateAriaControls(this._ariaControls);\n\t\tthis.validateAriaDescription(this._ariaDescription);\n\t\tthis.validateAriaExpanded(this._ariaExpanded);\n\t\tthis.validateAriaSelected(this._ariaSelected);\n\t\tthis.validateCustomClass(this._customClass);\n\t\tthis.validateDisabled(this._disabled);\n\t\tthis.validateHideLabel(this._hideLabel);\n\t\tthis.validateIcons(this._icons);\n\t\tthis.validateId(this._id);\n\t\tthis.validateLabel(this._label);\n\t\tthis.validateLinkVariant(this._linkVariant);\n\t\tthis.validateName(this._name);\n\t\tthis.validateOn(this._on);\n\t\tthis.validateRole(this._role);\n\t\tthis.validateShortKey(this._shortKey);\n\t\tthis.validateSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.validateTabIndex(this._tabIndex);\n\t\tthis.validateTooltipAlign(this._tooltipAlign);\n\t\tthis.validateType(this._type);\n\t\tthis.validateValue(this._value);\n\t\tthis.validateButtonVariant(this._buttonVariant);\n\t\tvalidateAccessAndShortKey(this._accessKey, this._shortKey);\n\t}\n}\n"],"mappings":";;;+uCAeO,MAAMA,EAAuB,CAACC,EAAsCC,KAC1EC,EAAYF,EAAW,gBAAiBC,EAAM,ECAxC,MAAME,EAAuB,CAACH,EAAsCC,KAC1EG,EAAaJ,EAAW,gBAAiBC,EAAM,ECGzC,MAAMI,EAA0B,CAACL,EAAsCC,KAC7EK,EACCN,EACA,OACCC,UAAiBA,IAAU,UAAYA,IAAU,MAClD,IAAIM,IAAI,CAAC,iEACTN,EACA,ECvBF,MAAMO,EAA4B,CAAC,SAAU,QAAS,UAW/C,MAAMC,EAAqB,CAACT,EAAsCC,KACxEK,EACCN,EACA,SACCC,UAAkBA,IAAU,UAAYO,EAA0BE,SAAST,IAC5E,IAAIM,IAAI,CAAC,sBAAsBC,EAA0BG,KAAK,UAC9DV,EACA,E,MC4CWW,EAAW,MAShB,cAAMC,G,OACZC,EAAAC,KAAKC,aAAS,MAAAF,SAAA,SAAAA,EAAEG,O,CAKV,iBAAMC,G,YACPJ,EAAAC,KAAKI,cAAU,MAAAL,SAAA,SAAAA,EAAEI,c,CAqChB,MAAAE,G,QACN,MAAMC,EAAgBC,EAAeP,KAAKQ,MAAMC,QAChD,MAAMC,EAAqBC,SAAQC,GAAAb,EAAAC,KAAKQ,MAAMK,oBAAgB,MAAAd,SAAA,SAAAA,EAAEe,UAAM,MAAAF,SAAA,SAAAA,EAAEG,QACxE,MAAMC,EAAYhB,KAAKQ,MAAMS,YAAcjB,KAAKQ,MAAMU,UACtD,MAAMC,EAAanB,KAAKQ,MAAMY,YAAc,KAC5C,MAAMC,EAAYrB,KAAKQ,MAAMc,aAAe,KAE5C,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,UAAAE,IAAA,2CACCC,IAAMA,GAAS1B,KAAKC,UAAYyB,EAChCC,UAAW3B,KAAKQ,MAAMS,YAAcW,UAAS,gBAC9B5B,KAAKQ,MAAMqB,cAAa,mBACrBnB,EAAqBV,KAAK8B,wBAA0BF,UAAS,gBAChEG,EAAkB/B,KAAKQ,MAAMwB,eAAc,gBAC3ChC,KAAKiC,cAAa,aACrBZ,UAAoBrB,KAAKQ,MAAMC,SAAW,SAAWT,KAAKQ,MAAMC,OAASmB,UAAS,gBAC/EM,EAA0BlC,KAAKQ,MAAM2B,eACpDC,MAAOC,EAAK,aAAc,CACzB,uBAAwBlB,EACxB,CAAC,eAAenB,KAAKQ,MAAM8B,kBAA6BtC,KAAKQ,MAAM8B,iBAAmB,SACtF,CAAC,eAAetC,KAAKQ,MAAM+B,gBAA2BvC,KAAKQ,MAAM+B,aACjE,yBAA0BlB,EAC1B,CAACrB,KAAKQ,MAAMgC,cACXxC,KAAKQ,MAAM8B,iBAAmB,iBAAmBtC,KAAKQ,MAAMgC,eAAiB,UAAYxC,KAAKQ,MAAMgC,aAAazB,OAAS,IAE5H0B,SAAUtB,EACVuB,GAAI1C,KAAKQ,MAAMmC,IACfC,KAAM5C,KAAKQ,MAAMqC,MACjBC,QAAS9C,KAAK8C,QACdC,YAAa/C,KAAK+C,YAClBC,KAAMhD,KAAKQ,MAAMyC,MACjBC,SAAUlD,KAAKQ,MAAM2C,UACrBC,KAAMpD,KAAKQ,MAAM6C,OAEjB9B,EAAC+B,EAAS,CAAA7B,IAAA,2CACTW,MAAM,mBACNpB,UAAWA,EACXuC,MAAOvD,KAAKQ,MAAMgD,OAClBnC,UAAWA,EACXoC,MAAOnD,EAAgB,GAAKN,KAAKQ,MAAMC,QAEvCc,EAAA,QAAAE,IAAA,2CAAMmB,KAAK,SAASc,KAAK,aAG3BnC,EAACoC,EAAe,CAAAlC,IAAA,2CACfC,IAAMA,GAAS1B,KAAKI,WAAasB,EAAI,cAKzB,OACZkC,OAAQtD,IAAkBe,EAC1Be,MAAM,sBACNyB,WAAY7C,EACZ8C,OAAQ9D,KAAKQ,MAAMuD,cACnBtD,cAAeT,KAAKQ,MAAMC,SAAW,SAAWT,KAAKQ,MAAMC,OAAS,KAEpEC,GACAa,EAAA,QAAAE,IAAA,2CAAMW,MAAM,kBAAkBM,GAAI1C,KAAK8B,yBACrC9B,KAAKQ,MAAMK,kB,CA0IjB,WAAAmD,CAAAC,G,UAtPiBjE,KAAA8B,wBAA0BoC,IAc1BlE,KAAA8C,QAAWqB,I,QAC3B,GAAInE,KAAKQ,MAAM6C,QAAU,SAAU,CAClCe,EAA2B,CAC1BC,KAAMrE,KAAKsE,KACX5C,IAAK1B,KAAKC,W,MAEL,GAAID,KAAKQ,MAAM6C,QAAU,QAAS,CACxCkB,EAA0B,CACzBF,KAAMrE,KAAKsE,KACX5C,IAAK1B,KAAKC,W,KAEL,CAEND,KAAKwE,WAAWC,uBAAuBzE,KAAKQ,MAAMkE,QAGlD,WAAW3E,EAAAC,KAAKQ,MAAMmE,OAAG,MAAA5E,SAAA,SAAAA,EAAE+C,WAAY,WAAY,CAClD8B,EAAeT,EAAOnE,KAAKC,YAC3BW,EAAAZ,KAAKQ,MAAMmE,OAAG,MAAA/D,SAAA,SAAAA,EAAEkC,QAAQqB,EAAOnE,KAAKQ,MAAMkE,O,EAI5C,GAAI1E,KAAKsE,KAAM,CACdO,EAAiB7E,KAAKsE,KAAMQ,EAASC,MAAO/E,KAAKQ,MAAMkE,O,GAIxC1E,KAAA+C,YAAeoB,I,WAC/Ba,GAAApE,GAAAb,EAAAC,KAAKQ,SAAK,MAAAT,SAAA,SAAAA,EAAE4E,OAAG,MAAA/D,SAAA,SAAAA,EAAEmC,eAAW,MAAAiC,SAAA,SAAAA,EAAAC,KAAArE,EAAGuD,GAC/B,GAAInE,KAAKsE,KAAM,CACdO,EAAiB7E,KAAKsE,KAAMQ,EAASI,U,4NAgHF,M,gBAOC,M,iQAyDgB,M,WAKV,S,0CAWY,S,WAElB,CACrC1B,OAAQ,GACR/C,OAAQ,GACRkE,IAAK,GACLtB,MAAO,SACPf,eAAgB,UAIhBtC,KAAKwE,WAAa,IAAIW,EAA0BnF,KAAM,SAAUA,KAAKsE,K,CAI/D,iBAAAc,CAAkBlG,GACxBkG,EAAkBpF,KAAMd,GACxBmG,EAA0BnG,EAAOc,KAAKkB,U,CAIhC,oBAAAlC,CAAqBE,GAC3BF,EAAqBgB,KAAMd,E,CAIrB,uBAAAoG,CAAwBpG,GAC9BoG,EAAwBtF,KAAMd,E,CAIxB,oBAAAqG,CAAqBrG,GAC3BqG,EAAqBvF,KAAMd,E,CAIrB,oBAAAE,CAAqBF,GAC3BE,EAAqBY,KAAMd,E,CAIrB,mBAAAsG,CAAoBtG,GAC1BsG,EAAoBxF,KAAMd,E,CAIpB,gBAAAuG,CAAiBvG,GACvBuG,EAAiBzF,KAAMd,E,CAIjB,iBAAAwG,CAAkBxG,GACxBwG,EAAkB1F,KAAMd,E,CAIlB,aAAAyG,CAAczG,GACpByG,EAAc3F,KAAMd,E,CAId,UAAA0G,CAAW1G,GACjBC,EAAYa,KAAM,MAAOd,E,CAInB,aAAA2G,CAAc3G,GACpB4G,EAA4B9F,KAAMd,EAAO,CACxC6G,SAAU,M,CAKL,mBAAAC,CAAoB9G,GAC1B8G,EAAoBhG,KAAMd,E,CAIpB,YAAA+G,CAAa/G,GACnBc,KAAKwE,WAAWyB,aAAa/G,E,CAIvB,UAAAgH,CAAWhH,GACjBI,EAAwBU,KAAMd,E,CAIxB,YAAAiH,CAAajH,GACnBkH,EAAkCpG,KAAMd,E,CAIlC,gBAAAmH,CAAiBnH,GACvBmH,EAAiBrG,KAAMd,GACvBmG,EAA0BrF,KAAKiB,WAAY/B,E,CAIrC,2BAAAoH,CAA4BpH,GAClCc,KAAKwE,WAAW8B,4BAA4BpH,E,CAItC,gBAAAqH,CAAiBrH,GACvBqH,EAAiBvG,KAAMd,E,CAIjB,oBAAAsH,CAAqBtH,GAC3BsH,EAAqBxG,KAAMd,E,CAIrB,YAAAuH,CAAavH,GACnBQ,EAAmBM,KAAMd,E,CAInB,aAAAwH,CAAcxH,GACpByH,EAAS3G,KAAM,SAAUd,GACzBc,KAAKwE,WAAWC,uBAAuBzE,KAAKQ,MAAMkE,O,CAI5C,qBAAAkC,CAAsB1H,GAC5B0H,EAAsB5G,KAAMd,E,CAGtB,iBAAA2H,GACN7G,KAAKoF,kBAAkBpF,KAAKiB,YAC5BjB,KAAKhB,qBAAqBgB,KAAK6B,eAC/B7B,KAAKsF,wBAAwBtF,KAAKa,kBAClCb,KAAKuF,qBAAqBvF,KAAKgC,eAC/BhC,KAAKZ,qBAAqBY,KAAKmC,eAC/BnC,KAAKwF,oBAAoBxF,KAAKwC,cAC9BxC,KAAKyF,iBAAiBzF,KAAKoB,WAC3BpB,KAAK0F,kBAAkB1F,KAAKsB,YAC5BtB,KAAK2F,cAAc3F,KAAKwD,QACxBxD,KAAK4F,WAAW5F,KAAK2C,KACrB3C,KAAK6F,cAAc7F,KAAKS,QACxBT,KAAKgG,oBAAoBhG,KAAKuC,cAC9BvC,KAAKiG,aAAajG,KAAK6C,OACvB7C,KAAKkG,WAAWlG,KAAK2E,KACrB3E,KAAKmG,aAAanG,KAAKiD,OACvBjD,KAAKqG,iBAAiBrG,KAAKkB,WAC3BlB,KAAKsG,4BAA4BtG,KAAK8G,sBACtC9G,KAAKuG,iBAAiBvG,KAAKmD,WAC3BnD,KAAKwG,qBAAqBxG,KAAK+D,eAC/B/D,KAAKyG,aAAazG,KAAKqD,OACvBrD,KAAK0G,cAAc1G,KAAK0E,QACxB1E,KAAK4G,sBAAsB5G,KAAKsC,gBAChC+C,EAA0BrF,KAAKiB,WAAYjB,KAAKkB,U","ignoreList":[]}