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

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 (734) 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 +4 -42
  7. package/dist/cjs/{Heading-CSxHzc97.js → Heading-CmnijhLd.js} +1 -1
  8. package/dist/cjs/{api-CgWeKMMq.js → api-Bg7hdIrJ.js} +22 -22
  9. package/dist/cjs/{app-globals-pY-Cyxgv.js → app-globals-BwYPSMbG.js} +3 -3
  10. package/dist/cjs/{base-YsLg9vB1.js → base-BVhV5HmV.js} +10 -10
  11. package/dist/cjs/{base-qwdvh9pf.js → base-CQB0r-ZQ.js} +11 -11
  12. package/dist/cjs/{base-CYqcl2o4.js → base-JFyPasp9.js} +27 -24
  13. package/dist/cjs/{base-Bza2102z.js → base-ob1X79UM.js} +13 -14
  14. package/dist/cjs/{base-web-component-Cp4fQ2Mh.js → base-web-component-DBcJrpRb.js} +15 -15
  15. package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DXCN-Sp3.js} +1 -1
  16. package/dist/cjs/{base-web-component-CkEUtzNr.js → base-web-component-dI9FmFIm.js} +10 -10
  17. package/dist/cjs/{behavior-DV-LMyJJ.js → behavior-B5wr2A8R.js} +7 -7
  18. package/dist/cjs/{behavior-DvLNQY2U.js → behavior-CUmF8rJf.js} +5 -5
  19. package/dist/cjs/{behavior-BqwUv55g.js → behavior-DujaVCwV.js} +5 -5
  20. package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-B6QoNC9E.js} +1 -16
  21. package/dist/cjs/{block-bem-BI7yfoFU.js → block-bem-ByCgFI2B.js} +1 -1
  22. package/dist/cjs/{bootstrap-C4lWLUW9.js → bootstrap-HU5YhM_w.js} +2 -2
  23. package/dist/cjs/{color-BW4t1Cif.js → color-C3xsA3Uk.js} +3 -3
  24. package/dist/cjs/{common-C-hcIfzh.js → common-CzGJx0nT.js} +31 -30
  25. package/dist/cjs/{component-CKMtvWhe.js → component-1J4G5HmZ.js} +14 -14
  26. package/dist/cjs/{component-D_9ZydZA.js → component-BexD3069.js} +15 -13
  27. package/dist/cjs/{component-CRDSSR7G.js → component-BilLJFfC.js} +5 -5
  28. package/dist/cjs/{component-BM0H6uUo.js → component-Bza8hlo-.js} +10 -10
  29. package/dist/cjs/{component-DXBzTkOY.js → component-Cbbx7Z6c.js} +4 -4
  30. package/dist/cjs/{component-D5PYQ9Ku.js → component-CjXcCX2V.js} +2 -2
  31. package/dist/cjs/{component-Br2jlQXL.js → component-Cqp00Tb9.js} +8 -8
  32. package/dist/cjs/{component-B9y7UnKg.js → component-DFhuXUqv.js} +15 -15
  33. package/dist/cjs/{component-DtmmNGjm.js → component-DGVc4bOy.js} +4 -4
  34. package/dist/cjs/{component-COEAaB_B.js → component-DkV9oPCL.js} +2 -2
  35. package/dist/cjs/{component-q87oQHev.js → component-Doln6Ltn.js} +5 -5
  36. package/dist/cjs/{component-CeT2UQLF.js → component-DprHBKdZ.js} +7 -7
  37. package/dist/cjs/{contrast-4mAdSLs0.js → contrast-6Nku3lih.js} +2 -2
  38. package/dist/cjs/{controller-DcinOUmN.js → controller-D66Eq44x.js} +1 -1
  39. package/dist/cjs/{dev.utils-DOgQN_zk.js → dev.utils-Bx4sgPsr.js} +2 -2
  40. package/dist/cjs/{devtools-CG9Ov5FS.js → devtools-BXBKJice.js} +3 -3
  41. package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CilmJ-p-.js} +1 -1
  42. package/dist/cjs/{field-control-BT1ZyKNR.js → field-control-B95uzQnW.js} +8 -8
  43. package/dist/cjs/{group-0C7hEZpp.js → group-DGS7K6Ja.js} +7 -7
  44. package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-iSIrv52u.js} +1 -1
  45. package/dist/cjs/{href-BBhiVyPb.js → href-xojo1zy_.js} +1 -1
  46. package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-D7UmRsV8.js} +2 -2
  47. package/dist/cjs/{i18n-BSWM5nea.js → i18n-DgHI4-xa.js} +2 -0
  48. package/dist/cjs/{id-D1VZsLkg.js → id-DP-w6i4q.js} +1 -1
  49. package/dist/cjs/{index-14cLFAPd.js → index-Ccvyz7Rq.js} +24 -43
  50. package/dist/cjs/index.cjs.js +4 -4
  51. package/dist/cjs/{input-DOHuLJaE.js → input-BKXEykG_.js} +5 -5
  52. package/dist/cjs/{input-container-Ddovz1-b.js → input-container-CWb_kRbs.js} +8 -8
  53. package/dist/cjs/{item--tny4oQM.js → item-C4Boh5Cz.js} +5 -5
  54. package/dist/cjs/{item-aV2WKcK3.js → item-DgNTEUz3.js} +35 -20
  55. package/dist/cjs/{item-CWoQfEPo.js → item-vDMQvV0t.js} +6 -6
  56. package/dist/cjs/{item-ZLQ1Yy47.js → item-wr5KfPYM.js} +13 -14
  57. package/dist/cjs/kol-abbr.cjs.entry.js +13 -12
  58. package/dist/cjs/kol-accordion.cjs.entry.js +21 -20
  59. package/dist/cjs/kol-alert.cjs.entry.js +32 -31
  60. package/dist/cjs/kol-avatar.cjs.entry.js +17 -16
  61. package/dist/cjs/kol-badge.cjs.entry.js +30 -30
  62. package/dist/cjs/kol-breadcrumb.cjs.entry.js +32 -31
  63. package/dist/cjs/kol-button-link.cjs.entry.js +29 -29
  64. package/dist/cjs/kol-button.cjs.entry.js +29 -29
  65. package/dist/cjs/kol-card.cjs.entry.js +34 -34
  66. package/dist/cjs/kol-combobox.cjs.entry.js +46 -46
  67. package/dist/cjs/kol-details.cjs.entry.js +21 -20
  68. package/dist/cjs/kol-dialog.cjs.entry.js +37 -37
  69. package/dist/cjs/kol-drawer.cjs.entry.js +36 -36
  70. package/dist/cjs/kol-form.cjs.entry.js +30 -30
  71. package/dist/cjs/kol-heading.cjs.entry.js +15 -14
  72. package/dist/cjs/kol-icon.cjs.entry.js +20 -16
  73. package/dist/cjs/kol-image.cjs.entry.js +10 -9
  74. package/dist/cjs/kol-input-checkbox.cjs.entry.js +41 -41
  75. package/dist/cjs/kol-input-color.cjs.entry.js +43 -43
  76. package/dist/cjs/kol-input-date.cjs.entry.js +45 -45
  77. package/dist/cjs/kol-input-email.cjs.entry.js +48 -48
  78. package/dist/cjs/kol-input-file.cjs.entry.js +42 -42
  79. package/dist/cjs/kol-input-number.cjs.entry.js +47 -47
  80. package/dist/cjs/kol-input-password.cjs.entry.js +46 -46
  81. package/dist/cjs/kol-input-radio.cjs.entry.js +41 -41
  82. package/dist/cjs/kol-input-range.cjs.entry.js +43 -43
  83. package/dist/cjs/kol-input-text.cjs.entry.js +48 -48
  84. package/dist/cjs/kol-kolibri.cjs.entry.js +13 -12
  85. package/dist/cjs/kol-link-button.cjs.entry.js +30 -29
  86. package/dist/cjs/kol-link.cjs.entry.js +30 -29
  87. package/dist/cjs/kol-meter.cjs.entry.js +20 -22
  88. package/dist/cjs/kol-modal.cjs.entry.js +37 -37
  89. package/dist/cjs/kol-nav.cjs.entry.js +38 -38
  90. package/dist/cjs/kol-pagination.cjs.entry.js +47 -48
  91. package/dist/cjs/kol-popover-button.cjs.entry.js +30 -30
  92. package/dist/cjs/kol-progress.cjs.entry.js +21 -17
  93. package/dist/cjs/kol-quote.cjs.entry.js +12 -11
  94. package/dist/cjs/kol-select.cjs.entry.js +41 -41
  95. package/dist/cjs/kol-single-select.cjs.entry.js +53 -48
  96. package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -31
  97. package/dist/cjs/kol-spin.cjs.entry.js +17 -16
  98. package/dist/cjs/kol-split-button.cjs.entry.js +33 -33
  99. package/dist/cjs/kol-table-stateful.cjs.entry.js +57 -57
  100. package/dist/cjs/kol-table-stateless.cjs.entry.js +45 -45
  101. package/dist/cjs/kol-tabs.cjs.entry.js +36 -39
  102. package/dist/cjs/kol-textarea.cjs.entry.js +48 -46
  103. package/dist/cjs/kol-toast-container.cjs.entry.js +25 -25
  104. package/dist/cjs/kol-toolbar.cjs.entry.js +35 -35
  105. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +15 -14
  106. package/dist/cjs/kol-tree-item.cjs.entry.js +28 -27
  107. package/dist/cjs/kol-tree.cjs.entry.js +12 -11
  108. package/dist/cjs/kol-version.cjs.entry.js +27 -27
  109. package/dist/cjs/kolibri.cjs.js +5 -5
  110. package/dist/cjs/{label-vVOiX4dC.js → label-D6c6jfqK.js} +3 -3
  111. package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-q3XenWLW.js} +2 -2
  112. package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-k4OY9qRY.js} +2 -2
  113. package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-CJoz7BLw.js} +3 -3
  114. package/dist/cjs/{level-BAiEYu4U.js → level-B6vFMm9s.js} +1 -1
  115. package/dist/cjs/{link-target-4AzB3I84.js → link-target-0qSVsAb2.js} +1 -1
  116. package/dist/cjs/{links-CPNK7VZo.js → links-Ur1e9DOK.js} +2 -2
  117. package/dist/cjs/loader.cjs.js +4 -4
  118. package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-CCxtzqez.js} +1 -1
  119. package/dist/cjs/{number-value-B2yoKlvx.js → number-value-DzAHCwlP.js} +1 -1
  120. package/dist/cjs/{open-CvoX_qxD.js → open-Gxr_K7HK.js} +1 -1
  121. package/dist/cjs/{options-B2pQC9w2.js → options-BT0m0gRT.js} +2 -2
  122. package/dist/cjs/{orientation-u2cvwgBc.js → orientation-CeHU4dT8.js} +1 -1
  123. package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-22xUUFff.js} +1 -1
  124. package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-D1qhXS9j.js} +1 -1
  125. package/dist/cjs/{read-only-DfWF-Coi.js → read-only-iHApMQEg.js} +1 -1
  126. package/dist/cjs/{required-CdXn16dq.js → required-BYdSI25I.js} +1 -1
  127. package/dist/cjs/{resolve-props-BpLJmK75.js → resolve-props-B_ytLWBO.js} +8 -9
  128. package/dist/cjs/{resolve-props-DhLgYN4l.js → resolve-props-pZBj0tIz.js} +8 -8
  129. package/dist/cjs/{rows-Ca5ya9tG.js → rows-C9vBSQK1.js} +1 -1
  130. package/dist/cjs/{scroll-lock-C7PeigI_.js → scroll-lock-DguXX-Em.js} +2 -2
  131. package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DRMmUyQ5.js} +2 -2
  132. package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CxgvHcGA.js} +1 -1
  133. package/dist/cjs/{src-C3NG0rLO.js → src-Bmd7gQCS.js} +1 -1
  134. package/dist/cjs/{step-CZNyTb2h.js → step-CCqgsPCX.js} +1 -1
  135. package/dist/cjs/{suggestions-CZjGY0Eu.js → suggestions-C6Q3kj5J.js} +3 -3
  136. package/dist/cjs/{suggestions-BRclldK2.js → suggestions-CoUp7HmN.js} +2 -2
  137. package/dist/cjs/test-component.cjs.entry.js +4 -3
  138. package/dist/cjs/{toggle-handler-rQkcX4QY.js → toggle-handler-BaOOa9I5.js} +10 -10
  139. package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CgxOyb6V.js} +2 -2
  140. package/dist/cjs/{unit-bsoemclF.js → unit-_oDj-vIB.js} +1 -1
  141. package/dist/cjs/{validators-DuLdbf2D.js → validators-CpCJvM4r.js} +3 -1
  142. package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-CKppMGVM.js} +1 -1
  143. package/dist/cjs/{width-BklaRCqt.js → width-e7f3wHF3.js} +1 -1
  144. package/dist/collection/collection-manifest.json +1 -8
  145. package/dist/collection/components/abbr/component.js +2 -2
  146. package/dist/collection/components/accordion/component.js +2 -2
  147. package/dist/collection/components/accordion/style.css +2 -2
  148. package/dist/collection/components/alert/component.js +4 -3
  149. package/dist/collection/components/alert/style.css +2 -2
  150. package/dist/collection/components/avatar/component.js +2 -2
  151. package/dist/collection/components/badge/component.js +2 -2
  152. package/dist/collection/components/badge/style.css +2 -2
  153. package/dist/collection/components/breadcrumb/component.js +2 -2
  154. package/dist/collection/components/breadcrumb/style.css +2 -2
  155. package/dist/collection/components/button/component.js +1 -1
  156. package/dist/collection/components/button/style.css +2 -2
  157. package/dist/collection/components/button-link/component.js +1 -1
  158. package/dist/collection/components/button-link/style.css +2 -2
  159. package/dist/collection/components/card/component.js +2 -2
  160. package/dist/collection/components/card/style.css +2 -2
  161. package/dist/collection/components/combobox/component.js +4 -4
  162. package/dist/collection/components/combobox/style.css +2 -2
  163. package/dist/collection/components/details/component.js +2 -2
  164. package/dist/collection/components/details/style.css +2 -2
  165. package/dist/collection/components/dialog/component.js +2 -2
  166. package/dist/collection/components/dialog/style.css +2 -2
  167. package/dist/collection/components/drawer/component.js +2 -2
  168. package/dist/collection/components/drawer/style.css +2 -2
  169. package/dist/collection/components/form/component.js +2 -2
  170. package/dist/collection/components/form/style.css +2 -2
  171. package/dist/collection/components/heading/component.js +2 -2
  172. package/dist/collection/components/icon/component.js +5 -5
  173. package/dist/collection/components/icon/style.css +2 -2
  174. package/dist/collection/components/image/component.js +2 -2
  175. package/dist/collection/components/input-checkbox/component.js +3 -3
  176. package/dist/collection/components/input-checkbox/style.css +2 -2
  177. package/dist/collection/components/input-color/component.js +2 -2
  178. package/dist/collection/components/input-color/style.css +2 -2
  179. package/dist/collection/components/input-date/component.js +2 -2
  180. package/dist/collection/components/input-date/style.css +2 -2
  181. package/dist/collection/components/input-email/component.js +1 -1
  182. package/dist/collection/components/input-email/style.css +2 -2
  183. package/dist/collection/components/input-file/component.js +2 -2
  184. package/dist/collection/components/input-file/style.css +2 -2
  185. package/dist/collection/components/input-number/component.js +2 -2
  186. package/dist/collection/components/input-number/style.css +2 -2
  187. package/dist/collection/components/input-password/component.js +1 -1
  188. package/dist/collection/components/input-password/style.css +2 -2
  189. package/dist/collection/components/input-radio/component.js +1 -1
  190. package/dist/collection/components/input-radio/style.css +2 -2
  191. package/dist/collection/components/input-range/component.js +2 -2
  192. package/dist/collection/components/input-range/style.css +2 -2
  193. package/dist/collection/components/input-text/component.js +1 -1
  194. package/dist/collection/components/input-text/style.css +2 -2
  195. package/dist/collection/components/kolibri/component.js +2 -2
  196. package/dist/collection/components/link/component.js +2 -2
  197. package/dist/collection/components/link/style.css +2 -2
  198. package/dist/collection/components/link-button/component.js +2 -2
  199. package/dist/collection/components/link-button/style.css +2 -2
  200. package/dist/collection/components/meter/component.js +2 -2
  201. package/dist/collection/components/modal/component.js +2 -2
  202. package/dist/collection/components/modal/style.css +2 -2
  203. package/dist/collection/components/nav/component.js +2 -2
  204. package/dist/collection/components/nav/style.css +2 -2
  205. package/dist/collection/components/pagination/component.js +8 -10
  206. package/dist/collection/components/pagination/style.css +2 -2
  207. package/dist/collection/components/popover-button/component.js +1 -1
  208. package/dist/collection/components/popover-button/style.css +2 -2
  209. package/dist/collection/components/progress/component.js +6 -3
  210. package/dist/collection/components/quote/component.js +2 -2
  211. package/dist/collection/components/select/component.js +1 -1
  212. package/dist/collection/components/select/style.css +2 -2
  213. package/dist/collection/components/single-select/component.js +10 -6
  214. package/dist/collection/components/single-select/style.css +2 -2
  215. package/dist/collection/components/skip-nav/component.js +2 -2
  216. package/dist/collection/components/skip-nav/style.css +2 -2
  217. package/dist/collection/components/spin/component.js +2 -2
  218. package/dist/collection/components/split-button/component.js +1 -1
  219. package/dist/collection/components/split-button/style.css +2 -2
  220. package/dist/collection/components/table-stateful/component.js +3 -3
  221. package/dist/collection/components/table-stateful/style.css +2 -2
  222. package/dist/collection/components/table-stateless/base.js +3 -0
  223. package/dist/collection/components/table-stateless/component.js +2 -2
  224. package/dist/collection/components/table-stateless/style.css +2 -2
  225. package/dist/collection/components/tabs/component.js +2 -11
  226. package/dist/collection/components/tabs/style.css +2 -2
  227. package/dist/collection/components/textarea/component.js +5 -3
  228. package/dist/collection/components/textarea/style.css +2 -2
  229. package/dist/collection/components/toaster/shadow.js +1 -1
  230. package/dist/collection/components/toaster/style.css +2 -2
  231. package/dist/collection/components/toolbar/component.js +2 -2
  232. package/dist/collection/components/toolbar/style.css +2 -2
  233. package/dist/collection/components/tooltip/component.js +1 -1
  234. package/dist/collection/components/tree/component.js +2 -2
  235. package/dist/collection/components/tree-item/component.js +2 -2
  236. package/dist/collection/components/tree-item/style.css +2 -2
  237. package/dist/collection/components/version/component.js +2 -2
  238. package/dist/collection/components/version/style.css +2 -2
  239. package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
  240. package/dist/collection/internal/functional-components/icon/api.js +2 -2
  241. package/dist/collection/internal/functional-components/link/component.js +1 -1
  242. package/dist/collection/internal/functional-components/meter/component.js +3 -6
  243. package/dist/collection/internal/functional-components/pagination/api.js +2 -2
  244. package/dist/collection/internal/functional-components/pagination/component.js +2 -3
  245. package/dist/collection/internal/functional-components/pagination/item.js +18 -3
  246. package/dist/collection/internal/functional-components/progress/component.js +1 -1
  247. package/dist/collection/internal/functional-components/single-select/component.js +2 -1
  248. package/dist/collection/internal/functional-components/tabs/component.js +7 -1
  249. package/dist/collection/internal/props/helpers/validators.js +1 -0
  250. package/dist/collection/internal/props/index.js +1 -0
  251. package/dist/collection/internal/props/label-decorative.js +10 -0
  252. package/dist/collection/locales/de.js +1 -0
  253. package/dist/collection/locales/en.js +1 -0
  254. package/dist/collection/schema/bem-registry.js +0 -15
  255. package/dist/collection/schema/i18n-keys.js +29 -28
  256. package/dist/components/base-web-component2.js +1 -1
  257. package/dist/components/base-web-component4.js +1 -1
  258. package/dist/components/base.js +1 -1
  259. package/dist/components/base2.js +1 -1
  260. package/dist/components/base4.js +1 -1
  261. package/dist/components/behavior.js +1 -1
  262. package/dist/components/behavior2.js +1 -1
  263. package/dist/components/behavior3.js +1 -1
  264. package/dist/components/behavior4.js +1 -1
  265. package/dist/components/bem-registry.js +1 -1
  266. package/dist/components/component10.js +1 -1
  267. package/dist/components/component11.js +1 -1
  268. package/dist/components/component2.js +1 -1
  269. package/dist/components/component3.js +1 -1
  270. package/dist/components/component4.js +1 -1
  271. package/dist/components/component6.js +1 -1
  272. package/dist/components/component7.js +1 -1
  273. package/dist/components/component8.js +1 -1
  274. package/dist/components/component9.js +1 -1
  275. package/dist/components/contrast.js +1 -1
  276. package/dist/components/field-control.js +1 -1
  277. package/dist/components/group.js +1 -1
  278. package/dist/components/i18n2.js +1 -1
  279. package/dist/components/input-container.js +1 -1
  280. package/dist/components/item2.js +1 -1
  281. package/dist/components/item4.js +1 -1
  282. package/dist/components/kol-abbr.js +1 -1
  283. package/dist/components/kol-accordion.js +1 -1
  284. package/dist/components/kol-alert.js +1 -1
  285. package/dist/components/kol-avatar.js +1 -1
  286. package/dist/components/kol-badge.js +1 -1
  287. package/dist/components/kol-breadcrumb.js +1 -1
  288. package/dist/components/kol-button-link.js +1 -1
  289. package/dist/components/kol-button.js +1 -1
  290. package/dist/components/kol-card.js +1 -1
  291. package/dist/components/kol-combobox.js +1 -1
  292. package/dist/components/kol-details.js +1 -1
  293. package/dist/components/kol-dialog.js +1 -1
  294. package/dist/components/kol-drawer.js +1 -1
  295. package/dist/components/kol-form.js +1 -1
  296. package/dist/components/kol-heading.js +1 -1
  297. package/dist/components/kol-icon.js +1 -1
  298. package/dist/components/kol-image.js +1 -1
  299. package/dist/components/kol-input-checkbox.js +1 -1
  300. package/dist/components/kol-input-color.js +1 -1
  301. package/dist/components/kol-input-date.js +1 -1
  302. package/dist/components/kol-input-email.js +1 -1
  303. package/dist/components/kol-input-file.js +1 -1
  304. package/dist/components/kol-input-number.js +1 -1
  305. package/dist/components/kol-input-password.js +1 -1
  306. package/dist/components/kol-input-radio.js +1 -1
  307. package/dist/components/kol-input-range.js +1 -1
  308. package/dist/components/kol-input-text.js +1 -1
  309. package/dist/components/kol-kolibri.js +1 -1
  310. package/dist/components/kol-link-button.js +1 -1
  311. package/dist/components/kol-link.js +1 -1
  312. package/dist/components/kol-meter.js +1 -1
  313. package/dist/components/kol-modal.js +1 -1
  314. package/dist/components/kol-nav.js +1 -1
  315. package/dist/components/kol-pagination.js +1 -1
  316. package/dist/components/kol-popover-button.js +1 -1
  317. package/dist/components/kol-progress.js +1 -1
  318. package/dist/components/kol-quote.js +1 -1
  319. package/dist/components/kol-select.js +1 -1
  320. package/dist/components/kol-single-select.js +1 -1
  321. package/dist/components/kol-skip-nav.js +1 -1
  322. package/dist/components/kol-spin.js +1 -1
  323. package/dist/components/kol-split-button.js +1 -1
  324. package/dist/components/kol-table-stateful.js +1 -1
  325. package/dist/components/kol-table-stateless.js +1 -1
  326. package/dist/components/kol-tabs.js +1 -1
  327. package/dist/components/kol-textarea.js +1 -1
  328. package/dist/components/kol-toast-container.js +1 -1
  329. package/dist/components/kol-toolbar.js +1 -1
  330. package/dist/components/kol-tooltip-wc.js +1 -1
  331. package/dist/components/kol-tree-item.js +1 -1
  332. package/dist/components/kol-tree.js +1 -1
  333. package/dist/components/kol-version.js +1 -1
  334. package/dist/components/label-hints.js +1 -1
  335. package/dist/components/label-lang-segment.js +1 -1
  336. package/dist/components/label-with-expert-slot.js +1 -1
  337. package/dist/components/label.js +1 -1
  338. package/dist/components/level.js +1 -1
  339. package/dist/components/props-from-config.js +1 -1
  340. package/dist/components/resolve-props.js +1 -1
  341. package/dist/components/rows.js +1 -1
  342. package/dist/components/unit.js +1 -1
  343. package/dist/components/validators.js +1 -1
  344. package/dist/esm/{Heading-Bj2Ma7Tr.js → Heading-C_CwXDMp.js} +1 -1
  345. package/dist/esm/{api-DhMNvXtN.js → api-DGiFM9p0.js} +20 -20
  346. package/dist/esm/{app-globals-Dpmwwlv-.js → app-globals-sZHZyXjD.js} +3 -3
  347. package/dist/esm/{base-DV_Pzm7z.js → base-B4sGK9cX.js} +12 -13
  348. package/dist/esm/{base-IzdO60L1.js → base-CWrvN3Gt.js} +10 -10
  349. package/dist/esm/{base-CJ5WCVaj.js → base-DTKJ1Z06.js} +27 -24
  350. package/dist/esm/{base-Ba-xzpOT.js → base-P1TaQ7Ba.js} +11 -11
  351. package/dist/esm/{base-web-component-BB3dHStd.js → base-web-component-Bq_B9edx.js} +15 -15
  352. package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  353. package/dist/esm/{base-web-component-ug9DZUOx.js → base-web-component-CKgIOZqi.js} +10 -10
  354. package/dist/esm/{behavior-B4IW5_Qt.js → behavior-Bb7JYoUn.js} +5 -5
  355. package/dist/esm/{behavior-BgmZcrK6.js → behavior-CFG1f4KQ.js} +5 -5
  356. package/dist/esm/{behavior-BMXrK4gj.js → behavior-CkPQGfgo.js} +5 -5
  357. package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-DQUGxdIS.js} +1 -16
  358. package/dist/esm/{block-bem-BpQSY04L.js → block-bem-BGIVcYJu.js} +1 -1
  359. package/dist/esm/{bootstrap-DHXUvPBY.js → bootstrap-tgQ2nQQI.js} +2 -2
  360. package/dist/esm/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +3 -3
  361. package/dist/esm/{common-OzsC_6kt.js → common-BdSzSIXg.js} +31 -30
  362. package/dist/esm/{component-DdIOGRgB.js → component-5Uu-ahLC.js} +4 -4
  363. package/dist/esm/{component-scm3PBuq.js → component-B05zRrM0.js} +2 -2
  364. package/dist/esm/{component-Dt6efHXY.js → component-B16Fbp3W.js} +14 -13
  365. package/dist/esm/{component-BiYFPpjn.js → component-BI8jDgBz.js} +10 -10
  366. package/dist/esm/{component-Drxdk3mb.js → component-Bc2pdOk1.js} +8 -8
  367. package/dist/esm/{component-BvvE8aim.js → component-C79oAu7a.js} +5 -5
  368. package/dist/esm/{component-ChtW1HQv.js → component-CldKbBUh.js} +7 -7
  369. package/dist/esm/{component-C5QCCLLa.js → component-Clz6b6ho.js} +2 -2
  370. package/dist/esm/{component-gj7TBL0i.js → component-Ct11K0Gv.js} +14 -14
  371. package/dist/esm/{component-Ua7-J4C-.js → component-DAQzDMY8.js} +15 -15
  372. package/dist/esm/{component-BKfXEtN0.js → component-W1KZI4h4.js} +4 -4
  373. package/dist/esm/{component-C0zMsvYl.js → component-oUQcgxDj.js} +5 -5
  374. package/dist/esm/{contrast-D78VGPFR.js → contrast-BNoQruBh.js} +2 -2
  375. package/dist/esm/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  376. package/dist/esm/{dev.utils-CwXr_J8N.js → dev.utils-DDWOHUcg.js} +2 -2
  377. package/dist/esm/{devtools-QEDvmhav.js → devtools-B0kEE_za.js} +3 -3
  378. package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZXlWAgK.js} +1 -1
  379. package/dist/esm/{field-control-BOsAM8BW.js → field-control-DsQHa0v9.js} +8 -8
  380. package/dist/esm/{group-D4WbZY27.js → group-DUVsgWxS.js} +7 -7
  381. package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DUB0QcS9.js} +1 -1
  382. package/dist/esm/{href-JqLbNBsW.js → href-CxokGOJ2.js} +1 -1
  383. package/dist/esm/{i18n-Dl6Jjofb.js → i18n-4J6U3ZDc.js} +2 -0
  384. package/dist/esm/{i18n-DtLKn3Xt.js → i18n-ePBcLlCr.js} +2 -2
  385. package/dist/esm/{id-CIYvVaNr.js → id-BI0ZuK17.js} +1 -1
  386. package/dist/esm/{index-D_P2XoAc.js → index-Dulj0jro.js} +25 -43
  387. package/dist/esm/index.js +6 -6
  388. package/dist/esm/{input-C0kj1MmP.js → input-C0Li7DsE.js} +5 -5
  389. package/dist/esm/{input-container-B4TgBfDz.js → input-container-DmtMTcjB.js} +8 -8
  390. package/dist/esm/{item-e4SzwxHe.js → item-8RKFpmbd.js} +6 -6
  391. package/dist/esm/{item-DRC1CmzC.js → item-CnJMuEyl.js} +5 -5
  392. package/dist/esm/{item-WrCdQw7F.js → item-CxVe5INa.js} +35 -20
  393. package/dist/esm/{item-BMniY_My.js → item-DHZGDrAn.js} +12 -13
  394. package/dist/esm/kol-abbr.entry.js +13 -12
  395. package/dist/esm/kol-accordion.entry.js +21 -20
  396. package/dist/esm/kol-alert.entry.js +32 -31
  397. package/dist/esm/kol-avatar.entry.js +17 -16
  398. package/dist/esm/kol-badge.entry.js +30 -30
  399. package/dist/esm/kol-breadcrumb.entry.js +32 -31
  400. package/dist/esm/kol-button-link.entry.js +29 -29
  401. package/dist/esm/kol-button.entry.js +29 -29
  402. package/dist/esm/kol-card.entry.js +34 -34
  403. package/dist/esm/kol-combobox.entry.js +46 -46
  404. package/dist/esm/kol-details.entry.js +21 -20
  405. package/dist/esm/kol-dialog.entry.js +37 -37
  406. package/dist/esm/kol-drawer.entry.js +36 -36
  407. package/dist/esm/kol-form.entry.js +30 -30
  408. package/dist/esm/kol-heading.entry.js +15 -14
  409. package/dist/esm/kol-icon.entry.js +20 -16
  410. package/dist/esm/kol-image.entry.js +10 -9
  411. package/dist/esm/kol-input-checkbox.entry.js +41 -41
  412. package/dist/esm/kol-input-color.entry.js +43 -43
  413. package/dist/esm/kol-input-date.entry.js +45 -45
  414. package/dist/esm/kol-input-email.entry.js +48 -48
  415. package/dist/esm/kol-input-file.entry.js +42 -42
  416. package/dist/esm/kol-input-number.entry.js +47 -47
  417. package/dist/esm/kol-input-password.entry.js +46 -46
  418. package/dist/esm/kol-input-radio.entry.js +41 -41
  419. package/dist/esm/kol-input-range.entry.js +43 -43
  420. package/dist/esm/kol-input-text.entry.js +48 -48
  421. package/dist/esm/kol-kolibri.entry.js +13 -12
  422. package/dist/esm/kol-link-button.entry.js +30 -29
  423. package/dist/esm/kol-link.entry.js +30 -29
  424. package/dist/esm/kol-meter.entry.js +20 -22
  425. package/dist/esm/kol-modal.entry.js +37 -37
  426. package/dist/esm/kol-nav.entry.js +38 -38
  427. package/dist/esm/kol-pagination.entry.js +47 -48
  428. package/dist/esm/kol-popover-button.entry.js +30 -30
  429. package/dist/esm/kol-progress.entry.js +21 -17
  430. package/dist/esm/kol-quote.entry.js +12 -11
  431. package/dist/esm/kol-select.entry.js +41 -41
  432. package/dist/esm/kol-single-select.entry.js +53 -48
  433. package/dist/esm/kol-skip-nav.entry.js +32 -31
  434. package/dist/esm/kol-spin.entry.js +17 -16
  435. package/dist/esm/kol-split-button.entry.js +33 -33
  436. package/dist/esm/kol-table-stateful.entry.js +57 -57
  437. package/dist/esm/kol-table-stateless.entry.js +45 -45
  438. package/dist/esm/kol-tabs.entry.js +36 -39
  439. package/dist/esm/kol-textarea.entry.js +48 -46
  440. package/dist/esm/kol-toast-container.entry.js +25 -25
  441. package/dist/esm/kol-toolbar.entry.js +35 -35
  442. package/dist/esm/kol-tooltip-wc.entry.js +15 -14
  443. package/dist/esm/kol-tree-item.entry.js +28 -27
  444. package/dist/esm/kol-tree.entry.js +12 -11
  445. package/dist/esm/kol-version.entry.js +27 -27
  446. package/dist/esm/kolibri.js +6 -6
  447. package/dist/esm/{label-BRosRgdX.js → label-B-Dr7VaP.js} +3 -3
  448. package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-CLMiVvfk.js} +2 -2
  449. package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-iVD9hoM3.js} +2 -2
  450. package/dist/esm/{label-with-expert-slot-CicRes-W.js → label-with-expert-slot-BbZ9nx0l.js} +3 -3
  451. package/dist/esm/{level-CA1s1_Mf.js → level-DsQ_pcyD.js} +1 -1
  452. package/dist/esm/{link-target-FX94oqMo.js → link-target-D7lYILOV.js} +1 -1
  453. package/dist/esm/{links-DwucTqcR.js → links-IkK4zoXw.js} +2 -2
  454. package/dist/esm/loader.js +5 -5
  455. package/dist/esm/{multiple-DqrZxybx.js → multiple--ay1C1n3.js} +1 -1
  456. package/dist/esm/{number-value-B-SJ1dRo.js → number-value-Dl9-2O4r.js} +1 -1
  457. package/dist/esm/{open-DRRv1KFK.js → open-CNHJhHsy.js} +1 -1
  458. package/dist/esm/{options-DCaUcfAu.js → options-DwO32GBF.js} +2 -2
  459. package/dist/esm/{orientation-XNOCaPwy.js → orientation-ChJ0S24M.js} +1 -1
  460. package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-UxmBJ4Vl.js} +1 -1
  461. package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  462. package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DytZ5HZJ.js} +1 -1
  463. package/dist/esm/{required-hoaT7UmZ.js → required-BriHhuO4.js} +1 -1
  464. package/dist/esm/{resolve-props-CqTztQhV.js → resolve-props-02J6OCRf.js} +8 -8
  465. package/dist/esm/{resolve-props-B-67viId.js → resolve-props-Bj6IaybL.js} +7 -8
  466. package/dist/esm/{rows-B0x8CR7K.js → rows-I1jrTjzU.js} +1 -1
  467. package/dist/esm/{scroll-lock-CKnC0y0o.js → scroll-lock-B6hVv8A8.js} +2 -2
  468. package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +2 -2
  469. package/dist/esm/{spell-check-DzgftyqL.js → spell-check-BWCnJG5v.js} +1 -1
  470. package/dist/esm/{src-DaGhmCL1.js → src-ziOwSglN.js} +1 -1
  471. package/dist/esm/{step-Bdj89bGO.js → step-BcyhvRtu.js} +1 -1
  472. package/dist/esm/{suggestions-Be1_H9fA.js → suggestions-DaB3FVaz.js} +3 -3
  473. package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +2 -2
  474. package/dist/esm/test-component.entry.js +4 -3
  475. package/dist/esm/{toggle-handler-Cjc991vd.js → toggle-handler-3qaN2kmt.js} +10 -10
  476. package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CxFUYSVY.js} +2 -2
  477. package/dist/esm/{unit-BUhhJbhT.js → unit-1ix-K9SD.js} +1 -1
  478. package/dist/esm/{validators-BVM40IEr.js → validators-CTjxOidB.js} +3 -2
  479. package/dist/esm/{value-string-e9pwLcS-.js → value-string-CxDz7dhD.js} +1 -1
  480. package/dist/esm/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  481. package/dist/kolibri/Heading-C_CwXDMp.js +4 -0
  482. package/dist/kolibri/api-DGiFM9p0.js +4 -0
  483. package/dist/kolibri/app-globals-sZHZyXjD.js +4 -0
  484. package/dist/kolibri/base-B4sGK9cX.js +4 -0
  485. package/dist/kolibri/{base-IzdO60L1.js → base-CWrvN3Gt.js} +1 -1
  486. package/dist/kolibri/base-DTKJ1Z06.js +4 -0
  487. package/dist/kolibri/{base-Ba-xzpOT.js → base-P1TaQ7Ba.js} +1 -1
  488. package/dist/kolibri/{base-web-component-BB3dHStd.js → base-web-component-Bq_B9edx.js} +1 -1
  489. package/dist/kolibri/{base-web-component-XgI4wUyN.js → base-web-component-CC_gpyDb.js} +1 -1
  490. package/dist/kolibri/{base-web-component-ug9DZUOx.js → base-web-component-CKgIOZqi.js} +1 -1
  491. package/dist/kolibri/{behavior-B4IW5_Qt.js → behavior-Bb7JYoUn.js} +1 -1
  492. package/dist/kolibri/{behavior-BgmZcrK6.js → behavior-CFG1f4KQ.js} +1 -1
  493. package/dist/kolibri/behavior-CkPQGfgo.js +4 -0
  494. package/dist/kolibri/bem-registry-DQUGxdIS.js +4 -0
  495. package/dist/kolibri/{block-bem-BpQSY04L.js → block-bem-BGIVcYJu.js} +1 -1
  496. package/dist/kolibri/bootstrap-tgQ2nQQI.js +4 -0
  497. package/dist/kolibri/{color-eAL9I7Wq.js → color-D1gM-F2l.js} +1 -1
  498. package/dist/kolibri/common-BdSzSIXg.js +4 -0
  499. package/dist/kolibri/component-5Uu-ahLC.js +4 -0
  500. package/dist/kolibri/component-B05zRrM0.js +4 -0
  501. package/dist/kolibri/component-B16Fbp3W.js +4 -0
  502. package/dist/kolibri/component-BI8jDgBz.js +4 -0
  503. package/dist/kolibri/{component-Drxdk3mb.js → component-Bc2pdOk1.js} +1 -1
  504. package/dist/kolibri/component-C79oAu7a.js +4 -0
  505. package/dist/kolibri/component-CldKbBUh.js +4 -0
  506. package/dist/kolibri/component-Clz6b6ho.js +4 -0
  507. package/dist/kolibri/component-Ct11K0Gv.js +4 -0
  508. package/dist/kolibri/component-DAQzDMY8.js +4 -0
  509. package/dist/kolibri/component-W1KZI4h4.js +4 -0
  510. package/dist/kolibri/{component-C0zMsvYl.js → component-oUQcgxDj.js} +1 -1
  511. package/dist/kolibri/contrast-BNoQruBh.js +4 -0
  512. package/dist/kolibri/{controller-Cb-96wE-.js → controller-CZcQ57AP.js} +1 -1
  513. package/dist/kolibri/dev.utils-DDWOHUcg.js +4 -0
  514. package/dist/kolibri/{devtools-QEDvmhav.js → devtools-B0kEE_za.js} +1 -1
  515. package/dist/kolibri/disabled-BZXlWAgK.js +4 -0
  516. package/dist/kolibri/field-control-DsQHa0v9.js +4 -0
  517. package/dist/kolibri/group-DUVsgWxS.js +4 -0
  518. package/dist/kolibri/has-closer-DUB0QcS9.js +4 -0
  519. package/dist/kolibri/href-CxokGOJ2.js +4 -0
  520. package/dist/kolibri/i18n-4J6U3ZDc.js +4 -0
  521. package/dist/kolibri/i18n-ePBcLlCr.js +4 -0
  522. package/dist/kolibri/id-BI0ZuK17.js +4 -0
  523. package/dist/kolibri/index-Dulj0jro.js +6 -0
  524. package/dist/kolibri/index.esm.js +1 -1
  525. package/dist/kolibri/input-C0Li7DsE.js +4 -0
  526. package/dist/kolibri/input-container-DmtMTcjB.js +4 -0
  527. package/dist/kolibri/item-8RKFpmbd.js +4 -0
  528. package/dist/kolibri/item-CnJMuEyl.js +4 -0
  529. package/dist/kolibri/item-CxVe5INa.js +4 -0
  530. package/dist/kolibri/item-DHZGDrAn.js +4 -0
  531. package/dist/kolibri/kol-abbr.entry.js +1 -1
  532. package/dist/kolibri/kol-accordion.entry.js +1 -1
  533. package/dist/kolibri/kol-alert.entry.js +1 -1
  534. package/dist/kolibri/kol-avatar.entry.js +1 -1
  535. package/dist/kolibri/kol-badge.entry.js +1 -1
  536. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  537. package/dist/kolibri/kol-button-link.entry.js +1 -1
  538. package/dist/kolibri/kol-button.entry.js +1 -1
  539. package/dist/kolibri/kol-card.entry.js +1 -1
  540. package/dist/kolibri/kol-combobox.entry.js +1 -1
  541. package/dist/kolibri/kol-details.entry.js +1 -1
  542. package/dist/kolibri/kol-dialog.entry.js +1 -1
  543. package/dist/kolibri/kol-drawer.entry.js +1 -1
  544. package/dist/kolibri/kol-form.entry.js +1 -1
  545. package/dist/kolibri/kol-heading.entry.js +1 -1
  546. package/dist/kolibri/kol-icon.entry.js +1 -1
  547. package/dist/kolibri/kol-image.entry.js +1 -1
  548. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  549. package/dist/kolibri/kol-input-color.entry.js +1 -1
  550. package/dist/kolibri/kol-input-date.entry.js +1 -1
  551. package/dist/kolibri/kol-input-email.entry.js +1 -1
  552. package/dist/kolibri/kol-input-file.entry.js +1 -1
  553. package/dist/kolibri/kol-input-number.entry.js +1 -1
  554. package/dist/kolibri/kol-input-password.entry.js +1 -1
  555. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  556. package/dist/kolibri/kol-input-range.entry.js +1 -1
  557. package/dist/kolibri/kol-input-text.entry.js +1 -1
  558. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  559. package/dist/kolibri/kol-link-button.entry.js +1 -1
  560. package/dist/kolibri/kol-link.entry.js +1 -1
  561. package/dist/kolibri/kol-meter.entry.js +1 -1
  562. package/dist/kolibri/kol-modal.entry.js +1 -1
  563. package/dist/kolibri/kol-nav.entry.js +1 -1
  564. package/dist/kolibri/kol-pagination.entry.js +1 -1
  565. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  566. package/dist/kolibri/kol-progress.entry.js +1 -1
  567. package/dist/kolibri/kol-quote.entry.js +1 -1
  568. package/dist/kolibri/kol-select.entry.js +1 -1
  569. package/dist/kolibri/kol-single-select.entry.js +1 -1
  570. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  571. package/dist/kolibri/kol-spin.entry.js +1 -1
  572. package/dist/kolibri/kol-split-button.entry.js +1 -1
  573. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  574. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  575. package/dist/kolibri/kol-tabs.entry.js +1 -1
  576. package/dist/kolibri/kol-textarea.entry.js +1 -1
  577. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  578. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  579. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  580. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  581. package/dist/kolibri/kol-tree.entry.js +1 -1
  582. package/dist/kolibri/kol-version.entry.js +1 -1
  583. package/dist/kolibri/kolibri.esm.js +1 -1
  584. package/dist/kolibri/label-B-Dr7VaP.js +4 -0
  585. package/dist/kolibri/label-hints-CLMiVvfk.js +4 -0
  586. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +4 -0
  587. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +4 -0
  588. package/dist/kolibri/level-DsQ_pcyD.js +4 -0
  589. package/dist/kolibri/link-target-D7lYILOV.js +4 -0
  590. package/dist/kolibri/links-IkK4zoXw.js +4 -0
  591. package/dist/kolibri/multiple--ay1C1n3.js +4 -0
  592. package/dist/kolibri/number-value-Dl9-2O4r.js +4 -0
  593. package/dist/kolibri/open-CNHJhHsy.js +4 -0
  594. package/dist/kolibri/options-DwO32GBF.js +4 -0
  595. package/dist/kolibri/orientation-ChJ0S24M.js +4 -0
  596. package/dist/kolibri/placeholder-UxmBJ4Vl.js +4 -0
  597. package/dist/kolibri/{props-from-config-Ci0dILpz.js → props-from-config-ytxYrJUY.js} +1 -1
  598. package/dist/kolibri/read-only-DytZ5HZJ.js +4 -0
  599. package/dist/kolibri/required-BriHhuO4.js +4 -0
  600. package/dist/kolibri/resolve-props-02J6OCRf.js +4 -0
  601. package/dist/kolibri/resolve-props-Bj6IaybL.js +4 -0
  602. package/dist/kolibri/rows-I1jrTjzU.js +4 -0
  603. package/dist/kolibri/scroll-lock-B6hVv8A8.js +4 -0
  604. package/dist/kolibri/{smart-button-CS_ZriPt.js → smart-button-DM5g48-g.js} +1 -1
  605. package/dist/kolibri/spell-check-BWCnJG5v.js +4 -0
  606. package/dist/kolibri/src-ziOwSglN.js +4 -0
  607. package/dist/kolibri/step-BcyhvRtu.js +4 -0
  608. package/dist/kolibri/{suggestions-Be1_H9fA.js → suggestions-DaB3FVaz.js} +1 -1
  609. package/dist/kolibri/{suggestions-Dy1X-Pc3.js → suggestions-LO267l8F.js} +1 -1
  610. package/dist/kolibri/test-component.entry.js +1 -1
  611. package/dist/kolibri/{toggle-handler-Cjc991vd.js → toggle-handler-3qaN2kmt.js} +1 -1
  612. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +4 -0
  613. package/dist/kolibri/unit-1ix-K9SD.js +4 -0
  614. package/dist/kolibri/validators-CTjxOidB.js +4 -0
  615. package/dist/kolibri/value-string-CxDz7dhD.js +4 -0
  616. package/dist/kolibri/{width-CgYY17tL.js → width-C1_yZHyL.js} +1 -1
  617. package/dist/types/components/pagination/component.d.ts +1 -1
  618. package/dist/types/components/progress/component.d.ts +1 -0
  619. package/dist/types/components/single-select/component.d.ts +1 -0
  620. package/dist/types/components/tabs/component.d.ts +0 -1
  621. package/dist/types/components.d.ts +3 -97
  622. package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
  623. package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
  624. package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
  625. package/dist/types/internal/functional-components/pagination/item.d.ts +1 -1
  626. package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
  627. package/dist/types/internal/props/helpers/validators.d.ts +2 -1
  628. package/dist/types/internal/props/index.d.ts +1 -0
  629. package/dist/types/internal/props/label-decorative.d.ts +4 -0
  630. package/dist/types/locales/de.d.ts +1 -0
  631. package/dist/types/locales/en.d.ts +1 -0
  632. package/dist/types/schema/bem-registry.d.ts +0 -25
  633. package/dist/types/schema/components/pagination.d.ts +2 -2
  634. package/dist/types/schema/i18n-keys.d.ts +29 -28
  635. package/dist/types/schema/index.d.ts +1 -1
  636. package/dist/types/schema/props/label.d.ts +1 -0
  637. package/dist/types/stencil-public-runtime.d.ts +1 -1
  638. package/doc/pagination.md +13 -13
  639. package/doc/table-stateful.md +1 -1
  640. package/package.json +8 -8
  641. package/vscode-custom-data.json +0 -13
  642. package/dist/cjs/component-r497oHWq.js +0 -14
  643. package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
  644. package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
  645. package/dist/cjs/name-D4qpL1m-.js +0 -10
  646. package/dist/collection/components/click-button/component.js +0 -105
  647. package/dist/collection/components/skeleton/component.js +0 -215
  648. package/dist/collection/internal/functional-components/click-button/api.js +0 -7
  649. package/dist/collection/internal/functional-components/click-button/component.js +0 -9
  650. package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
  651. package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
  652. package/dist/components/component12.js +0 -4
  653. package/dist/components/kol-click-button.d.ts +0 -11
  654. package/dist/components/kol-click-button.js +0 -4
  655. package/dist/components/kol-skeleton.d.ts +0 -11
  656. package/dist/components/kol-skeleton.js +0 -4
  657. package/dist/components/name.js +0 -4
  658. package/dist/esm/component-Db9HadXA.js +0 -12
  659. package/dist/esm/kol-click-button.entry.js +0 -53
  660. package/dist/esm/kol-skeleton.entry.js +0 -105
  661. package/dist/esm/name-B2Yf3EpX.js +0 -8
  662. package/dist/kolibri/Heading-Bj2Ma7Tr.js +0 -4
  663. package/dist/kolibri/api-DhMNvXtN.js +0 -4
  664. package/dist/kolibri/app-globals-Dpmwwlv-.js +0 -4
  665. package/dist/kolibri/base-CJ5WCVaj.js +0 -4
  666. package/dist/kolibri/base-DV_Pzm7z.js +0 -4
  667. package/dist/kolibri/behavior-BMXrK4gj.js +0 -4
  668. package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
  669. package/dist/kolibri/bootstrap-DHXUvPBY.js +0 -4
  670. package/dist/kolibri/common-OzsC_6kt.js +0 -4
  671. package/dist/kolibri/component-BKfXEtN0.js +0 -4
  672. package/dist/kolibri/component-BiYFPpjn.js +0 -4
  673. package/dist/kolibri/component-BvvE8aim.js +0 -4
  674. package/dist/kolibri/component-C5QCCLLa.js +0 -4
  675. package/dist/kolibri/component-ChtW1HQv.js +0 -4
  676. package/dist/kolibri/component-Db9HadXA.js +0 -4
  677. package/dist/kolibri/component-DdIOGRgB.js +0 -4
  678. package/dist/kolibri/component-Dt6efHXY.js +0 -4
  679. package/dist/kolibri/component-Ua7-J4C-.js +0 -4
  680. package/dist/kolibri/component-gj7TBL0i.js +0 -4
  681. package/dist/kolibri/component-scm3PBuq.js +0 -4
  682. package/dist/kolibri/contrast-D78VGPFR.js +0 -4
  683. package/dist/kolibri/dev.utils-CwXr_J8N.js +0 -4
  684. package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
  685. package/dist/kolibri/field-control-BOsAM8BW.js +0 -4
  686. package/dist/kolibri/group-D4WbZY27.js +0 -4
  687. package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
  688. package/dist/kolibri/href-JqLbNBsW.js +0 -4
  689. package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
  690. package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
  691. package/dist/kolibri/id-CIYvVaNr.js +0 -4
  692. package/dist/kolibri/index-D_P2XoAc.js +0 -6
  693. package/dist/kolibri/input-C0kj1MmP.js +0 -4
  694. package/dist/kolibri/input-container-B4TgBfDz.js +0 -4
  695. package/dist/kolibri/item-BMniY_My.js +0 -4
  696. package/dist/kolibri/item-DRC1CmzC.js +0 -4
  697. package/dist/kolibri/item-WrCdQw7F.js +0 -4
  698. package/dist/kolibri/item-e4SzwxHe.js +0 -4
  699. package/dist/kolibri/kol-click-button.entry.js +0 -4
  700. package/dist/kolibri/kol-skeleton.entry.js +0 -4
  701. package/dist/kolibri/label-BRosRgdX.js +0 -4
  702. package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
  703. package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
  704. package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
  705. package/dist/kolibri/level-CA1s1_Mf.js +0 -4
  706. package/dist/kolibri/link-target-FX94oqMo.js +0 -4
  707. package/dist/kolibri/links-DwucTqcR.js +0 -4
  708. package/dist/kolibri/multiple-DqrZxybx.js +0 -4
  709. package/dist/kolibri/name-B2Yf3EpX.js +0 -4
  710. package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
  711. package/dist/kolibri/open-DRRv1KFK.js +0 -4
  712. package/dist/kolibri/options-DCaUcfAu.js +0 -4
  713. package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
  714. package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
  715. package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
  716. package/dist/kolibri/required-hoaT7UmZ.js +0 -4
  717. package/dist/kolibri/resolve-props-B-67viId.js +0 -4
  718. package/dist/kolibri/resolve-props-CqTztQhV.js +0 -4
  719. package/dist/kolibri/rows-B0x8CR7K.js +0 -4
  720. package/dist/kolibri/scroll-lock-CKnC0y0o.js +0 -4
  721. package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
  722. package/dist/kolibri/src-DaGhmCL1.js +0 -4
  723. package/dist/kolibri/step-Bdj89bGO.js +0 -4
  724. package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
  725. package/dist/kolibri/unit-BUhhJbhT.js +0 -4
  726. package/dist/kolibri/validators-BVM40IEr.js +0 -4
  727. package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
  728. package/dist/types/components/click-button/component.d.ts +0 -15
  729. package/dist/types/components/skeleton/component.d.ts +0 -26
  730. package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
  731. package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
  732. package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
  733. package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
  734. package/doc/skeleton.md +0 -54
@@ -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-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as a,g as r,I as s}from"./input-container-B4TgBfDz.js";import{f as c,B as h,F as d}from"./api-DhMNvXtN.js";import{I as p}from"./input-C0kj1MmP.js";import{a as m,S as k}from"./suggestions-Be1_H9fA.js";import"./common-OzsC_6kt.js";import{a as f,d as b,v as u}from"./component-BvvE8aim.js";import"./props-from-config-Ci0dILpz.js";import{s as g}from"./smart-button-CS_ZriPt.js";import{s as _}from"./suggestions-Dy1X-Pc3.js";import{s as y}from"./value-string-e9pwLcS-.js";import{c as v}from"./dev.utils-CwXr_J8N.js";import{d as w,a as x,c as j}from"./element-interaction-sGYdEpmv.js";import"./component-Dt6efHXY.js";import"./bem-registry-CWN7_O1L.js";import"./clsx-COFh-Vc8.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./component-C0zMsvYl.js";import"./component-C5QCCLLa.js";import"./component-BKfXEtN0.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-BMXrK4gj.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./behavior-B4IW5_Qt.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./base-web-component-XgI4wUyN.js";import"./item-e4SzwxHe.js";import"./controller-Cb-96wE-.js";import"./resolve-props-B-67viId.js";import"./item-BMniY_My.js";import"./component-Drxdk3mb.js";import"./i18n-DtLKn3Xt.js";import"./component-BiYFPpjn.js";import"./Heading-Bj2Ma7Tr.js";import"./element-focus-BIRmGg5W.js";const B={required:[...c.required],optional:[...c.optional,f,m,a,b,g,y,_,u]},z=class extends h{constructor(t){super(),o(this,t),this.id=v("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=j(),this.propsConfig=B,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){f.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){m.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){a.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){b.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):g.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){_.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){y.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){u.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"),l=this.getRenderProp("suggestions"),{ariaDescribedBy:a,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:l.length>0?t(k,{id:o,suggestions:l}):void 0,class:"kol-input-color__input kol-input-color__input--color",onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:a,"aria-invalid":r?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"4fa70c36d961b96d171cea0966d93f3de2145938"},t(d,Object.assign({key:"a620829443e84a4a0af7ad52cd04f5b95c2a7f1e"},this.getFormFieldProps({class:"kol-input-color",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(s,{key:"bd71482c60ff9e90a963caa90f554fc235e8c0ea",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(p,Object.assign({key:"ec01723f99ba5b561437ef7ed0f6cc37745b2795"},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([w("ctaRef")],z.prototype,"focus",null),n([x("ctaRef")],z.prototype,"click",null),z.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-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=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#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{z as kol_input_color}
4
+ import{r as o,h as t,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as a,g as r,I as s}from"./input-container-DmtMTcjB.js";import{f as c,B as h,F as d}from"./api-DGiFM9p0.js";import{I as p}from"./input-C0Li7DsE.js";import{a as m,S as k}from"./suggestions-DaB3FVaz.js";import"./common-BdSzSIXg.js";import{a as b,d as u,v as f}from"./component-C79oAu7a.js";import"./props-from-config-ytxYrJUY.js";import{s as g}from"./smart-button-DM5g48-g.js";import{s as _}from"./suggestions-LO267l8F.js";import{s as y}from"./value-string-CxDz7dhD.js";import{c as v}from"./dev.utils-DDWOHUcg.js";import{d as w,a as x,c as j}from"./element-interaction-sGYdEpmv.js";import"./component-B16Fbp3W.js";import"./bem-registry-DQUGxdIS.js";import"./clsx-COFh-Vc8.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-oUQcgxDj.js";import"./component-Clz6b6ho.js";import"./component-W1KZI4h4.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./base-web-component-CC_gpyDb.js";import"./item-8RKFpmbd.js";import"./controller-CZcQ57AP.js";import"./resolve-props-Bj6IaybL.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./i18n-ePBcLlCr.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";import"./element-focus-BIRmGg5W.js";const B={required:[...c.required],optional:[...c.optional,b,m,a,u,g,y,_,f]},z=class extends h{constructor(t){super(),new.target===z&&o(this,t),this.id=v("input-color"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=j(),this.propsConfig=B,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){b.apply(o,(o=>this.setRenderProp("accessKey",o))),l(o,this._shortKey)}watchAriaDetails(o){this.applyAriaDetails(o)}watchAutoComplete(o){m.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){a.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){u.apply(o,(o=>this.setRenderProp("shortKey",o))),l(this._accessKey,o)}watchSmartButton(o){null==o?this.unsetRenderProp("smartButton"):g.apply(o,(o=>this.setRenderProp("smartButton",o)))}watchSuggestions(o){_.apply(o,(o=>this.setRenderProp("suggestions",o)))}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){y.apply(o,(o=>this.setRenderProp("value",o))),this.formAssociation.setFormAssociatedValue(this.getRenderProp("value"))}watchVariant(o){f.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"),l=this.getRenderProp("suggestions"),{ariaDescribedBy:a,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:l.length>0?t(k,{id:o,suggestions:l}):void 0,class:"kol-input-color__input kol-input-color__input--color",onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:"color",ariaDescribedBy:a,"aria-invalid":r?"true":void 0})}render(){const o=this.getRenderProp("disabled"),{startAdornment:i,endAdornment:n}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"28705e83028430f22d59e707a250016a7a8a63e3"},t(d,Object.assign({key:"12baf7a8e1544bc7105fa36c20aead6ed11ce4b3"},this.getFormFieldProps({class:"kol-input-color",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant")})),t(s,{key:"c0a2302c21ddbc21d538ac3e4f2ca73a034e4604",disabled:o,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},t(p,Object.assign({key:"5290f0735219b04f6efbf76212b4c62b1be3428c"},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([w("ctaRef")],z.prototype,"focus",null),n([x("ctaRef")],z.prototype,"click",null),z.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-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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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{z as kol_input_color}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as t,f as o,h as e,H as i,g as n}from"./index-D_P2XoAc.js";import{_ as a}from"./tslib.es6-QNbPBOk5.js";import{c as r}from"./common-OzsC_6kt.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-B4TgBfDz.js";import{f as d,B as m,F as p}from"./api-DhMNvXtN.js";import{I as u}from"./input-C0kj1MmP.js";import{a as k,S as f}from"./suggestions-Be1_H9fA.js";import{a as b,d as g,v as _}from"./component-BvvE8aim.js";import{f as y,c as v,b as w,i as x}from"./props-from-config-Ci0dILpz.js";import{r as j}from"./read-only-Bby9r6ZX.js";import{r as B}from"./required-hoaT7UmZ.js";import{s as z}from"./smart-button-CS_ZriPt.js";import{s as C}from"./step-Bdj89bGO.js";import{s as D}from"./suggestions-Dy1X-Pc3.js";import{c as S}from"./clsx-COFh-Vc8.js";import{c as T}from"./dev.utils-CwXr_J8N.js";import{d as O,a as I,c as K}from"./element-interaction-sGYdEpmv.js";import{s as M}from"./controller-Cb-96wE-.js";import"./component-Dt6efHXY.js";import"./bem-registry-CWN7_O1L.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./component-C0zMsvYl.js";import"./component-C5QCCLLa.js";import"./component-BKfXEtN0.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-BMXrK4gj.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./behavior-B4IW5_Qt.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./base-web-component-XgI4wUyN.js";import"./item-e4SzwxHe.js";import"./resolve-props-B-67viId.js";import"./item-BMniY_My.js";import"./component-Drxdk3mb.js";import"./i18n-DtLKn3Xt.js";import"./component-BiYFPpjn.js";import"./Heading-Bj2Ma7Tr.js";import"./element-focus-BIRmGg5W.js";const P=["date","datetime-local","month","time","week"],A=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,H=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,L=/^\d{4}-([0]\d|1[0-2])/,q=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,N=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function V(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 X(t,{type:o}){return null==t||""===t||function(t,o){switch(o){case"date":return A.test(t);case"datetime-local":return H.test(t);case"month":return L.test(t);case"time":return q.test(t);case"week":return N.test(t);default:return!1}}(t,o)}const G=y("max",void 0,V,X),R=y("min",void 0,V,X),$=v("type","date",(function(t){const o=w(t);if(x(o,P))return o;throw new Error(`Invalid input date type: ${o}`)})),Y=y("value",void 0,V,X);function E(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function F(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})$/,W={required:[...d.required],optional:[...d.optional,b,k,s,G,R,$,Y,j,B,g,z,C,D,_]},Q=class extends m{constructor(o){super(),t(this,o),this.id=T("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=K(),this.valueType=null,this.hasValue=!1,this.propsConfig=W,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),M(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){G.apply(t,(t=>this.setRenderProp("max",t)),this.dateDeps)}watchMin(t){R.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){j.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){B.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"):z.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){D.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchStep(t){C.apply(t,(t=>this.setRenderProp("step",t)))}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchType(t){$.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&r("Date type will be removed in v3. Use `Iso8601` instead."),Y.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=E(t))}watchVariant(t){_.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&F(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,o(this),this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=E(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 F(t.target.value,this.valueType)}getInputProps(){var t,o,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!==(o=this.getRenderProp("min"))&&void 0!==o?o: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:e(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:o,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return e(i,{key:"847c2a53fbcd7bef3eb2f0bccf8e7ecaea07f3bc"},e(p,Object.assign({key:"7da626ddf32eb01119e36e12321107c3a628547a"},this.getFormFieldProps({class:S("kol-input-date",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")})),e(h,{key:"2664fbd7dfa4dd6cb9255d49c1a396ed7eed8e4e",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:o,endAdornment:n},e(u,Object.assign({key:"97287d9be6c689e1193a1b206fa69266e59500b4"},this.getInputProps())))))}get host(){return n(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}]}}};a([O("ctaRef")],Q.prototype,"focus",null),a([I("ctaRef")],Q.prototype,"click",null),Q.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-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=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#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{Q as kol_input_date}
4
+ import{r as t,f as o,h as e,H as i,g as n}from"./index-Dulj0jro.js";import{_ as a}from"./tslib.es6-QNbPBOk5.js";import{c as l}from"./common-BdSzSIXg.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-DmtMTcjB.js";import{f as d,B as m,F as p}from"./api-DGiFM9p0.js";import{I as u}from"./input-C0Li7DsE.js";import{a as k,S as f}from"./suggestions-DaB3FVaz.js";import{a as b,d as g,v as y}from"./component-C79oAu7a.js";import{f as _,c as v,b as w,i as x}from"./props-from-config-ytxYrJUY.js";import{r as j}from"./read-only-DytZ5HZJ.js";import{r as B}from"./required-BriHhuO4.js";import{s as D}from"./smart-button-DM5g48-g.js";import{s as z}from"./step-BcyhvRtu.js";import{s as C}from"./suggestions-LO267l8F.js";import{c as S}from"./clsx-COFh-Vc8.js";import{c as O}from"./dev.utils-DDWOHUcg.js";import{d as T,a as I,c as K}from"./element-interaction-sGYdEpmv.js";import{s as A}from"./controller-CZcQ57AP.js";import"./component-B16Fbp3W.js";import"./bem-registry-DQUGxdIS.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-oUQcgxDj.js";import"./component-Clz6b6ho.js";import"./component-W1KZI4h4.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./base-web-component-CC_gpyDb.js";import"./item-8RKFpmbd.js";import"./resolve-props-Bj6IaybL.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./i18n-ePBcLlCr.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";import"./element-focus-BIRmGg5W.js";const M=["date","datetime-local","month","time","week"],H=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,V=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,G=/^\d{4}-([0]\d|1[0-2])/,L=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,P=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function q(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"),l=String(t.getHours()).padStart(2,"0"),r=String(t.getMinutes()).padStart(2,"0"),s=String(t.getSeconds()).padStart(2,"0"),c=[i,n,a].join("-"),h=[l,r,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)?`${l}:${r}`: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 R(t,{type:o}){return null==t||""===t||function(t,o){switch(o){case"date":return H.test(t);case"datetime-local":return V.test(t);case"month":return G.test(t);case"time":return L.test(t);case"week":return P.test(t);default:return!1}}(t,o)}const $=_("max",void 0,q,R),F=_("min",void 0,q,R),Z=v("type","date",(function(t){const o=w(t);if(x(o,M))return o;throw new Error(`Invalid input date type: ${o}`)})),Q=_("value",void 0,q,R);function U(t){return t instanceof Date?"Date":"string"==typeof t?"String":null}function W(t,o){return""===t?null:"Date"!==o?t:function(t){const o=N.exec(t);return o?new Date(Number(o[1]),Number(o[2])-1,Number(o[3])):new Date(t)}(t)}const N=/^(\d{4})-(\d{2})-(\d{2})$/,J={required:[...d.required],optional:[...d.optional,b,k,s,$,F,Z,Q,j,B,g,D,z,C,y]},Y=class extends m{constructor(o){super(),new.target===Y&&t(this,o),this.id=O("input-date"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=K(),this.valueType=null,this.hasValue=!1,this.propsConfig=J,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))),r(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){F.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){j.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){B.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){g.apply(t,(t=>this.setRenderProp("shortKey",t))),r(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):D.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){C.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){Z.apply(t,(t=>this.setRenderProp("type",t)))}watchValue(t){var o;t instanceof Date&&l("Date type will be removed in v3. Use `Iso8601` instead."),Q.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=U(t))}watchVariant(t){y.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.ctaRef.el&&W(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,o(this),this.formAssociation.setFormAssociatedValue(""),this.ctaRef.el&&(this.ctaRef.el.value=""),Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),void 0!==this._value&&(this.valueType=U(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 W(t.target.value,this.valueType)}getInputProps(){var t,o,i,n;const a=this.id,l=this.getRenderProp("accessKey"),r=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},l?{accessKey:l}:{}),{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!==(o=this.getRenderProp("min"))&&void 0!==o?o: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")}),r?{"aria-keyshortcuts":r}:{}),s.length>0?{suggestions:e(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:o,endAdornment:n}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t)});return e(i,{key:"205a63142271ddb4cab5d2374f238e77104f5a7c"},e(p,Object.assign({key:"887189f5d662ee48def8d2343ce114bef9e0d0d7"},this.getFormFieldProps({class:S("kol-input-date",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")})),e(h,{key:"e5d8bc6c622d7b44e74df5bc0197f5ab0638de56",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:o,endAdornment:n},e(u,Object.assign({key:"d73d8348068f1890182b3c26ead621bb806f64db"},this.getInputProps())))))}get host(){return n(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}]}}};a([T("ctaRef")],Y.prototype,"focus",null),a([I("ctaRef")],Y.prototype,"click",null),Y.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-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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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{Y 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-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as l}from"./api-DhMNvXtN.js";import{I as a}from"./input-C0kj1MmP.js";import{I as r}from"./input-container-B4TgBfDz.js";import"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{m as s}from"./multiple-DqrZxybx.js";import{s as c}from"./suggestions-Dy1X-Pc3.js";import{t as h,B as d}from"./base-web-component-BB3dHStd.js";import{c as m}from"./dev.utils-CwXr_J8N.js";import{d as p,a as k}from"./element-interaction-sGYdEpmv.js";import"./component-C0zMsvYl.js";import"./bem-registry-CWN7_O1L.js";import"./clsx-COFh-Vc8.js";import"./component-C5QCCLLa.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-BMXrK4gj.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./name-B2Yf3EpX.js";import"./behavior-B4IW5_Qt.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./component-BKfXEtN0.js";import"./id-CIYvVaNr.js";import"./label-lang-segment-2_GnxjFp.js";import"./label-hints-Jn18RUT-.js";import"./disabled-Cqhc40CU.js";import"./component-BvvE8aim.js";import"./validators-BVM40IEr.js";import"./label-with-expert-slot-CicRes-W.js";import"./base-web-component-XgI4wUyN.js";import"./item-e4SzwxHe.js";import"./controller-Cb-96wE-.js";import"./resolve-props-B-67viId.js";import"./component-Dt6efHXY.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./item-BMniY_My.js";import"./component-Drxdk3mb.js";import"./i18n-DtLKn3Xt.js";import"./component-BiYFPpjn.js";import"./Heading-Bj2Ma7Tr.js";import"./suggestions-Be1_H9fA.js";import"./placeholder-BeLIzdJv.js";import"./read-only-Bby9r6ZX.js";import"./required-hoaT7UmZ.js";import"./smart-button-CS_ZriPt.js";import"./value-string-e9pwLcS-.js";import"./access-and-short-key-ijzCZfHm.js";import"./behavior-BgmZcrK6.js";import"./element-focus-BIRmGg5W.js";const f={required:[...h.required],optional:[...h.optional,s,c]},b=class extends d{constructor(o){super(),t(this,o),this.id=m("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=f,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){s.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){c.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:"0ff9fdf96a3400aea2c105ad9fe67ce1725e6b35"},o(l,Object.assign({key:"122965f88512a6344c71a29b86c81de2287b1f44"},this.getTextFormFieldProps("kol-input-email email")),o(r,{key:"4b3c3bf9983340099098c41fd801548ad79a04cf",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(a,Object.assign({key:"0bd40ca0dd3d8f79c0269c3f47220d1debe55332"},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([p("ctaRef")],b.prototype,"focus",null),n([k("ctaRef")],b.prototype,"click",null),b.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-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=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#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{b as kol_input_email}
4
+ import{r as t,h as o,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{F as l}from"./api-DGiFM9p0.js";import{I as a}from"./input-C0Li7DsE.js";import{I as r}from"./input-container-DmtMTcjB.js";import"./common-BdSzSIXg.js";import"./props-from-config-ytxYrJUY.js";import{m as s}from"./multiple--ay1C1n3.js";import{s as c}from"./suggestions-LO267l8F.js";import{t as h,B as d}from"./base-web-component-Bq_B9edx.js";import{c as p}from"./dev.utils-DDWOHUcg.js";import{d as m,a as k}from"./element-interaction-sGYdEpmv.js";import"./component-oUQcgxDj.js";import"./bem-registry-DQUGxdIS.js";import"./clsx-COFh-Vc8.js";import"./component-Clz6b6ho.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./component-B16Fbp3W.js";import"./component-C79oAu7a.js";import"./validators-CTjxOidB.js";import"./component-W1KZI4h4.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./base-web-component-CC_gpyDb.js";import"./item-8RKFpmbd.js";import"./controller-CZcQ57AP.js";import"./resolve-props-Bj6IaybL.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./i18n-ePBcLlCr.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";import"./suggestions-DaB3FVaz.js";import"./placeholder-UxmBJ4Vl.js";import"./read-only-DytZ5HZJ.js";import"./required-BriHhuO4.js";import"./smart-button-DM5g48-g.js";import"./value-string-CxDz7dhD.js";import"./access-and-short-key-ijzCZfHm.js";import"./behavior-CFG1f4KQ.js";import"./element-focus-BIRmGg5W.js";const b={required:[...h.required],optional:[...h.optional,s,c]},f=class extends d{constructor(o){super(),new.target===f&&t(this,o),this.id=p("input-email"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=b,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){s.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){c.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:"2157f9be8cf3316767455de058c51fc3ebc9a754"},o(l,Object.assign({key:"fcbceceedb6aeac3e0eaee00bf9b9dc3b19a1e74"},this.getTextFormFieldProps("kol-input-email email")),o(r,{key:"294d96f944a343a674c57600b56f39eb8e3a4901",disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:t,endAdornment:i},o(a,Object.assign({key:"d0a7c626261c6b160e055ef201410f98fe9a0aa5"},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([m("ctaRef")],f.prototype,"focus",null),n([k("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-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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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{f 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-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{B as r}from"./component-Dt6efHXY.js";import{c as s}from"./item-e4SzwxHe.js";import{h as c,g as h,I as d}from"./input-container-B4TgBfDz.js";import{f as p,B as m,F as k}from"./api-DhMNvXtN.js";import{I as f}from"./input-C0kj1MmP.js";import{c as b,b as u}from"./props-from-config-Ci0dILpz.js";import{a as _,d as g,v as y}from"./component-BvvE8aim.js";import"./common-OzsC_6kt.js";import{m as v}from"./multiple-DqrZxybx.js";import{r as w}from"./required-hoaT7UmZ.js";import{s as x}from"./smart-button-CS_ZriPt.js";import{b as j}from"./bem-registry-CWN7_O1L.js";import{c as B}from"./dev.utils-CwXr_J8N.js";import{d as z,a as C,c as T}from"./element-interaction-sGYdEpmv.js";import"./i18n-Dl6Jjofb.js";import"./clsx-COFh-Vc8.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./component-C0zMsvYl.js";import"./component-C5QCCLLa.js";import"./component-BKfXEtN0.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./controller-Cb-96wE-.js";import"./component-names-Dhbtt0mX.js";import"./events-CRHxtwup.js";import"./base-web-component-XgI4wUyN.js";import"./behavior-B4IW5_Qt.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./resolve-props-B-67viId.js";import"./aria-labelledby-CLehu03h.js";import"./behavior-BMXrK4gj.js";import"./bootstrap-DHXUvPBY.js";import"./item-BMniY_My.js";import"./component-Drxdk3mb.js";import"./component-BiYFPpjn.js";import"./Heading-Bj2Ma7Tr.js";import"./element-focus-BIRmGg5W.js";const D=b("accept",void 0,u);function I(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const K={required:[...p.required],optional:[...p.optional,D,_,c,v,w,g,x,y]},L=j.forBlock("kol-input-container"),M=L("button"),H=({filename:o,hasFile:e})=>t("span",{class:L("filename",{"has-file":e})},o),P=class extends m{constructor(t){super(),o(this,t),this.id=B("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=a("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=T(),this.translateDataBrowseText=a("kol-data-browse-text"),this.browseButton=s((()=>this.host)),this.propsConfig=K,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=I(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=I(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){D.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){_.apply(t,(t=>this.setRenderProp("accessKey",t))),l(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){c.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){v.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){w.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"):x.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){y.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}=h({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"cd9136531e3c7f6ab75f2ae6b42da5c0ce545ed4"},t(k,Object.assign({key:"6cc09e08f10bb99633a120bdc622a8c2d106a822"},this.getFormFieldProps({class:"kol-input-file file",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(d,{key:"58039e3a524ef22565e27a3ded460b03cf9b5ef5",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:"3e1d3d873a1320d4e78c98587de0f376b6c7b8bd",filename:this.filename,hasFile:this.hasFileSelected}),t(f,Object.assign({key:"8c20e7300ddd179a853f2d2ce324c979bf69c17e"},this.getInputProps())),t(r,Object.assign({key:"d21715abcb776c95fb17a1913af391e4cda44594"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o},{class:M}))))))}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([z("ctaRef")],P.prototype,"focus",null),n([C("ctaRef")],P.prototype,"click",null),P.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-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=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#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{P as kol_input_file}
4
+ import{h as t,r as o,H as e,g as i}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{t as a}from"./i18n-ePBcLlCr.js";import{B as r}from"./component-B16Fbp3W.js";import{c as s}from"./item-8RKFpmbd.js";import{h as c,g as h,I as d}from"./input-container-DmtMTcjB.js";import{f as p,B as m,F as k}from"./api-DGiFM9p0.js";import{I as f}from"./input-C0Li7DsE.js";import{c as b,b as u}from"./props-from-config-ytxYrJUY.js";import{a as _,d as g,v as y}from"./component-C79oAu7a.js";import"./common-BdSzSIXg.js";import{m as v}from"./multiple--ay1C1n3.js";import{r as w}from"./required-BriHhuO4.js";import{s as x}from"./smart-button-DM5g48-g.js";import{b as j}from"./bem-registry-DQUGxdIS.js";import{c as B}from"./dev.utils-DDWOHUcg.js";import{d as z,a as D,c as C}from"./element-interaction-sGYdEpmv.js";import"./i18n-4J6U3ZDc.js";import"./clsx-COFh-Vc8.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-oUQcgxDj.js";import"./component-Clz6b6ho.js";import"./component-W1KZI4h4.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./events-CRHxtwup.js";import"./base-web-component-CC_gpyDb.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./resolve-props-Bj6IaybL.js";import"./aria-labelledby-CLehu03h.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";import"./element-focus-BIRmGg5W.js";const T=b("accept",void 0,u);function I(t){if(null==t?void 0:t.length)return Array.from(t).map((t=>t.name)).join(", ")}const K={required:[...p.required],optional:[...p.optional,T,_,c,v,w,g,x,y]},A=j.forBlock("kol-input-container"),H=A("button"),L=({filename:o,hasFile:e})=>t("span",{class:A("filename",{"has-file":e})},o),M=class extends m{constructor(t){super(),new.target===M&&o(this,t),this.id=B("input-file"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=a("kol-filename-text"),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=C(),this.translateDataBrowseText=a("kol-data-browse-text"),this.browseButton=s((()=>this.host)),this.propsConfig=K,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=I(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=I(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){T.apply(t,(t=>this.setRenderProp("accept",t)))}watchAccessKey(t){_.apply(t,(t=>this.setRenderProp("accessKey",t))),l(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){c.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchMultiple(t){v.apply(t,(t=>this.setRenderProp("multiple",t)))}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchRequired(t){w.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"):x.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchVariant(t){y.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}=h({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),o)});return t(e,{key:"25a212036a6a5c270c5546b3c9b8d18f3760ba02"},t(k,Object.assign({key:"c1f046691cb2b689c1e18ff9067519b55e4d86c0"},this.getFormFieldProps({class:"kol-input-file file",accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required")})),t(d,{key:"1cab09cc2d86b18763c2640b775dd623f16fbfe7",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(L,{key:"7a4243b1e9f798c9d7134f14120560d3d42ef169",filename:this.filename,hasFile:this.hasFileSelected}),t(f,Object.assign({key:"829abae762f1dda9e12ea775c795dad6a209a25b"},this.getInputProps())),t(r,Object.assign({key:"86f4a5d315863b54858573d4c7e769933874e39b"},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:"primary",_disabled:o},{class:H}))))))}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([z("ctaRef")],M.prototype,"focus",null),n([D("ctaRef")],M.prototype,"click",null),M.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-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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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{M 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-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as a}from"./common-OzsC_6kt.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as r,I as c}from"./input-container-B4TgBfDz.js";import{f as h,B as d,F as m}from"./api-DhMNvXtN.js";import{I as p}from"./input-C0kj1MmP.js";import{i as u,a as k,b,g as f,r as g,p as _}from"./number-value-B-SJ1dRo.js";import{a as v,S as y}from"./suggestions-Be1_H9fA.js";import{I as w}from"./component-C5QCCLLa.js";import{a as x,d as j,v as B}from"./component-BvvE8aim.js";import"./props-from-config-Ci0dILpz.js";import{p as z}from"./placeholder-BeLIzdJv.js";import{r as C}from"./read-only-Bby9r6ZX.js";import{r as O}from"./required-hoaT7UmZ.js";import{s as T}from"./smart-button-CS_ZriPt.js";import{s as I}from"./step-Bdj89bGO.js";import{s as S}from"./suggestions-Dy1X-Pc3.js";import{c as D}from"./clsx-COFh-Vc8.js";import{c as K}from"./dev.utils-CwXr_J8N.js";import{d as P,a as A,c as M}from"./element-interaction-sGYdEpmv.js";import{s as L}from"./controller-Cb-96wE-.js";import"./component-Dt6efHXY.js";import"./bem-registry-CWN7_O1L.js";import"./component-scm3PBuq.js";import"./block-bem-BpQSY04L.js";import"./component-C0zMsvYl.js";import"./component-BKfXEtN0.js";import"./disabled-Cqhc40CU.js";import"./id-CIYvVaNr.js";import"./label-with-expert-slot-CicRes-W.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./name-B2Yf3EpX.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-BMXrK4gj.js";import"./bootstrap-DHXUvPBY.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./behavior-B4IW5_Qt.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-2_GnxjFp.js";import"./base-web-component-XgI4wUyN.js";import"./item-e4SzwxHe.js";import"./resolve-props-B-67viId.js";import"./item-BMniY_My.js";import"./component-Drxdk3mb.js";import"./i18n-DtLKn3Xt.js";import"./component-BiYFPpjn.js";import"./Heading-Bj2Ma7Tr.js";import"./element-focus-BIRmGg5W.js";const H={required:[...h.required],optional:[...h.optional,x,v,s,u,k,b,z,C,O,j,T,I,S,B]},q="kol-input-number__step-button",V=t=>{var o;return!0===(null===(o=null==t?void 0:t.classList)||void 0===o?void 0:o.contains(q))},X=class extends d{constructor(o){super(),t(this,o),this.id=K("input-number"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=M(),this.valueType="null",this.hasValue=!1,this.propsConfig=H,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=>{V(t.relatedTarget)||this.handleFocus(t)},this.handleNumberBlur=t=>{V(t.relatedTarget)||this.handleBlur(t)},this.handleNumberKeyDown=t=>{this.handleKeyDown(t),L(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){x.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){v.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){u.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){z.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){C.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){O.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){j.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):T.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){S.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchStep(t){I.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;b.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=f(t))}watchVariant(t){B.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 g(t,this.valueType)}readInputValue(){var t;return this.remapValue(_(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:`${q} ${q}-${t} kol-input-container__smart-button`,onClick:"up"===t?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},o(w,{icons:"up"===t?"kolicon-plus":"kolicon-minus",label:""}))}getInputProps(){var t,e,i,n;const a=this.id,l=this.getRenderProp("accessKey"),s=this.getRenderProp("placeholder"),r=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!==s?{placeholder:s}:{}),{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")}),r?{"aria-keyshortcuts":r}:{}),c.length>0?{suggestions:o(y,{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}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(e,{key:"5dbd69cb8635cee1333e761d51a3510953502843"},o(m,Object.assign({key:"b8888236ea653955dc068eb9bd37219e3f5c0c36"},this.getFormFieldProps({class:D("kol-input-number","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(c,{key:"ec4faa8e520c0444018ca174fce9dc71d562f5a9",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:i,endAdornment:n},o(p,Object.assign({key:"99b4ae26b98a532e65452b687b621adc2d4a3b10"},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([P("ctaRef")],X.prototype,"focus",null),n([A("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-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=1794028903670"); src: url("kolicons.eot?t=1794028903670#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794028903670") format("woff2"), url("kolicons.woff?t=1794028903670") format("woff"), url("kolicons.ttf?t=1794028903670") format("truetype"), url("kolicons.svg?t=1794028903670#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{X as kol_input_number}
4
+ import{r as t,h as o,H as i,g as e}from"./index-Dulj0jro.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{X as l}from"./common-BdSzSIXg.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{h as s,g as r,I as c}from"./input-container-DmtMTcjB.js";import{f as h,B as d,F as p}from"./api-DGiFM9p0.js";import{I as m}from"./input-C0Li7DsE.js";import{i as u,a as k,b,g as f,r as g,p as _}from"./number-value-Dl9-2O4r.js";import{a as y,S as v}from"./suggestions-DaB3FVaz.js";import{I as w}from"./component-Clz6b6ho.js";import{a as x,d as j,v as B}from"./component-C79oAu7a.js";import"./props-from-config-ytxYrJUY.js";import{p as z}from"./placeholder-UxmBJ4Vl.js";import{r as D}from"./read-only-DytZ5HZJ.js";import{r as C}from"./required-BriHhuO4.js";import{s as O}from"./smart-button-DM5g48-g.js";import{s as I}from"./step-BcyhvRtu.js";import{s as K}from"./suggestions-LO267l8F.js";import{c as S}from"./clsx-COFh-Vc8.js";import{c as T}from"./dev.utils-DDWOHUcg.js";import{d as A,a as V,c as M}from"./element-interaction-sGYdEpmv.js";import{s as H}from"./controller-CZcQ57AP.js";import"./component-B16Fbp3W.js";import"./bem-registry-DQUGxdIS.js";import"./component-B05zRrM0.js";import"./block-bem-BGIVcYJu.js";import"./component-oUQcgxDj.js";import"./component-W1KZI4h4.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./label-hints-CLMiVvfk.js";import"./aria-labelledby-CLehu03h.js";import"./events-CRHxtwup.js";import"./behavior-CkPQGfgo.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./behavior-Bb7JYoUn.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./base-web-component-CC_gpyDb.js";import"./item-8RKFpmbd.js";import"./resolve-props-Bj6IaybL.js";import"./item-DHZGDrAn.js";import"./component-Bc2pdOk1.js";import"./i18n-ePBcLlCr.js";import"./component-BI8jDgBz.js";import"./Heading-C_CwXDMp.js";import"./element-focus-BIRmGg5W.js";const G={required:[...h.required],optional:[...h.optional,x,y,s,u,k,b,z,D,C,j,O,I,K,B]},L="kol-input-number__step-button",P=t=>{var o;return!0===(null===(o=null==t?void 0:t.classList)||void 0===o?void 0:o.contains(L))},q=class extends d{constructor(o){super(),new.target===q&&t(this,o),this.id=T("input-number"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=M(),this.valueType="null",this.hasValue=!1,this.propsConfig=G,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=>{P(t.relatedTarget)||this.handleFocus(t)},this.handleNumberBlur=t=>{P(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){x.apply(t,(t=>this.setRenderProp("accessKey",t))),a(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){u.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){z.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){D.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){C.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){j.apply(t,(t=>this.setRenderProp("shortKey",t))),a(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):O.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){K.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchStep(t){I.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;b.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(o=this.getRenderProp("value"))&&void 0!==o?o:null),null!=t&&(this.valueType=f(t))}watchVariant(t){B.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 g(t,this.valueType)}readInputValue(){var t;return this.remapValue(_(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value))}step(t,o){var i,e,n;"up"===o?null===(i=this.ctaRef.el)||void 0===i||i.stepUp():null===(e=this.ctaRef.el)||void 0===e||e.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"===l("inputNumberButtons",this.host)?null:o("button",{type:"button","aria-hidden":"true",tabIndex:-1,class:`${L} ${L}-${t} kol-input-container__smart-button`,onClick:"up"===t?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},o(w,{icons:"up"===t?"kolicon-plus":"kolicon-minus",label:""}))}getInputProps(){var t,i,e,n;const l=this.id,a=this.getRenderProp("accessKey"),s=this.getRenderProp("placeholder"),r=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:l,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},a?{accessKey:a}:{}),{value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null,required:this.getRenderProp("required")}),void 0!==s?{placeholder:s}:{}),{autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(i=this.getRenderProp("min"))&&void 0!==i?i:null,max:null!==(e=this.getRenderProp("max"))&&void 0!==e?e:null,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),r?{"aria-keyshortcuts":r}:{}),c.length>0?{suggestions:o(v,{id:l,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:e,endAdornment:n}=r({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(i,{key:"72ac3294746fee359a1bc104ff67d98b12863910"},o(p,Object.assign({key:"56e069564f2166347361d4d5519bfd768201ea5d"},this.getFormFieldProps({class:S("kol-input-number","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(c,{key:"a81cbe93dccd157800796e2c4dd3c9555058759c",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:e,endAdornment:n},o(m,Object.assign({key:"bdcdc00739d790d7f4f0d40fd1d0d66561afbcd4"},this.getInputProps())))))}get host(){return e(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([A("ctaRef")],q.prototype,"focus",null),n([V("ctaRef")],q.prototype,"click",null),q.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-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=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#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{q as kol_input_number}