@siemens/ix 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/READMEOSS.html +1 -1
  2. package/components/index.js +1 -1
  3. package/components/ix-action-card.js +1 -1
  4. package/components/ix-application-header.js +1 -1
  5. package/components/ix-application-switch-modal.js +1 -1
  6. package/components/ix-avatar.js +1 -1
  7. package/components/ix-badge.js +1 -1
  8. package/components/ix-blind.js +1 -1
  9. package/components/ix-breadcrumb-item.js +1 -1
  10. package/components/ix-breadcrumb.js +1 -1
  11. package/components/ix-button.js +1 -1
  12. package/components/ix-card-accordion.js +1 -1
  13. package/components/ix-card-list.js +1 -1
  14. package/components/ix-category-filter.js +1 -1
  15. package/components/ix-chat-attachment.js +1 -1
  16. package/components/ix-chat-input.js +1 -1
  17. package/components/ix-checkbox-group.js +1 -1
  18. package/components/ix-checkbox.js +1 -1
  19. package/components/ix-chip.js +1 -1
  20. package/components/ix-content-header.js +1 -1
  21. package/components/ix-custom-field.js +1 -1
  22. package/components/ix-date-dropdown.js +1 -1
  23. package/components/ix-date-input.js +1 -1
  24. package/components/ix-date-picker.js +1 -1
  25. package/components/ix-datetime-input.js +1 -1
  26. package/components/ix-datetime-picker.js +1 -1
  27. package/components/ix-dropdown-button.js +1 -1
  28. package/components/ix-dropdown-item.js +1 -1
  29. package/components/ix-dropdown.js +1 -1
  30. package/components/ix-empty-state.js +1 -1
  31. package/components/ix-event-list-item.js +1 -1
  32. package/components/ix-event-list.js +1 -1
  33. package/components/ix-expanding-search.js +1 -1
  34. package/components/ix-field-label.js +1 -1
  35. package/components/ix-field-wrapper.js +1 -1
  36. package/components/ix-filter-chip.js +1 -1
  37. package/components/ix-flip-tile.js +1 -1
  38. package/components/ix-group-context-menu.js +1 -1
  39. package/components/ix-group.js +1 -1
  40. package/components/ix-helper-text.js +1 -1
  41. package/components/ix-icon-button.js +1 -1
  42. package/components/ix-icon-toggle-button.js +1 -1
  43. package/components/ix-input.js +1 -1
  44. package/components/ix-menu-about-news.js +1 -1
  45. package/components/ix-menu-about.js +1 -1
  46. package/components/ix-menu-avatar-item.js +1 -1
  47. package/components/ix-menu-avatar.js +1 -1
  48. package/components/ix-menu-category.js +1 -1
  49. package/components/ix-menu-expand-icon.js +1 -1
  50. package/components/ix-menu-item.js +1 -1
  51. package/components/ix-menu-settings.js +1 -1
  52. package/components/ix-menu.js +1 -1
  53. package/components/ix-message-bar.js +1 -1
  54. package/components/ix-modal-header.js +1 -1
  55. package/components/ix-modal-loading.js +1 -1
  56. package/components/ix-modal.js +1 -1
  57. package/components/ix-number-input.js +1 -1
  58. package/components/ix-pagination.js +1 -1
  59. package/components/ix-pane.js +1 -1
  60. package/components/ix-pill.js +1 -1
  61. package/components/ix-popover-header.js +1 -1
  62. package/components/ix-popover.js +1 -1
  63. package/components/ix-progress-indicator.js +1 -1
  64. package/components/ix-push-card.js +1 -1
  65. package/components/ix-radio-group.js +1 -1
  66. package/components/ix-radio.js +1 -1
  67. package/components/ix-select-item.js +1 -1
  68. package/components/ix-select.js +1 -1
  69. package/components/ix-slider.js +1 -1
  70. package/components/ix-spinner.js +1 -1
  71. package/components/ix-split-button.js +1 -1
  72. package/components/ix-tab-item.js +1 -1
  73. package/components/ix-tabs.js +1 -1
  74. package/components/ix-textarea.js +1 -1
  75. package/components/ix-time-input.js +1 -1
  76. package/components/ix-time-picker.js +1 -1
  77. package/components/ix-toast-container.js +1 -1
  78. package/components/ix-toast.js +1 -1
  79. package/components/ix-toggle-button.js +1 -1
  80. package/components/ix-toggle.js +1 -1
  81. package/components/ix-tooltip.js +1 -1
  82. package/components/ix-upload.js +1 -1
  83. package/components/ix-workflow-step.js +1 -1
  84. package/components/{p-Bs5X90wM.js → p-B3ZUi0gM.js} +1 -1
  85. package/components/p-BE708_H3.js +1 -0
  86. package/components/p-BF2IsI5j.js +1 -0
  87. package/components/{p-l9UTiHpM.js → p-BGpGr8Qv.js} +1 -1
  88. package/components/{p-CEE0wwD3.js → p-BKCLcJ_A.js} +1 -1
  89. package/components/{p-D7sEY2UQ.js → p-BKVBe7Co.js} +1 -1
  90. package/components/{p-3U_cSqu_.js → p-BOImZPcG.js} +1 -1
  91. package/components/{p-CtZAuwv3.js → p-BpE93ty6.js} +1 -1
  92. package/components/p-BqeSHO6C.js +1 -0
  93. package/components/{p-BGOtCwtj.js → p-CAd-WgR8.js} +1 -1
  94. package/components/p-CFH9HkmQ.js +1 -0
  95. package/components/p-CGGWaScq.js +1 -0
  96. package/components/{p-WisOWbJ8.js → p-CHJbp28K.js} +1 -1
  97. package/components/{p-BQ-hS49k.js → p-CRbQNmxe.js} +1 -1
  98. package/components/{p-DmtgI24u.js → p-CYgC-XN6.js} +1 -1
  99. package/components/p-CiP3eKpd.js +1 -0
  100. package/components/{p-OxstEnSC.js → p-CqWfy46u.js} +1 -1
  101. package/components/p-D5-dW4IM.js +1 -0
  102. package/components/p-DB-zpRCO.js +1 -0
  103. package/components/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  104. package/components/{p-D_HzQCU-.js → p-DIq_C5Sa.js} +1 -1
  105. package/components/p-DKU5FVxI.js +1 -0
  106. package/components/{p-snX1FfdL.js → p-DLgZfUmI.js} +1 -1
  107. package/components/p-DXmwthlZ.js +1 -0
  108. package/components/p-D_VBAyPm.js +1 -0
  109. package/components/p-DcOoa9vE.js +1 -0
  110. package/components/{p-CatmTvkh.js → p-DyC90hvu.js} +1 -1
  111. package/components/p-DzDB4UBp.js +1 -0
  112. package/components/p-QnnFQ3fz.js +1 -0
  113. package/components/p-WX1HYV2-.js +1 -0
  114. package/components/{p-BC2PyjjU.js → p-_irxfS9S.js} +1 -1
  115. package/components/{p-CUpOF7jN.js → p-n2_EOgMr.js} +1 -1
  116. package/components/p-q_MHsaAK.js +1 -0
  117. package/components/{p-eGuQ8D3W.js → p-viP8I2_s.js} +1 -1
  118. package/dist/cjs/{a11y-_XjpTo2w.js → a11y--G19CFwe.js} +1 -0
  119. package/dist/cjs/{animation-hxDbANsw.js → animation-BIfSQAkX.js} +8 -12
  120. package/dist/cjs/{base-button-BP6iIMR7.js → base-button-DIhNZecD.js} +1 -1
  121. package/dist/cjs/{base-icon-button-BmiGQb9v.js → base-icon-button-DASKxRmK.js} +1 -1
  122. package/dist/cjs/{focus-visible.mixin-1V7Eldn_.js → focus-visible.mixin-GrZAmMez.js} +1 -1
  123. package/dist/cjs/{helper-text-util-Ci_KFQZ4.js → helper-text-util-EAfzAOH6.js} +1 -1
  124. package/dist/cjs/index.cjs.js +1 -1
  125. package/dist/cjs/inherit-aria-attributes.mixin-DZ_vNjkJ.js +306 -0
  126. package/dist/cjs/{input.fc-xGzM_I6q.js → input.fc-ellguRiE.js} +8 -3
  127. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  128. package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
  129. package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
  130. package/dist/cjs/ix-badge.cjs.entry.js +8 -159
  131. package/dist/cjs/ix-blind.cjs.entry.js +13 -7
  132. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +4 -157
  133. package/dist/cjs/ix-breadcrumb.cjs.entry.js +1 -1
  134. package/dist/cjs/ix-button.cjs.entry.js +4 -157
  135. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -4
  136. package/dist/cjs/ix-category-filter.cjs.entry.js +7 -7
  137. package/dist/cjs/ix-chat-input.cjs.entry.js +8 -8
  138. package/dist/cjs/ix-checkbox-group.cjs.entry.js +1 -1
  139. package/dist/cjs/ix-checkbox.cjs.entry.js +1 -1
  140. package/dist/cjs/ix-chip.cjs.entry.js +2 -157
  141. package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
  142. package/dist/cjs/ix-date-dropdown.cjs.entry.js +6 -6
  143. package/dist/cjs/ix-date-input.cjs.entry.js +3 -3
  144. package/dist/cjs/ix-date-picker.cjs.entry.js +15 -11
  145. package/dist/cjs/ix-datetime-input.cjs.entry.js +3 -3
  146. package/dist/cjs/ix-dropdown-button.cjs.entry.js +9 -6
  147. package/dist/cjs/ix-dropdown_2.cjs.entry.js +13 -7
  148. package/dist/cjs/ix-event-list-item.cjs.entry.js +1 -1
  149. package/dist/cjs/ix-event-list.cjs.entry.js +6 -2
  150. package/dist/cjs/ix-field-label_2.cjs.entry.js +2 -2
  151. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  152. package/dist/cjs/ix-flip-tile.cjs.entry.js +1 -1
  153. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  154. package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
  155. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -160
  156. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -160
  157. package/dist/cjs/ix-input.cjs.entry.js +3 -3
  158. package/dist/cjs/ix-menu-avatar.cjs.entry.js +1 -1
  159. package/dist/cjs/ix-menu-category.cjs.entry.js +24 -166
  160. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  161. package/dist/cjs/ix-menu-item.cjs.entry.js +11 -160
  162. package/dist/cjs/ix-menu.cjs.entry.js +40 -18
  163. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  164. package/dist/cjs/ix-modal.cjs.entry.js +15 -8
  165. package/dist/cjs/ix-number-input.cjs.entry.js +16 -13
  166. package/dist/cjs/ix-pagination.cjs.entry.js +3 -3
  167. package/dist/cjs/ix-pane.cjs.entry.js +2 -2
  168. package/dist/cjs/ix-pill_4.cjs.entry.js +12 -160
  169. package/dist/cjs/ix-popover-header.cjs.entry.js +1 -1
  170. package/dist/cjs/ix-popover.cjs.entry.js +5 -156
  171. package/dist/cjs/ix-radio.cjs.entry.js +1 -1
  172. package/dist/cjs/ix-select.cjs.entry.js +10 -10
  173. package/dist/cjs/ix-slider.cjs.entry.js +1 -1
  174. package/dist/cjs/ix-textarea.cjs.entry.js +3 -3
  175. package/dist/cjs/ix-time-input.cjs.entry.js +3 -3
  176. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -159
  177. package/dist/cjs/ix-toggle.cjs.entry.js +2 -155
  178. package/dist/cjs/ix-tooltip.cjs.entry.js +6 -2
  179. package/dist/cjs/ix-tree.cjs.entry.js +1 -0
  180. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  181. package/dist/cjs/ix-workflow-step.cjs.entry.js +11 -5
  182. package/dist/cjs/loader.cjs.js +1 -1
  183. package/dist/cjs/siemens-ix.cjs.js +1 -1
  184. package/dist/collection/components/badge/badge.js +7 -5
  185. package/dist/collection/components/badge/test/badge.page.js +6 -2
  186. package/dist/collection/components/blind/blind.js +11 -5
  187. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +108 -0
  188. package/dist/collection/components/button/button.css +54 -0
  189. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  190. package/dist/collection/components/category-filter/category-filter.css +54 -0
  191. package/dist/collection/components/category-filter/category-filter.js +4 -4
  192. package/dist/collection/components/chat-input/chat-input.js +8 -8
  193. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  194. package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
  195. package/dist/collection/components/date-picker/date-picker.js +15 -11
  196. package/dist/collection/components/dropdown/dropdown.js +11 -5
  197. package/dist/collection/components/dropdown-button/dropdown-button.css +9 -180
  198. package/dist/collection/components/dropdown-button/dropdown-button.js +7 -4
  199. package/dist/collection/components/event-list/event-list.js +6 -2
  200. package/dist/collection/components/group/group.js +9 -9
  201. package/dist/collection/components/icon-button/icon-button.css +54 -0
  202. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +54 -0
  203. package/dist/collection/components/input/input.util.js +6 -1
  204. package/dist/collection/components/input/number-input.js +13 -10
  205. package/dist/collection/components/menu/menu-expand-icon.css +6 -0
  206. package/dist/collection/components/menu/menu.js +39 -17
  207. package/dist/collection/components/menu-category/menu-category.js +22 -11
  208. package/dist/collection/components/menu-item/menu-item.js +9 -5
  209. package/dist/collection/components/modal/modal.js +13 -6
  210. package/dist/collection/components/modal-header/modal-header.js +2 -2
  211. package/dist/collection/components/pagination/pagination.css +54 -0
  212. package/dist/collection/components/popover/popover.js +3 -1
  213. package/dist/collection/components/popover/test/popover.page.js +3 -2
  214. package/dist/collection/components/select/select.js +9 -9
  215. package/dist/collection/components/tabs/tabs.js +10 -5
  216. package/dist/collection/components/time-picker/test/expect-defined.js +13 -0
  217. package/dist/collection/components/time-picker/time-picker.js +5 -5
  218. package/dist/collection/components/toggle-button/toggle-button.css +54 -0
  219. package/dist/collection/components/tooltip/tooltip.js +6 -2
  220. package/dist/collection/components/utils/a11y.js +1 -1
  221. package/dist/collection/components/utils/animation.js +8 -12
  222. package/dist/collection/components/utils/internal/mixins/accessibility/aria-attribute-observer.js +106 -0
  223. package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +175 -166
  224. package/dist/collection/components/utils/lazy-list/lazy.js +1 -0
  225. package/dist/collection/components/workflow-step/workflow-step.css +2 -2
  226. package/dist/collection/components/workflow-step/workflow-step.js +10 -4
  227. package/dist/collection/tests/utils/test/page.js +3 -0
  228. package/dist/esm/{a11y-C21npbUc.js → a11y-DD206pTM.js} +1 -1
  229. package/dist/esm/{animation-DNIQ2C1K.js → animation-BqeSHO6C.js} +8 -12
  230. package/dist/esm/{base-button-DZdtpLxn.js → base-button-Oanl-VqF.js} +1 -1
  231. package/dist/esm/{base-icon-button-DufFLJC-.js → base-icon-button-CxmfMOOd.js} +1 -1
  232. package/dist/esm/{focus-visible.mixin-CaRK3Ex_.js → focus-visible.mixin-DNYMa4dY.js} +1 -1
  233. package/dist/esm/{helper-text-util-sQKO6RPJ.js → helper-text-util-BJ-ZMW2J.js} +1 -1
  234. package/dist/esm/index.js +1 -1
  235. package/dist/esm/inherit-aria-attributes.mixin-BmTKblYV.js +304 -0
  236. package/dist/esm/{input.fc-DliqEtCM.js → input.fc-Cwmx0lGN.js} +8 -3
  237. package/dist/esm/ix-action-card.entry.js +1 -1
  238. package/dist/esm/ix-application-header.entry.js +1 -1
  239. package/dist/esm/ix-avatar_2.entry.js +2 -2
  240. package/dist/esm/ix-badge.entry.js +8 -159
  241. package/dist/esm/ix-blind.entry.js +13 -7
  242. package/dist/esm/ix-breadcrumb-item.entry.js +4 -157
  243. package/dist/esm/ix-breadcrumb.entry.js +1 -1
  244. package/dist/esm/ix-button.entry.js +4 -157
  245. package/dist/esm/ix-card-accordion_2.entry.js +7 -4
  246. package/dist/esm/ix-category-filter.entry.js +7 -7
  247. package/dist/esm/ix-chat-input.entry.js +8 -8
  248. package/dist/esm/ix-checkbox-group.entry.js +1 -1
  249. package/dist/esm/ix-checkbox.entry.js +1 -1
  250. package/dist/esm/ix-chip.entry.js +2 -157
  251. package/dist/esm/ix-col_4.entry.js +5 -5
  252. package/dist/esm/ix-date-dropdown.entry.js +6 -6
  253. package/dist/esm/ix-date-input.entry.js +3 -3
  254. package/dist/esm/ix-date-picker.entry.js +15 -11
  255. package/dist/esm/ix-datetime-input.entry.js +3 -3
  256. package/dist/esm/ix-dropdown-button.entry.js +9 -6
  257. package/dist/esm/ix-dropdown_2.entry.js +13 -7
  258. package/dist/esm/ix-event-list-item.entry.js +1 -1
  259. package/dist/esm/ix-event-list.entry.js +6 -2
  260. package/dist/esm/ix-field-label_2.entry.js +2 -2
  261. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  262. package/dist/esm/ix-flip-tile.entry.js +1 -1
  263. package/dist/esm/ix-group.entry.js +9 -9
  264. package/dist/esm/ix-helper-text.entry.js +2 -2
  265. package/dist/esm/ix-icon-button_2.entry.js +5 -160
  266. package/dist/esm/ix-icon-toggle-button.entry.js +5 -160
  267. package/dist/esm/ix-input.entry.js +3 -3
  268. package/dist/esm/ix-menu-avatar.entry.js +1 -1
  269. package/dist/esm/ix-menu-category.entry.js +24 -166
  270. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  271. package/dist/esm/ix-menu-item.entry.js +11 -160
  272. package/dist/esm/ix-menu.entry.js +40 -18
  273. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  274. package/dist/esm/ix-modal.entry.js +15 -8
  275. package/dist/esm/ix-number-input.entry.js +16 -13
  276. package/dist/esm/ix-pagination.entry.js +3 -3
  277. package/dist/esm/ix-pane.entry.js +2 -2
  278. package/dist/esm/ix-pill_4.entry.js +12 -160
  279. package/dist/esm/ix-popover-header.entry.js +1 -1
  280. package/dist/esm/ix-popover.entry.js +5 -156
  281. package/dist/esm/ix-radio.entry.js +1 -1
  282. package/dist/esm/ix-select.entry.js +10 -10
  283. package/dist/esm/ix-slider.entry.js +1 -1
  284. package/dist/esm/ix-textarea.entry.js +3 -3
  285. package/dist/esm/ix-time-input.entry.js +3 -3
  286. package/dist/esm/ix-toggle-button.entry.js +4 -159
  287. package/dist/esm/ix-toggle.entry.js +2 -155
  288. package/dist/esm/ix-tooltip.entry.js +6 -2
  289. package/dist/esm/ix-tree.entry.js +1 -0
  290. package/dist/esm/ix-upload.entry.js +1 -1
  291. package/dist/esm/ix-workflow-step.entry.js +11 -5
  292. package/dist/esm/loader.js +1 -1
  293. package/dist/esm/siemens-ix.js +1 -1
  294. package/dist/siemens-ix/index.esm.js +1 -1
  295. package/dist/siemens-ix/p-0409f281.entry.js +1 -0
  296. package/dist/siemens-ix/{p-2e780c86.entry.js → p-0819923e.entry.js} +1 -1
  297. package/dist/siemens-ix/p-0b875bbd.entry.js +1 -0
  298. package/dist/siemens-ix/p-1a7b51d8.entry.js +1 -0
  299. package/dist/siemens-ix/{p-2b0ffba0.entry.js → p-1aef893c.entry.js} +1 -1
  300. package/dist/siemens-ix/{p-03745110.entry.js → p-213059a9.entry.js} +1 -1
  301. package/dist/siemens-ix/p-24138425.entry.js +1 -0
  302. package/dist/siemens-ix/{p-29e8126a.entry.js → p-32104d25.entry.js} +1 -1
  303. package/dist/siemens-ix/{p-447d52de.entry.js → p-35042cda.entry.js} +1 -1
  304. package/dist/siemens-ix/p-351e8732.entry.js +1 -0
  305. package/dist/siemens-ix/{p-884fd236.entry.js → p-38eef16a.entry.js} +1 -1
  306. package/dist/siemens-ix/p-3a60004f.entry.js +1 -0
  307. package/dist/siemens-ix/p-3ad11c04.entry.js +1 -0
  308. package/dist/siemens-ix/p-3c92d126.entry.js +1 -0
  309. package/dist/siemens-ix/{p-d0649c07.entry.js → p-3fe85552.entry.js} +1 -1
  310. package/dist/siemens-ix/{p-f4575603.entry.js → p-40239cf6.entry.js} +1 -1
  311. package/dist/siemens-ix/{p-a92495b8.entry.js → p-403b7d10.entry.js} +1 -1
  312. package/dist/siemens-ix/p-4739e88e.entry.js +1 -0
  313. package/dist/siemens-ix/p-4c765c73.entry.js +1 -0
  314. package/dist/siemens-ix/{p-0b10bb78.entry.js → p-50ece3e2.entry.js} +1 -1
  315. package/dist/siemens-ix/p-53319a22.entry.js +1 -0
  316. package/dist/siemens-ix/{p-1fbb010f.entry.js → p-571a1628.entry.js} +1 -1
  317. package/dist/siemens-ix/{p-4079292f.entry.js → p-60f7be48.entry.js} +1 -1
  318. package/dist/siemens-ix/p-643ed439.entry.js +1 -0
  319. package/dist/siemens-ix/p-6505e43d.entry.js +1 -0
  320. package/dist/siemens-ix/{p-217dc62a.entry.js → p-675e2aa8.entry.js} +1 -1
  321. package/dist/siemens-ix/{p-99b97922.entry.js → p-79a08a2a.entry.js} +1 -1
  322. package/dist/siemens-ix/p-83827bb2.entry.js +1 -0
  323. package/dist/siemens-ix/p-859294b4.entry.js +1 -0
  324. package/dist/siemens-ix/p-8af23465.entry.js +1 -0
  325. package/dist/siemens-ix/{p-6ffe8ec7.entry.js → p-8bc225b7.entry.js} +1 -1
  326. package/dist/siemens-ix/p-9254cb19.entry.js +1 -0
  327. package/dist/siemens-ix/p-9c6e5dcc.entry.js +1 -0
  328. package/dist/siemens-ix/{p-bf827cb3.entry.js → p-9df616d3.entry.js} +1 -1
  329. package/dist/siemens-ix/p-Bemn50Nk.js +1 -0
  330. package/dist/siemens-ix/p-BqeSHO6C.js +1 -0
  331. package/dist/siemens-ix/{p-HpQs38Y0.js → p-CDKWxg_L.js} +1 -1
  332. package/dist/siemens-ix/{p-CXbob2Ew.js → p-CLxF-dX8.js} +1 -1
  333. package/dist/siemens-ix/p-Cv_omozQ.js +1 -0
  334. package/dist/siemens-ix/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  335. package/dist/siemens-ix/p-a05bf6b5.entry.js +1 -0
  336. package/dist/siemens-ix/p-a4c3f3d3.entry.js +1 -0
  337. package/dist/siemens-ix/{p-836df58e.entry.js → p-aa0770ab.entry.js} +1 -1
  338. package/dist/siemens-ix/{p-89f6329b.entry.js → p-b5bf48cb.entry.js} +1 -1
  339. package/dist/siemens-ix/p-b9dcbd84.entry.js +1 -0
  340. package/dist/siemens-ix/{p-f3528209.entry.js → p-c393c20e.entry.js} +1 -1
  341. package/dist/siemens-ix/{p-b3eaf43d.entry.js → p-caac5984.entry.js} +1 -1
  342. package/dist/siemens-ix/p-cfd75035.entry.js +1 -0
  343. package/dist/siemens-ix/{p-47e2c5a1.entry.js → p-d4d99140.entry.js} +1 -1
  344. package/dist/siemens-ix/p-d94ad8f8.entry.js +1 -0
  345. package/dist/siemens-ix/p-da700215.entry.js +1 -0
  346. package/dist/siemens-ix/p-ddb49318.entry.js +1 -0
  347. package/dist/siemens-ix/{p-1afa8fb3.entry.js → p-de9a4607.entry.js} +1 -1
  348. package/dist/siemens-ix/{p-4b85292e.entry.js → p-e2e7c16a.entry.js} +1 -1
  349. package/dist/siemens-ix/p-e5239c6d.entry.js +1 -0
  350. package/dist/siemens-ix/p-e87e947c.entry.js +1 -0
  351. package/dist/siemens-ix/p-e8d73d19.entry.js +1 -0
  352. package/dist/siemens-ix/{p-0329eb6e.entry.js → p-e8f5519f.entry.js} +1 -1
  353. package/dist/siemens-ix/{p-92804589.entry.js → p-f7f6cf46.entry.js} +1 -1
  354. package/dist/siemens-ix/{p-bd2f7002.entry.js → p-fcfecc91.entry.js} +1 -1
  355. package/dist/siemens-ix/{p-kmPsIcs5.js → p-rgh7lt60.js} +1 -1
  356. package/dist/siemens-ix/p-xptA1Kt1.js +1 -0
  357. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  358. package/dist/types/components/badge/badge.d.ts +1 -16
  359. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +1 -16
  360. package/dist/types/components/button/button.d.ts +1 -16
  361. package/dist/types/components/chip/chip.d.ts +1 -16
  362. package/dist/types/components/dropdown/dropdown-focus.d.ts +1 -1
  363. package/dist/types/components/group/group.d.ts +1 -1
  364. package/dist/types/components/icon-button/icon-button.d.ts +2 -17
  365. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -16
  366. package/dist/types/components/input/input.util.d.ts +2 -3
  367. package/dist/types/components/input/number-input.d.ts +1 -0
  368. package/dist/types/components/menu/menu.d.ts +1 -1
  369. package/dist/types/components/menu-category/menu-category.d.ts +2 -17
  370. package/dist/types/components/menu-item/menu-item.d.ts +1 -16
  371. package/dist/types/components/modal/modal.d.ts +1 -0
  372. package/dist/types/components/modal-header/modal-header.d.ts +1 -1
  373. package/dist/types/components/popover/popover.d.ts +1 -16
  374. package/dist/types/components/tabs/tabs.d.ts +3 -16
  375. package/dist/types/components/time-picker/test/expect-defined.d.ts +1 -0
  376. package/dist/types/components/toggle/toggle.d.ts +1 -16
  377. package/dist/types/components/toggle-button/toggle-button.d.ts +1 -16
  378. package/dist/types/components/tree/tree.d.ts +1 -1
  379. package/dist/types/components/utils/a11y.d.ts +1 -0
  380. package/dist/types/components/utils/internal/mixins/accessibility/aria-attribute-observer.d.ts +7 -0
  381. package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +7 -18
  382. package/dist/types/components/utils/shadow-dom.d.ts +1 -1
  383. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -0
  384. package/hydrate/index.js +535 -2015
  385. package/hydrate/index.mjs +535 -2015
  386. package/package.json +1 -1
  387. package/components/p-1FBWW6v2.js +0 -1
  388. package/components/p-BDnx22Gp.js +0 -1
  389. package/components/p-BHoJOFM-.js +0 -1
  390. package/components/p-BST8QY5w.js +0 -1
  391. package/components/p-BcbFeRB0.js +0 -1
  392. package/components/p-CLDB-pmj.js +0 -1
  393. package/components/p-CRtj-KBq.js +0 -1
  394. package/components/p-CTRSoM-z.js +0 -1
  395. package/components/p-CgPr717U.js +0 -1
  396. package/components/p-CvAmaEU2.js +0 -1
  397. package/components/p-DNIQ2C1K.js +0 -1
  398. package/components/p-DdlGyKd2.js +0 -1
  399. package/components/p-DtWFUcZO.js +0 -1
  400. package/components/p-DylHkzl6.js +0 -1
  401. package/components/p-NXyac9kC.js +0 -1
  402. package/components/p-hf_zqlB1.js +0 -1
  403. package/dist/cjs/inherit-aria-attributes.mixin-EyRU0cDO.js +0 -36
  404. package/dist/esm/inherit-aria-attributes.mixin-nCmPujqf.js +0 -34
  405. package/dist/siemens-ix/p-0555a6fb.entry.js +0 -1
  406. package/dist/siemens-ix/p-05c35730.entry.js +0 -1
  407. package/dist/siemens-ix/p-0f2ac675.entry.js +0 -1
  408. package/dist/siemens-ix/p-12bce791.entry.js +0 -1
  409. package/dist/siemens-ix/p-30008054.entry.js +0 -1
  410. package/dist/siemens-ix/p-488b7074.entry.js +0 -1
  411. package/dist/siemens-ix/p-49d8b129.entry.js +0 -1
  412. package/dist/siemens-ix/p-55a57ce6.entry.js +0 -1
  413. package/dist/siemens-ix/p-55ae6204.entry.js +0 -1
  414. package/dist/siemens-ix/p-55e8ad3b.entry.js +0 -1
  415. package/dist/siemens-ix/p-5f48d238.entry.js +0 -1
  416. package/dist/siemens-ix/p-64432fa0.entry.js +0 -1
  417. package/dist/siemens-ix/p-6ebf66b8.entry.js +0 -1
  418. package/dist/siemens-ix/p-7690a56d.entry.js +0 -1
  419. package/dist/siemens-ix/p-80d7a07a.entry.js +0 -1
  420. package/dist/siemens-ix/p-816bcf01.entry.js +0 -1
  421. package/dist/siemens-ix/p-86ad005e.entry.js +0 -1
  422. package/dist/siemens-ix/p-8c3e7613.entry.js +0 -1
  423. package/dist/siemens-ix/p-8df1362f.entry.js +0 -1
  424. package/dist/siemens-ix/p-9094212f.entry.js +0 -1
  425. package/dist/siemens-ix/p-99df3561.entry.js +0 -1
  426. package/dist/siemens-ix/p-B4oiZyZC.js +0 -1
  427. package/dist/siemens-ix/p-DNIQ2C1K.js +0 -1
  428. package/dist/siemens-ix/p-a1d79970.entry.js +0 -1
  429. package/dist/siemens-ix/p-a7d695f5.entry.js +0 -1
  430. package/dist/siemens-ix/p-baf74d39.entry.js +0 -1
  431. package/dist/siemens-ix/p-bf75d77b.entry.js +0 -1
  432. package/dist/siemens-ix/p-cddc43e2.entry.js +0 -1
  433. package/dist/siemens-ix/p-cfd83faa.entry.js +0 -1
  434. package/dist/siemens-ix/p-fff1f8b1.entry.js +0 -1
  435. package/dist/siemens-ix/p-vphIrWGB.js +0 -1
  436. package/dist/siemens-ix/p-yUgQMMln.js +0 -1
  437. /package/dist/siemens-ix/{p-383e95ad.entry.js → p-f4d8f94b.entry.js} +0 -0
@@ -1 +0,0 @@
1
- import{r as e,c as t,g as o,h as r,H as n}from"./p-EBgS4zhE.js";import{O as a,P as i}from"./p-BeX6RWvV.js";import{m as d}from"./p-Djkc69iv.js";import{m as l,a as s,b as h,g as b,o as c,d as p,I as u,j as m,f as v,k as f,S as y}from"./p-yUgQMMln.js";import{H as x}from"./p-S-XikzrL.js";import"./p-C21npbUc.js";import"./p-CX81WQtk.js";import"./p-JJddxCCh.js";import"./p-DhE1t8Qh.js";import"./p-DNIQ2C1K.js";import"./p-XBTykBKS.js";let g=0;const k=/[^\dEe+\-.,]/,w=class{constructor(o){e(this,o),this.valueChange=t(this,"valueChange",7),this.validityStateChange=t(this,"validityStateChange",7),this.ixBlur=t(this,"ixBlur",7),this.ixChange=t(this,"ixChange",7),o.$hostElement$["s-ei"]?this.formInternals=o.$hostElement$["s-ei"]:(this.formInternals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.formInternals)}get hostElement(){return o(this)}formInternals;name;placeholder;value=0;required=!1;disabled=!1;readonly=!1;helperText;infoText;showTextAsTooltip;validText;warningText;label;invalidText;pattern;min;max;allowedCharactersPattern;showStepperButtons;step=1;suppressSubmitOnEnter=!1;textAlignment="end";allowEmptyValueChange=!1;valueChange;validityStateChange;ixBlur;ixChange;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;isInvalidByRequired=!1;inputRef=d();slotEndRef=d();slotStartRef=d();numberInputId="number-input-"+g++;touched=!1;initialValue;disposableChangesAndVisibilityObservers;onValueChange(e){this.updateFormInternalValue(e)}updateClassMappings(e){l(this,e)}componentWillLoad(){this.updateFormInternalValue(this.value)}connectedCallback(){this.disposableChangesAndVisibilityObservers=s(this.hostElement,this.updatePaddings.bind(this))}disconnectedCallback(){this.disposableChangesAndVisibilityObservers?.()}updatePaddings(){h(this.slotStartRef.current,this.slotEndRef.current,this.inputRef.current)}convertNumberStringToFloat(e){if(!e||""===e.trim())return;const t=Number.parseFloat(e);return Number.isNaN(t)?void 0:t}isScientificNotation(e){const t=Number.parseFloat(e);return!Number.isNaN(t)&&Number.isFinite(t)&&/[eE]/.test(e)}formatValue(e){return null==e?"":e.toString()}handleValueChangeEvent(e){this.valueChange.emit(this.allowEmptyValueChange?e:e??0)}updateFormInternalValue(e){const t=null!=e?e.toString():"";this.formInternals.setFormValue(t),this.value=e,this.inputRef.current&&this.touched&&b(this,this.inputRef.current)}handleInputChange=e=>{const t=this.convertNumberStringToFloat(e);this.isScientificNotation(e.trim())&&this.formInternals.setFormValue(e),this.handleValueChangeEvent(t)};handleBlur=()=>{if(!this.inputRef.current)return;const e=this.convertNumberStringToFloat(this.inputRef.current.value);this.updateFormInternalValue(e),void 0!==e&&this.inputRef.current&&(this.inputRef.current.value=this.formatValue(e)),this.updateFormInternalValue(e),c(this,this.inputRef.current,e),this.touched=!0};handleKeyDown=e=>{if(!this.disabled&&!this.readonly)switch(e.key){case"ArrowUp":e.preventDefault(),this.handleStepOperation("up");break;case"ArrowDown":e.preventDefault(),this.handleStepOperation("down")}};handleBeforeInput=e=>{if(!this.disabled&&!this.readonly){if("insertText"===e.inputType){const t=e.data;t&&k.test(t)&&e.preventDefault()}if("insertFromPaste"===e.inputType){const t=e.dataTransfer||e.clipboardData,o=t?.getData?.("text")??"";k.test(o)&&e.preventDefault()}}};handlePaste=e=>{const t=e.clipboardData?.getData("text")??"";k.test(t)&&e.preventDefault()};getDecimalPlaces(e){const t=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+e);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}handleStepOperation(e){if(!this.inputRef.current)return;const t=this.convertNumberStringToFloat(this.inputRef.current.value)??0,o="string"==typeof this.step?Number.parseFloat(this.step):this.step??1;let r;r="up"===e?t+o:t-o;const n=Math.max(this.getDecimalPlaces(t),this.getDecimalPlaces(o));if(r=Number(r.toFixed(n)),void 0!==this.min){const e="string"==typeof this.min?Number.parseFloat(this.min):this.min;r=Math.max(r,e)}if(void 0!==this.max){const e="string"==typeof this.max?Number.parseFloat(this.max):this.max;r=Math.min(r,e)}this.inputRef.current.value=r.toString(),this.updateFormInternalValue(r),b(this,this.inputRef.current),this.handleValueChangeEvent(r)}async getAssociatedFormElement(){return this.formInternals.form}async hasValidValue(){const e=await this.getNativeInputElement();return""===e.value?!this.required:void 0!==this.convertNumberStringToFloat(e.value)}getNativeInputElement(){return this.inputRef.waitForCurrent()}async focusInput(){return(await this.getNativeInputElement()).focus()}isTouched(){return Promise.resolve(this.touched)}render(){const e=this.showStepperButtons&&!1===(this.disabled||this.readonly);return r(n,{key:"0c2af6d414c208f7ef1d32e09fe74ee2c5d4950a",class:{disabled:this.disabled,readonly:this.readonly}},r("ix-field-wrapper",{key:"9319df314ff21bb6c812143ba94237531a538b43",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},r("div",{key:"0c34666c47d8c40fd7e5f2028025d64ce67f436f",class:{"input-wrapper":!0,"show-stepper-buttons":!!this.showStepperButtons}},r(p,{key:"9408c97e2d796ae15548715ad754b88bf5d1e9b0",slotStartRef:this.slotStartRef,onSlotChange:()=>this.updatePaddings()}),r(u,{key:"30a21cb357e62ca8d5a6858674fdbf303b3ffa3b",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:e=>f(this,e),onKeyDown:e=>this.handleKeyDown(e),onBeforeInput:e=>this.handleBeforeInput(e),onPaste:e=>this.handlePaste(e),onFocus:()=>v(this,this.value),onEnterKeyChange:e=>m(e,this,this.value),valueChange:this.handleInputChange,updateFormInternalValue:e=>{const t=this.convertNumberStringToFloat(e);this.isScientificNotation(e.trim())?(this.formInternals.setFormValue(e),this.value=t):this.updateFormInternalValue(t)},onBlur:this.handleBlur,form:this.formInternals.form??void 0,suppressSubmitOnEnter:this.suppressSubmitOnEnter,textAlignment:this.textAlignment}),r(y,{key:"260756858357f96bf468348af5907e5fac7bd471",slotEndRef:this.slotEndRef,onSlotChange:()=>this.updatePaddings()},r("div",{key:"90264008de7532c8f6220abcea4fd6b69bd1d605",class:{"number-stepper-container":!0,"container-hidden":!e}},r("ix-icon-button",{key:"35ad3af7d1c6925dd014f721165ff68e5f768bb5",variant:"subtle-tertiary",icon:a,size:"16",class:"number-stepper-button step-minus","aria-label":"decrement number",onClick:()=>this.handleStepOperation("down")}),r("ix-icon-button",{key:"627f6b42c4dab1517bfca5059daebb0d5d8d363d",variant:"subtle-tertiary",icon:i,size:"16",class:"number-stepper-button step-plus","aria-label":"increment number",onClick:()=>this.handleStepOperation("up")}))))))}static get formAssociated(){return!0}static get watchers(){return{value:[{onValueChange:0}]}}};(function(e,t,o,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(i=(a<3?n(i):a>3?n(t,o,i):n(t,o))||i);a>3&&i&&Object.defineProperty(t,o,i)})([x()],w.prototype,"updateClassMappings",null),w.style='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:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--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:var(--theme-input--border-thickness) solid var(--theme-input--border-color--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:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--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:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}textarea:disabled::-moz-placeholder,textarea.disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder,textarea.disabled::placeholder{color:transparent}textarea{min-height:2rem;padding:calc(0.375rem - var(--theme-input--border-thickness)) calc(0.5rem - var(--theme-input--border-thickness))}textarea:not([rows]){height:3.25rem}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){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]):not(.readonly):not([readonly]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):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]):not(.readonly):not([readonly]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){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]):not(.readonly):not([readonly]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):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]):not(.readonly):not([readonly]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):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:var(--theme-input--border-thickness)}:host .end-container{right:0.25rem}: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:calc(0.5rem - 0.25rem)}:host .end-container ::slotted(ix-icon.size-24),:host .end-container ::slotted(ix-icon-button.btn-icon-16){margin-right:calc(0.25rem - 0.25rem)}:host .end-container ::slotted(ix-icon-button.btn-icon-32){margin-right:calc(0rem - 0.25rem)}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}:host .input-wrapper:hover input:not(:disabled):not(:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-wrapper:hover input:not(:disabled):not(:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none;color:var(--theme-input--color--disabled)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) 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]):not(.readonly):not([readonly])) input:hover,:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{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]):not(.readonly):not([readonly])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) 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]):not(.readonly):not([readonly])) input:hover,:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{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]):not(.readonly):not([readonly])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) 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}:host .number-stepper-container.container-hidden{display:none}';export{w as ix_number_input}
@@ -1 +0,0 @@
1
- import{M as e,r,c as t,g as o,h,H as i}from"./p-EBgS4zhE.js";import{a}from"./p-C21npbUc.js";import{D as c}from"./p-BWgttsqY.js";import{I as d}from"./p-vphIrWGB.js";import{H as m}from"./p-S-XikzrL.js";import"./p-6ZxKp7Jn.js";import"./p-BClJdFQP.js";import"./p-XBTykBKS.js";const b=class extends(e(...c,d)){constructor(e){super(),r(this,e),this.checkedChange=t(this,"checkedChange",7),this.valueChange=t(this,"valueChange",7),this.ixBlur=t(this,"ixBlur",7),e.$hostElement$["s-ei"]?this.formInternals=e.$hostElement$["s-ei"]:(this.formInternals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.formInternals)}formInternals;get hostElement(){return o(this)}name;value="on";checked=!1;disabled=!1;indeterminate=!1;textOn="On";textOff="Off";textIndeterminate="Mixed";hideText=!1;required=!1;checkedChange;valueChange;ixBlur;touched=!1;onCheckedChange(e){if(this.disabled)return;const r=this.indeterminate,t=this.checked;this.indeterminate&&(this.indeterminate=!1),this.checked=e;const{defaultPrevented:o}=this.checkedChange.emit(this.checked);o&&(this.indeterminate=r,this.checked=t)}componentWillLoad(){super.componentWillLoad(),this.updateFormInternalValue()}updateFormInternalValue(){this.formInternals.setFormValue(this.checked?this.value:null)}watchCheckedChange(){this.touched=!0,this.updateFormInternalValue()}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}isTouched(){return Promise.resolve(this.touched)}updateClassMappings(){}resolveAriaLabel(){if(!this.inheritAriaAttributes["aria-labelledby"])return this.inheritAriaAttributes["aria-label"]}render(){let e=this.textOff;this.checked&&(e=this.textOn),this.indeterminate&&(e=this.textIndeterminate);const r=this.resolveAriaLabel(),t=this.indeterminate?"mixed":a(this.checked);return h(i,{key:"dcc719533d7ebad6ebfc175db7fcce81ca432f6c",...this.inheritAriaAttributes,role:"switch",tabindex:this.disabled?-1:0,"aria-label":r,"aria-checked":t,"aria-disabled":a(this.disabled),"aria-required":a(this.required),class:{disabled:this.disabled},onBlur:()=>this.ixBlur.emit(),onFocus:()=>this.touched=!0,onKeyDown:e=>{this.disabled||" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.onCheckedChange(!this.checked))},onClick:()=>{this.disabled||this.onCheckedChange(!this.checked)}},h("div",{key:"86cac25e18858e76e535df0c0a66e94dc5ca4c30",class:"wrapper"},h("div",{key:"63eb080dd311b49c211e57abc8b1b5830a8fb81c",class:{switch:!0,checked:this.checked,indeterminate:this.indeterminate},"aria-hidden":"true"},h("div",{key:"a2f46d4412c3f51d93ffe20d9e8e7681c50f2fa8",class:"slider"})),!this.hideText&&h("ix-typography",{key:"8ed5848b4641a0152b937e8e3fdb9ce4d45ff1d3",class:"label","aria-hidden":"true"},e)))}static get formAssociated(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],checked:[{watchCheckedChange:0}]}}};(function(e,r,t,o){var h,i=arguments.length,a=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,o);else for(var c=e.length-1;c>=0;c--)(h=e[c])&&(a=(i<3?h(a):i>3?h(r,t,a):h(r,t))||a);i>3&&a&&Object.defineProperty(r,t,a)})([m()],b.prototype,"updateClassMappings",null),b.style=':host{display:inline-flex;flex-direction:row;position:relative;min-height:1.5rem;max-height:calc(100% - 0.5rem);margin-block-start:0.25rem;margin-block-end:0.25rem}: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 .wrapper{display:flex;align-items:flex-start;width:100%;max-height:100%}:host .label{word-break:break-word;display:block;white-space:normal;overflow:hidden;margin-block-start:0.125rem;margin-inline-start:0.5rem;min-height:1rem}:host .switch{all:unset;position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem}:host .slider{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:0.0625rem solid transparent}:host .slider:before{position:absolute;content:"";height:1.125rem;width:1.125rem;left:0.125rem;bottom:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%;border:1px solid var(--theme-switch-thumb-off--border-color)}:host .switch.checked>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.5rem)}:host .switch>.slider{border-color:var(--theme-switch-off--border-color)}:host .switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host .switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover);border:1px solid var(--theme-switch-thumb-off--border-color--hover)}:host .switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host .switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active);border:1px solid var(--theme-switch-thumb-off--border-color--active)}:host .switch.checked>.slider{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}:host .switch.checked>.slider:before{border:1px solid var(--theme-switch-thumb-on--border-color)}:host .switch.checked:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host .switch.checked:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover);border:1px solid var(--theme-switch-thumb-on--border-color--hover)}:host .switch.checked:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host .switch.checked:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active);border:1px solid var(--theme-switch-thumb-on--border-color--active)}:host .switch.indeterminate>.slider::before{transform:translateX(0.75rem)}:host(:not(.disabled)) .wrapper{cursor:pointer}:host(:focus),:host(:focus-visible){outline:none}:host(:not(.disabled):focus-visible) .switch>.slider{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:0.0625rem}:host(.disabled){pointer-events:none}:host(.disabled) .switch{opacity:0.5}:host(.disabled) .switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) .switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) .switch.checked>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) .switch.checked>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .label{color:var(--theme-color-weak-text)}:host(.ix-valid:not(.disabled)) .slider{--theme-switch-off--background:var( --theme-switch-off--background--valid );--theme-switch-off--background--hover:var( --theme-switch-off--background--valid--hover );--theme-switch-off--background--active:var( --theme-switch-off--background--valid--active );--theme-switch-thumb-off--border-color:var( --theme-switch-thumb-off--border-color--valid );--theme-switch-thumb-off--border-color--hover:var( --theme-switch-thumb-off--border-color--valid--hover );--theme-switch-thumb-off--border-color--active:var( --theme-switch-thumb-off--border-color--valid--active );--theme-switch-thumb-off--background:var( --theme-switch-thumb-off--background--valid );--theme-switch-thumb-off--background--hover:var( --theme-switch-thumb-off--background--valid--hover );--theme-switch-thumb-off--background--active:var( --theme-switch-thumb-off--background--valid--active );--theme-switch-off--border-color:var( --theme-switch-off--border-color--valid );--theme-switch-off--border-color--hover:var( --theme-switch-off--border-color--valid--hover );--theme-switch-off--border-color--active:var( --theme-switch-off--border-color--valid--active );--theme-switch-on--background:var( --theme-switch-on--background--valid );--theme-switch-on--background--hover:var( --theme-switch-on--background--valid--hover );--theme-switch-on--background--active:var( --theme-switch-on--background--valid--active );--theme-switch-thumb-on--border-color:var( --theme-switch-thumb-on--border-color--valid );--theme-switch-thumb-on--border-color--hover:var( --theme-switch-thumb-on--border-color--valid--hover );--theme-switch-thumb-on--border-color--active:var( --theme-switch-thumb-on--border-color--valid--active );--theme-switch-thumb-on--background:var( --theme-switch-thumb-on--background--valid );--theme-switch-thumb-on--background--hover:var( --theme-switch-thumb-on--background--valid--hover );--theme-switch-thumb-on--background--active:var( --theme-switch-thumb-on--background--valid--active );--theme-switch-on--border-color:var( --theme-switch-on--border-color--valid );--theme-switch-on--border-color--hover:var( --theme-switch-on--border-color--valid--hover );--theme-switch-on--border-color--active:var( --theme-switch-on--border-color--valid--active );--theme-switch-mixed--background:var( --theme-switch-mixed--background--valid );--theme-switch-mixed--background--hover:var( --theme-switch-mixed--background--valid--hover );--theme-switch-mixed--background--active:var( --theme-switch-mixed--background--valid--active );--theme-switch-thumb-mixed--border-color:var( --theme-switch-thumb-mixed--border-color--valid );--theme-switch-thumb-mixed--border-color--hover:var( --theme-switch-thumb-mixed--border-color--valid--hover );--theme-switch-thumb-mixed--border-color--active:var( --theme-switch-thumb-mixed--border-color--valid--active );--theme-switch-thumb-mixed--background:var( --theme-switch-thumb-mixed--background--valid );--theme-switch-thumb-mixed--background--hover:var( --theme-switch-thumb-mixed--background--valid--hover );--theme-switch-thumb-mixed--background--active:var( --theme-switch-thumb-mixed--background--valid--active );--theme-switch-mixed--border-color:var( --theme-switch-mixed--border-color--valid );--theme-switch-mixed--border-color--hover:var( --theme-switch-mixed--border-color--valid--hover );--theme-switch-mixed--border-color--active:var( --theme-switch-mixed--border-color--valid--active )}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var( --theme-switch-off--background--info );--theme-switch-off--background--hover:var( --theme-switch-off--background--info--hover );--theme-switch-off--background--active:var( --theme-switch-off--background--info--active );--theme-switch-thumb-off--border-color:var( --theme-switch-thumb-off--border-color--info );--theme-switch-thumb-off--border-color--hover:var( --theme-switch-thumb-off--border-color--info--hover );--theme-switch-thumb-off--border-color--active:var( --theme-switch-thumb-off--border-color--info--active );--theme-switch-thumb-off--background:var( --theme-switch-thumb-off--background--info );--theme-switch-thumb-off--background--hover:var( --theme-switch-thumb-off--background--info--hover );--theme-switch-thumb-off--background--active:var( --theme-switch-thumb-off--background--info--active );--theme-switch-off--border-color:var( --theme-switch-off--border-color--info );--theme-switch-off--border-color--hover:var( --theme-switch-off--border-color--info--hover );--theme-switch-off--border-color--active:var( --theme-switch-off--border-color--info--active );--theme-switch-on--background:var( --theme-switch-on--background--info );--theme-switch-on--background--hover:var( --theme-switch-on--background--info--hover );--theme-switch-on--background--active:var( --theme-switch-on--background--info--active );--theme-switch-thumb-on--border-color:var( --theme-switch-thumb-on--border-color--info );--theme-switch-thumb-on--border-color--hover:var( --theme-switch-thumb-on--border-color--info--hover );--theme-switch-thumb-on--border-color--active:var( --theme-switch-thumb-on--border-color--info--active );--theme-switch-thumb-on--background:var( --theme-switch-thumb-on--background--info );--theme-switch-thumb-on--background--hover:var( --theme-switch-thumb-on--background--info--hover );--theme-switch-thumb-on--background--active:var( --theme-switch-thumb-on--background--info--active );--theme-switch-on--border-color:var( --theme-switch-on--border-color--info );--theme-switch-on--border-color--hover:var( --theme-switch-on--border-color--info--hover );--theme-switch-on--border-color--active:var( --theme-switch-on--border-color--info--active );--theme-switch-mixed--background:var( --theme-switch-mixed--background--info );--theme-switch-mixed--background--hover:var( --theme-switch-mixed--background--info--hover );--theme-switch-mixed--background--active:var( --theme-switch-mixed--background--info--active );--theme-switch-thumb-mixed--border-color:var( --theme-switch-thumb-mixed--border-color--info );--theme-switch-thumb-mixed--border-color--hover:var( --theme-switch-thumb-mixed--border-color--info--hover );--theme-switch-thumb-mixed--border-color--active:var( --theme-switch-thumb-mixed--border-color--info--active );--theme-switch-thumb-mixed--background:var( --theme-switch-thumb-mixed--background--info );--theme-switch-thumb-mixed--background--hover:var( --theme-switch-thumb-mixed--background--info--hover );--theme-switch-thumb-mixed--background--active:var( --theme-switch-thumb-mixed--background--info--active );--theme-switch-mixed--border-color:var( --theme-switch-mixed--border-color--info );--theme-switch-mixed--border-color--hover:var( --theme-switch-mixed--border-color--info--hover );--theme-switch-mixed--border-color--active:var( --theme-switch-mixed--border-color--info--active )}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var( --theme-switch-off--background--warning );--theme-switch-off--background--hover:var( --theme-switch-off--background--warning--hover );--theme-switch-off--background--active:var( --theme-switch-off--background--warning--active );--theme-switch-thumb-off--border-color:var( --theme-switch-thumb-off--border-color--warning );--theme-switch-thumb-off--border-color--hover:var( --theme-switch-thumb-off--border-color--warning--hover );--theme-switch-thumb-off--border-color--active:var( --theme-switch-thumb-off--border-color--warning--active );--theme-switch-thumb-off--background:var( --theme-switch-thumb-off--background--warning );--theme-switch-thumb-off--background--hover:var( --theme-switch-thumb-off--background--warning--hover );--theme-switch-thumb-off--background--active:var( --theme-switch-thumb-off--background--warning--active );--theme-switch-off--border-color:var( --theme-switch-off--border-color--warning );--theme-switch-off--border-color--hover:var( --theme-switch-off--border-color--warning--hover );--theme-switch-off--border-color--active:var( --theme-switch-off--border-color--warning--active );--theme-switch-on--background:var( --theme-switch-on--background--warning );--theme-switch-on--background--hover:var( --theme-switch-on--background--warning--hover );--theme-switch-on--background--active:var( --theme-switch-on--background--warning--active );--theme-switch-thumb-on--border-color:var( --theme-switch-thumb-on--border-color--warning );--theme-switch-thumb-on--border-color--hover:var( --theme-switch-thumb-on--border-color--warning--hover );--theme-switch-thumb-on--border-color--active:var( --theme-switch-thumb-on--border-color--warning--active );--theme-switch-thumb-on--background:var( --theme-switch-thumb-on--background--warning );--theme-switch-thumb-on--background--hover:var( --theme-switch-thumb-on--background--warning--hover );--theme-switch-thumb-on--background--active:var( --theme-switch-thumb-on--background--warning--active );--theme-switch-on--border-color:var( --theme-switch-on--border-color--warning );--theme-switch-on--border-color--hover:var( --theme-switch-on--border-color--warning--hover );--theme-switch-on--border-color--active:var( --theme-switch-on--border-color--warning--active );--theme-switch-mixed--background:var( --theme-switch-mixed--background--warning );--theme-switch-mixed--background--hover:var( --theme-switch-mixed--background--warning--hover );--theme-switch-mixed--background--active:var( --theme-switch-mixed--background--warning--active );--theme-switch-thumb-mixed--border-color:var( --theme-switch-thumb-mixed--border-color--warning );--theme-switch-thumb-mixed--border-color--hover:var( --theme-switch-thumb-mixed--border-color--warning--hover );--theme-switch-thumb-mixed--border-color--active:var( --theme-switch-thumb-mixed--border-color--warning--active );--theme-switch-thumb-mixed--background:var( --theme-switch-thumb-mixed--background--warning );--theme-switch-thumb-mixed--background--hover:var( --theme-switch-thumb-mixed--background--warning--hover );--theme-switch-thumb-mixed--background--active:var( --theme-switch-thumb-mixed--background--warning--active );--theme-switch-mixed--border-color:var( --theme-switch-mixed--border-color--warning );--theme-switch-mixed--border-color--hover:var( --theme-switch-mixed--border-color--warning--hover );--theme-switch-mixed--border-color--active:var( --theme-switch-mixed--border-color--warning--active )}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var( --theme-switch-off--background--invalid );--theme-switch-off--background--hover:var( --theme-switch-off--background--invalid--hover );--theme-switch-off--background--active:var( --theme-switch-off--background--invalid--active );--theme-switch-thumb-off--border-color:var( --theme-switch-thumb-off--border-color--invalid );--theme-switch-thumb-off--border-color--hover:var( --theme-switch-thumb-off--border-color--invalid--hover );--theme-switch-thumb-off--border-color--active:var( --theme-switch-thumb-off--border-color--invalid--active );--theme-switch-thumb-off--background:var( --theme-switch-thumb-off--background--invalid );--theme-switch-thumb-off--background--hover:var( --theme-switch-thumb-off--background--invalid--hover );--theme-switch-thumb-off--background--active:var( --theme-switch-thumb-off--background--invalid--active );--theme-switch-off--border-color:var( --theme-switch-off--border-color--invalid );--theme-switch-off--border-color--hover:var( --theme-switch-off--border-color--invalid--hover );--theme-switch-off--border-color--active:var( --theme-switch-off--border-color--invalid--active );--theme-switch-on--background:var( --theme-switch-on--background--invalid );--theme-switch-on--background--hover:var( --theme-switch-on--background--invalid--hover );--theme-switch-on--background--active:var( --theme-switch-on--background--invalid--active );--theme-switch-thumb-on--border-color:var( --theme-switch-thumb-on--border-color--invalid );--theme-switch-thumb-on--border-color--hover:var( --theme-switch-thumb-on--border-color--invalid--hover );--theme-switch-thumb-on--border-color--active:var( --theme-switch-thumb-on--border-color--invalid--active );--theme-switch-thumb-on--background:var( --theme-switch-thumb-on--background--invalid );--theme-switch-thumb-on--background--hover:var( --theme-switch-thumb-on--background--invalid--hover );--theme-switch-thumb-on--background--active:var( --theme-switch-thumb-on--background--invalid--active );--theme-switch-on--border-color:var( --theme-switch-on--border-color--invalid );--theme-switch-on--border-color--hover:var( --theme-switch-on--border-color--invalid--hover );--theme-switch-on--border-color--active:var( --theme-switch-on--border-color--invalid--active );--theme-switch-mixed--background:var( --theme-switch-mixed--background--invalid );--theme-switch-mixed--background--hover:var( --theme-switch-mixed--background--invalid--hover );--theme-switch-mixed--background--active:var( --theme-switch-mixed--background--invalid--active );--theme-switch-thumb-mixed--border-color:var( --theme-switch-thumb-mixed--border-color--invalid );--theme-switch-thumb-mixed--border-color--hover:var( --theme-switch-thumb-mixed--border-color--invalid--hover );--theme-switch-thumb-mixed--border-color--active:var( --theme-switch-thumb-mixed--border-color--invalid--active );--theme-switch-thumb-mixed--background:var( --theme-switch-thumb-mixed--background--invalid );--theme-switch-thumb-mixed--background--hover:var( --theme-switch-thumb-mixed--background--invalid--hover );--theme-switch-thumb-mixed--background--active:var( --theme-switch-thumb-mixed--background--invalid--active );--theme-switch-mixed--border-color:var( --theme-switch-mixed--border-color--invalid );--theme-switch-mixed--border-color--hover:var( --theme-switch-mixed--border-color--invalid--hover );--theme-switch-mixed--border-color--active:var( --theme-switch-mixed--border-color--invalid--active )}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var( --theme-switch-off--background--invalid );--theme-switch-off--background--hover:var( --theme-switch-off--background--invalid--hover );--theme-switch-off--background--active:var( --theme-switch-off--background--invalid--active );--theme-switch-thumb-off--border-color:var( --theme-switch-thumb-off--border-color--invalid );--theme-switch-thumb-off--border-color--hover:var( --theme-switch-thumb-off--border-color--invalid--hover );--theme-switch-thumb-off--border-color--active:var( --theme-switch-thumb-off--border-color--invalid--active );--theme-switch-thumb-off--background:var( --theme-switch-thumb-off--background--invalid );--theme-switch-thumb-off--background--hover:var( --theme-switch-thumb-off--background--invalid--hover );--theme-switch-thumb-off--background--active:var( --theme-switch-thumb-off--background--invalid--active );--theme-switch-off--border-color:var( --theme-switch-off--border-color--invalid );--theme-switch-off--border-color--hover:var( --theme-switch-off--border-color--invalid--hover );--theme-switch-off--border-color--active:var( --theme-switch-off--border-color--invalid--active );--theme-switch-on--background:var( --theme-switch-on--background--invalid );--theme-switch-on--background--hover:var( --theme-switch-on--background--invalid--hover );--theme-switch-on--background--active:var( --theme-switch-on--background--invalid--active );--theme-switch-thumb-on--border-color:var( --theme-switch-thumb-on--border-color--invalid );--theme-switch-thumb-on--border-color--hover:var( --theme-switch-thumb-on--border-color--invalid--hover );--theme-switch-thumb-on--border-color--active:var( --theme-switch-thumb-on--border-color--invalid--active );--theme-switch-thumb-on--background:var( --theme-switch-thumb-on--background--invalid );--theme-switch-thumb-on--background--hover:var( --theme-switch-thumb-on--background--invalid--hover );--theme-switch-thumb-on--background--active:var( --theme-switch-thumb-on--background--invalid--active );--theme-switch-on--border-color:var( --theme-switch-on--border-color--invalid );--theme-switch-on--border-color--hover:var( --theme-switch-on--border-color--invalid--hover );--theme-switch-on--border-color--active:var( --theme-switch-on--border-color--invalid--active );--theme-switch-mixed--background:var( --theme-switch-mixed--background--invalid );--theme-switch-mixed--background--hover:var( --theme-switch-mixed--background--invalid--hover );--theme-switch-mixed--background--active:var( --theme-switch-mixed--background--invalid--active );--theme-switch-thumb-mixed--border-color:var( --theme-switch-thumb-mixed--border-color--invalid );--theme-switch-thumb-mixed--border-color--hover:var( --theme-switch-thumb-mixed--border-color--invalid--hover );--theme-switch-thumb-mixed--border-color--active:var( --theme-switch-thumb-mixed--border-color--invalid--active );--theme-switch-thumb-mixed--background:var( --theme-switch-thumb-mixed--background--invalid );--theme-switch-thumb-mixed--background--hover:var( --theme-switch-thumb-mixed--background--invalid--hover );--theme-switch-thumb-mixed--background--active:var( --theme-switch-thumb-mixed--background--invalid--active );--theme-switch-mixed--border-color:var( --theme-switch-mixed--border-color--invalid );--theme-switch-mixed--border-color--hover:var( --theme-switch-mixed--border-color--invalid--hover );--theme-switch-mixed--border-color--active:var( --theme-switch-mixed--border-color--invalid--active )}';export{b as ix_toggle}
@@ -1 +0,0 @@
1
- import{r as t}from"./p-EBgS4zhE.js";import{b as s}from"./p-C21npbUc.js";const i=i=>class extends i{inheritAriaAttributes={};constructor(s,...i){super(...i),t(this,s)}getIgnoredAriaAttributes(){return[]}componentWillLoad(){this.inheritAriaAttributes=s(this.hostElement,this.getIgnoredAriaAttributes?this.getIgnoredAriaAttributes():[])}ariaAttributeChanged(t,s,i){this.getIgnoredAriaAttributes().includes(i)||(this.inheritAriaAttributes={...this.inheritAriaAttributes,[i]:t})}};export{i as I}
@@ -1 +0,0 @@
1
- import{h as n}from"./p-EBgS4zhE.js";import{a as t}from"./p-C21npbUc.js";import{c as i}from"./p-CX81WQtk.js";import{a as e}from"./p-JJddxCCh.js";import{a}from"./p-DhE1t8Qh.js";import{A as s}from"./p-DNIQ2C1K.js";import{s as o}from"./p-S-XikzrL.js";function r(n,t){n.isInvalid=t.isInvalid||t.isInvalidByRequired,n.isValid=t.isValid,n.isInfo=t.isInfo,n.isWarning=t.isWarning}function u(n,t){n.allowedCharactersPattern&&(new RegExp(n.allowedCharactersPattern).test(t.key)||(t.preventDefault(),a(n.inputRef.current,{duration:s.defaultTime,easing:"easeInOutSine",loop:2,translateX:[{value:-5},{value:5},{value:-2.5},{value:2.5},{value:0}]})))}async function l(n,t){const i=t.validity,e=!n.hostElement.classList.contains("ix-invalid--validity-invalid"),a=i.valid;if(e!==a){if(n.validityStateChange.emit(i).defaultPrevented)return;n.hostElement.classList.toggle("ix-invalid--validity-invalid",!a)}if(null==n.value)return;if(await o(n))return;const{valid:s}=i;n.hostElement.classList.toggle("ix-invalid--validity-invalid",!s)}function c(n,t,i){if(!n)return;const a=e(t+8);i.slotEnd?n.style.paddingRight=`calc(${a} + ${i.additionalPaddingRight??"0rem"})`:n.style.paddingLeft=a}function d(n,t,i){requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(n){const t=n.getBoundingClientRect();t&&c(i,t.width,{slotEnd:!1})}if(t){const n=t.getBoundingClientRect();n&&c(i,n.width,{slotEnd:!0})}}))}))}function f(n){const i={"aria-invalid":`${t(n.isInvalid)}`,"aria-required":`${t(n.required)}`};return n.isInvalid&&n.invalidText&&(i["aria-errormessage"]=n.invalidText),i}const m=(n,t)=>{const e=function(n,t){const i=new IntersectionObserver((n=>{n.forEach((n=>{n.isIntersecting&&t()}))}));return i.observe(n),i}(n,t),a=i(t);return a.observe(n,{subtree:!0,attributes:!0}),()=>{e.disconnect(),a.disconnect()}};function p(n,t,i){if(t||"Enter"!==n.key||!i)return;n.preventDefault();const e=i.querySelector('button[type="submit"]');e?i.requestSubmit(e):1===i.length&&i.requestSubmit()}function v(n,t){n.initialValue=t}function h(n,t,i){!function(n,t){if(n.ixBlur.emit(),!t)throw new Error("Input element is not available");t.setAttribute("data-ix-touched","true"),l(n,t)}(n,t),n.initialValue!==i&&(n.ixChange.emit(i),n.initialValue=i)}function g(n,t,i){"Enter"===n.key&&t.initialValue!==i&&(t.ixChange.emit(i),t.initialValue=i)}function y(){return{lastEmittedPatternMismatch:!1,lastEmittedValueMissing:!1}}function b(n){return async function(n,t){if(!t.touched)return;const i=await t.getValidityState(),e=i.patternMismatch,a=i.valueMissing;n.lastEmittedPatternMismatch===e&&n.lastEmittedValueMissing===a||(n.lastEmittedPatternMismatch=e,n.lastEmittedValueMissing=a,t.emit({patternMismatch:e,valueMissing:a,invalidReason:t.invalidReason}))}(n.validityTracker,{touched:n.touched,invalidReason:n.invalidReason,getValidityState:()=>n.getValidityState(),emit:t=>n.validityStateChange.emit(t)})}function x(t){return n("textarea",{id:t.id,readOnly:t.readonly,disabled:t.disabled,maxLength:t.maxLength,minLength:t.minLength,cols:t.textareaCols,rows:t.textareaRows,ref:t.textAreaRef,class:{"is-invalid":t.isInvalid},required:t.required,value:t.value,placeholder:t.placeholder,onFocus:()=>t.onFocus?.(),onInput:n=>{const i=n.target;t.updateFormInternalValue(i.value),t.valueChange(i.value)},onBlur:()=>t.onBlur(),style:{resize:t.resizeBehavior,height:t.textareaHeight,width:t.textareaWidth},...t.ariaAttributes})}function E(t){return n("input",{id:t.id,autoComplete:"off",readOnly:t.readonly,disabled:t.disabled,step:t.step,min:t.min,max:t.max,maxLength:t.maxLength?Number(t.maxLength):void 0,minLength:t.minLength?Number(t.minLength):void 0,ref:t.inputRef,pattern:t.pattern,type:t.type,class:{"is-invalid":t.isInvalid},style:{textAlign:t.textAlignment},required:t.required,value:t.value,placeholder:t.placeholder,onKeyPress:n=>t.onKeyPress(n),onKeyDown:n=>{t.onKeyDown?.(n),t.onEnterKeyChange?.(n),p(n,!!t.suppressSubmitOnEnter,t.form)},onBeforeInput:n=>t.onBeforeInput?.(n),onPaste:n=>t.onPaste?.(n),onFocus:()=>t.onFocus?.(),onInput:n=>{const i=n.target;t.updateFormInternalValue(i.value),t.valueChange(i.value)},onBlur:()=>t.onBlur(),...t.ariaAttributes})}const w=(t,i)=>n("div",{class:"end-container",ref:t.slotEndRef},n("slot",{name:"end",onSlotchange:t.onSlotChange}),i),j=t=>n("div",{class:"start-container",ref:t.slotStartRef},n("slot",{name:"start",onSlotchange:t.onSlotChange}));export{E as I,w as S,x as T,m as a,d as b,y as c,j as d,b as e,v as f,l as g,p as h,f as i,g as j,u as k,r as m,h as o}