@siemens/ix 5.1.0 → 5.1.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 (541) hide show
  1. package/READMEOSS.html +1 -1
  2. package/components/ix-action-card.js +1 -1
  3. package/components/ix-application-header.js +1 -1
  4. package/components/ix-application-switch-modal.js +1 -1
  5. package/components/ix-application.js +1 -1
  6. package/components/ix-avatar.js +1 -1
  7. package/components/ix-blind.js +1 -1
  8. package/components/ix-breadcrumb.js +1 -1
  9. package/components/ix-button.js +1 -1
  10. package/components/ix-card-accordion.js +1 -1
  11. package/components/ix-card-content.js +1 -1
  12. package/components/ix-card-list.js +1 -1
  13. package/components/ix-card-title.js +1 -1
  14. package/components/ix-card.js +1 -1
  15. package/components/ix-category-filter.js +1 -1
  16. package/components/ix-checkbox-group.js +1 -1
  17. package/components/ix-checkbox.js +1 -1
  18. package/components/ix-chip.js +1 -1
  19. package/components/ix-col.js +1 -1
  20. package/components/ix-content-header.js +1 -1
  21. package/components/ix-content.js +1 -1
  22. package/components/ix-css-grid-item.js +1 -1
  23. package/components/ix-css-grid.js +1 -1
  24. package/components/ix-custom-field.js +1 -1
  25. package/components/ix-date-dropdown.js +1 -1
  26. package/components/ix-date-input.js +1 -1
  27. package/components/ix-date-picker.js +1 -1
  28. package/components/ix-datetime-input.js +1 -1
  29. package/components/ix-datetime-picker.js +1 -1
  30. package/components/ix-dropdown-button.js +1 -1
  31. package/components/ix-dropdown-header.js +1 -1
  32. package/components/ix-dropdown-item.js +1 -1
  33. package/components/ix-dropdown-quick-actions.js +1 -1
  34. package/components/ix-dropdown.js +1 -1
  35. package/components/ix-empty-state.js +1 -1
  36. package/components/ix-event-list-item.js +1 -1
  37. package/components/ix-event-list.js +1 -1
  38. package/components/ix-field-label.js +1 -1
  39. package/components/ix-field-wrapper.js +1 -1
  40. package/components/ix-filter-chip.js +1 -1
  41. package/components/ix-flip-tile-content.js +1 -1
  42. package/components/ix-flip-tile.js +1 -1
  43. package/components/ix-group-context-menu.js +1 -1
  44. package/components/ix-group.js +1 -1
  45. package/components/ix-helper-text.js +1 -1
  46. package/components/ix-input.js +1 -1
  47. package/components/ix-key-value-list.js +1 -1
  48. package/components/ix-layout-auto.js +1 -1
  49. package/components/ix-layout-grid.js +1 -1
  50. package/components/ix-link-button.js +1 -1
  51. package/components/ix-menu-about-item.js +1 -1
  52. package/components/ix-menu-about-news.js +1 -1
  53. package/components/ix-menu-about.js +1 -1
  54. package/components/ix-menu-avatar-item.js +1 -1
  55. package/components/ix-menu-avatar.js +1 -1
  56. package/components/ix-menu-category.js +1 -1
  57. package/components/ix-menu-item.js +1 -1
  58. package/components/ix-menu-settings-item.js +1 -1
  59. package/components/ix-menu-settings.js +1 -1
  60. package/components/ix-menu.js +1 -1
  61. package/components/ix-message-bar.js +1 -1
  62. package/components/ix-modal-content.js +1 -1
  63. package/components/ix-modal-footer.js +1 -1
  64. package/components/ix-modal-header.js +1 -1
  65. package/components/ix-modal.js +1 -1
  66. package/components/ix-number-input.js +1 -1
  67. package/components/ix-pagination.js +1 -1
  68. package/components/ix-pane-layout.js +1 -1
  69. package/components/ix-pane.js +1 -1
  70. package/components/ix-pill.js +1 -1
  71. package/components/ix-popover-content.js +1 -1
  72. package/components/ix-popover-footer.js +1 -1
  73. package/components/ix-popover-header.js +1 -1
  74. package/components/ix-popover.js +1 -1
  75. package/components/ix-progress-indicator.js +1 -1
  76. package/components/ix-push-card.js +1 -1
  77. package/components/ix-radio-group.js +1 -1
  78. package/components/ix-radio.js +1 -1
  79. package/components/ix-range-field.js +1 -1
  80. package/components/ix-row.js +1 -1
  81. package/components/ix-select-item.js +1 -1
  82. package/components/ix-select.js +1 -1
  83. package/components/ix-slider.js +1 -1
  84. package/components/ix-split-button.js +1 -1
  85. package/components/ix-tab-item.js +1 -1
  86. package/components/ix-tabs.js +1 -1
  87. package/components/ix-textarea.js +1 -1
  88. package/components/ix-tile.js +1 -1
  89. package/components/ix-time-input.js +1 -1
  90. package/components/ix-time-picker.js +1 -1
  91. package/components/ix-toast-container.js +1 -1
  92. package/components/ix-toast.js +1 -1
  93. package/components/ix-toggle-button.js +1 -1
  94. package/components/ix-toggle.js +1 -1
  95. package/components/ix-tooltip.js +1 -1
  96. package/components/ix-tree-item.js +1 -1
  97. package/components/ix-tree.js +1 -1
  98. package/components/ix-typography.js +1 -1
  99. package/components/ix-upload.js +1 -1
  100. package/components/ix-workflow-step.js +1 -1
  101. package/components/ix-workflow-steps.js +1 -1
  102. package/components/{p-DhWkcMmR.js → p-1KOHyx-1.js} +1 -1
  103. package/components/{p-zqHenwXl.js → p-BH2Yhp3V.js} +1 -1
  104. package/components/{p-CrDBjFhu.js → p-BIcWFids.js} +1 -1
  105. package/components/{p-CGHbrmJg.js → p-BRoFUwzJ.js} +1 -1
  106. package/components/{p-CIA8i4dm.js → p-BZgc6bzH.js} +1 -1
  107. package/components/{p-Wr4Qf8LA.js → p-B_MBGj0b.js} +1 -1
  108. package/components/{p-BuBQiemL.js → p-Bj_6nynP.js} +1 -1
  109. package/components/p-C7MRPZvZ.js +1 -0
  110. package/components/{p-aUZgVnx5.js → p-CHV-_J6i.js} +1 -1
  111. package/components/{p-CrLxhwo2.js → p-CUvmGsh_.js} +1 -1
  112. package/components/{p-CJoOEoc-.js → p-Ca8JFa1v.js} +1 -1
  113. package/components/p-CbbabcAR.js +1 -0
  114. package/components/{p-C2jvmCOl.js → p-CgHioxG-.js} +1 -1
  115. package/components/{p-zyYHTdEN.js → p-CkIELF-1.js} +1 -1
  116. package/components/{p-CT5pAQCz.js → p-Cvpz1Ji5.js} +1 -1
  117. package/components/{p-DHydRnvu.js → p-D1sONqtj.js} +1 -1
  118. package/components/{p-CG9cQxRO.js → p-D69Mojvn.js} +1 -1
  119. package/components/p-DLe8Pp58.js +1 -0
  120. package/components/{p-C0WZnIxc.js → p-DO3HtUke.js} +1 -1
  121. package/components/{p-Cy2KAdml.js → p-DfdjJL6W.js} +1 -1
  122. package/components/{p-C-sZLWci.js → p-DjIyhGBC.js} +1 -1
  123. package/components/{p-BbW5EIKF.js → p-DkAUNod9.js} +1 -1
  124. package/components/{p-Dfd_ifAu.js → p-Dl_YKIKl.js} +1 -1
  125. package/components/{p-BNAvpXSk.js → p-DuMiVxY1.js} +1 -1
  126. package/components/{p-ImMb0joA.js → p-DwmHytZi.js} +1 -1
  127. package/components/{p-BDlGgfYh.js → p-LbnItC1h.js} +1 -1
  128. package/components/{p-CpOGS2e_.js → p-R1AQtGdV.js} +1 -1
  129. package/components/{p-wFiL3dN1.js → p-_f_q2Etu.js} +1 -1
  130. package/components/{p-DtOqKp7K.js → p-baqpOH0g.js} +1 -1
  131. package/components/p-f1jZqaUz.js +1 -0
  132. package/components/{p-B-O0ylt_.js → p-olkZUb1j.js} +1 -1
  133. package/components/{p-CDf5TQum.js → p-z19mjzlp.js} +1 -1
  134. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  135. package/dist/cjs/ix-application-header.cjs.entry.js +9 -9
  136. package/dist/cjs/ix-application.cjs.entry.js +3 -3
  137. package/dist/cjs/ix-blind.cjs.entry.js +5 -5
  138. package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
  139. package/dist/cjs/ix-button.cjs.entry.js +2 -2
  140. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
  141. package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
  142. package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
  143. package/dist/cjs/ix-checkbox-group.cjs.entry.js +2 -2
  144. package/dist/cjs/ix-checkbox.cjs.entry.js +3 -3
  145. package/dist/cjs/ix-chip.cjs.entry.js +4 -4
  146. package/dist/cjs/ix-col_4.cjs.entry.js +5 -5
  147. package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
  148. package/dist/cjs/ix-content.cjs.entry.js +3 -3
  149. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  150. package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
  151. package/dist/cjs/ix-custom-field.cjs.entry.js +1 -1
  152. package/dist/cjs/ix-date-input.cjs.entry.js +1 -1
  153. package/dist/cjs/ix-datetime-input.cjs.entry.js +1 -1
  154. package/dist/cjs/ix-dropdown-button.cjs.entry.js +4 -4
  155. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  156. package/dist/cjs/ix-dropdown_2.cjs.entry.js +4 -4
  157. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  158. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  159. package/dist/cjs/ix-field-label_2.cjs.entry.js +2 -2
  160. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
  161. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  162. package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
  163. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
  164. package/dist/cjs/ix-group.cjs.entry.js +8 -8
  165. package/dist/cjs/ix-input.cjs.entry.js +1 -1
  166. package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
  167. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  168. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  169. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  170. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  171. package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
  172. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  173. package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
  174. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  175. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  176. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  177. package/dist/cjs/ix-menu.cjs.entry.js +12 -12
  178. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  179. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  180. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  181. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  182. package/dist/cjs/ix-number-input.cjs.entry.js +1 -1
  183. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  184. package/dist/cjs/ix-pane.cjs.entry.js +7 -7
  185. package/dist/cjs/ix-pill_4.cjs.entry.js +14 -14
  186. package/dist/cjs/ix-popover-content.cjs.entry.js +1 -1
  187. package/dist/cjs/ix-popover-footer.cjs.entry.js +1 -1
  188. package/dist/cjs/ix-popover-header.cjs.entry.js +1 -1
  189. package/dist/cjs/ix-popover.cjs.entry.js +1 -1
  190. package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
  191. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  192. package/dist/cjs/ix-radio-group.cjs.entry.js +2 -2
  193. package/dist/cjs/ix-radio.cjs.entry.js +3 -3
  194. package/dist/cjs/ix-range-field.cjs.entry.js +2 -2
  195. package/dist/cjs/ix-select.cjs.entry.js +13 -10
  196. package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
  197. package/dist/cjs/ix-textarea.cjs.entry.js +1 -1
  198. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  199. package/dist/cjs/ix-time-input.cjs.entry.js +1 -1
  200. package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
  201. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  202. package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
  203. package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
  204. package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
  205. package/dist/cjs/ix-tree.cjs.entry.js +1 -1
  206. package/dist/cjs/ix-typography.cjs.entry.js +1 -1
  207. package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
  208. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  209. package/dist/collection/components/action-card/action-card.js +3 -3
  210. package/dist/collection/components/application/application.js +10 -3
  211. package/dist/collection/components/application-header/application-header.js +10 -9
  212. package/dist/collection/components/avatar/avatar.js +3 -0
  213. package/dist/collection/components/blind/blind.js +10 -5
  214. package/dist/collection/components/breadcrumb/breadcrumb.js +5 -2
  215. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +3 -0
  216. package/dist/collection/components/button/button.js +5 -2
  217. package/dist/collection/components/card/card.js +6 -2
  218. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  219. package/dist/collection/components/card-content/card-content.js +4 -1
  220. package/dist/collection/components/card-list/card-list.js +7 -4
  221. package/dist/collection/components/card-title/card-title.js +2 -1
  222. package/dist/collection/components/checkbox/checkbox.js +4 -3
  223. package/dist/collection/components/checkbox-group/checkbox-group.js +3 -2
  224. package/dist/collection/components/chip/chip.js +7 -4
  225. package/dist/collection/components/col/col.js +5 -2
  226. package/dist/collection/components/content/content.js +4 -3
  227. package/dist/collection/components/content-header/content-header.js +4 -4
  228. package/dist/collection/components/css-grid/css-grid-item.js +2 -1
  229. package/dist/collection/components/css-grid/css-grid.js +2 -1
  230. package/dist/collection/components/custom-field/custom-field.js +4 -1
  231. package/dist/collection/components/date-input/date-input.css +1 -0
  232. package/dist/collection/components/datetime-input/datetime-input.css +1 -0
  233. package/dist/collection/components/dropdown/dropdown.js +4 -1
  234. package/dist/collection/components/dropdown-button/dropdown-button.js +8 -4
  235. package/dist/collection/components/dropdown-item/dropdown-item.js +6 -3
  236. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +4 -1
  237. package/dist/collection/components/event-list/event-list.js +5 -2
  238. package/dist/collection/components/event-list-item/event-list-item.js +7 -4
  239. package/dist/collection/components/field-label/field-label.js +5 -2
  240. package/dist/collection/components/filter-chip/filter-chip.js +5 -2
  241. package/dist/collection/components/flip-tile/flip-tile.js +8 -3
  242. package/dist/collection/components/flip-tile-content/flip-tile-content.js +4 -1
  243. package/dist/collection/components/group/group-context-menu.js +4 -1
  244. package/dist/collection/components/group/group.js +14 -8
  245. package/dist/collection/components/group-item/group-item.js +3 -0
  246. package/dist/collection/components/input/input.css +1 -0
  247. package/dist/collection/components/input/number-input.css +1 -0
  248. package/dist/collection/components/input/textarea.css +1 -0
  249. package/dist/collection/components/key-value-list/key-value-list.js +4 -1
  250. package/dist/collection/components/layout-auto/layout-auto.js +4 -1
  251. package/dist/collection/components/layout-grid/layout-grid.js +5 -2
  252. package/dist/collection/components/link-button/link-button.js +6 -3
  253. package/dist/collection/components/menu/menu.js +20 -12
  254. package/dist/collection/components/menu-about/menu-about.js +5 -2
  255. package/dist/collection/components/menu-about-item/menu-about-item.js +2 -1
  256. package/dist/collection/components/menu-about-news/menu-about-news.js +7 -4
  257. package/dist/collection/components/menu-avatar/menu-avatar.js +5 -2
  258. package/dist/collection/components/menu-category/menu-category.js +8 -5
  259. package/dist/collection/components/menu-item/menu-item.js +5 -5
  260. package/dist/collection/components/menu-settings/menu-settings.js +5 -2
  261. package/dist/collection/components/menu-settings-item/menu-settings-item.js +2 -1
  262. package/dist/collection/components/message-bar/message-bar.js +4 -1
  263. package/dist/collection/components/modal/modal.js +6 -3
  264. package/dist/collection/components/modal-content/modal-content.js +4 -1
  265. package/dist/collection/components/modal-footer/modal-footer.js +4 -1
  266. package/dist/collection/components/modal-header/modal-header.js +4 -1
  267. package/dist/collection/components/pane/pane.js +8 -7
  268. package/dist/collection/components/pane-layout/pane-layout.js +9 -1
  269. package/dist/collection/components/pill/pill.js +7 -4
  270. package/dist/collection/components/popover/popover.js +2 -2
  271. package/dist/collection/components/popover-content/popover-content.js +2 -2
  272. package/dist/collection/components/popover-footer/popover-footer.js +2 -2
  273. package/dist/collection/components/popover-header/popover-header.js +2 -2
  274. package/dist/collection/components/progress-indicator/progress-indicator.js +5 -3
  275. package/dist/collection/components/push-card/push-card.js +5 -1
  276. package/dist/collection/components/radio/radio.js +4 -3
  277. package/dist/collection/components/radio-group/radio-group.js +3 -2
  278. package/dist/collection/components/range-field/range-field.js +5 -2
  279. package/dist/collection/components/row/row.js +4 -1
  280. package/dist/collection/components/select/select.js +14 -10
  281. package/dist/collection/components/split-button/split-button.js +4 -1
  282. package/dist/collection/components/tab-item/tab-item.js +8 -5
  283. package/dist/collection/components/tabs/tabs.js +8 -5
  284. package/dist/collection/components/tile/tile.js +10 -4
  285. package/dist/collection/components/time-input/time-input.css +1 -0
  286. package/dist/collection/components/toast/toast-container.js +5 -2
  287. package/dist/collection/components/toast/toast.js +6 -2
  288. package/dist/collection/components/toggle-button/toggle-button.js +5 -2
  289. package/dist/collection/components/tooltip/tooltip.js +2 -1
  290. package/dist/collection/components/tree/tree.js +4 -1
  291. package/dist/collection/components/tree-item/tree-item.js +7 -4
  292. package/dist/collection/components/typography/typography.js +4 -1
  293. package/dist/collection/components/workflow-step/workflow-step.js +7 -3
  294. package/dist/collection/components/workflow-steps/workflow-steps.js +4 -1
  295. package/dist/esm/ix-action-card.entry.js +2 -2
  296. package/dist/esm/ix-application-header.entry.js +9 -9
  297. package/dist/esm/ix-application.entry.js +3 -3
  298. package/dist/esm/ix-blind.entry.js +5 -5
  299. package/dist/esm/ix-breadcrumb.entry.js +2 -2
  300. package/dist/esm/ix-button.entry.js +2 -2
  301. package/dist/esm/ix-card-accordion_2.entry.js +5 -5
  302. package/dist/esm/ix-card-list.entry.js +4 -4
  303. package/dist/esm/ix-card_2.entry.js +3 -3
  304. package/dist/esm/ix-checkbox-group.entry.js +2 -2
  305. package/dist/esm/ix-checkbox.entry.js +3 -3
  306. package/dist/esm/ix-chip.entry.js +4 -4
  307. package/dist/esm/ix-col_4.entry.js +5 -5
  308. package/dist/esm/ix-content-header.entry.js +3 -3
  309. package/dist/esm/ix-content.entry.js +3 -3
  310. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  311. package/dist/esm/ix-css-grid.entry.js +1 -1
  312. package/dist/esm/ix-custom-field.entry.js +1 -1
  313. package/dist/esm/ix-date-input.entry.js +1 -1
  314. package/dist/esm/ix-datetime-input.entry.js +1 -1
  315. package/dist/esm/ix-dropdown-button.entry.js +4 -4
  316. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  317. package/dist/esm/ix-dropdown_2.entry.js +4 -4
  318. package/dist/esm/ix-event-list-item.entry.js +4 -4
  319. package/dist/esm/ix-event-list.entry.js +2 -2
  320. package/dist/esm/ix-field-label_2.entry.js +2 -2
  321. package/dist/esm/ix-filter-chip_2.entry.js +2 -2
  322. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  323. package/dist/esm/ix-flip-tile.entry.js +3 -3
  324. package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
  325. package/dist/esm/ix-group.entry.js +8 -8
  326. package/dist/esm/ix-input.entry.js +1 -1
  327. package/dist/esm/ix-key-value-list.entry.js +1 -1
  328. package/dist/esm/ix-layout-auto.entry.js +1 -1
  329. package/dist/esm/ix-link-button.entry.js +3 -3
  330. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  331. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  332. package/dist/esm/ix-menu-about.entry.js +2 -2
  333. package/dist/esm/ix-menu-avatar.entry.js +2 -2
  334. package/dist/esm/ix-menu-category.entry.js +5 -5
  335. package/dist/esm/ix-menu-item.entry.js +4 -4
  336. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  337. package/dist/esm/ix-menu-settings.entry.js +2 -2
  338. package/dist/esm/ix-menu.entry.js +12 -12
  339. package/dist/esm/ix-message-bar.entry.js +1 -1
  340. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  341. package/dist/esm/ix-modal-footer.entry.js +1 -1
  342. package/dist/esm/ix-modal.entry.js +3 -3
  343. package/dist/esm/ix-number-input.entry.js +1 -1
  344. package/dist/esm/ix-pane-layout.entry.js +1 -1
  345. package/dist/esm/ix-pane.entry.js +7 -7
  346. package/dist/esm/ix-pill_4.entry.js +14 -14
  347. package/dist/esm/ix-popover-content.entry.js +1 -1
  348. package/dist/esm/ix-popover-footer.entry.js +1 -1
  349. package/dist/esm/ix-popover-header.entry.js +1 -1
  350. package/dist/esm/ix-popover.entry.js +1 -1
  351. package/dist/esm/ix-progress-indicator.entry.js +3 -3
  352. package/dist/esm/ix-push-card.entry.js +1 -1
  353. package/dist/esm/ix-radio-group.entry.js +2 -2
  354. package/dist/esm/ix-radio.entry.js +3 -3
  355. package/dist/esm/ix-range-field.entry.js +2 -2
  356. package/dist/esm/ix-select.entry.js +13 -10
  357. package/dist/esm/ix-split-button.entry.js +1 -1
  358. package/dist/esm/ix-textarea.entry.js +1 -1
  359. package/dist/esm/ix-tile.entry.js +4 -4
  360. package/dist/esm/ix-time-input.entry.js +1 -1
  361. package/dist/esm/ix-toast-container.entry.js +2 -2
  362. package/dist/esm/ix-toast.entry.js +2 -2
  363. package/dist/esm/ix-toggle-button.entry.js +2 -2
  364. package/dist/esm/ix-tooltip.entry.js +1 -1
  365. package/dist/esm/ix-tree-item.entry.js +4 -4
  366. package/dist/esm/ix-tree.entry.js +1 -1
  367. package/dist/esm/ix-typography.entry.js +1 -1
  368. package/dist/esm/ix-workflow-step.entry.js +3 -3
  369. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  370. package/dist/siemens-ix/{p-321a10b6.entry.js → p-03215d55.entry.js} +1 -1
  371. package/dist/siemens-ix/{p-c97c218d.entry.js → p-04a42013.entry.js} +1 -1
  372. package/dist/siemens-ix/{p-b75db823.entry.js → p-0b24f8d0.entry.js} +1 -1
  373. package/dist/siemens-ix/{p-9d9fec8c.entry.js → p-0e74e65c.entry.js} +1 -1
  374. package/dist/siemens-ix/{p-bc11adcd.entry.js → p-0fd5baf1.entry.js} +1 -1
  375. package/dist/siemens-ix/{p-641bc66c.entry.js → p-1cd9a45a.entry.js} +1 -1
  376. package/dist/siemens-ix/{p-90a5cda7.entry.js → p-1ea183fb.entry.js} +1 -1
  377. package/dist/siemens-ix/{p-957b77ec.entry.js → p-227ba1b8.entry.js} +1 -1
  378. package/dist/siemens-ix/{p-f8561834.entry.js → p-2753ed4e.entry.js} +1 -1
  379. package/dist/siemens-ix/{p-c6d63b3c.entry.js → p-2eb094c0.entry.js} +1 -1
  380. package/dist/siemens-ix/{p-646d5219.entry.js → p-34eaf010.entry.js} +1 -1
  381. package/dist/siemens-ix/{p-fb1e66a7.entry.js → p-39fb1c9e.entry.js} +1 -1
  382. package/dist/siemens-ix/{p-7e6a5c38.entry.js → p-3bfa4bbc.entry.js} +1 -1
  383. package/dist/siemens-ix/{p-f0d97723.entry.js → p-3f5ac9f7.entry.js} +1 -1
  384. package/dist/siemens-ix/{p-f9628912.entry.js → p-4154d18a.entry.js} +1 -1
  385. package/dist/siemens-ix/{p-2202ae94.entry.js → p-427f85c3.entry.js} +1 -1
  386. package/dist/siemens-ix/{p-46768472.entry.js → p-45106215.entry.js} +1 -1
  387. package/dist/siemens-ix/{p-b7f2f229.entry.js → p-4ceb3543.entry.js} +1 -1
  388. package/dist/siemens-ix/{p-0eb3a12a.entry.js → p-4d179abe.entry.js} +1 -1
  389. package/dist/siemens-ix/{p-4f0f97dd.entry.js → p-4faa3c03.entry.js} +1 -1
  390. package/dist/siemens-ix/{p-e283d7d1.entry.js → p-50a44cb9.entry.js} +1 -1
  391. package/dist/siemens-ix/{p-5685a2e6.entry.js → p-52096875.entry.js} +1 -1
  392. package/dist/siemens-ix/{p-2b9f7512.entry.js → p-57678563.entry.js} +1 -1
  393. package/dist/siemens-ix/{p-264e971c.entry.js → p-5d7ede96.entry.js} +1 -1
  394. package/dist/siemens-ix/{p-d80e7d50.entry.js → p-6aa5adb4.entry.js} +1 -1
  395. package/dist/siemens-ix/{p-b13f34d1.entry.js → p-703c7e7c.entry.js} +1 -1
  396. package/dist/siemens-ix/{p-2f7b1e1e.entry.js → p-71a31d92.entry.js} +1 -1
  397. package/dist/siemens-ix/{p-8c2365cc.entry.js → p-71a5fae5.entry.js} +1 -1
  398. package/dist/siemens-ix/{p-8969b2f9.entry.js → p-747d14a2.entry.js} +1 -1
  399. package/dist/siemens-ix/{p-d6c906b7.entry.js → p-7655c4c2.entry.js} +1 -1
  400. package/dist/siemens-ix/{p-b8beb613.entry.js → p-7899597f.entry.js} +1 -1
  401. package/dist/siemens-ix/{p-46b2b660.entry.js → p-8658717f.entry.js} +1 -1
  402. package/dist/siemens-ix/{p-62a7ae9c.entry.js → p-8b839f30.entry.js} +1 -1
  403. package/dist/siemens-ix/{p-db105778.entry.js → p-8d535dc9.entry.js} +1 -1
  404. package/dist/siemens-ix/{p-3bc384b7.entry.js → p-8f72a218.entry.js} +1 -1
  405. package/dist/siemens-ix/{p-8d73ddac.entry.js → p-95e8951f.entry.js} +1 -1
  406. package/dist/siemens-ix/{p-4bc4a175.entry.js → p-96a3b3df.entry.js} +1 -1
  407. package/dist/siemens-ix/{p-f1257e08.entry.js → p-9f2905df.entry.js} +1 -1
  408. package/dist/siemens-ix/{p-d253dadb.entry.js → p-a25f267b.entry.js} +1 -1
  409. package/dist/siemens-ix/{p-080147bd.entry.js → p-a2aa806e.entry.js} +1 -1
  410. package/dist/siemens-ix/{p-21e8ccb6.entry.js → p-a44b1452.entry.js} +1 -1
  411. package/dist/siemens-ix/p-a7f5e11e.entry.js +1 -0
  412. package/dist/siemens-ix/p-a8911648.entry.js +1 -0
  413. package/dist/siemens-ix/p-aa904521.entry.js +1 -0
  414. package/dist/siemens-ix/p-ab202c45.entry.js +1 -0
  415. package/dist/siemens-ix/{p-12930fcd.entry.js → p-ac804eb2.entry.js} +1 -1
  416. package/dist/siemens-ix/p-af808244.entry.js +1 -0
  417. package/dist/siemens-ix/{p-2072682b.entry.js → p-b004e845.entry.js} +1 -1
  418. package/dist/siemens-ix/{p-aec23f79.entry.js → p-b2fe56c7.entry.js} +1 -1
  419. package/dist/siemens-ix/{p-ff1967de.entry.js → p-b7570885.entry.js} +1 -1
  420. package/dist/siemens-ix/{p-247d2e7a.entry.js → p-bddd1cca.entry.js} +1 -1
  421. package/dist/siemens-ix/{p-b181bf0b.entry.js → p-c0d56b86.entry.js} +1 -1
  422. package/dist/siemens-ix/{p-ae07f671.entry.js → p-c1c209f6.entry.js} +1 -1
  423. package/dist/siemens-ix/{p-710d32a6.entry.js → p-c69036b1.entry.js} +1 -1
  424. package/dist/siemens-ix/{p-24c54468.entry.js → p-c9718f0d.entry.js} +1 -1
  425. package/dist/siemens-ix/{p-d74baa8a.entry.js → p-cd42c4e6.entry.js} +1 -1
  426. package/dist/siemens-ix/p-d02d2e49.entry.js +1 -0
  427. package/dist/siemens-ix/{p-d830e3d6.entry.js → p-d16ee3bd.entry.js} +1 -1
  428. package/dist/siemens-ix/{p-56d2d54c.entry.js → p-d1cd3cb9.entry.js} +1 -1
  429. package/dist/siemens-ix/{p-6f78e0f1.entry.js → p-d45ff0a0.entry.js} +1 -1
  430. package/dist/siemens-ix/{p-9a88ff9c.entry.js → p-d5761950.entry.js} +1 -1
  431. package/dist/siemens-ix/{p-a6a0b240.entry.js → p-d699bb26.entry.js} +1 -1
  432. package/dist/siemens-ix/{p-35bfaa91.entry.js → p-daf43138.entry.js} +1 -1
  433. package/dist/siemens-ix/{p-3854287c.entry.js → p-ddcc8627.entry.js} +1 -1
  434. package/dist/siemens-ix/{p-63491f83.entry.js → p-e3da7c67.entry.js} +1 -1
  435. package/dist/siemens-ix/{p-52dc064a.entry.js → p-e58ae892.entry.js} +1 -1
  436. package/dist/siemens-ix/{p-de58069d.entry.js → p-e5e220c7.entry.js} +1 -1
  437. package/dist/siemens-ix/{p-d1ab68b3.entry.js → p-e6046255.entry.js} +1 -1
  438. package/dist/siemens-ix/{p-34f61a28.entry.js → p-ea9691c1.entry.js} +1 -1
  439. package/dist/siemens-ix/{p-66b4875e.entry.js → p-eac237a1.entry.js} +1 -1
  440. package/dist/siemens-ix/p-eff190ad.entry.js +1 -0
  441. package/dist/siemens-ix/{p-ba9dcd79.entry.js → p-f1cd82bd.entry.js} +1 -1
  442. package/dist/siemens-ix/{p-ee1617da.entry.js → p-f43c97cf.entry.js} +1 -1
  443. package/dist/siemens-ix/p-f507157f.entry.js +1 -0
  444. package/dist/siemens-ix/p-fbd006be.entry.js +1 -0
  445. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  446. package/dist/types/components/action-card/action-card.d.ts +1 -1
  447. package/dist/types/components/application/application.d.ts +7 -0
  448. package/dist/types/components/application-header/application-header.d.ts +1 -0
  449. package/dist/types/components/avatar/avatar.d.ts +3 -0
  450. package/dist/types/components/blind/blind.d.ts +5 -0
  451. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -0
  452. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -0
  453. package/dist/types/components/button/button.d.ts +3 -0
  454. package/dist/types/components/card/card.d.ts +4 -0
  455. package/dist/types/components/card-accordion/card-accordion.d.ts +3 -0
  456. package/dist/types/components/card-content/card-content.d.ts +3 -0
  457. package/dist/types/components/card-list/card-list.d.ts +3 -0
  458. package/dist/types/components/card-title/card-title.d.ts +1 -0
  459. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  460. package/dist/types/components/checkbox-group/checkbox-group.d.ts +1 -0
  461. package/dist/types/components/chip/chip.d.ts +3 -0
  462. package/dist/types/components/col/col.d.ts +3 -0
  463. package/dist/types/components/content/content.d.ts +1 -0
  464. package/dist/types/components/content-header/content-header.d.ts +1 -1
  465. package/dist/types/components/css-grid/css-grid-item.d.ts +1 -0
  466. package/dist/types/components/css-grid/css-grid.d.ts +1 -0
  467. package/dist/types/components/custom-field/custom-field.d.ts +3 -0
  468. package/dist/types/components/dropdown/dropdown.d.ts +3 -0
  469. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -0
  470. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -0
  471. package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +3 -0
  472. package/dist/types/components/event-list/event-list.d.ts +3 -0
  473. package/dist/types/components/event-list-item/event-list-item.d.ts +3 -0
  474. package/dist/types/components/field-label/field-label.d.ts +3 -0
  475. package/dist/types/components/filter-chip/filter-chip.d.ts +3 -0
  476. package/dist/types/components/flip-tile/flip-tile.d.ts +5 -0
  477. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
  478. package/dist/types/components/group/group-context-menu.d.ts +3 -0
  479. package/dist/types/components/group/group.d.ts +6 -0
  480. package/dist/types/components/group-item/group-item.d.ts +3 -0
  481. package/dist/types/components/key-value-list/key-value-list.d.ts +3 -0
  482. package/dist/types/components/layout-auto/layout-auto.d.ts +3 -0
  483. package/dist/types/components/layout-grid/layout-grid.d.ts +3 -0
  484. package/dist/types/components/link-button/link-button.d.ts +3 -0
  485. package/dist/types/components/menu/menu.d.ts +8 -0
  486. package/dist/types/components/menu-about/menu-about.d.ts +3 -0
  487. package/dist/types/components/menu-about-item/menu-about-item.d.ts +1 -0
  488. package/dist/types/components/menu-about-news/menu-about-news.d.ts +3 -0
  489. package/dist/types/components/menu-avatar/menu-avatar.d.ts +3 -0
  490. package/dist/types/components/menu-category/menu-category.d.ts +3 -0
  491. package/dist/types/components/menu-item/menu-item.d.ts +1 -1
  492. package/dist/types/components/menu-settings/menu-settings.d.ts +3 -0
  493. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +1 -0
  494. package/dist/types/components/message-bar/message-bar.d.ts +3 -0
  495. package/dist/types/components/modal/modal.d.ts +3 -0
  496. package/dist/types/components/modal-content/modal-content.d.ts +3 -0
  497. package/dist/types/components/modal-footer/modal-footer.d.ts +3 -0
  498. package/dist/types/components/modal-header/modal-header.d.ts +3 -0
  499. package/dist/types/components/pane/pane.d.ts +1 -0
  500. package/dist/types/components/pane-layout/pane-layout.d.ts +8 -0
  501. package/dist/types/components/pill/pill.d.ts +3 -0
  502. package/dist/types/components/popover/popover.d.ts +1 -1
  503. package/dist/types/components/popover-content/popover-content.d.ts +1 -1
  504. package/dist/types/components/popover-footer/popover-footer.d.ts +1 -1
  505. package/dist/types/components/popover-header/popover-header.d.ts +1 -1
  506. package/dist/types/components/progress-indicator/progress-indicator.d.ts +2 -0
  507. package/dist/types/components/push-card/push-card.d.ts +4 -0
  508. package/dist/types/components/radio/radio.d.ts +1 -0
  509. package/dist/types/components/radio-group/radio-group.d.ts +1 -0
  510. package/dist/types/components/range-field/range-field.d.ts +3 -0
  511. package/dist/types/components/row/row.d.ts +3 -0
  512. package/dist/types/components/select/select.d.ts +1 -0
  513. package/dist/types/components/split-button/split-button.d.ts +3 -0
  514. package/dist/types/components/tab-item/tab-item.d.ts +3 -0
  515. package/dist/types/components/tabs/tabs.d.ts +3 -0
  516. package/dist/types/components/tile/tile.d.ts +6 -0
  517. package/dist/types/components/toast/toast-container.d.ts +3 -0
  518. package/dist/types/components/toast/toast.d.ts +4 -0
  519. package/dist/types/components/toggle-button/toggle-button.d.ts +3 -0
  520. package/dist/types/components/tooltip/tooltip.d.ts +1 -0
  521. package/dist/types/components/tree/tree.d.ts +3 -0
  522. package/dist/types/components/tree-item/tree-item.d.ts +3 -0
  523. package/dist/types/components/typography/typography.d.ts +3 -0
  524. package/dist/types/components/workflow-step/workflow-step.d.ts +4 -0
  525. package/dist/types/components/workflow-steps/workflow-steps.d.ts +3 -0
  526. package/hydrate/index.js +439 -217
  527. package/hydrate/index.mjs +439 -217
  528. package/package.json +1 -1
  529. package/components/p-5ntkLbuJ.js +0 -1
  530. package/components/p-CMtwWb3-.js +0 -1
  531. package/components/p-DDvuSQX3.js +0 -1
  532. package/components/p-DiLKm3tq.js +0 -1
  533. package/dist/siemens-ix/p-074c8b24.entry.js +0 -1
  534. package/dist/siemens-ix/p-0d60bd71.entry.js +0 -1
  535. package/dist/siemens-ix/p-705eded9.entry.js +0 -1
  536. package/dist/siemens-ix/p-7fc7c67f.entry.js +0 -1
  537. package/dist/siemens-ix/p-81248fd2.entry.js +0 -1
  538. package/dist/siemens-ix/p-8d05ae35.entry.js +0 -1
  539. package/dist/siemens-ix/p-c0dc5a8e.entry.js +0 -1
  540. package/dist/siemens-ix/p-e5d2a048.entry.js +0 -1
  541. package/dist/siemens-ix/p-e698e193.entry.js +0 -1
@@ -1 +1 @@
1
- import{g as e,r as o,c as i,h as t,F as l,H as d}from"./p-EBgS4zhE.js";import{a as r}from"./p-DhE1t8Qh.js";import{a}from"./p-C21npbUc.js";import{h as n}from"./p-DgUGsIlh.js";import{A as s}from"./p-DNIQ2C1K.js";let b=0;const h=class{collapsed=!1;label;sublabel;icon;variant="filled";collapsedChange;get hostElement(){return e(this)}chevronRef;blindId=++b;constructor(e){o(this,e),this.collapsedChange=i(this,"collapsedChange",7)}onHeaderClick(){this.collapsed=!this.collapsed,this.collapsedChange.emit(this.collapsed)}componentDidLoad(){this.animateCollapse(this.collapsed)}get content(){return this.hostElement.shadowRoot.querySelector(".blind-content")}animation(e){this.animateCollapse(e)}animateCollapse(e){e?this.rotateChevronDown():this.rotateChevronUp()}rotateChevronUp(){r(this.chevronRef,{duration:s.defaultTime,easing:"easeInOutSine",rotateZ:180}),r(this.content,{duration:s.defaultTime,easing:"easeInOutSine",opacity:1})}rotateChevronDown(){r(this.chevronRef,{duration:s.defaultTime,easing:"easeInOutSine",rotateZ:0}),r(this.content,{duration:s.defaultTime,easing:"easeInOutSine",opacity:0})}render(){return t(d,{key:"013b57ee3c249c67c3ec35bc94924b08a0828723",class:{[`blind-${this.variant}`]:!0}},t("div",{key:"a03bf76f5ff8628de0958f3f12ae69bfadf68010",class:"blind-header-wrapper"},t("button",{key:"48e9d20e1bce06e2b305b856e3c7ec52d882c197",class:{"blind-header":!0,[`blind-${this.variant}`]:!0,closed:this.collapsed},type:"button","aria-labelledby":`ix-blind-header-title-${this.blindId}`,"aria-controls":`ix-blind-content-section-${this.blindId}`,"aria-expanded":a(!this.collapsed),onClick:()=>this.onHeaderClick()},t("slot",{key:"127096b27d461351848650ce43de9016585f8ba2",name:"custom-header"})),t("div",{key:"30976417c051c06aebd99af776d06d8d12289e3a",class:"blind-header-content"},t("ix-icon",{key:"4ad41bafea4f5c85625897dd5ac53e8199c0c824",class:"collapse-icon",name:n,color:"filled"===this.variant||"outline"===this.variant?"color-std-text":`color-${this.variant}--contrast`,ref:e=>this.chevronRef=e}),t("div",{key:"5aaa92535b30579eecaf2d5af312fe03b7acd6bd",class:"blind-header-title",id:`ix-blind-header-title-${this.blindId}`},void 0!==this.label?t(l,null,this.icon&&t("ix-icon",{class:"blind-header-title-icon",name:this.icon,color:"filled"===this.variant||"outline"===this.variant?"color-std-text":`color-${this.variant}--contrast`}),t("div",{class:"blind-header-title-row"},t("div",{class:"blind-header-title-col"},t("ix-typography",{title:this.label,format:"label-lg",bold:!0},t("div",{class:"blind-header-title-label",title:this.label},this.label))),this.sublabel&&t("div",{class:"blind-header-title-col"},t("ix-typography",{title:this.sublabel},t("div",{class:"blind-header-title-sublabel"},this.sublabel)))),t("div",{class:"header-actions"},t("slot",{name:"header-actions"}))):null))),t("section",{key:"10d8459ac5f41b8a09848e3182f68d641d369541",id:`ix-blind-content-section-${this.blindId}`,"aria-labelledby":`ix-blind-header-title-${this.blindId}`},t("div",{key:"f39a05f57e022918dd7cbce8454f9f0aa60d2a79",class:{"blind-content":!0,hide:this.collapsed}},this.collapsed?null:t("slot",null))))}static get watchers(){return{collapsed:[{animation:0}]}}};h.style=":host{display:flex;flex-direction:column;border-radius:var(--theme-blind--border-radius);overflow:hidden}: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 .blind-header-wrapper{position:relative;min-height:3rem;height:3rem;overflow:hidden}:host .blind-header-content{display:flex;position:relative;align-items:center;justify-content:flex-start;width:100%;height:100%;pointer-events:none;padding-left:0.5rem}:host .blind-header-title{display:flex;position:relative;align-items:center;flex-grow:1;margin-right:0.5rem}:host .blind-header{all:unset;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:absolute;top:0px;left:0px;pointer-events:all;padding-left:2.5rem;min-height:3rem;height:3rem;width:calc(100% - 2 * var(--theme-blind--border-thickness));border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr);outline:none}:host .blind-header-title-icon,:host .collapse-icon{margin-right:0.5rem}:host .blind-header-title-row{display:flex;flex-grow:1;overflow:hidden}:host .blind-header-title-col{display:inline-flex;align-items:center;width:calc(100% - 1rem);overflow:hidden}:host .blind-header-title-col:not(:first-of-type){justify-content:flex-end}:host ix-typography{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-label{padding-inline-end:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-sublabel{padding-inline:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title{display:flex;align-items:center;flex-grow:1;height:100%;min-width:0}:host .blind-header-labels{display:inline-flex;flex-grow:1;min-width:0}:host .blind-content{display:block;padding:1rem;transition-property:padding;transition-duration:var(--theme-default-time);transition-timing-function:ease-in}:host .blind-content.hide{max-height:0;padding-top:0px;padding-bottom:0px}:host .header-actions{pointer-events:all;margin-left:auto}:host(.blind-alarm) .blind-header{background-color:var(--theme-color-alarm)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-alarm--hover)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-alarm--active)}:host(.blind-alarm) .blind-header-title-label,:host(.blind-alarm) .blind-header-title-sublabel{color:var(--theme-color-alarm--contrast)}:host(.blind-alarm) .header-actions{--ix-icon-button-color:var(--theme-color-alarm--contrast)}:host(.blind-alarm){background-color:var(--theme-blind-base--background)}:host(.blind-critical) .blind-header{background-color:var(--theme-color-critical)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-critical--hover)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-critical--active)}:host(.blind-critical) .blind-header-title-label,:host(.blind-critical) .blind-header-title-sublabel{color:var(--theme-color-critical--contrast)}:host(.blind-critical) .header-actions{--ix-icon-button-color:var(--theme-color-critical--contrast)}:host(.blind-critical){background-color:var(--theme-blind-base--background)}:host(.blind-info) .blind-header{background-color:var(--theme-color-info)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-info--hover)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-info--active)}:host(.blind-info) .blind-header-title-label,:host(.blind-info) .blind-header-title-sublabel{color:var(--theme-color-info--contrast)}:host(.blind-info) .header-actions{--ix-icon-button-color:var(--theme-color-info--contrast)}:host(.blind-info){background-color:var(--theme-blind-base--background)}:host(.blind-neutral) .blind-header{background-color:var(--theme-color-neutral)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-neutral--hover)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-neutral--active)}:host(.blind-neutral) .blind-header-title-label,:host(.blind-neutral) .blind-header-title-sublabel{color:var(--theme-color-neutral--contrast)}:host(.blind-neutral) .header-actions{--ix-icon-button-color:var(--theme-color-neutral--contrast)}:host(.blind-neutral){background-color:var(--theme-blind-base--background)}:host(.blind-filled) .blind-header{background-color:var(--theme-color-filled)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-filled) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-filled) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-filled) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-filled){background-color:var(--theme-blind-base--background)}:host(.blind-success) .blind-header{background-color:var(--theme-color-success)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-success--hover)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-success--active)}:host(.blind-success) .blind-header-title-label,:host(.blind-success) .blind-header-title-sublabel{color:var(--theme-color-success--contrast)}:host(.blind-success) .header-actions{--ix-icon-button-color:var(--theme-color-success--contrast)}:host(.blind-success){background-color:var(--theme-blind-base--background)}:host(.blind-warning) .blind-header{background-color:var(--theme-color-warning)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-warning--hover)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-warning--active)}:host(.blind-warning) .blind-header-title-label,:host(.blind-warning) .blind-header-title-sublabel{color:var(--theme-color-warning--contrast)}:host(.blind-warning) .header-actions{--ix-icon-button-color:var(--theme-color-warning--contrast)}:host(.blind-warning){background-color:var(--theme-blind-base--background)}:host(.blind-primary) .blind-header{background-color:var(--theme-color-primary)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-primary--hover)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-primary--active)}:host(.blind-primary) .blind-header-title-label,:host(.blind-primary) .blind-header-title-sublabel{color:var(--theme-color-primary--contrast)}:host(.blind-primary) .header-actions{--ix-icon-button-color:var(--theme-color-primary--contrast)}:host(.blind-primary){background-color:var(--theme-blind-base--background)}:host(.blind-outline){border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color)}:host(.blind-outline) .blind-header{background-color:var(--theme-color-ghost)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-outline) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-outline) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-outline) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-outline){border-color:var(--theme-color-soft-bdr)}";export{h as ix_blind}
1
+ import{g as e,r as o,c as i,h as t,F as l,H as d}from"./p-EBgS4zhE.js";import{a as r}from"./p-DhE1t8Qh.js";import{a}from"./p-C21npbUc.js";import{h as n}from"./p-DgUGsIlh.js";import{A as s}from"./p-DNIQ2C1K.js";let b=0;const h=class{collapsed=!1;label;sublabel;icon;variant="filled";collapsedChange;get hostElement(){return e(this)}chevronRef;blindId=++b;constructor(e){o(this,e),this.collapsedChange=i(this,"collapsedChange",7)}onHeaderClick(){this.collapsed=!this.collapsed,this.collapsedChange.emit(this.collapsed)}componentDidLoad(){this.animateCollapse(this.collapsed)}get content(){return this.hostElement.shadowRoot.querySelector(".blind-content")}animation(e){this.animateCollapse(e)}animateCollapse(e){e?this.rotateChevronDown():this.rotateChevronUp()}rotateChevronUp(){r(this.chevronRef,{duration:s.defaultTime,easing:"easeInOutSine",rotateZ:180}),r(this.content,{duration:s.defaultTime,easing:"easeInOutSine",opacity:1})}rotateChevronDown(){r(this.chevronRef,{duration:s.defaultTime,easing:"easeInOutSine",rotateZ:0}),r(this.content,{duration:s.defaultTime,easing:"easeInOutSine",opacity:0})}render(){return t(d,{key:"d4d3073ce0e5bb301ab3eafdfd3baa9bbfd35b4a",class:{[`blind-${this.variant}`]:!0}},t("div",{key:"b600604d30b5b8a3fb47891ac650a204a5180e58",class:"blind-header-wrapper"},t("button",{key:"52441c0c6c80dea2691f26363b491940dc6fde57",class:{"blind-header":!0,[`blind-${this.variant}`]:!0,closed:this.collapsed},type:"button","aria-labelledby":`ix-blind-header-title-${this.blindId}`,"aria-controls":`ix-blind-content-section-${this.blindId}`,"aria-expanded":a(!this.collapsed),onClick:()=>this.onHeaderClick()},t("slot",{key:"a1ac571e4c4d2b14e83cb224a6da95bae3a7b323",name:"custom-header"})),t("div",{key:"f5af85350a88c131c99bd8cbb7884c9bc92edb7e",class:"blind-header-content"},t("ix-icon",{key:"d45b602a0bfcf9e7feacbd0caea0d9f2824e3b35",class:"collapse-icon",name:n,color:"filled"===this.variant||"outline"===this.variant?"color-std-text":`color-${this.variant}--contrast`,ref:e=>this.chevronRef=e}),t("div",{key:"bc102437864da77d85a0994fcc6fad9a64953d34",class:"blind-header-title",id:`ix-blind-header-title-${this.blindId}`},void 0!==this.label?t(l,null,this.icon&&t("ix-icon",{class:"blind-header-title-icon",name:this.icon,color:"filled"===this.variant||"outline"===this.variant?"color-std-text":`color-${this.variant}--contrast`}),t("div",{class:"blind-header-title-row"},t("div",{class:"blind-header-title-col"},t("ix-typography",{title:this.label,format:"label-lg",bold:!0},t("div",{class:"blind-header-title-label",title:this.label},this.label))),this.sublabel&&t("div",{class:"blind-header-title-col"},t("ix-typography",{title:this.sublabel},t("div",{class:"blind-header-title-sublabel"},this.sublabel)))),t("div",{class:"header-actions"},t("slot",{name:"header-actions"}))):null))),t("section",{key:"28f47c54f5845c27d505b90bc1c018897dd16bcb",id:`ix-blind-content-section-${this.blindId}`,"aria-labelledby":`ix-blind-header-title-${this.blindId}`},t("div",{key:"c91ee84a868f13f7ce48ba075a85d123debb6500",class:{"blind-content":!0,hide:this.collapsed}},this.collapsed?null:t("slot",null))))}static get watchers(){return{collapsed:[{animation:0}]}}};h.style=":host{display:flex;flex-direction:column;border-radius:var(--theme-blind--border-radius);overflow:hidden}: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 .blind-header-wrapper{position:relative;min-height:3rem;height:3rem;overflow:hidden}:host .blind-header-content{display:flex;position:relative;align-items:center;justify-content:flex-start;width:100%;height:100%;pointer-events:none;padding-left:0.5rem}:host .blind-header-title{display:flex;position:relative;align-items:center;flex-grow:1;margin-right:0.5rem}:host .blind-header{all:unset;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;position:absolute;top:0px;left:0px;pointer-events:all;padding-left:2.5rem;min-height:3rem;height:3rem;width:calc(100% - 2 * var(--theme-blind--border-thickness));border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;cursor:pointer}:host .blind-header:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-color-focus-bdr);outline:none}:host .blind-header-title-icon,:host .collapse-icon{margin-right:0.5rem}:host .blind-header-title-row{display:flex;flex-grow:1;overflow:hidden}:host .blind-header-title-col{display:inline-flex;align-items:center;width:calc(100% - 1rem);overflow:hidden}:host .blind-header-title-col:not(:first-of-type){justify-content:flex-end}:host ix-typography{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-label{padding-inline-end:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title-sublabel{padding-inline:0.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .blind-header-title{display:flex;align-items:center;flex-grow:1;height:100%;min-width:0}:host .blind-header-labels{display:inline-flex;flex-grow:1;min-width:0}:host .blind-content{display:block;padding:1rem;transition-property:padding;transition-duration:var(--theme-default-time);transition-timing-function:ease-in}:host .blind-content.hide{max-height:0;padding-top:0px;padding-bottom:0px}:host .header-actions{pointer-events:all;margin-left:auto}:host(.blind-alarm) .blind-header{background-color:var(--theme-color-alarm)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-alarm--hover)}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-alarm) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-alarm--active)}:host(.blind-alarm) .blind-header-title-label,:host(.blind-alarm) .blind-header-title-sublabel{color:var(--theme-color-alarm--contrast)}:host(.blind-alarm) .header-actions{--ix-icon-button-color:var(--theme-color-alarm--contrast)}:host(.blind-alarm){background-color:var(--theme-blind-base--background)}:host(.blind-critical) .blind-header{background-color:var(--theme-color-critical)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-critical--hover)}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-critical) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-critical) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-critical--active)}:host(.blind-critical) .blind-header-title-label,:host(.blind-critical) .blind-header-title-sublabel{color:var(--theme-color-critical--contrast)}:host(.blind-critical) .header-actions{--ix-icon-button-color:var(--theme-color-critical--contrast)}:host(.blind-critical){background-color:var(--theme-blind-base--background)}:host(.blind-info) .blind-header{background-color:var(--theme-color-info)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-info--hover)}:host(.blind-info) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-info) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-info) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-info--active)}:host(.blind-info) .blind-header-title-label,:host(.blind-info) .blind-header-title-sublabel{color:var(--theme-color-info--contrast)}:host(.blind-info) .header-actions{--ix-icon-button-color:var(--theme-color-info--contrast)}:host(.blind-info){background-color:var(--theme-blind-base--background)}:host(.blind-neutral) .blind-header{background-color:var(--theme-color-neutral)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-neutral--hover)}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-neutral) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-neutral--active)}:host(.blind-neutral) .blind-header-title-label,:host(.blind-neutral) .blind-header-title-sublabel{color:var(--theme-color-neutral--contrast)}:host(.blind-neutral) .header-actions{--ix-icon-button-color:var(--theme-color-neutral--contrast)}:host(.blind-neutral){background-color:var(--theme-blind-base--background)}:host(.blind-filled) .blind-header{background-color:var(--theme-color-filled)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-filled) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-filled) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-filled) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-filled) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-filled) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-filled){background-color:var(--theme-blind-base--background)}:host(.blind-success) .blind-header{background-color:var(--theme-color-success)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-success--hover)}:host(.blind-success) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-success) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-success) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-success--active)}:host(.blind-success) .blind-header-title-label,:host(.blind-success) .blind-header-title-sublabel{color:var(--theme-color-success--contrast)}:host(.blind-success) .header-actions{--ix-icon-button-color:var(--theme-color-success--contrast)}:host(.blind-success){background-color:var(--theme-blind-base--background)}:host(.blind-warning) .blind-header{background-color:var(--theme-color-warning)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-warning--hover)}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-warning) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-warning) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-warning--active)}:host(.blind-warning) .blind-header-title-label,:host(.blind-warning) .blind-header-title-sublabel{color:var(--theme-color-warning--contrast)}:host(.blind-warning) .header-actions{--ix-icon-button-color:var(--theme-color-warning--contrast)}:host(.blind-warning){background-color:var(--theme-blind-base--background)}:host(.blind-primary) .blind-header{background-color:var(--theme-color-primary)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):hover,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-primary--hover)}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled){cursor:pointer}:host(.blind-primary) .blind-header:not(.disabled):not(:disabled):active,:host(.blind-primary) .blind-header:not(.disabled):not(:disabled).active{background-color:var(--theme-color-primary--active)}:host(.blind-primary) .blind-header-title-label,:host(.blind-primary) .blind-header-title-sublabel{color:var(--theme-color-primary--contrast)}:host(.blind-primary) .header-actions{--ix-icon-button-color:var(--theme-color-primary--contrast)}:host(.blind-primary){background-color:var(--theme-blind-base--background)}:host(.blind-outline){border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color)}:host(.blind-outline) .blind-header{background-color:var(--theme-color-ghost)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).hover,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host(.blind-outline) .blind-header:not(.disabled):not(:disabled).active,:host(.blind-outline) .blind-header:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host(.blind-outline) .blind-header-title-label{color:var(--theme-color-std-text)}:host(.blind-outline) .blind-header-title-sublabel{color:var(--theme-color-soft-text)}:host(.blind-outline) .header-actions{--ix-icon-button-color:var(--theme-color-primary)}:host(.blind-outline){border-color:var(--theme-color-soft-bdr)}";export{h as ix_blind}
@@ -1 +1 @@
1
- import{r,c as e,g as o,h as t,H as a}from"./p-EBgS4zhE.js";import{y as s}from"./p-DgUGsIlh.js";import{a as c}from"./p-C21npbUc.js";import{b as i}from"./p-3pidUFd-.js";import{c as l}from"./p-BClJdFQP.js";import"./p-Djkc69iv.js";import"./p-6ZxKp7Jn.js";const b=class{constructor(o){r(this,o),this.closeClick=e(this,"closeClick",7)}get hostElement(){return o(this)}icon;iconColor;hideClose=!1;ariaLabelCloseIconButton="Close";closeClick;parentPopover;componentDidLoad(){this.parentPopover=l(this.hostElement,"ix-popover")}onCloseClick(r){this.closeClick.emit(r).defaultPrevented||r.defaultPrevented||this.parentPopover?.hidePopover()}render(){return t(a,{key:"d75ad6fc30a8b3df9d1588fc18be610f19946a15",[i]:!0},this.icon?t("ix-icon",{name:this.icon,color:this.iconColor,size:"24","aria-hidden":c(!0)}):null,t("div",{key:"c5db5b3c4d9537f1b5ec2d53eda5d94aba0984d5",class:"popover-title"},t("ix-typography",{key:"0c87f6cb01be5089a35f0eeb30e6aa7743865eef",format:"h5"},t("slot",{key:"d5bcd06f9dd501f7f52861d0ed2c6dd967bd8196"}))),t("div",{key:"fa7365f8ddce2cd12f92165160fb780426a994ce",class:"additional-items"},t("slot",{key:"b093c196c32eff075d65a5a9e570292174a1f943",name:"additional-items"})),this.hideClose?null:t("ix-icon-button",{class:"popover-close",onClick:r=>this.onCloseClick(r),variant:"tertiary",icon:s,"aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}};b.style=":host{display:flex;padding:0.75rem;align-items:center;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 .popover-title{flex-grow:1}:host .additional-items{display:flex;align-items:center;gap:0.25rem}:host .popover-close{align-self:flex-start;border-radius:var(--theme-small-border-radius);--ix-icon-button-color:var(--theme-popover-close--color);--theme-btn-tertiary--color:var(--theme-popover-close--color);--theme-btn-tertiary--color--hover:var(--theme-popover-close--color);--theme-btn-tertiary--color--active:var(--theme-popover-close--color);--theme-btn-tertiary--background:var( --theme-popover-close-btn--background );--theme-btn-tertiary--background--hover:var( --theme-popover-close-btn--background--hover );--theme-btn-tertiary--background--active:var( --theme-popover-close-btn--background--active );--theme-btn-tertiary--border-color:transparent;--theme-btn-tertiary--border-color--hover:transparent;--theme-btn-tertiary--border-color--active:transparent}";export{b as ix_popover_header}
1
+ import{r,c as e,g as o,h as t,H as a}from"./p-EBgS4zhE.js";import{y as s}from"./p-DgUGsIlh.js";import{a as c}from"./p-C21npbUc.js";import{b as i}from"./p-3pidUFd-.js";import{c as l}from"./p-BClJdFQP.js";import"./p-Djkc69iv.js";import"./p-6ZxKp7Jn.js";const b=class{constructor(o){r(this,o),this.closeClick=e(this,"closeClick",7)}get hostElement(){return o(this)}icon;iconColor;hideClose=!1;ariaLabelCloseIconButton="Close";closeClick;parentPopover;componentDidLoad(){this.parentPopover=l(this.hostElement,"ix-popover")}onCloseClick(r){this.closeClick.emit(r).defaultPrevented||r.defaultPrevented||this.parentPopover?.hidePopover()}render(){return t(a,{key:"d6b5d04790192d4212e60d39ce685a18b5dcc72a",[i]:!0},this.icon?t("ix-icon",{name:this.icon,color:this.iconColor,size:"24","aria-hidden":c(!0)}):null,t("div",{key:"37a9433e60b19c2a191db75ee475586a36b7d4a0",class:"popover-title"},t("ix-typography",{key:"866758b0c589aef950896e06f00096520311851a",format:"h5"},t("slot",{key:"6cfa745b62f705ddd2b8076ecf9e634cc8fac309"}))),t("div",{key:"671bfd6538e4540d75051c960a963949bd26d9d8",class:"additional-items"},t("slot",{key:"8b8c48055f58111077cfdede40f977691180250e",name:"additional-items"})),this.hideClose?null:t("ix-icon-button",{class:"popover-close",onClick:r=>this.onCloseClick(r),variant:"tertiary",icon:s,"aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}};b.style=":host{display:flex;padding:0.75rem;align-items:center;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 .popover-title{flex-grow:1}:host .additional-items{display:flex;align-items:center;gap:0.25rem}:host .popover-close{align-self:flex-start;border-radius:var(--theme-small-border-radius);--ix-icon-button-color:var(--theme-popover-close--color);--theme-btn-tertiary--color:var(--theme-popover-close--color);--theme-btn-tertiary--color--hover:var(--theme-popover-close--color);--theme-btn-tertiary--color--active:var(--theme-popover-close--color);--theme-btn-tertiary--background:var( --theme-popover-close-btn--background );--theme-btn-tertiary--background--hover:var( --theme-popover-close-btn--background--hover );--theme-btn-tertiary--background--active:var( --theme-popover-close-btn--background--active );--theme-btn-tertiary--border-color:transparent;--theme-btn-tertiary--border-color--hover:transparent;--theme-btn-tertiary--border-color--active:transparent}";export{b as ix_popover_header}
@@ -1 +1 @@
1
- import{r as e,c,g as o,h as r,F as h,H as d}from"./p-EBgS4zhE.js";import{a as t}from"./p-C21npbUc.js";import{m as b}from"./p-Djkc69iv.js";import{a}from"./p-BClJdFQP.js";import{H as k}from"./p-yZFaEeBW.js";import"./p-XBTykBKS.js";const i=class{constructor(o){e(this,o),this.checkedChange=c(this,"checkedChange",7),this.valueChange=c(this,"valueChange",7),this.ixBlur=c(this,"ixBlur",7),o.$hostElement$["s-ei"]?this.formInternals=o.$hostElement$["s-ei"]:(this.formInternals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.formInternals)}get hostElement(){return o(this)}formInternals;name;value="on";label;checked=!1;disabled=!1;indeterminate=!1;required=!1;checkedChange;valueChange;ixBlur;touched=!1;hasDefaultSlotElements=!1;defaultSlotElement;inputRef=b((e=>{e.checked=this.checked}));setCheckedState(e){this.checked=e,this.checkedChange.emit(this.checked)}onCheckedChange(){this.touched=!0,this.updateFormInternalValue()}onValueChange(){this.valueChange.emit(this.value)}componentWillLoad(){this.updateFormInternalValue()}componentDidLoad(){this.updateDefaultSlotElements()}updateDefaultSlotElements(){this.hasDefaultSlotElements=a(this.defaultSlotElement)}get isLabelLess(){return!this.label&&!this.hasDefaultSlotElements}updateFormInternalValue(){this.formInternals.setFormValue(this.checked?this.value??"on":null)}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}isTouched(){return Promise.resolve(this.touched)}updateClassMappings(){}renderCheckmark(){return r("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},this.indeterminate&&r(h,null,r("rect",{width:"18",height:"18",fill:"transparent"}),r("rect",{x:"3",y:"8",width:"12",height:"2",fill:"var(--ix-checkbox-check-color)"})),this.checked&&r("path",{d:"M3.65625 8.15625L8.4375 12.9375L14.625 3.9375",stroke:"var(--ix-checkbox-check-color)","stroke-width":"2"}))}render(){return r(d,{key:"9c353db29458af8bf9fff3a1433791dcaedb9e76","aria-checked":t(this.checked),"aria-disabled":t(this.disabled),role:"checkbox",class:{disabled:this.disabled,checked:this.checked,indeterminate:this.indeterminate,"label-less":this.isLabelLess},onFocus:()=>this.touched=!0,onBlur:()=>this.ixBlur.emit()},r("label",{key:"d0ed641122caa2175facad671e038b5f6f61926a"},r("input",{key:"ce50b07c238ecf34096c4294d7795f585b896836","aria-checked":t(this.checked),required:this.required,disabled:this.disabled,checked:this.checked,ref:this.inputRef,type:"checkbox",onChange:()=>this.setCheckedState(!this.checked)}),r("div",{key:"81b24e66445a7a79dbf0ee2cfd129b70d74f9b74",class:"checkbox-button"},r("button",{key:"180a94cca8a27191d0853356e814e94af7d1edc5",disabled:this.disabled,class:{checked:this.checked},onClick:()=>this.setCheckedState(!this.checked)},this.renderCheckmark())),r("ix-typography",{key:"c2eef4e975fcb6fde8a381818896d74af3e6d5a3",format:"label",textColor:this.disabled?"weak":"std"},this.label,r("slot",{key:"c3b38ea2eba94a7093fa9d9394cfd197144cdec9",onSlotchange:()=>this.updateDefaultSlotElements(),ref:e=>this.defaultSlotElement=e}))))}static get formAssociated(){return!0}static get watchers(){return{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}}};(function(e,c,o,r){var h,d=arguments.length,t=d<3?c:null===r?r=Object.getOwnPropertyDescriptor(c,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)t=Reflect.decorate(e,c,o,r);else for(var b=e.length-1;b>=0;b--)(h=e[b])&&(t=(d<3?h(t):d>3?h(c,o,t):h(c,o))||t);d>3&&t&&Object.defineProperty(c,o,t)})([k()],i.prototype,"updateClassMappings",null),i.style=":host{--ix-checkbox-check-color:var(--theme-color-primary--contrast);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 .checkbox-button{height:1.5rem;width:1.5rem;flex-shrink:0;display:flex;align-items:center;justify-content:center}:host button{all:unset;display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem}:host button:disabled{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host button:focus-visible{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-checkbox--focus--outline-offset)}:host input[type=checkbox]{display:none}:host label{display:flex;justify-content:flex-start;align-items:center;gap:var(--theme-space-0);width:100%;height:100%;cursor:pointer}:host(.label-less) ix-typography{display:none}:host button{background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.checked) button,:host(.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.checked:hover) button,:host(.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.checked:active) button,:host(.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.checked.disabled) button,:host(.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-info) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--info );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--info--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--info--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--info );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--info--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--info--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--info );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--info--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--info--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--info );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--info--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--info--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--info );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--info--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--info--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--info );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--info--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--info--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-info:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-info:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-info.checked) button,:host(.ix-info.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-info.checked:hover) button,:host(.ix-info.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-info.checked:active) button,:host(.ix-info.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-info.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-info.checked.disabled) button,:host(.ix-info.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-warning) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--warning );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--warning--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--warning--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--warning );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--warning--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--warning--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--warning );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--warning--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--warning--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--warning );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--warning--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--warning--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--warning );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--warning--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--warning--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--warning );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--warning--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--warning--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-warning:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-warning:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-warning.checked) button,:host(.ix-warning.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-warning.checked:hover) button,:host(.ix-warning.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-warning.checked:active) button,:host(.ix-warning.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-warning.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-warning.checked.disabled) button,:host(.ix-warning.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-invalid--required) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--invalid );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--invalid--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--invalid--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--invalid );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--invalid--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--invalid--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--invalid );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--invalid--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--invalid--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--invalid );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--invalid--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--invalid--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--invalid );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--invalid--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--invalid--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--invalid );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--invalid--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--invalid--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-invalid--required:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-invalid--required:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-invalid--required.checked) button,:host(.ix-invalid--required.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-invalid--required.checked:hover) button,:host(.ix-invalid--required.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) button,:host(.ix-invalid--required.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-invalid--required.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked.disabled) button,:host(.ix-invalid--required.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-invalid) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--invalid );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--invalid--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--invalid--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--invalid );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--invalid--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--invalid--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--invalid );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--invalid--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--invalid--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--invalid );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--invalid--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--invalid--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--invalid );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--invalid--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--invalid--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--invalid );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--invalid--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--invalid--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-invalid:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-invalid:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-invalid.checked) button,:host(.ix-invalid.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-invalid.checked:hover) button,:host(.ix-invalid.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-invalid.checked:active) button,:host(.ix-invalid.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-invalid.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-invalid.checked.disabled) button,:host(.ix-invalid.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.disabled){pointer-events:none}:host(.disabled) button,:host(.disabled) label,:host(.disabled) input{pointer-events:none}";export{i as ix_checkbox}
1
+ import{r as e,c,g as o,h as r,F as h,H as d}from"./p-EBgS4zhE.js";import{a as t}from"./p-C21npbUc.js";import{m as b}from"./p-Djkc69iv.js";import{a}from"./p-BClJdFQP.js";import{H as k}from"./p-yZFaEeBW.js";import"./p-XBTykBKS.js";const i=class{constructor(o){e(this,o),this.checkedChange=c(this,"checkedChange",7),this.valueChange=c(this,"valueChange",7),this.ixBlur=c(this,"ixBlur",7),o.$hostElement$["s-ei"]?this.formInternals=o.$hostElement$["s-ei"]:(this.formInternals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.formInternals)}get hostElement(){return o(this)}formInternals;name;value="on";label;checked=!1;disabled=!1;indeterminate=!1;required=!1;checkedChange;valueChange;ixBlur;touched=!1;hasDefaultSlotElements=!1;defaultSlotElement;inputRef=b((e=>{e.checked=this.checked}));setCheckedState(e){this.checked=e,this.checkedChange.emit(this.checked)}onCheckedChange(){this.touched=!0,this.updateFormInternalValue()}onValueChange(){this.valueChange.emit(this.value)}componentWillLoad(){this.updateFormInternalValue()}componentDidLoad(){this.updateDefaultSlotElements()}updateDefaultSlotElements(){this.hasDefaultSlotElements=a(this.defaultSlotElement)}get isLabelLess(){return!this.label&&!this.hasDefaultSlotElements}updateFormInternalValue(){this.formInternals.setFormValue(this.checked?this.value??"on":null)}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}isTouched(){return Promise.resolve(this.touched)}updateClassMappings(){}renderCheckmark(){return r("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},this.indeterminate&&r(h,null,r("rect",{width:"18",height:"18",fill:"transparent"}),r("rect",{x:"3",y:"8",width:"12",height:"2",fill:"var(--ix-checkbox-check-color)"})),this.checked&&r("path",{d:"M3.65625 8.15625L8.4375 12.9375L14.625 3.9375",stroke:"var(--ix-checkbox-check-color)","stroke-width":"2"}))}render(){return r(d,{key:"35812b8dead64c244b7a52eb16928bad8d7ab3ac","aria-checked":t(this.checked),"aria-disabled":t(this.disabled),role:"checkbox",class:{disabled:this.disabled,checked:this.checked,indeterminate:this.indeterminate,"label-less":this.isLabelLess},onFocus:()=>this.touched=!0,onBlur:()=>this.ixBlur.emit()},r("label",{key:"95d7ed9fcd59474b6978819a9b7c97ba80ba26fd"},r("input",{key:"cf9c3545c17df102d35900d5243c1f1c50f18c6f","aria-checked":t(this.checked),required:this.required,disabled:this.disabled,checked:this.checked,ref:this.inputRef,type:"checkbox",onChange:()=>this.setCheckedState(!this.checked)}),r("div",{key:"bd5a04e233b741022ee5398b13d60db12a5fd128",class:"checkbox-button"},r("button",{key:"ab34c031e430e2f867288961d6e2aad70bd0efff",disabled:this.disabled,class:{checked:this.checked},onClick:()=>this.setCheckedState(!this.checked)},this.renderCheckmark())),r("ix-typography",{key:"1de00db72c4eb6c2d259eead82e76e07ec10922b",format:"label",textColor:this.disabled?"weak":"std"},this.label,r("slot",{key:"781bb2d36b1e5b006fea618ad39b0af0a2000b21",onSlotchange:()=>this.updateDefaultSlotElements(),ref:e=>this.defaultSlotElement=e}))))}static get formAssociated(){return!0}static get watchers(){return{checked:[{onCheckedChange:0}],value:[{onValueChange:0}]}}};(function(e,c,o,r){var h,d=arguments.length,t=d<3?c:null===r?r=Object.getOwnPropertyDescriptor(c,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)t=Reflect.decorate(e,c,o,r);else for(var b=e.length-1;b>=0;b--)(h=e[b])&&(t=(d<3?h(t):d>3?h(c,o,t):h(c,o))||t);d>3&&t&&Object.defineProperty(c,o,t)})([k()],i.prototype,"updateClassMappings",null),i.style=":host{--ix-checkbox-check-color:var(--theme-color-primary--contrast);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 .checkbox-button{height:1.5rem;width:1.5rem;flex-shrink:0;display:flex;align-items:center;justify-content:center}:host button{all:unset;display:inline-flex;position:relative;align-items:center;justify-content:center;width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;max-height:1.125rem}:host button:disabled{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host button:focus-visible{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:var(--theme-checkbox--focus--outline-offset)}:host input[type=checkbox]{display:none}:host label{display:flex;justify-content:flex-start;align-items:center;gap:var(--theme-space-0);width:100%;height:100%;cursor:pointer}:host(.label-less) ix-typography{display:none}:host button{background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.checked) button,:host(.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.checked:hover) button,:host(.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.checked:active) button,:host(.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.checked.disabled) button,:host(.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-info) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--info );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--info--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--info--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--info );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--info--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--info--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--info );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--info--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--info--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--info );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--info--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--info--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--info );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--info--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--info--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--info );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--info--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--info--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-info:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-info:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-info.checked) button,:host(.ix-info.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-info.checked:hover) button,:host(.ix-info.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-info.checked:active) button,:host(.ix-info.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-info.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-info.checked.disabled) button,:host(.ix-info.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-warning) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--warning );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--warning--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--warning--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--warning );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--warning--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--warning--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--warning );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--warning--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--warning--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--warning );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--warning--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--warning--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--warning );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--warning--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--warning--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--warning );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--warning--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--warning--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-warning:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-warning:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-warning.checked) button,:host(.ix-warning.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-warning.checked:hover) button,:host(.ix-warning.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-warning.checked:active) button,:host(.ix-warning.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-warning.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-warning.checked.disabled) button,:host(.ix-warning.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-invalid--required) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--invalid );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--invalid--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--invalid--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--invalid );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--invalid--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--invalid--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--invalid );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--invalid--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--invalid--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--invalid );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--invalid--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--invalid--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--invalid );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--invalid--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--invalid--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--invalid );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--invalid--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--invalid--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-invalid--required:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-invalid--required:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-invalid--required.checked) button,:host(.ix-invalid--required.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-invalid--required.checked:hover) button,:host(.ix-invalid--required.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-invalid--required.checked:active) button,:host(.ix-invalid--required.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-invalid--required.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-invalid--required.checked.disabled) button,:host(.ix-invalid--required.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.ix-invalid) button{--theme-checkbox-unchecked--background:var( --theme-checkbox-unchecked--background--invalid );--theme-checkbox-unchecked--background--hover:var( --theme-checkbox-unchecked--background--invalid--hover );--theme-checkbox-unchecked--background--active:var( --theme-checkbox-unchecked--background--invalid--active );--theme-checkbox-unchecked--border-color:var( --theme-checkbox-unchecked--border-color--invalid );--theme-checkbox-unchecked--border-color--hover:var( --theme-checkbox-unchecked--border-color--invalid--hover );--theme-checkbox-unchecked--border-color--active:var( --theme-checkbox-unchecked--border-color--invalid--active );--theme-checkbox-checked--background:var( --theme-checkbox-checked--background--invalid );--theme-checkbox-checked--background--hover:var( --theme-checkbox-checked--background--invalid--hover );--theme-checkbox-checked--background--active:var( --theme-checkbox-checked--background--invalid--active );--theme-checkbox-checked--border-color:var( --theme-checkbox-checked--border-color--invalid );--theme-checkbox-checked--border-color--hover:var( --theme-checkbox-checked--border-color--invalid--hover );--theme-checkbox-checked--border-color--active:var( --theme-checkbox-checked--border-color--invalid--active );--theme-checkbox-mixed--background:var( --theme-checkbox-mixed--background--invalid );--theme-checkbox-mixed--background--hover:var( --theme-checkbox-mixed--background--invalid--hover );--theme-checkbox-mixed--background--active:var( --theme-checkbox-mixed--background--invalid--active );--theme-checkbox-mixed--border-color:var( --theme-checkbox-mixed--border-color--invalid );--theme-checkbox-mixed--border-color--hover:var( --theme-checkbox-mixed--border-color--invalid--hover );--theme-checkbox-mixed--border-color--active:var( --theme-checkbox-mixed--border-color--invalid--active );background-color:var(--theme-checkbox-unchecked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color)}:host(.ix-invalid:hover) button{background-color:var(--theme-checkbox-unchecked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--hover)}:host(.ix-invalid:active) button{background-color:var(--theme-checkbox-unchecked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--active)}:host(.ix-invalid.checked) button,:host(.ix-invalid.indeterminate) button{background-color:var(--theme-checkbox-checked--background);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color)}:host(.ix-invalid.checked:hover) button,:host(.ix-invalid.indeterminate:hover) button{background-color:var(--theme-checkbox-checked--background--hover);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--hover)}:host(.ix-invalid.checked:active) button,:host(.ix-invalid.indeterminate:active) button{background-color:var(--theme-checkbox-checked--background--active);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--active)}:host(.ix-invalid.disabled) button{background-color:var(--theme-checkbox-unchecked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-unchecked--border-color--disabled)}:host(.ix-invalid.checked.disabled) button,:host(.ix-invalid.indeterminate.disabled) button{background-color:var(--theme-checkbox-checked--background--disabled);border:var(--theme-checkbox--border-thickness) solid var(--theme-checkbox-checked--border-color--disabled)}:host(.disabled){pointer-events:none}:host(.disabled) button,:host(.disabled) label,:host(.disabled) input{pointer-events:none}";export{i as ix_checkbox}
@@ -1 +1 @@
1
- import{r,h as o,H as t,c as e,g as a}from"./p-EBgS4zhE.js";import{c as s}from"./p-BClJdFQP.js";import{y as l}from"./p-DgUGsIlh.js";const c=class{constructor(o){r(this,o)}render(){return o(t,{key:"bdcc31e92318ad5f9b10a5ece22fc01f2506e200"},o("slot",{key:"a7af3070d7d9766ea450e4a75417b4ae0f1137d3"}))}};c.style=":host{display:block;position:relative;overflow:auto;padding:0 0.5rem 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}";const h=class{constructor(o){r(this,o),this.closeClick=e(this,"closeClick",7)}get hostElement(){return a(this)}hideClose=!1;icon;ariaLabelIcon;ariaLabelCloseIconButton="Close modal";onIconChange(r){this.parentDialog&&(r?this.parentDialog.classList.add("with-icon"):this.parentDialog.classList.remove("with-icon"))}iconColor;closeClick;parentDialog;componentDidLoad(){this.parentDialog=s(this.hostElement,"ix-modal"),this.onIconChange(this.icon)}onCloseClick(r){this.closeClick.emit(r).defaultPrevented||r.defaultPrevented||this.parentDialog.dismissModal()}render(){return o(t,{key:"2840ba385c7ad659786f48564bf307c2290049ca"},this.icon?o("ix-icon",{name:this.icon,color:this.iconColor,size:"32","aria-label":this.ariaLabelIcon}):null,o("div",{key:"5e6ce56e0e76e527a3e71e66ea2a4ec2d22a2ed7",class:"modal-title"},o("ix-typography",{key:"cd8c3d8cdfbdfed8a1ab2285328c88985843a8b5",format:"h5"},o("slot",{key:"1de70c68751fb8ece53890adf94b95c2bfcbd66d"}))),this.hideClose?null:o("ix-icon-button",{class:"modal-close",onClick:r=>this.onCloseClick(r),variant:"tertiary",icon:l,iconColor:"color-soft-text","aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}static get watchers(){return{icon:[{onIconChange:0}]}}};h.style=":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}";export{c as ix_modal_content,h as ix_modal_header}
1
+ import{r,h as o,H as t,c as a,g as e}from"./p-EBgS4zhE.js";import{c as s}from"./p-BClJdFQP.js";import{y as l}from"./p-DgUGsIlh.js";const c=class{constructor(o){r(this,o)}render(){return o(t,{key:"090635e20ba7a130412a560db4329a045f13a8dd"},o("slot",{key:"71a6820650c0997dc09f309fdf70188b936f7434"}))}};c.style=":host{display:block;position:relative;overflow:auto;padding:0 0.5rem 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}";const h=class{constructor(o){r(this,o),this.closeClick=a(this,"closeClick",7)}get hostElement(){return e(this)}hideClose=!1;icon;ariaLabelIcon;ariaLabelCloseIconButton="Close modal";onIconChange(r){this.parentDialog&&(r?this.parentDialog.classList.add("with-icon"):this.parentDialog.classList.remove("with-icon"))}iconColor;closeClick;parentDialog;componentDidLoad(){this.parentDialog=s(this.hostElement,"ix-modal"),this.onIconChange(this.icon)}onCloseClick(r){this.closeClick.emit(r).defaultPrevented||r.defaultPrevented||this.parentDialog.dismissModal()}render(){return o(t,{key:"9be78d439e0240e95098199371f8c17a5c64cb49"},this.icon?o("ix-icon",{name:this.icon,color:this.iconColor,size:"32","aria-label":this.ariaLabelIcon}):null,o("div",{key:"7fb5bb78edaf86f7b26a7a6868e761f07870e1e0",class:"modal-title"},o("ix-typography",{key:"d350c239268ef025e5d99a84bd58f662518b2d85",format:"h5"},o("slot",{key:"f48e9917464a73998b49a799a792cf0eacc43ecc"}))),this.hideClose?null:o("ix-icon-button",{class:"modal-close",onClick:r=>this.onCloseClick(r),variant:"tertiary",icon:l,iconColor:"color-soft-text","aria-label":this.ariaLabelCloseIconButton}))}static get delegatesFocus(){return!0}static get watchers(){return{icon:[{onIconChange:0}]}}};h.style=":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}";export{c as ix_modal_content,h as ix_modal_header}
@@ -1 +1 @@
1
- import{r as i,c as t,g as o,h as a,H as s}from"./p-EBgS4zhE.js";import{a as e}from"./p-DhE1t8Qh.js";import{b as d,a as n}from"./p-C21npbUc.js";import{A as l}from"./p-DNIQ2C1K.js";import{t as r}from"./p-6ZxKp7Jn.js";import{I as h}from"./p-CWlPNXA-.js";import"./p-CWshStHZ.js";const c=class{constructor(o){i(this,o),this.dialogClose=t(this,"dialogClose",7),this.dialogDismiss=t(this,"dialogDismiss",7)}ariaAttributes={};isMouseDownInsideDialog=!1;get hostElement(){return o(this)}size="360";disableAnimation=!1;hideBackdrop=!1;closeOnBackdropClick=!1;beforeDismiss;centered=!1;isNonBlocking=!1;dialogClose;dialogDismiss;modalVisible=!1;get dialog(){return this.hostElement.shadowRoot.querySelector("dialog")}slideInModal(){const i=this.dialog;i.classList.remove("modal-open-settled");const t=this.disableAnimation?0:l.mediumTime,o=()=>i.classList.add("modal-open-settled");e(i,{duration:t,opacity:[0,1],translateY:this.centered?["-90%","-50%"]:[0,40],translateX:["-50%","-50%"],easing:"easeOutSine",complete:o}),0===t&&o()}slideOutModal(i){const t=this.dialog;t.classList.remove("modal-open-settled"),e(t,{duration:this.disableAnimation?0:l.mediumTime,opacity:[1,0],translateY:this.centered?["-50%","-90%"]:[40,0],translateX:["-50%","-50%"],easing:"easeInSine",complete:()=>{i&&i()}})}closeDialog(i,t,o){this.slideOutModal((()=>{this.modalVisible=!1,this.dialog.close(JSON.stringify({type:i,reason:t},null,2)),o.emit(t)}))}isInsideDialog(i){if(!this.dialog)return!1;if(!i.composedPath().includes(this.dialog))return!1;if(i.target!==this.dialog)return!0;const t=this.dialog.getBoundingClientRect(),{clientX:o,clientY:a}=i;return o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom}onMouseDown(i){this.isMouseDownInsideDialog=this.isInsideDialog(i)}onMouseUp(i){const t=this.isInsideDialog(i);!this.closeOnBackdropClick||this.isNonBlocking||this.isMouseDownInsideDialog||t||this.dismissModal()}async scheduleInitialAutofocus(){await new Promise((i=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{const t=this.hostElement.querySelector(h);t&&r(t,{focusVisible:!0}),i()}))}))}))}async showModal(){try{const i=await function(i,t,o=3e3){return new Promise(((a,s)=>{const e=Date.now(),d=()=>{const n=t.querySelector(i);n?a(n):Date.now()-e<o?setTimeout(d):s()};d()}))}("dialog",this.hostElement.shadowRoot);this.modalVisible=!0,this.isNonBlocking?i.show():i.showModal(),this.slideInModal(),await this.scheduleInitialAutofocus()}catch{console.error("HTMLDialogElement not existing")}}async dismissModal(i){if(!this.modalVisible)return;let t=!0;void 0!==this.beforeDismiss&&(t=await this.beforeDismiss(i)),t&&this.closeDialog("dismiss",i,this.dialogDismiss)}async closeModal(i){this.modalVisible&&this.closeDialog("close",i,this.dialogClose)}componentWillLoad(){this.ariaAttributes=d(this.hostElement)}render(){return a(s,{key:"b40ae3d2505764659681551aaab811b4c8bfcc6f",class:{visible:this.modalVisible,"no-backdrop":this.hideBackdrop,"align-center":this.centered,"non-blocking":this.isNonBlocking}},a("div",{key:"5985f073d9b74b75838b3e592fe5254dfec3ea11",class:"dialog-backdrop"},a("dialog",{key:"372dd029f7d41622559568d99fe28608e1806cab","aria-modal":n(!this.isNonBlocking),"aria-describedby":this.ariaAttributes["aria-describedby"],"aria-labelledby":this.ariaAttributes["aria-labelledby"],class:{modal:!0,[`modal-size-${this.size}`]:!0},onClose:()=>this.dismissModal(),onMouseDown:i=>this.onMouseDown(i),onMouseUp:i=>this.onMouseUp(i),onKeyDown:i=>{this.isNonBlocking&&"Escape"===i.key&&(i.preventDefault(),this.dismissModal())},onCancel:i=>{i.preventDefault(),this.dismissModal()}},a("slot",{key:"405cfdcead12f17c5bc3534d9d160fddd69106a7"}))))}};c.style="::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host .modal{display:flex;flex-direction:column;position:fixed;border:none;border-radius:var(--theme-default-border-radius);background:var(--theme-modal--background);box-shadow:var(--theme-shadow-4);color:var(--theme-color-std-text);overflow:visible;max-height:80vh;pointer-events:all;overflow-wrap:break-word}:host .modal-size-360{width:22.5rem}:host .modal-size-480{width:30rem}:host .modal-size-600{width:37.5rem}:host .modal-size-720{width:45rem}:host .modal-size-840{width:52.5rem}:host .modal-size-full-width{width:95%}:host .modal-size-full-screen{border-radius:0;left:0 !important;top:0 !important;transform:none !important;box-shadow:none;--ix-dialog-full-screen-height:calc( var(--ix-safe-area-inset-top) + var(--ix-safe-area-inset-bottom) );width:calc(100% - var(--ix-dialog-padding) * 2);min-width:calc(100% - var(--ix-dialog-padding) * 2);max-width:calc(100% - var(--ix-dialog-padding) * 2);min-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height));max-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height))}:host dialog.modal-size-full-screen::backdrop{background:var(--theme-modal--background)}:host .dialog-backdrop{display:block;position:fixed;width:100vw;height:100vh;top:0;left:0;pointer-events:none}:host ::slotted(ix-modal-footer){margin-top:auto}:host(.visible){display:block}:host(.align-center) dialog{margin:0;left:50%;top:50%}:host(.no-backdrop) dialog::backdrop,:host(.non-blocking) dialog::backdrop{background-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}:host(.with-icon) ::slotted(ix-modal-footer),:host(.with-icon) ::slotted(ix-modal-content){margin-left:3rem}";export{c as ix_modal}
1
+ import{r as i,c as t,g as o,h as a,H as s}from"./p-EBgS4zhE.js";import{a as e}from"./p-DhE1t8Qh.js";import{b as n,a as l}from"./p-C21npbUc.js";import{A as d}from"./p-DNIQ2C1K.js";import{t as r}from"./p-6ZxKp7Jn.js";import{I as h}from"./p-CWlPNXA-.js";import"./p-CWshStHZ.js";const c=class{constructor(o){i(this,o),this.dialogClose=t(this,"dialogClose",7),this.dialogDismiss=t(this,"dialogDismiss",7)}ariaAttributes={};isMouseDownInsideDialog=!1;get hostElement(){return o(this)}size="360";disableAnimation=!1;hideBackdrop=!1;closeOnBackdropClick=!1;beforeDismiss;centered=!1;isNonBlocking=!1;dialogClose;dialogDismiss;modalVisible=!1;get dialog(){return this.hostElement.shadowRoot.querySelector("dialog")}slideInModal(){const i=this.dialog;i.classList.remove("modal-open-settled");const t=this.disableAnimation?0:d.mediumTime,o=()=>i.classList.add("modal-open-settled");e(i,{duration:t,opacity:[0,1],translateY:this.centered?["-90%","-50%"]:[0,40],translateX:["-50%","-50%"],easing:"easeOutSine",complete:o}),0===t&&o()}slideOutModal(i){const t=this.dialog;t.classList.remove("modal-open-settled"),e(t,{duration:this.disableAnimation?0:d.mediumTime,opacity:[1,0],translateY:this.centered?["-50%","-90%"]:[40,0],translateX:["-50%","-50%"],easing:"easeInSine",complete:()=>{i&&i()}})}closeDialog(i,t,o){this.slideOutModal((()=>{this.modalVisible=!1,this.dialog.close(JSON.stringify({type:i,reason:t},null,2)),o.emit(t)}))}isInsideDialog(i){if(!this.dialog)return!1;if(!i.composedPath().includes(this.dialog))return!1;if(i.target!==this.dialog)return!0;const t=this.dialog.getBoundingClientRect(),{clientX:o,clientY:a}=i;return o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom}onMouseDown(i){this.isMouseDownInsideDialog=this.isInsideDialog(i)}onMouseUp(i){const t=this.isInsideDialog(i);!this.closeOnBackdropClick||this.isNonBlocking||this.isMouseDownInsideDialog||t||this.dismissModal()}async scheduleInitialAutofocus(){await new Promise((i=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{const t=this.hostElement.querySelector(h);t&&r(t,{focusVisible:!0}),i()}))}))}))}async showModal(){try{const i=await function(i,t,o=3e3){return new Promise(((a,s)=>{const e=Date.now(),n=()=>{const l=t.querySelector(i);l?a(l):Date.now()-e<o?setTimeout(n):s()};n()}))}("dialog",this.hostElement.shadowRoot);this.modalVisible=!0,this.isNonBlocking?i.show():i.showModal(),this.slideInModal(),await this.scheduleInitialAutofocus()}catch{console.error("HTMLDialogElement not existing")}}async dismissModal(i){if(!this.modalVisible)return;let t=!0;void 0!==this.beforeDismiss&&(t=await this.beforeDismiss(i)),t&&this.closeDialog("dismiss",i,this.dialogDismiss)}async closeModal(i){this.modalVisible&&this.closeDialog("close",i,this.dialogClose)}componentWillLoad(){this.ariaAttributes=n(this.hostElement)}render(){return a(s,{key:"28c4d56440766ceccf75d3cafc229c6d640c5e8e",class:{visible:this.modalVisible,"no-backdrop":this.hideBackdrop,"align-center":this.centered,"non-blocking":this.isNonBlocking}},a("div",{key:"f028e5780d37451c282a0eae8615cae3b5996b56",class:"dialog-backdrop"},a("dialog",{key:"754e476f2e39b3ca4d73d776c1ef430b28a62088","aria-modal":l(!this.isNonBlocking),"aria-describedby":this.ariaAttributes["aria-describedby"],"aria-labelledby":this.ariaAttributes["aria-labelledby"],class:{modal:!0,[`modal-size-${this.size}`]:!0},onClose:()=>this.dismissModal(),onMouseDown:i=>this.onMouseDown(i),onMouseUp:i=>this.onMouseUp(i),onKeyDown:i=>{this.isNonBlocking&&"Escape"===i.key&&(i.preventDefault(),this.dismissModal())},onCancel:i=>{i.preventDefault(),this.dismissModal()}},a("slot",{key:"a3aa26a26d244f4795b910764a316e6f8d71e255"}))))}};c.style="::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host .modal{display:flex;flex-direction:column;position:fixed;border:none;border-radius:var(--theme-default-border-radius);background:var(--theme-modal--background);box-shadow:var(--theme-shadow-4);color:var(--theme-color-std-text);overflow:visible;max-height:80vh;pointer-events:all;overflow-wrap:break-word}:host .modal-size-360{width:22.5rem}:host .modal-size-480{width:30rem}:host .modal-size-600{width:37.5rem}:host .modal-size-720{width:45rem}:host .modal-size-840{width:52.5rem}:host .modal-size-full-width{width:95%}:host .modal-size-full-screen{border-radius:0;left:0 !important;top:0 !important;transform:none !important;box-shadow:none;--ix-dialog-full-screen-height:calc( var(--ix-safe-area-inset-top) + var(--ix-safe-area-inset-bottom) );width:calc(100% - var(--ix-dialog-padding) * 2);min-width:calc(100% - var(--ix-dialog-padding) * 2);max-width:calc(100% - var(--ix-dialog-padding) * 2);min-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height));max-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height))}:host dialog.modal-size-full-screen::backdrop{background:var(--theme-modal--background)}:host .dialog-backdrop{display:block;position:fixed;width:100vw;height:100vh;top:0;left:0;pointer-events:none}:host ::slotted(ix-modal-footer){margin-top:auto}:host(.visible){display:block}:host(.align-center) dialog{margin:0;left:50%;top:50%}:host(.no-backdrop) dialog::backdrop,:host(.non-blocking) dialog::backdrop{background-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}:host(.with-icon) ::slotted(ix-modal-footer),:host(.with-icon) ::slotted(ix-modal-content){margin-left:3rem}";export{c as ix_modal}
@@ -1 +1 @@
1
- import{r,g as a,h as o,H as c}from"./p-EBgS4zhE.js";const e=class{constructor(a){r(this,a)}get hostElement(){return a(this)}variant="outline";selected=!1;passive=!1;render(){return o(c,{key:"b7cda25da56fae5d7bb3afd89867d7d64e66da9d",class:{selected:this.selected,[`card-${this.variant}`]:!0,passive:this.passive}},o("div",{key:"7bc1c062f62d8f053c17af8993fac55611ef6ef2",class:"card-content"},o("slot",{key:"2ea9c6d84ef11db4fe662c22005b09cdb0b9a227"})),o("div",{key:"157ff1e9785bae0e572f37e3529f224bb4e925fd",class:"card-footer"},o("slot",{key:"171e9b6c82b90b7cb1e5b9ca5f45dbcb2cacd26b",name:"card-accordion"})))}};e.style=":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--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 .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var( --theme-card-outline--border-color--selected );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var( --theme-card-filled--border-color--selected );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var( --theme-card-alarm--border-color--selected );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var( --theme-card-critical--border-color--selected );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var( --theme-card-warning--border-color--selected );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var( --theme-card-success--border-color--selected );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var( --theme-card-info--border-color--selected );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var( --theme-card-neutral--border-color--selected );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var( --theme-card-primary--border-color--selected );--ix-card-background:var(--theme-card-primary--background--selected)}:host(.passive){cursor:default}:host(.passive.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color)}:host(.passive.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color)}:host(.passive.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color)}:host(.passive.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color)}:host(.passive.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color)}:host(.passive.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color)}:host(.passive.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color)}:host(.passive.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color)}:host(.passive.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color)}";const d=class{constructor(a){r(this,a)}render(){return o(c,{key:"918473b60dc96e14c935bd7d46022b7a9c0abf46"},o("div",{key:"4e5593a246b22c0d04f777ff89bbc8a936d05db3",class:"content-wrapper"},o("slot",{key:"7a89cac6011e0446fe3a0cfd45036967af53ab79"})))}};d.style=":host{display:flex;padding:1rem;height:100%;overflow:hidden}: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 .content-wrapper{box-sizing:border-box;height:100%;width:100%;overflow:hidden;gap:0.5rem;display:flex;flex-direction:column;align-items:flex-start}";export{e as ix_card,d as ix_card_content}
1
+ import{r,g as a,h as o,H as e}from"./p-EBgS4zhE.js";const c=class{constructor(a){r(this,a)}get hostElement(){return a(this)}variant="outline";selected=!1;passive=!1;render(){return o(e,{key:"f03127d68ad6d11da72bcc3fd2b35c7f2f45c390",class:{selected:this.selected,[`card-${this.variant}`]:!0,passive:this.passive}},o("div",{key:"d509b3f44bd4a18fcb681d5c0679f1ee878d6a12",class:"card-content"},o("slot",{key:"f3517a1efda8bcf1a5ee9652450effdd04a01ea9"})),o("div",{key:"7e188b0dff328111f405b3c24b17cdf5ffe98c8d",class:"card-footer"},o("slot",{key:"249d1d75a93c74866a112efc6cd8a1918740e4f2",name:"card-accordion"})))}};c.style=":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;align-self:flex-start;overflow:hidden;cursor:pointer;width:20rem;border:var(--theme-card--border-width) solid var(--ix-card-border-color, var(--theme-color-soft-bdr));border-radius:var(--theme-card--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 .card-content{display:block;position:relative;flex-shrink:0;flex-grow:1;width:100%;height:calc(100% - 2rem);background-color:var(--ix-card-background, transparent);border-top-left-radius:var(--theme-card--border-radius);border-top-right-radius:var(--theme-card--border-radius);overflow:hidden}:host .card-content-wrapper{height:100%;width:100%;box-sizing:border-box}:host .card-footer{display:flex;position:relative;width:100%}:host(.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color);color:var(--theme-card-outline--color)}:host(.card-outline) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color);color:var(--theme-card-filled--color)}:host(.card-filled) ::slotted(ix-card-accordion){color:var(--theme-color-std-text)}:host(.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color);color:var(--theme-card-alarm--color)}:host(.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color);color:var(--theme-card-critical--color)}:host(.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color);color:var(--theme-card-warning--color)}:host(.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color);color:var(--theme-card-success--color)}:host(.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color);color:var(--theme-card-info--color)}:host(.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color);color:var(--theme-card-neutral--color)}:host(.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color);color:var(--theme-card-primary--color)}:host(:not(.card-insight,.card-outline)){--ix-card-border-color:transparent}:host(.card-outline:hover){--ix-card-border-color:var(--theme-card-outline--border-color--hover);--ix-card-background:var(--theme-card-outline--background--hover)}:host(.card-outline:active){--ix-card-border-color:var(--theme-card-outline--border-color--active);--ix-card-background:var(--theme-card-outline--background--active)}:host(.selected.card-outline){--ix-card-border-color:var( --theme-card-outline--border-color--selected );--ix-card-background:var(--theme-card-outline--background--selected)}:host(.card-filled:hover){--ix-card-border-color:var(--theme-card-filled--border-color--hover);--ix-card-background:var(--theme-card-filled--background--hover)}:host(.card-filled:active){--ix-card-border-color:var(--theme-card-filled--border-color--active);--ix-card-background:var(--theme-card-filled--background--active)}:host(.selected.card-filled){--ix-card-border-color:var( --theme-card-filled--border-color--selected );--ix-card-background:var(--theme-card-filled--background--selected)}:host(.card-alarm:hover){--ix-card-border-color:var(--theme-card-alarm--border-color--hover);--ix-card-background:var(--theme-card-alarm--background--hover)}:host(.card-alarm:active){--ix-card-border-color:var(--theme-card-alarm--border-color--active);--ix-card-background:var(--theme-card-alarm--background--active)}:host(.selected.card-alarm){--ix-card-border-color:var( --theme-card-alarm--border-color--selected );--ix-card-background:var(--theme-card-alarm--background--selected)}:host(.card-critical:hover){--ix-card-border-color:var(--theme-card-critical--border-color--hover);--ix-card-background:var(--theme-card-critical--background--hover)}:host(.card-critical:active){--ix-card-border-color:var(--theme-card-critical--border-color--active);--ix-card-background:var(--theme-card-critical--background--active)}:host(.selected.card-critical){--ix-card-border-color:var( --theme-card-critical--border-color--selected );--ix-card-background:var(--theme-card-critical--background--selected)}:host(.card-warning:hover){--ix-card-border-color:var(--theme-card-warning--border-color--hover);--ix-card-background:var(--theme-card-warning--background--hover)}:host(.card-warning:active){--ix-card-border-color:var(--theme-card-warning--border-color--active);--ix-card-background:var(--theme-card-warning--background--active)}:host(.selected.card-warning){--ix-card-border-color:var( --theme-card-warning--border-color--selected );--ix-card-background:var(--theme-card-warning--background--selected)}:host(.card-success:hover){--ix-card-border-color:var(--theme-card-success--border-color--hover);--ix-card-background:var(--theme-card-success--background--hover)}:host(.card-success:active){--ix-card-border-color:var(--theme-card-success--border-color--active);--ix-card-background:var(--theme-card-success--background--active)}:host(.selected.card-success){--ix-card-border-color:var( --theme-card-success--border-color--selected );--ix-card-background:var(--theme-card-success--background--selected)}:host(.card-info:hover){--ix-card-border-color:var(--theme-card-info--border-color--hover);--ix-card-background:var(--theme-card-info--background--hover)}:host(.card-info:active){--ix-card-border-color:var(--theme-card-info--border-color--active);--ix-card-background:var(--theme-card-info--background--active)}:host(.selected.card-info){--ix-card-border-color:var( --theme-card-info--border-color--selected );--ix-card-background:var(--theme-card-info--background--selected)}:host(.card-neutral:hover){--ix-card-border-color:var(--theme-card-neutral--border-color--hover);--ix-card-background:var(--theme-card-neutral--background--hover)}:host(.card-neutral:active){--ix-card-border-color:var(--theme-card-neutral--border-color--active);--ix-card-background:var(--theme-card-neutral--background--active)}:host(.selected.card-neutral){--ix-card-border-color:var( --theme-card-neutral--border-color--selected );--ix-card-background:var(--theme-card-neutral--background--selected)}:host(.card-primary:hover){--ix-card-border-color:var(--theme-card-primary--border-color--hover);--ix-card-background:var(--theme-card-primary--background--hover)}:host(.card-primary:active){--ix-card-border-color:var(--theme-card-primary--border-color--active);--ix-card-background:var(--theme-card-primary--background--active)}:host(.selected.card-primary){--ix-card-border-color:var( --theme-card-primary--border-color--selected );--ix-card-background:var(--theme-card-primary--background--selected)}:host(.passive){cursor:default}:host(.passive.card-outline){--ix-card-background:var(--theme-card-outline--background);--ix-card-border-color:var(--theme-card-outline--border-color)}:host(.passive.card-filled){--ix-card-background:var(--theme-card-filled--background);--ix-card-border-color:var(--theme-card-filled--border-color)}:host(.passive.card-alarm){--ix-card-background:var(--theme-card-alarm--background);--ix-card-border-color:var(--theme-card-alarm--border-color)}:host(.passive.card-critical){--ix-card-background:var(--theme-card-critical--background);--ix-card-border-color:var(--theme-card-critical--border-color)}:host(.passive.card-warning){--ix-card-background:var(--theme-card-warning--background);--ix-card-border-color:var(--theme-card-warning--border-color)}:host(.passive.card-success){--ix-card-background:var(--theme-card-success--background);--ix-card-border-color:var(--theme-card-success--border-color)}:host(.passive.card-info){--ix-card-background:var(--theme-card-info--background);--ix-card-border-color:var(--theme-card-info--border-color)}:host(.passive.card-neutral){--ix-card-background:var(--theme-card-neutral--background);--ix-card-border-color:var(--theme-card-neutral--border-color)}:host(.passive.card-primary){--ix-card-background:var(--theme-card-primary--background);--ix-card-border-color:var(--theme-card-primary--border-color)}";const d=class{constructor(a){r(this,a)}render(){return o(e,{key:"1198efe8d8ff7651bf7388ef59a441dacb56893d"},o("div",{key:"af4efb9e309955fd6ec9e07e32d477655a6db7c3",class:"content-wrapper"},o("slot",{key:"661b91d70973f16ae60a9eacb1f58a8b7e3cdc98"})))}};d.style=":host{display:flex;padding:1rem;height:100%;overflow:hidden}: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 .content-wrapper{box-sizing:border-box;height:100%;width:100%;overflow:hidden;gap:0.5rem;display:flex;flex-direction:column;align-items:flex-start}";export{c as ix_card,d as ix_card_content}
@@ -1 +1 @@
1
- import{M as t,r as e,g as o,h as r,H as a,c as i,d as n}from"./p-EBgS4zhE.js";import{a as c}from"./p-C21npbUc.js";import{D as s,h as l}from"./p-BWgttsqY.js";import{m as h}from"./p-Djkc69iv.js";import{y as b,e as d}from"./p-DgUGsIlh.js";import{C as u}from"./p-CUbYLenp.js";import{B as m}from"./p-B0y5hnj5.js";import{q as g}from"./p-6ZxKp7Jn.js";import{I as v}from"./p-vphIrWGB.js";import{r as p}from"./p-BEuV0Xpe.js";import"./p-BClJdFQP.js";const f=class extends(t(...s)){constructor(t){super(),e(this,t)}get hostElement(){return o(this)}variant="primary";outline=!1;icon;ariaLabelIcon;background;pillColor;alignLeft=!1;tooltipText=!1;iconOnly=!1;containerElementRef=h();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 t="string"==typeof this.tooltipText&&this.tooltipText.trim()?this.tooltipText:this.hostElement.textContent?.trim();return r("ix-tooltip",{for:this.containerElementRef.waitForCurrent(),"aria-label":t||void 0},t)}render(){let t={};"custom"===this.variant&&(t={color:this.pillColor,[this.outline?"borderColor":"backgroundColor"]:this.background});const e=this.hostElement.hasAttribute("aria-label")||this.hostElement.hasAttribute("aria-labelledby");let o;this.hostElement.hasAttribute("role")?o=this.hostElement.getAttribute("role")??void 0:e&&(o="group");const i=!this.ariaLabelIcon?.trim();return r(a,{key:"67338905de82719c9a01fe022487ed706b35d8e6",style:"custom"===this.variant?{"--ix-icon-button-color":this.pillColor}:{},class:{"align-left":this.alignLeft},role:o},r("div",{key:"673b20609f91ffd09d80564d6aa709fe4d9303ad",ref:this.containerElementRef,style:{...t},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:"76b1e2d1b248f13f68417f91c72130f40f4e2755",class:{"with-icon":!0},name:this.icon,size:"16","aria-label":this.ariaLabelIcon,"aria-hidden":c(i)}),r("span",{key:"215af7f202cfd01c6f2f5dc43fbc9b2a6d296ed2",class:"slot-container"},r("slot",{key:"0e2082d82c6c6be68a7107692c6162080178f601",onSlotchange:()=>this.checkIfContentAvailable()}))),this.getTooltip())}};f.style=":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}";const k=class extends(t(...s,u,m)){constructor(t){super(),e(this,t),this.tabClick=i(this,"tabClick",7),this.tabClose=i(this,"tabClose",7)}get hostElement(){return o(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(t){t.defaultPrevented||(this.disabled?t.preventDefault():this.tabClick.emit({tabKey:this.tabKey,nativeEvent:t}).defaultPrevented&&t.stopPropagation())}render(){let t="normal";const e=this.label||this.hostElement.textContent?.trim();return t=this.rounded?"rounded":!this.icon||void 0!==e&&""!==e?"normal":"icon-only",r(a,{key:"cbb2004638023c1beeb4af192ba6219380c8f0e6",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"===t,stretched:"stretched"===this.layout,bottom:"bottom"===this.placement,top:"top"===this.placement,circle:this.rounded},onClick:t=>this.onTabSelect(t),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||this.onTabSelect(t),this.closable&&"Delete"===t.key&&(t.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:t}))}},"rounded"===t&&r("div",{key:"1f98b9019ba76864d03c491435a60e913f566584",class:{circle:!0}},this.icon&&r("ix-icon",{key:"6849def7bdb3dba05f4a1b84f9067777bede78c5",name:this.icon,size:"24"}),r("slot",{key:"41b3464f6fc45ad5b853223c5a8819a00dcca841"})),this.icon&&"rounded"!==t&&r("ix-icon",{key:"b9af7159f9306c2b841066a726008afdee58e472",name:this.icon,size:"16",class:"tab-icon"}),"normal"===t&&r("div",{key:"87d1993bfa9bf76dff49f15b9a1e5e4f7dfe9a56",class:{text:!!this.label,selected:this.selected,disabled:this.disabled}},this.label,r("slot",{key:"328e393a77d1c24b487ef874e07bf7772cc24820"})),"rounded"===t&&void 0!==this.counter&&r("div",{key:"2758fc1447296c9c2cc04ce92905e5ba4fca9a1b",class:{counter:!0,selected:this.selected,disabled:this.disabled}},this.counter),this.counter&&"rounded"!==t&&r("ix-pill",{key:"6a749ea40148e1d5ca319b7cfa52176e1303d1bd",variant:"primary",outline:!0,class:"tab-counter"},this.counter),this.closable&&"rounded"!==t&&r("ix-icon-button",{key:"35fdcd1095f49cb083e10ce3aeb33e54458968d9","aria-label":this.ariaLabelCloseButton,class:"close-tab",size:"12",variant:"subtle-tertiary",icon:b,onClick:t=>{t.stopPropagation(),t.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:t})}}))}};k.style=':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(.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)}';const w=class{constructor(t){e(this,t)}get hostElement(){return o(this)}get tabPanels(){return Array.from(g(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,e=this.tabListItems,o=this.tabPanels;if(!t||!e||!o)return;const r=t.activeTabKey;if(!r)return;const a=e.find((t=>t.tabKey===r)),i=o.find((t=>t.tabKey===r));if(!a||!i)return;const n=a.getAttribute("id");i.setAttribute("aria-labelledby",n??"");const c=i.getAttribute("id");a.setAttribute("aria-controls",c??""),this.checkPanelsVisibility()}checkPanelsVisibility(){const t=this.tabList?.querySelectorAll("ix-tab-item"),e=this.tabPanels;t&&e&&e.forEach((t=>{t.hidden=t.tabKey!==this.tabList?.activeTabKey}))}render(){return r(a,{key:"90be74d89acb43edb6eec575f07a3877ec90ac45",onTabChange:()=>this.checkPanelsVisibility()},r("slot",{key:"047c26c15f8b43312a25a35dddadd364a5b9f839"}))}};w.style=":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}";const x=class extends(t(...s,v)){constructor(t){super(),e(this,t),this.tabChange=i(this,"tabChange",7),this.tabClose=i(this,"tabClose",7)}get hostElement(){return o(this)}small=!1;rounded=!1;layout="auto";placement="bottom";ariaLabelMoreTabs="Show all tabs";activeTabKey;keyboardNavigation="automatic";tabChange;tabClose;isTabsOverflow=!1;overflowMenuItems=[];resizeObserver;itemsObserver;tabsContainerRef=h();tabsRef=h();get tabs(){return Array.from(this.hostElement.querySelectorAll("ix-tab-item"))}componentDidLoad(){this.itemsObserver=new MutationObserver((()=>{this.onComponentChildrenChange(),p((()=>this.onComponentResize()))})),this.itemsObserver.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.resizeObserver=new ResizeObserver((()=>this.onComponentResize())),this.resizeObserver.observe(this.hostElement),this.onComponentResize()}componentWillLoad(){this.onComponentChildrenChange(),this.activeTabKey&&this.setTabActive(this.activeTabKey)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect(),this.itemsObserver&&this.itemsObserver.disconnect()}onActiveTabChange(t,e){const o=this.tabs.find((t=>t.selected));o?.tabKey!==t&&this.emitTabChangeEvent(t,e)}setTabActive(t){const e=this.tabs;if(void 0===t)return e.forEach((t=>t.selected=!1)),this.onComponentChildrenChange(),void(this.activeTabKey=void 0);const o=e.find((e=>e.tabKey===t));return o&&!o.disabled?(e.forEach((t=>t.selected=!1)),o.selected=!0,this.onComponentChildrenChange(),this.activeTabKey=o.tabKey,o.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),this.activeTabKey):void 0}onComponentChildrenChange(){const t=this.tabs;t.forEach((e=>{const o={layout:this.layout,small:this.small,rounded:this.rounded,placement:this.placement,iconOnly:t.every((t=>!t.label&&!!t.icon))};Object.assign(e,o)})),this.overflowMenuItems=Array.from(t).map((t=>({tabKey:t.tabKey,label:t.label||t.textContent||"",icon:t.icon,disabled:t.disabled}))),!t.some((t=>t.selected))&&t.length>0&&l()&&(t[0].focus(),this.emitTabChangeEvent(t[0].tabKey))}onComponentResize(){const t=this.tabsRef.current;t&&n((()=>{this.isTabsOverflow=t.scrollWidth>t.clientWidth}))}onTabClick(t){t.defaultPrevented||void 0!==t.detail.tabKey&&this.emitTabChangeEvent(t.detail.tabKey)}emitTabChangeEvent(t,e=this.activeTabKey){!function(t,e,o){const r=t(),{defaultPrevented:a}=e.emit(r.new);a&&o(r.old)}((()=>({new:this.setTabActive(t),old:e})),this.tabChange,(t=>this.setTabActive(t)))}onTabsNavigate(t){if(t.target instanceof HTMLElement&&"tablist"===t.target.getAttribute("role"))return;const e=this.tabs.filter((t=>!t.disabled));let o=e.findIndex((t=>t.selected));"manual"===this.keyboardNavigation&&(o=e.findIndex((t=>t===document.activeElement)));const r=t=>{t.focus(),"automatic"===this.keyboardNavigation&&this.emitTabChangeEvent(t.tabKey)};if("ArrowRight"===t.key||"ArrowLeft"===t.key){if(t.preventDefault(),-1===o)return;r(e[(o+("ArrowRight"===t.key?1:-1)+e.length)%e.length])}"Home"===t.key&&(t.preventDefault(),r(e[0])),"End"===t.key&&(t.preventDefault(),r(e[e.length-1]))}render(){return r(a,{key:"2e8b5f9f4d3658bd219e6ca5d5a829d16f0c1977",onTabClick:t=>this.onTabClick(t),class:{small:this.small}},r("div",{key:"8e45e2d46485c6e3147b2237f6109d63cd02758c",ref:this.tabsContainerRef,class:{"tabs-container":!0,top:"top"===this.placement,bottom:"bottom"===this.placement}},r("div",{key:"69b6177b0c8c7c20d039a434866f93135e168155",class:{"overflow-shadow-container":!0,"overflow-shadow":this.isTabsOverflow}},r("div",{key:"97d6ccbe5e623cbedf6be21de05005599b9a2bcd",role:"tablist",...this.inheritAriaAttributes,ref:this.tabsRef,class:{tabs:!0,"tabs-stretched":"stretched"===this.layout},tabIndex:this.isTabsOverflow?0:-1,onKeyDown:t=>this.onTabsNavigate(t)},r("slot",{key:"2ceb8d8dc886c9784e244172750192297f077360"}))),this.isTabsOverflow&&"stretched"!==this.layout&&r("ix-dropdown-button",{key:"a7041a35c2dcac4f86eefbfbae5ac36ba9c45436",ariaLabel:this.ariaLabelMoreTabs,icon:d,class:{"tabs-context-menu":!0},variant:"subtle-tertiary"},this.overflowMenuItems.map((t=>r("ix-dropdown-item",{key:t.tabKey,checked:t.tabKey===this.activeTabKey,icon:t.icon,label:t.label,disabled:t.disabled,onClick:()=>this.activeTabKey=t.tabKey}))))))}static get delegatesFocus(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}}};x.style=':host{width:auto;display:flex;align-items:center;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 .tabs-container{display:flex;flex-direction:row;position:relative;width:100%;justify-content:space-between;align-items:center}:host .tabs-container.top::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.top::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.top::before,:host .tabs-container.top::after{top:0;bottom:auto}:host .tabs-container.bottom::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.bottom::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.bottom::before,:host .tabs-container.bottom::after{top:auto;bottom:0}:host .tabs{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;scroll-behavior:smooth;width:100%;touch-action:pan-y;padding-right:2.75rem;scrollbar-width:none}:host .tabs::-webkit-scrollbar{display:none}:host .tabs.tabs-stretched{padding-right:0px}:host .tabs:focus-visible{outline-offset:-1px;outline:1px solid var(--theme-color-focus-bdr)}:host .tabs-context-menu{margin-right:0.5rem}:host .overflow-shadow-container{display:block;position:relative;height:100%;width:100%;pointer-events:all;overflow:auto}:host .overflow-shadow{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}';export{f as ix_pill,k as ix_tab_item,w as ix_tab_set,x as ix_tabs}
1
+ import{M as t,r as e,g as o,h as r,H as a,c as i,d as n}from"./p-EBgS4zhE.js";import{a as c}from"./p-C21npbUc.js";import{D as s,h as l}from"./p-BWgttsqY.js";import{m as h}from"./p-Djkc69iv.js";import{y as b,e as d}from"./p-DgUGsIlh.js";import{C as u}from"./p-CUbYLenp.js";import{B as m}from"./p-B0y5hnj5.js";import{q as g}from"./p-6ZxKp7Jn.js";import{I as v}from"./p-vphIrWGB.js";import{r as p}from"./p-BEuV0Xpe.js";import"./p-BClJdFQP.js";const f=class extends(t(...s)){constructor(t){super(),e(this,t)}get hostElement(){return o(this)}variant="primary";outline=!1;icon;ariaLabelIcon;background;pillColor;alignLeft=!1;tooltipText=!1;iconOnly=!1;containerElementRef=h();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 t="string"==typeof this.tooltipText&&this.tooltipText.trim()?this.tooltipText:this.hostElement.textContent?.trim();return r("ix-tooltip",{for:this.containerElementRef.waitForCurrent(),"aria-label":t||void 0},t)}render(){let t={};"custom"===this.variant&&(t={color:this.pillColor,[this.outline?"borderColor":"backgroundColor"]:this.background});const e=this.hostElement.hasAttribute("aria-label")||this.hostElement.hasAttribute("aria-labelledby");let o;this.hostElement.hasAttribute("role")?o=this.hostElement.getAttribute("role")??void 0:e&&(o="group");const i=!this.ariaLabelIcon?.trim();return r(a,{key:"827e58b1bdd980292651befee4ad756cbea0699f",style:"custom"===this.variant?{"--ix-icon-button-color":this.pillColor}:{},class:{"align-left":this.alignLeft},role:o},r("div",{key:"f50b1d1f5a36ae985e55c66d97723640dcbd667f",ref:this.containerElementRef,style:{...t},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:"8f24375cb42813b0a651997a672fda5c9c16b8d3",class:{"with-icon":!0},name:this.icon,size:"16","aria-label":this.ariaLabelIcon,"aria-hidden":c(i)}),r("span",{key:"356a8805398e1978e5c7bfe61e3c383d0f4af640",class:"slot-container"},r("slot",{key:"ac249a29b4cbf9cba9d0fef7b2c5a8992d4f9c3d",onSlotchange:()=>this.checkIfContentAvailable()}))),this.getTooltip())}};f.style=":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}";const k=class extends(t(...s,u,m)){constructor(t){super(),e(this,t),this.tabClick=i(this,"tabClick",7),this.tabClose=i(this,"tabClose",7)}get hostElement(){return o(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(t){t.defaultPrevented||(this.disabled?t.preventDefault():this.tabClick.emit({tabKey:this.tabKey,nativeEvent:t}).defaultPrevented&&t.stopPropagation())}render(){let t="normal";const e=this.label||this.hostElement.textContent?.trim();return t=this.rounded?"rounded":!this.icon||void 0!==e&&""!==e?"normal":"icon-only",r(a,{key:"969e6b76acebe9b4cc5a848816a458f646dff170",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"===t,stretched:"stretched"===this.layout,bottom:"bottom"===this.placement,top:"top"===this.placement,circle:this.rounded},onClick:t=>this.onTabSelect(t),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||this.onTabSelect(t),this.closable&&"Delete"===t.key&&(t.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:t}))}},"rounded"===t&&r("div",{key:"d2e2981b50a2ad628f42c9f900642116ac9e2700",class:{circle:!0}},this.icon&&r("ix-icon",{key:"c448b69e6ce2fabd7b145e971357f4b0a005d068",name:this.icon,size:"24"}),r("slot",{key:"e94aa65381c45d69307331495dff9eebad4e7524"})),this.icon&&"rounded"!==t&&r("ix-icon",{key:"8d950fb65ff969353196984ff7932b3fc2302525",name:this.icon,size:"16",class:"tab-icon"}),"normal"===t&&r("div",{key:"3d4a6b91bb7babe94ff5c36a2b380cc037356e4a",class:{text:!!this.label,selected:this.selected,disabled:this.disabled}},this.label,r("slot",{key:"6a9619ce129c7ee8f69e6dcb855ecf1b23c23368"})),"rounded"===t&&void 0!==this.counter&&r("div",{key:"aa23743c0de55d445ded68edf7a6c2c588563715",class:{counter:!0,selected:this.selected,disabled:this.disabled}},this.counter),this.counter&&"rounded"!==t&&r("ix-pill",{key:"472d0aff014dedb09a1932f0ba3e826a13865167",variant:"primary",outline:!0,class:"tab-counter"},this.counter),this.closable&&"rounded"!==t&&r("ix-icon-button",{key:"81ad093b009fe1dbf3a098d68d6ce407d6b3312a","aria-label":this.ariaLabelCloseButton,class:"close-tab",size:"12",variant:"subtle-tertiary",icon:b,onClick:t=>{t.stopPropagation(),t.preventDefault(),this.tabClose.emit({tabKey:this.tabKey,nativeEvent:t})}}))}};k.style=':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(.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)}';const w=class{constructor(t){e(this,t)}get hostElement(){return o(this)}get tabPanels(){return Array.from(g(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,e=this.tabListItems,o=this.tabPanels;if(!t||!e||!o)return;const r=t.activeTabKey;if(!r)return;const a=e.find((t=>t.tabKey===r)),i=o.find((t=>t.tabKey===r));if(!a||!i)return;const n=a.getAttribute("id");i.setAttribute("aria-labelledby",n??"");const c=i.getAttribute("id");a.setAttribute("aria-controls",c??""),this.checkPanelsVisibility()}checkPanelsVisibility(){const t=this.tabList?.querySelectorAll("ix-tab-item"),e=this.tabPanels;t&&e&&e.forEach((t=>{t.hidden=t.tabKey!==this.tabList?.activeTabKey}))}render(){return r(a,{key:"90be74d89acb43edb6eec575f07a3877ec90ac45",onTabChange:()=>this.checkPanelsVisibility()},r("slot",{key:"047c26c15f8b43312a25a35dddadd364a5b9f839"}))}};w.style=":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}";const x=class extends(t(...s,v)){constructor(t){super(),e(this,t),this.tabChange=i(this,"tabChange",7),this.tabClose=i(this,"tabClose",7)}get hostElement(){return o(this)}small=!1;rounded=!1;layout="auto";placement="bottom";ariaLabelMoreTabs="Show all tabs";activeTabKey;keyboardNavigation="automatic";tabChange;tabClose;isTabsOverflow=!1;overflowMenuItems=[];resizeObserver;itemsObserver;tabsContainerRef=h();tabsRef=h();get tabs(){return Array.from(this.hostElement.querySelectorAll("ix-tab-item"))}componentDidLoad(){this.itemsObserver=new MutationObserver((()=>{this.onComponentChildrenChange(),p((()=>this.onComponentResize()))})),this.itemsObserver.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.resizeObserver=new ResizeObserver((()=>this.onComponentResize())),this.resizeObserver.observe(this.hostElement),this.onComponentResize()}componentWillLoad(){this.onComponentChildrenChange(),this.activeTabKey&&this.setTabActive(this.activeTabKey)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect(),this.itemsObserver&&this.itemsObserver.disconnect()}onActiveTabChange(t,e){const o=this.tabs.find((t=>t.selected));o?.tabKey!==t&&this.emitTabChangeEvent(t,e)}setTabActive(t){const e=this.tabs;if(void 0===t)return e.forEach((t=>t.selected=!1)),this.onComponentChildrenChange(),void(this.activeTabKey=void 0);const o=e.find((e=>e.tabKey===t));return o&&!o.disabled?(e.forEach((t=>t.selected=!1)),o.selected=!0,this.onComponentChildrenChange(),this.activeTabKey=o.tabKey,o.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),this.activeTabKey):void 0}onComponentChildrenChange(){const t=this.tabs;t.forEach((e=>{const o={layout:this.layout,small:this.small,rounded:this.rounded,placement:this.placement,iconOnly:t.every((t=>!t.label&&!!t.icon))};Object.assign(e,o)})),this.overflowMenuItems=Array.from(t).map((t=>({tabKey:t.tabKey,label:t.label||t.textContent||"",icon:t.icon,disabled:t.disabled}))),!t.some((t=>t.selected))&&t.length>0&&l()&&(t[0].focus(),this.emitTabChangeEvent(t[0].tabKey))}onComponentResize(){const t=this.tabsRef.current;t&&n((()=>{this.isTabsOverflow=t.scrollWidth>t.clientWidth}))}onTabClick(t){t.defaultPrevented||void 0!==t.detail.tabKey&&this.emitTabChangeEvent(t.detail.tabKey)}emitTabChangeEvent(t,e=this.activeTabKey){!function(t,e,o){const r=t(),{defaultPrevented:a}=e.emit(r.new);a&&o(r.old)}((()=>({new:this.setTabActive(t),old:e})),this.tabChange,(t=>this.setTabActive(t)))}onTabsNavigate(t){if(t.target instanceof HTMLElement&&"tablist"===t.target.getAttribute("role"))return;const e=this.tabs.filter((t=>!t.disabled));let o=e.findIndex((t=>t.selected));"manual"===this.keyboardNavigation&&(o=e.findIndex((t=>t===document.activeElement)));const r=t=>{t.focus(),"automatic"===this.keyboardNavigation&&this.emitTabChangeEvent(t.tabKey)};if("ArrowRight"===t.key||"ArrowLeft"===t.key){if(t.preventDefault(),-1===o)return;r(e[(o+("ArrowRight"===t.key?1:-1)+e.length)%e.length])}"Home"===t.key&&(t.preventDefault(),r(e[0])),"End"===t.key&&(t.preventDefault(),r(e[e.length-1]))}render(){return r(a,{key:"e9e5ca8f1b7452ae44ea8f53f21153198b6b8111",onTabClick:t=>this.onTabClick(t),class:{small:this.small}},r("div",{key:"d9d5d3e0c58df201b0a5c2dd0bcc674c38569cd7",ref:this.tabsContainerRef,class:{"tabs-container":!0,top:"top"===this.placement,bottom:"bottom"===this.placement}},r("div",{key:"23433718ad5b18cda24a8d007617043ee7864e2f",class:{"overflow-shadow-container":!0,"overflow-shadow":this.isTabsOverflow}},r("div",{key:"745b6a2145d1d5e51f32870a704af18204cf5809",role:"tablist",...this.inheritAriaAttributes,ref:this.tabsRef,class:{tabs:!0,"tabs-stretched":"stretched"===this.layout},tabIndex:this.isTabsOverflow?0:-1,onKeyDown:t=>this.onTabsNavigate(t)},r("slot",{key:"3518fe1d37ca84c24b75a49dc047473daa1a5e28"}))),this.isTabsOverflow&&"stretched"!==this.layout&&r("ix-dropdown-button",{key:"626d85cf76445fa4921268de9b489fa762af86ce",ariaLabel:this.ariaLabelMoreTabs,icon:d,class:{"tabs-context-menu":!0},variant:"subtle-tertiary"},this.overflowMenuItems.map((t=>r("ix-dropdown-item",{key:t.tabKey,checked:t.tabKey===this.activeTabKey,icon:t.icon,label:t.label,disabled:t.disabled,onClick:()=>this.activeTabKey=t.tabKey}))))))}static get delegatesFocus(){return!0}static get watchers(){return{role:[{ariaAttributeChanged:0}],"aria-activedescendant":[{ariaAttributeChanged:0}],"aria-atomic":[{ariaAttributeChanged:0}],"aria-autocomplete":[{ariaAttributeChanged:0}],"aria-braillelabel":[{ariaAttributeChanged:0}],"aria-brailleroledescription":[{ariaAttributeChanged:0}],"aria-busy":[{ariaAttributeChanged:0}],"aria-checked":[{ariaAttributeChanged:0}],"aria-colcount":[{ariaAttributeChanged:0}],"aria-colindex":[{ariaAttributeChanged:0}],"aria-colindextext":[{ariaAttributeChanged:0}],"aria-colspan":[{ariaAttributeChanged:0}],"aria-controls":[{ariaAttributeChanged:0}],"aria-current":[{ariaAttributeChanged:0}],"aria-describedby":[{ariaAttributeChanged:0}],"aria-description":[{ariaAttributeChanged:0}],"aria-details":[{ariaAttributeChanged:0}],"aria-disabled":[{ariaAttributeChanged:0}],"aria-errormessage":[{ariaAttributeChanged:0}],"aria-expanded":[{ariaAttributeChanged:0}],"aria-flowto":[{ariaAttributeChanged:0}],"aria-haspopup":[{ariaAttributeChanged:0}],"aria-hidden":[{ariaAttributeChanged:0}],"aria-invalid":[{ariaAttributeChanged:0}],"aria-keyshortcuts":[{ariaAttributeChanged:0}],"aria-label":[{ariaAttributeChanged:0}],"aria-labelledby":[{ariaAttributeChanged:0}],"aria-level":[{ariaAttributeChanged:0}],"aria-live":[{ariaAttributeChanged:0}],"aria-multiline":[{ariaAttributeChanged:0}],"aria-multiselectable":[{ariaAttributeChanged:0}],"aria-orientation":[{ariaAttributeChanged:0}],"aria-owns":[{ariaAttributeChanged:0}],"aria-placeholder":[{ariaAttributeChanged:0}],"aria-posinset":[{ariaAttributeChanged:0}],"aria-pressed":[{ariaAttributeChanged:0}],"aria-readonly":[{ariaAttributeChanged:0}],"aria-relevant":[{ariaAttributeChanged:0}],"aria-required":[{ariaAttributeChanged:0}],"aria-roledescription":[{ariaAttributeChanged:0}],"aria-rowcount":[{ariaAttributeChanged:0}],"aria-rowindex":[{ariaAttributeChanged:0}],"aria-rowindextext":[{ariaAttributeChanged:0}],"aria-rowspan":[{ariaAttributeChanged:0}],"aria-selected":[{ariaAttributeChanged:0}],"aria-setsize":[{ariaAttributeChanged:0}],"aria-sort":[{ariaAttributeChanged:0}],"aria-valuemax":[{ariaAttributeChanged:0}],"aria-valuemin":[{ariaAttributeChanged:0}],"aria-valuenow":[{ariaAttributeChanged:0}],"aria-valuetext":[{ariaAttributeChanged:0}],activeTabKey:[{onActiveTabChange:0}]}}};x.style=':host{width:auto;display:flex;align-items:center;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 .tabs-container{display:flex;flex-direction:row;position:relative;width:100%;justify-content:space-between;align-items:center}:host .tabs-container.top::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.top::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.top::before,:host .tabs-container.top::after{top:0;bottom:auto}:host .tabs-container.bottom::before{content:"";position:absolute;background-color:var(--theme-tab-indicator--background);width:100%;height:var(--theme-tab-indicator--height);left:0;bottom:0}:host .tabs-container.bottom::after{content:"";position:absolute;background-color:var(--theme-tab-indicator--background--selected);width:var(--ix-tab-active-indicator-width);height:var(--theme-tab-indicator--height);left:0;bottom:0;transform:translateX(var(--ix-tab-active-indicator-offset))}:host .tabs-container.bottom::before,:host .tabs-container.bottom::after{top:auto;bottom:0}:host .tabs{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;scroll-behavior:smooth;width:100%;touch-action:pan-y;padding-right:2.75rem;scrollbar-width:none}:host .tabs::-webkit-scrollbar{display:none}:host .tabs.tabs-stretched{padding-right:0px}:host .tabs:focus-visible{outline-offset:-1px;outline:1px solid var(--theme-color-focus-bdr)}:host .tabs-context-menu{margin-right:0.5rem}:host .overflow-shadow-container{display:block;position:relative;height:100%;width:100%;pointer-events:all;overflow:auto}:host .overflow-shadow{-webkit-mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%);mask-image:linear-gradient(90deg, black calc(100% - 45px), transparent 100%)}';export{f as ix_pill,k as ix_tab_item,w as ix_tab_set,x as ix_tabs}
@@ -1 +1 @@
1
- import{M as t,r,c as o,g as e,h as a,H as i}from"./p-EBgS4zhE.js";import{t as s,h as n}from"./p-DgUGsIlh.js";import{b as d,f as l,a as h}from"./p-C21npbUc.js";import{m as b}from"./p-Djkc69iv.js";import{D as c}from"./p-BWgttsqY.js";import{A as u}from"./p-CM-NUHTW.js";import{C as p}from"./p-CUbYLenp.js";import{c as m}from"./p-BClJdFQP.js";import"./p-6ZxKp7Jn.js";const g=class extends(t(...c,p,u)){constructor(t){super(),r(this,t),this.showChange=o(this,"showChange",7),this.showChanged=o(this,"showChanged",7)}get hostElement(){return e(this)}variant="primary";disabled=!1;label;icon;closeBehavior="both";placement;ariaLabelDropdownButton;focusCheckedItem=!1;enableTopLayer=!1;suppressAriaActiveDescendant=!1;showChange;showChanged;dropdownShow=!1;inheritAriaAttributes={};dropdownButtonId=this.getHostElementId();dropdownAnchor=b();dropdownRef=b();hostContext;getTriangle(){return a("div",{class:{triangle:!0,[this.variant]:!0,hide:!!this.label,disabled:this.disabled}})}onDropdownShowChanged=t=>{this.disabled&&t.detail||(this.dropdownShow=t.detail)};componentDidLoad(){this.inheritAriaAttributes=d(this.hostElement,["aria-label","aria-activedescendant","aria-haspopup","aria-controls","aria-disabled","aria-expanded","aria-current","role"])}componentWillRender(){this.hostContext={breadcrumb:!!m(this.hostElement,"ix-breadcrumb"),datePicker:!!m(this.hostElement,"ix-date-picker"),splitButton:!!m(this.hostElement,"ix-split-button"),tabs:!!m(this.hostElement,"ix-tabs")}}getControllingAriaElement(){return this.hostElement}isAriaActiveDescendantActive(){return!this.suppressAriaActiveDescendant&&this.dropdownShow}getAriaActiveDescendantProxyItemId(){return!1}async getDropdownReference(){return this.dropdownRef.waitForCurrent()}render(){const t={...this.inheritAriaAttributes,"aria-haspopup":"true","aria-disabled":h(this.disabled),"aria-expanded":h(this.dropdownShow),role:"button"};this.inheritAriaAttributes["aria-controls"]||(t["aria-controls"]=`dropdown-button-menu-${this.dropdownButtonId}`);const r={id:`dropdown-button-${this.dropdownButtonId}`,disabled:this.disabled,variant:this.variant},o=this.hostContext?.breadcrumb||this.hostContext?.datePicker||this.hostContext?.splitButton||this.hostContext?.tabs;return a(i,{key:"66fd74e40043daa08bb5a8c06e41bb64a11c8341",class:{disabled:this.disabled,"host-context-breadcrumb":!!this.hostContext?.breadcrumb,"host-context-date-picker":!!this.hostContext?.datePicker,"host-context-tabs":!!this.hostContext?.tabs},ref:this.dropdownAnchor,tabIndex:this.disabled?-1:0,...t},a("div",{key:"06ba01710bbf5ce23e3eed2a28b9d32d5c0f4d55",class:"dropdown-button"},this.label||null===this.label?a("ix-button",{...r,class:"internal-button",alignment:"start",ref:t=>l(t,-1),ariaLabelButton:this.ariaLabelDropdownButton??(this.dropdownShow?"Close dropdown":"Open dropdown")},a("div",{class:"content"},this.icon?a("ix-icon",{name:this.icon,size:"24",class:"dropdown-icon"}):null,a("div",{class:"button-label"},this.label),a("slot",{name:"button-label"}),!o&&a("ix-icon",{"aria-hidden":"true",name:this.dropdownShow?s:n,size:"24"}))):a("div",null,a("ix-icon-button",{...r,icon:this.icon,ref:t=>l(t,-1),"aria-label":this.ariaLabelDropdownButton??(this.dropdownShow?"Close dropdown":"Open dropdown")}),!o&&this.getTriangle())),a("ix-dropdown",{key:"14ade5a93e488c58f66e6b48d0073fd6c3dc1914",role:"menu",ref:this.dropdownRef,id:`dropdown-button-menu-${this.dropdownButtonId}`,"aria-labelledby":`dropdown-button-${this.dropdownButtonId}`,trigger:this.dropdownAnchor.waitForCurrent(),placement:this.placement,closeBehavior:this.closeBehavior,enableTopLayer:this.enableTopLayer,disableFocusTrap:!0,focusCheckedItem:this.focusCheckedItem,onShowChanged:t=>this.onDropdownShowChanged(t),onScroll:t=>{const r=new CustomEvent("scroll",{bubbles:t.bubbles,cancelable:t.cancelable,detail:t.detail});this.hostElement.dispatchEvent(r)}},a("slot",{key:"2dc84d3ac4f9e004011acef979e5d4671170884c"})))}};g.style=":host{display:inline-block;position:relative;height:2rem;width:auto;--ix-dropdown-button-border-radius-left:var(--theme-btn--border-radius);--ix-dropdown-button-border-radius-right:var(--theme-btn--border-radius);border-top-left-radius:var(--ix-dropdown-button-border-radius-left);border-bottom-left-radius:var(--ix-dropdown-button-border-radius-left);border-top-right-radius:var(--ix-dropdown-button-border-radius-right);border-bottom-right-radius:var(--ix-dropdown-button-border-radius-right)}: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 .hide{display:none}:host ix-button,:host ix-icon-button{--ix-button-border-radius-left:var( --ix-dropdown-button-border-radius-left );--ix-button-border-radius-right:var( --ix-dropdown-button-border-radius-right )}:host .dropdown-button{display:block;position:relative;width:100%;height:100%}:host .dropdown-button>ix-button{width:100%;height:100%}:host .dropdown-button .button-label{margin-right:auto;min-width:0px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .dropdown-button .dropdown-icon{margin-right:0.25rem}:host .triangle{position:absolute;margin-inline-start:1.5625rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}:host .triangle.primary{color:var(--theme-btn-primary--color)}:host .triangle.secondary{color:var(--theme-btn-secondary--color)}:host .triangle.tertiary{color:var(--theme-btn-tertiary--color)}:host .triangle.primary.disabled{color:var(--theme-btn-primary--color--disabled)}:host .triangle.secondary.disabled{color:var(--theme-btn-secondary--color--disabled)}:host .triangle.tertiary.disabled{color:var(--theme-btn-tertiary--color--disabled)}:host .triangle.subtle-primary{color:var(--theme-btn-subtle-primary--color)}:host .triangle.subtle-secondary{color:var(--theme-btn-subtle-secondary--color)}:host .triangle.subtle-tertiary{color:var(--theme-btn-subtle-tertiary--color)}:host .triangle.subtle-primary.disabled{color:var(--theme-btn-subtle-primary--color--disabled)}:host .triangle.subtle-secondary.disabled{color:var(--theme-btn-subtle-secondary--color--disabled)}:host .triangle.subtle-tertiary.disabled{color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .triangle.danger-primary{color:var(--theme-btn-danger-primary--color)}:host .triangle.danger-secondary{color:var(--theme-btn-danger-secondary--color)}:host .triangle.danger-tertiary{color:var(--theme-btn-danger-tertiary--color)}:host .triangle.danger-primary.disabled{color:var(--theme-btn-danger-primary--color--disabled)}:host .triangle.danger-secondary.disabled{color:var(--theme-btn-danger-secondary--color--disabled)}:host .triangle.danger-tertiary.disabled{color:var(--theme-btn-danger-tertiary--color--disabled)}:host .content{display:flex;align-items:center}:host .remove-button-min-width{min-width:0px}:host(.host-context-date-picker) .internal-button,:host(.host-context-breadcrumb) .internal-button{min-width:0px;padding:0}:host(.host-context-date-picker) ix-dropdown{max-height:15.625rem;overflow-y:scroll}:host(:focus-visible){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host([aria-expanded=true]:focus-visible){outline:none}:host(.disabled){pointer-events:none}";export{g as ix_dropdown_button}
1
+ import{M as t,r,c as o,g as e,h as a,H as i}from"./p-EBgS4zhE.js";import{t as s,h as n}from"./p-DgUGsIlh.js";import{b as d,f as l,a as h}from"./p-C21npbUc.js";import{m as b}from"./p-Djkc69iv.js";import{D as c}from"./p-BWgttsqY.js";import{A as u}from"./p-CM-NUHTW.js";import{C as p}from"./p-CUbYLenp.js";import{c as m}from"./p-BClJdFQP.js";import"./p-6ZxKp7Jn.js";const g=class extends(t(...c,p,u)){constructor(t){super(),r(this,t),this.showChange=o(this,"showChange",7),this.showChanged=o(this,"showChanged",7)}get hostElement(){return e(this)}variant="primary";disabled=!1;label;icon;closeBehavior="both";placement;ariaLabelDropdownButton;focusCheckedItem=!1;enableTopLayer=!1;suppressAriaActiveDescendant=!1;showChange;showChanged;dropdownShow=!1;inheritAriaAttributes={};dropdownButtonId=this.getHostElementId();dropdownAnchor=b();dropdownRef=b();hostContext;getTriangle(){return a("div",{class:{triangle:!0,[this.variant]:!0,hide:!!this.label,disabled:this.disabled}})}onDropdownShowChanged=t=>{this.disabled&&t.detail||(this.dropdownShow=t.detail)};componentDidLoad(){this.inheritAriaAttributes=d(this.hostElement,["aria-label","aria-activedescendant","aria-haspopup","aria-controls","aria-disabled","aria-expanded","aria-current","role"])}componentWillRender(){this.hostContext={breadcrumb:!!m(this.hostElement,"ix-breadcrumb"),datePicker:!!m(this.hostElement,"ix-date-picker"),splitButton:!!m(this.hostElement,"ix-split-button"),tabs:!!m(this.hostElement,"ix-tabs")}}getControllingAriaElement(){return this.hostElement}isAriaActiveDescendantActive(){return!this.suppressAriaActiveDescendant&&this.dropdownShow}getAriaActiveDescendantProxyItemId(){return!1}async getDropdownReference(){return this.dropdownRef.waitForCurrent()}render(){const t={...this.inheritAriaAttributes,"aria-haspopup":"true","aria-disabled":h(this.disabled),"aria-expanded":h(this.dropdownShow),role:"button"};this.inheritAriaAttributes["aria-controls"]||(t["aria-controls"]=`dropdown-button-menu-${this.dropdownButtonId}`);const r={id:`dropdown-button-${this.dropdownButtonId}`,disabled:this.disabled,variant:this.variant},o=this.hostContext?.breadcrumb||this.hostContext?.datePicker||this.hostContext?.splitButton||this.hostContext?.tabs;return a(i,{key:"e25fa295fcfc662bcbd510ef9fa831d505901eb1",class:{disabled:this.disabled,"host-context-breadcrumb":!!this.hostContext?.breadcrumb,"host-context-date-picker":!!this.hostContext?.datePicker,"host-context-tabs":!!this.hostContext?.tabs},ref:this.dropdownAnchor,tabIndex:this.disabled?-1:0,...t},a("div",{key:"72aa176d5558297cbfd2bebd09a8f9826860e4e9",class:"dropdown-button"},this.label||null===this.label?a("ix-button",{...r,class:"internal-button",alignment:"start",ref:t=>l(t,-1),ariaLabelButton:this.ariaLabelDropdownButton??(this.dropdownShow?"Close dropdown":"Open dropdown")},a("div",{class:"content"},this.icon?a("ix-icon",{name:this.icon,size:"24",class:"dropdown-icon"}):null,a("div",{class:"button-label"},this.label),a("slot",{name:"button-label"}),!o&&a("ix-icon",{"aria-hidden":"true",name:this.dropdownShow?s:n,size:"24"}))):a("div",null,a("ix-icon-button",{...r,icon:this.icon,ref:t=>l(t,-1),"aria-label":this.ariaLabelDropdownButton??(this.dropdownShow?"Close dropdown":"Open dropdown")}),!o&&this.getTriangle())),a("ix-dropdown",{key:"bbb10a374801f0800f5386700957646072d01fb3",role:"menu",ref:this.dropdownRef,id:`dropdown-button-menu-${this.dropdownButtonId}`,"aria-labelledby":`dropdown-button-${this.dropdownButtonId}`,trigger:this.dropdownAnchor.waitForCurrent(),placement:this.placement,closeBehavior:this.closeBehavior,enableTopLayer:this.enableTopLayer,disableFocusTrap:!0,focusCheckedItem:this.focusCheckedItem,onShowChanged:t=>this.onDropdownShowChanged(t),onScroll:t=>{const r=new CustomEvent("scroll",{bubbles:t.bubbles,cancelable:t.cancelable,detail:t.detail});this.hostElement.dispatchEvent(r)}},a("slot",{key:"a41e74d2a2db2b1255485923390d4fbf14504504"})))}};g.style=":host{display:inline-block;position:relative;height:2rem;width:auto;--ix-dropdown-button-border-radius-left:var(--theme-btn--border-radius);--ix-dropdown-button-border-radius-right:var(--theme-btn--border-radius);border-top-left-radius:var(--ix-dropdown-button-border-radius-left);border-bottom-left-radius:var(--ix-dropdown-button-border-radius-left);border-top-right-radius:var(--ix-dropdown-button-border-radius-right);border-bottom-right-radius:var(--ix-dropdown-button-border-radius-right)}: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 .hide{display:none}:host ix-button,:host ix-icon-button{--ix-button-border-radius-left:var( --ix-dropdown-button-border-radius-left );--ix-button-border-radius-right:var( --ix-dropdown-button-border-radius-right )}:host .dropdown-button{display:block;position:relative;width:100%;height:100%}:host .dropdown-button>ix-button{width:100%;height:100%}:host .dropdown-button .button-label{margin-right:auto;min-width:0px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .dropdown-button .dropdown-icon{margin-right:0.25rem}:host .triangle{position:absolute;margin-inline-start:1.5625rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}:host .triangle.primary{color:var(--theme-btn-primary--color)}:host .triangle.secondary{color:var(--theme-btn-secondary--color)}:host .triangle.tertiary{color:var(--theme-btn-tertiary--color)}:host .triangle.primary.disabled{color:var(--theme-btn-primary--color--disabled)}:host .triangle.secondary.disabled{color:var(--theme-btn-secondary--color--disabled)}:host .triangle.tertiary.disabled{color:var(--theme-btn-tertiary--color--disabled)}:host .triangle.subtle-primary{color:var(--theme-btn-subtle-primary--color)}:host .triangle.subtle-secondary{color:var(--theme-btn-subtle-secondary--color)}:host .triangle.subtle-tertiary{color:var(--theme-btn-subtle-tertiary--color)}:host .triangle.subtle-primary.disabled{color:var(--theme-btn-subtle-primary--color--disabled)}:host .triangle.subtle-secondary.disabled{color:var(--theme-btn-subtle-secondary--color--disabled)}:host .triangle.subtle-tertiary.disabled{color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .triangle.danger-primary{color:var(--theme-btn-danger-primary--color)}:host .triangle.danger-secondary{color:var(--theme-btn-danger-secondary--color)}:host .triangle.danger-tertiary{color:var(--theme-btn-danger-tertiary--color)}:host .triangle.danger-primary.disabled{color:var(--theme-btn-danger-primary--color--disabled)}:host .triangle.danger-secondary.disabled{color:var(--theme-btn-danger-secondary--color--disabled)}:host .triangle.danger-tertiary.disabled{color:var(--theme-btn-danger-tertiary--color--disabled)}:host .content{display:flex;align-items:center}:host .remove-button-min-width{min-width:0px}:host(.host-context-date-picker) .internal-button,:host(.host-context-breadcrumb) .internal-button{min-width:0px;padding:0}:host(.host-context-date-picker) ix-dropdown{max-height:15.625rem;overflow-y:scroll}:host(:focus-visible){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host([aria-expanded=true]:focus-visible){outline:none}:host(.disabled){pointer-events:none}";export{g as ix_dropdown_button}
@@ -1 +1 @@
1
- import{r as t,g as e,h as i,H as s,M as o}from"./p-EBgS4zhE.js";import{b as r}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-BClJdFQP.js";import{c as h}from"./p-yZFaEeBW.js";import{r as c,h as d,H as f}from"./p-C518yBiI.js";import{D as p}from"./p-BWgttsqY.js";import{C as m}from"./p-CUbYLenp.js";import"./p-DgUGsIlh.js";import"./p-6ZxKp7Jn.js";const b=class{constructor(e){t(this,e)}get hostElement(){return e(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=r(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=h(t,(()=>this.checkForInvalidState(t)))}}registerHtmlForClassObserver(t){this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.htmlForClassObserver=h(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:"ae3bda5074f387a20d9d464a7237584bf9cd185f",onClick:()=>this.focusOnClick(),class:{"text-overflow-wrap":"wrap"===this.textOverflow,"text-overflow-no-wrap":"no-wrap"===this.textOverflow}},i("label",{key:"1813ab2ed336d585667522a9e01f30891da1c794",htmlFor:this.htmlFor,...this.a11yAttributes,ref:this.labelRef},i("ix-typography",{key:"0af94d2c01fbaf5450af1d7a5beeb591401dd4f3",textColor:this.isInvalid?"alarm":"soft",format:"label"},i("slot",{key:"4eff5cfac2491d6a716b8def24671422c5796a15"}),this.required&&i("span",{key:"d466918f68a18d7474b607827649baf67caf0a01"},"*"))))}static get watchers(){return{isInvalid:[{isInvalidChanged:0}],htmlFor:[{registerHtmlForObserver:0}],controlRef:[{registerControlRefObserver:0}]}}};b.style=":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}";const g=class extends(o(...p,m)){constructor(e){super(),t(this,e)}get hostElement(){return e(this)}helperText;label;invalidText;validText;infoText;warningText;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;showTextAsTooltip=!1;required=!1;controlRef;slotRef=l();hasExplicitAriaLabel=!1;componentDidLoad(){this.syncAriaLabel(!0)}syncAriaLabel(t=!1){this.controlRef&&!this.hasExplicitAriaLabel&&this.controlRef.waitForCurrent().then((e=>{t&&(e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"))?this.hasExplicitAriaLabel=!0:this.label?e.setAttribute("aria-label",this.label):e.removeAttribute("aria-label")}))}componentWillLoad(){if(!this.hostElement.querySelector(".error-message-container")){const t=document.createElement("span");t.classList.add("error-message-container"),t.id=`${this.getHostElementId()}-errormessage`,t.hidden=!0,this.hostElement.appendChild(t)}if(!this.hostElement.querySelector(".helper-message-container")){const t=document.createElement("span");t.classList.add("helper-message-container"),t.id=`${this.getHostElementId()}-helpermessage`,t.hidden=!0,this.hostElement.appendChild(t)}}componentWillRender(){const t=this.hostElement.querySelector(`#${this.getHostElementId()}-errormessage`),e=this.hostElement.querySelector(`#${this.getHostElementId()}-helpermessage`);this.isInvalid&&this.invalidText&&t&&(t.textContent=this.invalidText),e&&(e.textContent=c({isInvalid:this.isInvalid,invalidText:this.invalidText,isWarning:this.isWarning,warningText:this.warningText,isInfo:this.isInfo,infoText:this.infoText,isValid:this.isValid,validText:this.validText,helperText:this.helperText}))}getAriaErrorMessageElement(){return Promise.resolve(this.hostElement.querySelector(`#${this.getHostElementId()}-errormessage`))}getAriaHelperMessageElement(){return Promise.resolve(this.hostElement.querySelector(`#${this.getHostElementId()}-helpermessage`))}render(){const t={invalidText:this.invalidText,isInvalid:this.isInvalid,isValid:this.isValid,validText:this.validText,isWarning:this.isWarning,warningText:this.warningText,isInfo:this.isInfo,infoText:this.infoText,helperText:this.helperText};let e={};return this.isInvalid&&this.invalidText&&(e={role:"alert","aria-live":"polite"}),i(s,{key:"25255aed5f9b7fb77fdeb61473bf2b75a262ffba",...e},this.label&&i("div",{key:"bb885771ecfcf509a62bbe6f7ba1a7d518f17c78",class:"field-top"},i("ix-field-label",{key:"916a96ca521dd4e9dd7f55e9f3bd19cc947ba123",required:this.required,controlRef:this.controlRef,isInvalid:this.isInvalid,ariaHidden:!0},this.label)),i("div",{key:"ce2d746aea87f49611ef413f49fbb52c59ab468a",class:{"slot-wrapper":!0},ref:this.slotRef},i("slot",{key:"2bb54f35cc1ff930918dc211e2018875ce105d7b"})),i("div",{key:"c427f40269dd19c40c413d0794cbf0096a7f8cd1",class:"field-bottom"},!this.showTextAsTooltip&&i(f,{key:"76100d6cd0e6c22eeca8de06b7aa7ae59ab9ea33",...t}),i("div",{key:"b9d5688b85687792c491d8cecd9411dbb5bddb0e",class:"bottom-right"},i("slot",{key:"95102f11d6b5c82d67be1c7c104eadf56bcb8112",name:"bottom-right"}))),!0===this.showTextAsTooltip&&d(t)&&i("ix-tooltip",{key:"c484b0edcd735b2d9155819ad9eb8d98c45e2633",for:this.slotRef.waitForCurrent(),showDelay:500,placement:"bottom"},i(f,{key:"7d0ea7c1cd80af012492984d7ad2b5399ee50c4d",...t})))}static get watchers(){return{label:[{syncAriaLabel:0}]}}};g.style=":host{display:flex;position:relative;flex-direction:column}:host .slot-wrapper{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:0.25rem}:host .field-bottom,:host .field-top{display:flex;flex-direction:row;position:relative;justify-content:space-between;gap:1rem;width:100%;min-width:100%}:host .field-bottom .bottom-right{margin-left:auto;margin-right:0px}:host .bottom-text{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;gap:0.25rem;margin-right:0.25rem}:host .text-icon{margin:0.125rem}:host .text-icon.invalid{color:var(--theme-helper-icon--color--invalid)}:host .text-icon.info{color:var(--theme-helper-icon--color--info)}:host .text-icon.warning{color:var(--theme-helper-icon--color--warning)}:host .text-icon.valid{color:var(--theme-helper-icon--color--valid)}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}";export{b as ix_field_label,g as ix_field_wrapper}
1
+ import{r as t,g as e,h as i,H as s,M as o}from"./p-EBgS4zhE.js";import{b as r}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-BClJdFQP.js";import{c as h}from"./p-yZFaEeBW.js";import{r as c,h as d,H as f}from"./p-C518yBiI.js";import{D as p}from"./p-BWgttsqY.js";import{C as m}from"./p-CUbYLenp.js";import"./p-DgUGsIlh.js";import"./p-6ZxKp7Jn.js";const b=class{constructor(e){t(this,e)}get hostElement(){return e(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=r(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=h(t,(()=>this.checkForInvalidState(t)))}}registerHtmlForClassObserver(t){this.htmlForClassObserver&&this.htmlForClassObserver.destroy(),this.htmlForClassObserver=h(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}]}}};b.style=":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}";const g=class extends(o(...p,m)){constructor(e){super(),t(this,e)}get hostElement(){return e(this)}helperText;label;invalidText;validText;infoText;warningText;isInvalid=!1;isValid=!1;isInfo=!1;isWarning=!1;showTextAsTooltip=!1;required=!1;controlRef;slotRef=l();hasExplicitAriaLabel=!1;componentDidLoad(){this.syncAriaLabel(!0)}syncAriaLabel(t=!1){this.controlRef&&!this.hasExplicitAriaLabel&&this.controlRef.waitForCurrent().then((e=>{t&&(e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"))?this.hasExplicitAriaLabel=!0:this.label?e.setAttribute("aria-label",this.label):e.removeAttribute("aria-label")}))}componentWillLoad(){if(!this.hostElement.querySelector(".error-message-container")){const t=document.createElement("span");t.classList.add("error-message-container"),t.id=`${this.getHostElementId()}-errormessage`,t.hidden=!0,this.hostElement.appendChild(t)}if(!this.hostElement.querySelector(".helper-message-container")){const t=document.createElement("span");t.classList.add("helper-message-container"),t.id=`${this.getHostElementId()}-helpermessage`,t.hidden=!0,this.hostElement.appendChild(t)}}componentWillRender(){const t=this.hostElement.querySelector(`#${this.getHostElementId()}-errormessage`),e=this.hostElement.querySelector(`#${this.getHostElementId()}-helpermessage`);this.isInvalid&&this.invalidText&&t&&(t.textContent=this.invalidText),e&&(e.textContent=c({isInvalid:this.isInvalid,invalidText:this.invalidText,isWarning:this.isWarning,warningText:this.warningText,isInfo:this.isInfo,infoText:this.infoText,isValid:this.isValid,validText:this.validText,helperText:this.helperText}))}getAriaErrorMessageElement(){return Promise.resolve(this.hostElement.querySelector(`#${this.getHostElementId()}-errormessage`))}getAriaHelperMessageElement(){return Promise.resolve(this.hostElement.querySelector(`#${this.getHostElementId()}-helpermessage`))}render(){const t={invalidText:this.invalidText,isInvalid:this.isInvalid,isValid:this.isValid,validText:this.validText,isWarning:this.isWarning,warningText:this.warningText,isInfo:this.isInfo,infoText:this.infoText,helperText:this.helperText};let e={};return this.isInvalid&&this.invalidText&&(e={role:"alert","aria-live":"polite"}),i(s,{key:"25255aed5f9b7fb77fdeb61473bf2b75a262ffba",...e},this.label&&i("div",{key:"bb885771ecfcf509a62bbe6f7ba1a7d518f17c78",class:"field-top"},i("ix-field-label",{key:"916a96ca521dd4e9dd7f55e9f3bd19cc947ba123",required:this.required,controlRef:this.controlRef,isInvalid:this.isInvalid,ariaHidden:!0},this.label)),i("div",{key:"ce2d746aea87f49611ef413f49fbb52c59ab468a",class:{"slot-wrapper":!0},ref:this.slotRef},i("slot",{key:"2bb54f35cc1ff930918dc211e2018875ce105d7b"})),i("div",{key:"c427f40269dd19c40c413d0794cbf0096a7f8cd1",class:"field-bottom"},!this.showTextAsTooltip&&i(f,{key:"76100d6cd0e6c22eeca8de06b7aa7ae59ab9ea33",...t}),i("div",{key:"b9d5688b85687792c491d8cecd9411dbb5bddb0e",class:"bottom-right"},i("slot",{key:"95102f11d6b5c82d67be1c7c104eadf56bcb8112",name:"bottom-right"}))),!0===this.showTextAsTooltip&&d(t)&&i("ix-tooltip",{key:"c484b0edcd735b2d9155819ad9eb8d98c45e2633",for:this.slotRef.waitForCurrent(),showDelay:500,placement:"bottom"},i(f,{key:"7d0ea7c1cd80af012492984d7ad2b5399ee50c4d",...t})))}static get watchers(){return{label:[{syncAriaLabel:0}]}}};g.style=":host{display:flex;position:relative;flex-direction:column}:host .slot-wrapper{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:0.25rem}:host .field-bottom,:host .field-top{display:flex;flex-direction:row;position:relative;justify-content:space-between;gap:1rem;width:100%;min-width:100%}:host .field-bottom .bottom-right{margin-left:auto;margin-right:0px}:host .bottom-text{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;gap:0.25rem;margin-right:0.25rem}:host .text-icon{margin:0.125rem}:host .text-icon.invalid{color:var(--theme-helper-icon--color--invalid)}:host .text-icon.info{color:var(--theme-helper-icon--color--info)}:host .text-icon.warning{color:var(--theme-helper-icon--color--warning)}:host .text-icon.valid{color:var(--theme-helper-icon--color--valid)}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}";export{b as ix_field_label,g as ix_field_wrapper}
@@ -1 +1 @@
1
- import{r,h as o,H as a}from"./p-EBgS4zhE.js";const d=class{constructor(o){r(this,o)}icon;ariaLabelIcon;notification;heading;subheading;variant="outline";expanded=!1;passive=!1;render(){return o(a,{key:"4f607dbe48bd80e6528f16d3dd70b1759e00f643",class:`card-${this.variant}`},o("ix-card",{key:"4fafba1c8dbdd0b8503c14c53dc3c888567725c7",variant:this.variant,passive:this.passive},o("ix-card-content",{key:"c7ac7e9ea9061af15c28ad79b3773ac4cd511a93"},o("ix-card-title",{key:"4206e4413e42e914b11526b40e44cd5e5360d403"},this.icon?o("ix-icon",{class:"icon",name:this.icon,size:"32","aria-label":this.ariaLabelIcon}):null,o("ix-typography",{key:"91384db0e1c690aa9715bda38220127f545353b3",format:"display-xxl"},this.notification??0),o("slot",{key:"37cb75b3f6c2578cfa958982c20a5f0c9fa661dc",name:"title-action"})),o("ix-typography",{key:"349b36fe5eaa7faf0b8fa9da84b8b201fd1a173d",format:"h4"},this.heading),o("ix-typography",{key:"edd40ab8765df06b960b8014e318f06cd8c0f56f"},this.subheading)),o("ix-card-accordion",{key:"db0a3f66d0ea0fc8bed61b15651bea6381d812b1",collapse:!this.expanded,variant:this.variant},o("slot",{key:"5095d6f7f3f9b23c17daccf9599ede0426db8b01"}))))}};d.style=":host{display:block;position:relative}:host ix-card{cursor:default}:host ix-card-accordion{cursor:pointer}:host .icon{height:2.5rem;width:2.5rem}:host ix-card-title{height:2.5rem}:host ix-card-content{height:11rem}:host(.card-outline) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-outline-accordion--border-color)}:host(.card-filled) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-filled-accordion--border-color)}:host(.card-alarm) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-alarm-accordion--border-color)}:host(.card-critical) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-critical-accordion--border-color)}:host(.card-warning) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-warning-accordion--border-color)}:host(.card-success) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-success-accordion--border-color)}:host(.card-info) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-info-accordion--border-color)}:host(.card-neutral) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-neutral-accordion--border-color)}:host(.card-primary) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-primary-accordion--border-color)}";export{d as ix_push_card}
1
+ import{r,h as e,H as o}from"./p-EBgS4zhE.js";const a=class{constructor(e){r(this,e)}icon;ariaLabelIcon;notification;heading;subheading;variant="outline";expanded=!1;passive=!1;render(){return e(o,{key:"559d12fce394d034e88a67d1792cf89db5e1f9d6",class:`card-${this.variant}`},e("ix-card",{key:"74a3295376423e02defc79637f53905f1975a10e",variant:this.variant,passive:this.passive},e("ix-card-content",{key:"e88ae5131c174acebb759628d6de18bdf26d8141"},e("ix-card-title",{key:"6c1df74de6c6e7b82a6301db6ecc6268d4891e47"},this.icon?e("ix-icon",{class:"icon",name:this.icon,size:"32","aria-label":this.ariaLabelIcon}):null,e("ix-typography",{key:"0f1b79fd78aa5b954c6320b9f61dbbcab61ef3c7",format:"display-xxl"},this.notification??0),e("slot",{key:"778a56994a47ad9e8fbcee8526c592e6e0459930",name:"title-action"})),e("ix-typography",{key:"5a3b385c75a69f0324fc890c2519476111bc2a4e",format:"h4"},this.heading),e("ix-typography",{key:"6f261327133e30244fe398c91e099b3dcba848fa"},this.subheading)),e("ix-card-accordion",{key:"3175d45b32f0d9a1eaccb205a3052b5746fc5287",collapse:!this.expanded,variant:this.variant},e("slot",{key:"08b90be54cd2d292349ead1ce20a173104ce266e"}))))}};a.style=":host{display:block;position:relative}:host ix-card{cursor:default}:host ix-card-accordion{cursor:pointer}:host .icon{height:2.5rem;width:2.5rem}:host ix-card-title{height:2.5rem}:host ix-card-content{height:11rem}:host(.card-outline) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-outline-accordion--border-color)}:host(.card-filled) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-filled-accordion--border-color)}:host(.card-alarm) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-alarm-accordion--border-color)}:host(.card-critical) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-critical-accordion--border-color)}:host(.card-warning) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-warning-accordion--border-color)}:host(.card-success) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-success-accordion--border-color)}:host(.card-info) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-info-accordion--border-color)}:host(.card-neutral) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-neutral-accordion--border-color)}:host(.card-primary) ix-card-content{border-bottom:var(--theme-push-card--border-width) solid var(--theme-push-card-primary-accordion--border-color)}";export{a as ix_push_card}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o}from"./p-EBgS4zhE.js";import{j as i}from"./p-DgUGsIlh.js";const n=class{constructor(e){t(this,e)}disabled=!1;url;target="_self";render(){return e(o,{key:"e30339cee917a58eefdcf6da77800ab06bff0675"},e("a",{key:"c1bd527ffc4a577decb3faf6c2348eed4fcc3b93",title:this.url,tabindex:"0",class:{"link-button":!0,disabled:this.disabled},href:this.disabled?void 0:this.url,target:this.target},e("ix-icon",{key:"0f4601f33f9b48b76ab01ed863ca4755308541ec",class:"icon",name:i,size:"16","aria-hidden":"true"}),e("div",{key:"0e07c0bf6469a776cfa598b9ee24494f2afa2fe3",class:{link:!0,disabled:this.disabled}},e("slot",{key:"2f2607089df3ca9bcf5f543e8f85ff987f2751a9"}))))}};n.style=":host{display:inline-flex;height:2rem;font-size:0.875rem;font-weight:400;min-width:2rem}:host .link-button{display:inline-flex;position:relative;width:100%;padding:0 0.25rem 0 0;align-items:center;justify-content:center;background-color:transparent;color:var(--theme-color-primary);cursor:pointer;text-decoration:none}:host .link-button .link{display:block;position:relative;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-decoration:underline;text-underline-offset:0.2rem}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):hover,:host .link-button:not(.disabled):not(:disabled).hover{color:var(--theme-color-dynamic--hover)}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):active,:host .link-button:not(.disabled):not(:disabled).active{color:var(--theme-color-dynamic--active)}:host .link-button.disabled{cursor:default;color:var(--theme-color-weak-text)}:host .link-button a{all:unset}:host :focus-visible{outline:1px solid var(--theme-color-focus-bdr)}";export{n as ix_link_button}
1
+ import{r as t,h as e,H as o}from"./p-EBgS4zhE.js";import{j as i}from"./p-DgUGsIlh.js";const n=class{constructor(e){t(this,e)}disabled=!1;url;target="_self";render(){return e(o,{key:"9a24825321d721c171c3701e5a6484f2dbdeffdc"},e("a",{key:"d3b81f3adba54dbdd0312510c79505c1ad7f1611",title:this.url,tabindex:"0",class:{"link-button":!0,disabled:this.disabled},href:this.disabled?void 0:this.url,target:this.target},e("ix-icon",{key:"3c6cb9b4adb2e2ace4835b8df8e4b3a082d1ffa2",class:"icon",name:i,size:"16","aria-hidden":"true"}),e("div",{key:"629817f64a53b1226a9e10f3abb8bc1bfaad2877",class:{link:!0,disabled:this.disabled}},e("slot",{key:"8ec1e3c6991c89d4feb0aeaf8c8e6e3d87d2c23c"}))))}};n.style=":host{display:inline-flex;height:2rem;font-size:0.875rem;font-weight:400;min-width:2rem}:host .link-button{display:inline-flex;position:relative;width:100%;padding:0 0.25rem 0 0;align-items:center;justify-content:center;background-color:transparent;color:var(--theme-color-primary);cursor:pointer;text-decoration:none}:host .link-button .link{display:block;position:relative;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-decoration:underline;text-underline-offset:0.2rem}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):hover,:host .link-button:not(.disabled):not(:disabled).hover{color:var(--theme-color-dynamic--hover)}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):active,:host .link-button:not(.disabled):not(:disabled).active{color:var(--theme-color-dynamic--active)}:host .link-button.disabled{cursor:default;color:var(--theme-color-weak-text)}:host .link-button a{all:unset}:host :focus-visible{outline:1px solid var(--theme-color-focus-bdr)}";export{n as ix_link_button}