@public-ui/components 3.0.5 → 3.0.6-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1111) hide show
  1. package/custom-elements.json +15 -21
  2. package/dist/cjs/{Alert-DyIpLNKH.js → Alert-CBvu4Azg.js} +1 -1
  3. package/dist/cjs/{Alert-DyIpLNKH.js.map → Alert-CBvu4Azg.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-B9EmL3Cs.js → Collapsible-BAxPaMNA.js} +1 -1
  5. package/dist/cjs/{Collapsible-B9EmL3Cs.js.map → Collapsible-BAxPaMNA.js.map} +1 -1
  6. package/dist/cjs/{CustomSuggestionsToggle-C57S_vqK.js → CustomSuggestionsToggle-HrRlyQdj.js} +1 -1
  7. package/dist/cjs/{CustomSuggestionsToggle-C57S_vqK.js.map → CustomSuggestionsToggle-HrRlyQdj.js.map} +1 -1
  8. package/dist/cjs/FieldControlStateWrapper-BawtYKZv.js +4 -0
  9. package/dist/cjs/FieldControlStateWrapper-BawtYKZv.js.map +1 -0
  10. package/dist/cjs/FormFieldStateWrapper-BeUWCap8.js +4 -0
  11. package/dist/cjs/FormFieldStateWrapper-BeUWCap8.js.map +1 -0
  12. package/dist/cjs/{Heading-CjBQ4tEn.js → Heading-J0dL_R-5.js} +1 -1
  13. package/dist/cjs/{Heading-CjBQ4tEn.js.map → Heading-J0dL_R-5.js.map} +1 -1
  14. package/dist/cjs/Icon-D9wRYhin.js +4 -0
  15. package/dist/cjs/{Icon-svHIro1n.js.map → Icon-D9wRYhin.js.map} +1 -1
  16. package/dist/cjs/Input-CNhngTOz.js +4 -0
  17. package/dist/cjs/Input-CNhngTOz.js.map +1 -0
  18. package/dist/cjs/InputStateWrapper-BHeGLakM.js +4 -0
  19. package/dist/cjs/InputStateWrapper-BHeGLakM.js.map +1 -0
  20. package/dist/cjs/{InternalUnderlinedBadgeText-BODtZzoY.js → InternalUnderlinedBadgeText-BFV_mwUE.js} +1 -1
  21. package/dist/cjs/{InternalUnderlinedBadgeText-BODtZzoY.js.map → InternalUnderlinedBadgeText-BFV_mwUE.js.map} +1 -1
  22. package/dist/cjs/Span-BxoC47SY.js +4 -0
  23. package/dist/cjs/{Span-BBK8BblG.js.map → Span-BxoC47SY.js.map} +1 -1
  24. package/dist/cjs/{access-and-short-key-B0dVd63T.js → access-and-short-key-BExF929g.js} +1 -1
  25. package/dist/cjs/{access-and-short-key-B0dVd63T.js.map → access-and-short-key-BExF929g.js.map} +1 -1
  26. package/dist/cjs/{align-CGodR4n7.js → align-CGG5V8xM.js} +1 -1
  27. package/dist/cjs/{align-CGodR4n7.js.map → align-CGG5V8xM.js.map} +1 -1
  28. package/dist/cjs/{align-floating-elements-Br8DD0Dz.js → align-floating-elements-Bxx5nIn-.js} +1 -1
  29. package/dist/cjs/{align-floating-elements-Br8DD0Dz.js.map → align-floating-elements-Bxx5nIn-.js.map} +1 -1
  30. package/dist/cjs/{app-globals-CGOCQnzX.js → app-globals-pL5YD7vG.js} +1 -1
  31. package/dist/cjs/{app-globals-CGOCQnzX.js.map → app-globals-pL5YD7vG.js.map} +1 -1
  32. package/dist/cjs/{associated.controller-DCjDhSZx.js → associated.controller-Dpp0zVIP.js} +1 -1
  33. package/dist/{esm/associated.controller-BVXWSO2G.js.map → cjs/associated.controller-Dpp0zVIP.js.map} +1 -1
  34. package/dist/cjs/{auto-complete-QYKM7wxP.js → auto-complete-DQ9TPAgi.js} +1 -1
  35. package/dist/cjs/{auto-complete-QYKM7wxP.js.map → auto-complete-DQ9TPAgi.js.map} +1 -1
  36. package/dist/cjs/{bem-TNHXx4Pf.js → bem-BqAGYRuL.js} +1 -1
  37. package/dist/cjs/{bem-TNHXx4Pf.js.map → bem-BqAGYRuL.js.map} +1 -1
  38. package/dist/cjs/{bem-DBiVGyNi.js → bem-DnR3ZJW_.js} +1 -1
  39. package/dist/cjs/{bem-DBiVGyNi.js.map → bem-DnR3ZJW_.js.map} +1 -1
  40. package/dist/cjs/{bootstrap-CtGLo8kW.js → bootstrap-B3uKTmEF.js} +1 -1
  41. package/dist/cjs/{bootstrap-CtGLo8kW.js.map → bootstrap-B3uKTmEF.js.map} +1 -1
  42. package/dist/cjs/{browser-4oxWjixL.js → browser-CUgMyC7t.js} +1 -1
  43. package/dist/cjs/{browser-4oxWjixL.js.map → browser-CUgMyC7t.js.map} +1 -1
  44. package/dist/cjs/{color-BSkkZJMA.js → color-D7OxzTlF.js} +1 -1
  45. package/dist/cjs/{color-BSkkZJMA.js.map → color-D7OxzTlF.js.map} +1 -1
  46. package/dist/cjs/common-Cd2qH809.js +4 -0
  47. package/dist/cjs/common-Cd2qH809.js.map +1 -0
  48. package/dist/cjs/{controller-D_ukaPzo.js → controller-BF3IbQCZ.js} +1 -1
  49. package/dist/cjs/{controller-D_ukaPzo.js.map → controller-BF3IbQCZ.js.map} +1 -1
  50. package/dist/cjs/{controller-CV1qZlKi.js → controller-C9D9ASx9.js} +1 -1
  51. package/dist/cjs/{controller-CV1qZlKi.js.map → controller-C9D9ASx9.js.map} +1 -1
  52. package/dist/cjs/{controller-BTDKG52K.js → controller-DE364s7d.js} +1 -1
  53. package/dist/cjs/{controller-BTDKG52K.js.map → controller-DE364s7d.js.map} +1 -1
  54. package/dist/cjs/{controller-GmaYNdhU.js → controller-DVa19V7D.js} +1 -1
  55. package/dist/cjs/{controller-GmaYNdhU.js.map → controller-DVa19V7D.js.map} +1 -1
  56. package/dist/cjs/controller-icon-DXOo7KJs.js +4 -0
  57. package/dist/cjs/controller-icon-DXOo7KJs.js.map +1 -0
  58. package/dist/cjs/{custom-class-DthDHPRf.js → custom-class-BhuMM_WI.js} +1 -1
  59. package/dist/cjs/{custom-class-DthDHPRf.js.map → custom-class-BhuMM_WI.js.map} +1 -1
  60. package/dist/cjs/{dev.utils-B-CKEhwM.js → dev.utils-CQU7aXbA.js} +1 -1
  61. package/dist/cjs/{dev.utils-B-CKEhwM.js.map → dev.utils-CQU7aXbA.js.map} +1 -1
  62. package/dist/cjs/{devtools-NhqDdp_U.js → devtools-CAiSzX10.js} +1 -1
  63. package/dist/cjs/{devtools-NhqDdp_U.js.map → devtools-CAiSzX10.js.map} +1 -1
  64. package/dist/cjs/{disabled-JsWu7U3p.js → disabled-DT-7CUov.js} +1 -1
  65. package/dist/cjs/{disabled-JsWu7U3p.js.map → disabled-DT-7CUov.js.map} +1 -1
  66. package/dist/cjs/{has-closer-DUQoCoXf.js → has-closer-COtNvUI4.js} +1 -1
  67. package/dist/cjs/{has-closer-DUQoCoXf.js.map → has-closer-COtNvUI4.js.map} +1 -1
  68. package/dist/cjs/hide-label-DdGk9NfD.js +4 -0
  69. package/dist/cjs/{hide-label-DUc_dh2F.js.map → hide-label-DdGk9NfD.js.map} +1 -1
  70. package/dist/cjs/{href-Ch3fdFde.js → href-BxaZOlRE.js} +1 -1
  71. package/dist/cjs/{href-Ch3fdFde.js.map → href-BxaZOlRE.js.map} +1 -1
  72. package/dist/cjs/i18n-Drgbs46L.js.map +1 -1
  73. package/dist/cjs/{i18n-CGM1ewjR.js → i18n-NiDr3RbD.js} +1 -1
  74. package/dist/cjs/{i18n-CGM1ewjR.js.map → i18n-NiDr3RbD.js.map} +1 -1
  75. package/dist/cjs/{icons-BqaGLdQD.js → icons-CvKgcv20.js} +1 -1
  76. package/dist/cjs/{icons-BqaGLdQD.js.map → icons-CvKgcv20.js.map} +1 -1
  77. package/dist/cjs/{image-source-BMMr7brE.js → image-source-DI336Od8.js} +1 -1
  78. package/dist/cjs/{image-source-BMMr7brE.js.map → image-source-DI336Od8.js.map} +1 -1
  79. package/dist/cjs/index-qkwtLaak.js +4 -0
  80. package/dist/cjs/index-qkwtLaak.js.map +1 -0
  81. package/dist/cjs/index.cjs.js +1 -1
  82. package/dist/cjs/index.cjs.js.map +1 -1
  83. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  90. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  93. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  95. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  97. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  99. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  101. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  103. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  106. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  108. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  110. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  112. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  114. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  116. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  123. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  124. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  129. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  136. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  143. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  144. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  146. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  150. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  153. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
  155. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  157. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  159. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  161. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  163. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  164. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  165. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  166. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  167. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  168. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  169. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  170. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  171. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  172. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  173. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  174. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  175. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  176. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  177. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  178. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  179. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  180. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  181. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  182. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  183. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  184. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  185. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  186. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  187. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  188. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  189. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  190. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  191. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  192. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  193. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  194. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  195. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  196. package/dist/cjs/kolibri.cjs.js +1 -1
  197. package/dist/cjs/kolibri.cjs.js.map +1 -1
  198. package/dist/cjs/{label-QuxWRpmX.js → label-Nicf9N_T.js} +1 -1
  199. package/dist/cjs/{label-QuxWRpmX.js.map → label-Nicf9N_T.js.map} +1 -1
  200. package/dist/cjs/{link-variant-BBPMsbbH.js → link-variant-CIRPEZeP.js} +1 -1
  201. package/dist/cjs/{link-variant-BBPMsbbH.js.map → link-variant-CIRPEZeP.js.map} +1 -1
  202. package/dist/cjs/loader.cjs.js +1 -1
  203. package/dist/cjs/{markdown-DZ1IZ-7b.js → markdown-1dxeA2q6.js} +1 -1
  204. package/dist/cjs/{markdown-DZ1IZ-7b.js.map → markdown-1dxeA2q6.js.map} +1 -1
  205. package/dist/cjs/{max-length-behavior-BUuOPYrv.js → max-length-behavior-Bvbwhaxv.js} +1 -1
  206. package/dist/cjs/{max-length-behavior-BUuOPYrv.js.map → max-length-behavior-Bvbwhaxv.js.map} +1 -1
  207. package/dist/cjs/{multiple-BB-kVN1T.js → multiple-DRhU5nKU.js} +1 -1
  208. package/dist/cjs/{multiple-BB-kVN1T.js.map → multiple-DRhU5nKU.js.map} +1 -1
  209. package/dist/cjs/open-CFgcd51_.js +4 -0
  210. package/dist/cjs/{open-DT3WDPuM.js.map → open-CFgcd51_.js.map} +1 -1
  211. package/dist/cjs/orientation-BGODo_Ua.js +4 -0
  212. package/dist/cjs/{orientation-Yq2hnwhx.js.map → orientation-BGODo_Ua.js.map} +1 -1
  213. package/dist/cjs/placeholder-BncK-3gZ.js +4 -0
  214. package/dist/cjs/{placeholder-BThCBzLi.js.map → placeholder-BncK-3gZ.js.map} +1 -1
  215. package/dist/cjs/{read-only-CJZvE8gr.js → read-only-dIvCm73W.js} +1 -1
  216. package/dist/cjs/{read-only-CJZvE8gr.js.map → read-only-dIvCm73W.js.map} +1 -1
  217. package/dist/cjs/required-CXU7vdyH.js +4 -0
  218. package/dist/cjs/{required-CxJeLU2Q.js.map → required-CXU7vdyH.js.map} +1 -1
  219. package/dist/cjs/rows-BUvz5j5U.js +4 -0
  220. package/dist/cjs/{rows-CCfpaGu_.js.map → rows-BUvz5j5U.js.map} +1 -1
  221. package/dist/cjs/{show-BiXbiD-9.js → show-C0ZlevIe.js} +1 -1
  222. package/dist/cjs/{show-BiXbiD-9.js.map → show-C0ZlevIe.js.map} +1 -1
  223. package/dist/cjs/{spell-check-zWCFcS36.js → spell-check-Bkq4G9L7.js} +1 -1
  224. package/dist/cjs/{spell-check-zWCFcS36.js.map → spell-check-Bkq4G9L7.js.map} +1 -1
  225. package/dist/cjs/{suggestions-QQJT6_JO.js → suggestions-BjiW0xio.js} +1 -1
  226. package/dist/cjs/{suggestions-QQJT6_JO.js.map → suggestions-BjiW0xio.js.map} +1 -1
  227. package/dist/cjs/{table-settings-DTpfTTG4.js → table-settings-C94oBnXF.js} +1 -1
  228. package/dist/cjs/{table-settings-DTpfTTG4.js.map → table-settings-C94oBnXF.js.map} +1 -1
  229. package/dist/cjs/test-component.cjs.entry.js +1 -1
  230. package/dist/cjs/tooltip-align-WJPFINTL.js +4 -0
  231. package/dist/cjs/{tooltip-align-BrHrEyjZ.js.map → tooltip-align-WJPFINTL.js.map} +1 -1
  232. package/dist/cjs/{unique-nav-labels-B5hLpGR8.js → unique-nav-labels-hzeBq0jr.js} +1 -1
  233. package/dist/cjs/{unique-nav-labels-B5hLpGR8.js.map → unique-nav-labels-hzeBq0jr.js.map} +1 -1
  234. package/dist/cjs/validation-BvY0ZgXp.js +4 -0
  235. package/dist/cjs/{validation-C8RdRBsU.js.map → validation-BvY0ZgXp.js.map} +1 -1
  236. package/dist/cjs/{validation-DAmIrNsE.js → validation-DsxRnVmU.js} +1 -1
  237. package/dist/cjs/{validation-DAmIrNsE.js.map → validation-DsxRnVmU.js.map} +1 -1
  238. package/dist/components/Alert.js.map +1 -1
  239. package/dist/components/Collapsible.js.map +1 -1
  240. package/dist/components/CustomSuggestionsToggle.js.map +1 -1
  241. package/dist/components/FieldControlStateWrapper.js +1 -1
  242. package/dist/components/FieldControlStateWrapper.js.map +1 -1
  243. package/dist/components/Heading.js.map +1 -1
  244. package/dist/components/Input.js +1 -1
  245. package/dist/components/Input.js.map +1 -1
  246. package/dist/components/InputStateWrapper.js +1 -1
  247. package/dist/components/InputStateWrapper.js.map +1 -1
  248. package/dist/components/InternalUnderlinedBadgeText.js.map +1 -1
  249. package/dist/components/Span.js.map +1 -1
  250. package/dist/components/align-floating-elements.js.map +1 -1
  251. package/dist/components/associated.controller.js.map +1 -1
  252. package/dist/components/bootstrap.js.map +1 -1
  253. package/dist/components/color.js.map +1 -1
  254. package/dist/components/common.js +1 -1
  255. package/dist/components/common.js.map +1 -1
  256. package/dist/components/controller-icon.js +1 -1
  257. package/dist/components/controller-icon.js.map +1 -1
  258. package/dist/components/controller.js.map +1 -1
  259. package/dist/components/controller2.js +1 -1
  260. package/dist/components/controller2.js.map +1 -1
  261. package/dist/components/controller3.js.map +1 -1
  262. package/dist/components/controller4.js.map +1 -1
  263. package/dist/components/controller5.js.map +1 -1
  264. package/dist/components/i18n2.js.map +1 -1
  265. package/dist/components/icons.js.map +1 -1
  266. package/dist/components/index.js.map +1 -1
  267. package/dist/components/keyboard.js.map +1 -1
  268. package/dist/components/kol-abbr.js +1 -1
  269. package/dist/components/kol-abbr.js.map +1 -1
  270. package/dist/components/kol-accordion.js +1 -1
  271. package/dist/components/kol-accordion.js.map +1 -1
  272. package/dist/components/kol-alert-wc.js +1 -1
  273. package/dist/components/kol-alert-wc.js.map +1 -1
  274. package/dist/components/kol-alert.js +1 -1
  275. package/dist/components/kol-alert.js.map +1 -1
  276. package/dist/components/kol-avatar-wc.js +1 -1
  277. package/dist/components/kol-avatar-wc.js.map +1 -1
  278. package/dist/components/kol-avatar.js +1 -1
  279. package/dist/components/kol-avatar.js.map +1 -1
  280. package/dist/components/kol-badge.js +1 -1
  281. package/dist/components/kol-badge.js.map +1 -1
  282. package/dist/components/kol-breadcrumb.js +1 -1
  283. package/dist/components/kol-breadcrumb.js.map +1 -1
  284. package/dist/components/kol-button-link.js +1 -1
  285. package/dist/components/kol-button-link.js.map +1 -1
  286. package/dist/components/kol-button-wc.js +1 -1
  287. package/dist/components/kol-button-wc.js.map +1 -1
  288. package/dist/components/kol-button.js +1 -1
  289. package/dist/components/kol-button.js.map +1 -1
  290. package/dist/components/kol-card-wc.js +1 -1
  291. package/dist/components/kol-card-wc.js.map +1 -1
  292. package/dist/components/kol-card.js +1 -1
  293. package/dist/components/kol-card.js.map +1 -1
  294. package/dist/components/kol-combobox.js +1 -1
  295. package/dist/components/kol-combobox.js.map +1 -1
  296. package/dist/components/kol-details.js +1 -1
  297. package/dist/components/kol-details.js.map +1 -1
  298. package/dist/components/kol-drawer.js +1 -1
  299. package/dist/components/kol-drawer.js.map +1 -1
  300. package/dist/components/kol-form.js +1 -1
  301. package/dist/components/kol-form.js.map +1 -1
  302. package/dist/components/kol-heading.js +1 -1
  303. package/dist/components/kol-heading.js.map +1 -1
  304. package/dist/components/kol-icon.js +1 -1
  305. package/dist/components/kol-icon.js.map +1 -1
  306. package/dist/components/kol-image.js +1 -1
  307. package/dist/components/kol-image.js.map +1 -1
  308. package/dist/components/kol-input-checkbox.js +1 -1
  309. package/dist/components/kol-input-checkbox.js.map +1 -1
  310. package/dist/components/kol-input-color.js +1 -1
  311. package/dist/components/kol-input-color.js.map +1 -1
  312. package/dist/components/kol-input-date.js +1 -1
  313. package/dist/components/kol-input-date.js.map +1 -1
  314. package/dist/components/kol-input-email.js +1 -1
  315. package/dist/components/kol-input-email.js.map +1 -1
  316. package/dist/components/kol-input-file.js +1 -1
  317. package/dist/components/kol-input-file.js.map +1 -1
  318. package/dist/components/kol-input-number.js +1 -1
  319. package/dist/components/kol-input-number.js.map +1 -1
  320. package/dist/components/kol-input-password.js +1 -1
  321. package/dist/components/kol-input-password.js.map +1 -1
  322. package/dist/components/kol-input-radio.js +1 -1
  323. package/dist/components/kol-input-radio.js.map +1 -1
  324. package/dist/components/kol-input-range.js +1 -1
  325. package/dist/components/kol-input-range.js.map +1 -1
  326. package/dist/components/kol-input-text.js +1 -1
  327. package/dist/components/kol-input-text.js.map +1 -1
  328. package/dist/components/kol-kolibri.js +1 -1
  329. package/dist/components/kol-kolibri.js.map +1 -1
  330. package/dist/components/kol-link-button.js +1 -1
  331. package/dist/components/kol-link-button.js.map +1 -1
  332. package/dist/components/kol-link-wc.js +1 -1
  333. package/dist/components/kol-link-wc.js.map +1 -1
  334. package/dist/components/kol-link.js +1 -1
  335. package/dist/components/kol-link.js.map +1 -1
  336. package/dist/components/kol-modal.js +1 -1
  337. package/dist/components/kol-modal.js.map +1 -1
  338. package/dist/components/kol-nav.js +1 -1
  339. package/dist/components/kol-nav.js.map +1 -1
  340. package/dist/components/kol-pagination-wc.js +1 -1
  341. package/dist/components/kol-pagination-wc.js.map +1 -1
  342. package/dist/components/kol-pagination.js +1 -1
  343. package/dist/components/kol-pagination.js.map +1 -1
  344. package/dist/components/kol-popover-button-wc.js +1 -1
  345. package/dist/components/kol-popover-button-wc.js.map +1 -1
  346. package/dist/components/kol-popover-button.js +1 -1
  347. package/dist/components/kol-popover-button.js.map +1 -1
  348. package/dist/components/kol-popover-wc.js +1 -1
  349. package/dist/components/kol-popover-wc.js.map +1 -1
  350. package/dist/components/kol-progress.js +1 -1
  351. package/dist/components/kol-progress.js.map +1 -1
  352. package/dist/components/kol-quote.js +1 -1
  353. package/dist/components/kol-quote.js.map +1 -1
  354. package/dist/components/kol-select.js +1 -1
  355. package/dist/components/kol-select.js.map +1 -1
  356. package/dist/components/kol-single-select.js +1 -1
  357. package/dist/components/kol-single-select.js.map +1 -1
  358. package/dist/components/kol-skip-nav.js +1 -1
  359. package/dist/components/kol-skip-nav.js.map +1 -1
  360. package/dist/components/kol-spin.js +1 -1
  361. package/dist/components/kol-spin.js.map +1 -1
  362. package/dist/components/kol-split-button.js +1 -1
  363. package/dist/components/kol-split-button.js.map +1 -1
  364. package/dist/components/kol-table-settings-wc.js +1 -1
  365. package/dist/components/kol-table-settings-wc.js.map +1 -1
  366. package/dist/components/kol-table-stateful.js +1 -1
  367. package/dist/components/kol-table-stateful.js.map +1 -1
  368. package/dist/components/kol-table-stateless-wc.js +1 -1
  369. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  370. package/dist/components/kol-table-stateless.js +1 -1
  371. package/dist/components/kol-table-stateless.js.map +1 -1
  372. package/dist/components/kol-tabs.js +1 -1
  373. package/dist/components/kol-tabs.js.map +1 -1
  374. package/dist/components/kol-textarea.js +1 -1
  375. package/dist/components/kol-textarea.js.map +1 -1
  376. package/dist/components/kol-toast-container.js +1 -1
  377. package/dist/components/kol-toast-container.js.map +1 -1
  378. package/dist/components/kol-toolbar.js +1 -1
  379. package/dist/components/kol-toolbar.js.map +1 -1
  380. package/dist/components/kol-tooltip-wc.js +1 -1
  381. package/dist/components/kol-tooltip-wc.js.map +1 -1
  382. package/dist/components/kol-tree-item-wc.js +1 -1
  383. package/dist/components/kol-tree-item-wc.js.map +1 -1
  384. package/dist/components/kol-tree-item.js +1 -1
  385. package/dist/components/kol-tree-item.js.map +1 -1
  386. package/dist/components/kol-tree-wc.js +1 -1
  387. package/dist/components/kol-tree-wc.js.map +1 -1
  388. package/dist/components/kol-tree.js +1 -1
  389. package/dist/components/kol-tree.js.map +1 -1
  390. package/dist/components/kol-version.js +1 -1
  391. package/dist/components/kol-version.js.map +1 -1
  392. package/dist/components/label.js.map +1 -1
  393. package/dist/components/max-length-behavior.js.map +1 -1
  394. package/dist/esm/{Alert-DDLWH-ai.js → Alert-B377MRFO.js} +1 -1
  395. package/dist/esm/{Alert-DDLWH-ai.js.map → Alert-B377MRFO.js.map} +1 -1
  396. package/dist/esm/{Collapsible-BgSpmK5T.js → Collapsible-C7BOCNYK.js} +1 -1
  397. package/dist/{kolibri/Collapsible-BgSpmK5T.js.map → esm/Collapsible-C7BOCNYK.js.map} +1 -1
  398. package/dist/esm/{CustomSuggestionsToggle-Bs4jxOD8.js → CustomSuggestionsToggle-BNy3sFNW.js} +1 -1
  399. package/dist/esm/{CustomSuggestionsToggle-Bs4jxOD8.js.map → CustomSuggestionsToggle-BNy3sFNW.js.map} +1 -1
  400. package/dist/esm/FieldControlStateWrapper-DRnIsegE.js +4 -0
  401. package/dist/esm/FieldControlStateWrapper-DRnIsegE.js.map +1 -0
  402. package/dist/esm/FormFieldStateWrapper-DiolLYSq.js +4 -0
  403. package/dist/esm/FormFieldStateWrapper-DiolLYSq.js.map +1 -0
  404. package/dist/esm/{Heading-BikkZxGQ.js → Heading-BX2W3g7O.js} +1 -1
  405. package/dist/{kolibri/Heading-BikkZxGQ.js.map → esm/Heading-BX2W3g7O.js.map} +1 -1
  406. package/dist/esm/{Icon-K-RxFeQH.js → Icon-Dh17fWbe.js} +1 -1
  407. package/dist/esm/{Icon-K-RxFeQH.js.map → Icon-Dh17fWbe.js.map} +1 -1
  408. package/dist/esm/Input-45FxkhGc.js +4 -0
  409. package/dist/esm/Input-45FxkhGc.js.map +1 -0
  410. package/dist/esm/InputStateWrapper-7LSQHzG0.js +4 -0
  411. package/dist/esm/InputStateWrapper-7LSQHzG0.js.map +1 -0
  412. package/dist/esm/{InternalUnderlinedBadgeText-BvL2GxIT.js → InternalUnderlinedBadgeText-CLrx-9jT.js} +1 -1
  413. package/dist/esm/{InternalUnderlinedBadgeText-BvL2GxIT.js.map → InternalUnderlinedBadgeText-CLrx-9jT.js.map} +1 -1
  414. package/dist/esm/{Span-B1hx0hMP.js → Span-DBghS6-J.js} +1 -1
  415. package/dist/esm/{Span-B1hx0hMP.js.map → Span-DBghS6-J.js.map} +1 -1
  416. package/dist/esm/{access-and-short-key-CBDgF26-.js → access-and-short-key-bcID78Ha.js} +1 -1
  417. package/dist/esm/{access-and-short-key-CBDgF26-.js.map → access-and-short-key-bcID78Ha.js.map} +1 -1
  418. package/dist/esm/{align-BU6S1qiO.js → align-CyK0wp7d.js} +1 -1
  419. package/dist/{kolibri/align-BU6S1qiO.js.map → esm/align-CyK0wp7d.js.map} +1 -1
  420. package/dist/esm/{align-floating-elements-CB8sErUz.js → align-floating-elements-Bx4ukVlr.js} +1 -1
  421. package/dist/esm/{align-floating-elements-CB8sErUz.js.map → align-floating-elements-Bx4ukVlr.js.map} +1 -1
  422. package/dist/esm/{app-globals-CVhtCzlK.js → app-globals-BUWWVWda.js} +1 -1
  423. package/dist/esm/{app-globals-CVhtCzlK.js.map → app-globals-BUWWVWda.js.map} +1 -1
  424. package/dist/esm/{associated.controller-BVXWSO2G.js → associated.controller-BKIODHIT.js} +1 -1
  425. package/dist/{cjs/associated.controller-DCjDhSZx.js.map → esm/associated.controller-BKIODHIT.js.map} +1 -1
  426. package/dist/esm/{auto-complete-QkT4jBSK.js → auto-complete-BsG3RQJ3.js} +1 -1
  427. package/dist/esm/{auto-complete-QkT4jBSK.js.map → auto-complete-BsG3RQJ3.js.map} +1 -1
  428. package/dist/esm/{bem-Cr-VD6ns.js → bem-CjFNhKP6.js} +1 -1
  429. package/dist/esm/{bem-Cr-VD6ns.js.map → bem-CjFNhKP6.js.map} +1 -1
  430. package/dist/esm/{bem-DqV0swL_.js → bem-DhwfdDrM.js} +1 -1
  431. package/dist/esm/{bem-DqV0swL_.js.map → bem-DhwfdDrM.js.map} +1 -1
  432. package/dist/esm/{bootstrap-YDZ8Qb_h.js → bootstrap-BiRnv4fV.js} +1 -1
  433. package/dist/esm/{bootstrap-YDZ8Qb_h.js.map → bootstrap-BiRnv4fV.js.map} +1 -1
  434. package/dist/esm/{browser-DAVbNx-f.js → browser-DeS_gcJV.js} +1 -1
  435. package/dist/{kolibri/browser-DAVbNx-f.js.map → esm/browser-DeS_gcJV.js.map} +1 -1
  436. package/dist/esm/{color-Byzv98Bu.js → color-C3pYZKV3.js} +1 -1
  437. package/dist/esm/{color-Byzv98Bu.js.map → color-C3pYZKV3.js.map} +1 -1
  438. package/dist/esm/common-8fBdMvJM.js +4 -0
  439. package/dist/esm/common-8fBdMvJM.js.map +1 -0
  440. package/dist/esm/{controller-Co827irH.js → controller-BD70cDIh.js} +1 -1
  441. package/dist/{kolibri/controller-Co827irH.js.map → esm/controller-BD70cDIh.js.map} +1 -1
  442. package/dist/esm/{controller-lp0AbOj9.js → controller-CUCw249W.js} +1 -1
  443. package/dist/{kolibri/controller-lp0AbOj9.js.map → esm/controller-CUCw249W.js.map} +1 -1
  444. package/dist/esm/{controller-D4SIjZnf.js → controller-CV2y9Ae_.js} +1 -1
  445. package/dist/esm/{controller-D4SIjZnf.js.map → controller-CV2y9Ae_.js.map} +1 -1
  446. package/dist/esm/controller-icon-bVTIf-z3.js +4 -0
  447. package/dist/esm/controller-icon-bVTIf-z3.js.map +1 -0
  448. package/dist/esm/{controller-Bc5oZ-M8.js → controller-mAs3LHlE.js} +1 -1
  449. package/dist/{kolibri/controller-Bc5oZ-M8.js.map → esm/controller-mAs3LHlE.js.map} +1 -1
  450. package/dist/esm/custom-class-CA0KGtrM.js +4 -0
  451. package/dist/esm/{custom-class-B5WXhTM9.js.map → custom-class-CA0KGtrM.js.map} +1 -1
  452. package/dist/esm/{dev.utils-dJsH-7gE.js → dev.utils-BxUNRHGK.js} +1 -1
  453. package/dist/{kolibri/dev.utils-dJsH-7gE.js.map → esm/dev.utils-BxUNRHGK.js.map} +1 -1
  454. package/dist/esm/{devtools-Bb6Ix1ZL.js → devtools-CJch3vCJ.js} +1 -1
  455. package/dist/esm/{devtools-Bb6Ix1ZL.js.map → devtools-CJch3vCJ.js.map} +1 -1
  456. package/dist/esm/disabled-BydergHu.js +4 -0
  457. package/dist/esm/{disabled-oePQqAfy.js.map → disabled-BydergHu.js.map} +1 -1
  458. package/dist/esm/{has-closer-Dc5S0f9j.js → has-closer-BBMh8HY3.js} +1 -1
  459. package/dist/esm/{has-closer-Dc5S0f9j.js.map → has-closer-BBMh8HY3.js.map} +1 -1
  460. package/dist/esm/{hide-label-BmYpplzr.js → hide-label-DRunOux4.js} +1 -1
  461. package/dist/esm/{hide-label-BmYpplzr.js.map → hide-label-DRunOux4.js.map} +1 -1
  462. package/dist/esm/{href-BETcU_FA.js → href-zZq6HYWf.js} +1 -1
  463. package/dist/esm/{href-BETcU_FA.js.map → href-zZq6HYWf.js.map} +1 -1
  464. package/dist/esm/{i18n-C7ZsbK5l.js → i18n-CdSCDnmA.js} +1 -1
  465. package/dist/esm/{i18n-C7ZsbK5l.js.map → i18n-CdSCDnmA.js.map} +1 -1
  466. package/dist/esm/i18n-ZF6JbdVP.js.map +1 -1
  467. package/dist/esm/{icons-CH_AgdgO.js → icons-72ER78AW.js} +1 -1
  468. package/dist/esm/{icons-CH_AgdgO.js.map → icons-72ER78AW.js.map} +1 -1
  469. package/dist/esm/{image-source-COIdbYDA.js → image-source-RWPv7frZ.js} +1 -1
  470. package/dist/esm/{image-source-COIdbYDA.js.map → image-source-RWPv7frZ.js.map} +1 -1
  471. package/dist/esm/index-DOWoBMgb.js +4 -0
  472. package/dist/esm/index-DOWoBMgb.js.map +1 -0
  473. package/dist/esm/index.js +1 -1
  474. package/dist/esm/index.js.map +1 -1
  475. package/dist/esm/keyboard-D6PoWr38.js.map +1 -1
  476. package/dist/esm/kol-abbr.entry.js +1 -1
  477. package/dist/esm/kol-abbr.entry.js.map +1 -1
  478. package/dist/esm/kol-accordion.entry.js +1 -1
  479. package/dist/esm/kol-accordion.entry.js.map +1 -1
  480. package/dist/esm/kol-alert-wc.entry.js +1 -1
  481. package/dist/esm/kol-alert.entry.js +1 -1
  482. package/dist/esm/kol-alert.entry.js.map +1 -1
  483. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  484. package/dist/esm/kol-avatar.entry.js +1 -1
  485. package/dist/esm/kol-avatar.entry.js.map +1 -1
  486. package/dist/esm/kol-badge.entry.js +1 -1
  487. package/dist/esm/kol-badge.entry.js.map +1 -1
  488. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  489. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  490. package/dist/esm/kol-button-link.entry.js +1 -1
  491. package/dist/esm/kol-button-link.entry.js.map +1 -1
  492. package/dist/esm/kol-button-wc.entry.js +1 -1
  493. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  494. package/dist/esm/kol-button.entry.js +1 -1
  495. package/dist/esm/kol-button.entry.js.map +1 -1
  496. package/dist/esm/kol-card-wc.entry.js +1 -1
  497. package/dist/esm/kol-card.entry.js +1 -1
  498. package/dist/esm/kol-card.entry.js.map +1 -1
  499. package/dist/esm/kol-combobox.entry.js +1 -1
  500. package/dist/esm/kol-combobox.entry.js.map +1 -1
  501. package/dist/esm/kol-details.entry.js +1 -1
  502. package/dist/esm/kol-details.entry.js.map +1 -1
  503. package/dist/esm/kol-drawer.entry.js +1 -1
  504. package/dist/esm/kol-drawer.entry.js.map +1 -1
  505. package/dist/esm/kol-form.entry.js +1 -1
  506. package/dist/esm/kol-form.entry.js.map +1 -1
  507. package/dist/esm/kol-heading.entry.js +1 -1
  508. package/dist/esm/kol-heading.entry.js.map +1 -1
  509. package/dist/esm/kol-icon.entry.js +1 -1
  510. package/dist/esm/kol-image.entry.js +1 -1
  511. package/dist/esm/kol-image.entry.js.map +1 -1
  512. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  513. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  514. package/dist/esm/kol-input-color.entry.js +1 -1
  515. package/dist/esm/kol-input-color.entry.js.map +1 -1
  516. package/dist/esm/kol-input-date.entry.js +1 -1
  517. package/dist/esm/kol-input-date.entry.js.map +1 -1
  518. package/dist/esm/kol-input-email.entry.js +1 -1
  519. package/dist/esm/kol-input-email.entry.js.map +1 -1
  520. package/dist/esm/kol-input-file.entry.js +1 -1
  521. package/dist/esm/kol-input-file.entry.js.map +1 -1
  522. package/dist/esm/kol-input-number.entry.js +1 -1
  523. package/dist/esm/kol-input-number.entry.js.map +1 -1
  524. package/dist/esm/kol-input-password.entry.js +1 -1
  525. package/dist/esm/kol-input-password.entry.js.map +1 -1
  526. package/dist/esm/kol-input-radio.entry.js +1 -1
  527. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  528. package/dist/esm/kol-input-range.entry.js +1 -1
  529. package/dist/esm/kol-input-range.entry.js.map +1 -1
  530. package/dist/esm/kol-input-text.entry.js +1 -1
  531. package/dist/esm/kol-input-text.entry.js.map +1 -1
  532. package/dist/esm/kol-kolibri.entry.js +1 -1
  533. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  534. package/dist/esm/kol-link-button.entry.js +1 -1
  535. package/dist/esm/kol-link-button.entry.js.map +1 -1
  536. package/dist/esm/kol-link-wc.entry.js +1 -1
  537. package/dist/esm/kol-link.entry.js +1 -1
  538. package/dist/esm/kol-link.entry.js.map +1 -1
  539. package/dist/esm/kol-modal.entry.js +1 -1
  540. package/dist/esm/kol-modal.entry.js.map +1 -1
  541. package/dist/esm/kol-nav.entry.js +1 -1
  542. package/dist/esm/kol-nav.entry.js.map +1 -1
  543. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  544. package/dist/esm/kol-pagination.entry.js +1 -1
  545. package/dist/esm/kol-pagination.entry.js.map +1 -1
  546. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  547. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  548. package/dist/esm/kol-popover-button.entry.js +1 -1
  549. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  550. package/dist/esm/kol-popover-wc.entry.js +1 -1
  551. package/dist/esm/kol-progress.entry.js +1 -1
  552. package/dist/esm/kol-progress.entry.js.map +1 -1
  553. package/dist/esm/kol-quote.entry.js +1 -1
  554. package/dist/esm/kol-quote.entry.js.map +1 -1
  555. package/dist/esm/kol-select.entry.js +1 -1
  556. package/dist/esm/kol-select.entry.js.map +1 -1
  557. package/dist/esm/kol-single-select.entry.js +1 -1
  558. package/dist/esm/kol-single-select.entry.js.map +1 -1
  559. package/dist/esm/kol-skip-nav.entry.js +1 -1
  560. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  561. package/dist/esm/kol-spin.entry.js +1 -1
  562. package/dist/esm/kol-spin.entry.js.map +1 -1
  563. package/dist/esm/kol-split-button.entry.js +1 -1
  564. package/dist/esm/kol-split-button.entry.js.map +1 -1
  565. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  566. package/dist/esm/kol-table-stateful.entry.js +1 -1
  567. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  568. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  569. package/dist/esm/kol-table-stateless.entry.js +1 -1
  570. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  571. package/dist/esm/kol-tabs.entry.js +1 -1
  572. package/dist/esm/kol-tabs.entry.js.map +1 -1
  573. package/dist/esm/kol-textarea.entry.js +1 -1
  574. package/dist/esm/kol-textarea.entry.js.map +1 -1
  575. package/dist/esm/kol-toast-container.entry.js +1 -1
  576. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  577. package/dist/esm/kol-toolbar.entry.js +1 -1
  578. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  579. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  580. package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
  581. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  582. package/dist/esm/kol-tree-item.entry.js +1 -1
  583. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  584. package/dist/esm/kol-tree-wc.entry.js +1 -1
  585. package/dist/esm/kol-tree.entry.js +1 -1
  586. package/dist/esm/kol-tree.entry.js.map +1 -1
  587. package/dist/esm/kol-version.entry.js +1 -1
  588. package/dist/esm/kol-version.entry.js.map +1 -1
  589. package/dist/esm/kolibri.js +1 -1
  590. package/dist/esm/kolibri.js.map +1 -1
  591. package/dist/esm/{label-DGzuU0HV.js → label-CdtNxOKu.js} +1 -1
  592. package/dist/esm/{label-DGzuU0HV.js.map → label-CdtNxOKu.js.map} +1 -1
  593. package/dist/esm/{link-variant-B1pMVL0L.js → link-variant-B9BZOLu-.js} +1 -1
  594. package/dist/{kolibri/link-variant-B1pMVL0L.js.map → esm/link-variant-B9BZOLu-.js.map} +1 -1
  595. package/dist/esm/loader.js +1 -1
  596. package/dist/esm/{markdown-BJ3cxn6B.js → markdown-DL-PkOqb.js} +1 -1
  597. package/dist/esm/{markdown-BJ3cxn6B.js.map → markdown-DL-PkOqb.js.map} +1 -1
  598. package/dist/esm/{max-length-behavior-DCUK2Rvw.js → max-length-behavior-BmNWss6T.js} +1 -1
  599. package/dist/{kolibri/max-length-behavior-DCUK2Rvw.js.map → esm/max-length-behavior-BmNWss6T.js.map} +1 -1
  600. package/dist/esm/multiple-bcm5IaCN.js +4 -0
  601. package/dist/{kolibri/multiple-D4hUZQZi.js.map → esm/multiple-bcm5IaCN.js.map} +1 -1
  602. package/dist/esm/{open-DDc2yKMt.js → open-D9q98v46.js} +1 -1
  603. package/dist/{kolibri/open-DDc2yKMt.js.map → esm/open-D9q98v46.js.map} +1 -1
  604. package/dist/esm/{orientation-DdsLYtB3.js → orientation-5kQWqijN.js} +1 -1
  605. package/dist/esm/{orientation-DdsLYtB3.js.map → orientation-5kQWqijN.js.map} +1 -1
  606. package/dist/esm/placeholder-6URRds0_.js +4 -0
  607. package/dist/esm/{placeholder-CKKvVrmb.js.map → placeholder-6URRds0_.js.map} +1 -1
  608. package/dist/esm/{read-only-D2aPahKx.js → read-only-CcRldJ9w.js} +1 -1
  609. package/dist/esm/{read-only-D2aPahKx.js.map → read-only-CcRldJ9w.js.map} +1 -1
  610. package/dist/esm/{required-DZ-b_DWV.js → required-G86n77y0.js} +1 -1
  611. package/dist/{kolibri/required-DZ-b_DWV.js.map → esm/required-G86n77y0.js.map} +1 -1
  612. package/dist/esm/{rows-DZqgM5RX.js → rows-P4l3PNiA.js} +1 -1
  613. package/dist/esm/{rows-DZqgM5RX.js.map → rows-P4l3PNiA.js.map} +1 -1
  614. package/dist/esm/{show-D0rlMMpf.js → show-DsV_Vx8g.js} +1 -1
  615. package/dist/{kolibri/show-D0rlMMpf.js.map → esm/show-DsV_Vx8g.js.map} +1 -1
  616. package/dist/esm/spell-check-DIsLAYgk.js +4 -0
  617. package/dist/esm/{spell-check-Chr2J8Ox.js.map → spell-check-DIsLAYgk.js.map} +1 -1
  618. package/dist/esm/{suggestions-dPkxw3RQ.js → suggestions-DfF4lcNG.js} +1 -1
  619. package/dist/esm/{suggestions-dPkxw3RQ.js.map → suggestions-DfF4lcNG.js.map} +1 -1
  620. package/dist/esm/{table-settings-CF9uiyi4.js → table-settings-PrIyAPEe.js} +1 -1
  621. package/dist/{kolibri/table-settings-CF9uiyi4.js.map → esm/table-settings-PrIyAPEe.js.map} +1 -1
  622. package/dist/esm/test-component.entry.js +1 -1
  623. package/dist/esm/tooltip-align-_VI7LehI.js +4 -0
  624. package/dist/esm/{tooltip-align-CmSyNCv5.js.map → tooltip-align-_VI7LehI.js.map} +1 -1
  625. package/dist/esm/{unique-nav-labels-Bm9ZvlTf.js → unique-nav-labels-C_NhdgGz.js} +1 -1
  626. package/dist/esm/{unique-nav-labels-Bm9ZvlTf.js.map → unique-nav-labels-C_NhdgGz.js.map} +1 -1
  627. package/dist/esm/{validation-CW-5L0A7.js → validation-CW_RXPSn.js} +1 -1
  628. package/dist/esm/{validation-CW-5L0A7.js.map → validation-CW_RXPSn.js.map} +1 -1
  629. package/dist/esm/{validation-oaGI9Wed.js → validation-DoIjmu3L.js} +1 -1
  630. package/dist/esm/{validation-oaGI9Wed.js.map → validation-DoIjmu3L.js.map} +1 -1
  631. package/dist/kolibri/{Alert-DDLWH-ai.js → Alert-B377MRFO.js} +1 -1
  632. package/dist/kolibri/{Alert-DDLWH-ai.js.map → Alert-B377MRFO.js.map} +1 -1
  633. package/dist/kolibri/Collapsible-C7BOCNYK.js +4 -0
  634. package/dist/{esm/Collapsible-BgSpmK5T.js.map → kolibri/Collapsible-C7BOCNYK.js.map} +1 -1
  635. package/dist/kolibri/{CustomSuggestionsToggle-Bs4jxOD8.js → CustomSuggestionsToggle-BNy3sFNW.js} +1 -1
  636. package/dist/kolibri/{CustomSuggestionsToggle-Bs4jxOD8.js.map → CustomSuggestionsToggle-BNy3sFNW.js.map} +1 -1
  637. package/dist/kolibri/FieldControlStateWrapper-DRnIsegE.js +4 -0
  638. package/dist/kolibri/FieldControlStateWrapper-DRnIsegE.js.map +1 -0
  639. package/dist/kolibri/FormFieldStateWrapper-DiolLYSq.js +4 -0
  640. package/dist/kolibri/FormFieldStateWrapper-DiolLYSq.js.map +1 -0
  641. package/dist/kolibri/{Heading-BikkZxGQ.js → Heading-BX2W3g7O.js} +1 -1
  642. package/dist/{esm/Heading-BikkZxGQ.js.map → kolibri/Heading-BX2W3g7O.js.map} +1 -1
  643. package/dist/kolibri/Icon-Dh17fWbe.js +4 -0
  644. package/dist/kolibri/{Icon-K-RxFeQH.js.map → Icon-Dh17fWbe.js.map} +1 -1
  645. package/dist/kolibri/Input-45FxkhGc.js +4 -0
  646. package/dist/kolibri/Input-45FxkhGc.js.map +1 -0
  647. package/dist/kolibri/InputStateWrapper-7LSQHzG0.js +4 -0
  648. package/dist/kolibri/InputStateWrapper-7LSQHzG0.js.map +1 -0
  649. package/dist/kolibri/InternalUnderlinedBadgeText-CLrx-9jT.js +4 -0
  650. package/dist/kolibri/{InternalUnderlinedBadgeText-BvL2GxIT.js.map → InternalUnderlinedBadgeText-CLrx-9jT.js.map} +1 -1
  651. package/dist/kolibri/Span-DBghS6-J.js +4 -0
  652. package/dist/kolibri/{Span-B1hx0hMP.js.map → Span-DBghS6-J.js.map} +1 -1
  653. package/dist/kolibri/{access-and-short-key-CBDgF26-.js → access-and-short-key-bcID78Ha.js} +1 -1
  654. package/dist/kolibri/{access-and-short-key-CBDgF26-.js.map → access-and-short-key-bcID78Ha.js.map} +1 -1
  655. package/dist/kolibri/{align-BU6S1qiO.js → align-CyK0wp7d.js} +1 -1
  656. package/dist/{esm/align-BU6S1qiO.js.map → kolibri/align-CyK0wp7d.js.map} +1 -1
  657. package/dist/kolibri/{align-floating-elements-CB8sErUz.js → align-floating-elements-Bx4ukVlr.js} +1 -1
  658. package/dist/kolibri/{align-floating-elements-CB8sErUz.js.map → align-floating-elements-Bx4ukVlr.js.map} +1 -1
  659. package/dist/kolibri/app-globals-BUWWVWda.js +4 -0
  660. package/dist/kolibri/{app-globals-CVhtCzlK.js.map → app-globals-BUWWVWda.js.map} +1 -1
  661. package/dist/kolibri/{associated.controller-BVXWSO2G.js → associated.controller-BKIODHIT.js} +1 -1
  662. package/dist/kolibri/{associated.controller-BVXWSO2G.js.map → associated.controller-BKIODHIT.js.map} +1 -1
  663. package/dist/kolibri/{auto-complete-QkT4jBSK.js → auto-complete-BsG3RQJ3.js} +1 -1
  664. package/dist/kolibri/{auto-complete-QkT4jBSK.js.map → auto-complete-BsG3RQJ3.js.map} +1 -1
  665. package/dist/kolibri/bem-CjFNhKP6.js +4 -0
  666. package/dist/kolibri/{bem-Cr-VD6ns.js.map → bem-CjFNhKP6.js.map} +1 -1
  667. package/dist/kolibri/{bem-DqV0swL_.js → bem-DhwfdDrM.js} +1 -1
  668. package/dist/kolibri/{bem-DqV0swL_.js.map → bem-DhwfdDrM.js.map} +1 -1
  669. package/dist/kolibri/bootstrap-BiRnv4fV.js +4 -0
  670. package/dist/kolibri/{bootstrap-YDZ8Qb_h.js.map → bootstrap-BiRnv4fV.js.map} +1 -1
  671. package/dist/kolibri/{browser-DAVbNx-f.js → browser-DeS_gcJV.js} +1 -1
  672. package/dist/{esm/browser-DAVbNx-f.js.map → kolibri/browser-DeS_gcJV.js.map} +1 -1
  673. package/dist/kolibri/{color-Byzv98Bu.js → color-C3pYZKV3.js} +1 -1
  674. package/dist/kolibri/{color-Byzv98Bu.js.map → color-C3pYZKV3.js.map} +1 -1
  675. package/dist/kolibri/common-8fBdMvJM.js +4 -0
  676. package/dist/kolibri/common-8fBdMvJM.js.map +1 -0
  677. package/dist/kolibri/{controller-Co827irH.js → controller-BD70cDIh.js} +1 -1
  678. package/dist/{esm/controller-Co827irH.js.map → kolibri/controller-BD70cDIh.js.map} +1 -1
  679. package/dist/kolibri/{controller-lp0AbOj9.js → controller-CUCw249W.js} +1 -1
  680. package/dist/{esm/controller-lp0AbOj9.js.map → kolibri/controller-CUCw249W.js.map} +1 -1
  681. package/dist/kolibri/{controller-D4SIjZnf.js → controller-CV2y9Ae_.js} +1 -1
  682. package/dist/kolibri/{controller-D4SIjZnf.js.map → controller-CV2y9Ae_.js.map} +1 -1
  683. package/dist/kolibri/controller-icon-bVTIf-z3.js +4 -0
  684. package/dist/kolibri/controller-icon-bVTIf-z3.js.map +1 -0
  685. package/dist/kolibri/controller-mAs3LHlE.js +4 -0
  686. package/dist/{esm/controller-Bc5oZ-M8.js.map → kolibri/controller-mAs3LHlE.js.map} +1 -1
  687. package/dist/kolibri/custom-class-CA0KGtrM.js +4 -0
  688. package/dist/kolibri/{custom-class-B5WXhTM9.js.map → custom-class-CA0KGtrM.js.map} +1 -1
  689. package/dist/kolibri/{dev.utils-dJsH-7gE.js → dev.utils-BxUNRHGK.js} +1 -1
  690. package/dist/{esm/dev.utils-dJsH-7gE.js.map → kolibri/dev.utils-BxUNRHGK.js.map} +1 -1
  691. package/dist/kolibri/{devtools-Bb6Ix1ZL.js → devtools-CJch3vCJ.js} +1 -1
  692. package/dist/kolibri/{devtools-Bb6Ix1ZL.js.map → devtools-CJch3vCJ.js.map} +1 -1
  693. package/dist/kolibri/{disabled-oePQqAfy.js → disabled-BydergHu.js} +1 -1
  694. package/dist/kolibri/{disabled-oePQqAfy.js.map → disabled-BydergHu.js.map} +1 -1
  695. package/dist/kolibri/has-closer-BBMh8HY3.js +4 -0
  696. package/dist/kolibri/{has-closer-Dc5S0f9j.js.map → has-closer-BBMh8HY3.js.map} +1 -1
  697. package/dist/kolibri/hide-label-DRunOux4.js +4 -0
  698. package/dist/kolibri/{hide-label-BmYpplzr.js.map → hide-label-DRunOux4.js.map} +1 -1
  699. package/dist/kolibri/href-zZq6HYWf.js +4 -0
  700. package/dist/kolibri/{href-BETcU_FA.js.map → href-zZq6HYWf.js.map} +1 -1
  701. package/dist/kolibri/{i18n-C7ZsbK5l.js → i18n-CdSCDnmA.js} +1 -1
  702. package/dist/kolibri/{i18n-C7ZsbK5l.js.map → i18n-CdSCDnmA.js.map} +1 -1
  703. package/dist/kolibri/i18n-ZF6JbdVP.js.map +1 -1
  704. package/dist/kolibri/{icons-CH_AgdgO.js → icons-72ER78AW.js} +1 -1
  705. package/dist/kolibri/{icons-CH_AgdgO.js.map → icons-72ER78AW.js.map} +1 -1
  706. package/dist/kolibri/image-source-RWPv7frZ.js +4 -0
  707. package/dist/kolibri/{image-source-COIdbYDA.js.map → image-source-RWPv7frZ.js.map} +1 -1
  708. package/dist/kolibri/index-DOWoBMgb.js +5 -0
  709. package/dist/kolibri/index-DOWoBMgb.js.map +1 -0
  710. package/dist/kolibri/index.esm.js +1 -1
  711. package/dist/kolibri/index.esm.js.map +1 -1
  712. package/dist/kolibri/keyboard-D6PoWr38.js.map +1 -1
  713. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  714. package/dist/kolibri/kol-abbr.entry.js +1 -1
  715. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  716. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  717. package/dist/kolibri/kol-accordion.entry.js +1 -1
  718. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  719. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  720. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  721. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  722. package/dist/kolibri/kol-alert.entry.js +1 -1
  723. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  724. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  725. package/dist/kolibri/kol-avatar-wc.entry.js.map +1 -1
  726. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  727. package/dist/kolibri/kol-avatar.entry.js +1 -1
  728. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  729. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  730. package/dist/kolibri/kol-badge.entry.js +1 -1
  731. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  732. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  733. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  734. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  735. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  736. package/dist/kolibri/kol-button-link.entry.js +1 -1
  737. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  738. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  739. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  740. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  741. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  742. package/dist/kolibri/kol-button.entry.js +1 -1
  743. package/dist/kolibri/kol-button.entry.js.map +1 -1
  744. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  745. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  746. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  747. package/dist/kolibri/kol-card.entry.js +1 -1
  748. package/dist/kolibri/kol-card.entry.js.map +1 -1
  749. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  750. package/dist/kolibri/kol-combobox.entry.js +1 -1
  751. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  752. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  753. package/dist/kolibri/kol-details.entry.js +1 -1
  754. package/dist/kolibri/kol-details.entry.js.map +1 -1
  755. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  756. package/dist/kolibri/kol-drawer.entry.js +1 -1
  757. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  758. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  759. package/dist/kolibri/kol-form.entry.js +1 -1
  760. package/dist/kolibri/kol-form.entry.js.map +1 -1
  761. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  762. package/dist/kolibri/kol-heading.entry.js +1 -1
  763. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  764. package/dist/kolibri/kol-icon.entry.js +1 -1
  765. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  766. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  767. package/dist/kolibri/kol-image.entry.js +1 -1
  768. package/dist/kolibri/kol-image.entry.js.map +1 -1
  769. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  770. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  771. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  772. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  773. package/dist/kolibri/kol-input-color.entry.js +1 -1
  774. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  775. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  776. package/dist/kolibri/kol-input-date.entry.js +1 -1
  777. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  778. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  779. package/dist/kolibri/kol-input-email.entry.js +1 -1
  780. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  781. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  782. package/dist/kolibri/kol-input-file.entry.js +1 -1
  783. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  784. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  785. package/dist/kolibri/kol-input-number.entry.js +1 -1
  786. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  787. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  788. package/dist/kolibri/kol-input-password.entry.js +1 -1
  789. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  790. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  791. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  792. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  793. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  794. package/dist/kolibri/kol-input-range.entry.js +1 -1
  795. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  796. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  797. package/dist/kolibri/kol-input-text.entry.js +1 -1
  798. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  799. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  800. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  801. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  802. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  803. package/dist/kolibri/kol-link-button.entry.js +1 -1
  804. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  805. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  806. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  807. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  808. package/dist/kolibri/kol-link.entry.js +1 -1
  809. package/dist/kolibri/kol-link.entry.js.map +1 -1
  810. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  811. package/dist/kolibri/kol-modal.entry.js +1 -1
  812. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  813. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  814. package/dist/kolibri/kol-nav.entry.js +1 -1
  815. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  816. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  817. package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -1
  818. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  819. package/dist/kolibri/kol-pagination.entry.js +1 -1
  820. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  821. package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
  822. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  823. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  824. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  825. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  826. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  827. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  828. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  829. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  830. package/dist/kolibri/kol-progress.entry.js +1 -1
  831. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  832. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  833. package/dist/kolibri/kol-quote.entry.js +1 -1
  834. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  835. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  836. package/dist/kolibri/kol-select.entry.js +1 -1
  837. package/dist/kolibri/kol-select.entry.js.map +1 -1
  838. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  839. package/dist/kolibri/kol-single-select.entry.js +1 -1
  840. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  841. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  842. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  843. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  844. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  845. package/dist/kolibri/kol-spin.entry.js +1 -1
  846. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  847. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  848. package/dist/kolibri/kol-split-button.entry.js +1 -1
  849. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  850. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  851. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  852. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  853. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  854. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  855. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  856. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  857. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  858. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  859. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  860. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  861. package/dist/kolibri/kol-tabs.entry.js +1 -1
  862. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  863. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  864. package/dist/kolibri/kol-textarea.entry.js +1 -1
  865. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  866. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  867. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  868. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  869. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  870. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  871. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  872. package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
  873. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  874. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  875. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  876. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  877. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  878. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  879. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  880. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  881. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  882. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  883. package/dist/kolibri/kol-tree.entry.js +1 -1
  884. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  885. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  886. package/dist/kolibri/kol-version.entry.js +1 -1
  887. package/dist/kolibri/kol-version.entry.js.map +1 -1
  888. package/dist/kolibri/kolibri.esm.js +1 -1
  889. package/dist/kolibri/kolibri.esm.js.map +1 -1
  890. package/dist/kolibri/{label-DGzuU0HV.js → label-CdtNxOKu.js} +1 -1
  891. package/dist/kolibri/{label-DGzuU0HV.js.map → label-CdtNxOKu.js.map} +1 -1
  892. package/dist/kolibri/{link-variant-B1pMVL0L.js → link-variant-B9BZOLu-.js} +1 -1
  893. package/dist/{esm/link-variant-B1pMVL0L.js.map → kolibri/link-variant-B9BZOLu-.js.map} +1 -1
  894. package/dist/kolibri/{markdown-BJ3cxn6B.js → markdown-DL-PkOqb.js} +1 -1
  895. package/dist/kolibri/{markdown-BJ3cxn6B.js.map → markdown-DL-PkOqb.js.map} +1 -1
  896. package/dist/kolibri/max-length-behavior-BmNWss6T.js +4 -0
  897. package/dist/{esm/max-length-behavior-DCUK2Rvw.js.map → kolibri/max-length-behavior-BmNWss6T.js.map} +1 -1
  898. package/dist/kolibri/multiple-bcm5IaCN.js +4 -0
  899. package/dist/{esm/multiple-D4hUZQZi.js.map → kolibri/multiple-bcm5IaCN.js.map} +1 -1
  900. package/dist/kolibri/open-D9q98v46.js +4 -0
  901. package/dist/{esm/open-DDc2yKMt.js.map → kolibri/open-D9q98v46.js.map} +1 -1
  902. package/dist/kolibri/{orientation-DdsLYtB3.js → orientation-5kQWqijN.js} +1 -1
  903. package/dist/kolibri/{orientation-DdsLYtB3.js.map → orientation-5kQWqijN.js.map} +1 -1
  904. package/dist/kolibri/placeholder-6URRds0_.js +4 -0
  905. package/dist/kolibri/{placeholder-CKKvVrmb.js.map → placeholder-6URRds0_.js.map} +1 -1
  906. package/dist/kolibri/read-only-CcRldJ9w.js +4 -0
  907. package/dist/kolibri/{read-only-D2aPahKx.js.map → read-only-CcRldJ9w.js.map} +1 -1
  908. package/dist/kolibri/required-G86n77y0.js +4 -0
  909. package/dist/{esm/required-DZ-b_DWV.js.map → kolibri/required-G86n77y0.js.map} +1 -1
  910. package/dist/kolibri/rows-P4l3PNiA.js +4 -0
  911. package/dist/kolibri/{rows-DZqgM5RX.js.map → rows-P4l3PNiA.js.map} +1 -1
  912. package/dist/kolibri/show-DsV_Vx8g.js +4 -0
  913. package/dist/{esm/show-D0rlMMpf.js.map → kolibri/show-DsV_Vx8g.js.map} +1 -1
  914. package/dist/kolibri/spell-check-DIsLAYgk.js +4 -0
  915. package/dist/kolibri/{spell-check-Chr2J8Ox.js.map → spell-check-DIsLAYgk.js.map} +1 -1
  916. package/dist/kolibri/{suggestions-dPkxw3RQ.js → suggestions-DfF4lcNG.js} +1 -1
  917. package/dist/kolibri/{suggestions-dPkxw3RQ.js.map → suggestions-DfF4lcNG.js.map} +1 -1
  918. package/dist/kolibri/{table-settings-CF9uiyi4.js → table-settings-PrIyAPEe.js} +1 -1
  919. package/dist/{esm/table-settings-CF9uiyi4.js.map → kolibri/table-settings-PrIyAPEe.js.map} +1 -1
  920. package/dist/kolibri/test-component.entry.js +1 -1
  921. package/dist/kolibri/test-component.entry.js.map +1 -1
  922. package/dist/kolibri/tooltip-align-_VI7LehI.js +4 -0
  923. package/dist/kolibri/{tooltip-align-CmSyNCv5.js.map → tooltip-align-_VI7LehI.js.map} +1 -1
  924. package/dist/kolibri/{unique-nav-labels-Bm9ZvlTf.js → unique-nav-labels-C_NhdgGz.js} +1 -1
  925. package/dist/kolibri/{unique-nav-labels-Bm9ZvlTf.js.map → unique-nav-labels-C_NhdgGz.js.map} +1 -1
  926. package/dist/kolibri/validation-CW_RXPSn.js +4 -0
  927. package/dist/kolibri/{validation-CW-5L0A7.js.map → validation-CW_RXPSn.js.map} +1 -1
  928. package/dist/kolibri/validation-DoIjmu3L.js +4 -0
  929. package/dist/kolibri/{validation-oaGI9Wed.js.map → validation-DoIjmu3L.js.map} +1 -1
  930. package/dist/types/components.d.ts +36 -12
  931. package/dist/types/e2e/input-msg.d.ts +2 -2
  932. package/dist/types/functional-component-wrappers/_helpers/getRenderStates.d.ts +3 -2
  933. package/dist/types/functional-components/FieldControl/FieldControl.d.ts +2 -2
  934. package/dist/types/functional-components/FormField/FormField.d.ts +2 -2
  935. package/dist/types/functional-components/FormFieldMsg/FormFieldMsg.d.ts +3 -4
  936. package/dist/types/functional-components/InputContainer/InputContainer.d.ts +2 -2
  937. package/dist/types/functional-components/inputs/Input/Input.d.ts +2 -2
  938. package/dist/types/functional-components/inputs/NativeSelect/NativeSelect.d.ts +2 -2
  939. package/dist/types/functional-components/inputs/TextArea/TextArea.d.ts +2 -2
  940. package/dist/types/schema/index.d.ts +1 -1
  941. package/dist/types/schema/props/msg.d.ts +6 -9
  942. package/dist/types/schema/tag-names.d.ts +49 -50
  943. package/dist/types/stencil-public-runtime.d.ts +21 -0
  944. package/doc/button-link.md +2 -2
  945. package/doc/button.md +2 -2
  946. package/doc/combobox.md +20 -20
  947. package/doc/input-checkbox.md +22 -22
  948. package/doc/input-color.md +20 -20
  949. package/doc/input-date.md +26 -26
  950. package/doc/input-email.md +28 -28
  951. package/doc/input-file.md +20 -20
  952. package/doc/input-number.md +26 -26
  953. package/doc/input-password.md +27 -27
  954. package/doc/input-radio.md +17 -17
  955. package/doc/input-range.md +22 -22
  956. package/doc/input-text.md +29 -29
  957. package/doc/popover-button.md +0 -1
  958. package/doc/select.md +22 -22
  959. package/doc/single-select.md +22 -22
  960. package/doc/split-button.md +2 -2
  961. package/doc/textarea.md +27 -27
  962. package/package.json +4 -4
  963. package/vscode-custom-data.json +14 -256
  964. package/dist/cjs/FieldControlStateWrapper-Bi3QahMR.js +0 -4
  965. package/dist/cjs/FieldControlStateWrapper-Bi3QahMR.js.map +0 -1
  966. package/dist/cjs/FormFieldStateWrapper-C7fBmRoh.js +0 -4
  967. package/dist/cjs/FormFieldStateWrapper-C7fBmRoh.js.map +0 -1
  968. package/dist/cjs/Icon-svHIro1n.js +0 -4
  969. package/dist/cjs/Input-6hk711IC.js +0 -4
  970. package/dist/cjs/Input-6hk711IC.js.map +0 -1
  971. package/dist/cjs/InputStateWrapper-DtAh2tEE.js +0 -4
  972. package/dist/cjs/InputStateWrapper-DtAh2tEE.js.map +0 -1
  973. package/dist/cjs/Span-BBK8BblG.js +0 -4
  974. package/dist/cjs/common-BnJ53iei.js +0 -4
  975. package/dist/cjs/common-BnJ53iei.js.map +0 -1
  976. package/dist/cjs/controller-icon-C-FWnuTr.js +0 -4
  977. package/dist/cjs/controller-icon-C-FWnuTr.js.map +0 -1
  978. package/dist/cjs/hide-label-DUc_dh2F.js +0 -4
  979. package/dist/cjs/index-D-gXzjxo.js +0 -4
  980. package/dist/cjs/index-D-gXzjxo.js.map +0 -1
  981. package/dist/cjs/kol-abbr.cjs.entry.js.map +0 -1
  982. package/dist/cjs/kol-accordion.cjs.entry.js.map +0 -1
  983. package/dist/cjs/kol-alert-wc.cjs.entry.js.map +0 -1
  984. package/dist/cjs/kol-alert.cjs.entry.js.map +0 -1
  985. package/dist/cjs/kol-avatar-wc.cjs.entry.js.map +0 -1
  986. package/dist/cjs/kol-avatar.cjs.entry.js.map +0 -1
  987. package/dist/cjs/kol-badge.cjs.entry.js.map +0 -1
  988. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +0 -1
  989. package/dist/cjs/kol-button-link.cjs.entry.js.map +0 -1
  990. package/dist/cjs/kol-button-wc.cjs.entry.js.map +0 -1
  991. package/dist/cjs/kol-button.cjs.entry.js.map +0 -1
  992. package/dist/cjs/kol-card-wc.cjs.entry.js.map +0 -1
  993. package/dist/cjs/kol-card.cjs.entry.js.map +0 -1
  994. package/dist/cjs/kol-combobox.cjs.entry.js.map +0 -1
  995. package/dist/cjs/kol-details.cjs.entry.js.map +0 -1
  996. package/dist/cjs/kol-drawer.cjs.entry.js.map +0 -1
  997. package/dist/cjs/kol-form.cjs.entry.js.map +0 -1
  998. package/dist/cjs/kol-heading.cjs.entry.js.map +0 -1
  999. package/dist/cjs/kol-icon.cjs.entry.js.map +0 -1
  1000. package/dist/cjs/kol-image.cjs.entry.js.map +0 -1
  1001. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +0 -1
  1002. package/dist/cjs/kol-input-color.cjs.entry.js.map +0 -1
  1003. package/dist/cjs/kol-input-date.cjs.entry.js.map +0 -1
  1004. package/dist/cjs/kol-input-email.cjs.entry.js.map +0 -1
  1005. package/dist/cjs/kol-input-file.cjs.entry.js.map +0 -1
  1006. package/dist/cjs/kol-input-number.cjs.entry.js.map +0 -1
  1007. package/dist/cjs/kol-input-password.cjs.entry.js.map +0 -1
  1008. package/dist/cjs/kol-input-radio.cjs.entry.js.map +0 -1
  1009. package/dist/cjs/kol-input-range.cjs.entry.js.map +0 -1
  1010. package/dist/cjs/kol-input-text.cjs.entry.js.map +0 -1
  1011. package/dist/cjs/kol-kolibri.cjs.entry.js.map +0 -1
  1012. package/dist/cjs/kol-link-button.cjs.entry.js.map +0 -1
  1013. package/dist/cjs/kol-link-wc.cjs.entry.js.map +0 -1
  1014. package/dist/cjs/kol-link.cjs.entry.js.map +0 -1
  1015. package/dist/cjs/kol-modal.cjs.entry.js.map +0 -1
  1016. package/dist/cjs/kol-nav.cjs.entry.js.map +0 -1
  1017. package/dist/cjs/kol-pagination-wc.cjs.entry.js.map +0 -1
  1018. package/dist/cjs/kol-pagination.cjs.entry.js.map +0 -1
  1019. package/dist/cjs/kol-popover-button-wc.cjs.entry.js.map +0 -1
  1020. package/dist/cjs/kol-popover-button.cjs.entry.js.map +0 -1
  1021. package/dist/cjs/kol-popover-wc.cjs.entry.js.map +0 -1
  1022. package/dist/cjs/kol-progress.cjs.entry.js.map +0 -1
  1023. package/dist/cjs/kol-quote.cjs.entry.js.map +0 -1
  1024. package/dist/cjs/kol-select.cjs.entry.js.map +0 -1
  1025. package/dist/cjs/kol-single-select.cjs.entry.js.map +0 -1
  1026. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +0 -1
  1027. package/dist/cjs/kol-spin.cjs.entry.js.map +0 -1
  1028. package/dist/cjs/kol-split-button.cjs.entry.js.map +0 -1
  1029. package/dist/cjs/kol-table-settings-wc.cjs.entry.js.map +0 -1
  1030. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +0 -1
  1031. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +0 -1
  1032. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +0 -1
  1033. package/dist/cjs/kol-tabs.cjs.entry.js.map +0 -1
  1034. package/dist/cjs/kol-textarea.cjs.entry.js.map +0 -1
  1035. package/dist/cjs/kol-toast-container.cjs.entry.js.map +0 -1
  1036. package/dist/cjs/kol-toolbar.cjs.entry.js.map +0 -1
  1037. package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +0 -1
  1038. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +0 -1
  1039. package/dist/cjs/kol-tree-item.cjs.entry.js.map +0 -1
  1040. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +0 -1
  1041. package/dist/cjs/kol-tree.cjs.entry.js.map +0 -1
  1042. package/dist/cjs/kol-version.cjs.entry.js.map +0 -1
  1043. package/dist/cjs/open-DT3WDPuM.js +0 -4
  1044. package/dist/cjs/orientation-Yq2hnwhx.js +0 -4
  1045. package/dist/cjs/placeholder-BThCBzLi.js +0 -4
  1046. package/dist/cjs/required-CxJeLU2Q.js +0 -4
  1047. package/dist/cjs/rows-CCfpaGu_.js +0 -4
  1048. package/dist/cjs/test-component.cjs.entry.js.map +0 -1
  1049. package/dist/cjs/tooltip-align-BrHrEyjZ.js +0 -4
  1050. package/dist/cjs/validation-C8RdRBsU.js +0 -4
  1051. package/dist/esm/FieldControlStateWrapper-CjQbR74D.js +0 -4
  1052. package/dist/esm/FieldControlStateWrapper-CjQbR74D.js.map +0 -1
  1053. package/dist/esm/FormFieldStateWrapper-CzqloNmW.js +0 -4
  1054. package/dist/esm/FormFieldStateWrapper-CzqloNmW.js.map +0 -1
  1055. package/dist/esm/Input--QlsCT_g.js +0 -4
  1056. package/dist/esm/Input--QlsCT_g.js.map +0 -1
  1057. package/dist/esm/InputStateWrapper-Btdd-SSc.js +0 -4
  1058. package/dist/esm/InputStateWrapper-Btdd-SSc.js.map +0 -1
  1059. package/dist/esm/common-zXZUsQ7l.js +0 -4
  1060. package/dist/esm/common-zXZUsQ7l.js.map +0 -1
  1061. package/dist/esm/controller-icon-DPQVqWJI.js +0 -4
  1062. package/dist/esm/controller-icon-DPQVqWJI.js.map +0 -1
  1063. package/dist/esm/custom-class-B5WXhTM9.js +0 -4
  1064. package/dist/esm/disabled-oePQqAfy.js +0 -4
  1065. package/dist/esm/index-DDeBcUIu.js +0 -4
  1066. package/dist/esm/index-DDeBcUIu.js.map +0 -1
  1067. package/dist/esm/multiple-D4hUZQZi.js +0 -4
  1068. package/dist/esm/placeholder-CKKvVrmb.js +0 -4
  1069. package/dist/esm/spell-check-Chr2J8Ox.js +0 -4
  1070. package/dist/esm/tooltip-align-CmSyNCv5.js +0 -4
  1071. package/dist/kolibri/Collapsible-BgSpmK5T.js +0 -4
  1072. package/dist/kolibri/FieldControlStateWrapper-CjQbR74D.js +0 -4
  1073. package/dist/kolibri/FieldControlStateWrapper-CjQbR74D.js.map +0 -1
  1074. package/dist/kolibri/FormFieldStateWrapper-CzqloNmW.js +0 -4
  1075. package/dist/kolibri/FormFieldStateWrapper-CzqloNmW.js.map +0 -1
  1076. package/dist/kolibri/Icon-K-RxFeQH.js +0 -4
  1077. package/dist/kolibri/Input--QlsCT_g.js +0 -4
  1078. package/dist/kolibri/Input--QlsCT_g.js.map +0 -1
  1079. package/dist/kolibri/InputStateWrapper-Btdd-SSc.js +0 -4
  1080. package/dist/kolibri/InputStateWrapper-Btdd-SSc.js.map +0 -1
  1081. package/dist/kolibri/InternalUnderlinedBadgeText-BvL2GxIT.js +0 -4
  1082. package/dist/kolibri/Span-B1hx0hMP.js +0 -4
  1083. package/dist/kolibri/app-globals-CVhtCzlK.js +0 -4
  1084. package/dist/kolibri/bem-Cr-VD6ns.js +0 -4
  1085. package/dist/kolibri/bootstrap-YDZ8Qb_h.js +0 -4
  1086. package/dist/kolibri/common-zXZUsQ7l.js +0 -4
  1087. package/dist/kolibri/common-zXZUsQ7l.js.map +0 -1
  1088. package/dist/kolibri/controller-Bc5oZ-M8.js +0 -4
  1089. package/dist/kolibri/controller-icon-DPQVqWJI.js +0 -4
  1090. package/dist/kolibri/controller-icon-DPQVqWJI.js.map +0 -1
  1091. package/dist/kolibri/custom-class-B5WXhTM9.js +0 -4
  1092. package/dist/kolibri/has-closer-Dc5S0f9j.js +0 -4
  1093. package/dist/kolibri/hide-label-BmYpplzr.js +0 -4
  1094. package/dist/kolibri/href-BETcU_FA.js +0 -4
  1095. package/dist/kolibri/image-source-COIdbYDA.js +0 -4
  1096. package/dist/kolibri/index-DDeBcUIu.js +0 -5
  1097. package/dist/kolibri/index-DDeBcUIu.js.map +0 -1
  1098. package/dist/kolibri/max-length-behavior-DCUK2Rvw.js +0 -4
  1099. package/dist/kolibri/multiple-D4hUZQZi.js +0 -4
  1100. package/dist/kolibri/open-DDc2yKMt.js +0 -4
  1101. package/dist/kolibri/placeholder-CKKvVrmb.js +0 -4
  1102. package/dist/kolibri/read-only-D2aPahKx.js +0 -4
  1103. package/dist/kolibri/required-DZ-b_DWV.js +0 -4
  1104. package/dist/kolibri/rows-DZqgM5RX.js +0 -4
  1105. package/dist/kolibri/show-D0rlMMpf.js +0 -4
  1106. package/dist/kolibri/spell-check-Chr2J8Ox.js +0 -4
  1107. package/dist/kolibri/tooltip-align-CmSyNCv5.js +0 -4
  1108. package/dist/kolibri/validation-CW-5L0A7.js +0 -4
  1109. package/dist/kolibri/validation-oaGI9Wed.js +0 -4
  1110. package/dist/types/utils/transformObjectProperties.d.ts +0 -5
  1111. package/dist/types/utils/transformObjectProperties.test.d.ts +0 -1
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h,r as registerInstance,g as getElement}from"./index-DDeBcUIu.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{F as FormFieldStateWrapper}from"./FormFieldStateWrapper-CzqloNmW.js";import{I as InputIconController,a as InputContainerStateWrapperFc}from"./controller-icon-DPQVqWJI.js";import{I as InputStateWrapper}from"./InputStateWrapper-Btdd-SSc.js";import{n as nonce}from"./dev.utils-dJsH-7gE.js";import{p as propagateSubmitEventToForm}from"./controller-D4SIjZnf.js";import"./common-zXZUsQ7l.js";import{v as validateAutoComplete}from"./auto-complete-QkT4jBSK.js";import{v as validatePlaceholder}from"./placeholder-CKKvVrmb.js";import{v as validateReadOnly}from"./read-only-D2aPahKx.js";import{v as validateRequired}from"./required-DZ-b_DWV.js";import{v as validateSuggestions}from"./suggestions-dPkxw3RQ.js";import"./access-and-short-key-CBDgF26-.js";import"./disabled-oePQqAfy.js";import"./hide-label-BmYpplzr.js";import"./label-DGzuU0HV.js";import"./tooltip-align-CmSyNCv5.js";import"./align-BU6S1qiO.js";import"./events-CoPFQEiC.js";import"./associated.controller-BVXWSO2G.js";import"./bootstrap-YDZ8Qb_h.js";import"./component-names-CkE54Ym7.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Heading-BikkZxGQ.js";import"./Alert-DDLWH-ai.js";import"./i18n-C7ZsbK5l.js";import"./bem-DqV0swL_.js";import"./browser-DAVbNx-f.js";import"./InternalUnderlinedBadgeText-BvL2GxIT.js";import"./reuse-CX4AQDkS.js";import"./Icon-K-RxFeQH.js";import"./icons-CH_AgdgO.js";import"./Input--QlsCT_g.js";class InputNumberController extends InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateAutoComplete(e){validateAutoComplete(this.component,e)}validateSuggestions(e){validateSuggestions(this.component,e)}validateMax(e){this.validateNumber("_max",e)}validateMin(e){this.validateNumber("_min",e)}validatePlaceholder(e){validatePlaceholder(this.component,e)}validateReadOnly(e){validateReadOnly(this.component,e)}validateRequired(e){validateRequired(this.component,e)}validateStep(e){this.validateNumber("_step",e)}validateValue(e){this.validateNumber("_value",e),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateMax(this.component._max),this.validateMin(this.component._min),this.validateSuggestions(this.component._suggestions),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateStep(this.component._step),this.validateValue(this.component._value)}}const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n contain: layout;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n}",KolInputNumber=class{async getValue(){return this.remapValue(this.state._value)}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}setInitialValueType(e){this.controller.isNumberString(e)?this._initialValueType="NumberString":"number"!=typeof e||isNaN(e)?this._initialValueType="null":this._initialValueType="number"}remapValue(e){return null==e?null:"NumberString"===this._initialValueType?String(e):e}getFormFieldProps(){return{state:this.state,class:clsx("kol-input-number","number",{"has-value":this.state._hasValue}),tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.inputRef)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getInputProps(){return Object.assign(Object.assign({ref:this.catchRef,state:this.state,type:"number"},this.controller.onFacade),{onInput:this.onInput,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1}})}render(){return h(FormFieldStateWrapper,Object.assign({key:"4032102190ecfc2ca60bd96e9afeec6eaa9d3434"},this.getFormFieldProps()),h(InputContainerStateWrapperFc,{key:"e4b1ef3cb5a6f6b2d04f144477e10a7e324b832d",state:this.state},h(InputStateWrapper,Object.assign({key:"12be44bce8484f547242fc852b5fd5af14b2f0df"},this.getInputProps()))))}constructor(e){registerInstance(this,e),this.catchRef=e=>{this.inputRef=e},this.onInput=e=>{var t;const n=null===(t=this.inputRef)||void 0===t?void 0:t.value;this._value=this.remapValue(""===n?null:Number(n)),this.controller.onFacade.onInput(e,!0,this._value)},this.onChange=e=>{var t;const n=null===(t=this.inputRef)||void 0===t?void 0:t.value,i=this.remapValue(""===n?null:Number(n));this.controller.onFacade.onChange(e,i)},this.onKeyDown=e=>{"Enter"!==e.code&&"NumpadEnter"!==e.code||propagateSubmitEventToForm({form:this.host})},this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._readOnly=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this.state={_hasValue:!1,_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_suggestions:[]},this._initialValueType="null",this.inputHasFocus=!1,this.controller=new InputNumberController(this,"number",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAutoComplete(e){this.controller.validateAutoComplete(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMax(e){this.controller.validateMax(e)}validateMin(e){this.controller.validateMin(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validatePlaceholder(e){this.controller.validatePlaceholder(e)}validateReadOnly(e){this.controller.validateReadOnly(e)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSmartButton(e){this.controller.validateSmartButton(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateStep(e){this.controller.validateStep(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e),null!=e&&this.setInitialValueType(e)}componentWillLoad(){void 0!==this._value&&this.setInitialValueType(this._value),this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(e=>this.state._hasValue=!!e)}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_max:["validateMax"],_min:["validateMin"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_placeholder:["validatePlaceholder"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_step:["validateStep"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputNumber.style={default:defaultStyleCss};export{KolInputNumber as kol_input_number};
4
+ import{h,r as registerInstance,g as getElement}from"./index-DOWoBMgb.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{F as FormFieldStateWrapper}from"./FormFieldStateWrapper-DiolLYSq.js";import{I as InputIconController,a as InputContainerStateWrapperFc}from"./controller-icon-bVTIf-z3.js";import{I as InputStateWrapper}from"./InputStateWrapper-7LSQHzG0.js";import{n as nonce}from"./dev.utils-BxUNRHGK.js";import{p as propagateSubmitEventToForm}from"./controller-CV2y9Ae_.js";import"./common-8fBdMvJM.js";import{v as validateAutoComplete}from"./auto-complete-BsG3RQJ3.js";import{v as validatePlaceholder}from"./placeholder-6URRds0_.js";import{v as validateReadOnly}from"./read-only-CcRldJ9w.js";import{v as validateRequired}from"./required-G86n77y0.js";import{v as validateSuggestions}from"./suggestions-DfF4lcNG.js";import"./access-and-short-key-bcID78Ha.js";import"./disabled-BydergHu.js";import"./hide-label-DRunOux4.js";import"./label-CdtNxOKu.js";import"./tooltip-align-_VI7LehI.js";import"./align-CyK0wp7d.js";import"./events-CoPFQEiC.js";import"./associated.controller-BKIODHIT.js";import"./bootstrap-BiRnv4fV.js";import"./component-names-CkE54Ym7.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Heading-BX2W3g7O.js";import"./Alert-B377MRFO.js";import"./i18n-CdSCDnmA.js";import"./bem-DhwfdDrM.js";import"./browser-DeS_gcJV.js";import"./InternalUnderlinedBadgeText-CLrx-9jT.js";import"./reuse-CX4AQDkS.js";import"./Icon-Dh17fWbe.js";import"./icons-72ER78AW.js";import"./Input-45FxkhGc.js";class InputNumberController extends InputIconController{constructor(e,t,n){super(e,t,n),this.component=e}validateAutoComplete(e){validateAutoComplete(this.component,e)}validateSuggestions(e){validateSuggestions(this.component,e)}validateMax(e){this.validateNumber("_max",e)}validateMin(e){this.validateNumber("_min",e)}validatePlaceholder(e){validatePlaceholder(this.component,e)}validateReadOnly(e){validateReadOnly(this.component,e)}validateRequired(e){validateRequired(this.component,e)}validateStep(e){this.validateNumber("_step",e)}validateValue(e){this.validateNumber("_value",e),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateMax(this.component._max),this.validateMin(this.component._min),this.validateSuggestions(this.component._suggestions),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateStep(this.component._step),this.validateValue(this.component._value)}}const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n}",KolInputNumber=class{async getValue(){return this.remapValue(this.state._value)}async kolFocus(){var e;null===(e=this.inputRef)||void 0===e||e.focus()}setInitialValueType(e){this.controller.isNumberString(e)?this._initialValueType="NumberString":"number"!=typeof e||isNaN(e)?this._initialValueType="null":this._initialValueType="number"}remapValue(e){return null==e?null:"NumberString"===this._initialValueType?String(e):e}getFormFieldProps(){return{state:this.state,class:clsx("kol-input-number","number",{"has-value":this.state._hasValue}),tooltipAlign:this._tooltipAlign,onClick:()=>{var e;return null===(e=this.inputRef)||void 0===e?void 0:e.focus()},alert:this.showAsAlert()}}getInputProps(){return Object.assign(Object.assign({ref:this.catchRef,state:this.state,type:"number"},this.controller.onFacade),{onInput:this.onInput,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:e=>{this.controller.onFacade.onFocus(e),this.inputHasFocus=!0},onBlur:e=>{this.controller.onFacade.onBlur(e),this.inputHasFocus=!1}})}render(){return h(FormFieldStateWrapper,Object.assign({key:"4032102190ecfc2ca60bd96e9afeec6eaa9d3434"},this.getFormFieldProps()),h(InputContainerStateWrapperFc,{key:"e4b1ef3cb5a6f6b2d04f144477e10a7e324b832d",state:this.state},h(InputStateWrapper,Object.assign({key:"12be44bce8484f547242fc852b5fd5af14b2f0df"},this.getInputProps()))))}constructor(e){registerInstance(this,e),this.catchRef=e=>{this.inputRef=e},this.onInput=e=>{var t;const n=null===(t=this.inputRef)||void 0===t?void 0:t.value;this._value=this.remapValue(""===n?null:Number(n)),this.controller.onFacade.onInput(e,!0,this._value)},this.onChange=e=>{var t;const n=null===(t=this.inputRef)||void 0===t?void 0:t.value,i=this.remapValue(""===n?null:Number(n));this.controller.onFacade.onChange(e,i)},this.onKeyDown=e=>{"Enter"!==e.code&&"NumpadEnter"!==e.code||propagateSubmitEventToForm({form:this.host})},this._autoComplete="off",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._readOnly=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this.state={_hasValue:!1,_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_suggestions:[]},this._initialValueType="null",this.inputHasFocus=!1,this.controller=new InputNumberController(this,"number",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(e){this.controller.validateAccessKey(e)}validateAutoComplete(e){this.controller.validateAutoComplete(e)}validateDisabled(e){this.controller.validateDisabled(e)}validateHideMsg(e){this.controller.validateHideMsg(e)}validateHideLabel(e){this.controller.validateHideLabel(e)}validateHint(e){this.controller.validateHint(e)}validateIcons(e){this.controller.validateIcons(e)}validateId(e){this.controller.validateId(e)}validateLabel(e){this.controller.validateLabel(e)}validateMax(e){this.controller.validateMax(e)}validateMin(e){this.controller.validateMin(e)}validateMsg(e){this.controller.validateMsg(e)}validateName(e){this.controller.validateName(e)}validateOn(e){this.controller.validateOn(e)}validatePlaceholder(e){this.controller.validatePlaceholder(e)}validateReadOnly(e){this.controller.validateReadOnly(e)}validateRequired(e){this.controller.validateRequired(e)}validateShortKey(e){this.controller.validateShortKey(e)}validateSmartButton(e){this.controller.validateSmartButton(e)}validateSuggestions(e){this.controller.validateSuggestions(e)}validateStep(e){this.controller.validateStep(e)}validateSyncValueBySelector(e){this.controller.validateSyncValueBySelector(e)}validateTouched(e){this.controller.validateTouched(e)}validateValue(e){this.controller.validateValue(e),null!=e&&this.setInitialValueType(e)}componentWillLoad(){void 0!==this._value&&this.setInitialValueType(this._value),this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(e=>this.state._hasValue=!!e)}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_disabled:["validateDisabled"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_max:["validateMax"],_min:["validateMin"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_placeholder:["validatePlaceholder"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_suggestions:["validateSuggestions"],_step:["validateStep"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputNumber.style={default:defaultStyleCss};export{KolInputNumber as kol_input_number};
@@ -1 +1 @@
1
- {"version":3,"file":"kol-input-number.entry.js","sources":["src/components/input-number/controller.ts","src/components/input-number/style.scss?tag=kol-input-number&mode=default&encapsulation=shadow","src/components/input-number/shadow.tsx"],"sourcesContent":["import type {\n\tAutoCompletePropType,\n\tInputNumberProps,\n\tInputNumberWatches,\n\tNumberString,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tSuggestionsPropType,\n} from '../../schema';\nimport { validateReadOnly, validateRequired, validateSuggestions } from '../../schema';\nimport { validateAutoComplete } from '../../schema/props/auto-complete';\nimport { type PlaceholderPropType, validatePlaceholder } from '../../schema/props/placeholder';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputNumberController extends InputIconController implements InputNumberWatches {\n\tprotected readonly component: Generic.Element.Component & InputNumberProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputNumberProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tvalidateAutoComplete(this.component, value);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.validateNumber('_max', value);\n\t}\n\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.validateNumber('_min', value);\n\t}\n\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tvalidatePlaceholder(this.component, value);\n\t}\n\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tvalidateReadOnly(this.component, value);\n\t}\n\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tvalidateRequired(this.component, value);\n\t}\n\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.validateNumber('_step', value);\n\t}\n\n\tpublic validateValue(value?: number | NumberString | null): void {\n\t\tthis.validateNumber('_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateMax(this.component._max);\n\t\tthis.validateMin(this.component._min);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateStep(this.component._step);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAutoCompletePropType,\n\tButtonProps,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputNumberAPI,\n\tInputNumberStates,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tNumberString,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputNumberController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-number',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputNumber implements InputNumberAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputNumberElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<number | NumberString | null> {\n\t\treturn this.remapValue(this.state._value);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate setInitialValueType(value?: number | NumberString | null) {\n\t\tif (this.controller.isNumberString(value)) {\n\t\t\tthis._initialValueType = 'NumberString';\n\t\t} else if (typeof value === 'number' && !isNaN(value)) {\n\t\t\tthis._initialValueType = 'number';\n\t\t} else {\n\t\t\tthis._initialValueType = 'null';\n\t\t}\n\t}\n\n\t/**\n\t * Map the value to the initial format. E.g., if the user provided a string initially, return a string.\n\t * @param value\n\t * @private\n\t */\n\tprivate remapValue(value?: number | null): number | NumberString | null {\n\t\tif (value === undefined || value === null) {\n\t\t\treturn null;\n\t\t} else if (this._initialValueType === 'NumberString') {\n\t\t\treturn String(value) as NumberString;\n\t\t}\n\t\treturn value;\n\t}\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tconst newValue = this.inputRef?.value;\n\t\tthis._value = this.remapValue(newValue === '' ? null : Number(newValue));\n\t\tthis.controller.onFacade.onInput(event, true, this._value);\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst newValue = this.inputRef?.value;\n\t\tconst mappedValue = this.remapValue(newValue === '' ? null : Number(newValue));\n\t\tthis.controller.onFacade.onChange(event, mappedValue);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-number', 'number', {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\tstate: this.state,\n\t\t\ttype: 'number',\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput,\n\t\t\tonChange: this.onChange,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputNumberController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the largest possible input value.\n\t */\n\t@Prop() public _max?: number | NumberString;\n\n\t/**\n\t * Defines the smallest possible input value.\n\t */\n\t@Prop() public _min?: number | NumberString;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Defines the step size for value changes.\n\t */\n\t@Prop() public _step?: number | NumberString;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: number | NumberString | null;\n\n\t@State() public state: InputNumberStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t};\n\t@State() private _initialValueType: 'number' | 'NumberString' | 'null' = 'null';\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputNumberController(this, 'number', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_max')\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.controller.validateMax(value);\n\t}\n\n\t@Watch('_min')\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.controller.validateMin(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_step')\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.controller.validateStep(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: number | NumberString | null): void {\n\t\tthis.controller.validateValue(value);\n\t\tif (value !== undefined && value !== null) {\n\t\t\t// Don't switch type when value was reset to null\n\t\t\tthis.setInitialValueType(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tif (this._value !== undefined) {\n\t\t\tthis.setInitialValueType(this._value);\n\t\t}\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"names":["KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBM,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AAG7D,IAAA,WAAA,CAAmB,SAAuD,EAAE,IAAY,EAAE,IAAkB,EAAA;AAC3G,QAAA,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,oBAAoB,CAAC,KAA4B,EAAA;AACvD,QAAA,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGrC,IAAA,mBAAmB,CAAC,KAA2B,EAAA;AACrD,QAAA,mBAAmB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGpC,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAA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,SAAS,EAAE;AAC9B,YAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC;;QAEtC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI;AACtC,QAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;AAEnC,QAAA,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;QAC1C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-input-number.entry.js","sources":["src/components/input-number/controller.ts","src/components/input-number/style.scss?tag=kol-input-number&mode=default&encapsulation=shadow","src/components/input-number/shadow.tsx"],"sourcesContent":["import type {\n\tAutoCompletePropType,\n\tInputNumberProps,\n\tInputNumberWatches,\n\tNumberString,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tSuggestionsPropType,\n} from '../../schema';\nimport { validateReadOnly, validateRequired, validateSuggestions } from '../../schema';\nimport { validateAutoComplete } from '../../schema/props/auto-complete';\nimport { type PlaceholderPropType, validatePlaceholder } from '../../schema/props/placeholder';\n\nimport { InputIconController } from '../@deprecated/input/controller-icon';\n\nimport type { Generic } from 'adopted-style-sheets';\nexport class InputNumberController extends InputIconController implements InputNumberWatches {\n\tprotected readonly component: Generic.Element.Component & InputNumberProps;\n\n\tpublic constructor(component: Generic.Element.Component & InputNumberProps, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tvalidateAutoComplete(this.component, value);\n\t}\n\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tvalidateSuggestions(this.component, value);\n\t}\n\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.validateNumber('_max', value);\n\t}\n\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.validateNumber('_min', value);\n\t}\n\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tvalidatePlaceholder(this.component, value);\n\t}\n\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tvalidateReadOnly(this.component, value);\n\t}\n\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tvalidateRequired(this.component, value);\n\t}\n\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.validateNumber('_step', value);\n\t}\n\n\tpublic validateValue(value?: number | NumberString | null): void {\n\t\tthis.validateNumber('_value', value);\n\t\tthis.setFormAssociatedValue(this.component.state._value as string);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAutoComplete(this.component._autoComplete);\n\t\tthis.validateMax(this.component._max);\n\t\tthis.validateMin(this.component._min);\n\t\tthis.validateSuggestions(this.component._suggestions);\n\t\tthis.validatePlaceholder(this.component._placeholder);\n\t\tthis.validateReadOnly(this.component._readOnly);\n\t\tthis.validateRequired(this.component._required);\n\t\tthis.validateStep(this.component._step);\n\t\tthis.validateValue(this.component._value);\n\t}\n}\n","@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAutoCompletePropType,\n\tButtonProps,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputNumberAPI,\n\tInputNumberStates,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tNumberString,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tStringified,\n\tSuggestionsPropType,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputNumberController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-number',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputNumber implements InputNumberAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputNumberElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<number | NumberString | null> {\n\t\treturn this.remapValue(this.state._value);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate setInitialValueType(value?: number | NumberString | null) {\n\t\tif (this.controller.isNumberString(value)) {\n\t\t\tthis._initialValueType = 'NumberString';\n\t\t} else if (typeof value === 'number' && !isNaN(value)) {\n\t\t\tthis._initialValueType = 'number';\n\t\t} else {\n\t\t\tthis._initialValueType = 'null';\n\t\t}\n\t}\n\n\t/**\n\t * Map the value to the initial format. E.g., if the user provided a string initially, return a string.\n\t * @param value\n\t * @private\n\t */\n\tprivate remapValue(value?: number | null): number | NumberString | null {\n\t\tif (value === undefined || value === null) {\n\t\t\treturn null;\n\t\t} else if (this._initialValueType === 'NumberString') {\n\t\t\treturn String(value) as NumberString;\n\t\t}\n\t\treturn value;\n\t}\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tconst newValue = this.inputRef?.value;\n\t\tthis._value = this.remapValue(newValue === '' ? null : Number(newValue));\n\t\tthis.controller.onFacade.onInput(event, true, this._value);\n\t};\n\n\tprivate readonly onChange = (event: Event) => {\n\t\tconst newValue = this.inputRef?.value;\n\t\tconst mappedValue = this.remapValue(newValue === '' ? null : Number(newValue));\n\t\tthis.controller.onFacade.onChange(event, mappedValue);\n\t};\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-number', 'number', {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\tstate: this.state,\n\t\t\ttype: 'number',\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput,\n\t\t\tonChange: this.onChange,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputNumberController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @deprecated Will be removed in the next major version.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the largest possible input value.\n\t */\n\t@Prop() public _max?: number | NumberString;\n\n\t/**\n\t * Defines the smallest possible input value.\n\t */\n\t@Prop() public _min?: number | NumberString;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Suggestions to provide for the input.\n\t */\n\t@Prop() public _suggestions?: SuggestionsPropType;\n\n\t/**\n\t * Defines the step size for value changes.\n\t */\n\t@Prop() public _step?: number | NumberString;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: number | NumberString | null;\n\n\t@State() public state: InputNumberStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_suggestions: [],\n\t};\n\t@State() private _initialValueType: 'number' | 'NumberString' | 'null' = 'null';\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputNumberController(this, 'number', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_max')\n\tpublic validateMax(value?: number | NumberString): void {\n\t\tthis.controller.validateMax(value);\n\t}\n\n\t@Watch('_min')\n\tpublic validateMin(value?: number | NumberString): void {\n\t\tthis.controller.validateMin(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_suggestions')\n\tpublic validateSuggestions(value?: SuggestionsPropType): void {\n\t\tthis.controller.validateSuggestions(value);\n\t}\n\n\t@Watch('_step')\n\tpublic validateStep(value?: number | NumberString): void {\n\t\tthis.controller.validateStep(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: number | NumberString | null): void {\n\t\tthis.controller.validateValue(value);\n\t\tif (value !== undefined && value !== null) {\n\t\t\t// Don't switch type when value was reset to null\n\t\t\tthis.setInitialValueType(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tif (this._value !== undefined) {\n\t\t\tthis.setInitialValueType(this._value);\n\t\t}\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"names":["KolFormFieldStateWrapperFc","KolInputContainerFc","KolInputStateWrapperFc"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBM,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AAG7D,IAAA,WAAA,CAAmB,SAAuD,EAAE,IAAY,EAAE,IAAkB,EAAA;AAC3G,QAAA,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;AAGpB,IAAA,oBAAoB,CAAC,KAA4B,EAAA;AACvD,QAAA,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGrC,IAAA,mBAAmB,CAAC,KAA2B,EAAA;AACrD,QAAA,mBAAmB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGpC,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,WAAW,CAAC,KAA6B,EAAA;AAC/C,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC;;AAG5B,IAAA,mBAAmB,CAAC,KAA2B,EAAA;AACrD,QAAA,mBAAmB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;;AAGpC,IAAA,gBAAgB,CAAC,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AAC,MAAM;QAC1C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h,r as registerInstance,g as getElement}from"./index-DDeBcUIu.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{j as devHint}from"./common-zXZUsQ7l.js";import{F as FormFieldStateWrapper}from"./FormFieldStateWrapper-CzqloNmW.js";import{K as KolIconButtonFc,a as InputContainerStateWrapperFc}from"./controller-icon-DPQVqWJI.js";import{I as InputStateWrapper}from"./InputStateWrapper-Btdd-SSc.js";import{t as translate}from"./i18n-C7ZsbK5l.js";import{n as nonce}from"./dev.utils-dJsH-7gE.js";import{p as propagateSubmitEventToForm}from"./controller-D4SIjZnf.js";import{I as InputPasswordController}from"./controller-Co827irH.js";import"./access-and-short-key-CBDgF26-.js";import"./disabled-oePQqAfy.js";import"./hide-label-BmYpplzr.js";import"./label-DGzuU0HV.js";import"./tooltip-align-CmSyNCv5.js";import"./align-BU6S1qiO.js";import"./events-CoPFQEiC.js";import"./associated.controller-BVXWSO2G.js";import"./bootstrap-YDZ8Qb_h.js";import"./component-names-CkE54Ym7.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Heading-BikkZxGQ.js";import"./Alert-DDLWH-ai.js";import"./bem-DqV0swL_.js";import"./browser-DAVbNx-f.js";import"./InternalUnderlinedBadgeText-BvL2GxIT.js";import"./reuse-CX4AQDkS.js";import"./Icon-K-RxFeQH.js";import"./icons-CH_AgdgO.js";import"./Input--QlsCT_g.js";import"./auto-complete-QkT4jBSK.js";import"./max-length-behavior-DCUK2Rvw.js";import"./placeholder-CKKvVrmb.js";import"./read-only-D2aPahKx.js";import"./required-DZ-b_DWV.js";const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n contain: layout;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n .kol-input-password {\n --kol-tooltip-width: calc(160rem / var(--kolibri-root-font-size, 16));\n }\n}",KolInputPassword=class{async getValue(){var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value}async kolFocus(){var t;null===(t=this.inputRef)||void 0===t||t.focus()}getFormFieldProps(){return{state:this.state,class:clsx("kol-input-password","password",{"has-value":this.state._hasValue,"kol-form-field--has-counter":this.controller.hasSoftCharacterLimit()||this.controller.hasCounter()}),tooltipAlign:this._tooltipAlign,onClick:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.focus()},alert:this.showAsAlert()}}getInputProps(){const t="number"==typeof this.state._maxLength?[`${this.state._id}-character-limit-hint`]:void 0;return Object.assign(Object.assign({ref:this.catchRef,type:this._passwordVisible?"text":"password",state:this.state,ariaDescribedBy:t},this.controller.onFacade),{onInput:this.onInput,onKeyDown:this.onKeyDown,onFocus:t=>{this.controller.onFacade.onFocus(t),this.inputHasFocus=!0},onBlur:t=>{this.controller.onFacade.onBlur(t),this.inputHasFocus=!1}})}getShowPasswordButton(){return"visibility-toggle"!==this._variant?null:h(KolIconButtonFc,{componentName:"button",class:"kol-input-password__password-toggle-button","data-testid":"kol-input-password-toggle-button",label:this._passwordVisible?this.translateHidePassword:this.translateShowPassword,buttonVariant:"ghost",onClick:()=>{var t;this._passwordVisible=!this._passwordVisible,null===(t=this.inputRef)||void 0===t||t.focus()},icon:"codicon codicon-eye-"+(this._passwordVisible?"closed":"watch"),disabled:this._disabled})}render(){return h(FormFieldStateWrapper,Object.assign({key:"844d0d658946f85e58c537dc3049ea34abeabe60"},this.getFormFieldProps()),h(InputContainerStateWrapperFc,{key:"2b390c722de4b9e6f2c7c89ea469cd2970e52f54",state:this.state,endAdornment:this.getShowPasswordButton()},h(InputStateWrapper,Object.assign({key:"e12ca7840b5e0d9589cce15fd4f8ddf676cf0434"},this.getInputProps()))))}constructor(t){registerInstance(this,t),this.translateHidePassword=translate("kol-hide-password"),this.translateShowPassword=translate("kol-show-password"),this.catchRef=t=>{this.inputRef=t},this.onKeyDown=t=>{"Enter"!==t.code&&"NumpadEnter"!==t.code||propagateSubmitEventToForm({form:this.host})},this.onInput=t=>{this._value=t.target.value,this.controller.onFacade.onInput(t)},this._autoComplete="off",this._hasCounter=!1,this._maxLengthBehavior="hard",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._readOnly=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this._variant="default",this.state={_currentLength:0,_currentLengthDebounced:0,_hasValue:!1,_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_variant:"default"},this._passwordVisible=!1,this.inputHasFocus=!1,this.controller=new InputPasswordController(this,"password",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAutoComplete(t){this.controller.validateAutoComplete(t),"on"===t&&devHint("[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field")}validateMaxLengthBehavior(t){this.controller.validateMaxLengthBehavior(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateVariant(t){this.controller.validateVariant(t)}validateHideMsg(t){this.controller.validateHideMsg(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHasCounter(t){this.controller.validateHasCounter(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMaxLength(t){this.controller.validateMaxLength(t)}validateMsg(t){this.controller.validateMsg(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validatePattern(t){this.controller.validatePattern(t)}validatePlaceholder(t){this.controller.validatePlaceholder(t)}validateReadOnly(t){this.controller.validateReadOnly(t)}validateRequired(t){this.controller.validateRequired(t)}validateShortKey(t){this.controller.validateShortKey(t)}validateSmartButton(t){this.controller.validateSmartButton(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(t=>this.state._hasValue=!!t)}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_maxLengthBehavior:["validateMaxLengthBehavior"],_disabled:["validateDisabled"],_variant:["validateVariant"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hasCounter:["validateHasCounter"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_maxLength:["validateMaxLength"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_pattern:["validatePattern"],_placeholder:["validatePlaceholder"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputPassword.style={default:defaultStyleCss};export{KolInputPassword as kol_input_password};
4
+ import{h,r as registerInstance,g as getElement}from"./index-DOWoBMgb.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{j as devHint}from"./common-8fBdMvJM.js";import{F as FormFieldStateWrapper}from"./FormFieldStateWrapper-DiolLYSq.js";import{K as KolIconButtonFc,a as InputContainerStateWrapperFc}from"./controller-icon-bVTIf-z3.js";import{I as InputStateWrapper}from"./InputStateWrapper-7LSQHzG0.js";import{t as translate}from"./i18n-CdSCDnmA.js";import{n as nonce}from"./dev.utils-BxUNRHGK.js";import{p as propagateSubmitEventToForm}from"./controller-CV2y9Ae_.js";import{I as InputPasswordController}from"./controller-BD70cDIh.js";import"./access-and-short-key-bcID78Ha.js";import"./disabled-BydergHu.js";import"./hide-label-DRunOux4.js";import"./label-CdtNxOKu.js";import"./tooltip-align-_VI7LehI.js";import"./align-CyK0wp7d.js";import"./events-CoPFQEiC.js";import"./associated.controller-BKIODHIT.js";import"./bootstrap-BiRnv4fV.js";import"./component-names-CkE54Ym7.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Heading-BX2W3g7O.js";import"./Alert-B377MRFO.js";import"./bem-DhwfdDrM.js";import"./browser-DeS_gcJV.js";import"./InternalUnderlinedBadgeText-CLrx-9jT.js";import"./reuse-CX4AQDkS.js";import"./Icon-Dh17fWbe.js";import"./icons-72ER78AW.js";import"./Input-45FxkhGc.js";import"./auto-complete-BsG3RQJ3.js";import"./max-length-behavior-BmNWss6T.js";import"./placeholder-6URRds0_.js";import"./read-only-CcRldJ9w.js";import"./required-G86n77y0.js";const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-input {\n width: 100%;\n min-width: var(--a11y-min-size);\n }\n .kol-input:focus {\n outline: none;\n }\n .kol-input-password {\n --kol-tooltip-width: calc(160rem / var(--kolibri-root-font-size, 16));\n }\n}",KolInputPassword=class{async getValue(){var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value}async kolFocus(){var t;null===(t=this.inputRef)||void 0===t||t.focus()}getFormFieldProps(){return{state:this.state,class:clsx("kol-input-password","password",{"has-value":this.state._hasValue,"kol-form-field--has-counter":this.controller.hasSoftCharacterLimit()||this.controller.hasCounter()}),tooltipAlign:this._tooltipAlign,onClick:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.focus()},alert:this.showAsAlert()}}getInputProps(){const t="number"==typeof this.state._maxLength?[`${this.state._id}-character-limit-hint`]:void 0;return Object.assign(Object.assign({ref:this.catchRef,type:this._passwordVisible?"text":"password",state:this.state,ariaDescribedBy:t},this.controller.onFacade),{onInput:this.onInput,onKeyDown:this.onKeyDown,onFocus:t=>{this.controller.onFacade.onFocus(t),this.inputHasFocus=!0},onBlur:t=>{this.controller.onFacade.onBlur(t),this.inputHasFocus=!1}})}getShowPasswordButton(){return"visibility-toggle"!==this._variant?null:h(KolIconButtonFc,{componentName:"button",class:"kol-input-password__password-toggle-button","data-testid":"kol-input-password-toggle-button",label:this._passwordVisible?this.translateHidePassword:this.translateShowPassword,buttonVariant:"ghost",onClick:()=>{var t;this._passwordVisible=!this._passwordVisible,null===(t=this.inputRef)||void 0===t||t.focus()},icon:"codicon codicon-eye-"+(this._passwordVisible?"closed":"watch"),disabled:this._disabled})}render(){return h(FormFieldStateWrapper,Object.assign({key:"844d0d658946f85e58c537dc3049ea34abeabe60"},this.getFormFieldProps()),h(InputContainerStateWrapperFc,{key:"2b390c722de4b9e6f2c7c89ea469cd2970e52f54",state:this.state,endAdornment:this.getShowPasswordButton()},h(InputStateWrapper,Object.assign({key:"e12ca7840b5e0d9589cce15fd4f8ddf676cf0434"},this.getInputProps()))))}constructor(t){registerInstance(this,t),this.translateHidePassword=translate("kol-hide-password"),this.translateShowPassword=translate("kol-show-password"),this.catchRef=t=>{this.inputRef=t},this.onKeyDown=t=>{"Enter"!==t.code&&"NumpadEnter"!==t.code||propagateSubmitEventToForm({form:this.host})},this.onInput=t=>{this._value=t.target.value,this.controller.onFacade.onInput(t)},this._autoComplete="off",this._hasCounter=!1,this._maxLengthBehavior="hard",this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._readOnly=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this._variant="default",this.state={_currentLength:0,_currentLengthDebounced:0,_hasValue:!1,_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_variant:"default"},this._passwordVisible=!1,this.inputHasFocus=!1,this.controller=new InputPasswordController(this,"password",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateAccessKey(t){this.controller.validateAccessKey(t)}validateAutoComplete(t){this.controller.validateAutoComplete(t),"on"===t&&devHint("[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field")}validateMaxLengthBehavior(t){this.controller.validateMaxLengthBehavior(t)}validateDisabled(t){this.controller.validateDisabled(t)}validateVariant(t){this.controller.validateVariant(t)}validateHideMsg(t){this.controller.validateHideMsg(t)}validateHideLabel(t){this.controller.validateHideLabel(t)}validateHasCounter(t){this.controller.validateHasCounter(t)}validateHint(t){this.controller.validateHint(t)}validateIcons(t){this.controller.validateIcons(t)}validateId(t){this.controller.validateId(t)}validateLabel(t){this.controller.validateLabel(t)}validateMaxLength(t){this.controller.validateMaxLength(t)}validateMsg(t){this.controller.validateMsg(t)}validateName(t){this.controller.validateName(t)}validateOn(t){this.controller.validateOn(t)}validatePattern(t){this.controller.validatePattern(t)}validatePlaceholder(t){this.controller.validatePlaceholder(t)}validateReadOnly(t){this.controller.validateReadOnly(t)}validateRequired(t){this.controller.validateRequired(t)}validateShortKey(t){this.controller.validateShortKey(t)}validateSmartButton(t){this.controller.validateSmartButton(t)}validateSyncValueBySelector(t){this.controller.validateSyncValueBySelector(t)}validateTouched(t){this.controller.validateTouched(t)}validateValue(t){this.controller.validateValue(t)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad(),this.state._hasValue=!!this.state._value,this.controller.addValueChangeListener(t=>this.state._hasValue=!!t)}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_accessKey:["validateAccessKey"],_autoComplete:["validateAutoComplete"],_maxLengthBehavior:["validateMaxLengthBehavior"],_disabled:["validateDisabled"],_variant:["validateVariant"],_hideMsg:["validateHideMsg"],_hideLabel:["validateHideLabel"],_hasCounter:["validateHasCounter"],_hint:["validateHint"],_icons:["validateIcons"],_id:["validateId"],_label:["validateLabel"],_maxLength:["validateMaxLength"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_pattern:["validatePattern"],_placeholder:["validatePlaceholder"],_readOnly:["validateReadOnly"],_required:["validateRequired"],_shortKey:["validateShortKey"],_smartButton:["validateSmartButton"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputPassword.style={default:defaultStyleCss};export{KolInputPassword as kol_input_password};
@@ -1 +1 @@
1
- {"version":3,"file":"kol-input-password.entry.js","sources":["src/components/input-password/style.scss?tag=kol-input-password&mode=default&encapsulation=shadow","src/components/input-password/shadow.tsx"],"sourcesContent":["@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n\n\t.kol-input-password {\n\t\t--kol-tooltip-width: #{to-rem(160)};\n\t}\n}\n","import type { JSX, VNode } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAutoCompletePropType,\n\tButtonProps,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputPasswordAPI,\n\tInputPasswordStates,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { devHint } from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerStateWrapperFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { translate } from '../../i18n';\nimport type { PasswordVariantPropType } from '../../schema/props/variant/password-variant';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputPasswordController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-password',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputPassword implements InputPasswordAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputPasswordElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly translateHidePassword = translate('kol-hide-password');\n\tprivate readonly translateShowPassword = translate('kol-show-password');\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.inputRef?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = (event.target as HTMLInputElement).value;\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-password', 'password', {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy = typeof this.state._maxLength === 'number' ? [`${this.state._id}-character-limit-hint`] : undefined; // When a character limit is defined, we provide an additional hint referenced by aria-describedby.\n\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\ttype: this._passwordVisible ? 'text' : 'password',\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate getShowPasswordButton(): VNode | null {\n\t\tif (this._variant !== 'visibility-toggle') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<KolIconButtonFc\n\t\t\t\tcomponentName=\"button\"\n\t\t\t\tclass=\"kol-input-password__password-toggle-button\"\n\t\t\t\tdata-testid=\"kol-input-password-toggle-button\"\n\t\t\t\tlabel={this._passwordVisible ? this.translateHidePassword : this.translateShowPassword}\n\t\t\t\tbuttonVariant=\"ghost\"\n\t\t\t\tonClick={(): void => {\n\t\t\t\t\tthis._passwordVisible = !this._passwordVisible;\n\t\t\t\t\tthis.inputRef?.focus();\n\t\t\t\t}}\n\t\t\t\ticon={`codicon codicon-eye-${this._passwordVisible ? 'closed' : 'watch'}`}\n\t\t\t\tdisabled={this._disabled}\n\t\t\t/>\n\t\t);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerStateWrapperFc state={this.state} endAdornment={this.getShowPasswordButton()}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerStateWrapperFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputPasswordController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: PasswordVariantPropType = 'default';\n\n\t@State() public state: InputPasswordStates = {\n\t\t_currentLength: 0,\n\t\t_currentLengthDebounced: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_variant: 'default',\n\t};\n\t@State() private _passwordVisible: boolean = false;\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputPasswordController(this, 'password', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t\tif (value === 'on') {\n\t\t\tdevHint(`[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field`);\n\t\t}\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\t@Watch('_variant')\n\tpublic validateVariant(value?: PasswordVariantPropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n}\n"],"names":["KolFormFieldStateWrapperFc","KolInputContainerStateWrapperFc","KolInputStateWrapperFc"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,89PAA89P;;MCsDz+P,gBAAgB,GAAA,MAAA;AAgBrB,IAAA,MAAM,QAAQ,GAAA;;QACpB,OAAO,MAAA,IAAI,CAAC,QAAQ,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,KAAK;;AAQrB,IAAA,MAAM,QAAQ,GAAA;;QACpB,CAAA,EAAA,GAAA,IAAI,CAAC,QAAQ,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,KAAK,EAAE;;IAiBf,iBAAiB,GAAA;QACxB,OAAO;YACN,KAAK,EAAE,IAAI,CAAC,KAAK;AACjB,YAAA,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,UAAU,EAAE;AAC7C,gBAAA,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;AACjC,gBAAA,6BAA6B,EAAE,IAAI,CAAC,UAAU,CAAC,qBAAqB,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE;aACtG,CAAC;YACF,YAAY,EAAE,IAAI,CAAC,aA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AAU,CAAC,gBAAgB,CAAC,KAAK,CAAC;;AAIjC,IAAA,gBAAgB,CAAC,KAAwB,EAAA;AAC/C,QAAA,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC;;AAIjC,IAAA,mBAAmB,CAAC,KAA4B,EAAA;AACtD,QAAA,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,CAAC;;AAIpC,IAAA,2BAA2B,CAAC,KAAmC,EAAA;AACrE,QAAA,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,KAAK,CAAC;;AAI5C,IAAA,eAAe,CAAC,KAAe,EAAA;AACrC,QAAA,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC;;AAIhC,IAAA,aAAa,CAAC,KAAc,EAAA;AAClC,QAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC;;IAG9B,iBAAiB,GAAA;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI;AACtC,QAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;AAEnC,QAAA,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;QAC1C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-input-password.entry.js","sources":["src/components/input-password/style.scss?tag=kol-input-password&mode=default&encapsulation=shadow","src/components/input-password/shadow.tsx"],"sourcesContent":["@use '../../styles/global' as *;\n@use '../../styles/kol-alert-mixin' as *;\n@use '../../styles/kol-form-field-mixin' as *;\n@use '../../styles/kol-input-container-mixin' as *;\n@use '../../styles/kol-input-mixin' as *;\n@use '../@shared/mixins' as *;\n\n@layer kol-component {\n\t@include kol-alert;\n\t@include kol-form-field;\n\t@include kol-input-container;\n\t@include kol-input;\n\n\t.kol-input-password {\n\t\t--kol-tooltip-width: #{to-rem(160)};\n\t}\n}\n","import type { JSX, VNode } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from 'clsx';\n\nimport type {\n\tAutoCompletePropType,\n\tButtonProps,\n\tDisabledPropType,\n\tFocusableElement,\n\tHasCounterPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tIdPropType,\n\tInputPasswordAPI,\n\tInputPasswordStates,\n\tInputTypeOnDefault,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tPlaceholderPropType,\n\tReadOnlyPropType,\n\tRequiredPropType,\n\tShortKeyPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { devHint } from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerStateWrapperFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper/InputStateWrapper';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { translate } from '../../i18n';\nimport type { PasswordVariantPropType } from '../../schema/props/variant/password-variant';\nimport { nonce } from '../../utils/dev.utils';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { InputPasswordController } from './controller';\n\n/**\n * @slot - Die Beschriftung des Eingabefeldes.\n */\n@Component({\n\ttag: 'kol-input-password',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: {\n\t\tdelegatesFocus: true,\n\t},\n})\nexport class KolInputPassword implements InputPasswordAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolInputPasswordElement;\n\tprivate inputRef?: HTMLInputElement;\n\n\tprivate readonly translateHidePassword = translate('kol-hide-password');\n\tprivate readonly translateShowPassword = translate('kol-show-password');\n\n\tprivate readonly catchRef = (ref?: HTMLInputElement) => {\n\t\tthis.inputRef = ref;\n\t};\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.inputRef?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async kolFocus() {\n\t\tthis.inputRef?.focus();\n\t}\n\n\tprivate readonly onKeyDown = (event: KeyboardEvent) => {\n\t\tif (event.code === 'Enter' || event.code === 'NumpadEnter') {\n\t\t\tpropagateSubmitEventToForm({\n\t\t\t\tform: this.host,\n\t\t\t\tref: this.inputRef,\n\t\t\t});\n\t\t}\n\t};\n\n\tprivate readonly onInput = (event: InputEvent) => {\n\t\tthis._value = (event.target as HTMLInputElement).value;\n\t\tthis.controller.onFacade.onInput(event);\n\t};\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-input-password', 'password', {\n\t\t\t\t'has-value': this.state._hasValue,\n\t\t\t\t'kol-form-field--has-counter': this.controller.hasSoftCharacterLimit() || this.controller.hasCounter(),\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.inputRef?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getInputProps(): InputStateWrapperProps {\n\t\tconst ariaDescribedBy = typeof this.state._maxLength === 'number' ? [`${this.state._id}-character-limit-hint`] : undefined; // When a character limit is defined, we provide an additional hint referenced by aria-describedby.\n\n\t\treturn {\n\t\t\tref: this.catchRef,\n\t\t\ttype: this._passwordVisible ? 'text' : 'password',\n\t\t\tstate: this.state,\n\t\t\tariaDescribedBy,\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput,\n\t\t\tonKeyDown: this.onKeyDown,\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tprivate getShowPasswordButton(): VNode | null {\n\t\tif (this._variant !== 'visibility-toggle') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<KolIconButtonFc\n\t\t\t\tcomponentName=\"button\"\n\t\t\t\tclass=\"kol-input-password__password-toggle-button\"\n\t\t\t\tdata-testid=\"kol-input-password-toggle-button\"\n\t\t\t\tlabel={this._passwordVisible ? this.translateHidePassword : this.translateShowPassword}\n\t\t\t\tbuttonVariant=\"ghost\"\n\t\t\t\tonClick={(): void => {\n\t\t\t\t\tthis._passwordVisible = !this._passwordVisible;\n\t\t\t\t\tthis.inputRef?.focus();\n\t\t\t\t}}\n\t\t\t\ticon={`codicon codicon-eye-${this._passwordVisible ? 'closed' : 'watch'}`}\n\t\t\t\tdisabled={this._disabled}\n\t\t\t/>\n\t\t);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerStateWrapperFc state={this.state} endAdornment={this.getShowPasswordButton()}>\n\t\t\t\t\t<KolInputStateWrapperFc {...this.getInputProps()} />\n\t\t\t\t</KolInputContainerStateWrapperFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: InputPasswordController;\n\n\t/**\n\t * Defines which key combination can be used to trigger or focus the interactive element of the component.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @deprecated Will be removed in the next major version.\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual short key hint to the component.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<ButtonProps>;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: PasswordVariantPropType = 'default';\n\n\t@State() public state: InputPasswordStates = {\n\t\t_currentLength: 0,\n\t\t_currentLengthDebounced: 0,\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: `id-${nonce()}`,\n\t\t_label: '', // ⚠ required\n\t\t_variant: 'default',\n\t};\n\t@State() private _passwordVisible: boolean = false;\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new InputPasswordController(this, 'password', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_autoComplete')\n\tpublic validateAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.controller.validateAutoComplete(value);\n\t\tif (value === 'on') {\n\t\t\tdevHint(`[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field`);\n\t\t}\n\t}\n\n\t@Watch('_maxLengthBehavior')\n\tpublic validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.controller.validateMaxLengthBehavior(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\t@Watch('_variant')\n\tpublic validateVariant(value?: PasswordVariantPropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hasCounter')\n\tpublic validateHasCounter(value?: HasCounterPropType): void {\n\t\tthis.controller.validateHasCounter(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_id')\n\tpublic validateId(value?: string): void {\n\t\tthis.controller.validateId(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_maxLength')\n\tpublic validateMaxLength(value?: number): void {\n\t\tthis.controller.validateMaxLength(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_pattern')\n\tpublic validatePattern(value?: string): void {\n\t\tthis.controller.validatePattern(value);\n\t}\n\n\t@Watch('_placeholder')\n\tpublic validatePlaceholder(value?: PlaceholderPropType): void {\n\t\tthis.controller.validatePlaceholder(value);\n\t}\n\n\t@Watch('_readOnly')\n\tpublic validateReadOnly(value?: ReadOnlyPropType): void {\n\t\tthis.controller.validateReadOnly(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_smartButton')\n\tpublic validateSmartButton(value?: ButtonProps | string): void {\n\t\tthis.controller.validateSmartButton(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: string): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state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,EAAA;AACrC,QAAA,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC;;AAIhC,IAAA,aAAa,CAAC,KAAc,EAAA;AAClC,QAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC;;IAG9B,iBAAiB,GAAA;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI;AACtC,QAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE;AAEnC,QAAA,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;QAC1C,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{h,r as registerInstance,g as getElement}from"./index-DDeBcUIu.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{n as nonce}from"./dev.utils-dJsH-7gE.js";import{p as propagateSubmitEventToForm}from"./controller-D4SIjZnf.js";import{a as InputRadioController}from"./controller-lp0AbOj9.js";import{F as FieldControlStateWrapper}from"./FieldControlStateWrapper-CjQbR74D.js";import{c as checkHasMsg,g as getRenderStates,a as convertMsgToInternMsg,F as FormFieldStateWrapper}from"./FormFieldStateWrapper-CzqloNmW.js";import{_ as __rest}from"./Heading-BikkZxGQ.js";import{I as InputFc}from"./Input--QlsCT_g.js";import"./common-zXZUsQ7l.js";import"./component-names-CkE54Ym7.js";import"./label-DGzuU0HV.js";import"./required-DZ-b_DWV.js";import"./orientation-DdsLYtB3.js";import"./reuse-CX4AQDkS.js";import"./access-and-short-key-CBDgF26-.js";import"./disabled-oePQqAfy.js";import"./hide-label-BmYpplzr.js";import"./tooltip-align-CmSyNCv5.js";import"./align-BU6S1qiO.js";import"./events-CoPFQEiC.js";import"./associated.controller-BVXWSO2G.js";import"./bootstrap-YDZ8Qb_h.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Alert-DDLWH-ai.js";import"./i18n-C7ZsbK5l.js";import"./bem-DqV0swL_.js";import"./browser-DAVbNx-f.js";import"./InternalUnderlinedBadgeText-BvL2GxIT.js";const InputWrapperFc=n=>{var{class:e}=n,t=__rest(n,["class"]);return h(InputFc,Object.assign({class:clsx("kol-input-radio__input",e)},t,{type:"radio"}))},RadioFc=n=>{var e,{class:t,inputProps:i}=n,o=__rest(n,["class","inputProps"]);const l=checkHasMsg(null==i?void 0:i.msg,null==i?void 0:i.touched),a={"kol-input-radio--checked":null==i?void 0:i.checked,"kol-input-radio--disabled":Boolean(null==i?void 0:i.disabled),"kol-input-radio--required":Boolean(null==i?void 0:i.required),"kol-input-radio--touched":Boolean(null==i?void 0:i.touched),[`kol-input-radio--${(null===(e=null==i?void 0:i.msg)||void 0===e?void 0:e.type)||"error"}`]:Boolean(l)};return h("label",Object.assign({class:clsx("kol-input-radio",a,t)},o),h(InputWrapperFc,Object.assign({},i)))};function getRadioProps(n,e={}){const{ariaDescribedBy:t}=getRenderStates(n),i={id:n._id,hideLabel:n._hideLabel,label:n._label,value:n._value,disabled:n._disabled,name:n._name,ariaDescribedBy:t};return"_required"in n&&(i.required=n._required),"_touched"in n&&(i.touched=n._touched),"_msg"in n&&(i.msg=convertMsgToInternMsg(n._msg)),Object.assign(Object.assign({},i),e)}const RadioStateWrapper=n=>{var{state:e,inputProps:t}=n,i=__rest(n,["state","inputProps"]);return h(RadioFc,Object.assign({inputProps:getRadioProps(e,t)},i))},defaultStyleCss='/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n contain: layout;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: "input label";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: "input label" "hint hint";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: "label input";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: "label input" "hint hint";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: "";\n }\n .kol-field-control__tooltip .span-label::after {\n content: "";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: "*";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: "*";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: "*";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n display: flex;\n position: relative;\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n cursor: pointer;\n }\n .kol-input-radio__input {\n border-style: solid;\n border-radius: 100%;\n display: flex;\n width: var(--input-size);\n min-width: var(--input-size);\n height: var(--input-size);\n min-height: var(--input-size);\n margin: 0;\n padding: 0;\n border-width: var(--border-width);\n appearance: none;\n cursor: pointer;\n }\n .kol-input-radio__input:before {\n border-radius: 100%;\n width: calc(var(--input-size) / 2);\n height: calc(var(--input-size) / 2);\n margin: auto;\n content: "";\n }\n .kol-input-radio__input:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio__input:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio__input:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-input-radio--disabled {\n cursor: not-allowed;\n }\n}',KolInputRadio=class{async getValue(){return this._value}async kolFocus(){var n;null===(n=this.inputRef)||void 0===n||n.focus()}getFormFieldProps(){return{state:this.state,component:"fieldset",disabled:Boolean(this.state._disabled),class:clsx("kol-form-field--radio"),formFieldLabelProps:{component:"legend",class:"kol-form-field__label--legend"},formFieldInputProps:{class:`kol-form-field__input--orientation-${this.state._orientation}`},tooltipAlign:this._tooltipAlign,alert:this.showAsAlert(),hideLabel:!1}}render(){return h(FormFieldStateWrapper,Object.assign({key:"91ce97ca53a9c7c195bcd7108992ecf4a74940a0"},this.getFormFieldProps()),this.state._options.map((n,e)=>this.renderOption(n,e)))}calculateDisabled(n){return Boolean(this.state._disabled)||Boolean(n.disabled)}getOptionProps(n,e){return{state:this.state,id:e,hint:n.hint,label:n.label,required:!1,fieldControlLabelProps:{showBadge:!1},disabled:this.calculateDisabled(n)}}getInputProps(n,e,t,i){return{state:this.state,inputProps:Object.assign(Object.assign({id:e,ref:this.state._value===n.value?this.catchRef:void 0,"aria-label":this.state._hideLabel&&"string"==typeof n.label?n.label:void 0,type:"radio",name:this.state._name||this.state._id,value:`-${t}`,checked:i,disabled:this.calculateDisabled(n)},this.controller.onFacade),{onChange:this.onChange,onClick:void 0,onInput:this.onInput,onKeyDown:this.onKeyDown.bind(this),onFocus:n=>{this.controller.onFacade.onFocus(n),this.inputHasFocus=!0},onBlur:n=>{this.controller.onFacade.onBlur(n),this.inputHasFocus=!1}})}}renderOption(n,e){const t=`${this.state._id}-${e}`,i=this.state._value===n.value;return h(FieldControlStateWrapper,Object.assign({key:t},this.getOptionProps(n,t)),h(RadioStateWrapper,Object.assign({},this.getInputProps(n,t,e,i))))}constructor(n){registerInstance(this,n),this.catchRef=n=>{this.inputRef=n},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._orientation="vertical",this._required=!1,this._tooltipAlign="top",this._touched=!1,this._value=null,this.state={_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_options:[],_orientation:"vertical"},this.inputHasFocus=!1,this.onInput=n=>{if(n.target instanceof HTMLInputElement){const e=this.controller.getOptionByKey(n.target.value);void 0!==e&&this.controller.onFacade.onInput(n,!0,e.value)}},this.onChange=n=>{if(n.target instanceof HTMLInputElement){const e=this.controller.getOptionByKey(n.target.value);void 0!==e&&(this.controller.onFacade.onChange(n,e.value),this._value=e.value)}},this.onKeyDown=n=>{"Enter"!==n.code&&"NumpadEnter"!==n.code||propagateSubmitEventToForm({form:this.host})},this.controller=new InputRadioController(this,"radio",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateTooltipAlign(n){this.controller.validateTooltipAlign(n)}validateDisabled(n){this.controller.validateDisabled(n)}validateHideLabel(n){this.controller.validateHideLabel(n)}validateHideMsg(n){this.controller.validateHideMsg(n)}validateHint(n){this.controller.validateHint(n)}validateId(n){this.controller.validateId(n)}validateLabel(n){this.controller.validateLabel(n)}validateMsg(n){this.controller.validateMsg(n)}validateName(n){this.controller.validateName(n)}validateOn(n){this.controller.validateOn(n)}validateOptions(n){this.controller.validateOptions(n)}validateOrientation(n){this.controller.validateOrientation(n)}validateRequired(n){this.controller.validateRequired(n)}validateSyncValueBySelector(n){this.controller.validateSyncValueBySelector(n)}validateTouched(n){this.controller.validateTouched(n)}validateValue(n){this.controller.validateValue(n)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_tooltipAlign:["validateTooltipAlign"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_hideMsg:["validateHideMsg"],_hint:["validateHint"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_orientation:["validateOrientation"],_required:["validateRequired"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputRadio.style={default:defaultStyleCss};export{KolInputRadio as kol_input_radio};
4
+ import{h,r as registerInstance,g as getElement}from"./index-DOWoBMgb.js";import{c as clsx}from"./clsx-eK3rPvPS.js";import{n as nonce}from"./dev.utils-BxUNRHGK.js";import{p as propagateSubmitEventToForm}from"./controller-CV2y9Ae_.js";import{a as InputRadioController}from"./controller-CUCw249W.js";import{F as FieldControlStateWrapper}from"./FieldControlStateWrapper-DRnIsegE.js";import{c as checkHasMsg,g as getRenderStates,F as FormFieldStateWrapper}from"./FormFieldStateWrapper-DiolLYSq.js";import{_ as __rest}from"./Heading-BX2W3g7O.js";import{I as InputFc}from"./Input-45FxkhGc.js";import"./common-8fBdMvJM.js";import"./component-names-CkE54Ym7.js";import"./label-CdtNxOKu.js";import"./required-G86n77y0.js";import"./orientation-5kQWqijN.js";import"./reuse-CX4AQDkS.js";import"./access-and-short-key-bcID78Ha.js";import"./disabled-BydergHu.js";import"./hide-label-DRunOux4.js";import"./tooltip-align-_VI7LehI.js";import"./align-CyK0wp7d.js";import"./events-CoPFQEiC.js";import"./associated.controller-BKIODHIT.js";import"./bootstrap-BiRnv4fV.js";import"./i18n-ZF6JbdVP.js";import"./isObject-DvSELytj.js";import"./Alert-B377MRFO.js";import"./i18n-CdSCDnmA.js";import"./bem-DhwfdDrM.js";import"./browser-DeS_gcJV.js";import"./InternalUnderlinedBadgeText-CLrx-9jT.js";const InputWrapperFc=n=>{var{class:e}=n,t=__rest(n,["class"]);return h(InputFc,Object.assign({class:clsx("kol-input-radio__input",e)},t,{type:"radio"}))},RadioFc=n=>{var e,{class:t,inputProps:i}=n,o=__rest(n,["class","inputProps"]);const l=checkHasMsg(null==i?void 0:i.msg,null==i?void 0:i.touched),a="string"==typeof(null==i?void 0:i.msg)?"error":null===(e=null==i?void 0:i.msg)||void 0===e?void 0:e._type,r={"kol-input-radio--checked":null==i?void 0:i.checked,"kol-input-radio--disabled":Boolean(null==i?void 0:i.disabled),"kol-input-radio--required":Boolean(null==i?void 0:i.required),"kol-input-radio--touched":Boolean(null==i?void 0:i.touched),[`kol-input-radio--${a||"error"}`]:Boolean(l)};return h("label",Object.assign({class:clsx("kol-input-radio",r,t)},o),h(InputWrapperFc,Object.assign({},i)))};function getRadioProps(n,e={}){const{ariaDescribedBy:t}=getRenderStates(n),i={id:n._id,hideLabel:n._hideLabel,label:n._label,value:n._value,disabled:n._disabled,name:n._name,ariaDescribedBy:t};return"_required"in n&&(i.required=n._required),"_touched"in n&&(i.touched=n._touched),"_msg"in n&&(i.msg=n._msg),Object.assign(Object.assign({},i),e)}const RadioStateWrapper=n=>{var{state:e,inputProps:t}=n,i=__rest(n,["state","inputProps"]);return h(RadioFc,Object.assign({inputProps:getRadioProps(e,t)},i))},defaultStyleCss='/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n max-width: 90vw;\n max-height: 90vh;\n visibility: hidden;\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: "input label";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: "input label" "hint hint";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: "label input";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: "label input" "hint hint";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: "";\n }\n .kol-field-control__tooltip .span-label::after {\n content: "";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: "*";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: "*";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: "*";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: "*";\n }\n .kol-input-container {\n background-color: white;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n display: flex;\n position: relative;\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n cursor: pointer;\n }\n .kol-input-radio__input {\n border-style: solid;\n border-radius: 100%;\n display: flex;\n width: var(--input-size);\n min-width: var(--input-size);\n height: var(--input-size);\n min-height: var(--input-size);\n margin: 0;\n padding: 0;\n border-width: var(--border-width);\n appearance: none;\n cursor: pointer;\n }\n .kol-input-radio__input:before {\n border-radius: 100%;\n width: calc(var(--input-size) / 2);\n height: calc(var(--input-size) / 2);\n margin: auto;\n content: "";\n }\n .kol-input-radio__input:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio__input:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio__input:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-input-radio--disabled {\n cursor: not-allowed;\n }\n}',KolInputRadio=class{async getValue(){return this._value}async kolFocus(){var n;null===(n=this.inputRef)||void 0===n||n.focus()}getFormFieldProps(){return{state:this.state,component:"fieldset",disabled:Boolean(this.state._disabled),class:clsx("kol-form-field--radio"),formFieldLabelProps:{component:"legend",class:"kol-form-field__label--legend"},formFieldInputProps:{class:`kol-form-field__input--orientation-${this.state._orientation}`},tooltipAlign:this._tooltipAlign,alert:this.showAsAlert(),hideLabel:!1}}render(){return h(FormFieldStateWrapper,Object.assign({key:"91ce97ca53a9c7c195bcd7108992ecf4a74940a0"},this.getFormFieldProps()),this.state._options.map((n,e)=>this.renderOption(n,e)))}calculateDisabled(n){return Boolean(this.state._disabled)||Boolean(n.disabled)}getOptionProps(n,e){return{state:this.state,id:e,hint:n.hint,label:n.label,required:!1,fieldControlLabelProps:{showBadge:!1},disabled:this.calculateDisabled(n)}}getInputProps(n,e,t,i){return{state:this.state,inputProps:Object.assign(Object.assign({id:e,ref:this.state._value===n.value?this.catchRef:void 0,"aria-label":this.state._hideLabel&&"string"==typeof n.label?n.label:void 0,type:"radio",name:this.state._name||this.state._id,value:`-${t}`,checked:i,disabled:this.calculateDisabled(n)},this.controller.onFacade),{onChange:this.onChange,onClick:void 0,onInput:this.onInput,onKeyDown:this.onKeyDown.bind(this),onFocus:n=>{this.controller.onFacade.onFocus(n),this.inputHasFocus=!0},onBlur:n=>{this.controller.onFacade.onBlur(n),this.inputHasFocus=!1}})}}renderOption(n,e){const t=`${this.state._id}-${e}`,i=this.state._value===n.value;return h(FieldControlStateWrapper,Object.assign({key:t},this.getOptionProps(n,t)),h(RadioStateWrapper,Object.assign({},this.getInputProps(n,t,e,i))))}constructor(n){registerInstance(this,n),this.catchRef=n=>{this.inputRef=n},this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._orientation="vertical",this._required=!1,this._tooltipAlign="top",this._touched=!1,this._value=null,this.state={_hideMsg:!1,_id:`id-${nonce()}`,_label:"",_options:[],_orientation:"vertical"},this.inputHasFocus=!1,this.onInput=n=>{if(n.target instanceof HTMLInputElement){const e=this.controller.getOptionByKey(n.target.value);void 0!==e&&this.controller.onFacade.onInput(n,!0,e.value)}},this.onChange=n=>{if(n.target instanceof HTMLInputElement){const e=this.controller.getOptionByKey(n.target.value);void 0!==e&&(this.controller.onFacade.onChange(n,e.value),this._value=e.value)}},this.onKeyDown=n=>{"Enter"!==n.code&&"NumpadEnter"!==n.code||propagateSubmitEventToForm({form:this.host})},this.controller=new InputRadioController(this,"radio",this.host)}showAsAlert(){return Boolean(this.state._touched)&&!this.inputHasFocus}validateTooltipAlign(n){this.controller.validateTooltipAlign(n)}validateDisabled(n){this.controller.validateDisabled(n)}validateHideLabel(n){this.controller.validateHideLabel(n)}validateHideMsg(n){this.controller.validateHideMsg(n)}validateHint(n){this.controller.validateHint(n)}validateId(n){this.controller.validateId(n)}validateLabel(n){this.controller.validateLabel(n)}validateMsg(n){this.controller.validateMsg(n)}validateName(n){this.controller.validateName(n)}validateOn(n){this.controller.validateOn(n)}validateOptions(n){this.controller.validateOptions(n)}validateOrientation(n){this.controller.validateOrientation(n)}validateRequired(n){this.controller.validateRequired(n)}validateSyncValueBySelector(n){this.controller.validateSyncValueBySelector(n)}validateTouched(n){this.controller.validateTouched(n)}validateValue(n){this.controller.validateValue(n)}componentWillLoad(){this._touched=!0===this._touched,this.controller.componentWillLoad()}static get delegatesFocus(){return!0}get host(){return getElement(this)}static get watchers(){return{_tooltipAlign:["validateTooltipAlign"],_disabled:["validateDisabled"],_hideLabel:["validateHideLabel"],_hideMsg:["validateHideMsg"],_hint:["validateHint"],_id:["validateId"],_label:["validateLabel"],_msg:["validateMsg"],_name:["validateName"],_on:["validateOn"],_options:["validateOptions"],_orientation:["validateOrientation"],_required:["validateRequired"],_syncValueBySelector:["validateSyncValueBySelector"],_touched:["validateTouched"],_value:["validateValue"]}}};KolInputRadio.style={default:defaultStyleCss};export{KolInputRadio as kol_input_radio};