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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/README.md +58 -8
  2. package/custom-elements.json +1 -1
  3. package/dist/cjs/Alert-9fdb7776.js +4 -0
  4. package/dist/cjs/Alert-9fdb7776.js.map +1 -0
  5. package/dist/cjs/{Collapsible-570c8f47.js → Collapsible-27f768b6.js} +1 -1
  6. package/dist/cjs/{Collapsible-570c8f47.js.map → Collapsible-27f768b6.js.map} +1 -1
  7. package/dist/cjs/{CustomSuggestionsOptionsGroup-fd9f39c4.js → CustomSuggestionsOptionsGroup-5aa8cb59.js} +1 -1
  8. package/dist/cjs/{CustomSuggestionsOptionsGroup-fd9f39c4.js.map → CustomSuggestionsOptionsGroup-5aa8cb59.js.map} +1 -1
  9. package/dist/cjs/{FieldControlStateWrapper-8d9d9a4e.js → FieldControlStateWrapper-c24e99c5.js} +1 -1
  10. package/dist/cjs/{FieldControlStateWrapper-8d9d9a4e.js.map → FieldControlStateWrapper-c24e99c5.js.map} +1 -1
  11. package/dist/cjs/{Heading-cb5138ce.js → Heading-37af6473.js} +1 -1
  12. package/dist/cjs/{Heading-cb5138ce.js.map → Heading-37af6473.js.map} +1 -1
  13. package/dist/cjs/Icon-537bb332.js +4 -0
  14. package/dist/cjs/{Icon-ba73d59a.js.map → Icon-537bb332.js.map} +1 -1
  15. package/dist/cjs/{Input-76c169fc.js → Input-b3df5b7d.js} +1 -1
  16. package/dist/cjs/{Input-76c169fc.js.map → Input-b3df5b7d.js.map} +1 -1
  17. package/dist/cjs/{InputStateWrapper-03a79a3d.js → InputStateWrapper-4734d8d1.js} +1 -1
  18. package/dist/cjs/{InputStateWrapper-03a79a3d.js.map → InputStateWrapper-4734d8d1.js.map} +1 -1
  19. package/dist/cjs/{InternalUnderlinedBadgeText-c3ba39b9.js → InternalUnderlinedBadgeText-0ea7ba87.js} +1 -1
  20. package/dist/cjs/{InternalUnderlinedBadgeText-c3ba39b9.js.map → InternalUnderlinedBadgeText-0ea7ba87.js.map} +1 -1
  21. package/dist/cjs/{Span-c4c775c5.js → Span-0e05b374.js} +1 -1
  22. package/dist/cjs/{Span-c4c775c5.js.map → Span-0e05b374.js.map} +1 -1
  23. package/dist/cjs/{app-globals-e54f9a86.js → app-globals-cd9bce81.js} +1 -1
  24. package/dist/cjs/{app-globals-e54f9a86.js.map → app-globals-cd9bce81.js.map} +1 -1
  25. package/dist/cjs/{controller-32f31fc0.js → controller-4a3740d3.js} +1 -1
  26. package/dist/cjs/{controller-32f31fc0.js.map → controller-4a3740d3.js.map} +1 -1
  27. package/dist/cjs/{controller-f39e0ee2.js → controller-872e38fa.js} +1 -1
  28. package/dist/cjs/{controller-f39e0ee2.js.map → controller-872e38fa.js.map} +1 -1
  29. package/dist/cjs/{controller-e92133bb.js → controller-e3f2bc2d.js} +1 -1
  30. package/dist/cjs/{controller-e92133bb.js.map → controller-e3f2bc2d.js.map} +1 -1
  31. package/dist/cjs/{controller-icon-3891c0d4.js → controller-icon-01e6fff3.js} +1 -1
  32. package/dist/cjs/{controller-icon-3891c0d4.js.map → controller-icon-01e6fff3.js.map} +1 -1
  33. package/dist/cjs/{dev.utils-e57cfaef.js → dev.utils-c3903802.js} +1 -1
  34. package/dist/cjs/{dev.utils-e57cfaef.js.map → dev.utils-c3903802.js.map} +1 -1
  35. package/dist/cjs/{devtools-04497f51.js → devtools-c9352fa2.js} +1 -1
  36. package/dist/cjs/{devtools-04497f51.js.map → devtools-c9352fa2.js.map} +1 -1
  37. package/dist/cjs/{getRenderStates-4cab4c4e.js → getRenderStates-0f8144fb.js} +1 -1
  38. package/dist/cjs/{getRenderStates-4cab4c4e.js.map → getRenderStates-0f8144fb.js.map} +1 -1
  39. package/dist/cjs/index-c0d419b5.js +4 -0
  40. package/dist/cjs/index-c0d419b5.js.map +1 -0
  41. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -1
  45. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  104. package/dist/cjs/kolibri.cjs.js +1 -1
  105. package/dist/cjs/loader.cjs.js +1 -1
  106. package/dist/cjs/test-component.cjs.entry.js +1 -1
  107. package/dist/components/Alert.js +1 -1
  108. package/dist/components/Alert.js.map +1 -1
  109. package/dist/components/kol-alert-wc.js +1 -1
  110. package/dist/components/kol-alert-wc.js.map +1 -1
  111. package/dist/components/kol-image.js +1 -1
  112. package/dist/components/kol-image.js.map +1 -1
  113. package/dist/esm/Alert-4f2f7115.js +4 -0
  114. package/dist/esm/Alert-4f2f7115.js.map +1 -0
  115. package/dist/esm/{Collapsible-018af61d.js → Collapsible-7cb22ab1.js} +1 -1
  116. package/dist/esm/{Collapsible-018af61d.js.map → Collapsible-7cb22ab1.js.map} +1 -1
  117. package/dist/esm/{CustomSuggestionsOptionsGroup-535469be.js → CustomSuggestionsOptionsGroup-06278bda.js} +1 -1
  118. package/dist/esm/{CustomSuggestionsOptionsGroup-535469be.js.map → CustomSuggestionsOptionsGroup-06278bda.js.map} +1 -1
  119. package/dist/esm/{FieldControlStateWrapper-6b9c9eb1.js → FieldControlStateWrapper-602a7af3.js} +1 -1
  120. package/dist/esm/{FieldControlStateWrapper-6b9c9eb1.js.map → FieldControlStateWrapper-602a7af3.js.map} +1 -1
  121. package/dist/esm/{Heading-c0a196c8.js → Heading-7b90eeb4.js} +1 -1
  122. package/dist/esm/{Heading-c0a196c8.js.map → Heading-7b90eeb4.js.map} +1 -1
  123. package/dist/esm/{Icon-8b3c5e62.js → Icon-a2f91629.js} +1 -1
  124. package/dist/esm/{Icon-8b3c5e62.js.map → Icon-a2f91629.js.map} +1 -1
  125. package/dist/esm/{Input-3f54e170.js → Input-324f4b1d.js} +1 -1
  126. package/dist/esm/{Input-3f54e170.js.map → Input-324f4b1d.js.map} +1 -1
  127. package/dist/esm/{InputStateWrapper-45f3da21.js → InputStateWrapper-e0c888e4.js} +1 -1
  128. package/dist/esm/{InputStateWrapper-45f3da21.js.map → InputStateWrapper-e0c888e4.js.map} +1 -1
  129. package/dist/esm/{InternalUnderlinedBadgeText-8ef3526c.js → InternalUnderlinedBadgeText-2d939629.js} +1 -1
  130. package/dist/esm/{InternalUnderlinedBadgeText-8ef3526c.js.map → InternalUnderlinedBadgeText-2d939629.js.map} +1 -1
  131. package/dist/esm/{Span-72cf9403.js → Span-78135d4f.js} +1 -1
  132. package/dist/esm/{Span-72cf9403.js.map → Span-78135d4f.js.map} +1 -1
  133. package/dist/esm/{app-globals-32eb0548.js → app-globals-f57fb61d.js} +1 -1
  134. package/dist/esm/{app-globals-32eb0548.js.map → app-globals-f57fb61d.js.map} +1 -1
  135. package/dist/esm/{controller-60bea698.js → controller-2152c5b3.js} +1 -1
  136. package/dist/esm/{controller-60bea698.js.map → controller-2152c5b3.js.map} +1 -1
  137. package/dist/esm/{controller-166954d6.js → controller-75622398.js} +1 -1
  138. package/dist/esm/{controller-166954d6.js.map → controller-75622398.js.map} +1 -1
  139. package/dist/esm/{controller-35491a9e.js → controller-c6883e74.js} +1 -1
  140. package/dist/esm/{controller-35491a9e.js.map → controller-c6883e74.js.map} +1 -1
  141. package/dist/esm/{controller-icon-4b084fbf.js → controller-icon-6d59bc84.js} +1 -1
  142. package/dist/esm/{controller-icon-4b084fbf.js.map → controller-icon-6d59bc84.js.map} +1 -1
  143. package/dist/esm/{dev.utils-4d98f7de.js → dev.utils-ca3cce4b.js} +1 -1
  144. package/dist/esm/{dev.utils-4d98f7de.js.map → dev.utils-ca3cce4b.js.map} +1 -1
  145. package/dist/esm/{devtools-98df6631.js → devtools-fa819249.js} +1 -1
  146. package/dist/esm/{devtools-98df6631.js.map → devtools-fa819249.js.map} +1 -1
  147. package/dist/esm/{getRenderStates-0f300345.js → getRenderStates-1a7401a2.js} +1 -1
  148. package/dist/esm/{getRenderStates-0f300345.js.map → getRenderStates-1a7401a2.js.map} +1 -1
  149. package/dist/esm/index-2f6c3929.js +4 -0
  150. package/dist/esm/index-2f6c3929.js.map +1 -0
  151. package/dist/esm/kol-abbr.entry.js +1 -1
  152. package/dist/esm/kol-accordion.entry.js +1 -1
  153. package/dist/esm/kol-alert-wc.entry.js +1 -1
  154. package/dist/esm/kol-alert-wc.entry.js.map +1 -1
  155. package/dist/esm/kol-alert.entry.js +1 -1
  156. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  157. package/dist/esm/kol-avatar.entry.js +1 -1
  158. package/dist/esm/kol-badge.entry.js +1 -1
  159. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  160. package/dist/esm/kol-button-link.entry.js +1 -1
  161. package/dist/esm/kol-button-wc.entry.js +1 -1
  162. package/dist/esm/kol-button.entry.js +1 -1
  163. package/dist/esm/kol-card-wc.entry.js +1 -1
  164. package/dist/esm/kol-card.entry.js +1 -1
  165. package/dist/esm/kol-combobox.entry.js +1 -1
  166. package/dist/esm/kol-details.entry.js +1 -1
  167. package/dist/esm/kol-drawer.entry.js +1 -1
  168. package/dist/esm/kol-form.entry.js +1 -1
  169. package/dist/esm/kol-heading.entry.js +1 -1
  170. package/dist/esm/kol-icon.entry.js +1 -1
  171. package/dist/esm/kol-image.entry.js +1 -1
  172. package/dist/esm/kol-image.entry.js.map +1 -1
  173. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  174. package/dist/esm/kol-input-color.entry.js +1 -1
  175. package/dist/esm/kol-input-date.entry.js +1 -1
  176. package/dist/esm/kol-input-email.entry.js +1 -1
  177. package/dist/esm/kol-input-file.entry.js +1 -1
  178. package/dist/esm/kol-input-number.entry.js +1 -1
  179. package/dist/esm/kol-input-password.entry.js +1 -1
  180. package/dist/esm/kol-input-radio.entry.js +1 -1
  181. package/dist/esm/kol-input-range.entry.js +1 -1
  182. package/dist/esm/kol-input-text.entry.js +1 -1
  183. package/dist/esm/kol-kolibri.entry.js +1 -1
  184. package/dist/esm/kol-link-button.entry.js +1 -1
  185. package/dist/esm/kol-link-wc.entry.js +1 -1
  186. package/dist/esm/kol-link.entry.js +1 -1
  187. package/dist/esm/kol-modal.entry.js +1 -1
  188. package/dist/esm/kol-nav.entry.js +1 -1
  189. package/dist/esm/kol-pagination.entry.js +1 -1
  190. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  191. package/dist/esm/kol-popover-button.entry.js +1 -1
  192. package/dist/esm/kol-popover-wc.entry.js +1 -1
  193. package/dist/esm/kol-progress.entry.js +1 -1
  194. package/dist/esm/kol-quote.entry.js +1 -1
  195. package/dist/esm/kol-select.entry.js +1 -1
  196. package/dist/esm/kol-single-select.entry.js +1 -1
  197. package/dist/esm/kol-skip-nav.entry.js +1 -1
  198. package/dist/esm/kol-spin.entry.js +1 -1
  199. package/dist/esm/kol-split-button.entry.js +1 -1
  200. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  201. package/dist/esm/kol-table-stateful.entry.js +1 -1
  202. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  203. package/dist/esm/kol-table-stateless.entry.js +1 -1
  204. package/dist/esm/kol-tabs.entry.js +1 -1
  205. package/dist/esm/kol-textarea.entry.js +1 -1
  206. package/dist/esm/kol-toast-container.entry.js +1 -1
  207. package/dist/esm/kol-toolbar.entry.js +1 -1
  208. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  209. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  210. package/dist/esm/kol-tree-item.entry.js +1 -1
  211. package/dist/esm/kol-tree-wc.entry.js +1 -1
  212. package/dist/esm/kol-tree.entry.js +1 -1
  213. package/dist/esm/kol-version.entry.js +1 -1
  214. package/dist/esm/kolibri.js +1 -1
  215. package/dist/esm/loader.js +1 -1
  216. package/dist/esm/test-component.entry.js +1 -1
  217. package/dist/kolibri/Alert-4f2f7115.js +4 -0
  218. package/dist/kolibri/Alert-4f2f7115.js.map +1 -0
  219. package/dist/kolibri/{Collapsible-018af61d.js → Collapsible-7cb22ab1.js} +1 -1
  220. package/dist/kolibri/{CustomSuggestionsOptionsGroup-535469be.js → CustomSuggestionsOptionsGroup-06278bda.js} +1 -1
  221. package/dist/kolibri/{FieldControlStateWrapper-6b9c9eb1.js → FieldControlStateWrapper-602a7af3.js} +1 -1
  222. package/dist/kolibri/{Heading-c0a196c8.js → Heading-7b90eeb4.js} +1 -1
  223. package/dist/kolibri/Icon-a2f91629.js +4 -0
  224. package/dist/kolibri/Input-324f4b1d.js +4 -0
  225. package/dist/kolibri/{InputStateWrapper-45f3da21.js → InputStateWrapper-e0c888e4.js} +1 -1
  226. package/dist/kolibri/{InternalUnderlinedBadgeText-8ef3526c.js → InternalUnderlinedBadgeText-2d939629.js} +1 -1
  227. package/dist/kolibri/Span-78135d4f.js +4 -0
  228. package/dist/kolibri/{Span-72cf9403.js.map → Span-78135d4f.js.map} +1 -1
  229. package/dist/kolibri/app-globals-f57fb61d.js +4 -0
  230. package/dist/kolibri/{app-globals-32eb0548.js.map → app-globals-f57fb61d.js.map} +1 -1
  231. package/dist/kolibri/{controller-60bea698.js → controller-2152c5b3.js} +1 -1
  232. package/dist/kolibri/{controller-166954d6.js → controller-75622398.js} +1 -1
  233. package/dist/kolibri/{controller-35491a9e.js → controller-c6883e74.js} +1 -1
  234. package/dist/kolibri/{controller-icon-4b084fbf.js → controller-icon-6d59bc84.js} +1 -1
  235. package/dist/kolibri/{dev.utils-4d98f7de.js → dev.utils-ca3cce4b.js} +1 -1
  236. package/dist/kolibri/{devtools-98df6631.js → devtools-fa819249.js} +1 -1
  237. package/dist/kolibri/{getRenderStates-0f300345.js → getRenderStates-1a7401a2.js} +1 -1
  238. package/dist/kolibri/{index-c14cc40b.js → index-2f6c3929.js} +2 -2
  239. package/dist/kolibri/index-2f6c3929.js.map +1 -0
  240. package/dist/kolibri/kol-abbr.entry.js +1 -1
  241. package/dist/kolibri/kol-accordion.entry.js +1 -1
  242. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  243. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  244. package/dist/kolibri/kol-alert.entry.js +1 -1
  245. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  246. package/dist/kolibri/kol-avatar.entry.js +1 -1
  247. package/dist/kolibri/kol-badge.entry.js +1 -1
  248. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  249. package/dist/kolibri/kol-button-link.entry.js +1 -1
  250. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  251. package/dist/kolibri/kol-button.entry.js +1 -1
  252. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  253. package/dist/kolibri/kol-card.entry.js +1 -1
  254. package/dist/kolibri/kol-combobox.entry.js +1 -1
  255. package/dist/kolibri/kol-details.entry.js +1 -1
  256. package/dist/kolibri/kol-drawer.entry.js +1 -1
  257. package/dist/kolibri/kol-form.entry.js +1 -1
  258. package/dist/kolibri/kol-heading.entry.js +1 -1
  259. package/dist/kolibri/kol-icon.entry.js +1 -1
  260. package/dist/kolibri/kol-image.entry.js +1 -1
  261. package/dist/kolibri/kol-image.entry.js.map +1 -1
  262. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  263. package/dist/kolibri/kol-input-color.entry.js +1 -1
  264. package/dist/kolibri/kol-input-date.entry.js +1 -1
  265. package/dist/kolibri/kol-input-email.entry.js +1 -1
  266. package/dist/kolibri/kol-input-file.entry.js +1 -1
  267. package/dist/kolibri/kol-input-number.entry.js +1 -1
  268. package/dist/kolibri/kol-input-password.entry.js +1 -1
  269. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  270. package/dist/kolibri/kol-input-range.entry.js +1 -1
  271. package/dist/kolibri/kol-input-text.entry.js +1 -1
  272. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  273. package/dist/kolibri/kol-link-button.entry.js +1 -1
  274. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  275. package/dist/kolibri/kol-link.entry.js +1 -1
  276. package/dist/kolibri/kol-modal.entry.js +1 -1
  277. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  278. package/dist/kolibri/kol-nav.entry.js +1 -1
  279. package/dist/kolibri/kol-pagination.entry.js +1 -1
  280. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  281. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  282. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  283. package/dist/kolibri/kol-progress.entry.js +1 -1
  284. package/dist/kolibri/kol-quote.entry.js +1 -1
  285. package/dist/kolibri/kol-select.entry.js +1 -1
  286. package/dist/kolibri/kol-single-select.entry.js +1 -1
  287. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  288. package/dist/kolibri/kol-spin.entry.js +1 -1
  289. package/dist/kolibri/kol-split-button.entry.js +1 -1
  290. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  291. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  292. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  293. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  294. package/dist/kolibri/kol-tabs.entry.js +1 -1
  295. package/dist/kolibri/kol-textarea.entry.js +1 -1
  296. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  297. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  298. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  299. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  300. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  301. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  302. package/dist/kolibri/kol-tree.entry.js +1 -1
  303. package/dist/kolibri/kol-version.entry.js +1 -1
  304. package/dist/kolibri/kolibri.esm.js +1 -1
  305. package/dist/kolibri/test-component.entry.js +1 -1
  306. package/dist/types/schema/components/image.d.ts +5 -16
  307. package/dist/types/schema/props/alt.d.ts +7 -0
  308. package/dist/types/schema/props/image-sizes.d.ts +7 -0
  309. package/dist/types/schema/props/image-srcset.d.ts +7 -0
  310. package/dist/types/schema/props/index.d.ts +1 -1
  311. package/dist/types/schema/props/loading.d.ts +3 -0
  312. package/doc/components.md +4 -4
  313. package/package.json +1 -1
  314. package/dist/cjs/Alert-fd00aa65.js +0 -4
  315. package/dist/cjs/Alert-fd00aa65.js.map +0 -1
  316. package/dist/cjs/Icon-ba73d59a.js +0 -4
  317. package/dist/cjs/index-25983368.js +0 -4
  318. package/dist/cjs/index-25983368.js.map +0 -1
  319. package/dist/esm/Alert-8f3aaf4d.js +0 -4
  320. package/dist/esm/Alert-8f3aaf4d.js.map +0 -1
  321. package/dist/esm/index-c14cc40b.js +0 -4
  322. package/dist/esm/index-c14cc40b.js.map +0 -1
  323. package/dist/kolibri/Alert-8f3aaf4d.js +0 -4
  324. package/dist/kolibri/Alert-8f3aaf4d.js.map +0 -1
  325. package/dist/kolibri/Icon-8b3c5e62.js +0 -4
  326. package/dist/kolibri/Input-3f54e170.js +0 -4
  327. package/dist/kolibri/Span-72cf9403.js +0 -4
  328. package/dist/kolibri/app-globals-32eb0548.js +0 -4
  329. package/dist/kolibri/index-c14cc40b.js.map +0 -1
  330. /package/dist/kolibri/{Collapsible-018af61d.js.map → Collapsible-7cb22ab1.js.map} +0 -0
  331. /package/dist/kolibri/{CustomSuggestionsOptionsGroup-535469be.js.map → CustomSuggestionsOptionsGroup-06278bda.js.map} +0 -0
  332. /package/dist/kolibri/{FieldControlStateWrapper-6b9c9eb1.js.map → FieldControlStateWrapper-602a7af3.js.map} +0 -0
  333. /package/dist/kolibri/{Heading-c0a196c8.js.map → Heading-7b90eeb4.js.map} +0 -0
  334. /package/dist/kolibri/{Icon-8b3c5e62.js.map → Icon-a2f91629.js.map} +0 -0
  335. /package/dist/kolibri/{Input-3f54e170.js.map → Input-324f4b1d.js.map} +0 -0
  336. /package/dist/kolibri/{InputStateWrapper-45f3da21.js.map → InputStateWrapper-e0c888e4.js.map} +0 -0
  337. /package/dist/kolibri/{InternalUnderlinedBadgeText-8ef3526c.js.map → InternalUnderlinedBadgeText-2d939629.js.map} +0 -0
  338. /package/dist/kolibri/{controller-60bea698.js.map → controller-2152c5b3.js.map} +0 -0
  339. /package/dist/kolibri/{controller-166954d6.js.map → controller-75622398.js.map} +0 -0
  340. /package/dist/kolibri/{controller-35491a9e.js.map → controller-c6883e74.js.map} +0 -0
  341. /package/dist/kolibri/{controller-icon-4b084fbf.js.map → controller-icon-6d59bc84.js.map} +0 -0
  342. /package/dist/kolibri/{dev.utils-4d98f7de.js.map → dev.utils-ca3cce4b.js.map} +0 -0
  343. /package/dist/kolibri/{devtools-98df6631.js.map → devtools-fa819249.js.map} +0 -0
  344. /package/dist/kolibri/{getRenderStates-0f300345.js.map → getRenderStates-1a7401a2.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as n,h as e,H as t,g as i}from"./index-c14cc40b.js";import{w as o,i as l,B as a}from"./index-ebe5a881.js";import{t as s}from"./i18n-260f0fe9.js";import{f as r}from"./component-names-553d8bfa.js";import{K as d}from"./Alert-8f3aaf4d.js";import{d as h,K as c}from"./events-bad0a075.js";import"./i18n-45224cc3.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-c0a196c8.js";const f=(n,e)=>{o(n,"errorList",(n=>Array.isArray(n)&&void 0===n.find((n=>!("string"==typeof n||"function"==typeof n)))),new Set(["string","function"]),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@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 @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-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 }\n}",p=m,u=class{constructor(e){n(this,e),this.onSubmit=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n)),this.host&&h(this.host,c.submit)},this.onReset=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n)),this.host&&h(this.host,c.reset)},this.handleLinkClick=n=>{const e=document.querySelector(n);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())},this.setBlockElement=n=>this.errorListBlock=n,this.setFirstLinkElement=n=>this.errorListFirstLink=n,this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}renderErrorList(n){return e(d,{class:"kol-form__alert",ref:this.setBlockElement,type:"error",variant:"card",label:s("kol-error-list-message")},e("nav",{"aria-label":s("kol-error-list")},e("ul",null,null==n?void 0:n.map(((n,t)=>e("li",{key:t},e(r,{class:"kol-form__link",_href:"",_label:n.message,_on:{onClick:"string"==typeof n.selector?()=>this.handleLinkClick(String(n.selector)):n.selector},ref:0===t?this.setFirstLinkElement:void 0})))))))}renderFormElement(){return e("form",{class:"kol-form",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?e("p",null,e("div",{class:"kol-form__mandatory-fields-hint"},s("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?e("p",null,e("div",{class:"kol-form__mandatory-fields-hint"},this.state._requiredText)):null,e("slot",null))}render(){const n=Array.isArray(this._errorList)&&this._errorList.length>0;return e(t,{key:"48650c4c31e4e6f05a85ee46557e8007357c52b6"},n&&this.renderErrorList(this._errorList),this.renderFormElement())}scrollToErrorList(){var n;null===(n=this.errorListBlock)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout((()=>{var n,e;null===(e=null===(n=this.errorListFirstLink)||void 0===n?void 0:n.querySelector("a"))||void 0===e||e.focus()}),250)}async focusErrorList(){return this.scrollToErrorList(),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?l(this,"_requiredText",n):a(this,"_requiredText",n)}validateErrorList(n){f(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}get host(){return i(this)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};u.style={default:p};export{u as kol_form};
4
+ import{r as n,h as e,H as t,g as i}from"./index-2f6c3929.js";import{w as o,i as l,B as a}from"./index-ebe5a881.js";import{t as s}from"./i18n-260f0fe9.js";import{f as r}from"./component-names-553d8bfa.js";import{K as d}from"./Alert-4f2f7115.js";import{d as h,K as c}from"./events-bad0a075.js";import"./i18n-45224cc3.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-7b90eeb4.js";const f=(n,e)=>{o(n,"errorList",(n=>Array.isArray(n)&&void 0===n.find((n=>!("string"==typeof n||"function"==typeof n)))),new Set(["string","function"]),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@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 @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-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 }\n}",p=m,u=class{constructor(e){n(this,e),this.onSubmit=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n)),this.host&&h(this.host,c.submit)},this.onReset=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n)),this.host&&h(this.host,c.reset)},this.handleLinkClick=n=>{const e=document.querySelector(n);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())},this.setBlockElement=n=>this.errorListBlock=n,this.setFirstLinkElement=n=>this.errorListFirstLink=n,this._on=void 0,this._requiredText=!0,this._errorList=void 0,this.state={}}renderErrorList(n){return e(d,{class:"kol-form__alert",ref:this.setBlockElement,type:"error",variant:"card",label:s("kol-error-list-message")},e("nav",{"aria-label":s("kol-error-list")},e("ul",null,null==n?void 0:n.map(((n,t)=>e("li",{key:t},e(r,{class:"kol-form__link",_href:"",_label:n.message,_on:{onClick:"string"==typeof n.selector?()=>this.handleLinkClick(String(n.selector)):n.selector},ref:0===t?this.setFirstLinkElement:void 0})))))))}renderFormElement(){return e("form",{class:"kol-form",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,autoComplete:"off",noValidate:!0},!0===this.state._requiredText?e("p",null,e("div",{class:"kol-form__mandatory-fields-hint"},s("kol-form-description"))):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?e("p",null,e("div",{class:"kol-form__mandatory-fields-hint"},this.state._requiredText)):null,e("slot",null))}render(){const n=Array.isArray(this._errorList)&&this._errorList.length>0;return e(t,{key:"48650c4c31e4e6f05a85ee46557e8007357c52b6"},n&&this.renderErrorList(this._errorList),this.renderFormElement())}scrollToErrorList(){var n;null===(n=this.errorListBlock)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout((()=>{var n,e;null===(e=null===(n=this.errorListFirstLink)||void 0===n?void 0:n.querySelector("a"))||void 0===e||e.focus()}),250)}async focusErrorList(){return this.scrollToErrorList(),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?l(this,"_requiredText",n):a(this,"_requiredText",n)}validateErrorList(n){f(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}get host(){return i(this)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};u.style={default:p};export{u as kol_form};
@@ -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-c14cc40b.js";import{B as t}from"./index-ebe5a881.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as i}from"./Heading-c0a196c8.js";import"./markdown-f827f2ac.js";import{w as a}from"./validation-152ea092.js";import{a as o}from"./label-bf9966d0.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";const l="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 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}",s=l,r=class{constructor(e){n(this,e),this._label=void 0,this._level=0,this._secondaryHeadline=void 0,this.state={_label:"",_level:0}}validateLabel(n){o(this,n)}validateLevel(n){a(this,n)}validateSecondaryHeadline(n){t(this,"_secondaryHeadline",n)}componentWillLoad(){this.validateLabel(this._label),this.validateLevel(this._level),this.validateSecondaryHeadline(this._secondaryHeadline)}render(){const{_secondaryHeadline:n,_label:t,_level:a}=this.state;return e(i,{key:"bca6f091d8c15ebbd3cd448deb11b8c21253369c",secondaryHeadline:n,level:a},t,e("slot",{key:"16c1177a2937b4a31efd828e26fb316f365049a7",name:"expert",slot:"expert"}))}static get watchers(){return{_label:["validateLabel"],_level:["validateLevel"],_secondaryHeadline:["validateSecondaryHeadline"]}}};r.style={default:s};export{r as kol_heading};
4
+ import{r as n,h as e}from"./index-2f6c3929.js";import{B as t}from"./index-ebe5a881.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import{K as i}from"./Heading-7b90eeb4.js";import"./markdown-f827f2ac.js";import{w as a}from"./validation-152ea092.js";import{a as o}from"./label-bf9966d0.js";import"./i18n-45224cc3.js";import"./browser-f629a56a.js";import"./tslib.es6-1173d062.js";import"./clsx-09a06a12.js";const l="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 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}",s=l,r=class{constructor(e){n(this,e),this._label=void 0,this._level=0,this._secondaryHeadline=void 0,this.state={_label:"",_level:0}}validateLabel(n){o(this,n)}validateLevel(n){a(this,n)}validateSecondaryHeadline(n){t(this,"_secondaryHeadline",n)}componentWillLoad(){this.validateLabel(this._label),this.validateLevel(this._level),this.validateSecondaryHeadline(this._secondaryHeadline)}render(){const{_secondaryHeadline:n,_label:t,_level:a}=this.state;return e(i,{key:"bca6f091d8c15ebbd3cd448deb11b8c21253369c",secondaryHeadline:n,level:a},t,e("slot",{key:"16c1177a2937b4a31efd828e26fb316f365049a7",name:"expert",slot:"expert"}))}static get watchers(){return{_label:["validateLabel"],_level:["validateLevel"],_secondaryHeadline:["validateSecondaryHeadline"]}}};r.style={default:s};export{r as kol_heading};
@@ -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 o}from"./index-c14cc40b.js";import{B as c}from"./index-ebe5a881.js";import{c as t}from"./clsx-09a06a12.js";import{a as r,b}from"./bem-dabd96cc.js";import{v as i}from"./label-bf9966d0.js";import"./browser-f629a56a.js";const d='/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n@font-face {\n font-family: "codicon";\n font-display: block;\n src: url("./codicon.ttf?be64b7213e352cd7f91ef58198e71237") format("truetype");\n}\n.codicon[class*=codicon-] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n@keyframes codicon-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n opacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n.codicon-add:before {\n content: "\\ea60";\n}\n\n.codicon-plus:before {\n content: "\\ea60";\n}\n\n.codicon-gist-new:before {\n content: "\\ea60";\n}\n\n.codicon-repo-create:before {\n content: "\\ea60";\n}\n\n.codicon-lightbulb:before {\n content: "\\ea61";\n}\n\n.codicon-light-bulb:before {\n content: "\\ea61";\n}\n\n.codicon-repo:before {\n content: "\\ea62";\n}\n\n.codicon-repo-delete:before {\n content: "\\ea62";\n}\n\n.codicon-gist-fork:before {\n content: "\\ea63";\n}\n\n.codicon-repo-forked:before {\n content: "\\ea63";\n}\n\n.codicon-git-pull-request:before {\n content: "\\ea64";\n}\n\n.codicon-git-pull-request-abandoned:before {\n content: "\\ea64";\n}\n\n.codicon-record-keys:before {\n content: "\\ea65";\n}\n\n.codicon-keyboard:before {\n content: "\\ea65";\n}\n\n.codicon-tag:before {\n content: "\\ea66";\n}\n\n.codicon-git-pull-request-label:before {\n content: "\\ea66";\n}\n\n.codicon-tag-add:before {\n content: "\\ea66";\n}\n\n.codicon-tag-remove:before {\n content: "\\ea66";\n}\n\n.codicon-person:before {\n content: "\\ea67";\n}\n\n.codicon-person-follow:before {\n content: "\\ea67";\n}\n\n.codicon-person-outline:before {\n content: "\\ea67";\n}\n\n.codicon-person-filled:before {\n content: "\\ea67";\n}\n\n.codicon-git-branch:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-create:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-delete:before {\n content: "\\ea68";\n}\n\n.codicon-source-control:before {\n content: "\\ea68";\n}\n\n.codicon-mirror:before {\n content: "\\ea69";\n}\n\n.codicon-mirror-public:before {\n content: "\\ea69";\n}\n\n.codicon-star:before {\n content: "\\ea6a";\n}\n\n.codicon-star-add:before {\n content: "\\ea6a";\n}\n\n.codicon-star-delete:before {\n content: "\\ea6a";\n}\n\n.codicon-star-empty:before {\n content: "\\ea6a";\n}\n\n.codicon-comment:before {\n content: "\\ea6b";\n}\n\n.codicon-comment-add:before {\n content: "\\ea6b";\n}\n\n.codicon-alert:before {\n content: "\\ea6c";\n}\n\n.codicon-warning:before {\n content: "\\ea6c";\n}\n\n.codicon-search:before {\n content: "\\ea6d";\n}\n\n.codicon-search-save:before {\n content: "\\ea6d";\n}\n\n.codicon-log-out:before {\n content: "\\ea6e";\n}\n\n.codicon-sign-out:before {\n content: "\\ea6e";\n}\n\n.codicon-log-in:before {\n content: "\\ea6f";\n}\n\n.codicon-sign-in:before {\n content: "\\ea6f";\n}\n\n.codicon-eye:before {\n content: "\\ea70";\n}\n\n.codicon-eye-unwatch:before {\n content: "\\ea70";\n}\n\n.codicon-eye-watch:before {\n content: "\\ea70";\n}\n\n.codicon-circle-filled:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-dot:before {\n content: "\\ea71";\n}\n\n.codicon-close-dirty:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint-disabled:before {\n content: "\\ea71";\n}\n\n.codicon-debug-hint:before {\n content: "\\ea71";\n}\n\n.codicon-terminal-decoration-success:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-square:before {\n content: "\\ea72";\n}\n\n.codicon-edit:before {\n content: "\\ea73";\n}\n\n.codicon-pencil:before {\n content: "\\ea73";\n}\n\n.codicon-info:before {\n content: "\\ea74";\n}\n\n.codicon-issue-opened:before {\n content: "\\ea74";\n}\n\n.codicon-gist-private:before {\n content: "\\ea75";\n}\n\n.codicon-git-fork-private:before {\n content: "\\ea75";\n}\n\n.codicon-lock:before {\n content: "\\ea75";\n}\n\n.codicon-mirror-private:before {\n content: "\\ea75";\n}\n\n.codicon-close:before {\n content: "\\ea76";\n}\n\n.codicon-remove-close:before {\n content: "\\ea76";\n}\n\n.codicon-x:before {\n content: "\\ea76";\n}\n\n.codicon-repo-sync:before {\n content: "\\ea77";\n}\n\n.codicon-sync:before {\n content: "\\ea77";\n}\n\n.codicon-clone:before {\n content: "\\ea78";\n}\n\n.codicon-desktop-download:before {\n content: "\\ea78";\n}\n\n.codicon-beaker:before {\n content: "\\ea79";\n}\n\n.codicon-microscope:before {\n content: "\\ea79";\n}\n\n.codicon-vm:before {\n content: "\\ea7a";\n}\n\n.codicon-device-desktop:before {\n content: "\\ea7a";\n}\n\n.codicon-file:before {\n content: "\\ea7b";\n}\n\n.codicon-file-text:before {\n content: "\\ea7b";\n}\n\n.codicon-more:before {\n content: "\\ea7c";\n}\n\n.codicon-ellipsis:before {\n content: "\\ea7c";\n}\n\n.codicon-kebab-horizontal:before {\n content: "\\ea7c";\n}\n\n.codicon-mail-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-organization:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-filled:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-outline:before {\n content: "\\ea7e";\n}\n\n.codicon-new-file:before {\n content: "\\ea7f";\n}\n\n.codicon-file-add:before {\n content: "\\ea7f";\n}\n\n.codicon-new-folder:before {\n content: "\\ea80";\n}\n\n.codicon-file-directory-create:before {\n content: "\\ea80";\n}\n\n.codicon-trash:before {\n content: "\\ea81";\n}\n\n.codicon-trashcan:before {\n content: "\\ea81";\n}\n\n.codicon-history:before {\n content: "\\ea82";\n}\n\n.codicon-clock:before {\n content: "\\ea82";\n}\n\n.codicon-folder:before {\n content: "\\ea83";\n}\n\n.codicon-file-directory:before {\n content: "\\ea83";\n}\n\n.codicon-symbol-folder:before {\n content: "\\ea83";\n}\n\n.codicon-logo-github:before {\n content: "\\ea84";\n}\n\n.codicon-mark-github:before {\n content: "\\ea84";\n}\n\n.codicon-github:before {\n content: "\\ea84";\n}\n\n.codicon-terminal:before {\n content: "\\ea85";\n}\n\n.codicon-console:before {\n content: "\\ea85";\n}\n\n.codicon-repl:before {\n content: "\\ea85";\n}\n\n.codicon-zap:before {\n content: "\\ea86";\n}\n\n.codicon-symbol-event:before {\n content: "\\ea86";\n}\n\n.codicon-error:before {\n content: "\\ea87";\n}\n\n.codicon-stop:before {\n content: "\\ea87";\n}\n\n.codicon-variable:before {\n content: "\\ea88";\n}\n\n.codicon-symbol-variable:before {\n content: "\\ea88";\n}\n\n.codicon-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-module:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-package:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-namespace:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-object:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-method:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-function:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-constructor:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-boolean:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-null:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-numeric:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-number:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-structure:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-struct:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-type-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-key:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-text:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-reference:before {\n content: "\\ea94";\n}\n\n.codicon-go-to-file:before {\n content: "\\ea94";\n}\n\n.codicon-symbol-enum:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-value:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-ruler:before {\n content: "\\ea96";\n}\n\n.codicon-symbol-unit:before {\n content: "\\ea96";\n}\n\n.codicon-activate-breakpoints:before {\n content: "\\ea97";\n}\n\n.codicon-archive:before {\n content: "\\ea98";\n}\n\n.codicon-arrow-both:before {\n content: "\\ea99";\n}\n\n.codicon-arrow-down:before {\n content: "\\ea9a";\n}\n\n.codicon-arrow-left:before {\n content: "\\ea9b";\n}\n\n.codicon-arrow-right:before {\n content: "\\ea9c";\n}\n\n.codicon-arrow-small-down:before {\n content: "\\ea9d";\n}\n\n.codicon-arrow-small-left:before {\n content: "\\ea9e";\n}\n\n.codicon-arrow-small-right:before {\n content: "\\ea9f";\n}\n\n.codicon-arrow-small-up:before {\n content: "\\eaa0";\n}\n\n.codicon-arrow-up:before {\n content: "\\eaa1";\n}\n\n.codicon-bell:before {\n content: "\\eaa2";\n}\n\n.codicon-bold:before {\n content: "\\eaa3";\n}\n\n.codicon-book:before {\n content: "\\eaa4";\n}\n\n.codicon-bookmark:before {\n content: "\\eaa5";\n}\n\n.codicon-debug-breakpoint-conditional-unverified:before {\n content: "\\eaa6";\n}\n\n.codicon-debug-breakpoint-conditional:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-conditional-disabled:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-data-unverified:before {\n content: "\\eaa8";\n}\n\n.codicon-debug-breakpoint-data:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-data-disabled:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-log-unverified:before {\n content: "\\eaaa";\n}\n\n.codicon-debug-breakpoint-log:before {\n content: "\\eaab";\n}\n\n.codicon-debug-breakpoint-log-disabled:before {\n content: "\\eaab";\n}\n\n.codicon-briefcase:before {\n content: "\\eaac";\n}\n\n.codicon-broadcast:before {\n content: "\\eaad";\n}\n\n.codicon-browser:before {\n content: "\\eaae";\n}\n\n.codicon-bug:before {\n content: "\\eaaf";\n}\n\n.codicon-calendar:before {\n content: "\\eab0";\n}\n\n.codicon-case-sensitive:before {\n content: "\\eab1";\n}\n\n.codicon-check:before {\n content: "\\eab2";\n}\n\n.codicon-checklist:before {\n content: "\\eab3";\n}\n\n.codicon-chevron-down:before {\n content: "\\eab4";\n}\n\n.codicon-chevron-left:before {\n content: "\\eab5";\n}\n\n.codicon-chevron-right:before {\n content: "\\eab6";\n}\n\n.codicon-chevron-up:before {\n content: "\\eab7";\n}\n\n.codicon-chrome-close:before {\n content: "\\eab8";\n}\n\n.codicon-chrome-maximize:before {\n content: "\\eab9";\n}\n\n.codicon-chrome-minimize:before {\n content: "\\eaba";\n}\n\n.codicon-chrome-restore:before {\n content: "\\eabb";\n}\n\n.codicon-circle-outline:before {\n content: "\\eabc";\n}\n\n.codicon-circle:before {\n content: "\\eabc";\n}\n\n.codicon-debug-breakpoint-unverified:before {\n content: "\\eabc";\n}\n\n.codicon-terminal-decoration-incomplete:before {\n content: "\\eabc";\n}\n\n.codicon-circle-slash:before {\n content: "\\eabd";\n}\n\n.codicon-circuit-board:before {\n content: "\\eabe";\n}\n\n.codicon-clear-all:before {\n content: "\\eabf";\n}\n\n.codicon-clippy:before {\n content: "\\eac0";\n}\n\n.codicon-close-all:before {\n content: "\\eac1";\n}\n\n.codicon-cloud-download:before {\n content: "\\eac2";\n}\n\n.codicon-cloud-upload:before {\n content: "\\eac3";\n}\n\n.codicon-code:before {\n content: "\\eac4";\n}\n\n.codicon-collapse-all:before {\n content: "\\eac5";\n}\n\n.codicon-color-mode:before {\n content: "\\eac6";\n}\n\n.codicon-comment-discussion:before {\n content: "\\eac7";\n}\n\n.codicon-credit-card:before {\n content: "\\eac9";\n}\n\n.codicon-dash:before {\n content: "\\eacc";\n}\n\n.codicon-dashboard:before {\n content: "\\eacd";\n}\n\n.codicon-database:before {\n content: "\\eace";\n}\n\n.codicon-debug-continue:before {\n content: "\\eacf";\n}\n\n.codicon-debug-disconnect:before {\n content: "\\ead0";\n}\n\n.codicon-debug-pause:before {\n content: "\\ead1";\n}\n\n.codicon-debug-restart:before {\n content: "\\ead2";\n}\n\n.codicon-debug-start:before {\n content: "\\ead3";\n}\n\n.codicon-debug-step-into:before {\n content: "\\ead4";\n}\n\n.codicon-debug-step-out:before {\n content: "\\ead5";\n}\n\n.codicon-debug-step-over:before {\n content: "\\ead6";\n}\n\n.codicon-debug-stop:before {\n content: "\\ead7";\n}\n\n.codicon-debug:before {\n content: "\\ead8";\n}\n\n.codicon-device-camera-video:before {\n content: "\\ead9";\n}\n\n.codicon-device-camera:before {\n content: "\\eada";\n}\n\n.codicon-device-mobile:before {\n content: "\\eadb";\n}\n\n.codicon-diff-added:before {\n content: "\\eadc";\n}\n\n.codicon-diff-ignored:before {\n content: "\\eadd";\n}\n\n.codicon-diff-modified:before {\n content: "\\eade";\n}\n\n.codicon-diff-removed:before {\n content: "\\eadf";\n}\n\n.codicon-diff-renamed:before {\n content: "\\eae0";\n}\n\n.codicon-diff:before {\n content: "\\eae1";\n}\n\n.codicon-diff-sidebyside:before {\n content: "\\eae1";\n}\n\n.codicon-discard:before {\n content: "\\eae2";\n}\n\n.codicon-editor-layout:before {\n content: "\\eae3";\n}\n\n.codicon-empty-window:before {\n content: "\\eae4";\n}\n\n.codicon-exclude:before {\n content: "\\eae5";\n}\n\n.codicon-extensions:before {\n content: "\\eae6";\n}\n\n.codicon-eye-closed:before {\n content: "\\eae7";\n}\n\n.codicon-file-binary:before {\n content: "\\eae8";\n}\n\n.codicon-file-code:before {\n content: "\\eae9";\n}\n\n.codicon-file-media:before {\n content: "\\eaea";\n}\n\n.codicon-file-pdf:before {\n content: "\\eaeb";\n}\n\n.codicon-file-submodule:before {\n content: "\\eaec";\n}\n\n.codicon-file-symlink-directory:before {\n content: "\\eaed";\n}\n\n.codicon-file-symlink-file:before {\n content: "\\eaee";\n}\n\n.codicon-file-zip:before {\n content: "\\eaef";\n}\n\n.codicon-files:before {\n content: "\\eaf0";\n}\n\n.codicon-filter:before {\n content: "\\eaf1";\n}\n\n.codicon-flame:before {\n content: "\\eaf2";\n}\n\n.codicon-fold-down:before {\n content: "\\eaf3";\n}\n\n.codicon-fold-up:before {\n content: "\\eaf4";\n}\n\n.codicon-fold:before {\n content: "\\eaf5";\n}\n\n.codicon-folder-active:before {\n content: "\\eaf6";\n}\n\n.codicon-folder-opened:before {\n content: "\\eaf7";\n}\n\n.codicon-gear:before {\n content: "\\eaf8";\n}\n\n.codicon-gift:before {\n content: "\\eaf9";\n}\n\n.codicon-gist-secret:before {\n content: "\\eafa";\n}\n\n.codicon-gist:before {\n content: "\\eafb";\n}\n\n.codicon-git-commit:before {\n content: "\\eafc";\n}\n\n.codicon-git-compare:before {\n content: "\\eafd";\n}\n\n.codicon-compare-changes:before {\n content: "\\eafd";\n}\n\n.codicon-git-merge:before {\n content: "\\eafe";\n}\n\n.codicon-github-action:before {\n content: "\\eaff";\n}\n\n.codicon-github-alt:before {\n content: "\\eb00";\n}\n\n.codicon-globe:before {\n content: "\\eb01";\n}\n\n.codicon-grabber:before {\n content: "\\eb02";\n}\n\n.codicon-graph:before {\n content: "\\eb03";\n}\n\n.codicon-gripper:before {\n content: "\\eb04";\n}\n\n.codicon-heart:before {\n content: "\\eb05";\n}\n\n.codicon-home:before {\n content: "\\eb06";\n}\n\n.codicon-horizontal-rule:before {\n content: "\\eb07";\n}\n\n.codicon-hubot:before {\n content: "\\eb08";\n}\n\n.codicon-inbox:before {\n content: "\\eb09";\n}\n\n.codicon-issue-reopened:before {\n content: "\\eb0b";\n}\n\n.codicon-issues:before {\n content: "\\eb0c";\n}\n\n.codicon-italic:before {\n content: "\\eb0d";\n}\n\n.codicon-jersey:before {\n content: "\\eb0e";\n}\n\n.codicon-json:before {\n content: "\\eb0f";\n}\n\n.codicon-kebab-vertical:before {\n content: "\\eb10";\n}\n\n.codicon-key:before {\n content: "\\eb11";\n}\n\n.codicon-law:before {\n content: "\\eb12";\n}\n\n.codicon-lightbulb-autofix:before {\n content: "\\eb13";\n}\n\n.codicon-link-external:before {\n content: "\\eb14";\n}\n\n.codicon-link:before {\n content: "\\eb15";\n}\n\n.codicon-list-ordered:before {\n content: "\\eb16";\n}\n\n.codicon-list-unordered:before {\n content: "\\eb17";\n}\n\n.codicon-live-share:before {\n content: "\\eb18";\n}\n\n.codicon-loading:before {\n content: "\\eb19";\n}\n\n.codicon-location:before {\n content: "\\eb1a";\n}\n\n.codicon-mail-read:before {\n content: "\\eb1b";\n}\n\n.codicon-mail:before {\n content: "\\eb1c";\n}\n\n.codicon-markdown:before {\n content: "\\eb1d";\n}\n\n.codicon-megaphone:before {\n content: "\\eb1e";\n}\n\n.codicon-mention:before {\n content: "\\eb1f";\n}\n\n.codicon-milestone:before {\n content: "\\eb20";\n}\n\n.codicon-git-pull-request-milestone:before {\n content: "\\eb20";\n}\n\n.codicon-mortar-board:before {\n content: "\\eb21";\n}\n\n.codicon-move:before {\n content: "\\eb22";\n}\n\n.codicon-multiple-windows:before {\n content: "\\eb23";\n}\n\n.codicon-mute:before {\n content: "\\eb24";\n}\n\n.codicon-no-newline:before {\n content: "\\eb25";\n}\n\n.codicon-note:before {\n content: "\\eb26";\n}\n\n.codicon-octoface:before {\n content: "\\eb27";\n}\n\n.codicon-open-preview:before {\n content: "\\eb28";\n}\n\n.codicon-package:before {\n content: "\\eb29";\n}\n\n.codicon-paintcan:before {\n content: "\\eb2a";\n}\n\n.codicon-pin:before {\n content: "\\eb2b";\n}\n\n.codicon-play:before {\n content: "\\eb2c";\n}\n\n.codicon-run:before {\n content: "\\eb2c";\n}\n\n.codicon-plug:before {\n content: "\\eb2d";\n}\n\n.codicon-preserve-case:before {\n content: "\\eb2e";\n}\n\n.codicon-preview:before {\n content: "\\eb2f";\n}\n\n.codicon-project:before {\n content: "\\eb30";\n}\n\n.codicon-pulse:before {\n content: "\\eb31";\n}\n\n.codicon-question:before {\n content: "\\eb32";\n}\n\n.codicon-quote:before {\n content: "\\eb33";\n}\n\n.codicon-radio-tower:before {\n content: "\\eb34";\n}\n\n.codicon-reactions:before {\n content: "\\eb35";\n}\n\n.codicon-references:before {\n content: "\\eb36";\n}\n\n.codicon-refresh:before {\n content: "\\eb37";\n}\n\n.codicon-regex:before {\n content: "\\eb38";\n}\n\n.codicon-remote-explorer:before {\n content: "\\eb39";\n}\n\n.codicon-remote:before {\n content: "\\eb3a";\n}\n\n.codicon-remove:before {\n content: "\\eb3b";\n}\n\n.codicon-replace-all:before {\n content: "\\eb3c";\n}\n\n.codicon-replace:before {\n content: "\\eb3d";\n}\n\n.codicon-repo-clone:before {\n content: "\\eb3e";\n}\n\n.codicon-repo-force-push:before {\n content: "\\eb3f";\n}\n\n.codicon-repo-pull:before {\n content: "\\eb40";\n}\n\n.codicon-repo-push:before {\n content: "\\eb41";\n}\n\n.codicon-report:before {\n content: "\\eb42";\n}\n\n.codicon-request-changes:before {\n content: "\\eb43";\n}\n\n.codicon-rocket:before {\n content: "\\eb44";\n}\n\n.codicon-root-folder-opened:before {\n content: "\\eb45";\n}\n\n.codicon-root-folder:before {\n content: "\\eb46";\n}\n\n.codicon-rss:before {\n content: "\\eb47";\n}\n\n.codicon-ruby:before {\n content: "\\eb48";\n}\n\n.codicon-save-all:before {\n content: "\\eb49";\n}\n\n.codicon-save-as:before {\n content: "\\eb4a";\n}\n\n.codicon-save:before {\n content: "\\eb4b";\n}\n\n.codicon-screen-full:before {\n content: "\\eb4c";\n}\n\n.codicon-screen-normal:before {\n content: "\\eb4d";\n}\n\n.codicon-search-stop:before {\n content: "\\eb4e";\n}\n\n.codicon-server:before {\n content: "\\eb50";\n}\n\n.codicon-settings-gear:before {\n content: "\\eb51";\n}\n\n.codicon-settings:before {\n content: "\\eb52";\n}\n\n.codicon-shield:before {\n content: "\\eb53";\n}\n\n.codicon-smiley:before {\n content: "\\eb54";\n}\n\n.codicon-sort-precedence:before {\n content: "\\eb55";\n}\n\n.codicon-split-horizontal:before {\n content: "\\eb56";\n}\n\n.codicon-split-vertical:before {\n content: "\\eb57";\n}\n\n.codicon-squirrel:before {\n content: "\\eb58";\n}\n\n.codicon-star-full:before {\n content: "\\eb59";\n}\n\n.codicon-star-half:before {\n content: "\\eb5a";\n}\n\n.codicon-symbol-class:before {\n content: "\\eb5b";\n}\n\n.codicon-symbol-color:before {\n content: "\\eb5c";\n}\n\n.codicon-symbol-constant:before {\n content: "\\eb5d";\n}\n\n.codicon-symbol-enum-member:before {\n content: "\\eb5e";\n}\n\n.codicon-symbol-field:before {\n content: "\\eb5f";\n}\n\n.codicon-symbol-file:before {\n content: "\\eb60";\n}\n\n.codicon-symbol-interface:before {\n content: "\\eb61";\n}\n\n.codicon-symbol-keyword:before {\n content: "\\eb62";\n}\n\n.codicon-symbol-misc:before {\n content: "\\eb63";\n}\n\n.codicon-symbol-operator:before {\n content: "\\eb64";\n}\n\n.codicon-symbol-property:before {\n content: "\\eb65";\n}\n\n.codicon-wrench:before {\n content: "\\eb65";\n}\n\n.codicon-wrench-subaction:before {\n content: "\\eb65";\n}\n\n.codicon-symbol-snippet:before {\n content: "\\eb66";\n}\n\n.codicon-tasklist:before {\n content: "\\eb67";\n}\n\n.codicon-telescope:before {\n content: "\\eb68";\n}\n\n.codicon-text-size:before {\n content: "\\eb69";\n}\n\n.codicon-three-bars:before {\n content: "\\eb6a";\n}\n\n.codicon-thumbsdown:before {\n content: "\\eb6b";\n}\n\n.codicon-thumbsup:before {\n content: "\\eb6c";\n}\n\n.codicon-tools:before {\n content: "\\eb6d";\n}\n\n.codicon-triangle-down:before {\n content: "\\eb6e";\n}\n\n.codicon-triangle-left:before {\n content: "\\eb6f";\n}\n\n.codicon-triangle-right:before {\n content: "\\eb70";\n}\n\n.codicon-triangle-up:before {\n content: "\\eb71";\n}\n\n.codicon-twitter:before {\n content: "\\eb72";\n}\n\n.codicon-unfold:before {\n content: "\\eb73";\n}\n\n.codicon-unlock:before {\n content: "\\eb74";\n}\n\n.codicon-unmute:before {\n content: "\\eb75";\n}\n\n.codicon-unverified:before {\n content: "\\eb76";\n}\n\n.codicon-verified:before {\n content: "\\eb77";\n}\n\n.codicon-versions:before {\n content: "\\eb78";\n}\n\n.codicon-vm-active:before {\n content: "\\eb79";\n}\n\n.codicon-vm-outline:before {\n content: "\\eb7a";\n}\n\n.codicon-vm-running:before {\n content: "\\eb7b";\n}\n\n.codicon-watch:before {\n content: "\\eb7c";\n}\n\n.codicon-whitespace:before {\n content: "\\eb7d";\n}\n\n.codicon-whole-word:before {\n content: "\\eb7e";\n}\n\n.codicon-window:before {\n content: "\\eb7f";\n}\n\n.codicon-word-wrap:before {\n content: "\\eb80";\n}\n\n.codicon-zoom-in:before {\n content: "\\eb81";\n}\n\n.codicon-zoom-out:before {\n content: "\\eb82";\n}\n\n.codicon-list-filter:before {\n content: "\\eb83";\n}\n\n.codicon-list-flat:before {\n content: "\\eb84";\n}\n\n.codicon-list-selection:before {\n content: "\\eb85";\n}\n\n.codicon-selection:before {\n content: "\\eb85";\n}\n\n.codicon-list-tree:before {\n content: "\\eb86";\n}\n\n.codicon-debug-breakpoint-function-unverified:before {\n content: "\\eb87";\n}\n\n.codicon-debug-breakpoint-function:before {\n content: "\\eb88";\n}\n\n.codicon-debug-breakpoint-function-disabled:before {\n content: "\\eb88";\n}\n\n.codicon-debug-stackframe-active:before {\n content: "\\eb89";\n}\n\n.codicon-circle-small-filled:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe-dot:before {\n content: "\\eb8a";\n}\n\n.codicon-terminal-decoration-mark:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-stackframe-focused:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-breakpoint-unsupported:before {\n content: "\\eb8c";\n}\n\n.codicon-symbol-string:before {\n content: "\\eb8d";\n}\n\n.codicon-debug-reverse-continue:before {\n content: "\\eb8e";\n}\n\n.codicon-debug-step-back:before {\n content: "\\eb8f";\n}\n\n.codicon-debug-restart-frame:before {\n content: "\\eb90";\n}\n\n.codicon-debug-alt:before {\n content: "\\eb91";\n}\n\n.codicon-call-incoming:before {\n content: "\\eb92";\n}\n\n.codicon-call-outgoing:before {\n content: "\\eb93";\n}\n\n.codicon-menu:before {\n content: "\\eb94";\n}\n\n.codicon-expand-all:before {\n content: "\\eb95";\n}\n\n.codicon-feedback:before {\n content: "\\eb96";\n}\n\n.codicon-git-pull-request-reviewer:before {\n content: "\\eb96";\n}\n\n.codicon-group-by-ref-type:before {\n content: "\\eb97";\n}\n\n.codicon-ungroup-by-ref-type:before {\n content: "\\eb98";\n}\n\n.codicon-account:before {\n content: "\\eb99";\n}\n\n.codicon-git-pull-request-assignee:before {\n content: "\\eb99";\n}\n\n.codicon-bell-dot:before {\n content: "\\eb9a";\n}\n\n.codicon-debug-console:before {\n content: "\\eb9b";\n}\n\n.codicon-library:before {\n content: "\\eb9c";\n}\n\n.codicon-output:before {\n content: "\\eb9d";\n}\n\n.codicon-run-all:before {\n content: "\\eb9e";\n}\n\n.codicon-sync-ignored:before {\n content: "\\eb9f";\n}\n\n.codicon-pinned:before {\n content: "\\eba0";\n}\n\n.codicon-github-inverted:before {\n content: "\\eba1";\n}\n\n.codicon-server-process:before {\n content: "\\eba2";\n}\n\n.codicon-server-environment:before {\n content: "\\eba3";\n}\n\n.codicon-pass:before {\n content: "\\eba4";\n}\n\n.codicon-issue-closed:before {\n content: "\\eba4";\n}\n\n.codicon-stop-circle:before {\n content: "\\eba5";\n}\n\n.codicon-play-circle:before {\n content: "\\eba6";\n}\n\n.codicon-record:before {\n content: "\\eba7";\n}\n\n.codicon-debug-alt-small:before {\n content: "\\eba8";\n}\n\n.codicon-vm-connect:before {\n content: "\\eba9";\n}\n\n.codicon-cloud:before {\n content: "\\ebaa";\n}\n\n.codicon-merge:before {\n content: "\\ebab";\n}\n\n.codicon-export:before {\n content: "\\ebac";\n}\n\n.codicon-graph-left:before {\n content: "\\ebad";\n}\n\n.codicon-magnet:before {\n content: "\\ebae";\n}\n\n.codicon-notebook:before {\n content: "\\ebaf";\n}\n\n.codicon-redo:before {\n content: "\\ebb0";\n}\n\n.codicon-check-all:before {\n content: "\\ebb1";\n}\n\n.codicon-pinned-dirty:before {\n content: "\\ebb2";\n}\n\n.codicon-pass-filled:before {\n content: "\\ebb3";\n}\n\n.codicon-circle-large-filled:before {\n content: "\\ebb4";\n}\n\n.codicon-circle-large:before {\n content: "\\ebb5";\n}\n\n.codicon-circle-large-outline:before {\n content: "\\ebb5";\n}\n\n.codicon-combine:before {\n content: "\\ebb6";\n}\n\n.codicon-gather:before {\n content: "\\ebb6";\n}\n\n.codicon-table:before {\n content: "\\ebb7";\n}\n\n.codicon-variable-group:before {\n content: "\\ebb8";\n}\n\n.codicon-type-hierarchy:before {\n content: "\\ebb9";\n}\n\n.codicon-type-hierarchy-sub:before {\n content: "\\ebba";\n}\n\n.codicon-type-hierarchy-super:before {\n content: "\\ebbb";\n}\n\n.codicon-git-pull-request-create:before {\n content: "\\ebbc";\n}\n\n.codicon-run-above:before {\n content: "\\ebbd";\n}\n\n.codicon-run-below:before {\n content: "\\ebbe";\n}\n\n.codicon-notebook-template:before {\n content: "\\ebbf";\n}\n\n.codicon-debug-rerun:before {\n content: "\\ebc0";\n}\n\n.codicon-workspace-trusted:before {\n content: "\\ebc1";\n}\n\n.codicon-workspace-untrusted:before {\n content: "\\ebc2";\n}\n\n.codicon-workspace-unknown:before {\n content: "\\ebc3";\n}\n\n.codicon-terminal-cmd:before {\n content: "\\ebc4";\n}\n\n.codicon-terminal-debian:before {\n content: "\\ebc5";\n}\n\n.codicon-terminal-linux:before {\n content: "\\ebc6";\n}\n\n.codicon-terminal-powershell:before {\n content: "\\ebc7";\n}\n\n.codicon-terminal-tmux:before {\n content: "\\ebc8";\n}\n\n.codicon-terminal-ubuntu:before {\n content: "\\ebc9";\n}\n\n.codicon-terminal-bash:before {\n content: "\\ebca";\n}\n\n.codicon-arrow-swap:before {\n content: "\\ebcb";\n}\n\n.codicon-copy:before {\n content: "\\ebcc";\n}\n\n.codicon-person-add:before {\n content: "\\ebcd";\n}\n\n.codicon-filter-filled:before {\n content: "\\ebce";\n}\n\n.codicon-wand:before {\n content: "\\ebcf";\n}\n\n.codicon-debug-line-by-line:before {\n content: "\\ebd0";\n}\n\n.codicon-inspect:before {\n content: "\\ebd1";\n}\n\n.codicon-layers:before {\n content: "\\ebd2";\n}\n\n.codicon-layers-dot:before {\n content: "\\ebd3";\n}\n\n.codicon-layers-active:before {\n content: "\\ebd4";\n}\n\n.codicon-compass:before {\n content: "\\ebd5";\n}\n\n.codicon-compass-dot:before {\n content: "\\ebd6";\n}\n\n.codicon-compass-active:before {\n content: "\\ebd7";\n}\n\n.codicon-azure:before {\n content: "\\ebd8";\n}\n\n.codicon-issue-draft:before {\n content: "\\ebd9";\n}\n\n.codicon-git-pull-request-closed:before {\n content: "\\ebda";\n}\n\n.codicon-git-pull-request-draft:before {\n content: "\\ebdb";\n}\n\n.codicon-debug-all:before {\n content: "\\ebdc";\n}\n\n.codicon-debug-coverage:before {\n content: "\\ebdd";\n}\n\n.codicon-run-errors:before {\n content: "\\ebde";\n}\n\n.codicon-folder-library:before {\n content: "\\ebdf";\n}\n\n.codicon-debug-continue-small:before {\n content: "\\ebe0";\n}\n\n.codicon-beaker-stop:before {\n content: "\\ebe1";\n}\n\n.codicon-graph-line:before {\n content: "\\ebe2";\n}\n\n.codicon-graph-scatter:before {\n content: "\\ebe3";\n}\n\n.codicon-pie-chart:before {\n content: "\\ebe4";\n}\n\n.codicon-bracket:before {\n content: "\\eb0f";\n}\n\n.codicon-bracket-dot:before {\n content: "\\ebe5";\n}\n\n.codicon-bracket-error:before {\n content: "\\ebe6";\n}\n\n.codicon-lock-small:before {\n content: "\\ebe7";\n}\n\n.codicon-azure-devops:before {\n content: "\\ebe8";\n}\n\n.codicon-verified-filled:before {\n content: "\\ebe9";\n}\n\n.codicon-newline:before {\n content: "\\ebea";\n}\n\n.codicon-layout:before {\n content: "\\ebeb";\n}\n\n.codicon-layout-activitybar-left:before {\n content: "\\ebec";\n}\n\n.codicon-layout-activitybar-right:before {\n content: "\\ebed";\n}\n\n.codicon-layout-panel-left:before {\n content: "\\ebee";\n}\n\n.codicon-layout-panel-center:before {\n content: "\\ebef";\n}\n\n.codicon-layout-panel-justify:before {\n content: "\\ebf0";\n}\n\n.codicon-layout-panel-right:before {\n content: "\\ebf1";\n}\n\n.codicon-layout-panel:before {\n content: "\\ebf2";\n}\n\n.codicon-layout-sidebar-left:before {\n content: "\\ebf3";\n}\n\n.codicon-layout-sidebar-right:before {\n content: "\\ebf4";\n}\n\n.codicon-layout-statusbar:before {\n content: "\\ebf5";\n}\n\n.codicon-layout-menubar:before {\n content: "\\ebf6";\n}\n\n.codicon-layout-centered:before {\n content: "\\ebf7";\n}\n\n.codicon-target:before {\n content: "\\ebf8";\n}\n\n.codicon-indent:before {\n content: "\\ebf9";\n}\n\n.codicon-record-small:before {\n content: "\\ebfa";\n}\n\n.codicon-error-small:before {\n content: "\\ebfb";\n}\n\n.codicon-terminal-decoration-error:before {\n content: "\\ebfb";\n}\n\n.codicon-arrow-circle-down:before {\n content: "\\ebfc";\n}\n\n.codicon-arrow-circle-left:before {\n content: "\\ebfd";\n}\n\n.codicon-arrow-circle-right:before {\n content: "\\ebfe";\n}\n\n.codicon-arrow-circle-up:before {\n content: "\\ebff";\n}\n\n.codicon-layout-sidebar-right-off:before {\n content: "\\ec00";\n}\n\n.codicon-layout-panel-off:before {\n content: "\\ec01";\n}\n\n.codicon-layout-sidebar-left-off:before {\n content: "\\ec02";\n}\n\n.codicon-blank:before {\n content: "\\ec03";\n}\n\n.codicon-heart-filled:before {\n content: "\\ec04";\n}\n\n.codicon-map:before {\n content: "\\ec05";\n}\n\n.codicon-map-horizontal:before {\n content: "\\ec05";\n}\n\n.codicon-fold-horizontal:before {\n content: "\\ec05";\n}\n\n.codicon-map-filled:before {\n content: "\\ec06";\n}\n\n.codicon-map-horizontal-filled:before {\n content: "\\ec06";\n}\n\n.codicon-fold-horizontal-filled:before {\n content: "\\ec06";\n}\n\n.codicon-circle-small:before {\n content: "\\ec07";\n}\n\n.codicon-bell-slash:before {\n content: "\\ec08";\n}\n\n.codicon-bell-slash-dot:before {\n content: "\\ec09";\n}\n\n.codicon-comment-unresolved:before {\n content: "\\ec0a";\n}\n\n.codicon-git-pull-request-go-to-changes:before {\n content: "\\ec0b";\n}\n\n.codicon-git-pull-request-new-changes:before {\n content: "\\ec0c";\n}\n\n.codicon-search-fuzzy:before {\n content: "\\ec0d";\n}\n\n.codicon-comment-draft:before {\n content: "\\ec0e";\n}\n\n.codicon-send:before {\n content: "\\ec0f";\n}\n\n.codicon-sparkle:before {\n content: "\\ec10";\n}\n\n.codicon-insert:before {\n content: "\\ec11";\n}\n\n.codicon-mic:before {\n content: "\\ec12";\n}\n\n.codicon-thumbsdown-filled:before {\n content: "\\ec13";\n}\n\n.codicon-thumbsup-filled:before {\n content: "\\ec14";\n}\n\n.codicon-coffee:before {\n content: "\\ec15";\n}\n\n.codicon-snake:before {\n content: "\\ec16";\n}\n\n.codicon-game:before {\n content: "\\ec17";\n}\n\n.codicon-vr:before {\n content: "\\ec18";\n}\n\n.codicon-chip:before {\n content: "\\ec19";\n}\n\n.codicon-piano:before {\n content: "\\ec1a";\n}\n\n.codicon-music:before {\n content: "\\ec1b";\n}\n\n.codicon-mic-filled:before {\n content: "\\ec1c";\n}\n\n.codicon-repo-fetch:before {\n content: "\\ec1d";\n}\n\n.codicon-copilot:before {\n content: "\\ec1e";\n}\n\n.codicon-lightbulb-sparkle:before {\n content: "\\ec1f";\n}\n\n.codicon-robot:before {\n content: "\\ec20";\n}\n\n.codicon-sparkle-filled:before {\n content: "\\ec21";\n}\n\n.codicon-diff-single:before {\n content: "\\ec22";\n}\n\n.codicon-diff-multiple:before {\n content: "\\ec23";\n}\n\n.codicon-surround-with:before {\n content: "\\ec24";\n}\n\n.codicon-share:before {\n content: "\\ec25";\n}\n\n.codicon-git-stash:before {\n content: "\\ec26";\n}\n\n.codicon-git-stash-apply:before {\n content: "\\ec27";\n}\n\n.codicon-git-stash-pop:before {\n content: "\\ec28";\n}\n\n.codicon-vscode:before {\n content: "\\ec29";\n}\n\n.codicon-vscode-insiders:before {\n content: "\\ec2a";\n}\n\n.codicon-code-oss:before {\n content: "\\ec2b";\n}\n\n.codicon-run-coverage:before {\n content: "\\ec2c";\n}\n\n.codicon-run-all-coverage:before {\n content: "\\ec2d";\n}\n\n.codicon-coverage:before {\n content: "\\ec2e";\n}\n\n.codicon-github-project:before {\n content: "\\ec2f";\n}\n\n.codicon-map-vertical:before {\n content: "\\ec30";\n}\n\n.codicon-fold-vertical:before {\n content: "\\ec30";\n}\n\n.codicon-map-vertical-filled:before {\n content: "\\ec31";\n}\n\n.codicon-fold-vertical-filled:before {\n content: "\\ec31";\n}\n\n.codicon-go-to-search:before {\n content: "\\ec32";\n}\n\n.codicon-percentage:before {\n content: "\\ec33";\n}\n\n.codicon-sort-percentage:before {\n content: "\\ec33";\n}\n\n.codicon-attach:before {\n content: "\\ec34";\n}\n\n.codicon-go-to-editing-session:before {\n content: "\\ec35";\n}\n\n.codicon-edit-session:before {\n content: "\\ec36";\n}\n\n.codicon-code-review:before {\n content: "\\ec37";\n}\n\n.codicon-copilot-warning:before {\n content: "\\ec38";\n}\n\n.codicon-python:before {\n content: "\\ec39";\n}\n\n.codicon-git-fetch:before {\n content: "\\f101";\n}\n\n@layer kol-component {\n /* :host implicitly inherits font-size, see below */\n :host {\n color: inherit;\n display: contents;\n font-size: inherit;\n line-height: inherit;\n }\n /* this rules overwrites the fixed font size from codicon */\n :host > i,\n :host > i::before {\n font-size: inherit !important;\n }\n}',f=d,a=class{constructor(e){n(this,e),this._icons=void 0,this._label=void 0,this.state={_icons:"codicon codicon-home",_label:""}}render(){const n=this.state._label.length>0;return e(o,{key:"75353c56fd805e34a400117efb8fabd4d67fe0e3",exportparts:"icon",class:r},e("i",{key:"558cd2544c2d67890645a2b96056f75fbe5d23ca","aria-hidden":n?void 0:"true","aria-label":n?this.state._label:void 0,class:t(b,this.state._icons),part:"icon",role:"img"}))}validateIcons(n){c(this,"_icons",n,{required:!0})}validateLabel(n){i(this,n,{required:!0})}componentWillLoad(){this.validateIcons(this._icons),this.validateLabel(this._label)}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};a.style={default:f};export{a as kol_icon};
4
+ import{r as n,h as e,H as o}from"./index-2f6c3929.js";import{B as c}from"./index-ebe5a881.js";import{c as t}from"./clsx-09a06a12.js";import{a as r,b}from"./bem-dabd96cc.js";import{v as i}from"./label-bf9966d0.js";import"./browser-f629a56a.js";const d='/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n@font-face {\n font-family: "codicon";\n font-display: block;\n src: url("./codicon.ttf?be64b7213e352cd7f91ef58198e71237") format("truetype");\n}\n.codicon[class*=codicon-] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n@keyframes codicon-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n opacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n.codicon-add:before {\n content: "\\ea60";\n}\n\n.codicon-plus:before {\n content: "\\ea60";\n}\n\n.codicon-gist-new:before {\n content: "\\ea60";\n}\n\n.codicon-repo-create:before {\n content: "\\ea60";\n}\n\n.codicon-lightbulb:before {\n content: "\\ea61";\n}\n\n.codicon-light-bulb:before {\n content: "\\ea61";\n}\n\n.codicon-repo:before {\n content: "\\ea62";\n}\n\n.codicon-repo-delete:before {\n content: "\\ea62";\n}\n\n.codicon-gist-fork:before {\n content: "\\ea63";\n}\n\n.codicon-repo-forked:before {\n content: "\\ea63";\n}\n\n.codicon-git-pull-request:before {\n content: "\\ea64";\n}\n\n.codicon-git-pull-request-abandoned:before {\n content: "\\ea64";\n}\n\n.codicon-record-keys:before {\n content: "\\ea65";\n}\n\n.codicon-keyboard:before {\n content: "\\ea65";\n}\n\n.codicon-tag:before {\n content: "\\ea66";\n}\n\n.codicon-git-pull-request-label:before {\n content: "\\ea66";\n}\n\n.codicon-tag-add:before {\n content: "\\ea66";\n}\n\n.codicon-tag-remove:before {\n content: "\\ea66";\n}\n\n.codicon-person:before {\n content: "\\ea67";\n}\n\n.codicon-person-follow:before {\n content: "\\ea67";\n}\n\n.codicon-person-outline:before {\n content: "\\ea67";\n}\n\n.codicon-person-filled:before {\n content: "\\ea67";\n}\n\n.codicon-git-branch:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-create:before {\n content: "\\ea68";\n}\n\n.codicon-git-branch-delete:before {\n content: "\\ea68";\n}\n\n.codicon-source-control:before {\n content: "\\ea68";\n}\n\n.codicon-mirror:before {\n content: "\\ea69";\n}\n\n.codicon-mirror-public:before {\n content: "\\ea69";\n}\n\n.codicon-star:before {\n content: "\\ea6a";\n}\n\n.codicon-star-add:before {\n content: "\\ea6a";\n}\n\n.codicon-star-delete:before {\n content: "\\ea6a";\n}\n\n.codicon-star-empty:before {\n content: "\\ea6a";\n}\n\n.codicon-comment:before {\n content: "\\ea6b";\n}\n\n.codicon-comment-add:before {\n content: "\\ea6b";\n}\n\n.codicon-alert:before {\n content: "\\ea6c";\n}\n\n.codicon-warning:before {\n content: "\\ea6c";\n}\n\n.codicon-search:before {\n content: "\\ea6d";\n}\n\n.codicon-search-save:before {\n content: "\\ea6d";\n}\n\n.codicon-log-out:before {\n content: "\\ea6e";\n}\n\n.codicon-sign-out:before {\n content: "\\ea6e";\n}\n\n.codicon-log-in:before {\n content: "\\ea6f";\n}\n\n.codicon-sign-in:before {\n content: "\\ea6f";\n}\n\n.codicon-eye:before {\n content: "\\ea70";\n}\n\n.codicon-eye-unwatch:before {\n content: "\\ea70";\n}\n\n.codicon-eye-watch:before {\n content: "\\ea70";\n}\n\n.codicon-circle-filled:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-dot:before {\n content: "\\ea71";\n}\n\n.codicon-close-dirty:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint:before {\n content: "\\ea71";\n}\n\n.codicon-debug-breakpoint-disabled:before {\n content: "\\ea71";\n}\n\n.codicon-debug-hint:before {\n content: "\\ea71";\n}\n\n.codicon-terminal-decoration-success:before {\n content: "\\ea71";\n}\n\n.codicon-primitive-square:before {\n content: "\\ea72";\n}\n\n.codicon-edit:before {\n content: "\\ea73";\n}\n\n.codicon-pencil:before {\n content: "\\ea73";\n}\n\n.codicon-info:before {\n content: "\\ea74";\n}\n\n.codicon-issue-opened:before {\n content: "\\ea74";\n}\n\n.codicon-gist-private:before {\n content: "\\ea75";\n}\n\n.codicon-git-fork-private:before {\n content: "\\ea75";\n}\n\n.codicon-lock:before {\n content: "\\ea75";\n}\n\n.codicon-mirror-private:before {\n content: "\\ea75";\n}\n\n.codicon-close:before {\n content: "\\ea76";\n}\n\n.codicon-remove-close:before {\n content: "\\ea76";\n}\n\n.codicon-x:before {\n content: "\\ea76";\n}\n\n.codicon-repo-sync:before {\n content: "\\ea77";\n}\n\n.codicon-sync:before {\n content: "\\ea77";\n}\n\n.codicon-clone:before {\n content: "\\ea78";\n}\n\n.codicon-desktop-download:before {\n content: "\\ea78";\n}\n\n.codicon-beaker:before {\n content: "\\ea79";\n}\n\n.codicon-microscope:before {\n content: "\\ea79";\n}\n\n.codicon-vm:before {\n content: "\\ea7a";\n}\n\n.codicon-device-desktop:before {\n content: "\\ea7a";\n}\n\n.codicon-file:before {\n content: "\\ea7b";\n}\n\n.codicon-file-text:before {\n content: "\\ea7b";\n}\n\n.codicon-more:before {\n content: "\\ea7c";\n}\n\n.codicon-ellipsis:before {\n content: "\\ea7c";\n}\n\n.codicon-kebab-horizontal:before {\n content: "\\ea7c";\n}\n\n.codicon-mail-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-reply:before {\n content: "\\ea7d";\n}\n\n.codicon-organization:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-filled:before {\n content: "\\ea7e";\n}\n\n.codicon-organization-outline:before {\n content: "\\ea7e";\n}\n\n.codicon-new-file:before {\n content: "\\ea7f";\n}\n\n.codicon-file-add:before {\n content: "\\ea7f";\n}\n\n.codicon-new-folder:before {\n content: "\\ea80";\n}\n\n.codicon-file-directory-create:before {\n content: "\\ea80";\n}\n\n.codicon-trash:before {\n content: "\\ea81";\n}\n\n.codicon-trashcan:before {\n content: "\\ea81";\n}\n\n.codicon-history:before {\n content: "\\ea82";\n}\n\n.codicon-clock:before {\n content: "\\ea82";\n}\n\n.codicon-folder:before {\n content: "\\ea83";\n}\n\n.codicon-file-directory:before {\n content: "\\ea83";\n}\n\n.codicon-symbol-folder:before {\n content: "\\ea83";\n}\n\n.codicon-logo-github:before {\n content: "\\ea84";\n}\n\n.codicon-mark-github:before {\n content: "\\ea84";\n}\n\n.codicon-github:before {\n content: "\\ea84";\n}\n\n.codicon-terminal:before {\n content: "\\ea85";\n}\n\n.codicon-console:before {\n content: "\\ea85";\n}\n\n.codicon-repl:before {\n content: "\\ea85";\n}\n\n.codicon-zap:before {\n content: "\\ea86";\n}\n\n.codicon-symbol-event:before {\n content: "\\ea86";\n}\n\n.codicon-error:before {\n content: "\\ea87";\n}\n\n.codicon-stop:before {\n content: "\\ea87";\n}\n\n.codicon-variable:before {\n content: "\\ea88";\n}\n\n.codicon-symbol-variable:before {\n content: "\\ea88";\n}\n\n.codicon-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-array:before {\n content: "\\ea8a";\n}\n\n.codicon-symbol-module:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-package:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-namespace:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-object:before {\n content: "\\ea8b";\n}\n\n.codicon-symbol-method:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-function:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-constructor:before {\n content: "\\ea8c";\n}\n\n.codicon-symbol-boolean:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-null:before {\n content: "\\ea8f";\n}\n\n.codicon-symbol-numeric:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-number:before {\n content: "\\ea90";\n}\n\n.codicon-symbol-structure:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-struct:before {\n content: "\\ea91";\n}\n\n.codicon-symbol-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-type-parameter:before {\n content: "\\ea92";\n}\n\n.codicon-symbol-key:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-text:before {\n content: "\\ea93";\n}\n\n.codicon-symbol-reference:before {\n content: "\\ea94";\n}\n\n.codicon-go-to-file:before {\n content: "\\ea94";\n}\n\n.codicon-symbol-enum:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-value:before {\n content: "\\ea95";\n}\n\n.codicon-symbol-ruler:before {\n content: "\\ea96";\n}\n\n.codicon-symbol-unit:before {\n content: "\\ea96";\n}\n\n.codicon-activate-breakpoints:before {\n content: "\\ea97";\n}\n\n.codicon-archive:before {\n content: "\\ea98";\n}\n\n.codicon-arrow-both:before {\n content: "\\ea99";\n}\n\n.codicon-arrow-down:before {\n content: "\\ea9a";\n}\n\n.codicon-arrow-left:before {\n content: "\\ea9b";\n}\n\n.codicon-arrow-right:before {\n content: "\\ea9c";\n}\n\n.codicon-arrow-small-down:before {\n content: "\\ea9d";\n}\n\n.codicon-arrow-small-left:before {\n content: "\\ea9e";\n}\n\n.codicon-arrow-small-right:before {\n content: "\\ea9f";\n}\n\n.codicon-arrow-small-up:before {\n content: "\\eaa0";\n}\n\n.codicon-arrow-up:before {\n content: "\\eaa1";\n}\n\n.codicon-bell:before {\n content: "\\eaa2";\n}\n\n.codicon-bold:before {\n content: "\\eaa3";\n}\n\n.codicon-book:before {\n content: "\\eaa4";\n}\n\n.codicon-bookmark:before {\n content: "\\eaa5";\n}\n\n.codicon-debug-breakpoint-conditional-unverified:before {\n content: "\\eaa6";\n}\n\n.codicon-debug-breakpoint-conditional:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-conditional-disabled:before {\n content: "\\eaa7";\n}\n\n.codicon-debug-breakpoint-data-unverified:before {\n content: "\\eaa8";\n}\n\n.codicon-debug-breakpoint-data:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-data-disabled:before {\n content: "\\eaa9";\n}\n\n.codicon-debug-breakpoint-log-unverified:before {\n content: "\\eaaa";\n}\n\n.codicon-debug-breakpoint-log:before {\n content: "\\eaab";\n}\n\n.codicon-debug-breakpoint-log-disabled:before {\n content: "\\eaab";\n}\n\n.codicon-briefcase:before {\n content: "\\eaac";\n}\n\n.codicon-broadcast:before {\n content: "\\eaad";\n}\n\n.codicon-browser:before {\n content: "\\eaae";\n}\n\n.codicon-bug:before {\n content: "\\eaaf";\n}\n\n.codicon-calendar:before {\n content: "\\eab0";\n}\n\n.codicon-case-sensitive:before {\n content: "\\eab1";\n}\n\n.codicon-check:before {\n content: "\\eab2";\n}\n\n.codicon-checklist:before {\n content: "\\eab3";\n}\n\n.codicon-chevron-down:before {\n content: "\\eab4";\n}\n\n.codicon-chevron-left:before {\n content: "\\eab5";\n}\n\n.codicon-chevron-right:before {\n content: "\\eab6";\n}\n\n.codicon-chevron-up:before {\n content: "\\eab7";\n}\n\n.codicon-chrome-close:before {\n content: "\\eab8";\n}\n\n.codicon-chrome-maximize:before {\n content: "\\eab9";\n}\n\n.codicon-chrome-minimize:before {\n content: "\\eaba";\n}\n\n.codicon-chrome-restore:before {\n content: "\\eabb";\n}\n\n.codicon-circle-outline:before {\n content: "\\eabc";\n}\n\n.codicon-circle:before {\n content: "\\eabc";\n}\n\n.codicon-debug-breakpoint-unverified:before {\n content: "\\eabc";\n}\n\n.codicon-terminal-decoration-incomplete:before {\n content: "\\eabc";\n}\n\n.codicon-circle-slash:before {\n content: "\\eabd";\n}\n\n.codicon-circuit-board:before {\n content: "\\eabe";\n}\n\n.codicon-clear-all:before {\n content: "\\eabf";\n}\n\n.codicon-clippy:before {\n content: "\\eac0";\n}\n\n.codicon-close-all:before {\n content: "\\eac1";\n}\n\n.codicon-cloud-download:before {\n content: "\\eac2";\n}\n\n.codicon-cloud-upload:before {\n content: "\\eac3";\n}\n\n.codicon-code:before {\n content: "\\eac4";\n}\n\n.codicon-collapse-all:before {\n content: "\\eac5";\n}\n\n.codicon-color-mode:before {\n content: "\\eac6";\n}\n\n.codicon-comment-discussion:before {\n content: "\\eac7";\n}\n\n.codicon-credit-card:before {\n content: "\\eac9";\n}\n\n.codicon-dash:before {\n content: "\\eacc";\n}\n\n.codicon-dashboard:before {\n content: "\\eacd";\n}\n\n.codicon-database:before {\n content: "\\eace";\n}\n\n.codicon-debug-continue:before {\n content: "\\eacf";\n}\n\n.codicon-debug-disconnect:before {\n content: "\\ead0";\n}\n\n.codicon-debug-pause:before {\n content: "\\ead1";\n}\n\n.codicon-debug-restart:before {\n content: "\\ead2";\n}\n\n.codicon-debug-start:before {\n content: "\\ead3";\n}\n\n.codicon-debug-step-into:before {\n content: "\\ead4";\n}\n\n.codicon-debug-step-out:before {\n content: "\\ead5";\n}\n\n.codicon-debug-step-over:before {\n content: "\\ead6";\n}\n\n.codicon-debug-stop:before {\n content: "\\ead7";\n}\n\n.codicon-debug:before {\n content: "\\ead8";\n}\n\n.codicon-device-camera-video:before {\n content: "\\ead9";\n}\n\n.codicon-device-camera:before {\n content: "\\eada";\n}\n\n.codicon-device-mobile:before {\n content: "\\eadb";\n}\n\n.codicon-diff-added:before {\n content: "\\eadc";\n}\n\n.codicon-diff-ignored:before {\n content: "\\eadd";\n}\n\n.codicon-diff-modified:before {\n content: "\\eade";\n}\n\n.codicon-diff-removed:before {\n content: "\\eadf";\n}\n\n.codicon-diff-renamed:before {\n content: "\\eae0";\n}\n\n.codicon-diff:before {\n content: "\\eae1";\n}\n\n.codicon-diff-sidebyside:before {\n content: "\\eae1";\n}\n\n.codicon-discard:before {\n content: "\\eae2";\n}\n\n.codicon-editor-layout:before {\n content: "\\eae3";\n}\n\n.codicon-empty-window:before {\n content: "\\eae4";\n}\n\n.codicon-exclude:before {\n content: "\\eae5";\n}\n\n.codicon-extensions:before {\n content: "\\eae6";\n}\n\n.codicon-eye-closed:before {\n content: "\\eae7";\n}\n\n.codicon-file-binary:before {\n content: "\\eae8";\n}\n\n.codicon-file-code:before {\n content: "\\eae9";\n}\n\n.codicon-file-media:before {\n content: "\\eaea";\n}\n\n.codicon-file-pdf:before {\n content: "\\eaeb";\n}\n\n.codicon-file-submodule:before {\n content: "\\eaec";\n}\n\n.codicon-file-symlink-directory:before {\n content: "\\eaed";\n}\n\n.codicon-file-symlink-file:before {\n content: "\\eaee";\n}\n\n.codicon-file-zip:before {\n content: "\\eaef";\n}\n\n.codicon-files:before {\n content: "\\eaf0";\n}\n\n.codicon-filter:before {\n content: "\\eaf1";\n}\n\n.codicon-flame:before {\n content: "\\eaf2";\n}\n\n.codicon-fold-down:before {\n content: "\\eaf3";\n}\n\n.codicon-fold-up:before {\n content: "\\eaf4";\n}\n\n.codicon-fold:before {\n content: "\\eaf5";\n}\n\n.codicon-folder-active:before {\n content: "\\eaf6";\n}\n\n.codicon-folder-opened:before {\n content: "\\eaf7";\n}\n\n.codicon-gear:before {\n content: "\\eaf8";\n}\n\n.codicon-gift:before {\n content: "\\eaf9";\n}\n\n.codicon-gist-secret:before {\n content: "\\eafa";\n}\n\n.codicon-gist:before {\n content: "\\eafb";\n}\n\n.codicon-git-commit:before {\n content: "\\eafc";\n}\n\n.codicon-git-compare:before {\n content: "\\eafd";\n}\n\n.codicon-compare-changes:before {\n content: "\\eafd";\n}\n\n.codicon-git-merge:before {\n content: "\\eafe";\n}\n\n.codicon-github-action:before {\n content: "\\eaff";\n}\n\n.codicon-github-alt:before {\n content: "\\eb00";\n}\n\n.codicon-globe:before {\n content: "\\eb01";\n}\n\n.codicon-grabber:before {\n content: "\\eb02";\n}\n\n.codicon-graph:before {\n content: "\\eb03";\n}\n\n.codicon-gripper:before {\n content: "\\eb04";\n}\n\n.codicon-heart:before {\n content: "\\eb05";\n}\n\n.codicon-home:before {\n content: "\\eb06";\n}\n\n.codicon-horizontal-rule:before {\n content: "\\eb07";\n}\n\n.codicon-hubot:before {\n content: "\\eb08";\n}\n\n.codicon-inbox:before {\n content: "\\eb09";\n}\n\n.codicon-issue-reopened:before {\n content: "\\eb0b";\n}\n\n.codicon-issues:before {\n content: "\\eb0c";\n}\n\n.codicon-italic:before {\n content: "\\eb0d";\n}\n\n.codicon-jersey:before {\n content: "\\eb0e";\n}\n\n.codicon-json:before {\n content: "\\eb0f";\n}\n\n.codicon-kebab-vertical:before {\n content: "\\eb10";\n}\n\n.codicon-key:before {\n content: "\\eb11";\n}\n\n.codicon-law:before {\n content: "\\eb12";\n}\n\n.codicon-lightbulb-autofix:before {\n content: "\\eb13";\n}\n\n.codicon-link-external:before {\n content: "\\eb14";\n}\n\n.codicon-link:before {\n content: "\\eb15";\n}\n\n.codicon-list-ordered:before {\n content: "\\eb16";\n}\n\n.codicon-list-unordered:before {\n content: "\\eb17";\n}\n\n.codicon-live-share:before {\n content: "\\eb18";\n}\n\n.codicon-loading:before {\n content: "\\eb19";\n}\n\n.codicon-location:before {\n content: "\\eb1a";\n}\n\n.codicon-mail-read:before {\n content: "\\eb1b";\n}\n\n.codicon-mail:before {\n content: "\\eb1c";\n}\n\n.codicon-markdown:before {\n content: "\\eb1d";\n}\n\n.codicon-megaphone:before {\n content: "\\eb1e";\n}\n\n.codicon-mention:before {\n content: "\\eb1f";\n}\n\n.codicon-milestone:before {\n content: "\\eb20";\n}\n\n.codicon-git-pull-request-milestone:before {\n content: "\\eb20";\n}\n\n.codicon-mortar-board:before {\n content: "\\eb21";\n}\n\n.codicon-move:before {\n content: "\\eb22";\n}\n\n.codicon-multiple-windows:before {\n content: "\\eb23";\n}\n\n.codicon-mute:before {\n content: "\\eb24";\n}\n\n.codicon-no-newline:before {\n content: "\\eb25";\n}\n\n.codicon-note:before {\n content: "\\eb26";\n}\n\n.codicon-octoface:before {\n content: "\\eb27";\n}\n\n.codicon-open-preview:before {\n content: "\\eb28";\n}\n\n.codicon-package:before {\n content: "\\eb29";\n}\n\n.codicon-paintcan:before {\n content: "\\eb2a";\n}\n\n.codicon-pin:before {\n content: "\\eb2b";\n}\n\n.codicon-play:before {\n content: "\\eb2c";\n}\n\n.codicon-run:before {\n content: "\\eb2c";\n}\n\n.codicon-plug:before {\n content: "\\eb2d";\n}\n\n.codicon-preserve-case:before {\n content: "\\eb2e";\n}\n\n.codicon-preview:before {\n content: "\\eb2f";\n}\n\n.codicon-project:before {\n content: "\\eb30";\n}\n\n.codicon-pulse:before {\n content: "\\eb31";\n}\n\n.codicon-question:before {\n content: "\\eb32";\n}\n\n.codicon-quote:before {\n content: "\\eb33";\n}\n\n.codicon-radio-tower:before {\n content: "\\eb34";\n}\n\n.codicon-reactions:before {\n content: "\\eb35";\n}\n\n.codicon-references:before {\n content: "\\eb36";\n}\n\n.codicon-refresh:before {\n content: "\\eb37";\n}\n\n.codicon-regex:before {\n content: "\\eb38";\n}\n\n.codicon-remote-explorer:before {\n content: "\\eb39";\n}\n\n.codicon-remote:before {\n content: "\\eb3a";\n}\n\n.codicon-remove:before {\n content: "\\eb3b";\n}\n\n.codicon-replace-all:before {\n content: "\\eb3c";\n}\n\n.codicon-replace:before {\n content: "\\eb3d";\n}\n\n.codicon-repo-clone:before {\n content: "\\eb3e";\n}\n\n.codicon-repo-force-push:before {\n content: "\\eb3f";\n}\n\n.codicon-repo-pull:before {\n content: "\\eb40";\n}\n\n.codicon-repo-push:before {\n content: "\\eb41";\n}\n\n.codicon-report:before {\n content: "\\eb42";\n}\n\n.codicon-request-changes:before {\n content: "\\eb43";\n}\n\n.codicon-rocket:before {\n content: "\\eb44";\n}\n\n.codicon-root-folder-opened:before {\n content: "\\eb45";\n}\n\n.codicon-root-folder:before {\n content: "\\eb46";\n}\n\n.codicon-rss:before {\n content: "\\eb47";\n}\n\n.codicon-ruby:before {\n content: "\\eb48";\n}\n\n.codicon-save-all:before {\n content: "\\eb49";\n}\n\n.codicon-save-as:before {\n content: "\\eb4a";\n}\n\n.codicon-save:before {\n content: "\\eb4b";\n}\n\n.codicon-screen-full:before {\n content: "\\eb4c";\n}\n\n.codicon-screen-normal:before {\n content: "\\eb4d";\n}\n\n.codicon-search-stop:before {\n content: "\\eb4e";\n}\n\n.codicon-server:before {\n content: "\\eb50";\n}\n\n.codicon-settings-gear:before {\n content: "\\eb51";\n}\n\n.codicon-settings:before {\n content: "\\eb52";\n}\n\n.codicon-shield:before {\n content: "\\eb53";\n}\n\n.codicon-smiley:before {\n content: "\\eb54";\n}\n\n.codicon-sort-precedence:before {\n content: "\\eb55";\n}\n\n.codicon-split-horizontal:before {\n content: "\\eb56";\n}\n\n.codicon-split-vertical:before {\n content: "\\eb57";\n}\n\n.codicon-squirrel:before {\n content: "\\eb58";\n}\n\n.codicon-star-full:before {\n content: "\\eb59";\n}\n\n.codicon-star-half:before {\n content: "\\eb5a";\n}\n\n.codicon-symbol-class:before {\n content: "\\eb5b";\n}\n\n.codicon-symbol-color:before {\n content: "\\eb5c";\n}\n\n.codicon-symbol-constant:before {\n content: "\\eb5d";\n}\n\n.codicon-symbol-enum-member:before {\n content: "\\eb5e";\n}\n\n.codicon-symbol-field:before {\n content: "\\eb5f";\n}\n\n.codicon-symbol-file:before {\n content: "\\eb60";\n}\n\n.codicon-symbol-interface:before {\n content: "\\eb61";\n}\n\n.codicon-symbol-keyword:before {\n content: "\\eb62";\n}\n\n.codicon-symbol-misc:before {\n content: "\\eb63";\n}\n\n.codicon-symbol-operator:before {\n content: "\\eb64";\n}\n\n.codicon-symbol-property:before {\n content: "\\eb65";\n}\n\n.codicon-wrench:before {\n content: "\\eb65";\n}\n\n.codicon-wrench-subaction:before {\n content: "\\eb65";\n}\n\n.codicon-symbol-snippet:before {\n content: "\\eb66";\n}\n\n.codicon-tasklist:before {\n content: "\\eb67";\n}\n\n.codicon-telescope:before {\n content: "\\eb68";\n}\n\n.codicon-text-size:before {\n content: "\\eb69";\n}\n\n.codicon-three-bars:before {\n content: "\\eb6a";\n}\n\n.codicon-thumbsdown:before {\n content: "\\eb6b";\n}\n\n.codicon-thumbsup:before {\n content: "\\eb6c";\n}\n\n.codicon-tools:before {\n content: "\\eb6d";\n}\n\n.codicon-triangle-down:before {\n content: "\\eb6e";\n}\n\n.codicon-triangle-left:before {\n content: "\\eb6f";\n}\n\n.codicon-triangle-right:before {\n content: "\\eb70";\n}\n\n.codicon-triangle-up:before {\n content: "\\eb71";\n}\n\n.codicon-twitter:before {\n content: "\\eb72";\n}\n\n.codicon-unfold:before {\n content: "\\eb73";\n}\n\n.codicon-unlock:before {\n content: "\\eb74";\n}\n\n.codicon-unmute:before {\n content: "\\eb75";\n}\n\n.codicon-unverified:before {\n content: "\\eb76";\n}\n\n.codicon-verified:before {\n content: "\\eb77";\n}\n\n.codicon-versions:before {\n content: "\\eb78";\n}\n\n.codicon-vm-active:before {\n content: "\\eb79";\n}\n\n.codicon-vm-outline:before {\n content: "\\eb7a";\n}\n\n.codicon-vm-running:before {\n content: "\\eb7b";\n}\n\n.codicon-watch:before {\n content: "\\eb7c";\n}\n\n.codicon-whitespace:before {\n content: "\\eb7d";\n}\n\n.codicon-whole-word:before {\n content: "\\eb7e";\n}\n\n.codicon-window:before {\n content: "\\eb7f";\n}\n\n.codicon-word-wrap:before {\n content: "\\eb80";\n}\n\n.codicon-zoom-in:before {\n content: "\\eb81";\n}\n\n.codicon-zoom-out:before {\n content: "\\eb82";\n}\n\n.codicon-list-filter:before {\n content: "\\eb83";\n}\n\n.codicon-list-flat:before {\n content: "\\eb84";\n}\n\n.codicon-list-selection:before {\n content: "\\eb85";\n}\n\n.codicon-selection:before {\n content: "\\eb85";\n}\n\n.codicon-list-tree:before {\n content: "\\eb86";\n}\n\n.codicon-debug-breakpoint-function-unverified:before {\n content: "\\eb87";\n}\n\n.codicon-debug-breakpoint-function:before {\n content: "\\eb88";\n}\n\n.codicon-debug-breakpoint-function-disabled:before {\n content: "\\eb88";\n}\n\n.codicon-debug-stackframe-active:before {\n content: "\\eb89";\n}\n\n.codicon-circle-small-filled:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe-dot:before {\n content: "\\eb8a";\n}\n\n.codicon-terminal-decoration-mark:before {\n content: "\\eb8a";\n}\n\n.codicon-debug-stackframe:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-stackframe-focused:before {\n content: "\\eb8b";\n}\n\n.codicon-debug-breakpoint-unsupported:before {\n content: "\\eb8c";\n}\n\n.codicon-symbol-string:before {\n content: "\\eb8d";\n}\n\n.codicon-debug-reverse-continue:before {\n content: "\\eb8e";\n}\n\n.codicon-debug-step-back:before {\n content: "\\eb8f";\n}\n\n.codicon-debug-restart-frame:before {\n content: "\\eb90";\n}\n\n.codicon-debug-alt:before {\n content: "\\eb91";\n}\n\n.codicon-call-incoming:before {\n content: "\\eb92";\n}\n\n.codicon-call-outgoing:before {\n content: "\\eb93";\n}\n\n.codicon-menu:before {\n content: "\\eb94";\n}\n\n.codicon-expand-all:before {\n content: "\\eb95";\n}\n\n.codicon-feedback:before {\n content: "\\eb96";\n}\n\n.codicon-git-pull-request-reviewer:before {\n content: "\\eb96";\n}\n\n.codicon-group-by-ref-type:before {\n content: "\\eb97";\n}\n\n.codicon-ungroup-by-ref-type:before {\n content: "\\eb98";\n}\n\n.codicon-account:before {\n content: "\\eb99";\n}\n\n.codicon-git-pull-request-assignee:before {\n content: "\\eb99";\n}\n\n.codicon-bell-dot:before {\n content: "\\eb9a";\n}\n\n.codicon-debug-console:before {\n content: "\\eb9b";\n}\n\n.codicon-library:before {\n content: "\\eb9c";\n}\n\n.codicon-output:before {\n content: "\\eb9d";\n}\n\n.codicon-run-all:before {\n content: "\\eb9e";\n}\n\n.codicon-sync-ignored:before {\n content: "\\eb9f";\n}\n\n.codicon-pinned:before {\n content: "\\eba0";\n}\n\n.codicon-github-inverted:before {\n content: "\\eba1";\n}\n\n.codicon-server-process:before {\n content: "\\eba2";\n}\n\n.codicon-server-environment:before {\n content: "\\eba3";\n}\n\n.codicon-pass:before {\n content: "\\eba4";\n}\n\n.codicon-issue-closed:before {\n content: "\\eba4";\n}\n\n.codicon-stop-circle:before {\n content: "\\eba5";\n}\n\n.codicon-play-circle:before {\n content: "\\eba6";\n}\n\n.codicon-record:before {\n content: "\\eba7";\n}\n\n.codicon-debug-alt-small:before {\n content: "\\eba8";\n}\n\n.codicon-vm-connect:before {\n content: "\\eba9";\n}\n\n.codicon-cloud:before {\n content: "\\ebaa";\n}\n\n.codicon-merge:before {\n content: "\\ebab";\n}\n\n.codicon-export:before {\n content: "\\ebac";\n}\n\n.codicon-graph-left:before {\n content: "\\ebad";\n}\n\n.codicon-magnet:before {\n content: "\\ebae";\n}\n\n.codicon-notebook:before {\n content: "\\ebaf";\n}\n\n.codicon-redo:before {\n content: "\\ebb0";\n}\n\n.codicon-check-all:before {\n content: "\\ebb1";\n}\n\n.codicon-pinned-dirty:before {\n content: "\\ebb2";\n}\n\n.codicon-pass-filled:before {\n content: "\\ebb3";\n}\n\n.codicon-circle-large-filled:before {\n content: "\\ebb4";\n}\n\n.codicon-circle-large:before {\n content: "\\ebb5";\n}\n\n.codicon-circle-large-outline:before {\n content: "\\ebb5";\n}\n\n.codicon-combine:before {\n content: "\\ebb6";\n}\n\n.codicon-gather:before {\n content: "\\ebb6";\n}\n\n.codicon-table:before {\n content: "\\ebb7";\n}\n\n.codicon-variable-group:before {\n content: "\\ebb8";\n}\n\n.codicon-type-hierarchy:before {\n content: "\\ebb9";\n}\n\n.codicon-type-hierarchy-sub:before {\n content: "\\ebba";\n}\n\n.codicon-type-hierarchy-super:before {\n content: "\\ebbb";\n}\n\n.codicon-git-pull-request-create:before {\n content: "\\ebbc";\n}\n\n.codicon-run-above:before {\n content: "\\ebbd";\n}\n\n.codicon-run-below:before {\n content: "\\ebbe";\n}\n\n.codicon-notebook-template:before {\n content: "\\ebbf";\n}\n\n.codicon-debug-rerun:before {\n content: "\\ebc0";\n}\n\n.codicon-workspace-trusted:before {\n content: "\\ebc1";\n}\n\n.codicon-workspace-untrusted:before {\n content: "\\ebc2";\n}\n\n.codicon-workspace-unknown:before {\n content: "\\ebc3";\n}\n\n.codicon-terminal-cmd:before {\n content: "\\ebc4";\n}\n\n.codicon-terminal-debian:before {\n content: "\\ebc5";\n}\n\n.codicon-terminal-linux:before {\n content: "\\ebc6";\n}\n\n.codicon-terminal-powershell:before {\n content: "\\ebc7";\n}\n\n.codicon-terminal-tmux:before {\n content: "\\ebc8";\n}\n\n.codicon-terminal-ubuntu:before {\n content: "\\ebc9";\n}\n\n.codicon-terminal-bash:before {\n content: "\\ebca";\n}\n\n.codicon-arrow-swap:before {\n content: "\\ebcb";\n}\n\n.codicon-copy:before {\n content: "\\ebcc";\n}\n\n.codicon-person-add:before {\n content: "\\ebcd";\n}\n\n.codicon-filter-filled:before {\n content: "\\ebce";\n}\n\n.codicon-wand:before {\n content: "\\ebcf";\n}\n\n.codicon-debug-line-by-line:before {\n content: "\\ebd0";\n}\n\n.codicon-inspect:before {\n content: "\\ebd1";\n}\n\n.codicon-layers:before {\n content: "\\ebd2";\n}\n\n.codicon-layers-dot:before {\n content: "\\ebd3";\n}\n\n.codicon-layers-active:before {\n content: "\\ebd4";\n}\n\n.codicon-compass:before {\n content: "\\ebd5";\n}\n\n.codicon-compass-dot:before {\n content: "\\ebd6";\n}\n\n.codicon-compass-active:before {\n content: "\\ebd7";\n}\n\n.codicon-azure:before {\n content: "\\ebd8";\n}\n\n.codicon-issue-draft:before {\n content: "\\ebd9";\n}\n\n.codicon-git-pull-request-closed:before {\n content: "\\ebda";\n}\n\n.codicon-git-pull-request-draft:before {\n content: "\\ebdb";\n}\n\n.codicon-debug-all:before {\n content: "\\ebdc";\n}\n\n.codicon-debug-coverage:before {\n content: "\\ebdd";\n}\n\n.codicon-run-errors:before {\n content: "\\ebde";\n}\n\n.codicon-folder-library:before {\n content: "\\ebdf";\n}\n\n.codicon-debug-continue-small:before {\n content: "\\ebe0";\n}\n\n.codicon-beaker-stop:before {\n content: "\\ebe1";\n}\n\n.codicon-graph-line:before {\n content: "\\ebe2";\n}\n\n.codicon-graph-scatter:before {\n content: "\\ebe3";\n}\n\n.codicon-pie-chart:before {\n content: "\\ebe4";\n}\n\n.codicon-bracket:before {\n content: "\\eb0f";\n}\n\n.codicon-bracket-dot:before {\n content: "\\ebe5";\n}\n\n.codicon-bracket-error:before {\n content: "\\ebe6";\n}\n\n.codicon-lock-small:before {\n content: "\\ebe7";\n}\n\n.codicon-azure-devops:before {\n content: "\\ebe8";\n}\n\n.codicon-verified-filled:before {\n content: "\\ebe9";\n}\n\n.codicon-newline:before {\n content: "\\ebea";\n}\n\n.codicon-layout:before {\n content: "\\ebeb";\n}\n\n.codicon-layout-activitybar-left:before {\n content: "\\ebec";\n}\n\n.codicon-layout-activitybar-right:before {\n content: "\\ebed";\n}\n\n.codicon-layout-panel-left:before {\n content: "\\ebee";\n}\n\n.codicon-layout-panel-center:before {\n content: "\\ebef";\n}\n\n.codicon-layout-panel-justify:before {\n content: "\\ebf0";\n}\n\n.codicon-layout-panel-right:before {\n content: "\\ebf1";\n}\n\n.codicon-layout-panel:before {\n content: "\\ebf2";\n}\n\n.codicon-layout-sidebar-left:before {\n content: "\\ebf3";\n}\n\n.codicon-layout-sidebar-right:before {\n content: "\\ebf4";\n}\n\n.codicon-layout-statusbar:before {\n content: "\\ebf5";\n}\n\n.codicon-layout-menubar:before {\n content: "\\ebf6";\n}\n\n.codicon-layout-centered:before {\n content: "\\ebf7";\n}\n\n.codicon-target:before {\n content: "\\ebf8";\n}\n\n.codicon-indent:before {\n content: "\\ebf9";\n}\n\n.codicon-record-small:before {\n content: "\\ebfa";\n}\n\n.codicon-error-small:before {\n content: "\\ebfb";\n}\n\n.codicon-terminal-decoration-error:before {\n content: "\\ebfb";\n}\n\n.codicon-arrow-circle-down:before {\n content: "\\ebfc";\n}\n\n.codicon-arrow-circle-left:before {\n content: "\\ebfd";\n}\n\n.codicon-arrow-circle-right:before {\n content: "\\ebfe";\n}\n\n.codicon-arrow-circle-up:before {\n content: "\\ebff";\n}\n\n.codicon-layout-sidebar-right-off:before {\n content: "\\ec00";\n}\n\n.codicon-layout-panel-off:before {\n content: "\\ec01";\n}\n\n.codicon-layout-sidebar-left-off:before {\n content: "\\ec02";\n}\n\n.codicon-blank:before {\n content: "\\ec03";\n}\n\n.codicon-heart-filled:before {\n content: "\\ec04";\n}\n\n.codicon-map:before {\n content: "\\ec05";\n}\n\n.codicon-map-horizontal:before {\n content: "\\ec05";\n}\n\n.codicon-fold-horizontal:before {\n content: "\\ec05";\n}\n\n.codicon-map-filled:before {\n content: "\\ec06";\n}\n\n.codicon-map-horizontal-filled:before {\n content: "\\ec06";\n}\n\n.codicon-fold-horizontal-filled:before {\n content: "\\ec06";\n}\n\n.codicon-circle-small:before {\n content: "\\ec07";\n}\n\n.codicon-bell-slash:before {\n content: "\\ec08";\n}\n\n.codicon-bell-slash-dot:before {\n content: "\\ec09";\n}\n\n.codicon-comment-unresolved:before {\n content: "\\ec0a";\n}\n\n.codicon-git-pull-request-go-to-changes:before {\n content: "\\ec0b";\n}\n\n.codicon-git-pull-request-new-changes:before {\n content: "\\ec0c";\n}\n\n.codicon-search-fuzzy:before {\n content: "\\ec0d";\n}\n\n.codicon-comment-draft:before {\n content: "\\ec0e";\n}\n\n.codicon-send:before {\n content: "\\ec0f";\n}\n\n.codicon-sparkle:before {\n content: "\\ec10";\n}\n\n.codicon-insert:before {\n content: "\\ec11";\n}\n\n.codicon-mic:before {\n content: "\\ec12";\n}\n\n.codicon-thumbsdown-filled:before {\n content: "\\ec13";\n}\n\n.codicon-thumbsup-filled:before {\n content: "\\ec14";\n}\n\n.codicon-coffee:before {\n content: "\\ec15";\n}\n\n.codicon-snake:before {\n content: "\\ec16";\n}\n\n.codicon-game:before {\n content: "\\ec17";\n}\n\n.codicon-vr:before {\n content: "\\ec18";\n}\n\n.codicon-chip:before {\n content: "\\ec19";\n}\n\n.codicon-piano:before {\n content: "\\ec1a";\n}\n\n.codicon-music:before {\n content: "\\ec1b";\n}\n\n.codicon-mic-filled:before {\n content: "\\ec1c";\n}\n\n.codicon-repo-fetch:before {\n content: "\\ec1d";\n}\n\n.codicon-copilot:before {\n content: "\\ec1e";\n}\n\n.codicon-lightbulb-sparkle:before {\n content: "\\ec1f";\n}\n\n.codicon-robot:before {\n content: "\\ec20";\n}\n\n.codicon-sparkle-filled:before {\n content: "\\ec21";\n}\n\n.codicon-diff-single:before {\n content: "\\ec22";\n}\n\n.codicon-diff-multiple:before {\n content: "\\ec23";\n}\n\n.codicon-surround-with:before {\n content: "\\ec24";\n}\n\n.codicon-share:before {\n content: "\\ec25";\n}\n\n.codicon-git-stash:before {\n content: "\\ec26";\n}\n\n.codicon-git-stash-apply:before {\n content: "\\ec27";\n}\n\n.codicon-git-stash-pop:before {\n content: "\\ec28";\n}\n\n.codicon-vscode:before {\n content: "\\ec29";\n}\n\n.codicon-vscode-insiders:before {\n content: "\\ec2a";\n}\n\n.codicon-code-oss:before {\n content: "\\ec2b";\n}\n\n.codicon-run-coverage:before {\n content: "\\ec2c";\n}\n\n.codicon-run-all-coverage:before {\n content: "\\ec2d";\n}\n\n.codicon-coverage:before {\n content: "\\ec2e";\n}\n\n.codicon-github-project:before {\n content: "\\ec2f";\n}\n\n.codicon-map-vertical:before {\n content: "\\ec30";\n}\n\n.codicon-fold-vertical:before {\n content: "\\ec30";\n}\n\n.codicon-map-vertical-filled:before {\n content: "\\ec31";\n}\n\n.codicon-fold-vertical-filled:before {\n content: "\\ec31";\n}\n\n.codicon-go-to-search:before {\n content: "\\ec32";\n}\n\n.codicon-percentage:before {\n content: "\\ec33";\n}\n\n.codicon-sort-percentage:before {\n content: "\\ec33";\n}\n\n.codicon-attach:before {\n content: "\\ec34";\n}\n\n.codicon-go-to-editing-session:before {\n content: "\\ec35";\n}\n\n.codicon-edit-session:before {\n content: "\\ec36";\n}\n\n.codicon-code-review:before {\n content: "\\ec37";\n}\n\n.codicon-copilot-warning:before {\n content: "\\ec38";\n}\n\n.codicon-python:before {\n content: "\\ec39";\n}\n\n.codicon-git-fetch:before {\n content: "\\f101";\n}\n\n@layer kol-component {\n /* :host implicitly inherits font-size, see below */\n :host {\n color: inherit;\n display: contents;\n font-size: inherit;\n line-height: inherit;\n }\n /* this rules overwrites the fixed font size from codicon */\n :host > i,\n :host > i::before {\n font-size: inherit !important;\n }\n}',f=d,a=class{constructor(e){n(this,e),this._icons=void 0,this._label=void 0,this.state={_icons:"codicon codicon-home",_label:""}}render(){const n=this.state._label.length>0;return e(o,{key:"75353c56fd805e34a400117efb8fabd4d67fe0e3",exportparts:"icon",class:r},e("i",{key:"558cd2544c2d67890645a2b96056f75fbe5d23ca","aria-hidden":n?void 0:"true","aria-label":n?this.state._label:void 0,class:t(b,this.state._icons),part:"icon",role:"img"}))}validateIcons(n){c(this,"_icons",n,{required:!0})}validateLabel(n){i(this,n,{required:!0})}componentWillLoad(){this.validateIcons(this._icons),this.validateLabel(this._label)}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};a.style={default:f};export{a as kol_icon};
@@ -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-c14cc40b.js";import{w as t,B as i}from"./index-ebe5a881.js";import{v as a}from"./image-source-8079f8a5.js";const o=["eager","lazy"];function s(n,e){t(n,"_loading",(n=>"string"==typeof n&&o.includes(n)),new Set(o),e)}const l="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 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-image {\n display: inline-block;\n max-height: 100%;\n max-width: 100%;\n }\n}",r=l,d=class{constructor(e){n(this,e),this._alt=void 0,this._loading="lazy",this._sizes=void 0,this._src=void 0,this._srcset=void 0,this.state={_alt:"",_loading:"lazy",_src:""}}validateAlt(n){i(this,"_alt",n,{required:!0})}validateLoading(n){s(this,n)}validateSizes(n){i(this,"_sizes",n)}validateSrc(n){a(this,n,{required:!0})}validateSrcset(n){i(this,"_srcset",n)}componentWillLoad(){this.validateAlt(this._alt),this.validateLoading(this._loading),this.validateSizes(this._sizes),this.validateSrc(this._src),this.validateSrcset(this._srcset)}render(){return e("img",{key:"23837493ec11632608a497a0319b945b91cadb6d",class:"kol-image",alt:this.state._alt,loading:this.state._loading,sizes:this.state._sizes,src:this.state._src,srcset:this.state._srcset})}static get watchers(){return{_alt:["validateAlt"],_loading:["validateLoading"],_sizes:["validateSizes"],_src:["validateSrc"],_srcset:["validateSrcset"]}}};d.style={default:r};export{d as kol_image};
4
+ import{r as n,h as e}from"./index-2f6c3929.js";import{B as t,w as i}from"./index-ebe5a881.js";import{v as a}from"./image-source-8079f8a5.js";const o=(n,e,i={})=>{t(n,"_alt",e,i)},s=(n,e,i={})=>{t(n,"_sizes",e,i)},l=(n,e,i={})=>{t(n,"_srcset",e,i)},r=["eager","lazy"];function d(n,e){i(n,"_loading",(n=>"string"==typeof n&&r.includes(n)),new Set(r),e)}const h="/*\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-image {\n display: inline-block;\n max-height: 100%;\n max-width: 100%;\n }\n}",c=h,u=class{constructor(e){n(this,e),this._alt=void 0,this._loading="lazy",this._sizes=void 0,this._src=void 0,this._srcset=void 0,this.state={_alt:"",_loading:"lazy",_src:""}}validateAlt(n){o(this,n,{required:!0})}validateLoading(n){d(this,n)}validateSizes(n){s(this,n)}validateSrc(n){a(this,n,{required:!0})}validateSrcset(n){l(this,n)}componentWillLoad(){this.validateAlt(this._alt),this.validateLoading(this._loading),this.validateSizes(this._sizes),this.validateSrc(this._src),this.validateSrcset(this._srcset)}render(){return e("img",{key:"cca1e1b65e9aab11b4c15bea394d6c54ead1a123",class:"kol-image",alt:this.state._alt,loading:this.state._loading,sizes:this.state._sizes,src:this.state._src,srcset:this.state._srcset})}static get watchers(){return{_alt:["validateAlt"],_loading:["validateLoading"],_sizes:["validateSizes"],_src:["validateSrc"],_srcset:["validateSrcset"]}}};u.style={default:c};export{u as kol_image};
@@ -1 +1 @@
1
- {"version":3,"names":["loadingOptions","validateLoading","component","value","watchValidator","includes","Set","defaultStyleCss","KolImageDefaultStyle0","KolImage","_alt","_loading","_src","validateAlt","watchString","this","required","validateSizes","validateSrc","validateImageSource","validateSrcset","componentWillLoad","_sizes","_srcset","render","h","key","class","alt","state","loading","sizes","src","srcset"],"sources":["src/schema/props/loading.ts","src/components/image/style.scss?tag=kol-image&mode=default&encapsulation=shadow","src/components/image/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst loadingOptions = ['eager', 'lazy'] as const;\nexport type Loading = (typeof loadingOptions)[number];\n\nexport function validateLoading(component: Generic.Element.Component, value?: Loading): void {\n\twatchValidator<Loading>(component, '_loading', (value) => typeof value === 'string' && loadingOptions.includes(value), new Set(loadingOptions), value);\n}\n","@use '../../styles/global' as *;\n\n@layer kol-component {\n\t.kol-image {\n\t\tdisplay: inline-block;\n\t\tmax-height: 100%;\n\t\tmax-width: 100%;\n\t}\n}\n","import type { ImageAPI, ImageSourcePropType, ImageStates, Loading } from '../../schema';\nimport { validateImageSource, validateLoading, watchString } from '../../schema';\nimport { Component, h, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n@Component({\n\ttag: 'kol-image',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolImage implements ImageAPI {\n\t/**\n\t * Setzt den alternativen Text.\n\t */\n\t@Prop() public _alt!: string;\n\n\t/**\n\t * Defines the loading mode for the image.\n\t */\n\t@Prop() public _loading?: Loading = 'lazy';\n\n\t/**\n\t * Defines the image sizes for different screen resolutions, supporting _srcset.\n\t */\n\t@Prop() public _sizes?: string;\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop() public _src!: ImageSourcePropType;\n\n\t/**\n\t * Setzt eine Liste von Quell-URLs mit Breiten der Bilder.\n\t */\n\t@Prop() public _srcset?: string;\n\n\t@State() public state: ImageStates = {\n\t\t_alt: '', // ⚠ required\n\t\t_loading: 'lazy',\n\t\t_src: '', // ⚠ required\n\t};\n\n\t@Watch('_alt')\n\tpublic validateAlt(value?: string): void {\n\t\twatchString(this, '_alt', value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_loading')\n\tpublic validateLoading(value?: Loading): void {\n\t\tvalidateLoading(this, value);\n\t}\n\n\t@Watch('_sizes')\n\tpublic validateSizes(value?: string): void {\n\t\twatchString(this, '_sizes', value);\n\t}\n\n\t@Watch('_src')\n\tpublic validateSrc(value?: ImageSourcePropType): void {\n\t\tvalidateImageSource(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_srcset')\n\tpublic validateSrcset(value?: string): void {\n\t\twatchString(this, '_srcset', value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlt(this._alt);\n\t\tthis.validateLoading(this._loading);\n\t\tthis.validateSizes(this._sizes);\n\t\tthis.validateSrc(this._src);\n\t\tthis.validateSrcset(this._srcset);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<img\n\t\t\t\tclass=\"kol-image\"\n\t\t\t\talt={this.state._alt}\n\t\t\t\tloading={this.state._loading}\n\t\t\t\tsizes={this.state._sizes}\n\t\t\t\tsrc={this.state._src}\n\t\t\t\tsrcset={this.state._srcset}\n\t\t\t></img>\n\t\t);\n\t}\n}\n"],"mappings":";;;6IAGA,MAAMA,EAAiB,CAAC,QAAS,Q,SAGjBC,EAAgBC,EAAsCC,GACrEC,EAAwBF,EAAW,YAAaC,UAAiBA,IAAU,UAAYH,EAAeK,SAASF,IAAQ,IAAIG,IAAIN,GAAiBG,EACjJ,CCRA,MAAMI,EAAkB,+tIACxB,MAAAC,EAAeD,E,MCWFE,EAAQ,M,2DASgB,O,4EAiBC,CACpCC,KAAM,GACNC,SAAU,OACVC,KAAM,G,CAIA,WAAAC,CAAYV,GAClBW,EAAYC,KAAM,OAAQZ,EAAO,CAChCa,SAAU,M,CAKL,eAAAf,CAAgBE,GACtBF,EAAgBc,KAAMZ,E,CAIhB,aAAAc,CAAcd,GACpBW,EAAYC,KAAM,SAAUZ,E,CAItB,WAAAe,CAAYf,GAClBgB,EAAoBJ,KAAMZ,EAAO,CAChCa,SAAU,M,CAKL,cAAAI,CAAejB,GACrBW,EAAYC,KAAM,UAAWZ,E,CAGvB,iBAAAkB,GACNN,KAAKF,YAAYE,KAAKL,MACtBK,KAAKd,gBAAgBc,KAAKJ,UAC1BI,KAAKE,cAAcF,KAAKO,QACxBP,KAAKG,YAAYH,KAAKH,MACtBG,KAAKK,eAAeL,KAAKQ,Q,CAGnB,MAAAC,GACN,OACCC,EAAA,OAAAC,IAAA,2CACCC,MAAM,YACNC,IAAKb,KAAKc,MAAMnB,KAChBoB,QAASf,KAAKc,MAAMlB,SACpBoB,MAAOhB,KAAKc,MAAMP,OAClBU,IAAKjB,KAAKc,MAAMjB,KAChBqB,OAAQlB,KAAKc,MAAMN,S","ignoreList":[]}
1
+ {"version":3,"names":["validateAlt","component","value","options","watchString","validateImageSizes","validateImageSrcset","loadingOptions","validateLoading","watchValidator","includes","Set","defaultStyleCss","KolImageDefaultStyle0","KolImage","_alt","_loading","_src","this","required","validateSizes","validateSrc","validateImageSource","validateSrcset","componentWillLoad","_sizes","_srcset","render","h","key","class","alt","state","loading","sizes","src","srcset"],"sources":["src/schema/props/alt.ts","src/schema/props/image-sizes.ts","src/schema/props/image-srcset.ts","src/schema/props/loading.ts","src/components/image/style.scss?tag=kol-image&mode=default&encapsulation=shadow","src/components/image/shadow.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AltPropType = string;\n\n/**\n * Sets the alternative text of the image.\n */\nexport type PropAlt = {\n\talt: AltPropType;\n};\n\n/* validator */\nexport const validateAlt = (component: Generic.Element.Component, value?: AltPropType, options: WatchStringOptions = {}): void => {\n\twatchString(component, '_alt', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ImageSizesPropType = string;\n\n/**\n * Defines the image sizes for different screen resolutions, supporting _srcset.\n */\nexport type PropImageSizes = {\n\tsizes: ImageSizesPropType;\n};\n\n/* validator */\nexport const validateImageSizes = (component: Generic.Element.Component, value?: ImageSizesPropType, options: WatchStringOptions = {}): void => {\n\twatchString(component, '_sizes', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ImageSrcsetPropType = string;\n\n/**\n * Sets a list of source URLs with widths of the images.\n */\nexport type PropImageSrcset = {\n\tsrcset: ImageSrcsetPropType;\n};\n\n/* validator */\nexport const validateImageSrcset = (component: Generic.Element.Component, value?: ImageSrcsetPropType, options: WatchStringOptions = {}): void => {\n\twatchString(component, '_srcset', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst loadingOptions = ['eager', 'lazy'] as const;\nexport type Loading = (typeof loadingOptions)[number];\n\n/**\n * Sets the loading strategy for the image element.\n */\nexport type PropLoading = {\n\tloading: Loading;\n};\n\nexport function validateLoading(component: Generic.Element.Component, value?: Loading): void {\n\twatchValidator<Loading>(component, '_loading', (value) => typeof value === 'string' && loadingOptions.includes(value), new Set(loadingOptions), value);\n}\n","@use '../../styles/global' as *;\n\n@layer kol-component {\n\t.kol-image {\n\t\tdisplay: inline-block;\n\t\tmax-height: 100%;\n\t\tmax-width: 100%;\n\t}\n}\n","import type { ImageAPI, ImageSourcePropType, ImageStates, Loading } from '../../schema';\nimport { validateAlt, validateImageSizes, validateImageSrcset, validateImageSource, validateLoading } from '../../schema';\nimport { Component, h, Prop, State, Watch } from '@stencil/core';\n\nimport type { JSX } from '@stencil/core';\n@Component({\n\ttag: 'kol-image',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolImage implements ImageAPI {\n\t/**\n\t * Setzt den alternativen Text.\n\t */\n\t@Prop() public _alt!: string;\n\n\t/**\n\t * Defines the loading mode for the image.\n\t */\n\t@Prop() public _loading?: Loading = 'lazy';\n\n\t/**\n\t * Defines the image sizes for different screen resolutions, supporting _srcset.\n\t */\n\t@Prop() public _sizes?: string;\n\n\t/**\n\t * Sets the image `src` attribute to the given string.\n\t */\n\t@Prop() public _src!: ImageSourcePropType;\n\n\t/**\n\t * Setzt eine Liste von Quell-URLs mit Breiten der Bilder.\n\t */\n\t@Prop() public _srcset?: string;\n\n\t@State() public state: ImageStates = {\n\t\t_alt: '', // ⚠ required\n\t\t_loading: 'lazy',\n\t\t_src: '', // ⚠ required\n\t};\n\n\t@Watch('_alt')\n\tpublic validateAlt(value?: string): void {\n\t\tvalidateAlt(this, value, { required: true });\n\t}\n\n\t@Watch('_loading')\n\tpublic validateLoading(value?: Loading): void {\n\t\tvalidateLoading(this, value);\n\t}\n\n\t@Watch('_sizes')\n\tpublic validateSizes(value?: string): void {\n\t\tvalidateImageSizes(this, value);\n\t}\n\n\t@Watch('_src')\n\tpublic validateSrc(value?: ImageSourcePropType): void {\n\t\tvalidateImageSource(this, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\t@Watch('_srcset')\n\tpublic validateSrcset(value?: string): void {\n\t\tvalidateImageSrcset(this, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAlt(this._alt);\n\t\tthis.validateLoading(this._loading);\n\t\tthis.validateSizes(this._sizes);\n\t\tthis.validateSrc(this._src);\n\t\tthis.validateSrcset(this._srcset);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<img\n\t\t\t\tclass=\"kol-image\"\n\t\t\t\talt={this.state._alt}\n\t\t\t\tloading={this.state._loading}\n\t\t\t\tsizes={this.state._sizes}\n\t\t\t\tsrc={this.state._src}\n\t\t\t\tsrcset={this.state._srcset}\n\t\t\t></img>\n\t\t);\n\t}\n}\n"],"mappings":";;;6IAgBO,MAAMA,EAAc,CAACC,EAAsCC,EAAqBC,EAA8B,MACpHC,EAAYH,EAAW,OAAQC,EAAOC,EAAQ,ECDxC,MAAME,EAAqB,CAACJ,EAAsCC,EAA4BC,EAA8B,MAClIC,EAAYH,EAAW,SAAUC,EAAOC,EAAQ,ECD1C,MAAMG,EAAsB,CAACL,EAAsCC,EAA6BC,EAA8B,MACpIC,EAAYH,EAAW,UAAWC,EAAOC,EAAQ,ECdlD,MAAMI,EAAiB,CAAC,QAAS,Q,SAUjBC,EAAgBP,EAAsCC,GACrEO,EAAwBR,EAAW,YAAaC,UAAiBA,IAAU,UAAYK,EAAeG,SAASR,IAAQ,IAAIS,IAAIJ,GAAiBL,EACjJ,CCfA,MAAMU,EAAkB,+tIACxB,MAAAC,EAAeD,E,MCWFE,EAAQ,M,2DASgB,O,4EAiBC,CACpCC,KAAM,GACNC,SAAU,OACVC,KAAM,G,CAIA,WAAAjB,CAAYE,GAClBF,EAAYkB,KAAMhB,EAAO,CAAEiB,SAAU,M,CAI/B,eAAAX,CAAgBN,GACtBM,EAAgBU,KAAMhB,E,CAIhB,aAAAkB,CAAclB,GACpBG,EAAmBa,KAAMhB,E,CAInB,WAAAmB,CAAYnB,GAClBoB,EAAoBJ,KAAMhB,EAAO,CAChCiB,SAAU,M,CAKL,cAAAI,CAAerB,GACrBI,EAAoBY,KAAMhB,E,CAGpB,iBAAAsB,GACNN,KAAKlB,YAAYkB,KAAKH,MACtBG,KAAKV,gBAAgBU,KAAKF,UAC1BE,KAAKE,cAAcF,KAAKO,QACxBP,KAAKG,YAAYH,KAAKD,MACtBC,KAAKK,eAAeL,KAAKQ,Q,CAGnB,MAAAC,GACN,OACCC,EAAA,OAAAC,IAAA,2CACCC,MAAM,YACNC,IAAKb,KAAKc,MAAMjB,KAChBkB,QAASf,KAAKc,MAAMhB,SACpBkB,MAAOhB,KAAKc,MAAMP,OAClBU,IAAKjB,KAAKc,MAAMf,KAChBmB,OAAQlB,KAAKc,MAAMN,S","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as n,r as e,g as t}from"./index-c14cc40b.js";import{c as i}from"./clsx-09a06a12.js";import{n as o}from"./dev.utils-4d98f7de.js";import{i as a,w as l,t as s,l as r}from"./index-ebe5a881.js";import{I as d}from"./controller-35491a9e.js";import{c,a as h,g as u,F as f}from"./getRenderStates-0f300345.js";import{F as b}from"./FieldControlStateWrapper-6b9c9eb1.js";import{_ as p}from"./tslib.es6-1173d062.js";import{K as k}from"./Icon-8b3c5e62.js";import{I as m}from"./Input-3f54e170.js";import"./orientation-409d844a.js";import"./label-bf9966d0.js";import"./events-bad0a075.js";import"./associated.controller-22684481.js";import"./bootstrap-dcdb1765.js";import"./component-names-553d8bfa.js";import"./i18n-45224cc3.js";import"./access-and-short-key-f743a5c4.js";import"./tooltip-align-465a8590.js";import"./align-d2572387.js";import"./hide-label-8b3a8709.js";import"./Alert-8f3aaf4d.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-c0a196c8.js";import"./InternalUnderlinedBadgeText-8ef3526c.js";import"./isArray-7a60fa7f.js";const v=["button","default","switch"],g=(e,n)=>{a(e,"_checked",n)},y=(e,n)=>{a(e,"_indeterminate",n)},_=["left","right"],x=(e,n)=>{l(e,"_labelAlign",(e=>"string"==typeof e&&_.includes(e)),new Set([`KoliBriLabelAlign {${_.join(", ")}`]),n)};class w extends d{constructor(e,n,t){super(e,n,t),this.setFormAssociatedCheckboxValue=e=>{this.component._checked?this.setFormAssociatedValue(e):this.setFormAssociatedValue(null)},this.component=e}validateChecked(e){g(this.component,e),this.setFormAssociatedCheckboxValue(this.component.state._value)}validateIcons(e){l(this.component,"_icons",(e=>"object"==typeof e&&null!==e&&(s(e.checked,1)||s(e.indeterminate,1)||s(e.unchecked,1))),new Set(["InputCheckboxIcons"]),e,{hooks:{beforePatch:(e,n,t)=>{n.set("_icons",Object.assign(Object.assign({},t.state._icons),e))}}})}validateIndeterminate(e){y(this.component,e)}validateLabelAlign(e){x(this.component,e)}validateValue(e){r(this.component,"_value",e),this.setFormAssociatedCheckboxValue(this.component.state._value)}validateVariant(e){l(this.component,"_variant",(e=>"string"==typeof e&&v.includes(e)),new Set([`String {${v.join(", ")}`]),e)}componentWillLoad(){super.componentWillLoad(),this.validateChecked(this.component._checked),this.validateIcons(this.component._icons),this.validateIndeterminate(this.component._indeterminate),this.validateValue(this.component._value),this.validateVariant(this.component._variant),this.validateLabelAlign(this.component._labelAlign)}}const j=e=>{var{class:t}=e,o=p(e,["class"]);return n(k,Object.assign({class:i("kol-checkbox__icon",t)},o))},z=e=>{var{class:t}=e,o=p(e,["class"]);return n(m,Object.assign({class:i("kol-checkbox__input",t)},o,{type:"checkbox"}))},S=e=>{var t,{class:o,variant:a="default",icon:l,inputProps:s}=e,r=p(e,["class","variant","icon","inputProps"]);const d=c(null==s?void 0:s.msg,null==s?void 0:s.touched),h={[`kol-checkbox--variant-${a}`]:!0,"kol-checkbox--checked":null==s?void 0:s.checked,"kol-checkbox--indeterminate":null==s?void 0:s.indeterminate,"kol-checkbox--disabled":Boolean(null==s?void 0:s.disabled),"kol-checkbox--required":Boolean(null==s?void 0:s.required),"kol-checkbox--touched":Boolean(null==s?void 0:s.touched),[`kol-checkbox--${(null===(t=null==s?void 0:s.msg)||void 0===t?void 0:t.type)||"error"}`]:Boolean(d)};return n("label",Object.assign({class:i("kol-checkbox",h,o)},r),n(j,{label:"",icons:l}),n(z,Object.assign({},s)))};function I(e,n={}){const{ariaDescribedBy:t}=u(e),i={id:e._id,hideLabel:e._hideLabel,label:e._label,value:e._value,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:t};return"_required"in e&&(i.required=e._required),"_checked"in e&&(i.checked=e._checked),"_indeterminate"in e&&(i.indeterminate=e._indeterminate),"_touched"in e&&(i.touched=e._touched),"_msg"in e&&(i.msg=h(e._msg)),Object.assign(Object.assign({},i),n)}const A=e=>{var{state:t,inputProps:i}=e,o=p(e,["state","inputProps"]);const a=(null==t?void 0:t._variant)||"default";return n(S,Object.assign({variant:a,inputProps:I(t,i)},o))},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-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: "*";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*";\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: "input label";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: "input label" "hint hint";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: "label input";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: "label input" "hint hint";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: "";\n }\n .kol-field-control__tooltip .span-label::after {\n content: "";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: "*";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: "*";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-checkbox {\n align-items: center;\n cursor: pointer;\n display: flex;\n position: relative;\n }\n .kol-checkbox--disabled {\n cursor: not-allowed;\n }\n .kol-checkbox .kol-input {\n appearance: none;\n background-color: #fff;\n border-style: solid;\n border-width: 2px;\n cursor: inherit;\n margin: 0;\n transition: 0.5s;\n }\n .kol-checkbox .kol-input:before {\n content: "";\n }\n /**\n * Variant: Checkbox\n */\n .kol-checkbox--variant-default {\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-default .kol-icon {\n display: flex;\n inset: auto;\n position: absolute;\n z-index: 1;\n pointer-events: none;\n }\n .kol-checkbox--variant-default .kol-icon::part(icon) {\n display: none;\n }\n .kol-checkbox--variant-default .kol-input {\n width: calc(22rem / var(--kolibri-root-font-size, 16));\n height: calc(22rem / var(--kolibri-root-font-size, 16));\n }\n .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon::part(icon), .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon::part(icon) {\n display: block;\n }\n /**\n * Variant: Switch\n */\n .kol-checkbox--variant-switch {\n position: relative;\n }\n .kol-checkbox--variant-switch .kol-input {\n display: inline-block;\n height: 1.7em;\n min-width: 3.2em;\n position: relative;\n width: 3.2em;\n }\n .kol-checkbox--variant-switch .kol-input::before {\n background-color: #000;\n height: 1.2em;\n left: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\n top: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\n position: absolute;\n transition: 0.5s;\n width: 1.2em;\n }\n .kol-checkbox--variant-switch .kol-input:checked::before {\n transform: translateX(1.5em);\n }\n .kol-checkbox--variant-switch .kol-input:indeterminate::before {\n transform: translateX(0.75em);\n }\n .kol-checkbox--variant-switch .kol-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.2em;\n height: 1.2em;\n position: absolute;\n z-index: 1;\n top: 50%;\n left: calc(4rem / var(--kolibri-root-font-size, 16));\n transform: translate(0, -50%);\n transition: 0.5s;\n color: #000;\n }\n .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon {\n transform: translate(1.5em, -50%);\n }\n .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon {\n transform: translate(0.75em, -50%);\n }\n /**\n * Variant: Button\n */\n .kol-checkbox--variant-button {\n width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-button .kol-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n }\n}',B=O,V=class{getModelValue(){return this._checked?this.state._value:null}async getValue(){return this.getModelValue()}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}getFormFieldProps(){return{state:this.state,class:i("kol-input-checkbox",{"kol-input-checkbox--checked":this.state._checked,"kol-input-checkbox--indeterminate":this.state._indeterminate,[`kol-input-checkbox--variant-${this.state._variant||"default"}`]:!0,[`kol-input-checkbox--label-align-${this.state._labelAlign||"right"}`]:!0}),tooltipAlign:this._tooltipAlign,"data-role":"button"===this.state._variant?"button":void 0,alert:this.showAsAlert(),renderNoTooltip:!0}}getFieldControlProps(){return{class:i("kol-input-checkbox__field-control",{"kol-input-checkbox__field-control--checked":this.state._checked,"kol-input-checkbox__field-control--indeterminate":this.state._indeterminate,[`kol-input-checkbox__field-control--variant-${this.state._variant||"default"}`]:!0}),state:this.state}}getInputProps(){return{state:this.state,icon:this.getIcon(),inputProps:Object.assign(Object.assign({class:i({"visually-hidden":"button"===this.state._variant}),ref:this.catchRef},this.controller.onFacade),{onInput:this.onInput,onChange:this.onChange,onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1},onClick:void 0})}}getIcon(){return this.state._indeterminate?this.state._icons.indeterminate:this.state._checked?this.state._icons.checked:this.state._icons.unchecked}render(){return n(f,Object.assign({key:"73b31891162e361165df092c4c7bc413003772ad"},this.getFormFieldProps(),{renderNoLabel:!0}),n(b,Object.assign({key:"538a09b43b95e7df787dda335d15ad20627f9310"},this.getFieldControlProps(),{renderNoHint:!0}),n(A,Object.assign({key:"e6f0354200837b341d1a5d96140c6d8d1819553e"},this.getInputProps()))))}constructor(n){e(this,n),this.catchRef=e=>{this.inputRef=e},this.onInput=e=>{this._checked=!this._checked,this._indeterminate=!1;const n=this.getModelValue();this.controller.onFacade.onInput(e,!1,n),this.controller.setFormAssociatedCheckboxValue(n)},this.onChange=e=>{this.controller.onFacade.onChange(e,this.getModelValue())},this._accessKey=void 0,this._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._indeterminate=void 0,this._label=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=!0,this._variant="default",this.state={_checked:!1,_hideMsg:!1,_icons:{checked:"codicon codicon-check",indeterminate:"codicon codicon-remove",unchecked:"codicon codicon-close"},_id:`id-${o()}`,_indeterminate:!1,_label:"",_value:!0,_variant:"default",_labelAlign:"right"},this.inputHasFocus=!1,this.controller=new w(this,"checkbox",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateChecked(e){this.controller.validateChecked(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateIndeterminate(e){this.controller.validateIndeterminate(e)}validateLabel(e){this.controller.validateLabel(e)}validateLabelAlign(e){this.controller.validateLabelAlign(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}validateVariant(e){this.controller.validateVariant(e)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return t(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_checked:["validateChecked"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_indeterminate:["validateIndeterminate"],_label:["validateLabel"],_labelAlign:["validateLabelAlign"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_required:["validateRequired"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"],_variant:["validateVariant"]}}};V.style={default:B};export{V as kol_input_checkbox};
4
+ import{h as n,r as e,g as t}from"./index-2f6c3929.js";import{c as i}from"./clsx-09a06a12.js";import{n as o}from"./dev.utils-ca3cce4b.js";import{i as a,w as l,t as s,l as r}from"./index-ebe5a881.js";import{I as d}from"./controller-c6883e74.js";import{c,a as h,g as u,F as f}from"./getRenderStates-1a7401a2.js";import{F as b}from"./FieldControlStateWrapper-602a7af3.js";import{_ as p}from"./tslib.es6-1173d062.js";import{K as k}from"./Icon-a2f91629.js";import{I as m}from"./Input-324f4b1d.js";import"./orientation-409d844a.js";import"./label-bf9966d0.js";import"./events-bad0a075.js";import"./associated.controller-22684481.js";import"./bootstrap-dcdb1765.js";import"./component-names-553d8bfa.js";import"./i18n-45224cc3.js";import"./access-and-short-key-f743a5c4.js";import"./tooltip-align-465a8590.js";import"./align-d2572387.js";import"./hide-label-8b3a8709.js";import"./Alert-4f2f7115.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-7b90eeb4.js";import"./InternalUnderlinedBadgeText-2d939629.js";import"./isArray-7a60fa7f.js";const v=["button","default","switch"],g=(e,n)=>{a(e,"_checked",n)},y=(e,n)=>{a(e,"_indeterminate",n)},_=["left","right"],x=(e,n)=>{l(e,"_labelAlign",(e=>"string"==typeof e&&_.includes(e)),new Set([`KoliBriLabelAlign {${_.join(", ")}`]),n)};class w extends d{constructor(e,n,t){super(e,n,t),this.setFormAssociatedCheckboxValue=e=>{this.component._checked?this.setFormAssociatedValue(e):this.setFormAssociatedValue(null)},this.component=e}validateChecked(e){g(this.component,e),this.setFormAssociatedCheckboxValue(this.component.state._value)}validateIcons(e){l(this.component,"_icons",(e=>"object"==typeof e&&null!==e&&(s(e.checked,1)||s(e.indeterminate,1)||s(e.unchecked,1))),new Set(["InputCheckboxIcons"]),e,{hooks:{beforePatch:(e,n,t)=>{n.set("_icons",Object.assign(Object.assign({},t.state._icons),e))}}})}validateIndeterminate(e){y(this.component,e)}validateLabelAlign(e){x(this.component,e)}validateValue(e){r(this.component,"_value",e),this.setFormAssociatedCheckboxValue(this.component.state._value)}validateVariant(e){l(this.component,"_variant",(e=>"string"==typeof e&&v.includes(e)),new Set([`String {${v.join(", ")}`]),e)}componentWillLoad(){super.componentWillLoad(),this.validateChecked(this.component._checked),this.validateIcons(this.component._icons),this.validateIndeterminate(this.component._indeterminate),this.validateValue(this.component._value),this.validateVariant(this.component._variant),this.validateLabelAlign(this.component._labelAlign)}}const j=e=>{var{class:t}=e,o=p(e,["class"]);return n(k,Object.assign({class:i("kol-checkbox__icon",t)},o))},z=e=>{var{class:t}=e,o=p(e,["class"]);return n(m,Object.assign({class:i("kol-checkbox__input",t)},o,{type:"checkbox"}))},S=e=>{var t,{class:o,variant:a="default",icon:l,inputProps:s}=e,r=p(e,["class","variant","icon","inputProps"]);const d=c(null==s?void 0:s.msg,null==s?void 0:s.touched),h={[`kol-checkbox--variant-${a}`]:!0,"kol-checkbox--checked":null==s?void 0:s.checked,"kol-checkbox--indeterminate":null==s?void 0:s.indeterminate,"kol-checkbox--disabled":Boolean(null==s?void 0:s.disabled),"kol-checkbox--required":Boolean(null==s?void 0:s.required),"kol-checkbox--touched":Boolean(null==s?void 0:s.touched),[`kol-checkbox--${(null===(t=null==s?void 0:s.msg)||void 0===t?void 0:t.type)||"error"}`]:Boolean(d)};return n("label",Object.assign({class:i("kol-checkbox",h,o)},r),n(j,{label:"",icons:l}),n(z,Object.assign({},s)))};function I(e,n={}){const{ariaDescribedBy:t}=u(e),i={id:e._id,hideLabel:e._hideLabel,label:e._label,value:e._value,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:t};return"_required"in e&&(i.required=e._required),"_checked"in e&&(i.checked=e._checked),"_indeterminate"in e&&(i.indeterminate=e._indeterminate),"_touched"in e&&(i.touched=e._touched),"_msg"in e&&(i.msg=h(e._msg)),Object.assign(Object.assign({},i),n)}const A=e=>{var{state:t,inputProps:i}=e,o=p(e,["state","inputProps"]);const a=(null==t?void 0:t._variant)||"default";return n(S,Object.assign({variant:a,inputProps:I(t,i)},o))},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-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: "*";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*";\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: "input label";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: "input label" "hint hint";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: "label input";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: "label input" "hint hint";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: "";\n }\n .kol-field-control__tooltip .span-label::after {\n content: "";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: "*";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: "*";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-checkbox {\n align-items: center;\n cursor: pointer;\n display: flex;\n position: relative;\n }\n .kol-checkbox--disabled {\n cursor: not-allowed;\n }\n .kol-checkbox .kol-input {\n appearance: none;\n background-color: #fff;\n border-style: solid;\n border-width: 2px;\n cursor: inherit;\n margin: 0;\n transition: 0.5s;\n }\n .kol-checkbox .kol-input:before {\n content: "";\n }\n /**\n * Variant: Checkbox\n */\n .kol-checkbox--variant-default {\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-default .kol-icon {\n display: flex;\n inset: auto;\n position: absolute;\n z-index: 1;\n pointer-events: none;\n }\n .kol-checkbox--variant-default .kol-icon::part(icon) {\n display: none;\n }\n .kol-checkbox--variant-default .kol-input {\n width: calc(22rem / var(--kolibri-root-font-size, 16));\n height: calc(22rem / var(--kolibri-root-font-size, 16));\n }\n .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon::part(icon), .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon::part(icon) {\n display: block;\n }\n /**\n * Variant: Switch\n */\n .kol-checkbox--variant-switch {\n position: relative;\n }\n .kol-checkbox--variant-switch .kol-input {\n display: inline-block;\n height: 1.7em;\n min-width: 3.2em;\n position: relative;\n width: 3.2em;\n }\n .kol-checkbox--variant-switch .kol-input::before {\n background-color: #000;\n height: 1.2em;\n left: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\n top: calc(0.25em - (2rem / var(--kolibri-root-font-size, 16)));\n position: absolute;\n transition: 0.5s;\n width: 1.2em;\n }\n .kol-checkbox--variant-switch .kol-input:checked::before {\n transform: translateX(1.5em);\n }\n .kol-checkbox--variant-switch .kol-input:indeterminate::before {\n transform: translateX(0.75em);\n }\n .kol-checkbox--variant-switch .kol-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.2em;\n height: 1.2em;\n position: absolute;\n z-index: 1;\n top: 50%;\n left: calc(4rem / var(--kolibri-root-font-size, 16));\n transform: translate(0, -50%);\n transition: 0.5s;\n color: #000;\n }\n .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon {\n transform: translate(1.5em, -50%);\n }\n .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon {\n transform: translate(0.75em, -50%);\n }\n /**\n * Variant: Button\n */\n .kol-checkbox--variant-button {\n width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-button .kol-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n }\n}',B=O,V=class{getModelValue(){return this._checked?this.state._value:null}async getValue(){return this.getModelValue()}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}getFormFieldProps(){return{state:this.state,class:i("kol-input-checkbox",{"kol-input-checkbox--checked":this.state._checked,"kol-input-checkbox--indeterminate":this.state._indeterminate,[`kol-input-checkbox--variant-${this.state._variant||"default"}`]:!0,[`kol-input-checkbox--label-align-${this.state._labelAlign||"right"}`]:!0}),tooltipAlign:this._tooltipAlign,"data-role":"button"===this.state._variant?"button":void 0,alert:this.showAsAlert(),renderNoTooltip:!0}}getFieldControlProps(){return{class:i("kol-input-checkbox__field-control",{"kol-input-checkbox__field-control--checked":this.state._checked,"kol-input-checkbox__field-control--indeterminate":this.state._indeterminate,[`kol-input-checkbox__field-control--variant-${this.state._variant||"default"}`]:!0}),state:this.state}}getInputProps(){return{state:this.state,icon:this.getIcon(),inputProps:Object.assign(Object.assign({class:i({"visually-hidden":"button"===this.state._variant}),ref:this.catchRef},this.controller.onFacade),{onInput:this.onInput,onChange:this.onChange,onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1},onClick:void 0})}}getIcon(){return this.state._indeterminate?this.state._icons.indeterminate:this.state._checked?this.state._icons.checked:this.state._icons.unchecked}render(){return n(f,Object.assign({key:"73b31891162e361165df092c4c7bc413003772ad"},this.getFormFieldProps(),{renderNoLabel:!0}),n(b,Object.assign({key:"538a09b43b95e7df787dda335d15ad20627f9310"},this.getFieldControlProps(),{renderNoHint:!0}),n(A,Object.assign({key:"e6f0354200837b341d1a5d96140c6d8d1819553e"},this.getInputProps()))))}constructor(n){e(this,n),this.catchRef=e=>{this.inputRef=e},this.onInput=e=>{this._checked=!this._checked,this._indeterminate=!1;const n=this.getModelValue();this.controller.onFacade.onInput(e,!1,n),this.controller.setFormAssociatedCheckboxValue(n)},this.onChange=e=>{this.controller.onFacade.onChange(e,this.getModelValue())},this._accessKey=void 0,this._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._indeterminate=void 0,this._label=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=!0,this._variant="default",this.state={_checked:!1,_hideMsg:!1,_icons:{checked:"codicon codicon-check",indeterminate:"codicon codicon-remove",unchecked:"codicon codicon-close"},_id:`id-${o()}`,_indeterminate:!1,_label:"",_value:!0,_variant:"default",_labelAlign:"right"},this.inputHasFocus=!1,this.controller=new w(this,"checkbox",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateChecked(e){this.controller.validateChecked(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateIndeterminate(e){this.controller.validateIndeterminate(e)}validateLabel(e){this.controller.validateLabel(e)}validateLabelAlign(e){this.controller.validateLabelAlign(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}validateVariant(e){this.controller.validateVariant(e)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return t(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_checked:["validateChecked"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_indeterminate:["validateIndeterminate"],_label:["validateLabel"],_labelAlign:["validateLabelAlign"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_required:["validateRequired"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"],_variant:["validateVariant"]}}};V.style={default:B};export{V as kol_input_checkbox};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as n,r as t,g as e}from"./index-c14cc40b.js";import{_ as i}from"./tslib.es6-1173d062.js";import{n as o}from"./dev.utils-4d98f7de.js";import{F as a}from"./getRenderStates-0f300345.js";import{I as s}from"./InputStateWrapper-45f3da21.js";import{I as l,a as r}from"./controller-icon-4b084fbf.js";import{w as d,B as c}from"./index-ebe5a881.js";import{v as h}from"./suggestions-198125b7.js";import"./events-bad0a075.js";import"./associated.controller-22684481.js";import"./bootstrap-dcdb1765.js";import"./component-names-553d8bfa.js";import"./i18n-45224cc3.js";import"./access-and-short-key-f743a5c4.js";import"./tooltip-align-465a8590.js";import"./align-d2572387.js";import"./hide-label-8b3a8709.js";import"./label-bf9966d0.js";import"./clsx-09a06a12.js";import"./Alert-8f3aaf4d.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-c0a196c8.js";import"./InternalUnderlinedBadgeText-8ef3526c.js";import"./isArray-7a60fa7f.js";import"./Input-3f54e170.js";import"./Icon-8b3c5e62.js";import"./isObject-ffcbbb76.js";import"./icons-a9c52ed8.js";const p=["on","off"];class u extends l{constructor(t,n,e){super(t,n,e),this.component=t}validateAutoComplete(t){d(this.component,"_autoComplete",(t=>"string"==typeof t&&p.includes(t)),new Set(p),t)}validateSuggestions(t){h(this.component,t)}validateValue(t){c(this.component,"_value",t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateSuggestions(this.component._suggestions),this.validateValue(this.component._value)}}const f="/*\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}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n.kol-input-color__input--color {\n flex-grow: 1;\n}\n.kol-input-color__input--text {\n width: calc(112rem / var(--kolibri-root-font-size, 16));\n}\n.kol-input-color__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: calc(6rem / var(--kolibri-root-font-size, 16)) !important;\n}\n\n.kol-input {\n cursor: pointer;\n}\n.kol-input:disabled {\n cursor: not-allowed;\n}",m=f,b=class{async getValue(){var t;return null===(t=this.refInputText)||void 0===t?void 0:t.value}async kolFocus(){var t;null===(t=this.refInputText)||void 0===t||t.focus()}get hasSuggestions(){return Array.isArray(this.state._suggestions)&&this.state._suggestions.length>0}getFormFieldProps(){return{state:this.state,class:"kol-input-color",tooltipAlign:this._tooltipAlign,onClick:()=>{var t;return null===(t=this.refInputText)||void 0===t?void 0:t.focus()},alert:this.showAsAlert()}}getInputColorProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchColorRef,type:"color",name:this.state._name?`${this.state._name}-color`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,id:void 0,"aria-hidden":"true",tabIndex:-1,onInput:this.onColorInput})}getInputTextProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchRef,type:"text",name:this.state._name?`${this.state._name}-text`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,onInput:this.onTextInput})}getGenericInputProps(){const t=this.state,n=i(t,["_suggestions"]);return Object.assign(Object.assign({state:Object.assign(Object.assign({},n),{_suggestions:[]})},this.controller.onFacade),{onBlur:this.onBlur,onFocus:this.onFocus})}render(){return n(a,Object.assign({key:"9819e75ec79e2f433b9891c65e8adc76a6060ff7"},this.getFormFieldProps()),n(r,{key:"39d921772be67e90f4318065eaa301de73c55de1",state:this.state,class:"kol-input-color__inputs-wrapper"},n("div",{key:"1344ed8e921f4a0b5e3f19b641e143087cf0c5ad",class:"kol-input-color__inputs-wrapper"},n(s,Object.assign({key:"4268a7202c520334cc00909cd830a600857e7a9b",class:"kol-input-color__input kol-input-color__input--color"},this.getInputColorProps())),n(s,Object.assign({key:"0dcb7f557b5b54992f59264f09e3d6f1669256e3",class:"kol-input-color__input kol-input-color__input--text"},this.getInputTextProps())))))}constructor(n){t(this,n),this.catchRef=t=>{this.refInputText=t},this.catchColorRef=t=>{this.refInputColor=t},this.onBlur=t=>{this.controller.onFacade.onBlur(t),this.inputHasFocus=!1},this.onFocus=t=>{this.controller.onFacade.onFocus(t),this.inputHasFocus=!0},this.onColorInput=t=>{const n=t.target.value;this.state._value=n,this.refInputText&&(this.refInputText.value=n),this.controller.onFacade.onInput(t)},this.onTextInput=t=>{let n=t.target.value;n.startsWith("#")||(n=`#${n}`),this._value=n,this.refInputColor&&(this.refInputColor.value=n),this.controller.onFacade.onInput(t)},this._accessKey=void 0,this._autoComplete=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_autoComplete:"off",_hideMsg:!1,_id:`id-${o()}`,_label:"",_suggestions:[]},this.inputHasFocus=!1,this.controller=new u(this,"color",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAutoComplete(t){this.controller.validateAutoComplete(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateHideMsg(t){this.controller.validateHideMsg(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMsg(t){this.controller.validateMsg(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validateShortKey(t){this.controller.validateShortKey(t)}validateSmartButton(t){this.controller.validateSmartButton(t)}validateSuggestions(t){this.controller.validateSuggestions(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentDidLoad(){!this._value&&this.refInputColor&&(this._value=this.refInputColor.value)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return e(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};b.style={default:m};export{b as kol_input_color};
4
+ import{h as n,r as t,g as e}from"./index-2f6c3929.js";import{_ as i}from"./tslib.es6-1173d062.js";import{n as o}from"./dev.utils-ca3cce4b.js";import{F as a}from"./getRenderStates-1a7401a2.js";import{I as s}from"./InputStateWrapper-e0c888e4.js";import{I as l,a as r}from"./controller-icon-6d59bc84.js";import{w as d,B as c}from"./index-ebe5a881.js";import{v as h}from"./suggestions-198125b7.js";import"./events-bad0a075.js";import"./associated.controller-22684481.js";import"./bootstrap-dcdb1765.js";import"./component-names-553d8bfa.js";import"./i18n-45224cc3.js";import"./access-and-short-key-f743a5c4.js";import"./tooltip-align-465a8590.js";import"./align-d2572387.js";import"./hide-label-8b3a8709.js";import"./label-bf9966d0.js";import"./clsx-09a06a12.js";import"./Alert-4f2f7115.js";import"./i18n-260f0fe9.js";import"./bem-e4c3a2e6.js";import"./browser-f629a56a.js";import"./Heading-7b90eeb4.js";import"./InternalUnderlinedBadgeText-2d939629.js";import"./isArray-7a60fa7f.js";import"./Input-324f4b1d.js";import"./Icon-a2f91629.js";import"./isObject-ffcbbb76.js";import"./icons-a9c52ed8.js";const p=["on","off"];class u extends l{constructor(t,n,e){super(t,n,e),this.component=t}validateAutoComplete(t){d(this.component,"_autoComplete",(t=>"string"==typeof t&&p.includes(t)),new Set(p),t)}validateSuggestions(t){h(this.component,t)}validateValue(t){c(this.component,"_value",t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateSuggestions(this.component._suggestions),this.validateValue(this.component._value)}}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 :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}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n.kol-input-color__input--color {\n flex-grow: 1;\n}\n.kol-input-color__input--text {\n width: calc(112rem / var(--kolibri-root-font-size, 16));\n}\n.kol-input-color__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: calc(6rem / var(--kolibri-root-font-size, 16)) !important;\n}\n\n.kol-input {\n cursor: pointer;\n}\n.kol-input:disabled {\n cursor: not-allowed;\n}",f=m,b=class{async getValue(){var t;return null===(t=this.refInputText)||void 0===t?void 0:t.value}async kolFocus(){var t;null===(t=this.refInputText)||void 0===t||t.focus()}get hasSuggestions(){return Array.isArray(this.state._suggestions)&&this.state._suggestions.length>0}getFormFieldProps(){return{state:this.state,class:"kol-input-color",tooltipAlign:this._tooltipAlign,onClick:()=>{var t;return null===(t=this.refInputText)||void 0===t?void 0:t.focus()},alert:this.showAsAlert()}}getInputColorProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchColorRef,type:"color",name:this.state._name?`${this.state._name}-color`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,id:void 0,"aria-hidden":"true",tabIndex:-1,onInput:this.onColorInput})}getInputTextProps(){return Object.assign(Object.assign({},this.getGenericInputProps()),{ref:this.catchRef,type:"text",name:this.state._name?`${this.state._name}-text`:void 0,list:this.hasSuggestions?`${this.state._id}-list`:void 0,onInput:this.onTextInput})}getGenericInputProps(){const t=this.state,n=i(t,["_suggestions"]);return Object.assign(Object.assign({state:Object.assign(Object.assign({},n),{_suggestions:[]})},this.controller.onFacade),{onBlur:this.onBlur,onFocus:this.onFocus})}render(){return n(a,Object.assign({key:"9819e75ec79e2f433b9891c65e8adc76a6060ff7"},this.getFormFieldProps()),n(r,{key:"39d921772be67e90f4318065eaa301de73c55de1",state:this.state,class:"kol-input-color__inputs-wrapper"},n("div",{key:"1344ed8e921f4a0b5e3f19b641e143087cf0c5ad",class:"kol-input-color__inputs-wrapper"},n(s,Object.assign({key:"4268a7202c520334cc00909cd830a600857e7a9b",class:"kol-input-color__input kol-input-color__input--color"},this.getInputColorProps())),n(s,Object.assign({key:"0dcb7f557b5b54992f59264f09e3d6f1669256e3",class:"kol-input-color__input kol-input-color__input--text"},this.getInputTextProps())))))}constructor(n){t(this,n),this.catchRef=t=>{this.refInputText=t},this.catchColorRef=t=>{this.refInputColor=t},this.onBlur=t=>{this.controller.onFacade.onBlur(t),this.inputHasFocus=!1},this.onFocus=t=>{this.controller.onFacade.onFocus(t),this.inputHasFocus=!0},this.onColorInput=t=>{const n=t.target.value;this.state._value=n,this.refInputText&&(this.refInputText.value=n),this.controller.onFacade.onInput(t)},this.onTextInput=t=>{let n=t.target.value;n.startsWith("#")||(n=`#${n}`),this._value=n,this.refInputColor&&(this.refInputColor.value=n),this.controller.onFacade.onInput(t)},this._accessKey=void 0,this._autoComplete=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._id=void 0,this._label=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this.state={_autoComplete:"off",_hideMsg:!1,_id:`id-${o()}`,_label:"",_suggestions:[]},this.inputHasFocus=!1,this.controller=new u(this,"color",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAutoComplete(t){this.controller.validateAutoComplete(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateHideMsg(t){this.controller.validateHideMsg(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMsg(t){this.controller.validateMsg(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validateShortKey(t){this.controller.validateShortKey(t)}validateSmartButton(t){this.controller.validateSmartButton(t)}validateSuggestions(t){this.controller.validateSuggestions(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentDidLoad(){!this._value&&this.refInputColor&&(this._value=this.refInputColor.value)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return e(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};b.style={default:f};export{b as kol_input_color};