@public-ui/components 4.1.2-rc.5 → 4.1.2-rc.6

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 (373) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +1 -1
  7. package/dist/cjs/{Alert-BgxP0Wv8.js → Alert-BZ91JHkU.js} +1 -1
  8. package/dist/cjs/{Alert-BgxP0Wv8.js.map → Alert-BZ91JHkU.js.map} +1 -1
  9. package/dist/cjs/{Collapsible-x5_vlMxk.js → Collapsible-BxCBps9o.js} +1 -1
  10. package/dist/cjs/{Collapsible-x5_vlMxk.js.map → Collapsible-BxCBps9o.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-BNX8pGTZ.js → CustomSuggestionsOptionsGroup-DodXMzH0.js} +1 -1
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-BNX8pGTZ.js.map → CustomSuggestionsOptionsGroup-DodXMzH0.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-DPAdGdHr.js → FieldControlStateWrapper-BnU3WEJy.js} +1 -1
  14. package/dist/cjs/{FieldControlStateWrapper-DPAdGdHr.js.map → FieldControlStateWrapper-BnU3WEJy.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-KyPbu-td.js → FormFieldStateWrapper-BmSqwy9o.js} +1 -1
  16. package/dist/cjs/{FormFieldStateWrapper-KyPbu-td.js.map → FormFieldStateWrapper-BmSqwy9o.js.map} +1 -1
  17. package/dist/cjs/{Heading-B6PHtb2V.js → Heading-DA_rIKjI.js} +1 -1
  18. package/dist/cjs/{Heading-B6PHtb2V.js.map → Heading-DA_rIKjI.js.map} +1 -1
  19. package/dist/cjs/{Input-uVTxDpOu.js → Input-Dy3oWo4g.js} +1 -1
  20. package/dist/cjs/{Input-uVTxDpOu.js.map → Input-Dy3oWo4g.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-DS_gASLi.js → InputStateWrapper-8WX7Zycl.js} +1 -1
  22. package/dist/cjs/{InputStateWrapper-DS_gASLi.js.map → InputStateWrapper-8WX7Zycl.js.map} +1 -1
  23. package/dist/cjs/{app-globals-ChkjEg1e.js → app-globals-BYgfWenM.js} +1 -1
  24. package/dist/cjs/{app-globals-ChkjEg1e.js.map → app-globals-BYgfWenM.js.map} +1 -1
  25. package/dist/cjs/{component-_DwAx_X-.js → component-DvZSHaKX.js} +1 -1
  26. package/dist/cjs/{component-_DwAx_X-.js.map → component-DvZSHaKX.js.map} +1 -1
  27. package/dist/cjs/{component-s9gwr6Zh.js → component-WbRKbO3b.js} +1 -1
  28. package/dist/cjs/{component-s9gwr6Zh.js.map → component-WbRKbO3b.js.map} +1 -1
  29. package/dist/cjs/{controller-CBGnEQvj.js → controller-CizrmxJP.js} +1 -1
  30. package/dist/cjs/{controller-CBGnEQvj.js.map → controller-CizrmxJP.js.map} +1 -1
  31. package/dist/cjs/controller-ClPqMip7.js +4 -0
  32. package/dist/cjs/{controller-Buev-mCB.js.map → controller-ClPqMip7.js.map} +1 -1
  33. package/dist/cjs/{controller-icon-C1cLzUae.js → controller-icon-BVE0DlDr.js} +1 -1
  34. package/dist/cjs/{controller-icon-C1cLzUae.js.map → controller-icon-BVE0DlDr.js.map} +1 -1
  35. package/dist/cjs/{controller-DqriYfU5.js → controller-mwsI5YgP.js} +1 -1
  36. package/dist/cjs/{controller-DqriYfU5.js.map → controller-mwsI5YgP.js.map} +1 -1
  37. package/dist/cjs/{controller-DyoC_wu2.js → controller-ykFWHSug.js} +1 -1
  38. package/dist/cjs/{controller-DyoC_wu2.js.map → controller-ykFWHSug.js.map} +1 -1
  39. package/dist/cjs/{dev.utils-Qu8Yt7sC.js → dev.utils-CpycRC6f.js} +1 -1
  40. package/dist/cjs/{dev.utils-Qu8Yt7sC.js.map → dev.utils-CpycRC6f.js.map} +1 -1
  41. package/dist/cjs/{devtools-BLUTf50X.js → devtools-CDgVcBlx.js} +1 -1
  42. package/dist/cjs/{devtools-BLUTf50X.js.map → devtools-CDgVcBlx.js.map} +1 -1
  43. package/dist/cjs/{index-CK2nrnns.js → index-CQHh_Ytu.js} +1 -1
  44. package/dist/cjs/{index-CK2nrnns.js.map → index-CQHh_Ytu.js.map} +1 -1
  45. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  110. package/dist/cjs/kolibri.cjs.js +1 -1
  111. package/dist/cjs/loader.cjs.js +1 -1
  112. package/dist/cjs/test-component.cjs.entry.js +1 -1
  113. package/dist/components/kol-abbr.js +1 -1
  114. package/dist/components/kol-accordion.js +1 -1
  115. package/dist/components/kol-alert.js +1 -1
  116. package/dist/components/kol-badge.js +1 -1
  117. package/dist/components/kol-breadcrumb.js +1 -1
  118. package/dist/components/kol-button-link.js +1 -1
  119. package/dist/components/kol-button.js +1 -1
  120. package/dist/components/kol-card.js +1 -1
  121. package/dist/components/kol-combobox.js +1 -1
  122. package/dist/components/kol-details.js +1 -1
  123. package/dist/components/kol-dialog.js +1 -1
  124. package/dist/components/kol-drawer.js +1 -1
  125. package/dist/components/kol-form.js +1 -1
  126. package/dist/components/kol-icon.js +1 -1
  127. package/dist/components/kol-input-checkbox.js +1 -1
  128. package/dist/components/kol-input-color.js +1 -1
  129. package/dist/components/kol-input-date.js +1 -1
  130. package/dist/components/kol-input-email.js +1 -1
  131. package/dist/components/kol-input-file.js +1 -1
  132. package/dist/components/kol-input-number.js +1 -1
  133. package/dist/components/kol-input-password.js +1 -1
  134. package/dist/components/kol-input-radio.js +1 -1
  135. package/dist/components/kol-input-range.js +1 -1
  136. package/dist/components/kol-input-text.js +1 -1
  137. package/dist/components/kol-link-button.js +1 -1
  138. package/dist/components/kol-link.js +1 -1
  139. package/dist/components/kol-modal.js +1 -1
  140. package/dist/components/kol-nav.js +1 -1
  141. package/dist/components/kol-pagination.js +1 -1
  142. package/dist/components/kol-popover-button.js +1 -1
  143. package/dist/components/kol-select.js +1 -1
  144. package/dist/components/kol-single-select.js +1 -1
  145. package/dist/components/kol-skip-nav.js +1 -1
  146. package/dist/components/kol-split-button.js +1 -1
  147. package/dist/components/kol-table-stateful.js +1 -1
  148. package/dist/components/kol-table-stateless.js +1 -1
  149. package/dist/components/kol-tabs.js +1 -1
  150. package/dist/components/kol-textarea.js +1 -1
  151. package/dist/components/kol-toast-container.js +1 -1
  152. package/dist/components/kol-toolbar.js +1 -1
  153. package/dist/components/kol-tree-item.js +1 -1
  154. package/dist/esm/{Alert-CqPvVKJP.js → Alert-Yti79ERR.js} +1 -1
  155. package/dist/esm/{Alert-CqPvVKJP.js.map → Alert-Yti79ERR.js.map} +1 -1
  156. package/dist/esm/{Collapsible-DiUh8-C2.js → Collapsible-BRJLq6PX.js} +1 -1
  157. package/dist/esm/{Collapsible-DiUh8-C2.js.map → Collapsible-BRJLq6PX.js.map} +1 -1
  158. package/dist/esm/{CustomSuggestionsOptionsGroup-CEQ4Jh_V.js → CustomSuggestionsOptionsGroup-CnEX3emc.js} +1 -1
  159. package/dist/{kolibri/CustomSuggestionsOptionsGroup-CEQ4Jh_V.js.map → esm/CustomSuggestionsOptionsGroup-CnEX3emc.js.map} +1 -1
  160. package/dist/esm/{FieldControlStateWrapper-Df96njQj.js → FieldControlStateWrapper-DrDyeOtu.js} +1 -1
  161. package/dist/{kolibri/FieldControlStateWrapper-Df96njQj.js.map → esm/FieldControlStateWrapper-DrDyeOtu.js.map} +1 -1
  162. package/dist/esm/{FormFieldStateWrapper-CQSqcO-4.js → FormFieldStateWrapper-BZKfIiSI.js} +1 -1
  163. package/dist/{kolibri/FormFieldStateWrapper-CQSqcO-4.js.map → esm/FormFieldStateWrapper-BZKfIiSI.js.map} +1 -1
  164. package/dist/esm/{Heading-CdHsieJ-.js → Heading-D7bFHALO.js} +1 -1
  165. package/dist/{kolibri/Heading-CdHsieJ-.js.map → esm/Heading-D7bFHALO.js.map} +1 -1
  166. package/dist/esm/{Input-BArbuEyo.js → Input-CAM62iia.js} +1 -1
  167. package/dist/esm/{Input-BArbuEyo.js.map → Input-CAM62iia.js.map} +1 -1
  168. package/dist/esm/{InputStateWrapper-DhDCsPkX.js → InputStateWrapper-GKFKmZnX.js} +1 -1
  169. package/dist/{kolibri/InputStateWrapper-DhDCsPkX.js.map → esm/InputStateWrapper-GKFKmZnX.js.map} +1 -1
  170. package/dist/esm/{app-globals-VgeyWEXm.js → app-globals-C3bfnBG-.js} +1 -1
  171. package/dist/esm/{app-globals-VgeyWEXm.js.map → app-globals-C3bfnBG-.js.map} +1 -1
  172. package/dist/esm/{component-PkMaDN8_.js → component-CPMwSMOM.js} +1 -1
  173. package/dist/esm/{component-PkMaDN8_.js.map → component-CPMwSMOM.js.map} +1 -1
  174. package/dist/esm/component-N8_W7bhu.js +4 -0
  175. package/dist/esm/{component-vO2V8iwo.js.map → component-N8_W7bhu.js.map} +1 -1
  176. package/dist/esm/{controller-Dh_-cU0e.js → controller-BTvuwmhH.js} +1 -1
  177. package/dist/{kolibri/controller-Dh_-cU0e.js.map → esm/controller-BTvuwmhH.js.map} +1 -1
  178. package/dist/esm/{controller-uSwkpkI8.js → controller-CsK1UaP8.js} +1 -1
  179. package/dist/esm/{controller-uSwkpkI8.js.map → controller-CsK1UaP8.js.map} +1 -1
  180. package/dist/esm/{controller-C2GYOLd8.js → controller-CzRnQolh.js} +1 -1
  181. package/dist/esm/{controller-C2GYOLd8.js.map → controller-CzRnQolh.js.map} +1 -1
  182. package/dist/esm/controller-DCU1hWxp.js +4 -0
  183. package/dist/esm/{controller-CuHRCi5n.js.map → controller-DCU1hWxp.js.map} +1 -1
  184. package/dist/esm/{controller-icon-Be5G1l9V.js → controller-icon-SbmKNSTK.js} +1 -1
  185. package/dist/esm/{controller-icon-Be5G1l9V.js.map → controller-icon-SbmKNSTK.js.map} +1 -1
  186. package/dist/esm/{dev.utils-C2fl1BE9.js → dev.utils-98sTB6ui.js} +1 -1
  187. package/dist/esm/{dev.utils-C2fl1BE9.js.map → dev.utils-98sTB6ui.js.map} +1 -1
  188. package/dist/esm/{devtools-PdEqnP9h.js → devtools-B_1WJGco.js} +1 -1
  189. package/dist/{kolibri/devtools-PdEqnP9h.js.map → esm/devtools-B_1WJGco.js.map} +1 -1
  190. package/dist/esm/{index-BOCBxrrO.js → index-t9mjSqi3.js} +1 -1
  191. package/dist/{kolibri/index-BOCBxrrO.js.map → esm/index-t9mjSqi3.js.map} +1 -1
  192. package/dist/esm/kol-abbr.entry.js +1 -1
  193. package/dist/esm/kol-accordion.entry.js +1 -1
  194. package/dist/esm/kol-alert-wc.entry.js +1 -1
  195. package/dist/esm/kol-alert.entry.js +1 -1
  196. package/dist/esm/kol-avatar.entry.js +1 -1
  197. package/dist/esm/kol-badge.entry.js +1 -1
  198. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  199. package/dist/esm/kol-button-link.entry.js +1 -1
  200. package/dist/esm/kol-button-wc.entry.js +1 -1
  201. package/dist/esm/kol-button.entry.js +1 -1
  202. package/dist/esm/kol-card-wc.entry.js +1 -1
  203. package/dist/esm/kol-card.entry.js +1 -1
  204. package/dist/esm/kol-click-button.entry.js +1 -1
  205. package/dist/esm/kol-combobox.entry.js +1 -1
  206. package/dist/esm/kol-details.entry.js +1 -1
  207. package/dist/esm/kol-dialog-wc.entry.js +1 -1
  208. package/dist/esm/kol-dialog.entry.js +1 -1
  209. package/dist/esm/kol-drawer.entry.js +1 -1
  210. package/dist/esm/kol-form.entry.js +1 -1
  211. package/dist/esm/kol-heading.entry.js +1 -1
  212. package/dist/esm/kol-icon.entry.js +1 -1
  213. package/dist/esm/kol-image.entry.js +1 -1
  214. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  215. package/dist/esm/kol-input-color.entry.js +1 -1
  216. package/dist/esm/kol-input-date.entry.js +1 -1
  217. package/dist/esm/kol-input-email.entry.js +1 -1
  218. package/dist/esm/kol-input-file.entry.js +1 -1
  219. package/dist/esm/kol-input-number.entry.js +1 -1
  220. package/dist/esm/kol-input-password.entry.js +1 -1
  221. package/dist/esm/kol-input-radio.entry.js +1 -1
  222. package/dist/esm/kol-input-range.entry.js +1 -1
  223. package/dist/esm/kol-input-text.entry.js +1 -1
  224. package/dist/esm/kol-kolibri.entry.js +1 -1
  225. package/dist/esm/kol-link-button.entry.js +1 -1
  226. package/dist/esm/kol-link-wc.entry.js +1 -1
  227. package/dist/esm/kol-link.entry.js +1 -1
  228. package/dist/esm/kol-modal.entry.js +1 -1
  229. package/dist/esm/kol-nav.entry.js +1 -1
  230. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  231. package/dist/esm/kol-pagination.entry.js +1 -1
  232. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  233. package/dist/esm/kol-popover-button.entry.js +1 -1
  234. package/dist/esm/kol-progress.entry.js +1 -1
  235. package/dist/esm/kol-quote.entry.js +1 -1
  236. package/dist/esm/kol-select-wc.entry.js +1 -1
  237. package/dist/esm/kol-select.entry.js +1 -1
  238. package/dist/esm/kol-single-select.entry.js +1 -1
  239. package/dist/esm/kol-skeleton.entry.js +1 -1
  240. package/dist/esm/kol-skip-nav.entry.js +1 -1
  241. package/dist/esm/kol-spin.entry.js +1 -1
  242. package/dist/esm/kol-split-button.entry.js +1 -1
  243. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  244. package/dist/esm/kol-table-stateful.entry.js +1 -1
  245. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  246. package/dist/esm/kol-table-stateless.entry.js +1 -1
  247. package/dist/esm/kol-tabs.entry.js +1 -1
  248. package/dist/esm/kol-textarea.entry.js +1 -1
  249. package/dist/esm/kol-toast-container.entry.js +1 -1
  250. package/dist/esm/kol-toolbar.entry.js +1 -1
  251. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  252. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  253. package/dist/esm/kol-tree-item.entry.js +1 -1
  254. package/dist/esm/kol-tree-wc.entry.js +1 -1
  255. package/dist/esm/kol-tree.entry.js +1 -1
  256. package/dist/esm/kol-version.entry.js +1 -1
  257. package/dist/esm/kolibri.js +1 -1
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/test-component.entry.js +1 -1
  260. package/dist/kolibri/{Alert-CqPvVKJP.js → Alert-Yti79ERR.js} +1 -1
  261. package/dist/kolibri/{Alert-CqPvVKJP.js.map → Alert-Yti79ERR.js.map} +1 -1
  262. package/dist/kolibri/{Collapsible-DiUh8-C2.js → Collapsible-BRJLq6PX.js} +1 -1
  263. package/dist/kolibri/{Collapsible-DiUh8-C2.js.map → Collapsible-BRJLq6PX.js.map} +1 -1
  264. package/dist/kolibri/{CustomSuggestionsOptionsGroup-CEQ4Jh_V.js → CustomSuggestionsOptionsGroup-CnEX3emc.js} +1 -1
  265. package/dist/{esm/CustomSuggestionsOptionsGroup-CEQ4Jh_V.js.map → kolibri/CustomSuggestionsOptionsGroup-CnEX3emc.js.map} +1 -1
  266. package/dist/kolibri/FieldControlStateWrapper-DrDyeOtu.js +4 -0
  267. package/dist/{esm/FieldControlStateWrapper-Df96njQj.js.map → kolibri/FieldControlStateWrapper-DrDyeOtu.js.map} +1 -1
  268. package/dist/kolibri/{FormFieldStateWrapper-CQSqcO-4.js → FormFieldStateWrapper-BZKfIiSI.js} +1 -1
  269. package/dist/{esm/FormFieldStateWrapper-CQSqcO-4.js.map → kolibri/FormFieldStateWrapper-BZKfIiSI.js.map} +1 -1
  270. package/dist/kolibri/Heading-D7bFHALO.js +4 -0
  271. package/dist/{esm/Heading-CdHsieJ-.js.map → kolibri/Heading-D7bFHALO.js.map} +1 -1
  272. package/dist/kolibri/Input-CAM62iia.js +4 -0
  273. package/dist/kolibri/{Input-BArbuEyo.js.map → Input-CAM62iia.js.map} +1 -1
  274. package/dist/kolibri/{InputStateWrapper-DhDCsPkX.js → InputStateWrapper-GKFKmZnX.js} +1 -1
  275. package/dist/{esm/InputStateWrapper-DhDCsPkX.js.map → kolibri/InputStateWrapper-GKFKmZnX.js.map} +1 -1
  276. package/dist/kolibri/{app-globals-VgeyWEXm.js → app-globals-C3bfnBG-.js} +1 -1
  277. package/dist/kolibri/{app-globals-VgeyWEXm.js.map → app-globals-C3bfnBG-.js.map} +1 -1
  278. package/dist/kolibri/{component-PkMaDN8_.js → component-CPMwSMOM.js} +1 -1
  279. package/dist/kolibri/{component-PkMaDN8_.js.map → component-CPMwSMOM.js.map} +1 -1
  280. package/dist/kolibri/component-N8_W7bhu.js +4 -0
  281. package/dist/kolibri/{component-vO2V8iwo.js.map → component-N8_W7bhu.js.map} +1 -1
  282. package/dist/kolibri/{controller-Dh_-cU0e.js → controller-BTvuwmhH.js} +1 -1
  283. package/dist/{esm/controller-Dh_-cU0e.js.map → kolibri/controller-BTvuwmhH.js.map} +1 -1
  284. package/dist/kolibri/{controller-uSwkpkI8.js → controller-CsK1UaP8.js} +1 -1
  285. package/dist/kolibri/{controller-uSwkpkI8.js.map → controller-CsK1UaP8.js.map} +1 -1
  286. package/dist/kolibri/{controller-C2GYOLd8.js → controller-CzRnQolh.js} +1 -1
  287. package/dist/kolibri/{controller-C2GYOLd8.js.map → controller-CzRnQolh.js.map} +1 -1
  288. package/dist/kolibri/{controller-CuHRCi5n.js → controller-DCU1hWxp.js} +1 -1
  289. package/dist/kolibri/{controller-CuHRCi5n.js.map → controller-DCU1hWxp.js.map} +1 -1
  290. package/dist/kolibri/{controller-icon-Be5G1l9V.js → controller-icon-SbmKNSTK.js} +1 -1
  291. package/dist/kolibri/{controller-icon-Be5G1l9V.js.map → controller-icon-SbmKNSTK.js.map} +1 -1
  292. package/dist/kolibri/{dev.utils-C2fl1BE9.js → dev.utils-98sTB6ui.js} +1 -1
  293. package/dist/kolibri/{dev.utils-C2fl1BE9.js.map → dev.utils-98sTB6ui.js.map} +1 -1
  294. package/dist/kolibri/{devtools-PdEqnP9h.js → devtools-B_1WJGco.js} +1 -1
  295. package/dist/{esm/devtools-PdEqnP9h.js.map → kolibri/devtools-B_1WJGco.js.map} +1 -1
  296. package/dist/kolibri/{index-BOCBxrrO.js → index-t9mjSqi3.js} +1 -1
  297. package/dist/{esm/index-BOCBxrrO.js.map → kolibri/index-t9mjSqi3.js.map} +1 -1
  298. package/dist/kolibri/kol-abbr.entry.js +1 -1
  299. package/dist/kolibri/kol-accordion.entry.js +1 -1
  300. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  301. package/dist/kolibri/kol-alert.entry.js +1 -1
  302. package/dist/kolibri/kol-avatar.entry.js +1 -1
  303. package/dist/kolibri/kol-badge.entry.js +1 -1
  304. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  305. package/dist/kolibri/kol-button-link.entry.js +1 -1
  306. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  307. package/dist/kolibri/kol-button.entry.js +1 -1
  308. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  309. package/dist/kolibri/kol-card.entry.js +1 -1
  310. package/dist/kolibri/kol-click-button.entry.js +1 -1
  311. package/dist/kolibri/kol-combobox.entry.js +1 -1
  312. package/dist/kolibri/kol-details.entry.js +1 -1
  313. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  314. package/dist/kolibri/kol-dialog.entry.js +1 -1
  315. package/dist/kolibri/kol-drawer.entry.js +1 -1
  316. package/dist/kolibri/kol-form.entry.js +1 -1
  317. package/dist/kolibri/kol-heading.entry.js +1 -1
  318. package/dist/kolibri/kol-icon.entry.js +1 -1
  319. package/dist/kolibri/kol-image.entry.js +1 -1
  320. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  321. package/dist/kolibri/kol-input-color.entry.js +1 -1
  322. package/dist/kolibri/kol-input-date.entry.js +1 -1
  323. package/dist/kolibri/kol-input-email.entry.js +1 -1
  324. package/dist/kolibri/kol-input-file.entry.js +1 -1
  325. package/dist/kolibri/kol-input-number.entry.js +1 -1
  326. package/dist/kolibri/kol-input-password.entry.js +1 -1
  327. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  328. package/dist/kolibri/kol-input-range.entry.js +1 -1
  329. package/dist/kolibri/kol-input-text.entry.js +1 -1
  330. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  331. package/dist/kolibri/kol-link-button.entry.js +1 -1
  332. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  333. package/dist/kolibri/kol-link.entry.js +1 -1
  334. package/dist/kolibri/kol-modal.entry.js +1 -1
  335. package/dist/kolibri/kol-nav.entry.js +1 -1
  336. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  337. package/dist/kolibri/kol-pagination.entry.js +1 -1
  338. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  339. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  340. package/dist/kolibri/kol-progress.entry.js +1 -1
  341. package/dist/kolibri/kol-quote.entry.js +1 -1
  342. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  343. package/dist/kolibri/kol-select.entry.js +1 -1
  344. package/dist/kolibri/kol-single-select.entry.js +1 -1
  345. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  346. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  347. package/dist/kolibri/kol-spin.entry.js +1 -1
  348. package/dist/kolibri/kol-split-button.entry.js +1 -1
  349. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  350. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  351. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  352. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  353. package/dist/kolibri/kol-tabs.entry.js +1 -1
  354. package/dist/kolibri/kol-textarea.entry.js +1 -1
  355. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  356. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  357. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  358. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  359. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  360. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  361. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  362. package/dist/kolibri/kol-tree.entry.js +1 -1
  363. package/dist/kolibri/kol-version.entry.js +1 -1
  364. package/dist/kolibri/kolibri.esm.js +1 -1
  365. package/dist/kolibri/test-component.entry.js +1 -1
  366. package/package.json +2 -2
  367. package/dist/cjs/controller-Buev-mCB.js +0 -4
  368. package/dist/esm/component-vO2V8iwo.js +0 -4
  369. package/dist/esm/controller-CuHRCi5n.js +0 -4
  370. package/dist/kolibri/FieldControlStateWrapper-Df96njQj.js +0 -4
  371. package/dist/kolibri/Heading-CdHsieJ-.js +0 -4
  372. package/dist/kolibri/Input-BArbuEyo.js +0 -4
  373. package/dist/kolibri/component-vO2V8iwo.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),componentNames=require("./component-names-5aGrrIj9.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774619801488"); /* IE9*/\n src: url("kolicons.eot?t=1774619801488#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774619801488") format("woff2"), url("kolicons.woff?t=1774619801488") format("woff"), url("kolicons.ttf?t=1774619801488") format("truetype"), url("kolicons.svg?t=1774619801488#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\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(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\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__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\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:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*"/"";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\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 min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-select {\n background-color: transparent;\n width: 100%;\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: "✓ ";\n }\n .kol-select {\n /* needed hack for vertical alignment */\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - 16 * 1rem / var(--kolibri-root-font-size, 16)) / 2) 0.5em;\n }\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n container: paging/inline-size;\n }\n .kol-pagination__navigation-list {\n display: inline-flex;\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n align-items: center;\n list-style: none;\n }\n .kol-pagination__separator:before {\n content: "•••";\n }\n .kol-pagination__page-size-select .kol-form-field-select {\n align-items: center;\n grid-template-columns: 1fr max-content;\n }\n @container paging (width < 600px) {\n .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers),\n .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) {\n display: none;\n }\n }\n}',KolPagination=class{constructor(n){index.registerInstance(this,n),this._boundaryCount=1,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}render(){return index.h(componentNames.KolPaginationWcTag,{key:"bc9c9f8febdf832f1c067967714956125dd74e4b",_boundaryCount:this._boundaryCount,_label:this._label,_customClass:this._customClass,_on:this._on,_hasButtons:this._hasButtons,_page:this._page,_pageSize:this._pageSize,_pageSizeOptions:this._pageSizeOptions,_siblingCount:this._siblingCount,_tooltipAlign:this._tooltipAlign,_max:this._max})}};KolPagination.style={default:defaultStyleCss},exports.kol_pagination=KolPagination;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),componentNames=require("./component-names-5aGrrIj9.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\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(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\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__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\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:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*"/"";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\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 min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-select {\n background-color: transparent;\n width: 100%;\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: "✓ ";\n }\n .kol-select {\n /* needed hack for vertical alignment */\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - 16 * 1rem / var(--kolibri-root-font-size, 16)) / 2) 0.5em;\n }\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n container: paging/inline-size;\n }\n .kol-pagination__navigation-list {\n display: inline-flex;\n margin: 0;\n padding: 0;\n flex-wrap: wrap;\n align-items: center;\n list-style: none;\n }\n .kol-pagination__separator:before {\n content: "•••";\n }\n .kol-pagination__page-size-select .kol-form-field-select {\n align-items: center;\n grid-template-columns: 1fr max-content;\n }\n @container paging (width < 600px) {\n .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers),\n .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) {\n display: none;\n }\n }\n}',KolPagination=class{constructor(n){index.registerInstance(this,n),this._boundaryCount=1,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}render(){return index.h(componentNames.KolPaginationWcTag,{key:"bc9c9f8febdf832f1c067967714956125dd74e4b",_boundaryCount:this._boundaryCount,_label:this._label,_customClass:this._customClass,_on:this._on,_hasButtons:this._hasButtons,_page:this._page,_pageSize:this._pageSize,_pageSizeOptions:this._pageSizeOptions,_siblingCount:this._siblingCount,_tooltipAlign:this._tooltipAlign,_max:this._max})}};KolPagination.style={default:defaultStyleCss},exports.kol_pagination=KolPagination;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),componentNames=require("./component-names-5aGrrIj9.js"),tslib_es6=require("./tslib.es6-7DbU_BSw.js"),clsx=require("./clsx-Bm_HQUnh.js"),alignFloatingElements=require("./align-floating-elements-BokToY9Z.js");require("./common-BDQKBMeS.js");var inline=require("./inline-r6pzdXAo.js"),align=require("./align-DvUkg_hj.js"),dev_utils=require("./dev.utils-Qu8Yt7sC.js"),elementFocus=require("./element-focus-WQBz86oY.js");const validatePopoverAlign=(e,t)=>{align.validateAlignment(e,"_popoverAlign",t)},PopoverFC=e=>{const{align:t="bottom",popoverRef:o,arrowRef:i,class:s}=e,n=tslib_es6.__rest(e,["align","popoverRef","arrowRef","class"]);return index.h("div",Object.assign({},n,{class:clsx.clsx("kol-popover",s),ref:o,popover:"auto"}),index.h("div",{class:clsx.clsx("kol-popover__arrow",`kol-popover__arrow--${t}`),ref:i}),index.h("slot",null))};class PopoverController{constructor(){this.show=!1,this.align="bottom",this.setPopoverElementRef=e=>{this.popoverElement=e,this.arrowElement=null==e?void 0:e.querySelector(".kol-popover__arrow")},this.setTriggerElement=e=>{this.triggerElement=e},this.setAlign=e=>{this.align=e},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await alignFloatingElements.alignFloatingElements({align:this.align,referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=alignFloatingElements.autoUpdate(this.triggerElement,this.popoverElement,()=>{this.alignPopover()}))}}setShow(e){if(this.show=e,!this.popoverElement)return;const t=()=>{var e;if(!this.popoverElement)return;const t=this.popoverElement.matches(":popover-open");if(this.show){if(!t)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(e){}}else if(t)try{this.popoverElement.hidePopover(),null===(e=this.cleanupAutoUpdate)||void 0===e||e.call(this),this.cleanupAutoUpdate=void 0}catch(e){}};this.popoverElement.isConnected?t():requestAnimationFrame(()=>{t()})}destroy(){var e;null===(e=this.cleanupAutoUpdate)||void 0===e||e.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}}const KolPopoverButtonWc=class{constructor(e){index.registerInstance(this,e),this.popoverCtrl=new PopoverController,this.popoverId=`popover-${dev_utils.nonce()}`,this.setPopoverElementRef=e=>{this.popoverElement=e,this.popoverCtrl.setPopoverElementRef(e)},this.setButtonElementRef=e=>{this.refButton=e,e&&this.popoverCtrl.setTriggerElement(e)},this.on={onClick:()=>{this.popoverCtrl.setShow(!this.popoverOpen)}},this.state={_label:"",_popoverAlign:"bottom",_inline:!1},this.popoverOpen=!1,this.handleToggle=e=>{this.popoverOpen="open"===e.newState},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._popoverAlign="bottom",this._tooltipAlign="top",this._type="button",this._variant="normal"}async hidePopover(){this.popoverCtrl.setShow(!1)}async showPopover(){this.popoverCtrl.setShow(!0)}async focus(){return elementFocus.setFocus(this.refButton)}render(){return index.h(index.Fragment,null,index.h(componentNames.KolButtonWcTag,{key:"88e4a778fbf3d32fbee36106fddb8e64ac7b3495",class:clsx.clsx("kol-popover-button",{"kol-popover-button--open":this.popoverOpen,"kol-popover-button--inline":!0===this.state._inline,"kol-popover-button--standalone":!1===this.state._inline}),_accessKey:this._accessKey,_ariaControls:this.popoverId,_ariaDescription:this._ariaDescription,_ariaExpanded:this.popoverOpen,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_inline:this._inline,_label:this._label,_name:this._name,_on:this.on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant,ref:this.setButtonElementRef},index.h("slot",{key:"a64d7ddf1ea8a6b1f536e723f2bb61cb17f4cfab",name:"expert",slot:"expert"})),index.h(PopoverFC,{key:"b717fa3c67316c1f4f58c6473853b2ea6e003436",align:this.state._popoverAlign||"bottom",popoverRef:this.setPopoverElementRef,class:"kol-popover-button__popover",id:this.popoverId},index.h("slot",{key:"aa0a7a1750a3bb4731d724d5d3294a44ec14a15b"})))}validateInline(e){inline.validateInline(this,e,{defaultValue:!1})}validatePopoverAlign(e){validatePopoverAlign(this,e),e&&this.popoverCtrl.setAlign(e)}componentWillLoad(){this.validateInline(this._inline),this.validatePopoverAlign(this._popoverAlign)}componentDidRender(){this.popoverElement&&this.popoverElement.addEventListener("toggle",this.handleToggle),this.state._popoverAlign&&this.popoverCtrl.setAlign(this.state._popoverAlign)}disconnectedCallback(){this.popoverElement&&this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverCtrl.destroy(),this.popoverElement=void 0}static get watchers(){return{_inline:["validateInline"],_popoverAlign:["validatePopoverAlign"]}}};exports.kol_popover_button_wc=KolPopoverButtonWc;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),componentNames=require("./component-names-5aGrrIj9.js"),tslib_es6=require("./tslib.es6-7DbU_BSw.js"),clsx=require("./clsx-Bm_HQUnh.js"),alignFloatingElements=require("./align-floating-elements-BokToY9Z.js");require("./common-BDQKBMeS.js");var inline=require("./inline-r6pzdXAo.js"),align=require("./align-DvUkg_hj.js"),dev_utils=require("./dev.utils-CpycRC6f.js"),elementFocus=require("./element-focus-WQBz86oY.js");const validatePopoverAlign=(e,t)=>{align.validateAlignment(e,"_popoverAlign",t)},PopoverFC=e=>{const{align:t="bottom",popoverRef:o,arrowRef:i,class:s}=e,n=tslib_es6.__rest(e,["align","popoverRef","arrowRef","class"]);return index.h("div",Object.assign({},n,{class:clsx.clsx("kol-popover",s),ref:o,popover:"auto"}),index.h("div",{class:clsx.clsx("kol-popover__arrow",`kol-popover__arrow--${t}`),ref:i}),index.h("slot",null))};class PopoverController{constructor(){this.show=!1,this.align="bottom",this.setPopoverElementRef=e=>{this.popoverElement=e,this.arrowElement=null==e?void 0:e.querySelector(".kol-popover__arrow")},this.setTriggerElement=e=>{this.triggerElement=e},this.setAlign=e=>{this.align=e},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await alignFloatingElements.alignFloatingElements({align:this.align,referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=alignFloatingElements.autoUpdate(this.triggerElement,this.popoverElement,()=>{this.alignPopover()}))}}setShow(e){if(this.show=e,!this.popoverElement)return;const t=()=>{var e;if(!this.popoverElement)return;const t=this.popoverElement.matches(":popover-open");if(this.show){if(!t)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(e){}}else if(t)try{this.popoverElement.hidePopover(),null===(e=this.cleanupAutoUpdate)||void 0===e||e.call(this),this.cleanupAutoUpdate=void 0}catch(e){}};this.popoverElement.isConnected?t():requestAnimationFrame(()=>{t()})}destroy(){var e;null===(e=this.cleanupAutoUpdate)||void 0===e||e.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}}const KolPopoverButtonWc=class{constructor(e){index.registerInstance(this,e),this.popoverCtrl=new PopoverController,this.popoverId=`popover-${dev_utils.nonce()}`,this.setPopoverElementRef=e=>{this.popoverElement=e,this.popoverCtrl.setPopoverElementRef(e)},this.setButtonElementRef=e=>{this.refButton=e,e&&this.popoverCtrl.setTriggerElement(e)},this.on={onClick:()=>{this.popoverCtrl.setShow(!this.popoverOpen)}},this.state={_label:"",_popoverAlign:"bottom",_inline:!1},this.popoverOpen=!1,this.handleToggle=e=>{this.popoverOpen="open"===e.newState},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._popoverAlign="bottom",this._tooltipAlign="top",this._type="button",this._variant="normal"}async hidePopover(){this.popoverCtrl.setShow(!1)}async showPopover(){this.popoverCtrl.setShow(!0)}async focus(){return elementFocus.setFocus(this.refButton)}render(){return index.h(index.Fragment,null,index.h(componentNames.KolButtonWcTag,{key:"88e4a778fbf3d32fbee36106fddb8e64ac7b3495",class:clsx.clsx("kol-popover-button",{"kol-popover-button--open":this.popoverOpen,"kol-popover-button--inline":!0===this.state._inline,"kol-popover-button--standalone":!1===this.state._inline}),_accessKey:this._accessKey,_ariaControls:this.popoverId,_ariaDescription:this._ariaDescription,_ariaExpanded:this.popoverOpen,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_id:this._id,_inline:this._inline,_label:this._label,_name:this._name,_on:this.on,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant,ref:this.setButtonElementRef},index.h("slot",{key:"a64d7ddf1ea8a6b1f536e723f2bb61cb17f4cfab",name:"expert",slot:"expert"})),index.h(PopoverFC,{key:"b717fa3c67316c1f4f58c6473853b2ea6e003436",align:this.state._popoverAlign||"bottom",popoverRef:this.setPopoverElementRef,class:"kol-popover-button__popover",id:this.popoverId},index.h("slot",{key:"aa0a7a1750a3bb4731d724d5d3294a44ec14a15b"})))}validateInline(e){inline.validateInline(this,e,{defaultValue:!1})}validatePopoverAlign(e){validatePopoverAlign(this,e),e&&this.popoverCtrl.setAlign(e)}componentWillLoad(){this.validateInline(this._inline),this.validatePopoverAlign(this._popoverAlign)}componentDidRender(){this.popoverElement&&this.popoverElement.addEventListener("toggle",this.handleToggle),this.state._popoverAlign&&this.popoverCtrl.setAlign(this.state._popoverAlign)}disconnectedCallback(){this.popoverElement&&this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverCtrl.destroy(),this.popoverElement=void 0}static get watchers(){return{_inline:["validateInline"],_popoverAlign:["validatePopoverAlign"]}}};exports.kol_popover_button_wc=KolPopoverButtonWc;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),componentNames=require("./component-names-5aGrrIj9.js"),elementFocus=require("./element-focus-WQBz86oY.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774619801488"); /* IE9*/\n src: url("kolicons.eot?t=1774619801488#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774619801488") format("woff2"), url("kolicons.woff?t=1774619801488") format("woff"), url("kolicons.ttf?t=1774619801488") format("truetype"), url("kolicons.svg?t=1774619801488#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-popover-button__popover {\n margin: 0;\n padding: 0;\n border: 0;\n }\n .kol-popover-button--inline .kol-popover-button__button {\n display: inline;\n }\n .kol-popover {\n opacity: 0;\n transition: 0.2s ease-out opacity;\n }\n .kol-popover-button--open + .kol-popover {\n opacity: 1;\n }\n .kol-popover-button--open .kol-button__tooltip {\n display: none;\n }\n .kol-popover-button--inline {\n display: inline-block;\n }\n .kol-popover-button--inline .kol-button {\n min-width: 0;\n min-height: 1em;\n }\n}',KolPopoverButton=class{constructor(n){index.registerInstance(this,n),this.setRef=n=>{this.ref=n},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._popoverAlign="bottom",this._tooltipAlign="top",this._type="button",this._variant="normal"}async hidePopover(){var n;null===(n=this.ref)||void 0===n||n.hidePopover()}async showPopover(){var n;null===(n=this.ref)||void 0===n||n.showPopover()}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.ref))}render(){return index.h(componentNames.KolPopoverButtonWcTag,{key:"c23cfecac27ef0322483968dd59817d4ffe83e24",ref:this.setRef,_accessKey:this._accessKey,_ariaDescription:this._ariaDescription,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_popoverAlign:this._popoverAlign,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"604c665d1a204675e99a57114afe15ce6aa3d45d",name:"expert",slot:"expert"}),index.h("slot",{key:"97aaf0fb8e4f96be21a5b1c18c007eb929ceeb1b"}))}get host(){return index.getElement(this)}};KolPopoverButton.style={default:defaultStyleCss},exports.kol_popover_button=KolPopoverButton;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),componentNames=require("./component-names-5aGrrIj9.js"),elementFocus=require("./element-focus-WQBz86oY.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-popover-button__popover {\n margin: 0;\n padding: 0;\n border: 0;\n }\n .kol-popover-button--inline .kol-popover-button__button {\n display: inline;\n }\n .kol-popover {\n opacity: 0;\n transition: 0.2s ease-out opacity;\n }\n .kol-popover-button--open + .kol-popover {\n opacity: 1;\n }\n .kol-popover-button--open .kol-button__tooltip {\n display: none;\n }\n .kol-popover-button--inline {\n display: inline-block;\n }\n .kol-popover-button--inline .kol-button {\n min-width: 0;\n min-height: 1em;\n }\n}',KolPopoverButton=class{constructor(n){index.registerInstance(this,n),this.setRef=n=>{this.ref=n},this._disabled=!1,this._hideLabel=!1,this._inline=!1,this._popoverAlign="bottom",this._tooltipAlign="top",this._type="button",this._variant="normal"}async hidePopover(){var n;null===(n=this.ref)||void 0===n||n.hidePopover()}async showPopover(){var n;null===(n=this.ref)||void 0===n||n.showPopover()}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.ref))}render(){return index.h(componentNames.KolPopoverButtonWcTag,{key:"c23cfecac27ef0322483968dd59817d4ffe83e24",ref:this.setRef,_accessKey:this._accessKey,_ariaDescription:this._ariaDescription,_customClass:this._customClass,_disabled:this._disabled,_hideLabel:this._hideLabel,_icons:this._icons,_inline:this._inline,_label:this._label,_name:this._name,_popoverAlign:this._popoverAlign,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_type:this._type,_value:this._value,_variant:this._variant},index.h("slot",{key:"604c665d1a204675e99a57114afe15ce6aa3d45d",name:"expert",slot:"expert"}),index.h("slot",{key:"97aaf0fb8e4f96be21a5b1c18c007eb929ceeb1b"}))}get host(){return index.getElement(this)}};KolPopoverButton.style={default:defaultStyleCss},exports.kol_popover_button=KolPopoverButton;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),baseWebComponent=require("./base-web-component-B9aGMyyU.js");require("./common-BDQKBMeS.js");var label=require("./label-BF7V8pKT.js"),normalizers=require("./normalizers-CAkJKmom.js");require("./_Uint8Array-H2CXBET6.js"),require("./isArray-BOIOdEQh.js"),require("./isObject-CyNHuTNs.js");const maxProp=normalizers.createPropDefinition("max",100,normalizers.normalizeNumber,e=>e>0),unitProp=normalizers.createPropDefinition("unit","%",normalizers.normalizeString,e=>e.length>0),clampedNumberValueProp=normalizers.createDependentPropDefinition("value",0,(e,n)=>{const r=normalizers.normalizeNumber(e);return r<n.min?n.min:r>n.max?n.max:r},e=>e>=0),progressVariantOptions=["bar","cycle"],variantProgressProp=normalizers.createPropDefinition("variant","bar",e=>{const n=normalizers.normalizeString(e);if(progressVariantOptions.includes(n))return n;throw new Error(`Invalid progress variant: ${n}`)},()=>!0),FULL_CIRCLE=342,CycleSvg=({max:e,value:n})=>index.h("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},index.h("circle",{class:"kol-progress__cycle-background",cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),index.h("circle",{class:"kol-progress__cycle-whitespace",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),index.h("circle",{class:"kol-progress__cycle-border",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-whitespace",cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-border",cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-progress",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(n/e*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),BarSvg=({max:e,value:n})=>{const r=n/e*100;return index.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},index.h("rect",{class:"kol-progress__bar-background",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),index.h("rect",{class:"kol-progress__bar-border",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),index.h("rect",{class:"kol-progress__bar-progress",x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${r}% - 4px)`}}))},createProgressSVG=(e,n,r)=>{switch(e){case"cycle":return index.h(CycleSvg,{max:n,value:r});case"bar":return index.h(BarSvg,{max:n,value:r});default:throw new Error(`Progress variant ${e} not implemented.`)}},ProgressFC=e=>{const{label:n,max:r,unit:t,value:o,variant:a,liveValue:i}=e,l="%"===t,s=l?`${Math.round(i/r*100)}`:i,c=l?Math.round(o/r*100):o,d=`${`${(l?100:r)+1}`.length}ch`;return index.h("div",{class:"kol-progress"},index.h("div",{"aria-hidden":"true",class:{"kol-progress__cycle":"cycle"===a,"kol-progress__bar":"bar"===a}},"bar"===a&&n&&index.h("div",{class:"kol-progress__bar-label"},n),createProgressSVG(a,r,o),"cycle"===a&&index.h("div",{class:"kol-progress__cycle-text"},n&&index.h("div",{class:"kol-progress__cycle-label"},n),index.h("div",{class:"kol-progress__cycle-value"},`${c} ${t}`)),"bar"===a&&index.h("div",{class:"kol-progress__bar-value",style:{width:d}},c),"bar"===a&&index.h("div",{class:"kol-progress__bar-unit"},t)),index.h("progress",{class:"visually-hidden","aria-busy":o<r?"true":"false",max:r,value:o}),index.h("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},l?`${s} %`:`${s} von ${r} ${t}`))},progressPropsConfig={optional:[label.labelProp,unitProp,variantProgressProp],required:[maxProp,clampedNumberValueProp]};class ProgressController extends baseWebComponent.BaseController{constructor(e,n){super(progressPropsConfig,e,n)}componentWillLoad(e){const{label:n,max:r,unit:t,value:o,variant:a}=e;this.watchLabel(n),this.watchMax(r),this.watchUnit(t),this.watchValue(o),this.watchVariant(a),this.setState("liveValue",this.getRenderProp("value")),this.startLiveValueInterval()}watchLabel(e){label.labelProp.apply(e,e=>{this.setRenderProp("label",e)})}watchMax(e){maxProp.apply(e,e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})}watchUnit(e){unitProp.apply(e,e=>{this.setRenderProp("unit",e)})}watchValue(e){this.setRawProp("value",e),clampedNumberValueProp.apply(e,e=>{this.setRenderProp("value",e)},{min:0,max:this.getRenderProp("max")})}watchVariant(e){variantProgressProp.apply(e,e=>{this.setRenderProp("variant",e)})}startLiveValueInterval(){this.interval=setInterval(()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)},5e3)}destroy(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}}const defaultStyleCss="/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-progress__bar {\n display: grid;\n align-items: center;\n grid-template-areas: \"LABEL LABEL LABEL\" \"BAR VALUE UNIT\";\n grid-template-columns: 1fr auto;\n }\n .kol-progress__bar-label {\n grid-column-end: 2;\n grid-area: LABEL;\n }\n .kol-progress__bar svg {\n grid-area: BAR;\n }\n .kol-progress__bar-value {\n grid-area: VALUE;\n text-align: right;\n }\n .kol-progress__bar-unit {\n grid-area: UNIT;\n }\n .kol-progress__bar-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__bar-background {\n fill: lightgray;\n stroke: white;\n }\n .kol-progress__bar-progress {\n fill: #0075ff;\n stroke: transparent;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__bar-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n .kol-progress__cycle {\n display: grid;\n align-content: center;\n justify-items: center;\n grid-template-areas: \"ALL\";\n grid-template-columns: auto;\n }\n .kol-progress__cycle > * {\n grid-area: ALL;\n }\n .kol-progress__cycle-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: x-small;\n text-align: center;\n }\n .kol-progress__cycle-text * {\n background-color: white;\n }\n .kol-progress__cycle-background {\n fill: transparent;\n stroke: lightgray;\n }\n .kol-progress__cycle-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__cycle-whitespace {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-progress {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n fill: transparent;\n stroke: #0075ff;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__cycle-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n}",KolProgress=class extends baseWebComponent.BaseWebComponent{constructor(e){super(),index.registerInstance(this,e),this.ctrl=new ProgressController(this.setState,this.getState),this.liveValue=0}watchLabel(e){this.ctrl.watchLabel(e)}watchMax(e){this.ctrl.watchMax(e)}watchUnit(e){this.ctrl.watchUnit(e)}watchValue(e){this.ctrl.watchValue(e)}watchVariant(e){this.ctrl.watchVariant(e)}componentWillLoad(){this.ctrl.componentWillLoad({label:this._label,max:this._max,unit:this._unit,value:this._value,variant:this._variant})}disconnectedCallback(){this.ctrl.destroy()}render(){return index.h(index.Host,{key:"f4ac31d34bcf5b79af35229f3ffea6243af399a6"},index.h(ProgressFC,{key:"587e065337158c4301d523f2d2330ce1c46b7bbc",label:this.ctrl.getRenderProp("label"),max:this.ctrl.getRenderProp("max"),unit:this.ctrl.getRenderProp("unit"),value:this.ctrl.getRenderProp("value"),variant:this.ctrl.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:["watchLabel"],_max:["watchMax"],_unit:["watchUnit"],_value:["watchValue"],_variant:["watchVariant"]}}};KolProgress.style={default:defaultStyleCss},exports.kol_progress=KolProgress;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),baseWebComponent=require("./base-web-component-B9aGMyyU.js");require("./common-BDQKBMeS.js");var label=require("./label-BF7V8pKT.js"),normalizers=require("./normalizers-CAkJKmom.js");require("./_Uint8Array-H2CXBET6.js"),require("./isArray-BOIOdEQh.js"),require("./isObject-CyNHuTNs.js");const maxProp=normalizers.createPropDefinition("max",100,normalizers.normalizeNumber,e=>e>0),unitProp=normalizers.createPropDefinition("unit","%",normalizers.normalizeString,e=>e.length>0),clampedNumberValueProp=normalizers.createDependentPropDefinition("value",0,(e,n)=>{const r=normalizers.normalizeNumber(e);return r<n.min?n.min:r>n.max?n.max:r},e=>e>=0),progressVariantOptions=["bar","cycle"],variantProgressProp=normalizers.createPropDefinition("variant","bar",e=>{const n=normalizers.normalizeString(e);if(progressVariantOptions.includes(n))return n;throw new Error(`Invalid progress variant: ${n}`)},()=>!0),FULL_CIRCLE=342,CycleSvg=({max:e,value:n})=>index.h("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},index.h("circle",{class:"kol-progress__cycle-background",cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),index.h("circle",{class:"kol-progress__cycle-whitespace",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),index.h("circle",{class:"kol-progress__cycle-border",cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-whitespace",cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-border",cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),index.h("circle",{class:"kol-progress__cycle-progress",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(n/e*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),BarSvg=({max:e,value:n})=>{const r=n/e*100;return index.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},index.h("rect",{class:"kol-progress__bar-background",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),index.h("rect",{class:"kol-progress__bar-border",x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),index.h("rect",{class:"kol-progress__bar-progress",x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${r}% - 4px)`}}))},createProgressSVG=(e,n,r)=>{switch(e){case"cycle":return index.h(CycleSvg,{max:n,value:r});case"bar":return index.h(BarSvg,{max:n,value:r});default:throw new Error(`Progress variant ${e} not implemented.`)}},ProgressFC=e=>{const{label:n,max:r,unit:t,value:o,variant:a,liveValue:i}=e,l="%"===t,s=l?`${Math.round(i/r*100)}`:i,c=l?Math.round(o/r*100):o,d=`${`${(l?100:r)+1}`.length}ch`;return index.h("div",{class:"kol-progress"},index.h("div",{"aria-hidden":"true",class:{"kol-progress__cycle":"cycle"===a,"kol-progress__bar":"bar"===a}},"bar"===a&&n&&index.h("div",{class:"kol-progress__bar-label"},n),createProgressSVG(a,r,o),"cycle"===a&&index.h("div",{class:"kol-progress__cycle-text"},n&&index.h("div",{class:"kol-progress__cycle-label"},n),index.h("div",{class:"kol-progress__cycle-value"},`${c} ${t}`)),"bar"===a&&index.h("div",{class:"kol-progress__bar-value",style:{width:d}},c),"bar"===a&&index.h("div",{class:"kol-progress__bar-unit"},t)),index.h("progress",{class:"visually-hidden","aria-busy":o<r?"true":"false",max:r,value:o}),index.h("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},l?`${s} %`:`${s} von ${r} ${t}`))},progressPropsConfig={optional:[label.labelProp,unitProp,variantProgressProp],required:[maxProp,clampedNumberValueProp]};class ProgressController extends baseWebComponent.BaseController{constructor(e,n){super(progressPropsConfig,e,n)}componentWillLoad(e){const{label:n,max:r,unit:t,value:o,variant:a}=e;this.watchLabel(n),this.watchMax(r),this.watchUnit(t),this.watchValue(o),this.watchVariant(a),this.setState("liveValue",this.getRenderProp("value")),this.startLiveValueInterval()}watchLabel(e){label.labelProp.apply(e,e=>{this.setRenderProp("label",e)})}watchMax(e){maxProp.apply(e,e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})}watchUnit(e){unitProp.apply(e,e=>{this.setRenderProp("unit",e)})}watchValue(e){this.setRawProp("value",e),clampedNumberValueProp.apply(e,e=>{this.setRenderProp("value",e)},{min:0,max:this.getRenderProp("max")})}watchVariant(e){variantProgressProp.apply(e,e=>{this.setRenderProp("variant",e)})}startLiveValueInterval(){this.interval=setInterval(()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)},5e3)}destroy(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}}const defaultStyleCss="/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-progress__bar {\n display: grid;\n align-items: center;\n grid-template-areas: \"LABEL LABEL LABEL\" \"BAR VALUE UNIT\";\n grid-template-columns: 1fr auto;\n }\n .kol-progress__bar-label {\n grid-column-end: 2;\n grid-area: LABEL;\n }\n .kol-progress__bar svg {\n grid-area: BAR;\n }\n .kol-progress__bar-value {\n grid-area: VALUE;\n text-align: right;\n }\n .kol-progress__bar-unit {\n grid-area: UNIT;\n }\n .kol-progress__bar-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__bar-background {\n fill: lightgray;\n stroke: white;\n }\n .kol-progress__bar-progress {\n fill: #0075ff;\n stroke: transparent;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__bar-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n .kol-progress__cycle {\n display: grid;\n align-content: center;\n justify-items: center;\n grid-template-areas: \"ALL\";\n grid-template-columns: auto;\n }\n .kol-progress__cycle > * {\n grid-area: ALL;\n }\n .kol-progress__cycle-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: x-small;\n text-align: center;\n }\n .kol-progress__cycle-text * {\n background-color: white;\n }\n .kol-progress__cycle-background {\n fill: transparent;\n stroke: lightgray;\n }\n .kol-progress__cycle-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__cycle-whitespace {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-progress {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n fill: transparent;\n stroke: #0075ff;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__cycle-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n}",KolProgress=class extends baseWebComponent.BaseWebComponent{constructor(e){super(),index.registerInstance(this,e),this.ctrl=new ProgressController(this.setState,this.getState),this.liveValue=0}watchLabel(e){this.ctrl.watchLabel(e)}watchMax(e){this.ctrl.watchMax(e)}watchUnit(e){this.ctrl.watchUnit(e)}watchValue(e){this.ctrl.watchValue(e)}watchVariant(e){this.ctrl.watchVariant(e)}componentWillLoad(){this.ctrl.componentWillLoad({label:this._label,max:this._max,unit:this._unit,value:this._value,variant:this._variant})}disconnectedCallback(){this.ctrl.destroy()}render(){return index.h(index.Host,{key:"f4ac31d34bcf5b79af35229f3ffea6243af399a6"},index.h(ProgressFC,{key:"587e065337158c4301d523f2d2330ce1c46b7bbc",label:this.ctrl.getRenderProp("label"),max:this.ctrl.getRenderProp("max"),unit:this.ctrl.getRenderProp("unit"),value:this.ctrl.getRenderProp("value"),variant:this.ctrl.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:["watchLabel"],_max:["watchMax"],_unit:["watchUnit"],_value:["watchValue"],_variant:["watchVariant"]}}};KolProgress.style={default:defaultStyleCss},exports.kol_progress=KolProgress;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),baseWebComponent=require("./base-web-component-B9aGMyyU.js"),componentNames=require("./component-names-5aGrrIj9.js"),bemRegistry=require("./bem-registry-BD-sGSzk.js");require("./common-BDQKBMeS.js");var normalizers=require("./normalizers-CAkJKmom.js"),label=require("./label-BF7V8pKT.js");require("./_Uint8Array-H2CXBET6.js"),require("./isArray-BOIOdEQh.js"),require("./isObject-CyNHuTNs.js");const hrefProp=normalizers.createPropDefinition("href","",normalizers.normalizeString,e=>"string"==typeof e),quoteProp=normalizers.createPropDefinition("quote","",normalizers.normalizeString),quoteBem=bemRegistry.bem.forBlock("kol-quote"),BEM_CLASS_QUOTE__BLOCKQUOTE=quoteBem("blockquote"),BEM_CLASS_QUOTE__CITE=quoteBem("cite"),BEM_CLASS_QUOTE__FIGCAPTION=quoteBem("figcaption"),BEM_CLASS_QUOTE__QUOTE=quoteBem("quote"),QuoteFC=e=>{const{href:n,label:t,quote:o,variant:i}=e,r=""===o,a=quoteBem({[i]:!0});return index.h("figure",{class:a},"block"===i?index.h("blockquote",{class:BEM_CLASS_QUOTE__BLOCKQUOTE,cite:n},o,index.h("span",{"aria-hidden":r?void 0:"true",hidden:!r},index.h("slot",{name:"expert"}))):index.h("q",{class:BEM_CLASS_QUOTE__QUOTE,cite:n},o,index.h("span",{"aria-hidden":r?void 0:"true",hidden:!r},index.h("slot",{name:"expert"}))),"string"==typeof t&&t.length>0&&index.h("figcaption",{class:BEM_CLASS_QUOTE__FIGCAPTION},index.h("cite",{class:BEM_CLASS_QUOTE__CITE},index.h(componentNames.KolLinkTag,{_href:n,_label:t,_target:"_blank"}))))},quotePropsConfig={optional:[label.labelProp,baseWebComponent.variantQuoteProp],required:[hrefProp,quoteProp]};class QuoteController extends baseWebComponent.BaseController{constructor(e,n){super(quotePropsConfig,e,n)}componentWillLoad(e){const{href:n,label:t,quote:o,variant:i}=e;this.watchHref(n),this.watchLabel(t),this.watchQuote(o),this.watchVariant(i)}watchHref(e){hrefProp.apply(e,e=>{this.setRenderProp("href",e)})}watchLabel(e){label.labelProp.apply(e,e=>{this.setRenderProp("label",e)})}watchQuote(e){quoteProp.apply(e,e=>{this.setRenderProp("quote",e)})}watchVariant(e){baseWebComponent.variantQuoteProp.apply(e,e=>{this.setRenderProp("variant",e)})}}const defaultStyleCss="@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-quote {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__cite::before {\n content: \"—\";\n }\n .kol-quote--block .kol-quote__figcaption {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__blockquote::before {\n content: open-quote;\n }\n .kol-quote__blockquote::after {\n content: close-quote;\n }\n}",KolQuote=class extends baseWebComponent.BaseWebComponent{constructor(e){super(),index.registerInstance(this,e),this.ctrl=new QuoteController(this.setState,this.getState),this._variant="inline"}watchHref(e){this.ctrl.watchHref(e)}watchLabel(e){this.ctrl.watchLabel(e)}watchQuote(e){this.ctrl.watchQuote(e)}watchVariant(e){this.ctrl.watchVariant(e)}componentWillLoad(){this.ctrl.componentWillLoad({href:this._href,label:this._label,quote:this._quote,variant:this._variant})}render(){return index.h(index.Host,{key:"f447a4d3e7350d1bef5337fe61c098d0d916c44b"},index.h(QuoteFC,{key:"3f62e1b79d24030ab8011debe385a2b2c145e578",href:this.ctrl.getRenderProp("href"),label:this.ctrl.getRenderProp("label"),quote:this.ctrl.getRenderProp("quote"),variant:this.ctrl.getRenderProp("variant")}))}static get watchers(){return{_href:["watchHref"],_label:["watchLabel"],_quote:["watchQuote"],_variant:["watchVariant"]}}};KolQuote.style={default:defaultStyleCss},exports.kol_quote=KolQuote;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),baseWebComponent=require("./base-web-component-B9aGMyyU.js"),componentNames=require("./component-names-5aGrrIj9.js"),bemRegistry=require("./bem-registry-BD-sGSzk.js");require("./common-BDQKBMeS.js");var normalizers=require("./normalizers-CAkJKmom.js"),label=require("./label-BF7V8pKT.js");require("./_Uint8Array-H2CXBET6.js"),require("./isArray-BOIOdEQh.js"),require("./isObject-CyNHuTNs.js");const hrefProp=normalizers.createPropDefinition("href","",normalizers.normalizeString,e=>"string"==typeof e),quoteProp=normalizers.createPropDefinition("quote","",normalizers.normalizeString),quoteBem=bemRegistry.bem.forBlock("kol-quote"),BEM_CLASS_QUOTE__BLOCKQUOTE=quoteBem("blockquote"),BEM_CLASS_QUOTE__CITE=quoteBem("cite"),BEM_CLASS_QUOTE__FIGCAPTION=quoteBem("figcaption"),BEM_CLASS_QUOTE__QUOTE=quoteBem("quote"),QuoteFC=e=>{const{href:n,label:t,quote:o,variant:i}=e,r=""===o,a=quoteBem({[i]:!0});return index.h("figure",{class:a},"block"===i?index.h("blockquote",{class:BEM_CLASS_QUOTE__BLOCKQUOTE,cite:n},o,index.h("span",{"aria-hidden":r?void 0:"true",hidden:!r},index.h("slot",{name:"expert"}))):index.h("q",{class:BEM_CLASS_QUOTE__QUOTE,cite:n},o,index.h("span",{"aria-hidden":r?void 0:"true",hidden:!r},index.h("slot",{name:"expert"}))),"string"==typeof t&&t.length>0&&index.h("figcaption",{class:BEM_CLASS_QUOTE__FIGCAPTION},index.h("cite",{class:BEM_CLASS_QUOTE__CITE},index.h(componentNames.KolLinkTag,{_href:n,_label:t,_target:"_blank"}))))},quotePropsConfig={optional:[label.labelProp,baseWebComponent.variantQuoteProp],required:[hrefProp,quoteProp]};class QuoteController extends baseWebComponent.BaseController{constructor(e,n){super(quotePropsConfig,e,n)}componentWillLoad(e){const{href:n,label:t,quote:o,variant:i}=e;this.watchHref(n),this.watchLabel(t),this.watchQuote(o),this.watchVariant(i)}watchHref(e){hrefProp.apply(e,e=>{this.setRenderProp("href",e)})}watchLabel(e){label.labelProp.apply(e,e=>{this.setRenderProp("label",e)})}watchQuote(e){quoteProp.apply(e,e=>{this.setRenderProp("quote",e)})}watchVariant(e){baseWebComponent.variantQuoteProp.apply(e,e=>{this.setRenderProp("variant",e)})}}const defaultStyleCss="@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-quote {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__cite::before {\n content: \"—\";\n }\n .kol-quote--block .kol-quote__figcaption {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__blockquote::before {\n content: open-quote;\n }\n .kol-quote__blockquote::after {\n content: close-quote;\n }\n}",KolQuote=class extends baseWebComponent.BaseWebComponent{constructor(e){super(),index.registerInstance(this,e),this.ctrl=new QuoteController(this.setState,this.getState),this._variant="inline"}watchHref(e){this.ctrl.watchHref(e)}watchLabel(e){this.ctrl.watchLabel(e)}watchQuote(e){this.ctrl.watchQuote(e)}watchVariant(e){this.ctrl.watchVariant(e)}componentWillLoad(){this.ctrl.componentWillLoad({href:this._href,label:this._label,quote:this._quote,variant:this._variant})}render(){return index.h(index.Host,{key:"f447a4d3e7350d1bef5337fe61c098d0d916c44b"},index.h(QuoteFC,{key:"3f62e1b79d24030ab8011debe385a2b2c145e578",href:this.ctrl.getRenderProp("href"),label:this.ctrl.getRenderProp("label"),quote:this.ctrl.getRenderProp("quote"),variant:this.ctrl.getRenderProp("variant")}))}static get watchers(){return{_href:["watchHref"],_label:["watchLabel"],_quote:["watchQuote"],_variant:["watchVariant"]}}};KolQuote.style={default:defaultStyleCss},exports.kol_quote=KolQuote;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),clsx=require("./clsx-Bm_HQUnh.js"),FormFieldStateWrapper=require("./FormFieldStateWrapper-KyPbu-td.js"),controllerIcon=require("./controller-icon-C1cLzUae.js"),tslib_es6=require("./tslib.es6-7DbU_BSw.js"),common=require("./common-BDQKBMeS.js"),dev_utils=require("./dev.utils-Qu8Yt7sC.js"),elementFocus=require("./element-focus-WQBz86oY.js"),controller$1=require("./controller-CsN2zb60.js"),multiple=require("./multiple-CPAnJfuQ.js"),controller=require("./controller-CBGnEQvj.js"),required=require("./required-S_merRL8.js"),rows=require("./rows-6G9fVHbG.js");require("./access-and-short-key-XpSuCO1I.js"),require("./disabled-BFciea5y.js"),require("./hide-label-D8BIVO2W.js"),require("./label-DBPPhxGb.js"),require("./tooltip-align-B0_O2h2C.js"),require("./align-DvUkg_hj.js"),require("./events-Cd8febUV.js"),require("./associated.controller-DmDwjGKd.js"),require("./bootstrap-DDTG6qkT.js"),require("./component-names-5aGrrIj9.js"),require("./i18n-yHKQt1gl.js"),require("./isObject-CyNHuTNs.js"),require("./isArray-BOIOdEQh.js"),require("./component-_DwAx_X-.js"),require("./bem-registry-BD-sGSzk.js"),require("./component-s9gwr6Zh.js"),require("./i18n-BWA16k5X.js"),require("./Alert-BgxP0Wv8.js"),require("./Heading-B6PHtb2V.js"),require("./icons-CJGhlHRm.js"),require("./orientation-07bwEJHd.js");const NativeOptionFc=e=>{var{baseClassName:t="kol-select",class:i,index:s,selectedValue:a,selected:l,value:o,label:r,disabled:n}=e,c=tslib_es6.__rest(e,["baseClassName","class","index","selectedValue","selected","value","label","disabled"]);void 0===a?a=[]:Array.isArray(a)||(a=[a]);const d=l||a.includes(o);return index.h("option",Object.assign({class:clsx.clsx(`${t}__option`,{[`${t}__option--selected`]:d,[`${t}__option--disabled`]:n},i),selected:d,disabled:n,value:s},c),r)},NativeOptionListFc=({baseClassName:e,preKey:t,options:i,disabled:s,value:a,OptionProps:l={},OptionGroupProps:o={}})=>(null==i?void 0:i.length)?index.h(index.Fragment,null,i.map((r,n)=>{const c=[t,`-${n}`].join("");if("options"in r){if(!i.length)return null;const{label:t}=r,n=tslib_es6.__rest(r,["label"]);return index.h("optgroup",Object.assign({class:clsx.clsx(`${e}__optgroup`,{[`${e}__optgroup--disabled`]:s}),key:c},o,{label:null==t?void 0:t.toString(),disabled:s}),index.h(NativeOptionListFc,Object.assign({baseClassName:e,OptionGroupProps:o,OptionProps:l,value:a,preKey:c},n)))}return"value"in r?index.h(NativeOptionFc,Object.assign({key:c,baseClassName:e},l,{index:c,selectedValue:a},r)):null})):null,NativeSelectFc=e=>{const{class:t,msg:i,touched:s,disabled:a,required:l,options:o,value:r,OptionProps:n,OptionGroupProps:c,ariaDescribedBy:d,hideLabel:h,label:u}=e,p=tslib_es6.__rest(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),v={"kol-select--disabled":Boolean(a),"kol-select--required":Boolean(l),"kol-select--touched":Boolean(s),[`kol-select--${FormFieldStateWrapper.getMsgType(i)}`]:FormFieldStateWrapper.isMsgDefinedAndInputTouched(i,s)},_=Object.assign(Object.assign({class:clsx.clsx("kol-select",v,t),required:l,disabled:a},FormFieldStateWrapper.getDefaultProps({ariaDescribedBy:d,hideLabel:h,label:u})),p);return index.h("select",Object.assign({},_),index.h(NativeOptionListFc,{baseClassName:"kol-select",options:o,value:r,OptionGroupProps:c,OptionProps:n}))};function getSelectProps(e){const{ariaDescribedBy:t}=FormFieldStateWrapper.getRenderStates(e),i={id:e._id,hideLabel:e._hideLabel,label:e._label,value:e._value,options:e._options,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:t,size:e._rows,multiple:e._multiple,required:e._required,touched:e._touched,msg:e._msg};return"_shortKey"in e&&(i["aria-keyshortcuts"]=e._shortKey),i}const SelectStateWrapper=e=>{var{state:t}=e,i=tslib_es6.__rest(e,["state"]);return index.h(NativeSelectFc,Object.assign({},getSelectProps(t),i))};class SelectController extends controllerIcon.InputIconController{constructor(e,t,i){super(e,t,i),this.keyOptionMap=new Map,this.getOptionByKey=e=>this.keyOptionMap.get(e),this.isValueInOptions=(e,t)=>void 0!==t.find(t=>"string"==typeof t.value?t.value===e:!!Array.isArray(t.options)&&this.isValueInOptions(e,t.options)),this.filterValuesInOptions=(e,t)=>e.filter(e=>void 0!==this.isValueInOptions(e,t)),this.afterPatchOptions=(e,t,i,s)=>{"_value"===s&&this.setFormAssociatedValue(e)},this.beforePatchOptions=(e,t)=>{const i=t.get("_value");void 0===i||Array.isArray(i)||t.set("_value",[i]);const s=t.has("_options")?t.get("_options"):this.component.state._options;if(Array.isArray(s)&&s.length>0){this.keyOptionMap.clear(),controller.fillKeyOptionMap(this.keyOptionMap,s);const e=t.has("_value")?t.get("_value"):this.component.state._value,i=this.filterValuesInOptions(Array.isArray(e)&&e.length>0?e:[],s);!1===this.component._multiple&&0===i.length?t.set("_value",[s[0].value]):Array.isArray(e)&&i.length<e.length&&t.set("_value",i)}},this.component=e}validateOptions(e){controller.validateOptionsWithOptgroup(this.component,e,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateMultiple(e){this.assertComponentValueMatchesMultiplicity(!0===e),multiple.validateMultiple(this.component,e,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateRequired(e){required.validateRequired(this.component,e)}validateRows(e){rows.validateRows(this.component,e)}validateValue(e){this.assertValueMatchesMultiplicity(e),common.watchJsonArrayString(this.component,"_value",()=>!0,void 0===e?[]:Array.isArray(e)?e:[e],void 0,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}componentWillLoad(){super.componentWillLoad(),this.validateOptions(this.component._options),this.validateMultiple(this.component._multiple),this.validateRequired(this.component._required),this.validateRows(this.component._rows),this.validateValue(this.component._value)}assertValueMatchesMultiplicity(e){const t=Array.isArray(e);if(!0===this.component._multiple){if(void 0!==e&&!t)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (received = ${JSON.stringify(e)})`)}else if(t)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (received = ${JSON.stringify(e)})`)}assertComponentValueMatchesMultiplicity(e){const t=this.component._value;if(e){if(void 0!==t&&!Array.isArray(t))throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (current = ${JSON.stringify(t)})`)}else if(Array.isArray(t))throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (current = ${JSON.stringify(t)})`)}}const KolSelectWc=class{async getValue(){return this._multiple?this.state._value:Array.isArray(this.state._value)&&this.state._value.length>0?this.state._value[0]:this.state._value}async focus(){return elementFocus.setFocus(this.selectRef)}getFormFieldProps(){return{state:this.state,class:clsx.clsx("kol-form-field-select",{"kol-form-field--has-value":this.state._hasValue}),tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.selectRef)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getSelectProps(){return Object.assign(Object.assign({ref:this.setSelectRef,state:this.state},this.controller.onFacade),{onInput:this.onInput.bind(this),onChange:this.onChange.bind(this),onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1}})}render(){return index.h(FormFieldStateWrapper.FormFieldStateWrapper,Object.assign({key:"5c35474acafcb2a0a45d2705d3773dc781c9aa6a"},this.getFormFieldProps()),index.h(controllerIcon.InputContainerStateWrapperFc,{key:"d1b7206b25f5a67582c74d17fa3e65e934cd4626",state:this.state},index.h("form",{key:"1880794b4fbe8a012654f941db80afb4bae79305",onSubmit:e=>{e.preventDefault(),controller$1.propagateSubmitEventToForm({form:this.host})}},index.h("input",{key:"85710cc178383518226b0be9d2f633ffdb69e283",type:"submit",hidden:!0}),index.h(SelectStateWrapper,Object.assign({key:"31d6d6756103eb955c9b7897dce6428f8fe71281"},this.getSelectProps())))))}constructor(e){index.registerInstance(this,e),this.setSelectRef=e=>{this.selectRef=e},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._multiple=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this.state={_hasValue:!1,_hideMsg:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_multiple:!1,_options:[],_value:[]},this.inputHasFocus=!1,this.controller=new SelectController(this,"select",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(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)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateMultiple(e){this.controller.validateMultiple(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateOptions(e){this.controller.validateOptions(e)}validateRequired(e){this.controller.validateRequired(e)}validateRows(e){this.controller.validateRows(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(e=>this.state._hasValue=!!e)}onInput(e){var t;const i=Array.from((null===(t=this.selectRef)||void 0===t?void 0:t.options)||[]).filter(e=>e.selected).map(e=>{var t;return null===(t=this.controller.getOptionByKey(e.value))||void 0===t?void 0:t.value});if(this._multiple)this._value=i,this.controller.onFacade.onInput(e,!0,i);else{const t=i.length>0?i[0]:void 0;this._value=t,this.controller.onFacade.onInput(e,!0,t)}}onChange(e){this._multiple,this.controller.onFacade.onChange(e,this._value)}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_label:["validateLabel"],_msg:["validateMsg"],_multiple:["validateMultiple"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_required:["validateRequired"],_rows:["validateRows"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};exports.kol_select_wc=KolSelectWc;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),clsx=require("./clsx-Bm_HQUnh.js"),FormFieldStateWrapper=require("./FormFieldStateWrapper-BmSqwy9o.js"),controllerIcon=require("./controller-icon-BVE0DlDr.js"),tslib_es6=require("./tslib.es6-7DbU_BSw.js"),common=require("./common-BDQKBMeS.js"),dev_utils=require("./dev.utils-CpycRC6f.js"),elementFocus=require("./element-focus-WQBz86oY.js"),controller$1=require("./controller-CsN2zb60.js"),multiple=require("./multiple-CPAnJfuQ.js"),controller=require("./controller-CizrmxJP.js"),required=require("./required-S_merRL8.js"),rows=require("./rows-6G9fVHbG.js");require("./access-and-short-key-XpSuCO1I.js"),require("./disabled-BFciea5y.js"),require("./hide-label-D8BIVO2W.js"),require("./label-DBPPhxGb.js"),require("./tooltip-align-B0_O2h2C.js"),require("./align-DvUkg_hj.js"),require("./events-Cd8febUV.js"),require("./associated.controller-DmDwjGKd.js"),require("./bootstrap-DDTG6qkT.js"),require("./component-names-5aGrrIj9.js"),require("./i18n-yHKQt1gl.js"),require("./isObject-CyNHuTNs.js"),require("./isArray-BOIOdEQh.js"),require("./component-DvZSHaKX.js"),require("./bem-registry-BD-sGSzk.js"),require("./component-WbRKbO3b.js"),require("./i18n-BWA16k5X.js"),require("./Alert-BZ91JHkU.js"),require("./Heading-DA_rIKjI.js"),require("./icons-CJGhlHRm.js"),require("./orientation-07bwEJHd.js");const NativeOptionFc=e=>{var{baseClassName:t="kol-select",class:i,index:s,selectedValue:a,selected:l,value:o,label:r,disabled:n}=e,c=tslib_es6.__rest(e,["baseClassName","class","index","selectedValue","selected","value","label","disabled"]);void 0===a?a=[]:Array.isArray(a)||(a=[a]);const d=l||a.includes(o);return index.h("option",Object.assign({class:clsx.clsx(`${t}__option`,{[`${t}__option--selected`]:d,[`${t}__option--disabled`]:n},i),selected:d,disabled:n,value:s},c),r)},NativeOptionListFc=({baseClassName:e,preKey:t,options:i,disabled:s,value:a,OptionProps:l={},OptionGroupProps:o={}})=>(null==i?void 0:i.length)?index.h(index.Fragment,null,i.map((r,n)=>{const c=[t,`-${n}`].join("");if("options"in r){if(!i.length)return null;const{label:t}=r,n=tslib_es6.__rest(r,["label"]);return index.h("optgroup",Object.assign({class:clsx.clsx(`${e}__optgroup`,{[`${e}__optgroup--disabled`]:s}),key:c},o,{label:null==t?void 0:t.toString(),disabled:s}),index.h(NativeOptionListFc,Object.assign({baseClassName:e,OptionGroupProps:o,OptionProps:l,value:a,preKey:c},n)))}return"value"in r?index.h(NativeOptionFc,Object.assign({key:c,baseClassName:e},l,{index:c,selectedValue:a},r)):null})):null,NativeSelectFc=e=>{const{class:t,msg:i,touched:s,disabled:a,required:l,options:o,value:r,OptionProps:n,OptionGroupProps:c,ariaDescribedBy:d,hideLabel:h,label:u}=e,p=tslib_es6.__rest(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),v={"kol-select--disabled":Boolean(a),"kol-select--required":Boolean(l),"kol-select--touched":Boolean(s),[`kol-select--${FormFieldStateWrapper.getMsgType(i)}`]:FormFieldStateWrapper.isMsgDefinedAndInputTouched(i,s)},_=Object.assign(Object.assign({class:clsx.clsx("kol-select",v,t),required:l,disabled:a},FormFieldStateWrapper.getDefaultProps({ariaDescribedBy:d,hideLabel:h,label:u})),p);return index.h("select",Object.assign({},_),index.h(NativeOptionListFc,{baseClassName:"kol-select",options:o,value:r,OptionGroupProps:c,OptionProps:n}))};function getSelectProps(e){const{ariaDescribedBy:t}=FormFieldStateWrapper.getRenderStates(e),i={id:e._id,hideLabel:e._hideLabel,label:e._label,value:e._value,options:e._options,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:t,size:e._rows,multiple:e._multiple,required:e._required,touched:e._touched,msg:e._msg};return"_shortKey"in e&&(i["aria-keyshortcuts"]=e._shortKey),i}const SelectStateWrapper=e=>{var{state:t}=e,i=tslib_es6.__rest(e,["state"]);return index.h(NativeSelectFc,Object.assign({},getSelectProps(t),i))};class SelectController extends controllerIcon.InputIconController{constructor(e,t,i){super(e,t,i),this.keyOptionMap=new Map,this.getOptionByKey=e=>this.keyOptionMap.get(e),this.isValueInOptions=(e,t)=>void 0!==t.find(t=>"string"==typeof t.value?t.value===e:!!Array.isArray(t.options)&&this.isValueInOptions(e,t.options)),this.filterValuesInOptions=(e,t)=>e.filter(e=>void 0!==this.isValueInOptions(e,t)),this.afterPatchOptions=(e,t,i,s)=>{"_value"===s&&this.setFormAssociatedValue(e)},this.beforePatchOptions=(e,t)=>{const i=t.get("_value");void 0===i||Array.isArray(i)||t.set("_value",[i]);const s=t.has("_options")?t.get("_options"):this.component.state._options;if(Array.isArray(s)&&s.length>0){this.keyOptionMap.clear(),controller.fillKeyOptionMap(this.keyOptionMap,s);const e=t.has("_value")?t.get("_value"):this.component.state._value,i=this.filterValuesInOptions(Array.isArray(e)&&e.length>0?e:[],s);!1===this.component._multiple&&0===i.length?t.set("_value",[s[0].value]):Array.isArray(e)&&i.length<e.length&&t.set("_value",i)}},this.component=e}validateOptions(e){controller.validateOptionsWithOptgroup(this.component,e,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateMultiple(e){this.assertComponentValueMatchesMultiplicity(!0===e),multiple.validateMultiple(this.component,e,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateRequired(e){required.validateRequired(this.component,e)}validateRows(e){rows.validateRows(this.component,e)}validateValue(e){this.assertValueMatchesMultiplicity(e),common.watchJsonArrayString(this.component,"_value",()=>!0,void 0===e?[]:Array.isArray(e)?e:[e],void 0,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}componentWillLoad(){super.componentWillLoad(),this.validateOptions(this.component._options),this.validateMultiple(this.component._multiple),this.validateRequired(this.component._required),this.validateRows(this.component._rows),this.validateValue(this.component._value)}assertValueMatchesMultiplicity(e){const t=Array.isArray(e);if(!0===this.component._multiple){if(void 0!==e&&!t)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (received = ${JSON.stringify(e)})`)}else if(t)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (received = ${JSON.stringify(e)})`)}assertComponentValueMatchesMultiplicity(e){const t=this.component._value;if(e){if(void 0!==t&&!Array.isArray(t))throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (current = ${JSON.stringify(t)})`)}else if(Array.isArray(t))throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (current = ${JSON.stringify(t)})`)}}const KolSelectWc=class{async getValue(){return this._multiple?this.state._value:Array.isArray(this.state._value)&&this.state._value.length>0?this.state._value[0]:this.state._value}async focus(){return elementFocus.setFocus(this.selectRef)}getFormFieldProps(){return{state:this.state,class:clsx.clsx("kol-form-field-select",{"kol-form-field--has-value":this.state._hasValue}),tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.selectRef)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getSelectProps(){return Object.assign(Object.assign({ref:this.setSelectRef,state:this.state},this.controller.onFacade),{onInput:this.onInput.bind(this),onChange:this.onChange.bind(this),onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1}})}render(){return index.h(FormFieldStateWrapper.FormFieldStateWrapper,Object.assign({key:"5c35474acafcb2a0a45d2705d3773dc781c9aa6a"},this.getFormFieldProps()),index.h(controllerIcon.InputContainerStateWrapperFc,{key:"d1b7206b25f5a67582c74d17fa3e65e934cd4626",state:this.state},index.h("form",{key:"1880794b4fbe8a012654f941db80afb4bae79305",onSubmit:e=>{e.preventDefault(),controller$1.propagateSubmitEventToForm({form:this.host})}},index.h("input",{key:"85710cc178383518226b0be9d2f633ffdb69e283",type:"submit",hidden:!0}),index.h(SelectStateWrapper,Object.assign({key:"31d6d6756103eb955c9b7897dce6428f8fe71281"},this.getSelectProps())))))}constructor(e){index.registerInstance(this,e),this.setSelectRef=e=>{this.selectRef=e},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._multiple=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this.state={_hasValue:!1,_hideMsg:!1,_id:`id-${dev_utils.nonce()}`,_label:"",_multiple:!1,_options:[],_value:[]},this.inputHasFocus=!1,this.controller=new SelectController(this,"select",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(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)}validateLabel(e){this.controller.validateLabel(e)}validateMsg(e){this.controller.validateMsg(e)}validateMultiple(e){this.controller.validateMultiple(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validateOptions(e){this.controller.validateOptions(e)}validateRequired(e){this.controller.validateRequired(e)}validateRows(e){this.controller.validateRows(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTabIndex(e){this.controller.validateTabIndex(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(e=>this.state._hasValue=!!e)}onInput(e){var t;const i=Array.from((null===(t=this.selectRef)||void 0===t?void 0:t.options)||[]).filter(e=>e.selected).map(e=>{var t;return null===(t=this.controller.getOptionByKey(e.value))||void 0===t?void 0:t.value});if(this._multiple)this._value=i,this.controller.onFacade.onInput(e,!0,i);else{const t=i.length>0?i[0]:void 0;this._value=t,this.controller.onFacade.onInput(e,!0,t)}}onChange(e){this._multiple,this.controller.onFacade.onChange(e,this._value)}get host(){return index.getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_label:["validateLabel"],_msg:["validateMsg"],_multiple:["validateMultiple"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_required:["validateRequired"],_rows:["validateRows"],_shortKey:["validateShortKey"],_syncValueBySelector:["validateSyncValueBySelector"],_tabIndex:["validateTabIndex"],_touched:["validateTouched"],_value:["validateValue"]}}};exports.kol_select_wc=KolSelectWc;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";var index=require("./index-CK2nrnns.js"),componentNames=require("./component-names-5aGrrIj9.js"),elementFocus=require("./element-focus-WQBz86oY.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774619801488"); /* IE9*/\n src: url("kolicons.eot?t=1774619801488#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774619801488") format("woff2"), url("kolicons.woff?t=1774619801488") format("woff"), url("kolicons.ttf?t=1774619801488") format("truetype"), url("kolicons.svg?t=1774619801488#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\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(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\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__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\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:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*"/"";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\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 min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-select {\n background-color: transparent;\n width: 100%;\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: "✓ ";\n }\n .kol-select {\n /* needed hack for vertical alignment */\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - 16 * 1rem / var(--kolibri-root-font-size, 16)) / 2) 0.5em;\n }\n}',KolSelect=class{constructor(n){index.registerInstance(this,n),this.setSelectWcRef=n=>{this.selectWcRef=n},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._multiple=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1}async getValue(){var n;return null===(n=this.selectWcRef)||void 0===n?void 0:n.getValue()}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.selectWcRef))}render(){return index.h(index.Host,{key:"613ecee75c6d63452b6b5644625d6eb03ea05efb",class:"kol-select"},index.h(componentNames.KolSelectWcTag,{key:"1659a7d9ada288098be9c8ed045eb32aa732581e",ref:this.setSelectWcRef,_accessKey:this._accessKey,_disabled:this._disabled,_hideLabel:this._hideLabel,_hideMsg:this._hideMsg,_hint:this._hint,_icons:this._icons,_label:this._label,_msg:this._msg,_multiple:this._multiple,_name:this._name,_on:this._on,_options:this._options,_required:this._required,_rows:this._rows,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_touched:this._touched,_value:this._value},index.h("slot",{key:"05102570ee1b569a3ba6f00716c32be12bef90ab",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};KolSelect.style={default:defaultStyleCss},exports.kol_select=KolSelect;
4
+ "use strict";var index=require("./index-CQHh_Ytu.js"),componentNames=require("./component-names-5aGrrIj9.js"),elementFocus=require("./element-focus-WQBz86oY.js");require("./common-BDQKBMeS.js");const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\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 * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: 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 text color from his parent element.\n */\n color: inherit;\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 * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\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 position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\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 width: 100%;\n margin: 0;\n padding: 0;\n border: none;\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 color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\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: flex;\n flex-flow: column;\n align-items: center;\n justify-content: 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 align-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 opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774621104972"); /* IE9*/\n src: url("kolicons.eot?t=1774621104972#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774621104972") format("woff2"), url("kolicons.woff?t=1774621104972") format("woff"), url("kolicons.ttf?t=1774621104972") format("truetype"), url("kolicons.svg?t=1774621104972#kolicons") format("svg"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: "\\ea01";\n}\n\n.kolicon-alert-info::before {\n content: "\\ea02";\n}\n\n.kolicon-alert-success::before {\n content: "\\ea03";\n}\n\n.kolicon-alert-warning::before {\n content: "\\ea04";\n}\n\n.kolicon-check::before {\n content: "\\ea05";\n}\n\n.kolicon-chevron-double-left::before {\n content: "\\ea06";\n}\n\n.kolicon-chevron-double-right::before {\n content: "\\ea07";\n}\n\n.kolicon-chevron-down::before {\n content: "\\ea08";\n}\n\n.kolicon-chevron-left::before {\n content: "\\ea09";\n}\n\n.kolicon-chevron-right::before {\n content: "\\ea0a";\n}\n\n.kolicon-chevron-up::before {\n content: "\\ea0b";\n}\n\n.kolicon-cogwheel::before {\n content: "\\ea0c";\n}\n\n.kolicon-cross::before {\n content: "\\ea0d";\n}\n\n.kolicon-eye-closed::before {\n content: "\\ea0e";\n}\n\n.kolicon-eye::before {\n content: "\\ea0f";\n}\n\n.kolicon-house::before {\n content: "\\ea10";\n}\n\n.kolicon-kolibri::before {\n content: "\\ea11";\n}\n\n.kolicon-link-external::before {\n content: "\\ea12";\n}\n\n.kolicon-link::before {\n content: "\\ea13";\n}\n\n.kolicon-minus::before {\n content: "\\ea14";\n}\n\n.kolicon-plus::before {\n content: "\\ea15";\n}\n\n.kolicon-settings::before {\n content: "\\ea16";\n}\n\n.kolicon-sort-asc::before {\n content: "\\ea17";\n}\n\n.kolicon-sort-desc::before {\n content: "\\ea18";\n}\n\n.kolicon-sort-neutral::before {\n content: "\\ea19";\n}\n\n.kolicon-up::before {\n content: "\\ea1a";\n}\n\n.kolicon-version::before {\n content: "\\ea1b";\n}\n\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "​";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\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(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\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__label-text {\n flex-flow: row;\n align-items: flex-start;\n justify-content: flex-start;\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:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*"/"";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\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 min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-select {\n background-color: transparent;\n width: 100%;\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: "✓ ";\n }\n .kol-select {\n /* needed hack for vertical alignment */\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - 16 * 1rem / var(--kolibri-root-font-size, 16)) / 2) 0.5em;\n }\n}',KolSelect=class{constructor(n){index.registerInstance(this,n),this.setSelectWcRef=n=>{this.selectWcRef=n},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._multiple=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1}async getValue(){var n;return null===(n=this.selectWcRef)||void 0===n?void 0:n.getValue()}async focus(){return elementFocus.delegateFocus(this.host,()=>elementFocus.setFocus(this.selectWcRef))}render(){return index.h(index.Host,{key:"613ecee75c6d63452b6b5644625d6eb03ea05efb",class:"kol-select"},index.h(componentNames.KolSelectWcTag,{key:"1659a7d9ada288098be9c8ed045eb32aa732581e",ref:this.setSelectWcRef,_accessKey:this._accessKey,_disabled:this._disabled,_hideLabel:this._hideLabel,_hideMsg:this._hideMsg,_hint:this._hint,_icons:this._icons,_label:this._label,_msg:this._msg,_multiple:this._multiple,_name:this._name,_on:this._on,_options:this._options,_required:this._required,_rows:this._rows,_shortKey:this._shortKey,_syncValueBySelector:this._syncValueBySelector,_tabIndex:this._tabIndex,_tooltipAlign:this._tooltipAlign,_touched:this._touched,_value:this._value},index.h("slot",{key:"05102570ee1b569a3ba6f00716c32be12bef90ab",name:"expert",slot:"expert"})))}get host(){return index.getElement(this)}};KolSelect.style={default:defaultStyleCss},exports.kol_select=KolSelect;