@siemens/ix 0.0.0-pr-1974-20250624072317 → 0.0.0-pr-1974-20250627115746

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 (1147) hide show
  1. package/components/custom-elements.d.ts +2 -1
  2. package/components/index.js +7 -22
  3. package/components/index.js.map +1 -1
  4. package/components/ix-action-card.js +5 -5
  5. package/components/ix-action-card.js.map +1 -1
  6. package/components/ix-application-header.js +1 -1
  7. package/components/ix-application-sidebar.js +2 -2
  8. package/components/ix-application-switch-modal.js +7 -7
  9. package/components/ix-application.js +4 -4
  10. package/components/ix-avatar.js +1 -1
  11. package/components/ix-basic-navigation.js +9 -9
  12. package/components/ix-blind.js +7 -7
  13. package/components/ix-blind.js.map +1 -1
  14. package/components/ix-breadcrumb-item.js +1 -1
  15. package/components/ix-breadcrumb.js +7 -7
  16. package/components/ix-button.js +1 -1
  17. package/components/ix-card-accordion.js +1 -1
  18. package/components/ix-card-content.js +1 -1
  19. package/components/ix-card-list.js +11 -11
  20. package/components/ix-card-title.js +1 -1
  21. package/components/ix-card.js +1 -1
  22. package/components/ix-category-filter.js +9 -9
  23. package/components/ix-checkbox-group.js +8 -8
  24. package/components/ix-checkbox.js +6 -6
  25. package/components/ix-chip.js +9 -9
  26. package/components/ix-col.js +1 -1
  27. package/components/ix-content-header.js +5 -5
  28. package/components/ix-content-header.js.map +1 -1
  29. package/components/ix-content.js +4 -4
  30. package/components/ix-css-grid-item.js +2 -2
  31. package/components/ix-css-grid.js +2 -2
  32. package/components/ix-css-grid.js.map +1 -1
  33. package/components/ix-custom-field.js +7 -7
  34. package/components/ix-date-dropdown.js +15 -15
  35. package/components/ix-date-dropdown.js.map +1 -1
  36. package/components/ix-date-input.js +16 -16
  37. package/components/ix-date-input.js.map +1 -1
  38. package/components/ix-date-picker.js +1 -1
  39. package/components/ix-date-time-card.js +1 -1
  40. package/components/ix-datetime-picker.js +13 -13
  41. package/components/ix-datetime-picker.js.map +1 -1
  42. package/components/ix-divider.js +1 -1
  43. package/components/ix-drawer.js +8 -8
  44. package/components/ix-dropdown-button.js +7 -7
  45. package/components/ix-dropdown-button.js.map +1 -1
  46. package/components/ix-dropdown-header.js +3 -3
  47. package/components/ix-dropdown-item.js +1 -1
  48. package/components/ix-dropdown-quick-actions.js +2 -2
  49. package/components/ix-dropdown.js +1 -1
  50. package/components/ix-empty-state.js +5 -5
  51. package/components/ix-empty-state.js.map +1 -1
  52. package/components/ix-event-list-item.js +5 -5
  53. package/components/ix-event-list.js +3 -3
  54. package/components/ix-expanding-search.js +7 -7
  55. package/components/ix-field-label.js +1 -1
  56. package/components/ix-field-wrapper.js +1 -1
  57. package/components/ix-filter-chip.js +1 -1
  58. package/components/ix-flip-tile-content.js +2 -2
  59. package/components/ix-flip-tile.js +7 -7
  60. package/components/ix-group-context-menu.js +1 -1
  61. package/components/ix-group-item.js +1 -1
  62. package/components/ix-group.js +13 -13
  63. package/components/ix-helper-text.js +5 -5
  64. package/components/ix-icon-button.js +1 -1
  65. package/components/ix-icon-toggle-button.js +4 -4
  66. package/components/ix-input-group.js +2 -2
  67. package/components/ix-input.js +13 -13
  68. package/components/ix-key-value-list.js +2 -2
  69. package/components/ix-key-value.js +2 -2
  70. package/components/ix-key-value.js.map +1 -1
  71. package/components/ix-kpi.js +4 -4
  72. package/components/ix-layout-auto.js +2 -2
  73. package/components/ix-layout-grid.js +1 -1
  74. package/components/ix-link-button.js +4 -4
  75. package/components/ix-map-navigation-overlay.js +1 -1
  76. package/components/ix-map-navigation.js +10 -10
  77. package/components/ix-menu-about-item.js +2 -2
  78. package/components/ix-menu-about-news.js +9 -9
  79. package/components/ix-menu-about.js +7 -7
  80. package/components/ix-menu-avatar-item.js +1 -1
  81. package/components/ix-menu-avatar.js +10 -10
  82. package/components/ix-menu-category.js +12 -12
  83. package/components/ix-menu-expand-icon.js +1 -1
  84. package/components/ix-menu-item.js +1 -1
  85. package/components/ix-menu-settings-item.js +2 -2
  86. package/components/ix-menu-settings.js +1 -1
  87. package/components/ix-menu.js +19 -19
  88. package/components/ix-message-bar.js +4 -4
  89. package/components/ix-modal-content.js +1 -1
  90. package/components/ix-modal-footer.js +2 -2
  91. package/components/ix-modal-header.js +1 -1
  92. package/components/ix-modal-loading.js +3 -3
  93. package/components/ix-modal.js +5 -5
  94. package/components/ix-modal.js.map +1 -1
  95. package/components/ix-number-input.js +15 -15
  96. package/components/ix-pagination.js +15 -15
  97. package/components/ix-pane-layout.js +2 -2
  98. package/components/ix-pane-layout.js.map +1 -1
  99. package/components/ix-pane.js +10 -10
  100. package/components/ix-pane.js.map +1 -1
  101. package/components/ix-pill.js +7 -7
  102. package/components/ix-progress-indicator.js +6 -6
  103. package/components/ix-progress-indicator.js.map +1 -1
  104. package/components/ix-push-card.js +7 -7
  105. package/components/ix-push-card.js.map +1 -1
  106. package/components/ix-radio-group.js +8 -8
  107. package/components/ix-radio.js +7 -7
  108. package/components/ix-row.js +1 -1
  109. package/components/ix-select-item.js +1 -1
  110. package/components/ix-select.js +1 -1
  111. package/components/ix-slider.js +10 -10
  112. package/components/ix-slider.js.map +1 -1
  113. package/components/ix-spinner.js +1 -1
  114. package/components/ix-split-button.js +6 -6
  115. package/components/ix-split-button.js.map +1 -1
  116. package/components/ix-tab-item.js +1 -1
  117. package/components/ix-tabs.js +1 -1
  118. package/components/ix-textarea.js +9 -9
  119. package/components/ix-textarea.js.map +1 -1
  120. package/components/ix-tile.js +5 -5
  121. package/components/ix-time-input.js +16 -16
  122. package/components/ix-time-input.js.map +1 -1
  123. package/components/ix-time-picker.js +1 -1
  124. package/components/ix-toast-container.js +6 -6
  125. package/components/ix-toast-container.js.map +1 -1
  126. package/components/ix-toast.js +1 -1
  127. package/components/ix-toggle-button.js +5 -5
  128. package/components/ix-toggle.js +6 -6
  129. package/components/ix-tooltip.js +1 -1
  130. package/components/ix-tree-item.js +1 -1
  131. package/components/ix-tree.js +3 -3
  132. package/components/ix-typography.js +1 -1
  133. package/components/ix-upload.js +3 -3
  134. package/components/ix-validation-tooltip.js +1 -1
  135. package/components/ix-workflow-step.js +1 -1
  136. package/components/ix-workflow-steps.js +1 -1
  137. package/components/{p-C99qjEPE.js → p-5uA5ifmT.js} +5 -5
  138. package/components/{p-C99qjEPE.js.map → p-5uA5ifmT.js.map} +1 -1
  139. package/components/{p-D2Fm_05X.js → p-9dLpp1OQ.js} +3 -3
  140. package/components/{p-D2Fm_05X.js.map → p-9dLpp1OQ.js.map} +1 -1
  141. package/components/{p-DEmiWcQ0.js → p-B1Gzt08S.js} +5 -5
  142. package/components/{p-DEmiWcQ0.js.map → p-B1Gzt08S.js.map} +1 -1
  143. package/components/{p-CYjLayhK.js → p-B3duqvjW.js} +4 -4
  144. package/components/{p-CYjLayhK.js.map → p-B3duqvjW.js.map} +1 -1
  145. package/components/{p-BpwZ_OiO.js → p-B6e7P4xT.js} +3 -3
  146. package/components/{p-BpwZ_OiO.js.map → p-B6e7P4xT.js.map} +1 -1
  147. package/components/{p-Ca62xqUI.js → p-BJcX2_-N.js} +6 -6
  148. package/components/{p-Ca62xqUI.js.map → p-BJcX2_-N.js.map} +1 -1
  149. package/components/{p-CdH-wF59.js → p-BMU8AlMD.js} +9 -9
  150. package/components/{p-CdH-wF59.js.map → p-BMU8AlMD.js.map} +1 -1
  151. package/components/{p-CvYq7fCI.js → p-BNu7ac9R.js} +7 -7
  152. package/components/{p-CvYq7fCI.js.map → p-BNu7ac9R.js.map} +1 -1
  153. package/components/{p-D0hxqaGs.js → p-BP-8cvOJ.js} +6 -6
  154. package/components/{p-D0hxqaGs.js.map → p-BP-8cvOJ.js.map} +1 -1
  155. package/components/{p-BXGAr1UD.js → p-BXjBChze.js} +6 -6
  156. package/components/p-BXjBChze.js.map +1 -0
  157. package/components/{p-DBZZBDKR.js → p-BcGAKMQ_.js} +3 -3
  158. package/components/{p-DBZZBDKR.js.map → p-BcGAKMQ_.js.map} +1 -1
  159. package/components/{p-18F-YfbC.js → p-BedSAVZh.js} +4 -4
  160. package/components/p-BedSAVZh.js.map +1 -0
  161. package/components/{p-CdhP3eo7.js → p-BhLbU_vK.js} +5 -5
  162. package/components/{p-CdhP3eo7.js.map → p-BhLbU_vK.js.map} +1 -1
  163. package/components/{p-Da_mIDFR.js → p-BkWbk29R.js} +6 -6
  164. package/components/{p-Da_mIDFR.js.map → p-BkWbk29R.js.map} +1 -1
  165. package/components/{p-BW7O4gSR.js → p-BmmgJGNd.js} +6 -6
  166. package/components/{p-BW7O4gSR.js.map → p-BmmgJGNd.js.map} +1 -1
  167. package/components/{p-COgaNG0r.js → p-Bu-j8wxy.js} +6 -6
  168. package/components/{p-COgaNG0r.js.map → p-Bu-j8wxy.js.map} +1 -1
  169. package/components/p-BuJ6BWIi.js +2042 -0
  170. package/components/p-BuJ6BWIi.js.map +1 -0
  171. package/components/{p-cugF_dsq.js → p-Bvsx56zn.js} +4 -4
  172. package/components/{p-cugF_dsq.js.map → p-Bvsx56zn.js.map} +1 -1
  173. package/components/{p-BOARJXlu.js → p-BygLxZIM.js} +4 -4
  174. package/components/{p-BOARJXlu.js.map → p-BygLxZIM.js.map} +1 -1
  175. package/components/{p-IMKnzlUb.js → p-Bzyt4nTL.js} +8 -8
  176. package/components/{p-IMKnzlUb.js.map → p-Bzyt4nTL.js.map} +1 -1
  177. package/components/{p-Dih6bry9.js → p-C6o-AByw.js} +4 -4
  178. package/components/{p-Dih6bry9.js.map → p-C6o-AByw.js.map} +1 -1
  179. package/components/{p-BSRi3yyl.js → p-CKkTXQiw.js} +8 -8
  180. package/components/{p-BSRi3yyl.js.map → p-CKkTXQiw.js.map} +1 -1
  181. package/components/{p-CmNagK_M.js → p-Cb-eBcUF.js} +5 -5
  182. package/components/{p-CmNagK_M.js.map → p-Cb-eBcUF.js.map} +1 -1
  183. package/components/{p-B3NgetSU.js → p-Cp5J1RZq.js} +23 -23
  184. package/components/{p-B3NgetSU.js.map → p-Cp5J1RZq.js.map} +1 -1
  185. package/components/{p-DUctjh_Y.js → p-Cpxz1Kcs.js} +4 -4
  186. package/components/{p-DUctjh_Y.js.map → p-Cpxz1Kcs.js.map} +1 -1
  187. package/components/{p-2HalBYF6.js → p-Cs8DEpjh.js} +15 -15
  188. package/components/{p-2HalBYF6.js.map → p-Cs8DEpjh.js.map} +1 -1
  189. package/components/{p-CLe5n0eR.js → p-Cut5OrRw.js} +5 -5
  190. package/components/{p-CLe5n0eR.js.map → p-Cut5OrRw.js.map} +1 -1
  191. package/components/{p-DqBfPYF2.js → p-CvvOe8xV.js} +7 -7
  192. package/components/{p-DqBfPYF2.js.map → p-CvvOe8xV.js.map} +1 -1
  193. package/components/{p-C7qPn3fZ.js → p-D3Aowo70.js} +7 -7
  194. package/components/{p-C7qPn3fZ.js.map → p-D3Aowo70.js.map} +1 -1
  195. package/components/{p-t-aQDKhy.js → p-D9LaIICQ.js} +3 -3
  196. package/components/{p-t-aQDKhy.js.map → p-D9LaIICQ.js.map} +1 -1
  197. package/components/{p-m_8Hy4_G.js → p-DCx3-1oU.js} +5 -5
  198. package/components/{p-m_8Hy4_G.js.map → p-DCx3-1oU.js.map} +1 -1
  199. package/components/{p-6UCgBriG.js → p-DJ7U7oUq.js} +7 -7
  200. package/components/{p-6UCgBriG.js.map → p-DJ7U7oUq.js.map} +1 -1
  201. package/components/{p-D-uSMBXb.js → p-DMlmNp-B.js} +4 -4
  202. package/components/{p-D-uSMBXb.js.map → p-DMlmNp-B.js.map} +1 -1
  203. package/components/{p-D54oqcBC.js → p-DWO4uklL.js} +8 -8
  204. package/components/{p-D54oqcBC.js.map → p-DWO4uklL.js.map} +1 -1
  205. package/components/{p-pMSLP3h4.js → p-DaztMgDr.js} +12 -12
  206. package/components/p-DaztMgDr.js.map +1 -0
  207. package/components/{p-CJ9lFwzL.js → p-DbR-LZrk.js} +4 -4
  208. package/components/{p-CJ9lFwzL.js.map → p-DbR-LZrk.js.map} +1 -1
  209. package/components/{p-BUVYgPbq.js → p-DfbCO042.js} +11 -11
  210. package/components/{p-BUVYgPbq.js.map → p-DfbCO042.js.map} +1 -1
  211. package/components/{p-BI91ISYc.js → p-DkGdSI6e.js} +5 -5
  212. package/components/{p-BI91ISYc.js.map → p-DkGdSI6e.js.map} +1 -1
  213. package/components/{p-DQEpAmYe.js → p-DojBQCbP.js} +7 -7
  214. package/components/{p-DQEpAmYe.js.map → p-DojBQCbP.js.map} +1 -1
  215. package/components/{p-mLgD4b4D.js → p-DyHdZRT0.js} +5 -5
  216. package/components/{p-mLgD4b4D.js.map → p-DyHdZRT0.js.map} +1 -1
  217. package/components/{p-C9zujPO0.js → p-DyMgW0fR.js} +4 -4
  218. package/components/{p-C9zujPO0.js.map → p-DyMgW0fR.js.map} +1 -1
  219. package/components/{p-DpilwXvD.js → p-G0biE2Kx.js} +4 -4
  220. package/components/{p-DpilwXvD.js.map → p-G0biE2Kx.js.map} +1 -1
  221. package/components/p-PxA_udyJ.js.map +1 -1
  222. package/components/{p-CI771zjd.js → p-TNoCM8Wi.js} +6 -6
  223. package/components/{p-CI771zjd.js.map → p-TNoCM8Wi.js.map} +1 -1
  224. package/components/{p-D-lOakIP.js → p-qauH9Ci4.js} +5 -5
  225. package/components/{p-D-lOakIP.js.map → p-qauH9Ci4.js.map} +1 -1
  226. package/components/{p-DeAFXXM2.js → p-r63hglsv.js} +7 -7
  227. package/components/{p-DeAFXXM2.js.map → p-r63hglsv.js.map} +1 -1
  228. package/components/{p-Cuf7Gv_k.js → p-tH4n038Z.js} +5 -5
  229. package/components/p-tH4n038Z.js.map +1 -0
  230. package/dist/cjs/{base-button-CaQoQTFI.js → base-button-B-wht3TB.js} +3 -3
  231. package/dist/cjs/{base-button-CaQoQTFI.js.map → base-button-B-wht3TB.js.map} +1 -1
  232. package/dist/cjs/{base-icon-button-C9L5Gii-.js → base-icon-button-DNisNrCZ.js} +4 -4
  233. package/dist/cjs/{base-icon-button-C9L5Gii-.js.map → base-icon-button-DNisNrCZ.js.map} +1 -1
  234. package/dist/cjs/{helper-text-util-BctMjApu.js → helper-text-util-B_J9aPv0.js} +3 -3
  235. package/dist/cjs/{helper-text-util-BctMjApu.js.map → helper-text-util-B_J9aPv0.js.map} +1 -1
  236. package/dist/cjs/index-CbtIH46j.js +2734 -0
  237. package/dist/cjs/index-CbtIH46j.js.map +1 -0
  238. package/dist/cjs/index.cjs.js +1 -17
  239. package/dist/cjs/index.cjs.js.map +1 -1
  240. package/dist/cjs/{input.util-Ch0ETA-v.js → input.util-BDrqIfiB.js} +4 -4
  241. package/dist/cjs/{input.util-Ch0ETA-v.js.map → input.util-BDrqIfiB.js.map} +1 -1
  242. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  243. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  244. package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
  245. package/dist/cjs/ix-application-header.cjs.entry.js +4 -4
  246. package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
  247. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  248. package/dist/cjs/ix-application.cjs.entry.js +4 -4
  249. package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
  250. package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -3
  251. package/dist/cjs/ix-blind.cjs.entry.js +6 -6
  252. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  253. package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
  254. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
  255. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
  256. package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
  257. package/dist/cjs/ix-breadcrumb.cjs.entry.js +3 -3
  258. package/dist/cjs/ix-button.cjs.entry.js +4 -4
  259. package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
  260. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
  261. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  262. package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
  263. package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
  264. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  265. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  266. package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
  267. package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
  268. package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
  269. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  270. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  271. package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
  272. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  273. package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
  274. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  275. package/dist/cjs/ix-content-header.entry.cjs.js.map +1 -1
  276. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  277. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  278. package/dist/cjs/ix-css-grid.cjs.entry.js +2 -2
  279. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  280. package/dist/cjs/ix-css-grid.entry.cjs.js.map +1 -1
  281. package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
  282. package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
  283. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  284. package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
  285. package/dist/cjs/ix-date-input.cjs.entry.js +6 -6
  286. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
  287. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  288. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  289. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  290. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  291. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  292. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  293. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  294. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  295. package/dist/cjs/ix-drawer.cjs.entry.js +6 -6
  296. package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
  297. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  298. package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
  299. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  300. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  301. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  302. package/dist/cjs/ix-dropdown.cjs.entry.js +3 -3
  303. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  304. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  305. package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
  306. package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
  307. package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
  308. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
  309. package/dist/cjs/ix-field-label_2.cjs.entry.js +6 -6
  310. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
  311. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  312. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  313. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
  314. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  315. package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
  316. package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
  317. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  318. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  319. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
  320. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  321. package/dist/cjs/ix-input.cjs.entry.js +7 -7
  322. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  323. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  324. package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
  325. package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
  326. package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
  327. package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
  328. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  329. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
  330. package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -3
  331. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  332. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  333. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  334. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  335. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
  336. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  337. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  338. package/dist/cjs/{ix-menu-settings-BkPNtMal.js → ix-menu-settings-Dbt7Q2tj.js} +4 -4
  339. package/dist/cjs/{ix-menu-settings-BkPNtMal.js.map → ix-menu-settings-Dbt7Q2tj.js.map} +1 -1
  340. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  341. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  342. package/dist/cjs/ix-menu.cjs.entry.js +13 -13
  343. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  344. package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
  345. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  346. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  347. package/dist/cjs/ix-modal.cjs.entry.js +5 -5
  348. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  349. package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
  350. package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
  351. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  352. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  353. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  354. package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
  355. package/dist/cjs/ix-pane.cjs.entry.js +7 -7
  356. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  357. package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
  358. package/dist/cjs/ix-pill.cjs.entry.js +5 -5
  359. package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
  360. package/dist/cjs/ix-progress-indicator.cjs.entry.js.map +1 -1
  361. package/dist/cjs/ix-progress-indicator.entry.cjs.js.map +1 -1
  362. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  363. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  364. package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
  365. package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
  366. package/dist/cjs/ix-radio.cjs.entry.js +6 -6
  367. package/dist/cjs/ix-select.cjs.entry.js +11 -11
  368. package/dist/cjs/ix-slider.cjs.entry.js +8 -8
  369. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  370. package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
  371. package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
  372. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
  373. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  374. package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
  375. package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
  376. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  377. package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
  378. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
  379. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  380. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  381. package/dist/cjs/ix-time-input.cjs.entry.js +6 -6
  382. package/dist/cjs/ix-time-input.cjs.entry.js.map +1 -1
  383. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  384. package/dist/cjs/ix-time-picker.cjs.entry.js +6 -6
  385. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  386. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  387. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  388. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  389. package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
  390. package/dist/cjs/ix-toast.cjs.entry.js +3 -3
  391. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -4
  392. package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
  393. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  394. package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
  395. package/dist/cjs/ix-tree.cjs.entry.js +2 -2
  396. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  397. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  398. package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
  399. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  400. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  401. package/dist/cjs/ix-workflow-step.cjs.entry.js +1 -1
  402. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  403. package/dist/cjs/{listener-BJXzadPO.js → listener-BT212YoD.js} +3 -3
  404. package/dist/cjs/{listener-BJXzadPO.js.map → listener-BT212YoD.js.map} +1 -1
  405. package/dist/cjs/loader.cjs.js +1 -1
  406. package/dist/cjs/modal-CR_0969h.js.map +1 -1
  407. package/dist/cjs/siemens-ix.cjs.js +1 -1
  408. package/dist/cjs/{validation-_-cW9Dku.js → validation-rAd3wIQp.js} +3 -3
  409. package/dist/cjs/{validation-_-cW9Dku.js.map → validation-rAd3wIQp.js.map} +1 -1
  410. package/dist/collection/collection-manifest.json +28 -28
  411. package/dist/collection/components/action-card/action-card.js +4 -4
  412. package/dist/collection/components/action-card/action-card.js.map +1 -1
  413. package/dist/collection/components/action-card/action-card.types.js +2 -0
  414. package/dist/collection/components/action-card/action-card.types.js.map +1 -0
  415. package/dist/collection/components/application/application.js +3 -3
  416. package/dist/collection/components/application-header/application-header.js +3 -3
  417. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  418. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  419. package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
  420. package/dist/collection/components/blind/blind.js +8 -8
  421. package/dist/collection/components/blind/blind.js.map +1 -1
  422. package/dist/collection/components/blind/blind.types.js +2 -0
  423. package/dist/collection/components/blind/blind.types.js.map +1 -0
  424. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  425. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  426. package/dist/collection/components/button/button.js +2 -2
  427. package/dist/collection/components/card/card.js +5 -5
  428. package/dist/collection/components/card/card.js.map +1 -1
  429. package/dist/collection/components/card/card.types.js +2 -0
  430. package/dist/collection/components/card/card.types.js.map +1 -0
  431. package/dist/collection/components/card-accordion/card-accordion.js +6 -6
  432. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  433. package/dist/collection/components/card-accordion/card-accordion.types.js +2 -0
  434. package/dist/collection/components/card-accordion/card-accordion.types.js.map +1 -0
  435. package/dist/collection/components/card-content/card-content.js +1 -1
  436. package/dist/collection/components/card-list/card-list.js +4 -4
  437. package/dist/collection/components/card-title/card-title.js +1 -1
  438. package/dist/collection/components/category-filter/category-filter.js +3 -3
  439. package/dist/collection/components/checkbox/checkbox.js +3 -3
  440. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  441. package/dist/collection/components/chip/chip.js +4 -4
  442. package/dist/collection/components/col/col.js +13 -13
  443. package/dist/collection/components/col/col.js.map +1 -1
  444. package/dist/collection/components/col/col.types.js +2 -0
  445. package/dist/collection/components/col/col.types.js.map +1 -0
  446. package/dist/collection/components/content/content.js +3 -3
  447. package/dist/collection/components/content-header/content-header.js +4 -4
  448. package/dist/collection/components/content-header/content-header.js.map +1 -1
  449. package/dist/collection/components/content-header/content-header.types.js +2 -0
  450. package/dist/collection/components/content-header/content-header.types.js.map +1 -0
  451. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  452. package/dist/collection/components/css-grid/css-grid.js +4 -4
  453. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  454. package/dist/collection/components/css-grid/css-grid.types.js +2 -0
  455. package/dist/collection/components/css-grid/css-grid.types.js.map +1 -0
  456. package/dist/collection/components/custom-field/custom-field.js +1 -1
  457. package/dist/collection/components/date-dropdown/date-dropdown.js +13 -13
  458. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  459. package/dist/collection/components/date-dropdown/date-dropdown.types.js +2 -0
  460. package/dist/collection/components/date-dropdown/date-dropdown.types.js.map +1 -0
  461. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
  462. package/dist/collection/components/date-input/date-input.js +6 -6
  463. package/dist/collection/components/date-input/date-input.js.map +1 -1
  464. package/dist/collection/components/date-input/date-input.types.js +2 -0
  465. package/dist/collection/components/date-input/date-input.types.js.map +1 -0
  466. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
  467. package/dist/collection/components/date-picker/date-picker.events.js +2 -0
  468. package/dist/collection/components/date-picker/date-picker.events.js.map +1 -0
  469. package/dist/collection/components/date-picker/date-picker.js +17 -17
  470. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  471. package/dist/collection/components/date-time-card/date-time-card.js +5 -5
  472. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  473. package/dist/collection/components/date-time-card/date-time-card.types.js +2 -0
  474. package/dist/collection/components/date-time-card/date-time-card.types.js.map +1 -0
  475. package/dist/collection/components/datetime-picker/datetime-picker.js +7 -7
  476. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  477. package/dist/collection/components/datetime-picker/datetime-picker.types.js +2 -0
  478. package/dist/collection/components/datetime-picker/datetime-picker.types.js.map +1 -0
  479. package/dist/collection/components/divider/divider.js +1 -1
  480. package/dist/collection/components/drawer/drawer.js +5 -5
  481. package/dist/collection/components/dropdown/dropdown.js +2 -2
  482. package/dist/collection/components/dropdown-button/dropdown-button.js +5 -5
  483. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  484. package/dist/collection/components/dropdown-button/dropdown-button.types.js +2 -0
  485. package/dist/collection/components/dropdown-button/dropdown-button.types.js.map +1 -0
  486. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  487. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  488. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  489. package/dist/collection/components/empty-state/empty-state.js +4 -4
  490. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  491. package/dist/collection/components/empty-state/empty-state.types.js +2 -0
  492. package/dist/collection/components/empty-state/empty-state.types.js.map +1 -0
  493. package/dist/collection/components/event-list/event-list.js +2 -2
  494. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  495. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  496. package/dist/collection/components/field-label/field-label.js +1 -1
  497. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  498. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  499. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  500. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  501. package/dist/collection/components/group/group-context-menu.js +1 -1
  502. package/dist/collection/components/group/group.js +8 -8
  503. package/dist/collection/components/group-item/group-item.js +2 -2
  504. package/dist/collection/components/helper-text/helper-text.js +1 -1
  505. package/dist/collection/components/icon-button/icon-button.js +4 -4
  506. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  507. package/dist/collection/components/icon-button/icon-button.types.js +2 -0
  508. package/dist/collection/components/icon-button/icon-button.types.js.map +1 -0
  509. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  510. package/dist/collection/components/input/input.js +4 -4
  511. package/dist/collection/components/input/number-input.js +6 -6
  512. package/dist/collection/components/input/textarea.js +5 -5
  513. package/dist/collection/components/input/textarea.js.map +1 -1
  514. package/dist/collection/components/input/textarea.types.js +2 -0
  515. package/dist/collection/components/input/textarea.types.js.map +1 -0
  516. package/dist/collection/components/input-group/input-group.js +1 -1
  517. package/dist/collection/components/key-value/key-value.js +4 -4
  518. package/dist/collection/components/key-value/key-value.js.map +1 -1
  519. package/dist/collection/components/key-value/key-value.types.js +2 -0
  520. package/dist/collection/components/key-value/key-value.types.js.map +1 -0
  521. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  522. package/dist/collection/components/kpi/kpi.js +3 -3
  523. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  524. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  525. package/dist/collection/components/link-button/link-button.js +3 -3
  526. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  527. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  528. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  529. package/dist/collection/components/menu/menu.js +12 -12
  530. package/dist/collection/components/menu-about/menu-about.js +1 -1
  531. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  532. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  533. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  534. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  535. package/dist/collection/components/menu-category/menu-category.js +5 -5
  536. package/dist/collection/components/menu-item/menu-item.js +3 -3
  537. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  538. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  539. package/dist/collection/components/message-bar/message-bar.js +1 -1
  540. package/dist/collection/components/modal/modal.js +6 -6
  541. package/dist/collection/components/modal/modal.js.map +1 -1
  542. package/dist/collection/components/modal/modal.types.js +2 -0
  543. package/dist/collection/components/modal/modal.types.js.map +1 -0
  544. package/dist/collection/components/modal-content/modal-content.js +1 -1
  545. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  546. package/dist/collection/components/modal-header/modal-header.js +1 -1
  547. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  548. package/dist/collection/components/pagination/pagination.js +2 -2
  549. package/dist/collection/components/pane/pane.js +24 -24
  550. package/dist/collection/components/pane/pane.js.map +1 -1
  551. package/dist/collection/components/pane/pane.types.js +2 -0
  552. package/dist/collection/components/pane/pane.types.js.map +1 -0
  553. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  554. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  555. package/dist/collection/components/pill/pill.js +4 -4
  556. package/dist/collection/components/progress-indicator/circular.js.map +1 -1
  557. package/dist/collection/components/progress-indicator/progress-indicator.js +6 -6
  558. package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
  559. package/dist/collection/components/progress-indicator/progress-indicator.types.js +2 -0
  560. package/dist/collection/components/progress-indicator/progress-indicator.types.js.map +1 -0
  561. package/dist/collection/components/push-card/push-card.js +4 -4
  562. package/dist/collection/components/push-card/push-card.js.map +1 -1
  563. package/dist/collection/components/push-card/push-card.types.js +2 -0
  564. package/dist/collection/components/push-card/push-card.types.js.map +1 -0
  565. package/dist/collection/components/radio/radio.js +4 -4
  566. package/dist/collection/components/radio-group/radio-group.js +2 -2
  567. package/dist/collection/components/row/row.js +1 -1
  568. package/dist/collection/components/select/select.js +8 -8
  569. package/dist/collection/components/select-item/select-item.js +1 -1
  570. package/dist/collection/components/slider/slider.js +9 -9
  571. package/dist/collection/components/slider/slider.js.map +1 -1
  572. package/dist/collection/components/slider/slider.types.js +2 -0
  573. package/dist/collection/components/slider/slider.types.js.map +1 -0
  574. package/dist/collection/components/spinner/spinner.js +1 -1
  575. package/dist/collection/components/split-button/split-button.js +4 -4
  576. package/dist/collection/components/split-button/split-button.js.map +1 -1
  577. package/dist/collection/components/split-button/split-button.types.js +2 -0
  578. package/dist/collection/components/split-button/split-button.types.js.map +1 -0
  579. package/dist/collection/components/tab-item/tab-item.js +6 -6
  580. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  581. package/dist/collection/components/tab-item/tab-item.types.js +2 -0
  582. package/dist/collection/components/tab-item/tab-item.types.js.map +1 -0
  583. package/dist/collection/components/tabs/tabs.js +2 -2
  584. package/dist/collection/components/tile/tile.js +4 -4
  585. package/dist/collection/components/time-input/time-input.js +6 -6
  586. package/dist/collection/components/time-input/time-input.js.map +1 -1
  587. package/dist/collection/components/time-input/time-input.types.js +2 -0
  588. package/dist/collection/components/time-input/time-input.types.js.map +1 -0
  589. package/dist/collection/components/time-picker/time-picker.js +7 -7
  590. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  591. package/dist/collection/components/time-picker/time-picker.types.js +2 -0
  592. package/dist/collection/components/time-picker/time-picker.types.js.map +1 -0
  593. package/dist/collection/components/toast/toast-container.js +5 -5
  594. package/dist/collection/components/toast/toast-container.js.map +1 -1
  595. package/dist/collection/components/toast/toast-container.types.js +2 -0
  596. package/dist/collection/components/toast/toast-container.types.js.map +1 -0
  597. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  598. package/dist/collection/components/toast/toast.js +2 -2
  599. package/dist/collection/components/toggle/toggle.js +3 -3
  600. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  601. package/dist/collection/components/tooltip/tooltip.js +1 -1
  602. package/dist/collection/components/tree/tree.js +1 -1
  603. package/dist/collection/components/tree-item/tree-item.js +4 -4
  604. package/dist/collection/components/typography/typography.js +10 -10
  605. package/dist/collection/components/typography/typography.js.map +1 -1
  606. package/dist/collection/components/typography/typography.types.js +2 -0
  607. package/dist/collection/components/typography/typography.types.js.map +1 -0
  608. package/dist/collection/components/utils/modal/modal.js.map +1 -1
  609. package/dist/collection/index.js +1 -19
  610. package/dist/collection/index.js.map +1 -1
  611. package/dist/collection/public-api.js +22 -0
  612. package/dist/collection/public-api.js.map +1 -0
  613. package/dist/esm/{base-button-dtdYZqMt.js → base-button-CKT5FMT1.js} +3 -3
  614. package/dist/esm/{base-button-dtdYZqMt.js.map → base-button-CKT5FMT1.js.map} +1 -1
  615. package/dist/esm/{base-icon-button-BZvsimpZ.js → base-icon-button-7cQMdhTz.js} +4 -4
  616. package/dist/esm/{base-icon-button-BZvsimpZ.js.map → base-icon-button-7cQMdhTz.js.map} +1 -1
  617. package/dist/esm/{helper-text-util-Dyff2O6m.js → helper-text-util-CBCAKFyG.js} +3 -3
  618. package/dist/esm/{helper-text-util-Dyff2O6m.js.map → helper-text-util-CBCAKFyG.js.map} +1 -1
  619. package/dist/esm/index-DJsXFBNm.js +2702 -0
  620. package/dist/esm/index-DJsXFBNm.js.map +1 -0
  621. package/dist/esm/index.js +2 -17
  622. package/dist/esm/index.js.map +1 -1
  623. package/dist/esm/{input.util-HSoyR1ow.js → input.util-DGHGYsFM.js} +4 -4
  624. package/dist/esm/{input.util-HSoyR1ow.js.map → input.util-DGHGYsFM.js.map} +1 -1
  625. package/dist/esm/ix-action-card.entry.js +2 -2
  626. package/dist/esm/ix-action-card.entry.js.map +1 -1
  627. package/dist/esm/ix-application-header.entry.js +4 -4
  628. package/dist/esm/ix-application-sidebar.entry.js +2 -2
  629. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  630. package/dist/esm/ix-application.entry.js +4 -4
  631. package/dist/esm/ix-avatar_2.entry.js +3 -3
  632. package/dist/esm/ix-basic-navigation.entry.js +3 -3
  633. package/dist/esm/ix-blind.entry.js +6 -6
  634. package/dist/esm/ix-blind.entry.js.map +1 -1
  635. package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
  636. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  637. package/dist/esm/ix-breadcrumb.entry.js +3 -3
  638. package/dist/esm/ix-button.entry.js +4 -4
  639. package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
  640. package/dist/esm/ix-card-accordion_2.entry.js +5 -5
  641. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  642. package/dist/esm/ix-card-list.entry.js +5 -5
  643. package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
  644. package/dist/esm/ix-card_2.entry.js +4 -4
  645. package/dist/esm/ix-card_2.entry.js.map +1 -1
  646. package/dist/esm/ix-category-filter.entry.js +5 -5
  647. package/dist/esm/ix-checkbox-group.entry.js +4 -4
  648. package/dist/esm/ix-checkbox.entry.js +5 -5
  649. package/dist/esm/ix-chip.entry.js +5 -5
  650. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  651. package/dist/esm/ix-col_4.entry.js +12 -12
  652. package/dist/esm/ix-col_4.entry.js.map +1 -1
  653. package/dist/esm/ix-content-header.entry.js +2 -2
  654. package/dist/esm/ix-content-header.entry.js.map +1 -1
  655. package/dist/esm/ix-content.entry.js +4 -4
  656. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  657. package/dist/esm/ix-css-grid.entry.js +2 -2
  658. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  659. package/dist/esm/ix-custom-field.entry.js +3 -3
  660. package/dist/esm/ix-date-dropdown.entry.js +5 -5
  661. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  662. package/dist/esm/ix-date-input.entry.js +6 -6
  663. package/dist/esm/ix-date-input.entry.js.map +1 -1
  664. package/dist/esm/ix-date-time-card.entry.js +3 -3
  665. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  666. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  667. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  668. package/dist/esm/ix-divider.entry.js +2 -2
  669. package/dist/esm/ix-drawer.entry.js +6 -6
  670. package/dist/esm/ix-dropdown-button.entry.js +3 -3
  671. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  672. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  673. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  674. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  675. package/dist/esm/ix-dropdown.entry.js +3 -3
  676. package/dist/esm/ix-empty-state.entry.js +2 -2
  677. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  678. package/dist/esm/ix-event-list-item.entry.js +5 -5
  679. package/dist/esm/ix-event-list.entry.js +3 -3
  680. package/dist/esm/ix-expanding-search.entry.js +5 -5
  681. package/dist/esm/ix-field-label_2.entry.js +6 -6
  682. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  683. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  684. package/dist/esm/ix-flip-tile.entry.js +5 -5
  685. package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
  686. package/dist/esm/ix-group.entry.js +9 -9
  687. package/dist/esm/ix-helper-text.entry.js +4 -4
  688. package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
  689. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  690. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  691. package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
  692. package/dist/esm/ix-input-group.entry.js +2 -2
  693. package/dist/esm/ix-input.entry.js +7 -7
  694. package/dist/esm/ix-key-value-list.entry.js +2 -2
  695. package/dist/esm/ix-key-value.entry.js +2 -2
  696. package/dist/esm/ix-key-value.entry.js.map +1 -1
  697. package/dist/esm/ix-kpi.entry.js +4 -4
  698. package/dist/esm/ix-layout-auto.entry.js +2 -2
  699. package/dist/esm/ix-link-button.entry.js +4 -4
  700. package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
  701. package/dist/esm/ix-map-navigation.entry.js +3 -3
  702. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  703. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  704. package/dist/esm/ix-menu-about.entry.js +3 -3
  705. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  706. package/dist/esm/ix-menu-category.entry.js +6 -6
  707. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  708. package/dist/esm/ix-menu-item.entry.js +4 -4
  709. package/dist/esm/{ix-menu-settings-B5kM6fHy.js → ix-menu-settings-B56_taBh.js} +4 -4
  710. package/dist/esm/{ix-menu-settings-B5kM6fHy.js.map → ix-menu-settings-B56_taBh.js.map} +1 -1
  711. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  712. package/dist/esm/ix-menu-settings.entry.js +2 -2
  713. package/dist/esm/ix-menu.entry.js +13 -13
  714. package/dist/esm/ix-message-bar.entry.js +2 -2
  715. package/dist/esm/ix-modal-content_2.entry.js +3 -3
  716. package/dist/esm/ix-modal-footer.entry.js +2 -2
  717. package/dist/esm/ix-modal-loading.entry.js +2 -2
  718. package/dist/esm/ix-modal.entry.js +5 -5
  719. package/dist/esm/ix-modal.entry.js.map +1 -1
  720. package/dist/esm/ix-number-input.entry.js +9 -9
  721. package/dist/esm/ix-pagination.entry.js +4 -4
  722. package/dist/esm/ix-pane-layout.entry.js +2 -2
  723. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  724. package/dist/esm/ix-pane.entry.js +7 -7
  725. package/dist/esm/ix-pane.entry.js.map +1 -1
  726. package/dist/esm/ix-pill.entry.js +5 -5
  727. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  728. package/dist/esm/ix-progress-indicator.entry.js.map +1 -1
  729. package/dist/esm/ix-push-card.entry.js +2 -2
  730. package/dist/esm/ix-push-card.entry.js.map +1 -1
  731. package/dist/esm/ix-radio-group.entry.js +4 -4
  732. package/dist/esm/ix-radio.entry.js +6 -6
  733. package/dist/esm/ix-select.entry.js +11 -11
  734. package/dist/esm/ix-slider.entry.js +8 -8
  735. package/dist/esm/ix-slider.entry.js.map +1 -1
  736. package/dist/esm/ix-split-button.entry.js +2 -2
  737. package/dist/esm/ix-split-button.entry.js.map +1 -1
  738. package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
  739. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  740. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  741. package/dist/esm/ix-textarea.entry.js +5 -5
  742. package/dist/esm/ix-textarea.entry.js.map +1 -1
  743. package/dist/esm/ix-tile.entry.js +5 -5
  744. package/dist/esm/ix-time-input.entry.js +6 -6
  745. package/dist/esm/ix-time-input.entry.js.map +1 -1
  746. package/dist/esm/ix-time-picker.entry.js +6 -6
  747. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  748. package/dist/esm/ix-toast-container.entry.js +3 -3
  749. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  750. package/dist/esm/ix-toast.entry.js +3 -3
  751. package/dist/esm/ix-toggle-button.entry.js +4 -4
  752. package/dist/esm/ix-toggle.entry.js +5 -5
  753. package/dist/esm/ix-tooltip.entry.js +2 -2
  754. package/dist/esm/ix-tree-item.entry.js +5 -5
  755. package/dist/esm/ix-tree.entry.js +2 -2
  756. package/dist/esm/ix-typography.entry.js +2 -2
  757. package/dist/esm/ix-typography.entry.js.map +1 -1
  758. package/dist/esm/ix-upload.entry.js +1 -1
  759. package/dist/esm/ix-validation-tooltip.entry.js +1 -1
  760. package/dist/esm/ix-workflow-step.entry.js +1 -1
  761. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  762. package/dist/esm/{listener-DCrO174s.js → listener-B0yYRvMl.js} +3 -3
  763. package/dist/esm/{listener-DCrO174s.js.map → listener-B0yYRvMl.js.map} +1 -1
  764. package/dist/esm/loader.js +2 -2
  765. package/dist/esm/modal-BldRA6Um.js.map +1 -1
  766. package/dist/esm/siemens-ix.js +2 -2
  767. package/dist/esm/{validation-DuPOpjMi.js → validation-gQpVWmEm.js} +3 -3
  768. package/dist/esm/{validation-DuPOpjMi.js.map → validation-gQpVWmEm.js.map} +1 -1
  769. package/dist/siemens-ix/index.esm.js +1 -1
  770. package/dist/siemens-ix/index.esm.js.map +1 -1
  771. package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
  772. package/dist/siemens-ix/ix-blind.entry.esm.js.map +1 -1
  773. package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
  774. package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
  775. package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
  776. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  777. package/dist/siemens-ix/ix-content-header.entry.esm.js.map +1 -1
  778. package/dist/siemens-ix/ix-css-grid.entry.esm.js.map +1 -1
  779. package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
  780. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  781. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  782. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  783. package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
  784. package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
  785. package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
  786. package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
  787. package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
  788. package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
  789. package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
  790. package/dist/siemens-ix/ix-progress-indicator.entry.esm.js.map +1 -1
  791. package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
  792. package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
  793. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  794. package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
  795. package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
  796. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  797. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  798. package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
  799. package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
  800. package/dist/siemens-ix/p--JQiLjHw.js +2 -0
  801. package/dist/siemens-ix/{p-BaslXuvq.js.map → p--JQiLjHw.js.map} +1 -1
  802. package/dist/siemens-ix/{p-4be22d4d.entry.js → p-003ae2cf.entry.js} +2 -2
  803. package/dist/siemens-ix/{p-094d6f0a.entry.js → p-00eff8b5.entry.js} +2 -2
  804. package/dist/siemens-ix/{p-47956560.entry.js → p-0195766f.entry.js} +2 -2
  805. package/dist/siemens-ix/{p-c23031be.entry.js → p-025c5b1b.entry.js} +2 -2
  806. package/dist/siemens-ix/{p-25c27b28.entry.js → p-03b8e425.entry.js} +2 -2
  807. package/dist/siemens-ix/p-04527b1e.entry.js +2 -0
  808. package/dist/siemens-ix/{p-07733f87.entry.js → p-07b2da86.entry.js} +2 -2
  809. package/dist/siemens-ix/{p-2edc9a43.entry.js → p-0935e05e.entry.js} +2 -2
  810. package/dist/siemens-ix/p-0935e05e.entry.js.map +1 -0
  811. package/dist/siemens-ix/{p-746f49b4.entry.js → p-098aa857.entry.js} +2 -2
  812. package/dist/siemens-ix/{p-b6f02420.entry.js → p-0b2e7f25.entry.js} +2 -2
  813. package/dist/siemens-ix/{p-b6f02420.entry.js.map → p-0b2e7f25.entry.js.map} +1 -1
  814. package/dist/siemens-ix/{p-d4284927.entry.js → p-130ffc16.entry.js} +2 -2
  815. package/dist/siemens-ix/{p-1cff42a5.entry.js → p-13b5f3c3.entry.js} +2 -2
  816. package/dist/siemens-ix/{p-f61c1785.entry.js → p-14d2042d.entry.js} +2 -2
  817. package/dist/siemens-ix/p-15e0db51.entry.js +2 -0
  818. package/dist/siemens-ix/{p-a7e339d0.entry.js.map → p-15e0db51.entry.js.map} +1 -1
  819. package/dist/siemens-ix/{p-702d290f.entry.js → p-173dfb9e.entry.js} +2 -2
  820. package/dist/siemens-ix/p-173dfb9e.entry.js.map +1 -0
  821. package/dist/siemens-ix/p-19501b80.entry.js +2 -0
  822. package/dist/siemens-ix/{p-d2151941.entry.js → p-1df6d18f.entry.js} +2 -2
  823. package/dist/siemens-ix/{p-518290fd.entry.js → p-1fdfe35a.entry.js} +2 -2
  824. package/dist/siemens-ix/{p-38fa1eec.entry.js → p-2642d96b.entry.js} +2 -2
  825. package/dist/siemens-ix/{p-0053fd70.entry.js → p-28aece6e.entry.js} +2 -2
  826. package/dist/siemens-ix/{p-00668881.entry.js → p-29d44cef.entry.js} +2 -2
  827. package/dist/siemens-ix/p-2db9bcfa.entry.js +2 -0
  828. package/dist/siemens-ix/p-2db9bcfa.entry.js.map +1 -0
  829. package/dist/siemens-ix/{p-1f5322d5.entry.js → p-2f2dfb6e.entry.js} +2 -2
  830. package/dist/siemens-ix/{p-7fcec901.entry.js → p-2f9b9e7a.entry.js} +2 -2
  831. package/dist/siemens-ix/{p-6b5cb4c3.entry.js → p-326c0944.entry.js} +2 -2
  832. package/dist/siemens-ix/p-326c0944.entry.js.map +1 -0
  833. package/dist/siemens-ix/{p-2a1152d9.entry.js → p-35054c78.entry.js} +2 -2
  834. package/dist/siemens-ix/p-35054c78.entry.js.map +1 -0
  835. package/dist/siemens-ix/{p-7b5eb3ca.entry.js → p-36b894a2.entry.js} +2 -2
  836. package/dist/siemens-ix/p-36b894a2.entry.js.map +1 -0
  837. package/dist/siemens-ix/{p-44a9c1db.entry.js → p-3b45287a.entry.js} +2 -2
  838. package/dist/siemens-ix/p-3b45287a.entry.js.map +1 -0
  839. package/dist/siemens-ix/p-440a0ee0.entry.js +2 -0
  840. package/dist/siemens-ix/p-44be2535.entry.js +2 -0
  841. package/dist/siemens-ix/{p-c6cb0b06.entry.js.map → p-44be2535.entry.js.map} +1 -1
  842. package/dist/siemens-ix/{p-c7ead0ee.entry.js → p-456ca686.entry.js} +2 -2
  843. package/dist/siemens-ix/p-456ca686.entry.js.map +1 -0
  844. package/dist/siemens-ix/{p-ed05a3ed.entry.js → p-4657ec52.entry.js} +2 -2
  845. package/dist/siemens-ix/p-4657ec52.entry.js.map +1 -0
  846. package/dist/siemens-ix/{p-0e0019a3.entry.js → p-472c1d6b.entry.js} +2 -2
  847. package/dist/siemens-ix/{p-1363ac29.entry.js → p-47f395be.entry.js} +2 -2
  848. package/dist/siemens-ix/{p-cf7448b1.entry.js → p-483bc052.entry.js} +2 -2
  849. package/dist/siemens-ix/p-4959b8e6.entry.js +2 -0
  850. package/dist/siemens-ix/{p-a09ec38c.entry.js → p-4e2b30a4.entry.js} +2 -2
  851. package/dist/siemens-ix/p-4e2b30a4.entry.js.map +1 -0
  852. package/dist/siemens-ix/{p-2e0dab7b.entry.js → p-4ef7a072.entry.js} +2 -2
  853. package/dist/siemens-ix/p-4ef7a072.entry.js.map +1 -0
  854. package/dist/siemens-ix/{p-e499f85d.entry.js → p-4fe2d0f7.entry.js} +2 -2
  855. package/dist/siemens-ix/{p-17a19a44.entry.js → p-518b5533.entry.js} +2 -2
  856. package/dist/siemens-ix/p-518b5533.entry.js.map +1 -0
  857. package/dist/siemens-ix/{p-e006c83c.entry.js → p-5b22342c.entry.js} +2 -2
  858. package/dist/siemens-ix/{p-125b66ec.entry.js → p-605a9fe8.entry.js} +2 -2
  859. package/dist/siemens-ix/{p-2d383fa3.entry.js → p-6337e880.entry.js} +2 -2
  860. package/dist/siemens-ix/{p-0285fa1a.entry.js → p-6549edf0.entry.js} +2 -2
  861. package/dist/siemens-ix/p-66d20585.entry.js +2 -0
  862. package/dist/siemens-ix/{p-53d1f804.entry.js → p-6adde42d.entry.js} +2 -2
  863. package/dist/siemens-ix/{p-b1bc33ef.entry.js → p-6cc448b4.entry.js} +2 -2
  864. package/dist/siemens-ix/{p-ec3786c3.entry.js → p-7011678e.entry.js} +2 -2
  865. package/dist/siemens-ix/p-7111f065.entry.js +2 -0
  866. package/dist/siemens-ix/{p-30e325ee.entry.js → p-71c14a29.entry.js} +2 -2
  867. package/dist/siemens-ix/p-71c14a29.entry.js.map +1 -0
  868. package/dist/siemens-ix/{p-cf3c2573.entry.js → p-76f59fa5.entry.js} +2 -2
  869. package/dist/siemens-ix/{p-c5921b21.entry.js → p-777675ce.entry.js} +2 -2
  870. package/dist/siemens-ix/{p-f66cb323.entry.js → p-7a336485.entry.js} +2 -2
  871. package/dist/siemens-ix/p-7a336485.entry.js.map +1 -0
  872. package/dist/siemens-ix/{p-4a666ab2.entry.js → p-8d4558b9.entry.js} +2 -2
  873. package/dist/siemens-ix/{p-ef56e825.entry.js → p-8fcada5a.entry.js} +2 -2
  874. package/dist/siemens-ix/{p-96c0acb2.entry.js → p-91ba2527.entry.js} +2 -2
  875. package/dist/siemens-ix/p-97693d72.entry.js +2 -0
  876. package/dist/siemens-ix/{p-29eb0f3c.entry.js → p-97a53af6.entry.js} +2 -2
  877. package/dist/siemens-ix/p-981dae13.entry.js +2 -0
  878. package/dist/siemens-ix/{p-f426aa64.entry.js.map → p-981dae13.entry.js.map} +1 -1
  879. package/dist/siemens-ix/{p-5f494293.entry.js → p-988f37da.entry.js} +2 -2
  880. package/dist/siemens-ix/{p-80dfc634.entry.js → p-9f74e709.entry.js} +2 -2
  881. package/dist/siemens-ix/p-9f74e709.entry.js.map +1 -0
  882. package/dist/siemens-ix/{p-61944945.entry.js → p-9f7d82d2.entry.js} +2 -2
  883. package/dist/siemens-ix/{p-DhH1rUwy.js → p-BsJawkTz.js} +2 -2
  884. package/dist/siemens-ix/{p-DhH1rUwy.js.map → p-BsJawkTz.js.map} +1 -1
  885. package/dist/siemens-ix/p-BxQZld1q.js.map +1 -1
  886. package/dist/siemens-ix/{p-zYzFdFx8.js → p-CFsAnuUU.js} +2 -2
  887. package/dist/siemens-ix/{p-zYzFdFx8.js.map → p-CFsAnuUU.js.map} +1 -1
  888. package/dist/siemens-ix/{p-Bko0CTxK.js → p-CpY7qbN7.js} +2 -2
  889. package/dist/siemens-ix/{p-Bko0CTxK.js.map → p-CpY7qbN7.js.map} +1 -1
  890. package/dist/siemens-ix/{p-DeEsc3nL.js → p-Cpl-a_ti.js} +2 -2
  891. package/dist/siemens-ix/{p-DeEsc3nL.js.map → p-Cpl-a_ti.js.map} +1 -1
  892. package/dist/siemens-ix/{p-C1MjXHa0.js → p-CthRnoDv.js} +2 -2
  893. package/dist/siemens-ix/{p-C1MjXHa0.js.map → p-CthRnoDv.js.map} +1 -1
  894. package/dist/siemens-ix/p-DJsXFBNm.js +3 -0
  895. package/dist/siemens-ix/p-DJsXFBNm.js.map +1 -0
  896. package/dist/siemens-ix/p-_tyNUrlp.js +2 -0
  897. package/dist/siemens-ix/{p-DyBJEhgA.js.map → p-_tyNUrlp.js.map} +1 -1
  898. package/dist/siemens-ix/{p-d4936531.entry.js → p-a43c4907.entry.js} +2 -2
  899. package/dist/siemens-ix/{p-e636a236.entry.js → p-a6ea8bc6.entry.js} +2 -2
  900. package/dist/siemens-ix/p-a6ea8bc6.entry.js.map +1 -0
  901. package/dist/siemens-ix/{p-a15f3a9d.entry.js → p-a7bdd5fd.entry.js} +2 -2
  902. package/dist/siemens-ix/p-a7bdd5fd.entry.js.map +1 -0
  903. package/dist/siemens-ix/p-a8cd5e58.entry.js +2 -0
  904. package/dist/siemens-ix/{p-7da60ba2.entry.js.map → p-a8cd5e58.entry.js.map} +1 -1
  905. package/dist/siemens-ix/p-a9336906.entry.js +2 -0
  906. package/dist/siemens-ix/p-a9336906.entry.js.map +1 -0
  907. package/dist/siemens-ix/{p-a951d9e7.entry.js → p-a9ec8094.entry.js} +2 -2
  908. package/dist/siemens-ix/p-aa2dd2c3.entry.js +2 -0
  909. package/dist/siemens-ix/{p-227ea9bc.entry.js.map → p-aa2dd2c3.entry.js.map} +1 -1
  910. package/dist/siemens-ix/{p-7978f54a.entry.js → p-afd392d5.entry.js} +2 -2
  911. package/dist/siemens-ix/{p-381708ea.entry.js → p-b00517df.entry.js} +2 -2
  912. package/dist/siemens-ix/p-b3d4d2cd.entry.js +2 -0
  913. package/dist/siemens-ix/{p-fe1e79d6.entry.js → p-b548335e.entry.js} +2 -2
  914. package/dist/siemens-ix/{p-77d586e5.entry.js → p-b735b8ce.entry.js} +2 -2
  915. package/dist/siemens-ix/p-ba24447f.entry.js +2 -0
  916. package/dist/siemens-ix/{p-07fa84e9.entry.js.map → p-ba24447f.entry.js.map} +1 -1
  917. package/dist/siemens-ix/{p-138de76a.entry.js → p-bec289d7.entry.js} +2 -2
  918. package/dist/siemens-ix/{p-60c6eba1.entry.js → p-bf7fbdfc.entry.js} +2 -2
  919. package/dist/siemens-ix/{p-e850d862.entry.js → p-bf8dd5a1.entry.js} +2 -2
  920. package/dist/siemens-ix/{p-97eb6c3c.entry.js → p-c050d511.entry.js} +2 -2
  921. package/dist/siemens-ix/p-c050d511.entry.js.map +1 -0
  922. package/dist/siemens-ix/{p-de03778d.entry.js → p-c24a5925.entry.js} +2 -2
  923. package/dist/siemens-ix/p-c24a5925.entry.js.map +1 -0
  924. package/dist/siemens-ix/{p-42cf2d8f.entry.js → p-c5f8ccc9.entry.js} +2 -2
  925. package/dist/siemens-ix/p-c9ab3079.entry.js +2 -0
  926. package/dist/siemens-ix/{p-64a2f777.entry.js.map → p-c9ab3079.entry.js.map} +1 -1
  927. package/dist/siemens-ix/{p-26b072bb.entry.js → p-c9d48927.entry.js} +2 -2
  928. package/dist/siemens-ix/{p-ea980990.entry.js → p-ce3aebe6.entry.js} +2 -2
  929. package/dist/siemens-ix/{p-1b04e58a.entry.js → p-cf052f87.entry.js} +2 -2
  930. package/dist/siemens-ix/p-cf052f87.entry.js.map +1 -0
  931. package/dist/siemens-ix/{p-7b455f16.entry.js → p-d0c1473e.entry.js} +2 -2
  932. package/dist/siemens-ix/p-d0c1473e.entry.js.map +1 -0
  933. package/dist/siemens-ix/{p-61bf7678.entry.js → p-d3458382.entry.js} +2 -2
  934. package/dist/siemens-ix/p-d605b181.entry.js +2 -0
  935. package/dist/siemens-ix/{p-96687290.entry.js → p-db6d5110.entry.js} +2 -2
  936. package/dist/siemens-ix/p-db6d5110.entry.js.map +1 -0
  937. package/dist/siemens-ix/{p-92513d0e.entry.js → p-de79e8c0.entry.js} +2 -2
  938. package/dist/siemens-ix/p-de79e8c0.entry.js.map +1 -0
  939. package/dist/siemens-ix/{p-e40c900a.entry.js → p-dfb5f7d8.entry.js} +2 -2
  940. package/dist/siemens-ix/{p-97029efe.entry.js → p-dfe4de85.entry.js} +2 -2
  941. package/dist/siemens-ix/{p-f1d1c522.entry.js → p-ea142215.entry.js} +2 -2
  942. package/dist/siemens-ix/{p-6a275897.entry.js → p-ead88218.entry.js} +2 -2
  943. package/dist/siemens-ix/{p-25368187.entry.js → p-ec7cd008.entry.js} +2 -2
  944. package/dist/siemens-ix/{p-6dffce02.entry.js → p-ecd576f8.entry.js} +2 -2
  945. package/dist/siemens-ix/p-ecd576f8.entry.js.map +1 -0
  946. package/dist/siemens-ix/{p-3725e281.entry.js → p-ee2902a5.entry.js} +2 -2
  947. package/dist/siemens-ix/{p-daf2c2fd.entry.js → p-f4415d44.entry.js} +2 -2
  948. package/dist/siemens-ix/{p-b45ce132.entry.js → p-f4ce72e4.entry.js} +2 -2
  949. package/dist/siemens-ix/p-f4ce72e4.entry.js.map +1 -0
  950. package/dist/siemens-ix/{p-cf3cbb46.entry.js → p-f6a6694e.entry.js} +2 -2
  951. package/dist/siemens-ix/p-f6a6694e.entry.js.map +1 -0
  952. package/dist/siemens-ix/{p-fadc415c.entry.js → p-fbacd6eb.entry.js} +2 -2
  953. package/dist/siemens-ix/p-fbacd6eb.entry.js.map +1 -0
  954. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  955. package/dist/types/components/action-card/action-card.d.ts +1 -2
  956. package/dist/types/components/action-card/action-card.types.d.ts +2 -0
  957. package/dist/types/components/blind/blind.d.ts +1 -2
  958. package/dist/types/components/blind/blind.types.d.ts +2 -0
  959. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
  960. package/dist/types/components/card/card.d.ts +1 -1
  961. package/dist/types/components/card/card.types.d.ts +1 -0
  962. package/dist/types/components/card-accordion/card-accordion.d.ts +1 -4
  963. package/dist/types/components/card-accordion/card-accordion.types.d.ts +4 -0
  964. package/dist/types/components/col/col.d.ts +1 -1
  965. package/dist/types/components/col/col.types.d.ts +1 -0
  966. package/dist/types/components/content-header/content-header.d.ts +1 -1
  967. package/dist/types/components/content-header/content-header.types.d.ts +1 -0
  968. package/dist/types/components/css-grid/css-grid.d.ts +1 -1
  969. package/dist/types/components/css-grid/css-grid.types.d.ts +1 -0
  970. package/dist/types/components/date-dropdown/date-dropdown.d.ts +1 -11
  971. package/dist/types/components/date-dropdown/date-dropdown.types.d.ts +11 -0
  972. package/dist/types/components/date-input/date-input.d.ts +1 -4
  973. package/dist/types/components/date-input/date-input.types.d.ts +4 -0
  974. package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
  975. package/dist/types/components/date-picker/date-picker.d.ts +2 -5
  976. package/dist/types/components/date-picker/date-picker.events.d.ts +4 -0
  977. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  978. package/dist/types/components/date-time-card/date-time-card.types.d.ts +1 -0
  979. package/dist/types/components/datetime-picker/datetime-picker.d.ts +1 -6
  980. package/dist/types/components/datetime-picker/datetime-picker.types.d.ts +6 -0
  981. package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -2
  982. package/dist/types/components/dropdown-button/dropdown-button.types.d.ts +2 -0
  983. package/dist/types/components/empty-state/empty-state.d.ts +1 -1
  984. package/dist/types/components/empty-state/empty-state.types.d.ts +1 -0
  985. package/dist/types/components/icon-button/icon-button.d.ts +1 -2
  986. package/dist/types/components/icon-button/icon-button.types.d.ts +2 -0
  987. package/dist/types/components/input/textarea.d.ts +1 -1
  988. package/dist/types/components/input/textarea.types.d.ts +1 -0
  989. package/dist/types/components/key-value/key-value.d.ts +1 -1
  990. package/dist/types/components/key-value/key-value.types.d.ts +1 -0
  991. package/dist/types/components/modal/modal.d.ts +1 -3
  992. package/dist/types/components/modal/modal.types.d.ts +3 -0
  993. package/dist/types/components/pane/pane.d.ts +1 -21
  994. package/dist/types/components/pane/pane.types.d.ts +21 -0
  995. package/dist/types/components/progress-indicator/circular.d.ts +1 -1
  996. package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
  997. package/dist/types/components/progress-indicator/progress-indicator.types.d.ts +1 -0
  998. package/dist/types/components/push-card/push-card.d.ts +1 -2
  999. package/dist/types/components/push-card/push-card.types.d.ts +2 -0
  1000. package/dist/types/components/slider/slider.d.ts +1 -1
  1001. package/dist/types/components/slider/slider.types.d.ts +1 -0
  1002. package/dist/types/components/split-button/split-button.d.ts +1 -2
  1003. package/dist/types/components/split-button/split-button.types.d.ts +2 -0
  1004. package/dist/types/components/tab-item/tab-item.d.ts +1 -3
  1005. package/dist/types/components/tab-item/tab-item.types.d.ts +3 -0
  1006. package/dist/types/components/time-input/time-input.d.ts +1 -4
  1007. package/dist/types/components/time-input/time-input.types.d.ts +4 -0
  1008. package/dist/types/components/time-picker/time-picker.d.ts +1 -2
  1009. package/dist/types/components/time-picker/time-picker.types.d.ts +2 -0
  1010. package/dist/types/components/toast/toast-container.d.ts +1 -5
  1011. package/dist/types/components/toast/toast-container.types.d.ts +5 -0
  1012. package/dist/types/components/toast/toast-utils.d.ts +1 -1
  1013. package/dist/types/components/typography/typography.d.ts +1 -10
  1014. package/dist/types/components/typography/typography.types.d.ts +10 -0
  1015. package/dist/types/components/utils/modal/modal.d.ts +1 -1
  1016. package/dist/types/components.d.ts +58 -60
  1017. package/dist/types/index.d.ts +3 -16
  1018. package/dist/types/public-api.d.ts +15 -0
  1019. package/hydrate/index.js +256 -256
  1020. package/hydrate/index.mjs +256 -256
  1021. package/package.json +5 -5
  1022. package/components/p-18F-YfbC.js.map +0 -1
  1023. package/components/p-BXGAr1UD.js.map +0 -1
  1024. package/components/p-Cuf7Gv_k.js.map +0 -1
  1025. package/components/p-DzKDFBWC.js +0 -2042
  1026. package/components/p-DzKDFBWC.js.map +0 -1
  1027. package/components/p-pMSLP3h4.js.map +0 -1
  1028. package/dist/cjs/index-BDliOtbY.js +0 -2734
  1029. package/dist/cjs/index-BDliOtbY.js.map +0 -1
  1030. package/dist/esm/index-B6NtGPRE.js +0 -2702
  1031. package/dist/esm/index-B6NtGPRE.js.map +0 -1
  1032. package/dist/siemens-ix/p-07fa84e9.entry.js +0 -2
  1033. package/dist/siemens-ix/p-17a19a44.entry.js.map +0 -1
  1034. package/dist/siemens-ix/p-1b04e58a.entry.js.map +0 -1
  1035. package/dist/siemens-ix/p-1fc79a42.entry.js +0 -2
  1036. package/dist/siemens-ix/p-227ea9bc.entry.js +0 -2
  1037. package/dist/siemens-ix/p-2a1152d9.entry.js.map +0 -1
  1038. package/dist/siemens-ix/p-2e0dab7b.entry.js.map +0 -1
  1039. package/dist/siemens-ix/p-2edc9a43.entry.js.map +0 -1
  1040. package/dist/siemens-ix/p-30e325ee.entry.js.map +0 -1
  1041. package/dist/siemens-ix/p-3d4eba06.entry.js +0 -2
  1042. package/dist/siemens-ix/p-44a9c1db.entry.js.map +0 -1
  1043. package/dist/siemens-ix/p-64a2f777.entry.js +0 -2
  1044. package/dist/siemens-ix/p-674dd99b.entry.js +0 -2
  1045. package/dist/siemens-ix/p-6b5cb4c3.entry.js.map +0 -1
  1046. package/dist/siemens-ix/p-6cc4c39e.entry.js +0 -2
  1047. package/dist/siemens-ix/p-6dffce02.entry.js.map +0 -1
  1048. package/dist/siemens-ix/p-702d290f.entry.js.map +0 -1
  1049. package/dist/siemens-ix/p-719704c7.entry.js +0 -2
  1050. package/dist/siemens-ix/p-719704c7.entry.js.map +0 -1
  1051. package/dist/siemens-ix/p-7b455f16.entry.js.map +0 -1
  1052. package/dist/siemens-ix/p-7b5eb3ca.entry.js.map +0 -1
  1053. package/dist/siemens-ix/p-7da60ba2.entry.js +0 -2
  1054. package/dist/siemens-ix/p-80dfc634.entry.js.map +0 -1
  1055. package/dist/siemens-ix/p-8774e0a8.entry.js +0 -2
  1056. package/dist/siemens-ix/p-92513d0e.entry.js.map +0 -1
  1057. package/dist/siemens-ix/p-9513a275.entry.js +0 -2
  1058. package/dist/siemens-ix/p-96687290.entry.js.map +0 -1
  1059. package/dist/siemens-ix/p-97eb6c3c.entry.js.map +0 -1
  1060. package/dist/siemens-ix/p-B6NtGPRE.js +0 -3
  1061. package/dist/siemens-ix/p-B6NtGPRE.js.map +0 -1
  1062. package/dist/siemens-ix/p-BaslXuvq.js +0 -2
  1063. package/dist/siemens-ix/p-DyBJEhgA.js +0 -2
  1064. package/dist/siemens-ix/p-a09ec38c.entry.js.map +0 -1
  1065. package/dist/siemens-ix/p-a15f3a9d.entry.js.map +0 -1
  1066. package/dist/siemens-ix/p-a7e339d0.entry.js +0 -2
  1067. package/dist/siemens-ix/p-b45ce132.entry.js.map +0 -1
  1068. package/dist/siemens-ix/p-c192caa5.entry.js +0 -2
  1069. package/dist/siemens-ix/p-c192caa5.entry.js.map +0 -1
  1070. package/dist/siemens-ix/p-c6cb0b06.entry.js +0 -2
  1071. package/dist/siemens-ix/p-c7ead0ee.entry.js.map +0 -1
  1072. package/dist/siemens-ix/p-c9c30ce7.entry.js +0 -2
  1073. package/dist/siemens-ix/p-cb076f29.entry.js +0 -2
  1074. package/dist/siemens-ix/p-cf3cbb46.entry.js.map +0 -1
  1075. package/dist/siemens-ix/p-de03778d.entry.js.map +0 -1
  1076. package/dist/siemens-ix/p-e088e1d9.entry.js +0 -2
  1077. package/dist/siemens-ix/p-e636a236.entry.js.map +0 -1
  1078. package/dist/siemens-ix/p-ed05a3ed.entry.js.map +0 -1
  1079. package/dist/siemens-ix/p-f426aa64.entry.js +0 -2
  1080. package/dist/siemens-ix/p-f66cb323.entry.js.map +0 -1
  1081. package/dist/siemens-ix/p-fadc415c.entry.js.map +0 -1
  1082. package/dist/types/interfaces.d.ts +0 -27
  1083. /package/dist/siemens-ix/{p-4be22d4d.entry.js.map → p-003ae2cf.entry.js.map} +0 -0
  1084. /package/dist/siemens-ix/{p-094d6f0a.entry.js.map → p-00eff8b5.entry.js.map} +0 -0
  1085. /package/dist/siemens-ix/{p-47956560.entry.js.map → p-0195766f.entry.js.map} +0 -0
  1086. /package/dist/siemens-ix/{p-c23031be.entry.js.map → p-025c5b1b.entry.js.map} +0 -0
  1087. /package/dist/siemens-ix/{p-25c27b28.entry.js.map → p-03b8e425.entry.js.map} +0 -0
  1088. /package/dist/siemens-ix/{p-9513a275.entry.js.map → p-04527b1e.entry.js.map} +0 -0
  1089. /package/dist/siemens-ix/{p-07733f87.entry.js.map → p-07b2da86.entry.js.map} +0 -0
  1090. /package/dist/siemens-ix/{p-746f49b4.entry.js.map → p-098aa857.entry.js.map} +0 -0
  1091. /package/dist/siemens-ix/{p-d4284927.entry.js.map → p-130ffc16.entry.js.map} +0 -0
  1092. /package/dist/siemens-ix/{p-1cff42a5.entry.js.map → p-13b5f3c3.entry.js.map} +0 -0
  1093. /package/dist/siemens-ix/{p-f61c1785.entry.js.map → p-14d2042d.entry.js.map} +0 -0
  1094. /package/dist/siemens-ix/{p-cb076f29.entry.js.map → p-19501b80.entry.js.map} +0 -0
  1095. /package/dist/siemens-ix/{p-d2151941.entry.js.map → p-1df6d18f.entry.js.map} +0 -0
  1096. /package/dist/siemens-ix/{p-518290fd.entry.js.map → p-1fdfe35a.entry.js.map} +0 -0
  1097. /package/dist/siemens-ix/{p-38fa1eec.entry.js.map → p-2642d96b.entry.js.map} +0 -0
  1098. /package/dist/siemens-ix/{p-0053fd70.entry.js.map → p-28aece6e.entry.js.map} +0 -0
  1099. /package/dist/siemens-ix/{p-00668881.entry.js.map → p-29d44cef.entry.js.map} +0 -0
  1100. /package/dist/siemens-ix/{p-1f5322d5.entry.js.map → p-2f2dfb6e.entry.js.map} +0 -0
  1101. /package/dist/siemens-ix/{p-7fcec901.entry.js.map → p-2f9b9e7a.entry.js.map} +0 -0
  1102. /package/dist/siemens-ix/{p-8774e0a8.entry.js.map → p-440a0ee0.entry.js.map} +0 -0
  1103. /package/dist/siemens-ix/{p-0e0019a3.entry.js.map → p-472c1d6b.entry.js.map} +0 -0
  1104. /package/dist/siemens-ix/{p-1363ac29.entry.js.map → p-47f395be.entry.js.map} +0 -0
  1105. /package/dist/siemens-ix/{p-cf7448b1.entry.js.map → p-483bc052.entry.js.map} +0 -0
  1106. /package/dist/siemens-ix/{p-3d4eba06.entry.js.map → p-4959b8e6.entry.js.map} +0 -0
  1107. /package/dist/siemens-ix/{p-e499f85d.entry.js.map → p-4fe2d0f7.entry.js.map} +0 -0
  1108. /package/dist/siemens-ix/{p-e006c83c.entry.js.map → p-5b22342c.entry.js.map} +0 -0
  1109. /package/dist/siemens-ix/{p-125b66ec.entry.js.map → p-605a9fe8.entry.js.map} +0 -0
  1110. /package/dist/siemens-ix/{p-2d383fa3.entry.js.map → p-6337e880.entry.js.map} +0 -0
  1111. /package/dist/siemens-ix/{p-0285fa1a.entry.js.map → p-6549edf0.entry.js.map} +0 -0
  1112. /package/dist/siemens-ix/{p-1fc79a42.entry.js.map → p-66d20585.entry.js.map} +0 -0
  1113. /package/dist/siemens-ix/{p-53d1f804.entry.js.map → p-6adde42d.entry.js.map} +0 -0
  1114. /package/dist/siemens-ix/{p-b1bc33ef.entry.js.map → p-6cc448b4.entry.js.map} +0 -0
  1115. /package/dist/siemens-ix/{p-ec3786c3.entry.js.map → p-7011678e.entry.js.map} +0 -0
  1116. /package/dist/siemens-ix/{p-6cc4c39e.entry.js.map → p-7111f065.entry.js.map} +0 -0
  1117. /package/dist/siemens-ix/{p-cf3c2573.entry.js.map → p-76f59fa5.entry.js.map} +0 -0
  1118. /package/dist/siemens-ix/{p-c5921b21.entry.js.map → p-777675ce.entry.js.map} +0 -0
  1119. /package/dist/siemens-ix/{p-4a666ab2.entry.js.map → p-8d4558b9.entry.js.map} +0 -0
  1120. /package/dist/siemens-ix/{p-ef56e825.entry.js.map → p-8fcada5a.entry.js.map} +0 -0
  1121. /package/dist/siemens-ix/{p-96c0acb2.entry.js.map → p-91ba2527.entry.js.map} +0 -0
  1122. /package/dist/siemens-ix/{p-e088e1d9.entry.js.map → p-97693d72.entry.js.map} +0 -0
  1123. /package/dist/siemens-ix/{p-29eb0f3c.entry.js.map → p-97a53af6.entry.js.map} +0 -0
  1124. /package/dist/siemens-ix/{p-5f494293.entry.js.map → p-988f37da.entry.js.map} +0 -0
  1125. /package/dist/siemens-ix/{p-61944945.entry.js.map → p-9f7d82d2.entry.js.map} +0 -0
  1126. /package/dist/siemens-ix/{p-d4936531.entry.js.map → p-a43c4907.entry.js.map} +0 -0
  1127. /package/dist/siemens-ix/{p-a951d9e7.entry.js.map → p-a9ec8094.entry.js.map} +0 -0
  1128. /package/dist/siemens-ix/{p-7978f54a.entry.js.map → p-afd392d5.entry.js.map} +0 -0
  1129. /package/dist/siemens-ix/{p-381708ea.entry.js.map → p-b00517df.entry.js.map} +0 -0
  1130. /package/dist/siemens-ix/{p-c9c30ce7.entry.js.map → p-b3d4d2cd.entry.js.map} +0 -0
  1131. /package/dist/siemens-ix/{p-fe1e79d6.entry.js.map → p-b548335e.entry.js.map} +0 -0
  1132. /package/dist/siemens-ix/{p-77d586e5.entry.js.map → p-b735b8ce.entry.js.map} +0 -0
  1133. /package/dist/siemens-ix/{p-138de76a.entry.js.map → p-bec289d7.entry.js.map} +0 -0
  1134. /package/dist/siemens-ix/{p-60c6eba1.entry.js.map → p-bf7fbdfc.entry.js.map} +0 -0
  1135. /package/dist/siemens-ix/{p-e850d862.entry.js.map → p-bf8dd5a1.entry.js.map} +0 -0
  1136. /package/dist/siemens-ix/{p-42cf2d8f.entry.js.map → p-c5f8ccc9.entry.js.map} +0 -0
  1137. /package/dist/siemens-ix/{p-26b072bb.entry.js.map → p-c9d48927.entry.js.map} +0 -0
  1138. /package/dist/siemens-ix/{p-ea980990.entry.js.map → p-ce3aebe6.entry.js.map} +0 -0
  1139. /package/dist/siemens-ix/{p-61bf7678.entry.js.map → p-d3458382.entry.js.map} +0 -0
  1140. /package/dist/siemens-ix/{p-674dd99b.entry.js.map → p-d605b181.entry.js.map} +0 -0
  1141. /package/dist/siemens-ix/{p-e40c900a.entry.js.map → p-dfb5f7d8.entry.js.map} +0 -0
  1142. /package/dist/siemens-ix/{p-97029efe.entry.js.map → p-dfe4de85.entry.js.map} +0 -0
  1143. /package/dist/siemens-ix/{p-f1d1c522.entry.js.map → p-ea142215.entry.js.map} +0 -0
  1144. /package/dist/siemens-ix/{p-6a275897.entry.js.map → p-ead88218.entry.js.map} +0 -0
  1145. /package/dist/siemens-ix/{p-25368187.entry.js.map → p-ec7cd008.entry.js.map} +0 -0
  1146. /package/dist/siemens-ix/{p-3725e281.entry.js.map → p-ee2902a5.entry.js.map} +0 -0
  1147. /package/dist/siemens-ix/{p-daf2c2fd.entry.js.map → p-f4415d44.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,h as o,H as r}from"./p-B6NtGPRE.js";import{T as s}from"./p-BdCnOrqW.js";const e=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}#toast-container>:not(:last-child){margin-block-end:1rem}.toast-container{display:block;position:fixed}.toast-container--top-right{right:1rem;top:2rem}.toast-container--bottom-right{right:1rem;bottom:2rem}";const n=class{constructor(o){t(this,o);this.containerId="toast-container";this.containerClass="toast-container";this.position="bottom-right";this.PREFIX_POSITION_CLASS="toast-container--"}get hostContainer(){return new Promise((t=>{const o=setInterval((()=>{const r=document.getElementById(this.containerId);if(r){clearInterval(o);t(r)}}))}))}componentDidLoad(){if(!document.getElementById(this.containerId)){const t=document.createElement("div");t.id=this.containerId;t.classList.add(this.containerClass);t.classList.add(`${this.PREFIX_POSITION_CLASS}${this.position}`);document.body.appendChild(t)}}onPositionChange(t,o){const r=document.getElementById(this.containerId);if(!r){console.warn("No toast container found, cannot configure toast position");return}r.classList.remove(`${this.PREFIX_POSITION_CLASS}${o}`);r.classList.add(`${this.PREFIX_POSITION_CLASS}${t}`)}async showToast(t){var o,r,e;const n=document.createElement("ix-toast");const a=new s;function i(t){n.remove();a.emit(t)}n.toastTitle=t.title;n.type=(o=t.type)!==null&&o!==void 0?o:"info";n.autoClose=(r=t.autoClose)!==null&&r!==void 0?r:true;n.autoCloseDelay=(e=t.autoCloseDelay)!==null&&e!==void 0?e:5e3;n.icon=t.icon;n.iconColor=t.iconColor;n.addEventListener("closeToast",(t=>{const{detail:o}=t;i(o)}));if(typeof t.message==="string"){n.innerText=t.message}else{n.appendChild(t.message)}(await this.hostContainer).appendChild(n);return{onClose:a,close:t=>{i(t)}}}render(){return o(r,{key:"9656bf3a14aa1ee21d11e9825339bfdddf219e36",class:{"toast-container--bottom-right":this.position==="bottom-right","toast-container--top-right":this.position==="top-right"}},o("slot",{key:"3ec68f9987d7551d1c4bfd33880201773866be99"}))}static get watchers(){return{position:["onPositionChange"]}}};n.style=e;export{n as ix_toast_container};
2
- //# sourceMappingURL=p-f66cb323.entry.js.map
1
+ import{r as t,h as o,H as r}from"./p-DJsXFBNm.js";import{T as s}from"./p-BdCnOrqW.js";const e=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}#toast-container>:not(:last-child){margin-block-end:1rem}.toast-container{display:block;position:fixed}.toast-container--top-right{right:1rem;top:2rem}.toast-container--bottom-right{right:1rem;bottom:2rem}";const n=class{constructor(o){t(this,o);this.containerId="toast-container";this.containerClass="toast-container";this.position="bottom-right";this.PREFIX_POSITION_CLASS="toast-container--"}get hostContainer(){return new Promise((t=>{const o=setInterval((()=>{const r=document.getElementById(this.containerId);if(r){clearInterval(o);t(r)}}))}))}componentDidLoad(){if(!document.getElementById(this.containerId)){const t=document.createElement("div");t.id=this.containerId;t.classList.add(this.containerClass);t.classList.add(`${this.PREFIX_POSITION_CLASS}${this.position}`);document.body.appendChild(t)}}onPositionChange(t,o){const r=document.getElementById(this.containerId);if(!r){console.warn("No toast container found, cannot configure toast position");return}r.classList.remove(`${this.PREFIX_POSITION_CLASS}${o}`);r.classList.add(`${this.PREFIX_POSITION_CLASS}${t}`)}async showToast(t){var o,r,e;const n=document.createElement("ix-toast");const a=new s;function i(t){n.remove();a.emit(t)}n.toastTitle=t.title;n.type=(o=t.type)!==null&&o!==void 0?o:"info";n.autoClose=(r=t.autoClose)!==null&&r!==void 0?r:true;n.autoCloseDelay=(e=t.autoCloseDelay)!==null&&e!==void 0?e:5e3;n.icon=t.icon;n.iconColor=t.iconColor;n.addEventListener("closeToast",(t=>{const{detail:o}=t;i(o)}));if(typeof t.message==="string"){n.innerText=t.message}else{n.appendChild(t.message)}(await this.hostContainer).appendChild(n);return{onClose:a,close:t=>{i(t)}}}render(){return o(r,{key:"e11a34904500db71b2bfb75db025a8f578f9d1ca",class:{"toast-container--bottom-right":this.position==="bottom-right","toast-container--top-right":this.position==="top-right"}},o("slot",{key:"512b57574d088e3ef0812e218702240465f9ad13"}))}static get watchers(){return{position:["onPositionChange"]}}};n.style=e;export{n as ix_toast_container};
2
+ //# sourceMappingURL=p-7a336485.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["toastContainerCss","ToastContainer","constructor","hostRef","this","containerId","containerClass","position","PREFIX_POSITION_CLASS","hostContainer","Promise","resolve","interval","setInterval","containerElement","document","getElementById","clearInterval","componentDidLoad","toastContainer","createElement","id","classList","add","body","appendChild","onPositionChange","newPosition","oldPosition","console","warn","remove","showToast","config","toast","onClose","TypedEvent","removeToast","result","emit","toastTitle","title","type","_a","autoClose","_b","autoCloseDelay","_c","icon","iconColor","addEventListener","event","detail","message","innerText","close","render","h","Host","key","class"],"sources":["src/components/toast/styles/toast-container.scss?tag=ix-toast-container&encapsulation=shadow","src/components/toast/toast-container.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n}\n\n#toast-container {\n > :not(:last-child) {\n margin-block-end: $default-space;\n }\n}\n\n.toast-container {\n display: block;\n position: fixed;\n}\n\n.toast-container--top-right {\n right: 1rem;\n top: 2rem;\n}\n\n.toast-container--bottom-right {\n right: 1rem;\n bottom: 2rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\nimport type { ShowToastResult } from './toast-container.types';\n\n@Component({\n tag: 'ix-toast-container',\n styleUrl: './styles/toast-container.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return new Promise<HTMLElement>((resolve) => {\n const interval = setInterval(() => {\n const containerElement = document.getElementById(this.containerId);\n if (containerElement) {\n clearInterval(interval);\n resolve(containerElement);\n }\n });\n });\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n if (!toastContainer) {\n console.warn('No toast container found, cannot configure toast position');\n return;\n }\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig): Promise<ShowToastResult> {\n const toast = document.createElement('ix-toast');\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type ?? 'info';\n toast.autoClose = config.autoClose ?? true;\n toast.autoCloseDelay = config.autoCloseDelay ?? 5000;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n\n (await this.hostContainer).appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'toast-container--bottom-right': this.position === 'bottom-right',\n 'toast-container--top-right': this.position === 'top-right',\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAoB,+8B,MCmBbC,EAAc,MAL3B,WAAAC,CAAAC,G,UAQUC,KAAWC,YAAG,kBAIdD,KAAcE,eAAG,kBAIjBF,KAAQG,SAAiC,eAEhCH,KAAqBI,sBAAG,mBA+F1C,CA7FC,iBAAIC,GACF,OAAO,IAAIC,SAAsBC,IAC/B,MAAMC,EAAWC,aAAY,KAC3B,MAAMC,EAAmBC,SAASC,eAAeZ,KAAKC,aACtD,GAAIS,EAAkB,CACpBG,cAAcL,GACdD,EAAQG,E,IAEV,G,CAIN,gBAAAI,GACE,IAAKH,SAASC,eAAeZ,KAAKC,aAAc,CAC9C,MAAMc,EAAiBJ,SAASK,cAAc,OAC9CD,EAAeE,GAAKjB,KAAKC,YACzBc,EAAeG,UAAUC,IAAInB,KAAKE,gBAClCa,EAAeG,UAAUC,IACvB,GAAGnB,KAAKI,wBAAwBJ,KAAKG,YAEvCQ,SAASS,KAAKC,YAAYN,E,EAK9B,gBAAAO,CAAiBC,EAAqBC,GACpC,MAAMT,EAAiBJ,SAASC,eAAeZ,KAAKC,aACpD,IAAKc,EAAgB,CACnBU,QAAQC,KAAK,6DACb,M,CAEFX,EAAeG,UAAUS,OACvB,GAAG3B,KAAKI,wBAAwBoB,KAElCT,EAAeG,UAAUC,IAAI,GAAGnB,KAAKI,wBAAwBmB,I,CAQ/D,eAAMK,CAAUC,G,UACd,MAAMC,EAAQnB,SAASK,cAAc,YACrC,MAAMe,EAAU,IAAIC,EAEpB,SAASC,EAAYC,GACnBJ,EAAMH,SACNI,EAAQI,KAAKD,E,CAGfJ,EAAMM,WAAaP,EAAOQ,MAC1BP,EAAMQ,MAAOC,EAAAV,EAAOS,QAAQ,MAAAC,SAAA,EAAAA,EAAA,OAC5BT,EAAMU,WAAYC,EAAAZ,EAAOW,aAAa,MAAAC,SAAA,EAAAA,EAAA,KACtCX,EAAMY,gBAAiBC,EAAAd,EAAOa,kBAAkB,MAAAC,SAAA,EAAAA,EAAA,IAChDb,EAAMc,KAAOf,EAAOe,KACpBd,EAAMe,UAAYhB,EAAOgB,UACzBf,EAAMgB,iBACJ,cACCC,IACC,MAAMC,OAAEA,GAAWD,EACnBd,EAAYe,EAAO,IAIvB,UAAWnB,EAAOoB,UAAY,SAAU,CACtCnB,EAAMoB,UAAYrB,EAAOoB,O,KACpB,CACLnB,EAAMT,YAAYQ,EAAOoB,Q,QAGpBjD,KAAKK,eAAegB,YAAYS,GAEvC,MAAO,CACLC,UACAoB,MAAQjB,IACND,EAAYC,EAAO,E,CAKzB,MAAAkB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACL,gCAAiCxD,KAAKG,WAAa,eACnD,6BAA8BH,KAAKG,WAAa,cAGlDkD,EAAa,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as i,H as r}from"./p-B6NtGPRE.js";import{r as o}from"./p-DLTnniMb.js";import{a as s}from"./p-Bb7pDeaQ.js";const a=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .event-list-item{display:flex;align-items:center;position:relative;height:var(--event-list-item-height, 2.5rem);max-height:var(--event-list-item-height, 2.5rem);border-radius:var(--event-list-item-border-radius, 0.25rem);background-color:var(--theme-event-item--background);overflow:hidden;transition:var(--theme-default-time);cursor:pointer;margin-bottom:var(--event-list-item-margin-bottom, 0.5rem)}:host .event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:var(--event-list-item-border-radius, 0.25rem)}:host .event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}:host .event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:0;border-bottom-right-radius:var(--event-list-item-border-radius, 0.25rem);border-left:none;padding-left:1rem}:host .event-list-item .event-content{display:flex;align-items:center;width:100%;height:var(--event-list-item-height, 100%);max-height:var(--event-list-item-height, 100%);white-space:var(--event-list-item-content-white-space, inherit);overflow:hidden;padding-inline-end:0.5rem}:host .event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).hover{background-color:var(--theme-event-item--background--hover)}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).active{background-color:var(--theme-event-item--background--active)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).hover{border-color:var(--theme-event-item--border--hover)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).active{border-color:var(--theme-event-item--border--active)}:host .event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}:host .event-list-item[disabled],:host .event-list-item.disabled{pointer-events:none}:host .event-list-item[disabled] .event-list-item-container,:host .event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}:host(.disabled){pointer-events:none}";const n=class{constructor(i){e(this,i);this.itemClick=t(this,"itemClick",7);this.selected=false;this.disabled=false;this.chevron=false}handleItemClick(){this.itemClick.emit()}render(){var e;let t=((e=this.itemColor)===null||e===void 0?void 0:e.startsWith("--theme"))?`var(${this.itemColor})`:`var(--theme-${this.itemColor})`;return i(r,{key:"ce3058d44751768593430569a40157a3b3b79d33",class:{disabled:this.disabled}},i("div",{key:"1a1e79954b3aa18e2688ef6af4347cfb0756c8d5",role:"listitem","aria-disabled":s(this.disabled),class:{"event-list-item":true,selected:this.selected,disabled:this.disabled}},i("div",{key:"899e984605107cead8392aa95fc0d4a41b1d2d13",class:`indicator ${!this.itemColor?"indicator-empty":""}`,style:{"background-color":this.itemColor?t:"inherit",opacity:`${this.disabled?.4:1}`}}),i("div",{key:"1615c9e7b5a908c5fea1d26f17bb9512f9ce1fbd",class:"event-list-item-container"},i("div",{key:"dee8a1cdfdd06c6a89e0bf8715a40b4011f131b4",class:"event-content"},i("slot",{key:"9aa682c85b72cc720945f74e0c40ce537fc86f9a"})),this.chevron&&i("ix-icon",{key:"ec19f460773d9c0baa13765aece244516007db75",name:o,size:"16",class:"chevron-icon"}))))}};n.style=a;export{n as ix_event_list_item};
2
- //# sourceMappingURL=p-4a666ab2.entry.js.map
1
+ import{r as e,c as t,h as i,H as r}from"./p-DJsXFBNm.js";import{r as o}from"./p-DLTnniMb.js";import{a as s}from"./p-Bb7pDeaQ.js";const n=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .event-list-item{display:flex;align-items:center;position:relative;height:var(--event-list-item-height, 2.5rem);max-height:var(--event-list-item-height, 2.5rem);border-radius:var(--event-list-item-border-radius, 0.25rem);background-color:var(--theme-event-item--background);overflow:hidden;transition:var(--theme-default-time);cursor:pointer;margin-bottom:var(--event-list-item-margin-bottom, 0.5rem)}:host .event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:var(--event-list-item-border-radius, 0.25rem)}:host .event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}:host .event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:0;border-bottom-right-radius:var(--event-list-item-border-radius, 0.25rem);border-left:none;padding-left:1rem}:host .event-list-item .event-content{display:flex;align-items:center;width:100%;height:var(--event-list-item-height, 100%);max-height:var(--event-list-item-height, 100%);white-space:var(--event-list-item-content-white-space, inherit);overflow:hidden;padding-inline-end:0.5rem}:host .event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).hover{background-color:var(--theme-event-item--background--hover)}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).active{background-color:var(--theme-event-item--background--active)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).hover{border-color:var(--theme-event-item--border--hover)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).active{border-color:var(--theme-event-item--border--active)}:host .event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}:host .event-list-item[disabled],:host .event-list-item.disabled{pointer-events:none}:host .event-list-item[disabled] .event-list-item-container,:host .event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}:host(.disabled){pointer-events:none}";const a=class{constructor(i){e(this,i);this.itemClick=t(this,"itemClick",7);this.selected=false;this.disabled=false;this.chevron=false}handleItemClick(){this.itemClick.emit()}render(){var e;let t=((e=this.itemColor)===null||e===void 0?void 0:e.startsWith("--theme"))?`var(${this.itemColor})`:`var(--theme-${this.itemColor})`;return i(r,{key:"45315c323b72663ab459c1ac82be84a289719b6d",class:{disabled:this.disabled}},i("div",{key:"5d380bf2e02591a9be10a4e2b8b3585c83d035b5",role:"listitem","aria-disabled":s(this.disabled),class:{"event-list-item":true,selected:this.selected,disabled:this.disabled}},i("div",{key:"802085e76fa0a9c9d486f6f5777058da1d7ba9fd",class:`indicator ${!this.itemColor?"indicator-empty":""}`,style:{"background-color":this.itemColor?t:"inherit",opacity:`${this.disabled?.4:1}`}}),i("div",{key:"e90e4d2f639ec22b161e2c57d361f959e20f60a9",class:"event-list-item-container"},i("div",{key:"34a3a544f2f05078b9a75fbe80d1165a4bd10bde",class:"event-content"},i("slot",{key:"4ef3f92e68fa17c1369ccdd6b60d27cdafd84596"})),this.chevron&&i("ix-icon",{key:"8663521673022b881b4818367a0c97c3d5260e19",name:o,size:"16",class:"chevron-icon"}))))}};a.style=n;export{a as ix_event_list_item};
2
+ //# sourceMappingURL=p-8d4558b9.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as o,H as t,a as r}from"./p-B6NtGPRE.js";import{B as n}from"./p-DyBJEhgA.js";const d=":host{display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button{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 ix-icon{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}:host(.disabled){cursor:default}:host .btn-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-danger,:host .btn-danger.focus,:host .btn-danger:focus-visible{background-color:var(--theme-btn-danger--background);color:var(--theme-btn-danger--color);--ix-button-color:var(--theme-btn-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger--border-color);border-style:solid}:host .btn-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):active,:host .btn-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):hover,:host .btn-danger:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger--border-color--hover);background-color:var(--theme-btn-danger--background--hover);color:var(--theme-btn-danger--color--hover)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):active,:host .btn-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger--border-color--active);background-color:var(--theme-btn-danger--background--active);color:var(--theme-btn-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger.disabled,:host(.disabled) .btn-danger:disabled{pointer-events:none;border-color:var(--theme-btn-danger--border-color--disabled);background-color:var(--theme-btn-danger--background--disabled);color:var(--theme-btn-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger--color--disabled)}:host .btn-outline-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-danger,:host .btn-outline-danger.focus,:host .btn-outline-danger:focus-visible{background-color:var(--theme-btn-outline-danger--background);color:var(--theme-btn-outline-danger--color);--ix-button-color:var(--theme-btn-outline-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-danger--border-color);border-style:solid}:host .btn-outline-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):active,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):hover,:host .btn-outline-danger:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-danger--border-color--hover);background-color:var(--theme-btn-outline-danger--background--hover);color:var(--theme-btn-outline-danger--color--hover)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):active,:host .btn-outline-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-danger--border-color--active);background-color:var(--theme-btn-outline-danger--background--active);color:var(--theme-btn-outline-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-danger.disabled,:host(.disabled) .btn-outline-danger:disabled{pointer-events:none;border-color:var(--theme-btn-outline-danger--border-color--disabled);background-color:var(--theme-btn-outline-danger--background--disabled);color:var(--theme-btn-outline-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-danger--color--disabled)}:host .btn-invisible-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-danger,:host .btn-invisible-danger.focus,:host .btn-invisible-danger:focus-visible{background-color:var(--theme-btn-invisible-danger--background);color:var(--theme-btn-invisible-danger--color);--ix-button-color:var(--theme-btn-invisible-danger--color);border-color:transparent}:host .btn-invisible-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):hover,:host .btn-invisible-danger:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-danger--background--hover);color:var(--theme-btn-invisible-danger--color--hover)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):active,:host .btn-invisible-danger:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-danger--background--active);color:var(--theme-btn-invisible-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-danger.disabled,:host(.disabled) .btn-invisible-danger:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-danger--background--disabled);color:var(--theme-btn-invisible-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-danger--color--disabled)}:host .btn-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{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:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}: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-color-ghost--selected-hover);color:var(--theme-color-dynamic)}: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-color-ghost--selected-active);color:var(--theme-color-dynamic)}: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-outline-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-primary,:host .btn-outline-primary.focus,:host .btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}:host .btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):hover,:host .btn-outline-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):active,:host .btn-outline-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-primary.disabled,:host(.disabled) .btn-outline-primary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}:host .btn-invisible-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-primary,:host .btn-invisible-primary.focus,:host .btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}:host .btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):hover,:host .btn-invisible-primary:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):active,:host .btn-invisible-primary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-primary.disabled,:host(.disabled) .btn-invisible-primary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}:host .btn-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{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:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}: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-color-ghost--selected-hover);color:var(--theme-color-dynamic)}: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-color-ghost--selected-active);color:var(--theme-color-dynamic)}: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-outline-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-secondary,:host .btn-outline-secondary.focus,:host .btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}:host .btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):hover,:host .btn-outline-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):active,:host .btn-outline-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-secondary.disabled,:host(.disabled) .btn-outline-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}:host .btn-invisible-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-secondary,:host .btn-invisible-secondary.focus,:host .btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}:host .btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):hover,:host .btn-invisible-secondary:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-secondary.disabled,:host(.disabled) .btn-invisible-secondary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}:host{min-width:5rem}";const i=class{constructor(o){e(this,o);this.variant="primary";this.outline=false;this.ghost=false;this.disabled=false;this.type="button";this.loading=false;this.alignment="center";this.iconSize="24"}handleClick(e){if(this.disabled||this.loading){e.stopPropagation();e.preventDefault()}}componentDidLoad(){if(this.type!=="submit"){return}const e=document.createElement("button");e.style.display="none";e.type="submit";e.tabIndex=-1;if(this.form){e.setAttribute("form",this.form)}this.hostElement.appendChild(e);this.submitButtonElement=e}handleFormChange(e){if(this.submitButtonElement){if(e){this.submitButtonElement.setAttribute("form",e)}else{this.submitButtonElement.removeAttribute("form")}}}componentDidRender(){if(this.submitButtonElement&&!this.hostElement.contains(this.submitButtonElement)){this.hostElement.appendChild(this.submitButtonElement)}}dispatchFormEvents(){if(this.type==="submit"&&this.submitButtonElement&&!this.disabled&&!this.loading){this.submitButtonElement.click()}}setFocus(){var e;(e=this.hostElement.shadowRoot.querySelector("button"))===null||e===void 0?void 0:e.focus()}render(){const e={variant:this.variant,outline:this.outline,ghost:this.ghost,iconOnly:false,iconOval:false,selected:false,disabled:this.disabled||this.loading,icon:this.icon,iconSize:this.iconSize,loading:this.loading,onClick:()=>this.dispatchFormEvents(),type:this.type,alignment:this.alignment,tabIndex:this.hostElement.tabIndex};return o(t,{key:"de117e8374cf25073732e14ced0583a67a53b54b",tabindex:this.disabled?-1:0,class:{disabled:this.disabled||this.loading},onFocus:()=>this.setFocus()},o(n,Object.assign({key:"39b6019cede041ff3ea36edebd70001ad7e7228c"},e),o("slot",{key:"9c59689c0b54defe8a435854dfe4c993de1eb758"})))}get hostElement(){return r(this)}static get watchers(){return{form:["handleFormChange"]}}};i.style=d;export{i as ix_button};
2
- //# sourceMappingURL=p-ef56e825.entry.js.map
1
+ import{r as e,h as o,H as t,a as r}from"./p-DJsXFBNm.js";import{B as n}from"./p-_tyNUrlp.js";const d=":host{display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button{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 ix-icon{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}:host(.disabled){cursor:default}:host .btn-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-danger,:host .btn-danger.focus,:host .btn-danger:focus-visible{background-color:var(--theme-btn-danger--background);color:var(--theme-btn-danger--color);--ix-button-color:var(--theme-btn-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger--border-color);border-style:solid}:host .btn-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):active,:host .btn-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):hover,:host .btn-danger:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger--border-color--hover);background-color:var(--theme-btn-danger--background--hover);color:var(--theme-btn-danger--color--hover)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):active,:host .btn-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger--border-color--active);background-color:var(--theme-btn-danger--background--active);color:var(--theme-btn-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger.disabled,:host(.disabled) .btn-danger:disabled{pointer-events:none;border-color:var(--theme-btn-danger--border-color--disabled);background-color:var(--theme-btn-danger--background--disabled);color:var(--theme-btn-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger--color--disabled)}:host .btn-outline-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-danger,:host .btn-outline-danger.focus,:host .btn-outline-danger:focus-visible{background-color:var(--theme-btn-outline-danger--background);color:var(--theme-btn-outline-danger--color);--ix-button-color:var(--theme-btn-outline-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-danger--border-color);border-style:solid}:host .btn-outline-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):active,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):hover,:host .btn-outline-danger:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-danger--border-color--hover);background-color:var(--theme-btn-outline-danger--background--hover);color:var(--theme-btn-outline-danger--color--hover)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):active,:host .btn-outline-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-danger--border-color--active);background-color:var(--theme-btn-outline-danger--background--active);color:var(--theme-btn-outline-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-danger.disabled,:host(.disabled) .btn-outline-danger:disabled{pointer-events:none;border-color:var(--theme-btn-outline-danger--border-color--disabled);background-color:var(--theme-btn-outline-danger--background--disabled);color:var(--theme-btn-outline-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-danger--color--disabled)}:host .btn-invisible-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-danger,:host .btn-invisible-danger.focus,:host .btn-invisible-danger:focus-visible{background-color:var(--theme-btn-invisible-danger--background);color:var(--theme-btn-invisible-danger--color);--ix-button-color:var(--theme-btn-invisible-danger--color);border-color:transparent}:host .btn-invisible-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):hover,:host .btn-invisible-danger:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-danger--background--hover);color:var(--theme-btn-invisible-danger--color--hover)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):active,:host .btn-invisible-danger:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-danger--background--active);color:var(--theme-btn-invisible-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-danger.disabled,:host(.disabled) .btn-invisible-danger:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-danger--background--disabled);color:var(--theme-btn-invisible-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-danger--color--disabled)}:host .btn-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{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:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}: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-color-ghost--selected-hover);color:var(--theme-color-dynamic)}: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-color-ghost--selected-active);color:var(--theme-color-dynamic)}: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-outline-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-primary,:host .btn-outline-primary.focus,:host .btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}:host .btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):hover,:host .btn-outline-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):active,:host .btn-outline-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-primary.disabled,:host(.disabled) .btn-outline-primary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}:host .btn-invisible-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-primary,:host .btn-invisible-primary.focus,:host .btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}:host .btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):hover,:host .btn-invisible-primary:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):active,:host .btn-invisible-primary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-primary.disabled,:host(.disabled) .btn-invisible-primary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}:host .btn-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{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:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}: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-color-ghost--selected-hover);color:var(--theme-color-dynamic)}: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-color-ghost--selected-active);color:var(--theme-color-dynamic)}: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-outline-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-secondary,:host .btn-outline-secondary.focus,:host .btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}:host .btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):hover,:host .btn-outline-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):active,:host .btn-outline-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-secondary.disabled,:host(.disabled) .btn-outline-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}:host .btn-invisible-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-secondary,:host .btn-invisible-secondary.focus,:host .btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}:host .btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):hover,:host .btn-invisible-secondary:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-secondary.disabled,:host(.disabled) .btn-invisible-secondary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}:host{min-width:5rem}";const i=class{constructor(o){e(this,o);this.variant="primary";this.outline=false;this.ghost=false;this.disabled=false;this.type="button";this.loading=false;this.alignment="center";this.iconSize="24"}handleClick(e){if(this.disabled||this.loading){e.stopPropagation();e.preventDefault()}}componentDidLoad(){if(this.type!=="submit"){return}const e=document.createElement("button");e.style.display="none";e.type="submit";e.tabIndex=-1;if(this.form){e.setAttribute("form",this.form)}this.hostElement.appendChild(e);this.submitButtonElement=e}handleFormChange(e){if(this.submitButtonElement){if(e){this.submitButtonElement.setAttribute("form",e)}else{this.submitButtonElement.removeAttribute("form")}}}componentDidRender(){if(this.submitButtonElement&&!this.hostElement.contains(this.submitButtonElement)){this.hostElement.appendChild(this.submitButtonElement)}}dispatchFormEvents(){if(this.type==="submit"&&this.submitButtonElement&&!this.disabled&&!this.loading){this.submitButtonElement.click()}}setFocus(){var e;(e=this.hostElement.shadowRoot.querySelector("button"))===null||e===void 0?void 0:e.focus()}render(){const e={variant:this.variant,outline:this.outline,ghost:this.ghost,iconOnly:false,iconOval:false,selected:false,disabled:this.disabled||this.loading,icon:this.icon,iconSize:this.iconSize,loading:this.loading,onClick:()=>this.dispatchFormEvents(),type:this.type,alignment:this.alignment,tabIndex:this.hostElement.tabIndex};return o(t,{key:"64d29a9ba0f84b7777d2987a457bc9a89273ad8c",tabindex:this.disabled?-1:0,class:{disabled:this.disabled||this.loading},onFocus:()=>this.setFocus()},o(n,Object.assign({key:"978c4d1d3092d2e7b626bb7981f2ccdf9dcf0aae"},e),o("slot",{key:"2bc104087f439ff5f68715aafefb65dad9d170d6"})))}get hostElement(){return r(this)}static get watchers(){return{form:["handleFormChange"]}}};i.style=d;export{i as ix_button};
2
+ //# sourceMappingURL=p-8fcada5a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,d as o,h as i,F as r,H as s,a}from"./p-B6NtGPRE.js";import{g as n,d as l}from"./p-DLTnniMb.js";import{s as h}from"./p-DH2uzaCC.js";import{a as c}from"./p-CyFFBc_G.js";import{a as d,A as p}from"./p--2LOMK-5.js";import{m}from"./p-DDHkNPby.js";import{h as b}from"./p-i60z1FJC.js";import"./p-Dp15M30K.js";import"./p-BxQZld1q.js";import"./p-BdCnOrqW.js";import"./p-D6vSVaHq.js";const u=":host{display:flex;align-items:flex-end;flex-wrap:nowrap;position:relative;width:100%;height:calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));min-height:calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));padding-top:0;padding-right:calc(1rem + var(--ix-safe-area-inset-right, 0rem));padding-bottom:0.3rem;padding-left:calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);z-index:var(--theme-z-index-fixed)}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .app-switch{margin-right:1rem}:host .name{overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;text-wrap:nowrap;max-width:50%;margin-left:1.5rem;margin-right:2.5rem;margin-bottom:0.25rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color);margin-left:0.375rem}:host .content{display:flex;position:relative;flex-direction:row;margin-left:auto;margin-right:0px}:host .dropdown{overflow:visible}:host .dropdown-content{padding:1rem}:host .context-menu{display:none}:host .context-menu.context-menu-visible{display:block}@media only screen and (max-width: 48em){:host .logo{display:none}}:host ::slotted(ix-avatar){margin-left:1rem}:host(.breakpoint-sm) .logo{margin-left:0.5rem}";const f=class{constructor(o){t(this,o);this.menuToggle=e(this,"menuToggle",7);this.openAppSwitch=e(this,"openAppSwitch",7);this.showMenu=false;this.breakpoint="lg";this.menuExpanded=false;this.suppressResponsive=false;this.hasSlottedElements=false}get contentBackground(){return this.hostElement.shadowRoot.querySelector(".dropdown-content")}componentWillLoad(){d(this.hostElement,p,(t=>{if((t===null||t===void 0?void 0:t.host)==="map-navigation"){this.suppressResponsive=true;this.breakpoint="md";return}this.breakpoint=c.breakpoint;this.applicationLayoutContext=t;this.tryUpdateAppSwitch()}),true);this.menuDisposable=m.expandChange.on((t=>{this.menuExpanded=t}));this.modeDisposable=c.onChange.on((t=>{if(this.suppressResponsive){return}this.breakpoint=t}));this.updateIsSlottedContent()}componentDidLoad(){this.attachSiemensLogoIfLoaded()}disconnectedCallback(){var t,e;(t=this.menuDisposable)===null||t===void 0?void 0:t.dispose();(e=this.modeDisposable)===null||e===void 0?void 0:e.dispose()}watchApplicationLayoutContext(){if(this.applicationLayoutContext){this.showMenu=false}}watchSuppressResponsive(){this.breakpoint="md"}isLogoSlotted(){const t=this.hostElement.shadowRoot.querySelector('slot[name="logo"]');const e=t.assignedNodes({flatten:true});return e.length!==0}attachSiemensLogoIfLoaded(){var t;const e=document.createElement("ix-siemens-logo");if(!this.isLogoSlotted()){(t=this.hostElement.shadowRoot.querySelector(".logo"))===null||t===void 0?void 0:t.appendChild(e)}}async onMenuClick(){if(this.applicationLayoutContext){m.toggle()}else{this.menuExpanded=!this.menuExpanded}this.menuToggle.emit(this.menuExpanded)}resolveContextMenuButton(){return new Promise((t=>o((()=>t(this.hostElement.shadowRoot.querySelector("[data-context-menu]"))))))}tryUpdateAppSwitch(){var t,e;if(!this.callbackUpdateAppSwitchModal||!((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)){return}this.callbackUpdateAppSwitchModal((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}async showAppSwitch(){var t,e;const{defaultPrevented:o}=this.openAppSwitch.emit();if(o){return}if(!((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)){return}this.callbackUpdateAppSwitchModal=await h((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}updateIsSlottedContent(){const t=this.hostElement.shadowRoot.querySelector(".content slot");this.hasSlottedElements=b(t)}onContentBgClick(t){if(t.target===this.contentBackground){t.preventDefault()}}render(){var t;const e=!!this.applicationLayoutContext;const o=this.breakpoint==="sm"&&this.suppressResponsive===false&&e;const a=((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)&&this.breakpoint!=="sm"&&this.suppressResponsive===false;return i(s,{key:"161dbff622210f5b288625a53930cd47d391e905",class:{[`breakpoint-${this.breakpoint}`]:true},slot:"application-header"},(this.showMenu||o)&&i("ix-menu-expand-icon",{key:"ebf7cf5c1738f876e5861148fc91e1e3134d70ac",onClick:()=>this.onMenuClick(),expanded:this.menuExpanded}),a&&i("ix-icon-button",{key:"bea36c9c158182230035a7bc28dfbe8779b53b4f",onClick:()=>this.showAppSwitch(),icon:l,ghost:true,class:"app-switch"}),i("div",{key:"31b39b17e59c0b20f054d6c2777968d8e0d6ee89",class:{logo:true}},i("slot",{key:"7c393c6bbbb75afa821f1e354bb90ec93a6b141b",name:"logo"})),i("ix-typography",{key:"79fa346430a1e6ba9ca0a49f16605438aefcf7e7",format:"body-lg",class:"name"},this.name),i("div",{key:"e7b337e340bb657178f1f25e7b22dfb050b101b8",class:"content"},this.breakpoint==="sm"?i(r,null,i("ix-icon-button",{class:{["context-menu"]:true,["context-menu-visible"]:this.hasSlottedElements},"data-context-menu":true,"data-testid":"show-more",icon:n,ghost:true}),i("ix-dropdown",{"data-overflow-dropdown":true,class:"dropdown",discoverAllSubmenus:true,trigger:this.resolveContextMenuButton()},i("div",{class:"dropdown-content",onClick:t=>this.onContentBgClick(t)},i("slot",{onSlotchange:()=>this.updateIsSlottedContent()})))):i("slot",{onSlotchange:()=>this.updateIsSlottedContent()}),i("slot",{key:"5f4cbe691db23a5be718078b888d58cca5c0e92a",name:"ix-application-header-avatar"})))}get hostElement(){return a(this)}static get watchers(){return{applicationLayoutContext:["watchApplicationLayoutContext"],suppressResponsive:["watchSuppressResponsive"]}}};f.style=u;export{f as ix_application_header};
2
- //# sourceMappingURL=p-96c0acb2.entry.js.map
1
+ import{r as t,c as e,d as o,h as i,F as r,H as s,a}from"./p-DJsXFBNm.js";import{g as n,d as l}from"./p-DLTnniMb.js";import{s as h}from"./p-DH2uzaCC.js";import{a as d}from"./p-CyFFBc_G.js";import{a as c,A as p}from"./p--2LOMK-5.js";import{m}from"./p-DDHkNPby.js";import{h as f}from"./p-i60z1FJC.js";import"./p-Dp15M30K.js";import"./p-BxQZld1q.js";import"./p-BdCnOrqW.js";import"./p-D6vSVaHq.js";const b=":host{display:flex;align-items:flex-end;flex-wrap:nowrap;position:relative;width:100%;height:calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));min-height:calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));padding-top:0;padding-right:calc(1rem + var(--ix-safe-area-inset-right, 0rem));padding-bottom:0.3rem;padding-left:calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color);z-index:var(--theme-z-index-fixed)}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .app-switch{margin-right:1rem}:host .name{overflow:hidden;overflow-wrap:anywhere;text-overflow:ellipsis;text-wrap:nowrap;max-width:50%;margin-left:1.5rem;margin-right:2.5rem;margin-bottom:0.25rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color);margin-left:0.375rem}:host .content{display:flex;position:relative;flex-direction:row;margin-left:auto;margin-right:0px}:host .dropdown{overflow:visible}:host .dropdown-content{padding:1rem}:host .context-menu{display:none}:host .context-menu.context-menu-visible{display:block}@media only screen and (max-width: 48em){:host .logo{display:none}}:host ::slotted(ix-avatar){margin-left:1rem}:host(.breakpoint-sm) .logo{margin-left:0.5rem}";const u=class{constructor(o){t(this,o);this.menuToggle=e(this,"menuToggle",7);this.openAppSwitch=e(this,"openAppSwitch",7);this.showMenu=false;this.breakpoint="lg";this.menuExpanded=false;this.suppressResponsive=false;this.hasSlottedElements=false}get contentBackground(){return this.hostElement.shadowRoot.querySelector(".dropdown-content")}componentWillLoad(){c(this.hostElement,p,(t=>{if((t===null||t===void 0?void 0:t.host)==="map-navigation"){this.suppressResponsive=true;this.breakpoint="md";return}this.breakpoint=d.breakpoint;this.applicationLayoutContext=t;this.tryUpdateAppSwitch()}),true);this.menuDisposable=m.expandChange.on((t=>{this.menuExpanded=t}));this.modeDisposable=d.onChange.on((t=>{if(this.suppressResponsive){return}this.breakpoint=t}));this.updateIsSlottedContent()}componentDidLoad(){this.attachSiemensLogoIfLoaded()}disconnectedCallback(){var t,e;(t=this.menuDisposable)===null||t===void 0?void 0:t.dispose();(e=this.modeDisposable)===null||e===void 0?void 0:e.dispose()}watchApplicationLayoutContext(){if(this.applicationLayoutContext){this.showMenu=false}}watchSuppressResponsive(){this.breakpoint="md"}isLogoSlotted(){const t=this.hostElement.shadowRoot.querySelector('slot[name="logo"]');const e=t.assignedNodes({flatten:true});return e.length!==0}attachSiemensLogoIfLoaded(){var t;const e=document.createElement("ix-siemens-logo");if(!this.isLogoSlotted()){(t=this.hostElement.shadowRoot.querySelector(".logo"))===null||t===void 0?void 0:t.appendChild(e)}}async onMenuClick(){if(this.applicationLayoutContext){m.toggle()}else{this.menuExpanded=!this.menuExpanded}this.menuToggle.emit(this.menuExpanded)}resolveContextMenuButton(){return new Promise((t=>o((()=>t(this.hostElement.shadowRoot.querySelector("[data-context-menu]"))))))}tryUpdateAppSwitch(){var t,e;if(!this.callbackUpdateAppSwitchModal||!((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)){return}this.callbackUpdateAppSwitchModal((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}async showAppSwitch(){var t,e;const{defaultPrevented:o}=this.openAppSwitch.emit();if(o){return}if(!((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)){return}this.callbackUpdateAppSwitchModal=await h((e=this.applicationLayoutContext)===null||e===void 0?void 0:e.appSwitchConfig)}updateIsSlottedContent(){const t=this.hostElement.shadowRoot.querySelector(".content slot");this.hasSlottedElements=f(t)}onContentBgClick(t){if(t.target===this.contentBackground){t.preventDefault()}}render(){var t;const e=!!this.applicationLayoutContext;const o=this.breakpoint==="sm"&&this.suppressResponsive===false&&e;const a=((t=this.applicationLayoutContext)===null||t===void 0?void 0:t.appSwitchConfig)&&this.breakpoint!=="sm"&&this.suppressResponsive===false;return i(s,{key:"ea35fc68c2e1908c7f54d34f5b2a6d40e1ff6848",class:{[`breakpoint-${this.breakpoint}`]:true},slot:"application-header"},(this.showMenu||o)&&i("ix-menu-expand-icon",{key:"23c6315c2dc9fc2bc508f756299303a9ee38d43d",onClick:()=>this.onMenuClick(),expanded:this.menuExpanded}),a&&i("ix-icon-button",{key:"4fa7d4883123f64a1a9d6305195f6f16117bf3df",onClick:()=>this.showAppSwitch(),icon:l,ghost:true,class:"app-switch"}),i("div",{key:"855a8032a50adf8029e926633b5bc35f686344fa",class:{logo:true}},i("slot",{key:"5dbf947fdeb4d5faefa7746f6f49ba40f2a4b43d",name:"logo"})),i("ix-typography",{key:"75055f9bff04a6dc5703b6126204d8ca172b586d",format:"body-lg",class:"name"},this.name),i("div",{key:"df59f3d7bdcbb43461f88564b59f0e3d913686a9",class:"content"},this.breakpoint==="sm"?i(r,null,i("ix-icon-button",{class:{["context-menu"]:true,["context-menu-visible"]:this.hasSlottedElements},"data-context-menu":true,"data-testid":"show-more",icon:n,ghost:true}),i("ix-dropdown",{"data-overflow-dropdown":true,class:"dropdown",discoverAllSubmenus:true,trigger:this.resolveContextMenuButton()},i("div",{class:"dropdown-content",onClick:t=>this.onContentBgClick(t)},i("slot",{onSlotchange:()=>this.updateIsSlottedContent()})))):i("slot",{onSlotchange:()=>this.updateIsSlottedContent()}),i("slot",{key:"257f20905871e368edcfceb9bef84a843df457ed",name:"ix-application-header-avatar"})))}get hostElement(){return a(this)}static get watchers(){return{applicationLayoutContext:["watchApplicationLayoutContext"],suppressResponsive:["watchSuppressResponsive"]}}};u.style=b;export{u as ix_application_header};
2
+ //# sourceMappingURL=p-91ba2527.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as s,h as t,H as e}from"./p-DJsXFBNm.js";const o=":host{display:block;position:relative}:host ::slotted(*){height:100%;width:100%}";const d=class{constructor(t){s(this,t)}render(){const s={};s["grid-area"]=this.itemName;return t(e,{key:"a6516c0d4de0a1dddd6860e69930262064b91f2a",style:s},t("slot",{key:"4f536059b653610e8a04fffd43aebf63e9554fc2"}))}};d.style=o;export{d as ix_css_grid_item};
2
+ //# sourceMappingURL=p-97693d72.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i,a as s}from"./p-B6NtGPRE.js";import{c as o,a,s as r,o as n,b as l,f as c,h}from"./p-CAqtPJ4-.js";import{r as d}from"./p-CFRrPFxi.js";import{m as f}from"./p-bcj7UEIC.js";import{b as m}from"./p-CKoABG1h.js";const u='.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:100%;background:var(--theme-tootlip--background);color:var(--theme-color-std-text);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4);border-radius:0.25rem}.content-wrapper{overflow:auto}.tooltip-title{display:flex;align-items:center}.tooltip-title ::slotted(ix-icon){margin-right:0.35rem}.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)}';const p=t=>t!==null?`${t}px`:"";let b=0;const v=class{constructor(e){t(this,e);this.interactive=false;this.placement="top";this.showDelay=0;this.hideDelay=50;this.animationFrame=false;this.visible=false;this.instance=b++;this.dialogRef=f()}get arrowElement(){return this.hostElement.shadowRoot.querySelector(".arrow")}async showTooltip(t){this.clearTimeouts();if(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){this.clearTimeouts();if(this.hideTooltipTimeout||!this.visible){return}if(this.interactive&&t===50){t=150}const e=await this.dialogRef.waitForCurrent();this.hideTooltipTimeout=setTimeout((()=>{var t,i;this.setAnchorElement();e.hidePopover();(t=this.disposeAutoUpdate)===null||t===void 0?void 0:t.call(this);(i=this.disposeTooltipListener)===null||i===void 0?void 0:i.call(this)}),t)}setAnchorElement(t){if(!t){this.visibleFor=undefined;this.visible=false}else{this.visibleFor=t;this.visible=true}}computeArrowPosition({placement:t,middlewareData:e}){let{x:i,y:s}=e.arrow;const o={top:"unset",right:"unset",bottom:"unset",left:"unset"};if(t.startsWith("top")){return Object.assign(Object.assign({},o),{left:p(i),top:p(s)})}if(t.startsWith("right")){return Object.assign(Object.assign({},o),{left:p(-6),top:p(s)})}if(t.startsWith("bottom")){return Object.assign(Object.assign({},o),{left:p(i),top:p(-6)})}if(t.startsWith("left")){return Object.assign(Object.assign({},o),{right:p(-6),top:p(s)})}}async computeTooltipPosition(t,e){return o(t,e,{strategy:"fixed",placement:this.placement,middleware:[r(),n(12),l({element:this.arrowElement}),c({fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"end",padding:10}),h()]})}applyTooltipArrowPosition(t){const e=this.computeArrowPosition(t);Object.assign(this.arrowElement.style,e)}async applyTooltipPosition(t,e){if(!t){return}return new Promise((i=>{var s;(s=this.disposeAutoUpdate)===null||s===void 0?void 0:s.call(this);this.disposeAutoUpdate=a(t,e,(async()=>{var s;const o=await this.computeTooltipPosition(t,e);const a=(s=o.middlewareData.hide)===null||s===void 0?void 0:s.referenceHidden;if(a){this.hideTooltip(0);i(o)}if(o.middlewareData.arrow){this.applyTooltipArrowPosition(o)}const{x:r,y:n}=o;Object.assign(e.style,{left:p(r),top:p(n)});i(o)}),{ancestorResize:true,ancestorScroll:true,elementResize:true,animationFrame:this.animationFrame})}))}async queryAnchorElements(){if(this.for){if(Array.isArray(this.for)){return this.resolveElements(this.for)}else{return this.resolveElements([this.for])}}}async resolveElements(t){const e=[];await Promise.all(t.map((async t=>{if(typeof t==="string"){const i=await d(t,this.hostElement);if(i){e.push(...i)}}else if(t instanceof HTMLElement){e.push(t)}else if(t instanceof Promise){e.push(await t)}})));return e}async registerTriggerListener(){var t;(t=this.disposeTriggerListener)===null||t===void 0?void 0:t.call(this);const e=await this.queryAnchorElements();if(!e){return}const i=[];e.forEach((t=>{i.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=m(i)}registerTooltipListener(t){var e;(e=this.disposeTooltipListener)===null||e===void 0?void 0:e.call(this);this.disposeTooltipListener=m([{element:t,eventType:"mouseenter",callback:()=>{if(this.interactive){this.clearHideTimeout()}}},{element:t,eventType:"focus",callback:()=>{if(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=>{if(t.key==="Escape"){this.hideTooltip()}}}])}registerDomChangeListener(){const t=new MutationObserver((()=>{this.registerTriggerListener()}));t.observe(document.body,{attributes:true,attributeFilter:["data-ix-tooltip"],childList:true,subtree:true});this.disposeDomChangeListener=()=>{t.disconnect()}}clearHideTimeout(){clearTimeout(this.hideTooltipTimeout);this.hideTooltipTimeout=undefined}clearShowTimeout(){clearTimeout(this.showTooltipTimeout);this.showTooltipTimeout=undefined}clearTimeouts(){this.clearHideTimeout();this.clearShowTimeout()}componentWillLoad(){this.registerTriggerListener()}componentDidLoad(){this.registerDomChangeListener()}disconnectedCallback(){var t,e,i,s;this.clearTimeouts();(t=this.disposeAutoUpdate)===null||t===void 0?void 0:t.call(this);(e=this.disposeTriggerListener)===null||e===void 0?void 0:e.call(this);(i=this.disposeTooltipListener)===null||i===void 0?void 0:i.call(this);(s=this.disposeDomChangeListener)===null||s===void 0?void 0:s.call(this)}render(){return e(i,{key:"c429f102fd357706ea6c8b6423060e5b4c37cca3",role:"tooltip",class:{visible:this.visible}},e("dialog",{key:"e6bd5c88e9a421bdc5f00ffe6797456da357806e",ref:this.dialogRef,id:"tooltip-"+this.instance,class:"dialog",popover:"manual",inert:!this.visible},e("div",{key:"219d530872489cf052505902a274ac6cf0720a6d",class:"tooltip-container"},e("div",{key:"5ba0452505850843cc59d00574472b1c693a0198",class:"content-wrapper"},e("div",{key:"ec8d43087983cbfdd0352d8ef7e5663010fcda63",class:"tooltip-title"},e("slot",{key:"4b7250e1f753e136ae2c5934f060dabfcc619cde",name:"title-icon"}),e("ix-typography",{key:"8d01d69dc4f220d40c54fa966461a5f34f434307",format:"h5"},this.titleContent,e("slot",{key:"ea8d9fe0248900946d8cdac1035c9bcde5ad7324",name:"title-content"}))),e("slot",{key:"ac40d0f73bc33f92ecaed141dc16fd69ae0dd20d"}),e("div",{key:"a6997736c0ee33b102af1b2b8e887fc9a6061c2e",class:"arrow"})))))}get hostElement(){return s(this)}};v.style=u;export{v as ix_tooltip};
2
- //# sourceMappingURL=p-29eb0f3c.entry.js.map
1
+ import{r as t,h as e,H as i,a as s}from"./p-DJsXFBNm.js";import{c as o,a,s as r,o as n,b as l,f as c,h}from"./p-CAqtPJ4-.js";import{r as d}from"./p-CFRrPFxi.js";import{m as b}from"./p-bcj7UEIC.js";import{b as f}from"./p-CKoABG1h.js";const m='.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:100%;background:var(--theme-tootlip--background);color:var(--theme-color-std-text);padding:0.375rem 0.75rem 0.375rem 0.875rem;box-shadow:var(--theme-shadow-4);border-radius:0.25rem}.content-wrapper{overflow:auto}.tooltip-title{display:flex;align-items:center}.tooltip-title ::slotted(ix-icon){margin-right:0.35rem}.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)}';const u=t=>t!==null?`${t}px`:"";let p=0;const v=class{constructor(e){t(this,e);this.interactive=false;this.placement="top";this.showDelay=0;this.hideDelay=50;this.animationFrame=false;this.visible=false;this.instance=p++;this.dialogRef=b()}get arrowElement(){return this.hostElement.shadowRoot.querySelector(".arrow")}async showTooltip(t){this.clearTimeouts();if(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){this.clearTimeouts();if(this.hideTooltipTimeout||!this.visible){return}if(this.interactive&&t===50){t=150}const e=await this.dialogRef.waitForCurrent();this.hideTooltipTimeout=setTimeout((()=>{var t,i;this.setAnchorElement();e.hidePopover();(t=this.disposeAutoUpdate)===null||t===void 0?void 0:t.call(this);(i=this.disposeTooltipListener)===null||i===void 0?void 0:i.call(this)}),t)}setAnchorElement(t){if(!t){this.visibleFor=undefined;this.visible=false}else{this.visibleFor=t;this.visible=true}}computeArrowPosition({placement:t,middlewareData:e}){let{x:i,y:s}=e.arrow;const o={top:"unset",right:"unset",bottom:"unset",left:"unset"};if(t.startsWith("top")){return Object.assign(Object.assign({},o),{left:u(i),top:u(s)})}if(t.startsWith("right")){return Object.assign(Object.assign({},o),{left:u(-6),top:u(s)})}if(t.startsWith("bottom")){return Object.assign(Object.assign({},o),{left:u(i),top:u(-6)})}if(t.startsWith("left")){return Object.assign(Object.assign({},o),{right:u(-6),top:u(s)})}}async computeTooltipPosition(t,e){return o(t,e,{strategy:"fixed",placement:this.placement,middleware:[r(),n(12),l({element:this.arrowElement}),c({fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"end",padding:10}),h()]})}applyTooltipArrowPosition(t){const e=this.computeArrowPosition(t);Object.assign(this.arrowElement.style,e)}async applyTooltipPosition(t,e){if(!t){return}return new Promise((i=>{var s;(s=this.disposeAutoUpdate)===null||s===void 0?void 0:s.call(this);this.disposeAutoUpdate=a(t,e,(async()=>{var s;const o=await this.computeTooltipPosition(t,e);const a=(s=o.middlewareData.hide)===null||s===void 0?void 0:s.referenceHidden;if(a){this.hideTooltip(0);i(o)}if(o.middlewareData.arrow){this.applyTooltipArrowPosition(o)}const{x:r,y:n}=o;Object.assign(e.style,{left:u(r),top:u(n)});i(o)}),{ancestorResize:true,ancestorScroll:true,elementResize:true,animationFrame:this.animationFrame})}))}async queryAnchorElements(){if(this.for){if(Array.isArray(this.for)){return this.resolveElements(this.for)}else{return this.resolveElements([this.for])}}}async resolveElements(t){const e=[];await Promise.all(t.map((async t=>{if(typeof t==="string"){const i=await d(t,this.hostElement);if(i){e.push(...i)}}else if(t instanceof HTMLElement){e.push(t)}else if(t instanceof Promise){e.push(await t)}})));return e}async registerTriggerListener(){var t;(t=this.disposeTriggerListener)===null||t===void 0?void 0:t.call(this);const e=await this.queryAnchorElements();if(!e){return}const i=[];e.forEach((t=>{i.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(i)}registerTooltipListener(t){var e;(e=this.disposeTooltipListener)===null||e===void 0?void 0:e.call(this);this.disposeTooltipListener=f([{element:t,eventType:"mouseenter",callback:()=>{if(this.interactive){this.clearHideTimeout()}}},{element:t,eventType:"focus",callback:()=>{if(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=>{if(t.key==="Escape"){this.hideTooltip()}}}])}registerDomChangeListener(){const t=new MutationObserver((()=>{this.registerTriggerListener()}));t.observe(document.body,{attributes:true,attributeFilter:["data-ix-tooltip"],childList:true,subtree:true});this.disposeDomChangeListener=()=>{t.disconnect()}}clearHideTimeout(){clearTimeout(this.hideTooltipTimeout);this.hideTooltipTimeout=undefined}clearShowTimeout(){clearTimeout(this.showTooltipTimeout);this.showTooltipTimeout=undefined}clearTimeouts(){this.clearHideTimeout();this.clearShowTimeout()}componentWillLoad(){this.registerTriggerListener()}componentDidLoad(){this.registerDomChangeListener()}disconnectedCallback(){var t,e,i,s;this.clearTimeouts();(t=this.disposeAutoUpdate)===null||t===void 0?void 0:t.call(this);(e=this.disposeTriggerListener)===null||e===void 0?void 0:e.call(this);(i=this.disposeTooltipListener)===null||i===void 0?void 0:i.call(this);(s=this.disposeDomChangeListener)===null||s===void 0?void 0:s.call(this)}render(){return e(i,{key:"5babe56b183883f587a41524d26f8b520b26bcef",role:"tooltip",class:{visible:this.visible}},e("dialog",{key:"7b5474a818df18c5bba0ba28ff2773b511d4cb97",ref:this.dialogRef,id:"tooltip-"+this.instance,class:"dialog",popover:"manual",inert:!this.visible},e("div",{key:"367bf6d5097a22a54ec7527096da58a02c5b3700",class:"tooltip-container"},e("div",{key:"781f6c63f9801026a3c93f950aca03b18f73ac3b",class:"content-wrapper"},e("div",{key:"a49b3d1172ef407a37793877fb34c90716b072a0",class:"tooltip-title"},e("slot",{key:"fc4be17999ecc4edb1784c40e5e8b1f04c34a225",name:"title-icon"}),e("ix-typography",{key:"20d10a9c36108b6d88f1fe4ce480f8cbf58b317b",format:"h5"},this.titleContent,e("slot",{key:"368c9358546fd6e652043319b00986d467b09bde",name:"title-content"}))),e("slot",{key:"b4f21e40aee222a73c5c43503bbd15c1beb73c57"}),e("div",{key:"4c4eeb5fa43f5f66719b7d1641372783ae7f692b",class:"arrow"})))))}get hostElement(){return s(this)}};v.style=m;export{v as ix_tooltip};
2
+ //# sourceMappingURL=p-97a53af6.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r,h as o,H as t,c as a,a as e}from"./p-DJsXFBNm.js";import{a as s}from"./p-i60z1FJC.js";import{p as c}from"./p-DLTnniMb.js";const l=":host{display:block;position:relative;overflow:auto;padding:0 0.5rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}";const b=class{constructor(o){r(this,o)}render(){return o(t,{key:"2bde588bad49f46f6975296eff9eca9606a93a50"},o("slot",{key:"7a933c03c2c1a6558f050cd02759ef7816f225a9"}))}};b.style=l;const i=":host{display:flex;padding:0.5rem 0 0.5rem 0.5rem;align-items:center;gap:1rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .modal-title{flex-grow:1}:host .modal-close{align-self:flex-start}";const h=class{constructor(o){r(this,o);this.closeClick=a(this,"closeClick",7);this.hideClose=false}onIconChange(r){if(this.parentDialog){if(r){this.parentDialog.classList.add("with-icon")}else{this.parentDialog.classList.remove("with-icon")}}}componentDidLoad(){this.parentDialog=s(this.hostElement,"ix-modal");this.onIconChange(this.icon)}onCloseClick(r){const o=this.closeClick.emit(r);if(o.defaultPrevented||r.defaultPrevented){return}this.parentDialog.dismissModal()}render(){return o(t,{key:"d9e6d78a14a90dc7d90ddcc53d7319655df4cc73"},this.icon?o("ix-icon",{name:this.icon,color:this.iconColor,size:"32"}):null,o("div",{key:"0987c59bd84c59e01283d389730a09c993d11ccd",class:"modal-title"},o("ix-typography",{key:"41acad668a08d2c6bcf8f9a3d5b56768798c7ce3",format:"h5"},o("slot",{key:"1533cecaf059d5bae7ba488a177457244552e9c1"}))),!this.hideClose?o("ix-icon-button",{class:"modal-close",onClick:r=>this.onCloseClick(r),ghost:true,icon:c}):null)}get hostElement(){return e(this)}static get watchers(){return{icon:["onIconChange"]}}};h.style=i;export{b as ix_modal_content,h as ix_modal_header};
2
+ //# sourceMappingURL=p-981dae13.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["modalContentCss","ModalContent","render","h","Host","key","modalHeaderCss","ModalHeader","constructor","hostRef","this","hideClose","onIconChange","icon","parentDialog","classList","add","remove","componentDidLoad","closestPassShadow","hostElement","onCloseClick","event","ce","closeClick","emit","defaultPrevented","dismissModal","name","color","iconColor","size","class","format","onClick","ghost","iconClose"],"sources":["src/components/modal-content/modal-content.scss?tag=ix-modal-content&encapsulation=shadow","src/components/modal-content/modal-content.tsx","src/components/modal-header/modal-header.scss?tag=ix-modal-header&encapsulation=shadow","src/components/modal-header/modal-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n overflow: auto;\n padding: 0 0.5rem 0.5rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'ix-modal-content',\n styleUrl: 'modal-content.scss',\n shadow: true,\n})\nexport class ModalContent {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n padding: 0.5rem 0 0.5rem 0.5rem;\n align-items: center;\n gap: 1rem;\n\n .modal-title {\n flex-grow: 1;\n }\n\n .modal-close {\n align-self: flex-start;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { closestPassShadow } from '../utils/shadow-dom';\nimport { iconClose } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-modal-header',\n styleUrl: 'modal-header.scss',\n shadow: true,\n})\nexport class ModalHeader {\n @Element() hostElement!: HTMLIxModalHeaderElement;\n\n /**\n * Hide the close button\n */\n @Prop() hideClose = false;\n\n /**\n * Icon of the Header\n */\n @Prop() icon?: string;\n\n @Watch('icon')\n onIconChange(icon?: string) {\n if (this.parentDialog) {\n if (icon) {\n this.parentDialog.classList.add('with-icon');\n } else {\n this.parentDialog.classList.remove('with-icon');\n }\n }\n }\n\n /**\n * Icon color\n */\n @Prop() iconColor?: string;\n\n /**\n * Emits when close icon is clicked and closes the modal\n * Can be prevented, in which case only the event is triggered, and the modal remains open\n */\n @Event() closeClick!: EventEmitter<MouseEvent>;\n\n private parentDialog!: HTMLIxModalElement;\n\n componentDidLoad() {\n this.parentDialog = closestPassShadow(\n this.hostElement,\n 'ix-modal'\n ) as HTMLIxModalElement;\n this.onIconChange(this.icon);\n }\n\n private onCloseClick(event: MouseEvent) {\n const ce = this.closeClick.emit(event);\n if (ce.defaultPrevented || event.defaultPrevented) {\n return;\n }\n\n this.parentDialog.dismissModal();\n }\n\n render() {\n return (\n <Host>\n {this.icon ? (\n <ix-icon name={this.icon} color={this.iconColor} size=\"32\"></ix-icon>\n ) : null}\n <div class=\"modal-title\">\n <ix-typography format=\"h5\">\n <slot></slot>\n </ix-typography>\n </div>\n {!this.hideClose ? (\n <ix-icon-button\n class=\"modal-close\"\n onClick={(event) => this.onCloseClick(event)}\n ghost\n icon={iconClose}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"8HAAA,MAAMA,EAAkB,u0B,MCgBXC,EAAY,M,yBACvB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAa,QAAAE,IAAA,6C,aCpBrB,MAAMC,EAAiB,i5B,MC2BVC,EAAW,MALxB,WAAAC,CAAAC,G,iDAWUC,KAASC,UAAG,KAsErB,CA9DC,YAAAC,CAAaC,GACX,GAAIH,KAAKI,aAAc,CACrB,GAAID,EAAM,CACRH,KAAKI,aAAaC,UAAUC,IAAI,Y,KAC3B,CACLN,KAAKI,aAAaC,UAAUE,OAAO,Y,GAkBzC,gBAAAC,GACER,KAAKI,aAAeK,EAClBT,KAAKU,YACL,YAEFV,KAAKE,aAAaF,KAAKG,K,CAGjB,YAAAQ,CAAaC,GACnB,MAAMC,EAAKb,KAAKc,WAAWC,KAAKH,GAChC,GAAIC,EAAGG,kBAAoBJ,EAAMI,iBAAkB,CACjD,M,CAGFhB,KAAKI,aAAaa,c,CAGpB,MAAAzB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFK,KAAKG,KACJV,EAAA,WAASyB,KAAMlB,KAAKG,KAAMgB,MAAOnB,KAAKoB,UAAWC,KAAK,OACpD,KACJ5B,EAAK,OAAAE,IAAA,2CAAA2B,MAAM,eACT7B,EAAe,iBAAAE,IAAA,2CAAA4B,OAAO,MACpB9B,EAAA,QAAAE,IAAA,gDAGFK,KAAKC,UACLR,EAAA,kBACE6B,MAAM,cACNE,QAAUZ,GAAUZ,KAAKW,aAAaC,GACtCa,MAAK,KACLtB,KAAMuB,IAEN,K","ignoreList":[]}
1
+ {"version":3,"names":["modalContentCss","ModalContent","render","h","Host","key","modalHeaderCss","ModalHeader","constructor","hostRef","this","hideClose","onIconChange","icon","parentDialog","classList","add","remove","componentDidLoad","closestPassShadow","hostElement","onCloseClick","event","ce","closeClick","emit","defaultPrevented","dismissModal","name","color","iconColor","size","class","format","onClick","ghost","iconClose"],"sources":["src/components/modal-content/modal-content.scss?tag=ix-modal-content&encapsulation=shadow","src/components/modal-content/modal-content.tsx","src/components/modal-header/modal-header.scss?tag=ix-modal-header&encapsulation=shadow","src/components/modal-header/modal-header.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n overflow: auto;\n padding: 0 0.5rem 0.5rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'ix-modal-content',\n styleUrl: 'modal-content.scss',\n shadow: true,\n})\nexport class ModalContent {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n padding: 0.5rem 0 0.5rem 0.5rem;\n align-items: center;\n gap: 1rem;\n\n .modal-title {\n flex-grow: 1;\n }\n\n .modal-close {\n align-self: flex-start;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { closestPassShadow } from '../utils/shadow-dom';\nimport { iconClose } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-modal-header',\n styleUrl: 'modal-header.scss',\n shadow: true,\n})\nexport class ModalHeader {\n @Element() hostElement!: HTMLIxModalHeaderElement;\n\n /**\n * Hide the close button\n */\n @Prop() hideClose = false;\n\n /**\n * Icon of the Header\n */\n @Prop() icon?: string;\n\n @Watch('icon')\n onIconChange(icon?: string) {\n if (this.parentDialog) {\n if (icon) {\n this.parentDialog.classList.add('with-icon');\n } else {\n this.parentDialog.classList.remove('with-icon');\n }\n }\n }\n\n /**\n * Icon color\n */\n @Prop() iconColor?: string;\n\n /**\n * Emits when close icon is clicked and closes the modal\n * Can be prevented, in which case only the event is triggered, and the modal remains open\n */\n @Event() closeClick!: EventEmitter<MouseEvent>;\n\n private parentDialog!: HTMLIxModalElement;\n\n componentDidLoad() {\n this.parentDialog = closestPassShadow(\n this.hostElement,\n 'ix-modal'\n ) as HTMLIxModalElement;\n this.onIconChange(this.icon);\n }\n\n private onCloseClick(event: MouseEvent) {\n const ce = this.closeClick.emit(event);\n if (ce.defaultPrevented || event.defaultPrevented) {\n return;\n }\n\n this.parentDialog.dismissModal();\n }\n\n render() {\n return (\n <Host>\n {this.icon ? (\n <ix-icon name={this.icon} color={this.iconColor} size=\"32\"></ix-icon>\n ) : null}\n <div class=\"modal-title\">\n <ix-typography format=\"h5\">\n <slot></slot>\n </ix-typography>\n </div>\n {!this.hideClose ? (\n <ix-icon-button\n class=\"modal-close\"\n onClick={(event) => this.onCloseClick(event)}\n ghost\n icon={iconClose}\n ></ix-icon-button>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"mIAAA,MAAMA,EAAkB,u0B,MCgBXC,EAAY,M,yBACvB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAa,QAAAE,IAAA,6C,aCpBrB,MAAMC,EAAiB,i5B,MC2BVC,EAAW,MALxB,WAAAC,CAAAC,G,iDAWUC,KAASC,UAAG,KAsErB,CA9DC,YAAAC,CAAaC,GACX,GAAIH,KAAKI,aAAc,CACrB,GAAID,EAAM,CACRH,KAAKI,aAAaC,UAAUC,IAAI,Y,KAC3B,CACLN,KAAKI,aAAaC,UAAUE,OAAO,Y,GAkBzC,gBAAAC,GACER,KAAKI,aAAeK,EAClBT,KAAKU,YACL,YAEFV,KAAKE,aAAaF,KAAKG,K,CAGjB,YAAAQ,CAAaC,GACnB,MAAMC,EAAKb,KAAKc,WAAWC,KAAKH,GAChC,GAAIC,EAAGG,kBAAoBJ,EAAMI,iBAAkB,CACjD,M,CAGFhB,KAAKI,aAAaa,c,CAGpB,MAAAzB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFK,KAAKG,KACJV,EAAA,WAASyB,KAAMlB,KAAKG,KAAMgB,MAAOnB,KAAKoB,UAAWC,KAAK,OACpD,KACJ5B,EAAK,OAAAE,IAAA,2CAAA2B,MAAM,eACT7B,EAAe,iBAAAE,IAAA,2CAAA4B,OAAO,MACpB9B,EAAA,QAAAE,IAAA,gDAGFK,KAAKC,UACLR,EAAA,kBACE6B,MAAM,cACNE,QAAUZ,GAAUZ,KAAKW,aAAaC,GACtCa,MAAK,KACLtB,KAAMuB,IAEN,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as s,H as e,a as n}from"./p-B6NtGPRE.js";import{r as o}from"./p-UQa1aROL.js";import{d as h}from"./p-D3K9vmFp.js";const r=t=>!Number.isNaN(Number(t));const c=(t,i)=>{t.classList.add(i)};class d{static create(t,i=d.defaultConfig){return new d(t,i)}static mergeStyle(t,i){for(let s in i){if(t.style[s]!==i[s]){t.style[s]=i[s]}}}static getMaxBrowserHeight(){const t=document.createElement("div");const i=document.createElement("div");d.mergeStyle(t,{position:"absolute",height:"1px",opacity:0});d.mergeStyle(i,{height:"1e7px"});t.appendChild(i);document.body.appendChild(t);const s=i.offsetHeight;document.body.removeChild(t);return s}constructor(t,i){this._lastRepaint=null;this._maxElementHeight=d.getMaxBrowserHeight();this.refresh(t,i);const s=this._config;const e=()=>{const t=this._getScrollPosition();const i=this._lastRepaint;this._renderAnimationFrame=window.requestAnimationFrame(e);if(t===i){return}const n=i?t-i:0;if(!i||n<0||n>this._averageHeight){let i=this._renderChunk();this._lastRepaint=t;if(i!==false&&typeof s.afterRender==="function"){s.afterRender()}}};e()}destroy(){window.cancelAnimationFrame(this._renderAnimationFrame)}refresh(t,i=d.defaultConfig){this._config=i;if(!t||t.nodeType!==1){throw new Error("HyperList requires a valid DOM Node container")}this._element=t;const s=this._config;const e=this._scroller||s.scroller||document.createElement(s.scrollerTagName||"tr");if(typeof s.useFragment!=="boolean"){this._config.useFragment=true}if(!s.generate){throw new Error("Missing required `generate` function")}if(!r(s.total)){throw new Error("Invalid required `total` value, expected number")}if(!Array.isArray(s.itemHeight)&&!r(s.itemHeight)){throw new Error(`\n Invalid required \`itemHeight\` value, expected number or array\n `.trim())}else if(r(s.itemHeight)){this._itemHeights=Array(s.total).fill(s.itemHeight)}else{this._itemHeights=[s.itemHeight]}Object.keys(d.defaultConfig).filter((t=>t in s)).forEach((t=>{const i=s[t];const e=r(i);if(i&&typeof i!=="string"&&typeof i!=="number"){let i=`Invalid optional \`${t}\`, expected string or number`;throw new Error(i)}else if(e){s[t]=`${i}px`}}));const n=Boolean(s.horizontal);const o=s[n?"width":"height"];if(o){const t=r(o);const i=t?false:o.slice(-1)==="%";const s=t?parseInt(o,10):parseInt(o.replace(/px|%/,""),10);const e=window[n?"innerWidth":"innerHeight"];if(i){this._containerSize=e*s/100}else{this._containerSize=r(o)?o:s}}const h=s.scrollContainer;const c=s.itemHeight*s.total;const l=this._maxElementHeight;if(c>l){console.warn(["HyperList: The maximum element height",l+"px has","been exceeded; please reduce your item height."].join(" "))}const a={width:`${s.width}`,height:h?`${c}px`:`${s.height}`,overflow:h?"none":"auto",position:"relative"};d.mergeStyle(t,a);if(h){d.mergeStyle(s.scrollContainer,{overflow:"auto"})}const f={opacity:"0",position:"absolute",[n?"height":"width"]:"1px",[n?"width":"height"]:`${c}px`};d.mergeStyle(e,f);if(!this._scroller){t.appendChild(e)}const u=this._computeScrollPadding();this._scrollPaddingBottom=u.bottom;this._scrollPaddingTop=u.top;this._scroller=e;this._scrollHeight=this._computeScrollHeight();this._itemPositions=this._itemPositions||Array(s.total).fill(0);this._computePositions(0);this._renderChunk(this._lastRepaint!==null);if(typeof s.afterRender==="function"){s.afterRender()}}_getRow(t){const i=this._config;let s=i.generate(t);let e=s.height;if(e!==undefined&&r(e)){s=s.element;if(e!==this._itemHeights[t]){this._itemHeights[t]=e;this._computePositions(t);this._scrollHeight=this._computeScrollHeight()}}else{e=this._itemHeights[t]}if(!s||s.nodeType!==1){throw new Error(`Generator did not return a DOM Node for index: ${t}`)}c(s,i.rowClassName||"vrow");const n=this._itemPositions[t]+this._scrollPaddingTop;d.mergeStyle(s,{position:"absolute",[i.horizontal?"left":"top"]:`${n}px`});return s}_getScrollPosition(){const t=this._config;if(typeof t.overrideScrollPosition==="function"){return t.overrideScrollPosition()}return this._element[t.horizontal?"scrollLeft":"scrollTop"]}_renderChunk(t=false){const i=this._config;const s=this._element;const e=this._getScrollPosition();const n=i.total;let o=this._getFrom(e)-1;if(o<0||o-this._screenItemsLen<0){o=0}if(!t&&this._lastFrom===o){return false}this._lastFrom=o;let h=o+this._cachedItemsLen;if(h>n||h+this._cachedItemsLen>n){h=n}const r=i.useFragment?document.createDocumentFragment():[];const c=this._scroller;r[i.useFragment?"appendChild":"push"](c);for(let t=o;t<h;t++){let s=this._getRow(t);r[i.useFragment?"appendChild":"push"](s)}if(i.applyPatch){return i.applyPatch(s,r)}s.innerHTML="";s.appendChild(r)}_computePositions(t=1){const i=this._config;const s=i.total;if(t<1){t=1}for(let i=t;i<s;i++){this._itemPositions[i]=this._itemHeights[i-1]+this._itemPositions[i-1]}}_computeScrollHeight(){const t=this._config;const i=Boolean(t.horizontal);const s=t.total;const e=this._itemHeights.reduce(((t,i)=>t+i),0)+this._scrollPaddingBottom+this._scrollPaddingTop;d.mergeStyle(this._scroller,{opacity:0,position:"absolute",top:"0px",[i?"height":"width"]:"1px",[i?"width":"height"]:`${e}px`});const n=this._itemHeights.slice(0).sort(((t,i)=>t-i));const o=Math.floor(s/2);const h=s%2===0?(n[o]+n[o-1])/2:n[o];const r=i?"clientWidth":"clientHeight";const c=t.scrollContainer?t.scrollContainer:this._element;const l=c[r]?c[r]:this._containerSize;this._screenItemsLen=Math.ceil(l/h);this._containerSize=l;this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3);this._averageHeight=h;return e}_computeScrollPadding(){const t=this._config;const i=Boolean(t.horizontal);const s=window.getComputedStyle(this._element);const e=t=>{const i=s.getPropertyValue(`padding-${t}`);return parseInt(i,10)||0};if(i){return{bottom:e("right"),top:e("left")}}else{return{bottom:e("bottom"),top:e("top")}}}_getFrom(t){let i=0;while(this._itemPositions[i]<t){i++}return i}}d.defaultConfig={width:"100%",height:"100%"};const l=":host{display:block}";const a=class{constructor(s){t(this,s);this.contextChange=i(this,"contextChange",7);this.nodeToggled=i(this,"nodeToggled",7);this.nodeClicked=i(this,"nodeClicked",7);this.nodeRemoved=i(this,"nodeRemoved",7);this.model={};this.context={};this.updates=new Map;this.hasFirstRender=false}updatePadding(t,i){t.style.paddingLeft=i.level+"rem"}getVirtualizerOptions(){const t=this.buildTreeList(this.model[this.root]);return{width:"100%",height:"100%",itemHeight:32,total:t.length,generate:i=>{const s=t[i];const e=this.hostElement.querySelector(`[data-tree-node-id="${s.id}"]`);const n=this.getContext(s.id);if(e){e.hasChildren=s.hasChildren;e.context=Object.assign({},n);if(this.updates.has(s.id)){const t=this.updates.get(s.id);if(t){t(s,Object.assign({},this.context))}}this.updatePadding(e,s);return e}const h=t=>{this.updates.set(s.id,t)};let r=null;if(this.renderItem){r=this.renderItem(i,s,t,Object.assign({},this.context),h)}if(r===null){r=o(s,n,h)}const c=r;c.setAttribute("data-tree-node-id",s.id);c.style.paddingRight="1rem";this.updatePadding(c,s);return c}}}setContext(t,i){this.context=Object.assign(Object.assign({},this.context),{[t]:i});this.contextChange.emit(this.context)}getContext(t){if(!this.context){return{isExpanded:false,isSelected:false}}if(!this.context[t]){this.context[t]={isExpanded:false,isSelected:false}}return this.context[t]}buildTreeList(t,i=0){const s=[];if(t===null||t===void 0?void 0:t.hasChildren){const e=i+1;t.children.forEach((t=>{const n=this.model[t];const o=this.getContext(t);s.push(Object.assign(Object.assign({},n),{level:i}));if(n.hasChildren&&o.isExpanded){s.push(...this.buildTreeList(n,e))}}))}return s}componentDidLoad(){this.initList();this.observer=new MutationObserver((t=>{let i=[];t.forEach((t=>{i=[...i,...Array.from(t.removedNodes)];t.addedNodes.forEach((t=>{const s=i.indexOf(t);if(s>=0){i.splice(s,1)}}))}));this.nodeRemoved.emit(i)}));this.observer.observe(this.hostElement,{childList:true})}componentWillRender(){this.hasFirstRender=true;if(this.isListInitialized()){this.refreshList()}else{this.initList()}}connectedCallback(){if(this.hasFirstRender){this.initList()}}disconnectedCallback(){var t,i;(t=this.hyperlist)===null||t===void 0?void 0:t.destroy();(i=this.observer)===null||i===void 0?void 0:i.disconnect()}modelChange(){if(this.hasFirstRender&&!this.isListInitialized()){this.initList()}}isListInitialized(){var t;const i=(t=this.hyperlist)===null||t===void 0?void 0:t._itemPositions;return i!==undefined&&i.length&&!(i===null||i===void 0?void 0:i.some((t=>t===undefined||Number.isNaN(t))))}refreshList(){if(this.hyperlist){this.hyperlist.refresh(this.hostElement,this.getVirtualizerOptions())}}initList(){var t;if(!this.model){return}(t=this.hyperlist)===null||t===void 0?void 0:t.destroy();const i=this.getVirtualizerOptions();this.hyperlist=new d(this.hostElement,i)}onToggle(t){const{target:i}=t;t.preventDefault();t.stopPropagation();if(!(i instanceof HTMLElement)){return}const s=i.getAttribute("data-tree-node-id");if(!s){return}const e=this.model[s];if(!e.hasChildren){return}const n=this.getContext(s);n.isExpanded=!n.isExpanded;this.nodeToggled.emit({id:s,isExpanded:n.isExpanded});this.setContext(s,n)}onTreeItemClick(t){const{target:i}=t;if(!(i instanceof HTMLElement)){return}const s=i.getAttribute("data-tree-node-id");if(!s){return}const e=this.model[s];const n=t.composedPath();const o=n.indexOf(this.hostElement);const r=n.slice(0,o);const c=h.pathIncludesTrigger(r);if(c){return}if(!t.defaultPrevented){Object.values(this.context).forEach((t=>t.isSelected=false));const t=this.getContext(s);t.isSelected=true;this.setContext(s,t)}if(this.toggleOnItemClick&&e.hasChildren){const t=this.getContext(s);t.isExpanded=!t.isExpanded;this.nodeToggled.emit({id:s,isExpanded:t.isExpanded});this.setContext(s,t)}this.nodeClicked.emit(s)}render(){return s(e,{key:"b29d3c73678d8dfdeb9d21d59207a6be4bf083b1",onClick:t=>this.onTreeItemClick(t)},s("slot",{key:"af4749b565da0d03882133d2a017f2210075a291"}))}get hostElement(){return n(this)}static get watchers(){return{model:["modelChange"]}}};a.style=l;export{a as ix_tree};
2
- //# sourceMappingURL=p-5f494293.entry.js.map
1
+ import{r as t,c as i,h as s,H as e,a as n}from"./p-DJsXFBNm.js";import{r as o}from"./p-UQa1aROL.js";import{d as h}from"./p-D3K9vmFp.js";const r=t=>!Number.isNaN(Number(t));const c=(t,i)=>{t.classList.add(i)};class d{static create(t,i=d.defaultConfig){return new d(t,i)}static mergeStyle(t,i){for(let s in i){if(t.style[s]!==i[s]){t.style[s]=i[s]}}}static getMaxBrowserHeight(){const t=document.createElement("div");const i=document.createElement("div");d.mergeStyle(t,{position:"absolute",height:"1px",opacity:0});d.mergeStyle(i,{height:"1e7px"});t.appendChild(i);document.body.appendChild(t);const s=i.offsetHeight;document.body.removeChild(t);return s}constructor(t,i){this._lastRepaint=null;this._maxElementHeight=d.getMaxBrowserHeight();this.refresh(t,i);const s=this._config;const e=()=>{const t=this._getScrollPosition();const i=this._lastRepaint;this._renderAnimationFrame=window.requestAnimationFrame(e);if(t===i){return}const n=i?t-i:0;if(!i||n<0||n>this._averageHeight){let i=this._renderChunk();this._lastRepaint=t;if(i!==false&&typeof s.afterRender==="function"){s.afterRender()}}};e()}destroy(){window.cancelAnimationFrame(this._renderAnimationFrame)}refresh(t,i=d.defaultConfig){this._config=i;if(!t||t.nodeType!==1){throw new Error("HyperList requires a valid DOM Node container")}this._element=t;const s=this._config;const e=this._scroller||s.scroller||document.createElement(s.scrollerTagName||"tr");if(typeof s.useFragment!=="boolean"){this._config.useFragment=true}if(!s.generate){throw new Error("Missing required `generate` function")}if(!r(s.total)){throw new Error("Invalid required `total` value, expected number")}if(!Array.isArray(s.itemHeight)&&!r(s.itemHeight)){throw new Error(`\n Invalid required \`itemHeight\` value, expected number or array\n `.trim())}else if(r(s.itemHeight)){this._itemHeights=Array(s.total).fill(s.itemHeight)}else{this._itemHeights=[s.itemHeight]}Object.keys(d.defaultConfig).filter((t=>t in s)).forEach((t=>{const i=s[t];const e=r(i);if(i&&typeof i!=="string"&&typeof i!=="number"){let i=`Invalid optional \`${t}\`, expected string or number`;throw new Error(i)}else if(e){s[t]=`${i}px`}}));const n=Boolean(s.horizontal);const o=s[n?"width":"height"];if(o){const t=r(o);const i=t?false:o.slice(-1)==="%";const s=t?parseInt(o,10):parseInt(o.replace(/px|%/,""),10);const e=window[n?"innerWidth":"innerHeight"];if(i){this._containerSize=e*s/100}else{this._containerSize=r(o)?o:s}}const h=s.scrollContainer;const c=s.itemHeight*s.total;const l=this._maxElementHeight;if(c>l){console.warn(["HyperList: The maximum element height",l+"px has","been exceeded; please reduce your item height."].join(" "))}const a={width:`${s.width}`,height:h?`${c}px`:`${s.height}`,overflow:h?"none":"auto",position:"relative"};d.mergeStyle(t,a);if(h){d.mergeStyle(s.scrollContainer,{overflow:"auto"})}const f={opacity:"0",position:"absolute",[n?"height":"width"]:"1px",[n?"width":"height"]:`${c}px`};d.mergeStyle(e,f);if(!this._scroller){t.appendChild(e)}const u=this._computeScrollPadding();this._scrollPaddingBottom=u.bottom;this._scrollPaddingTop=u.top;this._scroller=e;this._scrollHeight=this._computeScrollHeight();this._itemPositions=this._itemPositions||Array(s.total).fill(0);this._computePositions(0);this._renderChunk(this._lastRepaint!==null);if(typeof s.afterRender==="function"){s.afterRender()}}_getRow(t){const i=this._config;let s=i.generate(t);let e=s.height;if(e!==undefined&&r(e)){s=s.element;if(e!==this._itemHeights[t]){this._itemHeights[t]=e;this._computePositions(t);this._scrollHeight=this._computeScrollHeight()}}else{e=this._itemHeights[t]}if(!s||s.nodeType!==1){throw new Error(`Generator did not return a DOM Node for index: ${t}`)}c(s,i.rowClassName||"vrow");const n=this._itemPositions[t]+this._scrollPaddingTop;d.mergeStyle(s,{position:"absolute",[i.horizontal?"left":"top"]:`${n}px`});return s}_getScrollPosition(){const t=this._config;if(typeof t.overrideScrollPosition==="function"){return t.overrideScrollPosition()}return this._element[t.horizontal?"scrollLeft":"scrollTop"]}_renderChunk(t=false){const i=this._config;const s=this._element;const e=this._getScrollPosition();const n=i.total;let o=this._getFrom(e)-1;if(o<0||o-this._screenItemsLen<0){o=0}if(!t&&this._lastFrom===o){return false}this._lastFrom=o;let h=o+this._cachedItemsLen;if(h>n||h+this._cachedItemsLen>n){h=n}const r=i.useFragment?document.createDocumentFragment():[];const c=this._scroller;r[i.useFragment?"appendChild":"push"](c);for(let t=o;t<h;t++){let s=this._getRow(t);r[i.useFragment?"appendChild":"push"](s)}if(i.applyPatch){return i.applyPatch(s,r)}s.innerHTML="";s.appendChild(r)}_computePositions(t=1){const i=this._config;const s=i.total;if(t<1){t=1}for(let i=t;i<s;i++){this._itemPositions[i]=this._itemHeights[i-1]+this._itemPositions[i-1]}}_computeScrollHeight(){const t=this._config;const i=Boolean(t.horizontal);const s=t.total;const e=this._itemHeights.reduce(((t,i)=>t+i),0)+this._scrollPaddingBottom+this._scrollPaddingTop;d.mergeStyle(this._scroller,{opacity:0,position:"absolute",top:"0px",[i?"height":"width"]:"1px",[i?"width":"height"]:`${e}px`});const n=this._itemHeights.slice(0).sort(((t,i)=>t-i));const o=Math.floor(s/2);const h=s%2===0?(n[o]+n[o-1])/2:n[o];const r=i?"clientWidth":"clientHeight";const c=t.scrollContainer?t.scrollContainer:this._element;const l=c[r]?c[r]:this._containerSize;this._screenItemsLen=Math.ceil(l/h);this._containerSize=l;this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3);this._averageHeight=h;return e}_computeScrollPadding(){const t=this._config;const i=Boolean(t.horizontal);const s=window.getComputedStyle(this._element);const e=t=>{const i=s.getPropertyValue(`padding-${t}`);return parseInt(i,10)||0};if(i){return{bottom:e("right"),top:e("left")}}else{return{bottom:e("bottom"),top:e("top")}}}_getFrom(t){let i=0;while(this._itemPositions[i]<t){i++}return i}}d.defaultConfig={width:"100%",height:"100%"};const l=":host{display:block}";const a=class{constructor(s){t(this,s);this.contextChange=i(this,"contextChange",7);this.nodeToggled=i(this,"nodeToggled",7);this.nodeClicked=i(this,"nodeClicked",7);this.nodeRemoved=i(this,"nodeRemoved",7);this.model={};this.context={};this.updates=new Map;this.hasFirstRender=false}updatePadding(t,i){t.style.paddingLeft=i.level+"rem"}getVirtualizerOptions(){const t=this.buildTreeList(this.model[this.root]);return{width:"100%",height:"100%",itemHeight:32,total:t.length,generate:i=>{const s=t[i];const e=this.hostElement.querySelector(`[data-tree-node-id="${s.id}"]`);const n=this.getContext(s.id);if(e){e.hasChildren=s.hasChildren;e.context=Object.assign({},n);if(this.updates.has(s.id)){const t=this.updates.get(s.id);if(t){t(s,Object.assign({},this.context))}}this.updatePadding(e,s);return e}const h=t=>{this.updates.set(s.id,t)};let r=null;if(this.renderItem){r=this.renderItem(i,s,t,Object.assign({},this.context),h)}if(r===null){r=o(s,n,h)}const c=r;c.setAttribute("data-tree-node-id",s.id);c.style.paddingRight="1rem";this.updatePadding(c,s);return c}}}setContext(t,i){this.context=Object.assign(Object.assign({},this.context),{[t]:i});this.contextChange.emit(this.context)}getContext(t){if(!this.context){return{isExpanded:false,isSelected:false}}if(!this.context[t]){this.context[t]={isExpanded:false,isSelected:false}}return this.context[t]}buildTreeList(t,i=0){const s=[];if(t===null||t===void 0?void 0:t.hasChildren){const e=i+1;t.children.forEach((t=>{const n=this.model[t];const o=this.getContext(t);s.push(Object.assign(Object.assign({},n),{level:i}));if(n.hasChildren&&o.isExpanded){s.push(...this.buildTreeList(n,e))}}))}return s}componentDidLoad(){this.initList();this.observer=new MutationObserver((t=>{let i=[];t.forEach((t=>{i=[...i,...Array.from(t.removedNodes)];t.addedNodes.forEach((t=>{const s=i.indexOf(t);if(s>=0){i.splice(s,1)}}))}));this.nodeRemoved.emit(i)}));this.observer.observe(this.hostElement,{childList:true})}componentWillRender(){this.hasFirstRender=true;if(this.isListInitialized()){this.refreshList()}else{this.initList()}}connectedCallback(){if(this.hasFirstRender){this.initList()}}disconnectedCallback(){var t,i;(t=this.hyperlist)===null||t===void 0?void 0:t.destroy();(i=this.observer)===null||i===void 0?void 0:i.disconnect()}modelChange(){if(this.hasFirstRender&&!this.isListInitialized()){this.initList()}}isListInitialized(){var t;const i=(t=this.hyperlist)===null||t===void 0?void 0:t._itemPositions;return i!==undefined&&i.length&&!(i===null||i===void 0?void 0:i.some((t=>t===undefined||Number.isNaN(t))))}refreshList(){if(this.hyperlist){this.hyperlist.refresh(this.hostElement,this.getVirtualizerOptions())}}initList(){var t;if(!this.model){return}(t=this.hyperlist)===null||t===void 0?void 0:t.destroy();const i=this.getVirtualizerOptions();this.hyperlist=new d(this.hostElement,i)}onToggle(t){const{target:i}=t;t.preventDefault();t.stopPropagation();if(!(i instanceof HTMLElement)){return}const s=i.getAttribute("data-tree-node-id");if(!s){return}const e=this.model[s];if(!e.hasChildren){return}const n=this.getContext(s);n.isExpanded=!n.isExpanded;this.nodeToggled.emit({id:s,isExpanded:n.isExpanded});this.setContext(s,n)}onTreeItemClick(t){const{target:i}=t;if(!(i instanceof HTMLElement)){return}const s=i.getAttribute("data-tree-node-id");if(!s){return}const e=this.model[s];const n=t.composedPath();const o=n.indexOf(this.hostElement);const r=n.slice(0,o);const c=h.pathIncludesTrigger(r);if(c){return}if(!t.defaultPrevented){Object.values(this.context).forEach((t=>t.isSelected=false));const t=this.getContext(s);t.isSelected=true;this.setContext(s,t)}if(this.toggleOnItemClick&&e.hasChildren){const t=this.getContext(s);t.isExpanded=!t.isExpanded;this.nodeToggled.emit({id:s,isExpanded:t.isExpanded});this.setContext(s,t)}this.nodeClicked.emit(s)}render(){return s(e,{key:"e314d9b97096f3986cd4cfbd0b39f2d2032b2db4",onClick:t=>this.onTreeItemClick(t)},s("slot",{key:"16df5c02726d20484ce8bbfd707c4f225f12ade1"}))}get hostElement(){return n(this)}static get watchers(){return{model:["modelChange"]}}};a.style=l;export{a as ix_tree};
2
+ //# sourceMappingURL=p-988f37da.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as r,H as a}from"./p-B6NtGPRE.js";const t=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset;display:flex;flex-direction:column}:host .card.standaloneAppearance{box-shadow:var(--theme-shadow-4);border-radius:0.25rem}:host .card.rounded{border-radius:4px}:host .card.left{border-radius:4px 0 0 4px;height:100%}:host .card.right{border-radius:0 4px 4px 0;height:100%}:host .card.straight{border-radius:0}:host .card .header-container{width:100%}:host .card .header-container .header{padding:1rem;flex:0 1 auto}:host .card .separator{border:1px solid var(--theme-datepicker-separator--background);width:100%;flex:0 1 auto}:host .card .content{padding:0 1rem 1rem 1rem;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}:host .card .content--time-picker{padding:0 1rem}:host .card .footer-container{width:100%}:host .card .footer-container .footer{padding:1rem}";const o=class{constructor(r){e(this,r);this.timePickerAppearance=false;this.hideHeader=false;this.hasFooter=false;this.individual=true;this.corners="rounded"}cardClasses(){var e;return{card:true,standaloneAppearance:(e=this.standaloneAppearance)!==null&&e!==void 0?e:this.individual,rounded:this.corners==="rounded",left:this.corners==="left",right:this.corners==="right",straight:this.corners==="straight"}}render(){return r(a,{key:"d7cc4a3ae96e5ee4502fc757311fc7073e78c61a"},r("div",{key:"5d06ee614a6518d47a1a9243883063306195912f",class:this.cardClasses()},!this.hideHeader&&r("div",{key:"07892beb965a08a08b745f2d308cf8e93aa731fd",class:"header-container"},r("div",{key:"9a77e4d7e6a8f3d50c665e76808669fc88d5a7b8",class:"header"},r("slot",{key:"cb1cd8527ddb6560e9deac76ea85ccbe8463f15c",name:"header"})),r("div",{key:"6b911dcc4fa18efde5747544f2239ec86119a39a",class:"separator"})),r("div",{key:"766ede607630b3d8df6634de6360d9d46508c3d2",class:{content:true,"content--time-picker":this.timePickerAppearance}},r("slot",{key:"dd02448c469024a798a7277f28992588faa27d95"})),this.hasFooter&&r("div",{key:"8f4dfeef86a755d345fc021b049a660691a25836",class:"footer-container"},r("div",{key:"d35ad21f5d3d5d1628af76839445a1100e022ffc",class:"separator"}),r("div",{key:"bb0ffdc8d4ed91f1ef637a194bfbdaaf03b31142",class:"footer"},r("slot",{key:"8f62ccd9a237345e67883866ad2e32e01e34232a",name:"footer"})))))}};o.style=t;export{o as ix_date_time_card};
2
- //# sourceMappingURL=p-80dfc634.entry.js.map
1
+ import{r as e,h as r,H as a}from"./p-DJsXFBNm.js";const t=":host{}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset;display:flex;flex-direction:column}:host .card.standaloneAppearance{box-shadow:var(--theme-shadow-4);border-radius:0.25rem}:host .card.rounded{border-radius:4px}:host .card.left{border-radius:4px 0 0 4px;height:100%}:host .card.right{border-radius:0 4px 4px 0;height:100%}:host .card.straight{border-radius:0}:host .card .header-container{width:100%}:host .card .header-container .header{padding:1rem;flex:0 1 auto}:host .card .separator{border:1px solid var(--theme-datepicker-separator--background);width:100%;flex:0 1 auto}:host .card .content{padding:0 1rem 1rem 1rem;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}:host .card .content--time-picker{padding:0 1rem}:host .card .footer-container{width:100%}:host .card .footer-container .footer{padding:1rem}";const o=class{constructor(r){e(this,r);this.timePickerAppearance=false;this.hideHeader=false;this.hasFooter=false;this.individual=true;this.corners="rounded"}cardClasses(){var e;return{card:true,standaloneAppearance:(e=this.standaloneAppearance)!==null&&e!==void 0?e:this.individual,rounded:this.corners==="rounded",left:this.corners==="left",right:this.corners==="right",straight:this.corners==="straight"}}render(){return r(a,{key:"31c1aa02530819d8bd9896ca625c3c8930ea8268"},r("div",{key:"31432252f1ce901e76a92423719d24bc621e3e83",class:this.cardClasses()},!this.hideHeader&&r("div",{key:"dd4b7346375f87a43b2969dba7c5b4a9cc10f0ac",class:"header-container"},r("div",{key:"8dc14769929ce6e0d2f2095ca4904ee8beb2018b",class:"header"},r("slot",{key:"9f5357cb413d5ccf9f6a15ecb10040034ad5e1b0",name:"header"})),r("div",{key:"b7c55ccf1c1f655240d817ed838de53a67a8d4f0",class:"separator"})),r("div",{key:"6ddf415abf2a5174a796e3e9a15441aef0f9c14a",class:{content:true,"content--time-picker":this.timePickerAppearance}},r("slot",{key:"953b62d7631d68c1061798d6259836110c368095"})),this.hasFooter&&r("div",{key:"d39e55a300835320ef737cd28bce660a846500de",class:"footer-container"},r("div",{key:"e44823acab4d5a87bcb77ab812e1a31ff6a2b2c7",class:"separator"}),r("div",{key:"e8118c065ed36b219e04a91ec2fe4455585ea2e0",class:"footer"},r("slot",{key:"f49f852f5b7c6d5bc2052d37593a69e13f78ce0f",name:"footer"})))))}};o.style=t;export{o as ix_date_time_card};
2
+ //# sourceMappingURL=p-9f74e709.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["dateTimeCardCss","DateTimeCard","constructor","hostRef","this","timePickerAppearance","hideHeader","hasFooter","individual","corners","cardClasses","card","standaloneAppearance","_a","rounded","left","right","straight","render","h","Host","key","class","name","content"],"sources":["src/components/date-time-card/date-time-card.scss?tag=ix-date-time-card&encapsulation=shadow","src/components/date-time-card/date-time-card.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n .card {\n background-color: var(--theme-menu--background);\n width: 100%;\n box-shadow: none;\n border: none;\n border-radius: unset;\n display: flex;\n flex-direction: column;\n\n &.standaloneAppearance {\n box-shadow: var(--theme-shadow-4);\n border-radius: 0.25rem;\n }\n\n &.rounded {\n border-radius: 4px;\n }\n\n &.left {\n border-radius: 4px 0 0 4px;\n height: 100%;\n }\n\n &.right {\n border-radius: 0 4px 4px 0;\n height: 100%;\n }\n\n &.straight {\n border-radius: 0;\n }\n\n .header-container {\n width: 100%;\n\n .header {\n padding: $default-space;\n flex: 0 1 auto;\n }\n }\n\n .separator {\n border: 1px solid var(--theme-datepicker-separator--background);\n width: 100%;\n flex: 0 1 auto;\n }\n\n .content {\n &--time-picker {\n padding: 0 $default-space;\n }\n\n padding: 0 $default-space $default-space $default-space;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n\n .footer-container {\n width: 100%;\n\n .footer {\n padding: $default-space;\n }\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host, Prop } from '@stencil/core';\nimport type { DateTimeCardCorners } from './date-time-card.types';\n\n/**\n * @internal\n */\n@Component({\n tag: 'ix-date-time-card',\n styleUrl: 'date-time-card.scss',\n shadow: true,\n})\nexport class DateTimeCard {\n /** @internal */\n @Prop() standaloneAppearance?: boolean;\n\n /** Timepicker specific styling */\n @Prop() timePickerAppearance: boolean = false;\n\n /**\n * Hide header\n */\n @Prop() hideHeader: boolean = false;\n\n /**\n * Display footer\n */\n @Prop() hasFooter: boolean = false;\n\n /**\n * set styles\n */\n @Prop() individual: boolean = true;\n\n /**\n * Set corners style\n */\n @Prop() corners: DateTimeCardCorners = 'rounded';\n\n private cardClasses() {\n return {\n card: true,\n standaloneAppearance: this.standaloneAppearance ?? this.individual,\n rounded: this.corners === 'rounded',\n left: this.corners === 'left',\n right: this.corners === 'right',\n straight: this.corners === 'straight',\n };\n }\n\n render() {\n return (\n <Host>\n <div class={this.cardClasses()}>\n {!this.hideHeader && (\n <div class=\"header-container\">\n <div class=\"header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=\"separator\"></div>\n </div>\n )}\n\n <div\n class={{\n content: true,\n 'content--time-picker': this.timePickerAppearance,\n }}\n >\n <slot></slot>\n </div>\n\n {this.hasFooter && (\n <div class=\"footer-container\">\n <div class=\"separator\"></div>\n <div class=\"footer\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAkB,yoD,MCoBXC,EAAY,MALzB,WAAAC,CAAAC,G,UAUUC,KAAoBC,qBAAY,MAKhCD,KAAUE,WAAY,MAKtBF,KAASG,UAAY,MAKrBH,KAAUI,WAAY,KAKtBJ,KAAOK,QAAwB,SA+CxC,CA7CS,WAAAC,G,MACN,MAAO,CACLC,KAAM,KACNC,sBAAsBC,EAAAT,KAAKQ,wBAAwB,MAAAC,SAAA,EAAAA,EAAAT,KAAKI,WACxDM,QAASV,KAAKK,UAAY,UAC1BM,KAAMX,KAAKK,UAAY,OACvBO,MAAOZ,KAAKK,UAAY,QACxBQ,SAAUb,KAAKK,UAAY,W,CAI/B,MAAAS,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAOlB,KAAKM,gBACbN,KAAKE,YACLa,EAAK,OAAAE,IAAA,2CAAAC,MAAM,oBACTH,EAAK,OAAAE,IAAA,2CAAAC,MAAM,UACTH,EAAA,QAAAE,IAAA,2CAAME,KAAK,YAEbJ,EAAA,OAAAE,IAAA,2CAAKC,MAAM,eAIfH,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACLE,QAAS,KACT,uBAAwBpB,KAAKC,uBAG/Bc,EAAA,QAAAE,IAAA,8CAGDjB,KAAKG,WACJY,EAAK,OAAAE,IAAA,2CAAAC,MAAM,oBACTH,EAAK,OAAAE,IAAA,2CAAAC,MAAM,cACXH,EAAK,OAAAE,IAAA,2CAAAC,MAAM,UACTH,EAAM,QAAAE,IAAA,2CAAAE,KAAK,c","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,c as o,h as t,H as r,a as s}from"./p-B6NtGPRE.js";import{l as i}from"./p-DLTnniMb.js";const a=":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";const l=class{constructor(t){e(this,t);this.closeClick=o(this,"closeClick",7);this.disabled=false;this.readonly=false}onCloseClick(e){e.preventDefault();e.stopPropagation();this.closeClick.emit()}render(){return t(r,{key:"7ccc04431b181efbb16c7d5ed14d5eea5f17ca78",class:{disabled:this.disabled,readonly:this.readonly},title:this.hostElement.textContent},t("div",{key:"c2ab9ec7e031ffa63dfebf4cee062b5d7825b974",class:"slot-container"},t("slot",{key:"c7d520baa440baedef140a7041927074e72c9481"})),!this.disabled&&!this.readonly?t("ix-icon-button",{ghost:true,oval:true,icon:i,size:"16",tabindex:this.disabled?-1:0,variant:"primary",disabled:this.disabled,onClick:e=>this.onCloseClick(e)}):null)}get hostElement(){return s(this)}};l.style=a;class c extends CustomEvent{constructor(e){super("ix-select-item:labelChange",{bubbles:true,detail:e})}}class n extends CustomEvent{constructor(e){super("ix-select-item:valueChange",{bubbles:true,detail:e})}}const h=":host{display:block;position:relative}:host>ix-dropdown-item{width:100%}:host ix-dropdown-item{color:var(--theme-color-std-text)}:host .select-item-checked{background-color:var(--theme-select-list-item--background--selected);--ix-dropdown-item-checked-color:var(--theme-color-std-text)}:host(.display-none){display:none}";const d=class{constructor(t){e(this,t);this.itemClick=o(this,"itemClick",7);this.selected=false;this.hover=false;this.componentLoaded=false}async getDropdownItemElement(){return this.dropdownItem}async onItemClick(e){e===null||e===void 0?void 0:e.preventDefault();e===null||e===void 0?void 0:e.stopPropagation();this.itemClick.emit(this.value)}get dropdownItem(){return this.hostElement.querySelector("ix-dropdown-item")}componentDidRender(){if(this.value===undefined||this.value===null){console.warn("ix-select-item must have a `value` property")}this.componentLoaded=true}onValueChange(e,o){if(this.componentLoaded){this.hostElement.dispatchEvent(new n({newValue:e,oldValue:o}))}}labelChange(e,o){if(this.componentLoaded){this.hostElement.dispatchEvent(new c({newValue:e,oldValue:o}))}}render(){return t(r,{key:"9f574f2a536125dc77ea2aab56259e37a8aff7fc"},t("ix-dropdown-item",{key:"e1dab0e59d5b7cb4aee16a64cc105b6f6c656a3c",class:{"select-item-checked":this.selected},checked:this.selected,label:this.label?this.label:this.value,onItemClick:e=>this.onItemClick(e)}))}get hostElement(){return s(this)}static get watchers(){return{value:["onValueChange"],label:["labelChange"]}}};d.style=h;export{l as ix_filter_chip,d as ix_select_item};
2
- //# sourceMappingURL=p-61944945.entry.js.map
1
+ import{r as e,c as o,h as t,H as r,a as s}from"./p-DJsXFBNm.js";import{l as i}from"./p-DLTnniMb.js";const l=":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}: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 ::-webkit-scrollbar{width:0.5rem;height:0.5rem}: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 ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";const a=class{constructor(t){e(this,t);this.closeClick=o(this,"closeClick",7);this.disabled=false;this.readonly=false}onCloseClick(e){e.preventDefault();e.stopPropagation();this.closeClick.emit()}render(){return t(r,{key:"e97d49f5fdd629ffa9484a8f0240fdc4de1fe9b5",class:{disabled:this.disabled,readonly:this.readonly},title:this.hostElement.textContent},t("div",{key:"2f80fc12601503db8a150f6d8598cca1008cd504",class:"slot-container"},t("slot",{key:"d56ad722b92e31bf8bd99371b9461ca4d2149cbd"})),!this.disabled&&!this.readonly?t("ix-icon-button",{ghost:true,oval:true,icon:i,size:"16",tabindex:this.disabled?-1:0,variant:"primary",disabled:this.disabled,onClick:e=>this.onCloseClick(e)}):null)}get hostElement(){return s(this)}};a.style=l;class c extends CustomEvent{constructor(e){super("ix-select-item:labelChange",{bubbles:true,detail:e})}}class n extends CustomEvent{constructor(e){super("ix-select-item:valueChange",{bubbles:true,detail:e})}}const h=":host{display:block;position:relative}:host>ix-dropdown-item{width:100%}:host ix-dropdown-item{color:var(--theme-color-std-text)}:host .select-item-checked{background-color:var(--theme-select-list-item--background--selected);--ix-dropdown-item-checked-color:var(--theme-color-std-text)}:host(.display-none){display:none}";const d=class{constructor(t){e(this,t);this.itemClick=o(this,"itemClick",7);this.selected=false;this.hover=false;this.componentLoaded=false}async getDropdownItemElement(){return this.dropdownItem}async onItemClick(e){e===null||e===void 0?void 0:e.preventDefault();e===null||e===void 0?void 0:e.stopPropagation();this.itemClick.emit(this.value)}get dropdownItem(){return this.hostElement.querySelector("ix-dropdown-item")}componentDidRender(){if(this.value===undefined||this.value===null){console.warn("ix-select-item must have a `value` property")}this.componentLoaded=true}onValueChange(e,o){if(this.componentLoaded){this.hostElement.dispatchEvent(new n({newValue:e,oldValue:o}))}}labelChange(e,o){if(this.componentLoaded){this.hostElement.dispatchEvent(new c({newValue:e,oldValue:o}))}}render(){return t(r,{key:"19f50b530d04e8ea3ba6b5eb759d214446b9cdad"},t("ix-dropdown-item",{key:"2677202fb6a5db694bc546ad2ad5b2f3402242cf",class:{"select-item-checked":this.selected},checked:this.selected,label:this.label?this.label:this.value,onItemClick:e=>this.onItemClick(e)}))}get hostElement(){return s(this)}static get watchers(){return{value:["onValueChange"],label:["labelChange"]}}};d.style=h;export{a as ix_filter_chip,d as ix_select_item};
2
+ //# sourceMappingURL=p-9f7d82d2.entry.js.map
@@ -1,2 +1,2 @@
1
- import{h as n}from"./p-B6NtGPRE.js";import{a as t}from"./p-Bb7pDeaQ.js";import{s as e}from"./p-zYzFdFx8.js";import{c as a}from"./p-CX81WQtk.js";import{c as i}from"./p-pXYAoEyc.js";import{a as r}from"./p-Ou74PMQs.js";function s(t){return n("textarea",Object.assign({readOnly:t.readonly,disabled:t.disabled,maxLength:t.maxLength,minLength:t.minLength,cols:t.textareaCols,rows:t.textareaRows,ref:t.textAreaRef,class:{"is-invalid":t.isInvalid},required:t.required,value:t.value,placeholder:t.placeholder,onInput:n=>{const e=n.target;t.updateFormInternalValue(e.value);t.valueChange(e.value)},onBlur:()=>t.onBlur(),style:{resize:t.resizeBehavior,height:t.textareaHeight,width:t.textareaWidth}},t.ariaAttributes))}function o(t){return n("input",Object.assign({id:t.id,autoComplete:"off",readOnly:t.readonly,disabled:t.disabled,step:t.step,min:t.min,max:t.max,maxLength:t.maxLength?Number(t.maxLength):undefined,minLength:t.minLength?Number(t.minLength):undefined,ref:t.inputRef,pattern:t.pattern,type:t.type,class:{"is-invalid":t.isInvalid},required:t.required,value:t.value,placeholder:t.placeholder,onKeyPress:n=>t.onKeyPress(n),onInput:n=>{const e=n.target;t.updateFormInternalValue(e.value);t.valueChange(e.value)},onBlur:()=>t.onBlur()},t.ariaAttributes))}const u=(t,e)=>n("div",{class:"end-container",ref:t.slotEndRef},n("slot",{name:"end",onSlotchange:t.onSlotChange}),e);const c=t=>n("div",{class:"start-container",ref:t.slotStartRef},n("slot",{name:"start",onSlotchange:t.onSlotChange}));function l(n){const t=5;r({targets:n,duration:200,easing:"easeInOutSine",loop:2,translateX:[{value:t*-1},{value:t},{value:t/-2},{value:t/2},{value:0}]})}function f(n,t){n.isInvalid=t.isInvalid||t.isInvalidByRequired;n.isValid=t.isValid;n.isInfo=t.isInfo;n.isWarning=t.isWarning}function d(n,t){if(n.allowedCharactersPattern){const e=new RegExp(n.allowedCharactersPattern);if(!e.test(t.key)){t.preventDefault();l(n.inputRef.current)}}}async function m(n,t){const a=t.validity;const i=n.validityStateChange.emit(a);if(i.defaultPrevented){return}if(!n.value){return}const r=await e(n);if(r){return}const{valid:s}=a;n.hostElement.classList.toggle("ix-invalid--validity-invalid",!s)}function p(n,t){n.ixBlur.emit();if(!t){throw new Error("Input element is not available")}t.setAttribute("data-ix-touched","true");m(n,t)}function v(n,t,e){var a;if(!n){return}const r=16;const s=i(t+r/2);if(e.slotEnd){n.style.paddingRight=`calc(${s} + ${(a=e.additionalPaddingRight)!==null&&a!==void 0?a:"0rem"})`}else{n.style.paddingLeft=s}}function h(n,t,e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(n){const t=n.getBoundingClientRect();if(t){v(e,t.width,{slotEnd:false})}}if(t){const n=t.getBoundingClientRect();if(n){v(e,n.width,{slotEnd:true})}}}))}))}function b(n){const e={"aria-invalid":`${t(n.isInvalid)}`,"aria-required":`${t(n.required)}`};if(n.isInvalid&&n.invalidText){e["aria-errormessage"]=n.invalidText}return e}const g=(n,t)=>{const e=x(n,t);const i=a(t);i.observe(n,{subtree:true,attributes:true});return()=>{e.disconnect();i.disconnect()}};function x(n,t){const e=new IntersectionObserver((n=>{n.forEach((n=>{if(n.isIntersecting){t()}}))}));e.observe(n);return e}export{o as I,u as S,s as T,g as a,h as b,c,d,m as e,b as g,f as m,p as o};
2
- //# sourceMappingURL=p-DhH1rUwy.js.map
1
+ import{h as n}from"./p-DJsXFBNm.js";import{a as t}from"./p-Bb7pDeaQ.js";import{s as e}from"./p-CFsAnuUU.js";import{c as a}from"./p-CX81WQtk.js";import{c as s}from"./p-pXYAoEyc.js";import{a as i}from"./p-Ou74PMQs.js";function r(t){return n("textarea",Object.assign({readOnly:t.readonly,disabled:t.disabled,maxLength:t.maxLength,minLength:t.minLength,cols:t.textareaCols,rows:t.textareaRows,ref:t.textAreaRef,class:{"is-invalid":t.isInvalid},required:t.required,value:t.value,placeholder:t.placeholder,onInput:n=>{const e=n.target;t.updateFormInternalValue(e.value);t.valueChange(e.value)},onBlur:()=>t.onBlur(),style:{resize:t.resizeBehavior,height:t.textareaHeight,width:t.textareaWidth}},t.ariaAttributes))}function o(t){return n("input",Object.assign({id:t.id,autoComplete:"off",readOnly:t.readonly,disabled:t.disabled,step:t.step,min:t.min,max:t.max,maxLength:t.maxLength?Number(t.maxLength):undefined,minLength:t.minLength?Number(t.minLength):undefined,ref:t.inputRef,pattern:t.pattern,type:t.type,class:{"is-invalid":t.isInvalid},required:t.required,value:t.value,placeholder:t.placeholder,onKeyPress:n=>t.onKeyPress(n),onInput:n=>{const e=n.target;t.updateFormInternalValue(e.value);t.valueChange(e.value)},onBlur:()=>t.onBlur()},t.ariaAttributes))}const u=(t,e)=>n("div",{class:"end-container",ref:t.slotEndRef},n("slot",{name:"end",onSlotchange:t.onSlotChange}),e);const c=t=>n("div",{class:"start-container",ref:t.slotStartRef},n("slot",{name:"start",onSlotchange:t.onSlotChange}));function l(n){const t=5;i({targets:n,duration:200,easing:"easeInOutSine",loop:2,translateX:[{value:t*-1},{value:t},{value:t/-2},{value:t/2},{value:0}]})}function f(n,t){n.isInvalid=t.isInvalid||t.isInvalidByRequired;n.isValid=t.isValid;n.isInfo=t.isInfo;n.isWarning=t.isWarning}function d(n,t){if(n.allowedCharactersPattern){const e=new RegExp(n.allowedCharactersPattern);if(!e.test(t.key)){t.preventDefault();l(n.inputRef.current)}}}async function m(n,t){const a=t.validity;const s=n.validityStateChange.emit(a);if(s.defaultPrevented){return}if(!n.value){return}const i=await e(n);if(i){return}const{valid:r}=a;n.hostElement.classList.toggle("ix-invalid--validity-invalid",!r)}function p(n,t){n.ixBlur.emit();if(!t){throw new Error("Input element is not available")}t.setAttribute("data-ix-touched","true");m(n,t)}function v(n,t,e){var a;if(!n){return}const i=16;const r=s(t+i/2);if(e.slotEnd){n.style.paddingRight=`calc(${r} + ${(a=e.additionalPaddingRight)!==null&&a!==void 0?a:"0rem"})`}else{n.style.paddingLeft=r}}function h(n,t,e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(n){const t=n.getBoundingClientRect();if(t){v(e,t.width,{slotEnd:false})}}if(t){const n=t.getBoundingClientRect();if(n){v(e,n.width,{slotEnd:true})}}}))}))}function b(n){const e={"aria-invalid":`${t(n.isInvalid)}`,"aria-required":`${t(n.required)}`};if(n.isInvalid&&n.invalidText){e["aria-errormessage"]=n.invalidText}return e}const g=(n,t)=>{const e=j(n,t);const s=a(t);s.observe(n,{subtree:true,attributes:true});return()=>{e.disconnect();s.disconnect()}};function j(n,t){const e=new IntersectionObserver((n=>{n.forEach((n=>{if(n.isIntersecting){t()}}))}));e.observe(n);return e}export{o as I,u as S,r as T,g as a,h as b,c,d,m as e,b as g,f as m,p as o};
2
+ //# sourceMappingURL=p-BsJawkTz.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"p-DhH1rUwy.js","sources":["src/components/input/input.fc.tsx","src/components/input/input.animation.ts","src/components/input/input.util.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { MakeRef } from '../utils/make-ref';\nimport { A11yAttributes } from '../utils/a11y';\n\nexport function TextareaElement(\n props: Readonly<{\n resizeBehavior: 'both' | 'horizontal' | 'vertical' | 'none';\n textareaHeight?: string;\n textareaWidth?: string;\n textareaRows?: number;\n textareaCols?: number;\n disabled: boolean;\n readonly: boolean;\n maxLength?: number;\n minLength?: number;\n isInvalid: boolean;\n required: boolean;\n value: string;\n placeholder?: string;\n textAreaRef: (el: HTMLTextAreaElement | undefined) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <textarea\n readOnly={props.readonly}\n disabled={props.disabled}\n maxLength={props.maxLength}\n minLength={props.minLength}\n cols={props.textareaCols}\n rows={props.textareaRows}\n ref={props.textAreaRef}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n style={{\n resize: props.resizeBehavior,\n height: props.textareaHeight,\n width: props.textareaWidth,\n }}\n {...props.ariaAttributes}\n ></textarea>\n );\n}\n\nexport function InputElement(\n props: Readonly<{\n id: string;\n disabled: boolean;\n readonly: boolean;\n maxLength?: string | number;\n minLength?: string | number;\n max?: string | number;\n min?: string | number;\n step?: string | number;\n pattern?: string;\n type: string;\n isInvalid: boolean;\n required: boolean;\n value: string | number;\n placeholder?: string;\n inputRef: (el: HTMLInputElement | undefined) => void;\n onKeyPress: (event: KeyboardEvent) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <input\n id={props.id}\n autoComplete=\"off\"\n readOnly={props.readonly}\n disabled={props.disabled}\n step={props.step}\n min={props.min}\n max={props.max}\n maxLength={props.maxLength ? Number(props.maxLength) : undefined}\n minLength={props.minLength ? Number(props.minLength) : undefined}\n ref={props.inputRef}\n pattern={props.pattern}\n type={props.type}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onKeyPress={(event) => props.onKeyPress(event)}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n {...props.ariaAttributes}\n ></input>\n );\n}\n\nexport const SlotEnd: FunctionalComponent<{\n slotEndRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props, children) => {\n return (\n <div class=\"end-container\" ref={props.slotEndRef}>\n <slot name=\"end\" onSlotchange={props.onSlotChange}></slot>\n {children}\n </div>\n );\n};\n\nexport const SlotStart: FunctionalComponent<{\n slotStartRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props) => {\n return (\n <div class=\"start-container\" ref={props.slotStartRef}>\n <slot name=\"start\" onSlotchange={props.onSlotChange}></slot>\n </div>\n );\n};\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport anime from 'animejs';\n\nexport function shakeInput(input: HTMLInputElement) {\n const xMax = 5;\n anime({\n targets: input,\n duration: 200,\n easing: 'easeInOutSine',\n loop: 2,\n translateX: [\n {\n value: xMax * -1,\n },\n {\n value: xMax,\n },\n {\n value: xMax / -2,\n },\n {\n value: xMax / 2,\n },\n {\n value: 0,\n },\n ],\n });\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { A11yAttributes, a11yBoolean } from '../utils/a11y';\nimport {\n IxFormComponent,\n IxInputFieldComponent,\n ValidationResults,\n shouldSuppressInternalValidation,\n} from '../utils/input';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { convertToRemString } from '../utils/rwd.util';\nimport { generateUUID } from '../utils/uuid';\nimport { shakeInput } from './input.animation';\n\nexport function createIdIfNotExists(\n element: IxFormComponent,\n idPrefix: string = 'input'\n) {\n return element.hasAttribute('id')\n ? element.getAttribute('id')\n : `${idPrefix}-${generateUUID()}`;\n}\n\nexport function mapValidationResult<T>(\n ref: IxInputFieldComponent<T>,\n result: ValidationResults\n) {\n ref.isInvalid = result.isInvalid || result.isInvalidByRequired;\n ref.isValid = result.isValid;\n ref.isInfo = result.isInfo;\n ref.isWarning = result.isWarning;\n}\n\nexport function checkAllowedKeys<T>(\n comp: IxInputFieldComponent<T>,\n event: KeyboardEvent\n) {\n if (comp.allowedCharactersPattern) {\n const regex = new RegExp(comp.allowedCharactersPattern);\n if (!regex.test(event.key)) {\n event.preventDefault();\n shakeInput(comp.inputRef.current);\n }\n }\n}\n\nexport async function checkInternalValidity<T>(\n comp: IxFormComponent<T>,\n input: HTMLInputElement | HTMLTextAreaElement\n) {\n const validityState = input.validity;\n\n const eventResult = comp.validityStateChange.emit(validityState);\n\n if (eventResult.defaultPrevented) {\n return;\n }\n\n if (!comp.value) {\n return;\n }\n\n const skipValidation = await shouldSuppressInternalValidation(comp);\n if (skipValidation) {\n return;\n }\n\n const { valid } = validityState;\n comp.hostElement.classList.toggle('ix-invalid--validity-invalid', !valid);\n}\n\nexport function onInputBlur<T>(\n comp: IxFormComponent<T>,\n input?: HTMLInputElement | HTMLTextAreaElement | null\n) {\n comp.ixBlur.emit();\n\n if (!input) {\n throw new Error('Input element is not available');\n }\n\n input.setAttribute('data-ix-touched', 'true');\n checkInternalValidity(comp, input);\n}\n\nexport function applyPaddingEnd(\n inputElement: HTMLElement | null,\n width: number,\n options: {\n slotEnd: boolean;\n additionalPaddingRight?: string;\n }\n) {\n if (!inputElement) {\n return;\n }\n\n const remInPixels = 16;\n const padding = convertToRemString(width + remInPixels / 2);\n\n if (options.slotEnd) {\n inputElement.style.paddingRight = `calc(${padding} + ${\n options.additionalPaddingRight ?? '0rem'\n })`;\n } else {\n inputElement.style.paddingLeft = padding;\n }\n}\n\nexport function adjustPaddingForStartAndEnd(\n startElement: HTMLElement | null,\n endElement: HTMLElement | null,\n inputElement: HTMLElement | null\n) {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (startElement) {\n const startBoundingRect = startElement.getBoundingClientRect();\n if (startBoundingRect) {\n applyPaddingEnd(inputElement, startBoundingRect.width, {\n slotEnd: false,\n });\n }\n }\n\n if (endElement) {\n const endBoundingRect = endElement.getBoundingClientRect();\n if (endBoundingRect) {\n applyPaddingEnd(inputElement, endBoundingRect.width, {\n slotEnd: true,\n });\n }\n }\n });\n });\n}\n\nexport function getAriaAttributesForInput(\n component: IxInputFieldComponent\n): A11yAttributes {\n const inputAria: A11yAttributes = {\n 'aria-invalid': `${a11yBoolean(component.isInvalid)}`,\n 'aria-required': `${a11yBoolean(component.required)}`,\n };\n\n if (component.isInvalid && component.invalidText) {\n inputAria['aria-errormessage'] = component.invalidText;\n }\n return inputAria;\n}\n\nexport type DisposableChangesAndVisibilityObservers = () => void;\n\nexport const addDisposableChangesAndVisibilityObservers = (\n element: HTMLElement,\n callback: () => void\n): DisposableChangesAndVisibilityObservers => {\n const intersectionObserver = observeElementUntilVisible(element, callback);\n const mutationObserver = createMutationObserver(callback);\n\n mutationObserver.observe(element, {\n subtree: true,\n attributes: true,\n });\n\n return () => {\n intersectionObserver.disconnect();\n mutationObserver.disconnect();\n };\n};\n\nfunction observeElementUntilVisible(\n hostElement: HTMLElement,\n updateCallback: () => void\n): IntersectionObserver {\n const intersectionObserver = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n updateCallback();\n }\n });\n });\n\n intersectionObserver.observe(hostElement);\n return intersectionObserver;\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"p-BsJawkTz.js","sources":["src/components/input/input.fc.tsx","src/components/input/input.animation.ts","src/components/input/input.util.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { h, FunctionalComponent } from '@stencil/core';\nimport { MakeRef } from '../utils/make-ref';\nimport { A11yAttributes } from '../utils/a11y';\n\nexport function TextareaElement(\n props: Readonly<{\n resizeBehavior: 'both' | 'horizontal' | 'vertical' | 'none';\n textareaHeight?: string;\n textareaWidth?: string;\n textareaRows?: number;\n textareaCols?: number;\n disabled: boolean;\n readonly: boolean;\n maxLength?: number;\n minLength?: number;\n isInvalid: boolean;\n required: boolean;\n value: string;\n placeholder?: string;\n textAreaRef: (el: HTMLTextAreaElement | undefined) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <textarea\n readOnly={props.readonly}\n disabled={props.disabled}\n maxLength={props.maxLength}\n minLength={props.minLength}\n cols={props.textareaCols}\n rows={props.textareaRows}\n ref={props.textAreaRef}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n style={{\n resize: props.resizeBehavior,\n height: props.textareaHeight,\n width: props.textareaWidth,\n }}\n {...props.ariaAttributes}\n ></textarea>\n );\n}\n\nexport function InputElement(\n props: Readonly<{\n id: string;\n disabled: boolean;\n readonly: boolean;\n maxLength?: string | number;\n minLength?: string | number;\n max?: string | number;\n min?: string | number;\n step?: string | number;\n pattern?: string;\n type: string;\n isInvalid: boolean;\n required: boolean;\n value: string | number;\n placeholder?: string;\n inputRef: (el: HTMLInputElement | undefined) => void;\n onKeyPress: (event: KeyboardEvent) => void;\n valueChange: (value: string) => void;\n updateFormInternalValue: (value: string) => void;\n onBlur: () => void;\n ariaAttributes?: A11yAttributes;\n }>\n) {\n return (\n <input\n id={props.id}\n autoComplete=\"off\"\n readOnly={props.readonly}\n disabled={props.disabled}\n step={props.step}\n min={props.min}\n max={props.max}\n maxLength={props.maxLength ? Number(props.maxLength) : undefined}\n minLength={props.minLength ? Number(props.minLength) : undefined}\n ref={props.inputRef}\n pattern={props.pattern}\n type={props.type}\n class={{\n 'is-invalid': props.isInvalid,\n }}\n required={props.required}\n value={props.value}\n placeholder={props.placeholder}\n onKeyPress={(event) => props.onKeyPress(event)}\n onInput={(inputEvent) => {\n const target = inputEvent.target as HTMLInputElement;\n props.updateFormInternalValue(target.value);\n props.valueChange(target.value);\n }}\n onBlur={() => props.onBlur()}\n {...props.ariaAttributes}\n ></input>\n );\n}\n\nexport const SlotEnd: FunctionalComponent<{\n slotEndRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props, children) => {\n return (\n <div class=\"end-container\" ref={props.slotEndRef}>\n <slot name=\"end\" onSlotchange={props.onSlotChange}></slot>\n {children}\n </div>\n );\n};\n\nexport const SlotStart: FunctionalComponent<{\n slotStartRef: MakeRef<HTMLDivElement>;\n onSlotChange?: (e: Event) => void;\n}> = (props) => {\n return (\n <div class=\"start-container\" ref={props.slotStartRef}>\n <slot name=\"start\" onSlotchange={props.onSlotChange}></slot>\n </div>\n );\n};\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport anime from 'animejs';\n\nexport function shakeInput(input: HTMLInputElement) {\n const xMax = 5;\n anime({\n targets: input,\n duration: 200,\n easing: 'easeInOutSine',\n loop: 2,\n translateX: [\n {\n value: xMax * -1,\n },\n {\n value: xMax,\n },\n {\n value: xMax / -2,\n },\n {\n value: xMax / 2,\n },\n {\n value: 0,\n },\n ],\n });\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { A11yAttributes, a11yBoolean } from '../utils/a11y';\nimport {\n IxFormComponent,\n IxInputFieldComponent,\n ValidationResults,\n shouldSuppressInternalValidation,\n} from '../utils/input';\nimport { createMutationObserver } from '../utils/mutation-observer';\nimport { convertToRemString } from '../utils/rwd.util';\nimport { generateUUID } from '../utils/uuid';\nimport { shakeInput } from './input.animation';\n\nexport function createIdIfNotExists(\n element: IxFormComponent,\n idPrefix: string = 'input'\n) {\n return element.hasAttribute('id')\n ? element.getAttribute('id')\n : `${idPrefix}-${generateUUID()}`;\n}\n\nexport function mapValidationResult<T>(\n ref: IxInputFieldComponent<T>,\n result: ValidationResults\n) {\n ref.isInvalid = result.isInvalid || result.isInvalidByRequired;\n ref.isValid = result.isValid;\n ref.isInfo = result.isInfo;\n ref.isWarning = result.isWarning;\n}\n\nexport function checkAllowedKeys<T>(\n comp: IxInputFieldComponent<T>,\n event: KeyboardEvent\n) {\n if (comp.allowedCharactersPattern) {\n const regex = new RegExp(comp.allowedCharactersPattern);\n if (!regex.test(event.key)) {\n event.preventDefault();\n shakeInput(comp.inputRef.current);\n }\n }\n}\n\nexport async function checkInternalValidity<T>(\n comp: IxFormComponent<T>,\n input: HTMLInputElement | HTMLTextAreaElement\n) {\n const validityState = input.validity;\n\n const eventResult = comp.validityStateChange.emit(validityState);\n\n if (eventResult.defaultPrevented) {\n return;\n }\n\n if (!comp.value) {\n return;\n }\n\n const skipValidation = await shouldSuppressInternalValidation(comp);\n if (skipValidation) {\n return;\n }\n\n const { valid } = validityState;\n comp.hostElement.classList.toggle('ix-invalid--validity-invalid', !valid);\n}\n\nexport function onInputBlur<T>(\n comp: IxFormComponent<T>,\n input?: HTMLInputElement | HTMLTextAreaElement | null\n) {\n comp.ixBlur.emit();\n\n if (!input) {\n throw new Error('Input element is not available');\n }\n\n input.setAttribute('data-ix-touched', 'true');\n checkInternalValidity(comp, input);\n}\n\nexport function applyPaddingEnd(\n inputElement: HTMLElement | null,\n width: number,\n options: {\n slotEnd: boolean;\n additionalPaddingRight?: string;\n }\n) {\n if (!inputElement) {\n return;\n }\n\n const remInPixels = 16;\n const padding = convertToRemString(width + remInPixels / 2);\n\n if (options.slotEnd) {\n inputElement.style.paddingRight = `calc(${padding} + ${\n options.additionalPaddingRight ?? '0rem'\n })`;\n } else {\n inputElement.style.paddingLeft = padding;\n }\n}\n\nexport function adjustPaddingForStartAndEnd(\n startElement: HTMLElement | null,\n endElement: HTMLElement | null,\n inputElement: HTMLElement | null\n) {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (startElement) {\n const startBoundingRect = startElement.getBoundingClientRect();\n if (startBoundingRect) {\n applyPaddingEnd(inputElement, startBoundingRect.width, {\n slotEnd: false,\n });\n }\n }\n\n if (endElement) {\n const endBoundingRect = endElement.getBoundingClientRect();\n if (endBoundingRect) {\n applyPaddingEnd(inputElement, endBoundingRect.width, {\n slotEnd: true,\n });\n }\n }\n });\n });\n}\n\nexport function getAriaAttributesForInput(\n component: IxInputFieldComponent\n): A11yAttributes {\n const inputAria: A11yAttributes = {\n 'aria-invalid': `${a11yBoolean(component.isInvalid)}`,\n 'aria-required': `${a11yBoolean(component.required)}`,\n };\n\n if (component.isInvalid && component.invalidText) {\n inputAria['aria-errormessage'] = component.invalidText;\n }\n return inputAria;\n}\n\nexport type DisposableChangesAndVisibilityObservers = () => void;\n\nexport const addDisposableChangesAndVisibilityObservers = (\n element: HTMLElement,\n callback: () => void\n): DisposableChangesAndVisibilityObservers => {\n const intersectionObserver = observeElementUntilVisible(element, callback);\n const mutationObserver = createMutationObserver(callback);\n\n mutationObserver.observe(element, {\n subtree: true,\n attributes: true,\n });\n\n return () => {\n intersectionObserver.disconnect();\n mutationObserver.disconnect();\n };\n};\n\nfunction observeElementUntilVisible(\n hostElement: HTMLElement,\n updateCallback: () => void\n): IntersectionObserver {\n const intersectionObserver = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n updateCallback();\n }\n });\n });\n\n intersectionObserver.observe(hostElement);\n return intersectionObserver;\n}\n"],"names":[],"mappings":"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"}