@public-ui/components 4.6.0 → 4.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) 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/{Heading-CnnBHLhu.js → Heading-BiIgkzH8.js} +2 -2
  8. package/dist/cjs/{api-C-uDDxcA.js → api-CYf8xdSs.js} +16 -16
  9. package/dist/cjs/{app-globals-BfpVa0Lg.js → app-globals-BYAPmvIk.js} +2 -2
  10. package/dist/cjs/{base-Cc2tyQoy.js → base--a0QJmk3.js} +10 -10
  11. package/dist/cjs/{base-CeaAJa72.js → base-BmhaEyug.js} +9 -9
  12. package/dist/cjs/{base-BIbzHEVE.js → base-BpyecmRJ.js} +20 -20
  13. package/dist/cjs/{base-BZ3x1Yaj.js → base-CUUvWtsB.js} +10 -10
  14. package/dist/cjs/{base-web-component-B_zszxEg.js → base-web-component-BompEaD1.js} +1 -1
  15. package/dist/cjs/{base-web-component-CpqYvVDi.js → base-web-component-CWIPg0xv.js} +13 -13
  16. package/dist/cjs/{base-web-component-Dk-So1FD.js → base-web-component-ZnP9FmYh.js} +8 -8
  17. package/dist/cjs/{behavior-cEIf2evT.js → behavior-CFLTEANn.js} +4 -4
  18. package/dist/cjs/{behavior-CYg7XOXd.js → behavior-DSFpiPZZ.js} +3 -3
  19. package/dist/cjs/{behavior--ZjzmIB4.js → behavior-O4U6x6z7.js} +3 -3
  20. package/dist/cjs/{color-BJ776mPh.js → color-BAx-7-VH.js} +2 -2
  21. package/dist/cjs/{component-BacsMsF-.js → component-7ByD-KGA.js} +3 -3
  22. package/dist/cjs/{component-BTfaB8W5.js → component-B2tj_1JK.js} +2 -2
  23. package/dist/cjs/{component-D65WOH6c.js → component-BOtCtyyw.js} +5 -5
  24. package/dist/cjs/{component-5ABjFE_U.js → component-BhAlZY9F.js} +3 -3
  25. package/dist/cjs/{component-BSx0ZVSD.js → component-BsX1-89D.js} +8 -8
  26. package/dist/cjs/{component-DVf7tz1e.js → component-C4QeEJ1-.js} +4 -4
  27. package/dist/cjs/{component-DwuAKOV_.js → component-DUJYVdRR.js} +4 -4
  28. package/dist/cjs/{component-Ddp-Luc6.js → component-DWb8RKVo.js} +6 -6
  29. package/dist/cjs/component-Dd3qxReW.js +178 -0
  30. package/dist/cjs/{component-DuknrIKz.js → component-STJidyBV.js} +10 -10
  31. package/dist/cjs/{component-C_9WksgV.js → component-TQvy83J2.js} +11 -11
  32. package/dist/cjs/{contrast-DrGTr5zd.js → contrast-DOAdZqCp.js} +1 -1
  33. package/dist/cjs/{dev.utils-EwVibOKw.js → dev.utils-DlmiDtkx.js} +1 -1
  34. package/dist/cjs/{devtools-CEqUJI9f.js → devtools-C41YtdU_.js} +2 -2
  35. package/dist/cjs/{disabled-DBnI2OR4.js → disabled-BdFhTB-H.js} +1 -1
  36. package/dist/cjs/{field-control-Jhzreo_j.js → field-control-S9RwdD26.js} +6 -6
  37. package/dist/cjs/{group-DDmENjNB.js → group-C00FoXnX.js} +4 -4
  38. package/dist/cjs/{has-closer-DIk_toj-.js → has-closer--ijHuPZy.js} +1 -1
  39. package/dist/cjs/{href-_UE7179j.js → href-BD4uBwDL.js} +1 -1
  40. package/dist/cjs/{id-JbinnWCW.js → id-BM9KgE0w.js} +1 -1
  41. package/dist/cjs/{index-P8gY4ccL.js → index-DRjg_lHL.js} +1 -1
  42. package/dist/cjs/{input-BYfPasa5.js → input-0s6YjmaC.js} +4 -4
  43. package/dist/cjs/{input-container-BQlNjdk3.js → input-container-DYp04csT.js} +5 -5
  44. package/dist/cjs/{item-Dgikq96R.js → item-BKyAM3Uo.js} +9 -9
  45. package/dist/cjs/{item-C6gnuMjx.js → item-CRgD35fr.js} +4 -4
  46. package/dist/cjs/{item-CvvVUcQZ.js → item-DWAwMGWB.js} +11 -11
  47. package/dist/cjs/{item-DSSJt2YS.js → item-xUIdEroQ.js} +4 -4
  48. package/dist/cjs/kol-abbr.cjs.entry.js +5 -5
  49. package/dist/cjs/kol-accordion.cjs.entry.js +14 -14
  50. package/dist/cjs/kol-alert.cjs.entry.js +21 -21
  51. package/dist/cjs/kol-avatar.cjs.entry.js +9 -9
  52. package/dist/cjs/kol-badge.cjs.entry.js +22 -22
  53. package/dist/cjs/kol-breadcrumb.cjs.entry.js +22 -22
  54. package/dist/cjs/kol-button-link.cjs.entry.js +19 -19
  55. package/dist/cjs/kol-button.cjs.entry.js +19 -19
  56. package/dist/cjs/kol-card.cjs.entry.js +24 -24
  57. package/dist/cjs/kol-combobox.cjs.entry.js +32 -32
  58. package/dist/cjs/kol-details.cjs.entry.js +14 -14
  59. package/dist/cjs/kol-dialog.cjs.entry.js +27 -27
  60. package/dist/cjs/kol-drawer.cjs.entry.js +26 -26
  61. package/dist/cjs/kol-form.cjs.entry.js +20 -20
  62. package/dist/cjs/kol-heading.cjs.entry.js +9 -9
  63. package/dist/cjs/kol-icon.cjs.entry.js +7 -7
  64. package/dist/cjs/kol-image.cjs.entry.js +4 -4
  65. package/dist/cjs/kol-input-checkbox.cjs.entry.js +28 -28
  66. package/dist/cjs/kol-input-color.cjs.entry.js +31 -31
  67. package/dist/cjs/kol-input-date.cjs.entry.js +33 -33
  68. package/dist/cjs/kol-input-email.cjs.entry.js +37 -37
  69. package/dist/cjs/kol-input-file.cjs.entry.js +30 -30
  70. package/dist/cjs/kol-input-number.cjs.entry.js +35 -35
  71. package/dist/cjs/kol-input-password.cjs.entry.js +35 -35
  72. package/dist/cjs/kol-input-radio.cjs.entry.js +30 -30
  73. package/dist/cjs/kol-input-range.cjs.entry.js +31 -31
  74. package/dist/cjs/kol-input-text.cjs.entry.js +37 -37
  75. package/dist/cjs/kol-kolibri.cjs.entry.js +3 -3
  76. package/dist/cjs/kol-link-button.cjs.entry.js +20 -20
  77. package/dist/cjs/kol-link.cjs.entry.js +20 -20
  78. package/dist/cjs/kol-meter.cjs.entry.js +9 -9
  79. package/dist/cjs/kol-modal.cjs.entry.js +27 -27
  80. package/dist/cjs/kol-nav.cjs.entry.js +27 -27
  81. package/dist/cjs/kol-pagination.cjs.entry.js +33 -33
  82. package/dist/cjs/kol-popover-button.cjs.entry.js +20 -20
  83. package/dist/cjs/kol-progress.cjs.entry.js +8 -8
  84. package/dist/cjs/kol-quote.cjs.entry.js +6 -6
  85. package/dist/cjs/kol-select.cjs.entry.js +30 -30
  86. package/dist/cjs/kol-single-select.cjs.entry.js +32 -32
  87. package/dist/cjs/kol-skip-nav.cjs.entry.js +22 -22
  88. package/dist/cjs/kol-spin.cjs.entry.js +7 -7
  89. package/dist/cjs/kol-split-button.cjs.entry.js +22 -22
  90. package/dist/cjs/kol-table-stateful.cjs.entry.js +45 -45
  91. package/dist/cjs/kol-table-stateless.cjs.entry.js +34 -34
  92. package/dist/cjs/kol-tabs.cjs.entry.js +19 -19
  93. package/dist/cjs/kol-textarea.cjs.entry.js +33 -33
  94. package/dist/cjs/kol-toast-container.cjs.entry.js +16 -16
  95. package/dist/cjs/kol-toolbar.cjs.entry.js +24 -24
  96. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +10 -10
  97. package/dist/cjs/kol-tree-item.cjs.entry.js +18 -18
  98. package/dist/cjs/kol-tree.cjs.entry.js +6 -6
  99. package/dist/cjs/kol-version.cjs.entry.js +17 -17
  100. package/dist/cjs/kolibri.cjs.js +2 -2
  101. package/dist/cjs/{label-BAULqhwq.js → label-BA98eiFj.js} +3 -3
  102. package/dist/cjs/{label-hints-BHw-UcMt.js → label-hints-BE4LQ_Av.js} +1 -1
  103. package/dist/cjs/{label-lang-segment-D_UYFhgr.js → label-lang-segment-C5U5gEca.js} +2 -2
  104. package/dist/cjs/{label-with-expert-slot-XZTOiRp-.js → label-with-expert-slot-x1D8V34g.js} +3 -3
  105. package/dist/cjs/{level-CaJUuMiH.js → level-CX2p0n7U.js} +1 -1
  106. package/dist/cjs/{link-target-EZq24qVX.js → link-target-B1N4Je6O.js} +1 -1
  107. package/dist/cjs/{links-CNPivOpm.js → links-SN0jipdB.js} +1 -1
  108. package/dist/cjs/loader.cjs.js +2 -2
  109. package/dist/cjs/{multiple-D4ktp4Q2.js → multiple-Dl_RoQ-P.js} +1 -1
  110. package/dist/cjs/{number-value-BzIR1UvL.js → number-value-DO-0brWb.js} +1 -1
  111. package/dist/cjs/{open-BYh5VAA1.js → open-BQ2n_Z5t.js} +1 -1
  112. package/dist/cjs/{options-DkF38kx_.js → options-B49Y2jkm.js} +1 -1
  113. package/dist/cjs/{orientation-D4yopkvP.js → orientation-DKdQrdXN.js} +1 -1
  114. package/dist/cjs/{placeholder-CZOGOuLS.js → placeholder-E5zS-kqO.js} +1 -1
  115. package/dist/cjs/{props-from-config-CiU21EHb.js → props-from-config-8bawgofo.js} +1 -1
  116. package/dist/cjs/{read-only-PNG5jHgh.js → read-only-YsES5bfT.js} +1 -1
  117. package/dist/cjs/{required-mj54_vO_.js → required-BvWmptNq.js} +1 -1
  118. package/dist/cjs/{resolve-props-DOnocHFi.js → resolve-props-CHqmeYxD.js} +6 -6
  119. package/dist/cjs/{resolve-props-CH6OL2es.js → resolve-props-DUeggpV2.js} +7 -7
  120. package/dist/cjs/{rows-YaAnXjAm.js → rows-BBmwZt2C.js} +1 -1
  121. package/dist/cjs/{scroll-lock-D3pgiG8q.js → scroll-lock-3znuNdTX.js} +2 -2
  122. package/dist/cjs/{smart-button-BU7mWP5H.js → smart-button-B3OCsLLZ.js} +1 -1
  123. package/dist/cjs/{spell-check-CZWiLkQE.js → spell-check-DuFxddUB.js} +1 -1
  124. package/dist/cjs/{src-rB2yGTSn.js → src-Cl2qHbxL.js} +1 -1
  125. package/dist/cjs/{step-Bo6ILIqa.js → step-Bf3TCVBv.js} +1 -1
  126. package/dist/cjs/{suggestions-BO4EvOXc.js → suggestions-BjKRoku9.js} +1 -1
  127. package/dist/cjs/{suggestions-Ca575hi-.js → suggestions-C4B_eROV.js} +3 -3
  128. package/dist/cjs/test-component.cjs.entry.js +1 -1
  129. package/dist/cjs/{toggle-handler-ByJYSOdb.js → toggle-handler-DEpykyv_.js} +8 -8
  130. package/dist/cjs/{unique-nav-labels-_EHPpYUR.js → unique-nav-labels-CNpNvloU.js} +1 -1
  131. package/dist/cjs/{unit-Bl0Lyk08.js → unit-gLQjiSkI.js} +1 -1
  132. package/dist/cjs/{validators-rLs6tEWo.js → validators-DNveqLx4.js} +1 -1
  133. package/dist/cjs/{value-string-BKsvZy1q.js → value-string-JMz269Bn.js} +1 -1
  134. package/dist/cjs/{width-DegQFxQB.js → width-_6rleKWl.js} +1 -1
  135. package/dist/collection/components/accordion/style.css +2 -2
  136. package/dist/collection/components/alert/style.css +2 -2
  137. package/dist/collection/components/badge/style.css +2 -2
  138. package/dist/collection/components/breadcrumb/style.css +2 -2
  139. package/dist/collection/components/button/style.css +2 -2
  140. package/dist/collection/components/button-link/style.css +2 -2
  141. package/dist/collection/components/card/style.css +2 -2
  142. package/dist/collection/components/combobox/style.css +2 -2
  143. package/dist/collection/components/details/style.css +2 -2
  144. package/dist/collection/components/dialog/style.css +2 -2
  145. package/dist/collection/components/drawer/style.css +2 -2
  146. package/dist/collection/components/form/style.css +2 -2
  147. package/dist/collection/components/icon/style.css +2 -2
  148. package/dist/collection/components/input-checkbox/style.css +2 -2
  149. package/dist/collection/components/input-color/style.css +2 -2
  150. package/dist/collection/components/input-date/style.css +2 -2
  151. package/dist/collection/components/input-email/style.css +2 -2
  152. package/dist/collection/components/input-file/style.css +2 -2
  153. package/dist/collection/components/input-number/style.css +2 -2
  154. package/dist/collection/components/input-password/style.css +2 -2
  155. package/dist/collection/components/input-radio/style.css +2 -2
  156. package/dist/collection/components/input-range/style.css +2 -2
  157. package/dist/collection/components/input-text/style.css +2 -2
  158. package/dist/collection/components/link/style.css +2 -2
  159. package/dist/collection/components/link-button/style.css +2 -2
  160. package/dist/collection/components/modal/style.css +2 -2
  161. package/dist/collection/components/nav/style.css +2 -2
  162. package/dist/collection/components/pagination/style.css +2 -2
  163. package/dist/collection/components/popover-button/style.css +2 -2
  164. package/dist/collection/components/select/style.css +2 -2
  165. package/dist/collection/components/single-select/style.css +2 -2
  166. package/dist/collection/components/skip-nav/style.css +2 -2
  167. package/dist/collection/components/split-button/style.css +2 -2
  168. package/dist/collection/components/table-stateful/style.css +2 -2
  169. package/dist/collection/components/table-stateless/style.css +2 -2
  170. package/dist/collection/components/tabs/style.css +2 -2
  171. package/dist/collection/components/textarea/style.css +2 -2
  172. package/dist/collection/components/toaster/style.css +2 -2
  173. package/dist/collection/components/toolbar/style.css +2 -2
  174. package/dist/collection/components/tree-item/style.css +2 -2
  175. package/dist/collection/components/version/style.css +2 -2
  176. package/dist/collection/utils/markdown.js +49 -3
  177. package/dist/components/base-web-component2.js +1 -1
  178. package/dist/components/base4.js +1 -1
  179. package/dist/components/behavior3.js +1 -1
  180. package/dist/components/bem-registry.js +1 -1
  181. package/dist/components/component6.js +1 -1
  182. package/dist/components/contrast.js +1 -1
  183. package/dist/components/controller.js +1 -1
  184. package/dist/components/devtools.js +1 -1
  185. package/dist/components/input-container.js +1 -1
  186. package/dist/components/kol-accordion.js +1 -1
  187. package/dist/components/kol-alert.js +1 -1
  188. package/dist/components/kol-badge.js +1 -1
  189. package/dist/components/kol-breadcrumb.js +1 -1
  190. package/dist/components/kol-button-link.js +1 -1
  191. package/dist/components/kol-button.js +1 -1
  192. package/dist/components/kol-card.js +1 -1
  193. package/dist/components/kol-combobox.js +1 -1
  194. package/dist/components/kol-details.js +1 -1
  195. package/dist/components/kol-dialog.js +1 -1
  196. package/dist/components/kol-drawer.js +1 -1
  197. package/dist/components/kol-form.js +1 -1
  198. package/dist/components/kol-icon.js +1 -1
  199. package/dist/components/kol-input-checkbox.js +1 -1
  200. package/dist/components/kol-input-color.js +1 -1
  201. package/dist/components/kol-input-date.js +1 -1
  202. package/dist/components/kol-input-email.js +1 -1
  203. package/dist/components/kol-input-file.js +1 -1
  204. package/dist/components/kol-input-number.js +1 -1
  205. package/dist/components/kol-input-password.js +1 -1
  206. package/dist/components/kol-input-radio.js +1 -1
  207. package/dist/components/kol-input-range.js +1 -1
  208. package/dist/components/kol-input-text.js +1 -1
  209. package/dist/components/kol-link-button.js +1 -1
  210. package/dist/components/kol-link.js +1 -1
  211. package/dist/components/kol-modal.js +1 -1
  212. package/dist/components/kol-nav.js +1 -1
  213. package/dist/components/kol-pagination.js +1 -1
  214. package/dist/components/kol-popover-button.js +1 -1
  215. package/dist/components/kol-select.js +1 -1
  216. package/dist/components/kol-single-select.js +1 -1
  217. package/dist/components/kol-skip-nav.js +1 -1
  218. package/dist/components/kol-split-button.js +1 -1
  219. package/dist/components/kol-table-stateful.js +1 -1
  220. package/dist/components/kol-table-stateless.js +1 -1
  221. package/dist/components/kol-tabs.js +1 -1
  222. package/dist/components/kol-textarea.js +1 -1
  223. package/dist/components/kol-toast-container.js +1 -1
  224. package/dist/components/kol-toolbar.js +1 -1
  225. package/dist/components/kol-tree-item.js +1 -1
  226. package/dist/components/kol-version.js +1 -1
  227. package/dist/components/links.js +1 -1
  228. package/dist/esm/{Heading-BubZbykM.js → Heading-DDS-lyOB.js} +2 -2
  229. package/dist/esm/{api-D0RNr-zh.js → api-MBSY9afi.js} +16 -16
  230. package/dist/esm/{app-globals-DYRte_jr.js → app-globals-DytcyM_s.js} +2 -2
  231. package/dist/esm/{base-BbGt9eYx.js → base-D-me6QDT.js} +10 -10
  232. package/dist/esm/{base-BP5SdLvQ.js → base-D7-iAVBu.js} +20 -20
  233. package/dist/esm/{base-Cz00snD6.js → base-DP9yHJOV.js} +10 -10
  234. package/dist/esm/{base-CLsKm3-e.js → base-DZBnXHZh.js} +9 -9
  235. package/dist/esm/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +8 -8
  236. package/dist/esm/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
  237. package/dist/esm/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +13 -13
  238. package/dist/esm/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +3 -3
  239. package/dist/esm/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +3 -3
  240. package/dist/esm/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +4 -4
  241. package/dist/esm/{color-BbljGuAW.js → color-CnRQPMm_.js} +2 -2
  242. package/dist/esm/{component-CSsUaL_h.js → component-B4CDonzN.js} +5 -5
  243. package/dist/esm/{component-CNgECeRi.js → component-BC1TpQVD.js} +8 -8
  244. package/dist/esm/{component-6_YiKr2Z.js → component-BUzgs8fh.js} +11 -11
  245. package/dist/esm/{component-DEwcJKDA.js → component-Bldy_ShO.js} +4 -4
  246. package/dist/esm/component-Cj3P_f35.js +173 -0
  247. package/dist/esm/{component-B8UMedaK.js → component-D5yKRPCZ.js} +3 -3
  248. package/dist/esm/{component-NOe28NXD.js → component-DisuGN16.js} +3 -3
  249. package/dist/esm/{component-CMHB3reH.js → component-DxnezN7K.js} +4 -4
  250. package/dist/esm/{component-bIIx1x7q.js → component-LadkF9an.js} +2 -2
  251. package/dist/esm/{component-CiJGQTU0.js → component-ZJiUl6kZ.js} +10 -10
  252. package/dist/esm/{component-ZdHnXLLI.js → component-vxdandl4.js} +6 -6
  253. package/dist/esm/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
  254. package/dist/esm/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
  255. package/dist/esm/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +2 -2
  256. package/dist/esm/{disabled-B2o4Ctgy.js → disabled-C2DzYwwy.js} +1 -1
  257. package/dist/esm/{field-control-C9dIXnES.js → field-control-CQJgDAKK.js} +6 -6
  258. package/dist/esm/{group-DydT1Z92.js → group-DCoICCiG.js} +4 -4
  259. package/dist/esm/{has-closer-BrG00xL7.js → has-closer-x20C4xl3.js} +1 -1
  260. package/dist/esm/{href-CfNF4pHX.js → href-vIF4eC7d.js} +1 -1
  261. package/dist/esm/{id-Bh4FF8c0.js → id-lCAtMmMx.js} +1 -1
  262. package/dist/esm/{index-Bbr6Os1b.js → index-8-BSSKQL.js} +1 -1
  263. package/dist/esm/{input-C1YsxnDL.js → input-C4yo-d7N.js} +4 -4
  264. package/dist/esm/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +5 -5
  265. package/dist/esm/{item-zXunNZh5.js → item-BANfM_Mo.js} +9 -9
  266. package/dist/esm/{item-DXDEHrEg.js → item-C2HHBTvm.js} +4 -4
  267. package/dist/esm/{item-hsQoejqZ.js → item-H09kNXn9.js} +4 -4
  268. package/dist/esm/{item-Dms_59sU.js → item-gvmzMXYb.js} +11 -11
  269. package/dist/esm/kol-abbr.entry.js +5 -5
  270. package/dist/esm/kol-accordion.entry.js +14 -14
  271. package/dist/esm/kol-alert.entry.js +21 -21
  272. package/dist/esm/kol-avatar.entry.js +9 -9
  273. package/dist/esm/kol-badge.entry.js +22 -22
  274. package/dist/esm/kol-breadcrumb.entry.js +22 -22
  275. package/dist/esm/kol-button-link.entry.js +19 -19
  276. package/dist/esm/kol-button.entry.js +19 -19
  277. package/dist/esm/kol-card.entry.js +24 -24
  278. package/dist/esm/kol-combobox.entry.js +32 -32
  279. package/dist/esm/kol-details.entry.js +14 -14
  280. package/dist/esm/kol-dialog.entry.js +27 -27
  281. package/dist/esm/kol-drawer.entry.js +26 -26
  282. package/dist/esm/kol-form.entry.js +20 -20
  283. package/dist/esm/kol-heading.entry.js +9 -9
  284. package/dist/esm/kol-icon.entry.js +7 -7
  285. package/dist/esm/kol-image.entry.js +4 -4
  286. package/dist/esm/kol-input-checkbox.entry.js +28 -28
  287. package/dist/esm/kol-input-color.entry.js +31 -31
  288. package/dist/esm/kol-input-date.entry.js +33 -33
  289. package/dist/esm/kol-input-email.entry.js +37 -37
  290. package/dist/esm/kol-input-file.entry.js +30 -30
  291. package/dist/esm/kol-input-number.entry.js +35 -35
  292. package/dist/esm/kol-input-password.entry.js +35 -35
  293. package/dist/esm/kol-input-radio.entry.js +30 -30
  294. package/dist/esm/kol-input-range.entry.js +31 -31
  295. package/dist/esm/kol-input-text.entry.js +37 -37
  296. package/dist/esm/kol-kolibri.entry.js +3 -3
  297. package/dist/esm/kol-link-button.entry.js +20 -20
  298. package/dist/esm/kol-link.entry.js +20 -20
  299. package/dist/esm/kol-meter.entry.js +9 -9
  300. package/dist/esm/kol-modal.entry.js +27 -27
  301. package/dist/esm/kol-nav.entry.js +27 -27
  302. package/dist/esm/kol-pagination.entry.js +33 -33
  303. package/dist/esm/kol-popover-button.entry.js +20 -20
  304. package/dist/esm/kol-progress.entry.js +8 -8
  305. package/dist/esm/kol-quote.entry.js +6 -6
  306. package/dist/esm/kol-select.entry.js +30 -30
  307. package/dist/esm/kol-single-select.entry.js +32 -32
  308. package/dist/esm/kol-skip-nav.entry.js +22 -22
  309. package/dist/esm/kol-spin.entry.js +7 -7
  310. package/dist/esm/kol-split-button.entry.js +22 -22
  311. package/dist/esm/kol-table-stateful.entry.js +45 -45
  312. package/dist/esm/kol-table-stateless.entry.js +34 -34
  313. package/dist/esm/kol-tabs.entry.js +19 -19
  314. package/dist/esm/kol-textarea.entry.js +33 -33
  315. package/dist/esm/kol-toast-container.entry.js +16 -16
  316. package/dist/esm/kol-toolbar.entry.js +24 -24
  317. package/dist/esm/kol-tooltip-wc.entry.js +10 -10
  318. package/dist/esm/kol-tree-item.entry.js +18 -18
  319. package/dist/esm/kol-tree.entry.js +6 -6
  320. package/dist/esm/kol-version.entry.js +17 -17
  321. package/dist/esm/kolibri.js +3 -3
  322. package/dist/esm/{label-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
  323. package/dist/esm/{label-lang-segment-C5LYGOHt.js → label-lang-segment-B13iL7iy.js} +2 -2
  324. package/dist/esm/{label-BQVd3bkc.js → label-mr5joqaQ.js} +3 -3
  325. package/dist/esm/{label-with-expert-slot-D1tpX9DI.js → label-with-expert-slot-BVqi0_Fb.js} +3 -3
  326. package/dist/esm/{level-BVXGgbSM.js → level-eGeMFn0b.js} +1 -1
  327. package/dist/esm/{link-target-BWPSEd9a.js → link-target-DEH-wAmf.js} +1 -1
  328. package/dist/esm/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
  329. package/dist/esm/loader.js +3 -3
  330. package/dist/esm/{multiple-S3Ol1G6Z.js → multiple-F8uOX8RD.js} +1 -1
  331. package/dist/esm/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
  332. package/dist/esm/{open-DPP79Urq.js → open-DoPXNruj.js} +1 -1
  333. package/dist/esm/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
  334. package/dist/esm/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
  335. package/dist/esm/{placeholder-DlHbiVjz.js → placeholder-BPZ2sQEB.js} +1 -1
  336. package/dist/esm/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
  337. package/dist/esm/{read-only-DSBWEPED.js → read-only-9BPUG7r4.js} +1 -1
  338. package/dist/esm/{required-xw5BBPvV.js → required-DBJ4iW2e.js} +1 -1
  339. package/dist/esm/{resolve-props-DAVb5BM3.js → resolve-props-0xfjG6h5.js} +6 -6
  340. package/dist/esm/{resolve-props-CL8wxjtP.js → resolve-props-BQa6SjZU.js} +7 -7
  341. package/dist/esm/{rows-DRV8YlQv.js → rows-DuYJeJT7.js} +1 -1
  342. package/dist/esm/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +2 -2
  343. package/dist/esm/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
  344. package/dist/esm/{spell-check-hy6xFhmT.js → spell-check-Bvc-Peew.js} +1 -1
  345. package/dist/esm/{src-AwoM1pRe.js → src-CVwlo_cY.js} +1 -1
  346. package/dist/esm/{step-CopA0_m7.js → step-oCposIuI.js} +1 -1
  347. package/dist/esm/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
  348. package/dist/esm/{suggestions-BsiiaAxK.js → suggestions-fWMdnACm.js} +3 -3
  349. package/dist/esm/test-component.entry.js +1 -1
  350. package/dist/esm/{toggle-handler-ZMs2rBXc.js → toggle-handler-CtJ2Z7Us.js} +8 -8
  351. package/dist/esm/{unique-nav-labels-BV-M3fPR.js → unique-nav-labels-CZIyOzqJ.js} +1 -1
  352. package/dist/esm/{unit-hmMwqE9a.js → unit-YqluIXsF.js} +1 -1
  353. package/dist/esm/{validators-BgDmq-Qt.js → validators-ByUMEUYD.js} +1 -1
  354. package/dist/esm/{value-string-Dy8zJxlP.js → value-string-Baqhc_TX.js} +1 -1
  355. package/dist/esm/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
  356. package/dist/kolibri/Heading-DDS-lyOB.js +4 -0
  357. package/dist/kolibri/{api-D0RNr-zh.js → api-MBSY9afi.js} +1 -1
  358. package/dist/kolibri/app-globals-DytcyM_s.js +4 -0
  359. package/dist/kolibri/base-D-me6QDT.js +4 -0
  360. package/dist/kolibri/base-D7-iAVBu.js +4 -0
  361. package/dist/kolibri/base-DP9yHJOV.js +4 -0
  362. package/dist/kolibri/{base-CLsKm3-e.js → base-DZBnXHZh.js} +1 -1
  363. package/dist/kolibri/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +1 -1
  364. package/dist/kolibri/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
  365. package/dist/kolibri/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +1 -1
  366. package/dist/kolibri/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +1 -1
  367. package/dist/kolibri/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +1 -1
  368. package/dist/kolibri/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +1 -1
  369. package/dist/kolibri/{color-BbljGuAW.js → color-CnRQPMm_.js} +1 -1
  370. package/dist/kolibri/{component-CSsUaL_h.js → component-B4CDonzN.js} +1 -1
  371. package/dist/kolibri/component-BC1TpQVD.js +4 -0
  372. package/dist/kolibri/component-BUzgs8fh.js +4 -0
  373. package/dist/kolibri/component-Bldy_ShO.js +4 -0
  374. package/dist/kolibri/component-Cj3P_f35.js +4 -0
  375. package/dist/kolibri/component-D5yKRPCZ.js +4 -0
  376. package/dist/kolibri/{component-NOe28NXD.js → component-DisuGN16.js} +1 -1
  377. package/dist/kolibri/component-DxnezN7K.js +4 -0
  378. package/dist/kolibri/component-LadkF9an.js +4 -0
  379. package/dist/kolibri/component-ZJiUl6kZ.js +4 -0
  380. package/dist/kolibri/component-vxdandl4.js +4 -0
  381. package/dist/kolibri/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
  382. package/dist/kolibri/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
  383. package/dist/kolibri/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +1 -1
  384. package/dist/kolibri/disabled-C2DzYwwy.js +4 -0
  385. package/dist/kolibri/field-control-CQJgDAKK.js +4 -0
  386. package/dist/kolibri/{group-DydT1Z92.js → group-DCoICCiG.js} +1 -1
  387. package/dist/kolibri/has-closer-x20C4xl3.js +4 -0
  388. package/dist/kolibri/href-vIF4eC7d.js +4 -0
  389. package/dist/kolibri/id-lCAtMmMx.js +4 -0
  390. package/dist/kolibri/index-8-BSSKQL.js +6 -0
  391. package/dist/kolibri/input-C4yo-d7N.js +4 -0
  392. package/dist/kolibri/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +1 -1
  393. package/dist/kolibri/{item-zXunNZh5.js → item-BANfM_Mo.js} +1 -1
  394. package/dist/kolibri/item-C2HHBTvm.js +4 -0
  395. package/dist/kolibri/item-H09kNXn9.js +4 -0
  396. package/dist/kolibri/item-gvmzMXYb.js +4 -0
  397. package/dist/kolibri/kol-abbr.entry.js +1 -1
  398. package/dist/kolibri/kol-accordion.entry.js +1 -1
  399. package/dist/kolibri/kol-alert.entry.js +1 -1
  400. package/dist/kolibri/kol-avatar.entry.js +1 -1
  401. package/dist/kolibri/kol-badge.entry.js +1 -1
  402. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  403. package/dist/kolibri/kol-button-link.entry.js +1 -1
  404. package/dist/kolibri/kol-button.entry.js +1 -1
  405. package/dist/kolibri/kol-card.entry.js +1 -1
  406. package/dist/kolibri/kol-combobox.entry.js +1 -1
  407. package/dist/kolibri/kol-details.entry.js +1 -1
  408. package/dist/kolibri/kol-dialog.entry.js +1 -1
  409. package/dist/kolibri/kol-drawer.entry.js +1 -1
  410. package/dist/kolibri/kol-form.entry.js +1 -1
  411. package/dist/kolibri/kol-heading.entry.js +1 -1
  412. package/dist/kolibri/kol-icon.entry.js +1 -1
  413. package/dist/kolibri/kol-image.entry.js +1 -1
  414. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  415. package/dist/kolibri/kol-input-color.entry.js +1 -1
  416. package/dist/kolibri/kol-input-date.entry.js +1 -1
  417. package/dist/kolibri/kol-input-email.entry.js +1 -1
  418. package/dist/kolibri/kol-input-file.entry.js +1 -1
  419. package/dist/kolibri/kol-input-number.entry.js +1 -1
  420. package/dist/kolibri/kol-input-password.entry.js +1 -1
  421. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  422. package/dist/kolibri/kol-input-range.entry.js +1 -1
  423. package/dist/kolibri/kol-input-text.entry.js +1 -1
  424. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  425. package/dist/kolibri/kol-link-button.entry.js +1 -1
  426. package/dist/kolibri/kol-link.entry.js +1 -1
  427. package/dist/kolibri/kol-meter.entry.js +1 -1
  428. package/dist/kolibri/kol-modal.entry.js +1 -1
  429. package/dist/kolibri/kol-nav.entry.js +1 -1
  430. package/dist/kolibri/kol-pagination.entry.js +1 -1
  431. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  432. package/dist/kolibri/kol-progress.entry.js +1 -1
  433. package/dist/kolibri/kol-quote.entry.js +1 -1
  434. package/dist/kolibri/kol-select.entry.js +1 -1
  435. package/dist/kolibri/kol-single-select.entry.js +1 -1
  436. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  437. package/dist/kolibri/kol-spin.entry.js +1 -1
  438. package/dist/kolibri/kol-split-button.entry.js +1 -1
  439. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  440. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  441. package/dist/kolibri/kol-tabs.entry.js +1 -1
  442. package/dist/kolibri/kol-textarea.entry.js +1 -1
  443. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  444. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  445. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  446. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  447. package/dist/kolibri/kol-tree.entry.js +1 -1
  448. package/dist/kolibri/kol-version.entry.js +1 -1
  449. package/dist/kolibri/kolibri.esm.js +1 -1
  450. package/dist/kolibri/{label-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
  451. package/dist/kolibri/label-lang-segment-B13iL7iy.js +4 -0
  452. package/dist/kolibri/label-mr5joqaQ.js +4 -0
  453. package/dist/kolibri/label-with-expert-slot-BVqi0_Fb.js +4 -0
  454. package/dist/kolibri/level-eGeMFn0b.js +4 -0
  455. package/dist/kolibri/link-target-DEH-wAmf.js +4 -0
  456. package/dist/kolibri/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
  457. package/dist/kolibri/multiple-F8uOX8RD.js +4 -0
  458. package/dist/kolibri/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
  459. package/dist/kolibri/open-DoPXNruj.js +4 -0
  460. package/dist/kolibri/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
  461. package/dist/kolibri/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
  462. package/dist/kolibri/placeholder-BPZ2sQEB.js +4 -0
  463. package/dist/kolibri/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
  464. package/dist/kolibri/read-only-9BPUG7r4.js +4 -0
  465. package/dist/kolibri/required-DBJ4iW2e.js +4 -0
  466. package/dist/kolibri/resolve-props-0xfjG6h5.js +4 -0
  467. package/dist/kolibri/resolve-props-BQa6SjZU.js +4 -0
  468. package/dist/kolibri/rows-DuYJeJT7.js +4 -0
  469. package/dist/kolibri/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +1 -1
  470. package/dist/kolibri/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
  471. package/dist/kolibri/spell-check-Bvc-Peew.js +4 -0
  472. package/dist/kolibri/src-CVwlo_cY.js +4 -0
  473. package/dist/kolibri/step-oCposIuI.js +4 -0
  474. package/dist/kolibri/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
  475. package/dist/kolibri/suggestions-fWMdnACm.js +4 -0
  476. package/dist/kolibri/test-component.entry.js +1 -1
  477. package/dist/kolibri/toggle-handler-CtJ2Z7Us.js +4 -0
  478. package/dist/kolibri/unique-nav-labels-CZIyOzqJ.js +4 -0
  479. package/dist/kolibri/unit-YqluIXsF.js +4 -0
  480. package/dist/kolibri/validators-ByUMEUYD.js +4 -0
  481. package/dist/kolibri/value-string-Baqhc_TX.js +4 -0
  482. package/dist/kolibri/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
  483. package/package.json +3 -5
  484. package/dist/cjs/component-DE4OHvyu.js +0 -9299
  485. package/dist/esm/component-hiabKVP3.js +0 -9294
  486. package/dist/kolibri/Heading-BubZbykM.js +0 -4
  487. package/dist/kolibri/app-globals-DYRte_jr.js +0 -4
  488. package/dist/kolibri/base-BP5SdLvQ.js +0 -4
  489. package/dist/kolibri/base-BbGt9eYx.js +0 -4
  490. package/dist/kolibri/base-Cz00snD6.js +0 -4
  491. package/dist/kolibri/component-6_YiKr2Z.js +0 -4
  492. package/dist/kolibri/component-B8UMedaK.js +0 -4
  493. package/dist/kolibri/component-CMHB3reH.js +0 -4
  494. package/dist/kolibri/component-CNgECeRi.js +0 -4
  495. package/dist/kolibri/component-CiJGQTU0.js +0 -4
  496. package/dist/kolibri/component-DEwcJKDA.js +0 -4
  497. package/dist/kolibri/component-ZdHnXLLI.js +0 -4
  498. package/dist/kolibri/component-bIIx1x7q.js +0 -4
  499. package/dist/kolibri/component-hiabKVP3.js +0 -4
  500. package/dist/kolibri/disabled-B2o4Ctgy.js +0 -4
  501. package/dist/kolibri/field-control-C9dIXnES.js +0 -4
  502. package/dist/kolibri/has-closer-BrG00xL7.js +0 -4
  503. package/dist/kolibri/href-CfNF4pHX.js +0 -4
  504. package/dist/kolibri/id-Bh4FF8c0.js +0 -4
  505. package/dist/kolibri/index-Bbr6Os1b.js +0 -6
  506. package/dist/kolibri/input-C1YsxnDL.js +0 -4
  507. package/dist/kolibri/item-DXDEHrEg.js +0 -4
  508. package/dist/kolibri/item-Dms_59sU.js +0 -4
  509. package/dist/kolibri/item-hsQoejqZ.js +0 -4
  510. package/dist/kolibri/label-BQVd3bkc.js +0 -4
  511. package/dist/kolibri/label-lang-segment-C5LYGOHt.js +0 -4
  512. package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +0 -4
  513. package/dist/kolibri/level-BVXGgbSM.js +0 -4
  514. package/dist/kolibri/link-target-BWPSEd9a.js +0 -4
  515. package/dist/kolibri/multiple-S3Ol1G6Z.js +0 -4
  516. package/dist/kolibri/open-DPP79Urq.js +0 -4
  517. package/dist/kolibri/placeholder-DlHbiVjz.js +0 -4
  518. package/dist/kolibri/read-only-DSBWEPED.js +0 -4
  519. package/dist/kolibri/required-xw5BBPvV.js +0 -4
  520. package/dist/kolibri/resolve-props-CL8wxjtP.js +0 -4
  521. package/dist/kolibri/resolve-props-DAVb5BM3.js +0 -4
  522. package/dist/kolibri/rows-DRV8YlQv.js +0 -4
  523. package/dist/kolibri/spell-check-hy6xFhmT.js +0 -4
  524. package/dist/kolibri/src-AwoM1pRe.js +0 -4
  525. package/dist/kolibri/step-CopA0_m7.js +0 -4
  526. package/dist/kolibri/suggestions-BsiiaAxK.js +0 -4
  527. package/dist/kolibri/toggle-handler-ZMs2rBXc.js +0 -4
  528. package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +0 -4
  529. package/dist/kolibri/unit-hmMwqE9a.js +0 -4
  530. package/dist/kolibri/validators-BgDmq-Qt.js +0 -4
  531. package/dist/kolibri/value-string-Dy8zJxlP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as o,h as t,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{b as a}from"./bem-registry-SKACeCny.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as r,g as s,I as c}from"./input-container-zXl_6y52.js";import{f as h,B as d,F as m}from"./api-D0RNr-zh.js";import{I as p}from"./input-C1YsxnDL.js";import{a as k,S as b}from"./suggestions-BsiiaAxK.js";import"./common-BdSzSIXg.js";import{a as u,d as f,v as g}from"./component-DEwcJKDA.js";import"./props-from-config-BOUcpF7e.js";import{s as _}from"./smart-button-CQps8AlL.js";import{s as y}from"./suggestions-CY8BJMOa.js";import{s as v}from"./value-string-Dy8zJxlP.js";import{c as w}from"./dev.utils-B0t4rcBV.js";import{d as x,a as j,c as B}from"./element-interaction-sGYdEpmv.js";import"./component-CNgECeRi.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./component-B8UMedaK.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-CYPdDdRn.js";import"./item-hsQoejqZ.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./i18n-BRgvVqCf.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./i18n-BLkzMf6D.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";import"./element-focus-BIRmGg5W.js";const C={required:[...h.required],optional:[...h.optional,u,k,r,f,_,v,y,g]},z=a.forBlock("kol-input-color"),D=class extends d{constructor(t){super(),new.target===D&&o(this,t),this.id=w("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=B(),this.propsConfig=C,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleColorInput=o=>{const t=o.target.value;this.setRenderProp("value",t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(o)},this.initFormAssociation("color",this._name)}watchAccessKey(o){u.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){k.apply(o,(o=>this.setRenderProp("autoComplete",o)))}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){r.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){f.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):_.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){y.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){v.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){g.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){var o;return Promise.resolve(null===(o=this.ctaRef.el)||void 0===o?void 0:o.value)}focus(o){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){const o=this.id,e=this.getRenderProp("name"),i=this.getRenderProp("accessKey"),n=this.getRenderProp("shortKey"),a=this.getRenderProp("suggestions"),{ariaDescribedBy:l,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:o,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:e?`${e}-color`:void 0},i?{accessKey:i}:{}),{value:this.getRenderProp("value"),autoComplete:this.getRenderProp("autoComplete"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),n?{"aria-keyshortcuts":n}:{}),{suggestions:a.length>0?t(b,{id:o,suggestions:a}):void 0,class:z("input",{color:!0}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:l,"aria-invalid":r?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=s({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"89e0f26553404c7836b933b0f36d8075b8bad263"},t(m,Object.assign({key:"b587f9fe1e55ef2708b4621c5b9e12abea47e0e9"},this.getFormFieldProps({class:z(),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(c,{key:"a6e45cf9a2e54391629b6ddd04b7e7b24b1c2dfe",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(p,Object.assign({key:"0b65d575f9f5938229289aaccc8c514171755c6a"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([x("ctaRef")],D.prototype,"focus",null),n([j("ctaRef")],D.prototype,"click",null),D.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }'};export{D as kol_input_color}
4
+ import{r as o,h as t,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{b as a}from"./bem-registry-SKACeCny.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as r,g as s,I as c}from"./input-container-Cb2xJUCl.js";import{f as h,B as d,F as m}from"./api-MBSY9afi.js";import{I as p}from"./input-C4yo-d7N.js";import{a as k,S as b}from"./suggestions-fWMdnACm.js";import"./common-BdSzSIXg.js";import{a as u,d as f,v as g}from"./component-Bldy_ShO.js";import"./props-from-config-LBgEHmcL.js";import{s as _}from"./smart-button-p4avK7MS.js";import{s as y}from"./suggestions-BsWy2U2z.js";import{s as v}from"./value-string-Baqhc_TX.js";import{c as w}from"./dev.utils-DM7Qhcet.js";import{d as x,a as j,c as B}from"./element-interaction-sGYdEpmv.js";import"./component-BC1TpQVD.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./component-D5yKRPCZ.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./validators-ByUMEUYD.js";import"./label-hints-BUADjqKF.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-Bh2NCN7p.js";import"./item-H09kNXn9.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./i18n-BRgvVqCf.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./i18n-BLkzMf6D.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./element-focus-BIRmGg5W.js";const C={required:[...h.required],optional:[...h.optional,u,k,r,f,_,v,y,g]},z=a.forBlock("kol-input-color"),D=class extends d{constructor(t){super(),new.target===D&&o(this,t),this.id=w("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=B(),this.propsConfig=C,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleColorInput=o=>{const t=o.target.value;this.setRenderProp("value",t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(o)},this.initFormAssociation("color",this._name)}watchAccessKey(o){u.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){k.apply(o,(o=>this.setRenderProp("autoComplete",o)))}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){r.apply(o,(o=>this.setRenderProp("icons",o)))}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){f.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):_.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){y.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){v.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){g.apply(o,(o=>this.setRenderProp("variant",o)))}getValue(){var o;return Promise.resolve(null===(o=this.ctaRef.el)||void 0===o?void 0:o.value)}focus(o){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){const o=this.id,e=this.getRenderProp("name"),i=this.getRenderProp("accessKey"),n=this.getRenderProp("shortKey"),a=this.getRenderProp("suggestions"),{ariaDescribedBy:l,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:o,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:e?`${e}-color`:void 0},i?{accessKey:i}:{}),{value:this.getRenderProp("value"),autoComplete:this.getRenderProp("autoComplete"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),n?{"aria-keyshortcuts":n}:{}),{suggestions:a.length>0?t(b,{id:o,suggestions:a}):void 0,class:z("input",{color:!0}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:l,"aria-invalid":r?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=s({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"89e0f26553404c7836b933b0f36d8075b8bad263"},t(m,Object.assign({key:"b587f9fe1e55ef2708b4621c5b9e12abea47e0e9"},this.getFormFieldProps({class:z(),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(c,{key:"a6e45cf9a2e54391629b6ddd04b7e7b24b1c2dfe",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(p,Object.assign({key:"0b65d575f9f5938229289aaccc8c514171755c6a"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([x("ctaRef")],D.prototype,"focus",null),n([j("ctaRef")],D.prototype,"click",null),D.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }'};export{D as kol_input_color}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as o,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{c as a}from"./common-BdSzSIXg.js";import{b as r}from"./bem-registry-SKACeCny.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as c,I as h}from"./input-container-zXl_6y52.js";import{f as d,B as m,F as p}from"./api-D0RNr-zh.js";import{I as u}from"./input-C1YsxnDL.js";import{a as k,S as b}from"./suggestions-BsiiaAxK.js";import{a as f,d as g,v as y}from"./component-DEwcJKDA.js";import{h as _,c as v,b as w,i as x,e as j}from"./props-from-config-BOUcpF7e.js";import{r as B}from"./read-only-DSBWEPED.js";import{r as D}from"./required-xw5BBPvV.js";import{s as C}from"./smart-button-CQps8AlL.js";import{s as z}from"./step-CopA0_m7.js";import{s as S}from"./suggestions-CY8BJMOa.js";import{c as T}from"./dev.utils-B0t4rcBV.js";import{d as O,a as K,c as A}from"./element-interaction-sGYdEpmv.js";import{s as I}from"./controller-CZcQ57AP.js";import"./component-CNgECeRi.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./component-B8UMedaK.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-CYPdDdRn.js";import"./item-hsQoejqZ.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./i18n-BLkzMf6D.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";import"./element-focus-BIRmGg5W.js";const q=["date","datetime-local","month","time","week"],L=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,M=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,P=/^\d{4}-([0]\d|1[0-2])/,V=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,H=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function R(t,{type:o,step:e}){return function(t,o,e){if("string"==typeof t||null===t)return t;if(t instanceof Date){const i=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),r=String(t.getHours()).padStart(2,"0"),l=String(t.getMinutes()).padStart(2,"0"),s=String(t.getSeconds()).padStart(2,"0"),c=[i,n,a].join("-"),h=[r,l,s].join(":");switch(o){case"date":return c;case"datetime-local":return`${c}T${h}`;case"month":return`${i}-${n}`;case"time":return void 0===e||"60"===String(e)?`${r}:${l}`:h;case"week":return`${i}-W${function(t){const o=new Date(t),e=(o.getDay()+6)%7;o.setDate(o.getDate()-e+3);const i=o.valueOf();return o.setMonth(0,1),4!==o.getDay()&&o.setMonth(0,1+(4-o.getDay()+7)%7),(1+Math.ceil((i-o.valueOf())/6048e5)).toString().padStart(2,"0")}(t)}`}}}(t,o,e)}function G(t,{type:o}){return null==t||""===t||function(t,o){switch(o){case"date":return L.test(t);case"datetime-local":return M.test(t);case"month":return P.test(t);case"time":return V.test(t);case"week":return H.test(t);default:return!1}}(t,o)}const $=_("max",void 0,R,G),N=_("min",void 0,R,G),E=v("type","date",(function(t){const o=w(t);if(x(o,q))return o;throw new Error(`Invalid input date type: ${o}`)})),F=_("value",void 0,R,G);function Z(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function Q(t,o){return""===t?null:"Date"!==o?t:function(t){const o=U.exec(t);return o?new Date(Number(o[1]),Number(o[2])-1,Number(o[3])):new Date(t)}(t)}const U=/^(\d{4})-(\d{2})-(\d{2})$/,Y={required:[...d.required],optional:[...d.optional,f,k,s,$,N,E,F,B,D,g,C,z,S,y]},W=r.forBlock("kol-input-date"),X=class extends m{constructor(o){super(),new.target===X&&t(this,o),this.id=T("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.hasValue=!1,this.ctaRef=A(),this.valueType=null,this.propsConfig=Y,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this._variant=void 0,this.handleDateInput=t=>{const o=this.readValue(t);this._value=o,this.handleInput(t,o)},this.handleDateChange=t=>{const o=this.readValue(t);this.handleChange(t,o),this.hasValue=Boolean(o)},this.handleDateBlur=t=>{this.handleBlur(t);const o=t.target.value;Boolean(o)!==Boolean(this._value)&&(this._value=o)},this.handleDateKeyDown=t=>{this.handleKeyDown(t),I(t,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp("readOnly")&&"Space"===t.code&&t.preventDefault()},this.initFormAssociation("date",this._name)}watchAccessKey(t){f.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){k.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){$.apply(t,(t=>this.setRenderProp("max",t)),this.dateDeps)}watchMin(t){N.apply(t,(t=>this.setRenderProp("min",t)),this.dateDeps)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchReadOnly(t){B.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){D.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):C.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){S.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchStep(t){z.apply(t,(t=>this.setRenderProp("step",t)))}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchType(t){E.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&a("Date type will be removed in v3. Use `Iso8601` instead."),F.apply(t,(t=>this.setRenderProp("value",t)),this.dateDeps),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=Z(t))}watchVariant(t){y.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&Q(this.ctaRef.el.value,this.valueType))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp("value",void 0),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=Z(this._value)),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchType(this._type),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(t){return Q(t.target.value,this.valueType)}getInputProps(){var t,e,i,n;const a=this.id,r=this.getRenderProp("accessKey"),l=this.getRenderProp("shortKey"),s=this.getRenderProp("suggestions"),{ariaDescribedBy:c,hasError:h}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},r?{accessKey:r}:{}),{type:this.getRenderProp("type"),value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null===this._value?null:void 0,required:this.getRenderProp("required"),autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null===this._min?null:void 0,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null===this._max?null:void 0,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),s.length>0?{suggestions:o(b,{id:a,suggestions:s})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:c,"aria-invalid":h?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return o(e,{key:"5927ba049cedee1387da8ac344d45839bf7b5273"},o(p,Object.assign({key:"569e5d28c5a9cd6549156c2f55a65408246fc68f"},this.getFormFieldProps({class:j(W(),this.getRenderProp("type"),{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(h,{key:"1480cd1c9c6a8b4dc9a321c90a60c29e555292da",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(u,Object.assign({key:"5fd31dcad9dade642ed77bc6117a085d9b03f7e2"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_step:[{watchStep:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([O("ctaRef")],X.prototype,"focus",null),n([K("ctaRef")],X.prototype,"click",null),X.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }'};export{X as kol_input_date}
4
+ import{r as t,h as o,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{c as a}from"./common-BdSzSIXg.js";import{b as r}from"./bem-registry-SKACeCny.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as c,I as h}from"./input-container-Cb2xJUCl.js";import{f as d,B as m,F as p}from"./api-MBSY9afi.js";import{I as u}from"./input-C4yo-d7N.js";import{a as k,S as f}from"./suggestions-fWMdnACm.js";import{a as b,d as g,v as y}from"./component-Bldy_ShO.js";import{h as _,c as v,b as w,i as x,e as j}from"./props-from-config-LBgEHmcL.js";import{r as B}from"./read-only-9BPUG7r4.js";import{r as C}from"./required-DBJ4iW2e.js";import{s as D}from"./smart-button-p4avK7MS.js";import{s as z}from"./step-oCposIuI.js";import{s as S}from"./suggestions-BsWy2U2z.js";import{c as T}from"./dev.utils-DM7Qhcet.js";import{d as K,a as O,c as M}from"./element-interaction-sGYdEpmv.js";import{s as A}from"./controller-CZcQ57AP.js";import"./component-BC1TpQVD.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./component-D5yKRPCZ.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./validators-ByUMEUYD.js";import"./label-hints-BUADjqKF.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-Bh2NCN7p.js";import"./item-H09kNXn9.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./i18n-BLkzMf6D.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./element-focus-BIRmGg5W.js";const q=["date","datetime-local","month","time","week"],I=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,L=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,P=/^\d{4}-([0]\d|1[0-2])/,V=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,H=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function R(t,{type:o,step:e}){return function(t,o,e){if("string"==typeof t||null===t)return t;if(t instanceof Date){const i=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0"),r=String(t.getHours()).padStart(2,"0"),l=String(t.getMinutes()).padStart(2,"0"),s=String(t.getSeconds()).padStart(2,"0"),c=[i,n,a].join("-"),h=[r,l,s].join(":");switch(o){case"date":return c;case"datetime-local":return`${c}T${h}`;case"month":return`${i}-${n}`;case"time":return void 0===e||"60"===String(e)?`${r}:${l}`:h;case"week":return`${i}-W${function(t){const o=new Date(t),e=(o.getDay()+6)%7;o.setDate(o.getDate()-e+3);const i=o.valueOf();return o.setMonth(0,1),4!==o.getDay()&&o.setMonth(0,1+(4-o.getDay()+7)%7),(1+Math.ceil((i-o.valueOf())/6048e5)).toString().padStart(2,"0")}(t)}`}}}(t,o,e)}function G(t,{type:o}){return null==t||""===t||function(t,o){switch(o){case"date":return I.test(t);case"datetime-local":return L.test(t);case"month":return P.test(t);case"time":return V.test(t);case"week":return H.test(t);default:return!1}}(t,o)}const N=_("max",void 0,R,G),$=_("min",void 0,R,G),U=v("type","date",(function(t){const o=w(t);if(x(o,q))return o;throw new Error(`Invalid input date type: ${o}`)})),W=_("value",void 0,R,G);function F(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function Q(t,o){return""===t?null:"Date"!==o?t:function(t){const o=X.exec(t);return o?new Date(Number(o[1]),Number(o[2])-1,Number(o[3])):new Date(t)}(t)}const X=/^(\d{4})-(\d{2})-(\d{2})$/,Y={required:[...d.required],optional:[...d.optional,b,k,s,N,$,U,W,B,C,g,D,z,S,y]},E=r.forBlock("kol-input-date"),J=class extends m{constructor(o){super(),new.target===J&&t(this,o),this.id=T("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.hasValue=!1,this.ctaRef=M(),this.valueType=null,this.propsConfig=Y,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tooltipAlign="top",this._touched=!1,this._type="date",this._value=void 0,this._variant=void 0,this.handleDateInput=t=>{const o=this.readValue(t);this._value=o,this.handleInput(t,o)},this.handleDateChange=t=>{const o=this.readValue(t);this.handleChange(t,o),this.hasValue=Boolean(o)},this.handleDateBlur=t=>{this.handleBlur(t);const o=t.target.value;Boolean(o)!==Boolean(this._value)&&(this._value=o)},this.handleDateKeyDown=t=>{this.handleKeyDown(t),A(t,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp("readOnly")&&"Space"===t.code&&t.preventDefault()},this.initFormAssociation("date",this._name)}watchAccessKey(t){b.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){k.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){N.apply(t,(t=>this.setRenderProp("max",t)),this.dateDeps)}watchMin(t){$.apply(t,(t=>this.setRenderProp("min",t)),this.dateDeps)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchReadOnly(t){B.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){C.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):D.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){S.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchStep(t){z.apply(t,(t=>this.setRenderProp("step",t)))}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchType(t){U.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&a("Date type will be removed in v3. Use `Iso8601` instead."),W.apply(t,(t=>this.setRenderProp("value",t)),this.dateDeps),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=F(t))}watchVariant(t){y.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&Q(this.ctaRef.el.value,this.valueType))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp("value",void 0),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=F(this._value)),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchType(this._type),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(t){return Q(t.target.value,this.valueType)}getInputProps(){var t,e,i,n;const a=this.id,r=this.getRenderProp("accessKey"),l=this.getRenderProp("shortKey"),s=this.getRenderProp("suggestions"),{ariaDescribedBy:c,hasError:h}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},r?{accessKey:r}:{}),{type:this.getRenderProp("type"),value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null===this._value?null:void 0,required:this.getRenderProp("required"),autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null===this._min?null:void 0,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null===this._max?null:void 0,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),s.length>0?{suggestions:o(f,{id:a,suggestions:s})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:c,"aria-invalid":h?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return o(e,{key:"5927ba049cedee1387da8ac344d45839bf7b5273"},o(p,Object.assign({key:"569e5d28c5a9cd6549156c2f55a65408246fc68f"},this.getFormFieldProps({class:j(E(),this.getRenderProp("type"),{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(h,{key:"1480cd1c9c6a8b4dc9a321c90a60c29e555292da",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(u,Object.assign({key:"5fd31dcad9dade642ed77bc6117a085d9b03f7e2"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_step:[{watchStep:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([K("ctaRef")],J.prototype,"focus",null),n([O("ctaRef")],J.prototype,"click",null),J.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }'};export{J as kol_input_date}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as o,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as a}from"./api-D0RNr-zh.js";import{I as l}from"./input-C1YsxnDL.js";import{I as r}from"./input-container-zXl_6y52.js";import"./common-BdSzSIXg.js";import{e as s}from"./props-from-config-BOUcpF7e.js";import{m as c}from"./multiple-S3Ol1G6Z.js";import{s as h}from"./suggestions-CY8BJMOa.js";import{t as d,B as m}from"./base-web-component-DP9_OPgV.js";import{b as p}from"./bem-registry-SKACeCny.js";import{c as k}from"./dev.utils-B0t4rcBV.js";import{d as b,a as f}from"./element-interaction-sGYdEpmv.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./disabled-B2o4Ctgy.js";import"./component-DEwcJKDA.js";import"./validators-BgDmq-Qt.js";import"./component-B8UMedaK.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./label-hints-CZGo9ZD5.js";import"./component-CNgECeRi.js";import"./id-Bh4FF8c0.js";import"./base-web-component-CYPdDdRn.js";import"./item-hsQoejqZ.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./i18n-BRgvVqCf.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./i18n-BLkzMf6D.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";import"./suggestions-BsiiaAxK.js";import"./placeholder-DlHbiVjz.js";import"./read-only-DSBWEPED.js";import"./required-xw5BBPvV.js";import"./smart-button-CQps8AlL.js";import"./value-string-Dy8zJxlP.js";import"./access-and-short-key-ijzCZfHm.js";import"./behavior-BJR8CKBx.js";import"./element-focus-BIRmGg5W.js";const u={required:[...d.required],optional:[...d.optional,c,h]},g=p.forBlock("kol-input-email"),_=class extends m{constructor(o){super(),new.target===_&&t(this,o),this.id=k("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=u,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._hasCounter=!1,this._maxLengthBehavior="hard",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation("email",this._name)}watchAccessKey(t){this.applyAccessKey(t)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){this.applyAutoComplete(t)}watchHasCounter(t){this.applyHasCounter(t)}watchMaxLengthBehavior(t){this.applyMaxLengthBehavior(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){this.applyIcons(t)}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMaxLength(t){this.applyMaxLength(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){c.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPattern(t){this.applyPattern(t)}watchPlaceholder(t){this.applyPlaceholder(t)}watchReadOnly(t){this.applyReadOnly(t)}watchRequired(t){this.applyRequired(t)}watchShortKey(t){this.applyShortKey(t)}watchSmartButton(t){this.applySmartButton(t)}watchSuggestions(t){h.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(t)}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.watchMultiple(this._multiple),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){const{startAdornment:t,endAdornment:i}=this.getTextInputAdornments();return o(e,{key:"08ae831267744fd7c98322a547fbad1077d3b1f8"},o(a,Object.assign({key:"743984d398c11dba015d5b8c1427f0d90ae180ef"},this.getTextFormFieldProps(s(g(),"email"))),o(r,{key:"ad202484cc40752e0def2e081af9683d39556ef7",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(l,Object.assign({key:"22bea72e7b9dc3a58a68a9a5e60806e1fa16c306"},this.getTextInputProps({multiple:this.getRenderProp("multiple"),suggestions:this.getRenderProp("suggestions")},{type:"email"}))))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([b("ctaRef")],_.prototype,"focus",null),n([f("ctaRef")],_.prototype,"click",null),_.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } }'};export{_ as kol_input_email}
4
+ import{r as t,h as o,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as a}from"./api-MBSY9afi.js";import{I as l}from"./input-C4yo-d7N.js";import{I as r}from"./input-container-Cb2xJUCl.js";import"./common-BdSzSIXg.js";import{e as s}from"./props-from-config-LBgEHmcL.js";import{m as c}from"./multiple-F8uOX8RD.js";import{s as h}from"./suggestions-BsWy2U2z.js";import{t as d,B as m}from"./base-web-component-DwY54ppZ.js";import{b as p}from"./bem-registry-SKACeCny.js";import{c as k}from"./dev.utils-DM7Qhcet.js";import{d as b,a as f}from"./element-interaction-sGYdEpmv.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./disabled-C2DzYwwy.js";import"./component-Bldy_ShO.js";import"./validators-ByUMEUYD.js";import"./component-D5yKRPCZ.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./label-hints-BUADjqKF.js";import"./component-BC1TpQVD.js";import"./id-lCAtMmMx.js";import"./base-web-component-Bh2NCN7p.js";import"./item-H09kNXn9.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./i18n-BRgvVqCf.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./i18n-BLkzMf6D.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./suggestions-fWMdnACm.js";import"./placeholder-BPZ2sQEB.js";import"./read-only-9BPUG7r4.js";import"./required-DBJ4iW2e.js";import"./smart-button-p4avK7MS.js";import"./value-string-Baqhc_TX.js";import"./access-and-short-key-ijzCZfHm.js";import"./behavior-Cw8QfOcm.js";import"./element-focus-BIRmGg5W.js";const u={required:[...d.required],optional:[...d.optional,c,h]},g=p.forBlock("kol-input-email"),_=class extends m{constructor(o){super(),new.target===_&&t(this,o),this.id=k("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=u,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._hasCounter=!1,this._maxLengthBehavior="hard",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation("email",this._name)}watchAccessKey(t){this.applyAccessKey(t)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){this.applyAutoComplete(t)}watchHasCounter(t){this.applyHasCounter(t)}watchMaxLengthBehavior(t){this.applyMaxLengthBehavior(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){this.applyIcons(t)}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMaxLength(t){this.applyMaxLength(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){c.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPattern(t){this.applyPattern(t)}watchPlaceholder(t){this.applyPlaceholder(t)}watchReadOnly(t){this.applyReadOnly(t)}watchRequired(t){this.applyRequired(t)}watchShortKey(t){this.applyShortKey(t)}watchSmartButton(t){this.applySmartButton(t)}watchSuggestions(t){h.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.applyValue(t)}watchVariant(t){this.applyVariant(t)}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.watchMultiple(this._multiple),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){const{startAdornment:t,endAdornment:i}=this.getTextInputAdornments();return o(e,{key:"08ae831267744fd7c98322a547fbad1077d3b1f8"},o(a,Object.assign({key:"743984d398c11dba015d5b8c1427f0d90ae180ef"},this.getTextFormFieldProps(s(g(),"email"))),o(r,{key:"ad202484cc40752e0def2e081af9683d39556ef7",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(l,Object.assign({key:"22bea72e7b9dc3a58a68a9a5e60806e1fa16c306"},this.getTextInputProps({multiple:this.getRenderProp("multiple"),suggestions:this.getRenderProp("suggestions")},{type:"email"}))))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([b("ctaRef")],_.prototype,"focus",null),n([f("ctaRef")],_.prototype,"click",null),_.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } }'};export{_ as kol_input_email}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h as t,r as o,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{b as l}from"./bem-registry-SKACeCny.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{t as r}from"./i18n-BLkzMf6D.js";import{B as s}from"./component-CNgECeRi.js";import{c}from"./item-hsQoejqZ.js";import{h,g as d,I as p}from"./input-container-zXl_6y52.js";import{f as m,B as k,F as b}from"./api-D0RNr-zh.js";import{I as f}from"./input-C1YsxnDL.js";import{c as u,b as _,e as g}from"./props-from-config-BOUcpF7e.js";import{a as y,d as v,v as w}from"./component-DEwcJKDA.js";import"./common-BdSzSIXg.js";import{m as x}from"./multiple-S3Ol1G6Z.js";import{r as j}from"./required-xw5BBPvV.js";import{s as B}from"./smart-button-CQps8AlL.js";import{c as z}from"./dev.utils-B0t4rcBV.js";import{d as D,a as C,c as T}from"./element-interaction-sGYdEpmv.js";import"./i18n-BRgvVqCf.js";import"./component-hiabKVP3.js";import"./component-bIIx1x7q.js";import"./component-B8UMedaK.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./events-CRHxtwup.js";import"./base-web-component-CYPdDdRn.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";import"./element-focus-BIRmGg5W.js";const I=u("accept",void 0,_);function K(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const A={required:[...m.required],optional:[...m.optional,I,y,h,x,j,v,B,w]},L=l.forBlock("kol-input-container"),q=L("button"),H=({filename:o,hasFile:e})=>t("span",{class:L("filename",{"has-file":e})},o),S=l.forBlock("kol-input-file"),O=class extends k{constructor(t){super(),new.target===O&&o(this,t),this.id=z("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=r("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=T(),this.translateDataBrowseText=r("kol-data-browse-text"),this.browseButton=c((()=>this.host)),this.propsConfig=A,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._variant=void 0,this.handleFileChange=t=>{var o;if(this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type){const e=this.ctaRef.el.files;this.hasFileSelected=!!(null==e?void 0:e.length),this.filename=null!==(o=K(e))&&void 0!==o?o:this.translateFilenameText,this.handleChange(t,e),this.formAssociation.setFormAssociatedValue(e)}},this.handleFileInput=t=>{this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type&&this.handleInput(t,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=t=>{this.isDisabled()||(t.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=t=>{var o,e;if(!this.isDisabled()&&(t.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,null===(o=t.dataTransfer)||void 0===o?void 0:o.files.length))){const o=t.dataTransfer.files;this.ctaRef.el.files=o,this.filename=null!==(e=K(o))&&void 0!==e?e:this.translateFilenameText,this.formAssociation.setFormAssociatedValue(o),this.handleChange(t,o),this.handleInput(t,o)}},this.initFormAssociation("file",this._name)}watchAccept(t){I.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){y.apply(t,(t=>this.setRenderProp("accessKey",t))),a(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){h.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){x.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){j.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){v.apply(t,(t=>this.setRenderProp("shortKey",t))),a(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):B.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){w.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.files)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(""),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccept(this._accept),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMultiple(this._multiple),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){const t=this.getRenderProp("accessKey"),o=this.getRenderProp("shortKey"),{ariaDescribedBy:e,hasError:i}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},t?{accessKey:t}:{}),{required:this.getRenderProp("required"),multiple:this.getRenderProp("multiple"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,type:"file",accept:this.getRenderProp("accept"),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":i?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=d({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"7cb436aa1aa1d44e3fc40a0260b9e5475007f1e4"},t(b,Object.assign({key:"ae061478a153821b070f274cc5c2cb508d290aa9"},this.getFormFieldProps({class:g(S(),"file"),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(p,{key:"3d636959f1b5dabb5d083774a5045834afa27678",class:{"kol-input-container--is-dragover":this.isDragover},disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},t(H,{key:"37431aa753621fbe4fbc02b8f8aa11e04b8ffb8d",filename:this.filename,hasFile:this.hasFileSelected}),t(f,Object.assign({key:"e85b80d96ac69719f8539797958c61f286139d46"},this.getInputProps())),t(s,Object.assign({key:"b1082af32631fba64378917cfde6d092ba5acc24"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o,_tabIndex:-1},{class:q,"aria-hidden":"true"}))))))}get host(){return i(this)}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}};n([D("ctaRef")],O.prototype,"focus",null),n([C("ctaRef")],O.prototype,"click",null),O.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }'};export{O as kol_input_file}
4
+ import{h as t,r as o,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{b as l}from"./bem-registry-SKACeCny.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{t as r}from"./i18n-BLkzMf6D.js";import{B as s}from"./component-BC1TpQVD.js";import{c}from"./item-H09kNXn9.js";import{h,g as d,I as m}from"./input-container-Cb2xJUCl.js";import{f as p,B as k,F as f}from"./api-MBSY9afi.js";import{I as b}from"./input-C4yo-d7N.js";import{c as u,b as _,e as g}from"./props-from-config-LBgEHmcL.js";import{a as y,d as v,v as w}from"./component-Bldy_ShO.js";import"./common-BdSzSIXg.js";import{m as x}from"./multiple-F8uOX8RD.js";import{r as j}from"./required-DBJ4iW2e.js";import{s as B}from"./smart-button-p4avK7MS.js";import{c as z}from"./dev.utils-DM7Qhcet.js";import{d as D,a as C,c as T}from"./element-interaction-sGYdEpmv.js";import"./i18n-BRgvVqCf.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./component-D5yKRPCZ.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./validators-ByUMEUYD.js";import"./label-hints-BUADjqKF.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./events-CRHxtwup.js";import"./base-web-component-Bh2NCN7p.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./element-focus-BIRmGg5W.js";const K=u("accept",void 0,_);function S(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const A={required:[...p.required],optional:[...p.optional,K,y,h,x,j,v,B,w]},L=l.forBlock("kol-input-container"),M=L("button"),q=({filename:o,hasFile:e})=>t("span",{class:L("filename",{"has-file":e})},o),H=l.forBlock("kol-input-file"),I=class extends k{constructor(t){super(),new.target===I&&o(this,t),this.id=z("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=r("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=T(),this.translateDataBrowseText=r("kol-data-browse-text"),this.browseButton=c((()=>this.host)),this.propsConfig=A,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._variant=void 0,this.handleFileChange=t=>{var o;if(this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type){const e=this.ctaRef.el.files;this.hasFileSelected=!!(null==e?void 0:e.length),this.filename=null!==(o=S(e))&&void 0!==o?o:this.translateFilenameText,this.handleChange(t,e),this.formAssociation.setFormAssociatedValue(e)}},this.handleFileInput=t=>{this.ctaRef.el instanceof HTMLInputElement&&"file"===this.ctaRef.el.type&&this.handleInput(t,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=t=>{this.isDisabled()||(t.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=t=>{var o,e;if(!this.isDisabled()&&(t.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,null===(o=t.dataTransfer)||void 0===o?void 0:o.files.length))){const o=t.dataTransfer.files;this.ctaRef.el.files=o,this.filename=null!==(e=S(o))&&void 0!==e?e:this.translateFilenameText,this.formAssociation.setFormAssociatedValue(o),this.handleChange(t,o),this.handleInput(t,o)}},this.initFormAssociation("file",this._name)}watchAccept(t){K.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){y.apply(t,(t=>this.setRenderProp("accessKey",t))),a(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){h.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){x.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){j.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){v.apply(t,(t=>this.setRenderProp("shortKey",t))),a(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):B.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){w.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){var t;return Promise.resolve(null===(t=this.ctaRef.el)||void 0===t?void 0:t.files)}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(""),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccept(this._accept),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMultiple(this._multiple),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){const t=this.getRenderProp("accessKey"),o=this.getRenderProp("shortKey"),{ariaDescribedBy:e,hasError:i}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},t?{accessKey:t}:{}),{required:this.getRenderProp("required"),multiple:this.getRenderProp("multiple"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,type:"file",accept:this.getRenderProp("accept"),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":i?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=d({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"7cb436aa1aa1d44e3fc40a0260b9e5475007f1e4"},t(f,Object.assign({key:"ae061478a153821b070f274cc5c2cb508d290aa9"},this.getFormFieldProps({class:g(H(),"file"),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(m,{key:"3d636959f1b5dabb5d083774a5045834afa27678",class:{"kol-input-container--is-dragover":this.isDragover},disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},t(q,{key:"37431aa753621fbe4fbc02b8f8aa11e04b8ffb8d",filename:this.filename,hasFile:this.hasFileSelected}),t(b,Object.assign({key:"e85b80d96ac69719f8539797958c61f286139d46"},this.getInputProps())),t(s,Object.assign({key:"b1082af32631fba64378917cfde6d092ba5acc24"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o,_tabIndex:-1},{class:M,"aria-hidden":"true"}))))))}get host(){return i(this)}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}};n([D("ctaRef")],I.prototype,"focus",null),n([C("ctaRef")],I.prototype,"click",null),I.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }'};export{I as kol_input_file}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,h as o,H as e,g as i}from"./index-Bbr6Os1b.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-BdSzSIXg.js";import{b as l}from"./bem-registry-SKACeCny.js";import{v as r}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as c,I as h}from"./input-container-zXl_6y52.js";import{f as d,B as m,F as p}from"./api-D0RNr-zh.js";import{I as u}from"./input-C1YsxnDL.js";import{i as b,a as k,b as f,g,r as _,p as v}from"./number-value-DmOl1z7z.js";import{a as y,S as w}from"./suggestions-BsiiaAxK.js";import{I as x}from"./component-bIIx1x7q.js";import{a as j,d as B,v as C}from"./component-DEwcJKDA.js";import{e as z}from"./props-from-config-BOUcpF7e.js";import{p as D}from"./placeholder-DlHbiVjz.js";import{r as O}from"./read-only-DSBWEPED.js";import{r as A}from"./required-xw5BBPvV.js";import{s as S}from"./smart-button-CQps8AlL.js";import{s as T}from"./step-CopA0_m7.js";import{s as K}from"./suggestions-CY8BJMOa.js";import{c as I}from"./dev.utils-B0t4rcBV.js";import{d as q,a as V,c as P}from"./element-interaction-sGYdEpmv.js";import{s as H}from"./controller-CZcQ57AP.js";import"./component-CNgECeRi.js";import"./component-hiabKVP3.js";import"./component-B8UMedaK.js";import"./disabled-B2o4Ctgy.js";import"./id-Bh4FF8c0.js";import"./label-with-expert-slot-D1tpX9DI.js";import"./validators-BgDmq-Qt.js";import"./label-hints-CZGo9ZD5.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-CYPdDdRn.js";import"./item-hsQoejqZ.js";import"./behavior-B6y5Gofe.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-C5LYGOHt.js";import"./resolve-props-DAVb5BM3.js";import"./behavior-DlH8byIw.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./item-Dms_59sU.js";import"./component-CSsUaL_h.js";import"./i18n-BLkzMf6D.js";import"./component-ZdHnXLLI.js";import"./Heading-BubZbykM.js";import"./element-focus-BIRmGg5W.js";const L={required:[...d.required],optional:[...d.optional,j,y,s,b,k,f,D,O,A,B,S,T,K,C]},M=l.forBlock("kol-input-number"),R=M("step-button"),G=t=>{var o;return!0===(null===(o=null==t?void 0:t.classList)||void 0===o?void 0:o.contains(R))},F=class extends m{constructor(o){super(),new.target===F&&t(this,o),this.id=I("input-number"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=P(),this.valueType="null",this.hasValue=!1,this.propsConfig=L,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._step=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleNumberInput=t=>{this._value=this.readInputValue(),this.handleInput(t,this._value)},this.handleNumberChange=t=>{const o=this.readInputValue();this.handleChange(t,o),this.hasValue=Boolean(o)},this.handleNumberFocus=t=>{G(t.relatedTarget)||this.handleFocus(t)},this.handleNumberBlur=t=>{G(t.relatedTarget)||this.handleBlur(t)},this.handleNumberKeyDown=t=>{this.handleKeyDown(t),H(t,{form:this.host,ref:this.ctaRef.el})},this.handleStepDown=t=>{this.step(t,"down")},this.handleStepUp=t=>{this.step(t,"up")},this.initFormAssociation("number",this._name)}watchAccessKey(t){j.apply(t,(t=>this.setRenderProp("accessKey",t))),r(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){y.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){b.apply(t,(t=>this.setRenderProp("max",t)))}watchMin(t){k.apply(t,(t=>this.setRenderProp("min",t)))}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPlaceholder(t){D.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){O.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){A.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){B.apply(t,(t=>this.setRenderProp("shortKey",t))),r(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):S.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){K.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchStep(t){T.apply(t,(t=>this.setRenderProp("step",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){var o;f.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=g(t))}watchVariant(t){C.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.remapValue(this.getRenderProp("value")))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(t){return _(t,this.valueType)}readInputValue(){var t;return this.remapValue(v(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value))}step(t,o){var e,i,n;"up"===o?null===(e=this.ctaRef.el)||void 0===e||e.stepUp():null===(i=this.ctaRef.el)||void 0===i||i.stepDown(),this._value=this.readInputValue(),this.handleInput(t,this._value),this.handleChange(t,this._value),this.hasValue=Boolean(this._value),null===(n=this.ctaRef.el)||void 0===n||n.focus()}renderStepButton(t){return this._disabled||this._readOnly||"hide"===a("inputNumberButtons",this.host)?null:o("button",{type:"button","aria-hidden":"true",tabIndex:-1,class:`${R} ${R}-${t} kol-input-container__smart-button`,onClick:"up"===t?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},o(x,{icons:"up"===t?"kolicon-plus":"kolicon-minus",label:""}))}getInputProps(){var t,e,i,n;const a=this.id,l=this.getRenderProp("accessKey"),r=this.getRenderProp("placeholder"),s=this.getRenderProp("shortKey"),c=this.getRenderProp("suggestions"),{ariaDescribedBy:h,hasError:d}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},l?{accessKey:l}:{}),{value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null,required:this.getRenderProp("required")}),void 0!==r?{placeholder:r}:{}),{autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),s?{"aria-keyshortcuts":s}:{}),c.length>0?{suggestions:o(w,{id:a,suggestions:c})}:{}),{ref:this.ctaRef,type:"number",onBlur:this.handleNumberBlur,onChange:this.handleNumberChange,onClick:this.handleClick,onFocus:this.handleNumberFocus,onInput:this.handleNumberInput,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:h,"aria-invalid":d?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(e,{key:"633d71799f0a2fde9a6e3d702450fc26e23c9942"},o(p,Object.assign({key:"8f5fa79cbf292b1630e1b7e03f768defab06bf77"},this.getFormFieldProps({class:z(M(),"number",{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(h,{key:"ea95d533f0c32b837aaa8ba8db3a7be67badef3c",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(u,Object.assign({key:"525ed0013a2d8cb020f2d99198a0989609382bae"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([q("ctaRef")],F.prototype,"focus",null),n([V("ctaRef")],F.prototype,"click",null),F.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794998877659"); src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-number input { appearance: textfield; text-align: right; } .kol-input-number input::-webkit-inner-spin-button { display: none; } }'};export{F as kol_input_number}
4
+ import{r as t,h as o,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-BdSzSIXg.js";import{b as l}from"./bem-registry-SKACeCny.js";import{v as r}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as c,I as h}from"./input-container-Cb2xJUCl.js";import{f as d,B as m,F as p}from"./api-MBSY9afi.js";import{I as u}from"./input-C4yo-d7N.js";import{i as k,a as b,b as f,g,r as _,p as v}from"./number-value-DncK2_pC.js";import{a as y,S as w}from"./suggestions-fWMdnACm.js";import{I as x}from"./component-LadkF9an.js";import{a as j,d as B,v as C}from"./component-Bldy_ShO.js";import{e as z}from"./props-from-config-LBgEHmcL.js";import{p as D}from"./placeholder-BPZ2sQEB.js";import{r as S}from"./read-only-9BPUG7r4.js";import{r as T}from"./required-DBJ4iW2e.js";import{s as K}from"./smart-button-p4avK7MS.js";import{s as O}from"./step-oCposIuI.js";import{s as A}from"./suggestions-BsWy2U2z.js";import{c as M}from"./dev.utils-DM7Qhcet.js";import{d as I,a as q,c as P}from"./element-interaction-sGYdEpmv.js";import{s as V}from"./controller-CZcQ57AP.js";import"./component-BC1TpQVD.js";import"./component-Cj3P_f35.js";import"./component-D5yKRPCZ.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./validators-ByUMEUYD.js";import"./label-hints-BUADjqKF.js";import"./aria-labelledby-DqJY_4G-.js";import"./events-CRHxtwup.js";import"./base-web-component-Bh2NCN7p.js";import"./item-H09kNXn9.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./i18n-BLkzMf6D.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./element-focus-BIRmGg5W.js";const L={required:[...d.required],optional:[...d.optional,j,y,s,k,b,f,D,S,T,B,K,O,A,C]},H=l.forBlock("kol-input-number"),R=H("step-button"),G=t=>{var o;return!0===(null===(o=null==t?void 0:t.classList)||void 0===o?void 0:o.contains(R))},N=class extends m{constructor(o){super(),new.target===N&&t(this,o),this.id=M("input-number"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=P(),this.valueType="null",this.hasValue=!1,this.propsConfig=L,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._step=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleNumberInput=t=>{this._value=this.readInputValue(),this.handleInput(t,this._value)},this.handleNumberChange=t=>{const o=this.readInputValue();this.handleChange(t,o),this.hasValue=Boolean(o)},this.handleNumberFocus=t=>{G(t.relatedTarget)||this.handleFocus(t)},this.handleNumberBlur=t=>{G(t.relatedTarget)||this.handleBlur(t)},this.handleNumberKeyDown=t=>{this.handleKeyDown(t),V(t,{form:this.host,ref:this.ctaRef.el})},this.handleStepDown=t=>{this.step(t,"down")},this.handleStepUp=t=>{this.step(t,"up")},this.initFormAssociation("number",this._name)}watchAccessKey(t){j.apply(t,(t=>this.setRenderProp("accessKey",t))),r(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){y.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){s.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){k.apply(t,(t=>this.setRenderProp("max",t)))}watchMin(t){b.apply(t,(t=>this.setRenderProp("min",t)))}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPlaceholder(t){D.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){S.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){T.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){B.apply(t,(t=>this.setRenderProp("shortKey",t))),r(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):K.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){A.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchStep(t){O.apply(t,(t=>this.setRenderProp("step",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){var o;f.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=g(t))}watchVariant(t){C.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.remapValue(this.getRenderProp("value")))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(t){return _(t,this.valueType)}readInputValue(){var t;return this.remapValue(v(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value))}step(t,o){var e,i,n;"up"===o?null===(e=this.ctaRef.el)||void 0===e||e.stepUp():null===(i=this.ctaRef.el)||void 0===i||i.stepDown(),this._value=this.readInputValue(),this.handleInput(t,this._value),this.handleChange(t,this._value),this.hasValue=Boolean(this._value),null===(n=this.ctaRef.el)||void 0===n||n.focus()}renderStepButton(t){return this._disabled||this._readOnly||"hide"===a("inputNumberButtons",this.host)?null:o("button",{type:"button","aria-hidden":"true",tabIndex:-1,class:`${R} ${R}-${t} kol-input-container__smart-button`,onClick:"up"===t?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},o(x,{icons:"up"===t?"kolicon-plus":"kolicon-minus",label:""}))}getInputProps(){var t,e,i,n;const a=this.id,l=this.getRenderProp("accessKey"),r=this.getRenderProp("placeholder"),s=this.getRenderProp("shortKey"),c=this.getRenderProp("suggestions"),{ariaDescribedBy:h,hasError:d}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},l?{accessKey:l}:{}),{value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null,required:this.getRenderProp("required")}),void 0!==r?{placeholder:r}:{}),{autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),s?{"aria-keyshortcuts":s}:{}),c.length>0?{suggestions:o(w,{id:a,suggestions:c})}:{}),{ref:this.ctaRef,type:"number",onBlur:this.handleNumberBlur,onChange:this.handleNumberChange,onClick:this.handleClick,onFocus:this.handleNumberFocus,onInput:this.handleNumberInput,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:h,"aria-invalid":d?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(e,{key:"633d71799f0a2fde9a6e3d702450fc26e23c9942"},o(p,Object.assign({key:"8f5fa79cbf292b1630e1b7e03f768defab06bf77"},this.getFormFieldProps({class:z(H(),"number",{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(h,{key:"ea95d533f0c32b837aaa8ba8db3a7be67badef3c",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(u,Object.assign({key:"525ed0013a2d8cb020f2d99198a0989609382bae"},this.getInputProps())))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([I("ctaRef")],N.prototype,"focus",null),n([q("ctaRef")],N.prototype,"click",null),N.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-number input { appearance: textfield; text-align: right; } .kol-input-number input::-webkit-inner-spin-button { display: none; } }'};export{N as kol_input_number}