@siemens/ix 5.0.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 (912) hide show
  1. package/READMEOSS.html +10 -10
  2. package/components/index.js +1 -1
  3. package/components/ix-action-card.js +1 -1
  4. package/components/ix-application-header.js +1 -1
  5. package/components/ix-application-switch-modal.js +1 -1
  6. package/components/ix-application.js +1 -1
  7. package/components/ix-avatar.js +1 -1
  8. package/components/ix-blind.js +1 -1
  9. package/components/ix-breadcrumb-item.js +1 -1
  10. package/components/ix-breadcrumb.js +1 -1
  11. package/components/ix-button.js +1 -1
  12. package/components/ix-card-accordion.js +1 -1
  13. package/components/ix-card-content.js +1 -1
  14. package/components/ix-card-list.js +1 -1
  15. package/components/ix-card-title.js +1 -1
  16. package/components/ix-card.js +1 -1
  17. package/components/ix-category-filter.js +1 -1
  18. package/components/ix-checkbox-group.js +1 -1
  19. package/components/ix-checkbox.js +1 -1
  20. package/components/ix-chip.js +1 -1
  21. package/components/ix-col.js +1 -1
  22. package/components/ix-content-header.js +1 -1
  23. package/components/ix-content.js +1 -1
  24. package/components/ix-css-grid-item.js +1 -1
  25. package/components/ix-css-grid.js +1 -1
  26. package/components/ix-custom-field.js +1 -1
  27. package/components/ix-date-dropdown.js +1 -1
  28. package/components/ix-date-input.js +1 -1
  29. package/components/ix-date-picker.js +1 -1
  30. package/components/ix-date-time-card.js +1 -1
  31. package/components/ix-datetime-input.js +1 -1
  32. package/components/ix-datetime-picker.js +1 -1
  33. package/components/ix-divider.js +1 -1
  34. package/components/ix-dropdown-button.js +1 -1
  35. package/components/ix-dropdown-header.js +1 -1
  36. package/components/ix-dropdown-item.js +1 -1
  37. package/components/ix-dropdown-quick-actions.js +1 -1
  38. package/components/ix-dropdown.js +1 -1
  39. package/components/ix-empty-state.js +1 -1
  40. package/components/ix-event-list-item.js +1 -1
  41. package/components/ix-event-list.js +1 -1
  42. package/components/ix-expanding-search.js +1 -1
  43. package/components/ix-field-label.js +1 -1
  44. package/components/ix-field-wrapper.js +1 -1
  45. package/components/ix-filter-chip.js +1 -1
  46. package/components/ix-flip-tile-content.js +1 -1
  47. package/components/ix-flip-tile.js +1 -1
  48. package/components/ix-group-context-menu.js +1 -1
  49. package/components/ix-group-item.js +1 -1
  50. package/components/ix-group.js +1 -1
  51. package/components/ix-helper-text.js +1 -1
  52. package/components/ix-icon-button.js +1 -1
  53. package/components/ix-icon-toggle-button.js +1 -1
  54. package/components/ix-input.js +1 -1
  55. package/components/ix-key-value-list.js +1 -1
  56. package/components/ix-key-value.js +1 -1
  57. package/components/ix-kpi.js +1 -1
  58. package/components/ix-layout-auto.js +1 -1
  59. package/components/ix-layout-grid.js +1 -1
  60. package/components/ix-link-button.js +1 -1
  61. package/components/ix-menu-about-item.js +1 -1
  62. package/components/ix-menu-about-news.js +1 -1
  63. package/components/ix-menu-about.js +1 -1
  64. package/components/ix-menu-avatar-item.js +1 -1
  65. package/components/ix-menu-avatar.js +1 -1
  66. package/components/ix-menu-category.js +1 -1
  67. package/components/ix-menu-expand-icon.js +1 -1
  68. package/components/ix-menu-item.js +1 -1
  69. package/components/ix-menu-settings-item.js +1 -1
  70. package/components/ix-menu-settings.js +1 -1
  71. package/components/ix-menu.js +1 -1
  72. package/components/ix-message-bar.js +1 -1
  73. package/components/ix-modal-content.js +1 -1
  74. package/components/ix-modal-footer.js +1 -1
  75. package/components/ix-modal-header.js +1 -1
  76. package/components/ix-modal-loading.js +1 -1
  77. package/components/ix-modal.js +1 -1
  78. package/components/ix-number-input.js +1 -1
  79. package/components/ix-pagination.js +1 -1
  80. package/components/ix-pane-layout.js +1 -1
  81. package/components/ix-pane.js +1 -1
  82. package/components/ix-pill.js +1 -1
  83. package/components/ix-popover-content.d.ts +11 -0
  84. package/components/ix-popover-content.js +1 -0
  85. package/components/ix-popover-footer.d.ts +11 -0
  86. package/components/ix-popover-footer.js +1 -0
  87. package/components/ix-popover-header.d.ts +11 -0
  88. package/components/ix-popover-header.js +1 -0
  89. package/components/ix-popover-image.d.ts +11 -0
  90. package/components/ix-popover-image.js +1 -0
  91. package/components/ix-popover.d.ts +11 -0
  92. package/components/ix-popover.js +1 -0
  93. package/components/ix-progress-indicator.js +1 -1
  94. package/components/ix-push-card.js +1 -1
  95. package/components/ix-radio-group.js +1 -1
  96. package/components/ix-radio.js +1 -1
  97. package/components/ix-range-field.js +1 -1
  98. package/components/ix-row.js +1 -1
  99. package/components/ix-select-item.js +1 -1
  100. package/components/ix-select.js +1 -1
  101. package/components/ix-slider.js +1 -1
  102. package/components/ix-spinner.js +1 -1
  103. package/components/ix-split-button.js +1 -1
  104. package/components/ix-tab-item.js +1 -1
  105. package/components/ix-tab-panel.js +1 -1
  106. package/components/ix-tab-set.js +1 -1
  107. package/components/ix-tabs.js +1 -1
  108. package/components/ix-textarea.js +1 -1
  109. package/components/ix-tile.js +1 -1
  110. package/components/ix-time-input.js +1 -1
  111. package/components/ix-time-picker.js +1 -1
  112. package/components/ix-toast-container.js +1 -1
  113. package/components/ix-toast.js +1 -1
  114. package/components/ix-toggle-button.js +1 -1
  115. package/components/ix-toggle.js +1 -1
  116. package/components/ix-tooltip.js +1 -1
  117. package/components/ix-tree-item.js +1 -1
  118. package/components/ix-tree.js +1 -1
  119. package/components/ix-typography.js +1 -1
  120. package/components/ix-upload.js +1 -1
  121. package/components/ix-workflow-step.js +1 -1
  122. package/components/ix-workflow-steps.js +1 -1
  123. package/components/{p-MZOpritx.js → p-1KOHyx-1.js} +1 -1
  124. package/{dist/siemens-ix/p-c350c5d0.entry.js → components/p-3VG6z9c3.js} +1 -1
  125. package/components/p-7HGOhDMX.js +1 -0
  126. package/components/p-BBCsPlPH.js +1 -0
  127. package/components/{p-_Uc7YwjU.js → p-BH2Yhp3V.js} +1 -1
  128. package/components/{p-uIG84RqI.js → p-BIcWFids.js} +1 -1
  129. package/components/p-BRoFUwzJ.js +1 -0
  130. package/components/{p-BE4QI9tD.js → p-BST8QY5w.js} +1 -1
  131. package/components/{p-B4Yxzuow.js → p-BWH03B1n.js} +1 -1
  132. package/components/{p-C-wf4kbs.js → p-BWknDysp.js} +1 -1
  133. package/components/{p-BcxPyyrm.js → p-BZgc6bzH.js} +1 -1
  134. package/components/p-B_MBGj0b.js +1 -0
  135. package/components/p-BbwShqw_.js +1 -0
  136. package/components/p-Bj_6nynP.js +1 -0
  137. package/components/p-BtSt9tC5.js +1 -0
  138. package/components/{p-DQql_9wo.js → p-BzFLbXmT.js} +1 -1
  139. package/components/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
  140. package/components/p-C5UTTqsv.js +1 -0
  141. package/components/{p-VEcjhpT4.js → p-C7MRPZvZ.js} +1 -1
  142. package/components/{p-BwC_Hmai.js → p-CAH3dF6j.js} +1 -1
  143. package/{dist/siemens-ix/p-Dl_bUxb7.js → components/p-CApDAYIa.js} +1 -1
  144. package/components/{p-DTcUamMt.js → p-CHV-_J6i.js} +1 -1
  145. package/components/p-CNLoALIl.js +1 -0
  146. package/components/{p-DN2Mr91y.js → p-CTbTAb9U.js} +1 -1
  147. package/components/{p-JevOq-9X.js → p-CUvmGsh_.js} +1 -1
  148. package/components/{p-DUkuP1OH.js → p-Ca8JFa1v.js} +1 -1
  149. package/components/{p-wEbi9beJ.js → p-CbbabcAR.js} +1 -1
  150. package/components/p-CgHioxG-.js +1 -0
  151. package/components/{p-CuswfnZ5.js → p-CkIELF-1.js} +1 -1
  152. package/components/{p-CsP_r-y6.js → p-CuFZ7CXu.js} +1 -1
  153. package/components/p-Cvpz1Ji5.js +1 -0
  154. package/components/{p-DSpVcflZ.js → p-Czy7a3I4.js} +1 -1
  155. package/components/{p-DdMuwGlF.js → p-D1sONqtj.js} +1 -1
  156. package/components/p-D69Mojvn.js +1 -0
  157. package/components/{p-546lBshK.js → p-DKH7tPDu.js} +1 -1
  158. package/components/p-DLe8Pp58.js +1 -0
  159. package/components/{p-qsIASuyM.js → p-DM7ma3Eh.js} +1 -1
  160. package/components/{p-CVmLf9WY.js → p-DO3HtUke.js} +1 -1
  161. package/components/p-DT02jDB7.js +1 -0
  162. package/components/{p-CJ3dR7zd.js → p-DfdjJL6W.js} +1 -1
  163. package/components/{p-CcllZcv2.js → p-DjIyhGBC.js} +1 -1
  164. package/components/p-DkAUNod9.js +1 -0
  165. package/components/p-Dl_YKIKl.js +1 -0
  166. package/components/p-DtmgZu-S.js +1 -0
  167. package/components/p-DuMiVxY1.js +1 -0
  168. package/components/p-Dw_A3HUC.js +1 -0
  169. package/components/{p-By6x--zJ.js → p-Dwe6tWhq.js} +1 -1
  170. package/components/{p-W0q0WVKl.js → p-DwmHytZi.js} +1 -1
  171. package/components/p-DziPiOL3.js +1 -0
  172. package/components/{p-DfnCSsMy.js → p-GGleop6j.js} +1 -1
  173. package/components/p-GmOVROeD.js +1 -0
  174. package/components/p-LbnItC1h.js +1 -0
  175. package/components/p-R1AQtGdV.js +1 -0
  176. package/components/{p-zs7a2E3b.js → p-_f_q2Etu.js} +1 -1
  177. package/components/{p-Cf71L4Ol.js → p-baqpOH0g.js} +1 -1
  178. package/components/{p-C95SE6lT.js → p-f1jZqaUz.js} +1 -1
  179. package/components/p-olkZUb1j.js +1 -0
  180. package/components/{p-B1q6Xh9M.js → p-z19mjzlp.js} +1 -1
  181. package/dist/cjs/{a11y-C_6YiIMa.js → a11y-_XjpTo2w.js} +10 -0
  182. package/dist/cjs/{base-button-C-1izOSS.js → base-button-BP6iIMR7.js} +3 -3
  183. package/dist/cjs/{base-icon-button-BeXf6v9s.js → base-icon-button-BmiGQb9v.js} +2 -2
  184. package/dist/cjs/{component-CYtonfpw.js → component-DgA9FH-W.js} +2 -2
  185. package/dist/cjs/dropdown-controller-kBwdbfGD.js +99 -0
  186. package/dist/cjs/{focus-proxy-BCuVbpDb.js → focus-proxy-CjxFZupW.js} +6 -5
  187. package/dist/cjs/focus-trap-Be3N4ytz.js +310 -0
  188. package/dist/cjs/{focus-utilities-yx7wWjEO.js → focus-utilities-5SZMxJg4.js} +65 -23
  189. package/dist/cjs/{focus-visible.mixin-BU5Ql7d1.js → focus-visible.mixin-1V7Eldn_.js} +2 -2
  190. package/dist/cjs/{helper-text-util-CvfY1JxE.js → helper-text-util-BkHm7ofh.js} +3 -3
  191. package/dist/cjs/{index-Dw-NwUuT.js → index-CwJ-mkQd.js} +2 -2
  192. package/dist/cjs/{index-BKQkUbyE.js → index-DnclGKUw.js} +21 -1
  193. package/dist/cjs/index.cjs.js +2 -2
  194. package/dist/cjs/{inherit-aria-attributes.mixin-Sl7J-OlO.js → inherit-aria-attributes.mixin-EyRU0cDO.js} +2 -2
  195. package/dist/cjs/{input-picker.mixin-EoIayQV9.js → input-picker.mixin-Cf82jV-C.js} +2 -2
  196. package/dist/cjs/{input.fc-CsACCdp7.js → input.fc-DM-hX3xb.js} +3 -3
  197. package/dist/cjs/ix-action-card.cjs.entry.js +5 -4
  198. package/dist/cjs/ix-application-header.cjs.entry.js +14 -14
  199. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +5 -5
  200. package/dist/cjs/ix-application.cjs.entry.js +28 -13
  201. package/dist/cjs/ix-avatar_2.cjs.entry.js +9 -9
  202. package/dist/cjs/ix-blind.cjs.entry.js +9 -9
  203. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +10 -10
  204. package/dist/cjs/ix-breadcrumb.cjs.entry.js +8 -8
  205. package/dist/cjs/ix-button.cjs.entry.js +10 -10
  206. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +7 -7
  207. package/dist/cjs/ix-card-list.cjs.entry.js +8 -8
  208. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  209. package/dist/cjs/ix-category-filter.cjs.entry.js +8 -8
  210. package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
  211. package/dist/cjs/ix-checkbox.cjs.entry.js +20 -7
  212. package/dist/cjs/ix-chip.cjs.entry.js +11 -11
  213. package/dist/cjs/ix-col_4.cjs.entry.js +21 -23
  214. package/dist/cjs/ix-content-header.cjs.entry.js +5 -5
  215. package/dist/cjs/ix-content.cjs.entry.js +6 -6
  216. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  217. package/dist/cjs/ix-css-grid.cjs.entry.js +2 -2
  218. package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
  219. package/dist/cjs/ix-date-dropdown.cjs.entry.js +14 -14
  220. package/dist/cjs/ix-date-input.cjs.entry.js +16 -15
  221. package/dist/cjs/ix-date-picker.cjs.entry.js +13 -13
  222. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  223. package/dist/cjs/ix-datetime-input.cjs.entry.js +15 -14
  224. package/dist/cjs/ix-datetime-picker.cjs.entry.js +6 -6
  225. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  226. package/dist/cjs/ix-dropdown-button.cjs.entry.js +11 -11
  227. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  228. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  229. package/dist/cjs/ix-dropdown_2.cjs.entry.js +14 -13
  230. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  231. package/dist/cjs/ix-event-list-item.cjs.entry.js +7 -7
  232. package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
  233. package/dist/cjs/ix-expanding-search.cjs.entry.js +6 -6
  234. package/dist/cjs/ix-field-label_2.cjs.entry.js +12 -12
  235. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +30 -13
  236. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  237. package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -6
  238. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
  239. package/dist/cjs/ix-group.cjs.entry.js +11 -11
  240. package/dist/cjs/ix-helper-text.cjs.entry.js +6 -6
  241. package/dist/cjs/ix-icon-button_2.cjs.entry.js +12 -12
  242. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +11 -11
  243. package/dist/cjs/ix-input.cjs.entry.js +11 -13
  244. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  245. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  246. package/dist/cjs/ix-kpi.cjs.entry.js +5 -5
  247. package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
  248. package/dist/cjs/ix-link-button.cjs.entry.js +5 -5
  249. package/dist/cjs/ix-menu-about-item.cjs.entry.js +3 -3
  250. package/dist/cjs/ix-menu-about-news.cjs.entry.js +9 -9
  251. package/dist/cjs/ix-menu-about.cjs.entry.js +4 -4
  252. package/dist/cjs/ix-menu-avatar.cjs.entry.js +6 -6
  253. package/dist/cjs/ix-menu-category.cjs.entry.js +255 -38
  254. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +8 -8
  255. package/dist/cjs/ix-menu-item.cjs.entry.js +221 -32
  256. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +3 -3
  257. package/dist/cjs/ix-menu-settings.cjs.entry.js +4 -4
  258. package/dist/cjs/ix-menu.cjs.entry.js +195 -18
  259. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -3
  260. package/dist/cjs/ix-modal-content_2.cjs.entry.js +6 -6
  261. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  262. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  263. package/dist/cjs/ix-modal.cjs.entry.js +6 -6
  264. package/dist/cjs/ix-number-input.cjs.entry.js +11 -11
  265. package/dist/cjs/ix-pagination.cjs.entry.js +7 -7
  266. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  267. package/dist/cjs/ix-pane.cjs.entry.js +102 -25
  268. package/dist/cjs/ix-pill_4.cjs.entry.js +23 -23
  269. package/dist/cjs/ix-popover-content.cjs.entry.js +26 -0
  270. package/dist/cjs/ix-popover-footer.cjs.entry.js +26 -0
  271. package/dist/cjs/ix-popover-header.cjs.entry.js +70 -0
  272. package/dist/cjs/ix-popover-image.cjs.entry.js +33 -0
  273. package/dist/cjs/ix-popover.cjs.entry.js +996 -0
  274. package/dist/cjs/ix-progress-indicator.cjs.entry.js +5 -5
  275. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  276. package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
  277. package/dist/cjs/ix-radio.cjs.entry.js +6 -6
  278. package/dist/cjs/ix-range-field.cjs.entry.js +7 -7
  279. package/dist/cjs/ix-select.cjs.entry.js +399 -26
  280. package/dist/cjs/ix-slider.cjs.entry.js +10 -10
  281. package/dist/cjs/ix-split-button.cjs.entry.js +7 -7
  282. package/dist/cjs/ix-tab-panel.cjs.entry.js +5 -5
  283. package/dist/cjs/ix-textarea.cjs.entry.js +7 -7
  284. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  285. package/dist/cjs/ix-time-input.cjs.entry.js +16 -15
  286. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  287. package/dist/cjs/ix-toast.cjs.entry.js +4 -4
  288. package/dist/cjs/ix-toggle-button.cjs.entry.js +10 -10
  289. package/dist/cjs/ix-toggle.cjs.entry.js +10 -10
  290. package/dist/cjs/ix-tooltip.cjs.entry.js +12 -3
  291. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -6
  292. package/dist/cjs/ix-tree.cjs.entry.js +4 -3
  293. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  294. package/dist/cjs/ix-upload.cjs.entry.js +6 -6
  295. package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -5
  296. package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
  297. package/dist/cjs/{listener-BafrcTaM.js → listener-ClEsCfX0.js} +1 -1
  298. package/dist/cjs/loader.cjs.js +2 -2
  299. package/dist/cjs/{menu-service-D_QsHUgR.js → menu-service-DBg-0e5W.js} +13 -2
  300. package/dist/cjs/path-utils-CQKWhbQW.js +169 -0
  301. package/dist/cjs/{shadow-dom-BG8VqeIu.js → shadow-dom-BL5F7RFW.js} +13 -0
  302. package/dist/cjs/siemens-ix.cjs.js +3 -3
  303. package/dist/cjs/{tab.mixin-DObUK6A4.js → tab.mixin-C1KwKb64.js} +1 -1
  304. package/dist/cjs/uuid-Bo2QzEg9.js +15 -0
  305. package/dist/cjs/{validation-Dier-uPA.js → validation-DJaUH-UR.js} +1 -1
  306. package/dist/collection/collection-manifest.json +6 -1
  307. package/dist/collection/components/action-card/action-card.css +18 -0
  308. package/dist/collection/components/action-card/action-card.js +5 -1
  309. package/dist/collection/components/application/application.js +32 -10
  310. package/dist/collection/components/application-header/application-header.js +10 -9
  311. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +2 -2
  312. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +2 -2
  313. package/dist/collection/components/avatar/avatar.css +1 -1
  314. package/dist/collection/components/avatar/avatar.js +3 -0
  315. package/dist/collection/components/blind/blind.css +27 -0
  316. package/dist/collection/components/blind/blind.js +10 -5
  317. package/dist/collection/components/breadcrumb/breadcrumb.js +5 -2
  318. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +3 -3
  319. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +4 -1
  320. package/dist/collection/components/button/base-button.js +1 -1
  321. package/dist/collection/components/button/button.css +2 -2
  322. package/dist/collection/components/button/button.js +5 -2
  323. package/dist/collection/components/card/card.js +6 -2
  324. package/dist/collection/components/card-accordion/card-accordion.js +7 -4
  325. package/dist/collection/components/card-content/card-content.js +4 -1
  326. package/dist/collection/components/card-list/card-list.css +1 -1
  327. package/dist/collection/components/card-list/card-list.js +9 -6
  328. package/dist/collection/components/card-title/card-title.js +2 -1
  329. package/dist/collection/components/category-filter/category-filter.css +2 -2
  330. package/dist/collection/components/category-filter/category-filter.js +3 -3
  331. package/dist/collection/components/checkbox/checkbox.css +13 -4
  332. package/dist/collection/components/checkbox/checkbox.js +22 -3
  333. package/dist/collection/components/checkbox-group/checkbox-group.js +3 -2
  334. package/dist/collection/components/chip/chip.js +7 -4
  335. package/dist/collection/components/col/col.js +5 -2
  336. package/dist/collection/components/content/content.css +2 -2
  337. package/dist/collection/components/content/content.js +4 -3
  338. package/dist/collection/components/content-header/content-header.js +4 -4
  339. package/dist/collection/components/css-grid/css-grid-item.js +2 -1
  340. package/dist/collection/components/css-grid/css-grid.js +2 -1
  341. package/dist/collection/components/custom-field/custom-field.js +4 -1
  342. package/dist/collection/components/date-dropdown/date-dropdown.css +1 -1
  343. package/dist/collection/components/date-dropdown/date-dropdown.js +5 -5
  344. package/dist/collection/components/date-input/date-input.css +1 -0
  345. package/dist/collection/components/date-input/date-input.js +5 -4
  346. package/dist/collection/components/date-picker/date-picker.css +4 -0
  347. package/dist/collection/components/date-picker/date-picker.js +7 -7
  348. package/dist/collection/components/date-time-card/date-time-card.js +2 -2
  349. package/dist/collection/components/datetime-input/datetime-input.css +1 -0
  350. package/dist/collection/components/datetime-input/datetime-input.js +3 -3
  351. package/dist/collection/components/datetime-picker/datetime-picker.js +3 -3
  352. package/dist/collection/components/divider/divider.js +1 -1
  353. package/dist/collection/components/dropdown/dropdown-controller.js +20 -82
  354. package/dist/collection/components/dropdown/dropdown.js +5 -2
  355. package/dist/collection/components/dropdown-button/dropdown-button.js +10 -6
  356. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  357. package/dist/collection/components/dropdown-item/dropdown-item.js +6 -3
  358. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +4 -1
  359. package/dist/collection/components/empty-state/empty-state.js +1 -1
  360. package/dist/collection/components/event-list/event-list.js +5 -2
  361. package/dist/collection/components/event-list-item/event-list-item.js +7 -4
  362. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  363. package/dist/collection/components/field-label/field-label.js +5 -2
  364. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  365. package/dist/collection/components/filter-chip/filter-chip.css +3 -1
  366. package/dist/collection/components/filter-chip/filter-chip.js +34 -1
  367. package/dist/collection/components/flip-tile/flip-tile.js +8 -3
  368. package/dist/collection/components/flip-tile-content/flip-tile-content.js +4 -1
  369. package/dist/collection/components/group/group-context-menu.js +4 -1
  370. package/dist/collection/components/group/group.js +14 -8
  371. package/dist/collection/components/group-item/group-item.js +3 -0
  372. package/dist/collection/components/helper-text/helper-text.js +1 -1
  373. package/dist/collection/components/icon-button/icon-button.css +2 -2
  374. package/dist/collection/components/icon-button/icon-button.js +2 -2
  375. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +2 -2
  376. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -2
  377. package/dist/collection/components/input/input.css +3 -2
  378. package/dist/collection/components/input/input.js +5 -7
  379. package/dist/collection/components/input/number-input.css +1 -0
  380. package/dist/collection/components/input/number-input.js +5 -5
  381. package/dist/collection/components/input/textarea.css +1 -0
  382. package/dist/collection/components/input/textarea.js +2 -2
  383. package/dist/collection/components/ix-playground/ix-playground.js +1 -1
  384. package/dist/collection/components/key-value/key-value.js +1 -1
  385. package/dist/collection/components/key-value-list/key-value-list.js +4 -1
  386. package/dist/collection/components/kpi/kpi.js +3 -3
  387. package/dist/collection/components/layout-auto/layout-auto.js +4 -1
  388. package/dist/collection/components/layout-grid/layout-grid.js +5 -2
  389. package/dist/collection/components/link-button/link-button.js +6 -3
  390. package/dist/collection/components/menu/menu-expand-icon.css +1 -1
  391. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  392. package/dist/collection/components/menu/menu.css +21 -3
  393. package/dist/collection/components/menu/menu.js +246 -14
  394. package/dist/collection/components/menu-about/menu-about.js +5 -2
  395. package/dist/collection/components/menu-about-item/menu-about-item.js +2 -1
  396. package/dist/collection/components/menu-about-news/menu-about-news.js +7 -4
  397. package/dist/collection/components/menu-avatar/menu-avatar.js +5 -2
  398. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  399. package/dist/collection/components/menu-category/menu-category.js +125 -32
  400. package/dist/collection/components/menu-item/menu-item.js +118 -20
  401. package/dist/collection/components/menu-settings/menu-settings.js +5 -2
  402. package/dist/collection/components/menu-settings-item/menu-settings-item.js +2 -1
  403. package/dist/collection/components/message-bar/message-bar.js +4 -1
  404. package/dist/collection/components/modal/modal.js +6 -3
  405. package/dist/collection/components/modal-content/modal-content.js +4 -1
  406. package/dist/collection/components/modal-footer/modal-footer.js +4 -1
  407. package/dist/collection/components/modal-header/modal-header.css +1 -0
  408. package/dist/collection/components/modal-header/modal-header.js +4 -1
  409. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  410. package/dist/collection/components/pagination/pagination.css +2 -2
  411. package/dist/collection/components/pagination/pagination.js +2 -2
  412. package/dist/collection/components/pane/pane.css +4 -0
  413. package/dist/collection/components/pane/pane.js +120 -21
  414. package/dist/collection/components/pane-layout/pane-layout.js +9 -1
  415. package/dist/collection/components/pill/pill.js +7 -4
  416. package/dist/collection/components/popover/popover-controller.js +161 -0
  417. package/dist/collection/components/popover/popover.css +75 -0
  418. package/dist/collection/components/popover/popover.js +940 -0
  419. package/dist/collection/components/popover/test/popover.constants.js +19 -0
  420. package/dist/collection/components/popover/test/popover.fixtures.js +111 -0
  421. package/dist/collection/components/popover/test/popover.page.js +318 -0
  422. package/dist/collection/components/popover-content/popover-content.css +81 -0
  423. package/dist/collection/components/popover-content/popover-content.js +67 -0
  424. package/dist/collection/components/popover-footer/popover-footer.css +91 -0
  425. package/dist/collection/components/popover-footer/popover-footer.js +68 -0
  426. package/dist/collection/components/popover-header/popover-header.css +105 -0
  427. package/dist/collection/components/popover-header/popover-header.js +205 -0
  428. package/dist/collection/components/popover-image/popover-image.css +80 -0
  429. package/dist/collection/components/popover-image/popover-image.js +96 -0
  430. package/dist/collection/components/progress-indicator/progress-indicator.js +5 -3
  431. package/dist/collection/components/push-card/push-card.js +5 -1
  432. package/dist/collection/components/radio/radio.js +4 -3
  433. package/dist/collection/components/radio-group/radio-group.js +3 -2
  434. package/dist/collection/components/range-field/range-field.js +5 -2
  435. package/dist/collection/components/row/row.js +4 -1
  436. package/dist/collection/components/select/select.css +25 -3
  437. package/dist/collection/components/select/select.js +426 -18
  438. package/dist/collection/components/select-item/select-item.css +5 -0
  439. package/dist/collection/components/select-item/select-item.js +33 -3
  440. package/dist/collection/components/slider/slider.js +6 -6
  441. package/dist/collection/components/spinner/spinner.js +1 -1
  442. package/dist/collection/components/split-button/split-button.js +4 -1
  443. package/dist/collection/components/tab-item/tab-item.js +8 -5
  444. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  445. package/dist/collection/components/tab-set/tab-set.js +1 -1
  446. package/dist/collection/components/tabs/tabs.js +8 -5
  447. package/dist/collection/components/tile/tile.js +10 -4
  448. package/dist/collection/components/time-input/time-input.css +1 -0
  449. package/dist/collection/components/time-input/time-input.js +5 -4
  450. package/dist/collection/components/time-picker/time-picker.js +17 -19
  451. package/dist/collection/components/toast/toast-container.js +5 -2
  452. package/dist/collection/components/toast/toast.js +6 -2
  453. package/dist/collection/components/toggle/toggle.js +3 -3
  454. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  455. package/dist/collection/components/toggle-button/toggle-button.js +5 -2
  456. package/dist/collection/components/tooltip/tooltip.js +12 -2
  457. package/dist/collection/components/tree/tree.js +4 -1
  458. package/dist/collection/components/tree-item/tree-item.js +7 -4
  459. package/dist/collection/components/typography/typography.js +4 -1
  460. package/dist/collection/components/upload/upload.js +3 -3
  461. package/dist/collection/components/utils/a11y.js +9 -0
  462. package/dist/collection/components/utils/focus/focus-proxy.js +5 -4
  463. package/dist/collection/components/utils/focus/focus-trap.js +286 -69
  464. package/dist/collection/components/utils/focus/focus-utilities.js +65 -23
  465. package/dist/collection/components/utils/menu-service/menu-service.js +13 -2
  466. package/dist/collection/components/utils/nested-overlay/hierarchy.js +44 -0
  467. package/dist/collection/components/utils/nested-overlay/index.js +11 -0
  468. package/dist/collection/components/utils/nested-overlay/nested-overlay-stack.js +101 -0
  469. package/dist/collection/components/utils/nested-overlay/path-utils.js +17 -0
  470. package/dist/collection/components/utils/nested-overlay/types.js +1 -0
  471. package/dist/collection/components/utils/shadow-dom.js +12 -0
  472. package/dist/collection/components/workflow-step/workflow-step.js +7 -3
  473. package/dist/collection/components/workflow-steps/workflow-steps.js +4 -1
  474. package/dist/esm/{a11y-B5k8YVR0.js → a11y-C21npbUc.js} +10 -1
  475. package/dist/esm/{base-button-hppF0uUM.js → base-button-DZdtpLxn.js} +3 -3
  476. package/dist/esm/{base-icon-button-_xVULsPr.js → base-icon-button-DufFLJC-.js} +2 -2
  477. package/dist/esm/{component-Chfbghog.js → component-DqJSHc3A.js} +2 -2
  478. package/dist/esm/dropdown-controller-Jfg3ZWk6.js +96 -0
  479. package/dist/esm/{focus-proxy-BgLEsVE2.js → focus-proxy-BQyoX-Kl.js} +6 -5
  480. package/dist/esm/focus-trap-IK9ialav.js +304 -0
  481. package/dist/esm/{focus-utilities-DnaItyVQ.js → focus-utilities-6ZxKp7Jn.js} +66 -24
  482. package/dist/esm/{focus-visible.mixin-CoMZ6z5Z.js → focus-visible.mixin-CaRK3Ex_.js} +2 -2
  483. package/dist/esm/{helper-text-util-AEl-1QU6.js → helper-text-util-D0LEFZuB.js} +3 -3
  484. package/dist/esm/{index-Cl7fhG1I.js → index-DgUGsIlh.js} +2 -2
  485. package/dist/esm/{index-Ca5WUunf.js → index-EBgS4zhE.js} +21 -1
  486. package/dist/esm/index.js +2 -2
  487. package/dist/esm/{inherit-aria-attributes.mixin-CBuZQFB-.js → inherit-aria-attributes.mixin-nCmPujqf.js} +2 -2
  488. package/dist/esm/{input-picker.mixin-Bo_sZpC4.js → input-picker.mixin-DudWFH-e.js} +2 -2
  489. package/dist/esm/{input.fc-DjE-oOZc.js → input.fc-CE3kP-L_.js} +3 -3
  490. package/dist/esm/ix-action-card.entry.js +5 -4
  491. package/dist/esm/ix-application-header.entry.js +14 -14
  492. package/dist/esm/ix-application-switch-modal.entry.js +5 -5
  493. package/dist/esm/ix-application.entry.js +28 -13
  494. package/dist/esm/ix-avatar_2.entry.js +9 -9
  495. package/dist/esm/ix-blind.entry.js +9 -9
  496. package/dist/esm/ix-breadcrumb-item.entry.js +10 -10
  497. package/dist/esm/ix-breadcrumb.entry.js +8 -8
  498. package/dist/esm/ix-button.entry.js +10 -10
  499. package/dist/esm/ix-card-accordion_2.entry.js +7 -7
  500. package/dist/esm/ix-card-list.entry.js +8 -8
  501. package/dist/esm/ix-card_2.entry.js +4 -4
  502. package/dist/esm/ix-category-filter.entry.js +8 -8
  503. package/dist/esm/ix-checkbox-group.entry.js +4 -4
  504. package/dist/esm/ix-checkbox.entry.js +20 -7
  505. package/dist/esm/ix-chip.entry.js +11 -11
  506. package/dist/esm/ix-col_4.entry.js +21 -23
  507. package/dist/esm/ix-content-header.entry.js +5 -5
  508. package/dist/esm/ix-content.entry.js +6 -6
  509. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  510. package/dist/esm/ix-css-grid.entry.js +2 -2
  511. package/dist/esm/ix-custom-field.entry.js +3 -3
  512. package/dist/esm/ix-date-dropdown.entry.js +14 -14
  513. package/dist/esm/ix-date-input.entry.js +16 -15
  514. package/dist/esm/ix-date-picker.entry.js +13 -13
  515. package/dist/esm/ix-date-time-card.entry.js +3 -3
  516. package/dist/esm/ix-datetime-input.entry.js +15 -14
  517. package/dist/esm/ix-datetime-picker.entry.js +6 -6
  518. package/dist/esm/ix-divider.entry.js +2 -2
  519. package/dist/esm/ix-dropdown-button.entry.js +11 -11
  520. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  521. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  522. package/dist/esm/ix-dropdown_2.entry.js +14 -13
  523. package/dist/esm/ix-empty-state.entry.js +2 -2
  524. package/dist/esm/ix-event-list-item.entry.js +7 -7
  525. package/dist/esm/ix-event-list.entry.js +3 -3
  526. package/dist/esm/ix-expanding-search.entry.js +6 -6
  527. package/dist/esm/ix-field-label_2.entry.js +12 -12
  528. package/dist/esm/ix-filter-chip_2.entry.js +30 -13
  529. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  530. package/dist/esm/ix-flip-tile.entry.js +6 -6
  531. package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
  532. package/dist/esm/ix-group.entry.js +11 -11
  533. package/dist/esm/ix-helper-text.entry.js +6 -6
  534. package/dist/esm/ix-icon-button_2.entry.js +12 -12
  535. package/dist/esm/ix-icon-toggle-button.entry.js +11 -11
  536. package/dist/esm/ix-input.entry.js +11 -13
  537. package/dist/esm/ix-key-value-list.entry.js +2 -2
  538. package/dist/esm/ix-key-value.entry.js +2 -2
  539. package/dist/esm/ix-kpi.entry.js +5 -5
  540. package/dist/esm/ix-layout-auto.entry.js +2 -2
  541. package/dist/esm/ix-link-button.entry.js +5 -5
  542. package/dist/esm/ix-menu-about-item.entry.js +3 -3
  543. package/dist/esm/ix-menu-about-news.entry.js +9 -9
  544. package/dist/esm/ix-menu-about.entry.js +4 -4
  545. package/dist/esm/ix-menu-avatar.entry.js +6 -6
  546. package/dist/esm/ix-menu-category.entry.js +255 -38
  547. package/dist/esm/ix-menu-expand-icon.entry.js +8 -8
  548. package/dist/esm/ix-menu-item.entry.js +220 -31
  549. package/dist/esm/ix-menu-settings-item.entry.js +3 -3
  550. package/dist/esm/ix-menu-settings.entry.js +4 -4
  551. package/dist/esm/ix-menu.entry.js +195 -18
  552. package/dist/esm/ix-message-bar.entry.js +3 -3
  553. package/dist/esm/ix-modal-content_2.entry.js +6 -6
  554. package/dist/esm/ix-modal-footer.entry.js +2 -2
  555. package/dist/esm/ix-modal-loading.entry.js +2 -2
  556. package/dist/esm/ix-modal.entry.js +6 -6
  557. package/dist/esm/ix-number-input.entry.js +11 -11
  558. package/dist/esm/ix-pagination.entry.js +7 -7
  559. package/dist/esm/ix-pane-layout.entry.js +2 -2
  560. package/dist/esm/ix-pane.entry.js +102 -25
  561. package/dist/esm/ix-pill_4.entry.js +23 -23
  562. package/dist/esm/ix-popover-content.entry.js +24 -0
  563. package/dist/esm/ix-popover-footer.entry.js +24 -0
  564. package/dist/esm/ix-popover-header.entry.js +68 -0
  565. package/dist/esm/ix-popover-image.entry.js +31 -0
  566. package/dist/esm/ix-popover.entry.js +994 -0
  567. package/dist/esm/ix-progress-indicator.entry.js +5 -5
  568. package/dist/esm/ix-push-card.entry.js +2 -2
  569. package/dist/esm/ix-radio-group.entry.js +4 -4
  570. package/dist/esm/ix-radio.entry.js +6 -6
  571. package/dist/esm/ix-range-field.entry.js +7 -7
  572. package/dist/esm/ix-select.entry.js +399 -26
  573. package/dist/esm/ix-slider.entry.js +10 -10
  574. package/dist/esm/ix-split-button.entry.js +7 -7
  575. package/dist/esm/ix-tab-panel.entry.js +5 -5
  576. package/dist/esm/ix-textarea.entry.js +7 -7
  577. package/dist/esm/ix-tile.entry.js +5 -5
  578. package/dist/esm/ix-time-input.entry.js +16 -15
  579. package/dist/esm/ix-toast-container.entry.js +3 -3
  580. package/dist/esm/ix-toast.entry.js +4 -4
  581. package/dist/esm/ix-toggle-button.entry.js +10 -10
  582. package/dist/esm/ix-toggle.entry.js +10 -10
  583. package/dist/esm/ix-tooltip.entry.js +12 -3
  584. package/dist/esm/ix-tree-item.entry.js +6 -6
  585. package/dist/esm/ix-tree.entry.js +4 -3
  586. package/dist/esm/ix-typography.entry.js +2 -2
  587. package/dist/esm/ix-upload.entry.js +6 -6
  588. package/dist/esm/ix-workflow-step.entry.js +5 -5
  589. package/dist/esm/ix-workflow-steps.entry.js +2 -2
  590. package/dist/esm/{listener-Dk6XGheN.js → listener-BjluJgvO.js} +1 -1
  591. package/dist/esm/loader.js +3 -3
  592. package/dist/esm/{menu-service-DTIYRV47.js → menu-service-DYOa8RGJ.js} +13 -2
  593. package/dist/esm/path-utils-CNLoALIl.js +165 -0
  594. package/dist/esm/{shadow-dom-BIe8Nw9M.js → shadow-dom-BClJdFQP.js} +13 -1
  595. package/dist/esm/siemens-ix.js +4 -4
  596. package/dist/esm/{tab.mixin-2hU1i4Yk.js → tab.mixin-BjAM99yM.js} +1 -1
  597. package/dist/esm/uuid-D3T7Lr4G.js +13 -0
  598. package/dist/esm/{validation-BT5aAuSO.js → validation-VVt5EFy0.js} +1 -1
  599. package/dist/siemens-ix/index.esm.js +1 -1
  600. package/dist/siemens-ix/p-03215d55.entry.js +1 -0
  601. package/dist/siemens-ix/{p-3f752a9c.entry.js → p-04a42013.entry.js} +1 -1
  602. package/dist/siemens-ix/p-0b24f8d0.entry.js +1 -0
  603. package/dist/siemens-ix/{p-222881a1.entry.js → p-0e74e65c.entry.js} +1 -1
  604. package/dist/siemens-ix/{p-dedd5fc0.entry.js → p-0fd5baf1.entry.js} +1 -1
  605. package/dist/siemens-ix/p-18cae4df.entry.js +1 -0
  606. package/dist/siemens-ix/p-1a6b7e92.entry.js +1 -0
  607. package/dist/siemens-ix/p-1cd9a45a.entry.js +1 -0
  608. package/dist/siemens-ix/{p-f847a799.entry.js → p-1ea183fb.entry.js} +1 -1
  609. package/dist/siemens-ix/{p-65b8ad90.entry.js → p-21b09017.entry.js} +1 -1
  610. package/dist/siemens-ix/{p-782fb465.entry.js → p-227ba1b8.entry.js} +1 -1
  611. package/dist/siemens-ix/{p-d440cd94.entry.js → p-2753ed4e.entry.js} +1 -1
  612. package/dist/siemens-ix/{p-04bbcd53.entry.js → p-2eb094c0.entry.js} +1 -1
  613. package/dist/siemens-ix/{p-21c0d22c.entry.js → p-34eaf010.entry.js} +1 -1
  614. package/dist/siemens-ix/p-39fb1c9e.entry.js +1 -0
  615. package/dist/siemens-ix/p-3bb5600a.entry.js +1 -0
  616. package/dist/siemens-ix/p-3bfa4bbc.entry.js +1 -0
  617. package/dist/siemens-ix/p-3f5ac9f7.entry.js +1 -0
  618. package/dist/siemens-ix/p-3pidUFd-.js +1 -0
  619. package/dist/siemens-ix/{p-7a83e693.entry.js → p-4154d18a.entry.js} +1 -1
  620. package/dist/siemens-ix/{p-232da11d.entry.js → p-427f85c3.entry.js} +1 -1
  621. package/dist/siemens-ix/{p-8493e35e.entry.js → p-45106215.entry.js} +1 -1
  622. package/dist/siemens-ix/{p-c56497da.entry.js → p-4ceb3543.entry.js} +1 -1
  623. package/dist/siemens-ix/p-4d179abe.entry.js +1 -0
  624. package/dist/siemens-ix/p-4faa3c03.entry.js +1 -0
  625. package/dist/siemens-ix/{p-85ce0a9f.entry.js → p-50a44cb9.entry.js} +1 -1
  626. package/dist/siemens-ix/{p-986142f0.entry.js → p-52096875.entry.js} +1 -1
  627. package/dist/siemens-ix/p-54a22a58.entry.js +1 -0
  628. package/dist/siemens-ix/p-57678563.entry.js +1 -0
  629. package/dist/siemens-ix/p-5d7ede96.entry.js +1 -0
  630. package/dist/siemens-ix/p-5ff289c7.entry.js +1 -0
  631. package/dist/siemens-ix/p-601224bd.entry.js +1 -0
  632. package/dist/siemens-ix/p-6ZxKp7Jn.js +1 -0
  633. package/dist/siemens-ix/p-6aa5adb4.entry.js +1 -0
  634. package/dist/siemens-ix/p-703c7e7c.entry.js +1 -0
  635. package/dist/siemens-ix/{p-756c8779.entry.js → p-71a31d92.entry.js} +1 -1
  636. package/dist/siemens-ix/{p-0de68f63.entry.js → p-71a5fae5.entry.js} +1 -1
  637. package/dist/siemens-ix/{p-edb738d9.entry.js → p-71feb871.entry.js} +1 -1
  638. package/dist/siemens-ix/p-747d14a2.entry.js +1 -0
  639. package/dist/siemens-ix/{p-2bef3c58.entry.js → p-7655c4c2.entry.js} +1 -1
  640. package/dist/siemens-ix/p-7899597f.entry.js +1 -0
  641. package/dist/siemens-ix/p-7c120d09.entry.js +1 -0
  642. package/dist/siemens-ix/p-8164a98b.entry.js +1 -0
  643. package/dist/siemens-ix/p-83f4cd88.entry.js +1 -0
  644. package/dist/siemens-ix/p-8658717f.entry.js +1 -0
  645. package/dist/siemens-ix/{p-38cb18b4.entry.js → p-8900e229.entry.js} +1 -1
  646. package/dist/siemens-ix/{p-d798773f.entry.js → p-8b839f30.entry.js} +1 -1
  647. package/dist/siemens-ix/p-8cea823b.entry.js +1 -0
  648. package/dist/siemens-ix/{p-f107a580.entry.js → p-8d535dc9.entry.js} +1 -1
  649. package/dist/siemens-ix/p-8f72a218.entry.js +1 -0
  650. package/dist/siemens-ix/{p-68eb9150.entry.js → p-95e8951f.entry.js} +1 -1
  651. package/dist/siemens-ix/p-96a3b3df.entry.js +1 -0
  652. package/dist/siemens-ix/p-9f2905df.entry.js +1 -0
  653. package/dist/siemens-ix/p-B0y5hnj5.js +1 -0
  654. package/dist/siemens-ix/p-B4oiZyZC.js +1 -0
  655. package/dist/siemens-ix/p-BClJdFQP.js +1 -0
  656. package/dist/siemens-ix/p-BKuq0po2.js +1 -0
  657. package/{components/p-Dx8kFukG.js → dist/siemens-ix/p-BWgttsqY.js} +1 -1
  658. package/dist/siemens-ix/p-BbwShqw_.js +1 -0
  659. package/dist/siemens-ix/{p-B5k8YVR0.js → p-C21npbUc.js} +1 -1
  660. package/dist/siemens-ix/{p-DnCbHs-d.js → p-C518yBiI.js} +1 -1
  661. package/dist/siemens-ix/p-CNLoALIl.js +1 -0
  662. package/dist/siemens-ix/{p-BgL7Z4IG.js → p-CXbob2Ew.js} +1 -1
  663. package/dist/siemens-ix/p-D3T7Lr4G.js +1 -0
  664. package/dist/siemens-ix/p-DT02jDB7.js +1 -0
  665. package/dist/siemens-ix/p-DVJeDueL.js +1 -0
  666. package/dist/siemens-ix/p-DgUGsIlh.js +1 -0
  667. package/dist/siemens-ix/p-HpQs38Y0.js +1 -0
  668. package/dist/siemens-ix/p-a25f267b.entry.js +1 -0
  669. package/dist/siemens-ix/p-a2aa806e.entry.js +1 -0
  670. package/dist/siemens-ix/{p-6fb379fb.entry.js → p-a44b1452.entry.js} +1 -1
  671. package/dist/siemens-ix/p-a7f5e11e.entry.js +1 -0
  672. package/dist/siemens-ix/{p-40a26154.entry.js → p-a8911648.entry.js} +1 -1
  673. package/dist/siemens-ix/p-aa904521.entry.js +1 -0
  674. package/dist/siemens-ix/p-ab202c45.entry.js +1 -0
  675. package/dist/siemens-ix/p-ac804eb2.entry.js +1 -0
  676. package/dist/siemens-ix/p-af808244.entry.js +1 -0
  677. package/dist/siemens-ix/{p-a5d60068.entry.js → p-b004e845.entry.js} +1 -1
  678. package/dist/siemens-ix/p-b2fe56c7.entry.js +1 -0
  679. package/dist/siemens-ix/p-b534dadd.entry.js +1 -0
  680. package/dist/siemens-ix/{p-5b3f7baa.entry.js → p-b63d7f36.entry.js} +1 -1
  681. package/dist/siemens-ix/{p-ed2aea43.entry.js → p-b7570885.entry.js} +1 -1
  682. package/dist/siemens-ix/{p-fcac86a5.entry.js → p-bc0f5cbe.entry.js} +1 -1
  683. package/dist/siemens-ix/{p-12750b7b.entry.js → p-bddd1cca.entry.js} +1 -1
  684. package/dist/siemens-ix/{p-2d7e415f.entry.js → p-bfb758cb.entry.js} +1 -1
  685. package/dist/siemens-ix/p-c0c6d772.entry.js +1 -0
  686. package/dist/siemens-ix/p-c0d56b86.entry.js +1 -0
  687. package/dist/siemens-ix/{p-bd60b9fe.entry.js → p-c1c209f6.entry.js} +1 -1
  688. package/dist/siemens-ix/p-c69036b1.entry.js +1 -0
  689. package/dist/siemens-ix/{p-84fbdef9.entry.js → p-c9718f0d.entry.js} +1 -1
  690. package/dist/siemens-ix/p-cYKY6sUE.js +1 -0
  691. package/dist/siemens-ix/p-cd42c4e6.entry.js +1 -0
  692. package/dist/siemens-ix/{p-da8840cc.entry.js → p-d02d2e49.entry.js} +1 -1
  693. package/dist/siemens-ix/{p-44a3f1f0.entry.js → p-d13c0b78.entry.js} +1 -1
  694. package/dist/siemens-ix/{p-b17053bc.entry.js → p-d16ee3bd.entry.js} +1 -1
  695. package/dist/siemens-ix/p-d1cd3cb9.entry.js +1 -0
  696. package/dist/siemens-ix/{p-5024bd91.entry.js → p-d45ff0a0.entry.js} +1 -1
  697. package/dist/siemens-ix/{p-280d8b68.entry.js → p-d5761950.entry.js} +1 -1
  698. package/dist/siemens-ix/{p-a44e8a8f.entry.js → p-d699bb26.entry.js} +1 -1
  699. package/dist/siemens-ix/{p-d8c99656.entry.js → p-d770d8ba.entry.js} +1 -1
  700. package/dist/siemens-ix/{p-ae5569aa.entry.js → p-da2e0f0e.entry.js} +1 -1
  701. package/dist/siemens-ix/p-daf43138.entry.js +1 -0
  702. package/dist/siemens-ix/{p-1fa6a663.entry.js → p-dc16a32d.entry.js} +1 -1
  703. package/dist/siemens-ix/{p-48386b43.entry.js → p-ddcc8627.entry.js} +1 -1
  704. package/dist/siemens-ix/p-e3da7c67.entry.js +1 -0
  705. package/dist/siemens-ix/p-e58ae892.entry.js +1 -0
  706. package/dist/siemens-ix/p-e5e220c7.entry.js +1 -0
  707. package/dist/siemens-ix/p-e6046255.entry.js +1 -0
  708. package/dist/siemens-ix/{p-c921c01b.entry.js → p-e9b37020.entry.js} +1 -1
  709. package/dist/siemens-ix/{p-df13643b.entry.js → p-ea9691c1.entry.js} +1 -1
  710. package/dist/siemens-ix/{p-6e63af65.entry.js → p-eac237a1.entry.js} +1 -1
  711. package/dist/siemens-ix/p-eff190ad.entry.js +1 -0
  712. package/dist/siemens-ix/p-f1cd82bd.entry.js +1 -0
  713. package/dist/siemens-ix/{p-5ae844d7.entry.js → p-f43c97cf.entry.js} +1 -1
  714. package/dist/siemens-ix/{p-ba0eaaf5.entry.js → p-f507157f.entry.js} +1 -1
  715. package/dist/siemens-ix/{p-2afcdc78.entry.js → p-fa5c236f.entry.js} +1 -1
  716. package/dist/siemens-ix/p-fbd006be.entry.js +1 -0
  717. package/dist/siemens-ix/p-fdec73d4.entry.js +1 -0
  718. package/dist/siemens-ix/{p-yAf8WIcn.js → p-vphIrWGB.js} +1 -1
  719. package/dist/siemens-ix/p-wfVRhTWc.js +1 -0
  720. package/dist/siemens-ix/{p-D148LCh1.js → p-yZFaEeBW.js} +1 -1
  721. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  722. package/dist/types/components/action-card/action-card.d.ts +3 -0
  723. package/dist/types/components/application/application.d.ts +9 -0
  724. package/dist/types/components/application-header/application-header.d.ts +1 -0
  725. package/dist/types/components/avatar/avatar.d.ts +3 -0
  726. package/dist/types/components/blind/blind.d.ts +5 -0
  727. package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -0
  728. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -0
  729. package/dist/types/components/button/button.d.ts +3 -0
  730. package/dist/types/components/card/card.d.ts +4 -0
  731. package/dist/types/components/card-accordion/card-accordion.d.ts +3 -0
  732. package/dist/types/components/card-content/card-content.d.ts +3 -0
  733. package/dist/types/components/card-list/card-list.d.ts +3 -0
  734. package/dist/types/components/card-title/card-title.d.ts +1 -0
  735. package/dist/types/components/checkbox/checkbox.d.ts +6 -0
  736. package/dist/types/components/checkbox-group/checkbox-group.d.ts +1 -0
  737. package/dist/types/components/chip/chip.d.ts +3 -0
  738. package/dist/types/components/col/col.d.ts +3 -0
  739. package/dist/types/components/content/content.d.ts +1 -0
  740. package/dist/types/components/content-header/content-header.d.ts +1 -1
  741. package/dist/types/components/css-grid/css-grid-item.d.ts +1 -0
  742. package/dist/types/components/css-grid/css-grid.d.ts +1 -0
  743. package/dist/types/components/custom-field/custom-field.d.ts +3 -0
  744. package/dist/types/components/dropdown/dropdown-controller.d.ts +1 -3
  745. package/dist/types/components/dropdown/dropdown.d.ts +3 -0
  746. package/dist/types/components/dropdown-button/dropdown-button.d.ts +4 -0
  747. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -0
  748. package/dist/types/components/dropdown-quick-actions/dropdown-quick-actions.d.ts +3 -0
  749. package/dist/types/components/event-list/event-list.d.ts +3 -0
  750. package/dist/types/components/event-list-item/event-list-item.d.ts +3 -0
  751. package/dist/types/components/field-label/field-label.d.ts +3 -0
  752. package/dist/types/components/filter-chip/filter-chip.d.ts +9 -0
  753. package/dist/types/components/flip-tile/flip-tile.d.ts +5 -0
  754. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
  755. package/dist/types/components/group/group-context-menu.d.ts +3 -0
  756. package/dist/types/components/group/group.d.ts +6 -0
  757. package/dist/types/components/group-item/group-item.d.ts +3 -0
  758. package/dist/types/components/input/input.d.ts +1 -0
  759. package/dist/types/components/key-value-list/key-value-list.d.ts +3 -0
  760. package/dist/types/components/layout-auto/layout-auto.d.ts +3 -0
  761. package/dist/types/components/layout-grid/layout-grid.d.ts +3 -0
  762. package/dist/types/components/link-button/link-button.d.ts +3 -0
  763. package/dist/types/components/menu/menu.d.ts +39 -1
  764. package/dist/types/components/menu-about/menu-about.d.ts +3 -0
  765. package/dist/types/components/menu-about-item/menu-about-item.d.ts +1 -0
  766. package/dist/types/components/menu-about-news/menu-about-news.d.ts +3 -0
  767. package/dist/types/components/menu-avatar/menu-avatar.d.ts +3 -0
  768. package/dist/types/components/menu-category/menu-category.d.ts +31 -2
  769. package/dist/types/components/menu-item/menu-item.d.ts +40 -3
  770. package/dist/types/components/menu-settings/menu-settings.d.ts +3 -0
  771. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +1 -0
  772. package/dist/types/components/message-bar/message-bar.d.ts +3 -0
  773. package/dist/types/components/modal/modal.d.ts +3 -0
  774. package/dist/types/components/modal-content/modal-content.d.ts +3 -0
  775. package/dist/types/components/modal-footer/modal-footer.d.ts +3 -0
  776. package/dist/types/components/modal-header/modal-header.d.ts +3 -0
  777. package/dist/types/components/pane/pane.d.ts +15 -1
  778. package/dist/types/components/pane-layout/pane-layout.d.ts +8 -0
  779. package/dist/types/components/pill/pill.d.ts +3 -0
  780. package/dist/types/components/popover/popover-controller.d.ts +52 -0
  781. package/dist/types/components/popover/popover.d.ts +190 -0
  782. package/dist/types/components/popover/test/popover.constants.d.ts +11 -0
  783. package/dist/types/components/popover/test/popover.fixtures.d.ts +29 -0
  784. package/dist/types/components/popover/test/popover.page.d.ts +118 -0
  785. package/dist/types/components/popover-content/popover-content.d.ts +16 -0
  786. package/dist/types/components/popover-footer/popover-footer.d.ts +17 -0
  787. package/dist/types/components/popover-header/popover-header.d.ts +49 -0
  788. package/dist/types/components/popover-image/popover-image.d.ts +21 -0
  789. package/dist/types/components/progress-indicator/progress-indicator.d.ts +2 -0
  790. package/dist/types/components/push-card/push-card.d.ts +4 -0
  791. package/dist/types/components/radio/radio.d.ts +1 -0
  792. package/dist/types/components/radio-group/radio-group.d.ts +1 -0
  793. package/dist/types/components/range-field/range-field.d.ts +3 -0
  794. package/dist/types/components/row/row.d.ts +3 -0
  795. package/dist/types/components/select/select.d.ts +50 -0
  796. package/dist/types/components/select-item/select-item.d.ts +7 -0
  797. package/dist/types/components/split-button/split-button.d.ts +3 -0
  798. package/dist/types/components/tab-item/tab-item.d.ts +3 -0
  799. package/dist/types/components/tabs/tabs.d.ts +3 -0
  800. package/dist/types/components/tile/tile.d.ts +6 -0
  801. package/dist/types/components/toast/toast-container.d.ts +3 -0
  802. package/dist/types/components/toast/toast.d.ts +4 -0
  803. package/dist/types/components/toggle-button/toggle-button.d.ts +3 -0
  804. package/dist/types/components/tooltip/tooltip.d.ts +3 -0
  805. package/dist/types/components/tree/tree.d.ts +3 -0
  806. package/dist/types/components/tree-item/tree-item.d.ts +3 -0
  807. package/dist/types/components/typography/typography.d.ts +3 -0
  808. package/dist/types/components/utils/a11y.d.ts +5 -0
  809. package/dist/types/components/utils/focus/focus-proxy.d.ts +6 -4
  810. package/dist/types/components/utils/focus/focus-trap.d.ts +16 -1
  811. package/dist/types/components/utils/focus/focus-utilities.d.ts +2 -2
  812. package/dist/types/components/utils/menu-service/menu-service.d.ts +1 -0
  813. package/dist/types/components/utils/nested-overlay/hierarchy.d.ts +6 -0
  814. package/dist/types/components/utils/nested-overlay/index.d.ts +6 -0
  815. package/dist/types/components/utils/nested-overlay/nested-overlay-stack.d.ts +28 -0
  816. package/dist/types/components/utils/nested-overlay/path-utils.d.ts +1 -0
  817. package/dist/types/components/utils/nested-overlay/types.d.ts +13 -0
  818. package/dist/types/components/utils/shadow-dom.d.ts +1 -0
  819. package/dist/types/components/workflow-step/workflow-step.d.ts +4 -0
  820. package/dist/types/components/workflow-steps/workflow-steps.d.ts +3 -0
  821. package/dist/types/components.d.ts +486 -12
  822. package/dist/types/stencil-public-runtime.d.ts +1 -0
  823. package/hydrate/index.js +3595 -697
  824. package/hydrate/index.mjs +3595 -697
  825. package/package.json +4 -4
  826. package/components/p-5jph302v.js +0 -1
  827. package/components/p-B1ZcjHve.js +0 -1
  828. package/components/p-B8RlWbEh.js +0 -1
  829. package/components/p-BP8g-yqY.js +0 -1
  830. package/components/p-B_czElDE.js +0 -1
  831. package/components/p-BooU9e46.js +0 -1
  832. package/components/p-Btv5ReUJ.js +0 -1
  833. package/components/p-BtvsjuLo.js +0 -1
  834. package/components/p-CDKHgTB8.js +0 -1
  835. package/components/p-CKYjdhXo.js +0 -1
  836. package/components/p-CQj_gEvY.js +0 -1
  837. package/components/p-CYgb41KQ.js +0 -1
  838. package/components/p-C_95k0nq.js +0 -1
  839. package/components/p-CgOv_MV_.js +0 -1
  840. package/components/p-D4RWuUBi.js +0 -1
  841. package/components/p-D4T7_gkf.js +0 -1
  842. package/components/p-D5gbubPJ.js +0 -1
  843. package/components/p-D6Wm2E-0.js +0 -1
  844. package/components/p-D8Wb4thH.js +0 -1
  845. package/components/p-DOCAISxs.js +0 -1
  846. package/components/p-JXbYOM9q.js +0 -1
  847. package/components/p-NLlCSNeG.js +0 -1
  848. package/components/p-XBJqkmoc.js +0 -1
  849. package/dist/cjs/dropdown-controller-DeBeUVhj.js +0 -160
  850. package/dist/cjs/focus-trap-_cyPFvFq.js +0 -106
  851. package/dist/esm/dropdown-controller-D6Wm2E-0.js +0 -157
  852. package/dist/esm/focus-trap-DDLHqzV2.js +0 -102
  853. package/dist/siemens-ix/p-077cb0a7.entry.js +0 -1
  854. package/dist/siemens-ix/p-12647d5d.entry.js +0 -1
  855. package/dist/siemens-ix/p-15aefb52.entry.js +0 -1
  856. package/dist/siemens-ix/p-1629de03.entry.js +0 -1
  857. package/dist/siemens-ix/p-1ce32501.entry.js +0 -1
  858. package/dist/siemens-ix/p-2142fab0.entry.js +0 -1
  859. package/dist/siemens-ix/p-23aaf08e.entry.js +0 -1
  860. package/dist/siemens-ix/p-25c784e4.entry.js +0 -1
  861. package/dist/siemens-ix/p-2a735134.entry.js +0 -1
  862. package/dist/siemens-ix/p-2d8f3ea3.entry.js +0 -1
  863. package/dist/siemens-ix/p-2e5e7ccf.entry.js +0 -1
  864. package/dist/siemens-ix/p-45552c4c.entry.js +0 -1
  865. package/dist/siemens-ix/p-50b75fdf.entry.js +0 -1
  866. package/dist/siemens-ix/p-58d349a2.entry.js +0 -1
  867. package/dist/siemens-ix/p-5a44cb29.entry.js +0 -1
  868. package/dist/siemens-ix/p-5c478e3e.entry.js +0 -1
  869. package/dist/siemens-ix/p-61a481f3.entry.js +0 -1
  870. package/dist/siemens-ix/p-65bc8a0d.entry.js +0 -1
  871. package/dist/siemens-ix/p-69459b73.entry.js +0 -1
  872. package/dist/siemens-ix/p-6df3d9e4.entry.js +0 -1
  873. package/dist/siemens-ix/p-82f44b05.entry.js +0 -1
  874. package/dist/siemens-ix/p-834330b3.entry.js +0 -1
  875. package/dist/siemens-ix/p-8937e9b1.entry.js +0 -1
  876. package/dist/siemens-ix/p-8cfddec2.entry.js +0 -1
  877. package/dist/siemens-ix/p-8d76c0b0.entry.js +0 -1
  878. package/dist/siemens-ix/p-9015a4c5.entry.js +0 -1
  879. package/dist/siemens-ix/p-91b02cb7.entry.js +0 -1
  880. package/dist/siemens-ix/p-9362c304.entry.js +0 -1
  881. package/dist/siemens-ix/p-9586a886.entry.js +0 -1
  882. package/dist/siemens-ix/p-9907d408.entry.js +0 -1
  883. package/dist/siemens-ix/p-9b8f1bc7.entry.js +0 -1
  884. package/dist/siemens-ix/p-BIe8Nw9M.js +0 -1
  885. package/dist/siemens-ix/p-BZApVtkF.js +0 -1
  886. package/dist/siemens-ix/p-CgOv_MV_.js +0 -1
  887. package/dist/siemens-ix/p-Cl7fhG1I.js +0 -1
  888. package/dist/siemens-ix/p-CxGywkh5.js +0 -1
  889. package/dist/siemens-ix/p-D6Wm2E-0.js +0 -1
  890. package/dist/siemens-ix/p-DIWED8Ls.js +0 -1
  891. package/dist/siemens-ix/p-DnaItyVQ.js +0 -1
  892. package/dist/siemens-ix/p-DzWThpzp.js +0 -1
  893. package/dist/siemens-ix/p-GLcPX9PU.js +0 -1
  894. package/dist/siemens-ix/p-Z4IKO1Dx.js +0 -1
  895. package/dist/siemens-ix/p-afa900f7.entry.js +0 -1
  896. package/dist/siemens-ix/p-b1930204.entry.js +0 -1
  897. package/dist/siemens-ix/p-b517c2e1.entry.js +0 -1
  898. package/dist/siemens-ix/p-b96eabf7.entry.js +0 -1
  899. package/dist/siemens-ix/p-bef76eac.entry.js +0 -1
  900. package/dist/siemens-ix/p-c78a5414.entry.js +0 -1
  901. package/dist/siemens-ix/p-cb9f8b47.entry.js +0 -1
  902. package/dist/siemens-ix/p-d34c0c51.entry.js +0 -1
  903. package/dist/siemens-ix/p-dd2b271e.entry.js +0 -1
  904. package/dist/siemens-ix/p-de79c9cf.entry.js +0 -1
  905. package/dist/siemens-ix/p-df32a25c.entry.js +0 -1
  906. package/dist/siemens-ix/p-e09fcd95.entry.js +0 -1
  907. package/dist/siemens-ix/p-e316d8a5.entry.js +0 -1
  908. package/dist/siemens-ix/p-ea440d84.entry.js +0 -1
  909. package/dist/siemens-ix/p-fpBGwEVT.js +0 -1
  910. package/dist/siemens-ix/p-jBB3q9qq.js +0 -1
  911. /package/components/{p-Bxdy-8CE.js → p-CtDOTMOT.js} +0 -0
  912. /package/dist/siemens-ix/{p-Ca5WUunf.js → p-EBgS4zhE.js} +0 -0
@@ -1 +0,0 @@
1
- import{h as t}from"./p-Bxdy-8CE.js";import{B as o}from"./p-qsIASuyM.js";function r(r){return t(o,{...r,type:"button"})}export{r as B}
@@ -1 +0,0 @@
1
- import{h as o}from"./p-Bxdy-8CE.js";const s=s=>o("ul",{class:"proxy-list",role:"listbox",id:`${s.hostId}-${t}`,...s.otherProps}),t="proxy-listbox",x="proxy-listbox-item",i=(o,s,t)=>{if(o&&s.length>0){const i=s[0].getBoundingClientRect().top-s[0].getBoundingClientRect().height+8;o.innerHTML="",o.style.top=i+"px",o.style.padding="0px",o.style.margin="0px",o.innerHTML="",s.forEach((s=>{const i=document.createElement("li");i.id=s.id+"-"+x,t&&t(s,i),s.ariaHidden="true",o.appendChild(i)}))}};export{s as F,x as P,t as a,i as u}
@@ -1 +0,0 @@
1
- import{p as e,H as t,e as i,h as a,d as o,t as r}from"./p-Bxdy-8CE.js";import{D as s}from"./p-D1WplX1z.js";import{a as n,d as m}from"./p-B1ZcjHve.js";import{d as c}from"./p-Btv5ReUJ.js";import{d}from"./p-DTcUamMt.js";import{d as l}from"./p-BtvsjuLo.js";import{d as h}from"./p-546lBshK.js";import{d as b}from"./p-CDKHgTB8.js";import{d as p}from"./p-uIG84RqI.js";import{d as u}from"./p-NLlCSNeG.js";import{d as f}from"./p-wEbi9beJ.js";import{d as x}from"./p-BP8g-yqY.js";import{d as k}from"./p-By6x--zJ.js";import{d as g}from"./p-BcxPyyrm.js";import{d as w}from"./p-MZOpritx.js";function y(e){return e.search(/[HhmsaSZ]/)}function T(e,t="yyyy/LL/dd"){const i=y(e);if(-1===i)return e;let a=i;for(;a>0&&" \t'T".includes(e[a-1]);)a--;const o=e.slice(0,a).trimEnd();return""===o?t:o}function v(e,t="HH:mm:ss"){const i=y(e);return-1===i?t:e.slice(i)}const E=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.timeChange=i(this,"timeChange",7),this.dateChange=i(this,"dateChange",7),this.dateSelect=i(this,"dateSelect",7)}get hostElement(){return this}singleSelection=!1;minDate;maxDate;dateFormat="yyyy/LL/dd";timeFormat="HH:mm:ss";minTime;maxTime;from;to;time;showTimeReference=!1;timeReference;i18nDone="Done";i18nTime="Time";ariaLabelPreviousMonthButton="Previous month";ariaLabelNextMonthButton="Next month";weekStartIndex=0;locale;showWeekNumbers=!1;embedded=!1;timeChange;dateChange;dateSelect;datePickerElement;timePickerElement;selectedFromDate;hasTimeConstraintsConfigured(){return!(!this.minTime?.trim()&&!this.maxTime?.trim())}warnIfRangeModeIgnoresTimeConstraints(){!this.singleSelection&&this.hasTimeConstraintsConfigured()&&console.warn("[ix-datetime-picker] `minTime`/`maxTime` are ignored when range selection is enabled (`singleSelection=false`).")}watchFromPropHandler(e){this.selectedFromDate=e}watchSingleSelectionPropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}watchMinTimePropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}watchMaxTimePropHandler(){this.warnIfRangeModeIgnoresTimeConstraints()}componentWillLoad(){this.selectedFromDate=this.from,this.warnIfRangeModeIgnoresTimeConstraints()}get dateOnlyFormat(){return T(this.dateFormat)}parseDateValue(e){if(!e)return null;let t=s.fromFormat(e,this.dateFormat,{locale:this.locale});return t.isValid||(t=s.fromFormat(e,this.dateOnlyFormat,{locale:this.locale})),t.isValid?t:null}parseDateConstraint(e,t){const i=this.parseDateValue(e);return i?"start"===t?i.startOf("day"):i.endOf("day"):null}getSelectedFromDateTime(){const e=this.parseDateValue(this.selectedFromDate);return e?e.startOf("day"):null}getEffectiveTimeConstraints(){if(!this.singleSelection)return{minTime:void 0,maxTime:void 0};if(!this.minDate&&!this.maxDate)return{minTime:this.minTime,maxTime:this.maxTime};const e=this.getSelectedFromDateTime();if(!e?.isValid)return{minTime:void 0,maxTime:void 0};const t=this.parseDateConstraint(this.minDate,"start"),i=this.parseDateConstraint(this.maxDate,"end"),a=!!t?.isValid&&!!e?.isValid&&e.hasSame(t,"day"),o=!!i?.isValid&&e.hasSame(i,"day");return{minTime:a?this.minTime:void 0,maxTime:o?this.maxTime:void 0}}async onDone(){const e=await(this.datePickerElement?.getCurrentDate()),t=await(this.timePickerElement?.getCurrentTime());this.dateSelect.emit({from:e?.from??"",to:e?.to??"",time:t??""})}async onDateChange(e){e.preventDefault(),e.stopPropagation();const{detail:t}=e;this.selectedFromDate="string"==typeof t?t:t?.from,this.dateChange.emit(t)}async onTimeChange(e){e.preventDefault(),e.stopPropagation();const{detail:t}=e;this.timeChange.emit(t)}async getDatepickerElement(){return this.datePickerElement}async getTimepickerElement(){return this.timePickerElement}render(){const{minTime:e,maxTime:t}=this.getEffectiveTimeConstraints();return a(o,{key:"4a7b3d01b9001bd34b6c8cf357d5de34f7b326c7"},a("ix-date-time-card",{key:"c54fffa1efadf7fedf270a5d29a241cb244ae35b",hideHeader:!0,hasFooter:!0,embedded:this.embedded,corners:"rounded",noPadding:!0},a("ix-layout-grid",{key:"3d5496ac783718cec38643defe04ea9cf296714a",class:"no-padding"},a("ix-row",{key:"61b4864d048b3c0e79218d892a2810a7673f4c75",class:"row-separator"},a("ix-col",{key:"92844a4c2caa6837c50e29207495a5f51c236056",class:"col-separator"},a("ix-date-picker",{key:"88611176a321e3cd369e2b4b6e4c594806c299ec",ref:e=>this.datePickerElement=e,corners:"left",singleSelection:this.singleSelection,onDateChange:e=>this.onDateChange(e),from:this.from,to:this.to,format:this.dateFormat,minDate:this.minDate,maxDate:this.maxDate,weekStartIndex:this.weekStartIndex,embedded:!0,locale:this.locale,showWeekNumbers:this.showWeekNumbers,ariaLabelPreviousMonthButton:this.ariaLabelPreviousMonthButton,ariaLabelNextMonthButton:this.ariaLabelNextMonthButton,tabIndex:this.embedded?-1:0,[n]:this.embedded})),a("ix-col",{key:"acc965fc6992fb5afd79e9174cbc1ed30f09fb22"},a("ix-time-picker",{key:"042cd14c98a3f7ea2c330ef55889f4cfc6c7017c",class:"min-width",ref:e=>this.timePickerElement=e,embedded:!0,dateTimePickerAppearance:!0,onTimeChange:e=>this.onTimeChange(e),format:this.timeFormat,time:this.time,minTime:e,maxTime:t,tabIndex:this.embedded?-1:0,[n]:this.embedded})))),a("div",{key:"f625f88c84a0d294fe94836b11e46f17018c4228",slot:"footer",class:"btn-select-date-container"},a("ix-button",{key:"b4f1d140c91a3f2a46724fc9a5fcb601c263f8af",class:"btn-select-date",onClick:()=>this.onDone()},this.i18nDone))))}static get watchers(){return{from:[{watchFromPropHandler:0}],singleSelection:[{watchSingleSelectionPropHandler:0}],minTime:[{watchMinTimePropHandler:0}],maxTime:[{watchMaxTimePropHandler:0}]}}static get style(){return":host{display:block;position:relative;width:-moz-min-content;width:min-content}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ix-time-picker{width:100%}:host .no-padding{padding:0}:host ix-col{display:flex;flex-direction:column;padding:0}:host .flex{display:flex;justify-content:center;flex-direction:column}:host .col-separator{border-bottom:0.0625rem solid var(--theme-datepicker-separator--background);border-right:none}@media (min-width: 576px){:host{min-width:-moz-max-content;min-width:max-content}:host .btn-select-date-container{display:inline-flex;flex-grow:1}:host .btn-select-date-container ix-button{margin-left:auto;margin-top:auto}:host .min-width{width:-moz-min-content;width:min-content}:host ix-time-picker{width:initial}:host .col-separator{border-right:0.0625rem solid var(--theme-datepicker-separator--background);border-bottom:none}}:host .individual{box-shadow:none;border:none}:host .btn-select-date-container{display:flex;justify-content:flex-end}@media (max-width: 576px){:host .btn-select-date-container .btn-select-date{width:100%}}"}},[513,"ix-datetime-picker",{singleSelection:[4,"single-selection"],minDate:[1,"min-date"],maxDate:[1,"max-date"],dateFormat:[1,"date-format"],timeFormat:[1,"time-format"],minTime:[1,"min-time"],maxTime:[1,"max-time"],from:[1],to:[1],time:[1],showTimeReference:[4,"show-time-reference"],timeReference:[1,"time-reference"],i18nDone:[1,"i18n-done"],i18nTime:[1,"i18n-time"],ariaLabelPreviousMonthButton:[1,"aria-label-previous-month-button"],ariaLabelNextMonthButton:[1,"aria-label-next-month-button"],weekStartIndex:[2,"week-start-index"],locale:[1],showWeekNumbers:[4,"show-week-numbers"],embedded:[4],selectedFromDate:[32],getDatepickerElement:[64],getTimepickerElement:[64]},void 0,{from:[{watchFromPropHandler:0}],singleSelection:[{watchSingleSelectionPropHandler:0}],minTime:[{watchMinTimePropHandler:0}],maxTime:[{watchMaxTimePropHandler:0}]}]);function D(){"undefined"!=typeof customElements&&["ix-datetime-picker","ix-button","ix-col","ix-date-picker","ix-date-time-card","ix-dropdown","ix-dropdown-button","ix-dropdown-item","ix-icon-button","ix-layout-grid","ix-row","ix-spinner","ix-time-picker","ix-typography"].forEach((e=>{switch(e){case"ix-datetime-picker":customElements.get(r(e))||customElements.define(r(e),E);break;case"ix-button":customElements.get(r(e))||c();break;case"ix-col":customElements.get(r(e))||d();break;case"ix-date-picker":customElements.get(r(e))||l();break;case"ix-date-time-card":customElements.get(r(e))||h();break;case"ix-dropdown":customElements.get(r(e))||m();break;case"ix-dropdown-button":customElements.get(r(e))||b();break;case"ix-dropdown-item":customElements.get(r(e))||p();break;case"ix-icon-button":customElements.get(r(e))||u();break;case"ix-layout-grid":customElements.get(r(e))||f();break;case"ix-row":customElements.get(r(e))||x();break;case"ix-spinner":customElements.get(r(e))||k();break;case"ix-time-picker":customElements.get(r(e))||g();break;case"ix-typography":customElements.get(r(e))||w()}}))}export{E as D,v as a,D as d,T as g}
@@ -1 +0,0 @@
1
- import{p as r,M as e,h as t,d as o,t as a}from"./p-Bxdy-8CE.js";import{B as d}from"./p-D8Wb4thH.js";import{g as i}from"./p-B5k8YVR0.js";import{D as n}from"./p-Dx8kFukG.js";import{I as b}from"./p-BE4QI9tD.js";import{d as s}from"./p-By6x--zJ.js";const l=r(class extends(e(...n,b)){constructor(r){super(!1),!1!==r&&this.__registerHost(),this.__attachShadow()}get hostElement(){return this}variant="subtle-primary";oval=!1;icon;size="24";iconColor;disabled=!1;type="button";loading=!1;submitButtonElement;componentDidLoad(){if("submit"===this.type){const r=document.createElement("button");r.style.display="none",r.type="submit",r.tabIndex=-1,this.hostElement.appendChild(r),this.submitButtonElement=r}}dispatchFormEvents(){"submit"===this.type&&this.submitButtonElement&&this.submitButtonElement.click()}getIconSizeClass(){return{"btn-icon-12":"12"===this.size,"btn-icon-16":"16"===this.size,"btn-icon-32":"24"===this.size||!this.size}}render(){const r=i(this.icon);let e=this.inheritAriaAttributes||{};void 0===e["aria-label"]&&(e={...e,"aria-label":r});const a={ariaAttributes:e,variant:this.variant,iconOnly:!0,iconOval:this.oval,selected:!1,disabled:this.disabled||this.loading,icon:this.icon,iconColor:this.iconColor,iconSize:this.size,loading:this.loading,onClick:()=>this.dispatchFormEvents(),type:this.type,extraClasses:this.getIconSizeClass(),tabIndex:this.hostElement.hasAttribute("tabindex")?this.hostElement.tabIndex:void 0};return t(o,{key:"b1ad69ccd94cf290a88db0d5f9da8c5992bba336",class:{...this.getIconSizeClass(),disabled:this.disabled||this.loading},tabIndex:this.disabled?-1:0},t(d,{key:"928bd44422d72964601e7311a4faa257df34e91b",...a}))}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}]}}static get style(){return":host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}: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 button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host(.ix-focused) .btn{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}: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 button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host(.ix-focused) .btn{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-primary{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}:host .btn-primary.selected{background-color:var(--theme-btn-primary--background--pressed);color:var(--theme-btn-primary--color--pressed)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-hover)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):active,:host .btn-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-active)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):hover,:host .btn-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):active,:host .btn-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-primary.disabled,:host(.disabled) .btn-primary:disabled{pointer-events:none;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}:host .btn-secondary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-secondary{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}:host .btn-secondary.selected{background-color:var(--theme-btn-secondary--background--pressed);color:var(--theme-btn-secondary--color--pressed)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-hover)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-active)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):hover,:host .btn-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):active,:host .btn-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-secondary.disabled,:host(.disabled) .btn-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}:host .btn-tertiary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-tertiary{background-color:var(--theme-btn-tertiary--background);color:var(--theme-btn-tertiary--color);--ix-button-color:var(--theme-btn-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-tertiary--border-color);border-style:solid}:host .btn-tertiary.selected{background-color:var(--theme-btn-tertiary--background--pressed);color:var(--theme-btn-tertiary--color--pressed)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-hover)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-active)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):hover,:host .btn-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-tertiary--border-color--hover);background-color:var(--theme-btn-tertiary--background--hover);color:var(--theme-btn-tertiary--color--hover)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):active,:host .btn-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-tertiary--border-color--active);background-color:var(--theme-btn-tertiary--background--active);color:var(--theme-btn-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-tertiary.disabled,:host(.disabled) .btn-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-tertiary--border-color--disabled);background-color:var(--theme-btn-tertiary--background--disabled);color:var(--theme-btn-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-tertiary--color--disabled)}:host .btn-subtle-primary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-primary{background-color:var(--theme-btn-subtle-primary--background);color:var(--theme-btn-subtle-primary--color);--ix-button-color:var(--theme-btn-subtle-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-primary--border-color);border-style:solid}:host .btn-subtle-primary.selected{background-color:var(--theme-btn-subtle-primary--background--pressed);color:var(--theme-btn-subtle-primary--color--pressed)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-hover)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-active)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-primary--border-color--hover);background-color:var(--theme-btn-subtle-primary--background--hover);color:var(--theme-btn-subtle-primary--color--hover)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):active,:host .btn-subtle-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-primary--border-color--active);background-color:var(--theme-btn-subtle-primary--background--active);color:var(--theme-btn-subtle-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-primary.disabled,:host(.disabled) .btn-subtle-primary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-primary--border-color--disabled);background-color:var(--theme-btn-subtle-primary--background--disabled);color:var(--theme-btn-subtle-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-primary--color--disabled)}:host .btn-subtle-secondary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-secondary{background-color:var(--theme-btn-subtle-secondary--background);color:var(--theme-btn-subtle-secondary--color);--ix-button-color:var(--theme-btn-subtle-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-secondary--border-color);border-style:solid}:host .btn-subtle-secondary.selected{background-color:var(--theme-btn-subtle-secondary--background--pressed);color:var(--theme-btn-subtle-secondary--color--pressed)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-hover)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-active)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-secondary--border-color--hover);background-color:var(--theme-btn-subtle-secondary--background--hover);color:var(--theme-btn-subtle-secondary--color--hover)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-secondary--border-color--active);background-color:var(--theme-btn-subtle-secondary--background--active);color:var(--theme-btn-subtle-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-secondary.disabled,:host(.disabled) .btn-subtle-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-secondary--border-color--disabled);background-color:var(--theme-btn-subtle-secondary--background--disabled);color:var(--theme-btn-subtle-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-secondary--color--disabled)}:host .btn-subtle-tertiary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-tertiary{background-color:var(--theme-btn-subtle-tertiary--background);color:var(--theme-btn-subtle-tertiary--color);--ix-button-color:var(--theme-btn-subtle-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-tertiary--border-color);border-style:solid}:host .btn-subtle-tertiary.selected{background-color:var(--theme-btn-subtle-tertiary--background--pressed);color:var(--theme-btn-subtle-tertiary--color--pressed)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-hover)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-active)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-tertiary--border-color--hover);background-color:var(--theme-btn-subtle-tertiary--background--hover);color:var(--theme-btn-subtle-tertiary--color--hover)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-tertiary--border-color--active);background-color:var(--theme-btn-subtle-tertiary--background--active);color:var(--theme-btn-subtle-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-tertiary.disabled,:host(.disabled) .btn-subtle-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-tertiary--border-color--disabled);background-color:var(--theme-btn-subtle-tertiary--background--disabled);color:var(--theme-btn-subtle-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .btn-danger-primary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-primary{background-color:var(--theme-btn-danger-primary--background);color:var(--theme-btn-danger-primary--color);--ix-button-color:var(--theme-btn-danger-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-primary--border-color);border-style:solid}:host .btn-danger-primary.selected{background-color:var(--theme-btn-danger-primary--background--pressed);color:var(--theme-btn-danger-primary--color--pressed)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-hover)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-active)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):hover,:host .btn-danger-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-primary--border-color--hover);background-color:var(--theme-btn-danger-primary--background--hover);color:var(--theme-btn-danger-primary--color--hover)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):active,:host .btn-danger-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-primary--border-color--active);background-color:var(--theme-btn-danger-primary--background--active);color:var(--theme-btn-danger-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-primary.disabled,:host(.disabled) .btn-danger-primary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-primary--border-color--disabled);background-color:var(--theme-btn-danger-primary--background--disabled);color:var(--theme-btn-danger-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-primary--color--disabled)}:host .btn-danger-secondary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-secondary{background-color:var(--theme-btn-danger-secondary--background);color:var(--theme-btn-danger-secondary--color);--ix-button-color:var(--theme-btn-danger-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-secondary--border-color);border-style:solid}:host .btn-danger-secondary.selected{background-color:var(--theme-btn-danger-secondary--background--pressed);color:var(--theme-btn-danger-secondary--color--pressed)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-hover)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-active)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-secondary--border-color--hover);background-color:var(--theme-btn-danger-secondary--background--hover);color:var(--theme-btn-danger-secondary--color--hover)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):active,:host .btn-danger-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-secondary--border-color--active);background-color:var(--theme-btn-danger-secondary--background--active);color:var(--theme-btn-danger-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-secondary.disabled,:host(.disabled) .btn-danger-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-secondary--border-color--disabled);background-color:var(--theme-btn-danger-secondary--background--disabled);color:var(--theme-btn-danger-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-secondary--color--disabled)}:host .btn-danger-tertiary{text-align:start;border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-tertiary{background-color:var(--theme-btn-danger-tertiary--background);color:var(--theme-btn-danger-tertiary--color);--ix-button-color:var(--theme-btn-danger-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-tertiary--border-color);border-style:solid}:host .btn-danger-tertiary.selected{background-color:var(--theme-btn-danger-tertiary--background--pressed);color:var(--theme-btn-danger-tertiary--color--pressed)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-hover)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-active)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-tertiary--border-color--hover);background-color:var(--theme-btn-danger-tertiary--background--hover);color:var(--theme-btn-danger-tertiary--color--hover)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-tertiary--border-color--active);background-color:var(--theme-btn-danger-tertiary--background--active);color:var(--theme-btn-danger-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-tertiary.disabled,:host(.disabled) .btn-danger-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-tertiary--border-color--disabled);background-color:var(--theme-btn-danger-tertiary--background--disabled);color:var(--theme-btn-danger-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-tertiary--color--disabled)}*,*::after,*::before{box-sizing:border-box}::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){*{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}::-webkit-scrollbar{width:0.5rem;height:0.5rem}::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}::-webkit-scrollbar-corner{display:none}:host{display:inline-flex;justify-content:center;align-items:center}:host button{width:100%;height:100%;overflow:hidden;padding:0}:host button.btn-oval{border-radius:6.25rem}:host .icon{color:var(--ix-icon-button-color, currentColor);margin:0}:host ix-spinner{margin:0}:host(.btn-icon-12){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host(.btn-icon-16){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host(.btn-icon-32){height:2rem;width:2rem;min-width:2rem;min-height:2rem}"}},[529,"ix-icon-button",{variant:[1],oval:[4],icon:[1],size:[1],iconColor:[1,"icon-color"],disabled:[4],type:[1],loading:[4],inheritAriaAttributes:[32]},void 0,{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}]}]);function c(){"undefined"!=typeof customElements&&["ix-icon-button","ix-spinner"].forEach((r=>{switch(r){case"ix-icon-button":customElements.get(a(r))||customElements.define(a(r),l);break;case"ix-spinner":customElements.get(a(r))||s()}}))}export{l as I,c as d}
@@ -1 +0,0 @@
1
- import{p as t,H as e,h as i,d as o,t as s}from"./p-Bxdy-8CE.js";import{c as a,a as n,r,s as l,o as c,d as h,b as d,h as m}from"./p-Bxrgt3H_.js";import{m as p}from"./p-Djkc69iv.js";import{b}from"./p-D4RWuUBi.js";import{b as f}from"./p-CKoABG1h.js";import{d as u}from"./p-MZOpritx.js";const y=t=>null!==t?`${t}px`:"";let w=0;const g=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}for;titleContent;interactive=!1;placement="top";showDelay=0;hideDelay=50;animationFrame=!1;get hostElement(){return this}visible=!1;hideTooltipTimeout;showTooltipTimeout;visibleFor;disposeAutoUpdate;disposeTriggerListener;disposeTooltipListener;disposeDomChangeListener;instance=w++;dialogRef=p();get arrowElement(){return this.hostElement.shadowRoot.querySelector(".arrow")}async showTooltip(t){if(this.clearTimeouts(),this.showTooltipTimeout||this.visibleFor===t)return;const e=await this.dialogRef.waitForCurrent();this.showTooltipTimeout=setTimeout((()=>{this.setAnchorElement(t),e.showPopover(),this.applyTooltipPosition(t,e),this.registerTooltipListener(e)}),this.showDelay)}async hideTooltip(t=this.hideDelay){if(this.clearTimeouts(),this.hideTooltipTimeout||!this.visible)return;this.interactive&&50===t&&(t=150);const e=await this.dialogRef.waitForCurrent();this.hideTooltipTimeout=setTimeout((()=>{this.setAnchorElement(),e.hidePopover(),this.disposeAutoUpdate?.(),this.disposeTooltipListener?.()}),t)}setAnchorElement(t){t?(this.visibleFor=t,this.visible=!0):(this.visibleFor=void 0,this.visible=!1)}computeArrowPosition({placement:t,middlewareData:e}){let{x:i,y:o}=e.arrow;const s={top:"unset",right:"unset",bottom:"unset",left:"unset"};return t.startsWith("top")?{...s,left:y(i),bottom:y(-6)}:t.startsWith("right")?{...s,left:y(-6),top:y(o)}:t.startsWith("bottom")?{...s,left:y(i),top:y(-6)}:t.startsWith("left")?{...s,right:y(-6),top:y(o)}:void 0}async computeTooltipPosition(t,e){return a(t,e,{strategy:"fixed",placement:this.placement,middleware:[l(),c(12),h({element:this.arrowElement}),d({fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"end",padding:10}),m()]})}applyTooltipArrowPosition(t){const e=this.computeArrowPosition(t);Object.assign(this.arrowElement.style,e)}async applyTooltipPosition(t,e){if(t)return new Promise((i=>{this.disposeAutoUpdate?.(),this.disposeAutoUpdate=n(t,e,(async()=>{const o=await this.computeTooltipPosition(t,e),s=o.middlewareData.hide?.referenceHidden;s&&(this.hideTooltip(0),i(o)),o.middlewareData.arrow&&this.applyTooltipArrowPosition(o);const{x:a,y:n}=o;Object.assign(e.style,{left:y(a),top:y(n)}),i(o)}),{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,animationFrame:this.animationFrame})}))}async queryAnchorElements(){if(this.for)return Array.isArray(this.for)?this.resolveElements(this.for):this.resolveElements([this.for])}async resolveElements(t){const i=[];return await Promise.all(t.map((async t=>{if("string"==typeof t){const e=await r(t,this.hostElement);e&&i.push(...e)}else t instanceof e?i.push(t):t instanceof Promise&&i.push(await t)}))),i}async registerTriggerListener(){this.disposeTriggerListener?.();const t=await this.queryAnchorElements();if(!t)return;const e=[];t.forEach((t=>{e.push({element:t,eventType:"mouseenter",callback:()=>{this.showTooltip(t)}},{element:t,eventType:"mouseleave",callback:()=>{this.hideTooltip()}},{element:t,eventType:"focus",callback:()=>{this.showTooltip(t)}},{element:t,eventType:"focusout",callback:()=>{this.hideTooltip()}})})),this.disposeTriggerListener=f(e)}registerTooltipListener(t){this.disposeTooltipListener?.(),this.disposeTooltipListener=f([{element:t,eventType:"mouseenter",callback:()=>{this.interactive&&this.clearHideTimeout()}},{element:t,eventType:"focus",callback:()=>{this.interactive&&this.clearHideTimeout()}},{element:t,eventType:"mouseleave",callback:()=>{this.hideTooltip()}},{element:t,eventType:"focusout",callback:()=>{this.hideTooltip()}},{element:t,eventType:"click",callback:t=>{t.stopPropagation()}},{element:document,eventType:"keydown",callback:t=>{"Escape"===t.key&&this.hideTooltip()}}])}registerDomChangeListener(){const t=new MutationObserver((()=>{this.registerTriggerListener()}));t.observe(document.body,{attributes:!0,attributeFilter:["data-ix-tooltip"],childList:!0,subtree:!0}),this.disposeDomChangeListener=()=>{t.disconnect()}}clearHideTimeout(){clearTimeout(this.hideTooltipTimeout),this.hideTooltipTimeout=void 0}clearShowTimeout(){clearTimeout(this.showTooltipTimeout),this.showTooltipTimeout=void 0}clearTimeouts(){this.clearHideTimeout(),this.clearShowTimeout()}componentWillLoad(){this.registerTriggerListener()}componentDidLoad(){this.registerDomChangeListener()}disconnectedCallback(){this.clearTimeouts(),this.disposeAutoUpdate?.(),this.disposeTriggerListener?.(),this.disposeTooltipListener?.(),this.disposeDomChangeListener?.()}handleTitleIconSlotChange(t){const e=b(t.target);for(const t of e)"ix-icon"===t.tagName.toLowerCase()&&(t.size="16")}render(){return i(o,{key:"5327a81a35b5b7b02f301e241ee2f002f4bd44d8",role:"tooltip",class:{visible:this.visible}},i("dialog",{key:"e6196e83ab381de6eb75e53e7b763916a0cb2848",ref:this.dialogRef,id:"tooltip-"+this.instance,class:"dialog",popover:"manual",inert:!this.visible},i("div",{key:"1a67af364a20c0e11cb0eb89ad60fe0811affd07",class:"tooltip-container"},i("div",{key:"2dd620324b6025bd5957a81b6aa0454eb4c7bb6e",class:"content-wrapper"},i("div",{key:"7f1d40ea0cfc81b883cc4bbde53c2dc4223987cc",class:"tooltip-title"},i("slot",{key:"7056f34a3999f0e38c097359ec23fa8b9e22aa68",name:"title-icon",onSlotchange:t=>this.handleTitleIconSlotChange(t)}),i("ix-typography",{key:"cdaa694af6adc24aef201cffe93d9aadc32a48d9",format:"h5"},this.titleContent,i("slot",{key:"3f358d3931d3cc12bf858c331a160bbf1e616152",name:"title-content"}))),i("slot",{key:"6077989200f829d7cb2eec01d0fc5b60fb1d43d6"}),i("div",{key:"2f439327319e891070266b1cc8a51e77c45b4c58",class:"arrow"})))))}static get style(){return'.dialog{margin:0;padding:0;border:none;max-width:18.25rem;width:-moz-max-content;width:max-content;background-color:transparent;overflow-wrap:break-word;box-shadow:none;overflow:visible}.tooltip-container{display:block;position:relative;width:auto;height:-moz-fit-content;height:fit-content;background:var(--theme-tootlip--background);color:var(--theme-color-std-text);padding:0.375rem 0.75rem;box-shadow:var(--theme-shadow-4);border-radius:0.25rem}.content-wrapper{overflow:auto}.tooltip-title{display:flex}.tooltip-title ::slotted(ix-icon){margin:0.125rem 0.25rem 0.125rem 0}.arrow,.arrow::before{position:absolute;width:12px;height:12px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:"";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}'}},[769,"ix-tooltip",{for:[1],titleContent:[1,"title-content"],interactive:[4],placement:[1],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],animationFrame:[4,"animation-frame"],visible:[32],showTooltip:[64],hideTooltip:[64]}]);function v(){"undefined"!=typeof customElements&&["ix-tooltip","ix-typography"].forEach((t=>{switch(t){case"ix-tooltip":customElements.get(s(t))||customElements.define(s(t),g);break;case"ix-typography":customElements.get(s(t))||u()}}))}export{g as T,v as d}
@@ -1,160 +0,0 @@
1
- 'use strict';
2
-
3
- /*
4
- * SPDX-FileCopyrightText: 2024 Siemens AG
5
- *
6
- * SPDX-License-Identifier: MIT
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- function hasDropdownItemWrapperImplemented(item) {
12
- return (item !== null &&
13
- item.getDropdownItemElement !== undefined &&
14
- typeof item.getDropdownItemElement === 'function');
15
- }
16
- class DropdownController {
17
- dropdowns = new Map();
18
- submenuIds = {};
19
- isWindowListenerActive = false;
20
- connected(dropdown) {
21
- if (!this.isWindowListenerActive) {
22
- this.addOverlayListeners();
23
- }
24
- this.dropdowns.set(dropdown.getId(), dropdown);
25
- if (dropdown.discoverAllSubmenus) {
26
- this.discoverSubmenus();
27
- }
28
- }
29
- disconnected(dropdown) {
30
- const id = dropdown.getId();
31
- this.removeFromSubmenuIds(id);
32
- this.dropdowns.delete(id);
33
- }
34
- removeFromSubmenuIds(id) {
35
- this.dropdowns.forEach((dropdown) => {
36
- const submenuIds = this.submenuIds[dropdown.getId()];
37
- if (submenuIds) {
38
- const index = submenuIds.indexOf(id);
39
- if (index > -1) {
40
- submenuIds.splice(index, 1);
41
- }
42
- }
43
- });
44
- delete this.submenuIds[id];
45
- }
46
- getDropdownById(id) {
47
- return this.dropdowns.get(id);
48
- }
49
- discoverSubmenus() {
50
- this.dropdowns.forEach((dropdown) => {
51
- dropdown.discoverSubmenu();
52
- });
53
- }
54
- present(dropdown) {
55
- if (!dropdown.isPresent() && dropdown.willPresent?.()) {
56
- this.submenuIds[dropdown.getId()] = dropdown.getAssignedSubmenuIds();
57
- dropdown.present();
58
- }
59
- }
60
- dismissChildren(uid) {
61
- const childIds = this.submenuIds[uid] || [];
62
- for (const id of childIds) {
63
- const dropdown = this.dropdowns.get(id);
64
- if (dropdown) {
65
- this.dismiss(dropdown);
66
- }
67
- }
68
- }
69
- dismiss(dropdown) {
70
- if (dropdown.isPresent() && dropdown.willDismiss?.()) {
71
- this.dismissChildren(dropdown.getId());
72
- dropdown.dismiss();
73
- delete this.submenuIds[dropdown.getId()];
74
- }
75
- }
76
- dismissAll(ignoreBehaviorForIds = [], ignoreRelatedDropdowns = false) {
77
- this.dropdowns.forEach((dropdown) => {
78
- const preventClosing = dropdown.closeBehavior === 'inside' || dropdown.closeBehavior === false;
79
- const shouldIgnore = ignoreBehaviorForIds.includes(dropdown.getId());
80
- const path = this.buildComposedPath(dropdown.getId(), new Set());
81
- if (ignoreBehaviorForIds.length > 0 && ignoreRelatedDropdowns) {
82
- let skipRelatedDropdown = false;
83
- ignoreBehaviorForIds.forEach((id) => {
84
- if (path.has(id)) {
85
- skipRelatedDropdown = true;
86
- return;
87
- }
88
- });
89
- if (!skipRelatedDropdown) {
90
- return;
91
- }
92
- }
93
- if (!shouldIgnore && preventClosing) {
94
- return;
95
- }
96
- this.dismiss(dropdown);
97
- });
98
- }
99
- dismissOthers(uid) {
100
- let path = this.buildComposedPath(uid, new Set());
101
- path.add(uid);
102
- this.dropdowns.forEach((dropdown) => {
103
- if (dropdown.closeBehavior !== 'inside' &&
104
- dropdown.closeBehavior !== false &&
105
- !path.has(dropdown.getId())) {
106
- this.dismiss(dropdown);
107
- }
108
- });
109
- }
110
- pathIncludesTrigger(eventTargets) {
111
- for (let eventTarget of eventTargets) {
112
- if (eventTarget instanceof HTMLElement) {
113
- if (eventTarget.hasAttribute('data-ix-dropdown-trigger')) {
114
- return eventTarget;
115
- }
116
- }
117
- }
118
- return;
119
- }
120
- getParentDropdownId(dropdownId) {
121
- for (const ruleKey of Object.keys(this.submenuIds)) {
122
- if (this.submenuIds[ruleKey].includes(dropdownId)) {
123
- return ruleKey;
124
- }
125
- }
126
- }
127
- pathIncludesDropdown(eventTargets) {
128
- return !!eventTargets.find((element) => element.tagName === 'IX-DROPDOWN');
129
- }
130
- buildComposedPath(id, path) {
131
- if (this.submenuIds[id]) {
132
- path.add(id);
133
- }
134
- for (const ruleKey of Object.keys(this.submenuIds)) {
135
- if (this.submenuIds[ruleKey].includes(id)) {
136
- this.buildComposedPath(ruleKey, path).forEach((key) => path.add(key));
137
- }
138
- }
139
- return path;
140
- }
141
- addOverlayListeners() {
142
- this.isWindowListenerActive = true;
143
- window.addEventListener('click', (event) => {
144
- const hasTrigger = this.pathIncludesTrigger(event.composedPath());
145
- const hasDropdown = this.pathIncludesDropdown(event.composedPath());
146
- if (!hasTrigger && !hasDropdown) {
147
- this.dismissAll();
148
- }
149
- });
150
- window.addEventListener('keydown', (event) => {
151
- if (event.key === 'Escape') {
152
- this.dismissAll([...this.dropdowns.keys()]);
153
- }
154
- });
155
- }
156
- }
157
- const dropdownController = new DropdownController();
158
-
159
- exports.dropdownController = dropdownController;
160
- exports.hasDropdownItemWrapperImplemented = hasDropdownItemWrapperImplemented;
@@ -1,106 +0,0 @@
1
- 'use strict';
2
-
3
- var makeRef = require('./make-ref-CHsa3FY7.js');
4
- var focusUtilities = require('./focus-utilities-yx7wWjEO.js');
5
-
6
- /*
7
- * SPDX-FileCopyrightText: 2026 Siemens AG
8
- *
9
- * SPDX-License-Identifier: MIT
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
- const TRAP_FOCUS_EXCLUDE_ATTRIBUTE = 'data-ix-focus-trap-exclude';
15
- const TRAP_FOCUS_INCLUDE_ATTRIBUTE = 'data-ix-focus-trap-include';
16
- const addFocusTrap = async (element, options) => {
17
- let ref = element;
18
- if (options?.targetElement) {
19
- if (options.targetElement instanceof HTMLElement) {
20
- ref = options.targetElement;
21
- }
22
- else if (makeRef.isMakeRef(options.targetElement)) {
23
- ref = await options.targetElement.waitForCurrent();
24
- }
25
- }
26
- const onKeydown = (event) => {
27
- const keyboardEvent = event;
28
- if (keyboardEvent.key === 'Tab') {
29
- const focusTrapRoot = options?.trapFocusInShadowDom
30
- ? ref.shadowRoot
31
- : ref;
32
- const focusableElements = focusUtilities.queryElements(focusTrapRoot, `${focusUtilities.focusableQueryString}, [${TRAP_FOCUS_INCLUDE_ATTRIBUTE}]`);
33
- for (let index = 0; index < focusableElements.length; index++) {
34
- const includeElement = focusableElements[index];
35
- if (!includeElement.hasAttribute(TRAP_FOCUS_INCLUDE_ATTRIBUTE)) {
36
- continue;
37
- }
38
- const includedFocusableElements = focusUtilities.queryElements(options?.trapFocusInShadowDom && includeElement.shadowRoot
39
- ? includeElement.shadowRoot
40
- : includeElement, focusUtilities.focusableQueryString).filter((element) => element !== includeElement);
41
- for (const includedElement of includedFocusableElements) {
42
- const duplicateIndex = focusableElements.indexOf(includedElement);
43
- if (duplicateIndex !== -1) {
44
- focusableElements.splice(duplicateIndex, 1);
45
- if (duplicateIndex < index) {
46
- index--;
47
- }
48
- }
49
- }
50
- focusableElements.splice(index, 1, ...includedFocusableElements);
51
- index += includedFocusableElements.length - 1;
52
- }
53
- if (focusableElements.length === 0) {
54
- return;
55
- }
56
- if (options?.excludeElements) {
57
- focusableElements.forEach((element) => {
58
- if (element.hasAttribute(TRAP_FOCUS_EXCLUDE_ATTRIBUTE)) {
59
- const index = focusableElements.indexOf(element);
60
- if (index !== -1) {
61
- focusableElements.splice(index, 1);
62
- }
63
- }
64
- });
65
- }
66
- if (focusableElements.length === 0) {
67
- return;
68
- }
69
- const firstElement = focusableElements[0];
70
- const lastElement = focusableElements[focusableElements.length - 1];
71
- let activeElement = document.activeElement;
72
- if (ref instanceof HTMLElement && ref.shadowRoot) {
73
- activeElement = ref.shadowRoot.activeElement || activeElement;
74
- }
75
- if (activeElement?.hasAttribute(TRAP_FOCUS_INCLUDE_ATTRIBUTE) &&
76
- activeElement?.shadowRoot &&
77
- activeElement.shadowRoot.activeElement) {
78
- activeElement = activeElement.shadowRoot.activeElement;
79
- }
80
- if (keyboardEvent.shiftKey) {
81
- if (activeElement === firstElement) {
82
- keyboardEvent.preventDefault();
83
- lastElement.focus();
84
- }
85
- }
86
- else {
87
- if (activeElement === lastElement) {
88
- keyboardEvent.preventDefault();
89
- firstElement.focus();
90
- }
91
- }
92
- event.stopImmediatePropagation();
93
- }
94
- };
95
- ref.addEventListener('keydown', onKeydown);
96
- const destroy = () => {
97
- ref.removeEventListener('keydown', onKeydown);
98
- };
99
- return {
100
- destroy,
101
- };
102
- };
103
-
104
- exports.TRAP_FOCUS_EXCLUDE_ATTRIBUTE = TRAP_FOCUS_EXCLUDE_ATTRIBUTE;
105
- exports.TRAP_FOCUS_INCLUDE_ATTRIBUTE = TRAP_FOCUS_INCLUDE_ATTRIBUTE;
106
- exports.addFocusTrap = addFocusTrap;
@@ -1,157 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2024 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
- function hasDropdownItemWrapperImplemented(item) {
10
- return (item !== null &&
11
- item.getDropdownItemElement !== undefined &&
12
- typeof item.getDropdownItemElement === 'function');
13
- }
14
- class DropdownController {
15
- dropdowns = new Map();
16
- submenuIds = {};
17
- isWindowListenerActive = false;
18
- connected(dropdown) {
19
- if (!this.isWindowListenerActive) {
20
- this.addOverlayListeners();
21
- }
22
- this.dropdowns.set(dropdown.getId(), dropdown);
23
- if (dropdown.discoverAllSubmenus) {
24
- this.discoverSubmenus();
25
- }
26
- }
27
- disconnected(dropdown) {
28
- const id = dropdown.getId();
29
- this.removeFromSubmenuIds(id);
30
- this.dropdowns.delete(id);
31
- }
32
- removeFromSubmenuIds(id) {
33
- this.dropdowns.forEach((dropdown) => {
34
- const submenuIds = this.submenuIds[dropdown.getId()];
35
- if (submenuIds) {
36
- const index = submenuIds.indexOf(id);
37
- if (index > -1) {
38
- submenuIds.splice(index, 1);
39
- }
40
- }
41
- });
42
- delete this.submenuIds[id];
43
- }
44
- getDropdownById(id) {
45
- return this.dropdowns.get(id);
46
- }
47
- discoverSubmenus() {
48
- this.dropdowns.forEach((dropdown) => {
49
- dropdown.discoverSubmenu();
50
- });
51
- }
52
- present(dropdown) {
53
- if (!dropdown.isPresent() && dropdown.willPresent?.()) {
54
- this.submenuIds[dropdown.getId()] = dropdown.getAssignedSubmenuIds();
55
- dropdown.present();
56
- }
57
- }
58
- dismissChildren(uid) {
59
- const childIds = this.submenuIds[uid] || [];
60
- for (const id of childIds) {
61
- const dropdown = this.dropdowns.get(id);
62
- if (dropdown) {
63
- this.dismiss(dropdown);
64
- }
65
- }
66
- }
67
- dismiss(dropdown) {
68
- if (dropdown.isPresent() && dropdown.willDismiss?.()) {
69
- this.dismissChildren(dropdown.getId());
70
- dropdown.dismiss();
71
- delete this.submenuIds[dropdown.getId()];
72
- }
73
- }
74
- dismissAll(ignoreBehaviorForIds = [], ignoreRelatedDropdowns = false) {
75
- this.dropdowns.forEach((dropdown) => {
76
- const preventClosing = dropdown.closeBehavior === 'inside' || dropdown.closeBehavior === false;
77
- const shouldIgnore = ignoreBehaviorForIds.includes(dropdown.getId());
78
- const path = this.buildComposedPath(dropdown.getId(), new Set());
79
- if (ignoreBehaviorForIds.length > 0 && ignoreRelatedDropdowns) {
80
- let skipRelatedDropdown = false;
81
- ignoreBehaviorForIds.forEach((id) => {
82
- if (path.has(id)) {
83
- skipRelatedDropdown = true;
84
- return;
85
- }
86
- });
87
- if (!skipRelatedDropdown) {
88
- return;
89
- }
90
- }
91
- if (!shouldIgnore && preventClosing) {
92
- return;
93
- }
94
- this.dismiss(dropdown);
95
- });
96
- }
97
- dismissOthers(uid) {
98
- let path = this.buildComposedPath(uid, new Set());
99
- path.add(uid);
100
- this.dropdowns.forEach((dropdown) => {
101
- if (dropdown.closeBehavior !== 'inside' &&
102
- dropdown.closeBehavior !== false &&
103
- !path.has(dropdown.getId())) {
104
- this.dismiss(dropdown);
105
- }
106
- });
107
- }
108
- pathIncludesTrigger(eventTargets) {
109
- for (let eventTarget of eventTargets) {
110
- if (eventTarget instanceof HTMLElement) {
111
- if (eventTarget.hasAttribute('data-ix-dropdown-trigger')) {
112
- return eventTarget;
113
- }
114
- }
115
- }
116
- return;
117
- }
118
- getParentDropdownId(dropdownId) {
119
- for (const ruleKey of Object.keys(this.submenuIds)) {
120
- if (this.submenuIds[ruleKey].includes(dropdownId)) {
121
- return ruleKey;
122
- }
123
- }
124
- }
125
- pathIncludesDropdown(eventTargets) {
126
- return !!eventTargets.find((element) => element.tagName === 'IX-DROPDOWN');
127
- }
128
- buildComposedPath(id, path) {
129
- if (this.submenuIds[id]) {
130
- path.add(id);
131
- }
132
- for (const ruleKey of Object.keys(this.submenuIds)) {
133
- if (this.submenuIds[ruleKey].includes(id)) {
134
- this.buildComposedPath(ruleKey, path).forEach((key) => path.add(key));
135
- }
136
- }
137
- return path;
138
- }
139
- addOverlayListeners() {
140
- this.isWindowListenerActive = true;
141
- window.addEventListener('click', (event) => {
142
- const hasTrigger = this.pathIncludesTrigger(event.composedPath());
143
- const hasDropdown = this.pathIncludesDropdown(event.composedPath());
144
- if (!hasTrigger && !hasDropdown) {
145
- this.dismissAll();
146
- }
147
- });
148
- window.addEventListener('keydown', (event) => {
149
- if (event.key === 'Escape') {
150
- this.dismissAll([...this.dropdowns.keys()]);
151
- }
152
- });
153
- }
154
- }
155
- const dropdownController = new DropdownController();
156
-
157
- export { dropdownController as d, hasDropdownItemWrapperImplemented as h };
@@ -1,102 +0,0 @@
1
- import { i as isMakeRef } from './make-ref-Djkc69iv.js';
2
- import { q as queryElements, f as focusableQueryString } from './focus-utilities-DnaItyVQ.js';
3
-
4
- /*
5
- * SPDX-FileCopyrightText: 2026 Siemens AG
6
- *
7
- * SPDX-License-Identifier: MIT
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- const TRAP_FOCUS_EXCLUDE_ATTRIBUTE = 'data-ix-focus-trap-exclude';
13
- const TRAP_FOCUS_INCLUDE_ATTRIBUTE = 'data-ix-focus-trap-include';
14
- const addFocusTrap = async (element, options) => {
15
- let ref = element;
16
- if (options?.targetElement) {
17
- if (options.targetElement instanceof HTMLElement) {
18
- ref = options.targetElement;
19
- }
20
- else if (isMakeRef(options.targetElement)) {
21
- ref = await options.targetElement.waitForCurrent();
22
- }
23
- }
24
- const onKeydown = (event) => {
25
- const keyboardEvent = event;
26
- if (keyboardEvent.key === 'Tab') {
27
- const focusTrapRoot = options?.trapFocusInShadowDom
28
- ? ref.shadowRoot
29
- : ref;
30
- const focusableElements = queryElements(focusTrapRoot, `${focusableQueryString}, [${TRAP_FOCUS_INCLUDE_ATTRIBUTE}]`);
31
- for (let index = 0; index < focusableElements.length; index++) {
32
- const includeElement = focusableElements[index];
33
- if (!includeElement.hasAttribute(TRAP_FOCUS_INCLUDE_ATTRIBUTE)) {
34
- continue;
35
- }
36
- const includedFocusableElements = queryElements(options?.trapFocusInShadowDom && includeElement.shadowRoot
37
- ? includeElement.shadowRoot
38
- : includeElement, focusableQueryString).filter((element) => element !== includeElement);
39
- for (const includedElement of includedFocusableElements) {
40
- const duplicateIndex = focusableElements.indexOf(includedElement);
41
- if (duplicateIndex !== -1) {
42
- focusableElements.splice(duplicateIndex, 1);
43
- if (duplicateIndex < index) {
44
- index--;
45
- }
46
- }
47
- }
48
- focusableElements.splice(index, 1, ...includedFocusableElements);
49
- index += includedFocusableElements.length - 1;
50
- }
51
- if (focusableElements.length === 0) {
52
- return;
53
- }
54
- if (options?.excludeElements) {
55
- focusableElements.forEach((element) => {
56
- if (element.hasAttribute(TRAP_FOCUS_EXCLUDE_ATTRIBUTE)) {
57
- const index = focusableElements.indexOf(element);
58
- if (index !== -1) {
59
- focusableElements.splice(index, 1);
60
- }
61
- }
62
- });
63
- }
64
- if (focusableElements.length === 0) {
65
- return;
66
- }
67
- const firstElement = focusableElements[0];
68
- const lastElement = focusableElements[focusableElements.length - 1];
69
- let activeElement = document.activeElement;
70
- if (ref instanceof HTMLElement && ref.shadowRoot) {
71
- activeElement = ref.shadowRoot.activeElement || activeElement;
72
- }
73
- if (activeElement?.hasAttribute(TRAP_FOCUS_INCLUDE_ATTRIBUTE) &&
74
- activeElement?.shadowRoot &&
75
- activeElement.shadowRoot.activeElement) {
76
- activeElement = activeElement.shadowRoot.activeElement;
77
- }
78
- if (keyboardEvent.shiftKey) {
79
- if (activeElement === firstElement) {
80
- keyboardEvent.preventDefault();
81
- lastElement.focus();
82
- }
83
- }
84
- else {
85
- if (activeElement === lastElement) {
86
- keyboardEvent.preventDefault();
87
- firstElement.focus();
88
- }
89
- }
90
- event.stopImmediatePropagation();
91
- }
92
- };
93
- ref.addEventListener('keydown', onKeydown);
94
- const destroy = () => {
95
- ref.removeEventListener('keydown', onKeydown);
96
- };
97
- return {
98
- destroy,
99
- };
100
- };
101
-
102
- export { TRAP_FOCUS_EXCLUDE_ATTRIBUTE as T, TRAP_FOCUS_INCLUDE_ATTRIBUTE as a, addFocusTrap as b };