@siemens/ix 5.1.1 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (926) 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-4ZsT_zIm.js +1 -0
  131. package/components/p-B3ZUi0gM.js +1 -0
  132. package/components/p-BE708_H3.js +1 -0
  133. package/components/p-BF2IsI5j.js +1 -0
  134. package/components/p-BGpGr8Qv.js +1 -0
  135. package/components/{p-CuFZ7CXu.js → p-BHjmN8zz.js} +1 -1
  136. package/components/{p-CbbabcAR.js → p-BHtNsBtM.js} +1 -1
  137. package/components/p-BKCLcJ_A.js +1 -0
  138. package/components/p-BKVBe7Co.js +1 -0
  139. package/components/p-BOImZPcG.js +1 -0
  140. package/components/p-BTBxxgtF.js +1 -0
  141. package/components/p-BmZGQGZi.js +1 -0
  142. package/components/p-BpE93ty6.js +1 -0
  143. package/components/p-BqeSHO6C.js +1 -0
  144. package/components/p-C02EaF8C.js +1 -0
  145. package/components/{p-baqpOH0g.js → p-CAd-WgR8.js} +1 -1
  146. package/components/p-CFH9HkmQ.js +1 -0
  147. package/components/p-CGGWaScq.js +1 -0
  148. package/components/{p-Czy7a3I4.js → p-CHJbp28K.js} +1 -1
  149. package/components/p-CRbQNmxe.js +1 -0
  150. package/components/p-CYgC-XN6.js +1 -0
  151. package/components/{p-GGleop6j.js → p-C_K74Xlt.js} +1 -1
  152. package/components/p-CiP3eKpd.js +1 -0
  153. package/components/p-CqWfy46u.js +1 -0
  154. package/components/p-Ctb1EExj.js +1 -0
  155. package/components/p-Cxwq4WaV.js +1 -0
  156. package/components/p-D5-dW4IM.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-DB-zpRCO.js +1 -0
  160. package/components/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  161. package/components/p-DIq_C5Sa.js +1 -0
  162. package/components/p-DKU5FVxI.js +1 -0
  163. package/components/{p-BZgc6bzH.js → p-DLgZfUmI.js} +1 -1
  164. package/components/{p-DtmgZu-S.js → p-DWOjSq8j.js} +1 -1
  165. package/components/p-DXmwthlZ.js +1 -0
  166. package/components/p-D_VBAyPm.js +1 -0
  167. package/components/p-DcOoa9vE.js +1 -0
  168. package/components/p-DiYkfhDE.js +1 -0
  169. package/components/p-DpvAVNqZ.js +1 -0
  170. package/components/p-DsVj4Cd-.js +1 -0
  171. package/components/{p-BRoFUwzJ.js → p-DyC90hvu.js} +1 -1
  172. package/components/p-DzDB4UBp.js +1 -0
  173. package/components/p-QnnFQ3fz.js +1 -0
  174. package/components/p-R5tYZVVd.js +1 -0
  175. package/components/p-WX1HYV2-.js +1 -0
  176. package/components/{p-1KOHyx-1.js → p-YFmbQndr.js} +1 -1
  177. package/components/{p-CUvmGsh_.js → p-_irxfS9S.js} +1 -1
  178. package/components/{p-CtDOTMOT.js → p-eN5fQtqO.js} +1 -1
  179. package/components/p-ePylRxs_.js +1 -0
  180. package/components/p-n2_EOgMr.js +1 -0
  181. package/components/p-q_MHsaAK.js +1 -0
  182. package/components/p-tpMN9yTQ.js +1 -0
  183. package/components/p-v9vlPlkd.js +1 -0
  184. package/components/p-viP8I2_s.js +1 -0
  185. package/dist/cjs/{a11y-_XjpTo2w.js → a11y--G19CFwe.js} +1 -0
  186. package/dist/cjs/{animation-hxDbANsw.js → animation-BIfSQAkX.js} +8 -12
  187. package/dist/cjs/{base-button-BP6iIMR7.js → base-button-DIhNZecD.js} +1 -1
  188. package/dist/cjs/{base-icon-button-BmiGQb9v.js → base-icon-button-DASKxRmK.js} +1 -1
  189. package/dist/cjs/chip.types-BD73fAij.js +22 -0
  190. package/dist/cjs/{focus-visible.mixin-1V7Eldn_.js → focus-visible.mixin-GrZAmMez.js} +1 -1
  191. package/dist/cjs/{helper-text-util-BkHm7ofh.js → helper-text-util-EAfzAOH6.js} +2 -2
  192. package/dist/cjs/{index-CwJ-mkQd.js → index-BQht1mLe.js} +20 -0
  193. package/dist/cjs/index-DnclGKUw.js +28 -4
  194. package/dist/cjs/index.cjs.js +2 -2
  195. package/dist/cjs/inherit-aria-attributes.mixin-DZ_vNjkJ.js +306 -0
  196. package/dist/cjs/{input.fc-DM-hX3xb.js → input.fc-ellguRiE.js} +9 -4
  197. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  198. package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
  199. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  200. package/dist/cjs/ix-application.cjs.entry.js +1 -1
  201. package/dist/cjs/ix-avatar_2.cjs.entry.js +5 -5
  202. package/dist/cjs/ix-badge.cjs.entry.js +565 -0
  203. package/dist/cjs/ix-blind.cjs.entry.js +15 -9
  204. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +5 -158
  205. package/dist/cjs/ix-breadcrumb.cjs.entry.js +5 -5
  206. package/dist/cjs/ix-button.cjs.entry.js +4 -157
  207. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +10 -7
  208. package/dist/cjs/ix-card-list.cjs.entry.js +63 -10
  209. package/dist/cjs/ix-card_2.cjs.entry.js +5 -5
  210. package/dist/cjs/ix-category-filter.cjs.entry.js +8 -8
  211. package/dist/cjs/ix-chat-ai-message.cjs.entry.js +35 -0
  212. package/dist/cjs/ix-chat-attachment.cjs.entry.js +110 -0
  213. package/dist/cjs/ix-chat-input.cjs.entry.js +406 -0
  214. package/dist/cjs/ix-chat-user-message.cjs.entry.js +66 -0
  215. package/dist/cjs/ix-chat.cjs.entry.js +28 -0
  216. package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
  217. package/dist/cjs/ix-checkbox.cjs.entry.js +6 -6
  218. package/dist/cjs/ix-chip.cjs.entry.js +12 -186
  219. package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
  220. package/dist/cjs/ix-content-header.cjs.entry.js +4 -4
  221. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  222. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  223. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  224. package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
  225. package/dist/cjs/ix-date-dropdown.cjs.entry.js +9 -9
  226. package/dist/cjs/ix-date-input.cjs.entry.js +9 -9
  227. package/dist/cjs/ix-date-picker.cjs.entry.js +17 -13
  228. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  229. package/dist/cjs/ix-datetime-input.cjs.entry.js +9 -9
  230. package/dist/cjs/ix-datetime-picker.cjs.entry.js +4 -4
  231. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  232. package/dist/cjs/ix-dropdown-button.cjs.entry.js +11 -8
  233. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  234. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  235. package/dist/cjs/ix-dropdown_2.cjs.entry.js +19 -13
  236. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  237. package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
  238. package/dist/cjs/ix-event-list.cjs.entry.js +11 -4
  239. package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
  240. package/dist/cjs/ix-field-label_2.cjs.entry.js +8 -8
  241. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +8 -8
  242. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
  244. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
  245. package/dist/cjs/ix-group.cjs.entry.js +10 -10
  246. package/dist/cjs/ix-helper-text.cjs.entry.js +5 -5
  247. package/dist/cjs/ix-icon-button_2.cjs.entry.js +9 -164
  248. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +7 -162
  249. package/dist/cjs/ix-input.cjs.entry.js +10 -10
  250. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  251. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  252. package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
  253. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  254. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  255. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  256. package/dist/cjs/ix-menu-about-news.cjs.entry.js +6 -6
  257. package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
  258. package/dist/cjs/ix-menu-avatar.cjs.entry.js +5 -5
  259. package/dist/cjs/ix-menu-category.cjs.entry.js +31 -170
  260. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +5 -5
  261. package/dist/cjs/ix-menu-item.cjs.entry.js +12 -161
  262. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  263. package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
  264. package/dist/cjs/ix-menu.cjs.entry.js +42 -20
  265. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
  266. package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
  267. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  268. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  269. package/dist/cjs/ix-modal.cjs.entry.js +15 -8
  270. package/dist/cjs/ix-number-input.cjs.entry.js +19 -16
  271. package/dist/cjs/ix-pagination.cjs.entry.js +6 -6
  272. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  273. package/dist/cjs/ix-pane.cjs.entry.js +11 -11
  274. package/dist/cjs/ix-pill_4.cjs.entry.js +27 -175
  275. package/dist/cjs/ix-popover-content.cjs.entry.js +2 -2
  276. package/dist/cjs/ix-popover-footer.cjs.entry.js +2 -2
  277. package/dist/cjs/ix-popover-header.cjs.entry.js +4 -4
  278. package/dist/cjs/ix-popover-image.cjs.entry.js +1 -1
  279. package/dist/cjs/ix-popover.cjs.entry.js +5 -156
  280. package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
  281. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  282. package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
  283. package/dist/cjs/ix-radio.cjs.entry.js +6 -6
  284. package/dist/cjs/ix-range-field.cjs.entry.js +4 -4
  285. package/dist/cjs/ix-select.cjs.entry.js +14 -14
  286. package/dist/cjs/ix-slider.cjs.entry.js +9 -9
  287. package/dist/cjs/ix-split-button.cjs.entry.js +3 -3
  288. package/dist/cjs/ix-tab-panel.cjs.entry.js +2 -2
  289. package/dist/cjs/ix-textarea.cjs.entry.js +7 -7
  290. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  291. package/dist/cjs/ix-time-input.cjs.entry.js +9 -9
  292. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  293. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  294. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -159
  295. package/dist/cjs/ix-toggle.cjs.entry.js +7 -160
  296. package/dist/cjs/ix-tooltip.cjs.entry.js +6 -2
  297. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
  298. package/dist/cjs/ix-tree.cjs.entry.js +2 -1
  299. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  300. package/dist/cjs/ix-upload.cjs.entry.js +6 -6
  301. package/dist/cjs/ix-workflow-step.cjs.entry.js +12 -6
  302. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  303. package/dist/cjs/loader.cjs.js +1 -1
  304. package/dist/cjs/siemens-ix.cjs.js +1 -1
  305. package/dist/cjs/{validation-DJaUH-UR.js → validation-B1izlD8M.js} +59 -3
  306. package/dist/collection/collection-manifest.json +6 -0
  307. package/dist/collection/components/action-card/action-card.css +11 -11
  308. package/dist/collection/components/application/application.css +11 -11
  309. package/dist/collection/components/application-header/application-header.css +11 -11
  310. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +11 -11
  311. package/dist/collection/components/avatar/avatar.css +19 -11
  312. package/dist/collection/components/badge/badge.css +622 -0
  313. package/dist/collection/components/badge/badge.js +817 -0
  314. package/dist/collection/components/badge/badge.status-icon.js +65 -0
  315. package/dist/collection/components/badge/badge.types.js +24 -0
  316. package/dist/collection/components/badge/badge.utils.js +57 -0
  317. package/dist/collection/components/badge/test/badge.page.js +194 -0
  318. package/dist/collection/components/blind/blind.css +119 -15
  319. package/dist/collection/components/blind/blind.js +11 -5
  320. package/dist/collection/components/breadcrumb/breadcrumb.css +11 -11
  321. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  322. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +160 -44
  323. package/dist/collection/components/button/button.css +84 -22
  324. package/dist/collection/components/card/card.css +11 -11
  325. package/dist/collection/components/card/card.js +2 -2
  326. package/dist/collection/components/card-accordion/card-accordion.css +61 -44
  327. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  328. package/dist/collection/components/card-content/card-content.css +11 -11
  329. package/dist/collection/components/card-content/card-content.js +1 -1
  330. package/dist/collection/components/card-list/card-list.css +23 -11
  331. package/dist/collection/components/card-list/card-list.js +67 -10
  332. package/dist/collection/components/card-title/card-title.js +1 -1
  333. package/dist/collection/components/category-filter/category-filter.css +95 -33
  334. package/dist/collection/components/category-filter/category-filter.js +4 -4
  335. package/dist/collection/components/chat/chat.css +114 -0
  336. package/dist/collection/components/chat/chat.js +47 -0
  337. package/dist/collection/components/chat-ai-message/chat-ai-message.css +139 -0
  338. package/dist/collection/components/chat-ai-message/chat-ai-message.js +56 -0
  339. package/dist/collection/components/chat-attachment/chat-attachment.css +135 -0
  340. package/dist/collection/components/chat-attachment/chat-attachment.js +284 -0
  341. package/dist/collection/components/chat-attachment/chat-attachment.types.js +1 -0
  342. package/dist/collection/components/chat-input/chat-input.css +323 -0
  343. package/dist/collection/components/chat-input/chat-input.js +878 -0
  344. package/dist/collection/components/chat-user-message/chat-user-message.css +145 -0
  345. package/dist/collection/components/chat-user-message/chat-user-message.js +112 -0
  346. package/dist/collection/components/checkbox/checkbox.css +11 -11
  347. package/dist/collection/components/checkbox/checkbox.js +3 -3
  348. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  349. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  350. package/dist/collection/components/chip/chip.css +28 -19
  351. package/dist/collection/components/chip/chip.js +7 -8
  352. package/dist/collection/components/col/col.css +11 -11
  353. package/dist/collection/components/col/col.js +2 -2
  354. package/dist/collection/components/content/content.css +11 -11
  355. package/dist/collection/components/content/content.js +3 -3
  356. package/dist/collection/components/content-header/content-header.js +3 -3
  357. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  358. package/dist/collection/components/css-grid/css-grid.js +1 -1
  359. package/dist/collection/components/custom-field/custom-field.js +1 -1
  360. package/dist/collection/components/date-dropdown/date-dropdown.css +30 -22
  361. package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
  362. package/dist/collection/components/date-input/date-input.css +22 -22
  363. package/dist/collection/components/date-input/date-input.js +3 -3
  364. package/dist/collection/components/date-picker/date-picker.css +19 -11
  365. package/dist/collection/components/date-picker/date-picker.js +15 -11
  366. package/dist/collection/components/date-time-card/date-time-card.css +11 -11
  367. package/dist/collection/components/date-time-card/date-time-card.js +2 -2
  368. package/dist/collection/components/datetime-input/datetime-input.css +22 -22
  369. package/dist/collection/components/datetime-input/datetime-input.js +3 -3
  370. package/dist/collection/components/datetime-picker/datetime-picker.css +11 -11
  371. package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
  372. package/dist/collection/components/divider/divider.js +1 -1
  373. package/dist/collection/components/dropdown/dropdown.css +11 -11
  374. package/dist/collection/components/dropdown/dropdown.js +11 -5
  375. package/dist/collection/components/dropdown-button/dropdown-button.css +155 -34
  376. package/dist/collection/components/dropdown-button/dropdown-button.js +8 -5
  377. package/dist/collection/components/dropdown-header/dropdown-header.css +11 -11
  378. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  379. package/dist/collection/components/dropdown-item/dropdown-item.css +12 -12
  380. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  381. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  382. package/dist/collection/components/empty-state/empty-state.css +11 -11
  383. package/dist/collection/components/empty-state/empty-state.js +1 -1
  384. package/dist/collection/components/event-list/event-list.css +11 -11
  385. package/dist/collection/components/event-list/event-list.js +10 -3
  386. package/dist/collection/components/event-list-item/event-list-item.css +11 -11
  387. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  388. package/dist/collection/components/expanding-search/expanding-search.css +11 -11
  389. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  390. package/dist/collection/components/field-label/field-label.js +2 -2
  391. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  392. package/dist/collection/components/filter-chip/filter-chip.css +11 -11
  393. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  394. package/dist/collection/components/flip-tile/flip-tile.css +11 -11
  395. package/dist/collection/components/flip-tile/flip-tile.js +3 -3
  396. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  397. package/dist/collection/components/group/group-context-menu.js +1 -1
  398. package/dist/collection/components/group/group.js +9 -9
  399. package/dist/collection/components/group-item/group-item.css +11 -11
  400. package/dist/collection/components/helper-text/helper-text.js +1 -1
  401. package/dist/collection/components/icon-button/icon-button.css +103 -39
  402. package/dist/collection/components/icon-button/icon-button.js +2 -2
  403. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +103 -39
  404. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
  405. package/dist/collection/components/input/input.css +11 -11
  406. package/dist/collection/components/input/input.js +4 -4
  407. package/dist/collection/components/input/input.util.js +6 -1
  408. package/dist/collection/components/input/number-input.css +11 -11
  409. package/dist/collection/components/input/number-input.js +13 -10
  410. package/dist/collection/components/input/textarea.css +11 -11
  411. package/dist/collection/components/input/textarea.js +2 -2
  412. package/dist/collection/components/ix-playground/ix-playground.js +1 -1
  413. package/dist/collection/components/key-value/key-value.js +1 -1
  414. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  415. package/dist/collection/components/kpi/kpi.css +11 -11
  416. package/dist/collection/components/kpi/kpi.js +3 -3
  417. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  418. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  419. package/dist/collection/components/link-button/link-button.js +3 -3
  420. package/dist/collection/components/menu/menu-expand-icon.css +36 -22
  421. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  422. package/dist/collection/components/menu/menu.css +11 -11
  423. package/dist/collection/components/menu/menu.js +39 -17
  424. package/dist/collection/components/menu-about/menu-about.css +11 -11
  425. package/dist/collection/components/menu-about/menu-about.js +2 -2
  426. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  427. package/dist/collection/components/menu-about-news/menu-about-news.css +11 -11
  428. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  429. package/dist/collection/components/menu-avatar/menu-avatar.css +11 -11
  430. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  431. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +11 -11
  432. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  433. package/dist/collection/components/menu-category/menu-category.css +11 -11
  434. package/dist/collection/components/menu-category/menu-category.js +29 -15
  435. package/dist/collection/components/menu-item/menu-item.js +9 -5
  436. package/dist/collection/components/menu-settings/menu-settings.css +11 -11
  437. package/dist/collection/components/menu-settings/menu-settings.js +2 -2
  438. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  439. package/dist/collection/components/message-bar/message-bar.css +11 -11
  440. package/dist/collection/components/message-bar/message-bar.js +1 -1
  441. package/dist/collection/components/modal/modal.js +13 -6
  442. package/dist/collection/components/modal-content/modal-content.css +11 -11
  443. package/dist/collection/components/modal-content/modal-content.js +1 -1
  444. package/dist/collection/components/modal-footer/modal-footer.css +11 -11
  445. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  446. package/dist/collection/components/modal-header/modal-header.css +11 -11
  447. package/dist/collection/components/modal-header/modal-header.js +2 -2
  448. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  449. package/dist/collection/components/pagination/pagination.css +114 -50
  450. package/dist/collection/components/pagination/pagination.js +2 -2
  451. package/dist/collection/components/pane/pane.css +11 -11
  452. package/dist/collection/components/pane/pane.js +7 -7
  453. package/dist/collection/components/pane-layout/pane-layout.css +11 -11
  454. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  455. package/dist/collection/components/pill/pill.css +11 -11
  456. package/dist/collection/components/pill/pill.js +4 -4
  457. package/dist/collection/components/popover/popover.js +3 -1
  458. package/dist/collection/components/popover/test/popover.page.js +3 -2
  459. package/dist/collection/components/popover-content/popover-content.css +11 -11
  460. package/dist/collection/components/popover-content/popover-content.js +1 -1
  461. package/dist/collection/components/popover-footer/popover-footer.css +11 -11
  462. package/dist/collection/components/popover-footer/popover-footer.js +1 -1
  463. package/dist/collection/components/popover-header/popover-header.css +11 -11
  464. package/dist/collection/components/popover-header/popover-header.js +1 -1
  465. package/dist/collection/components/popover-image/popover-image.css +11 -11
  466. package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
  467. package/dist/collection/components/push-card/push-card.css +70 -0
  468. package/dist/collection/components/push-card/push-card.js +1 -1
  469. package/dist/collection/components/radio/radio.css +11 -11
  470. package/dist/collection/components/radio/radio.js +3 -3
  471. package/dist/collection/components/radio-group/radio-group.js +2 -2
  472. package/dist/collection/components/range-field/range-field.css +11 -11
  473. package/dist/collection/components/range-field/range-field.js +2 -2
  474. package/dist/collection/components/row/row.js +1 -1
  475. package/dist/collection/components/select/select.css +11 -11
  476. package/dist/collection/components/select/select.js +11 -11
  477. package/dist/collection/components/select-item/select-item.js +2 -2
  478. package/dist/collection/components/slider/slider.css +11 -11
  479. package/dist/collection/components/slider/slider.js +6 -6
  480. package/dist/collection/components/spinner/spinner.css +55 -55
  481. package/dist/collection/components/spinner/spinner.js +1 -1
  482. package/dist/collection/components/split-button/split-button.css +11 -11
  483. package/dist/collection/components/split-button/split-button.js +1 -1
  484. package/dist/collection/components/tab-item/tab-item.css +17 -11
  485. package/dist/collection/components/tab-item/tab-item.js +5 -5
  486. package/dist/collection/components/tab-panel/tab-panel.css +11 -11
  487. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  488. package/dist/collection/components/tab-set/tab-set.css +11 -11
  489. package/dist/collection/components/tab-set/tab-set.js +1 -1
  490. package/dist/collection/components/tabs/tabs.css +11 -11
  491. package/dist/collection/components/tabs/tabs.js +10 -5
  492. package/dist/collection/components/tile/tile.css +11 -11
  493. package/dist/collection/components/tile/tile.js +4 -4
  494. package/dist/collection/components/time-input/time-input.css +22 -22
  495. package/dist/collection/components/time-input/time-input.js +3 -3
  496. package/dist/collection/components/time-picker/test/expect-defined.js +13 -0
  497. package/dist/collection/components/time-picker/time-picker.css +11 -11
  498. package/dist/collection/components/time-picker/time-picker.js +5 -5
  499. package/dist/collection/components/toast/toast-container.css +11 -11
  500. package/dist/collection/components/toast/toast-container.js +2 -2
  501. package/dist/collection/components/toast/toast.css +11 -11
  502. package/dist/collection/components/toast/toast.js +2 -2
  503. package/dist/collection/components/toggle/toggle.css +11 -11
  504. package/dist/collection/components/toggle/toggle.js +3 -3
  505. package/dist/collection/components/toggle-button/toggle-button.css +95 -33
  506. package/dist/collection/components/tooltip/tooltip.js +6 -2
  507. package/dist/collection/components/tree/tree.js +1 -1
  508. package/dist/collection/components/tree-item/tree-item.css +11 -11
  509. package/dist/collection/components/tree-item/tree-item.js +4 -4
  510. package/dist/collection/components/typography/typography.css +11 -11
  511. package/dist/collection/components/typography/typography.js +1 -1
  512. package/dist/collection/components/upload/upload.css +11 -11
  513. package/dist/collection/components/upload/upload.js +3 -3
  514. package/dist/collection/components/utils/a11y.js +1 -1
  515. package/dist/collection/components/utils/animation.js +8 -12
  516. package/dist/collection/components/utils/input/validation.js +58 -3
  517. package/dist/collection/components/utils/internal/mixins/accessibility/aria-attribute-observer.js +106 -0
  518. package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +175 -166
  519. package/dist/collection/components/utils/lazy-list/lazy.js +1 -0
  520. package/dist/collection/components/workflow-step/workflow-step.css +13 -13
  521. package/dist/collection/components/workflow-step/workflow-step.js +10 -4
  522. package/dist/collection/components/workflow-steps/workflow-steps.css +11 -11
  523. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  524. package/dist/collection/tests/utils/test/page.js +3 -0
  525. package/dist/esm/{a11y-C21npbUc.js → a11y-DD206pTM.js} +1 -1
  526. package/dist/esm/{animation-DNIQ2C1K.js → animation-BqeSHO6C.js} +8 -12
  527. package/dist/esm/{base-button-DZdtpLxn.js → base-button-Oanl-VqF.js} +1 -1
  528. package/dist/esm/{base-icon-button-DufFLJC-.js → base-icon-button-CxmfMOOd.js} +1 -1
  529. package/dist/esm/chip.types-4ZsT_zIm.js +20 -0
  530. package/dist/esm/{focus-visible.mixin-CaRK3Ex_.js → focus-visible.mixin-DNYMa4dY.js} +1 -1
  531. package/dist/esm/{helper-text-util-D0LEFZuB.js → helper-text-util-BJ-ZMW2J.js} +2 -2
  532. package/dist/esm/{index-DgUGsIlh.js → index-BeX6RWvV.js} +11 -1
  533. package/dist/esm/index-EBgS4zhE.js +28 -4
  534. package/dist/esm/index.js +2 -2
  535. package/dist/esm/inherit-aria-attributes.mixin-BmTKblYV.js +304 -0
  536. package/dist/esm/{input.fc-CE3kP-L_.js → input.fc-Cwmx0lGN.js} +9 -4
  537. package/dist/esm/ix-action-card.entry.js +2 -2
  538. package/dist/esm/ix-application-header.entry.js +3 -3
  539. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  540. package/dist/esm/ix-application.entry.js +1 -1
  541. package/dist/esm/ix-avatar_2.entry.js +5 -5
  542. package/dist/esm/ix-badge.entry.js +563 -0
  543. package/dist/esm/ix-blind.entry.js +15 -9
  544. package/dist/esm/ix-breadcrumb-item.entry.js +5 -158
  545. package/dist/esm/ix-breadcrumb.entry.js +5 -5
  546. package/dist/esm/ix-button.entry.js +4 -157
  547. package/dist/esm/ix-card-accordion_2.entry.js +10 -7
  548. package/dist/esm/ix-card-list.entry.js +63 -10
  549. package/dist/esm/ix-card_2.entry.js +5 -5
  550. package/dist/esm/ix-category-filter.entry.js +8 -8
  551. package/dist/esm/ix-chat-ai-message.entry.js +33 -0
  552. package/dist/esm/ix-chat-attachment.entry.js +108 -0
  553. package/dist/esm/ix-chat-input.entry.js +404 -0
  554. package/dist/esm/ix-chat-user-message.entry.js +64 -0
  555. package/dist/esm/ix-chat.entry.js +26 -0
  556. package/dist/esm/ix-checkbox-group.entry.js +4 -4
  557. package/dist/esm/ix-checkbox.entry.js +6 -6
  558. package/dist/esm/ix-chip.entry.js +11 -185
  559. package/dist/esm/ix-col_4.entry.js +12 -12
  560. package/dist/esm/ix-content-header.entry.js +4 -4
  561. package/dist/esm/ix-content.entry.js +4 -4
  562. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  563. package/dist/esm/ix-css-grid.entry.js +1 -1
  564. package/dist/esm/ix-custom-field.entry.js +2 -2
  565. package/dist/esm/ix-date-dropdown.entry.js +9 -9
  566. package/dist/esm/ix-date-input.entry.js +9 -9
  567. package/dist/esm/ix-date-picker.entry.js +17 -13
  568. package/dist/esm/ix-date-time-card.entry.js +3 -3
  569. package/dist/esm/ix-datetime-input.entry.js +9 -9
  570. package/dist/esm/ix-datetime-picker.entry.js +4 -4
  571. package/dist/esm/ix-divider.entry.js +1 -1
  572. package/dist/esm/ix-dropdown-button.entry.js +11 -8
  573. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  574. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  575. package/dist/esm/ix-dropdown_2.entry.js +19 -13
  576. package/dist/esm/ix-empty-state.entry.js +2 -2
  577. package/dist/esm/ix-event-list-item.entry.js +7 -7
  578. package/dist/esm/ix-event-list.entry.js +11 -4
  579. package/dist/esm/ix-expanding-search.entry.js +6 -6
  580. package/dist/esm/ix-field-label_2.entry.js +8 -8
  581. package/dist/esm/ix-filter-chip_2.entry.js +8 -8
  582. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  583. package/dist/esm/ix-flip-tile.entry.js +6 -6
  584. package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
  585. package/dist/esm/ix-group.entry.js +10 -10
  586. package/dist/esm/ix-helper-text.entry.js +5 -5
  587. package/dist/esm/ix-icon-button_2.entry.js +9 -164
  588. package/dist/esm/ix-icon-toggle-button.entry.js +7 -162
  589. package/dist/esm/ix-input.entry.js +10 -10
  590. package/dist/esm/ix-key-value-list.entry.js +1 -1
  591. package/dist/esm/ix-key-value.entry.js +1 -1
  592. package/dist/esm/ix-kpi.entry.js +5 -5
  593. package/dist/esm/ix-layout-auto.entry.js +1 -1
  594. package/dist/esm/ix-link-button.entry.js +4 -4
  595. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  596. package/dist/esm/ix-menu-about-news.entry.js +6 -6
  597. package/dist/esm/ix-menu-about.entry.js +4 -4
  598. package/dist/esm/ix-menu-avatar.entry.js +5 -5
  599. package/dist/esm/ix-menu-category.entry.js +31 -170
  600. package/dist/esm/ix-menu-expand-icon.entry.js +5 -5
  601. package/dist/esm/ix-menu-item.entry.js +12 -161
  602. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  603. package/dist/esm/ix-menu-settings.entry.js +4 -4
  604. package/dist/esm/ix-menu.entry.js +42 -20
  605. package/dist/esm/ix-message-bar.entry.js +3 -3
  606. package/dist/esm/ix-modal-content_2.entry.js +6 -6
  607. package/dist/esm/ix-modal-footer.entry.js +2 -2
  608. package/dist/esm/ix-modal-loading.entry.js +1 -1
  609. package/dist/esm/ix-modal.entry.js +15 -8
  610. package/dist/esm/ix-number-input.entry.js +19 -16
  611. package/dist/esm/ix-pagination.entry.js +6 -6
  612. package/dist/esm/ix-pane-layout.entry.js +2 -2
  613. package/dist/esm/ix-pane.entry.js +11 -11
  614. package/dist/esm/ix-pill_4.entry.js +27 -175
  615. package/dist/esm/ix-popover-content.entry.js +2 -2
  616. package/dist/esm/ix-popover-footer.entry.js +2 -2
  617. package/dist/esm/ix-popover-header.entry.js +4 -4
  618. package/dist/esm/ix-popover-image.entry.js +1 -1
  619. package/dist/esm/ix-popover.entry.js +5 -156
  620. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  621. package/dist/esm/ix-push-card.entry.js +2 -2
  622. package/dist/esm/ix-radio-group.entry.js +3 -3
  623. package/dist/esm/ix-radio.entry.js +6 -6
  624. package/dist/esm/ix-range-field.entry.js +4 -4
  625. package/dist/esm/ix-select.entry.js +14 -14
  626. package/dist/esm/ix-slider.entry.js +9 -9
  627. package/dist/esm/ix-split-button.entry.js +3 -3
  628. package/dist/esm/ix-tab-panel.entry.js +2 -2
  629. package/dist/esm/ix-textarea.entry.js +7 -7
  630. package/dist/esm/ix-tile.entry.js +5 -5
  631. package/dist/esm/ix-time-input.entry.js +9 -9
  632. package/dist/esm/ix-toast-container.entry.js +3 -3
  633. package/dist/esm/ix-toast.entry.js +4 -4
  634. package/dist/esm/ix-toggle-button.entry.js +4 -159
  635. package/dist/esm/ix-toggle.entry.js +7 -160
  636. package/dist/esm/ix-tooltip.entry.js +6 -2
  637. package/dist/esm/ix-tree-item.entry.js +6 -6
  638. package/dist/esm/ix-tree.entry.js +2 -1
  639. package/dist/esm/ix-typography.entry.js +2 -2
  640. package/dist/esm/ix-upload.entry.js +6 -6
  641. package/dist/esm/ix-workflow-step.entry.js +12 -6
  642. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  643. package/dist/esm/loader.js +1 -1
  644. package/dist/esm/siemens-ix.js +1 -1
  645. package/dist/esm/{validation-VVt5EFy0.js → validation-DXpftrw5.js} +59 -4
  646. package/dist/siemens-ix/index.esm.js +1 -1
  647. package/dist/siemens-ix/{p-71feb871.entry.js → p-0018f327.entry.js} +1 -1
  648. package/dist/siemens-ix/p-0409f281.entry.js +1 -0
  649. package/dist/siemens-ix/p-0819923e.entry.js +1 -0
  650. package/dist/siemens-ix/p-0b875bbd.entry.js +1 -0
  651. package/dist/siemens-ix/p-14554694.entry.js +1 -0
  652. package/dist/siemens-ix/p-1a7b51d8.entry.js +1 -0
  653. package/dist/siemens-ix/{p-ea9691c1.entry.js → p-1aef893c.entry.js} +1 -1
  654. package/dist/siemens-ix/p-1bce1c19.entry.js +1 -0
  655. package/dist/siemens-ix/p-1d06e067.entry.js +1 -0
  656. package/dist/siemens-ix/p-1fddf959.entry.js +1 -0
  657. package/dist/siemens-ix/p-207d77b3.entry.js +1 -0
  658. package/dist/siemens-ix/{p-c69036b1.entry.js → p-213059a9.entry.js} +1 -1
  659. package/dist/siemens-ix/{p-2753ed4e.entry.js → p-222d3d93.entry.js} +1 -1
  660. package/dist/siemens-ix/p-2270cc5d.entry.js +1 -0
  661. package/dist/siemens-ix/p-24138425.entry.js +1 -0
  662. package/dist/siemens-ix/p-32104d25.entry.js +1 -0
  663. package/dist/siemens-ix/p-34d5185d.entry.js +1 -0
  664. package/dist/siemens-ix/p-34f2792e.entry.js +1 -0
  665. package/dist/siemens-ix/p-35042cda.entry.js +1 -0
  666. package/dist/siemens-ix/p-351e8732.entry.js +1 -0
  667. package/dist/siemens-ix/{p-e5e220c7.entry.js → p-38e0953a.entry.js} +1 -1
  668. package/dist/siemens-ix/{p-d1cd3cb9.entry.js → p-38eef16a.entry.js} +1 -1
  669. package/dist/siemens-ix/p-39079ba7.entry.js +1 -0
  670. package/dist/siemens-ix/p-3a60004f.entry.js +1 -0
  671. package/dist/siemens-ix/p-3ad11c04.entry.js +1 -0
  672. package/dist/siemens-ix/{p-ab202c45.entry.js → p-3c7a8e8b.entry.js} +1 -1
  673. package/dist/siemens-ix/p-3c92d126.entry.js +1 -0
  674. package/dist/siemens-ix/p-3ca5d3b9.entry.js +1 -0
  675. package/dist/siemens-ix/p-3fe85552.entry.js +1 -0
  676. package/dist/siemens-ix/{p-eac237a1.entry.js → p-40239cf6.entry.js} +1 -1
  677. package/dist/siemens-ix/{p-8f72a218.entry.js → p-403b7d10.entry.js} +1 -1
  678. package/dist/siemens-ix/p-4739e88e.entry.js +1 -0
  679. package/dist/siemens-ix/p-4ZsT_zIm.js +1 -0
  680. package/dist/siemens-ix/p-4c765c73.entry.js +1 -0
  681. package/dist/siemens-ix/p-4f02b8dd.entry.js +1 -0
  682. package/dist/siemens-ix/{p-d16ee3bd.entry.js → p-5014b469.entry.js} +1 -1
  683. package/dist/siemens-ix/p-50ece3e2.entry.js +1 -0
  684. package/dist/siemens-ix/p-53319a22.entry.js +1 -0
  685. package/dist/siemens-ix/{p-c0d56b86.entry.js → p-571a1628.entry.js} +1 -1
  686. package/dist/siemens-ix/p-58c6aa27.entry.js +1 -0
  687. package/dist/siemens-ix/{p-34eaf010.entry.js → p-60f7be48.entry.js} +1 -1
  688. package/dist/siemens-ix/p-643ed439.entry.js +1 -0
  689. package/dist/siemens-ix/p-6505e43d.entry.js +1 -0
  690. package/dist/siemens-ix/p-66097da1.entry.js +1 -0
  691. package/dist/siemens-ix/p-66e92cdd.entry.js +1 -0
  692. package/dist/siemens-ix/{p-21b09017.entry.js → p-675e2aa8.entry.js} +1 -1
  693. package/dist/siemens-ix/p-6c25b44d.entry.js +1 -0
  694. package/dist/siemens-ix/p-79a08a2a.entry.js +1 -0
  695. package/dist/siemens-ix/p-7b9d9c0c.entry.js +1 -0
  696. package/dist/siemens-ix/{p-da2e0f0e.entry.js → p-7bc3af96.entry.js} +1 -1
  697. package/dist/siemens-ix/p-83827bb2.entry.js +1 -0
  698. package/dist/siemens-ix/p-859294b4.entry.js +1 -0
  699. package/dist/siemens-ix/p-8a14750f.entry.js +1 -0
  700. package/dist/siemens-ix/p-8af23465.entry.js +1 -0
  701. package/dist/siemens-ix/{p-a2aa806e.entry.js → p-8bc225b7.entry.js} +1 -1
  702. package/dist/siemens-ix/p-9254cb19.entry.js +1 -0
  703. package/dist/siemens-ix/p-95625e2a.entry.js +1 -0
  704. package/dist/siemens-ix/p-9c6e5dcc.entry.js +1 -0
  705. package/dist/siemens-ix/{p-b2fe56c7.entry.js → p-9df616d3.entry.js} +1 -1
  706. package/dist/siemens-ix/p-BeX6RWvV.js +1 -0
  707. package/dist/siemens-ix/p-Bemn50Nk.js +1 -0
  708. package/dist/siemens-ix/p-BqeSHO6C.js +1 -0
  709. package/dist/siemens-ix/{p-HpQs38Y0.js → p-CDKWxg_L.js} +1 -1
  710. package/dist/siemens-ix/{p-CXbob2Ew.js → p-CLxF-dX8.js} +1 -1
  711. package/dist/siemens-ix/p-Cv_omozQ.js +1 -0
  712. package/dist/siemens-ix/{p-C21npbUc.js → p-DD206pTM.js} +1 -1
  713. package/dist/siemens-ix/p-S-XikzrL.js +1 -0
  714. package/dist/siemens-ix/p-a05bf6b5.entry.js +1 -0
  715. package/dist/siemens-ix/{p-bc0f5cbe.entry.js → p-a23edbb6.entry.js} +1 -1
  716. package/dist/siemens-ix/{p-f43c97cf.entry.js → p-a2a3d749.entry.js} +1 -1
  717. package/dist/siemens-ix/p-a4c3f3d3.entry.js +1 -0
  718. package/dist/siemens-ix/p-a87b0328.entry.js +1 -0
  719. package/dist/siemens-ix/p-aa0770ab.entry.js +1 -0
  720. package/dist/siemens-ix/{p-0e74e65c.entry.js → p-abe537f8.entry.js} +1 -1
  721. package/dist/siemens-ix/p-b299eca3.entry.js +1 -0
  722. package/dist/siemens-ix/p-b5bf48cb.entry.js +1 -0
  723. package/dist/siemens-ix/p-b990c3f4.entry.js +1 -0
  724. package/dist/siemens-ix/p-b9dcbd84.entry.js +1 -0
  725. package/dist/siemens-ix/p-c1b669ae.entry.js +1 -0
  726. package/dist/siemens-ix/{p-95e8951f.entry.js → p-c2d8ec4e.entry.js} +1 -1
  727. package/dist/siemens-ix/p-c393c20e.entry.js +1 -0
  728. package/dist/siemens-ix/p-c3e44b4a.entry.js +1 -0
  729. package/dist/siemens-ix/p-c4379966.entry.js +1 -0
  730. package/dist/siemens-ix/{p-52096875.entry.js → p-c6346987.entry.js} +1 -1
  731. package/dist/siemens-ix/p-c6987c42.entry.js +1 -0
  732. package/dist/siemens-ix/{p-7655c4c2.entry.js → p-ca4259c9.entry.js} +1 -1
  733. package/dist/siemens-ix/{p-e9b37020.entry.js → p-caac5984.entry.js} +1 -1
  734. package/dist/siemens-ix/{p-7899597f.entry.js → p-cb43f6e5.entry.js} +1 -1
  735. package/dist/siemens-ix/p-cc6305ab.entry.js +1 -0
  736. package/dist/siemens-ix/{p-5d7ede96.entry.js → p-ccea2ebf.entry.js} +1 -1
  737. package/dist/siemens-ix/{p-a44b1452.entry.js → p-cf56ddd5.entry.js} +1 -1
  738. package/dist/siemens-ix/p-cfd75035.entry.js +1 -0
  739. package/dist/siemens-ix/p-d39c4aeb.entry.js +1 -0
  740. package/dist/siemens-ix/p-d4d99140.entry.js +1 -0
  741. package/dist/siemens-ix/{p-d699bb26.entry.js → p-d555f28a.entry.js} +1 -1
  742. package/dist/siemens-ix/p-d94ad8f8.entry.js +1 -0
  743. package/dist/siemens-ix/p-da700215.entry.js +1 -0
  744. package/dist/siemens-ix/p-ddb49318.entry.js +1 -0
  745. package/dist/siemens-ix/p-de9a4607.entry.js +1 -0
  746. package/dist/siemens-ix/p-e2e7c16a.entry.js +1 -0
  747. package/dist/siemens-ix/p-e4f04831.entry.js +1 -0
  748. package/dist/siemens-ix/p-e5239c6d.entry.js +1 -0
  749. package/dist/siemens-ix/p-e789cd7e.entry.js +1 -0
  750. package/dist/siemens-ix/p-e7dedba9.entry.js +1 -0
  751. package/dist/siemens-ix/p-e87e947c.entry.js +1 -0
  752. package/dist/siemens-ix/p-e8d73d19.entry.js +1 -0
  753. package/dist/siemens-ix/p-e8f5519f.entry.js +1 -0
  754. package/dist/siemens-ix/{p-b7570885.entry.js → p-ea3b4ad4.entry.js} +1 -1
  755. package/dist/siemens-ix/p-eba11702.entry.js +1 -0
  756. package/dist/siemens-ix/p-eda419ea.entry.js +1 -0
  757. package/dist/siemens-ix/p-f3e24bb0.entry.js +1 -0
  758. package/dist/siemens-ix/{p-ac804eb2.entry.js → p-f4d8f94b.entry.js} +1 -1
  759. package/dist/siemens-ix/p-f705bb97.entry.js +1 -0
  760. package/{components/p-DkAUNod9.js → dist/siemens-ix/p-f7f6cf46.entry.js} +1 -1
  761. package/dist/siemens-ix/{p-4faa3c03.entry.js → p-fcfecc91.entry.js} +1 -1
  762. package/dist/siemens-ix/{p-C518yBiI.js → p-rgh7lt60.js} +1 -1
  763. package/dist/siemens-ix/p-xptA1Kt1.js +1 -0
  764. package/dist/siemens-ix/siemens-ix.css +11 -11
  765. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  766. package/dist/types/components/badge/badge.d.ts +195 -0
  767. package/dist/types/components/badge/badge.status-icon.d.ts +21 -0
  768. package/dist/types/components/badge/badge.types.d.ts +19 -0
  769. package/dist/types/components/badge/badge.utils.d.ts +10 -0
  770. package/dist/types/components/badge/test/badge.page.d.ts +67 -0
  771. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +1 -16
  772. package/dist/types/components/button/button.d.ts +1 -16
  773. package/dist/types/components/card-list/card-list.d.ts +4 -1
  774. package/dist/types/components/chat/chat.d.ts +11 -0
  775. package/dist/types/components/chat-ai-message/chat-ai-message.d.ts +14 -0
  776. package/dist/types/components/chat-attachment/chat-attachment.d.ts +47 -0
  777. package/dist/types/components/chat-attachment/chat-attachment.types.d.ts +1 -0
  778. package/dist/types/components/chat-input/chat-input.d.ts +175 -0
  779. package/dist/types/components/chat-user-message/chat-user-message.d.ts +23 -0
  780. package/dist/types/components/chip/chip.d.ts +2 -17
  781. package/dist/types/components/dropdown/dropdown-focus.d.ts +1 -1
  782. package/dist/types/components/group/group.d.ts +1 -1
  783. package/dist/types/components/icon-button/icon-button.d.ts +2 -17
  784. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -16
  785. package/dist/types/components/input/input.util.d.ts +2 -3
  786. package/dist/types/components/input/number-input.d.ts +1 -0
  787. package/dist/types/components/menu/menu.d.ts +1 -1
  788. package/dist/types/components/menu-category/menu-category.d.ts +3 -18
  789. package/dist/types/components/menu-item/menu-item.d.ts +1 -16
  790. package/dist/types/components/modal/modal.d.ts +1 -0
  791. package/dist/types/components/modal-header/modal-header.d.ts +1 -1
  792. package/dist/types/components/popover/popover.d.ts +1 -16
  793. package/dist/types/components/tabs/tabs.d.ts +3 -16
  794. package/dist/types/components/time-picker/test/expect-defined.d.ts +1 -0
  795. package/dist/types/components/toggle/toggle.d.ts +1 -16
  796. package/dist/types/components/toggle-button/toggle-button.d.ts +1 -16
  797. package/dist/types/components/tree/tree.d.ts +1 -1
  798. package/dist/types/components/utils/a11y.d.ts +1 -0
  799. package/dist/types/components/utils/input/validation.d.ts +6 -0
  800. package/dist/types/components/utils/internal/mixins/accessibility/aria-attribute-observer.d.ts +7 -0
  801. package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +7 -18
  802. package/dist/types/components/utils/shadow-dom.d.ts +1 -1
  803. package/dist/types/components/workflow-step/workflow-step.d.ts +1 -0
  804. package/dist/types/components.d.ts +706 -5
  805. package/dist/types/public-api.d.ts +1 -0
  806. package/hydrate/index.js +2279 -2169
  807. package/hydrate/index.mjs +2279 -2169
  808. package/package.json +3 -3
  809. package/scss/mixins/_scrollbar.scss +21 -9
  810. package/components/p-3VG6z9c3.js +0 -1
  811. package/components/p-7HGOhDMX.js +0 -1
  812. package/components/p-BH2Yhp3V.js +0 -1
  813. package/components/p-BIcWFids.js +0 -1
  814. package/components/p-BST8QY5w.js +0 -1
  815. package/components/p-BWH03B1n.js +0 -1
  816. package/components/p-BWknDysp.js +0 -1
  817. package/components/p-B_MBGj0b.js +0 -1
  818. package/components/p-Bj_6nynP.js +0 -1
  819. package/components/p-BtSt9tC5.js +0 -1
  820. package/components/p-BzFLbXmT.js +0 -1
  821. package/components/p-C7MRPZvZ.js +0 -1
  822. package/components/p-CAH3dF6j.js +0 -1
  823. package/components/p-CHV-_J6i.js +0 -1
  824. package/components/p-Ca8JFa1v.js +0 -1
  825. package/components/p-CgHioxG-.js +0 -1
  826. package/components/p-CkIELF-1.js +0 -1
  827. package/components/p-Cvpz1Ji5.js +0 -1
  828. package/components/p-D1sONqtj.js +0 -1
  829. package/components/p-D69Mojvn.js +0 -1
  830. package/components/p-DKH7tPDu.js +0 -1
  831. package/components/p-DLe8Pp58.js +0 -1
  832. package/components/p-DM7ma3Eh.js +0 -1
  833. package/components/p-DNIQ2C1K.js +0 -1
  834. package/components/p-DO3HtUke.js +0 -1
  835. package/components/p-DfdjJL6W.js +0 -1
  836. package/components/p-DjIyhGBC.js +0 -1
  837. package/components/p-Dl_YKIKl.js +0 -1
  838. package/components/p-DuMiVxY1.js +0 -1
  839. package/components/p-Dwe6tWhq.js +0 -1
  840. package/components/p-DwmHytZi.js +0 -1
  841. package/components/p-DziPiOL3.js +0 -1
  842. package/components/p-GmOVROeD.js +0 -1
  843. package/components/p-LbnItC1h.js +0 -1
  844. package/components/p-R1AQtGdV.js +0 -1
  845. package/components/p-_f_q2Etu.js +0 -1
  846. package/components/p-f1jZqaUz.js +0 -1
  847. package/components/p-olkZUb1j.js +0 -1
  848. package/components/p-z19mjzlp.js +0 -1
  849. package/dist/cjs/inherit-aria-attributes.mixin-EyRU0cDO.js +0 -36
  850. package/dist/esm/inherit-aria-attributes.mixin-nCmPujqf.js +0 -34
  851. package/dist/siemens-ix/p-03215d55.entry.js +0 -1
  852. package/dist/siemens-ix/p-04a42013.entry.js +0 -1
  853. package/dist/siemens-ix/p-0b24f8d0.entry.js +0 -1
  854. package/dist/siemens-ix/p-0fd5baf1.entry.js +0 -1
  855. package/dist/siemens-ix/p-18cae4df.entry.js +0 -1
  856. package/dist/siemens-ix/p-1a6b7e92.entry.js +0 -1
  857. package/dist/siemens-ix/p-1cd9a45a.entry.js +0 -1
  858. package/dist/siemens-ix/p-1ea183fb.entry.js +0 -1
  859. package/dist/siemens-ix/p-227ba1b8.entry.js +0 -1
  860. package/dist/siemens-ix/p-2eb094c0.entry.js +0 -1
  861. package/dist/siemens-ix/p-39fb1c9e.entry.js +0 -1
  862. package/dist/siemens-ix/p-3bb5600a.entry.js +0 -1
  863. package/dist/siemens-ix/p-3bfa4bbc.entry.js +0 -1
  864. package/dist/siemens-ix/p-3f5ac9f7.entry.js +0 -1
  865. package/dist/siemens-ix/p-4154d18a.entry.js +0 -1
  866. package/dist/siemens-ix/p-427f85c3.entry.js +0 -1
  867. package/dist/siemens-ix/p-45106215.entry.js +0 -1
  868. package/dist/siemens-ix/p-4ceb3543.entry.js +0 -1
  869. package/dist/siemens-ix/p-4d179abe.entry.js +0 -1
  870. package/dist/siemens-ix/p-50a44cb9.entry.js +0 -1
  871. package/dist/siemens-ix/p-54a22a58.entry.js +0 -1
  872. package/dist/siemens-ix/p-57678563.entry.js +0 -1
  873. package/dist/siemens-ix/p-5ff289c7.entry.js +0 -1
  874. package/dist/siemens-ix/p-601224bd.entry.js +0 -1
  875. package/dist/siemens-ix/p-6aa5adb4.entry.js +0 -1
  876. package/dist/siemens-ix/p-703c7e7c.entry.js +0 -1
  877. package/dist/siemens-ix/p-71a31d92.entry.js +0 -1
  878. package/dist/siemens-ix/p-71a5fae5.entry.js +0 -1
  879. package/dist/siemens-ix/p-747d14a2.entry.js +0 -1
  880. package/dist/siemens-ix/p-7c120d09.entry.js +0 -1
  881. package/dist/siemens-ix/p-8164a98b.entry.js +0 -1
  882. package/dist/siemens-ix/p-83f4cd88.entry.js +0 -1
  883. package/dist/siemens-ix/p-8658717f.entry.js +0 -1
  884. package/dist/siemens-ix/p-8900e229.entry.js +0 -1
  885. package/dist/siemens-ix/p-8b839f30.entry.js +0 -1
  886. package/dist/siemens-ix/p-8cea823b.entry.js +0 -1
  887. package/dist/siemens-ix/p-8d535dc9.entry.js +0 -1
  888. package/dist/siemens-ix/p-96a3b3df.entry.js +0 -1
  889. package/dist/siemens-ix/p-9f2905df.entry.js +0 -1
  890. package/dist/siemens-ix/p-B4oiZyZC.js +0 -1
  891. package/dist/siemens-ix/p-DNIQ2C1K.js +0 -1
  892. package/dist/siemens-ix/p-DgUGsIlh.js +0 -1
  893. package/dist/siemens-ix/p-a25f267b.entry.js +0 -1
  894. package/dist/siemens-ix/p-a7f5e11e.entry.js +0 -1
  895. package/dist/siemens-ix/p-a8911648.entry.js +0 -1
  896. package/dist/siemens-ix/p-aa904521.entry.js +0 -1
  897. package/dist/siemens-ix/p-af808244.entry.js +0 -1
  898. package/dist/siemens-ix/p-b004e845.entry.js +0 -1
  899. package/dist/siemens-ix/p-b534dadd.entry.js +0 -1
  900. package/dist/siemens-ix/p-b63d7f36.entry.js +0 -1
  901. package/dist/siemens-ix/p-bddd1cca.entry.js +0 -1
  902. package/dist/siemens-ix/p-bfb758cb.entry.js +0 -1
  903. package/dist/siemens-ix/p-c0c6d772.entry.js +0 -1
  904. package/dist/siemens-ix/p-c1c209f6.entry.js +0 -1
  905. package/dist/siemens-ix/p-c9718f0d.entry.js +0 -1
  906. package/dist/siemens-ix/p-cd42c4e6.entry.js +0 -1
  907. package/dist/siemens-ix/p-d02d2e49.entry.js +0 -1
  908. package/dist/siemens-ix/p-d13c0b78.entry.js +0 -1
  909. package/dist/siemens-ix/p-d45ff0a0.entry.js +0 -1
  910. package/dist/siemens-ix/p-d5761950.entry.js +0 -1
  911. package/dist/siemens-ix/p-d770d8ba.entry.js +0 -1
  912. package/dist/siemens-ix/p-daf43138.entry.js +0 -1
  913. package/dist/siemens-ix/p-dc16a32d.entry.js +0 -1
  914. package/dist/siemens-ix/p-ddcc8627.entry.js +0 -1
  915. package/dist/siemens-ix/p-e3da7c67.entry.js +0 -1
  916. package/dist/siemens-ix/p-e58ae892.entry.js +0 -1
  917. package/dist/siemens-ix/p-e6046255.entry.js +0 -1
  918. package/dist/siemens-ix/p-eff190ad.entry.js +0 -1
  919. package/dist/siemens-ix/p-f1cd82bd.entry.js +0 -1
  920. package/dist/siemens-ix/p-f507157f.entry.js +0 -1
  921. package/dist/siemens-ix/p-fa5c236f.entry.js +0 -1
  922. package/dist/siemens-ix/p-fbd006be.entry.js +0 -1
  923. package/dist/siemens-ix/p-fdec73d4.entry.js +0 -1
  924. package/dist/siemens-ix/p-vphIrWGB.js +0 -1
  925. package/dist/siemens-ix/p-wfVRhTWc.js +0 -1
  926. package/dist/siemens-ix/p-yZFaEeBW.js +0 -1
@@ -1 +1 @@
1
- import{p as e,H as t,e as r,h as o,F as s,d as a,t as i}from"./p-CtDOTMOT.js";import{Q as c,b as l,c as n,R as h,a as d,S as p,T as b}from"./p-BtSt9tC5.js";const w=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectedChanged=r(this,"selectedChanged",7)}get hostElement(){return this}vertical=!1;disabled=!1;status="open";clickable=!1;selected=!1;position="undefined";iconName;iconColor="workflow-step-icon-default--color";selectedChanged;customIconSlot=!1;selectedHandler(){this.setWorkflowStepStyles()}watchPropHandler(){this.setWorkflowStepStyles()}setWorkflowStepStyles(){const e=this.selected?"--selected":"";switch(this.status){case"open":this.iconName=this.selected?p:c,this.iconColor="workflow-step-icon-default--color"+e;break;case"success":this.iconName=d,this.iconColor="color-success";break;case"done":this.iconName=h,this.iconColor="workflow-step-icon-done--color"+e;break;case"warning":this.iconName=n,this.iconColor="color-warning-text";break;case"error":this.iconName=l,this.iconColor="color-alarm";break;default:this.iconName=c}this.disabled&&(this.iconColor="workflow-step-icon-success--color--disabled")}componentWillLoad(){this.watchPropHandler(),this.selectedHandler(),this.customIconSlot=!!this.hostElement.querySelector('[slot="custom-icon"]')}onStepClick(){!this.disabled&&this.clickable&&this.selectedChanged.emit(this.hostElement)}getIconAriaLabel(){switch(this.iconName){case c:return"Circle";case p:return"Circle dot";case h:return"Done";case l:return"Error";case d:return"Success";case b:case n:return"Warning";default:return"Step"}}render(){const e=this.customIconSlot?null:o(s,null,o("ix-icon",{color:"color-1",name:"warning"===this.status?b:h,class:"absolute",size:"24"}),o("ix-icon",{color:this.iconColor,name:this.iconName,class:"absolute",size:"24","aria-label":this.getIconAriaLabel()}));return o(a,{key:"90a96daa4fcd025eb263106e438921ac52e31275",class:{"host-vertical":this.vertical},onClick:()=>this.onStepClick()},o("div",{key:"89632685c0165d65d3272d5bd07efed07cc62b2f",tabIndex:0,class:{step:!0,selected:this.selected,vertical:this.vertical,disabled:this.disabled,clickable:this.clickable&&!this.disabled}},o("div",{key:"0cf529dbf274d46cb69b1366f4fa2f4bec8dc9c2",class:"wrapper"},o("div",{key:"00d1ba80a6382a3a9a98d9187b1061588a923fdc",class:{line:!0,selected:this.selected,[this.status]:!0,[this.position]:!0}}),o("div",{key:"6b5d0f1dd1c79587d2c4288c4b3bf4088a0c231d",class:"iconWrapper"},e,o("slot",{key:"5e8dc4558fee0729e168e996cfab4cf9b49a2b29",name:"custom-icon"}))),o("div",{key:"e237c2794cff96191bb36903099bf999dc8b2ae8",class:"text"},o("slot",{key:"4e7dc4e9c3964c202a26b5e4739db463cffdc099"}))))}static get watchers(){return{selected:[{selectedHandler:0}],disabled:[{watchPropHandler:0}],status:[{watchPropHandler:0}]}}static get style(){return":host(:not(.host-vertical)){width:12rem;height:4rem;min-width:2rem;min-height:4rem;max-width:12rem}:host(.host-vertical){width:100%;height:4rem;min-width:4rem;min-height:2rem;max-height:12rem}: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 .step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);padding:1.125rem 0 0.5rem 0}:host .step .wrapper{display:flex;width:100%;align-items:center;justify-content:center;position:relative}:host .step .wrapper .line{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}:host .step .wrapper .line.first,:host .step .wrapper .line.last{width:50%;margin:0 0 0 auto}:host .step .wrapper .line.last{margin:0 auto 0 0}:host .step .wrapper .line.single{width:0}:host .step .wrapper .line.selected{background-color:var(--theme-workflow-step-icon-default--color--selected)}:host .step .wrapper .line.done{background-color:var(--theme-workflow-step-icon-done--color)}:host .step .wrapper .line.done.selected{background-color:var(--theme-workflow-step-icon-done--color--selected)}:host .step .wrapper .line.warning{background-color:var(--theme-color-warning)}:host .step .wrapper .line.success{background-color:var(--theme-color-success)}:host .step .wrapper .line.error{background-color:var(--theme-color-alarm)}:host .step .wrapper .iconWrapper{display:flex;align-items:center;justify-content:center;position:absolute}:host .step .wrapper .iconWrapper .absolute{position:absolute}:host .step .text{margin-top:1rem;width:100%;padding:0 0.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}:host .step.vertical{flex-direction:row;padding:0;height:100%}:host .step.vertical .wrapper{width:auto;padding-left:1.125rem;height:100%}:host .step.vertical .wrapper .line{width:0.125rem;height:100%}:host .step.vertical .wrapper .line.first,:host .step.vertical .wrapper .line.last{height:50%;margin:auto 0 0 0}:host .step.vertical .wrapper .line.last{margin:0 0 auto 0}:host .step.vertical .wrapper .line.single{width:0}:host .step.vertical .text{margin:0 1rem;padding:0;width:auto}:host .step.clickable:hover{background-color:var(--theme-workflow-step--background--hover)}:host .step.clickable:active{background-color:var(--theme-workflow-step--background--active)}:host .step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}:host .step.selected{background-color:var(--theme-workflow-step--background--selected)}:host .step.disabled{background-color:var(--theme-workflow-step--background--disabled)}:host .step.disabled .line{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}:host .step.disabled .text{color:var(--theme-workflow-step--color--disabled)}"}},[769,"ix-workflow-step",{vertical:[4],disabled:[4],status:[1],clickable:[4],selected:[4],position:[1],iconName:[32],iconColor:[32]},void 0,{selected:[{selectedHandler:0}],disabled:[{watchPropHandler:0}],status:[{watchPropHandler:0}]}]),u=w,m=function(){"undefined"!=typeof customElements&&["ix-workflow-step"].forEach((e=>{"ix-workflow-step"===e&&(customElements.get(i(e))||customElements.define(i(e),w))}))};export{u as IxWorkflowStep,m as defineCustomElement}
1
+ import{p as e,H as t,e as r,h as o,F as s,d as a,t as i}from"./p-eN5fQtqO.js";import{a0 as l,b as c,c as n,h,a as d,a1 as p,l as b}from"./p-DsVj4Cd-.js";const u=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectedChanged=r(this,"selectedChanged",7)}get hostElement(){return this}vertical=!1;disabled=!1;status="open";clickable=!1;selected=!1;position="undefined";iconName;iconColor="workflow-step-icon-default--color";selectedChanged;customIconSlot=!1;selectedHandler(){this.setWorkflowStepStyles()}watchPropHandler(){this.setWorkflowStepStyles()}setWorkflowStepStyles(){const e=this.selected?"--selected":"";switch(this.status){case"open":this.iconName=this.selected?p:l,this.iconColor="workflow-step-icon-default--color"+e;break;case"success":this.iconName=d,this.iconColor="color-success";break;case"done":this.iconName=h,this.iconColor="workflow-step-icon-done--color"+e;break;case"warning":this.iconName=n,this.iconColor="color-warning-text";break;case"error":this.iconName=c,this.iconColor="color-alarm";break;default:this.iconName=l}this.disabled&&(this.iconColor="workflow-step-icon-success--color--disabled")}componentWillLoad(){this.watchPropHandler(),this.selectedHandler(),this.customIconSlot=!!this.hostElement.querySelector('[slot="custom-icon"]')}onStepClick(){!this.disabled&&this.clickable&&this.selectedChanged.emit(this.hostElement)}onKeyDown(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.onStepClick())}getIconAriaLabel(){switch(this.iconName){case l:return"Circle";case p:return"Circle dot";case h:return"Done";case c:return"Error";case d:return"Success";case b:case n:return"Warning";default:return"Step"}}render(){const e=this.customIconSlot?null:o(s,null,o("ix-icon",{color:"color-1",name:"warning"===this.status?b:h,class:"absolute",size:"24","aria-hidden":"true"}),o("ix-icon",{color:this.iconColor,name:this.iconName,class:"absolute",size:"24","aria-label":this.getIconAriaLabel()}));return o(a,{key:"0b31b31bfaaff7cdaf2a3b352dff5a4895d6a8f8",class:{"host-vertical":this.vertical}},o("div",{key:"60fc771cc2c3025281ae93b582f768ed00e70c1d",tabIndex:this.disabled||!this.clickable?-1:0,role:this.clickable?"button":void 0,"aria-disabled":this.disabled?"true":void 0,"aria-current":this.selected?"step":void 0,onClick:()=>this.onStepClick(),onKeyDown:e=>this.onKeyDown(e),class:{step:!0,selected:this.selected,vertical:this.vertical,disabled:this.disabled,clickable:this.clickable&&!this.disabled}},o("div",{key:"6187e161fa1da2b660acdd1ca16f223803b32f51",class:"wrapper"},o("div",{key:"918d1167813489e8caae3759bb104d91963d96f6",class:{line:!0,selected:this.selected,[this.status]:!0,[this.position]:!0}}),o("div",{key:"11df46fc6530a9959a675d0e66b450b2b3beff23",class:"iconWrapper"},e,o("slot",{key:"8e17d1c02e11aa0da20fe2301a4b06394833a89d",name:"custom-icon"}))),o("div",{key:"a195bbb624575f3c056492f0b3afadbd6f0b028d",class:"text"},o("slot",{key:"fb99dccd27941723266a0f4c7ecef584cba91ef2"}))))}static get watchers(){return{selected:[{selectedHandler:0}],disabled:[{watchPropHandler:0}],status:[{watchPropHandler:0}]}}static get style(){return":host(:not(.host-vertical)){width:12rem;height:4rem;min-width:2rem;min-height:4rem;max-width:12rem}:host(.host-vertical){width:100%;height:4rem;min-width:4rem;min-height:2rem;max-height:12rem}: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 .step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);padding:1.125rem 0 0.5rem 0}:host .step .wrapper{display:flex;width:100%;align-items:center;justify-content:center;position:relative}:host .step .wrapper .line{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}:host .step .wrapper .line.first,:host .step .wrapper .line.last{width:50%;margin:0 0 0 auto}:host .step .wrapper .line.last{margin:0 auto 0 0}:host .step .wrapper .line.single{width:0}:host .step .wrapper .line.selected{background-color:var(--theme-workflow-step-icon-default--color--selected)}:host .step .wrapper .line.done{background-color:var(--theme-workflow-step-icon-done--color)}:host .step .wrapper .line.done.selected{background-color:var(--theme-workflow-step-icon-done--color--selected)}:host .step .wrapper .line.warning{background-color:var(--theme-color-warning)}:host .step .wrapper .line.success{background-color:var(--theme-color-success)}:host .step .wrapper .line.error{background-color:var(--theme-color-alarm)}:host .step .wrapper .iconWrapper{display:flex;align-items:center;justify-content:center;position:absolute}:host .step .wrapper .iconWrapper .absolute{position:absolute}:host .step .text{margin-top:1rem;width:100%;padding:0 0.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}:host .step.vertical{flex-direction:row;padding:0;height:100%}:host .step.vertical .wrapper{width:auto;padding-left:1.125rem;height:100%}:host .step.vertical .wrapper .line{width:0.125rem;height:100%}:host .step.vertical .wrapper .line.first,:host .step.vertical .wrapper .line.last{height:50%;margin:auto 0 0 0}:host .step.vertical .wrapper .line.last{margin:0 0 auto 0}:host .step.vertical .wrapper .line.single{width:0}:host .step.vertical .text{margin:0 1rem;padding:0;width:auto}:host .step.clickable:hover{background-color:var(--theme-workflow-step--background--hover)}:host .step.clickable:active{background-color:var(--theme-workflow-step--background--active)}:host .step:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .step.selected{background-color:var(--theme-workflow-step--background--selected)}:host .step.disabled{background-color:var(--theme-workflow-step--background--disabled)}:host .step.disabled .line{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}:host .step.disabled .text{color:var(--theme-workflow-step--color--disabled)}"}},[769,"ix-workflow-step",{vertical:[4],disabled:[4],status:[1],clickable:[4],selected:[4],position:[1],iconName:[32],iconColor:[32]},void 0,{selected:[{selectedHandler:0}],disabled:[{watchPropHandler:0}],status:[{watchPropHandler:0}]}]),w=u,m=function(){"undefined"!=typeof customElements&&["ix-workflow-step"].forEach((e=>{"ix-workflow-step"===e&&(customElements.get(i(e))||customElements.define(i(e),u))}))};export{w as IxWorkflowStep,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,e as s,h as o,d as r,t as c}from"./p-CtDOTMOT.js";import{c as i}from"./p-CX81WQtk.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stepSelected=s(this,"stepSelected",7)}get hostElement(){return this}vertical=!1;clickable=!1;selectedIndex=0;stepSelected;getSteps(){return Array.from(this.hostElement.querySelectorAll("ix-workflow-step"))}updateSteps(){let t=this.getSteps();t.forEach(((e,s)=>{e.vertical=this.vertical,e.clickable=this.clickable,e.selected=this.selectedIndex===s,e.position=1!==t.length?0===s?"first":s===t.length-1?"last":"undefined":"single"}))}observer;onStepSelectionChanged(t){const e=t.detail,s=this.getSteps(),o=s.findIndex((t=>t===e));this.stepSelected.emit(o).defaultPrevented||s.forEach(((t,e)=>{t.selected=e===o}))}componentWillLoad(){this.updateSteps()}componentDidLoad(){this.observer=i((t=>{for(let e of t)"childList"===e.type&&this.updateSteps()})),this.observer.observe(this.hostElement,{childList:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}componentDidRender(){this.updateSteps()}render(){return o(r,{key:"bbe9022a63e0e743dfc479e93f8b20c578d4ce32"},o("div",{key:"1363ed6f81fc73e4cc0cec1160cc31188dc64bef",class:{steps:!0,vertical:this.vertical}},o("slot",{key:"c6b6b0c487c010cbc87a27d8c3341a644a1593c5"})))}static get style(){return":host{display:block;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2rem}: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 .steps{display:flex;height:100%}:host .steps.vertical{flex-direction:column}"}},[769,"ix-workflow-steps",{vertical:[4],clickable:[4],selectedIndex:[2,"selected-index"]},[[0,"selectedChanged","onStepSelectionChanged"]]]),h=l,a=function(){"undefined"!=typeof customElements&&["ix-workflow-steps"].forEach((t=>{"ix-workflow-steps"===t&&(customElements.get(c(t))||customElements.define(c(t),l))}))};export{h as IxWorkflowSteps,a as defineCustomElement}
1
+ import{p as t,H as e,e as s,h as o,d as r,t as i}from"./p-eN5fQtqO.js";import{c as a}from"./p-CX81WQtk.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stepSelected=s(this,"stepSelected",7)}get hostElement(){return this}vertical=!1;clickable=!1;selectedIndex=0;stepSelected;getSteps(){return Array.from(this.hostElement.querySelectorAll("ix-workflow-step"))}updateSteps(){let t=this.getSteps();t.forEach(((e,s)=>{e.vertical=this.vertical,e.clickable=this.clickable,e.selected=this.selectedIndex===s,e.position=1!==t.length?0===s?"first":s===t.length-1?"last":"undefined":"single"}))}observer;onStepSelectionChanged(t){const e=t.detail,s=this.getSteps(),o=s.findIndex((t=>t===e));this.stepSelected.emit(o).defaultPrevented||s.forEach(((t,e)=>{t.selected=e===o}))}componentWillLoad(){this.updateSteps()}componentDidLoad(){this.observer=a((t=>{for(let e of t)"childList"===e.type&&this.updateSteps()})),this.observer.observe(this.hostElement,{childList:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}componentDidRender(){this.updateSteps()}render(){return o(r,{key:"79d33d762d82942d97ead61a5ab4f3905987f2f8"},o("div",{key:"aa3aa0b2987a1deeef3fd83a0750da4dc7e7dfec",class:{steps:!0,vertical:this.vertical}},o("slot",{key:"29f26e475b0998501fa26322bf09c897712b47d1"})))}static get style(){return":host{display:block;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2rem}: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 .steps{display:flex;height:100%}:host .steps.vertical{flex-direction:column}"}},[769,"ix-workflow-steps",{vertical:[4],clickable:[4],selectedIndex:[2,"selected-index"]},[[0,"selectedChanged","onStepSelectionChanged"]]]),l=c,h=function(){"undefined"!=typeof customElements&&["ix-workflow-steps"].forEach((t=>{"ix-workflow-steps"===t&&(customElements.get(i(t))||customElements.define(i(t),c))}))};export{l as IxWorkflowSteps,h as defineCustomElement}
@@ -0,0 +1 @@
1
+ const a=["primary","alarm","critical","warning","info","neutral","success","custom"];export{a as C}
@@ -0,0 +1 @@
1
+ import{p as e,M as t,e as o,h as r,d as a,t as i}from"./p-eN5fQtqO.js";import{G as s}from"./p-DsVj4Cd-.js";import{a as c}from"./p-DD206pTM.js";import{D as l}from"./p-CApDAYIa.js";import{C as d}from"./p-Dpk_WgCl.js";import{B as n}from"./p-DRw2l8Az.js";import{d as b}from"./p-CiP3eKpd.js";import{d as h}from"./p-BKCLcJ_A.js";import{d as m}from"./p-BKVBe7Co.js";import{d as u}from"./p-D_VBAyPm.js";import{d as p}from"./p-YFmbQndr.js";const v=e(class extends(t(...l,d,n)){constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.tabClick=o(this,"tabClick",7),this.tabClose=o(this,"tabClose",7)}get hostElement(){return this}selected=!1;disabled=!1;icon;counter;closable=!1;label;ariaLabelCloseButton="Close tab";placement="bottom";rounded=!1;small=!1;layout="auto";iconOnly=!1;tabClick;tabClose;onTabSelect(e){e.defaultPrevented||(this.disabled?e.preventDefault():this.tabClick.emit({tabKey:this.tabKey,nativeEvent:e}).defaultPrevented&&e.stopPropagation())}render(){let e="normal";const t=this.label||this.hostElement.textContent?.trim();return e=this.rounded?"rounded":!this.icon||void 0!==t&&""!==t?"normal":"icon-only",r(a,{key:"a1981fe23e2fd8e0655e22bd33474635a51cbef9",id:this.getHostElementId(),role:"tab","aria-selected":c(this.selected),tabIndex:this.selected&&!this.disabled?0:-1,class:{selected:this.selected,disabled:this.disabled,"small-tab":this.small,"icon-only":"icon-only"===e,stretched:"stretched"===this.layout,bottom:"bottom"===this.placement,top:"top"===this.placement,circle:this.rounded},onClick:e=>this.onTabSelect(e),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||this.onTabSelect(e),this.closable&&"Delete"===e.key&&(e.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:e}))}},"rounded"===e&&r("div",{key:"254faf12d2bacb122eed12f87ba2788ce23b0cf0",class:{circle:!0}},this.icon&&r("ix-icon",{key:"b93c3250f3f250a62624dd5916f89dcb2827308c",name:this.icon,size:"24"}),r("slot",{key:"027121762879363b90880ed379303bf76d134f67"})),this.icon&&"rounded"!==e&&r("ix-icon",{key:"5e1c1665a517e08e61ae434ecbed6e8e46b5c1e5",name:this.icon,size:"16",class:"tab-icon"}),"normal"===e&&r("div",{key:"32d9e8603dd0fafa17b6bac61a5c7a8e4065aecd",class:{text:!!this.label,selected:this.selected,disabled:this.disabled}},this.label,r("slot",{key:"ecda11782eeae556e74f44613b2ac2b697ef6be0"})),"rounded"===e&&void 0!==this.counter&&r("div",{key:"01e49113bf0d7be5d08ea97f844e88cda5bb73ca",class:{counter:!0,selected:this.selected,disabled:this.disabled}},this.counter),this.counter&&"rounded"!==e&&r("ix-pill",{key:"ab9e497662d8574fd7ed8a57686cc7bd4c91c7e9",variant:"primary",outline:!0,class:"tab-counter"},this.counter),this.closable&&"rounded"!==e&&r("ix-icon-button",{key:"2a81e5282c8dfe6ccb02845264ca23db660b42b1","aria-label":this.ariaLabelCloseButton,class:"close-tab",size:"12",variant:"subtle-tertiary",icon:s,onClick:e=>{e.stopPropagation(),e.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:e})}}))}static get style(){return':host{position:relative;display:flex;align-items:center;justify-content:center;line-height:20px;font-size:14px;font-weight:bold;background-color:var(--theme-tab--background);color:var(--theme-tab--color);touch-action:none;height:2.5rem;min-height:2.5rem;max-height:2.5rem;padding:0.0625rem 1.5rem;gap:0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host *::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host *{}:host *::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host *{}:host *::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host *::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host *{}:host *::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host *{}:host *::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host *::-webkit-scrollbar-corner{display:none}:host .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .text span,:host .text span::before{pointer-events:none}:host .text{vertical-align:middle}:host slot{white-space:nowrap}:host .circle{display:flex;justify-content:center;align-items:center;height:3rem;width:3rem;background-color:var(--theme-animated-tab-circle--background);border-radius:50%;border:2px solid var(--theme-animated-tab-circle--border-color);color:var(--theme-animated-tab-icon--color);cursor:pointer}:host .circle:hover{background-color:var(--theme-animated-tab-circle--background--hover)}:host .circle:active{background-color:var(--theme-animated-tab-circle--background--active)}:host .counter{position:absolute;z-index:1;height:16px;width:auto;background-color:var(--theme-color-1);border:1px solid var(--theme-tab-pill--border-color);border-radius:100px;bottom:6px;display:flex;justify-content:center;align-items:center;padding-left:0.25rem;padding-right:0.25rem;font-size:12px;line-height:14px;color:var(--theme-pill-outline--color);cursor:pointer}:host .counter.selected{border-color:var(--theme-tab-pill--border-color--selected)}:host .counter.disabled{border-color:var(--theme-tab-pill--border-color--disabled);cursor:default}:host .hidden{display:none}:host(:not(.disabled)){cursor:pointer}:host(.circle){height:4.5rem;min-height:4.5rem;max-height:4.5rem}:host(.stretched){flex-basis:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.stretched) div{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected:not(.disabled))::after{content:"";position:absolute;left:0;width:100%;height:2px;background-color:var(--theme-tab-indicator--background--selected)}:host(.selected:not(.disabled)) .circle{background-color:var(--theme-animated-tab-circle--background--selected);color:var(--theme-animated-tab-icon--color--selected);border-color:var(--theme-animated-tab-circle--border-color--selected)}:host(.selected:not(.disabled)) .circle:hover{background-color:var(--theme-animated-tab-circle--background--selected)}:host(.selected.bottom:not(.disabled)){background-color:var(--theme-tab--background--selected);color:var(--theme-tab--color--selected)}:host(.selected.bottom:not(.disabled))::after{bottom:0px}:host(.selected.top:not(.disabled))::after{top:0px}:host(:hover:not(.circle):not(.disabled)){background-color:var(--theme-tab--background--hover);color:var(--theme-tab-color-hover)}:host(:active:not(.circle):not(.disabled)){background-color:var(--theme-tab--background--active);color:var(--theme-tab-color--active)}:host(.disabled){cursor:default;color:var(--theme-tab--color--disabled);background-color:var(--theme-tab--background--disabled);pointer-events:none}:host(.disabled)::after{background-color:var(--theme-tab-indicator--background--disabled)}:host(.disabled) .circle{background-color:var(--theme-animated-tab-circle--background--disabled);border-color:var(--theme-animated-tab-circle--border-color--disabled);cursor:default}:host(.icon-only){display:flex;justify-content:center;align-items:center;padding:1.5rem 0.5rem}:host(.small-tab){height:2rem;min-height:2rem;max-height:2rem;padding:1rem}:host(.small-tab.icon){padding:1rem 0.25rem}:host(:not(.circle):focus-visible){outline-offset:-0.0625rem;outline:0.0625rem solid var(--theme-color-focus-bdr)}:host(.circle:focus-visible){outline:none}:host(.circle:focus-visible) .circle{outline-offset:0.125rem;outline:0.0625rem solid var(--theme-color-focus-bdr)}'}},[769,"ix-tab-item",{tabKey:[1,"tab-key"],selected:[4],disabled:[4],icon:[1],counter:[2],closable:[4],label:[1],ariaLabelCloseButton:[1,"aria-label-close-button"],placement:[1],rounded:[4],small:[4],layout:[1],iconOnly:[4,"icon-only"]}]);function f(){"undefined"!=typeof customElements&&["ix-tab-item","ix-icon-button","ix-pill","ix-spinner","ix-tooltip","ix-typography"].forEach((e=>{switch(e){case"ix-tab-item":customElements.get(i(e))||customElements.define(i(e),v);break;case"ix-icon-button":customElements.get(i(e))||b();break;case"ix-pill":customElements.get(i(e))||h();break;case"ix-spinner":customElements.get(i(e))||m();break;case"ix-tooltip":customElements.get(i(e))||u();break;case"ix-typography":customElements.get(i(e))||p()}}))}export{v as T,f as d}
@@ -0,0 +1 @@
1
+ import{p as o,H as t,e,h as r,d as s,t as a}from"./p-eN5fQtqO.js";import{c as i}from"./p-Dw_A3HUC.js";import{G as c}from"./p-DsVj4Cd-.js";import{d as l}from"./p-CiP3eKpd.js";import{d as n}from"./p-BKVBe7Co.js";import{d as h}from"./p-YFmbQndr.js";const d=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.closeClick=e(this,"closeClick",7)}get hostElement(){return this}hideClose=!1;icon;ariaLabelIcon;ariaLabelCloseIconButton="Close modal";onIconChange(o){this.parentDialog&&(o?this.parentDialog.classList.add("with-icon"):this.parentDialog.classList.remove("with-icon"))}iconColor;closeClick;parentDialog;componentDidLoad(){this.parentDialog=i(this.hostElement,"ix-modal"),this.onIconChange(this.icon)}onCloseClick(o){this.closeClick.emit(o).defaultPrevented||o.defaultPrevented||this.parentDialog?.dismissModal()}render(){return r(s,{key:"9f03264844ac63ce55494f2177d1ea38179e736a"},this.icon?r("ix-icon",{name:this.icon,color:this.iconColor,size:"32","aria-label":this.ariaLabelIcon}):null,r("div",{key:"62cd301023d42678376d6c064f280970185f29d3",class:"modal-title"},r("ix-typography",{key:"7d816462cfca738fca02746590548256bd0d529f",format:"h5"},r("slot",{key:"946ddbbb1dfc674038d618a68e7c4a204d69d6e1"}))),this.hideClose?null:r("ix-icon-button",{class:"modal-close",onClick:o=>this.onCloseClick(o),variant:"tertiary",icon:c,iconColor:"color-soft-text","aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}static get watchers(){return{icon:[{onIconChange:0}]}}static get style(){return":host{display:flex;padding:0.5rem 0 0.5rem 0.5rem;align-items:center;gap:1rem}: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 .modal-title{flex-grow:1;overflow-wrap:anywhere}:host .modal-close{align-self:flex-start}"}},[785,"ix-modal-header",{hideClose:[4,"hide-close"],icon:[1],ariaLabelIcon:[1,"aria-label-icon"],ariaLabelCloseIconButton:[1,"aria-label-close-icon-button"],iconColor:[1,"icon-color"]},void 0,{icon:[{onIconChange:0}]}]);function b(){"undefined"!=typeof customElements&&["ix-modal-header","ix-icon-button","ix-spinner","ix-typography"].forEach((o=>{switch(o){case"ix-modal-header":customElements.get(a(o))||customElements.define(a(o),d);break;case"ix-icon-button":customElements.get(a(o))||l();break;case"ix-spinner":customElements.get(a(o))||n();break;case"ix-typography":customElements.get(a(o))||h()}}))}export{d as M,b as d}
@@ -0,0 +1 @@
1
+ import{c as t,b as i}from"./p-DD206pTM.js";const e=new WeakMap,s=new WeakSet;let r,n=0;const h=t=>{const i=new Map;t.forEach((t=>{const r=t.target;if(s.has(r))return;const n=e.get(r),h=t.attributeName;if(!n||!h)return;let o=i.get(n.handler);o||(o=new Set,i.set(n.handler,o)),o.add(h)})),i.forEach(((t,i)=>{try{i(t)}catch(t){(t=>{"function"!=typeof reportError?console.error(t):reportError(t)})(t)}}))},o=o=>class extends o{constructor(){super()}inheritAriaAttributes={};#t=!1;#i=!1;#e=!1;#s=!1;#r;#n=new Set;#h=!1;#o=!1;#a(t){const i=this.#u(),e=this.getIgnoredAriaAttributes();let s=this.inheritAriaAttributes;t.forEach((t=>{if(e.includes(t))return;const r=i.getAttribute(t);r!==(s[t]??null)&&(s===this.inheritAriaAttributes&&(s={...s}),null===r?delete s[t]:s[t]=r)})),s!==this.inheritAriaAttributes&&(this.inheritAriaAttributes=s)}getIgnoredAriaAttributes(){return[]}readAriaAttributesFromHost(){const t=this.#u();return((t,i)=>{if(!e.get(t)||!r)return i();const n=r;h(n.takeRecords()),s.add(t);try{return i()}finally{const i=n.takeRecords().filter((i=>i.target!==t));s.delete(t),h(i)}})(t,(()=>{this.#o=!0;try{return i(t,this.getIgnoredAriaAttributes())}finally{this.#o=!1}}))}#u(){if(!this.hostElement)throw new Error("Host element is not defined. Make sure to apply the InheritAriaAttributesMixin to a Stencil component.");return this.hostElement}#l(){const i=this.#u(),e=new Map;return t.forEach((t=>{const s=i.getAttribute(t);null!==s&&e.set(t,s)})),e}#c(){if(this.#h||"undefined"==typeof MutationObserver)return;const i=this.#u(),e=i.removeAttribute.bind(i);i.removeAttribute=i=>{if(e(i),t.includes(i)){if(this.#o)return;this.#i||this.#n.add(i),this.#d(null,i)}},this.#h=!0}#f(){this.#i=((i,s)=>{const o=(()=>{if("undefined"!=typeof MutationObserver)return r??=new MutationObserver(h),r})();return!!o&&(e.has(i)||n++,e.set(i,{handler:s}),o.observe(i,{attributeFilter:t,attributes:!0}),!0)})(this.#u(),(t=>this.#a(t)))}connectedCallback(){if(super.connectedCallback&&super.connectedCallback(),this.#s=!1,this.#e&&!this.#t)return this.#e=!1,void this.#A();if(this.#t){const i=this.#u();if(this.#f(),this.#r){const e=this.readAriaAttributesFromHost();t.forEach((t=>{const s=this.#r?.get(t)??null,r=e[t]??i.getAttribute(t);(r!==s||this.#n.has(t))&&this.#d(r??null,t)}))}}this.#r=void 0,this.#n.clear()}componentWillLoad(){if(super.componentWillLoad){const t=super.componentWillLoad();if(t)return t.then((()=>this.#b()))}this.#b()}#b(){this.#s?this.#e=!0:this.#A()}#A(){this.inheritAriaAttributes=this.readAriaAttributesFromHost(),this.#c(),this.#t=!0,this.#f()}#d(t,i){if(this.getIgnoredAriaAttributes().includes(i))return;if(t===(this.inheritAriaAttributes[i]??null))return;const e={...this.inheritAriaAttributes};null===t?delete e[i]:e[i]=t,this.inheritAriaAttributes=e}disconnectedCallback(){var t;this.#s=!0,this.#n.clear(),this.#t?(r&&h(r.takeRecords()),this.#r=this.#l(),t=this.#u(),e.delete(t)&&(n--,0===n&&(r?.disconnect(),r=void 0)),this.#i=!1):this.#r=void 0,super.disconnectedCallback&&super.disconnectedCallback()}};export{o as I}
@@ -0,0 +1 @@
1
+ import{p as t,M as e,e as i,h as s,j as o,d as r,t as n}from"./p-eN5fQtqO.js";import{x as a,H as l,t as h,W as d}from"./p-DsVj4Cd-.js";import{a as c}from"./p-DD206pTM.js";import{P as u,a as p,u as b,F as m}from"./p-D7qfGAJ7.js";import{q as f,I as v}from"./p-C5UTTqsv.js";import{D as w}from"./p-CApDAYIa.js";import{A as x}from"./p-Byed_Z2G.js";import{C as y}from"./p-Dpk_WgCl.js";import{m as g}from"./p-Djkc69iv.js";import{r as k}from"./p-BEuV0Xpe.js";import{d as C}from"./p-CGGWaScq.js";import{d as I}from"./p-n2_EOgMr.js";import{d as A}from"./p-CAd-WgR8.js";import{d as E}from"./p-viP8I2_s.js";import{d as T}from"./p-DIq_C5Sa.js";import{d as D}from"./p-CiP3eKpd.js";import{d as V}from"./p-DyC90hvu.js";import{d as S}from"./p-BKVBe7Co.js";import{d as R}from"./p-D_VBAyPm.js";import{d as L}from"./p-YFmbQndr.js";import{N as j,H as O}from"./p-BTBxxgtF.js";let F=0;const W=t(class extends(e(...w,y,x)){constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=i(this,"valueChange",7),this.inputChange=i(this,"inputChange",7),this.addItem=i(this,"addItem",7),this.ixBlur=i(this,"ixBlur",7),this.formInternals=this.attachInternals()}get hostElement(){return this}formInternals;name;required=!1;label;ariaLabelClearIconButton="Clear selection";ariaLabelAddItem="Add item";i18nMoreItems="{count} more";warningText;infoText;invalidText;validText;helperText;showTextAsTooltip;value="";allowClear=!1;mode="single";editable=!1;disabled=!1;readonly=!1;i18nPlaceholder="Select an option";i18nPlaceholderEditable="Type of select option";i18nSelectListHeader="Select an option";i18nNoMatches="No matches";i18nAllSelected="All";i18nRemoveSelectedItem="Remove";hideListHeader=!1;dropdownWidth;dropdownMaxWidth;collapseMultipleSelection=!1;enableTopLayer=!1;valueChange;inputChange;addItem;ixBlur;dropdownShow=!1;selectedLabels=[];isDropdownEmpty=!1;inputFilterText="";inputValue="";visibleChipValues=null;hiddenChipValues=[];overflowDropdownShow=!1;hasInputFocus=!1;dropdownItemsVisualFocused=!1;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;hostId="ix-select-"+F++;dropdownWrapperRef=g();dropdownAnchorRef=g();inputRef=g();dropdownRef=g();chipElementRefs=new Map;chipWidths=new Map;overflowChipRef=g();chipsContainerRef=g();clearButtonRef=g();chipHorizontalMargin=4;triggerMinWidth=78;overflowChipFallbackWidth=52;overflowChipWidth=0;chipsResizeObserver;overflowDropdownOpenedByKeyboard=!1;proxyListObserver=null;inputElement;touched=!1;get nonShadowItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item"))}get shadowItems(){return Array.from(this.hostElement.shadowRoot.querySelectorAll("ix-select-item"))}get focusableItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item:not([disabled]):not([hidden]), ix-dropdown-item:not([disabled]):not([hidden])"))}get allFocusableItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item, ix-dropdown-item"))}get items(){return[...this.nonShadowItems,...this.shadowItems]}get selectedItems(){return this.items.filter((t=>t.selected))}get addItemElement(){return this.hostElement.querySelector("ix-dropdown-item.add-item")}get isSingleMode(){return"single"===this.mode}get isMultipleMode(){return"multiple"===this.mode}get isEveryDropdownItemHidden(){return this.items.every((t=>!0===t.hidden))}watchValue(t){this.value=t,this.updateSelection()}watchDisabledReadonly(){this.chipWidths.clear(),this.overflowChipWidth=0}updateFormInternalValue(t){Array.isArray(t)?this.formInternals.setFormValue(t.join(",")):this.formInternals.setFormValue(t)}async hasValidValue(){return this.required&&!!this.hasValue()}hasValue(){return Array.isArray(this.value)?!!this.value.length:!!this.value}itemClick(t){const e=this.value,i=this.toggleValue(t);this.value=i,this.emitValueChange(i)?this.value=e:(this.updateSelection(),this.isMultipleMode&&this.inputFilterText&&(this.clearInput(),this.removeHiddenAttributeFromItems()))}emitAddItem(t){if(void 0===t||""===t.trim())return!1;const{defaultPrevented:e}=this.addItem.emit(t);if(e)return!0;const i=document.createElement("ix-select-item");return i.value=t,i.label=t,this.addItemElement?.before(i),k((()=>{this.clearInput(),this.itemClick(t)})),!1}toggleValue(t){if(!this.isMultipleMode)return t;if(!this.value)return[t];let e=this.value;return Array.isArray(e)||(e=[e]),e.includes(t)?e.filter((e=>e!==t)):[...e,t]}updateSelection(){let t=[];this.value&&(t=Array.isArray(this.value)?[...this.value]:[this.value]),this.items.forEach((e=>{e.selected=t.some((t=>typeof t!=typeof e.value?t.toString()===e.value.toString():t===e.value))})),this.selectedLabels=this.selectedItems.map((t=>t.label??t.value)),this.pruneChipWidthCache(),this.dropdownShow&&this.inputFilterText||(this.inputValue=this.selectedLabels?.length&&this.isSingleMode?this.selectedLabels[0]??"":"",this.inputElement&&(this.inputElement.value=this.inputValue))}emitValueChange(t){const{defaultPrevented:e}=this.valueChange.emit(t);return!!e||(this.updateFormInternalValue(t),!1)}createAddItemElement(){const t=()=>{this.emitAddItem(this.inputFilterText)};this.hostElement.querySelector(".add-item")||this.hostElement.appendChild((()=>{const e=document.createElement("ix-dropdown-item");return e.hidden=!0,e.setAttribute("data-testid","add-item"),e.icon=d,e.classList.add("add-item"),e.addEventListener("click",t),e.style.order=Number.MAX_SAFE_INTEGER.toString(),e.ariaHidden="true",e.role="presentation",e})())}componentDidLoad(){this.inputElement?.addEventListener("input",(()=>{this.dropdownShow=!0,this.inputChange.emit(this.inputElement?.value)})),this.createAddItemElement(),this.proxyListObserver=new MutationObserver((()=>{this.updateAriaProxyListbox()})),this.proxyListObserver.observe(this.hostElement,{attributes:!0,attributeFilter:["aria-selected"],subtree:!0,childList:!0});const t=this.chipsContainerRef.current;t&&(this.chipsResizeObserver=new ResizeObserver((()=>{this.handleChipsContainerResize()})),this.chipsResizeObserver.observe(t))}componentWillLoad(){this.updateSelection(),this.updateFormInternalValue(this.value)}disconnectedCallback(){super.disconnectedCallback(),this.proxyListObserver?.disconnect(),this.chipsResizeObserver?.disconnect()}onLabelChange(t){t.preventDefault(),t.stopImmediatePropagation(),this.chipWidths.clear(),this.updateSelection()}itemExists(t){return this.items.find((e=>e.label===t))}getActiveVisualFocusedItem(){const t=f(this.hostElement,`.${v}`);return t.length>0?t[0]:null}dropdownVisibilityChanged(t){this.dropdownShow=t.detail,t.detail?(this.inputElement?.focus(),this.hasValue()&&this.inputElement?.select(),this.inputFilterText||this.removeHiddenAttributeFromItems(),this.isDropdownEmpty=this.isEveryDropdownItemHidden,this.checkVisibilityOfProxyList()):(this.updateSelection(),this.inputFilterText="",this.dropdownItemsVisualFocused=!1,this.inputElement?.setAttribute("aria-activedescendant",""))}setItemFilter(){this.inputFilterText=this.inputElement?.value.trim()??"",this.inputFilterText?this.items.forEach((t=>{const e=this.hostElement.shadowRoot?.getElementById(`${t.id}-${u}`);t.hidden=!1,e&&(e.hidden=!1,e.setAttribute("aria-hidden","false")),t.label?.toLowerCase().includes(this.inputFilterText.toLowerCase())||(t.hidden=!0,e&&(e.hidden=!0,e.setAttribute("aria-hidden","true")))})):this.removeHiddenAttributeFromItems(),this.isDropdownEmpty=this.isEveryDropdownItemHidden,this.checkVisibilityOfProxyList()}checkVisibilityOfProxyList(){const t=this.hostElement?.shadowRoot?.getElementById(`${this.hostId}-${p}`);t&&(t.hidden=this.isDropdownEmpty)}removeHiddenAttributeFromItems(){this.items.forEach((t=>{t.hidden=!1;const e=this.hostElement.shadowRoot?.getElementById(`${t.id}-${u}`);e&&(e.hidden=!1,e.setAttribute("aria-hidden","false"))}))}clearInput(){this.inputElement&&(this.inputElement.value=""),this.inputFilterText=""}clear(){this.clearInput(),this.selectedLabels=[];const t=this.isSingleMode?"":[];this.value=t,this.emitValueChange(t),this.dropdownShow=!1}onInputBlur(t){this.ixBlur.emit(),this.touched=!0,this.hasInputFocus=!1,this.editable||this.isSingleMode||this.dropdownShow||"multiple"===this.mode||(t.target.value=this.selectedLabels.toString())}onInputFocus(){this.hasInputFocus=!0}placeholderValue(){return this.disabled||this.readonly?"":this.editable?this.i18nPlaceholderEditable:this.i18nPlaceholder}isAddItemVisible(){return!this.itemExists(this.inputFilterText)&&this.editable&&this.inputFilterText}shouldDisplayAllChip(){return this.selectedItems.length===this.items.length&&this.collapseMultipleSelection}getRemoveChipAriaLabel(t){const e=(t.label??t.value)?.toString().trim();return e?`${this.i18nRemoveSelectedItem} ${e}`:this.i18nRemoveSelectedItem}renderAllChip(){return s("ix-filter-chip",{disabled:this.disabled||this.readonly,ariaLabelCloseIconButton:`${this.i18nRemoveSelectedItem} ${this.i18nAllSelected}`,onCloseClick:t=>{t.preventDefault(),t.stopPropagation(),this.clear()}},`${this.i18nAllSelected} (${this.selectedItems.length})`)}renderChip(t,e){const i=t.value.toString();return s("ix-filter-chip",{class:{"chip-measuring":e},disabled:this.disabled||this.readonly,key:i,ariaLabelCloseIconButton:this.getRemoveChipAriaLabel(t),ref:t=>{t?this.chipElementRefs.set(i,t):this.chipElementRefs.delete(i)},onCloseClick:()=>{this.itemClick(t.value),this.inputElement?.focus()}},t.label)}renderHiddenChip(t){return s("ix-filter-chip",{class:"chip-hidden-item",disabled:this.disabled||this.readonly,key:`hidden-${t.value}`,ariaLabelCloseIconButton:this.getRemoveChipAriaLabel(t),onCloseClick:()=>{this.overflowDropdownShow=!1,this.itemClick(t.value),this.inputElement?.focus()}},t.label)}renderOverflowChip(){const t=this.hiddenChipValues.length,e=this.i18nMoreItems.replace("{count}",t.toString());return s("ix-filter-chip",{key:"overflow-chip",class:"chip-overflow",hideCloseButton:!0,disabled:this.disabled||this.readonly,tabindex:this.disabled||this.readonly?-1:0,role:"button","aria-haspopup":"listbox","aria-expanded":c(this.overflowDropdownShow),"aria-label":e,ref:this.overflowChipRef,onClick:t=>{t.preventDefault(),t.stopPropagation(),this.toggleOverflowDropdown()},onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),t.stopImmediatePropagation(),this.overflowDropdownOpenedByKeyboard=!0,this.overflowDropdownShow=!0)}},`+${t}`)}renderMultipleModeChips(){if(0===this.items.length)return null;if(this.shouldDisplayAllChip())return this.renderAllChip();const t=this.selectedItems;if(0===t.length)return null;const e=t.filter((t=>{const e=t.value.toString();return!!this.chipWidths.has(e)&&(null===this.visibleChipValues||this.visibleChipValues.includes(e))})),i=t.filter((t=>!this.chipWidths.has(t.value.toString())));return[...e.map((t=>this.renderChip(t,!1))),this.hiddenChipValues.length>0?this.renderOverflowChip():null,...i.map((t=>this.renderChip(t,!0)))]}renderOverflowDropdown(){return s("ix-dropdown",{class:"overflow-dropdown",show:this.overflowDropdownShow,anchor:this.overflowChipRef.waitForCurrent(),closeBehavior:"outside",placement:"bottom-start",onShowChanged:t=>{this.overflowDropdownShow=t.detail,t.detail&&this.overflowDropdownOpenedByKeyboard&&(this.overflowDropdownOpenedByKeyboard=!1,this.focusOverflowRemoveButton(0))}},s("div",{class:"overflow-dropdown-content"},this.hiddenChipValues.map((t=>{const e=this.selectedItems.find((e=>e.value.toString()===t));return e?this.renderHiddenChip(e):null}))))}toggleOverflowDropdown(){this.disabled||this.readonly||(this.overflowDropdownShow=!this.overflowDropdownShow)}getOverflowRemoveButtons(){const t=this.hostElement.shadowRoot?.querySelector("ix-dropdown.overflow-dropdown");return t?Array.from(t.querySelectorAll("ix-filter-chip.chip-hidden-item")).flatMap((t=>{const e=t.shadowRoot?.querySelector("ix-icon-button"),i=e?.shadowRoot?.querySelector("button");return i?[i]:[]})):[]}focusOverflowRemoveButton(t){k((()=>{const e=this.getOverflowRemoveButtons()[t];e&&(e.focus({preventScroll:!0}),e.scrollIntoView({block:"nearest"}))}))}onOverflowRemoveButtonKeyDown(t){if(!this.overflowDropdownShow)return;const e=this.getOverflowRemoveButtons(),i=e.findIndex((e=>t.composedPath().includes(e)));if(-1!==i)switch(t.key){case"ArrowDown":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton((i+1)%e.length);break;case"ArrowUp":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton((i-1+e.length)%e.length);break;case"Tab":t.preventDefault(),t.stopImmediatePropagation(),this.focusOverflowRemoveButton(t.shiftKey?(i-1+e.length)%e.length:(i+1)%e.length);break;case"Escape":t.preventDefault(),t.stopImmediatePropagation(),this.overflowDropdownShow=!1,this.focusOverflowChip()}}focusOverflowChip(){k((()=>{this.overflowChipRef.current?.focus({preventScroll:!0})}))}pruneChipWidthCache(){const t=new Set(this.selectedItems.map((t=>t.value.toString())));for(const e of this.chipWidths.keys())t.has(e)||this.chipWidths.delete(e)}sameChipValues(t,e){return t===e||null!==t&&null!==e&&t.length===e.length&&t.every(((t,i)=>t===e[i]))}applyOverflowState(t,e){this.sameChipValues(this.visibleChipValues,t)||(this.visibleChipValues=t),this.sameChipValues(this.hiddenChipValues,e)||(this.hiddenChipValues=e),0===e.length&&this.overflowDropdownShow&&(this.overflowDropdownShow=!1)}getChipWidthWithMargin(t){return(this.chipWidths.get(t)??0)+this.chipHorizontalMargin}getOverflowChipWidthWithMargin(){return(this.overflowChipWidth||this.overflowChipFallbackWidth)+this.chipHorizontalMargin}canShowAllChips(t,e){return t.reduce(((t,e)=>t+this.getChipWidthWithMargin(e)),0)<=e}getOverflowChipValues(t,e){const[i,...s]=t;if(void 0===i)return{visible:[],hidden:[]};const o=[i],r=[];let n=this.getChipWidthWithMargin(i);const a=this.getOverflowChipWidthWithMargin();for(const[t,i]of s.entries()){const l=this.getChipWidthWithMargin(i);if(!(n+l+a<=e)){r.push(...s.slice(t));break}o.push(i),n+=l}return{visible:o,hidden:r}}hasUnmeasuredSelectedChips(t){return t.some((t=>!this.chipWidths.has(t)))}getChipOverflowContext(){if(!this.isMultipleMode||this.shouldDisplayAllChip())return this.applyOverflowState(null,[]),null;const t=this.chipsContainerRef.current;if(!t)return null;const e=this.selectedItems.map((t=>t.value.toString()));return 0===e.length?(this.applyOverflowState(null,[]),null):{container:t,values:e}}handleChipsContainerResize(){const t=this.getChipOverflowContext();t&&(this.hasUnmeasuredSelectedChips(t.values)?o(this):this.calculateChipOverflow(t))}calculateChipOverflow(t=this.getChipOverflowContext()){if(!t)return;const{container:e,values:i}=t;if(!i.every((t=>this.chipWidths.has(t))))return;const s=e.clientWidth-this.triggerMinWidth-(this.allowClear&&this.clearButtonRef.current?this.clearButtonRef.current.offsetWidth:0);if(this.canShowAllChips(i,s))return void this.applyOverflowState(null,[]);const{visible:o,hidden:r}=this.getOverflowChipValues(i,s);this.applyOverflowState(o,r)}async waitForComponentReady(t){const e=t;"function"==typeof e?.componentOnReady&&await e.componentOnReady()}waitForNextFrame(){return new Promise((t=>k((()=>t()))))}async waitForChipLayout(t){await Promise.all(t.map((t=>this.waitForComponentReady(t)))),await this.waitForNextFrame()}async measureSelectedChipWidths(t){const e=t.map((t=>this.chipElementRefs.get(t.value.toString())));await this.waitForChipLayout(e);let i=!1;for(const e of t){const t=e.value.toString(),s=this.chipElementRefs.get(t);s&&s.offsetWidth>0&&(this.chipWidths.set(t,s.offsetWidth),i=!0)}return i}async measureOverflowChipWidth(){if(0===this.hiddenChipValues.length||this.overflowChipWidth>0)return;const t=await this.overflowChipRef.waitForCurrent();await this.waitForChipLayout([t]),t.offsetWidth>0&&(this.overflowChipWidth=t.offsetWidth)}async componentDidRender(){if(!this.isMultipleMode||this.shouldDisplayAllChip())return void this.applyOverflowState(null,[]);const t=this.selectedItems;if(0===t.length)return void this.applyOverflowState(null,[]);const e=t.filter((t=>!this.chipWidths.has(t.value.toString())));e.length>0?await this.measureSelectedChipWidths(e)&&(this.calculateChipOverflow(),o(this)):(await this.measureOverflowChipWidth(),this.calculateChipOverflow())}onValidationChange({isInvalid:t,isInvalidByRequired:e,isValid:i,isInfo:s,isWarning:o}){this.isInvalid=t||e,this.isValid=i,this.isWarning=o,this.isInfo=s}async getAssociatedFormElement(){return this.formInternals.form}getNativeInputElement(){return this.inputElement?Promise.resolve(this.inputElement):Promise.reject(new j)}async focusInput(){const t=await this.getNativeInputElement();t&&t.focus()}isTouched(){return Promise.resolve(this.touched)}getControllingAriaElement(){return this.inputRef.waitForCurrent()}isAriaActiveDescendantActive(){return this.dropdownShow}getAriaActiveDescendantProxyItemId(){return"proxy-listbox-item"}componentWillRender(){if(this.addItemElement&&(this.addItemElement.hidden=!this.isAddItemVisible(),this.addItemElement.label=this.inputFilterText),this.updateAriaProxyListbox(),this.isMultipleMode&&!this.shouldDisplayAllChip()){const t=this.selectedItems;t.length>0&&t.every((t=>this.chipWidths.has(t.value.toString())))&&this.calculateChipOverflow()}}updateAriaProxyListbox(){const t=this.hostElement.shadowRoot?.getElementById(`${this.hostId}-proxy-listbox`);0!==this.focusableItems.length&&t&&b(t,this.focusableItems,((t,e)=>{const i="IX-SELECT-ITEM"===t.tagName,s=t.getAttribute("aria-label")||t.label||(i?t.value:"")||"",o=i?t.selected:t.checked;e.role="option",e.innerText=t.label??"",e.ariaLabel=s,e.ariaSelected=c(!!o),e.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault(),t.click()})),this.addItemElement===t&&(e.ariaLabel=`${this.ariaLabelAddItem}: ${t.label}`),t.ariaHidden="true"}))}render(){return s(r,{key:"a2ce9b8b0ae76c6d88cb59f34a6846370f835484",id:this.getHostElementId(),class:{readonly:this.readonly,disabled:this.disabled,"show-focus-outline":this.hasInputFocus&&!this.dropdownItemsVisualFocused},tabIndex:this.disabled?-1:0},s("ix-field-wrapper",{key:"a9ffed67c87f60a01cbc6f8524369d4b0db0a445",required:this.required,label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isInvalid:this.isInvalid,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,controlRef:this.inputRef},s("div",{key:"7692ac7e4522d7629e810090609fd870fa670bd7",class:{select:!0,disabled:this.disabled,readonly:this.readonly},ref:t=>{this.dropdownAnchorRef(t),this.dropdownWrapperRef(t)}},s("div",{key:"9ed9e05581b8079cb2c17c0d2ccc099af151b2d5",class:"input-container"},s("div",{key:"66e7a4593c6e895e9b94704488fcac9531f6054a",class:"chips",ref:this.chipsContainerRef},this.isMultipleMode&&this.renderMultipleModeChips(),s("div",{key:"c8a50e9f809602f22ebe950d26519e037c546068",class:"trigger"},s("input",{key:"beda6c6b5a4479a221a600e53c56842f0c2183ed",id:`${this.hostId}-input`,role:"combobox","aria-controls":`${this.hostId}-proxy-listbox`,"aria-expanded":c(this.dropdownShow),"aria-autocomplete":"list","aria-disabled":c(this.disabled),autocomplete:"off","data-testid":"input",disabled:this.disabled,readOnly:this.readonly,required:this.required,type:"text",class:{"allow-clear":this.allowClear&&!!this.selectedLabels?.length},placeholder:this.placeholderValue(),value:this.inputValue??"",ref:t=>{this.inputElement=t,this.inputRef(t)},onFocus:()=>this.onInputFocus(),onBlur:t=>this.onInputBlur(t),onInput:()=>this.setItemFilter()}),!this.allowClear||this.disabled||this.readonly||!this.selectedLabels?.length&&!this.inputFilterText?null:s("ix-icon-button",{key:"clear",class:"clear",icon:a,variant:"subtle-tertiary",oval:!0,size:"16",ref:this.clearButtonRef,onClick:t=>{t.preventDefault(),t.stopPropagation(),this.clear()},"aria-label":this.ariaLabelClearIconButton}),this.disabled||this.readonly?null:s("ix-icon-button",{"aria-label":this.dropdownShow?"Close select dropdown":"Open select dropdown","aria-hidden":"true",tabindex:-1,ref:t=>{if(!t)return;const e=t;e.tabIndex=-1,e.ariaHidden="true"},"data-select-dropdown":!0,key:"dropdown",class:{"dropdown-visible":this.dropdownShow},icon:this.dropdownShow?l:h,variant:"subtle-tertiary"})))))),s("ix-dropdown",{key:"d51a5df17402acb7aa4181b2a986425868619720",id:`${this.hostId}-listbox`,keyboardActivationKeys:["ArrowUp","ArrowDown"],keyboardItemTriggerKeys:["Enter"],disableFocusTrap:!0,focusHost:this.hostElement,ref:this.dropdownRef,show:this.dropdownShow,closeBehavior:this.isMultipleMode?"outside":"both",hidden:this.disabled||this.readonly,anchor:this.dropdownAnchorRef.waitForCurrent(),trigger:this.dropdownWrapperRef.waitForCurrent(),onShowChange:t=>{(this.disabled||this.readonly)&&t.detail&&t.preventDefault()},onShowChanged:t=>this.dropdownVisibilityChanged(t),placement:"bottom-start",enableTopLayer:this.enableTopLayer,overwriteDropdownStyle:async()=>{const t={},e=this.hostElement.shadowRoot?.querySelector(".select")?.getBoundingClientRect().width;return e&&(t.minWidth=`${e}px`),this.dropdownWidth&&(t.width=`min(${this.dropdownWidth}, 100%)`),this.dropdownMaxWidth&&(t.maxWidth=`min(${this.dropdownMaxWidth}, 100%)`),t},onClick:t=>{const e=t.target;if("IX-DROPDOWN-ITEM"!==e.tagName&&"IX-SELECT-ITEM"!==e.tagName)return;const i=this.getActiveVisualFocusedItem()??e;i&&(t.stopPropagation(),i.classList.contains("add-item")||(this.itemClick(i.value),this.setItemFilter()),this.isSingleMode&&(this.dropdownShow=!1))}},s("div",{key:"2d84de2ab363ca2e8148f63b482d5814fe2bcf5f","aria-hidden":"true",class:{"select-list-header":!0,hidden:this.hideListHeader||this.isDropdownEmpty},title:this.i18nSelectListHeader,onClick:t=>t.preventDefault()},this.i18nSelectListHeader),s("slot",{key:"a2b0df2eaf8d74a7229f5564789aec20672ee038",onSlotchange:()=>{this.updateSelection()}}),s(m,{key:"51d97f6e697f9bfc591089bbd431a542988b80e6",hostId:this.hostId,otherProps:{"aria-hidden":c(!this.dropdownShow),"aria-multiselectable":c(this.isMultipleMode),hidden:this.disabled||this.readonly}}),this.isDropdownEmpty&&!this.editable&&s("div",{key:"7315bb1ce002a82d9d99c77a60b711f7430bb127",class:"select-list-header"},this.i18nNoMatches)),this.isMultipleMode&&!this.shouldDisplayAllChip()&&this.hiddenChipValues.length>0&&this.renderOverflowDropdown())}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}],disabled:[{watchDisabledReadonly:0}],readonly:[{watchDisabledReadonly:0}]}}static get style(){return":host{display:inline-block;position:relative;min-height:2rem;height:auto;border-radius:var(--theme-input--border-radius)}: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 .select{position:relative;display:flex;align-items:center;width:100%;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}:host .select:hover:not(.readonly):not(.disabled){background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}:host .select.readonly,:host .select.disabled{box-shadow:none !important}:host .select.readonly,:host .select.readonly:hover,:host .select.readonly:active,:host .select.disabled,:host .select.disabled:hover,:host .select.disabled:active{background-color:transparent !important}:host .select.readonly:focus,:host .select.readonly:focus-within,:host .select.readonly:focus-visible,:host .select.disabled:focus,:host .select.disabled:focus-within,:host .select.disabled:focus-visible{outline:none}:host .select.readonly input:focus,:host .select.readonly input:focus-visible,:host .select.disabled input:focus,:host .select.disabled input:focus-visible{outline:none}:host .select.disabled{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}:host .select.disabled input{color:var(--theme-input--color--disabled)}:host .select.readonly{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}:host .select.readonly input{color:var(--theme-input--color--readonly)}:host .trigger{display:flex;align-items:center;flex-grow:1;height:100%}:host .input-container{display:flex;position:relative;align-items:flex-start;width:100%;height:100%}:host .input-container .chips{position:relative;display:flex;align-items:center;flex-wrap:nowrap;height:100%;flex-grow:1;overflow:hidden}:host .input-container .chips>ix-filter-chip{margin:0.1rem;flex-shrink:0;max-width:min(40%, 14rem)}:host .input-container .chips>ix-filter-chip.chip-measuring{position:absolute;visibility:hidden;pointer-events:none}:host .input-container .chips>ix-filter-chip.chip-overflow{cursor:pointer}:host .input-container .chips>ix-filter-chip.chip-overflow:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .input-container ix-icon-button{height:1.875rem;width:1.875rem;min-height:1.875rem;min-width:1.875rem}:host .input-container input{background:transparent;height:1.75rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .input-container input,:host .input-container input:hover,:host .input-container input:focus-visible{border:none;outline:none}:host .input-container input::-moz-placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input::placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input.hide-placeholder::-moz-placeholder{opacity:0}:host .input-container input.hide-placeholder::placeholder{opacity:0}:host ix-dropdown{display:flex;flex-direction:column;max-width:100%}:host .overflow-dropdown-content{display:flex;flex-direction:column;align-items:flex-start;gap:0.25rem;max-height:16rem;overflow-y:auto;padding:0.5rem}:host .dropdown-visible{--ix-icon-button-color:var(--theme-color-std-text--hover)}:host .add-item{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}:host .select-list-header{display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .hidden{display:none !important}: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}:host(.ix-focused) .select,:host(.show-focus-outline) .select{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--warning);background-color:var(--theme-input--background--warning)}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select: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])) .select,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--invalid);background-color:var(--theme-input--background--invalid)}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select: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])) .select:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--invalid--active) !important}"}},[849,"ix-select",{name:[513],required:[516],label:[1],ariaLabelClearIconButton:[1,"aria-label-clear-icon-button"],ariaLabelAddItem:[1,"aria-label-add-item"],i18nMoreItems:[1,"i18n-more-items"],warningText:[1,"warning-text"],infoText:[1,"info-text"],invalidText:[1,"invalid-text"],validText:[1,"valid-text"],helperText:[1,"helper-text"],showTextAsTooltip:[4,"show-text-as-tooltip"],value:[1025],allowClear:[4,"allow-clear"],mode:[1],editable:[4],disabled:[4],readonly:[4],i18nPlaceholder:[1,"i18n-placeholder"],i18nPlaceholderEditable:[1,"i18n-placeholder-editable"],i18nSelectListHeader:[1,"i18n-select-list-header"],i18nNoMatches:[1,"i18n-no-matches"],i18nAllSelected:[1,"i18n-all-selected"],i18nRemoveSelectedItem:[1,"i18n-remove-selected-item"],hideListHeader:[4,"hide-list-header"],dropdownWidth:[1,"dropdown-width"],dropdownMaxWidth:[1,"dropdown-max-width"],collapseMultipleSelection:[4,"collapse-multiple-selection"],enableTopLayer:[4,"enable-top-layer"],dropdownShow:[32],selectedLabels:[32],isDropdownEmpty:[32],inputFilterText:[32],inputValue:[32],visibleChipValues:[32],hiddenChipValues:[32],overflowDropdownShow:[32],hasInputFocus:[32],dropdownItemsVisualFocused:[32],isInvalid:[32],isValid:[32],isInfo:[32],isWarning:[32],hasValidValue:[64],getAssociatedFormElement:[64],getNativeInputElement:[64],focusInput:[64],isTouched:[64]},[[4,"ixFocusVisibleChange","$internal_onActiveDescendantChange"],[0,"ix-select-item:valueChange","onLabelChange"],[0,"ix-select-item:labelChange","onLabelChange"],[2,"keydown","onOverflowRemoveButtonKeyDown"]],{value:[{watchValue:0}],disabled:[{watchDisabledReadonly:0}],readonly:[{watchDisabledReadonly:0}]}]);function B(){"undefined"!=typeof customElements&&["ix-select","ix-dropdown","ix-dropdown-item","ix-field-label","ix-field-wrapper","ix-filter-chip","ix-icon-button","ix-select-item","ix-spinner","ix-tooltip","ix-typography"].forEach((t=>{switch(t){case"ix-select":customElements.get(n(t))||customElements.define(n(t),W);break;case"ix-dropdown":customElements.get(n(t))||C();break;case"ix-dropdown-item":customElements.get(n(t))||I();break;case"ix-field-label":customElements.get(n(t))||A();break;case"ix-field-wrapper":customElements.get(n(t))||E();break;case"ix-filter-chip":customElements.get(n(t))||T();break;case"ix-icon-button":customElements.get(n(t))||D();break;case"ix-select-item":customElements.get(n(t))||V();break;case"ix-spinner":customElements.get(n(t))||S();break;case"ix-tooltip":customElements.get(n(t))||R();break;case"ix-typography":customElements.get(n(t))||L()}}))}!function(t,e,i,s){var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);r>3&&n&&Object.defineProperty(e,i,n)}([O()],W.prototype,"onValidationChange",null);export{W as S,B as d}
@@ -1 +1 @@
1
- import{j as t}from"./p-CtDOTMOT.js";const n={target:"window",defaultEnabled:!0};function e(e,i){return(o,s)=>{const{componentWillLoad:_,componentWillRender:r,disconnectedCallback:c}=o;i&&(o.componentWillRender=function(){const n=t(this);return n[`__ix__${s}`]?.enable(i(this)),r&&r.call(this)}),o.componentWillLoad=function(){const i=function(t,e={}){const i={...n,...e};let o;const s=t=>{o(t)},_={on:t=>{o=t},isEnabled:i.defaultEnabled,enable:n=>{_.isEnabled=n,n?addEventListener(t,s):removeEventListener(t,s)},destroy:()=>{_.enable(!1)}};return _.enable(!!i.defaultEnabled),_}(e),o=t(this),r=this[s];return o[`__ix__${s}`]=i,i.on(r.bind(this)),_&&_.call(this)},o.disconnectedCallback=function(){const n=t(this);return n&&n[`__ix__${s}`]&&(n[`__ix__${s}`]?.destroy(),n[`__ix__${s}`]=null),c&&c.call(this)}}}export{e as O}
1
+ import{i as t}from"./p-eN5fQtqO.js";const n={target:"window",defaultEnabled:!0};function e(e,i){return(o,s)=>{const{componentWillLoad:_,componentWillRender:r,disconnectedCallback:c}=o;i&&(o.componentWillRender=function(){const n=t(this);return n[`__ix__${s}`]?.enable(i(this)),r&&r.call(this)}),o.componentWillLoad=function(){const i=function(t,e={}){const i={...n,...e};let o;const s=t=>{o(t)},_={on:t=>{o=t},isEnabled:i.defaultEnabled,enable:n=>{_.isEnabled=n,n?addEventListener(t,s):removeEventListener(t,s)},destroy:()=>{_.enable(!1)}};return _.enable(!!i.defaultEnabled),_}(e),o=t(this),r=this[s];return o[`__ix__${s}`]=i,i.on(r.bind(this)),_&&_.call(this)},o.disconnectedCallback=function(){const n=t(this);return n&&n[`__ix__${s}`]&&(n[`__ix__${s}`]?.destroy(),n[`__ix__${s}`]=null),c&&c.call(this)}}}export{e as O}
@@ -1 +1 @@
1
- import{p as t,H as i,h as a,d as s,t as e}from"./p-CtDOTMOT.js";const r=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}noMargin=!1;gap="24";columns=12;render(){return a(s,{key:"e6f61e2437dcf9815db4f5c1d2f2a13f8e579572",class:{"no-margin":this.noMargin},style:{"--ix-layout-grid-columns":`${this.columns}`,"--ix-layout-grid-gutter":`${this.gap}px`}},a("slot",{key:"485b027cb1717fe267b919d9f6b822a18db66a4f"}))}static get style(){return":host{--ix-layout-grid-gutter:24px;display:block;flex:1 1 0%;width:100%;padding-left:calc(var(--ix-layout-grid-gutter) * 0.5);padding-right:calc(var(--ix-layout-grid-gutter) * 0.5)}:host(.no-margin){padding-left:0;padding-right:0}"}},[769,"ix-layout-grid",{noMargin:[4,"no-margin"],gap:[1],columns:[2]}]);function o(){"undefined"!=typeof customElements&&["ix-layout-grid"].forEach((t=>{"ix-layout-grid"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}export{r as L,o as d}
1
+ import{p as t,H as i,h as e,d as s,t as a}from"./p-eN5fQtqO.js";const r=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}noMargin=!1;gap="24";columns=12;render(){return e(s,{key:"bbbb190067242d1af34db168445410d8dc223288",class:{"no-margin":this.noMargin},style:{"--ix-layout-grid-columns":`${this.columns}`,"--ix-layout-grid-gutter":`${this.gap}px`}},e("slot",{key:"efe37496334ae57f28e90d612e3598f606c66036"}))}static get style(){return":host{--ix-layout-grid-gutter:24px;display:block;flex:1 1 0%;width:100%;padding-left:calc(var(--ix-layout-grid-gutter) * 0.5);padding-right:calc(var(--ix-layout-grid-gutter) * 0.5)}:host(.no-margin){padding-left:0;padding-right:0}"}},[769,"ix-layout-grid",{noMargin:[4,"no-margin"],gap:[1],columns:[2]}]);function o(){"undefined"!=typeof customElements&&["ix-layout-grid"].forEach((t=>{"ix-layout-grid"===t&&(customElements.get(a(t))||customElements.define(a(t),r))}))}export{r as L,o as d}
@@ -0,0 +1 @@
1
+ import{p as o,M as t,h as r,d as e,t as n}from"./p-eN5fQtqO.js";import{a as i}from"./p-DD206pTM.js";import{D as c}from"./p-CApDAYIa.js";import{m as a}from"./p-Djkc69iv.js";import{d as l}from"./p-D_VBAyPm.js";import{d as s}from"./p-YFmbQndr.js";const h=o(class extends(t(...c)){constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}variant="primary";outline=!1;icon;ariaLabelIcon;background;pillColor;alignLeft=!1;tooltipText=!1;iconOnly=!1;containerElementRef=a();componentWillLoad(){this.checkIfContentAvailable()}checkIfContentAvailable(){this.iconOnly=!(this.hostElement.children.length>0||this.hostElement.textContent)}getTooltip(){if(!this.tooltipText&&!this.hostElement.hasAttribute("tooltip-text"))return null;const o="string"==typeof this.tooltipText&&this.tooltipText.trim()?this.tooltipText:this.hostElement.textContent?.trim();return r("ix-tooltip",{for:this.containerElementRef.waitForCurrent(),"aria-label":o||void 0},o)}render(){let o={};"custom"===this.variant&&(o={color:this.pillColor,[this.outline?"borderColor":"backgroundColor"]:this.background});const t=this.hostElement.hasAttribute("aria-label")||this.hostElement.hasAttribute("aria-labelledby");let n;this.hostElement.hasAttribute("role")?n=this.hostElement.getAttribute("role")??void 0:t&&(n="group");const c=!this.ariaLabelIcon?.trim();return r(e,{key:"a68cdabb69942bd85c2d229ff0de5b0e4870fac8",style:"custom"===this.variant?{"--ix-icon-button-color":this.pillColor}:{},class:{"align-left":this.alignLeft},role:n},r("div",{key:"7fea53cccace32e07ca035dcf78382c237d60e4e",ref:this.containerElementRef,style:{...o},class:{container:!0,outline:this.outline,inactive:!1,alarm:"alarm"===this.variant,critical:"critical"===this.variant,info:"info"===this.variant,neutral:"neutral"===this.variant,primary:"primary"===this.variant,success:"success"===this.variant,warning:"warning"===this.variant,custom:"custom"===this.variant,closable:!1,icon:!!this.icon,"with-gap":!this.iconOnly}},this.icon&&r("ix-icon",{key:"7961f3198ebd6c876284f624f59f356968f56768",class:{"with-icon":!0},name:this.icon,size:"16","aria-label":this.ariaLabelIcon,"aria-hidden":i(c)}),r("span",{key:"51c432b9308c9196ba5dc1c0875a4e081c856589",class:"slot-container"},r("slot",{key:"1aee2adfc52e1e1ed00d6947bb73fd0f5dcae6ff",onSlotchange:()=>this.checkIfContentAvailable()}))),this.getTooltip())}static get style(){return":host{display:inline-block;position:relative;height:1.25rem;max-height:1.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host *::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host *{}:host *::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host *{}:host *::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host *::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host *{}:host *::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host *{}:host *::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host *::-webkit-scrollbar-corner{display:none}.container{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;vertical-align:top;height:2rem;max-height:2rem;cursor:default}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline{padding-left:calc(0.5rem - 0.0625rem)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning-text)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 0.0625rem)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 0.0625rem)}.container:not(.outline){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive,.container:not(.outline):not(.closable){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-primary-outline--background);border:solid 0.0625rem var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.outline{border-width:0.0625rem;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.container.info{color:var(--theme-color-info--contrast)}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.container.success{color:var(--theme-color-success--contrast)}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}:host .container{height:100%;justify-content:center}:host .container .with-icon{margin-right:0}:host .container.outline{background-color:var(--theme-pill-outline--background)}:host .container.outline.icon{padding-left:0.4375rem;padding-right:0.4375rem}:host .container:not(.outline).icon{padding-left:0.5rem;padding-right:0.5rem}:host .with-gap{gap:0.25rem}:host(.align-left) .container{justify-content:flex-start}"}},[769,"ix-pill",{variant:[513],outline:[4],icon:[1],ariaLabelIcon:[1,"aria-label-icon"],background:[1],pillColor:[1,"pill-color"],alignLeft:[4,"align-left"],tooltipText:[8,"tooltip-text"],iconOnly:[32]}]);function u(){"undefined"!=typeof customElements&&["ix-pill","ix-tooltip","ix-typography"].forEach((o=>{switch(o){case"ix-pill":customElements.get(n(o))||customElements.define(n(o),h);break;case"ix-tooltip":customElements.get(n(o))||l();break;case"ix-typography":customElements.get(n(o))||s()}}))}export{h as P,u as d}
@@ -0,0 +1 @@
1
+ import{p as r,H as o,h as t,d as e,t as a}from"./p-eN5fQtqO.js";import{b as i}from"./p-DD206pTM.js";const l=r(class extends o{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}variant="secondary";size="medium";hideTrack=!1;render(){const r=i(this.hostElement);return void 0===r["aria-label"]&&(r["aria-label"]="Loading"),r.role="status",r["aria-busy"]="true",t(e,{key:"4c85678a69f2221a2a896cecbf4ea2a52c63eee3",...r},t("div",{key:"8f901307a70b082f18e02d536eaac478a086ac3e",class:{primary:"primary"===this.variant,[this.size]:!0,"hide-track":this.hideTrack}}))}static get style(){return':host{display: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}.xx-small{width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.xx-small::after{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.xx-small:not(.hide-track)::before{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display: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}.x-small{width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.x-small::after{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.x-small:not(.hide-track)::before{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display: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}.small{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.small::after{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.small:not(.hide-track)::before{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display: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}.medium{width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.medium::after{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.medium:not(.hide-track)::before{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display: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}.large{width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.large::after{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.large:not(.hide-track)::before{content:"";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}'}},[513,"ix-spinner",{variant:[1],size:[1],hideTrack:[4,"hide-track"]}]);function s(){"undefined"!=typeof customElements&&["ix-spinner"].forEach((r=>{"ix-spinner"===r&&(customElements.get(a(r))||customElements.define(a(r),l))}))}export{l as S,s as d}
@@ -0,0 +1 @@
1
+ import{p as e,H as t,e as i,h as o,d as a,t as r}from"./p-eN5fQtqO.js";import{D as s}from"./p-D1WplX1z.js";import{b as n}from"./p-DWOjSq8j.js";import{d as m}from"./p-q_MHsaAK.js";import{d as c}from"./p-tpMN9yTQ.js";import{d}from"./p-D5-dW4IM.js";import{d as h}from"./p-DiYkfhDE.js";import{d as l}from"./p-CGGWaScq.js";import{d as b}from"./p-DzDB4UBp.js";import{d as p}from"./p-n2_EOgMr.js";import{d as u}from"./p-CiP3eKpd.js";import{d as x}from"./p-BHtNsBtM.js";import{d as f}from"./p-R5tYZVVd.js";import{d as k}from"./p-BKVBe7Co.js";import{d as g}from"./p-DLgZfUmI.js";import{d as w}from"./p-YFmbQndr.js";function y(e){return e.search(/[HhmsaSZ]/)}function T(e,t="yyyy/LL/dd"){const i=y(e);if(-1===i)return e;let o=i;for(;o>0&&" \t'T".includes(e[o-1]);)o--;const a=e.slice(0,o).trimEnd();return""===a?t:a}function D(e,t="HH:mm:ss"){const i=y(e);return-1===i?t:e.slice(i)}const v=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.timeChange=i(this,"timeChange",7),this.dateChange=i(this,"dateChange",7),this.dateSelect=i(this,"dateSelect",7)}get hostElement(){return this}singleSelection=!1;minDate;maxDate;dateFormat="yyyy/LL/dd";timeFormat="HH:mm:ss";minTime;maxTime;from;to;time;showTimeReference=!1;timeReference;i18nDone="Done";i18nTime="Time";ariaLabelPreviousMonthButton="Previous month";ariaLabelNextMonthButton="Next month";weekStartIndex=0;locale;showWeekNumbers=!1;embedded=!1;timeChange;dateChange;dateSelect;datePickerElement;timePickerElement;selectedFromDate;hasTimeConstraintsConfigured(){return!(!this.minTime?.trim()&&!this.maxTime?.trim())}warnIfRangeModeIgnoresTimeConstraints(){!this.singleSelection&&this.hasTimeConstraintsConfigured()&&console.warn("[ix-datetime-picker] `minTime`/`maxTime` are ignored when range selection is enabled (`singleSelection=false`).")}watchFromPropHandler(e){this.selectedFromDate=e}watchSingleSelectionPropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}watchMinTimePropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}watchMaxTimePropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}componentWillLoad(){this.selectedFromDate=this.from,this.warnIfRangeModeIgnoresTimeConstraints()}get dateOnlyFormat(){return T(this.dateFormat)}parseDateValue(e){if(!e)return null;let t=s.fromFormat(e,this.dateFormat,{locale:this.locale});return t.isValid||(t=s.fromFormat(e,this.dateOnlyFormat,{locale:this.locale})),t.isValid?t:null}parseDateConstraint(e,t){const i=this.parseDateValue(e);return i?"start"===t?i.startOf("day"):i.endOf("day"):null}getSelectedFromDateTime(){const e=this.parseDateValue(this.selectedFromDate);return e?e.startOf("day"):null}getEffectiveTimeConstraints(){if(!this.singleSelection)return{minTime:void 0,maxTime:void 0};if(!this.minDate&&!this.maxDate)return{minTime:this.minTime,maxTime:this.maxTime};const e=this.getSelectedFromDateTime();if(!e?.isValid)return{minTime:void 0,maxTime:void 0};const t=this.parseDateConstraint(this.minDate,"start"),i=this.parseDateConstraint(this.maxDate,"end"),o=!!t?.isValid&&!!e?.isValid&&e.hasSame(t,"day"),a=!!i?.isValid&&e.hasSame(i,"day");return{minTime:o?this.minTime:void 0,maxTime:a?this.maxTime:void 0}}async onDone(){const e=await(this.datePickerElement?.getCurrentDate()),t=await(this.timePickerElement?.getCurrentTime());this.dateSelect.emit({from:e?.from??"",to:e?.to??"",time:t??""})}async onDateChange(e){e.preventDefault(),e.stopPropagation();const{detail:t}=e;this.selectedFromDate="string"==typeof t?t:t?.from,this.dateChange.emit(t)}async onTimeChange(e){e.preventDefault(),e.stopPropagation();const{detail:t}=e;this.timeChange.emit(t)}async getDatepickerElement(){return this.datePickerElement}async getTimepickerElement(){return this.timePickerElement}render(){const{minTime:e,maxTime:t}=this.getEffectiveTimeConstraints();return o(a,{key:"74103cbb608cda32c6ce7792b2c0a3638b04c02b"},o("ix-date-time-card",{key:"f9b1c284b74416ee9f84633ed1fd6fed292a341a",hideHeader:!0,hasFooter:!0,embedded:this.embedded,corners:"rounded",noPadding:!0},o("ix-layout-grid",{key:"3ec94694fb618b94535c799c31a711f73f577b02",class:"no-padding"},o("ix-row",{key:"d45083e8d657c9dc08c3a43150051ca4abf39593",class:"row-separator"},o("ix-col",{key:"3688c2ee4e7dabf91953a3e685c7b8d10f087925",class:"col-separator"},o("ix-date-picker",{key:"9f3bcce5cedd9d5bb449030c7c4cab16522c95f7",ref:e=>this.datePickerElement=e,corners:"left",singleSelection:this.singleSelection,onDateChange:e=>this.onDateChange(e),from:this.from,to:this.to,format:this.dateFormat,minDate:this.minDate,maxDate:this.maxDate,weekStartIndex:this.weekStartIndex,embedded:!0,locale:this.locale,showWeekNumbers:this.showWeekNumbers,ariaLabelPreviousMonthButton:this.ariaLabelPreviousMonthButton,ariaLabelNextMonthButton:this.ariaLabelNextMonthButton,tabIndex:this.embedded?-1:0,[n]:this.embedded})),o("ix-col",{key:"8d9e526e746b316e558144f0bf5a630168ddde6a"},o("ix-time-picker",{key:"1d726de042a1b1b1d8b61870f028e4cd46b6a72e",class:"min-width",ref:e=>this.timePickerElement=e,embedded:!0,dateTimePickerAppearance:!0,onTimeChange:e=>this.onTimeChange(e),format:this.timeFormat,time:this.time,minTime:e,maxTime:t,tabIndex:this.embedded?-1:0,[n]:this.embedded})))),o("div",{key:"923cd8d5baad08e240c32c7ecaa33177afe4b12a",slot:"footer",class:"btn-select-date-container"},o("ix-button",{key:"552314657eb3bf326e15b098561cff1cad0fc0d9",class:"btn-select-date",onClick:()=>this.onDone()},this.i18nDone))))}static get watchers(){return{from:[{watchFromPropHandler:0}],singleSelection:[{watchSingleSelectionPropHandler:0}],minTime:[{watchMinTimePropHandler:0}],maxTime:[{watchMaxTimePropHandler:0}]}}static get style(){return":host{display:block;position:relative;width:-moz-min-content;width:min-content}: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 ix-time-picker{width:100%}:host .no-padding{padding:0}:host ix-col{display:flex;flex-direction:column;padding:0}:host .flex{display:flex;justify-content:center;flex-direction:column}:host .col-separator{border-bottom:0.0625rem solid var(--theme-datepicker-separator--background);border-right:none}@media (min-width: 576px){:host{min-width:-moz-max-content;min-width:max-content}:host .btn-select-date-container{display:inline-flex;flex-grow:1}:host .btn-select-date-container ix-button{margin-left:auto;margin-top:auto}:host .min-width{width:-moz-min-content;width:min-content}:host ix-time-picker{width:initial}:host .col-separator{border-right:0.0625rem solid var(--theme-datepicker-separator--background);border-bottom:none}}:host .individual{box-shadow:none;border:none}:host .btn-select-date-container{display:flex;justify-content:flex-end}@media (max-width: 576px){:host .btn-select-date-container .btn-select-date{width:100%}}"}},[513,"ix-datetime-picker",{singleSelection:[4,"single-selection"],minDate:[1,"min-date"],maxDate:[1,"max-date"],dateFormat:[1,"date-format"],timeFormat:[1,"time-format"],minTime:[1,"min-time"],maxTime:[1,"max-time"],from:[1],to:[1],time:[1],showTimeReference:[4,"show-time-reference"],timeReference:[1,"time-reference"],i18nDone:[1,"i18n-done"],i18nTime:[1,"i18n-time"],ariaLabelPreviousMonthButton:[1,"aria-label-previous-month-button"],ariaLabelNextMonthButton:[1,"aria-label-next-month-button"],weekStartIndex:[2,"week-start-index"],locale:[1],showWeekNumbers:[4,"show-week-numbers"],embedded:[4],selectedFromDate:[32],getDatepickerElement:[64],getTimepickerElement:[64]},void 0,{from:[{watchFromPropHandler:0}],singleSelection:[{watchSingleSelectionPropHandler:0}],minTime:[{watchMinTimePropHandler:0}],maxTime:[{watchMaxTimePropHandler:0}]}]);function E(){"undefined"!=typeof customElements&&["ix-datetime-picker","ix-button","ix-col","ix-date-picker","ix-date-time-card","ix-dropdown","ix-dropdown-button","ix-dropdown-item","ix-icon-button","ix-layout-grid","ix-row","ix-spinner","ix-time-picker","ix-typography"].forEach((e=>{switch(e){case"ix-datetime-picker":customElements.get(r(e))||customElements.define(r(e),v);break;case"ix-button":customElements.get(r(e))||m();break;case"ix-col":customElements.get(r(e))||c();break;case"ix-date-picker":customElements.get(r(e))||d();break;case"ix-date-time-card":customElements.get(r(e))||h();break;case"ix-dropdown":customElements.get(r(e))||l();break;case"ix-dropdown-button":customElements.get(r(e))||b();break;case"ix-dropdown-item":customElements.get(r(e))||p();break;case"ix-icon-button":customElements.get(r(e))||u();break;case"ix-layout-grid":customElements.get(r(e))||x();break;case"ix-row":customElements.get(r(e))||f();break;case"ix-spinner":customElements.get(r(e))||k();break;case"ix-time-picker":customElements.get(r(e))||g();break;case"ix-typography":customElements.get(r(e))||w()}}))}export{v as D,D as a,E as d,T as g}
@@ -0,0 +1 @@
1
+ import{i}from"./p-eN5fQtqO.js";import{i as n}from"./p-XBTykBKS.js";async function t(i){if("function"==typeof i.isTouched)return i.isTouched()}async function r(i){if(i.getAssociatedFormElement&&"function"==typeof i.getAssociatedFormElement){const n=await i.getAssociatedFormElement();return!!n&&n.noValidate}return!1}function a(i,n,t){const r=new MutationObserver(n);return r.observe(i,{subtree:t?.includeChildren,childList:t?.includeChildren,attributes:!0,attributeFilter:["class"]}),{destroy(){r.disconnect()}}}function e(i,n,t){return i.classList.contains(`${n}`)||!!t&&!!i.querySelector(`.${n}`)}function o(i,n=!1){return{isInvalid:e(i,"ix-invalid",n)||e(i,"ix-invalid--validity-invalid",n),isInvalidByRequired:e(i,"ix-invalid--required",n),isValid:e(i,"ix-valid",n),isInfo:e(i,"ix-info",n),isWarning:e(i,"ix-warning",n)}}class u extends Error{constructor(i="Input element not found"){super(i),this.name="NativeInputNotFoundError"}}function s(i){return i instanceof u||i instanceof Error&&"NativeInputNotFoundError"===i.name}function c(e){return(u,c)=>{let l,d,f=null;const{componentWillLoad:v,disconnectedCallback:h,connectedCallback:p}=u;u.connectedCallback=function(){const a=i(this);return null!=f&&(clearTimeout(f),f=null),l=async()=>{if(await r(a)||!a.isConnected)return;if(!n(a))return;let i;try{i=await(a.getNativeInputElement?.())}catch(n){if(!s(n))throw n;i=void 0}if(a.isConnected){if(a.hasValidValue&&"function"==typeof a.hasValidValue){const i=await a.hasValidValue(),n=await t(a);if(!a.isConnected)return;a.required?a.classList.toggle("ix-invalid--required",!i&&n):a.classList.remove("ix-invalid--required")}if(a.getValidityState&&"function"==typeof a.getValidityState){const n=await a.getValidityState(),r=await t(a);if(!a.isConnected)return;a.classList.toggle("ix-invalid--validity-patternMismatch",n.patternMismatch),a.classList.toggle("ix-invalid--validity-invalid",!n.valid&&r);const e=a.shadowRoot?.querySelector("ix-field-wrapper");if(i&&e){const t=await e.getAriaErrorMessageElement(),r=await e.getAriaHelperMessageElement();if(!a.isConnected)return;r&&i.setAttribute("aria-describedby",`${r.id}`),n.valid?i?.removeAttribute("aria-invalid"):(i?.setAttribute("aria-invalid","true"),t&&!n.valid&&(i.setAttribute("aria-errormessage",`${t.id}`),i.setAttribute("aria-describedby",`${t.id}`)))}}}},a.addEventListener("checkedChange",l),a.addEventListener("valueChange",l),a.addEventListener("ixBlur",l),f=setTimeout((()=>{f=null,l&&l().catch((i=>{s(i)||console.error(i)}))})),p?.call(this)},u.componentWillLoad=function(){const n=i(this);d=a(n,(()=>{const i=o(n,e?.includeChildren);u[c].call(this,i)}),e);const t=o(n,e?.includeChildren);return u[c].call(this,t),v?.call(this)},u.disconnectedCallback=function(){const n=i(this);return null!=f&&(clearTimeout(f),f=null),n&&d&&(d.destroy(),d=null),n&&l&&(n.removeEventListener("checkedChange",l),n.removeEventListener("valueChange",l),n.removeEventListener("ixBlur",l),l=null),h?.call(this)}}}function l(i,n,t){return i?n??t:n}export{c as H,u as N,o as a,a as c,l as g,r as s}
@@ -0,0 +1 @@
1
+ import{p as r,M as t,h as o,d as e,t as a}from"./p-eN5fQtqO.js";import{D as s}from"./p-CApDAYIa.js";import{C as b}from"./p-Dpk_WgCl.js";const l=r(class extends(t(...s,b)){constructor(r){super(!1),!1!==r&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}tabKey;connectedCallback(){this.hostElement.hidden=!0}render(){return o(e,{key:"45f94d501555a0b3049353e3ad6ad44797de3892",role:"tabpanel",id:this.getHostElementId()},o("slot",{key:"eb086cb5407b0d2f30d4a5310ff5668c0dadd4cc"}))}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(:focus-visible){outline:none}"}},[769,"ix-tab-panel",{tabKey:[513,"tab-key"]}]);function c(){"undefined"!=typeof customElements&&["ix-tab-panel"].forEach((r=>{"ix-tab-panel"===r&&(customElements.get(a(r))||customElements.define(a(r),l))}))}export{l as T,c as d}
@@ -0,0 +1 @@
1
+ import{p as t,H as r,e,h as o,t as s}from"./p-eN5fQtqO.js";import{m as a}from"./p-Djkc69iv.js";import{d as c}from"./p-n2_EOgMr.js";const i=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.itemClick=e(this,"itemClick",7)}get hostElement(){return this}icon;label;itemClick;dropdownItemRef=a();async getDropdownItemElement(){return this.dropdownItemRef.waitForCurrent()}render(){return o("ix-dropdown-item",{key:"4ace9b42e923f07eafa2280318a258f3a8be422d",ref:this.dropdownItemRef,icon:this.icon,label:this.label,onClick:t=>this.itemClick.emit(t)})}static get style(){return":host{display:block;color:var(--theme-color-std-text)}: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}"}},[513,"ix-menu-avatar-item",{icon:[1],label:[1],getDropdownItemElement:[64]}]);function l(){"undefined"!=typeof customElements&&["ix-menu-avatar-item","ix-dropdown-item"].forEach((t=>{switch(t){case"ix-menu-avatar-item":customElements.get(s(t))||customElements.define(s(t),i);break;case"ix-dropdown-item":customElements.get(s(t))||c()}}))}export{i as M,l as d}
@@ -0,0 +1 @@
1
+ class t{static#t={short:0,default:150,medium:300,slow:500,xslow:1e3};static#e=null;static parseTime(t,e){const s=t.trim();if(0===s.length)return e;const i=s.match(/^(-?\d*\.?\d+)(ms|s)?$/);if(!i)return e;const[,r,n="ms"]=i,o=Number(r);return Number.isFinite(o)?"s"===n?1e3*o:o:e}static ensureCache(){if(null!==this.#e)return this.#e;if("undefined"==typeof window)return this.#e={...this.#t},this.#e;const t=document.documentElement||document.body,e=window.getComputedStyle(t),s=(t,s)=>{const i=e.getPropertyValue(t)?.trim();return i?this.parseTime(i,s):s};return this.#e={short:s("--theme-short-time",this.#t.short),default:s("--theme-default-time",this.#t.default),medium:s("--theme-medium-time",this.#t.medium),slow:s("--theme-slow-time",this.#t.slow),xslow:s("--theme-x-slow-time",this.#t.xslow)},this.#e}static prefersReducedMotion(){return!("undefined"==typeof window||!window.matchMedia)&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}static get shortTime(){const t=this.ensureCache().short;return this.prefersReducedMotion()?0:t}static get defaultTime(){const t=this.ensureCache().default;return this.prefersReducedMotion()?0:t}static get mediumTime(){const t=this.ensureCache().medium;return this.prefersReducedMotion()?0:t}static get slowTime(){const t=this.ensureCache().slow;return this.prefersReducedMotion()?0:t}static get xSlowTime(){const t=this.ensureCache().xslow;return this.prefersReducedMotion()?0:t}}export{t as A}
@@ -0,0 +1 @@
1
+ import{p as e,H as t,h as i,d as s,t as a}from"./p-eN5fQtqO.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(s,{key:"9c9d2e38edbd21c21f2fbc3c451f0f73728463f5"},i("slot",{key:"72878e063e7df669a90da5caeff705dd794080fc"}),i("div",{key:"ed8aa8ecef81523223b40c3497de63306df4a4a0",class:"title-actions"},i("slot",{key:"3827e0881d1617636640a2953476fb2bfb13f881",name:"title-actions"})))}static get style(){return":host{display:flex;position:relative;flex-direction:row;align-items:center;margin-top:0.25rem;margin-bottom:0.25rem;gap:1rem;width:100%}:host .title-actions{display:flex;position:relative;flex-direction:row;gap:0.25rem;margin-left:auto;margin-right:0}"}},[257,"ix-card-title"]);function o(){"undefined"!=typeof customElements&&["ix-card-title"].forEach((e=>{"ix-card-title"===e&&(customElements.get(a(e))||customElements.define(a(e),r))}))}export{r as C,o as d}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,d as s,t as r}from"./p-CtDOTMOT.js";import{b as o}from"./p-C21npbUc.js";import{i as a}from"./p-XBTykBKS.js";import{m as l}from"./p-Djkc69iv.js";import{c as n}from"./p-Dw_A3HUC.js";import{d as h}from"./p-1KOHyx-1.js";import{c as d}from"./p-BWknDysp.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}required;htmlFor;controlRef;isInvalid=!1;textOverflow="wrap";explicitIsInvalid=void 0;isInvalidChanged(t){this.explicitIsInvalid=t}htmlForObserver=new MutationObserver((()=>this.checkForInternalState()));htmlForClassObserver;controlRefClassObserver;a11yAttributes={};labelRef=l();connectedCallback(){this.registerHtmlForObserver(),this.registerControlRefObserver()}disconnectedCallback(){this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.controlRefClassObserver&&this.controlRefClassObserver.destroy()}componentWillRender(){this.checkForInternalState(),n(this.hostElement,"ix-range-field")&&(this.textOverflow="no-wrap")}componentWillLoad(){this.a11yAttributes=o(this.hostElement)}registerHtmlForObserver(){"undefined"!=typeof window&&(this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlFor&&this.htmlForObserver.observe(window.document,{childList:!0,subtree:!0}))}async registerControlRefObserver(){if("undefined"!=typeof window&&(this.controlRefClassObserver&&this.controlRefClassObserver.destroy(),this.controlRef&&!this.htmlFor)){const t=await this.controlRef.waitForCurrent();this.controlRefClassObserver=d(t,(()=>this.checkForInvalidState(t)))}}registerHtmlForClassObserver(t){this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.htmlForClassObserver=d(t,(()=>this.checkForInvalidState(t)))}checkForInvalidState(t){const e=t.classList.contains("is-invalid")||t.classList.contains("ix-invalid");this.isInvalid=this.explicitIsInvalid??e}async checkForInternalState(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t)return"boolean"==typeof t.required&&(this.required=t.required),this.registerHtmlForClassObserver(t),void this.checkForInvalidState(t)}if(this.controlRef){const t=await this.controlRef.waitForCurrent();this.required=t.required}}async focusOnClick(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t){let e=null;e=a(t)?await t.getNativeInputElement():t,"function"==typeof e.focus&&e.focus()}}this.controlRef&&(await this.controlRef.waitForCurrent()).focus()}render(){return i(s,{key:"0fdcf56a50a448dd0d58e70d4389105d79ace1d3",onClick:()=>this.focusOnClick(),class:{"text-overflow-wrap":"wrap"===this.textOverflow,"text-overflow-no-wrap":"no-wrap"===this.textOverflow}},i("label",{key:"985b6494c3ecc3cbe3071a352dd375a785366ea7",htmlFor:this.htmlFor,...this.a11yAttributes,ref:this.labelRef},i("ix-typography",{key:"1fae47aef80983c02272b73b5d2de4969aa87daf",textColor:this.isInvalid?"alarm":"soft",format:"label"},i("slot",{key:"706a5c9687ac5fea48d9efda67b660ed78b999df"}),this.required&&i("span",{key:"fa1da16ab40a270019534c26b17e8771f478eb4e"},"*"))))}static get watchers(){return{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}}static get style(){return":host{display:inline-block;position:relative;margin-top:0.5rem;margin-bottom:0.25rem}:host(.text-overflow-no-wrap){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host(.text-overflow-no-wrap) ix-typography{text-overflow:ellipsis;overflow:hidden}"}},[769,"ix-field-label",{required:[1540],htmlFor:[513,"html-for"],controlRef:[16],isInvalid:[1028,"is-invalid"],textOverflow:[32]},void 0,{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}]);function f(){"undefined"!=typeof customElements&&["ix-field-label","ix-typography"].forEach((t=>{switch(t){case"ix-field-label":customElements.get(r(t))||customElements.define(r(t),c);break;case"ix-typography":customElements.get(r(t))||h()}}))}export{c as F,f as d}
1
+ import{p as t,H as e,h as i,d as s,t as r}from"./p-eN5fQtqO.js";import{b as o}from"./p-DD206pTM.js";import{i as a}from"./p-XBTykBKS.js";import{m as l}from"./p-Djkc69iv.js";import{c as n}from"./p-Dw_A3HUC.js";import{d as h}from"./p-YFmbQndr.js";import{c as d}from"./p-BTBxxgtF.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}required;htmlFor;controlRef;isInvalid=!1;textOverflow="wrap";explicitIsInvalid=void 0;isInvalidChanged(t){this.explicitIsInvalid=t}htmlForObserver=new MutationObserver((()=>this.checkForInternalState()));htmlForClassObserver;controlRefClassObserver;a11yAttributes={};labelRef=l();connectedCallback(){this.registerHtmlForObserver(),this.registerControlRefObserver()}disconnectedCallback(){this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.controlRefClassObserver&&this.controlRefClassObserver.destroy()}componentWillRender(){this.checkForInternalState(),n(this.hostElement,"ix-range-field")&&(this.textOverflow="no-wrap")}componentWillLoad(){this.a11yAttributes=o(this.hostElement)}registerHtmlForObserver(){"undefined"!=typeof window&&(this.htmlForObserver&&this.htmlForObserver.disconnect(),this.htmlFor&&this.htmlForObserver.observe(window.document,{childList:!0,subtree:!0}))}async registerControlRefObserver(){if("undefined"!=typeof window&&(this.controlRefClassObserver&&this.controlRefClassObserver.destroy(),this.controlRef&&!this.htmlFor)){const t=await this.controlRef.waitForCurrent();this.controlRefClassObserver=d(t,(()=>this.checkForInvalidState(t)))}}registerHtmlForClassObserver(t){this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.htmlForClassObserver=d(t,(()=>this.checkForInvalidState(t)))}checkForInvalidState(t){const e=t.classList.contains("is-invalid")||t.classList.contains("ix-invalid");this.isInvalid=this.explicitIsInvalid??e}async checkForInternalState(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t)return"boolean"==typeof t.required&&(this.required=t.required),this.registerHtmlForClassObserver(t),void this.checkForInvalidState(t)}if(this.controlRef){const t=await this.controlRef.waitForCurrent();this.required=t.required}}async focusOnClick(){if(this.htmlFor){const t=document.getElementById(this.htmlFor);if(t){let e=null;e=a(t)?await t.getNativeInputElement():t,"function"==typeof e.focus&&e.focus()}}this.controlRef&&(await this.controlRef.waitForCurrent()).focus()}render(){return i(s,{key:"a228926a776118e196b07787d6a32c2241f60404",onClick:()=>this.focusOnClick(),class:{"text-overflow-wrap":"wrap"===this.textOverflow,"text-overflow-no-wrap":"no-wrap"===this.textOverflow}},i("label",{key:"9e30a5944eed06c87108bb95dc18fd8965a7830e",htmlFor:this.htmlFor,...this.a11yAttributes,ref:this.labelRef},i("ix-typography",{key:"efe6d7b8de49a4ed5ba305d0d3f125fe6b1d3658",textColor:this.isInvalid?"alarm":"soft",format:"label"},i("slot",{key:"189e87c98f4c77a11a9bfb3a2b5d397f2993d241"}),this.required&&i("span",{key:"d0c29240d16c2e98b1d21b0ae21518c886be5643"},"*"))))}static get watchers(){return{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}}static get style(){return":host{display:inline-block;position:relative;margin-top:0.5rem;margin-bottom:0.25rem}:host(.text-overflow-no-wrap){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host(.text-overflow-no-wrap) ix-typography{text-overflow:ellipsis;overflow:hidden}"}},[769,"ix-field-label",{required:[1540],htmlFor:[513,"html-for"],controlRef:[16],isInvalid:[1028,"is-invalid"],textOverflow:[32]},void 0,{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}]);function f(){"undefined"!=typeof customElements&&["ix-field-label","ix-typography"].forEach((t=>{switch(t){case"ix-field-label":customElements.get(r(t))||customElements.define(r(t),c);break;case"ix-typography":customElements.get(r(t))||h()}}))}export{c as F,f as d}
@@ -0,0 +1 @@
1
+ import{p as o,M as r,e as c,h as i,d as e,t as a}from"./p-eN5fQtqO.js";import{B as t}from"./p-DsVj4Cd-.js";import{a as n}from"./p-DD206pTM.js";import{D as l}from"./p-CApDAYIa.js";import{I as h}from"./p-BF2IsI5j.js";import{m as p}from"./p-Djkc69iv.js";import{C as u}from"./p-4ZsT_zIm.js";import{d as s}from"./p-D_VBAyPm.js";import{d as m}from"./p-YFmbQndr.js";const b=o(class extends(r(...l,h)){constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.closeChip=c(this,"closeChip",7)}get hostElement(){return this}variant="primary";inactive=!1;closable=!1;icon;ariaLabelIcon;background;chipColor;outline=!1;tooltipText=!1;centerContent=!1;ariaLabelCloseButton="Close chip";closeChip;containerElementRef=p();getIgnoredAriaAttributes(){return["role"]}componentWillLoad(){super.componentWillLoad()}getTooltip(){if(!this.tooltipText&&!this.hostElement.hasAttribute("tooltip-text"))return null;const o="string"==typeof this.tooltipText&&this.tooltipText.trim()?this.tooltipText:this.hostElement.textContent?.trim();return i("ix-tooltip",{for:this.containerElementRef.waitForCurrent(),"aria-label":o||void 0},o)}getCustomStyles(o){const r={},c={};return"custom"!==o||(c.color=this.chipColor,this.chipColor&&(r.color=this.chipColor),this.outline&&this.background?r.borderColor=this.background:!this.outline&&this.background&&(c.backgroundColor=this.background)),{wrap:r,main:c}}getIconStyle(o){if("custom"===o)return{color:this.outline?this.background:this.chipColor}}getHostRole(o){return this.hostElement.hasAttribute("role")?this.hostElement.getAttribute("role")??void 0:o?"group":void 0}render(){const o=u.includes(this.variant)?this.variant:"primary",{wrap:r,main:c}=this.getCustomStyles(o),a={"chip-wrap":!0,outline:this.outline,inactive:this.inactive,alarm:"alarm"===o,critical:"critical"===o,info:"info"===o,neutral:"neutral"===o,primary:"primary"===o,success:"success"===o,warning:"warning"===o,custom:"custom"===o,closable:this.closable,icon:!!this.icon,centerContent:this.centerContent},l=!this.ariaLabelIcon?.trim(),h=!!this.inheritAriaAttributes["aria-label"]?.trim()||!!this.inheritAriaAttributes["aria-labelledby"]?.trim(),p=!!this.tooltipText||this.hostElement.hasAttribute("tooltip-text");return i(e,{key:"fb0bdb2d7e9042b738534485b9a061d02b46ccf2",role:this.getHostRole(h&&(this.closable||p)),class:{inactive:this.inactive}},i("div",{key:"ac5c890cc499cc2fa835826ec0a6ef615334cc71",ref:this.containerElementRef,class:a,style:r},i("button",{key:"e60254d5485bd02877dd115e07a8591b2ed92df6",type:"button",class:"chip-main",...this.inheritAriaAttributes,disabled:this.inactive,style:c},i("div",{key:"dd5313f7aab3494be6651eeac948bc3b741f349b",class:"content-wrapper"},this.icon&&i("ix-icon",{key:"cffde7c889b2cf176bd4b663f7d7c818147959ba",class:{"with-icon":!0},name:this.icon,size:"24","aria-label":this.ariaLabelIcon,"aria-hidden":n(l),style:this.getIconStyle(o)}),i("span",{key:"db3887d98ddf485d5763360d3911b04e65bd993b",class:"slot-container"},i("slot",{key:"ebd75fd75b61b68ae066d3070025ffbc60dccb40"})))),this.closable&&i("button",{key:"a635317fbce69bfb8df673f0784618c2203bf4e2",type:"button",class:"chip-close","aria-label":this.ariaLabelCloseButton,onClick:o=>{this.closeChip.emit(o),o.stopPropagation()}},i("ix-icon",{key:"8c82a81006d96f6e67bdb42ef1eb82381660a1bc",class:"chip-close__icon",name:t,size:"16","aria-hidden":"true"}))),this.getTooltip())}static get style(){return':host{display:inline-block;position:relative;height:2rem;max-height:2rem}: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}.chip-wrap{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:stretch;border-radius:100px;vertical-align:top;min-height:2rem;max-height:2rem}.chip-wrap .chip-main{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0;box-sizing:border-box;display:inline-flex;align-items:center;flex:1 1 auto;min-width:0;width:100%;border-radius:inherit;padding-block:0.5rem;padding-inline:0.75rem;font:inherit;text-align:inherit;color:inherit;cursor:pointer;background:transparent}.chip-wrap .chip-main:disabled{cursor:default}.chip-wrap .chip-main:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.chip-wrap .chip-main .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.chip-wrap .chip-main .with-icon{margin-right:0.25rem}.chip-wrap .chip-main .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto;min-width:0}.chip-wrap .chip-main .slot-container slot::slotted(*){max-width:100%;min-width:0}.chip-wrap.centerContent .chip-main .content-wrapper{justify-content:center;text-align:center}.chip-wrap.inactive .chip-main{pointer-events:none}.chip-wrap.outline .chip-main{padding-left:calc(0.75rem - 0.0625rem)}.chip-wrap.outline:not(.closable) .chip-main{padding-right:calc(0.75rem - 0.0625rem)}.chip-wrap.outline.closable .chip-main{padding-right:calc(0.25rem + 1.5rem + 0.375rem - 0.0625rem)}.chip-wrap:not(.outline) .chip-main{padding-left:0.75rem}.chip-wrap:not(.outline):not(.closable) .chip-main{padding-right:0.75rem}.chip-wrap:not(.outline).closable .chip-main{padding-right:calc(0.25rem + 1.5rem + 0.375rem)}.chip-wrap .chip-close{position:absolute;right:0.25rem;top:50%;transform:translateY(-50%);width:1.5rem;height:1.5rem;box-sizing:border-box;border:0;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;color:var(--theme-color-std-text);border-radius:50%;flex-shrink:0;z-index:1}.chip-wrap .chip-close:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.chip-wrap .chip-close__icon{display:block;pointer-events:none}.chip-wrap.outline{border-width:0.0625rem;border-style:solid}.chip-wrap.primary:not(.outline){color:var(--theme-chip-primary--color)}.chip-wrap.primary:not(.outline) .chip-main{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.chip-wrap.primary:not(.outline) .chip-main:hover{background-color:var(--theme-chip-primary--background--hover)}.chip-wrap.primary:not(.outline) .chip-main:active{background-color:var(--theme-chip-primary--background--active)}.chip-wrap.primary:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.primary:not(.outline) .chip-close:hover{background-color:var(--theme-chip-primary--background--hover)}.chip-wrap.primary:not(.outline) .chip-close:active{background-color:var(--theme-chip-primary--background--active)}.chip-wrap.primary.outline{color:var(--theme-chip-primary-outline--color--display);background-color:var(--theme-chip-primary-outline--background);border:solid 0.0625rem var(--theme-chip-primary-outline--border-color)}.chip-wrap.primary.outline:hover:not(.inactive){border-color:var(--theme-chip-primary-outline--border-color--hover)}.chip-wrap.primary.outline:active:not(.inactive){border-color:var(--theme-chip-primary-outline--border-color--active)}.chip-wrap.primary.outline .chip-main{background-color:transparent;color:var(--theme-chip-primary-outline--color--display)}.chip-wrap.primary.outline .chip-main:hover{background-color:var(--theme-chip-primary-outline--background--hover)}.chip-wrap.primary.outline .chip-main:active{background-color:var(--theme-chip-primary-outline--background--active)}.chip-wrap.primary.outline.icon .with-icon{color:var(--theme-color-primary)}.chip-wrap.primary.outline:hover:not(.inactive).icon .with-icon{color:var(--theme-chip-primary-outline--color--hover)}.chip-wrap.primary.outline:active:not(.inactive).icon .with-icon{color:var(--theme-chip-primary-outline--color--active)}.chip-wrap.primary.outline .chip-close{color:inherit}.chip-wrap.primary.outline .chip-close:hover{background-color:var(--theme-chip-primary-outline--background--hover)}.chip-wrap.primary.outline .chip-close:active{background-color:var(--theme-chip-primary-outline--background--active)}.chip-wrap.alarm:not(.outline){color:var(--theme-color-alarm--contrast)}.chip-wrap.alarm:not(.outline) .chip-main{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}.chip-wrap.alarm:not(.outline) .chip-main:hover{background-color:var(--theme-color-alarm--hover)}.chip-wrap.alarm:not(.outline) .chip-main:active{background-color:var(--theme-color-alarm--active)}.chip-wrap.alarm:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.alarm:not(.outline) .chip-close:hover{background-color:var(--theme-color-alarm--hover)}.chip-wrap.alarm:not(.outline) .chip-close:active{background-color:var(--theme-color-alarm--active)}.chip-wrap.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.chip-wrap.alarm.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.alarm.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.alarm.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.alarm.outline.icon .with-icon{color:var(--theme-color-alarm)}.chip-wrap.alarm.outline .chip-close{color:inherit}.chip-wrap.alarm.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.alarm.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.critical:not(.outline){color:var(--theme-color-critical--contrast)}.chip-wrap.critical:not(.outline) .chip-main{background-color:var(--theme-color-critical);color:var(--theme-color-critical--contrast)}.chip-wrap.critical:not(.outline) .chip-main:hover{background-color:var(--theme-color-critical--hover)}.chip-wrap.critical:not(.outline) .chip-main:active{background-color:var(--theme-color-critical--active)}.chip-wrap.critical:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.critical:not(.outline) .chip-close:hover{background-color:var(--theme-color-critical--hover)}.chip-wrap.critical:not(.outline) .chip-close:active{background-color:var(--theme-color-critical--active)}.chip-wrap.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.chip-wrap.critical.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.critical.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.critical.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.critical.outline.icon .with-icon{color:var(--theme-color-critical)}.chip-wrap.critical.outline .chip-close{color:inherit}.chip-wrap.critical.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.critical.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.warning:not(.outline){color:var(--theme-color-warning--contrast)}.chip-wrap.warning:not(.outline) .chip-main{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}.chip-wrap.warning:not(.outline) .chip-main:hover{background-color:var(--theme-color-warning--hover)}.chip-wrap.warning:not(.outline) .chip-main:active{background-color:var(--theme-color-warning--active)}.chip-wrap.warning:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.warning:not(.outline) .chip-close:hover{background-color:var(--theme-color-warning--hover)}.chip-wrap.warning:not(.outline) .chip-close:active{background-color:var(--theme-color-warning--active)}.chip-wrap.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.chip-wrap.warning.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.warning.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.warning.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.warning.outline.icon .with-icon{color:var(--theme-color-warning-text)}.chip-wrap.warning.outline .chip-close{color:inherit}.chip-wrap.warning.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.warning.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.info:not(.outline){color:var(--theme-color-info--contrast)}.chip-wrap.info:not(.outline) .chip-main{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}.chip-wrap.info:not(.outline) .chip-main:hover{background-color:var(--theme-color-info--hover)}.chip-wrap.info:not(.outline) .chip-main:active{background-color:var(--theme-color-info--active)}.chip-wrap.info:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.info:not(.outline) .chip-close:hover{background-color:var(--theme-color-info--hover)}.chip-wrap.info:not(.outline) .chip-close:active{background-color:var(--theme-color-info--active)}.chip-wrap.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.chip-wrap.info.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.info.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.info.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.info.outline.icon .with-icon{color:var(--theme-color-info)}.chip-wrap.info.outline .chip-close{color:inherit}.chip-wrap.info.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.info.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.neutral:not(.outline){color:var(--theme-color-neutral--contrast)}.chip-wrap.neutral:not(.outline) .chip-main{background-color:var(--theme-color-neutral);color:var(--theme-color-neutral--contrast)}.chip-wrap.neutral:not(.outline) .chip-main:hover{background-color:var(--theme-color-neutral--hover)}.chip-wrap.neutral:not(.outline) .chip-main:active{background-color:var(--theme-color-neutral--active)}.chip-wrap.neutral:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.neutral:not(.outline) .chip-close:hover{background-color:var(--theme-color-neutral--hover)}.chip-wrap.neutral:not(.outline) .chip-close:active{background-color:var(--theme-color-neutral--active)}.chip-wrap.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.chip-wrap.neutral.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.neutral.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.neutral.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.neutral.outline.icon .with-icon{color:var(--theme-color-neutral)}.chip-wrap.neutral.outline .chip-close{color:inherit}.chip-wrap.neutral.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.neutral.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.success:not(.outline){color:var(--theme-color-success--contrast)}.chip-wrap.success:not(.outline) .chip-main{background-color:var(--theme-color-success);color:var(--theme-color-success--contrast)}.chip-wrap.success:not(.outline) .chip-main:hover{background-color:var(--theme-color-success--hover)}.chip-wrap.success:not(.outline) .chip-main:active{background-color:var(--theme-color-success--active)}.chip-wrap.success:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.success:not(.outline) .chip-close:hover{background-color:var(--theme-color-success--hover)}.chip-wrap.success:not(.outline) .chip-close:active{background-color:var(--theme-color-success--active)}.chip-wrap.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}.chip-wrap.success.outline .chip-main{background-color:transparent;color:var(--theme-chip-outline--color)}.chip-wrap.success.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.success.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.success.outline.icon .with-icon{color:var(--theme-color-success)}.chip-wrap.success.outline .chip-close{color:inherit}.chip-wrap.success.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.success.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.outline .chip-close{background-color:var(--theme-chip-close-btn--background)}.chip-wrap.outline .chip-close:hover{background-color:var(--theme-chip-close-btn--background--hover)}.chip-wrap.outline .chip-close:active{background-color:var(--theme-chip-close-btn--background--active)}.chip-wrap.custom.outline{background-color:var(--theme-chip-outline--background)}.chip-wrap.custom.outline .chip-main{background-color:transparent}.chip-wrap.custom.outline .chip-main:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.custom.outline .chip-main:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.custom.outline .chip-close{color:inherit}.chip-wrap.custom.outline .chip-close:hover{background-color:var(--theme-chip-outline--background--hover)}.chip-wrap.custom.outline .chip-close:active{background-color:var(--theme-chip-outline--background--active)}.chip-wrap.custom:not(.outline) .chip-main{position:relative}.chip-wrap.custom:not(.outline) .chip-main:hover::after,.chip-wrap.custom:not(.outline) .chip-main:active::after{content:"";display:block;position:absolute;inset:0;border-radius:100px;pointer-events:none}.chip-wrap.custom:not(.outline) .chip-main:hover::after{background-color:color-mix(in srgb, currentColor 10%, transparent)}.chip-wrap.custom:not(.outline) .chip-main:active::after{background-color:color-mix(in srgb, currentColor 20%, transparent)}.chip-wrap.custom:not(.outline) .chip-close{color:inherit;background-color:var(--theme-chip-close-btn--background)}.chip-wrap.custom:not(.outline) .chip-close:hover{background-color:color-mix(in srgb, currentColor 10%, transparent)}.chip-wrap.custom:not(.outline) .chip-close:active{background-color:color-mix(in srgb, currentColor 20%, transparent)}:host(.attachment-chip) .chip-wrap{border-radius:var(--theme-btn--border-radius)}'}},[769,"ix-chip",{variant:[513],inactive:[4],closable:[4],icon:[1],ariaLabelIcon:[1,"aria-label-icon"],background:[1],chipColor:[1,"chip-color"],outline:[4],tooltipText:[8,"tooltip-text"],centerContent:[4,"center-content"],ariaLabelCloseButton:[1,"aria-label-close-button"],inheritAriaAttributes:[32]}]);function v(){"undefined"!=typeof customElements&&["ix-chip","ix-tooltip","ix-typography"].forEach((o=>{switch(o){case"ix-chip":customElements.get(a(o))||customElements.define(a(o),b);break;case"ix-tooltip":customElements.get(a(o))||s();break;case"ix-typography":customElements.get(a(o))||m()}}))}export{b as C,v as d}
@@ -0,0 +1 @@
1
+ import{p as t,M as e,e as s,h as i,d as o,t as r}from"./p-eN5fQtqO.js";import{f as a,i as n,s as h,o as d,a as l,b as c,c as u}from"./p-Bxrgt3H_.js";import{a as m}from"./p-CKoABG1h.js";import{a as b}from"./p-DWOjSq8j.js";import{q as p,f as g,I as w,a as v,b as f,c as y}from"./p-C5UTTqsv.js";import{D as x,r as k,h as E}from"./p-CApDAYIa.js";import{m as A}from"./p-Djkc69iv.js";import{r as S}from"./p-BEuV0Xpe.js";import{d as C,h as T}from"./p-BbwShqw_.js";const D=["ix-dropdown-item","ix-select-item","ix-menu-item","ix-menu-category"],I=D.map((t=>`${t}:not([tabindex^="-"]):not([disabled]):not([hidden])`)).join(", "),O=D.map((t=>`${t}.${w}:not([tabindex^="-"]):not([disabled]):not([hidden])`)).join(", "),P=(t,e,s=I)=>e&&e.matches(s)?t.findIndex((t=>t===e)):-1;let R=0;const F=t(class extends(e(...x)){constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.showChange=s(this,"showChange",7),this.showChanged=s(this,"showChanged",7),this.experimentalRequestFocus=s(this,"experimentalRequestFocus",7),this.experimentalFocusNextElement=s(this,"experimentalFocusNextElement",7)}get hostElement(){return this}suppressAutomaticPlacement=!1;show=!1;trigger;anchor;closeBehavior="both";placement="bottom-start";positioningStrategy="fixed";header;suppressTriggerVisibilityCheck=!1;disableFocusHandling=!1;disableFocusTrap=!1;enableTopLayer=!1;focusCheckedItem=!1;keyboardActivationKeys=["Home","End","ArrowDown","ArrowUp","Enter"," "];keyboardItemTriggerKeys=["Enter"," "];offset;overwriteDropdownStyle;discoverAllSubmenus=!1;ignoreRelatedSubmenu=!1;suppressOverflowBehavior=!1;focusHost;focusTrapOptions;hostRole;callbackFocusElement;showChange;showChanged;fallbackPlacement;experimentalRequestFocus;experimentalFocusNextElement;autoUpdateCleanup;dialogRef=A();intersectObserverTrigger;triggerElement;anchorElement;forwardQueryElement=null;dropdownElementId="dropdown-"+R++;assignedSubmenu=[];keyboardNavigationCleanup;focusUtilities;connectedCallback(){C.connected(this),null!=this.trigger&&this.registerListener(this.trigger)}cacheSubmenuId(t){t.stopImmediatePropagation(),t.preventDefault();const{detail:e}=t;-1===this.assignedSubmenu.indexOf(e)&&this.assignedSubmenu.push(e)}disconnectedCallback(){C.dismiss(this),C.disconnected(this),this.autoUpdateCleanup&&(this.autoUpdateCleanup(),this.autoUpdateCleanup=void 0)}getAssignedSubmenuIds(){return this.assignedSubmenu}isPresent(){return this.show}present(){this.show=!0}dismiss(){this.show=!1}getId(){return this.dropdownElementId}willDismiss(){const{defaultPrevented:t}=this.showChange.emit(!1);return!t}willPresent(){const{defaultPrevented:t}=this.showChange.emit(!0);return!t}get dropdownItems(){return Array.from(this.hostElement.querySelectorAll("ix-dropdown-item"))}get slotElement(){return this.hostElement.shadowRoot.querySelector("slot")}disposeClickListener;disposeKeyListener;toggleController(){this.isPresent()?C.dismiss(this):C.present(this),C.dismissOthers(this.getId())}onTriggerClick=t=>this.handleTriggerClick(t);handleTriggerClick(t){t.defaultPrevented||this.toggleController()}onTriggerKeydown=t=>this.handleTriggerKeydown(t);handleTriggerKeydown(t){const e=e=>S((async()=>{let s=!1;this.callbackFocusElement&&(s=await this.callbackFocusElement(t)??!1),s||v(e,void 0,{focusCheckedItem:this.focusCheckedItem})})),s=e=>S((async()=>{let s=!1;this.callbackFocusElement&&(s=await this.callbackFocusElement(t)??!1),s||f(e)}));if(("Escape"===t.key||!0===this.disableFocusTrap&&"Tab"===t.key)&&this.show)C.dismiss(this);else if(!this.show&&(this.keyboardActivationKeys??["Home","End","ArrowUp","ArrowDown"," ","Enter"]).includes(t.key)){if(this.isAnchorSubmenu())this.disableFocusHandling||(this.callbackFocusElement?this.callbackFocusElement(t):"ArrowUp"===t.key||"End"===t.key?s(this.hostElement):e(this.hostElement));else if(t.defaultPrevented||this.toggleController(),this.disableFocusHandling)t.stopImmediatePropagation(),t.preventDefault();else{if(t.altKey)return;"ArrowUp"===t.key||"End"===t.key?s(this.hostElement):e(this.hostElement)}this.experimentalRequestFocus.emit({keyEvent:t}),t.preventDefault()}}addEventListenersFor(){this.triggerElement&&(this.disposeClickListener||(this.disposeClickListener=m(this.triggerElement,"click",this.onTriggerClick)),this.disposeKeyListener||(this.disposeKeyListener=m(this.triggerElement,"keydown",this.onTriggerKeydown)),this.triggerElement?.setAttribute("data-ix-dropdown-trigger",this.dropdownElementId))}async discoverSubmenu(){this.triggerElement?.dispatchEvent(new CustomEvent("ix-assign-sub-menu",{bubbles:!0,composed:!0,cancelable:!0,detail:this.dropdownElementId}))}registerKeyListener(){}async registerListener(t){this.triggerElement=await this.resolveElement(t),this.triggerElement&&(this.addEventListenersFor(),this.discoverSubmenu())}addObserverForTriggerVisibility(){this.intersectObserverTrigger&&this.intersectObserverTrigger.disconnect(),this.suppressTriggerVisibilityCheck||this.triggerElement&&(this.intersectObserverTrigger=new IntersectionObserver((t=>{t.forEach((t=>{if(!t.isIntersecting)return void C.dismiss(this);const e=t.intersectionRect.top>t.boundingClientRect.top,s=t.intersectionRect.bottom<t.boundingClientRect.bottom,i=t.intersectionRect.left>t.boundingClientRect.left,o=t.intersectionRect.right<t.boundingClientRect.right;this.fallbackPlacement=void 0,e&&(this.fallbackPlacement=this.createFallbackPlacement("bottom")),s&&(this.fallbackPlacement=this.createFallbackPlacement("top")),i&&(this.fallbackPlacement=this.createFallbackPlacement("right")),o&&(this.fallbackPlacement=this.createFallbackPlacement("left"))}))}),{threshold:[0,.5,1]}),this.anchorElement&&this.intersectObserverTrigger.observe(this.anchorElement))}createFallbackPlacement(t){return`${t}-${this.placement.endsWith("-end")?"end":"start"}`}async resolveElement(t){const e=await a(t);return this.checkForSubmenuAnchor(e)}async checkForSubmenuAnchor(t){if(t)return T(t)&&((await t.getDropdownItemElement()).isSubMenu=!0,this.hostElement.style.zIndex="var(--theme-z-index-dropdown)"),"IX-DROPDOWN-ITEM"===t.tagName&&(t.isSubMenu=!0,this.hostElement.style.zIndex="var(--theme-z-index-dropdown)"),t}async resolveAnchorElement(){this.anchor?this.anchorElement=await this.resolveElement(this.anchor):this.trigger&&(this.anchorElement=await this.resolveElement(this.trigger))}async changedShow(t){if(!t)return this.triggerElement&&"menu"===this.triggerElement.ariaHasPopup&&"IX-DROPDOWN-ITEM"===this.triggerElement.tagName&&(this.triggerElement.ariaExpanded="false"),this.cleanupOnHide(),void(this.enableTopLayer&&await this.hideDialog());if(await this.resolveAnchorElement(),this.registerKeyListener(),this.disableFocusHandling||this.callbackFocusElement||(this.keyboardNavigationCleanup=((t,e={})=>{const s=e.querySelector??I,i=e.activeQuerySelector??O,o=e.itemTriggerKeys??["ArrowRight","Enter"," "],r=e.getActiveElement??(()=>p(t(),i)[0]),a=e.setItemActive??(t=>(t=>{S((async()=>{let e=t;t.matches("ix-menu-category")&&(e=t.shadowRoot.querySelector(".category-parent")),e&&(g(e),S((()=>e.scrollIntoView({block:"nearest"}))))}))})(t)),n=async n=>{const h=r();let d=[];try{t().querySelectorAll("slot").length>0&&(d=Array.from(t().querySelectorAll("slot")).flatMap((t=>Array.from(t.assignedElements({flatten:!0})).flatMap((t=>t?.matches(s)?[t]:Array.from(t.querySelectorAll(s))))))),d=[...d,...Array.from(t().querySelectorAll(s))]}catch(t){}switch(e.beforeKeydown&&e.beforeKeydown(n),n.key){case"ArrowLeft":t().dispatchEvent(new CustomEvent("ix-close-submenu",{bubbles:!0,cancelable:!0}));break;case"ArrowDown":{if(n.altKey)return;n.preventDefault();const t=((t,e,s=O)=>{const i=P(t,e,s)+1;return t[i>=t.length?0:i]})(d,h,i);void 0!==t&&a(t);break}case"ArrowUp":{if(n.altKey)return;n.preventDefault();const t=((t,e,s=O)=>{const i=P(t,e,s)-1;return t[i<0?t.length-1:i]})(d,h,i);void 0!==t&&a(t);break}case"Home":{n.preventDefault();const t=d[0];void 0!==t&&a(t);break}case"End":{n.preventDefault();const t=d[d.length-1];void 0!==t&&a(t);break}case"ArrowRight":case" ":case"Enter":if(h&&h.hasAttribute("data-ix-dropdown-trigger")){const t=new CustomEvent("ix-open-submenu",{bubbles:!0,cancelable:!0,detail:{activeElement:h}});return void h.dispatchEvent(t)}}o.includes(n.key)&&e.onItemActivation?.(n,h)},h=(e.getEventListenerTarget??(()=>t()))();return h.addEventListener("keydown",n),()=>h.removeEventListener("keydown",n)})((()=>this.forwardQueryElement??this.focusHost??this.hostElement),{getEventListenerTarget:()=>this.triggerElement??this.anchorElement,onItemActivation:(t,e)=>{t.preventDefault(),e?.click()},itemTriggerKeys:this.keyboardItemTriggerKeys})),this.disableFocusTrap||b(this.focusHost??this.hostElement,this.focusTrapOptions).then((t=>{this.focusUtilities=t})),this.triggerElement&&"menu"===this.triggerElement.ariaHasPopup&&"IX-DROPDOWN-ITEM"===this.triggerElement.tagName&&(this.triggerElement.ariaExpanded="true"),this.enableTopLayer){const t=await this.dialogRef.waitForCurrent();if(!t)return;t.showPopover()}this.addObserverForTriggerVisibility(),this.applyDropdownPosition()}async emitShowChanged(t){S((()=>this.showChanged.emit(t)))}changedTrigger(t,e){t&&t!==e&&(this.disposeClickListener?.(),this.disposeClickListener=void 0,this.disposeKeyListener?.(),this.disposeKeyListener=void 0),this.registerListener(t)}applyFallbackPosition(t){S((()=>{const e=(this.hostElement.parentElement||this.hostElement).getBoundingClientRect(),s=`translate(${Math.round(e.left)}px, ${Math.round(e.top)}px)`;Object.assign(t.style,{top:"0",left:"0",transform:s})}))}async hideDialog(){const t=await this.dialogRef.waitForCurrent();t?.matches(":popover-open")&&t.hidePopover()}cleanupOnHide(){this.intersectObserverTrigger?.disconnect(),this.destroyAutoUpdate(),this.keyboardNavigationCleanup?.(),this.focusUtilities?.destroy(),this.resetForwardQueryElement(),k(),!this.disableFocusTrap&&E()&&S((()=>{this.triggerElement?.focus()}))}destroyAutoUpdate(){this.autoUpdateCleanup&&(this.autoUpdateCleanup(),this.autoUpdateCleanup=void 0)}isAnchorSubmenu(){return!!T(this.anchorElement)||!!this.anchorElement?.closest("ix-dropdown-item")}async applyDropdownPosition(){const t=this.enableTopLayer?await this.dialogRef.waitForCurrent():this.hostElement;if(!this.show)return;if(!t)return;if(!this.anchorElement)return void this.applyFallbackPosition(t);const e=this.anchorElement,s=this.isAnchorSubmenu();let i=this.positioningStrategy;this.enableTopLayer&&(i="fixed");let o={strategy:i,middleware:[]};this.suppressAutomaticPlacement||o.middleware?.push(c({fallbackStrategy:"initialPlacement"}));let r=this.placement;!1===this.suppressTriggerVisibilityCheck&&this.fallbackPlacement&&(r=this.fallbackPlacement),o.placement=s?"right-start":r,o.middleware=[...o.middleware?.filter(Boolean)||[],n(),h()],this.offset&&o.middleware.push(d(this.offset)),this.destroyAutoUpdate(),this.autoUpdateCleanup=l(e,t,(async()=>{const s=await u(e,t,o);if(this.hostElement.dataset.ixDropdownPlacement=s.placement,Object.assign(t.style,{top:"0",left:"0",transform:`translate(${Math.round(s.x)}px,${Math.round(s.y)}px)`}),this.overwriteDropdownStyle){const e=await this.overwriteDropdownStyle({dropdownRef:t,triggerRef:this.triggerElement});Object.assign(t.style,e)}}),{ancestorResize:!0,ancestorScroll:!0,elementResize:!0})}async componentDidLoad(){this.trigger&&this.changedTrigger(this.trigger,void 0)}async componentDidRender(){await this.applyDropdownPosition(),await this.resolveAnchorElement()}isTriggerElement(t){return!!t.hasAttribute("data-ix-dropdown-trigger")}onDropdownClick(t){const e=C.pathIncludesTrigger(t.composedPath());e&&(e!==this.triggerElement&&t.preventDefault(),this.isTriggerElement(e))?"outside"===this.closeBehavior&&t.preventDefault():t.defaultPrevented||"inside"!==this.closeBehavior&&"both"!==this.closeBehavior?C.dismissOthers(this.getId()):C.dismissAll([this.getId()],this.ignoreRelatedSubmenu)}async updatePosition(){this.applyDropdownPosition()}openSubmenu(t){const e=this.getAssignedSubmenuIds();if(0===e.length)return;const s=C.getDropdownById(e[0]);s&&(t.detail.activeElement.classList.add("ix-dropdown-submenu-trigger-active"),C.present(s),this.forwardQueryElement=s.hostElement,S((()=>{v(s.hostElement)})))}closeSubmenu(){const t=C.getParentDropdownId(this.getId());if(t){const e=C.getDropdownById(t),s=p(e?.hostElement,".ix-dropdown-submenu-trigger-active");if(C.dismissChildren(t),e&&s.length>0){const t=s[0];t.classList.remove("ix-dropdown-submenu-trigger-active"),e.hostElement.resetForwardQueryElement(),S((()=>{y(t,e.hostElement)}))}}}async resetForwardQueryElement(){this.forwardQueryElement=null}render(){const t={};return this.triggerElement&&"IX-DROPDOWN-ITEM"===this.triggerElement.tagName?(t["aria-labelledby"]=this.triggerElement.id,t["aria-owns"]=this.triggerElement.id,t.role="menu"):this.hostRole&&(t.role=this.hostRole),i(o,{key:"6f04440b82a4d0f62e2f15932a30a68107b988ec",...t,"aria-modal":"true","data-ix-dropdown":this.dropdownElementId,"data-ix-focus-trap":!0,class:{"dropdown-menu":!0,show:this.show,overflow:!this.suppressOverflowBehavior&&!this.enableTopLayer},style:this.enableTopLayer?{}:{margin:"0",minWidth:"0px",position:this.positioningStrategy},onClick:t=>this.onDropdownClick(t)},this.enableTopLayer?i("dialog",{role:"presentation",ref:this.dialogRef,class:{dialog:!0,overflow:!this.suppressOverflowBehavior},popover:"manual",tabindex:-1,onClick:t=>this.onDropdownClick(t)},i("div",{class:"dropdown-container"},this.header&&i("div",{class:"dropdown-header"},this.header),this.show&&i("slot",null))):i("div",{style:{display:"contents"},role:"presentation"},this.header&&i("div",{class:"dropdown-header"},this.header),this.show&&i("slot",null)))}static get watchers(){return{show:[{changedShow:0},{emitShowChanged:0}],trigger:[{changedTrigger:0}]}}static get style(){return":host{background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);min-width:0px;z-index:var(--theme-z-index-dropdown);box-shadow:var(--theme-shadow-4);padding:0.25rem 0px}: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 .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}:host(.overflow){max-height:calc(50vh - 3rem);overflow-y:auto}:host(:not(.show)){display:none !important}.dialog{margin:0;border:none;outline:none;padding:0.25rem 0px;min-width:0;max-width:100vw;width:-moz-max-content;width:max-content;height:-moz-fit-content;height:fit-content;background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);box-shadow:var(--theme-shadow-4);overflow-x:visible;overflow-y:visible;inset:unset;color-scheme:inherit;color:var(--theme-color-std-text);box-sizing:border-box}.dialog *,.dialog *::after,.dialog *::before{box-sizing:border-box}.dialog .dropdown-container{display:block;position:relative}.dialog .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}.dialog.overflow{max-height:calc(50vh - 3rem);overflow-y:auto}"}},[769,"ix-dropdown",{suppressAutomaticPlacement:[4,"suppress-automatic-placement"],show:[1540],trigger:[1],anchor:[1],closeBehavior:[8,"close-behavior"],placement:[1],positioningStrategy:[1,"positioning-strategy"],header:[1],suppressTriggerVisibilityCheck:[4,"suppress-trigger-visibility-check"],disableFocusHandling:[4,"disable-focus-handling"],disableFocusTrap:[4,"disable-focus-trap"],enableTopLayer:[4,"enable-top-layer"],focusCheckedItem:[4,"focus-checked-item"],keyboardActivationKeys:[16],keyboardItemTriggerKeys:[16],offset:[16],overwriteDropdownStyle:[16],discoverAllSubmenus:[4,"discover-all-submenus"],ignoreRelatedSubmenu:[4,"ignore-related-submenu"],suppressOverflowBehavior:[4,"suppress-overflow-behavior"],focusHost:[16],focusTrapOptions:[16],hostRole:[1,"host-role"],callbackFocusElement:[16],fallbackPlacement:[32],discoverSubmenu:[64],updatePosition:[64],resetForwardQueryElement:[64]},[[0,"ix-assign-sub-menu","cacheSubmenuId"],[0,"ix-open-submenu","openSubmenu"],[0,"ix-close-submenu","closeSubmenu"]],{show:[{changedShow:0},{emitShowChanged:0}],trigger:[{changedTrigger:0}]}]);function j(){"undefined"!=typeof customElements&&["ix-dropdown"].forEach((t=>{"ix-dropdown"===t&&(customElements.get(r(t))||customElements.define(r(t),F))}))}export{F as D,j as d}
@@ -1 +1 @@
1
- import{h as t}from"./p-CtDOTMOT.js";import{b as i,c as a,d as o,a as s}from"./p-BtSt9tC5.js";import{a as n}from"./p-C21npbUc.js";function e({invalidText:t,isInvalid:i,warningText:a,isWarning:o,infoText:s,isInfo:n,validText:e,isValid:r,helperText:x}){return!!(i&&t?.trim()||o&&a?.trim()||n&&s?.trim()||r&&e?.trim()||x?.trim())}function r(t){return e(t)?t.isInvalid&&t.invalidText&&""!==t.invalidText.trim()?t.invalidText:t.isWarning&&t.warningText&&""!==t.warningText.trim()?t.warningText:t.isInfo&&t.infoText&&""!==t.infoText.trim()?t.infoText:t.isValid&&t.validText&&""!==t.validText.trim()?t.validText:t.helperText||"":""}function x(r){return e(r)?r.isInvalid&&r.invalidText&&""!==r.invalidText.trim()?t("ix-typography",{textColor:"alarm",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.invalidText),class:"text-icon invalid",name:i,size:"16"}),r.invalidText):r.isWarning&&r.warningText&&""!==r.warningText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.warningText),class:"text-icon warning",name:a,size:"16"}),r.warningText):r.isInfo&&r.infoText&&""!==r.infoText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.infoText),class:"text-icon info",name:o,size:"16"}),r.infoText):r.isValid&&r.validText&&""!==r.validText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":n(!!r.validText),class:"text-icon valid",name:s,size:"16"}),r.validText):r.helperText&&""!==r.helperText.trim()&&t("ix-typography",{class:"bottom-text",textColor:"soft"},r.helperText):null}export{x as H,e as h,r}
1
+ import{h as t}from"./p-eN5fQtqO.js";import{b as i,c as a,d as o,a as s}from"./p-DsVj4Cd-.js";import{a as e}from"./p-DD206pTM.js";function n({invalidText:t,isInvalid:i,warningText:a,isWarning:o,infoText:s,isInfo:e,validText:n,isValid:r,helperText:x}){return!!(i&&t?.trim()||o&&a?.trim()||e&&s?.trim()||r&&n?.trim()||x?.trim())}function r(t){return n(t)?t.isInvalid&&t.invalidText&&""!==t.invalidText.trim()?t.invalidText:t.isWarning&&t.warningText&&""!==t.warningText.trim()?t.warningText:t.isInfo&&t.infoText&&""!==t.infoText.trim()?t.infoText:t.isValid&&t.validText&&""!==t.validText.trim()?t.validText:t.helperText||"":""}function x(r){return n(r)?r.isInvalid&&r.invalidText&&""!==r.invalidText.trim()?t("ix-typography",{textColor:"alarm",class:"bottom-text"},t("ix-icon",{"aria-hidden":e(!!r.invalidText),class:"text-icon invalid",name:i,size:"16"}),r.invalidText):r.isWarning&&r.warningText&&""!==r.warningText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":e(!!r.warningText),class:"text-icon warning",name:a,size:"16"}),r.warningText):r.isInfo&&r.infoText&&""!==r.infoText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":e(!!r.infoText),class:"text-icon info",name:o,size:"16"}),r.infoText):r.isValid&&r.validText&&""!==r.validText.trim()?t("ix-typography",{textColor:"std",class:"bottom-text"},t("ix-icon",{"aria-hidden":e(!!r.validText),class:"text-icon valid",name:s,size:"16"}),r.validText):r.helperText&&""!==r.helperText.trim()&&t("ix-typography",{class:"bottom-text",textColor:"soft"},r.helperText):null}export{x as H,n as h,r}
@@ -0,0 +1 @@
1
+ import{h as e}from"./p-eN5fQtqO.js";import{a as i}from"./p-DD206pTM.js";const n=(e,i=!1,n=!1,a,t)=>({btn:!0,[`btn-${e}`]:!0,"btn-icon":i,"btn-oval":n,selected:a,disabled:t}),a=e=>{if(!e.icon)return"small";switch(e.iconSize){case"12":return"xx-small";case"16":return"x-small";default:return"small"}},t=(e,i)=>{if(i.disabled||i.loading)return e.preventDefault(),void e.stopPropagation();i.onClick&&i.onClick(e)},l=(l,r)=>{const s=l.extraClasses??{},o=l.ariaAttributes??{},c=((e,i)=>i&&i.length>0||!(!e["aria-label"]&&!e["aria-labelledby"]))(o,r),d={...o,tabindex:l.disabled?-1:l.tabIndex??0,class:{...n(l.variant,l.iconOnly,l.iconOval,l.selected,l.disabled||l.loading),...s}},u=[l.loading?e("ix-spinner",{size:a(l),hideTrack:!0}):null,l.icon&&!l.loading?e("ix-icon",{class:"icon",name:l.icon,size:l.iconSize,color:l.iconColor,"aria-hidden":c?"true":void 0}):null,e("div",{class:{content:!0,[`content-${l.alignment}`]:!!l.alignment}},r),l.iconRight?e("ix-icon",{class:"icon-right",name:l.iconRight,size:l.iconSize,color:l.iconColor,"aria-hidden":c?"true":void 0}):null,l.afterContent?l.afterContent:null];return l.href?e("a",{...d,"aria-disabled":i(l.disabled),href:l.disabled?void 0:l.href,target:l.target,role:"button",rel:l.rel,onClick:e=>t(e,l)},u):e("button",{...d,"aria-disabled":i(l.disabled),disabled:l.disabled||l.loading,onClick:e=>t(e,l),type:l.type},u)};export{l as B,n as g}
@@ -0,0 +1 @@
1
+ import{p as t,H as o,e,h as a,d as s,t as r}from"./p-eN5fQtqO.js";import{G as i,c as n,a as c,b as l,d}from"./p-DsVj4Cd-.js";import{d as h}from"./p-CiP3eKpd.js";import{d as b}from"./p-BKVBe7Co.js";import{d as m}from"./p-YFmbQndr.js";const u=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closeToast=e(this,"closeToast",7)}type="info";toastTitle;autoCloseDelay=5e3;preventAutoClose=!1;icon;iconColor;hideIcon=!1;ariaLabelCloseIconButton="Close toast";closeToast;progress=0;touched=!1;paused=!1;get hostElement(){return this}getIcon(){if(this.icon)return a("ix-icon",{"data-testid":"toast-icon",name:this.icon,color:this.iconColor,size:"24"});switch(this.type){case"info":return a("ix-icon",{"data-testid":"toast-icon",name:d,size:"24",color:"color-std-text"});case"error":return a("ix-icon",{"data-testid":"toast-icon",name:l,size:"24",color:"color-alarm"});case"success":return a("ix-icon",{"data-testid":"toast-icon",name:c,size:"24",color:"color-success"});case"warning":return a("ix-icon",{"data-testid":"toast-icon",name:n,size:"24",color:"color-warning-text"});default:return""}}close(){this.hostElement&&this.hostElement.classList.add("animate__fadeOut"),setTimeout((()=>{this.closeToast.emit()}),250)}async pause(){this.paused=!0}async resume(){this.paused=!1}async isPaused(){return this.paused||this.touched}render(){let t={};const o=["toast-progress-bar"];return t={animationDuration:`${this.autoCloseDelay}ms`,animationPlayState:this.touched||this.paused?"paused":"running"},o.push("toast-progress-bar--animated"),a(s,{key:"23320a0cad0f80260f080d3ccb893b97b0de3430",role:"alert","aria-live":"polite","aria-atomic":"true",class:"animate__animated animate__fadeIn"},a("div",{key:"e11be14a88b8b220d42810dc902c67f3b4bc6048",class:"toast-body",onPointerLeave:()=>{this.touched=!1},onPointerEnter:()=>{this.touched=!0}},!this.type&&!this.icon||this.hideIcon?null:a("div",{class:"toast-icon"},this.getIcon()),a("div",{key:"303876065f69252b89566c73aebb23bf28ebf221",class:"toast-content"},this.toastTitle?a("ix-typography",{class:"toast-title",format:"h5"},this.toastTitle):null,a("div",{key:"bf8e2ae5a9b24c7161f1823ce9542172cd092006",class:"toast-message"},a("slot",{key:"f60b4dae5967a6f192d432012273ab3e602f9cf3"})),a("div",{key:"97d552f3014e0f428d8beb4d1a31e6ba3b9085cd",class:"toast-action"},a("slot",{key:"a107a97f28acc21d33024ab7a2f33ccb571648c2",name:"action"}))),a("div",{key:"b074eab437358b57a65aa2c6d96f3860cb04536e",class:"toast-close"},a("ix-icon-button",{key:"8ca71069c1dbf7c25186357ebf508e7f69bf3c92",icon:i,iconColor:"color-soft-text",size:"24",variant:"tertiary",onClick:()=>this.closeToast.emit(),"aria-label":this.ariaLabelCloseIconButton}))),!this.preventAutoClose&&a("div",{key:"4dc63a7a7ed80ac9758db43acc0200ad71a4fae0",class:o.join(" "),style:t,onAnimationEnd:()=>{this.close()},onTransitionEnd:()=>{0===this.progress&&this.close()}}))}static get style(){return":host{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius, var(--theme-toast--border-radus));box-shadow:var(--theme-toast--box-shadow);--animate-duration:var(--theme-medium-time)}: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 .toast-body{display:flex;position:relative;min-height:3.5rem;width:100%;flex-grow:1;padding:0.75rem 0.75rem 0.25rem}:host .toast-body .toast-icon{display:flex;align-items:flex-start;padding:0.25rem}:host .toast-body .toast-content{overflow:hidden;min-width:0;width:100%;padding:0.25rem}:host .toast-body .toast-content .toast-title{min-width:0;margin:0.25rem 0px;overflow-wrap:break-word;word-break:break-word}:host .toast-body .toast-content .toast-message{min-width:0;overflow-wrap:break-word;word-break:break-word;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .toast-body .toast-content .toast-action{margin-top:0.5rem}:host .toast-close{display:flex;position:relative;pointer-events:all;margin-left:auto;margin-right:0px;opacity:0.6}:host .toast-close:hover{opacity:1}:host .toast-progress-bar{position:absolute;bottom:0;height:0.125rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}:host .toast-progress-bar--animated{animation:trackProgress linear 1 forwards}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}"}},[769,"ix-toast",{type:[513],toastTitle:[1,"toast-title"],autoCloseDelay:[2,"auto-close-delay"],preventAutoClose:[4,"prevent-auto-close"],icon:[1],iconColor:[1,"icon-color"],hideIcon:[4,"hide-icon"],ariaLabelCloseIconButton:[1,"aria-label-close-icon-button"],progress:[32],touched:[32],paused:[32],pause:[64],resume:[64],isPaused:[64]}]);function f(){"undefined"!=typeof customElements&&["ix-toast","ix-icon-button","ix-spinner","ix-typography"].forEach((t=>{switch(t){case"ix-toast":customElements.get(r(t))||customElements.define(r(t),u);break;case"ix-icon-button":customElements.get(r(t))||h();break;case"ix-spinner":customElements.get(r(t))||b();break;case"ix-typography":customElements.get(r(t))||m()}}))}export{u as T,f as d}
@@ -1 +1 @@
1
- import{p as t,H as r,h as s,d as e,t as o}from"./p-CtDOTMOT.js";import{q as a}from"./p-C5UTTqsv.js";const i=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}get tabPanels(){return Array.from(a(this.hostElement,"ix-tab-panel"))}get tabList(){return this.hostElement?.querySelector("ix-tabs")}get tabListItems(){return this.tabList?Array.from(this.tabList.querySelectorAll("ix-tab-item")):[]}panelsObserver;componentWillLoad(){this.panelsObserver=new MutationObserver((()=>this.onPanelComponentsChange())),this.panelsObserver.observe(this.hostElement,{childList:!0,subtree:!0}),this.onPanelComponentsChange()}componentDidLoad(){this.onPanelComponentsChange()}disconnectedCallback(){this.panelsObserver?.disconnect()}onPanelComponentsChange(){const t=this.tabList,r=this.tabListItems,s=this.tabPanels;if(!t||!r||!s)return;const e=t.activeTabKey;if(!e)return;const o=r.find((t=>t.tabKey===e)),a=s.find((t=>t.tabKey===e));if(!o||!a)return;const i=o.getAttribute("id");a.setAttribute("aria-labelledby",i??"");const b=a.getAttribute("id");o.setAttribute("aria-controls",b??""),this.checkPanelsVisibility()}checkPanelsVisibility(){const t=this.tabList?.querySelectorAll("ix-tab-item"),r=this.tabPanels;t&&r&&r.forEach((t=>{t.hidden=t.tabKey!==this.tabList?.activeTabKey}))}render(){return s(e,{key:"90be74d89acb43edb6eec575f07a3877ec90ac45",onTabChange:()=>this.checkPanelsVisibility()},s("slot",{key:"047c26c15f8b43312a25a35dddadd364a5b9f839"}))}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}"}},[257,"ix-tab-set"]);function b(){"undefined"!=typeof customElements&&["ix-tab-set"].forEach((t=>{"ix-tab-set"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}export{i as T,b as d}
1
+ import{p as t,H as r,h as s,d as e,t as o}from"./p-eN5fQtqO.js";import{q as a}from"./p-C5UTTqsv.js";const i=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}get tabPanels(){return Array.from(a(this.hostElement,"ix-tab-panel"))}get tabList(){return this.hostElement?.querySelector("ix-tabs")}get tabListItems(){return this.tabList?Array.from(this.tabList.querySelectorAll("ix-tab-item")):[]}panelsObserver;componentWillLoad(){this.panelsObserver=new MutationObserver((()=>this.onPanelComponentsChange())),this.panelsObserver.observe(this.hostElement,{childList:!0,subtree:!0}),this.onPanelComponentsChange()}componentDidLoad(){this.onPanelComponentsChange()}disconnectedCallback(){this.panelsObserver?.disconnect()}onPanelComponentsChange(){const t=this.tabList,r=this.tabListItems,s=this.tabPanels;if(!t||!r||!s)return;const e=t.activeTabKey;if(!e)return;const o=r.find((t=>t.tabKey===e)),a=s.find((t=>t.tabKey===e));if(!o||!a)return;const i=o.getAttribute("id");a.setAttribute("aria-labelledby",i??"");const b=a.getAttribute("id");o.setAttribute("aria-controls",b??""),this.checkPanelsVisibility()}checkPanelsVisibility(){const t=this.tabList?.querySelectorAll("ix-tab-item"),r=this.tabPanels;t&&r&&r.forEach((t=>{t.hidden=t.tabKey!==this.tabList?.activeTabKey}))}render(){return s(e,{key:"09c24128f2981d8276e3d63e6067f7b3da7f99a9",onTabChange:()=>this.checkPanelsVisibility()},s("slot",{key:"ac2212c76128277abca943387b93a6d436cebe94"}))}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}"}},[257,"ix-tab-set"]);function b(){"undefined"!=typeof customElements&&["ix-tab-set"].forEach((t=>{"ix-tab-set"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}export{i as T,b as d}