@siemens/ix 4.0.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (775) hide show
  1. package/READMEOSS.html +1 -1
  2. package/components/index.js.map +1 -1
  3. package/components/ix-action-card.js +1 -1
  4. package/components/ix-application-header.js +5 -5
  5. package/components/ix-application-switch-modal.js +5 -5
  6. package/components/ix-avatar.js +1 -1
  7. package/components/ix-blind.js +1 -1
  8. package/components/ix-breadcrumb-item.js +1 -1
  9. package/components/ix-breadcrumb.js +4 -4
  10. package/components/ix-button.js +1 -1
  11. package/components/ix-card-list.js +4 -4
  12. package/components/ix-category-filter.js +18 -12
  13. package/components/ix-category-filter.js.map +1 -1
  14. package/components/ix-checkbox-group.js +5 -5
  15. package/components/ix-checkbox.js +2 -2
  16. package/components/ix-chip.js +4 -4
  17. package/components/ix-content-header.js +3 -3
  18. package/components/ix-custom-field.js +5 -5
  19. package/components/ix-date-dropdown.js +9 -9
  20. package/components/ix-date-input.js +32 -18
  21. package/components/ix-date-input.js.map +1 -1
  22. package/components/ix-date-picker.js +1 -1
  23. package/components/ix-date-time-card.js +1 -1
  24. package/components/ix-datetime-picker.js +12 -12
  25. package/components/ix-datetime-picker.js.map +1 -1
  26. package/components/ix-divider.js +1 -1
  27. package/components/ix-drawer.js +7 -7
  28. package/components/ix-dropdown-button.js +7 -7
  29. package/components/ix-dropdown-header.js +2 -2
  30. package/components/ix-dropdown-item.js +1 -1
  31. package/components/ix-dropdown-quick-actions.js +1 -1
  32. package/components/ix-dropdown.js +1 -1
  33. package/components/ix-empty-state.js +4 -4
  34. package/components/ix-event-list-item.js +4 -4
  35. package/components/ix-event-list.js +2 -2
  36. package/components/ix-expanding-search.js +6 -6
  37. package/components/ix-field-label.js +1 -1
  38. package/components/ix-field-wrapper.js +1 -1
  39. package/components/ix-filter-chip.js +1 -1
  40. package/components/ix-flip-tile-content.js +1 -1
  41. package/components/ix-flip-tile.js +5 -5
  42. package/components/ix-group-context-menu.js +1 -1
  43. package/components/ix-group.js +11 -11
  44. package/components/ix-helper-text.js +4 -4
  45. package/components/ix-icon-button.js +1 -1
  46. package/components/ix-icon-toggle-button.js +2 -2
  47. package/components/ix-input-group.js +1 -1
  48. package/components/ix-input.js +24 -13
  49. package/components/ix-input.js.map +1 -1
  50. package/components/ix-key-value-list.js +1 -1
  51. package/components/ix-key-value.js +1 -1
  52. package/components/ix-kpi.js +3 -3
  53. package/components/ix-layout-auto.js +1 -1
  54. package/components/ix-layout-grid.js +1 -1
  55. package/components/ix-link-button.js +4 -4
  56. package/components/ix-link-button.js.map +1 -1
  57. package/components/ix-menu-about-item.js +1 -1
  58. package/components/ix-menu-about-news.js +8 -8
  59. package/components/ix-menu-about.js +10 -8
  60. package/components/ix-menu-about.js.map +1 -1
  61. package/components/ix-menu-avatar-item.js +1 -1
  62. package/components/ix-menu-avatar.js +10 -10
  63. package/components/ix-menu-category.js +11 -11
  64. package/components/ix-menu-expand-icon.js +1 -1
  65. package/components/ix-menu-item.js +1 -1
  66. package/components/ix-menu-settings-item.js +1 -1
  67. package/components/ix-menu-settings.js +1 -1
  68. package/components/ix-menu.js +18 -18
  69. package/components/ix-message-bar.js +3 -3
  70. package/components/ix-modal-content.js +1 -1
  71. package/components/ix-modal-footer.js +1 -1
  72. package/components/ix-modal-header.js +1 -1
  73. package/components/ix-modal-loading.js +2 -2
  74. package/components/ix-modal.js +3 -3
  75. package/components/ix-number-input.js +170 -37
  76. package/components/ix-number-input.js.map +1 -1
  77. package/components/ix-pagination.js +42 -19
  78. package/components/ix-pagination.js.map +1 -1
  79. package/components/ix-pane-layout.js +1 -1
  80. package/components/ix-pane.js +9 -9
  81. package/components/ix-pill.js +6 -6
  82. package/components/ix-progress-indicator.js +5 -5
  83. package/components/ix-push-card.js +2 -2
  84. package/components/ix-radio-group.js +7 -7
  85. package/components/ix-radio.js +5 -5
  86. package/components/ix-row.js +1 -1
  87. package/components/ix-select-item.js +1 -1
  88. package/components/ix-select.js +1 -1
  89. package/components/ix-slider.js +8 -8
  90. package/components/ix-spinner.js +1 -1
  91. package/components/ix-split-button.js +30 -16
  92. package/components/ix-split-button.js.map +1 -1
  93. package/components/ix-tab-item.js +1 -1
  94. package/components/ix-tabs.js +1 -1
  95. package/components/ix-textarea.js +8 -8
  96. package/components/ix-tile.js +4 -4
  97. package/components/ix-time-input.js +33 -19
  98. package/components/ix-time-input.js.map +1 -1
  99. package/components/ix-time-picker.js +1 -1
  100. package/components/ix-toast-container.js +6 -6
  101. package/components/ix-toast.js +1 -1
  102. package/components/ix-toggle-button.js +1 -1
  103. package/components/ix-toggle.js +5 -5
  104. package/components/ix-tooltip.js +1 -1
  105. package/components/ix-tree-item.js +1 -1
  106. package/components/ix-tree.js +2 -2
  107. package/components/ix-typography.js +1 -1
  108. package/components/ix-upload.js +5 -5
  109. package/components/ix-validation-tooltip.js +2 -2
  110. package/components/ix-workflow-step.js +3 -3
  111. package/components/ix-workflow-steps.js +1 -1
  112. package/components/{p-ChZQLy9v.js → p-10zMtvCF.js} +4 -4
  113. package/components/{p-ChZQLy9v.js.map → p-10zMtvCF.js.map} +1 -1
  114. package/components/{p-D8hPr0Kb.js → p-1pd_0dhF.js} +3 -3
  115. package/components/{p-D8hPr0Kb.js.map → p-1pd_0dhF.js.map} +1 -1
  116. package/components/{p-BAG4Ixzu.js → p-7E7AMiQV.js} +6 -6
  117. package/components/p-7E7AMiQV.js.map +1 -0
  118. package/components/{p-axBTucsn.js → p-B006bhbX.js} +3 -3
  119. package/components/{p-axBTucsn.js.map → p-B006bhbX.js.map} +1 -1
  120. package/components/{p-4kEXJDiJ.js → p-B1p0kpQJ.js} +5 -5
  121. package/components/{p-4kEXJDiJ.js.map → p-B1p0kpQJ.js.map} +1 -1
  122. package/components/{p-B-mB5dVY.js → p-BBwXlKhE.js} +3 -3
  123. package/components/{p-B-mB5dVY.js.map → p-BBwXlKhE.js.map} +1 -1
  124. package/components/{p-DInJFFDT.js → p-BEDohapR.js} +4 -4
  125. package/components/{p-DInJFFDT.js.map → p-BEDohapR.js.map} +1 -1
  126. package/components/{p-DkDGUG2W.js → p-BI7B-PUA.js} +4 -4
  127. package/components/{p-DkDGUG2W.js.map → p-BI7B-PUA.js.map} +1 -1
  128. package/components/{p-Cj9oZ8ym.js → p-BIg1TSrD.js} +8 -8
  129. package/components/{p-Cj9oZ8ym.js.map → p-BIg1TSrD.js.map} +1 -1
  130. package/components/{p-DvD1nW88.js → p-BLeWaHpy.js} +5 -5
  131. package/components/{p-DvD1nW88.js.map → p-BLeWaHpy.js.map} +1 -1
  132. package/components/{p-CvuFiT5X.js → p-BOQ00Fbs.js} +67 -26
  133. package/components/p-BOQ00Fbs.js.map +1 -0
  134. package/components/{p-CFDRGf6r.js → p-BR5ayBuu.js} +3 -3
  135. package/components/{p-CFDRGf6r.js.map → p-BR5ayBuu.js.map} +1 -1
  136. package/components/{p-C56HnkHy.js → p-BiqdnsgA.js} +18 -11
  137. package/components/p-BiqdnsgA.js.map +1 -0
  138. package/components/{p-BHcP7TVn.js → p-Bk0vKwmt.js} +4 -4
  139. package/components/{p-BHcP7TVn.js.map → p-Bk0vKwmt.js.map} +1 -1
  140. package/components/{p-CDPfohEH.js → p-BmMUyJRQ.js} +87 -51
  141. package/components/p-BmMUyJRQ.js.map +1 -0
  142. package/components/{p-GPVWLtS3.js → p-Bye33cYU.js} +7 -7
  143. package/components/{p-GPVWLtS3.js.map → p-Bye33cYU.js.map} +1 -1
  144. package/components/{p-D6KzHh-w.js → p-C4KxNeD2.js} +3 -3
  145. package/components/{p-D6KzHh-w.js.map → p-C4KxNeD2.js.map} +1 -1
  146. package/components/{p-DWRnKXkl.js → p-C6_1qmP4.js} +3 -3
  147. package/components/{p-DWRnKXkl.js.map → p-C6_1qmP4.js.map} +1 -1
  148. package/components/{p-OLe05BAC.js → p-COWPG_SD.js} +3 -3
  149. package/components/p-COWPG_SD.js.map +1 -0
  150. package/components/{p-FWLjfP4_.js → p-CjDPpSJX.js} +13 -13
  151. package/components/p-CjDPpSJX.js.map +1 -0
  152. package/components/{p-DkKuaBAh.js → p-ClQxnZ3d.js} +6 -6
  153. package/components/{p-DkKuaBAh.js.map → p-ClQxnZ3d.js.map} +1 -1
  154. package/components/{p-CL7Uj2A_.js → p-ColBHyXN.js} +5 -5
  155. package/components/{p-CL7Uj2A_.js.map → p-ColBHyXN.js.map} +1 -1
  156. package/components/{p-ChFNWyCb.js → p-CrqgL2m1.js} +8 -4
  157. package/components/p-CrqgL2m1.js.map +1 -0
  158. package/components/{p-De0habf3.js → p-CvD2yWeJ.js} +4 -4
  159. package/components/{p-De0habf3.js.map → p-CvD2yWeJ.js.map} +1 -1
  160. package/components/{p-B1sSJ2R2.js → p-DC9anobw.js} +6 -6
  161. package/components/{p-B1sSJ2R2.js.map → p-DC9anobw.js.map} +1 -1
  162. package/components/{p-BTR8UA6s.js → p-DSTHZygb.js} +8 -8
  163. package/components/{p-BTR8UA6s.js.map → p-DSTHZygb.js.map} +1 -1
  164. package/components/{p-S6nC3Yb4.js → p-DUU5I7wZ.js} +69 -44
  165. package/components/p-DUU5I7wZ.js.map +1 -0
  166. package/components/{p-Ow_osSm5.js → p-DXFN8JXp.js} +20 -9
  167. package/components/p-DXFN8JXp.js.map +1 -0
  168. package/components/{p-BtDCIGt3.js → p-Db0RazS2.js} +3 -3
  169. package/components/{p-BtDCIGt3.js.map → p-Db0RazS2.js.map} +1 -1
  170. package/components/{p-DTo0UW1Q.js → p-DlVaL0Yi.js} +7 -7
  171. package/components/{p-DTo0UW1Q.js.map → p-DlVaL0Yi.js.map} +1 -1
  172. package/components/{p-LVGd1t9U.js → p-Dp03DeD0.js} +5 -5
  173. package/components/{p-LVGd1t9U.js.map → p-Dp03DeD0.js.map} +1 -1
  174. package/components/{p-xHo-3QVy.js → p-Dq_H2flK.js} +9 -3
  175. package/components/p-Dq_H2flK.js.map +1 -0
  176. package/components/{p-CMC0yuht.js → p-Dy6xvLn4.js} +4 -4
  177. package/components/{p-CMC0yuht.js.map → p-Dy6xvLn4.js.map} +1 -1
  178. package/components/{p-CwFNYtOl.js → p-PpLLlogo.js} +5 -5
  179. package/components/{p-CwFNYtOl.js.map → p-PpLLlogo.js.map} +1 -1
  180. package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
  181. package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
  182. package/dist/cjs/index.cjs.js.map +1 -1
  183. package/dist/cjs/{input.util-4AhBphgX.js → input.fc-DrxRYq_G.js} +69 -43
  184. package/dist/cjs/input.fc-DrxRYq_G.js.map +1 -0
  185. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  186. package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
  187. package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
  188. package/dist/cjs/ix-checkbox-group.cjs.entry.js +1 -1
  189. package/dist/cjs/ix-checkbox.cjs.entry.js +1 -1
  190. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  191. package/dist/cjs/ix-col_4.cjs.entry.js +9 -9
  192. package/dist/cjs/ix-custom-field.cjs.entry.js +1 -1
  193. package/dist/cjs/ix-date-input.cjs.entry.js +24 -12
  194. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  195. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  196. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  197. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  198. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  199. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  200. package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
  201. package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
  202. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  203. package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
  204. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  205. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
  206. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  207. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  208. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  209. package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
  210. package/dist/cjs/ix-field-label_2.cjs.entry.js +5 -5
  211. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  212. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  213. package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
  214. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
  215. package/dist/cjs/ix-group.cjs.entry.js +8 -8
  216. package/dist/cjs/ix-helper-text.cjs.entry.js +3 -3
  217. package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
  218. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  219. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  220. package/dist/cjs/ix-input.cjs.entry.js +21 -12
  221. package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
  222. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  223. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  224. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  225. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  226. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  227. package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
  228. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  229. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  230. package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
  231. package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
  232. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  233. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  234. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  235. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  236. package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
  237. package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +1 -0
  238. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  239. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  240. package/dist/cjs/ix-menu.cjs.entry.js +12 -12
  241. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  242. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  243. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  244. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  245. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  246. package/dist/cjs/ix-number-input.cjs.entry.js +162 -34
  247. package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
  248. package/dist/cjs/ix-pagination.cjs.entry.js +29 -7
  249. package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
  250. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  251. package/dist/cjs/ix-pane.cjs.entry.js +6 -6
  252. package/dist/cjs/ix-pill.cjs.entry.js +4 -4
  253. package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
  254. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  255. package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
  256. package/dist/cjs/ix-radio.cjs.entry.js +4 -4
  257. package/dist/cjs/ix-select.cjs.entry.js +53 -14
  258. package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
  259. package/dist/cjs/ix-slider.cjs.entry.js +6 -6
  260. package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
  261. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  262. package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
  263. package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
  264. package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
  265. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  266. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  267. package/dist/cjs/ix-time-input.cjs.entry.js +24 -12
  268. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  269. package/dist/cjs/ix-time-picker.cjs.entry.js +81 -45
  270. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  271. package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
  272. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  273. package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
  274. package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
  275. package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
  276. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  277. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  278. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  279. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  280. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
  281. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  282. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  283. package/dist/cjs/loader.cjs.js +1 -1
  284. package/dist/cjs/siemens-ix.cjs.js +1 -1
  285. package/dist/cjs/{validation-CfL71_0d.js → validation-DTmSqO2d.js} +9 -2
  286. package/dist/{esm/validation-D_dk-JqT.js.map → cjs/validation-DTmSqO2d.js.map} +1 -1
  287. package/dist/collection/components/category-filter/category-filter.css +321 -50
  288. package/dist/collection/components/category-filter/category-filter.js +13 -7
  289. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  290. package/dist/collection/components/date-input/date-input.js +60 -8
  291. package/dist/collection/components/date-input/date-input.js.map +1 -1
  292. package/dist/collection/components/date-picker/date-picker.css +6 -8
  293. package/dist/collection/components/date-picker/date-picker.js +5 -5
  294. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  295. package/dist/collection/components/date-time-card/date-time-card.css +3 -2
  296. package/dist/collection/components/datetime-picker/datetime-picker.css +12 -1
  297. package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
  298. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  299. package/dist/collection/components/divider/divider.js +1 -1
  300. package/dist/collection/components/drawer/drawer.js +5 -5
  301. package/dist/collection/components/dropdown/dropdown.js +2 -2
  302. package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
  303. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  304. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  305. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  306. package/dist/collection/components/empty-state/empty-state.js +1 -1
  307. package/dist/collection/components/event-list/event-list.js +2 -2
  308. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  309. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  310. package/dist/collection/components/field-label/field-label.js +1 -1
  311. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  312. package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
  313. package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
  314. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  315. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  316. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  317. package/dist/collection/components/group/group-context-menu.js +1 -1
  318. package/dist/collection/components/group/group.js +8 -8
  319. package/dist/collection/components/helper-text/helper-text.js +1 -1
  320. package/dist/collection/components/icon-button/icon-button.js +1 -1
  321. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  322. package/dist/collection/components/input/input.fc.js +10 -1
  323. package/dist/collection/components/input/input.fc.js.map +1 -1
  324. package/dist/collection/components/input/input.js +54 -5
  325. package/dist/collection/components/input/input.js.map +1 -1
  326. package/dist/collection/components/input/input.util.js +20 -3
  327. package/dist/collection/components/input/input.util.js.map +1 -1
  328. package/dist/collection/components/input/number-input.js +228 -36
  329. package/dist/collection/components/input/number-input.js.map +1 -1
  330. package/dist/collection/components/input/textarea.js +2 -2
  331. package/dist/collection/components/input-group/input-group.js +1 -1
  332. package/dist/collection/components/key-value/key-value.js +1 -1
  333. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  334. package/dist/collection/components/kpi/kpi.js +3 -3
  335. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  336. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  337. package/dist/collection/components/link-button/link-button.css +2 -8
  338. package/dist/collection/components/link-button/link-button.js +3 -3
  339. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  340. package/dist/collection/components/menu/menu.js +12 -12
  341. package/dist/collection/components/menu-about/menu-about.js +6 -4
  342. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  343. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  344. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  345. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  346. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  347. package/dist/collection/components/menu-category/menu-category.js +5 -5
  348. package/dist/collection/components/menu-item/menu-item.js +4 -4
  349. package/dist/collection/components/menu-settings/menu-settings.js +6 -4
  350. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  351. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  352. package/dist/collection/components/message-bar/message-bar.js +1 -1
  353. package/dist/collection/components/modal/modal.js +3 -3
  354. package/dist/collection/components/modal-content/modal-content.js +1 -1
  355. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  356. package/dist/collection/components/modal-header/modal-header.js +1 -1
  357. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  358. package/dist/collection/components/pagination/pagination.js +52 -7
  359. package/dist/collection/components/pagination/pagination.js.map +1 -1
  360. package/dist/collection/components/pane/pane.js +6 -6
  361. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  362. package/dist/collection/components/pill/pill.js +4 -4
  363. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  364. package/dist/collection/components/push-card/push-card.js +1 -1
  365. package/dist/collection/components/radio/radio.js +3 -3
  366. package/dist/collection/components/radio-group/radio-group.js +2 -2
  367. package/dist/collection/components/row/row.js +1 -1
  368. package/dist/collection/components/select/select.js +94 -14
  369. package/dist/collection/components/select/select.js.map +1 -1
  370. package/dist/collection/components/select-item/select-item.js +1 -1
  371. package/dist/collection/components/slider/slider.js +6 -6
  372. package/dist/collection/components/spinner/spinner.js +1 -1
  373. package/dist/collection/components/split-button/split-button.js +70 -12
  374. package/dist/collection/components/split-button/split-button.js.map +1 -1
  375. package/dist/collection/components/tab-item/tab-item.css +1 -1
  376. package/dist/collection/components/tab-item/tab-item.js +3 -3
  377. package/dist/collection/components/tabs/tabs.js +2 -2
  378. package/dist/collection/components/tile/tile.js +4 -4
  379. package/dist/collection/components/time-input/time-input.js +61 -9
  380. package/dist/collection/components/time-input/time-input.js.map +1 -1
  381. package/dist/collection/components/time-picker/time-picker.css +20 -52
  382. package/dist/collection/components/time-picker/time-picker.js +83 -48
  383. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  384. package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
  385. package/dist/collection/components/toast/toast-container.js +2 -2
  386. package/dist/collection/components/toast/toast.js +2 -2
  387. package/dist/collection/components/toggle/toggle.js +3 -3
  388. package/dist/collection/components/tooltip/tooltip.css +2 -3
  389. package/dist/collection/components/tooltip/tooltip.js +17 -6
  390. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  391. package/dist/collection/components/tree/tree.js +1 -1
  392. package/dist/collection/components/tree-item/tree-item.js +4 -4
  393. package/dist/collection/components/typography/typography.js +1 -1
  394. package/dist/collection/components/upload/upload.js +3 -3
  395. package/dist/collection/components/utils/input/validation.js +6 -0
  396. package/dist/collection/components/utils/input/validation.js.map +1 -1
  397. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
  398. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
  399. package/dist/collection/components/utils/modal/index.js.map +1 -1
  400. package/dist/collection/components/utils/modal/loading.js.map +1 -1
  401. package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
  402. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  403. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  404. package/dist/esm/{helper-text-util-BurV4TiQ.js → helper-text-util-gKdL-wH2.js} +8 -4
  405. package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
  406. package/dist/esm/index.js.map +1 -1
  407. package/dist/esm/{input.util-VHrSuCP7.js → input.fc-KJF8Z9iJ.js} +69 -44
  408. package/dist/esm/input.fc-KJF8Z9iJ.js.map +1 -0
  409. package/dist/esm/ix-avatar_2.entry.js +1 -1
  410. package/dist/esm/ix-category-filter.entry.js +14 -8
  411. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  412. package/dist/esm/ix-checkbox-group.entry.js +1 -1
  413. package/dist/esm/ix-checkbox.entry.js +1 -1
  414. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  415. package/dist/esm/ix-col_4.entry.js +9 -9
  416. package/dist/esm/ix-custom-field.entry.js +1 -1
  417. package/dist/esm/ix-date-input.entry.js +20 -8
  418. package/dist/esm/ix-date-input.entry.js.map +1 -1
  419. package/dist/esm/ix-date-time-card.entry.js +1 -1
  420. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  421. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  422. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  423. package/dist/esm/ix-divider.entry.js +1 -1
  424. package/dist/esm/ix-drawer.entry.js +5 -5
  425. package/dist/esm/ix-dropdown-button.entry.js +3 -3
  426. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  427. package/dist/esm/ix-dropdown-item.entry.js +3 -3
  428. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  429. package/dist/esm/ix-dropdown.entry.js +2 -2
  430. package/dist/esm/ix-empty-state.entry.js +1 -1
  431. package/dist/esm/ix-event-list-item.entry.js +4 -4
  432. package/dist/esm/ix-event-list.entry.js +2 -2
  433. package/dist/esm/ix-expanding-search.entry.js +4 -4
  434. package/dist/esm/ix-field-label_2.entry.js +5 -5
  435. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  436. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  437. package/dist/esm/ix-flip-tile.entry.js +3 -3
  438. package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
  439. package/dist/esm/ix-group.entry.js +8 -8
  440. package/dist/esm/ix-helper-text.entry.js +3 -3
  441. package/dist/esm/ix-icon-button_2.entry.js +2 -2
  442. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  443. package/dist/esm/ix-input-group.entry.js +1 -1
  444. package/dist/esm/ix-input.entry.js +16 -7
  445. package/dist/esm/ix-input.entry.js.map +1 -1
  446. package/dist/esm/ix-key-value-list.entry.js +1 -1
  447. package/dist/esm/ix-key-value.entry.js +1 -1
  448. package/dist/esm/ix-kpi.entry.js +3 -3
  449. package/dist/esm/ix-layout-auto.entry.js +1 -1
  450. package/dist/esm/ix-link-button.entry.js +4 -4
  451. package/dist/esm/ix-link-button.entry.js.map +1 -1
  452. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  453. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  454. package/dist/esm/ix-menu-about.entry.js +6 -4
  455. package/dist/esm/ix-menu-about.entry.js.map +1 -1
  456. package/dist/esm/ix-menu-avatar.entry.js +2 -2
  457. package/dist/esm/ix-menu-category.entry.js +5 -5
  458. package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
  459. package/dist/esm/ix-menu-item.entry.js +4 -4
  460. package/dist/esm/{ix-menu-settings-Bif4wByb.js → ix-menu-settings-f9o5GGw5.js} +14 -7
  461. package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
  462. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  463. package/dist/esm/ix-menu-settings.entry.js +1 -1
  464. package/dist/esm/ix-menu.entry.js +12 -12
  465. package/dist/esm/ix-message-bar.entry.js +1 -1
  466. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  467. package/dist/esm/ix-modal-footer.entry.js +1 -1
  468. package/dist/esm/ix-modal-loading.entry.js +1 -1
  469. package/dist/esm/ix-modal.entry.js +3 -3
  470. package/dist/esm/ix-number-input.entry.js +159 -31
  471. package/dist/esm/ix-number-input.entry.js.map +1 -1
  472. package/dist/esm/ix-pagination.entry.js +29 -7
  473. package/dist/esm/ix-pagination.entry.js.map +1 -1
  474. package/dist/esm/ix-pane-layout.entry.js +1 -1
  475. package/dist/esm/ix-pane.entry.js +6 -6
  476. package/dist/esm/ix-pill.entry.js +4 -4
  477. package/dist/esm/ix-progress-indicator.entry.js +3 -3
  478. package/dist/esm/ix-push-card.entry.js +1 -1
  479. package/dist/esm/ix-radio-group.entry.js +3 -3
  480. package/dist/esm/ix-radio.entry.js +4 -4
  481. package/dist/esm/ix-select.entry.js +53 -14
  482. package/dist/esm/ix-select.entry.js.map +1 -1
  483. package/dist/esm/ix-slider.entry.js +6 -6
  484. package/dist/esm/ix-split-button.entry.js +24 -12
  485. package/dist/esm/ix-split-button.entry.js.map +1 -1
  486. package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
  487. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  488. package/dist/esm/ix-textarea.entry.js +4 -4
  489. package/dist/esm/ix-tile.entry.js +4 -4
  490. package/dist/esm/ix-time-input.entry.js +21 -9
  491. package/dist/esm/ix-time-input.entry.js.map +1 -1
  492. package/dist/esm/ix-time-picker.entry.js +81 -45
  493. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  494. package/dist/esm/ix-toast-container.entry.js +2 -2
  495. package/dist/esm/ix-toast.entry.js +2 -2
  496. package/dist/esm/ix-toggle.entry.js +4 -4
  497. package/dist/esm/ix-tooltip.entry.js +17 -6
  498. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  499. package/dist/esm/ix-tree-item.entry.js +4 -4
  500. package/dist/esm/ix-tree.entry.js +1 -1
  501. package/dist/esm/ix-typography.entry.js +1 -1
  502. package/dist/esm/ix-upload.entry.js +3 -3
  503. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  504. package/dist/esm/ix-workflow-step.entry.js +3 -3
  505. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  506. package/dist/esm/loader.js +1 -1
  507. package/dist/esm/siemens-ix.js +1 -1
  508. package/dist/esm/{validation-D_dk-JqT.js → validation-LJh16vt2.js} +9 -3
  509. package/dist/{cjs/validation-CfL71_0d.js.map → esm/validation-LJh16vt2.js.map} +1 -1
  510. package/dist/siemens-ix/index.esm.js.map +1 -1
  511. package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
  512. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  513. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  514. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  515. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  516. package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
  517. package/dist/siemens-ix/ix-link-button.entry.esm.js.map +1 -1
  518. package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
  519. package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
  520. package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
  521. package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
  522. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  523. package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
  524. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  525. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  526. package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
  527. package/dist/siemens-ix/p-0411df39.entry.js +2 -0
  528. package/dist/siemens-ix/p-051f428c.entry.js +2 -0
  529. package/dist/siemens-ix/{p-4288bd66.entry.js.map → p-051f428c.entry.js.map} +1 -1
  530. package/dist/siemens-ix/p-0c325f08.entry.js +2 -0
  531. package/dist/siemens-ix/p-0c325f08.entry.js.map +1 -0
  532. package/dist/siemens-ix/{p-9f7f5cd3.entry.js → p-0ce03ad3.entry.js} +2 -2
  533. package/dist/siemens-ix/{p-60d2f3db.entry.js → p-0d621531.entry.js} +2 -2
  534. package/dist/siemens-ix/p-0eca5a77.entry.js +2 -0
  535. package/dist/siemens-ix/{p-65c759c5.entry.js.map → p-0eca5a77.entry.js.map} +1 -1
  536. package/dist/siemens-ix/{p-d70cd703.entry.js → p-196cffb5.entry.js} +2 -2
  537. package/dist/siemens-ix/{p-94596bff.entry.js → p-1de1a2bf.entry.js} +2 -2
  538. package/dist/siemens-ix/{p-b7c64537.entry.js → p-2597a988.entry.js} +2 -2
  539. package/dist/siemens-ix/{p-49843cce.entry.js → p-26c629c3.entry.js} +2 -2
  540. package/dist/siemens-ix/p-26c629c3.entry.js.map +1 -0
  541. package/dist/siemens-ix/{p-a8f08878.entry.js → p-2ffde2d5.entry.js} +2 -2
  542. package/dist/siemens-ix/p-31a8eaf9.entry.js +2 -0
  543. package/dist/siemens-ix/p-33b3ed5b.entry.js +2 -0
  544. package/dist/siemens-ix/p-33b3ed5b.entry.js.map +1 -0
  545. package/dist/siemens-ix/{p-2e3ac12c.entry.js → p-33fcea65.entry.js} +2 -2
  546. package/dist/siemens-ix/{p-bd2127d0.entry.js → p-367df024.entry.js} +2 -2
  547. package/dist/siemens-ix/{p-76bd4cf9.entry.js → p-37bd983a.entry.js} +2 -2
  548. package/dist/siemens-ix/{p-d2831f7b.entry.js → p-38e45020.entry.js} +2 -2
  549. package/dist/siemens-ix/{p-d997238b.entry.js → p-396e1f3d.entry.js} +2 -2
  550. package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
  551. package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
  552. package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
  553. package/dist/siemens-ix/{p-6880e267.entry.js.map → p-3f62166e.entry.js.map} +1 -1
  554. package/dist/siemens-ix/p-425d6925.entry.js +2 -0
  555. package/dist/siemens-ix/{p-ffe0835b.entry.js → p-4431f891.entry.js} +2 -2
  556. package/dist/siemens-ix/{p-ec3ec461.entry.js → p-484bddf4.entry.js} +2 -2
  557. package/dist/siemens-ix/{p-df5494ff.entry.js → p-496e98ac.entry.js} +2 -2
  558. package/dist/siemens-ix/{p-ab6d123c.entry.js → p-4c18f123.entry.js} +2 -2
  559. package/dist/siemens-ix/{p-c96ce76c.entry.js → p-4c1f90cb.entry.js} +2 -2
  560. package/dist/siemens-ix/{p-a53d7dbb.entry.js → p-4e4d792d.entry.js} +2 -2
  561. package/dist/siemens-ix/{p-620158aa.entry.js → p-4e77d861.entry.js} +2 -2
  562. package/dist/siemens-ix/{p-80981f03.entry.js → p-5779f16e.entry.js} +2 -2
  563. package/dist/siemens-ix/{p-4d0e900c.entry.js → p-5b57bde1.entry.js} +2 -2
  564. package/dist/siemens-ix/{p-acb7c236.entry.js → p-667e3184.entry.js} +2 -2
  565. package/dist/siemens-ix/p-68aaf0fe.entry.js +2 -0
  566. package/dist/siemens-ix/p-68aaf0fe.entry.js.map +1 -0
  567. package/dist/siemens-ix/{p-92e0ebf1.entry.js → p-6a4bc78a.entry.js} +2 -2
  568. package/dist/siemens-ix/p-6dc6eb63.entry.js +2 -0
  569. package/dist/siemens-ix/{p-453aa17a.entry.js.map → p-6dc6eb63.entry.js.map} +1 -1
  570. package/dist/siemens-ix/{p-319e292f.entry.js → p-74e7b03f.entry.js} +2 -2
  571. package/dist/siemens-ix/{p-7c474c82.entry.js → p-77fd2138.entry.js} +2 -2
  572. package/dist/siemens-ix/p-79537728.entry.js +2 -0
  573. package/dist/siemens-ix/{p-11b1eaa3.entry.js → p-7bad0544.entry.js} +2 -2
  574. package/dist/siemens-ix/{p-23e4f5f3.entry.js → p-7beba4ad.entry.js} +2 -2
  575. package/dist/siemens-ix/p-7beba4ad.entry.js.map +1 -0
  576. package/dist/siemens-ix/p-8b42ad35.entry.js +2 -0
  577. package/dist/siemens-ix/{p-31f77d98.entry.js.map → p-8b42ad35.entry.js.map} +1 -1
  578. package/dist/siemens-ix/{p-5c22d3e5.entry.js → p-8f9368b8.entry.js} +2 -2
  579. package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
  580. package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
  581. package/dist/siemens-ix/{p-DBsKyLIP.js → p-BcCDexod.js} +2 -2
  582. package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
  583. package/dist/siemens-ix/{p-CAj3Tlcn.js → p-C7nQNUsO.js} +2 -2
  584. package/dist/siemens-ix/{p-CAj3Tlcn.js.map → p-C7nQNUsO.js.map} +1 -1
  585. package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
  586. package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
  587. package/dist/siemens-ix/p-DaswuiGO.js +2 -0
  588. package/dist/siemens-ix/p-DaswuiGO.js.map +1 -0
  589. package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
  590. package/dist/siemens-ix/{p-0fd006b9.entry.js → p-a4225101.entry.js} +2 -2
  591. package/dist/siemens-ix/{p-1c83cb5f.entry.js → p-b27a9744.entry.js} +2 -2
  592. package/dist/siemens-ix/{p-75a10c1e.entry.js → p-b3453edf.entry.js} +2 -2
  593. package/dist/siemens-ix/p-b41a7abb.entry.js +2 -0
  594. package/dist/siemens-ix/{p-53df921a.entry.js.map → p-b41a7abb.entry.js.map} +1 -1
  595. package/dist/siemens-ix/{p-9a4db5e9.entry.js → p-b76df1c7.entry.js} +2 -2
  596. package/dist/siemens-ix/{p-332dccc7.entry.js → p-b7ef70d4.entry.js} +2 -2
  597. package/dist/siemens-ix/{p-43ecc5c3.entry.js → p-b8f4b001.entry.js} +2 -2
  598. package/dist/siemens-ix/{p-531f9746.entry.js → p-b9880608.entry.js} +2 -2
  599. package/dist/siemens-ix/p-ba9ed3d1.entry.js +2 -0
  600. package/dist/siemens-ix/p-ba9ed3d1.entry.js.map +1 -0
  601. package/dist/siemens-ix/{p-4a127027.entry.js → p-c15e64a8.entry.js} +2 -2
  602. package/dist/siemens-ix/{p-7364534a.entry.js → p-c43b201b.entry.js} +2 -2
  603. package/dist/siemens-ix/{p-619a3dc8.entry.js → p-c5c863e1.entry.js} +2 -2
  604. package/dist/siemens-ix/{p-bb744e91.entry.js → p-c94739d0.entry.js} +2 -2
  605. package/dist/siemens-ix/{p-8cb3d70c.entry.js → p-ca3b24b1.entry.js} +2 -2
  606. package/dist/siemens-ix/{p-4acf0d7b.entry.js → p-cd1afcc9.entry.js} +2 -2
  607. package/dist/siemens-ix/{p-713df610.entry.js → p-cf041cfd.entry.js} +2 -2
  608. package/dist/siemens-ix/{p-338c68ea.entry.js → p-d10b9798.entry.js} +2 -2
  609. package/dist/siemens-ix/{p-6fd7d11a.entry.js → p-d193381f.entry.js} +2 -2
  610. package/dist/siemens-ix/{p-b76ed7c3.entry.js → p-d2c18c15.entry.js} +2 -2
  611. package/dist/siemens-ix/p-d2c18c15.entry.js.map +1 -0
  612. package/dist/siemens-ix/{p-d90d1310.entry.js → p-d3a60c52.entry.js} +2 -2
  613. package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
  614. package/dist/siemens-ix/{p-2d96a4a1.entry.js.map → p-d688f76e.entry.js.map} +1 -1
  615. package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
  616. package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
  617. package/dist/siemens-ix/p-de12078d.entry.js +2 -0
  618. package/dist/siemens-ix/{p-418671c7.entry.js.map → p-de12078d.entry.js.map} +1 -1
  619. package/dist/siemens-ix/{p-f40573e7.entry.js → p-df6bb698.entry.js} +2 -2
  620. package/dist/siemens-ix/p-e0b9cf68.entry.js +2 -0
  621. package/dist/siemens-ix/{p-5bb86bf7.entry.js → p-e42f62a1.entry.js} +2 -2
  622. package/dist/siemens-ix/{p-fb02d7fd.entry.js → p-e48977ed.entry.js} +2 -2
  623. package/dist/siemens-ix/{p-3099c12a.entry.js → p-e7bdc0a0.entry.js} +2 -2
  624. package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
  625. package/dist/siemens-ix/{p-ff6f13e1.entry.js → p-ea15fc79.entry.js} +2 -2
  626. package/dist/siemens-ix/{p-18d4645d.entry.js → p-ea37abf6.entry.js} +2 -2
  627. package/dist/siemens-ix/{p-f253d38c.entry.js → p-eba7f62c.entry.js} +2 -2
  628. package/dist/siemens-ix/{p-6045dce9.entry.js → p-f119c105.entry.js} +2 -2
  629. package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
  630. package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
  631. package/dist/siemens-ix/{p-2b2f339e.entry.js → p-fc73c8cc.entry.js} +2 -2
  632. package/dist/siemens-ix/{p-e3dca831.entry.js → p-ff83eafd.entry.js} +2 -2
  633. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  634. package/dist/siemens-ix/siemens-ix.css +2 -5
  635. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  636. package/dist/types/components/date-input/date-input.d.ts +10 -0
  637. package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
  638. package/dist/types/components/input/input.d.ts +9 -0
  639. package/dist/types/components/input/input.fc.d.ts +6 -0
  640. package/dist/types/components/input/input.util.d.ts +1 -0
  641. package/dist/types/components/input/number-input.d.ts +31 -5
  642. package/dist/types/components/menu-about/menu-about.d.ts +1 -1
  643. package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
  644. package/dist/types/components/pagination/pagination.d.ts +8 -0
  645. package/dist/types/components/select/select.d.ts +11 -0
  646. package/dist/types/components/split-button/split-button.d.ts +15 -4
  647. package/dist/types/components/time-input/time-input.d.ts +10 -0
  648. package/dist/types/components/time-picker/time-picker.d.ts +8 -2
  649. package/dist/types/components/tooltip/tooltip.d.ts +2 -1
  650. package/dist/types/components/utils/input/validation.d.ts +1 -0
  651. package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
  652. package/dist/types/components/utils/modal/index.d.ts +1 -1
  653. package/dist/types/components/utils/modal/loading.d.ts +4 -0
  654. package/dist/types/components.d.ts +160 -12
  655. package/hydrate/index.js +707 -364
  656. package/hydrate/index.mjs +707 -364
  657. package/package.json +1 -1
  658. package/scss/components/_links.scss +2 -5
  659. package/scss/mixins/_input.scss +2 -2
  660. package/scss/theme/classic/dark/_variables.scss +1 -1
  661. package/components/p-BAG4Ixzu.js.map +0 -1
  662. package/components/p-C56HnkHy.js.map +0 -1
  663. package/components/p-CDPfohEH.js.map +0 -1
  664. package/components/p-ChFNWyCb.js.map +0 -1
  665. package/components/p-CvuFiT5X.js.map +0 -1
  666. package/components/p-FWLjfP4_.js.map +0 -1
  667. package/components/p-OLe05BAC.js.map +0 -1
  668. package/components/p-Ow_osSm5.js.map +0 -1
  669. package/components/p-S6nC3Yb4.js.map +0 -1
  670. package/components/p-xHo-3QVy.js.map +0 -1
  671. package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
  672. package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
  673. package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
  674. package/dist/esm/helper-text-util-BurV4TiQ.js.map +0 -1
  675. package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
  676. package/dist/esm/ix-menu-settings-Bif4wByb.js.map +0 -1
  677. package/dist/siemens-ix/p-10ed549b.entry.js +0 -2
  678. package/dist/siemens-ix/p-10ed549b.entry.js.map +0 -1
  679. package/dist/siemens-ix/p-1550973a.entry.js +0 -2
  680. package/dist/siemens-ix/p-1de6e736.entry.js +0 -2
  681. package/dist/siemens-ix/p-1de6e736.entry.js.map +0 -1
  682. package/dist/siemens-ix/p-23e4f5f3.entry.js.map +0 -1
  683. package/dist/siemens-ix/p-2d96a4a1.entry.js +0 -2
  684. package/dist/siemens-ix/p-3099c12a.entry.js.map +0 -1
  685. package/dist/siemens-ix/p-31f77d98.entry.js +0 -2
  686. package/dist/siemens-ix/p-418671c7.entry.js +0 -2
  687. package/dist/siemens-ix/p-4288bd66.entry.js +0 -2
  688. package/dist/siemens-ix/p-453aa17a.entry.js +0 -2
  689. package/dist/siemens-ix/p-45b53c34.entry.js +0 -2
  690. package/dist/siemens-ix/p-45b53c34.entry.js.map +0 -1
  691. package/dist/siemens-ix/p-49843cce.entry.js.map +0 -1
  692. package/dist/siemens-ix/p-53df921a.entry.js +0 -2
  693. package/dist/siemens-ix/p-598ece5a.entry.js +0 -2
  694. package/dist/siemens-ix/p-65c759c5.entry.js +0 -2
  695. package/dist/siemens-ix/p-6880e267.entry.js +0 -2
  696. package/dist/siemens-ix/p-712e393d.entry.js +0 -2
  697. package/dist/siemens-ix/p-712e393d.entry.js.map +0 -1
  698. package/dist/siemens-ix/p-89a7705b.entry.js +0 -2
  699. package/dist/siemens-ix/p-89a7705b.entry.js.map +0 -1
  700. package/dist/siemens-ix/p-DBsKyLIP.js.map +0 -1
  701. package/dist/siemens-ix/p-DS9crO46.js +0 -2
  702. package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
  703. package/dist/siemens-ix/p-DXAZefAa.js +0 -2
  704. package/dist/siemens-ix/p-DXAZefAa.js.map +0 -1
  705. package/dist/siemens-ix/p-a0ffeea7.entry.js +0 -2
  706. package/dist/siemens-ix/p-a6e398d2.entry.js +0 -2
  707. package/dist/siemens-ix/p-b64a3d8a.entry.js +0 -2
  708. package/dist/siemens-ix/p-b76ed7c3.entry.js.map +0 -1
  709. package/dist/siemens-ix/p-b7da78c6.entry.js +0 -2
  710. package/dist/siemens-ix/p-b7da78c6.entry.js.map +0 -1
  711. package/dist/siemens-ix/p-c6536a88.entry.js +0 -2
  712. package/dist/siemens-ix/p-d18df859.entry.js +0 -2
  713. package/dist/siemens-ix/p-e5180acd.entry.js +0 -2
  714. package/dist/siemens-ix/p-e5180acd.entry.js.map +0 -1
  715. package/dist/siemens-ix/p-fdb802ac.entry.js +0 -2
  716. /package/dist/siemens-ix/{p-fdb802ac.entry.js.map → p-0411df39.entry.js.map} +0 -0
  717. /package/dist/siemens-ix/{p-9f7f5cd3.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
  718. /package/dist/siemens-ix/{p-60d2f3db.entry.js.map → p-0d621531.entry.js.map} +0 -0
  719. /package/dist/siemens-ix/{p-d70cd703.entry.js.map → p-196cffb5.entry.js.map} +0 -0
  720. /package/dist/siemens-ix/{p-94596bff.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
  721. /package/dist/siemens-ix/{p-b7c64537.entry.js.map → p-2597a988.entry.js.map} +0 -0
  722. /package/dist/siemens-ix/{p-a8f08878.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
  723. /package/dist/siemens-ix/{p-598ece5a.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
  724. /package/dist/siemens-ix/{p-2e3ac12c.entry.js.map → p-33fcea65.entry.js.map} +0 -0
  725. /package/dist/siemens-ix/{p-bd2127d0.entry.js.map → p-367df024.entry.js.map} +0 -0
  726. /package/dist/siemens-ix/{p-76bd4cf9.entry.js.map → p-37bd983a.entry.js.map} +0 -0
  727. /package/dist/siemens-ix/{p-d2831f7b.entry.js.map → p-38e45020.entry.js.map} +0 -0
  728. /package/dist/siemens-ix/{p-d997238b.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
  729. /package/dist/siemens-ix/{p-c6536a88.entry.js.map → p-425d6925.entry.js.map} +0 -0
  730. /package/dist/siemens-ix/{p-ffe0835b.entry.js.map → p-4431f891.entry.js.map} +0 -0
  731. /package/dist/siemens-ix/{p-ec3ec461.entry.js.map → p-484bddf4.entry.js.map} +0 -0
  732. /package/dist/siemens-ix/{p-df5494ff.entry.js.map → p-496e98ac.entry.js.map} +0 -0
  733. /package/dist/siemens-ix/{p-ab6d123c.entry.js.map → p-4c18f123.entry.js.map} +0 -0
  734. /package/dist/siemens-ix/{p-c96ce76c.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
  735. /package/dist/siemens-ix/{p-a53d7dbb.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
  736. /package/dist/siemens-ix/{p-620158aa.entry.js.map → p-4e77d861.entry.js.map} +0 -0
  737. /package/dist/siemens-ix/{p-80981f03.entry.js.map → p-5779f16e.entry.js.map} +0 -0
  738. /package/dist/siemens-ix/{p-4d0e900c.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
  739. /package/dist/siemens-ix/{p-acb7c236.entry.js.map → p-667e3184.entry.js.map} +0 -0
  740. /package/dist/siemens-ix/{p-92e0ebf1.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
  741. /package/dist/siemens-ix/{p-319e292f.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
  742. /package/dist/siemens-ix/{p-7c474c82.entry.js.map → p-77fd2138.entry.js.map} +0 -0
  743. /package/dist/siemens-ix/{p-b64a3d8a.entry.js.map → p-79537728.entry.js.map} +0 -0
  744. /package/dist/siemens-ix/{p-11b1eaa3.entry.js.map → p-7bad0544.entry.js.map} +0 -0
  745. /package/dist/siemens-ix/{p-5c22d3e5.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
  746. /package/dist/siemens-ix/{p-d18df859.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
  747. /package/dist/siemens-ix/{p-a6e398d2.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
  748. /package/dist/siemens-ix/{p-1550973a.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
  749. /package/dist/siemens-ix/{p-0fd006b9.entry.js.map → p-a4225101.entry.js.map} +0 -0
  750. /package/dist/siemens-ix/{p-1c83cb5f.entry.js.map → p-b27a9744.entry.js.map} +0 -0
  751. /package/dist/siemens-ix/{p-75a10c1e.entry.js.map → p-b3453edf.entry.js.map} +0 -0
  752. /package/dist/siemens-ix/{p-9a4db5e9.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
  753. /package/dist/siemens-ix/{p-332dccc7.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
  754. /package/dist/siemens-ix/{p-43ecc5c3.entry.js.map → p-b8f4b001.entry.js.map} +0 -0
  755. /package/dist/siemens-ix/{p-531f9746.entry.js.map → p-b9880608.entry.js.map} +0 -0
  756. /package/dist/siemens-ix/{p-4a127027.entry.js.map → p-c15e64a8.entry.js.map} +0 -0
  757. /package/dist/siemens-ix/{p-7364534a.entry.js.map → p-c43b201b.entry.js.map} +0 -0
  758. /package/dist/siemens-ix/{p-619a3dc8.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
  759. /package/dist/siemens-ix/{p-bb744e91.entry.js.map → p-c94739d0.entry.js.map} +0 -0
  760. /package/dist/siemens-ix/{p-8cb3d70c.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
  761. /package/dist/siemens-ix/{p-4acf0d7b.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
  762. /package/dist/siemens-ix/{p-713df610.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
  763. /package/dist/siemens-ix/{p-338c68ea.entry.js.map → p-d10b9798.entry.js.map} +0 -0
  764. /package/dist/siemens-ix/{p-6fd7d11a.entry.js.map → p-d193381f.entry.js.map} +0 -0
  765. /package/dist/siemens-ix/{p-d90d1310.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
  766. /package/dist/siemens-ix/{p-f40573e7.entry.js.map → p-df6bb698.entry.js.map} +0 -0
  767. /package/dist/siemens-ix/{p-a0ffeea7.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
  768. /package/dist/siemens-ix/{p-5bb86bf7.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
  769. /package/dist/siemens-ix/{p-fb02d7fd.entry.js.map → p-e48977ed.entry.js.map} +0 -0
  770. /package/dist/siemens-ix/{p-ff6f13e1.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
  771. /package/dist/siemens-ix/{p-18d4645d.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
  772. /package/dist/siemens-ix/{p-f253d38c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
  773. /package/dist/siemens-ix/{p-6045dce9.entry.js.map → p-f119c105.entry.js.map} +0 -0
  774. /package/dist/siemens-ix/{p-2b2f339e.entry.js.map → p-fc73c8cc.entry.js.map} +0 -0
  775. /package/dist/siemens-ix/{p-e3dca831.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
@@ -8,12 +8,12 @@ import { a as convertToRemString } from './p-JJddxCCh.js';
8
8
  import { t as themeSwitcher } from './p-CsHYWHE6.js';
9
9
  import { C as iconNavigationLeft, D as iconNavigationRight, a as iconApps, E as iconCogwheel, F as iconLightDark, o as iconInfo } from './p-BvsadYCu.js';
10
10
  import { A as Animation } from './p-C5MWUgDN.js';
11
- import { d as defineCustomElement$7 } from './p-DInJFFDT.js';
12
- import { d as defineCustomElement$6 } from './p-CwFNYtOl.js';
13
- import { d as defineCustomElement$5 } from './p-BTR8UA6s.js';
14
- import { d as defineCustomElement$4 } from './p-D8hPr0Kb.js';
15
- import { d as defineCustomElement$3 } from './p-Ow_osSm5.js';
16
- import { d as defineCustomElement$2 } from './p-B-mB5dVY.js';
11
+ import { d as defineCustomElement$7 } from './p-BEDohapR.js';
12
+ import { d as defineCustomElement$6 } from './p-PpLLlogo.js';
13
+ import { d as defineCustomElement$5 } from './p-DSTHZygb.js';
14
+ import { d as defineCustomElement$4 } from './p-1pd_0dhF.js';
15
+ import { d as defineCustomElement$3 } from './p-DXFN8JXp.js';
16
+ import { d as defineCustomElement$2 } from './p-BBwXlKhE.js';
17
17
 
18
18
  /*
19
19
  * SPDX-FileCopyrightText: 2023 Siemens AG
@@ -455,44 +455,44 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends H {
455
455
  }
456
456
  render() {
457
457
  var _a, _b;
458
- return (h(Host, { key: '7c30f31880d51956013f87fe21ea0abf4129f67b', class: {
458
+ return (h(Host, { key: 'b36f27c9c7b9342fd8f984dd5d00ad73d735b2ff', class: {
459
459
  expanded: this.expand,
460
460
  [`breakpoint-${this.breakpoint}`]: true,
461
- }, slot: "menu" }, h("nav", { key: 'ff157fa24a58cd522b33ac035d99086a8dfec7bc', class: {
461
+ }, slot: "menu" }, h("nav", { key: '4f4b1378ddfe2cb243d0a5305679c98084490e8b', class: {
462
462
  menu: true,
463
463
  expanded: this.expand,
464
- } }, h("div", { key: 'a3935afe8ee867e934f1c778583d22d11f5cf957', class: "menu-buttons" }, this.breakpoint !== 'sm' && (h("ix-menu-expand-icon", { key: '067059b37dc7e99ac05bdf3f96f4f417403e1915', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
465
- ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (h("ix-icon-button", { key: 'd9c3d29552e6e8adeba3c44c04a563da430ea9b8', onClick: () => {
464
+ } }, h("div", { key: '70d117cfe299bdb3f3b0ed9639d5ee83bfc33cf1', class: "menu-buttons" }, this.breakpoint !== 'sm' && (h("ix-menu-expand-icon", { key: 'fa76b253e6cf1ae30e3257cc3c186dc23215b516', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
465
+ ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (h("ix-icon-button", { key: '927aede1c7824c6c21eed072e7dba6db8d5f8df5', onClick: () => {
466
466
  this.showAppSwitch();
467
- }, icon: iconApps, variant: "subtle-tertiary" }))), h("div", { key: 'bf2a827004f7e2d337ba55fc288e7abe418ec6dd', id: "menu-tabs", style: {
467
+ }, icon: iconApps, variant: "subtle-tertiary" }))), h("div", { key: '795f32dc8f94404a75c9a0d0cfb7c8e8d429d8d2', id: "menu-tabs", style: {
468
468
  display: 'contents',
469
- }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: 'ee11e15bb3d0e4b6cd3263788aac1eba043dae99', class: "tabs-shadow-container" }, h("div", { key: '0803887ba70d6558cf5e4a890e0eca39b49ff518', class: {
469
+ }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: '4d609cfd70659c0adfcb1cfca0485edff3b05d08', class: "tabs-shadow-container" }, h("div", { key: 'b8b81a13d75c56f9a460f0db382acef185b1c11c', class: {
470
470
  'tabs--shadow': true,
471
471
  'tabs--shadow-top': true,
472
472
  'tabs--shadow--show': this.itemsScrollShadowTop,
473
- } }), h("div", { key: '7e43e530408b8a5408e2a0c00d4e89b695d0d871', class: {
473
+ } }), h("div", { key: '1095f30e782665f9d66d7f2619eb3a68806ccf54', class: {
474
474
  tabs: true,
475
475
  'show-scrollbar': this.expand,
476
- }, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: 'e9f5421b30d3505a1a80ecdea28d78770a2f25fd', class: "menu-avatar" }, h("slot", { key: 'c0d0ab2965a271540b41165eaf95fcd13072ae07', name: "ix-menu-avatar" })), h("slot", { key: '3b427bbba570fc61bbe44f6138f338025b144725', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (h("slot", null)) : null), h("div", { key: 'c7bb85da2610aef008b75fe560af46aac221ffc5', class: {
476
+ }, onScroll: () => this.handleOverflowIndicator() }, h("div", { key: '55ec2b8a3b535c8ed7dfc4c80ecdeedf9add4d34', class: "menu-avatar" }, h("slot", { key: 'a893aea63d56c2b4e7fd5997904704639257f65b', name: "ix-menu-avatar" })), h("slot", { key: '85505735fc0f7c9075340389597565bd99e64801', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (h("slot", null)) : null), h("div", { key: '7a0013bb20500931471b1ee1273615d0ae740d11', class: {
477
477
  'tabs--shadow': true,
478
478
  'tabs--shadow-bottom': true,
479
479
  'tabs--shadow--show': this.itemsScrollShadowBottom,
480
- } }))), h("div", { key: '80b67bd3408917c424661ff603b6b12a08b5c256', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
480
+ } }))), h("div", { key: '92a48e39684e2bbbb6078dcafc5c8b7103a693de', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
481
481
  'internal-tab': true,
482
482
  'bottom-tab': true,
483
483
  active: this.showSettings,
484
- }, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, h("div", { key: '93bc9bfe4c557cbfcc66eaac5cc21118578b050a', onClick: (e) => this.onMenuItemsClick(e) }, h("slot", { key: '9910c841207e3a62b3699cc5e54843155557bb65', name: "bottom" })), h("div", { key: 'f3bd210849640e293625b418f928eb12eb6bb8a5', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
484
+ }, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, h("div", { key: '2a5bad2eb493be6ee59fc101fab300bdb154feb0', onClick: (e) => this.onMenuItemsClick(e) }, h("slot", { key: '5a1e19962a88ceeb1f82ac385dba49d0c311e3d7', name: "bottom" })), h("div", { key: '65802881403efad9dbae84ef9bf5d441e3915150', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
485
485
  'internal-tab': true,
486
486
  'bottom-tab': true,
487
487
  active: this.showAbout,
488
- }, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), h("div", { key: '54785101f98f046af558820493555a3d4739ace3', class: {
488
+ }, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), h("div", { key: 'e6dd7e53abbd5e4ce11cc5d2be882dd52e335275', class: {
489
489
  'menu-overlay': true,
490
490
  visible: this.isOverlayVisible(),
491
491
  expanded: this.expand,
492
492
  }, onTransitionEnd: () => {
493
493
  this.isTransitionDisabled = true;
494
494
  this.checkTransition();
495
- } }, h("div", { key: '740f1a98fe2bafb8da7d5457395dee136a5ce9ec', class: 'menu-overlay-container' }, this.showSettings ? h("slot", { name: "ix-menu-settings" }) : null), h("div", { key: '3e2f774925487e9da132a3d7b3633486bece3976', class: 'menu-overlay-container' }, this.showAbout ? h("slot", { name: "ix-menu-about" }) : null))));
495
+ } }, h("div", { key: 'd8a49e3983b5d060190f1440b4aacd44243894a8', class: 'menu-overlay-container' }, this.showSettings ? h("slot", { name: "ix-menu-settings" }) : null), h("div", { key: '92ddf6c21d3d08c5d1961200ac598a6135c9ef89', class: 'menu-overlay-container' }, this.showAbout ? h("slot", { name: "ix-menu-about" }) : null))));
496
496
  }
497
497
  get hostElement() { return this; }
498
498
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D-__gyet.js';
2
2
  import { a as animate } from './p-DhE1t8Qh.js';
3
3
  import { J as iconNotification, o as iconInfo, r as iconSuccess, p as iconWarning, K as iconWarningRhomb, q as iconError, v as iconClose } from './p-BvsadYCu.js';
4
- import { d as defineCustomElement$3 } from './p-DInJFFDT.js';
5
- import { d as defineCustomElement$2 } from './p-D8hPr0Kb.js';
4
+ import { d as defineCustomElement$3 } from './p-BEDohapR.js';
5
+ import { d as defineCustomElement$2 } from './p-1pd_0dhF.js';
6
6
 
7
7
  const messageBarCss = ":host{margin:0.5rem 0.5rem 0rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .message-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}:host .alarm{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .danger{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}:host .critical{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-critical)}:host .warning{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}:host .success{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-success)}:host .info{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}:host .neutral{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral)}:host .primary{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-primary)}:host .message-content{flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:normal;white-space:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ix-icon{margin-top:0.25rem}:host .message-bar-hidden{display:none}";
8
8
 
@@ -46,7 +46,7 @@ const MessageBar = /*@__PURE__*/ proxyCustomElement(class MessageBar extends H {
46
46
  }
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: '22bbc355ba3fca3209fab0491ae186f59bb64b02' }, h("div", { key: 'a84b47392ddfd8a8b0863ce99aa17985fbf39b4d', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, h("ix-icon", { key: '6528c7bd5a8b484858c97ca0e072704dcf37ad1c', color: this.color, name: this.icon }), h("div", { key: '07eed52e33baa107ebdebb10ef478d775901faf3', class: "message-content" }, h("slot", { key: 'cd5981304f6998d55edc38fa3fb0c67e139b8278' })), !this.persistent && (h("ix-icon-button", { key: 'ac6a235e1080bbb942c102f7c0e5c04672176557', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
49
+ return (h(Host, { key: '538fcc08ad07fe808f424e067a361f4a56f4c0ec' }, h("div", { key: '4a75052efe1b22c247dcfcd298aabbd1098ff7b6', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, h("ix-icon", { key: 'd348829692e38a1023e044834aefa45516b4d916', color: this.color, name: this.icon }), h("div", { key: '0ac0a509efe1dd246f7732660e4cf16416c8655d', class: "message-content" }, h("slot", { key: '6143bfa9cf39d32d149c2893b7712358337833c9' })), !this.persistent && (h("ix-icon-button", { key: 'b118c91956af0fd00d02cfefdb7da36d46f2d360', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
50
50
  if (this.divElement) {
51
51
  this.closeAlert(this.divElement);
52
52
  }
@@ -1,4 +1,4 @@
1
- import { M as ModalContent, d as defineCustomElement$1 } from './p-D6KzHh-w.js';
1
+ import { M as ModalContent, d as defineCustomElement$1 } from './p-C4KxNeD2.js';
2
2
 
3
3
  const IxModalContent = ModalContent;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -11,7 +11,7 @@ const ModalFooter = /*@__PURE__*/ proxyCustomElement(class ModalFooter extends H
11
11
  this.__attachShadow();
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'bab5a43ac92a13caca46d241091c27c773990aba' }, h("slot", { key: 'fefe386636d486a7e1d4b35a23eafe0d04b7270c' })));
14
+ return (h(Host, { key: '11eb649edd163b25fdeb4b533bf513a861c1d7ec' }, h("slot", { key: '9a2cb92b8df8220ed2307d98ec7a1ce6a6d9196b' })));
15
15
  }
16
16
  static get style() { return modalFooterCss; }
17
17
  }, [257, "ix-modal-footer"]);
@@ -1,4 +1,4 @@
1
- import { M as ModalHeader, d as defineCustomElement$1 } from './p-DkKuaBAh.js';
1
+ import { M as ModalHeader, d as defineCustomElement$1 } from './p-ClQxnZ3d.js';
2
2
 
3
3
  const IxModalHeader = ModalHeader;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-D-__gyet.js';
2
- import { d as defineCustomElement$2 } from './p-D8hPr0Kb.js';
2
+ import { d as defineCustomElement$2 } from './p-1pd_0dhF.js';
3
3
 
4
4
  const modalLoadingCss = ":host{display:flex;justify-content:flex-start;align-items:center;gap:0.5rem;overflow:hidden}:host .loading-text{display:block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";
5
5
 
@@ -12,7 +12,7 @@ const ModalLoading = /*@__PURE__*/ proxyCustomElement(class ModalLoading extends
12
12
  this.__attachShadow();
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'dac65dc36124b038728e843240d126432d85e987' }, h("ix-spinner", { key: '639371732304b733f79cf8498e46442ff6a442df', variant: "primary" }), h("span", { key: 'a9bf046b8c00552a4135cc5046789027abd1803e', class: 'loading-text' }, h("slot", { key: '362185ef3806ddb57c90f6fdf776cb3563baf903' }))));
15
+ return (h(Host, { key: '404214a461e55c9ee78aad8dc277dab5be8a9b42' }, h("ix-spinner", { key: '96278c04d8c7798b411f6807e5c7a1ea26b03d45', variant: "primary" }), h("span", { key: 'cad3eec78defa832ffc679f86941ffc301bc5b5c', class: 'loading-text' }, h("slot", { key: '96cf92b74f62260ee97b7bdae73557a2ee5517ec' }))));
16
16
  }
17
17
  static get style() { return modalLoadingCss; }
18
18
  }, [257, "ix-modal-loading"]);
@@ -191,17 +191,17 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends H {
191
191
  this.ariaAttributes = a11yHostAttributes(this.hostElement);
192
192
  }
193
193
  render() {
194
- return (h(Host, { key: '192ded80682348ff755d91a613faaca1a8b0753f', class: {
194
+ return (h(Host, { key: '0170729f63356223c39bcd6b0bb7124b2036f2c4', class: {
195
195
  visible: this.modalVisible,
196
196
  'no-backdrop': this.hideBackdrop,
197
197
  'align-center': this.centered,
198
- } }, h("div", { key: '709679987ecf4e1b1e03374c7c9373332fe01a74', class: "dialog-backdrop" }, h("dialog", { key: '10222a2e51235c3be195eb6b2e7d2ad2e1d887f9', "aria-modal": a11yBoolean(true), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
198
+ } }, h("div", { key: '436b9f2efce7279defa936c9ee79fa44d090e388', class: "dialog-backdrop" }, h("dialog", { key: 'e3bc4891433993a5dcbe186011fd91d70277ca3d', "aria-modal": a11yBoolean(true), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
199
199
  modal: true,
200
200
  [`modal-size-${this.size}`]: true,
201
201
  }, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onCancel: (e) => {
202
202
  e.preventDefault();
203
203
  this.dismissModal();
204
- } }, h("slot", { key: 'a9c321d71d3e08d581bb2e6ad9e3d377663a2c52' })))));
204
+ } }, h("slot", { key: '5a3e86b9c04f8e1564be6026b0352940978f0666' })))));
205
205
  }
206
206
  get hostElement() { return this; }
207
207
  static get style() { return modalCss; }
@@ -1,19 +1,19 @@
1
1
  import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D-__gyet.js';
2
2
  import { L as iconMinus, M as iconPlus } from './p-BvsadYCu.js';
3
- import { H as HookValidationLifecycle } from './p-xHo-3QVy.js';
3
+ import { H as HookValidationLifecycle } from './p-Dq_H2flK.js';
4
4
  import { m as makeRef } from './p-bcj7UEIC.js';
5
- import { m as mapValidationResult, a as addDisposableChangesAndVisibilityObservers, b as adjustPaddingForStartAndEnd, c as SlotStart, I as InputElement, d as checkAllowedKeys, o as onInputBlur, S as SlotEnd, e as checkInternalValidity } from './p-S6nC3Yb4.js';
6
- import { d as defineCustomElement$7 } from './p-4kEXJDiJ.js';
7
- import { d as defineCustomElement$6 } from './p-Cj9oZ8ym.js';
8
- import { d as defineCustomElement$5 } from './p-DInJFFDT.js';
9
- import { d as defineCustomElement$4 } from './p-D8hPr0Kb.js';
10
- import { d as defineCustomElement$3 } from './p-Ow_osSm5.js';
11
- import { d as defineCustomElement$2 } from './p-B-mB5dVY.js';
5
+ import { o as onInputBlur, m as mapValidationResult, a as addDisposableChangesAndVisibilityObservers, b as adjustPaddingForStartAndEnd, e as checkInternalValidity, c as SlotStart, I as InputElement, d as checkAllowedKeys, S as SlotEnd } from './p-DUU5I7wZ.js';
6
+ import { d as defineCustomElement$7 } from './p-B1p0kpQJ.js';
7
+ import { d as defineCustomElement$6 } from './p-BIg1TSrD.js';
8
+ import { d as defineCustomElement$5 } from './p-BEDohapR.js';
9
+ import { d as defineCustomElement$4 } from './p-1pd_0dhF.js';
10
+ import { d as defineCustomElement$3 } from './p-DXFN8JXp.js';
11
+ import { d as defineCustomElement$2 } from './p-BBwXlKhE.js';
12
12
 
13
13
  const numberInputCss = "input{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled,input.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder,input.disabled::-moz-placeholder{color:transparent}input:disabled::placeholder,input.disabled::placeholder{color:transparent}textarea{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}textarea[type=number]{text-align:right}textarea[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled,textarea.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder,textarea.disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder,textarea.disabled::placeholder{color:transparent}textarea{min-height:2rem;height:3.25rem;padding:calc(0.375rem - var(--theme-input--border-thickness)) calc(0.5rem - var(--theme-input--border-thickness))}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),input.ix-info:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--hover) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}:host{display:inline-block;position:relative;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%}:host input{width:100%;height:100%}:host .start-container,:host .end-container{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}:host .start-container{left:0}:host .end-container{right:0}:host .start-container ::slotted(*){margin-left:0.5rem}:host .start-container ::slotted(ix-icon.size-24),:host .start-container ::slotted(ix-icon-button.btn-icon-16){margin-left:0.25rem}:host .start-container ::slotted(ix-icon-button.btn-icon-32){margin-left:0}:host .end-container ::slotted(*){margin-right:0.5rem}:host .end-container ::slotted(ix-icon.size-24),:host .end-container ::slotted(ix-icon-button.btn-icon-16){margin-right:0.25rem}:host .end-container ::slotted(ix-icon-button.btn-icon-32){margin-right:0}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:hover{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--invalid--active) !important}:host .input-wrapper.show-stepper-buttons input[type=number]{min-width:6rem}:host .number-stepper-container{display:flex;position:relative;flex-direction:row;flex-wrap:nowrap;margin-right:0.25rem}:host .number-stepper-container.container-hidden{display:none}";
14
14
 
15
15
  /*
16
- * SPDX-FileCopyrightText: 2024 Siemens AG
16
+ * SPDX-FileCopyrightText: 2025 Siemens AG
17
17
  *
18
18
  * SPDX-License-Identifier: MIT
19
19
  *
@@ -31,6 +31,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
31
31
  return c > 3 && r && Object.defineProperty(target, key, r), r;
32
32
  };
33
33
  let numberInputIds = 0;
34
+ const INVALID_NUMBER_INPUT_REGEX = /[^\dEe+\-.,]/;
34
35
  const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H {
35
36
  constructor(registerHost) {
36
37
  super();
@@ -43,11 +44,11 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
43
44
  this.ixBlur = createEvent(this, "ixBlur", 7);
44
45
  this.formInternals = this.attachInternals();
45
46
  /**
46
- * The value of the input field
47
+ * The value of the input field. Supports numeric values, scientific notation (1E6, 1E-6), or undefined for empty.
47
48
  */
48
49
  this.value = 0;
49
50
  /**
50
- * Indicates if the field is required
51
+ * Indicates if the field is required. When required, empty values (undefined) are not accepted.
51
52
  */
52
53
  this.required = false;
53
54
  /**
@@ -58,6 +59,27 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
58
59
  * Indicates if the field is read-only
59
60
  */
60
61
  this.readonly = false;
62
+ /**
63
+ * Step value to increment or decrement the input value. Default step value is 1.
64
+ *
65
+ */
66
+ this.step = 1;
67
+ /**
68
+ * If false, pressing Enter will submit the form (if inside a form).
69
+ * Set to true to suppress submit on Enter.
70
+ */
71
+ this.suppressSubmitOnEnter = false;
72
+ /**
73
+ * Text alignment within the number input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
74
+ */
75
+ this.textAlignment = 'end';
76
+ /**
77
+ * If true, the valueChange event will return null instead of 0 for an empty input state.
78
+ * This property will be removed in 5.0.0 and this behaviour will be default.
79
+ *
80
+ * @since 4.1.0
81
+ */
82
+ this.allowEmptyValueChange = false;
61
83
  this.isInvalid = false;
62
84
  this.isValid = false;
63
85
  this.isInfo = false;
@@ -68,6 +90,70 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
68
90
  this.slotStartRef = makeRef();
69
91
  this.numberInputId = `number-input-${numberInputIds++}`;
70
92
  this.touched = false;
93
+ this.handleInputChange = (inputValue) => {
94
+ const parsedValue = this.convertNumberStringToFloat(inputValue);
95
+ const isScientificNotation = this.isScientificNotation(inputValue.trim());
96
+ if (isScientificNotation) {
97
+ this.formInternals.setFormValue(inputValue);
98
+ }
99
+ this.handleValueChangeEvent(parsedValue);
100
+ };
101
+ this.handleBlur = () => {
102
+ if (!this.inputRef.current)
103
+ return;
104
+ const inputValue = this.inputRef.current.value;
105
+ const parsedValue = this.convertNumberStringToFloat(inputValue);
106
+ if (parsedValue !== undefined) {
107
+ this.inputRef.current.value = this.formatValue(parsedValue);
108
+ }
109
+ this.updateFormInternalValue(parsedValue);
110
+ onInputBlur(this, this.inputRef.current);
111
+ this.touched = true;
112
+ };
113
+ this.handleKeyDown = (event) => {
114
+ if (this.disabled || this.readonly) {
115
+ return;
116
+ }
117
+ switch (event.key) {
118
+ case 'ArrowUp':
119
+ event.preventDefault();
120
+ this.handleStepOperation('up');
121
+ break;
122
+ case 'ArrowDown':
123
+ event.preventDefault();
124
+ this.handleStepOperation('down');
125
+ break;
126
+ }
127
+ };
128
+ this.handleBeforeInput = (e) => {
129
+ var _a, _b;
130
+ if (this.disabled || this.readonly)
131
+ return;
132
+ if (e.inputType === 'insertText') {
133
+ const character = e.data;
134
+ if (character && INVALID_NUMBER_INPUT_REGEX.test(character)) {
135
+ e.preventDefault();
136
+ }
137
+ }
138
+ if (e.inputType === 'insertFromPaste') {
139
+ const dt = e.dataTransfer || e.clipboardData;
140
+ const text = (_b = (_a = dt === null || dt === void 0 ? void 0 : dt.getData) === null || _a === void 0 ? void 0 : _a.call(dt, 'text')) !== null && _b !== void 0 ? _b : '';
141
+ if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
142
+ e.preventDefault();
143
+ }
144
+ }
145
+ };
146
+ this.handlePaste = (e) => {
147
+ var _a, _b;
148
+ // Fallback for browsers that don’t fire beforeinput for paste
149
+ const text = (_b = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text')) !== null && _b !== void 0 ? _b : '';
150
+ if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
151
+ e.preventDefault();
152
+ }
153
+ };
154
+ }
155
+ onValueChange(newValue) {
156
+ this.updateFormInternalValue(newValue);
71
157
  }
72
158
  updateClassMappings(result) {
73
159
  mapValidationResult(this, result);
@@ -86,10 +172,60 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
86
172
  updatePaddings() {
87
173
  adjustPaddingForStartAndEnd(this.slotStartRef.current, this.slotEndRef.current, this.inputRef.current);
88
174
  }
175
+ convertNumberStringToFloat(input) {
176
+ if (!input || input.trim() === '') {
177
+ return undefined;
178
+ }
179
+ const parsed = Number.parseFloat(input);
180
+ return Number.isNaN(parsed) ? undefined : parsed;
181
+ }
182
+ isScientificNotation(input) {
183
+ const parsed = Number.parseFloat(input);
184
+ return (!Number.isNaN(parsed) && Number.isFinite(parsed) && /[eE]/.test(input));
185
+ }
186
+ formatValue(value) {
187
+ if (value === undefined || value === null) {
188
+ return '';
189
+ }
190
+ return value.toString();
191
+ }
192
+ handleValueChangeEvent(value) {
193
+ this.valueChange.emit(this.allowEmptyValueChange ? value : (value !== null && value !== void 0 ? value : 0));
194
+ }
89
195
  updateFormInternalValue(value) {
90
- this.formInternals.setFormValue(value.toString());
196
+ const formValue = value !== undefined && value !== null ? value.toString() : '';
197
+ this.formInternals.setFormValue(formValue);
91
198
  this.value = value;
92
199
  }
200
+ handleStepOperation(operation) {
201
+ var _a, _b;
202
+ if (!this.inputRef.current) {
203
+ return;
204
+ }
205
+ const currentValue = (_a = this.value) !== null && _a !== void 0 ? _a : 0;
206
+ const stepValue = typeof this.step === 'string'
207
+ ? Number.parseFloat(this.step)
208
+ : ((_b = this.step) !== null && _b !== void 0 ? _b : 1);
209
+ let newValue;
210
+ if (operation === 'up') {
211
+ newValue = currentValue + stepValue;
212
+ }
213
+ else {
214
+ newValue = currentValue - stepValue;
215
+ }
216
+ if (this.min !== undefined) {
217
+ const minValue = typeof this.min === 'string' ? Number.parseFloat(this.min) : this.min;
218
+ newValue = Math.max(newValue, minValue);
219
+ }
220
+ if (this.max !== undefined) {
221
+ const maxValue = typeof this.max === 'string' ? Number.parseFloat(this.max) : this.max;
222
+ newValue = Math.min(newValue, maxValue);
223
+ }
224
+ this.inputRef.current.value = newValue.toString();
225
+ this.updateFormInternalValue(newValue);
226
+ checkInternalValidity(this, this.inputRef.current);
227
+ this.handleValueChangeEvent(newValue);
228
+ }
93
229
  /** @internal */
94
230
  async getAssociatedFormElement() {
95
231
  return this.formInternals.form;
@@ -98,9 +234,10 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
98
234
  async hasValidValue() {
99
235
  const nativeInput = await this.getNativeInputElement();
100
236
  if (nativeInput.value === '') {
101
- return Promise.resolve(false);
237
+ return !this.required;
102
238
  }
103
- return Promise.resolve(this.value !== null && this.value !== undefined && !isNaN(this.value));
239
+ const parsedValue = this.convertNumberStringToFloat(nativeInput.value);
240
+ return parsedValue !== undefined;
104
241
  }
105
242
  /**
106
243
  * Returns the native input element used under the hood
@@ -122,39 +259,30 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
122
259
  return Promise.resolve(this.touched);
123
260
  }
124
261
  render() {
262
+ var _a;
125
263
  const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
126
- return (h(Host, { key: 'c42e57d87186db97d228a3c80fa487c3e2bbe5d0', class: {
264
+ return (h(Host, { key: '4b541dbe6fe2b32b5158eed8f398de300ea71bb4', class: {
127
265
  disabled: this.disabled,
128
266
  readonly: this.readonly,
129
- } }, h("ix-field-wrapper", { key: '2180bbdb30f50945159b742399297ce011729cf7', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("div", { key: '905329aff61d43248e3ee53cb900e5d611b74999', class: {
267
+ } }, h("ix-field-wrapper", { key: '7ef2bb50ba7c9b3b24612752155a2072329e4b61', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, h("div", { key: '7e71d63d2a9ecbb16550925e68f3dc8dd76c3968', class: {
130
268
  'input-wrapper': true,
131
269
  'show-stepper-buttons': !!this.showStepperButtons,
132
- } }, h(SlotStart, { key: '9acae4279a3d0b81e1e863e25875176e5e73cabf', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: 'e9e3bdebcd1165efdcb0359a6cd9fd90ecb5d4ef', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(Number(value)), updateFormInternalValue: (value) => this.updateFormInternalValue(Number(value)), onBlur: () => {
133
- onInputBlur(this, this.inputRef.current);
134
- this.touched = true;
135
- } }), h(SlotEnd, { key: 'f9e41241aaff4d70ea46315fd39a908cdfe14e11', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '36507af1b806bd2fc6e4cc1d4d34de9fe8dd8ba0', class: {
270
+ } }, h(SlotStart, { key: '8d936c9126f94c42db87b2d95d34ab178eadd31d', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), h(InputElement, { key: 'c56f510ea8a519204d3d36136d4b0a5a17246370', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.formatValue(this.value), placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), onKeyDown: (event) => this.handleKeyDown(event), onBeforeInput: (event) => this.handleBeforeInput(event), onPaste: (event) => this.handlePaste(event), valueChange: this.handleInputChange, updateFormInternalValue: (value) => {
271
+ const isScientificNotation = this.isScientificNotation(value.trim());
272
+ if (!isScientificNotation) {
273
+ const parsedValue = this.convertNumberStringToFloat(value);
274
+ this.updateFormInternalValue(parsedValue);
275
+ }
276
+ }, onBlur: this.handleBlur, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), h(SlotEnd, { key: '2d7e82c421d51985c9d24c69b6f641279e3e84aa', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '5b1e6f03bf456305386537428b23b3fc2706e411', class: {
136
277
  'number-stepper-container': true,
137
278
  'container-hidden': !showStepperButtons,
138
- } }, h("ix-icon-button", { key: '0bef82df236486f49f71da016edb67e7edbd4775', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => {
139
- if (!this.inputRef.current) {
140
- return;
141
- }
142
- this.inputRef.current.stepDown();
143
- checkInternalValidity(this, this.inputRef.current);
144
- this.updateFormInternalValue(Number(this.inputRef.current.value));
145
- this.valueChange.emit(this.value);
146
- } }), h("ix-icon-button", { key: '34f4f8b3dc4e90ec9ada96f15280b39320ed5fb9', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
147
- if (!this.inputRef.current) {
148
- return;
149
- }
150
- this.inputRef.current.stepUp();
151
- checkInternalValidity(this, this.inputRef.current);
152
- this.updateFormInternalValue(Number(this.inputRef.current.value));
153
- this.valueChange.emit(this.value);
154
- } })))))));
279
+ } }, h("ix-icon-button", { key: '44a5f583fb174c556a063f384174883ec307f9f4', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => this.handleStepOperation('down') }), h("ix-icon-button", { key: 'c007fe5451c3f124e61214160c7ebc8cc1150b25', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => this.handleStepOperation('up') })))))));
155
280
  }
156
281
  static get formAssociated() { return true; }
157
282
  get hostElement() { return this; }
283
+ static get watchers() { return {
284
+ "value": ["onValueChange"]
285
+ }; }
158
286
  static get style() { return numberInputCss; }
159
287
  }, [321, "ix-number-input", {
160
288
  "name": [513],
@@ -176,6 +304,9 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
176
304
  "allowedCharactersPattern": [1, "allowed-characters-pattern"],
177
305
  "showStepperButtons": [4, "show-stepper-buttons"],
178
306
  "step": [8],
307
+ "suppressSubmitOnEnter": [516, "suppress-submit-on-enter"],
308
+ "textAlignment": [1, "text-alignment"],
309
+ "allowEmptyValueChange": [516, "allow-empty-value-change"],
179
310
  "isInvalid": [32],
180
311
  "isValid": [32],
181
312
  "isInfo": [32],
@@ -186,6 +317,8 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
186
317
  "getNativeInputElement": [64],
187
318
  "focusInput": [64],
188
319
  "isTouched": [64]
320
+ }, undefined, {
321
+ "value": ["onValueChange"]
189
322
  }]);
190
323
  __decorate([
191
324
  HookValidationLifecycle()
@@ -1 +1 @@
1
- {"file":"ix-number-input.js","mappings":";;;;;;;;;;;;AAAA,MAAM,cAAc,GAAG,23cAA23c;;ACAl5c;;;;;;;AAOG;;;;;;;;;;;AAgCH,IAAI,cAAc,GAAG,CAAC;MAaT,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AANxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAoBE;;AAEG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;AAEzD;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAElD;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEjC;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAoFxB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AACf,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AACd,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAmB,CAAA,mBAAA,GAAG,KAAK;AAEnB,QAAA,IAAQ,CAAA,QAAA,GAAG,OAAO,EAAoB;AACtC,QAAA,IAAU,CAAA,UAAA,GAAG,OAAO,EAAkB;AACtC,QAAA,IAAY,CAAA,YAAA,GAAG,OAAO,EAAkB;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,gBAAgB,cAAc,EAAE,EAAE;AAC3D,QAAA,IAAO,CAAA,OAAA,GAAG,KAAK;AAqMxB;AAhMC,IAAA,mBAAmB,CAAC,MAAyB,EAAA;AAC3C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,MAAM,EAAE;gBAC9B,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;AAClD,gBAAA,IAAI,CAAC,uBAAuB,CAC1B,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CACpC;gBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;aAClC,GACe,CACd,CACE,CACN,CACW,CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7LX,UAAA,CAAA;AADC,IAAA,uBAAuB;CAGvB,EAAA,WAAA,CAAA,SAAA,EAAA,qBAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/input/number-input.scss?tag=ix-number-input&encapsulation=shadow","src/components/input/number-input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use './input.mixins.scss';\n\n@include input.input-field;\n\n:host {\n .input-wrapper.show-stepper-buttons {\n input[type='number'] {\n min-width: 6rem;\n }\n }\n\n .number-stepper-container {\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n margin-right: 0.25rem;\n\n &.container-hidden {\n display: none;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconMinus, iconPlus } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n checkInternalValidity,\n DisposableChangesAndVisibilityObservers,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet numberInputIds = 0;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-number-input',\n styleUrl: 'number-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NumberInput implements IxInputFieldComponent<number> {\n @Element() hostElement!: HTMLIxNumberInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the input field\n */\n @Prop({ reflect: true, mutable: true }) value: number = 0;\n\n /**\n * Indicates if the field is required\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Disables the input field\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates if the field is read-only\n */\n @Prop() readonly: boolean = false;\n\n /**\n * The helper text for the input field\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Indicates if the text should be shown as a tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the input field\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the input field\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the input field\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the input field\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the input field\n */\n @Prop() pattern?: string;\n\n /**\n * The minimum value for the input field\n */\n @Prop() min?: string | number;\n\n /**\n * The maximum value for the input field\n */\n @Prop() max?: string | number;\n\n /**\n * The allowed characters pattern for the input field\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Indicates if the stepper buttons should be shown\n */\n @Prop() showStepperButtons?: boolean;\n\n /**\n * Step value to increment or decrement the input value\n *\n * @since 3.0.0\n */\n @Prop() step?: string | number;\n\n /**\n * Event emitted when the value of the input field changes\n */\n @Event() valueChange!: EventEmitter<number>;\n\n /**\n * Event emitted when the validity state of the input field changes\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the input field loses focus\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly numberInputId = `number-input-${numberInputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value);\n }\n\n connectedCallback() {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n disconnectedCallback() {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n updateFormInternalValue(value: number) {\n this.formInternals.setFormValue(value.toString());\n this.value = value;\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n async hasValidValue(): Promise<boolean> {\n const nativeInput = await this.getNativeInputElement();\n if (nativeInput.value === '') {\n return Promise.resolve(false);\n }\n\n return Promise.resolve(\n this.value !== null && this.value !== undefined && !isNaN(this.value)\n );\n }\n\n /**\n * Returns the native input element used under the hood\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns true if the input field has been touched\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const showStepperButtons =\n this.showStepperButtons && (this.disabled || this.readonly) === false;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n id={this.numberInputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div\n class={{\n 'input-wrapper': true,\n 'show-stepper-buttons': !!this.showStepperButtons,\n }}\n >\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n\n <InputElement\n id={this.numberInputId}\n readonly={this.readonly}\n disabled={this.disabled}\n step={this.step}\n min={this.min}\n max={this.max}\n pattern={this.pattern}\n type={'number'}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.value}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n valueChange={(value) => this.valueChange.emit(Number(value))}\n updateFormInternalValue={(value) =>\n this.updateFormInternalValue(Number(value))\n }\n onBlur={() => {\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n }}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <div\n class={{\n 'number-stepper-container': true,\n 'container-hidden': !showStepperButtons,\n }}\n >\n <ix-icon-button\n variant=\"subtle-tertiary\"\n icon={iconMinus}\n size=\"16\"\n class=\"number-stepper-button step-minus\"\n aria-label=\"decrement number\"\n onClick={() => {\n if (!this.inputRef.current) {\n return;\n }\n this.inputRef.current.stepDown();\n checkInternalValidity(this, this.inputRef.current);\n this.updateFormInternalValue(\n Number(this.inputRef.current.value)\n );\n this.valueChange.emit(this.value);\n }}\n ></ix-icon-button>\n <ix-icon-button\n variant=\"subtle-tertiary\"\n icon={iconPlus}\n size=\"16\"\n class=\"number-stepper-button step-plus\"\n aria-label=\"increment number\"\n onClick={() => {\n if (!this.inputRef.current) {\n return;\n }\n this.inputRef.current.stepUp();\n checkInternalValidity(this, this.inputRef.current);\n this.updateFormInternalValue(\n Number(this.inputRef.current.value)\n );\n this.valueChange.emit(this.value);\n }}\n ></ix-icon-button>\n </div>\n </SlotEnd>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ix-number-input.js","mappings":";;;;;;;;;;;;AAAA,MAAM,cAAc,GAAG,23cAA23c;;ACAl5c;;;;;;;AAOG;;;;;;;;;;;AAiCH,IAAI,cAAc,GAAG,CAAC;AAEtB,MAAM,0BAA0B,GAAG,cAAc;MAapC,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AANxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAoBE;;AAEG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAY,CAAC;AAE1D;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAElD;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEjC;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AA8DjC;;;AAGG;AACK,QAAA,IAAI,CAAA,IAAA,GAAqB,CAAC;AAElC;;;AAGG;AACsB,QAAA,IAAqB,CAAA,qBAAA,GAAY,KAAK;AAE/D;;AAEG;AACK,QAAA,IAAa,CAAA,aAAA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,UAAU,EAC3B,YAAY,EAAE,MAAM,IAAI,CAAC,cAAc,EAAE,EAAA,EAEzC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,0BAA0B,EAAE,IAAI;gBAChC,kBAAkB,EAAE,CAAC,kBAAkB;aACxC,EAAA,EAED,CAAA,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,iBAAiB,EACzB,IAAI,EAAE,SAAS,EACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,kCAAkC,EAAA,YAAA,EAC7B,kBAAkB,EAC7B,OAAO,EAAE,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAC/B,CAAA,EAClB,CAAA,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,iBAAiB,EACzB,IAAI,EAAE,QAAQ,EACd,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,iCAAiC,gBAC5B,kBAAkB,EAC7B,OAAO,EAAE,MAAM,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAA,CAC7B,CACd,CACE,CACN,CACW,CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7TX,UAAA,CAAA;AADC,IAAA,uBAAuB;CAGvB,EAAA,WAAA,CAAA,SAAA,EAAA,qBAAA,EAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/input/number-input.scss?tag=ix-number-input&encapsulation=shadow","src/components/input/number-input.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@use './input.mixins.scss';\n\n@include input.input-field;\n\n:host {\n .input-wrapper.show-stepper-buttons {\n input[type='number'] {\n min-width: 6rem;\n }\n }\n\n .number-stepper-container {\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n margin-right: 0.25rem;\n\n &.container-hidden {\n display: none;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2025 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { iconMinus, iconPlus } from '@siemens/ix-icons/icons';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport {\n HookValidationLifecycle,\n IxInputFieldComponent,\n ValidationResults,\n} from '../utils/input';\nimport { makeRef } from '../utils/make-ref';\nimport { InputElement, SlotEnd, SlotStart } from './input.fc';\nimport {\n addDisposableChangesAndVisibilityObservers,\n adjustPaddingForStartAndEnd,\n checkAllowedKeys,\n checkInternalValidity,\n DisposableChangesAndVisibilityObservers,\n mapValidationResult,\n onInputBlur,\n} from './input.util';\n\nlet numberInputIds = 0;\n\nconst INVALID_NUMBER_INPUT_REGEX = /[^\\dEe+\\-.,]/;\n\n/**\n * @form-ready\n * @slot start - Element will be displayed at the start of the input\n * @slot end - Element will be displayed at the end of the input\n */\n@Component({\n tag: 'ix-number-input',\n styleUrl: 'number-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class NumberInput implements IxInputFieldComponent<number> {\n @Element() hostElement!: HTMLIxNumberInputElement;\n @AttachInternals() formInternals!: ElementInternals;\n\n /**\n * name of the input element\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * placeholder of the input element\n */\n @Prop({ reflect: true }) placeholder?: string;\n\n /**\n * The value of the input field. Supports numeric values, scientific notation (1E6, 1E-6), or undefined for empty.\n */\n @Prop({ reflect: true, mutable: true }) value?: number = 0;\n\n /**\n * Indicates if the field is required. When required, empty values (undefined) are not accepted.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Disables the input field\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates if the field is read-only\n */\n @Prop() readonly: boolean = false;\n\n /**\n * The helper text for the input field\n */\n @Prop() helperText?: string;\n\n /**\n * The info text for the input field\n */\n @Prop() infoText?: string;\n\n /**\n * Indicates if the text should be shown as a tooltip\n */\n @Prop() showTextAsTooltip?: boolean;\n\n /**\n * The valid text for the input field\n */\n @Prop() validText?: string;\n\n /**\n * The warning text for the input field\n */\n @Prop() warningText?: string;\n\n /**\n * The label for the input field\n */\n @Prop({ reflect: true }) label?: string;\n\n /**\n * The error text for the input field\n */\n @Prop() invalidText?: string;\n\n /**\n * The pattern for the input field\n */\n @Prop() pattern?: string;\n\n /**\n * The minimum value for the input field\n */\n @Prop() min?: string | number;\n\n /**\n * The maximum value for the input field\n */\n @Prop() max?: string | number;\n\n /**\n * The allowed characters pattern for the input field\n */\n @Prop() allowedCharactersPattern?: string;\n\n /**\n * Indicates if the stepper buttons should be shown\n */\n @Prop() showStepperButtons?: boolean;\n\n /**\n * Step value to increment or decrement the input value. Default step value is 1.\n *\n */\n @Prop() step?: string | number = 1;\n\n /**\n * If false, pressing Enter will submit the form (if inside a form).\n * Set to true to suppress submit on Enter.\n */\n @Prop({ reflect: true }) suppressSubmitOnEnter: boolean = false;\n\n /**\n * Text alignment within the number input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.\n */\n @Prop() textAlignment: 'start' | 'end' = 'end';\n\n /**\n * If true, the valueChange event will return null instead of 0 for an empty input state.\n * This property will be removed in 5.0.0 and this behaviour will be default.\n *\n * @since 4.1.0\n */\n @Prop({ reflect: true }) allowEmptyValueChange: boolean = false;\n\n /**\n * Event emitted when the value of the input field changes\n */\n @Event() valueChange!: EventEmitter<number>;\n\n /**\n * Event emitted when the validity state of the input field changes\n */\n @Event() validityStateChange!: EventEmitter<ValidityState>;\n\n /**\n * Event emitted when the input field loses focus\n */\n @Event() ixBlur!: EventEmitter<void>;\n\n @State() isInvalid = false;\n @State() isValid = false;\n @State() isInfo = false;\n @State() isWarning = false;\n @State() isInvalidByRequired = false;\n\n private readonly inputRef = makeRef<HTMLInputElement>();\n private readonly slotEndRef = makeRef<HTMLDivElement>();\n private readonly slotStartRef = makeRef<HTMLDivElement>();\n private readonly numberInputId = `number-input-${numberInputIds++}`;\n private touched = false;\n\n private disposableChangesAndVisibilityObservers?: DisposableChangesAndVisibilityObservers;\n\n @Watch('value')\n onValueChange(newValue: number | undefined) {\n this.updateFormInternalValue(newValue!);\n }\n\n @HookValidationLifecycle()\n updateClassMappings(result: ValidationResults) {\n mapValidationResult(this, result);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue(this.value!);\n }\n\n connectedCallback() {\n this.disposableChangesAndVisibilityObservers =\n addDisposableChangesAndVisibilityObservers(\n this.hostElement,\n this.updatePaddings.bind(this)\n );\n }\n\n disconnectedCallback() {\n this.disposableChangesAndVisibilityObservers?.();\n }\n\n private updatePaddings() {\n adjustPaddingForStartAndEnd(\n this.slotStartRef.current,\n this.slotEndRef.current,\n this.inputRef.current\n );\n }\n\n private convertNumberStringToFloat(input: string): number | undefined {\n if (!input || input.trim() === '') {\n return undefined;\n }\n\n const parsed = Number.parseFloat(input);\n return Number.isNaN(parsed) ? undefined : parsed;\n }\n\n private isScientificNotation(input: string): boolean {\n const parsed = Number.parseFloat(input);\n return (\n !Number.isNaN(parsed) && Number.isFinite(parsed) && /[eE]/.test(input)\n );\n }\n\n private formatValue(value: number | undefined): string {\n if (value === undefined || value === null) {\n return '';\n }\n return value.toString();\n }\n\n private handleValueChangeEvent(value: number | undefined) {\n this.valueChange.emit(this.allowEmptyValueChange ? value : (value ?? 0));\n }\n\n updateFormInternalValue(value: number) {\n const formValue =\n value !== undefined && value !== null ? value.toString() : '';\n this.formInternals.setFormValue(formValue);\n this.value = value;\n }\n\n private readonly handleInputChange = (inputValue: string) => {\n const parsedValue = this.convertNumberStringToFloat(inputValue);\n const isScientificNotation = this.isScientificNotation(inputValue.trim());\n\n if (isScientificNotation) {\n this.formInternals.setFormValue(inputValue);\n }\n\n this.handleValueChangeEvent(parsedValue);\n };\n\n private readonly handleBlur = () => {\n if (!this.inputRef.current) return;\n\n const inputValue = this.inputRef.current.value;\n\n const parsedValue = this.convertNumberStringToFloat(inputValue);\n\n if (parsedValue !== undefined) {\n this.inputRef.current.value = this.formatValue(parsedValue);\n }\n\n this.updateFormInternalValue(parsedValue!);\n\n onInputBlur(this, this.inputRef.current);\n this.touched = true;\n };\n\n private readonly handleKeyDown = (event: KeyboardEvent) => {\n if (this.disabled || this.readonly) {\n return;\n }\n\n switch (event.key) {\n case 'ArrowUp':\n event.preventDefault();\n this.handleStepOperation('up');\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.handleStepOperation('down');\n break;\n }\n };\n\n private readonly handleBeforeInput = (e: InputEvent) => {\n if (this.disabled || this.readonly) return;\n\n if (e.inputType === 'insertText') {\n const character = e.data;\n\n if (character && INVALID_NUMBER_INPUT_REGEX.test(character)) {\n e.preventDefault();\n }\n }\n\n if (e.inputType === 'insertFromPaste') {\n const dt = e.dataTransfer || (e as any).clipboardData;\n const text = dt?.getData?.('text') ?? '';\n if (INVALID_NUMBER_INPUT_REGEX.test(text)) {\n e.preventDefault();\n }\n }\n };\n\n private readonly handlePaste = (e: ClipboardEvent) => {\n // Fallback for browsers that don’t fire beforeinput for paste\n const text = e.clipboardData?.getData('text') ?? '';\n if (INVALID_NUMBER_INPUT_REGEX.test(text)) {\n e.preventDefault();\n }\n };\n\n private handleStepOperation(operation: 'up' | 'down') {\n if (!this.inputRef.current) {\n return;\n }\n\n const currentValue = this.value ?? 0;\n const stepValue =\n typeof this.step === 'string'\n ? Number.parseFloat(this.step)\n : (this.step ?? 1);\n\n let newValue: number;\n\n if (operation === 'up') {\n newValue = currentValue + stepValue;\n } else {\n newValue = currentValue - stepValue;\n }\n\n if (this.min !== undefined) {\n const minValue =\n typeof this.min === 'string' ? Number.parseFloat(this.min) : this.min;\n newValue = Math.max(newValue, minValue);\n }\n\n if (this.max !== undefined) {\n const maxValue =\n typeof this.max === 'string' ? Number.parseFloat(this.max) : this.max;\n newValue = Math.min(newValue, maxValue);\n }\n\n this.inputRef.current.value = newValue.toString();\n this.updateFormInternalValue(newValue);\n checkInternalValidity(this, this.inputRef.current);\n this.handleValueChangeEvent(newValue);\n }\n\n /** @internal */\n @Method()\n async getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return this.formInternals.form;\n }\n\n /** @internal */\n @Method()\n async hasValidValue(): Promise<boolean> {\n const nativeInput = await this.getNativeInputElement();\n if (nativeInput.value === '') {\n return !this.required;\n }\n\n const parsedValue = this.convertNumberStringToFloat(nativeInput.value);\n return parsedValue !== undefined;\n }\n\n /**\n * Returns the native input element used under the hood\n */\n @Method()\n getNativeInputElement(): Promise<HTMLInputElement> {\n return this.inputRef.waitForCurrent();\n }\n\n /**\n * Focuses the input field\n */\n @Method()\n async focusInput(): Promise<void> {\n return (await this.getNativeInputElement()).focus();\n }\n\n /**\n * Returns true if the input field has been touched\n * @internal\n */\n @Method()\n isTouched(): Promise<boolean> {\n return Promise.resolve(this.touched);\n }\n\n render() {\n const showStepperButtons =\n this.showStepperButtons && (this.disabled || this.readonly) === false;\n\n return (\n <Host\n class={{\n disabled: this.disabled,\n readonly: this.readonly,\n }}\n >\n <ix-field-wrapper\n id={this.numberInputId}\n required={this.required}\n label={this.label}\n helperText={this.helperText}\n invalidText={this.invalidText}\n infoText={this.infoText}\n warningText={this.warningText}\n validText={this.validText}\n showTextAsTooltip={this.showTextAsTooltip}\n isInvalid={this.isInvalid}\n isValid={this.isValid}\n isInfo={this.isInfo}\n isWarning={this.isWarning}\n controlRef={this.inputRef}\n >\n <div\n class={{\n 'input-wrapper': true,\n 'show-stepper-buttons': !!this.showStepperButtons,\n }}\n >\n <SlotStart\n slotStartRef={this.slotStartRef}\n onSlotChange={() => this.updatePaddings()}\n ></SlotStart>\n\n <InputElement\n id={this.numberInputId}\n readonly={this.readonly}\n disabled={this.disabled}\n step={this.step}\n min={this.min}\n max={this.max}\n pattern={this.pattern}\n type={'number'}\n isInvalid={this.isInvalid}\n required={this.required}\n value={this.formatValue(this.value)}\n placeholder={this.placeholder}\n inputRef={this.inputRef}\n onKeyPress={(event) => checkAllowedKeys(this, event)}\n onKeyDown={(event) => this.handleKeyDown(event)}\n onBeforeInput={(event) => this.handleBeforeInput(event)}\n onPaste={(event) => this.handlePaste(event)}\n valueChange={this.handleInputChange}\n updateFormInternalValue={(value) => {\n const isScientificNotation = this.isScientificNotation(\n value.trim()\n );\n\n if (!isScientificNotation) {\n const parsedValue = this.convertNumberStringToFloat(value);\n this.updateFormInternalValue(parsedValue!);\n }\n }}\n onBlur={this.handleBlur}\n form={this.formInternals.form ?? undefined}\n suppressSubmitOnEnter={this.suppressSubmitOnEnter}\n textAlignment={this.textAlignment}\n ></InputElement>\n <SlotEnd\n slotEndRef={this.slotEndRef}\n onSlotChange={() => this.updatePaddings()}\n >\n <div\n class={{\n 'number-stepper-container': true,\n 'container-hidden': !showStepperButtons,\n }}\n >\n <ix-icon-button\n variant=\"subtle-tertiary\"\n icon={iconMinus}\n size=\"16\"\n class=\"number-stepper-button step-minus\"\n aria-label=\"decrement number\"\n onClick={() => this.handleStepOperation('down')}\n ></ix-icon-button>\n <ix-icon-button\n variant=\"subtle-tertiary\"\n icon={iconPlus}\n size=\"16\"\n class=\"number-stepper-button step-plus\"\n aria-label=\"increment number\"\n onClick={() => this.handleStepOperation('up')}\n ></ix-icon-button>\n </div>\n </SlotEnd>\n </div>\n </ix-field-wrapper>\n </Host>\n );\n }\n}\n"],"version":3}