@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ix-menu-settings-f9o5GGw5.js","sources":["src/components/menu-settings/menu-settings.scss?tag=ix-menu-settings&encapsulation=shadow","src/components/menu-settings/menu-settings.tsx","src/components/utils/menu-tabs/menu-tabs-utils.ts","src/components/utils/menu-tabs/menu-tabs-fc.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 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\n@use './common-variables' as vars;\n@use 'legacy/fonts';\n@use 'mixins/shadow-dom/component';\n\n:host {\n display: block;\n background-color: var(--theme-nav-overlay--background);\n padding: vars.$medium-space vars.$default-space vars.$default-space vars.$x-large-space;\n flex-grow: 1;\n position: absolute;\n width: 100%;\n height: 100%;\n\n @include component.ix-component;\n\n .settings-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n height: vars.$x-large-space;\n margin-bottom: vars.$small-space;\n\n h2 {\n color: var(--theme-nav-overlay-header--color);\n margin-bottom: 1rem;\n }\n }\n\n ix-tabs {\n margin-bottom: 1.5rem;\n }\n\n .settings-tabs {\n margin-bottom: vars.$large-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 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 {\n Component,\n Element,\n Event,\n EventEmitter,\n forceUpdate,\n h,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { MenuTabs } from '../utils/menu-tabs/menu-tabs-fc';\nimport {\n CustomCloseEvent,\n initialize,\n syncTabDisplay,\n} from '../utils/menu-tabs/menu-tabs-utils';\n\n@Component({\n tag: 'ix-menu-settings',\n styleUrl: 'menu-settings.scss',\n shadow: true,\n})\nexport class MenuSettings {\n @Element() el!: HTMLIxMenuSettingsElement;\n\n /**\n * Active tab\n */\n // eslint-disable-next-line @stencil-community/strict-mutable\n @Prop({ mutable: true }) activeTabLabel?: string;\n\n /**\n * Label of first tab\n */\n @Prop() label = 'Settings';\n\n /** @internal */\n @Prop() show = false;\n\n /**\n * Active tab changed\n * @since 3.0.0\n */\n @Event() tabChange!: EventEmitter<string>;\n\n /**\n * Popover closed\n */\n @Event() close!: EventEmitter<CustomCloseEvent>;\n\n @State() items!: HTMLIxMenuSettingsItemElement[];\n\n @Watch('activeTabLabel')\n updateTab(newLabel: string, oldLabel: string) {\n if (newLabel !== oldLabel) {\n syncTabDisplay(this, newLabel);\n }\n }\n\n componentWillLoad() {\n initialize(this);\n }\n\n componentDidLoad() {\n forceUpdate(this.el);\n }\n\n render() {\n return <MenuTabs context={this} />;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 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 { MenuAbout } from '../../menu-about/menu-about';\nimport { MenuSettings } from '../../menu-settings/menu-settings';\n\nfunction getItems(\n context: MenuSettings | MenuAbout\n): HTMLIxMenuSettingsItemElement[] | HTMLIxMenuAboutItemElement[] {\n return Array.from(\n context.el.querySelectorAll(\n context instanceof MenuSettings\n ? 'ix-menu-settings-item'\n : 'ix-menu-about-item'\n )\n );\n}\n\nexport function setTab(context: MenuSettings | MenuAbout, label: string) {\n if (context.activeTabLabel === label) {\n return;\n }\n const { defaultPrevented } = context.tabChange.emit(label);\n\n if (defaultPrevented) {\n return;\n }\n context.activeTabLabel = label;\n}\n\nexport function syncTabDisplay(\n context: MenuSettings | MenuAbout,\n label: string\n) {\n context.items.forEach((i) => {\n i.style.display = 'none';\n if (i.label === label) {\n i.style.display = 'block';\n }\n });\n}\n\nexport function initialize(context: MenuSettings | MenuAbout) {\n context.items = getItems(context);\n\n if (context.items.length) {\n const selectedLabel = context.activeTabLabel || context.items[0].label;\n if (selectedLabel) {\n setTab(context, selectedLabel);\n }\n }\n\n context.items.forEach((item) => {\n item.addEventListener('labelChange', (e: CustomEvent) => {\n context.items = getItems(context);\n\n if (e.detail.oldLabel === context.activeTabLabel) {\n context.activeTabLabel = e.detail.newLabel;\n }\n });\n });\n}\n\nexport interface CustomLabelChangeEvent {\n name: string;\n oldLabel: string;\n newLabel: string;\n}\n\nexport interface CustomCloseEvent {\n nativeEvent: MouseEvent;\n name: string;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 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 { FunctionalComponent, h, Host } from '@stencil/core';\nimport { setTab } from './menu-tabs-utils';\nimport { MenuAbout } from '../../menu-about/menu-about';\nimport { MenuSettings } from '../../menu-settings/menu-settings';\nimport { iconClose } from '@siemens/ix-icons/icons';\n\ninterface MenuTabsProps {\n context: MenuSettings | MenuAbout;\n}\n\nconst getTabItems = (context: MenuSettings | MenuAbout) => {\n return context.items.map(({ label }) => {\n return (\n <ix-tab-item\n selected={label === context.activeTabLabel}\n onTabClick={(e) => e.preventDefault()}\n onClick={() => {\n if (label) {\n setTab(context, label);\n }\n }}\n >\n {label}\n </ix-tab-item>\n );\n });\n};\n\nexport const MenuTabs: FunctionalComponent<MenuTabsProps> = ({ context }) => {\n const selectedIndex = context.items.findIndex(\n (item) => item.label === context.activeTabLabel\n );\n return (\n <Host\n slot={\n context instanceof MenuSettings ? 'ix-menu-settings' : 'ix-menu-about'\n }\n class={{\n show: context.show,\n }}\n >\n <div\n class={\n context instanceof MenuSettings ? 'settings-header' : 'about-header'\n }\n >\n <h2 class=\"text-h2\">{context.label}</h2>\n <ix-icon-button\n variant=\"tertiary\"\n size=\"24\"\n icon={iconClose}\n iconColor=\"color-soft-text\"\n onClick={(e) =>\n context.close.emit({\n name:\n context instanceof MenuSettings\n ? 'ix-menu-settings'\n : 'ix-menu-about',\n nativeEvent: e,\n })\n }\n ></ix-icon-button>\n </div>\n <ix-tabs selected={selectedIndex !== -1 ? selectedIndex : 0}>\n {getTabItems(context)}\n </ix-tabs>\n <slot></slot>\n </Host>\n );\n};\n"],"names":[],"mappings":";;;AAAA,MAAM,eAAe,GAAG,klIAAklI;;MCgC7lI,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAcE;;AAEG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG,UAAU;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAiCrB;IAjBC,SAAS,CAAC,QAAgB,EAAE,QAAgB,EAAA;AAC1C,QAAA,IAAI,QAAQ,KAAK,QAAQ,EAAE;AACzB,YAAA,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC;;;IAIlC,iBAAiB,GAAA;QACf,UAAU,CAAC,IAAI,CAAC;;IAGlB,gBAAgB,GAAA;AACd,QAAA,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;;IAGtB,MAAM,GAAA;AACJ,QAAA,OAAO,EAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,OAAO,EAAE,IAAI,GAAI;;;;;;;;;AC9EtC;;;;;;;AAOG;AAKH,SAAS,QAAQ,CACf,OAAiC,EAAA;AAEjC,IAAA,OAAO,KAAK,CAAC,IAAI,CACf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S,EACf,SAAS,EAAC,iBAAiB,EAC3B,OAAO,EAAE,CAAC,CAAC,KACT,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;YACjB,IAAI,EACF,OAAO,YAAY;AACjB,kBAAE;AACF,kBAAE,eAAe;AACrB,YAAA,WAAW,EAAE,CAAC;AACf,SAAA,CAAC,GAEY,CACd,EACN,CAAA,CAAA,SAAA,EAAA,EAAS,QAAQ,EAAE,aAAa,KAAK,EAAE,GAAG,aAAa,GAAG,CAAC,EAAA,EACxD,WAAW,CAAC,OAAO,CAAC,CACb,EACV,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACR;AAEX;;;;"}
@@ -15,7 +15,7 @@ const MenuSettingsItem = class {
15
15
  });
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '82d134ab9cdb58a29c6fd02a165a9925a9a55912' }, h("slot", { key: 'dfb95edb5325b70072cc422a48c78f8a50a9b589' })));
18
+ return (h(Host, { key: '69dac244a2c3b427237e8dceec64fad9c16600e9' }, h("slot", { key: 'ccfc87d1f061f0d4195f943dec3782b655626aae' })));
19
19
  }
20
20
  static get watchers() { return {
21
21
  "label": ["watchLabel"]
@@ -1,4 +1,4 @@
1
- export { a as ix_menu_settings } from './ix-menu-settings-Bif4wByb.js';
1
+ export { a as ix_menu_settings } from './ix-menu-settings-f9o5GGw5.js';
2
2
  import './index-CtoreFVF.js';
3
3
  import './index-8HpPmDK_.js';
4
4
  //# sourceMappingURL=ix-menu-settings.entry.js.map
@@ -448,44 +448,44 @@ const Menu = class {
448
448
  }
449
449
  render() {
450
450
  var _a, _b;
451
- return (h(Host, { key: '7c30f31880d51956013f87fe21ea0abf4129f67b', class: {
451
+ return (h(Host, { key: 'b36f27c9c7b9342fd8f984dd5d00ad73d735b2ff', class: {
452
452
  expanded: this.expand,
453
453
  [`breakpoint-${this.breakpoint}`]: true,
454
- }, slot: "menu" }, h("nav", { key: 'ff157fa24a58cd522b33ac035d99086a8dfec7bc', class: {
454
+ }, slot: "menu" }, h("nav", { key: '4f4b1378ddfe2cb243d0a5305679c98084490e8b', class: {
455
455
  menu: true,
456
456
  expanded: this.expand,
457
- } }, 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' &&
458
- ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (h("ix-icon-button", { key: 'd9c3d29552e6e8adeba3c44c04a563da430ea9b8', onClick: () => {
457
+ } }, 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' &&
458
+ ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (h("ix-icon-button", { key: '927aede1c7824c6c21eed072e7dba6db8d5f8df5', onClick: () => {
459
459
  this.showAppSwitch();
460
- }, icon: iconApps, variant: "subtle-tertiary" }))), h("div", { key: 'bf2a827004f7e2d337ba55fc288e7abe418ec6dd', id: "menu-tabs", style: {
460
+ }, icon: iconApps, variant: "subtle-tertiary" }))), h("div", { key: '795f32dc8f94404a75c9a0d0cfb7c8e8d429d8d2', id: "menu-tabs", style: {
461
461
  display: 'contents',
462
- }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: 'ee11e15bb3d0e4b6cd3263788aac1eba043dae99', class: "tabs-shadow-container" }, h("div", { key: '0803887ba70d6558cf5e4a890e0eca39b49ff518', class: {
462
+ }, onClick: (e) => this.onMenuItemsClick(e) }, h("div", { key: '4d609cfd70659c0adfcb1cfca0485edff3b05d08', class: "tabs-shadow-container" }, h("div", { key: 'b8b81a13d75c56f9a460f0db382acef185b1c11c', class: {
463
463
  'tabs--shadow': true,
464
464
  'tabs--shadow-top': true,
465
465
  'tabs--shadow--show': this.itemsScrollShadowTop,
466
- } }), h("div", { key: '7e43e530408b8a5408e2a0c00d4e89b695d0d871', class: {
466
+ } }), h("div", { key: '1095f30e782665f9d66d7f2619eb3a68806ccf54', class: {
467
467
  tabs: true,
468
468
  'show-scrollbar': this.expand,
469
- }, 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: {
469
+ }, 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: {
470
470
  'tabs--shadow': true,
471
471
  'tabs--shadow-bottom': true,
472
472
  'tabs--shadow--show': this.itemsScrollShadowBottom,
473
- } }))), h("div", { key: '80b67bd3408917c424661ff603b6b12a08b5c256', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
473
+ } }))), h("div", { key: '92a48e39684e2bbbb6078dcafc5c8b7103a693de', class: "bottom-tab-divider" }), this.settings ? (h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
474
474
  'internal-tab': true,
475
475
  'bottom-tab': true,
476
476
  active: this.showSettings,
477
- }, 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: {
477
+ }, 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: {
478
478
  'internal-tab': true,
479
479
  'bottom-tab': true,
480
480
  active: this.showAbout,
481
- }, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), h("div", { key: '54785101f98f046af558820493555a3d4739ace3', class: {
481
+ }, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), h("div", { key: 'e6dd7e53abbd5e4ce11cc5d2be882dd52e335275', class: {
482
482
  'menu-overlay': true,
483
483
  visible: this.isOverlayVisible(),
484
484
  expanded: this.expand,
485
485
  }, onTransitionEnd: () => {
486
486
  this.isTransitionDisabled = true;
487
487
  this.checkTransition();
488
- } }, 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))));
488
+ } }, 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))));
489
489
  }
490
490
  get hostElement() { return getElement(this); }
491
491
  static get watchers() { return {
@@ -40,7 +40,7 @@ const MessageBar = class {
40
40
  }
41
41
  }
42
42
  render() {
43
- 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: () => {
43
+ 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: () => {
44
44
  if (this.divElement) {
45
45
  this.closeAlert(this.divElement);
46
46
  }
@@ -9,7 +9,7 @@ const ModalContent = class {
9
9
  registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '91592e2a2681326a99cafd1709581a29ecf48d61' }, h("slot", { key: '259ab95ce19cafdc7dbbe67c362e424590fe02c8' })));
12
+ return (h(Host, { key: 'b45bdd4b47ca580de9e3419c9c081f8e30b1da09' }, h("slot", { key: 'ad2d19f3f3053ea927d6d45ff54bcfff1e74345d' })));
13
13
  }
14
14
  };
15
15
  ModalContent.style = modalContentCss;
@@ -47,7 +47,7 @@ const ModalHeader = class {
47
47
  this.parentDialog.dismissModal();
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: 'b41da77283ecc896aa62fced50290fe487526fbd' }, this.icon ? (h("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, h("div", { key: 'c084a12acb4d137a55e45b0f98e662d181b1901e', class: "modal-title" }, h("ix-typography", { key: '9e82bdb91af4273454254d3c2fc03803d787dde1', format: "h5" }, h("slot", { key: '209d60c82e6b12c28d95eb538e8f4499becfeb8e' }))), !this.hideClose ? (h("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
50
+ return (h(Host, { key: '7dd6b1964ed537b20a90f9007afb767414fad240' }, this.icon ? (h("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, h("div", { key: '4c6d8c7716ba99eed36e7b9c741dce4ebb0bb092', class: "modal-title" }, h("ix-typography", { key: '1db5a1e1cd434c67578a8c276b497284e5447f8d', format: "h5" }, h("slot", { key: '920833a9e7d2c8e15dc4bff1b18c6daa8a9ee4b5' }))), !this.hideClose ? (h("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
51
51
  }
52
52
  get hostElement() { return getElement(this); }
53
53
  static get watchers() { return {
@@ -7,7 +7,7 @@ const ModalFooter = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'bab5a43ac92a13caca46d241091c27c773990aba' }, h("slot", { key: 'fefe386636d486a7e1d4b35a23eafe0d04b7270c' })));
10
+ return (h(Host, { key: '11eb649edd163b25fdeb4b533bf513a861c1d7ec' }, h("slot", { key: '9a2cb92b8df8220ed2307d98ec7a1ce6a6d9196b' })));
11
11
  }
12
12
  };
13
13
  ModalFooter.style = modalFooterCss;
@@ -7,7 +7,7 @@ const ModalLoading = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'dac65dc36124b038728e843240d126432d85e987' }, h("ix-spinner", { key: '639371732304b733f79cf8498e46442ff6a442df', variant: "primary" }), h("span", { key: 'a9bf046b8c00552a4135cc5046789027abd1803e', class: 'loading-text' }, h("slot", { key: '362185ef3806ddb57c90f6fdf776cb3563baf903' }))));
10
+ return (h(Host, { key: '404214a461e55c9ee78aad8dc277dab5be8a9b42' }, h("ix-spinner", { key: '96278c04d8c7798b411f6807e5c7a1ea26b03d45', variant: "primary" }), h("span", { key: 'cad3eec78defa832ffc679f86941ffc301bc5b5c', class: 'loading-text' }, h("slot", { key: '96cf92b74f62260ee97b7bdae73557a2ee5517ec' }))));
11
11
  }
12
12
  };
13
13
  ModalLoading.style = modalLoadingCss;
@@ -187,17 +187,17 @@ const Modal = class {
187
187
  this.ariaAttributes = a11yHostAttributes(this.hostElement);
188
188
  }
189
189
  render() {
190
- return (h(Host, { key: '192ded80682348ff755d91a613faaca1a8b0753f', class: {
190
+ return (h(Host, { key: '0170729f63356223c39bcd6b0bb7124b2036f2c4', class: {
191
191
  visible: this.modalVisible,
192
192
  'no-backdrop': this.hideBackdrop,
193
193
  'align-center': this.centered,
194
- } }, 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: {
194
+ } }, 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: {
195
195
  modal: true,
196
196
  [`modal-size-${this.size}`]: true,
197
197
  }, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onCancel: (e) => {
198
198
  e.preventDefault();
199
199
  this.dismissModal();
200
- } }, h("slot", { key: 'a9c321d71d3e08d581bb2e6ad9e3d377663a2c52' })))));
200
+ } }, h("slot", { key: '5a3e86b9c04f8e1564be6026b0352940978f0666' })))));
201
201
  }
202
202
  get hostElement() { return getElement(this); }
203
203
  };
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CtoreFVF.js';
2
2
  import { A as iconMinus, B as iconPlus } from './index-8HpPmDK_.js';
3
- import { H as HookValidationLifecycle } from './validation-D_dk-JqT.js';
3
+ import { H as HookValidationLifecycle } from './validation-LJh16vt2.js';
4
4
  import { m as makeRef } from './make-ref-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 './input.util-VHrSuCP7.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 './input.fc-KJF8Z9iJ.js';
6
6
  import './a11y-Bb7pDeaQ.js';
7
7
  import './mutation-observer-CX81WQtk.js';
8
8
  import './rwd.util-pXYAoEyc.js';
@@ -12,7 +12,7 @@ import './animation-C5MWUgDN.js';
12
12
  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}";
13
13
 
14
14
  /*
15
- * SPDX-FileCopyrightText: 2024 Siemens AG
15
+ * SPDX-FileCopyrightText: 2025 Siemens AG
16
16
  *
17
17
  * SPDX-License-Identifier: MIT
18
18
  *
@@ -30,6 +30,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
30
30
  return c > 3 && r && Object.defineProperty(target, key, r), r;
31
31
  };
32
32
  let numberInputIds = 0;
33
+ const INVALID_NUMBER_INPUT_REGEX = /[^\dEe+\-.,]/;
33
34
  const NumberInput = class {
34
35
  constructor(hostRef) {
35
36
  registerInstance(this, hostRef);
@@ -44,11 +45,11 @@ const NumberInput = class {
44
45
  hostRef.$hostElement$["s-ei"] = this.formInternals;
45
46
  }
46
47
  /**
47
- * The value of the input field
48
+ * The value of the input field. Supports numeric values, scientific notation (1E6, 1E-6), or undefined for empty.
48
49
  */
49
50
  this.value = 0;
50
51
  /**
51
- * Indicates if the field is required
52
+ * Indicates if the field is required. When required, empty values (undefined) are not accepted.
52
53
  */
53
54
  this.required = false;
54
55
  /**
@@ -59,6 +60,27 @@ const NumberInput = class {
59
60
  * Indicates if the field is read-only
60
61
  */
61
62
  this.readonly = false;
63
+ /**
64
+ * Step value to increment or decrement the input value. Default step value is 1.
65
+ *
66
+ */
67
+ this.step = 1;
68
+ /**
69
+ * If false, pressing Enter will submit the form (if inside a form).
70
+ * Set to true to suppress submit on Enter.
71
+ */
72
+ this.suppressSubmitOnEnter = false;
73
+ /**
74
+ * 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.
75
+ */
76
+ this.textAlignment = 'end';
77
+ /**
78
+ * If true, the valueChange event will return null instead of 0 for an empty input state.
79
+ * This property will be removed in 5.0.0 and this behaviour will be default.
80
+ *
81
+ * @since 4.1.0
82
+ */
83
+ this.allowEmptyValueChange = false;
62
84
  this.isInvalid = false;
63
85
  this.isValid = false;
64
86
  this.isInfo = false;
@@ -69,6 +91,70 @@ const NumberInput = class {
69
91
  this.slotStartRef = makeRef();
70
92
  this.numberInputId = `number-input-${numberInputIds++}`;
71
93
  this.touched = false;
94
+ this.handleInputChange = (inputValue) => {
95
+ const parsedValue = this.convertNumberStringToFloat(inputValue);
96
+ const isScientificNotation = this.isScientificNotation(inputValue.trim());
97
+ if (isScientificNotation) {
98
+ this.formInternals.setFormValue(inputValue);
99
+ }
100
+ this.handleValueChangeEvent(parsedValue);
101
+ };
102
+ this.handleBlur = () => {
103
+ if (!this.inputRef.current)
104
+ return;
105
+ const inputValue = this.inputRef.current.value;
106
+ const parsedValue = this.convertNumberStringToFloat(inputValue);
107
+ if (parsedValue !== undefined) {
108
+ this.inputRef.current.value = this.formatValue(parsedValue);
109
+ }
110
+ this.updateFormInternalValue(parsedValue);
111
+ onInputBlur(this, this.inputRef.current);
112
+ this.touched = true;
113
+ };
114
+ this.handleKeyDown = (event) => {
115
+ if (this.disabled || this.readonly) {
116
+ return;
117
+ }
118
+ switch (event.key) {
119
+ case 'ArrowUp':
120
+ event.preventDefault();
121
+ this.handleStepOperation('up');
122
+ break;
123
+ case 'ArrowDown':
124
+ event.preventDefault();
125
+ this.handleStepOperation('down');
126
+ break;
127
+ }
128
+ };
129
+ this.handleBeforeInput = (e) => {
130
+ var _a, _b;
131
+ if (this.disabled || this.readonly)
132
+ return;
133
+ if (e.inputType === 'insertText') {
134
+ const character = e.data;
135
+ if (character && INVALID_NUMBER_INPUT_REGEX.test(character)) {
136
+ e.preventDefault();
137
+ }
138
+ }
139
+ if (e.inputType === 'insertFromPaste') {
140
+ const dt = e.dataTransfer || e.clipboardData;
141
+ 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 : '';
142
+ if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
143
+ e.preventDefault();
144
+ }
145
+ }
146
+ };
147
+ this.handlePaste = (e) => {
148
+ var _a, _b;
149
+ // Fallback for browsers that don’t fire beforeinput for paste
150
+ const text = (_b = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text')) !== null && _b !== void 0 ? _b : '';
151
+ if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
152
+ e.preventDefault();
153
+ }
154
+ };
155
+ }
156
+ onValueChange(newValue) {
157
+ this.updateFormInternalValue(newValue);
72
158
  }
73
159
  updateClassMappings(result) {
74
160
  mapValidationResult(this, result);
@@ -87,10 +173,60 @@ const NumberInput = class {
87
173
  updatePaddings() {
88
174
  adjustPaddingForStartAndEnd(this.slotStartRef.current, this.slotEndRef.current, this.inputRef.current);
89
175
  }
176
+ convertNumberStringToFloat(input) {
177
+ if (!input || input.trim() === '') {
178
+ return undefined;
179
+ }
180
+ const parsed = Number.parseFloat(input);
181
+ return Number.isNaN(parsed) ? undefined : parsed;
182
+ }
183
+ isScientificNotation(input) {
184
+ const parsed = Number.parseFloat(input);
185
+ return (!Number.isNaN(parsed) && Number.isFinite(parsed) && /[eE]/.test(input));
186
+ }
187
+ formatValue(value) {
188
+ if (value === undefined || value === null) {
189
+ return '';
190
+ }
191
+ return value.toString();
192
+ }
193
+ handleValueChangeEvent(value) {
194
+ this.valueChange.emit(this.allowEmptyValueChange ? value : (value !== null && value !== void 0 ? value : 0));
195
+ }
90
196
  updateFormInternalValue(value) {
91
- this.formInternals.setFormValue(value.toString());
197
+ const formValue = value !== undefined && value !== null ? value.toString() : '';
198
+ this.formInternals.setFormValue(formValue);
92
199
  this.value = value;
93
200
  }
201
+ handleStepOperation(operation) {
202
+ var _a, _b;
203
+ if (!this.inputRef.current) {
204
+ return;
205
+ }
206
+ const currentValue = (_a = this.value) !== null && _a !== void 0 ? _a : 0;
207
+ const stepValue = typeof this.step === 'string'
208
+ ? Number.parseFloat(this.step)
209
+ : ((_b = this.step) !== null && _b !== void 0 ? _b : 1);
210
+ let newValue;
211
+ if (operation === 'up') {
212
+ newValue = currentValue + stepValue;
213
+ }
214
+ else {
215
+ newValue = currentValue - stepValue;
216
+ }
217
+ if (this.min !== undefined) {
218
+ const minValue = typeof this.min === 'string' ? Number.parseFloat(this.min) : this.min;
219
+ newValue = Math.max(newValue, minValue);
220
+ }
221
+ if (this.max !== undefined) {
222
+ const maxValue = typeof this.max === 'string' ? Number.parseFloat(this.max) : this.max;
223
+ newValue = Math.min(newValue, maxValue);
224
+ }
225
+ this.inputRef.current.value = newValue.toString();
226
+ this.updateFormInternalValue(newValue);
227
+ checkInternalValidity(this, this.inputRef.current);
228
+ this.handleValueChangeEvent(newValue);
229
+ }
94
230
  /** @internal */
95
231
  async getAssociatedFormElement() {
96
232
  return this.formInternals.form;
@@ -99,9 +235,10 @@ const NumberInput = class {
99
235
  async hasValidValue() {
100
236
  const nativeInput = await this.getNativeInputElement();
101
237
  if (nativeInput.value === '') {
102
- return Promise.resolve(false);
238
+ return !this.required;
103
239
  }
104
- return Promise.resolve(this.value !== null && this.value !== undefined && !isNaN(this.value));
240
+ const parsedValue = this.convertNumberStringToFloat(nativeInput.value);
241
+ return parsedValue !== undefined;
105
242
  }
106
243
  /**
107
244
  * Returns the native input element used under the hood
@@ -123,39 +260,30 @@ const NumberInput = class {
123
260
  return Promise.resolve(this.touched);
124
261
  }
125
262
  render() {
263
+ var _a;
126
264
  const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
127
- return (h(Host, { key: 'c42e57d87186db97d228a3c80fa487c3e2bbe5d0', class: {
265
+ return (h(Host, { key: '4b541dbe6fe2b32b5158eed8f398de300ea71bb4', class: {
128
266
  disabled: this.disabled,
129
267
  readonly: this.readonly,
130
- } }, 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: {
268
+ } }, 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: {
131
269
  'input-wrapper': true,
132
270
  'show-stepper-buttons': !!this.showStepperButtons,
133
- } }, 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: () => {
134
- onInputBlur(this, this.inputRef.current);
135
- this.touched = true;
136
- } }), h(SlotEnd, { key: 'f9e41241aaff4d70ea46315fd39a908cdfe14e11', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, h("div", { key: '36507af1b806bd2fc6e4cc1d4d34de9fe8dd8ba0', class: {
271
+ } }, 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) => {
272
+ const isScientificNotation = this.isScientificNotation(value.trim());
273
+ if (!isScientificNotation) {
274
+ const parsedValue = this.convertNumberStringToFloat(value);
275
+ this.updateFormInternalValue(parsedValue);
276
+ }
277
+ }, 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: {
137
278
  'number-stepper-container': true,
138
279
  'container-hidden': !showStepperButtons,
139
- } }, h("ix-icon-button", { key: '0bef82df236486f49f71da016edb67e7edbd4775', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => {
140
- if (!this.inputRef.current) {
141
- return;
142
- }
143
- this.inputRef.current.stepDown();
144
- checkInternalValidity(this, this.inputRef.current);
145
- this.updateFormInternalValue(Number(this.inputRef.current.value));
146
- this.valueChange.emit(this.value);
147
- } }), h("ix-icon-button", { key: '34f4f8b3dc4e90ec9ada96f15280b39320ed5fb9', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
148
- if (!this.inputRef.current) {
149
- return;
150
- }
151
- this.inputRef.current.stepUp();
152
- checkInternalValidity(this, this.inputRef.current);
153
- this.updateFormInternalValue(Number(this.inputRef.current.value));
154
- this.valueChange.emit(this.value);
155
- } })))))));
280
+ } }, 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') })))))));
156
281
  }
157
282
  static get formAssociated() { return true; }
158
283
  get hostElement() { return getElement(this); }
284
+ static get watchers() { return {
285
+ "value": ["onValueChange"]
286
+ }; }
159
287
  };
160
288
  __decorate([
161
289
  HookValidationLifecycle()
@@ -1 +1 @@
1
- {"version":3,"file":"ix-number-input.entry.js","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"],"names":[],"mappings":";;;;;;;;;;;AAAA,MAAM,cAAc,GAAG,23cAA23c;;ACAl5c;;;;;;;AAOG;;;;;;;;;;;AAgCH,IAAI,cAAc,GAAG,CAAC;MAaT,WAAW,GAAA,MAAA;AANxB,IAAA,WAAA,CAAA,OAAA,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,QAAA,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC;;IAGnC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC;;IAG1C,iBAAiB,GA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,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;;;;;"}
1
+ {"version":3,"file":"ix-number-input.entry.js","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"],"names":[],"mappings":";;;;;;;;;;;AAAA,MAAM,cAAc,GAAG,23cAA23c;;ACAl5c;;;;;;;AAOG;;;;;;;;;;;AAiCH,IAAI,cAAc,GAAG,CAAC;AAEtB,MAAM,0BAA0B,GAAG,cAAc;MAapC,WAAW,GAAA,MAAA;AANxB,IAAA,WAAA,CAAA,OAAA,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,GAAoB,KAAK;AAE9C;;;;;AAKG;AACsB,QAAA,IAAqB,CAAA,qBAAA,GAAY,KAAK;AAiBtD,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,Q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