@siemens/ix 5.1.1 → 5.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 (853) 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-application.js +1 -1
  7. package/components/ix-avatar.js +1 -1
  8. package/components/ix-badge.d.ts +11 -0
  9. package/components/ix-badge.js +1 -0
  10. package/components/ix-blind.js +1 -1
  11. package/components/ix-breadcrumb-item.js +1 -1
  12. package/components/ix-breadcrumb.js +1 -1
  13. package/components/ix-button.js +1 -1
  14. package/components/ix-card-accordion.js +1 -1
  15. package/components/ix-card-content.js +1 -1
  16. package/components/ix-card-list.js +1 -1
  17. package/components/ix-card-title.js +1 -1
  18. package/components/ix-card.js +1 -1
  19. package/components/ix-category-filter.js +1 -1
  20. package/components/ix-chat-ai-message.d.ts +11 -0
  21. package/components/ix-chat-ai-message.js +1 -0
  22. package/components/ix-chat-attachment.d.ts +11 -0
  23. package/components/ix-chat-attachment.js +1 -0
  24. package/components/ix-chat-input.d.ts +11 -0
  25. package/components/ix-chat-input.js +1 -0
  26. package/components/ix-chat-user-message.d.ts +11 -0
  27. package/components/ix-chat-user-message.js +1 -0
  28. package/components/ix-chat.d.ts +11 -0
  29. package/components/ix-chat.js +1 -0
  30. package/components/ix-checkbox-group.js +1 -1
  31. package/components/ix-checkbox.js +1 -1
  32. package/components/ix-chip.js +1 -1
  33. package/components/ix-col.js +1 -1
  34. package/components/ix-content-header.js +1 -1
  35. package/components/ix-content.js +1 -1
  36. package/components/ix-css-grid-item.js +1 -1
  37. package/components/ix-css-grid.js +1 -1
  38. package/components/ix-custom-field.js +1 -1
  39. package/components/ix-date-dropdown.js +1 -1
  40. package/components/ix-date-input.js +1 -1
  41. package/components/ix-date-picker.js +1 -1
  42. package/components/ix-date-time-card.js +1 -1
  43. package/components/ix-datetime-input.js +1 -1
  44. package/components/ix-datetime-picker.js +1 -1
  45. package/components/ix-divider.js +1 -1
  46. package/components/ix-dropdown-button.js +1 -1
  47. package/components/ix-dropdown-header.js +1 -1
  48. package/components/ix-dropdown-item.js +1 -1
  49. package/components/ix-dropdown-quick-actions.js +1 -1
  50. package/components/ix-dropdown.js +1 -1
  51. package/components/ix-empty-state.js +1 -1
  52. package/components/ix-event-list-item.js +1 -1
  53. package/components/ix-event-list.js +1 -1
  54. package/components/ix-expanding-search.js +1 -1
  55. package/components/ix-field-label.js +1 -1
  56. package/components/ix-field-wrapper.js +1 -1
  57. package/components/ix-filter-chip.js +1 -1
  58. package/components/ix-flip-tile-content.js +1 -1
  59. package/components/ix-flip-tile.js +1 -1
  60. package/components/ix-group-context-menu.js +1 -1
  61. package/components/ix-group-item.js +1 -1
  62. package/components/ix-group.js +1 -1
  63. package/components/ix-helper-text.js +1 -1
  64. package/components/ix-icon-button.js +1 -1
  65. package/components/ix-icon-toggle-button.js +1 -1
  66. package/components/ix-input.js +1 -1
  67. package/components/ix-key-value-list.js +1 -1
  68. package/components/ix-key-value.js +1 -1
  69. package/components/ix-kpi.js +1 -1
  70. package/components/ix-layout-auto.js +1 -1
  71. package/components/ix-layout-grid.js +1 -1
  72. package/components/ix-link-button.js +1 -1
  73. package/components/ix-menu-about-item.js +1 -1
  74. package/components/ix-menu-about-news.js +1 -1
  75. package/components/ix-menu-about.js +1 -1
  76. package/components/ix-menu-avatar-item.js +1 -1
  77. package/components/ix-menu-avatar.js +1 -1
  78. package/components/ix-menu-category.js +1 -1
  79. package/components/ix-menu-expand-icon.js +1 -1
  80. package/components/ix-menu-item.js +1 -1
  81. package/components/ix-menu-settings-item.js +1 -1
  82. package/components/ix-menu-settings.js +1 -1
  83. package/components/ix-menu.js +1 -1
  84. package/components/ix-message-bar.js +1 -1
  85. package/components/ix-modal-content.js +1 -1
  86. package/components/ix-modal-footer.js +1 -1
  87. package/components/ix-modal-header.js +1 -1
  88. package/components/ix-modal-loading.js +1 -1
  89. package/components/ix-modal.js +1 -1
  90. package/components/ix-number-input.js +1 -1
  91. package/components/ix-pagination.js +1 -1
  92. package/components/ix-pane-layout.js +1 -1
  93. package/components/ix-pane.js +1 -1
  94. package/components/ix-pill.js +1 -1
  95. package/components/ix-popover-content.js +1 -1
  96. package/components/ix-popover-footer.js +1 -1
  97. package/components/ix-popover-header.js +1 -1
  98. package/components/ix-popover-image.js +1 -1
  99. package/components/ix-popover.js +1 -1
  100. package/components/ix-progress-indicator.js +1 -1
  101. package/components/ix-push-card.js +1 -1
  102. package/components/ix-radio-group.js +1 -1
  103. package/components/ix-radio.js +1 -1
  104. package/components/ix-range-field.js +1 -1
  105. package/components/ix-row.js +1 -1
  106. package/components/ix-select-item.js +1 -1
  107. package/components/ix-select.js +1 -1
  108. package/components/ix-slider.js +1 -1
  109. package/components/ix-spinner.js +1 -1
  110. package/components/ix-split-button.js +1 -1
  111. package/components/ix-tab-item.js +1 -1
  112. package/components/ix-tab-panel.js +1 -1
  113. package/components/ix-tab-set.js +1 -1
  114. package/components/ix-tabs.js +1 -1
  115. package/components/ix-textarea.js +1 -1
  116. package/components/ix-tile.js +1 -1
  117. package/components/ix-time-input.js +1 -1
  118. package/components/ix-time-picker.js +1 -1
  119. package/components/ix-toast-container.js +1 -1
  120. package/components/ix-toast.js +1 -1
  121. package/components/ix-toggle-button.js +1 -1
  122. package/components/ix-toggle.js +1 -1
  123. package/components/ix-tooltip.js +1 -1
  124. package/components/ix-tree-item.js +1 -1
  125. package/components/ix-tree.js +1 -1
  126. package/components/ix-typography.js +1 -1
  127. package/components/ix-upload.js +1 -1
  128. package/components/ix-workflow-step.js +1 -1
  129. package/components/ix-workflow-steps.js +1 -1
  130. package/components/p-1FBWW6v2.js +1 -0
  131. package/components/p-3U_cSqu_.js +1 -0
  132. package/components/p-4ZsT_zIm.js +1 -0
  133. package/components/{p-CUvmGsh_.js → p-BC2PyjjU.js} +1 -1
  134. package/{dist/siemens-ix/p-wfVRhTWc.js → components/p-BDnx22Gp.js} +1 -1
  135. package/components/{p-baqpOH0g.js → p-BGOtCwtj.js} +1 -1
  136. package/components/{p-CuFZ7CXu.js → p-BHjmN8zz.js} +1 -1
  137. package/components/p-BHoJOFM-.js +1 -0
  138. package/components/{p-CbbabcAR.js → p-BHtNsBtM.js} +1 -1
  139. package/components/p-BQ-hS49k.js +1 -0
  140. package/components/p-BTBxxgtF.js +1 -0
  141. package/components/{p-Cvpz1Ji5.js → p-BcbFeRB0.js} +1 -1
  142. package/components/p-BmZGQGZi.js +1 -0
  143. package/components/p-Bs5X90wM.js +1 -0
  144. package/components/p-C02EaF8C.js +1 -0
  145. package/components/p-CEE0wwD3.js +1 -0
  146. package/components/p-CLDB-pmj.js +1 -0
  147. package/components/p-CRtj-KBq.js +1 -0
  148. package/components/p-CTRSoM-z.js +1 -0
  149. package/components/p-CUpOF7jN.js +1 -0
  150. package/components/{p-GGleop6j.js → p-C_K74Xlt.js} +1 -1
  151. package/components/{p-BRoFUwzJ.js → p-CatmTvkh.js} +1 -1
  152. package/components/{p-Dl_YKIKl.js → p-CgPr717U.js} +1 -1
  153. package/components/p-CtZAuwv3.js +1 -0
  154. package/components/p-Ctb1EExj.js +1 -0
  155. package/components/p-CvAmaEU2.js +1 -0
  156. package/components/p-Cxwq4WaV.js +1 -0
  157. package/components/p-D6O-bCyA.js +1 -0
  158. package/components/{p-BBCsPlPH.js → p-D7qfGAJ7.js} +1 -1
  159. package/components/p-D7sEY2UQ.js +1 -0
  160. package/components/{p-DtmgZu-S.js → p-DWOjSq8j.js} +1 -1
  161. package/components/p-D_HzQCU-.js +1 -0
  162. package/components/p-DdlGyKd2.js +1 -0
  163. package/components/p-DiYkfhDE.js +1 -0
  164. package/components/p-DmtgI24u.js +1 -0
  165. package/components/p-DpvAVNqZ.js +1 -0
  166. package/components/p-DsVj4Cd-.js +1 -0
  167. package/components/{p-Bj_6nynP.js → p-DtWFUcZO.js} +1 -1
  168. package/components/p-DylHkzl6.js +1 -0
  169. package/components/p-NXyac9kC.js +1 -0
  170. package/components/p-OxstEnSC.js +1 -0
  171. package/components/p-R5tYZVVd.js +1 -0
  172. package/components/{p-Czy7a3I4.js → p-WisOWbJ8.js} +1 -1
  173. package/components/{p-1KOHyx-1.js → p-YFmbQndr.js} +1 -1
  174. package/components/p-eGuQ8D3W.js +1 -0
  175. package/components/{p-CtDOTMOT.js → p-eN5fQtqO.js} +1 -1
  176. package/components/p-ePylRxs_.js +1 -0
  177. package/components/p-hf_zqlB1.js +1 -0
  178. package/components/p-l9UTiHpM.js +1 -0
  179. package/components/{p-BZgc6bzH.js → p-snX1FfdL.js} +1 -1
  180. package/components/p-tpMN9yTQ.js +1 -0
  181. package/components/p-v9vlPlkd.js +1 -0
  182. package/dist/cjs/chip.types-BD73fAij.js +22 -0
  183. package/dist/cjs/{helper-text-util-BkHm7ofh.js → helper-text-util-Ci_KFQZ4.js} +1 -1
  184. package/dist/cjs/{index-CwJ-mkQd.js → index-BQht1mLe.js} +20 -0
  185. package/dist/cjs/index-DnclGKUw.js +28 -4
  186. package/dist/cjs/index.cjs.js +1 -1
  187. package/dist/cjs/{input.fc-DM-hX3xb.js → input.fc-xGzM_I6q.js} +1 -1
  188. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  189. package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
  190. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  191. package/dist/cjs/ix-application.cjs.entry.js +1 -1
  192. package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
  193. package/dist/cjs/ix-badge.cjs.entry.js +716 -0
  194. package/dist/cjs/ix-blind.cjs.entry.js +7 -7
  195. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
  196. package/dist/cjs/ix-breadcrumb.cjs.entry.js +4 -4
  197. package/dist/cjs/ix-button.cjs.entry.js +1 -1
  198. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
  199. package/dist/cjs/ix-card-list.cjs.entry.js +63 -10
  200. package/dist/cjs/ix-card_2.cjs.entry.js +5 -5
  201. package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
  202. package/dist/cjs/ix-chat-ai-message.cjs.entry.js +35 -0
  203. package/dist/cjs/ix-chat-attachment.cjs.entry.js +110 -0
  204. package/dist/cjs/ix-chat-input.cjs.entry.js +406 -0
  205. package/dist/cjs/ix-chat-user-message.cjs.entry.js +66 -0
  206. package/dist/cjs/ix-chat.cjs.entry.js +28 -0
  207. package/dist/cjs/ix-checkbox-group.cjs.entry.js +3 -3
  208. package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
  209. package/dist/cjs/ix-chip.cjs.entry.js +10 -29
  210. package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
  211. package/dist/cjs/ix-content-header.cjs.entry.js +4 -4
  212. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  213. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  214. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  215. package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
  216. package/dist/cjs/ix-date-dropdown.cjs.entry.js +7 -7
  217. package/dist/cjs/ix-date-input.cjs.entry.js +7 -7
  218. package/dist/cjs/ix-date-picker.cjs.entry.js +9 -9
  219. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  220. package/dist/cjs/ix-datetime-input.cjs.entry.js +7 -7
  221. package/dist/cjs/ix-datetime-picker.cjs.entry.js +4 -4
  222. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  223. package/dist/cjs/ix-dropdown-button.cjs.entry.js +6 -6
  224. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  225. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  226. package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -7
  227. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  228. package/dist/cjs/ix-event-list-item.cjs.entry.js +6 -6
  229. package/dist/cjs/ix-event-list.cjs.entry.js +8 -5
  230. package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
  231. package/dist/cjs/ix-field-label_2.cjs.entry.js +7 -7
  232. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +6 -6
  233. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  234. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  235. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
  236. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  237. package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
  238. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  239. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +3 -3
  240. package/dist/cjs/ix-input.cjs.entry.js +8 -8
  241. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  242. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
  244. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  245. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  246. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  247. package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
  248. package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
  249. package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
  250. package/dist/cjs/ix-menu-category.cjs.entry.js +12 -9
  251. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  252. package/dist/cjs/ix-menu-item.cjs.entry.js +5 -5
  253. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  254. package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
  255. package/dist/cjs/ix-menu.cjs.entry.js +14 -14
  256. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
  257. package/dist/cjs/ix-modal-content_2.cjs.entry.js +5 -5
  258. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  259. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  260. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  261. package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
  262. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  263. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  264. package/dist/cjs/ix-pane.cjs.entry.js +9 -9
  265. package/dist/cjs/ix-pill_4.cjs.entry.js +20 -20
  266. package/dist/cjs/ix-popover-content.cjs.entry.js +2 -2
  267. package/dist/cjs/ix-popover-footer.cjs.entry.js +2 -2
  268. package/dist/cjs/ix-popover-header.cjs.entry.js +3 -3
  269. package/dist/cjs/ix-popover-image.cjs.entry.js +1 -1
  270. package/dist/cjs/ix-popover.cjs.entry.js +1 -1
  271. package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
  272. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  273. package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
  274. package/dist/cjs/ix-radio.cjs.entry.js +5 -5
  275. package/dist/cjs/ix-range-field.cjs.entry.js +4 -4
  276. package/dist/cjs/ix-select.cjs.entry.js +12 -12
  277. package/dist/cjs/ix-slider.cjs.entry.js +8 -8
  278. package/dist/cjs/ix-split-button.cjs.entry.js +3 -3
  279. package/dist/cjs/ix-tab-panel.cjs.entry.js +2 -2
  280. package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
  281. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  282. package/dist/cjs/ix-time-input.cjs.entry.js +7 -7
  283. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  284. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  285. package/dist/cjs/ix-toggle-button.cjs.entry.js +1 -1
  286. package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
  287. package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
  288. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
  289. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  290. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  291. package/dist/cjs/ix-upload.cjs.entry.js +5 -5
  292. package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -5
  293. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  294. package/dist/cjs/loader.cjs.js +1 -1
  295. package/dist/cjs/siemens-ix.cjs.js +1 -1
  296. package/dist/cjs/{validation-DJaUH-UR.js → validation-B1izlD8M.js} +59 -3
  297. package/dist/collection/collection-manifest.json +6 -0
  298. package/dist/collection/components/action-card/action-card.css +11 -11
  299. package/dist/collection/components/application/application.css +11 -11
  300. package/dist/collection/components/application-header/application-header.css +11 -11
  301. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +11 -11
  302. package/dist/collection/components/avatar/avatar.css +19 -11
  303. package/dist/collection/components/badge/badge.css +622 -0
  304. package/dist/collection/components/badge/badge.js +815 -0
  305. package/dist/collection/components/badge/badge.status-icon.js +65 -0
  306. package/dist/collection/components/badge/badge.types.js +24 -0
  307. package/dist/collection/components/badge/badge.utils.js +57 -0
  308. package/dist/collection/components/badge/test/badge.page.js +190 -0
  309. package/dist/collection/components/blind/blind.css +119 -15
  310. package/dist/collection/components/blind/blind.js +5 -5
  311. package/dist/collection/components/breadcrumb/breadcrumb.css +11 -11
  312. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  313. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +52 -44
  314. package/dist/collection/components/button/button.css +30 -22
  315. package/dist/collection/components/card/card.css +11 -11
  316. package/dist/collection/components/card/card.js +2 -2
  317. package/dist/collection/components/card-accordion/card-accordion.css +61 -44
  318. package/dist/collection/components/card-accordion/card-accordion.js +4 -4
  319. package/dist/collection/components/card-content/card-content.css +11 -11
  320. package/dist/collection/components/card-content/card-content.js +1 -1
  321. package/dist/collection/components/card-list/card-list.css +23 -11
  322. package/dist/collection/components/card-list/card-list.js +67 -10
  323. package/dist/collection/components/card-title/card-title.js +1 -1
  324. package/dist/collection/components/category-filter/category-filter.css +41 -33
  325. package/dist/collection/components/category-filter/category-filter.js +3 -3
  326. package/dist/collection/components/chat/chat.css +114 -0
  327. package/dist/collection/components/chat/chat.js +47 -0
  328. package/dist/collection/components/chat-ai-message/chat-ai-message.css +139 -0
  329. package/dist/collection/components/chat-ai-message/chat-ai-message.js +56 -0
  330. package/dist/collection/components/chat-attachment/chat-attachment.css +135 -0
  331. package/dist/collection/components/chat-attachment/chat-attachment.js +284 -0
  332. package/dist/collection/components/chat-attachment/chat-attachment.types.js +1 -0
  333. package/dist/collection/components/chat-input/chat-input.css +323 -0
  334. package/dist/collection/components/chat-input/chat-input.js +878 -0
  335. package/dist/collection/components/chat-user-message/chat-user-message.css +145 -0
  336. package/dist/collection/components/chat-user-message/chat-user-message.js +112 -0
  337. package/dist/collection/components/checkbox/checkbox.css +11 -11
  338. package/dist/collection/components/checkbox/checkbox.js +3 -3
  339. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  340. package/dist/collection/components/chip/chip.css +28 -19
  341. package/dist/collection/components/chip/chip.js +7 -8
  342. package/dist/collection/components/col/col.css +11 -11
  343. package/dist/collection/components/col/col.js +2 -2
  344. package/dist/collection/components/content/content.css +11 -11
  345. package/dist/collection/components/content/content.js +3 -3
  346. package/dist/collection/components/content-header/content-header.js +3 -3
  347. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  348. package/dist/collection/components/css-grid/css-grid.js +1 -1
  349. package/dist/collection/components/custom-field/custom-field.js +1 -1
  350. package/dist/collection/components/date-dropdown/date-dropdown.css +30 -22
  351. package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
  352. package/dist/collection/components/date-input/date-input.css +22 -22
  353. package/dist/collection/components/date-input/date-input.js +3 -3
  354. package/dist/collection/components/date-picker/date-picker.css +19 -11
  355. package/dist/collection/components/date-picker/date-picker.js +7 -7
  356. package/dist/collection/components/date-time-card/date-time-card.css +11 -11
  357. package/dist/collection/components/date-time-card/date-time-card.js +2 -2
  358. package/dist/collection/components/datetime-input/datetime-input.css +22 -22
  359. package/dist/collection/components/datetime-input/datetime-input.js +3 -3
  360. package/dist/collection/components/datetime-picker/datetime-picker.css +11 -11
  361. package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
  362. package/dist/collection/components/divider/divider.js +1 -1
  363. package/dist/collection/components/dropdown/dropdown.css +11 -11
  364. package/dist/collection/components/dropdown/dropdown.js +1 -1
  365. package/dist/collection/components/dropdown-button/dropdown-button.css +326 -34
  366. package/dist/collection/components/dropdown-button/dropdown-button.js +4 -4
  367. package/dist/collection/components/dropdown-header/dropdown-header.css +11 -11
  368. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  369. package/dist/collection/components/dropdown-item/dropdown-item.css +12 -12
  370. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  371. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  372. package/dist/collection/components/empty-state/empty-state.css +11 -11
  373. package/dist/collection/components/empty-state/empty-state.js +1 -1
  374. package/dist/collection/components/event-list/event-list.css +11 -11
  375. package/dist/collection/components/event-list/event-list.js +7 -4
  376. package/dist/collection/components/event-list-item/event-list-item.css +11 -11
  377. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  378. package/dist/collection/components/expanding-search/expanding-search.css +11 -11
  379. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  380. package/dist/collection/components/field-label/field-label.js +2 -2
  381. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  382. package/dist/collection/components/filter-chip/filter-chip.css +11 -11
  383. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  384. package/dist/collection/components/flip-tile/flip-tile.css +11 -11
  385. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  386. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  387. package/dist/collection/components/group/group-context-menu.js +1 -1
  388. package/dist/collection/components/group/group.js +8 -8
  389. package/dist/collection/components/group-item/group-item.css +11 -11
  390. package/dist/collection/components/helper-text/helper-text.js +1 -1
  391. package/dist/collection/components/icon-button/icon-button.css +49 -39
  392. package/dist/collection/components/icon-button/icon-button.js +2 -2
  393. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +49 -39
  394. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
  395. package/dist/collection/components/input/input.css +11 -11
  396. package/dist/collection/components/input/input.js +4 -4
  397. package/dist/collection/components/input/number-input.css +11 -11
  398. package/dist/collection/components/input/number-input.js +5 -5
  399. package/dist/collection/components/input/textarea.css +11 -11
  400. package/dist/collection/components/input/textarea.js +2 -2
  401. package/dist/collection/components/ix-playground/ix-playground.js +1 -1
  402. package/dist/collection/components/key-value/key-value.js +1 -1
  403. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  404. package/dist/collection/components/kpi/kpi.css +11 -11
  405. package/dist/collection/components/kpi/kpi.js +3 -3
  406. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  407. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  408. package/dist/collection/components/link-button/link-button.js +3 -3
  409. package/dist/collection/components/menu/menu-expand-icon.css +30 -22
  410. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  411. package/dist/collection/components/menu/menu.css +11 -11
  412. package/dist/collection/components/menu/menu.js +12 -12
  413. package/dist/collection/components/menu-about/menu-about.css +11 -11
  414. package/dist/collection/components/menu-about/menu-about.js +2 -2
  415. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  416. package/dist/collection/components/menu-about-news/menu-about-news.css +11 -11
  417. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  418. package/dist/collection/components/menu-avatar/menu-avatar.css +11 -11
  419. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  420. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +11 -11
  421. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  422. package/dist/collection/components/menu-category/menu-category.css +11 -11
  423. package/dist/collection/components/menu-category/menu-category.js +12 -9
  424. package/dist/collection/components/menu-item/menu-item.js +4 -4
  425. package/dist/collection/components/menu-settings/menu-settings.css +11 -11
  426. package/dist/collection/components/menu-settings/menu-settings.js +2 -2
  427. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  428. package/dist/collection/components/message-bar/message-bar.css +11 -11
  429. package/dist/collection/components/message-bar/message-bar.js +1 -1
  430. package/dist/collection/components/modal/modal.js +3 -3
  431. package/dist/collection/components/modal-content/modal-content.css +11 -11
  432. package/dist/collection/components/modal-content/modal-content.js +1 -1
  433. package/dist/collection/components/modal-footer/modal-footer.css +11 -11
  434. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  435. package/dist/collection/components/modal-header/modal-header.css +11 -11
  436. package/dist/collection/components/modal-header/modal-header.js +1 -1
  437. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  438. package/dist/collection/components/pagination/pagination.css +60 -50
  439. package/dist/collection/components/pagination/pagination.js +2 -2
  440. package/dist/collection/components/pane/pane.css +11 -11
  441. package/dist/collection/components/pane/pane.js +7 -7
  442. package/dist/collection/components/pane-layout/pane-layout.css +11 -11
  443. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  444. package/dist/collection/components/pill/pill.css +11 -11
  445. package/dist/collection/components/pill/pill.js +4 -4
  446. package/dist/collection/components/popover/popover.js +1 -1
  447. package/dist/collection/components/popover-content/popover-content.css +11 -11
  448. package/dist/collection/components/popover-content/popover-content.js +1 -1
  449. package/dist/collection/components/popover-footer/popover-footer.css +11 -11
  450. package/dist/collection/components/popover-footer/popover-footer.js +1 -1
  451. package/dist/collection/components/popover-header/popover-header.css +11 -11
  452. package/dist/collection/components/popover-header/popover-header.js +1 -1
  453. package/dist/collection/components/popover-image/popover-image.css +11 -11
  454. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  455. package/dist/collection/components/push-card/push-card.css +70 -0
  456. package/dist/collection/components/push-card/push-card.js +1 -1
  457. package/dist/collection/components/radio/radio.css +11 -11
  458. package/dist/collection/components/radio/radio.js +3 -3
  459. package/dist/collection/components/radio-group/radio-group.js +2 -2
  460. package/dist/collection/components/range-field/range-field.css +11 -11
  461. package/dist/collection/components/range-field/range-field.js +2 -2
  462. package/dist/collection/components/row/row.js +1 -1
  463. package/dist/collection/components/select/select.css +11 -11
  464. package/dist/collection/components/select/select.js +10 -10
  465. package/dist/collection/components/select-item/select-item.js +2 -2
  466. package/dist/collection/components/slider/slider.css +11 -11
  467. package/dist/collection/components/slider/slider.js +6 -6
  468. package/dist/collection/components/spinner/spinner.css +55 -55
  469. package/dist/collection/components/spinner/spinner.js +1 -1
  470. package/dist/collection/components/split-button/split-button.css +11 -11
  471. package/dist/collection/components/split-button/split-button.js +1 -1
  472. package/dist/collection/components/tab-item/tab-item.css +17 -11
  473. package/dist/collection/components/tab-item/tab-item.js +5 -5
  474. package/dist/collection/components/tab-panel/tab-panel.css +11 -11
  475. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  476. package/dist/collection/components/tab-set/tab-set.css +11 -11
  477. package/dist/collection/components/tab-set/tab-set.js +1 -1
  478. package/dist/collection/components/tabs/tabs.css +11 -11
  479. package/dist/collection/components/tabs/tabs.js +5 -5
  480. package/dist/collection/components/tile/tile.css +11 -11
  481. package/dist/collection/components/tile/tile.js +4 -4
  482. package/dist/collection/components/time-input/time-input.css +22 -22
  483. package/dist/collection/components/time-input/time-input.js +3 -3
  484. package/dist/collection/components/time-picker/time-picker.css +11 -11
  485. package/dist/collection/components/time-picker/time-picker.js +5 -5
  486. package/dist/collection/components/toast/toast-container.css +11 -11
  487. package/dist/collection/components/toast/toast-container.js +2 -2
  488. package/dist/collection/components/toast/toast.css +11 -11
  489. package/dist/collection/components/toast/toast.js +2 -2
  490. package/dist/collection/components/toggle/toggle.css +11 -11
  491. package/dist/collection/components/toggle/toggle.js +3 -3
  492. package/dist/collection/components/toggle-button/toggle-button.css +41 -33
  493. package/dist/collection/components/tooltip/tooltip.js +1 -1
  494. package/dist/collection/components/tree/tree.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.css +11 -11
  496. package/dist/collection/components/tree-item/tree-item.js +4 -4
  497. package/dist/collection/components/typography/typography.css +11 -11
  498. package/dist/collection/components/typography/typography.js +1 -1
  499. package/dist/collection/components/upload/upload.css +11 -11
  500. package/dist/collection/components/upload/upload.js +3 -3
  501. package/dist/collection/components/utils/input/validation.js +58 -3
  502. package/dist/collection/components/workflow-step/workflow-step.css +11 -11
  503. package/dist/collection/components/workflow-step/workflow-step.js +3 -3
  504. package/dist/collection/components/workflow-steps/workflow-steps.css +11 -11
  505. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  506. package/dist/esm/chip.types-4ZsT_zIm.js +20 -0
  507. package/dist/esm/{helper-text-util-D0LEFZuB.js → helper-text-util-sQKO6RPJ.js} +1 -1
  508. package/dist/esm/{index-DgUGsIlh.js → index-BeX6RWvV.js} +11 -1
  509. package/dist/esm/index-EBgS4zhE.js +28 -4
  510. package/dist/esm/index.js +1 -1
  511. package/dist/esm/{input.fc-CE3kP-L_.js → input.fc-DliqEtCM.js} +1 -1
  512. package/dist/esm/ix-action-card.entry.js +1 -1
  513. package/dist/esm/ix-application-header.entry.js +2 -2
  514. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  515. package/dist/esm/ix-application.entry.js +1 -1
  516. package/dist/esm/ix-avatar_2.entry.js +3 -3
  517. package/dist/esm/ix-badge.entry.js +714 -0
  518. package/dist/esm/ix-blind.entry.js +7 -7
  519. package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
  520. package/dist/esm/ix-breadcrumb.entry.js +4 -4
  521. package/dist/esm/ix-button.entry.js +1 -1
  522. package/dist/esm/ix-card-accordion_2.entry.js +7 -7
  523. package/dist/esm/ix-card-list.entry.js +63 -10
  524. package/dist/esm/ix-card_2.entry.js +5 -5
  525. package/dist/esm/ix-category-filter.entry.js +5 -5
  526. package/dist/esm/ix-chat-ai-message.entry.js +33 -0
  527. package/dist/esm/ix-chat-attachment.entry.js +108 -0
  528. package/dist/esm/ix-chat-input.entry.js +404 -0
  529. package/dist/esm/ix-chat-user-message.entry.js +64 -0
  530. package/dist/esm/ix-chat.entry.js +26 -0
  531. package/dist/esm/ix-checkbox-group.entry.js +3 -3
  532. package/dist/esm/ix-checkbox.entry.js +5 -5
  533. package/dist/esm/ix-chip.entry.js +9 -28
  534. package/dist/esm/ix-col_4.entry.js +12 -12
  535. package/dist/esm/ix-content-header.entry.js +4 -4
  536. package/dist/esm/ix-content.entry.js +4 -4
  537. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  538. package/dist/esm/ix-css-grid.entry.js +1 -1
  539. package/dist/esm/ix-custom-field.entry.js +2 -2
  540. package/dist/esm/ix-date-dropdown.entry.js +7 -7
  541. package/dist/esm/ix-date-input.entry.js +7 -7
  542. package/dist/esm/ix-date-picker.entry.js +9 -9
  543. package/dist/esm/ix-date-time-card.entry.js +3 -3
  544. package/dist/esm/ix-datetime-input.entry.js +7 -7
  545. package/dist/esm/ix-datetime-picker.entry.js +4 -4
  546. package/dist/esm/ix-divider.entry.js +1 -1
  547. package/dist/esm/ix-dropdown-button.entry.js +6 -6
  548. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  549. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  550. package/dist/esm/ix-dropdown_2.entry.js +7 -7
  551. package/dist/esm/ix-empty-state.entry.js +2 -2
  552. package/dist/esm/ix-event-list-item.entry.js +6 -6
  553. package/dist/esm/ix-event-list.entry.js +8 -5
  554. package/dist/esm/ix-expanding-search.entry.js +6 -6
  555. package/dist/esm/ix-field-label_2.entry.js +7 -7
  556. package/dist/esm/ix-filter-chip_2.entry.js +6 -6
  557. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  558. package/dist/esm/ix-flip-tile.entry.js +5 -5
  559. package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
  560. package/dist/esm/ix-group.entry.js +9 -9
  561. package/dist/esm/ix-helper-text.entry.js +4 -4
  562. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  563. package/dist/esm/ix-icon-toggle-button.entry.js +3 -3
  564. package/dist/esm/ix-input.entry.js +8 -8
  565. package/dist/esm/ix-key-value-list.entry.js +1 -1
  566. package/dist/esm/ix-key-value.entry.js +1 -1
  567. package/dist/esm/ix-kpi.entry.js +5 -5
  568. package/dist/esm/ix-layout-auto.entry.js +1 -1
  569. package/dist/esm/ix-link-button.entry.js +4 -4
  570. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  571. package/dist/esm/ix-menu-about-news.entry.js +6 -6
  572. package/dist/esm/ix-menu-about.entry.js +4 -4
  573. package/dist/esm/ix-menu-avatar.entry.js +4 -4
  574. package/dist/esm/ix-menu-category.entry.js +12 -9
  575. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  576. package/dist/esm/ix-menu-item.entry.js +5 -5
  577. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  578. package/dist/esm/ix-menu-settings.entry.js +4 -4
  579. package/dist/esm/ix-menu.entry.js +14 -14
  580. package/dist/esm/ix-message-bar.entry.js +3 -3
  581. package/dist/esm/ix-modal-content_2.entry.js +5 -5
  582. package/dist/esm/ix-modal-footer.entry.js +2 -2
  583. package/dist/esm/ix-modal-loading.entry.js +1 -1
  584. package/dist/esm/ix-modal.entry.js +3 -3
  585. package/dist/esm/ix-number-input.entry.js +9 -9
  586. package/dist/esm/ix-pagination.entry.js +4 -4
  587. package/dist/esm/ix-pane-layout.entry.js +2 -2
  588. package/dist/esm/ix-pane.entry.js +9 -9
  589. package/dist/esm/ix-pill_4.entry.js +20 -20
  590. package/dist/esm/ix-popover-content.entry.js +2 -2
  591. package/dist/esm/ix-popover-footer.entry.js +2 -2
  592. package/dist/esm/ix-popover-header.entry.js +3 -3
  593. package/dist/esm/ix-popover-image.entry.js +1 -1
  594. package/dist/esm/ix-popover.entry.js +1 -1
  595. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  596. package/dist/esm/ix-push-card.entry.js +2 -2
  597. package/dist/esm/ix-radio-group.entry.js +3 -3
  598. package/dist/esm/ix-radio.entry.js +5 -5
  599. package/dist/esm/ix-range-field.entry.js +4 -4
  600. package/dist/esm/ix-select.entry.js +12 -12
  601. package/dist/esm/ix-slider.entry.js +8 -8
  602. package/dist/esm/ix-split-button.entry.js +3 -3
  603. package/dist/esm/ix-tab-panel.entry.js +2 -2
  604. package/dist/esm/ix-textarea.entry.js +5 -5
  605. package/dist/esm/ix-tile.entry.js +5 -5
  606. package/dist/esm/ix-time-input.entry.js +7 -7
  607. package/dist/esm/ix-toast-container.entry.js +3 -3
  608. package/dist/esm/ix-toast.entry.js +4 -4
  609. package/dist/esm/ix-toggle-button.entry.js +1 -1
  610. package/dist/esm/ix-toggle.entry.js +5 -5
  611. package/dist/esm/ix-tooltip.entry.js +1 -1
  612. package/dist/esm/ix-tree-item.entry.js +6 -6
  613. package/dist/esm/ix-tree.entry.js +1 -1
  614. package/dist/esm/ix-typography.entry.js +2 -2
  615. package/dist/esm/ix-upload.entry.js +5 -5
  616. package/dist/esm/ix-workflow-step.entry.js +5 -5
  617. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  618. package/dist/esm/loader.js +1 -1
  619. package/dist/esm/siemens-ix.js +1 -1
  620. package/dist/esm/{validation-VVt5EFy0.js → validation-DXpftrw5.js} +59 -4
  621. package/dist/siemens-ix/index.esm.js +1 -1
  622. package/dist/siemens-ix/{p-71feb871.entry.js → p-0018f327.entry.js} +1 -1
  623. package/dist/siemens-ix/p-0329eb6e.entry.js +1 -0
  624. package/dist/siemens-ix/{p-c69036b1.entry.js → p-03745110.entry.js} +1 -1
  625. package/dist/siemens-ix/p-0555a6fb.entry.js +1 -0
  626. package/dist/siemens-ix/{p-71a31d92.entry.js → p-05c35730.entry.js} +1 -1
  627. package/dist/siemens-ix/p-0b10bb78.entry.js +1 -0
  628. package/dist/siemens-ix/p-0f2ac675.entry.js +1 -0
  629. package/dist/siemens-ix/{p-427f85c3.entry.js → p-12bce791.entry.js} +1 -1
  630. package/dist/siemens-ix/p-14554694.entry.js +1 -0
  631. package/dist/siemens-ix/p-1afa8fb3.entry.js +1 -0
  632. package/dist/siemens-ix/p-1bce1c19.entry.js +1 -0
  633. package/dist/siemens-ix/p-1d06e067.entry.js +1 -0
  634. package/dist/siemens-ix/{p-c0d56b86.entry.js → p-1fbb010f.entry.js} +1 -1
  635. package/dist/siemens-ix/p-1fddf959.entry.js +1 -0
  636. package/dist/siemens-ix/p-207d77b3.entry.js +1 -0
  637. package/dist/siemens-ix/{p-21b09017.entry.js → p-217dc62a.entry.js} +1 -1
  638. package/dist/siemens-ix/{p-2753ed4e.entry.js → p-222d3d93.entry.js} +1 -1
  639. package/dist/siemens-ix/p-2270cc5d.entry.js +1 -0
  640. package/dist/siemens-ix/p-29e8126a.entry.js +1 -0
  641. package/dist/siemens-ix/{p-ea9691c1.entry.js → p-2b0ffba0.entry.js} +1 -1
  642. package/dist/siemens-ix/p-2e780c86.entry.js +1 -0
  643. package/dist/siemens-ix/p-30008054.entry.js +1 -0
  644. package/dist/siemens-ix/p-34d5185d.entry.js +1 -0
  645. package/dist/siemens-ix/p-34f2792e.entry.js +1 -0
  646. package/dist/siemens-ix/{p-ac804eb2.entry.js → p-383e95ad.entry.js} +1 -1
  647. package/dist/siemens-ix/{p-e5e220c7.entry.js → p-38e0953a.entry.js} +1 -1
  648. package/dist/siemens-ix/p-39079ba7.entry.js +1 -0
  649. package/dist/siemens-ix/{p-ab202c45.entry.js → p-3c7a8e8b.entry.js} +1 -1
  650. package/dist/siemens-ix/p-3ca5d3b9.entry.js +1 -0
  651. package/dist/siemens-ix/{p-34eaf010.entry.js → p-4079292f.entry.js} +1 -1
  652. package/dist/siemens-ix/p-447d52de.entry.js +1 -0
  653. package/dist/siemens-ix/p-47e2c5a1.entry.js +1 -0
  654. package/dist/siemens-ix/{p-e3da7c67.entry.js → p-488b7074.entry.js} +1 -1
  655. package/dist/siemens-ix/p-49d8b129.entry.js +1 -0
  656. package/dist/siemens-ix/p-4ZsT_zIm.js +1 -0
  657. package/dist/siemens-ix/p-4b85292e.entry.js +1 -0
  658. package/dist/siemens-ix/p-4f02b8dd.entry.js +1 -0
  659. package/dist/siemens-ix/{p-d16ee3bd.entry.js → p-5014b469.entry.js} +1 -1
  660. package/dist/siemens-ix/p-55a57ce6.entry.js +1 -0
  661. package/dist/siemens-ix/{p-b534dadd.entry.js → p-55ae6204.entry.js} +1 -1
  662. package/dist/siemens-ix/p-55e8ad3b.entry.js +1 -0
  663. package/dist/siemens-ix/p-58c6aa27.entry.js +1 -0
  664. package/dist/siemens-ix/p-5f48d238.entry.js +1 -0
  665. package/dist/siemens-ix/p-64432fa0.entry.js +1 -0
  666. package/dist/siemens-ix/p-66097da1.entry.js +1 -0
  667. package/dist/siemens-ix/p-66e92cdd.entry.js +1 -0
  668. package/dist/siemens-ix/p-6c25b44d.entry.js +1 -0
  669. package/dist/siemens-ix/p-6ebf66b8.entry.js +1 -0
  670. package/dist/siemens-ix/{p-a2aa806e.entry.js → p-6ffe8ec7.entry.js} +1 -1
  671. package/dist/siemens-ix/{p-6aa5adb4.entry.js → p-7690a56d.entry.js} +1 -1
  672. package/dist/siemens-ix/p-7b9d9c0c.entry.js +1 -0
  673. package/dist/siemens-ix/{p-da2e0f0e.entry.js → p-7bc3af96.entry.js} +1 -1
  674. package/dist/siemens-ix/p-80d7a07a.entry.js +1 -0
  675. package/dist/siemens-ix/p-816bcf01.entry.js +1 -0
  676. package/dist/siemens-ix/p-836df58e.entry.js +1 -0
  677. package/dist/siemens-ix/p-86ad005e.entry.js +1 -0
  678. package/dist/siemens-ix/{p-d1cd3cb9.entry.js → p-884fd236.entry.js} +1 -1
  679. package/dist/siemens-ix/p-89f6329b.entry.js +1 -0
  680. package/dist/siemens-ix/p-8a14750f.entry.js +1 -0
  681. package/dist/siemens-ix/p-8c3e7613.entry.js +1 -0
  682. package/dist/siemens-ix/p-8df1362f.entry.js +1 -0
  683. package/dist/siemens-ix/p-9094212f.entry.js +1 -0
  684. package/{components/p-DkAUNod9.js → dist/siemens-ix/p-92804589.entry.js} +1 -1
  685. package/dist/siemens-ix/p-95625e2a.entry.js +1 -0
  686. package/dist/siemens-ix/p-99b97922.entry.js +1 -0
  687. package/dist/siemens-ix/p-99df3561.entry.js +1 -0
  688. package/dist/siemens-ix/p-BeX6RWvV.js +1 -0
  689. package/dist/siemens-ix/p-S-XikzrL.js +1 -0
  690. package/dist/siemens-ix/{p-57678563.entry.js → p-a1d79970.entry.js} +1 -1
  691. package/dist/siemens-ix/{p-bc0f5cbe.entry.js → p-a23edbb6.entry.js} +1 -1
  692. package/dist/siemens-ix/{p-f43c97cf.entry.js → p-a2a3d749.entry.js} +1 -1
  693. package/dist/siemens-ix/p-a7d695f5.entry.js +1 -0
  694. package/dist/siemens-ix/p-a87b0328.entry.js +1 -0
  695. package/dist/siemens-ix/{p-8f72a218.entry.js → p-a92495b8.entry.js} +1 -1
  696. package/dist/siemens-ix/{p-0e74e65c.entry.js → p-abe537f8.entry.js} +1 -1
  697. package/dist/siemens-ix/p-b299eca3.entry.js +1 -0
  698. package/dist/siemens-ix/{p-e9b37020.entry.js → p-b3eaf43d.entry.js} +1 -1
  699. package/dist/siemens-ix/p-b990c3f4.entry.js +1 -0
  700. package/dist/siemens-ix/p-baf74d39.entry.js +1 -0
  701. package/dist/siemens-ix/{p-4faa3c03.entry.js → p-bd2f7002.entry.js} +1 -1
  702. package/dist/siemens-ix/p-bf75d77b.entry.js +1 -0
  703. package/dist/siemens-ix/{p-b2fe56c7.entry.js → p-bf827cb3.entry.js} +1 -1
  704. package/dist/siemens-ix/p-c1b669ae.entry.js +1 -0
  705. package/dist/siemens-ix/{p-95e8951f.entry.js → p-c2d8ec4e.entry.js} +1 -1
  706. package/dist/siemens-ix/p-c3e44b4a.entry.js +1 -0
  707. package/dist/siemens-ix/p-c4379966.entry.js +1 -0
  708. package/dist/siemens-ix/{p-52096875.entry.js → p-c6346987.entry.js} +1 -1
  709. package/dist/siemens-ix/p-c6987c42.entry.js +1 -0
  710. package/dist/siemens-ix/{p-7655c4c2.entry.js → p-ca4259c9.entry.js} +1 -1
  711. package/dist/siemens-ix/{p-7899597f.entry.js → p-cb43f6e5.entry.js} +1 -1
  712. package/dist/siemens-ix/p-cc6305ab.entry.js +1 -0
  713. package/dist/siemens-ix/{p-5d7ede96.entry.js → p-ccea2ebf.entry.js} +1 -1
  714. package/dist/siemens-ix/p-cddc43e2.entry.js +1 -0
  715. package/dist/siemens-ix/{p-a44b1452.entry.js → p-cf56ddd5.entry.js} +1 -1
  716. package/dist/siemens-ix/{p-d45ff0a0.entry.js → p-cfd83faa.entry.js} +1 -1
  717. package/dist/siemens-ix/p-d0649c07.entry.js +1 -0
  718. package/dist/siemens-ix/p-d39c4aeb.entry.js +1 -0
  719. package/dist/siemens-ix/{p-d699bb26.entry.js → p-d555f28a.entry.js} +1 -1
  720. package/dist/siemens-ix/p-e4f04831.entry.js +1 -0
  721. package/dist/siemens-ix/p-e789cd7e.entry.js +1 -0
  722. package/dist/siemens-ix/p-e7dedba9.entry.js +1 -0
  723. package/dist/siemens-ix/{p-b7570885.entry.js → p-ea3b4ad4.entry.js} +1 -1
  724. package/dist/siemens-ix/p-eba11702.entry.js +1 -0
  725. package/dist/siemens-ix/p-eda419ea.entry.js +1 -0
  726. package/dist/siemens-ix/p-f3528209.entry.js +1 -0
  727. package/dist/siemens-ix/p-f3e24bb0.entry.js +1 -0
  728. package/dist/siemens-ix/{p-eac237a1.entry.js → p-f4575603.entry.js} +1 -1
  729. package/dist/siemens-ix/p-f705bb97.entry.js +1 -0
  730. package/dist/siemens-ix/p-fff1f8b1.entry.js +1 -0
  731. package/dist/siemens-ix/{p-C518yBiI.js → p-kmPsIcs5.js} +1 -1
  732. package/{components/p-CAH3dF6j.js → dist/siemens-ix/p-yUgQMMln.js} +1 -1
  733. package/dist/siemens-ix/siemens-ix.css +11 -11
  734. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  735. package/dist/types/components/badge/badge.d.ts +210 -0
  736. package/dist/types/components/badge/badge.status-icon.d.ts +21 -0
  737. package/dist/types/components/badge/badge.types.d.ts +19 -0
  738. package/dist/types/components/badge/badge.utils.d.ts +10 -0
  739. package/dist/types/components/badge/test/badge.page.d.ts +67 -0
  740. package/dist/types/components/card-list/card-list.d.ts +4 -1
  741. package/dist/types/components/chat/chat.d.ts +11 -0
  742. package/dist/types/components/chat-ai-message/chat-ai-message.d.ts +14 -0
  743. package/dist/types/components/chat-attachment/chat-attachment.d.ts +47 -0
  744. package/dist/types/components/chat-attachment/chat-attachment.types.d.ts +1 -0
  745. package/dist/types/components/chat-input/chat-input.d.ts +175 -0
  746. package/dist/types/components/chat-user-message/chat-user-message.d.ts +23 -0
  747. package/dist/types/components/chip/chip.d.ts +1 -1
  748. package/dist/types/components/menu-category/menu-category.d.ts +1 -1
  749. package/dist/types/components/utils/input/validation.d.ts +6 -0
  750. package/dist/types/components.d.ts +706 -5
  751. package/dist/types/public-api.d.ts +1 -0
  752. package/hydrate/index.js +2020 -430
  753. package/hydrate/index.mjs +2020 -430
  754. package/package.json +3 -3
  755. package/scss/mixins/_scrollbar.scss +21 -9
  756. package/components/p-3VG6z9c3.js +0 -1
  757. package/components/p-7HGOhDMX.js +0 -1
  758. package/components/p-BH2Yhp3V.js +0 -1
  759. package/components/p-BIcWFids.js +0 -1
  760. package/components/p-BWH03B1n.js +0 -1
  761. package/components/p-BWknDysp.js +0 -1
  762. package/components/p-B_MBGj0b.js +0 -1
  763. package/components/p-BtSt9tC5.js +0 -1
  764. package/components/p-BzFLbXmT.js +0 -1
  765. package/components/p-C7MRPZvZ.js +0 -1
  766. package/components/p-CHV-_J6i.js +0 -1
  767. package/components/p-Ca8JFa1v.js +0 -1
  768. package/components/p-CgHioxG-.js +0 -1
  769. package/components/p-CkIELF-1.js +0 -1
  770. package/components/p-D1sONqtj.js +0 -1
  771. package/components/p-D69Mojvn.js +0 -1
  772. package/components/p-DKH7tPDu.js +0 -1
  773. package/components/p-DLe8Pp58.js +0 -1
  774. package/components/p-DM7ma3Eh.js +0 -1
  775. package/components/p-DO3HtUke.js +0 -1
  776. package/components/p-DfdjJL6W.js +0 -1
  777. package/components/p-DjIyhGBC.js +0 -1
  778. package/components/p-DuMiVxY1.js +0 -1
  779. package/components/p-Dwe6tWhq.js +0 -1
  780. package/components/p-DwmHytZi.js +0 -1
  781. package/components/p-DziPiOL3.js +0 -1
  782. package/components/p-GmOVROeD.js +0 -1
  783. package/components/p-LbnItC1h.js +0 -1
  784. package/components/p-R1AQtGdV.js +0 -1
  785. package/components/p-_f_q2Etu.js +0 -1
  786. package/components/p-f1jZqaUz.js +0 -1
  787. package/components/p-olkZUb1j.js +0 -1
  788. package/components/p-z19mjzlp.js +0 -1
  789. package/dist/siemens-ix/p-03215d55.entry.js +0 -1
  790. package/dist/siemens-ix/p-04a42013.entry.js +0 -1
  791. package/dist/siemens-ix/p-0b24f8d0.entry.js +0 -1
  792. package/dist/siemens-ix/p-0fd5baf1.entry.js +0 -1
  793. package/dist/siemens-ix/p-18cae4df.entry.js +0 -1
  794. package/dist/siemens-ix/p-1a6b7e92.entry.js +0 -1
  795. package/dist/siemens-ix/p-1cd9a45a.entry.js +0 -1
  796. package/dist/siemens-ix/p-1ea183fb.entry.js +0 -1
  797. package/dist/siemens-ix/p-227ba1b8.entry.js +0 -1
  798. package/dist/siemens-ix/p-2eb094c0.entry.js +0 -1
  799. package/dist/siemens-ix/p-39fb1c9e.entry.js +0 -1
  800. package/dist/siemens-ix/p-3bb5600a.entry.js +0 -1
  801. package/dist/siemens-ix/p-3bfa4bbc.entry.js +0 -1
  802. package/dist/siemens-ix/p-3f5ac9f7.entry.js +0 -1
  803. package/dist/siemens-ix/p-4154d18a.entry.js +0 -1
  804. package/dist/siemens-ix/p-45106215.entry.js +0 -1
  805. package/dist/siemens-ix/p-4ceb3543.entry.js +0 -1
  806. package/dist/siemens-ix/p-4d179abe.entry.js +0 -1
  807. package/dist/siemens-ix/p-50a44cb9.entry.js +0 -1
  808. package/dist/siemens-ix/p-54a22a58.entry.js +0 -1
  809. package/dist/siemens-ix/p-5ff289c7.entry.js +0 -1
  810. package/dist/siemens-ix/p-601224bd.entry.js +0 -1
  811. package/dist/siemens-ix/p-703c7e7c.entry.js +0 -1
  812. package/dist/siemens-ix/p-71a5fae5.entry.js +0 -1
  813. package/dist/siemens-ix/p-747d14a2.entry.js +0 -1
  814. package/dist/siemens-ix/p-7c120d09.entry.js +0 -1
  815. package/dist/siemens-ix/p-8164a98b.entry.js +0 -1
  816. package/dist/siemens-ix/p-83f4cd88.entry.js +0 -1
  817. package/dist/siemens-ix/p-8658717f.entry.js +0 -1
  818. package/dist/siemens-ix/p-8900e229.entry.js +0 -1
  819. package/dist/siemens-ix/p-8b839f30.entry.js +0 -1
  820. package/dist/siemens-ix/p-8cea823b.entry.js +0 -1
  821. package/dist/siemens-ix/p-8d535dc9.entry.js +0 -1
  822. package/dist/siemens-ix/p-96a3b3df.entry.js +0 -1
  823. package/dist/siemens-ix/p-9f2905df.entry.js +0 -1
  824. package/dist/siemens-ix/p-DgUGsIlh.js +0 -1
  825. package/dist/siemens-ix/p-a25f267b.entry.js +0 -1
  826. package/dist/siemens-ix/p-a7f5e11e.entry.js +0 -1
  827. package/dist/siemens-ix/p-a8911648.entry.js +0 -1
  828. package/dist/siemens-ix/p-aa904521.entry.js +0 -1
  829. package/dist/siemens-ix/p-af808244.entry.js +0 -1
  830. package/dist/siemens-ix/p-b004e845.entry.js +0 -1
  831. package/dist/siemens-ix/p-b63d7f36.entry.js +0 -1
  832. package/dist/siemens-ix/p-bddd1cca.entry.js +0 -1
  833. package/dist/siemens-ix/p-bfb758cb.entry.js +0 -1
  834. package/dist/siemens-ix/p-c0c6d772.entry.js +0 -1
  835. package/dist/siemens-ix/p-c1c209f6.entry.js +0 -1
  836. package/dist/siemens-ix/p-c9718f0d.entry.js +0 -1
  837. package/dist/siemens-ix/p-cd42c4e6.entry.js +0 -1
  838. package/dist/siemens-ix/p-d02d2e49.entry.js +0 -1
  839. package/dist/siemens-ix/p-d13c0b78.entry.js +0 -1
  840. package/dist/siemens-ix/p-d5761950.entry.js +0 -1
  841. package/dist/siemens-ix/p-d770d8ba.entry.js +0 -1
  842. package/dist/siemens-ix/p-daf43138.entry.js +0 -1
  843. package/dist/siemens-ix/p-dc16a32d.entry.js +0 -1
  844. package/dist/siemens-ix/p-ddcc8627.entry.js +0 -1
  845. package/dist/siemens-ix/p-e58ae892.entry.js +0 -1
  846. package/dist/siemens-ix/p-e6046255.entry.js +0 -1
  847. package/dist/siemens-ix/p-eff190ad.entry.js +0 -1
  848. package/dist/siemens-ix/p-f1cd82bd.entry.js +0 -1
  849. package/dist/siemens-ix/p-f507157f.entry.js +0 -1
  850. package/dist/siemens-ix/p-fa5c236f.entry.js +0 -1
  851. package/dist/siemens-ix/p-fbd006be.entry.js +0 -1
  852. package/dist/siemens-ix/p-fdec73d4.entry.js +0 -1
  853. package/dist/siemens-ix/p-yZFaEeBW.js +0 -1
@@ -1 +1 @@
1
- import{p as r,H as e,h as a,d as o,t}from"./p-CtDOTMOT.js";import{d as c}from"./p-DfdjJL6W.js";import{d}from"./p-_f_q2Etu.js";import{d as i}from"./p-BH2Yhp3V.js";import{d as s}from"./p-DLe8Pp58.js";import{d as n}from"./p-1KOHyx-1.js";const h=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}icon;ariaLabelIcon;notification;heading;subheading;variant="outline";expanded=!1;passive=!1;render(){return a(o,{key:"559d12fce394d034e88a67d1792cf89db5e1f9d6",class:"card-"+this.variant},a("ix-card",{key:"74a3295376423e02defc79637f53905f1975a10e",variant:this.variant,passive:this.passive},a("ix-card-content",{key:"e88ae5131c174acebb759628d6de18bdf26d8141"},a("ix-card-title",{key:"6c1df74de6c6e7b82a6301db6ecc6268d4891e47"},this.icon?a("ix-icon",{class:"icon",name:this.icon,size:"32","aria-label":this.ariaLabelIcon}):null,a("ix-typography",{key:"0f1b79fd78aa5b954c6320b9f61dbbcab61ef3c7",format:"display-xxl"},this.notification??0),a("slot",{key:"778a56994a47ad9e8fbcee8526c592e6e0459930",name:"title-action"})),a("ix-typography",{key:"5a3b385c75a69f0324fc890c2519476111bc2a4e",format:"h4"},this.heading),a("ix-typography",{key:"6f261327133e30244fe398c91e099b3dcba848fa"},this.subheading)),a("ix-card-accordion",{key:"3175d45b32f0d9a1eaccb205a3052b5746fc5287",collapse:!this.expanded,variant:this.variant},a("slot",{key:"08b90be54cd2d292349ead1ce20a173104ce266e"}))))}static get style(){return":host{display:block;position:relative}:host ix-card{cursor:default}:host ix-card-accordion{cursor:pointer}:host .icon{height:2.5rem;width:2.5rem}:host ix-card-title{height:2.5rem}:host ix-card-content{height:11rem}:host(.card-outline) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-outline-accordion--border-color)}:host(.card-filled) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-filled-accordion--border-color)}:host(.card-alarm) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-alarm-accordion--border-color)}:host(.card-critical) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-critical-accordion--border-color)}:host(.card-warning) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-warning-accordion--border-color)}:host(.card-success) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-success-accordion--border-color)}:host(.card-info) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-info-accordion--border-color)}:host(.card-neutral) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-neutral-accordion--border-color)}:host(.card-primary) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-primary-accordion--border-color)}"}},[769,"ix-push-card",{icon:[1],ariaLabelIcon:[1,"aria-label-icon"],notification:[1],heading:[1],subheading:[1],variant:[1],expanded:[4],passive:[4]}]),b=h,m=function(){"undefined"!=typeof customElements&&["ix-push-card","ix-card","ix-card-accordion","ix-card-content","ix-card-title","ix-typography"].forEach((r=>{switch(r){case"ix-push-card":customElements.get(t(r))||customElements.define(t(r),h);break;case"ix-card":customElements.get(t(r))||c();break;case"ix-card-accordion":customElements.get(t(r))||d();break;case"ix-card-content":customElements.get(t(r))||i();break;case"ix-card-title":customElements.get(t(r))||s();break;case"ix-typography":customElements.get(t(r))||n()}}))};export{b as IxPushCard,m as defineCustomElement}
1
+ import{p as r,H as a,h as e,d as c,t as d}from"./p-eN5fQtqO.js";import{d as o}from"./p-D6O-bCyA.js";import{d as t}from"./p-NXyac9kC.js";import{d as i}from"./p-v9vlPlkd.js";import{d as n}from"./p-C02EaF8C.js";import{d as h}from"./p-YFmbQndr.js";const s=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}icon;ariaLabelIcon;notification;heading;subheading;variant="outline";expanded=!1;passive=!1;render(){return e(c,{key:"0f239a6558a0ccb0287124bb256a7d7d6256dc8e",class:"card-"+this.variant},e("ix-card",{key:"e512c612e4c0fef3a5ec1d375d653db177b90aca",variant:this.variant,passive:this.passive},e("ix-card-content",{key:"5c587c9b4698117ffda6104a402f3887cae9cdcc"},e("ix-card-title",{key:"5f541549ea22b378bc26446f0f68feb8b8926c33"},this.icon?e("ix-icon",{class:"icon",name:this.icon,size:"32","aria-label":this.ariaLabelIcon}):null,e("ix-typography",{key:"363d4ecfe1196bbc591376b9a0405f91c8b6f55d",format:"display-xxl"},this.notification??0),e("slot",{key:"8ab001894e21f7bd60861015c5d54d2eb14ab3d1",name:"title-action"})),e("ix-typography",{key:"831bc352f52398683fd251dfacfcc2292539a3b5",format:"h4"},this.heading),e("ix-typography",{key:"8e47745fbef875019a99a7f017975ac4a722db09"},this.subheading)),e("ix-card-accordion",{key:"43d0965dd8950bba104de8b207cae142c69e1d58",collapse:!this.expanded,variant:this.variant},e("slot",{key:"92a7fe73f9b6561707057d9daef3f70bba13a667"}))))}static get style(){return":host{display:block;position:relative}:host ix-card{cursor:default}:host ix-card-accordion{cursor:pointer}:host .icon{height:2.5rem;width:2.5rem}:host ix-card-title{height:2.5rem}:host ix-card-content{height:11rem}:host(.card-outline) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-outline-accordion--border-color)}:host(.card-outline) ix-card-accordion{--theme-push-card-outline-accordion--background--hover:var(--theme-push-card-outline-accordion--background);--theme-push-card-outline-accordion--background--active:var(--theme-push-card-outline-accordion--background);--theme-push-card-outline-accordion-frame--border-color:var(--theme-push-card-outline-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-background:var(--theme-color-component-1);--theme-push-card-outline-accordion-frame--border-color:var(--theme-color-soft-bdr)}:host(.card-outline) ix-card{--ix-card-border-color:var(--theme-color-soft-bdr)}:host(.card-outline) ix-card:hover,:host(.card-outline) ix-card:active{--ix-card-border-color:var(--theme-color-soft-bdr)}:host(.card-filled) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-filled-accordion--border-color)}:host(.card-filled) ix-card-accordion{--theme-push-card-filled-accordion--background--hover:var(--theme-push-card-filled-accordion--background);--theme-push-card-filled-accordion--background--active:var(--theme-push-card-filled-accordion--background);--theme-push-card-filled-accordion-frame--border-color:var(--theme-push-card-filled-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-background:var(--theme-color-component-1)}:host(.card-alarm) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-alarm-accordion--border-color)}:host(.card-alarm) ix-card-accordion{--theme-push-card-alarm-accordion--background--hover:var(--theme-push-card-alarm-accordion--background);--theme-push-card-alarm-accordion--background--active:var(--theme-push-card-alarm-accordion--background);--theme-push-card-alarm-accordion-frame--border-color:var(--theme-push-card-alarm-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-critical) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-critical-accordion--border-color)}:host(.card-critical) ix-card-accordion{--theme-push-card-critical-accordion--background--hover:var(--theme-push-card-critical-accordion--background);--theme-push-card-critical-accordion--background--active:var(--theme-push-card-critical-accordion--background);--theme-push-card-critical-accordion-frame--border-color:var(--theme-push-card-critical-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-warning) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-warning-accordion--border-color)}:host(.card-warning) ix-card-accordion{--theme-push-card-warning-accordion--background--hover:var(--theme-push-card-warning-accordion--background);--theme-push-card-warning-accordion--background--active:var(--theme-push-card-warning-accordion--background);--theme-push-card-warning-accordion-frame--border-color:var(--theme-push-card-warning-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-success) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-success-accordion--border-color)}:host(.card-success) ix-card-accordion{--theme-push-card-success-accordion--background--hover:var(--theme-push-card-success-accordion--background);--theme-push-card-success-accordion--background--active:var(--theme-push-card-success-accordion--background);--theme-push-card-success-accordion-frame--border-color:var(--theme-push-card-success-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-info) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-info-accordion--border-color)}:host(.card-info) ix-card-accordion{--theme-push-card-info-accordion--background--hover:var(--theme-push-card-info-accordion--background);--theme-push-card-info-accordion--background--active:var(--theme-push-card-info-accordion--background);--theme-push-card-info-accordion-frame--border-color:var(--theme-push-card-info-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-neutral) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-neutral-accordion--border-color)}:host(.card-neutral) ix-card-accordion{--theme-push-card-neutral-accordion--background--hover:var(--theme-push-card-neutral-accordion--background);--theme-push-card-neutral-accordion--background--active:var(--theme-push-card-neutral-accordion--background);--theme-push-card-neutral-accordion-frame--border-color:var(--theme-push-card-neutral-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}:host(.card-primary) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-primary-accordion--border-color)}:host(.card-primary) ix-card-accordion{--theme-push-card-primary-accordion--background--hover:var(--theme-push-card-primary-accordion--background);--theme-push-card-primary-accordion--background--active:var(--theme-push-card-primary-accordion--background);--theme-push-card-primary-accordion-frame--border-color:var(--theme-push-card-primary-accordion--background);--ix-card-accordion-expand-content--border-radius:0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);--ix-card-accordion-expand-content--border-radius:0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width))}"}},[769,"ix-push-card",{icon:[1],ariaLabelIcon:[1,"aria-label-icon"],notification:[1],heading:[1],subheading:[1],variant:[1],expanded:[4],passive:[4]}]),u=s,b=function(){"undefined"!=typeof customElements&&["ix-push-card","ix-card","ix-card-accordion","ix-card-content","ix-card-title","ix-typography"].forEach((r=>{switch(r){case"ix-push-card":customElements.get(d(r))||customElements.define(d(r),s);break;case"ix-card":customElements.get(d(r))||o();break;case"ix-card-accordion":customElements.get(d(r))||t();break;case"ix-card-content":customElements.get(d(r))||i();break;case"ix-card-title":customElements.get(d(r))||n();break;case"ix-typography":customElements.get(d(r))||h()}}))};export{u as IxPushCard,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,e as i,h as s,d as a,t as o}from"./p-CtDOTMOT.js";import{m as r}from"./p-Djkc69iv.js";import{d as n}from"./p-baqpOH0g.js";import{d as l}from"./p-CkIELF-1.js";import{d as h}from"./p-Dl_YKIKl.js";import{d}from"./p-1KOHyx-1.js";import{H as c}from"./p-BWknDysp.js";const u=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=i(this,"valueChange",7)}get hostElement(){return this}helperText;label;value;invalidText;infoText;warningText;validText;showTextAsTooltip;direction="column";required=!1;valueChange;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;touched=!1;groupRef=r();observer=new MutationObserver((()=>{this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}));get radiobuttonElements(){return Array.from(this.hostElement.querySelectorAll("ix-radio"))}connectedCallback(){this.observer.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["checked","required"]})}componentWillLoad(){this.selectInitialValue(),this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}disconnectedCallback(){this.observer&&this.observer.disconnect()}selectInitialValue(){this.value&&this.radiobuttonElements.forEach((e=>{e.checked=e.value===this.value}))}ensureOnlyLastRadioChecked(){const e=this.radiobuttonElements.filter((e=>e.checked));e.forEach(((t,i)=>{i!==e.length-1&&(t.checked=!1)}));const t=this.isSomeRadioChecked();for(const e of this.radiobuttonElements)e.tabIndex=e.checked?0:-1;!t&&this.radiobuttonElements.length>0&&(this.radiobuttonElements[0].tabIndex=0)}hasNestedRequiredRadio(){this.required=this.radiobuttonElements.some((e=>e.required))}isSomeRadioChecked(){return this.radiobuttonElements.some((e=>e.checked))}onValueChangeHandler(e){this.touched=!0,this.radiobuttonElements.forEach((t=>{t.checked=t.value===e}))}onCheckedChangeHandler(e){this.radiobuttonElements.forEach((t=>{t===e.target?(t.checked=!0,this.valueChange.emit(t.value)):t.checked=!1}))}onClassField({isInvalid:e,isInfo:t,isValid:i,isWarning:s,isInvalidByRequired:a}){this.isInvalid=e||a,this.isInfo=t,this.isValid=i,this.isWarning=s}hasValidValue(){return Promise.resolve(!!Array.from(this.hostElement.querySelectorAll("ix-radio")).find((e=>e.checked)))}isTouched(){return Promise.resolve(this.touched)}async setCheckedToNextItem(e,t=!0){const{radiobuttonElements:i}=this,{length:s}=i;if(s<=1)return;const a=i.indexOf(e),o=t?1:-1;let r=(a+o+s)%s;for(;i[r].disabled;){if(r===a)return;r=(r+o+s)%s}const n=i[r];n.setCheckedState(!0),n.focus()}render(){return s(a,{key:"96ce8cbd3b252510f336800c67d90419103609be",onIxBlur:()=>this.touched=!0,ref:this.groupRef,role:"radiogroup"},s("ix-field-wrapper",{key:"248a9516790541bdacec10fd759344baa1337876",label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,isInvalid:this.isInvalid,controlRef:this.groupRef},s("div",{key:"9fd29fcd02a5460b2466fc9b80171ed8cd5e39d0",class:{"checkbox-container":!0,"row-layout":"row"===this.direction}},s("slot",{key:"40619f7896a159433a1fc2ec8a398fd3ddfe15aa"}))))}static get watchers(){return{value:[{onValueChangeHandler:0}]}}static get style(){return":host{display:inline-block;position:relative}:host .checkbox-container{display:flex;flex-direction:column;gap:0.5rem 1rem;margin:0.375rem 0;flex-wrap:wrap}:host .checkbox-container.row-layout{flex-direction:row}"}},[769,"ix-radio-group",{helperText:[1,"helper-text"],label:[1],value:[1],invalidText:[1,"invalid-text"],infoText:[1,"info-text"],warningText:[1,"warning-text"],validText:[1,"valid-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],direction:[1],required:[4],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],isTouched:[64],setCheckedToNextItem:[64]},[[0,"checkedChange","onCheckedChangeHandler"]],{value:[{onValueChangeHandler:0}]}]);!function(e,t,i,s){var a,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(r=(o<3?a(r):o>3?a(t,i,r):a(t,i))||r);o>3&&r&&Object.defineProperty(t,i,r)}([c({includeChildren:!0})],u.prototype,"onClassField",null);const p=u,f=function(){"undefined"!=typeof customElements&&["ix-radio-group","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-radio-group":customElements.get(o(e))||customElements.define(o(e),u);break;case"ix-field-label":customElements.get(o(e))||n();break;case"ix-field-wrapper":customElements.get(o(e))||l();break;case"ix-tooltip":customElements.get(o(e))||h();break;case"ix-typography":customElements.get(o(e))||d()}}))};export{p as IxRadioGroup,f as defineCustomElement}
1
+ import{p as e,H as t,e as i,h as s,d as o,t as a}from"./p-eN5fQtqO.js";import{m as r}from"./p-Djkc69iv.js";import{d as n}from"./p-BGOtCwtj.js";import{d as l}from"./p-eGuQ8D3W.js";import{d as h}from"./p-CgPr717U.js";import{d}from"./p-YFmbQndr.js";import{H as c}from"./p-BTBxxgtF.js";const u=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=i(this,"valueChange",7)}get hostElement(){return this}helperText;label;value;invalidText;infoText;warningText;validText;showTextAsTooltip;direction="column";required=!1;valueChange;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;touched=!1;groupRef=r();observer=new MutationObserver((()=>{this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}));get radiobuttonElements(){return Array.from(this.hostElement.querySelectorAll("ix-radio"))}connectedCallback(){this.observer.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["checked","required"]})}componentWillLoad(){this.selectInitialValue(),this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}disconnectedCallback(){this.observer&&this.observer.disconnect()}selectInitialValue(){this.value&&this.radiobuttonElements.forEach((e=>{e.checked=e.value===this.value}))}ensureOnlyLastRadioChecked(){const e=this.radiobuttonElements.filter((e=>e.checked));e.forEach(((t,i)=>{i!==e.length-1&&(t.checked=!1)}));const t=this.isSomeRadioChecked();for(const e of this.radiobuttonElements)e.tabIndex=e.checked?0:-1;!t&&this.radiobuttonElements.length>0&&(this.radiobuttonElements[0].tabIndex=0)}hasNestedRequiredRadio(){this.required=this.radiobuttonElements.some((e=>e.required))}isSomeRadioChecked(){return this.radiobuttonElements.some((e=>e.checked))}onValueChangeHandler(e){this.touched=!0,this.radiobuttonElements.forEach((t=>{t.checked=t.value===e}))}onCheckedChangeHandler(e){this.radiobuttonElements.forEach((t=>{t===e.target?(t.checked=!0,this.valueChange.emit(t.value)):t.checked=!1}))}onClassField({isInvalid:e,isInfo:t,isValid:i,isWarning:s,isInvalidByRequired:o}){this.isInvalid=e||o,this.isInfo=t,this.isValid=i,this.isWarning=s}hasValidValue(){return Promise.resolve(!!Array.from(this.hostElement.querySelectorAll("ix-radio")).find((e=>e.checked)))}isTouched(){return Promise.resolve(this.touched)}async setCheckedToNextItem(e,t=!0){const{radiobuttonElements:i}=this,{length:s}=i;if(s<=1)return;const o=i.indexOf(e),a=t?1:-1;let r=(o+a+s)%s;for(;i[r].disabled;){if(r===o)return;r=(r+a+s)%s}const n=i[r];n.setCheckedState(!0),n.focus()}render(){return s(o,{key:"cf5b18bd56a508fd420c9c3708e484e511b7fe0d",onIxBlur:()=>this.touched=!0,ref:this.groupRef,role:"radiogroup"},s("ix-field-wrapper",{key:"2337eef1982364f930394ab1d0493e990e836390",label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,isInvalid:this.isInvalid,controlRef:this.groupRef},s("div",{key:"e478c75175c239733f25e0f183d353b8bbbc07a5",class:{"checkbox-container":!0,"row-layout":"row"===this.direction}},s("slot",{key:"136f6fd87c1f3d367cc5dff13040e7fa176726aa"}))))}static get watchers(){return{value:[{onValueChangeHandler:0}]}}static get style(){return":host{display:inline-block;position:relative}:host .checkbox-container{display:flex;flex-direction:column;gap:0.5rem 1rem;margin:0.375rem 0;flex-wrap:wrap}:host .checkbox-container.row-layout{flex-direction:row}"}},[769,"ix-radio-group",{helperText:[1,"helper-text"],label:[1],value:[1],invalidText:[1,"invalid-text"],infoText:[1,"info-text"],warningText:[1,"warning-text"],validText:[1,"valid-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],direction:[1],required:[4],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],isTouched:[64],setCheckedToNextItem:[64]},[[0,"checkedChange","onCheckedChangeHandler"]],{value:[{onValueChangeHandler:0}]}]);!function(e,t,i,s){var o,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);a>3&&r&&Object.defineProperty(t,i,r)}([c({includeChildren:!0})],u.prototype,"onClassField",null);const f=u,p=function(){"undefined"!=typeof customElements&&["ix-radio-group","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-radio-group":customElements.get(a(e))||customElements.define(a(e),u);break;case"ix-field-label":customElements.get(a(e))||n();break;case"ix-field-wrapper":customElements.get(a(e))||l();break;case"ix-tooltip":customElements.get(a(e))||h();break;case"ix-typography":customElements.get(a(e))||d()}}))};export{f as IxRadioGroup,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as r,e as o,h as d,d as a,t as c}from"./p-CtDOTMOT.js";import{a as i}from"./p-C21npbUc.js";import{d as t}from"./p-1KOHyx-1.js";import{c as n}from"./p-BWknDysp.js";const h=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.checkedChange=o(this,"checkedChange",7),this.valueChange=o(this,"valueChange",7),this.ixBlur=o(this,"ixBlur",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;value;label;disabled=!1;checked=!1;required=!1;checkedChange;valueChange;ixBlur;classMutationObserver;async setCheckedState(e){this.checked||this.checkedChange.emit(e).defaultPrevented||(this.checked=e)}async onCheckedChange(){this.updateFormInternalValue()}onValueChange(){this.valueChange.emit(this.value)}connectedCallback(){const e=this.hostElement.closest("ix-radio-group");e&&(this.classMutationObserver=n(e,(()=>{this.hostElement.classList.toggle("ix-invalid--required",e.classList.contains("ix-invalid--required"))})))}disconnectedCallback(){this.classMutationObserver&&this.classMutationObserver.destroy()}componentWillLoad(){this.updateFormInternalValue()}updateFormInternalValue(){this.formInternals.setFormValue(this.checked?this.value??"on":null)}onKeyDown(e){if(this.disabled)return;let r=!1;"Space"===e.code&&(r=!0,this.setCheckedState(!0));const o=this.hostElement.closest("ix-radio-group");switch(e.code){case"ArrowUp":case"ArrowLeft":r=!0,o?.setCheckedToNextItem(this.hostElement,!1);break;case"ArrowDown":case"ArrowRight":r=!0,o?.setCheckedToNextItem(this.hostElement,!0)}r&&(e.stopPropagation(),e.preventDefault())}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}render(){let e=0;return this.disabled&&(e=-1),d(a,{key:"d6533cba8c7db26ade65df95ed8d5b8633c053f2","aria-checked":i(this.checked),"aria-disabled":i(this.disabled),role:"radio",tabindex:e,class:{disabled:this.disabled,checked:this.checked},onClick:()=>{this.disabled||this.setCheckedState(!0)},onKeyDown:e=>this.onKeyDown(e),onBlur:()=>this.ixBlur.emit()},d("label",{key:"b458abc7f94dca6caf12c633953fe11307990b8e"},d("div",{key:"bad09b21c40286db89ee29757c66ed81b129b0d2",class:"radio-button"},d("div",{key:"2c528acbd6a05b9fb3ddd71b75d1a8682f6fafc3","aria-hidden":"true",class:{"radio-checkmark":!0,checked:this.checked}},d("div",{key:"de7e5a0d22a2f6b1b431e210bb73f9fed161530b",class:"checkmark",style:{visibility:this.checked?"visible":"hidden"}}))),this.label&&d("ix-typography",{key:"ba92e2c1e197e78e443b597261db32d44063d7d2",format:"label",textColor:this.disabled?"weak":"std"},this.label,d("slot",{key:"6699f5473812078a34278907c58919eab380907a"}))))}static get formAssociated(){return!0}static get watchers(){return{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}}static get style(){return":host{display:inline-block;position:relative}: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 .radio-checkmark{all:unset;display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem;border:1px solid white;border-radius:100px}:host .radio-button{height:1.5rem;width:1.5rem;display:flex;align-items:center;justify-content:center}:host label{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host .checkmark{border-radius:100px;background-color:var(--theme-color-primary--contrast);width:0.5rem;height:0.5rem}:host .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.checked) .radio-checkmark,:host([indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.checked:hover) .radio-checkmark,:host([indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.checked:active) .radio-checkmark,:host([indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.checked.disabled) .radio-checkmark,:host([indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(:focus-visible){outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-radiobtn--focus--outline-offset)}ix-typography{margin:0.125rem 0 0.125rem 0.5rem}:host(.ix-info:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--info );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--info--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--info--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--info );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--info--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--info--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--info );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--info--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--info--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--info );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--info--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--info--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--info );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--info--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--info--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--info );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--info--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--info--active )}:host(.ix-info) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-info:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-info:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-info.checked) .radio-checkmark,:host(.ix-info[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-info.checked:hover) .radio-checkmark,:host(.ix-info[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-info.checked:active) .radio-checkmark,:host(.ix-info[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-info.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-info.checked.disabled) .radio-checkmark,:host(.ix-info[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-warning:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--warning );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--warning--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--warning--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--warning );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--warning--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--warning--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--warning );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--warning--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--warning--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--warning );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--warning--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--warning--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--warning );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--warning--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--warning--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--warning );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--warning--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--warning--active )}:host(.ix-warning) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-warning:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-warning:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-warning.checked) .radio-checkmark,:host(.ix-warning[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-warning.checked:hover) .radio-checkmark,:host(.ix-warning[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-warning.checked:active) .radio-checkmark,:host(.ix-warning[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-warning.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-warning.checked.disabled) .radio-checkmark,:host(.ix-warning[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid--required:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--invalid );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--invalid--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--invalid--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--invalid );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--invalid--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--invalid--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--invalid );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--invalid--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--invalid--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--invalid );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--invalid--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--invalid--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--invalid );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--invalid--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--invalid--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--invalid );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--invalid--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--invalid--active )}:host(.ix-invalid--required) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid--required:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid--required:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid--required.checked) .radio-checkmark,:host(.ix-invalid--required[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid--required.checked:hover) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid--required.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked.disabled) .radio-checkmark,:host(.ix-invalid--required[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--invalid );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--invalid--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--invalid--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--invalid );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--invalid--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--invalid--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--invalid );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--invalid--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--invalid--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--invalid );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--invalid--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--invalid--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--invalid );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--invalid--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--invalid--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--invalid );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--invalid--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--invalid--active )}:host(.ix-invalid) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid.checked) .radio-checkmark,:host(.ix-invalid[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid.checked:hover) .radio-checkmark,:host(.ix-invalid[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid.checked:active) .radio-checkmark,:host(.ix-invalid[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid.checked.disabled) .radio-checkmark,:host(.ix-invalid[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}"}},[833,"ix-radio",{name:[513],value:[513],label:[1],disabled:[516],checked:[1540],required:[516],setCheckedState:[64],hasValidValue:[64],getAssociatedFormElement:[64]},void 0,{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}]),b=h,k=function(){"undefined"!=typeof customElements&&["ix-radio","ix-typography"].forEach((e=>{switch(e){case"ix-radio":customElements.get(c(e))||customElements.define(c(e),h);break;case"ix-typography":customElements.get(c(e))||t()}}))};export{b as IxRadio,k as defineCustomElement}
1
+ import{p as e,H as r,e as o,h as d,d as a,t as c}from"./p-eN5fQtqO.js";import{a as i}from"./p-C21npbUc.js";import{d as t}from"./p-YFmbQndr.js";import{c as n}from"./p-BTBxxgtF.js";const h=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.checkedChange=o(this,"checkedChange",7),this.valueChange=o(this,"valueChange",7),this.ixBlur=o(this,"ixBlur",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;value;label;disabled=!1;checked=!1;required=!1;checkedChange;valueChange;ixBlur;classMutationObserver;async setCheckedState(e){this.checked||this.checkedChange.emit(e).defaultPrevented||(this.checked=e)}async onCheckedChange(){this.updateFormInternalValue()}onValueChange(){this.valueChange.emit(this.value)}connectedCallback(){const e=this.hostElement.closest("ix-radio-group");e&&(this.classMutationObserver=n(e,(()=>{this.hostElement.classList.toggle("ix-invalid--required",e.classList.contains("ix-invalid--required"))})))}disconnectedCallback(){this.classMutationObserver&&this.classMutationObserver.destroy()}componentWillLoad(){this.updateFormInternalValue()}updateFormInternalValue(){this.formInternals.setFormValue(this.checked?this.value??"on":null)}onKeyDown(e){if(this.disabled)return;let r=!1;"Space"===e.code&&(r=!0,this.setCheckedState(!0));const o=this.hostElement.closest("ix-radio-group");switch(e.code){case"ArrowUp":case"ArrowLeft":r=!0,o?.setCheckedToNextItem(this.hostElement,!1);break;case"ArrowDown":case"ArrowRight":r=!0,o?.setCheckedToNextItem(this.hostElement,!0)}r&&(e.stopPropagation(),e.preventDefault())}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}render(){let e=0;return this.disabled&&(e=-1),d(a,{key:"18a9d8d27e3da2d36681f0681caeee84ed943efd","aria-checked":i(this.checked),"aria-disabled":i(this.disabled),role:"radio",tabindex:e,class:{disabled:this.disabled,checked:this.checked},onClick:()=>{this.disabled||this.setCheckedState(!0)},onKeyDown:e=>this.onKeyDown(e),onBlur:()=>this.ixBlur.emit()},d("label",{key:"22db33f534a61abca396ce3c05f30b490327e417"},d("div",{key:"0ad8548b87a63cded792ad6dee63e4ba018a0aa0",class:"radio-button"},d("div",{key:"9b8fbaa25b7f4307f4a820a99a80dd3a01272604","aria-hidden":"true",class:{"radio-checkmark":!0,checked:this.checked}},d("div",{key:"a8e10d030150643478be8e859e47b7654ecdcdba",class:"checkmark",style:{visibility:this.checked?"visible":"hidden"}}))),this.label&&d("ix-typography",{key:"a0c8ddcf036d2ade8ed14813dff4d3ce8fc664ff",format:"label",textColor:this.disabled?"weak":"std"},this.label,d("slot",{key:"35fd78b7b432ced026ac0824f64633f64b8b4441"}))))}static get formAssociated(){return!0}static get watchers(){return{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}}static get style(){return":host{display:inline-block;position:relative}: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 .radio-checkmark{all:unset;display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem;border:1px solid white;border-radius:100px}:host .radio-button{height:1.5rem;width:1.5rem;display:flex;align-items:center;justify-content:center}:host label{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%}:host .checkmark{border-radius:100px;background-color:var(--theme-color-primary--contrast);width:0.5rem;height:0.5rem}:host .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.checked) .radio-checkmark,:host([indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.checked:hover) .radio-checkmark,:host([indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.checked:active) .radio-checkmark,:host([indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.checked.disabled) .radio-checkmark,:host([indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(:focus-visible){outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-radiobtn--focus--outline-offset)}ix-typography{margin:0.125rem 0 0.125rem 0.5rem}:host(.ix-info:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--info );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--info--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--info--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--info );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--info--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--info--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--info );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--info--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--info--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--info );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--info--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--info--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--info );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--info--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--info--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--info );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--info--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--info--active )}:host(.ix-info) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-info:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-info:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-info.checked) .radio-checkmark,:host(.ix-info[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-info.checked:hover) .radio-checkmark,:host(.ix-info[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-info.checked:active) .radio-checkmark,:host(.ix-info[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-info.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-info.checked.disabled) .radio-checkmark,:host(.ix-info[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-warning:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--warning );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--warning--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--warning--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--warning );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--warning--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--warning--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--warning );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--warning--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--warning--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--warning );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--warning--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--warning--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--warning );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--warning--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--warning--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--warning );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--warning--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--warning--active )}:host(.ix-warning) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-warning:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-warning:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-warning.checked) .radio-checkmark,:host(.ix-warning[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-warning.checked:hover) .radio-checkmark,:host(.ix-warning[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-warning.checked:active) .radio-checkmark,:host(.ix-warning[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-warning.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-warning.checked.disabled) .radio-checkmark,:host(.ix-warning[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid--required:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--invalid );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--invalid--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--invalid--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--invalid );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--invalid--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--invalid--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--invalid );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--invalid--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--invalid--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--invalid );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--invalid--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--invalid--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--invalid );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--invalid--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--invalid--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--invalid );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--invalid--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--invalid--active )}:host(.ix-invalid--required) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid--required:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid--required:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid--required.checked) .radio-checkmark,:host(.ix-invalid--required[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid--required.checked:hover) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) .radio-checkmark,:host(.ix-invalid--required[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid--required.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked.disabled) .radio-checkmark,:host(.ix-invalid--required[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}:host(.ix-invalid:not(.disabled)) .radio-checkmark{--theme-radiobtn-unchecked--background:var( --theme-radiobtn-unchecked--background--invalid );--theme-radiobtn-unchecked--background--hover:var( --theme-radiobtn-unchecked--background--invalid--hover );--theme-radiobtn-unchecked--background--active:var( --theme-radiobtn-unchecked--background--invalid--active );--theme-radiobtn-unchecked--border-color:var( --theme-radiobtn-unchecked--border-color--invalid );--theme-radiobtn-unchecked--border-color--hover:var( --theme-radiobtn-unchecked--border-color--invalid--hover );--theme-radiobtn-unchecked--border-color--active:var( --theme-radiobtn-unchecked--border-color--invalid--active );--theme-radiobtn-checked--background:var( --theme-radiobtn-checked--background--invalid );--theme-radiobtn-checked--background--hover:var( --theme-radiobtn-checked--background--invalid--hover );--theme-radiobtn-checked--background--active:var( --theme-radiobtn-checked--background--invalid--active );--theme-radiobtn-checked--border-color:var( --theme-radiobtn-checked--border-color--invalid );--theme-radiobtn-checked--border-color--hover:var( --theme-radiobtn-checked--border-color--invalid--hover );--theme-radiobtn-checked--border-color--active:var( --theme-radiobtn-checked--border-color--invalid--active );--theme-radiobtn-mixed--background:var( --theme-radiobtn-mixed--background--invalid );--theme-radiobtn-mixed--background--hover:var( --theme-radiobtn-mixed--background--invalid--hover );--theme-radiobtn-mixed--background--active:var( --theme-radiobtn-mixed--background--invalid--active );--theme-radiobtn-mixed--border-color:var( --theme-radiobtn-mixed--border-color--invalid );--theme-radiobtn-mixed--border-color--hover:var( --theme-radiobtn-mixed--border-color--invalid--hover );--theme-radiobtn-mixed--border-color--active:var( --theme-radiobtn-mixed--border-color--invalid--active )}:host(.ix-invalid) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color)}:host(.ix-invalid:hover) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--hover)}:host(.ix-invalid:active) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--active)}:host(.ix-invalid.checked) .radio-checkmark,:host(.ix-invalid[indeterminate]) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color)}:host(.ix-invalid.checked:hover) .radio-checkmark,:host(.ix-invalid[indeterminate]:hover) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--hover);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--hover)}:host(.ix-invalid.checked:active) .radio-checkmark,:host(.ix-invalid[indeterminate]:active) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--active);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--active)}:host(.ix-invalid.disabled) .radio-checkmark{background-color:var(--theme-radiobtn-unchecked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-unchecked--border-color--disabled)}:host(.ix-invalid.checked.disabled) .radio-checkmark,:host(.ix-invalid[indeterminate].disabled) .radio-checkmark{background-color:var(--theme-radiobtn-checked--background--disabled);border:var(--theme-radiobtn--border-thickness) solid var(--theme-radiobtn-checked--border-color--disabled)}"}},[833,"ix-radio",{name:[513],value:[513],label:[1],disabled:[516],checked:[1540],required:[516],setCheckedState:[64],hasValidValue:[64],getAssociatedFormElement:[64]},void 0,{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}]),b=h,k=function(){"undefined"!=typeof customElements&&["ix-radio","ix-typography"].forEach((e=>{switch(e){case"ix-radio":customElements.get(c(e))||customElements.define(c(e),h);break;case"ix-typography":customElements.get(c(e))||t()}}))};export{b as IxRadio,k as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,M as e,h as r,d as i,t as s}from"./p-CtDOTMOT.js";import{O as a}from"./p-BtSt9tC5.js";import{i as o,a as n}from"./p-XBTykBKS.js";import{D as l,h}from"./p-CApDAYIa.js";import{r as c}from"./p-BEuV0Xpe.js";const d=t(class extends(e(...l)){constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}type;hideArrow=!1;observeElements;hasLabel=!1;elements;warnInDev(t,e){}componentWillLoad(){this.observeElements=new MutationObserver((()=>{this.validateRangeElements()})),this.observeElements.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["label"]}),this.validateRangeElements()}disconnectedCallback(){this.observeElements?.disconnect()}validateRangeElements(){if(!this.type)throw Error("Input range type is not specified.");const t=this.hostElement?.children;if(!t)return;if(2!==t?.length)throw Error("Input range must have exactly two child elements.");let e=!1;if("time-range"===this.type?e=Array.from(t).every((t=>"ix-time-input"===t.tagName.toLowerCase())):"date-range"===this.type?e=Array.from(t).every((t=>"ix-date-input"===t.tagName.toLowerCase())):"datetime-range"===this.type&&(e=Array.from(t).every((t=>"ix-datetime-input"===t.tagName.toLowerCase()))),!e)throw Error(`Input range elements are not valid for the specified type (type=${this.type}). Current elements: ${Array.from(t).map((t=>t.tagName.toLowerCase())).join(", ")}`);this.elements=Array.from(t),this.hasLabel=this.elements.some((t=>!!t.label)),this.hasLabel&&this.elements.forEach((t=>{t.label?t.classList.remove("fallback-label-margin"):t.classList.add("fallback-label-margin")}))}async onValueChange(t){if(!this.elements)return;const[e,r]=this.elements;if(h())return;if(!t.detail||t.target!==e)return;if(!o(e))return void this.warnInDev("First element is not an input field component.",e);if(!o(r))return void this.warnInDev("Second element is not an input field component.",r);const i=await r.getNativeInputElement();i?.focus(),n(r)?c((()=>r.openPicker())):this.warnInDev("Second element is not an input field with picker component.",r)}render(){return r(i,{key:"b0f8679efb64c79cb0896f4f6da02360cb712fd0",class:{"hide-arrow":this.hideArrow},role:"group"},!this.hideArrow&&r("ix-icon",{key:"ca058c6a86cc66f47a558e96cc0119041b02e603","aria-hidden":"true",class:{"range-delimiter":!0,"has-label":this.hasLabel},name:a}),r("slot",{key:"18e92d8e65c9fd215734fe0702b4728070d9e3d9"}))}static get style(){return":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{display:inline-flex;position:relative;gap:0.25rem}:host .range-delimiter{order:2;flex:0 0 auto;margin-top:0.25rem}:host .range-delimiter.has-label{margin-top:2rem}:host ::slotted(:first-child),:host ::slotted(:last-child){flex:1 1 0;min-width:0}:host ::slotted(:first-child){order:1}:host ::slotted(:last-child){order:3}:host ::slotted(.fallback-label-margin){margin-top:1.8rem}:host(.hide-arrow){gap:0.5rem}"}},[769,"ix-range-field",{type:[1],hideArrow:[4,"hide-arrow"],hasLabel:[32]},[[0,"ixChange","onValueChange"]]]),b=d,m=function(){"undefined"!=typeof customElements&&["ix-range-field"].forEach((t=>{"ix-range-field"===t&&(customElements.get(s(t))||customElements.define(s(t),d))}))};export{b as IxRangeField,m as defineCustomElement}
1
+ import{p as e,M as t,h as r,d as i,t as s}from"./p-eN5fQtqO.js";import{_ as a}from"./p-DsVj4Cd-.js";import{i as o,a as n}from"./p-XBTykBKS.js";import{D as l,h}from"./p-CApDAYIa.js";import{r as d}from"./p-BEuV0Xpe.js";const c=e(class extends(t(...l)){constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}type;hideArrow=!1;observeElements;hasLabel=!1;elements;warnInDev(e,t){}componentWillLoad(){this.observeElements=new MutationObserver((()=>{this.validateRangeElements()})),this.observeElements.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["label"]}),this.validateRangeElements()}disconnectedCallback(){this.observeElements?.disconnect()}validateRangeElements(){if(!this.type)throw Error("Input range type is not specified.");const e=this.hostElement?.children;if(!e)return;if(2!==e?.length)throw Error("Input range must have exactly two child elements.");let t=!1;if("time-range"===this.type?t=Array.from(e).every((e=>"ix-time-input"===e.tagName.toLowerCase())):"date-range"===this.type?t=Array.from(e).every((e=>"ix-date-input"===e.tagName.toLowerCase())):"datetime-range"===this.type&&(t=Array.from(e).every((e=>"ix-datetime-input"===e.tagName.toLowerCase()))),!t)throw Error(`Input range elements are not valid for the specified type (type=${this.type}). Current elements: ${Array.from(e).map((e=>e.tagName.toLowerCase())).join(", ")}`);this.elements=Array.from(e),this.hasLabel=this.elements.some((e=>!!e.label)),this.hasLabel&&this.elements.forEach((e=>{e.label?e.classList.remove("fallback-label-margin"):e.classList.add("fallback-label-margin")}))}async onValueChange(e){if(!this.elements)return;const[t,r]=this.elements;if(h())return;if(!e.detail||e.target!==t)return;if(!o(t))return void this.warnInDev("First element is not an input field component.",t);if(!o(r))return void this.warnInDev("Second element is not an input field component.",r);const i=await r.getNativeInputElement();i?.focus(),n(r)?d((()=>r.openPicker())):this.warnInDev("Second element is not an input field with picker component.",r)}render(){return r(i,{key:"39e0e73fb8615f11206cf7e9d296d3ec5c671017",class:{"hide-arrow":this.hideArrow},role:"group"},!this.hideArrow&&r("ix-icon",{key:"df1a75792a9d184e1e705fd2a93ffbc8068ce8d6","aria-hidden":"true",class:{"range-delimiter":!0,"has-label":this.hasLabel},name:a}),r("slot",{key:"8019b4ace67118363d86d719e3545419ddbad975"}))}static get style(){return":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{display:inline-flex;position:relative;gap:0.25rem}:host .range-delimiter{order:2;flex:0 0 auto;margin-top:0.25rem}:host .range-delimiter.has-label{margin-top:2rem}:host ::slotted(:first-child),:host ::slotted(:last-child){flex:1 1 0;min-width:0}:host ::slotted(:first-child){order:1}:host ::slotted(:last-child){order:3}:host ::slotted(.fallback-label-margin){margin-top:1.8rem}:host(.hide-arrow){gap:0.5rem}"}},[769,"ix-range-field",{type:[1],hideArrow:[4,"hide-arrow"],hasLabel:[32]},[[0,"ixChange","onValueChange"]]]),m=c,b=function(){"undefined"!=typeof customElements&&["ix-range-field"].forEach((e=>{"ix-range-field"===e&&(customElements.get(s(e))||customElements.define(s(e),c))}))};export{m as IxRangeField,b as defineCustomElement}
@@ -1 +1 @@
1
- import{R as o,d as s}from"./p-DuMiVxY1.js";const p=o,r=s;export{p as IxRow,r as defineCustomElement}
1
+ import{R as o,d as s}from"./p-R5tYZVVd.js";const t=o,p=s;export{t as IxRow,p as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-BRoFUwzJ.js";const p=o,r=s;export{p as IxSelectItem,r as defineCustomElement}
1
+ import{S as o,d as s}from"./p-CatmTvkh.js";const t=o,a=s;export{t as IxSelectItem,a as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-R1AQtGdV.js";const t=o,p=s;export{t as IxSelect,p as defineCustomElement}
1
+ import{S as o,d as p}from"./p-l9UTiHpM.js";const s=o,r=p;export{s as IxSelect,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,e as r,h as a,d as i,t as o}from"./p-CtDOTMOT.js";import{b as s}from"./p-C21npbUc.js";import{O as n}from"./p-CuFZ7CXu.js";import{m as c}from"./p-Djkc69iv.js";import{d as l}from"./p-baqpOH0g.js";import{d as h}from"./p-CkIELF-1.js";import{d}from"./p-Dl_YKIKl.js";import{d as u}from"./p-1KOHyx-1.js";import{H as b}from"./p-BWknDysp.js";var m=function(e,t,r,a){var i,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,a);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};function p(e,t,r){return t<e?e:t>r?r:t}const g=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=r(this,"valueChange",7),this.formInternals=this.attachInternals()}formInternals;get hostElement(){return this}helperText;label;invalidText;infoText;warningText;validText;showTextAsTooltip=!1;step=1;min=0;max=100;value=0;marker;trace=!1;traceReference=0;disabled=!1;valueChange;rangeInput=0;rangeMin=0;rangeMax=100;rangeTraceReference=0;showTooltip=!1;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;a11yAttributes;lastFormValue;touched=!1;controlRef=c();thumbRef=c();tooltipRef=c();get hasLabels(){return!!this.hostElement.querySelector('[slot="label-start"], [slot="label-end"]')}get tooltip(){return this.tooltipRef.current}get pseudoThumb(){return this.thumbRef.current}get slider(){return this.hostElement.shadowRoot?.getElementById("slider")}onShowTooltipChange(){this.showTooltip&&this.pseudoThumb?this.tooltip?.showTooltip(this.pseudoThumb):this.tooltip?.hideTooltip()}onClassField({isInvalid:e,isInfo:t,isValid:r,isWarning:a,isInvalidByRequired:i}){this.isInvalid=e||i,this.isInfo=t,this.isValid=r,this.isWarning=a}componentWillLoad(){this.a11yAttributes=s(this.hostElement,["role","aria-valuemin","aria-valuemax","aria-valuenow"]),this.updateRangeVariables(),this.setFormValueIfChanged(this.value)}updateRangeVariables(){this.rangeInput=p(this.min,this.value,this.max),this.rangeTraceReference=p(this.min,this.traceReference,this.max),this.rangeMin=Math.min(this.min,this.max),this.rangeMax=Math.max(this.min,this.max),void 0!==this.value&&this.setFormValueIfChanged(this.value)}updateFormInternalValue(e){this.setFormValueIfChanged(e),this.valueChange.emit(e)}setFormValueIfChanged(e){const t=""+e;this.lastFormValue!==t&&(this.formInternals.setFormValue(t),this.lastFormValue=t)}onInput(e){e.stopPropagation();const t=parseFloat(this.slider.value);if(!isNaN(t)){const e=this.rangeInput;this.rangeInput=t;const{defaultPrevented:r}=this.emitInputEvent();r?(this.rangeInput=e,this.slider.value=""+e):this.updateFormInternalValue(t)}}emitInputEvent(){return this.valueChange.emit(this.rangeInput)}isMarkerActive(e){return e>=Math.min(this.traceReference,this.rangeInput)&&e<=Math.max(this.traceReference,this.rangeInput)}onPointerUp(){this.showTooltip=!1}hasValidValue(){return Promise.resolve(!0)}isTouched(){return Promise.resolve(this.touched)}render(){const e=this.rangeMax-this.rangeMin;let t=(this.rangeTraceReference-this.rangeMin)/e,r=(this.rangeInput-this.rangeMin)/e,o=t,s=r;return r-t<=0&&(o=r,s=t),a(i,{key:"5eed909b2857b9bfbea41402736fe01d7ad9a434",class:{disabled:this.disabled,invalid:this.isInvalid,info:this.isInfo,valid:this.isValid,warning:this.isWarning},onPointerDown:()=>setTimeout((()=>this.showTooltip=!0))},a("ix-field-wrapper",{key:"6f5ef62c132260787b91ea5b5f08faf21153735f",label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,isInvalid:this.isInvalid,controlRef:this.controlRef},a("div",{key:"c67536334750605b342859dbf6c38abcc730c6a6",class:"slider-container"},a("div",{key:"33649db602e05ea4f2496c6b7b5a3620eca81a49",class:"slider"},a("div",{key:"f282b195ad420d036e90b4cc45c59fe9232b5919",class:"track"},a("div",{key:"f68211f2d377f2741eaedcdc4ca7fcbcd0f1bbfb",ref:this.thumbRef,class:"thumb",style:{left:`calc(${r} * (100% - 1rem))`}}),a("svg",{key:"50576c072bbd33c8689017d7f67b83694d73516c",class:"ticks",xmlns:"http://www.w3.org/2000/svg"},this.marker?.filter((e=>e>=this.min&&e<=this.max)).map((t=>{const r=(t-this.rangeMin)/e;return a("circle",{class:{tick:!0,"tick-active":this.isMarkerActive(t)&&this.trace,"tick-at-min":0===r,"tick-at-max":1===r},cx:"0",cy:"0",style:{"--tick-value":""+r}})})))),a("input",{key:"3ee47514d9a51488410c2b0984f05f39e74153a7",id:"slider",ref:this.controlRef,type:"range",list:this.marker?"markers":void 0,step:this.step,min:this.min,max:this.max,value:this.rangeInput,tabindex:this.disabled?-1:0,onInput:e=>this.onInput(e),onFocus:()=>{this.showTooltip=!0,this.touched=!0},onBlur:()=>{this.showTooltip=!1},style:{"--value":""+r,"--trace-reference":""+t,"--trace-start":""+o,"--trace-end":""+s},class:{trace:this.trace&&t!==r,"hide-trace-reference":this.trace&&(this.traceReference<=this.min||this.traceReference>=this.max)},role:"slider","aria-valuenow":this.rangeInput,"aria-valuemin":this.min,"aria-valuemax":this.max,...this.a11yAttributes}),a("ix-tooltip",{key:"740ea0d7cf7a200c7db7ea8ac70fd2537b84b4a5",ref:this.tooltipRef,class:{"hide-tooltip":!this.showTooltip},animationFrame:!0,for:this.thumbRef.waitForCurrent()},this.rangeInput)),this.hasLabels&&a("div",{key:"d5264eaabacd9f667600df1f0cdf8e89b24d7730",class:"label"},a("div",{key:"4ac2ebda49543e04e619452bd59c3f30a0404879"},a("slot",{key:"dcc9ecd173f1d49133e1070b72b34b8485cc9860",name:"label-start"})),a("div",{key:"022869a430a0644e24932553a321da5fa8dd4df2"},a("slot",{key:"4da9fdcb1d570657a3796a32d0925025e16dc4b7",name:"label-end"}))))))}static get formAssociated(){return!0}static get watchers(){return{showTooltip:[{onShowTooltipChange:0}],value:[{updateRangeVariables:0}],max:[{updateRangeVariables:0}],min:[{updateRangeVariables:0}],traceReference:[{updateRangeVariables:0}]}}static get style(){return':host{display:flex;flex-direction:column;min-height:2rem;justify-content:center;--thumb-size:1rem;--value:0;--trace-start:0;--trace-end:0;--trace-reference:0;--trace-reference-color:var(--theme-slider-track-marker--background);--trace-color:var(--theme-slider-trace--background);--tick-color:var(--theme-slider-track-marker--background);--tick-color--active:var(--theme-slider-trace-marker--background);--track-color:var(--theme-slider-track--background)}: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[type=range]{position:absolute;top:50%;transform:translateY(-50%);left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:1.5rem;margin:0}:host input[type=range].trace::before{content:"";position:absolute;display:block;z-index:-1;width:calc((var(--trace-end) - var(--trace-start)) * 100%);left:calc(var(--trace-start) * 100%);height:4px;background-color:var(--trace-color);top:50%;transform:translateY(-50%);border-radius:clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem)}:host .slider-container{width:100%}:host .slider-container .slider{width:100%}:host .slider-container .slider input[type=range]{width:100%}:host input[type=range].trace:not(.hide-trace-reference)::after{content:"";position:absolute;display:block;width:2px;height:16px;background-color:var(--trace-reference-color);top:50%;transform:translateY(-50%);left:calc(100% * var(--trace-reference))}:host input[type=range]::-webkit-slider-runnable-track{background:transparent;height:0.25rem}:host input[type=range]::-moz-range-track{background:transparent;height:0.25rem}:host input[type=range i]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-6px}:host input[type=range i]::-moz-range-thumb{border:none;border-radius:0}:host input[type=range]::-webkit-slider-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-webkit-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]::-moz-range-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-moz-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:focus{outline:none}:host input[type=range]:focus-visible::-webkit-slider-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host input[type=range]:focus-visible::-moz-range-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host{}:host .ticks{position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}:host .ticks circle.tick{--tick-size:6px;--tick-radius:calc(var(--tick-size) / 2);r:var(--tick-radius);fill:var(--tick-color);transform:translate(calc(var(--tick-value) * (100% - var(--thumb-size)) + var(--thumb-size) / 2), 50%)}:host .ticks .tick.tick-at-min{transform:translate(var(--tick-radius), 50%)}:host .ticks .tick.tick-at-max{transform:translate(calc(100% - var(--tick-radius)), 50%)}:host .ticks .tick.tick-active{fill:var(--tick-color--active)}:host .slider{position:relative;display:block;width:100%;height:1.5rem}:host .track{position:absolute;background-color:var(--track-color);height:4px;width:100%;top:50%;transform:translateY(-50%);left:0px;border-radius:2px}:host .thumb{display:block;position:absolute;background-color:transparent;height:1rem;width:1rem;border-radius:100px;top:50%;transform:translateY(-50%)}:host .hide-tooltip{display:none}:host .label{display:flex;position:relative;align-items:center;justify-content:space-between;width:100%;margin-top:0.5rem;min-height:0px}:host(.invalid){--trace-color:var(--theme-slider-trace--background--invalid);--tick-color--active:var(--theme-slider-trace-marker--background--invalid)}:host(.invalid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.invalid) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.invalid) input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.invalid) input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.invalid) input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.invalid) input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.disabled){pointer-events:none;--track-color:var(--theme-slider-track--background--disabled);--trace-color:var(--theme-slider-trace--background--disabled);--tick-color:var(--theme-slider-track-marker--background--disabled);--tick-color--active:var(--theme-slider-trace-marker--background--disabled)}:host(.disabled) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.disabled) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.warning){--trace-color:var(--theme-color-warning-40);--tick-color--active:var(--theme-color-warning)}:host(.warning) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-warning)}:host(.warning) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-warning)}:host(.info){--trace-color:var(--theme-color-info-40);--tick-color--active:var(--theme-color-info)}:host(.info) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-info)}:host(.info) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-info)}:host(.valid){--trace-color:var(--theme-color-success-40);--tick-color--active:var(--theme-color-success)}:host(.valid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-success)}:host(.valid) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-success)}'}},[833,"ix-slider",{helperText:[1,"helper-text"],label:[1],invalidText:[1,"invalid-text"],infoText:[1,"info-text"],warningText:[1,"warning-text"],validText:[1,"valid-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],step:[2],min:[2],max:[2],value:[2],marker:[16],trace:[4],traceReference:[2,"trace-reference"],disabled:[4],rangeInput:[32],rangeMin:[32],rangeMax:[32],rangeTraceReference:[32],showTooltip:[32],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],isTouched:[64]},void 0,{showTooltip:[{onShowTooltipChange:0}],value:[{updateRangeVariables:0}],max:[{updateRangeVariables:0}],min:[{updateRangeVariables:0}],traceReference:[{updateRangeVariables:0}]}]);m([b()],g.prototype,"onClassField",null),m([n("pointerup",(e=>e.showTooltip))],g.prototype,"onPointerUp",null);const v=g,k=function(){"undefined"!=typeof customElements&&["ix-slider","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-slider":customElements.get(o(e))||customElements.define(o(e),g);break;case"ix-field-label":customElements.get(o(e))||l();break;case"ix-field-wrapper":customElements.get(o(e))||h();break;case"ix-tooltip":customElements.get(o(e))||d();break;case"ix-typography":customElements.get(o(e))||u()}}))};export{v as IxSlider,k as defineCustomElement}
1
+ import{p as e,H as t,e as r,h as a,d as i,t as o}from"./p-eN5fQtqO.js";import{b as s}from"./p-C21npbUc.js";import{O as n}from"./p-BHjmN8zz.js";import{m as c}from"./p-Djkc69iv.js";import{d as l}from"./p-BGOtCwtj.js";import{d as h}from"./p-eGuQ8D3W.js";import{d}from"./p-CgPr717U.js";import{d as u}from"./p-YFmbQndr.js";import{H as b}from"./p-BTBxxgtF.js";var m=function(e,t,r,a){var i,o=arguments.length,s=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,a);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};function p(e,t,r){return t<e?e:t>r?r:t}const g=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=r(this,"valueChange",7),this.formInternals=this.attachInternals()}formInternals;get hostElement(){return this}helperText;label;invalidText;infoText;warningText;validText;showTextAsTooltip=!1;step=1;min=0;max=100;value=0;marker;trace=!1;traceReference=0;disabled=!1;valueChange;rangeInput=0;rangeMin=0;rangeMax=100;rangeTraceReference=0;showTooltip=!1;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;a11yAttributes;lastFormValue;touched=!1;controlRef=c();thumbRef=c();tooltipRef=c();get hasLabels(){return!!this.hostElement.querySelector('[slot="label-start"], [slot="label-end"]')}get tooltip(){return this.tooltipRef.current}get pseudoThumb(){return this.thumbRef.current}get slider(){return this.hostElement.shadowRoot?.getElementById("slider")}onShowTooltipChange(){this.showTooltip&&this.pseudoThumb?this.tooltip?.showTooltip(this.pseudoThumb):this.tooltip?.hideTooltip()}onClassField({isInvalid:e,isInfo:t,isValid:r,isWarning:a,isInvalidByRequired:i}){this.isInvalid=e||i,this.isInfo=t,this.isValid=r,this.isWarning=a}componentWillLoad(){this.a11yAttributes=s(this.hostElement,["role","aria-valuemin","aria-valuemax","aria-valuenow"]),this.updateRangeVariables(),this.setFormValueIfChanged(this.value)}updateRangeVariables(){this.rangeInput=p(this.min,this.value,this.max),this.rangeTraceReference=p(this.min,this.traceReference,this.max),this.rangeMin=Math.min(this.min,this.max),this.rangeMax=Math.max(this.min,this.max),void 0!==this.value&&this.setFormValueIfChanged(this.value)}updateFormInternalValue(e){this.setFormValueIfChanged(e),this.valueChange.emit(e)}setFormValueIfChanged(e){const t=""+e;this.lastFormValue!==t&&(this.formInternals.setFormValue(t),this.lastFormValue=t)}onInput(e){e.stopPropagation();const t=parseFloat(this.slider.value);if(!isNaN(t)){const e=this.rangeInput;this.rangeInput=t;const{defaultPrevented:r}=this.emitInputEvent();r?(this.rangeInput=e,this.slider.value=""+e):this.updateFormInternalValue(t)}}emitInputEvent(){return this.valueChange.emit(this.rangeInput)}isMarkerActive(e){return e>=Math.min(this.traceReference,this.rangeInput)&&e<=Math.max(this.traceReference,this.rangeInput)}onPointerUp(){this.showTooltip=!1}hasValidValue(){return Promise.resolve(!0)}isTouched(){return Promise.resolve(this.touched)}render(){const e=this.rangeMax-this.rangeMin;let t=(this.rangeTraceReference-this.rangeMin)/e,r=(this.rangeInput-this.rangeMin)/e,o=t,s=r;return r-t<=0&&(o=r,s=t),a(i,{key:"bc904df57adc690f6a26d435f1c82d14755c6754",class:{disabled:this.disabled,invalid:this.isInvalid,info:this.isInfo,valid:this.isValid,warning:this.isWarning},onPointerDown:()=>setTimeout((()=>this.showTooltip=!0))},a("ix-field-wrapper",{key:"e346c24bf005ec2aa06af0729f4af521f72ec2b9",label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,isInvalid:this.isInvalid,controlRef:this.controlRef},a("div",{key:"3aa92608f9401f269cf8227e5ccede8439c1b678",class:"slider-container"},a("div",{key:"cdd7636f0eddaa870f33bbb505fbdeedf808bfe9",class:"slider"},a("div",{key:"154a03a58b01cb76e753c96c2f5bc87fa939b184",class:"track"},a("div",{key:"baf3ff99733257bd3a7697a8f7dbe5626147d722",ref:this.thumbRef,class:"thumb",style:{left:`calc(${r} * (100% - 1rem))`}}),a("svg",{key:"1242b04782e64afeb3e4f7b3c735c1be96372923",class:"ticks",xmlns:"http://www.w3.org/2000/svg"},this.marker?.filter((e=>e>=this.min&&e<=this.max)).map((t=>{const r=(t-this.rangeMin)/e;return a("circle",{class:{tick:!0,"tick-active":this.isMarkerActive(t)&&this.trace,"tick-at-min":0===r,"tick-at-max":1===r},cx:"0",cy:"0",style:{"--tick-value":""+r}})})))),a("input",{key:"c10155a18c3f0c1edb8bd6f12214de818db74beb",id:"slider",ref:this.controlRef,type:"range",list:this.marker?"markers":void 0,step:this.step,min:this.min,max:this.max,value:this.rangeInput,tabindex:this.disabled?-1:0,onInput:e=>this.onInput(e),onFocus:()=>{this.showTooltip=!0,this.touched=!0},onBlur:()=>{this.showTooltip=!1},style:{"--value":""+r,"--trace-reference":""+t,"--trace-start":""+o,"--trace-end":""+s},class:{trace:this.trace&&t!==r,"hide-trace-reference":this.trace&&(this.traceReference<=this.min||this.traceReference>=this.max)},role:"slider","aria-valuenow":this.rangeInput,"aria-valuemin":this.min,"aria-valuemax":this.max,...this.a11yAttributes}),a("ix-tooltip",{key:"ace607a123ece9ce604f1ec2b6ce870fbbc2d20e",ref:this.tooltipRef,class:{"hide-tooltip":!this.showTooltip},animationFrame:!0,for:this.thumbRef.waitForCurrent()},this.rangeInput)),this.hasLabels&&a("div",{key:"0e59aadf74934ffc7067ad336c5a4156189b8ae8",class:"label"},a("div",{key:"20af42d330da5d8b5e9888378d5f09b9591c054d"},a("slot",{key:"e1c21828426fb53c2e5dffe2a4a305a114d83359",name:"label-start"})),a("div",{key:"27c5122383b81b204ffeed99a754d8275e77eb40"},a("slot",{key:"d6766ea6f1f690423e55858a1866a0263749cc7f",name:"label-end"}))))))}static get formAssociated(){return!0}static get watchers(){return{showTooltip:[{onShowTooltipChange:0}],value:[{updateRangeVariables:0}],max:[{updateRangeVariables:0}],min:[{updateRangeVariables:0}],traceReference:[{updateRangeVariables:0}]}}static get style(){return':host{display:flex;flex-direction:column;min-height:2rem;justify-content:center;--thumb-size:1rem;--value:0;--trace-start:0;--trace-end:0;--trace-reference:0;--trace-reference-color:var(--theme-slider-track-marker--background);--trace-color:var(--theme-slider-trace--background);--tick-color:var(--theme-slider-track-marker--background);--tick-color--active:var(--theme-slider-trace-marker--background);--track-color:var(--theme-slider-track--background)}: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[type=range]{position:absolute;top:50%;transform:translateY(-50%);left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer;width:100%;height:1.5rem;margin:0}:host input[type=range].trace::before{content:"";position:absolute;display:block;z-index:-1;width:calc((var(--trace-end) - var(--trace-start)) * 100%);left:calc(var(--trace-start) * 100%);height:4px;background-color:var(--trace-color);top:50%;transform:translateY(-50%);border-radius:clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (var(--trace-end) - 0.99) * 999rem, 0.125rem) clamp(0rem, (0.01 - var(--trace-start)) * 999rem, 0.125rem)}:host .slider-container{width:100%}:host .slider-container .slider{width:100%}:host .slider-container .slider input[type=range]{width:100%}:host input[type=range].trace:not(.hide-trace-reference)::after{content:"";position:absolute;display:block;width:2px;height:16px;background-color:var(--trace-reference-color);top:50%;transform:translateY(-50%);left:calc(100% * var(--trace-reference))}:host input[type=range]::-webkit-slider-runnable-track{background:transparent;height:0.25rem}:host input[type=range]::-moz-range-track{background:transparent;height:0.25rem}:host input[type=range i]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-6px}:host input[type=range i]::-moz-range-thumb{border:none;border-radius:0}:host input[type=range]::-webkit-slider-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-webkit-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]::-moz-range-thumb{border-radius:50%;background-color:var(--theme-slider-thumb--background);height:var(--thumb-size);width:var(--thumb-size);-moz-transition:all var(--theme-default-time) ease-in-out;transition:all var(--theme-default-time) ease-in-out;z-index:10}:host input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--hover)}:host input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--active)}:host input[type=range]:focus{outline:none}:host input[type=range]:focus-visible::-webkit-slider-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host input[type=range]:focus-visible::-moz-range-thumb{outline:1px solid var(--theme-color-focus-bdr);outline-offset:0.125rem}:host{}:host .ticks{position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}:host .ticks circle.tick{--tick-size:6px;--tick-radius:calc(var(--tick-size) / 2);r:var(--tick-radius);fill:var(--tick-color);transform:translate(calc(var(--tick-value) * (100% - var(--thumb-size)) + var(--thumb-size) / 2), 50%)}:host .ticks .tick.tick-at-min{transform:translate(var(--tick-radius), 50%)}:host .ticks .tick.tick-at-max{transform:translate(calc(100% - var(--tick-radius)), 50%)}:host .ticks .tick.tick-active{fill:var(--tick-color--active)}:host .slider{position:relative;display:block;width:100%;height:1.5rem}:host .track{position:absolute;background-color:var(--track-color);height:4px;width:100%;top:50%;transform:translateY(-50%);left:0px;border-radius:2px}:host .thumb{display:block;position:absolute;background-color:transparent;height:1rem;width:1rem;border-radius:100px;top:50%;transform:translateY(-50%)}:host .hide-tooltip{display:none}:host .label{display:flex;position:relative;align-items:center;justify-content:space-between;width:100%;margin-top:0.5rem;min-height:0px}:host(.invalid){--trace-color:var(--theme-slider-trace--background--invalid);--tick-color--active:var(--theme-slider-trace-marker--background--invalid)}:host(.invalid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.invalid) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid)}:host(.invalid) input[type=range]:hover::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.invalid) input[type=range]:hover::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--hover)}:host(.invalid) input[type=range]:active::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.invalid) input[type=range]:active::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--invalid--active)}:host(.disabled){pointer-events:none;--track-color:var(--theme-slider-track--background--disabled);--trace-color:var(--theme-slider-trace--background--disabled);--tick-color:var(--theme-slider-track-marker--background--disabled);--tick-color--active:var(--theme-slider-trace-marker--background--disabled)}:host(.disabled) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.disabled) input[type=range]::-moz-range-thumb{background-color:var(--theme-slider-thumb--background--disabled)}:host(.warning){--trace-color:var(--theme-color-warning-40);--tick-color--active:var(--theme-color-warning)}:host(.warning) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-warning)}:host(.warning) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-warning)}:host(.info){--trace-color:var(--theme-color-info-40);--tick-color--active:var(--theme-color-info)}:host(.info) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-info)}:host(.info) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-info)}:host(.valid){--trace-color:var(--theme-color-success-40);--tick-color--active:var(--theme-color-success)}:host(.valid) input[type=range]::-webkit-slider-thumb{background-color:var(--theme-color-success)}:host(.valid) input[type=range]::-moz-range-thumb{background-color:var(--theme-color-success)}'}},[833,"ix-slider",{helperText:[1,"helper-text"],label:[1],invalidText:[1,"invalid-text"],infoText:[1,"info-text"],warningText:[1,"warning-text"],validText:[1,"valid-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],step:[2],min:[2],max:[2],value:[2],marker:[16],trace:[4],traceReference:[2,"trace-reference"],disabled:[4],rangeInput:[32],rangeMin:[32],rangeMax:[32],rangeTraceReference:[32],showTooltip:[32],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],isTouched:[64]},void 0,{showTooltip:[{onShowTooltipChange:0}],value:[{updateRangeVariables:0}],max:[{updateRangeVariables:0}],min:[{updateRangeVariables:0}],traceReference:[{updateRangeVariables:0}]}]);m([b()],g.prototype,"onClassField",null),m([n("pointerup",(e=>e.showTooltip))],g.prototype,"onPointerUp",null);const v=g,k=function(){"undefined"!=typeof customElements&&["ix-slider","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-slider":customElements.get(o(e))||customElements.define(o(e),g);break;case"ix-field-label":customElements.get(o(e))||l();break;case"ix-field-wrapper":customElements.get(o(e))||h();break;case"ix-tooltip":customElements.get(o(e))||d();break;case"ix-typography":customElements.get(o(e))||u()}}))};export{v as IxSlider,k as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-Dwe6tWhq.js";const t=o,p=s;export{t as IxSpinner,p as defineCustomElement}
1
+ import{S as s,d as o}from"./p-D7sEY2UQ.js";const p=s,r=o;export{p as IxSpinner,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,M as o,e as r,h as e,d as i,t as s}from"./p-CtDOTMOT.js";import{z as a}from"./p-BtSt9tC5.js";import{P as n,u as b,a as l,F as d}from"./p-BBCsPlPH.js";import{D as h}from"./p-CApDAYIa.js";import{A as c}from"./p-Byed_Z2G.js";import{d as u}from"./p-B_MBGj0b.js";import{d as p}from"./p-olkZUb1j.js";import{d as m}from"./p-LbnItC1h.js";import{d as x}from"./p-3VG6z9c3.js";import{d as f}from"./p-Dwe6tWhq.js";const g=t(class extends(o(...h,c)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.buttonClick=r(this,"buttonClick",7)}get hostElement(){return this}variant="primary";closeBehavior="both";label;ariaLabelButton;icon;splitIcon;ariaLabelSplitIconButton;disabled=!1;disableButton=!1;disableDropdownButton=!1;enableTopLayer=!1;buttonClick;showDropdown=!1;internalId="ix-split-button";observeChildrenChange;componentDidLoad(){super.componentDidLoad(),this.observeChildrenChange=new MutationObserver((()=>{this.updateProxyList()})),this.observeChildrenChange.observe(this.hostElement,{childList:!0,subtree:!0}),this.updateProxyList()}disconnectedCallback(){super.disconnectedCallback(),this.observeChildrenChange?.disconnect()}get isDisabledButton(){return this.disabled||this.disableButton}get isDisabledIcon(){return this.disabled||this.disableDropdownButton}getControllingAriaElement(){return this.hostElement.shadowRoot.querySelector(".right-button")}isAriaActiveDescendantActive(){return this.showDropdown}getAriaActiveDescendantProxyItemId(){return n}updateProxyList(){const t=this.hostElement.querySelectorAll("ix-dropdown-item"),o=this.hostElement.shadowRoot.querySelector(".proxy-list");o&&b(o,Array.from(t),((t,o)=>{o.role="menuitem",o.innerText=t.label??t.textContent??"",o.ariaLabel=t.ariaLabel??t.label??t.textContent??""}))}render(){const t=this.variant.toLocaleLowerCase().includes("secondary"),o={variant:this.variant,disabled:this.isDisabledButton,class:{"left-button":!0,"left-button-border":!t}};return e(i,{key:"884bfb24e3ee02006ea0479f14db9f6340b3392d"},this.label?e("ix-button",{...o,icon:this.icon,onClick:t=>this.buttonClick.emit(t),"aria-label":this.ariaLabelButton},this.label):e("ix-icon-button",{...o,icon:this.icon,onClick:t=>this.buttonClick.emit(t),"aria-label":this.ariaLabelButton}),e("ix-dropdown-button",{key:"bfc3ce10b22f56593f22a99fa3fd5dc8f1fd1bcd",class:"right-button","aria-label":this.ariaLabelSplitIconButton,icon:this.splitIcon??a,enableTopLayer:this.enableTopLayer,closeBehavior:this.closeBehavior,disabled:this.isDisabledIcon,suppressAriaActiveDescendant:!0,onShowChanged:({detail:t})=>this.showDropdown=t,"aria-controls":`${this.internalId}-${l}`},e(d,{key:"dd46c1d745719edccd4d1243a4136e1d10ce88d7",hostId:this.internalId,otherProps:{}}),e("slot",{key:"b7b4e70109eec84ea87011734a9b8415a71998c2"})))}static get style(){return".btn-group ix-button:first-child .btn{border-top-right-radius:0px;border-bottom-right-radius:0px;border-right:0px}.btn-group ix-button:last-child .btn{border-top-left-radius:0px;border-bottom-left-radius:0px}.btn-group ix-button:not(:first-child):not(:last-child) .btn{border-radius:0px;border-right:0px}:host{position:relative;display:inline-flex;vertical-align:middle}:host .left-button{width:calc(100% - 2rem);--ix-button-border-radius-right:0}:host .right-button{width:2rem;--ix-dropdown-button-border-radius-left:0}: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 .left-button-border{border-top-width:0.125rem;border-right-width:0;border-left-width:0.125rem;border-bottom-width:0.125rem;margin-right:0.125rem}:host .proxy-list{all:unset;position:absolute;left:0px;top:0px;overflow:hidden;color:transparent;opacity:0;pointer-events:all;z-index:1000}:host .proxy-list li{height:2px;width:2px;pointer-events:all}"}},[769,"ix-split-button",{variant:[1],closeBehavior:[8,"close-behavior"],label:[1],ariaLabelButton:[1,"aria-label-button"],icon:[1],splitIcon:[1,"split-icon"],ariaLabelSplitIconButton:[1,"aria-label-split-icon-button"],disabled:[4],disableButton:[4,"disable-button"],disableDropdownButton:[4,"disable-dropdown-button"],enableTopLayer:[4,"enable-top-layer"]},[[4,"ixFocusVisibleChange","$internal_onActiveDescendantChange"]]]),k=g,w=function(){"undefined"!=typeof customElements&&["ix-split-button","ix-button","ix-dropdown","ix-dropdown-button","ix-icon-button","ix-spinner"].forEach((t=>{switch(t){case"ix-split-button":customElements.get(s(t))||customElements.define(s(t),g);break;case"ix-button":customElements.get(s(t))||u();break;case"ix-dropdown":customElements.get(s(t))||p();break;case"ix-dropdown-button":customElements.get(s(t))||m();break;case"ix-icon-button":customElements.get(s(t))||x();break;case"ix-spinner":customElements.get(s(t))||f()}}))};export{k as IxSplitButton,w as defineCustomElement}
1
+ import{p as t,M as o,e as r,h as e,d as i,t as s}from"./p-eN5fQtqO.js";import{N as a}from"./p-DsVj4Cd-.js";import{P as n,u as l,a as b,F as d}from"./p-D7qfGAJ7.js";import{D as h}from"./p-CApDAYIa.js";import{A as c}from"./p-Byed_Z2G.js";import{d as u}from"./p-CRtj-KBq.js";import{d as p}from"./p-CLDB-pmj.js";import{d as m}from"./p-CvAmaEU2.js";import{d as x}from"./p-DdlGyKd2.js";import{d as f}from"./p-D7sEY2UQ.js";const g=t(class extends(o(...h,c)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.buttonClick=r(this,"buttonClick",7)}get hostElement(){return this}variant="primary";closeBehavior="both";label;ariaLabelButton;icon;splitIcon;ariaLabelSplitIconButton;disabled=!1;disableButton=!1;disableDropdownButton=!1;enableTopLayer=!1;buttonClick;showDropdown=!1;internalId="ix-split-button";observeChildrenChange;componentDidLoad(){super.componentDidLoad(),this.observeChildrenChange=new MutationObserver((()=>{this.updateProxyList()})),this.observeChildrenChange.observe(this.hostElement,{childList:!0,subtree:!0}),this.updateProxyList()}disconnectedCallback(){super.disconnectedCallback(),this.observeChildrenChange?.disconnect()}get isDisabledButton(){return this.disabled||this.disableButton}get isDisabledIcon(){return this.disabled||this.disableDropdownButton}getControllingAriaElement(){return this.hostElement.shadowRoot.querySelector(".right-button")}isAriaActiveDescendantActive(){return this.showDropdown}getAriaActiveDescendantProxyItemId(){return n}updateProxyList(){const t=this.hostElement.querySelectorAll("ix-dropdown-item"),o=this.hostElement.shadowRoot.querySelector(".proxy-list");o&&l(o,Array.from(t),((t,o)=>{o.role="menuitem",o.innerText=t.label??t.textContent??"",o.ariaLabel=t.ariaLabel??t.label??t.textContent??""}))}render(){const t=this.variant.toLocaleLowerCase().includes("secondary"),o={variant:this.variant,disabled:this.isDisabledButton,class:{"left-button":!0,"left-button-border":!t}};return e(i,{key:"8b0ca8dd570f499543d80f403c5119de176ed859"},this.label?e("ix-button",{...o,icon:this.icon,onClick:t=>this.buttonClick.emit(t),"aria-label":this.ariaLabelButton},this.label):e("ix-icon-button",{...o,icon:this.icon,onClick:t=>this.buttonClick.emit(t),"aria-label":this.ariaLabelButton}),e("ix-dropdown-button",{key:"75f3af8bd3c91e40ed7ad749fa794e5a19129c3c",class:"right-button","aria-label":this.ariaLabelSplitIconButton,icon:this.splitIcon??a,enableTopLayer:this.enableTopLayer,closeBehavior:this.closeBehavior,disabled:this.isDisabledIcon,suppressAriaActiveDescendant:!0,onShowChanged:({detail:t})=>this.showDropdown=t,"aria-controls":`${this.internalId}-${b}`},e(d,{key:"53e6f62837d923f29e11ad408681f34067343aef",hostId:this.internalId,otherProps:{}}),e("slot",{key:"be4d6d91d022ac56acc0fdbab17dd37f0af539c6"})))}static get style(){return".btn-group ix-button:first-child .btn{border-top-right-radius:0px;border-bottom-right-radius:0px;border-right:0px}.btn-group ix-button:last-child .btn{border-top-left-radius:0px;border-bottom-left-radius:0px}.btn-group ix-button:not(:first-child):not(:last-child) .btn{border-radius:0px;border-right:0px}:host{position:relative;display:inline-flex;vertical-align:middle}:host .left-button{width:calc(100% - 2rem);--ix-button-border-radius-right:0}:host .right-button{width:2rem;--ix-dropdown-button-border-radius-left:0}: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 .left-button-border{border-top-width:0.125rem;border-right-width:0;border-left-width:0.125rem;border-bottom-width:0.125rem;margin-right:0.125rem}:host .proxy-list{all:unset;position:absolute;left:0px;top:0px;overflow:hidden;color:transparent;opacity:0;pointer-events:all;z-index:1000}:host .proxy-list li{height:2px;width:2px;pointer-events:all}"}},[769,"ix-split-button",{variant:[1],closeBehavior:[8,"close-behavior"],label:[1],ariaLabelButton:[1,"aria-label-button"],icon:[1],splitIcon:[1,"split-icon"],ariaLabelSplitIconButton:[1,"aria-label-split-icon-button"],disabled:[4],disableButton:[4,"disable-button"],disableDropdownButton:[4,"disable-dropdown-button"],enableTopLayer:[4,"enable-top-layer"]},[[4,"ixFocusVisibleChange","$internal_onActiveDescendantChange"]]]),k=g,w=function(){"undefined"!=typeof customElements&&["ix-split-button","ix-button","ix-dropdown","ix-dropdown-button","ix-icon-button","ix-spinner"].forEach((t=>{switch(t){case"ix-split-button":customElements.get(s(t))||customElements.define(s(t),g);break;case"ix-button":customElements.get(s(t))||u();break;case"ix-dropdown":customElements.get(s(t))||p();break;case"ix-dropdown-button":customElements.get(s(t))||m();break;case"ix-icon-button":customElements.get(s(t))||x();break;case"ix-spinner":customElements.get(s(t))||f()}}))};export{k as IxSplitButton,w as defineCustomElement}
@@ -1 +1 @@
1
- import{T as o,d as s}from"./p-DO3HtUke.js";const t=o,p=s;export{t as IxTabItem,p as defineCustomElement}
1
+ import{T as s,d as o}from"./p-Bs5X90wM.js";const p=s,r=o;export{p as IxTabItem,r as defineCustomElement}
@@ -1 +1 @@
1
- import{T as o,d as s}from"./p-BWH03B1n.js";const p=o,r=s;export{p as IxTabPanel,r as defineCustomElement}
1
+ import{T as o,d as s}from"./p-BmZGQGZi.js";const m=o,p=s;export{m as IxTabPanel,p as defineCustomElement}
@@ -1 +1 @@
1
- import{T as o,d as p}from"./p-GGleop6j.js";const s=o,r=p;export{s as IxTabSet,r as defineCustomElement}
1
+ import{T as o,d as s}from"./p-C_K74Xlt.js";const t=o,p=s;export{t as IxTabSet,p as defineCustomElement}
@@ -1 +1 @@
1
- import{T as a,d as o}from"./p-Ca8JFa1v.js";const s=a,p=o;export{s as IxTabs,p as defineCustomElement}
1
+ import{T as o,d as s}from"./p-BHoJOFM-.js";const p=o,r=s;export{p as IxTabs,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as o,e as t,h as r,d as a,t as n}from"./p-CtDOTMOT.js";import{m as i}from"./p-Djkc69iv.js";import{m as d,g as l,T as s,f as h,i as b,o as c}from"./p-CAH3dF6j.js";import{d as p}from"./p-baqpOH0g.js";import{d as u}from"./p-CkIELF-1.js";import{d as m}from"./p-Dl_YKIKl.js";import{d as v}from"./p-1KOHyx-1.js";import{H as x}from"./p-BWknDysp.js";function y(e){if(!e)return;const o=/^(\d+(?:\.\d+)?)\s*(px|rem|em|%)?$/.exec(e.trim());if(!o)return;const[,t,r]=o,a=Number.parseFloat(t);return Number.isNaN(a)?void 0:r?`${a}${r.toLowerCase()}`:a+"px"}let g=0;const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=t(this,"valueChange",7),this.validityStateChange=t(this,"validityStateChange",7),this.ixBlur=t(this,"ixBlur",7),this.ixChange=t(this,"ixChange",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;placeholder;value="";required=!1;disabled=!1;readonly=!1;helperText;infoText;showTextAsTooltip;validText;warningText;label;invalidText;textareaHeight;textareaWidth;textareaRows;textareaCols;resizeBehavior="both";maxLength;minLength;valueChange;validityStateChange;ixBlur;ixChange;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;isInvalidByRequired=!1;textAreaRef=i((()=>{this.initResizeObserver()}));inputId="ix-textarea-"+g++;touched=!1;initialValue;resizeObserver;isManuallyResized=!1;manualHeight;manualWidth;isProgrammaticResize=!1;lastObservedInlineHeight;lastObservedInlineWidth;updateClassMappings(e){d(this,e)}onDimensionPropsChange(){this.resetManualResizeState(),this.isProgrammaticResize=!0}onResizeBehaviorChange(){this.initResizeObserver()}componentWillLoad(){this.updateFormInternalValue(this.value)}disconnectedCallback(){this.resizeObserver?.disconnect()}resetManualResizeState(){this.isManuallyResized=!1,this.manualHeight=void 0,this.manualWidth=void 0}updateLastObservedInlineStyles(e){this.lastObservedInlineHeight=e.style.height,this.lastObservedInlineWidth=e.style.width}hasInlineStyleChange(e){return e.style.height!==this.lastObservedInlineHeight||e.style.width!==this.lastObservedInlineWidth}initResizeObserver(){this.resizeObserver?.disconnect();const e=this.textAreaRef.current;if(!e)return;if("none"===this.resizeBehavior)return;let o=!0;this.updateLastObservedInlineStyles(e),this.resizeObserver=new ResizeObserver((()=>{const e=this.textAreaRef.current;if(!e)return;if(o)return o=!1,void this.updateLastObservedInlineStyles(e);const t=this.hasInlineStyleChange(e);this.updateLastObservedInlineStyles(e),t&&(this.isProgrammaticResize?this.isProgrammaticResize=!1:(this.isManuallyResized=!0,this.manualHeight=e.style.height,this.manualWidth=e.style.width))})),this.resizeObserver.observe(e)}updateFormInternalValue(e){this.formInternals.setFormValue(e),this.value=e,this.textAreaRef.current&&this.touched&&l(this,this.textAreaRef.current)}async getAssociatedFormElement(){return this.formInternals.form}hasValidValue(){return Promise.resolve(!!this.value)}getNativeInputElement(){return this.textAreaRef.waitForCurrent()}async focusInput(){return(await this.getNativeInputElement()).focus()}isTouched(){return Promise.resolve(this.touched)}getTextareaHeight(){return this.isManuallyResized?this.manualHeight:y(this.textareaHeight)}getTextareaWidth(){return this.isManuallyResized?this.manualWidth||"100%":y(this.textareaWidth)}render(){return r(a,{key:"25fd15e33b307ef6679fa4ecb743675e193b5c66",class:{disabled:this.disabled,readonly:this.readonly}},r("ix-field-wrapper",{key:"e710567e5ad61faaaa6ca856371adec196c14811",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.textAreaRef},!!this.maxLength&&this.maxLength>0&&r("ix-typography",{key:"5971779593dae3517af5cd174000a7c5cb8c1cdc",class:"bottom-text",slot:"bottom-right",textColor:"soft"},(this.value??"").length,"/",this.maxLength),r("div",{key:"73a09a125b0cdd366fa916071784290d1acff350",class:"input-wrapper"},r(s,{key:"d79416a34716bf036e0a8943904c1986793c3399",id:this.inputId,minLength:this.minLength,maxLength:this.maxLength,textareaCols:this.textareaCols,textareaRows:this.textareaRows,textareaHeight:this.getTextareaHeight(),textareaWidth:this.getTextareaWidth(),resizeBehavior:this.resizeBehavior,readonly:this.readonly,disabled:this.disabled,isInvalid:this.isInvalid,required:this.required,value:this.value,placeholder:this.placeholder,textAreaRef:this.textAreaRef,ariaAttributes:b(this),onFocus:()=>h(this,this.value),valueChange:e=>this.valueChange.emit(e),updateFormInternalValue:e=>this.updateFormInternalValue(e),onBlur:()=>{c(this,this.textAreaRef.current,this.value),this.touched=!0}}))))}static get formAssociated(){return!0}static get watchers(){return{textareaHeight:[{onDimensionPropsChange:0}],textareaWidth:[{onDimensionPropsChange:0}],textareaRows:[{onDimensionPropsChange:0}],textareaCols:[{onDimensionPropsChange:0}],resizeBehavior:[{onResizeBehaviorChange:0}]}}static get style(){return'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(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{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])) textarea:hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea: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])) textarea,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{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])) textarea:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea: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]):not(.readonly):not([readonly])) textarea:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:active{border-color:var(--theme-input--border-color--invalid--active) !important}'}},[577,"ix-textarea",{name:[513],placeholder:[513],value:[1537],required:[516],disabled:[4],readonly:[4],helperText:[1,"helper-text"],infoText:[1,"info-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],validText:[1,"valid-text"],warningText:[1,"warning-text"],label:[513],invalidText:[1,"invalid-text"],textareaHeight:[1,"textarea-height"],textareaWidth:[1,"textarea-width"],textareaRows:[2,"textarea-rows"],textareaCols:[2,"textarea-cols"],resizeBehavior:[1,"resize-behavior"],maxLength:[2,"max-length"],minLength:[2,"min-length"],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],isInvalidByRequired:[32],manualHeight:[32],manualWidth:[32],getAssociatedFormElement:[64],hasValidValue:[64],getNativeInputElement:[64],focusInput:[64],isTouched:[64]},void 0,{textareaHeight:[{onDimensionPropsChange:0}],textareaWidth:[{onDimensionPropsChange:0}],textareaRows:[{onDimensionPropsChange:0}],textareaCols:[{onDimensionPropsChange:0}],resizeBehavior:[{onResizeBehaviorChange:0}]}]);!function(e,o,t,r){var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(i=(n<3?a(i):n>3?a(o,t,i):a(o,t))||i);n>3&&i&&Object.defineProperty(o,t,i)}([x()],f.prototype,"updateClassMappings",null);const k=f,w=function(){"undefined"!=typeof customElements&&["ix-textarea","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-textarea":customElements.get(n(e))||customElements.define(n(e),f);break;case"ix-field-label":customElements.get(n(e))||p();break;case"ix-field-wrapper":customElements.get(n(e))||u();break;case"ix-tooltip":customElements.get(n(e))||m();break;case"ix-typography":customElements.get(n(e))||v()}}))};export{k as IxTextarea,w as defineCustomElement}
1
+ import{p as e,H as o,e as t,h as r,d as a,t as n}from"./p-eN5fQtqO.js";import{m as i}from"./p-Djkc69iv.js";import{m as d,g as l,T as s,f as h,i as b,o as c}from"./p-BDnx22Gp.js";import{d as p}from"./p-BGOtCwtj.js";import{d as u}from"./p-eGuQ8D3W.js";import{d as m}from"./p-CgPr717U.js";import{d as v}from"./p-YFmbQndr.js";import{H as x}from"./p-BTBxxgtF.js";function y(e){if(!e)return;const o=/^(\d+(?:\.\d+)?)\s*(px|rem|em|%)?$/.exec(e.trim());if(!o)return;const[,t,r]=o,a=Number.parseFloat(t);return Number.isNaN(a)?void 0:r?`${a}${r.toLowerCase()}`:a+"px"}let g=0;const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.valueChange=t(this,"valueChange",7),this.validityStateChange=t(this,"validityStateChange",7),this.ixBlur=t(this,"ixBlur",7),this.ixChange=t(this,"ixChange",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;placeholder;value="";required=!1;disabled=!1;readonly=!1;helperText;infoText;showTextAsTooltip;validText;warningText;label;invalidText;textareaHeight;textareaWidth;textareaRows;textareaCols;resizeBehavior="both";maxLength;minLength;valueChange;validityStateChange;ixBlur;ixChange;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;isInvalidByRequired=!1;textAreaRef=i((()=>{this.initResizeObserver()}));inputId="ix-textarea-"+g++;touched=!1;initialValue;resizeObserver;isManuallyResized=!1;manualHeight;manualWidth;isProgrammaticResize=!1;lastObservedInlineHeight;lastObservedInlineWidth;updateClassMappings(e){d(this,e)}onDimensionPropsChange(){this.resetManualResizeState(),this.isProgrammaticResize=!0}onResizeBehaviorChange(){this.initResizeObserver()}componentWillLoad(){this.updateFormInternalValue(this.value)}disconnectedCallback(){this.resizeObserver?.disconnect()}resetManualResizeState(){this.isManuallyResized=!1,this.manualHeight=void 0,this.manualWidth=void 0}updateLastObservedInlineStyles(e){this.lastObservedInlineHeight=e.style.height,this.lastObservedInlineWidth=e.style.width}hasInlineStyleChange(e){return e.style.height!==this.lastObservedInlineHeight||e.style.width!==this.lastObservedInlineWidth}initResizeObserver(){this.resizeObserver?.disconnect();const e=this.textAreaRef.current;if(!e)return;if("none"===this.resizeBehavior)return;let o=!0;this.updateLastObservedInlineStyles(e),this.resizeObserver=new ResizeObserver((()=>{const e=this.textAreaRef.current;if(!e)return;if(o)return o=!1,void this.updateLastObservedInlineStyles(e);const t=this.hasInlineStyleChange(e);this.updateLastObservedInlineStyles(e),t&&(this.isProgrammaticResize?this.isProgrammaticResize=!1:(this.isManuallyResized=!0,this.manualHeight=e.style.height,this.manualWidth=e.style.width))})),this.resizeObserver.observe(e)}updateFormInternalValue(e){this.formInternals.setFormValue(e),this.value=e,this.textAreaRef.current&&this.touched&&l(this,this.textAreaRef.current)}async getAssociatedFormElement(){return this.formInternals.form}hasValidValue(){return Promise.resolve(!!this.value)}getNativeInputElement(){return this.textAreaRef.waitForCurrent()}async focusInput(){return(await this.getNativeInputElement()).focus()}isTouched(){return Promise.resolve(this.touched)}getTextareaHeight(){return this.isManuallyResized?this.manualHeight:y(this.textareaHeight)}getTextareaWidth(){return this.isManuallyResized?this.manualWidth||"100%":y(this.textareaWidth)}render(){return r(a,{key:"0225922a8d56aa475954dc3a7b06d1963debf354",class:{disabled:this.disabled,readonly:this.readonly}},r("ix-field-wrapper",{key:"7d2b61104c9525173ac87cfe0dc278f8d19363b4",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.textAreaRef},!!this.maxLength&&this.maxLength>0&&r("ix-typography",{key:"8bb957ab2f076f590446cd05d49295de0ba49ed1",class:"bottom-text",slot:"bottom-right",textColor:"soft"},(this.value??"").length,"/",this.maxLength),r("div",{key:"0e5bc0c754d5ac6115c09e8d500d6ec7c3dbbce4",class:"input-wrapper"},r(s,{key:"d7a41229fd7a72e56f58e88e6a4cd32299dc21b1",id:this.inputId,minLength:this.minLength,maxLength:this.maxLength,textareaCols:this.textareaCols,textareaRows:this.textareaRows,textareaHeight:this.getTextareaHeight(),textareaWidth:this.getTextareaWidth(),resizeBehavior:this.resizeBehavior,readonly:this.readonly,disabled:this.disabled,isInvalid:this.isInvalid,required:this.required,value:this.value,placeholder:this.placeholder,textAreaRef:this.textAreaRef,ariaAttributes:b(this),onFocus:()=>h(this,this.value),valueChange:e=>this.valueChange.emit(e),updateFormInternalValue:e=>this.updateFormInternalValue(e),onBlur:()=>{c(this,this.textAreaRef.current,this.value),this.touched=!0}}))))}static get formAssociated(){return!0}static get watchers(){return{textareaHeight:[{onDimensionPropsChange:0}],textareaWidth:[{onDimensionPropsChange:0}],textareaRows:[{onDimensionPropsChange:0}],textareaCols:[{onDimensionPropsChange:0}],resizeBehavior:[{onResizeBehaviorChange:0}]}}static get style(){return'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(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{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])) textarea:hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea: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])) textarea,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea{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])) textarea:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea: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]):not(.readonly):not([readonly])) textarea:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) textarea:active{border-color:var(--theme-input--border-color--invalid--active) !important}'}},[577,"ix-textarea",{name:[513],placeholder:[513],value:[1537],required:[516],disabled:[4],readonly:[4],helperText:[1,"helper-text"],infoText:[1,"info-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],validText:[1,"valid-text"],warningText:[1,"warning-text"],label:[513],invalidText:[1,"invalid-text"],textareaHeight:[1,"textarea-height"],textareaWidth:[1,"textarea-width"],textareaRows:[2,"textarea-rows"],textareaCols:[2,"textarea-cols"],resizeBehavior:[1,"resize-behavior"],maxLength:[2,"max-length"],minLength:[2,"min-length"],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],isInvalidByRequired:[32],manualHeight:[32],manualWidth:[32],getAssociatedFormElement:[64],hasValidValue:[64],getNativeInputElement:[64],focusInput:[64],isTouched:[64]},void 0,{textareaHeight:[{onDimensionPropsChange:0}],textareaWidth:[{onDimensionPropsChange:0}],textareaRows:[{onDimensionPropsChange:0}],textareaCols:[{onDimensionPropsChange:0}],resizeBehavior:[{onResizeBehaviorChange:0}]}]);!function(e,o,t,r){var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(i=(n<3?a(i):n>3?a(o,t,i):a(o,t))||i);n>3&&i&&Object.defineProperty(o,t,i)}([x()],f.prototype,"updateClassMappings",null);const k=f,w=function(){"undefined"!=typeof customElements&&["ix-textarea","ix-field-label","ix-field-wrapper","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-textarea":customElements.get(n(e))||customElements.define(n(e),f);break;case"ix-field-label":customElements.get(n(e))||p();break;case"ix-field-wrapper":customElements.get(n(e))||u();break;case"ix-tooltip":customElements.get(n(e))||m();break;case"ix-typography":customElements.get(n(e))||v()}}))};export{k as IxTextarea,w as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as o,d as r,t as s}from"./p-CtDOTMOT.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}size="medium";hasHeaderSlot=!1;hasFooterSlot=!1;handleHeaderSlotChange(){this.hasHeaderSlot=!!this.hostElement.querySelector('[slot="header"]')}handleFooterSlotChange(){this.hasFooterSlot=!!this.hostElement.querySelector('[slot="footer"]')}render(){return o(r,{key:"fe4f063c20f7e7d92d074dfecd5f7da29e5b466f",class:{"tile-small":"small"===this.size,"tile-medium":"medium"===this.size,"tile-big":"big"===this.size}},o("div",{key:"10a6e4e55560a8c8927fbd6bfd477b4b2bd6ac63",class:{"tile-header":!0,"has-content":this.hasHeaderSlot}},o("slot",{key:"2757565c81f4b79cc58adf4063f884957c102317",name:"header",onSlotchange:()=>this.handleHeaderSlotChange()})),o("div",{key:"051387aa0b12e9075e8711979e2706d3f1fbcdb0",class:"tile-subheader"},o("slot",{key:"bdb3cd31f463b89940f377ff078ad78a154d0b7d",name:"subheader"})),o("div",{key:"4e856e13a8ced7fc25fc286c65eecc5a2de2b826",class:"tile-content"},o("slot",{key:"91b44be36ded3293d1c0fb11d3e383aff88aa01d"})),o("div",{key:"890de1414349994751cf9dc2081d3542d49fef1b",class:{"tile-footer":!0,"has-content":this.hasFooterSlot}},o("slot",{key:"0f45773fa5a79c27c563629b8645f3440d88acb7",name:"footer",onSlotchange:()=>this.handleFooterSlotChange()})))}static get style(){return":host{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}: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 .tile-header{display:flex;align-items:center;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .tile-header,:host .tile-subheader,:host .tile-content,:host .tile-footer{padding:0 1rem}:host .tile-header,:host .tile-content{flex-grow:1}:host .tile-header.has-content{display:flex;height:2.5rem;max-height:2.5rem;padding-inline-end:0.5rem}:host .tile-subheader{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}:host .tile-footer.has-content{border-block-start:1px solid var(--theme-color-1);height:2.5rem}:host(.tile-small){height:2.5rem;min-height:2.5rem;max-height:2.5rem}:host(.tile-medium){height:5rem;min-height:5rem;max-height:5rem}:host(.tile-big){height:10rem;min-height:10rem;max-height:10rem}:host(:active),:host(:focus-visible),:host(:visited){outline:none}"}},[769,"ix-tile",{size:[1],hasHeaderSlot:[32],hasFooterSlot:[32]}]),h=a,i=function(){"undefined"!=typeof customElements&&["ix-tile"].forEach((e=>{"ix-tile"===e&&(customElements.get(s(e))||customElements.define(s(e),a))}))};export{h as IxTile,i as defineCustomElement}
1
+ import{p as e,H as t,h as o,d as r,t as s}from"./p-eN5fQtqO.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}size="medium";hasHeaderSlot=!1;hasFooterSlot=!1;handleHeaderSlotChange(){this.hasHeaderSlot=!!this.hostElement.querySelector('[slot="header"]')}handleFooterSlotChange(){this.hasFooterSlot=!!this.hostElement.querySelector('[slot="footer"]')}render(){return o(r,{key:"d4cc3c4197ae2796c1802801dabbf8839458e284",class:{"tile-small":"small"===this.size,"tile-medium":"medium"===this.size,"tile-big":"big"===this.size}},o("div",{key:"7a263f6826bb8100707c7886e588b5307cc96aba",class:{"tile-header":!0,"has-content":this.hasHeaderSlot}},o("slot",{key:"28a19a02e4bba01f86848af461863e430f48f944",name:"header",onSlotchange:()=>this.handleHeaderSlotChange()})),o("div",{key:"097d77e86c3e758b58fa50406ba8d721e018f4c8",class:"tile-subheader"},o("slot",{key:"7b39bd079aa40a107e305efb86c18d2b851d751a",name:"subheader"})),o("div",{key:"870c7f00e7c712d3bce3da8d82428c289097ab47",class:"tile-content"},o("slot",{key:"4da7e10f781146c866ac0c927365f10c1004bebd"})),o("div",{key:"af35feec030823452bbe5dcc489728238f0ac821",class:{"tile-footer":!0,"has-content":this.hasFooterSlot}},o("slot",{key:"951a53fa07f2fb3a0f57e540e9f6397c0e5b45bf",name:"footer",onSlotchange:()=>this.handleFooterSlotChange()})))}static get style(){return":host{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}: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 .tile-header{display:flex;align-items:center;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .tile-header,:host .tile-subheader,:host .tile-content,:host .tile-footer{padding:0 1rem}:host .tile-header,:host .tile-content{flex-grow:1}:host .tile-header.has-content{display:flex;height:2.5rem;max-height:2.5rem;padding-inline-end:0.5rem}:host .tile-subheader{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}:host .tile-footer.has-content{border-block-start:1px solid var(--theme-color-1);height:2.5rem}:host(.tile-small){height:2.5rem;min-height:2.5rem;max-height:2.5rem}:host(.tile-medium){height:5rem;min-height:5rem;max-height:5rem}:host(.tile-big){height:10rem;min-height:10rem;max-height:10rem}:host(:active),:host(:focus-visible),:host(:visited){outline:none}"}},[769,"ix-tile",{size:[1],hasHeaderSlot:[32],hasFooterSlot:[32]}]),h=a,i=function(){"undefined"!=typeof customElements&&["ix-tile"].forEach((e=>{"ix-tile"===e&&(customElements.get(s(e))||customElements.define(s(e),a))}))};export{h as IxTile,i as defineCustomElement}