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

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 (1527) hide show
  1. package/dist/cjs/base-button-B-wht3TB.js +74 -0
  2. package/dist/cjs/base-button-B-wht3TB.js.map +1 -0
  3. package/dist/cjs/base-icon-button-DNisNrCZ.js +21 -0
  4. package/dist/cjs/base-icon-button-DNisNrCZ.js.map +1 -0
  5. package/dist/cjs/helper-text-util-B_J9aPv0.js +45 -0
  6. package/dist/cjs/helper-text-util-B_J9aPv0.js.map +1 -0
  7. package/dist/cjs/index-CbtIH46j.js +2734 -0
  8. package/dist/cjs/index-CbtIH46j.js.map +1 -0
  9. package/dist/cjs/index.cjs.js +1 -17
  10. package/dist/cjs/index.cjs.js.map +1 -1
  11. package/dist/cjs/input.util-BDrqIfiB.js +215 -0
  12. package/dist/cjs/input.util-BDrqIfiB.js.map +1 -0
  13. package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
  14. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
  16. package/dist/cjs/ix-application-header.cjs.entry.js +4 -4
  17. package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
  18. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  19. package/dist/cjs/ix-application.cjs.entry.js +4 -4
  20. package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
  21. package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -3
  22. package/dist/cjs/ix-blind.cjs.entry.js +6 -6
  23. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
  25. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
  28. package/dist/cjs/ix-breadcrumb.cjs.entry.js +3 -3
  29. package/dist/cjs/ix-button.cjs.entry.js +4 -4
  30. package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
  31. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
  32. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
  34. package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
  35. package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
  36. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
  38. package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
  39. package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
  40. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  41. package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
  42. package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
  43. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
  45. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ix-content-header.entry.cjs.js.map +1 -1
  47. package/dist/cjs/ix-content.cjs.entry.js +4 -4
  48. package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
  49. package/dist/cjs/ix-css-grid.cjs.entry.js +2 -2
  50. package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ix-css-grid.entry.cjs.js.map +1 -1
  52. package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
  53. package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
  54. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
  56. package/dist/cjs/ix-date-input.cjs.entry.js +6 -6
  57. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
  59. package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
  60. package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
  62. package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
  63. package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
  65. package/dist/cjs/ix-divider.cjs.entry.js +2 -2
  66. package/dist/cjs/ix-drawer.cjs.entry.js +6 -6
  67. package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
  68. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
  70. package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
  71. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  72. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
  73. package/dist/cjs/ix-dropdown.cjs.entry.js +3 -3
  74. package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
  75. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
  77. package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
  78. package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
  79. package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
  80. package/dist/cjs/ix-field-label_2.cjs.entry.js +6 -6
  81. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
  82. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
  83. package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
  84. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
  85. package/dist/cjs/ix-group.cjs.entry.js +9 -9
  86. package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
  87. package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
  88. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  89. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
  91. package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
  92. package/dist/cjs/ix-input.cjs.entry.js +7 -7
  93. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  94. package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
  95. package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
  97. package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
  98. package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
  99. package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
  100. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
  101. package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -3
  102. package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
  103. package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
  104. package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
  105. package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
  106. package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
  107. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +3 -3
  108. package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
  109. package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js +123 -0
  110. package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js.map +1 -0
  111. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
  112. package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
  113. package/dist/cjs/ix-menu.cjs.entry.js +13 -13
  114. package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
  115. package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
  116. package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
  117. package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
  118. package/dist/cjs/ix-modal.cjs.entry.js +5 -5
  119. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
  121. package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
  122. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  123. package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
  124. package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
  125. package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
  126. package/dist/cjs/ix-pane.cjs.entry.js +7 -7
  127. package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
  128. package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
  129. package/dist/cjs/ix-pill.cjs.entry.js +5 -5
  130. package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
  131. package/dist/cjs/ix-progress-indicator.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ix-progress-indicator.entry.cjs.js.map +1 -1
  133. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  134. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  135. package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
  136. package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
  137. package/dist/cjs/ix-radio.cjs.entry.js +6 -6
  138. package/dist/cjs/ix-select.cjs.entry.js +11 -11
  139. package/dist/cjs/ix-slider.cjs.entry.js +8 -8
  140. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
  141. package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
  142. package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
  143. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
  144. package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
  145. package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
  146. package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
  147. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
  148. package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
  149. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
  150. package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
  151. package/dist/cjs/ix-tile.cjs.entry.js +5 -5
  152. package/dist/cjs/ix-time-input.cjs.entry.js +6 -6
  153. package/dist/cjs/ix-time-input.cjs.entry.js.map +1 -1
  154. package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
  155. package/dist/cjs/ix-time-picker.cjs.entry.js +6 -6
  156. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  157. package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
  158. package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
  159. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  160. package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
  161. package/dist/cjs/ix-toast.cjs.entry.js +3 -3
  162. package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -4
  163. package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
  164. package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
  165. package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
  166. package/dist/cjs/ix-tree.cjs.entry.js +2 -2
  167. package/dist/cjs/ix-typography.cjs.entry.js +2 -2
  168. package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
  169. package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
  170. package/dist/cjs/ix-upload.cjs.entry.js +1 -1
  171. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  172. package/dist/cjs/ix-workflow-step.cjs.entry.js +1 -1
  173. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  174. package/dist/cjs/listener-BT212YoD.js +78 -0
  175. package/dist/cjs/listener-BT212YoD.js.map +1 -0
  176. package/dist/cjs/loader.cjs.js +1 -1
  177. package/dist/cjs/modal-CR_0969h.js.map +1 -1
  178. package/dist/cjs/siemens-ix.cjs.js +1 -1
  179. package/dist/cjs/validation-rAd3wIQp.js +123 -0
  180. package/dist/cjs/validation-rAd3wIQp.js.map +1 -0
  181. package/dist/collection/collection-manifest.json +28 -28
  182. package/dist/collection/components/action-card/action-card.js +4 -4
  183. package/dist/collection/components/action-card/action-card.js.map +1 -1
  184. package/dist/collection/components/action-card/action-card.types.js +2 -0
  185. package/dist/collection/components/action-card/action-card.types.js.map +1 -0
  186. package/dist/collection/components/application/application.js +3 -3
  187. package/dist/collection/components/application-header/application-header.js +3 -3
  188. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
  189. package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
  190. package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
  191. package/dist/collection/components/blind/blind.js +8 -8
  192. package/dist/collection/components/blind/blind.js.map +1 -1
  193. package/dist/collection/components/blind/blind.types.js +2 -0
  194. package/dist/collection/components/blind/blind.types.js.map +1 -0
  195. package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
  196. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  197. package/dist/collection/components/button/button.js +2 -2
  198. package/dist/collection/components/card/card.js +5 -5
  199. package/dist/collection/components/card/card.js.map +1 -1
  200. package/dist/collection/components/card/card.types.js +2 -0
  201. package/dist/collection/components/card/card.types.js.map +1 -0
  202. package/dist/collection/components/card-accordion/card-accordion.js +6 -6
  203. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  204. package/dist/collection/components/card-accordion/card-accordion.types.js +2 -0
  205. package/dist/collection/components/card-accordion/card-accordion.types.js.map +1 -0
  206. package/dist/collection/components/card-content/card-content.js +1 -1
  207. package/dist/collection/components/card-list/card-list.js +4 -4
  208. package/dist/collection/components/card-title/card-title.js +1 -1
  209. package/dist/collection/components/category-filter/category-filter.js +3 -3
  210. package/dist/collection/components/checkbox/checkbox.js +3 -3
  211. package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
  212. package/dist/collection/components/chip/chip.js +4 -4
  213. package/dist/collection/components/col/col.js +13 -13
  214. package/dist/collection/components/col/col.js.map +1 -1
  215. package/dist/collection/components/col/col.types.js +2 -0
  216. package/dist/collection/components/col/col.types.js.map +1 -0
  217. package/dist/collection/components/content/content.js +3 -3
  218. package/dist/collection/components/content-header/content-header.js +4 -4
  219. package/dist/collection/components/content-header/content-header.js.map +1 -1
  220. package/dist/collection/components/content-header/content-header.types.js +2 -0
  221. package/dist/collection/components/content-header/content-header.types.js.map +1 -0
  222. package/dist/collection/components/css-grid/css-grid-item.js +1 -1
  223. package/dist/collection/components/css-grid/css-grid.js +4 -4
  224. package/dist/collection/components/css-grid/css-grid.js.map +1 -1
  225. package/dist/collection/components/css-grid/css-grid.types.js +2 -0
  226. package/dist/collection/components/css-grid/css-grid.types.js.map +1 -0
  227. package/dist/collection/components/custom-field/custom-field.js +1 -1
  228. package/dist/collection/components/date-dropdown/date-dropdown.js +13 -13
  229. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  230. package/dist/collection/components/date-dropdown/date-dropdown.types.js +2 -0
  231. package/dist/collection/components/date-dropdown/date-dropdown.types.js.map +1 -0
  232. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
  233. package/dist/collection/components/date-input/date-input.js +6 -6
  234. package/dist/collection/components/date-input/date-input.js.map +1 -1
  235. package/dist/collection/components/date-input/date-input.types.js +2 -0
  236. package/dist/collection/components/date-input/date-input.types.js.map +1 -0
  237. package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
  238. package/dist/collection/components/date-picker/date-picker.events.js +2 -0
  239. package/dist/collection/components/date-picker/date-picker.events.js.map +1 -0
  240. package/dist/collection/components/date-picker/date-picker.js +17 -17
  241. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  242. package/dist/collection/components/date-time-card/date-time-card.js +5 -5
  243. package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
  244. package/dist/collection/components/date-time-card/date-time-card.types.js +2 -0
  245. package/dist/collection/components/date-time-card/date-time-card.types.js.map +1 -0
  246. package/dist/collection/components/datetime-picker/datetime-picker.js +7 -7
  247. package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
  248. package/dist/collection/components/datetime-picker/datetime-picker.types.js +2 -0
  249. package/dist/collection/components/datetime-picker/datetime-picker.types.js.map +1 -0
  250. package/dist/collection/components/divider/divider.js +1 -1
  251. package/dist/collection/components/drawer/drawer.js +5 -5
  252. package/dist/collection/components/dropdown/dropdown.js +2 -2
  253. package/dist/collection/components/dropdown-button/dropdown-button.js +5 -5
  254. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  255. package/dist/collection/components/dropdown-button/dropdown-button.types.js +2 -0
  256. package/dist/collection/components/dropdown-button/dropdown-button.types.js.map +1 -0
  257. package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
  258. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  259. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  260. package/dist/collection/components/empty-state/empty-state.js +4 -4
  261. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  262. package/dist/collection/components/empty-state/empty-state.types.js +2 -0
  263. package/dist/collection/components/empty-state/empty-state.types.js.map +1 -0
  264. package/dist/collection/components/event-list/event-list.js +2 -2
  265. package/dist/collection/components/event-list-item/event-list-item.js +4 -4
  266. package/dist/collection/components/expanding-search/expanding-search.js +4 -4
  267. package/dist/collection/components/field-label/field-label.js +1 -1
  268. package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
  269. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  270. package/dist/collection/components/flip-tile/flip-tile.js +4 -4
  271. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  272. package/dist/collection/components/group/group-context-menu.js +1 -1
  273. package/dist/collection/components/group/group.js +8 -8
  274. package/dist/collection/components/group-item/group-item.js +2 -2
  275. package/dist/collection/components/helper-text/helper-text.js +1 -1
  276. package/dist/collection/components/icon-button/icon-button.js +4 -4
  277. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  278. package/dist/collection/components/icon-button/icon-button.types.js +2 -0
  279. package/dist/collection/components/icon-button/icon-button.types.js.map +1 -0
  280. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
  281. package/dist/collection/components/input/input.js +4 -4
  282. package/dist/collection/components/input/number-input.js +6 -6
  283. package/dist/collection/components/input/textarea.js +5 -5
  284. package/dist/collection/components/input/textarea.js.map +1 -1
  285. package/dist/collection/components/input/textarea.types.js +2 -0
  286. package/dist/collection/components/input/textarea.types.js.map +1 -0
  287. package/dist/collection/components/input-group/input-group.js +1 -1
  288. package/dist/collection/components/key-value/key-value.js +4 -4
  289. package/dist/collection/components/key-value/key-value.js.map +1 -1
  290. package/dist/collection/components/key-value/key-value.types.js +2 -0
  291. package/dist/collection/components/key-value/key-value.types.js.map +1 -0
  292. package/dist/collection/components/key-value-list/key-value-list.js +1 -1
  293. package/dist/collection/components/kpi/kpi.js +3 -3
  294. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  295. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  296. package/dist/collection/components/link-button/link-button.js +3 -3
  297. package/dist/collection/components/map-navigation/map-navigation.js +2 -2
  298. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
  299. package/dist/collection/components/menu/menu-expand-icon.js +1 -1
  300. package/dist/collection/components/menu/menu.js +12 -12
  301. package/dist/collection/components/menu-about/menu-about.js +1 -1
  302. package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
  303. package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
  304. package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
  305. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
  306. package/dist/collection/components/menu-category/menu-category.js +5 -5
  307. package/dist/collection/components/menu-item/menu-item.js +3 -3
  308. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  309. package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
  310. package/dist/collection/components/message-bar/message-bar.js +1 -1
  311. package/dist/collection/components/modal/modal.js +6 -6
  312. package/dist/collection/components/modal/modal.js.map +1 -1
  313. package/dist/collection/components/modal/modal.types.js +2 -0
  314. package/dist/collection/components/modal/modal.types.js.map +1 -0
  315. package/dist/collection/components/modal-content/modal-content.js +1 -1
  316. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  317. package/dist/collection/components/modal-header/modal-header.js +1 -1
  318. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  319. package/dist/collection/components/pagination/pagination.js +2 -2
  320. package/dist/collection/components/pane/pane.js +24 -24
  321. package/dist/collection/components/pane/pane.js.map +1 -1
  322. package/dist/collection/components/pane/pane.types.js +2 -0
  323. package/dist/collection/components/pane/pane.types.js.map +1 -0
  324. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  325. package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
  326. package/dist/collection/components/pill/pill.js +4 -4
  327. package/dist/collection/components/progress-indicator/circular.js.map +1 -1
  328. package/dist/collection/components/progress-indicator/progress-indicator.js +6 -6
  329. package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
  330. package/dist/collection/components/progress-indicator/progress-indicator.types.js +2 -0
  331. package/dist/collection/components/progress-indicator/progress-indicator.types.js.map +1 -0
  332. package/dist/collection/components/push-card/push-card.js +4 -4
  333. package/dist/collection/components/push-card/push-card.js.map +1 -1
  334. package/dist/collection/components/push-card/push-card.types.js +2 -0
  335. package/dist/collection/components/push-card/push-card.types.js.map +1 -0
  336. package/dist/collection/components/radio/radio.js +4 -4
  337. package/dist/collection/components/radio-group/radio-group.js +2 -2
  338. package/dist/collection/components/row/row.js +1 -1
  339. package/dist/collection/components/select/select.js +8 -8
  340. package/dist/collection/components/select-item/select-item.js +1 -1
  341. package/dist/collection/components/slider/slider.js +9 -9
  342. package/dist/collection/components/slider/slider.js.map +1 -1
  343. package/dist/collection/components/slider/slider.types.js +2 -0
  344. package/dist/collection/components/slider/slider.types.js.map +1 -0
  345. package/dist/collection/components/spinner/spinner.js +1 -1
  346. package/dist/collection/components/split-button/split-button.js +4 -4
  347. package/dist/collection/components/split-button/split-button.js.map +1 -1
  348. package/dist/collection/components/split-button/split-button.types.js +2 -0
  349. package/dist/collection/components/split-button/split-button.types.js.map +1 -0
  350. package/dist/collection/components/tab-item/tab-item.js +6 -6
  351. package/dist/collection/components/tab-item/tab-item.js.map +1 -1
  352. package/dist/collection/components/tab-item/tab-item.types.js +2 -0
  353. package/dist/collection/components/tab-item/tab-item.types.js.map +1 -0
  354. package/dist/collection/components/tabs/tabs.js +2 -2
  355. package/dist/collection/components/tile/tile.js +4 -4
  356. package/dist/collection/components/time-input/time-input.js +6 -6
  357. package/dist/collection/components/time-input/time-input.js.map +1 -1
  358. package/dist/collection/components/time-input/time-input.types.js +2 -0
  359. package/dist/collection/components/time-input/time-input.types.js.map +1 -0
  360. package/dist/collection/components/time-picker/time-picker.js +7 -7
  361. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  362. package/dist/collection/components/time-picker/time-picker.types.js +2 -0
  363. package/dist/collection/components/time-picker/time-picker.types.js.map +1 -0
  364. package/dist/collection/components/toast/toast-container.js +5 -5
  365. package/dist/collection/components/toast/toast-container.js.map +1 -1
  366. package/dist/collection/components/toast/toast-container.types.js +2 -0
  367. package/dist/collection/components/toast/toast-container.types.js.map +1 -0
  368. package/dist/collection/components/toast/toast-utils.js.map +1 -1
  369. package/dist/collection/components/toast/toast.js +2 -2
  370. package/dist/collection/components/toggle/toggle.js +3 -3
  371. package/dist/collection/components/toggle-button/toggle-button.js +2 -2
  372. package/dist/collection/components/tooltip/tooltip.js +1 -1
  373. package/dist/collection/components/tree/tree.js +1 -1
  374. package/dist/collection/components/tree-item/tree-item.js +4 -4
  375. package/dist/collection/components/typography/typography.js +10 -10
  376. package/dist/collection/components/typography/typography.js.map +1 -1
  377. package/dist/collection/components/typography/typography.types.js +2 -0
  378. package/dist/collection/components/typography/typography.types.js.map +1 -0
  379. package/dist/collection/components/utils/modal/modal.js.map +1 -1
  380. package/dist/collection/index.js +1 -19
  381. package/dist/collection/index.js.map +1 -1
  382. package/dist/collection/public-api.js +22 -0
  383. package/dist/collection/public-api.js.map +1 -0
  384. package/dist/esm/base-button-CKT5FMT1.js +71 -0
  385. package/dist/esm/base-button-CKT5FMT1.js.map +1 -0
  386. package/dist/esm/base-icon-button-7cQMdhTz.js +19 -0
  387. package/dist/esm/base-icon-button-7cQMdhTz.js.map +1 -0
  388. package/dist/esm/helper-text-util-CBCAKFyG.js +42 -0
  389. package/dist/esm/helper-text-util-CBCAKFyG.js.map +1 -0
  390. package/dist/esm/index-DJsXFBNm.js +2702 -0
  391. package/dist/esm/index-DJsXFBNm.js.map +1 -0
  392. package/dist/esm/index.js +2 -17
  393. package/dist/esm/index.js.map +1 -1
  394. package/dist/esm/input.util-DGHGYsFM.js +203 -0
  395. package/dist/esm/input.util-DGHGYsFM.js.map +1 -0
  396. package/dist/esm/ix-action-card.entry.js +2 -2
  397. package/dist/esm/ix-action-card.entry.js.map +1 -1
  398. package/dist/esm/ix-application-header.entry.js +4 -4
  399. package/dist/esm/ix-application-sidebar.entry.js +2 -2
  400. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  401. package/dist/esm/ix-application.entry.js +4 -4
  402. package/dist/esm/ix-avatar_2.entry.js +3 -3
  403. package/dist/esm/ix-basic-navigation.entry.js +3 -3
  404. package/dist/esm/ix-blind.entry.js +6 -6
  405. package/dist/esm/ix-blind.entry.js.map +1 -1
  406. package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
  407. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  408. package/dist/esm/ix-breadcrumb.entry.js +3 -3
  409. package/dist/esm/ix-button.entry.js +4 -4
  410. package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
  411. package/dist/esm/ix-card-accordion_2.entry.js +5 -5
  412. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  413. package/dist/esm/ix-card-list.entry.js +5 -5
  414. package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
  415. package/dist/esm/ix-card_2.entry.js +4 -4
  416. package/dist/esm/ix-card_2.entry.js.map +1 -1
  417. package/dist/esm/ix-category-filter.entry.js +5 -5
  418. package/dist/esm/ix-checkbox-group.entry.js +4 -4
  419. package/dist/esm/ix-checkbox.entry.js +5 -5
  420. package/dist/esm/ix-chip.entry.js +5 -5
  421. package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
  422. package/dist/esm/ix-col_4.entry.js +12 -12
  423. package/dist/esm/ix-col_4.entry.js.map +1 -1
  424. package/dist/esm/ix-content-header.entry.js +2 -2
  425. package/dist/esm/ix-content-header.entry.js.map +1 -1
  426. package/dist/esm/ix-content.entry.js +4 -4
  427. package/dist/esm/ix-css-grid-item.entry.js +2 -2
  428. package/dist/esm/ix-css-grid.entry.js +2 -2
  429. package/dist/esm/ix-css-grid.entry.js.map +1 -1
  430. package/dist/esm/ix-custom-field.entry.js +3 -3
  431. package/dist/esm/ix-date-dropdown.entry.js +5 -5
  432. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  433. package/dist/esm/ix-date-input.entry.js +6 -6
  434. package/dist/esm/ix-date-input.entry.js.map +1 -1
  435. package/dist/esm/ix-date-time-card.entry.js +3 -3
  436. package/dist/esm/ix-date-time-card.entry.js.map +1 -1
  437. package/dist/esm/ix-datetime-picker.entry.js +2 -2
  438. package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
  439. package/dist/esm/ix-divider.entry.js +2 -2
  440. package/dist/esm/ix-drawer.entry.js +6 -6
  441. package/dist/esm/ix-dropdown-button.entry.js +3 -3
  442. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  443. package/dist/esm/ix-dropdown-header.entry.js +2 -2
  444. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  445. package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
  446. package/dist/esm/ix-dropdown.entry.js +3 -3
  447. package/dist/esm/ix-empty-state.entry.js +2 -2
  448. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  449. package/dist/esm/ix-event-list-item.entry.js +5 -5
  450. package/dist/esm/ix-event-list.entry.js +3 -3
  451. package/dist/esm/ix-expanding-search.entry.js +5 -5
  452. package/dist/esm/ix-field-label_2.entry.js +6 -6
  453. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  454. package/dist/esm/ix-flip-tile-content.entry.js +2 -2
  455. package/dist/esm/ix-flip-tile.entry.js +5 -5
  456. package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
  457. package/dist/esm/ix-group.entry.js +9 -9
  458. package/dist/esm/ix-helper-text.entry.js +4 -4
  459. package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
  460. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  461. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  462. package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
  463. package/dist/esm/ix-input-group.entry.js +2 -2
  464. package/dist/esm/ix-input.entry.js +7 -7
  465. package/dist/esm/ix-key-value-list.entry.js +2 -2
  466. package/dist/esm/ix-key-value.entry.js +2 -2
  467. package/dist/esm/ix-key-value.entry.js.map +1 -1
  468. package/dist/esm/ix-kpi.entry.js +4 -4
  469. package/dist/esm/ix-layout-auto.entry.js +2 -2
  470. package/dist/esm/ix-link-button.entry.js +4 -4
  471. package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
  472. package/dist/esm/ix-map-navigation.entry.js +3 -3
  473. package/dist/esm/ix-menu-about-item.entry.js +2 -2
  474. package/dist/esm/ix-menu-about-news.entry.js +5 -5
  475. package/dist/esm/ix-menu-about.entry.js +3 -3
  476. package/dist/esm/ix-menu-avatar.entry.js +3 -3
  477. package/dist/esm/ix-menu-category.entry.js +6 -6
  478. package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
  479. package/dist/esm/ix-menu-item.entry.js +4 -4
  480. package/dist/esm/ix-menu-settings-B56_taBh.js +118 -0
  481. package/dist/esm/ix-menu-settings-B56_taBh.js.map +1 -0
  482. package/dist/esm/ix-menu-settings-item.entry.js +2 -2
  483. package/dist/esm/ix-menu-settings.entry.js +2 -2
  484. package/dist/esm/ix-menu.entry.js +13 -13
  485. package/dist/esm/ix-message-bar.entry.js +2 -2
  486. package/dist/esm/ix-modal-content_2.entry.js +3 -3
  487. package/dist/esm/ix-modal-footer.entry.js +2 -2
  488. package/dist/esm/ix-modal-loading.entry.js +2 -2
  489. package/dist/esm/ix-modal.entry.js +5 -5
  490. package/dist/esm/ix-modal.entry.js.map +1 -1
  491. package/dist/esm/ix-number-input.entry.js +9 -9
  492. package/dist/esm/ix-pagination.entry.js +4 -4
  493. package/dist/esm/ix-pane-layout.entry.js +2 -2
  494. package/dist/esm/ix-pane-layout.entry.js.map +1 -1
  495. package/dist/esm/ix-pane.entry.js +7 -7
  496. package/dist/esm/ix-pane.entry.js.map +1 -1
  497. package/dist/esm/ix-pill.entry.js +5 -5
  498. package/dist/esm/ix-progress-indicator.entry.js +4 -4
  499. package/dist/esm/ix-progress-indicator.entry.js.map +1 -1
  500. package/dist/esm/ix-push-card.entry.js +2 -2
  501. package/dist/esm/ix-push-card.entry.js.map +1 -1
  502. package/dist/esm/ix-radio-group.entry.js +4 -4
  503. package/dist/esm/ix-radio.entry.js +6 -6
  504. package/dist/esm/ix-select.entry.js +11 -11
  505. package/dist/esm/ix-slider.entry.js +8 -8
  506. package/dist/esm/ix-slider.entry.js.map +1 -1
  507. package/dist/esm/ix-split-button.entry.js +2 -2
  508. package/dist/esm/ix-split-button.entry.js.map +1 -1
  509. package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
  510. package/dist/esm/ix-tab-item_2.entry.js +6 -6
  511. package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
  512. package/dist/esm/ix-textarea.entry.js +5 -5
  513. package/dist/esm/ix-textarea.entry.js.map +1 -1
  514. package/dist/esm/ix-tile.entry.js +5 -5
  515. package/dist/esm/ix-time-input.entry.js +6 -6
  516. package/dist/esm/ix-time-input.entry.js.map +1 -1
  517. package/dist/esm/ix-time-picker.entry.js +6 -6
  518. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  519. package/dist/esm/ix-toast-container.entry.js +3 -3
  520. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  521. package/dist/esm/ix-toast.entry.js +3 -3
  522. package/dist/esm/ix-toggle-button.entry.js +4 -4
  523. package/dist/esm/ix-toggle.entry.js +5 -5
  524. package/dist/esm/ix-tooltip.entry.js +2 -2
  525. package/dist/esm/ix-tree-item.entry.js +5 -5
  526. package/dist/esm/ix-tree.entry.js +2 -2
  527. package/dist/esm/ix-typography.entry.js +2 -2
  528. package/dist/esm/ix-typography.entry.js.map +1 -1
  529. package/dist/esm/ix-upload.entry.js +1 -1
  530. package/dist/esm/ix-validation-tooltip.entry.js +1 -1
  531. package/dist/esm/ix-workflow-step.entry.js +1 -1
  532. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  533. package/dist/esm/listener-B0yYRvMl.js +76 -0
  534. package/dist/esm/listener-B0yYRvMl.js.map +1 -0
  535. package/dist/esm/loader.js +2 -2
  536. package/dist/esm/modal-BldRA6Um.js.map +1 -1
  537. package/dist/esm/siemens-ix.js +2 -2
  538. package/dist/esm/validation-gQpVWmEm.js +118 -0
  539. package/dist/esm/validation-gQpVWmEm.js.map +1 -0
  540. package/dist/siemens-ix/index.esm.js +1 -1
  541. package/dist/siemens-ix/index.esm.js.map +1 -1
  542. package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
  543. package/dist/siemens-ix/ix-blind.entry.esm.js.map +1 -1
  544. package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
  545. package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
  546. package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
  547. package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
  548. package/dist/siemens-ix/ix-content-header.entry.esm.js.map +1 -1
  549. package/dist/siemens-ix/ix-css-grid.entry.esm.js.map +1 -1
  550. package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
  551. package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
  552. package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
  553. package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
  554. package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
  555. package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
  556. package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
  557. package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
  558. package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
  559. package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
  560. package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
  561. package/dist/siemens-ix/ix-progress-indicator.entry.esm.js.map +1 -1
  562. package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
  563. package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
  564. package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
  565. package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
  566. package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
  567. package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
  568. package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
  569. package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
  570. package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
  571. package/dist/siemens-ix/p--JQiLjHw.js +2 -0
  572. package/dist/siemens-ix/p--JQiLjHw.js.map +1 -0
  573. package/dist/siemens-ix/p-003ae2cf.entry.js +2 -0
  574. package/dist/siemens-ix/p-00eff8b5.entry.js +2 -0
  575. package/dist/siemens-ix/p-0195766f.entry.js +2 -0
  576. package/dist/siemens-ix/p-025c5b1b.entry.js +2 -0
  577. package/dist/siemens-ix/p-03b8e425.entry.js +2 -0
  578. package/dist/siemens-ix/p-04527b1e.entry.js +2 -0
  579. package/dist/siemens-ix/p-07b2da86.entry.js +2 -0
  580. package/dist/siemens-ix/p-0935e05e.entry.js +2 -0
  581. package/dist/siemens-ix/p-0935e05e.entry.js.map +1 -0
  582. package/dist/siemens-ix/p-098aa857.entry.js +2 -0
  583. package/dist/siemens-ix/p-0b2e7f25.entry.js +2 -0
  584. package/dist/siemens-ix/p-0b2e7f25.entry.js.map +1 -0
  585. package/dist/siemens-ix/p-130ffc16.entry.js +2 -0
  586. package/dist/siemens-ix/p-13b5f3c3.entry.js +2 -0
  587. package/dist/siemens-ix/p-14d2042d.entry.js +2 -0
  588. package/dist/siemens-ix/p-15e0db51.entry.js +2 -0
  589. package/dist/siemens-ix/p-15e0db51.entry.js.map +1 -0
  590. package/dist/siemens-ix/p-173dfb9e.entry.js +2 -0
  591. package/dist/siemens-ix/p-173dfb9e.entry.js.map +1 -0
  592. package/dist/siemens-ix/p-19501b80.entry.js +2 -0
  593. package/dist/siemens-ix/p-1df6d18f.entry.js +2 -0
  594. package/dist/siemens-ix/p-1fdfe35a.entry.js +2 -0
  595. package/dist/siemens-ix/p-2642d96b.entry.js +2 -0
  596. package/dist/siemens-ix/p-28aece6e.entry.js +2 -0
  597. package/dist/siemens-ix/p-29d44cef.entry.js +2 -0
  598. package/dist/siemens-ix/p-2db9bcfa.entry.js +2 -0
  599. package/dist/siemens-ix/p-2db9bcfa.entry.js.map +1 -0
  600. package/dist/siemens-ix/p-2f2dfb6e.entry.js +2 -0
  601. package/dist/siemens-ix/p-2f9b9e7a.entry.js +2 -0
  602. package/dist/siemens-ix/p-326c0944.entry.js +2 -0
  603. package/dist/siemens-ix/p-326c0944.entry.js.map +1 -0
  604. package/dist/siemens-ix/p-35054c78.entry.js +2 -0
  605. package/dist/siemens-ix/p-35054c78.entry.js.map +1 -0
  606. package/dist/siemens-ix/p-36b894a2.entry.js +2 -0
  607. package/dist/siemens-ix/p-36b894a2.entry.js.map +1 -0
  608. package/dist/siemens-ix/p-3b45287a.entry.js +2 -0
  609. package/dist/siemens-ix/p-3b45287a.entry.js.map +1 -0
  610. package/dist/siemens-ix/p-440a0ee0.entry.js +2 -0
  611. package/dist/siemens-ix/p-44be2535.entry.js +2 -0
  612. package/dist/siemens-ix/p-44be2535.entry.js.map +1 -0
  613. package/dist/siemens-ix/p-456ca686.entry.js +2 -0
  614. package/dist/siemens-ix/p-456ca686.entry.js.map +1 -0
  615. package/dist/siemens-ix/p-4657ec52.entry.js +2 -0
  616. package/dist/siemens-ix/p-4657ec52.entry.js.map +1 -0
  617. package/dist/siemens-ix/p-472c1d6b.entry.js +2 -0
  618. package/dist/siemens-ix/p-47f395be.entry.js +2 -0
  619. package/dist/siemens-ix/p-483bc052.entry.js +2 -0
  620. package/dist/siemens-ix/p-4959b8e6.entry.js +2 -0
  621. package/dist/siemens-ix/p-4e2b30a4.entry.js +2 -0
  622. package/dist/siemens-ix/p-4e2b30a4.entry.js.map +1 -0
  623. package/dist/siemens-ix/p-4ef7a072.entry.js +2 -0
  624. package/dist/siemens-ix/p-4ef7a072.entry.js.map +1 -0
  625. package/dist/siemens-ix/p-4fe2d0f7.entry.js +2 -0
  626. package/dist/siemens-ix/p-518b5533.entry.js +2 -0
  627. package/dist/siemens-ix/p-518b5533.entry.js.map +1 -0
  628. package/dist/siemens-ix/p-5b22342c.entry.js +2 -0
  629. package/dist/siemens-ix/p-605a9fe8.entry.js +2 -0
  630. package/dist/siemens-ix/p-6337e880.entry.js +2 -0
  631. package/dist/siemens-ix/p-6549edf0.entry.js +2 -0
  632. package/dist/siemens-ix/p-66d20585.entry.js +2 -0
  633. package/dist/siemens-ix/p-6adde42d.entry.js +2 -0
  634. package/dist/siemens-ix/p-6cc448b4.entry.js +2 -0
  635. package/dist/siemens-ix/p-7011678e.entry.js +2 -0
  636. package/dist/siemens-ix/p-7111f065.entry.js +2 -0
  637. package/dist/siemens-ix/p-71c14a29.entry.js +2 -0
  638. package/dist/siemens-ix/p-71c14a29.entry.js.map +1 -0
  639. package/dist/siemens-ix/p-76f59fa5.entry.js +2 -0
  640. package/dist/siemens-ix/p-777675ce.entry.js +2 -0
  641. package/dist/siemens-ix/p-7a336485.entry.js +2 -0
  642. package/dist/siemens-ix/p-7a336485.entry.js.map +1 -0
  643. package/dist/siemens-ix/p-8d4558b9.entry.js +2 -0
  644. package/dist/siemens-ix/p-8fcada5a.entry.js +2 -0
  645. package/dist/siemens-ix/p-91ba2527.entry.js +2 -0
  646. package/dist/siemens-ix/p-97693d72.entry.js +2 -0
  647. package/dist/siemens-ix/p-97a53af6.entry.js +2 -0
  648. package/dist/siemens-ix/p-981dae13.entry.js +2 -0
  649. package/dist/siemens-ix/p-981dae13.entry.js.map +1 -0
  650. package/dist/siemens-ix/p-988f37da.entry.js +2 -0
  651. package/dist/siemens-ix/p-9f74e709.entry.js +2 -0
  652. package/dist/siemens-ix/p-9f74e709.entry.js.map +1 -0
  653. package/dist/siemens-ix/p-9f7d82d2.entry.js +2 -0
  654. package/dist/siemens-ix/p-BsJawkTz.js +2 -0
  655. package/dist/siemens-ix/p-BsJawkTz.js.map +1 -0
  656. package/dist/siemens-ix/p-BxQZld1q.js.map +1 -1
  657. package/dist/siemens-ix/p-CFsAnuUU.js +2 -0
  658. package/dist/siemens-ix/p-CFsAnuUU.js.map +1 -0
  659. package/dist/siemens-ix/p-CpY7qbN7.js +2 -0
  660. package/dist/siemens-ix/p-CpY7qbN7.js.map +1 -0
  661. package/dist/siemens-ix/p-Cpl-a_ti.js +2 -0
  662. package/dist/siemens-ix/p-Cpl-a_ti.js.map +1 -0
  663. package/dist/siemens-ix/p-CthRnoDv.js +2 -0
  664. package/dist/siemens-ix/p-CthRnoDv.js.map +1 -0
  665. package/dist/siemens-ix/p-DJsXFBNm.js +3 -0
  666. package/dist/siemens-ix/p-DJsXFBNm.js.map +1 -0
  667. package/dist/siemens-ix/p-_tyNUrlp.js +2 -0
  668. package/dist/siemens-ix/p-_tyNUrlp.js.map +1 -0
  669. package/dist/siemens-ix/p-a43c4907.entry.js +2 -0
  670. package/dist/siemens-ix/p-a6ea8bc6.entry.js +2 -0
  671. package/dist/siemens-ix/p-a6ea8bc6.entry.js.map +1 -0
  672. package/dist/siemens-ix/p-a7bdd5fd.entry.js +2 -0
  673. package/dist/siemens-ix/p-a7bdd5fd.entry.js.map +1 -0
  674. package/dist/siemens-ix/p-a8cd5e58.entry.js +2 -0
  675. package/dist/siemens-ix/p-a8cd5e58.entry.js.map +1 -0
  676. package/dist/siemens-ix/p-a9336906.entry.js +2 -0
  677. package/dist/siemens-ix/p-a9336906.entry.js.map +1 -0
  678. package/dist/siemens-ix/p-a9ec8094.entry.js +2 -0
  679. package/dist/siemens-ix/p-aa2dd2c3.entry.js +2 -0
  680. package/dist/siemens-ix/p-aa2dd2c3.entry.js.map +1 -0
  681. package/dist/siemens-ix/p-afd392d5.entry.js +2 -0
  682. package/dist/siemens-ix/p-b00517df.entry.js +2 -0
  683. package/dist/siemens-ix/p-b3d4d2cd.entry.js +2 -0
  684. package/dist/siemens-ix/p-b548335e.entry.js +2 -0
  685. package/dist/siemens-ix/p-b735b8ce.entry.js +2 -0
  686. package/dist/siemens-ix/p-ba24447f.entry.js +2 -0
  687. package/dist/siemens-ix/p-ba24447f.entry.js.map +1 -0
  688. package/dist/siemens-ix/p-bec289d7.entry.js +2 -0
  689. package/dist/siemens-ix/p-bf7fbdfc.entry.js +2 -0
  690. package/dist/siemens-ix/p-bf8dd5a1.entry.js +2 -0
  691. package/dist/siemens-ix/p-c050d511.entry.js +2 -0
  692. package/dist/siemens-ix/p-c050d511.entry.js.map +1 -0
  693. package/dist/siemens-ix/p-c24a5925.entry.js +2 -0
  694. package/dist/siemens-ix/p-c24a5925.entry.js.map +1 -0
  695. package/dist/siemens-ix/p-c5f8ccc9.entry.js +2 -0
  696. package/dist/siemens-ix/p-c9ab3079.entry.js +2 -0
  697. package/dist/siemens-ix/p-c9ab3079.entry.js.map +1 -0
  698. package/dist/siemens-ix/p-c9d48927.entry.js +2 -0
  699. package/dist/siemens-ix/p-ce3aebe6.entry.js +2 -0
  700. package/dist/siemens-ix/p-cf052f87.entry.js +2 -0
  701. package/dist/siemens-ix/p-cf052f87.entry.js.map +1 -0
  702. package/dist/siemens-ix/p-d0c1473e.entry.js +2 -0
  703. package/dist/siemens-ix/p-d0c1473e.entry.js.map +1 -0
  704. package/dist/siemens-ix/p-d3458382.entry.js +2 -0
  705. package/dist/siemens-ix/p-d605b181.entry.js +2 -0
  706. package/dist/siemens-ix/p-db6d5110.entry.js +2 -0
  707. package/dist/siemens-ix/p-db6d5110.entry.js.map +1 -0
  708. package/dist/siemens-ix/p-de79e8c0.entry.js +2 -0
  709. package/dist/siemens-ix/p-de79e8c0.entry.js.map +1 -0
  710. package/dist/siemens-ix/p-dfb5f7d8.entry.js +2 -0
  711. package/dist/siemens-ix/p-dfe4de85.entry.js +2 -0
  712. package/dist/siemens-ix/p-ea142215.entry.js +2 -0
  713. package/dist/siemens-ix/p-ead88218.entry.js +2 -0
  714. package/dist/siemens-ix/p-ec7cd008.entry.js +2 -0
  715. package/dist/siemens-ix/p-ecd576f8.entry.js +2 -0
  716. package/dist/siemens-ix/p-ecd576f8.entry.js.map +1 -0
  717. package/dist/siemens-ix/p-ee2902a5.entry.js +2 -0
  718. package/dist/siemens-ix/p-f4415d44.entry.js +2 -0
  719. package/dist/siemens-ix/p-f4ce72e4.entry.js +2 -0
  720. package/dist/siemens-ix/p-f4ce72e4.entry.js.map +1 -0
  721. package/dist/siemens-ix/p-f6a6694e.entry.js +2 -0
  722. package/dist/siemens-ix/p-f6a6694e.entry.js.map +1 -0
  723. package/dist/siemens-ix/p-fbacd6eb.entry.js +2 -0
  724. package/dist/siemens-ix/p-fbacd6eb.entry.js.map +1 -0
  725. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  726. package/dist/types/components/action-card/action-card.d.ts +1 -2
  727. package/dist/types/components/action-card/action-card.types.d.ts +2 -0
  728. package/dist/types/components/blind/blind.d.ts +1 -2
  729. package/dist/types/components/blind/blind.types.d.ts +2 -0
  730. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
  731. package/dist/types/components/card/card.d.ts +1 -1
  732. package/dist/types/components/card/card.types.d.ts +1 -0
  733. package/dist/types/components/card-accordion/card-accordion.d.ts +1 -4
  734. package/dist/types/components/card-accordion/card-accordion.types.d.ts +4 -0
  735. package/dist/types/components/col/col.d.ts +1 -1
  736. package/dist/types/components/col/col.types.d.ts +1 -0
  737. package/dist/types/components/content-header/content-header.d.ts +1 -1
  738. package/dist/types/components/content-header/content-header.types.d.ts +1 -0
  739. package/dist/types/components/css-grid/css-grid.d.ts +1 -1
  740. package/dist/types/components/css-grid/css-grid.types.d.ts +1 -0
  741. package/dist/types/components/date-dropdown/date-dropdown.d.ts +1 -11
  742. package/dist/types/components/date-dropdown/date-dropdown.types.d.ts +11 -0
  743. package/dist/types/components/date-input/date-input.d.ts +1 -4
  744. package/dist/types/components/date-input/date-input.types.d.ts +4 -0
  745. package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
  746. package/dist/types/components/date-picker/date-picker.d.ts +2 -5
  747. package/dist/types/components/date-picker/date-picker.events.d.ts +4 -0
  748. package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
  749. package/dist/types/components/date-time-card/date-time-card.types.d.ts +1 -0
  750. package/dist/types/components/datetime-picker/datetime-picker.d.ts +1 -6
  751. package/dist/types/components/datetime-picker/datetime-picker.types.d.ts +6 -0
  752. package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -2
  753. package/dist/types/components/dropdown-button/dropdown-button.types.d.ts +2 -0
  754. package/dist/types/components/empty-state/empty-state.d.ts +1 -1
  755. package/dist/types/components/empty-state/empty-state.types.d.ts +1 -0
  756. package/dist/types/components/icon-button/icon-button.d.ts +1 -2
  757. package/dist/types/components/icon-button/icon-button.types.d.ts +2 -0
  758. package/dist/types/components/input/textarea.d.ts +1 -1
  759. package/dist/types/components/input/textarea.types.d.ts +1 -0
  760. package/dist/types/components/key-value/key-value.d.ts +1 -1
  761. package/dist/types/components/key-value/key-value.types.d.ts +1 -0
  762. package/dist/types/components/modal/modal.d.ts +1 -3
  763. package/dist/types/components/modal/modal.types.d.ts +3 -0
  764. package/dist/types/components/pane/pane.d.ts +1 -21
  765. package/dist/types/components/pane/pane.types.d.ts +21 -0
  766. package/dist/types/components/progress-indicator/circular.d.ts +1 -1
  767. package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
  768. package/dist/types/components/progress-indicator/progress-indicator.types.d.ts +1 -0
  769. package/dist/types/components/push-card/push-card.d.ts +1 -2
  770. package/dist/types/components/push-card/push-card.types.d.ts +2 -0
  771. package/dist/types/components/slider/slider.d.ts +1 -1
  772. package/dist/types/components/slider/slider.types.d.ts +1 -0
  773. package/dist/types/components/split-button/split-button.d.ts +1 -2
  774. package/dist/types/components/split-button/split-button.types.d.ts +2 -0
  775. package/dist/types/components/tab-item/tab-item.d.ts +1 -3
  776. package/dist/types/components/tab-item/tab-item.types.d.ts +3 -0
  777. package/dist/types/components/time-input/time-input.d.ts +1 -4
  778. package/dist/types/components/time-input/time-input.types.d.ts +4 -0
  779. package/dist/types/components/time-picker/time-picker.d.ts +1 -2
  780. package/dist/types/components/time-picker/time-picker.types.d.ts +2 -0
  781. package/dist/types/components/toast/toast-container.d.ts +1 -5
  782. package/dist/types/components/toast/toast-container.types.d.ts +5 -0
  783. package/dist/types/components/toast/toast-utils.d.ts +1 -1
  784. package/dist/types/components/typography/typography.d.ts +1 -10
  785. package/dist/types/components/typography/typography.types.d.ts +10 -0
  786. package/dist/types/components/utils/modal/modal.d.ts +1 -1
  787. package/dist/types/components.d.ts +58 -60
  788. package/dist/types/index.d.ts +3 -16
  789. package/dist/types/public-api.d.ts +15 -0
  790. package/hydrate/index.js +256 -256
  791. package/hydrate/index.mjs +256 -256
  792. package/package.json +4 -5
  793. package/components/custom-elements.d.ts +0 -10
  794. package/components/index.d.ts +0 -33
  795. package/components/index.js +0 -137
  796. package/components/index.js.map +0 -1
  797. package/components/ix-action-card.d.ts +0 -11
  798. package/components/ix-action-card.js +0 -72
  799. package/components/ix-action-card.js.map +0 -1
  800. package/components/ix-application-header.d.ts +0 -11
  801. package/components/ix-application-header.js +0 -9
  802. package/components/ix-application-header.js.map +0 -1
  803. package/components/ix-application-sidebar.d.ts +0 -11
  804. package/components/ix-application-sidebar.js +0 -64
  805. package/components/ix-application-sidebar.js.map +0 -1
  806. package/components/ix-application-switch-modal.d.ts +0 -11
  807. package/components/ix-application-switch-modal.js +0 -106
  808. package/components/ix-application-switch-modal.js.map +0 -1
  809. package/components/ix-application.d.ts +0 -11
  810. package/components/ix-application.js +0 -148
  811. package/components/ix-application.js.map +0 -1
  812. package/components/ix-avatar.d.ts +0 -11
  813. package/components/ix-avatar.js +0 -9
  814. package/components/ix-avatar.js.map +0 -1
  815. package/components/ix-basic-navigation.d.ts +0 -11
  816. package/components/ix-basic-navigation.js +0 -154
  817. package/components/ix-basic-navigation.js.map +0 -1
  818. package/components/ix-blind.d.ts +0 -11
  819. package/components/ix-blind.js +0 -130
  820. package/components/ix-blind.js.map +0 -1
  821. package/components/ix-breadcrumb-item.d.ts +0 -11
  822. package/components/ix-breadcrumb-item.js +0 -9
  823. package/components/ix-breadcrumb-item.js.map +0 -1
  824. package/components/ix-breadcrumb.d.ts +0 -11
  825. package/components/ix-breadcrumb.js +0 -169
  826. package/components/ix-breadcrumb.js.map +0 -1
  827. package/components/ix-button.d.ts +0 -11
  828. package/components/ix-button.js +0 -9
  829. package/components/ix-button.js.map +0 -1
  830. package/components/ix-card-accordion.d.ts +0 -11
  831. package/components/ix-card-accordion.js +0 -9
  832. package/components/ix-card-accordion.js.map +0 -1
  833. package/components/ix-card-content.d.ts +0 -11
  834. package/components/ix-card-content.js +0 -9
  835. package/components/ix-card-content.js.map +0 -1
  836. package/components/ix-card-list.d.ts +0 -11
  837. package/components/ix-card-list.js +0 -256
  838. package/components/ix-card-list.js.map +0 -1
  839. package/components/ix-card-title.d.ts +0 -11
  840. package/components/ix-card-title.js +0 -9
  841. package/components/ix-card-title.js.map +0 -1
  842. package/components/ix-card.d.ts +0 -11
  843. package/components/ix-card.js +0 -9
  844. package/components/ix-card.js.map +0 -1
  845. package/components/ix-category-filter.d.ts +0 -11
  846. package/components/ix-category-filter.js +0 -600
  847. package/components/ix-category-filter.js.map +0 -1
  848. package/components/ix-checkbox-group.d.ts +0 -11
  849. package/components/ix-checkbox-group.js +0 -158
  850. package/components/ix-checkbox-group.js.map +0 -1
  851. package/components/ix-checkbox.d.ts +0 -11
  852. package/components/ix-checkbox.js +0 -163
  853. package/components/ix-checkbox.js.map +0 -1
  854. package/components/ix-chip.d.ts +0 -11
  855. package/components/ix-chip.js +0 -154
  856. package/components/ix-chip.js.map +0 -1
  857. package/components/ix-col.d.ts +0 -11
  858. package/components/ix-col.js +0 -9
  859. package/components/ix-col.js.map +0 -1
  860. package/components/ix-content-header.d.ts +0 -11
  861. package/components/ix-content-header.js +0 -73
  862. package/components/ix-content-header.js.map +0 -1
  863. package/components/ix-content.d.ts +0 -11
  864. package/components/ix-content.js +0 -49
  865. package/components/ix-content.js.map +0 -1
  866. package/components/ix-css-grid-item.d.ts +0 -11
  867. package/components/ix-css-grid-item.js +0 -40
  868. package/components/ix-css-grid-item.js.map +0 -1
  869. package/components/ix-css-grid.d.ts +0 -11
  870. package/components/ix-css-grid.js +0 -117
  871. package/components/ix-css-grid.js.map +0 -1
  872. package/components/ix-custom-field.d.ts +0 -11
  873. package/components/ix-custom-field.js +0 -112
  874. package/components/ix-custom-field.js.map +0 -1
  875. package/components/ix-date-dropdown.d.ts +0 -11
  876. package/components/ix-date-dropdown.js +0 -368
  877. package/components/ix-date-dropdown.js.map +0 -1
  878. package/components/ix-date-input.d.ts +0 -11
  879. package/components/ix-date-input.js +0 -393
  880. package/components/ix-date-input.js.map +0 -1
  881. package/components/ix-date-picker.d.ts +0 -11
  882. package/components/ix-date-picker.js +0 -9
  883. package/components/ix-date-picker.js.map +0 -1
  884. package/components/ix-date-time-card.d.ts +0 -11
  885. package/components/ix-date-time-card.js +0 -9
  886. package/components/ix-date-time-card.js.map +0 -1
  887. package/components/ix-datetime-picker.d.ts +0 -11
  888. package/components/ix-datetime-picker.js +0 -204
  889. package/components/ix-datetime-picker.js.map +0 -1
  890. package/components/ix-divider.d.ts +0 -11
  891. package/components/ix-divider.js +0 -9
  892. package/components/ix-divider.js.map +0 -1
  893. package/components/ix-drawer.d.ts +0 -11
  894. package/components/ix-drawer.js +0 -200
  895. package/components/ix-drawer.js.map +0 -1
  896. package/components/ix-dropdown-button.d.ts +0 -11
  897. package/components/ix-dropdown-button.js +0 -106
  898. package/components/ix-dropdown-button.js.map +0 -1
  899. package/components/ix-dropdown-header.d.ts +0 -11
  900. package/components/ix-dropdown-header.js +0 -44
  901. package/components/ix-dropdown-header.js.map +0 -1
  902. package/components/ix-dropdown-item.d.ts +0 -11
  903. package/components/ix-dropdown-item.js +0 -9
  904. package/components/ix-dropdown-item.js.map +0 -1
  905. package/components/ix-dropdown-quick-actions.d.ts +0 -11
  906. package/components/ix-dropdown-quick-actions.js +0 -36
  907. package/components/ix-dropdown-quick-actions.js.map +0 -1
  908. package/components/ix-dropdown.d.ts +0 -11
  909. package/components/ix-dropdown.js +0 -9
  910. package/components/ix-dropdown.js.map +0 -1
  911. package/components/ix-empty-state.d.ts +0 -11
  912. package/components/ix-empty-state.js +0 -65
  913. package/components/ix-empty-state.js.map +0 -1
  914. package/components/ix-event-list-item.d.ts +0 -11
  915. package/components/ix-event-list-item.js +0 -72
  916. package/components/ix-event-list-item.js.map +0 -1
  917. package/components/ix-event-list.d.ts +0 -11
  918. package/components/ix-event-list.js +0 -173
  919. package/components/ix-event-list.js.map +0 -1
  920. package/components/ix-expanding-search.d.ts +0 -11
  921. package/components/ix-expanding-search.js +0 -145
  922. package/components/ix-expanding-search.js.map +0 -1
  923. package/components/ix-field-label.d.ts +0 -11
  924. package/components/ix-field-label.js +0 -9
  925. package/components/ix-field-label.js.map +0 -1
  926. package/components/ix-field-wrapper.d.ts +0 -11
  927. package/components/ix-field-wrapper.js +0 -9
  928. package/components/ix-field-wrapper.js.map +0 -1
  929. package/components/ix-filter-chip.d.ts +0 -11
  930. package/components/ix-filter-chip.js +0 -9
  931. package/components/ix-filter-chip.js.map +0 -1
  932. package/components/ix-flip-tile-content.d.ts +0 -11
  933. package/components/ix-flip-tile-content.js +0 -44
  934. package/components/ix-flip-tile-content.js.map +0 -1
  935. package/components/ix-flip-tile.d.ts +0 -11
  936. package/components/ix-flip-tile.js +0 -153
  937. package/components/ix-flip-tile.js.map +0 -1
  938. package/components/ix-group-context-menu.d.ts +0 -11
  939. package/components/ix-group-context-menu.js +0 -9
  940. package/components/ix-group-context-menu.js.map +0 -1
  941. package/components/ix-group-item.d.ts +0 -11
  942. package/components/ix-group-item.js +0 -9
  943. package/components/ix-group-item.js.map +0 -1
  944. package/components/ix-group.d.ts +0 -11
  945. package/components/ix-group.js +0 -221
  946. package/components/ix-group.js.map +0 -1
  947. package/components/ix-helper-text.d.ts +0 -11
  948. package/components/ix-helper-text.js +0 -95
  949. package/components/ix-helper-text.js.map +0 -1
  950. package/components/ix-icon-button.d.ts +0 -11
  951. package/components/ix-icon-button.js +0 -9
  952. package/components/ix-icon-button.js.map +0 -1
  953. package/components/ix-icon-toggle-button.d.ts +0 -11
  954. package/components/ix-icon-toggle-button.js +0 -149
  955. package/components/ix-icon-toggle-button.js.map +0 -1
  956. package/components/ix-input-group.d.ts +0 -11
  957. package/components/ix-input-group.js +0 -152
  958. package/components/ix-input-group.js.map +0 -1
  959. package/components/ix-input.d.ts +0 -11
  960. package/components/ix-input.js +0 -248
  961. package/components/ix-input.js.map +0 -1
  962. package/components/ix-key-value-list.d.ts +0 -11
  963. package/components/ix-key-value-list.js +0 -42
  964. package/components/ix-key-value-list.js.map +0 -1
  965. package/components/ix-key-value.d.ts +0 -11
  966. package/components/ix-key-value.js +0 -48
  967. package/components/ix-key-value.js.map +0 -1
  968. package/components/ix-kpi.d.ts +0 -11
  969. package/components/ix-kpi.js +0 -74
  970. package/components/ix-kpi.js.map +0 -1
  971. package/components/ix-layout-auto.d.ts +0 -11
  972. package/components/ix-layout-auto.js +0 -113
  973. package/components/ix-layout-auto.js.map +0 -1
  974. package/components/ix-layout-grid.d.ts +0 -11
  975. package/components/ix-layout-grid.js +0 -9
  976. package/components/ix-layout-grid.js.map +0 -1
  977. package/components/ix-link-button.d.ts +0 -11
  978. package/components/ix-link-button.js +0 -57
  979. package/components/ix-link-button.js.map +0 -1
  980. package/components/ix-map-navigation-overlay.d.ts +0 -11
  981. package/components/ix-map-navigation-overlay.js +0 -9
  982. package/components/ix-map-navigation-overlay.js.map +0 -1
  983. package/components/ix-map-navigation.d.ts +0 -11
  984. package/components/ix-map-navigation.js +0 -240
  985. package/components/ix-map-navigation.js.map +0 -1
  986. package/components/ix-menu-about-item.d.ts +0 -11
  987. package/components/ix-menu-about-item.js +0 -51
  988. package/components/ix-menu-about-item.js.map +0 -1
  989. package/components/ix-menu-about-news.d.ts +0 -11
  990. package/components/ix-menu-about-news.js +0 -93
  991. package/components/ix-menu-about-news.js.map +0 -1
  992. package/components/ix-menu-about.d.ts +0 -11
  993. package/components/ix-menu-about.js +0 -89
  994. package/components/ix-menu-about.js.map +0 -1
  995. package/components/ix-menu-avatar-item.d.ts +0 -11
  996. package/components/ix-menu-avatar-item.js +0 -9
  997. package/components/ix-menu-avatar-item.js.map +0 -1
  998. package/components/ix-menu-avatar.d.ts +0 -11
  999. package/components/ix-menu-avatar.js +0 -115
  1000. package/components/ix-menu-avatar.js.map +0 -1
  1001. package/components/ix-menu-category.d.ts +0 -11
  1002. package/components/ix-menu-category.js +0 -284
  1003. package/components/ix-menu-category.js.map +0 -1
  1004. package/components/ix-menu-expand-icon.d.ts +0 -11
  1005. package/components/ix-menu-expand-icon.js +0 -9
  1006. package/components/ix-menu-expand-icon.js.map +0 -1
  1007. package/components/ix-menu-item.d.ts +0 -11
  1008. package/components/ix-menu-item.js +0 -9
  1009. package/components/ix-menu-item.js.map +0 -1
  1010. package/components/ix-menu-settings-item.d.ts +0 -11
  1011. package/components/ix-menu-settings-item.js +0 -51
  1012. package/components/ix-menu-settings-item.js.map +0 -1
  1013. package/components/ix-menu-settings.d.ts +0 -11
  1014. package/components/ix-menu-settings.js +0 -9
  1015. package/components/ix-menu-settings.js.map +0 -1
  1016. package/components/ix-menu.d.ts +0 -11
  1017. package/components/ix-menu.js +0 -590
  1018. package/components/ix-menu.js.map +0 -1
  1019. package/components/ix-message-bar.d.ts +0 -11
  1020. package/components/ix-message-bar.js +0 -103
  1021. package/components/ix-message-bar.js.map +0 -1
  1022. package/components/ix-modal-content.d.ts +0 -11
  1023. package/components/ix-modal-content.js +0 -9
  1024. package/components/ix-modal-content.js.map +0 -1
  1025. package/components/ix-modal-footer.d.ts +0 -11
  1026. package/components/ix-modal-footer.js +0 -36
  1027. package/components/ix-modal-footer.js.map +0 -1
  1028. package/components/ix-modal-header.d.ts +0 -11
  1029. package/components/ix-modal-header.js +0 -9
  1030. package/components/ix-modal-header.js.map +0 -1
  1031. package/components/ix-modal-loading.d.ts +0 -11
  1032. package/components/ix-modal-loading.js +0 -42
  1033. package/components/ix-modal-loading.js.map +0 -1
  1034. package/components/ix-modal.d.ts +0 -11
  1035. package/components/ix-modal.js +0 -241
  1036. package/components/ix-modal.js.map +0 -1
  1037. package/components/ix-number-input.d.ts +0 -11
  1038. package/components/ix-number-input.js +0 -241
  1039. package/components/ix-number-input.js.map +0 -1
  1040. package/components/ix-pagination.d.ts +0 -11
  1041. package/components/ix-pagination.js +0 -261
  1042. package/components/ix-pagination.js.map +0 -1
  1043. package/components/ix-pane-layout.d.ts +0 -11
  1044. package/components/ix-pane-layout.js +0 -311
  1045. package/components/ix-pane-layout.js.map +0 -1
  1046. package/components/ix-pane.d.ts +0 -11
  1047. package/components/ix-pane.js +0 -568
  1048. package/components/ix-pane.js.map +0 -1
  1049. package/components/ix-pill.d.ts +0 -11
  1050. package/components/ix-pill.js +0 -127
  1051. package/components/ix-pill.js.map +0 -1
  1052. package/components/ix-progress-indicator.d.ts +0 -11
  1053. package/components/ix-progress-indicator.js +0 -193
  1054. package/components/ix-progress-indicator.js.map +0 -1
  1055. package/components/ix-push-card.d.ts +0 -11
  1056. package/components/ix-push-card.js +0 -82
  1057. package/components/ix-push-card.js.map +0 -1
  1058. package/components/ix-radio-group.d.ts +0 -11
  1059. package/components/ix-radio-group.js +0 -195
  1060. package/components/ix-radio-group.js.map +0 -1
  1061. package/components/ix-radio.d.ts +0 -11
  1062. package/components/ix-radio.js +0 -145
  1063. package/components/ix-radio.js.map +0 -1
  1064. package/components/ix-row.d.ts +0 -11
  1065. package/components/ix-row.js +0 -9
  1066. package/components/ix-row.js.map +0 -1
  1067. package/components/ix-select-item.d.ts +0 -11
  1068. package/components/ix-select-item.js +0 -9
  1069. package/components/ix-select-item.js.map +0 -1
  1070. package/components/ix-select.d.ts +0 -11
  1071. package/components/ix-select.js +0 -9
  1072. package/components/ix-select.js.map +0 -1
  1073. package/components/ix-slider.d.ts +0 -11
  1074. package/components/ix-slider.js +0 -255
  1075. package/components/ix-slider.js.map +0 -1
  1076. package/components/ix-spinner.d.ts +0 -11
  1077. package/components/ix-spinner.js +0 -9
  1078. package/components/ix-spinner.js.map +0 -1
  1079. package/components/ix-split-button.d.ts +0 -11
  1080. package/components/ix-split-button.js +0 -117
  1081. package/components/ix-split-button.js.map +0 -1
  1082. package/components/ix-tab-item.d.ts +0 -11
  1083. package/components/ix-tab-item.js +0 -9
  1084. package/components/ix-tab-item.js.map +0 -1
  1085. package/components/ix-tabs.d.ts +0 -11
  1086. package/components/ix-tabs.js +0 -9
  1087. package/components/ix-tabs.js.map +0 -1
  1088. package/components/ix-textarea.d.ts +0 -11
  1089. package/components/ix-textarea.js +0 -192
  1090. package/components/ix-textarea.js.map +0 -1
  1091. package/components/ix-tile.d.ts +0 -11
  1092. package/components/ix-tile.js +0 -63
  1093. package/components/ix-tile.js.map +0 -1
  1094. package/components/ix-time-input.d.ts +0 -11
  1095. package/components/ix-time-input.js +0 -442
  1096. package/components/ix-time-input.js.map +0 -1
  1097. package/components/ix-time-picker.d.ts +0 -11
  1098. package/components/ix-time-picker.js +0 -9
  1099. package/components/ix-time-picker.js.map +0 -1
  1100. package/components/ix-toast-container.d.ts +0 -11
  1101. package/components/ix-toast-container.js +0 -143
  1102. package/components/ix-toast-container.js.map +0 -1
  1103. package/components/ix-toast.d.ts +0 -11
  1104. package/components/ix-toast.js +0 -9
  1105. package/components/ix-toast.js.map +0 -1
  1106. package/components/ix-toggle-button.d.ts +0 -11
  1107. package/components/ix-toggle-button.js +0 -128
  1108. package/components/ix-toggle-button.js.map +0 -1
  1109. package/components/ix-toggle.d.ts +0 -11
  1110. package/components/ix-toggle.js +0 -188
  1111. package/components/ix-toggle.js.map +0 -1
  1112. package/components/ix-tooltip.d.ts +0 -11
  1113. package/components/ix-tooltip.js +0 -9
  1114. package/components/ix-tooltip.js.map +0 -1
  1115. package/components/ix-tree-item.d.ts +0 -11
  1116. package/components/ix-tree-item.js +0 -9
  1117. package/components/ix-tree-item.js.map +0 -1
  1118. package/components/ix-tree.d.ts +0 -11
  1119. package/components/ix-tree.js +0 -610
  1120. package/components/ix-tree.js.map +0 -1
  1121. package/components/ix-typography.d.ts +0 -11
  1122. package/components/ix-typography.js +0 -9
  1123. package/components/ix-typography.js.map +0 -1
  1124. package/components/ix-upload.d.ts +0 -11
  1125. package/components/ix-upload.js +0 -234
  1126. package/components/ix-upload.js.map +0 -1
  1127. package/components/ix-validation-tooltip.d.ts +0 -11
  1128. package/components/ix-validation-tooltip.js +0 -182
  1129. package/components/ix-validation-tooltip.js.map +0 -1
  1130. package/components/ix-workflow-step.d.ts +0 -11
  1131. package/components/ix-workflow-step.js +0 -147
  1132. package/components/ix-workflow-step.js.map +0 -1
  1133. package/components/ix-workflow-steps.d.ts +0 -11
  1134. package/components/ix-workflow-steps.js +0 -112
  1135. package/components/ix-workflow-steps.js.map +0 -1
  1136. package/components/p--2LOMK-5.js +0 -105
  1137. package/components/p--2LOMK-5.js.map +0 -1
  1138. package/components/p-18F-YfbC.js +0 -90
  1139. package/components/p-18F-YfbC.js.map +0 -1
  1140. package/components/p-2HalBYF6.js +0 -611
  1141. package/components/p-2HalBYF6.js.map +0 -1
  1142. package/components/p-6UCgBriG.js +0 -89
  1143. package/components/p-6UCgBriG.js.map +0 -1
  1144. package/components/p-B3NgetSU.js +0 -765
  1145. package/components/p-B3NgetSU.js.map +0 -1
  1146. package/components/p-BGzrnl_l.js +0 -21
  1147. package/components/p-BGzrnl_l.js.map +0 -1
  1148. package/components/p-BH3f5fa3.js +0 -37
  1149. package/components/p-BH3f5fa3.js.map +0 -1
  1150. package/components/p-BI91ISYc.js +0 -103
  1151. package/components/p-BI91ISYc.js.map +0 -1
  1152. package/components/p-BOARJXlu.js +0 -54
  1153. package/components/p-BOARJXlu.js.map +0 -1
  1154. package/components/p-BQ6999e5.js +0 -22
  1155. package/components/p-BQ6999e5.js.map +0 -1
  1156. package/components/p-BSRi3yyl.js +0 -164
  1157. package/components/p-BSRi3yyl.js.map +0 -1
  1158. package/components/p-BUVYgPbq.js +0 -207
  1159. package/components/p-BUVYgPbq.js.map +0 -1
  1160. package/components/p-BW7O4gSR.js +0 -64
  1161. package/components/p-BW7O4gSR.js.map +0 -1
  1162. package/components/p-BXGAr1UD.js +0 -130
  1163. package/components/p-BXGAr1UD.js.map +0 -1
  1164. package/components/p-Bb7pDeaQ.js +0 -144
  1165. package/components/p-Bb7pDeaQ.js.map +0 -1
  1166. package/components/p-BdCnOrqW.js +0 -47
  1167. package/components/p-BdCnOrqW.js.map +0 -1
  1168. package/components/p-Bi1VyG64.js +0 -46
  1169. package/components/p-Bi1VyG64.js.map +0 -1
  1170. package/components/p-BpwZ_OiO.js +0 -42
  1171. package/components/p-BpwZ_OiO.js.map +0 -1
  1172. package/components/p-C7qPn3fZ.js +0 -113
  1173. package/components/p-C7qPn3fZ.js.map +0 -1
  1174. package/components/p-C99qjEPE.js +0 -72
  1175. package/components/p-C99qjEPE.js.map +0 -1
  1176. package/components/p-C9zujPO0.js +0 -65
  1177. package/components/p-C9zujPO0.js.map +0 -1
  1178. package/components/p-CAqtPJ4-.js +0 -1786
  1179. package/components/p-CAqtPJ4-.js.map +0 -1
  1180. package/components/p-CGwHQeMX.js +0 -54
  1181. package/components/p-CGwHQeMX.js.map +0 -1
  1182. package/components/p-CI771zjd.js +0 -83
  1183. package/components/p-CI771zjd.js.map +0 -1
  1184. package/components/p-CJ9lFwzL.js +0 -33
  1185. package/components/p-CJ9lFwzL.js.map +0 -1
  1186. package/components/p-CLe5n0eR.js +0 -461
  1187. package/components/p-CLe5n0eR.js.map +0 -1
  1188. package/components/p-COgaNG0r.js +0 -162
  1189. package/components/p-COgaNG0r.js.map +0 -1
  1190. package/components/p-CX81WQtk.js +0 -14
  1191. package/components/p-CX81WQtk.js.map +0 -1
  1192. package/components/p-CYjLayhK.js +0 -33
  1193. package/components/p-CYjLayhK.js.map +0 -1
  1194. package/components/p-Ca62xqUI.js +0 -110
  1195. package/components/p-Ca62xqUI.js.map +0 -1
  1196. package/components/p-CdH-wF59.js +0 -107
  1197. package/components/p-CdH-wF59.js.map +0 -1
  1198. package/components/p-CdhP3eo7.js +0 -129
  1199. package/components/p-CdhP3eo7.js.map +0 -1
  1200. package/components/p-CmNagK_M.js +0 -61
  1201. package/components/p-CmNagK_M.js.map +0 -1
  1202. package/components/p-Cuf7Gv_k.js +0 -48
  1203. package/components/p-Cuf7Gv_k.js.map +0 -1
  1204. package/components/p-CvYq7fCI.js +0 -79
  1205. package/components/p-CvYq7fCI.js.map +0 -1
  1206. package/components/p-CyFFBc_G.js +0 -100
  1207. package/components/p-CyFFBc_G.js.map +0 -1
  1208. package/components/p-D-lOakIP.js +0 -54
  1209. package/components/p-D-lOakIP.js.map +0 -1
  1210. package/components/p-D-uSMBXb.js +0 -33
  1211. package/components/p-D-uSMBXb.js.map +0 -1
  1212. package/components/p-D0hxqaGs.js +0 -90
  1213. package/components/p-D0hxqaGs.js.map +0 -1
  1214. package/components/p-D2Fm_05X.js +0 -71
  1215. package/components/p-D2Fm_05X.js.map +0 -1
  1216. package/components/p-D3K9vmFp.js +0 -157
  1217. package/components/p-D3K9vmFp.js.map +0 -1
  1218. package/components/p-D54oqcBC.js +0 -146
  1219. package/components/p-D54oqcBC.js.map +0 -1
  1220. package/components/p-D6vSVaHq.js +0 -26
  1221. package/components/p-D6vSVaHq.js.map +0 -1
  1222. package/components/p-DBZZBDKR.js +0 -76
  1223. package/components/p-DBZZBDKR.js.map +0 -1
  1224. package/components/p-DDHkNPby.js +0 -79
  1225. package/components/p-DDHkNPby.js.map +0 -1
  1226. package/components/p-DEmiWcQ0.js +0 -51
  1227. package/components/p-DEmiWcQ0.js.map +0 -1
  1228. package/components/p-DQEpAmYe.js +0 -55
  1229. package/components/p-DQEpAmYe.js.map +0 -1
  1230. package/components/p-DUctjh_Y.js +0 -19
  1231. package/components/p-DUctjh_Y.js.map +0 -1
  1232. package/components/p-Da_mIDFR.js +0 -75
  1233. package/components/p-Da_mIDFR.js.map +0 -1
  1234. package/components/p-DeAFXXM2.js +0 -90
  1235. package/components/p-DeAFXXM2.js.map +0 -1
  1236. package/components/p-Dih6bry9.js +0 -33
  1237. package/components/p-Dih6bry9.js.map +0 -1
  1238. package/components/p-Dp15M30K.js +0 -20
  1239. package/components/p-Dp15M30K.js.map +0 -1
  1240. package/components/p-Dp4RJcgZ.js +0 -125
  1241. package/components/p-Dp4RJcgZ.js.map +0 -1
  1242. package/components/p-DpilwXvD.js +0 -33
  1243. package/components/p-DpilwXvD.js.map +0 -1
  1244. package/components/p-DqBfPYF2.js +0 -151
  1245. package/components/p-DqBfPYF2.js.map +0 -1
  1246. package/components/p-DzKDFBWC.js +0 -2042
  1247. package/components/p-DzKDFBWC.js.map +0 -1
  1248. package/components/p-IMKnzlUb.js +0 -110
  1249. package/components/p-IMKnzlUb.js.map +0 -1
  1250. package/components/p-JJddxCCh.js +0 -42
  1251. package/components/p-JJddxCCh.js.map +0 -1
  1252. package/components/p-Ooq8eqJM.js +0 -33
  1253. package/components/p-Ooq8eqJM.js.map +0 -1
  1254. package/components/p-Ou74PMQs.js +0 -1313
  1255. package/components/p-Ou74PMQs.js.map +0 -1
  1256. package/components/p-PxA_udyJ.js +0 -254
  1257. package/components/p-PxA_udyJ.js.map +0 -1
  1258. package/components/p-UQa1aROL.js +0 -23
  1259. package/components/p-UQa1aROL.js.map +0 -1
  1260. package/components/p-bDicGJUN.js +0 -7697
  1261. package/components/p-bDicGJUN.js.map +0 -1
  1262. package/components/p-bcj7UEIC.js +0 -24
  1263. package/components/p-bcj7UEIC.js.map +0 -1
  1264. package/components/p-cugF_dsq.js +0 -203
  1265. package/components/p-cugF_dsq.js.map +0 -1
  1266. package/components/p-kY0vP3rC.js +0 -122
  1267. package/components/p-kY0vP3rC.js.map +0 -1
  1268. package/components/p-mLgD4b4D.js +0 -359
  1269. package/components/p-mLgD4b4D.js.map +0 -1
  1270. package/components/p-m_8Hy4_G.js +0 -310
  1271. package/components/p-m_8Hy4_G.js.map +0 -1
  1272. package/components/p-pMSLP3h4.js +0 -757
  1273. package/components/p-pMSLP3h4.js.map +0 -1
  1274. package/components/p-t-aQDKhy.js +0 -118
  1275. package/components/p-t-aQDKhy.js.map +0 -1
  1276. package/components/package.json +0 -9
  1277. package/dist/cjs/base-button-CaQoQTFI.js +0 -74
  1278. package/dist/cjs/base-button-CaQoQTFI.js.map +0 -1
  1279. package/dist/cjs/base-icon-button-C9L5Gii-.js +0 -21
  1280. package/dist/cjs/base-icon-button-C9L5Gii-.js.map +0 -1
  1281. package/dist/cjs/helper-text-util-BctMjApu.js +0 -45
  1282. package/dist/cjs/helper-text-util-BctMjApu.js.map +0 -1
  1283. package/dist/cjs/index-BDliOtbY.js +0 -2734
  1284. package/dist/cjs/index-BDliOtbY.js.map +0 -1
  1285. package/dist/cjs/input.util-Ch0ETA-v.js +0 -215
  1286. package/dist/cjs/input.util-Ch0ETA-v.js.map +0 -1
  1287. package/dist/cjs/ix-menu-settings-BkPNtMal.js +0 -123
  1288. package/dist/cjs/ix-menu-settings-BkPNtMal.js.map +0 -1
  1289. package/dist/cjs/listener-BJXzadPO.js +0 -78
  1290. package/dist/cjs/listener-BJXzadPO.js.map +0 -1
  1291. package/dist/cjs/validation-_-cW9Dku.js +0 -123
  1292. package/dist/cjs/validation-_-cW9Dku.js.map +0 -1
  1293. package/dist/esm/base-button-dtdYZqMt.js +0 -71
  1294. package/dist/esm/base-button-dtdYZqMt.js.map +0 -1
  1295. package/dist/esm/base-icon-button-BZvsimpZ.js +0 -19
  1296. package/dist/esm/base-icon-button-BZvsimpZ.js.map +0 -1
  1297. package/dist/esm/helper-text-util-Dyff2O6m.js +0 -42
  1298. package/dist/esm/helper-text-util-Dyff2O6m.js.map +0 -1
  1299. package/dist/esm/index-B6NtGPRE.js +0 -2702
  1300. package/dist/esm/index-B6NtGPRE.js.map +0 -1
  1301. package/dist/esm/input.util-HSoyR1ow.js +0 -203
  1302. package/dist/esm/input.util-HSoyR1ow.js.map +0 -1
  1303. package/dist/esm/ix-menu-settings-B5kM6fHy.js +0 -118
  1304. package/dist/esm/ix-menu-settings-B5kM6fHy.js.map +0 -1
  1305. package/dist/esm/listener-DCrO174s.js +0 -76
  1306. package/dist/esm/listener-DCrO174s.js.map +0 -1
  1307. package/dist/esm/validation-DuPOpjMi.js +0 -118
  1308. package/dist/esm/validation-DuPOpjMi.js.map +0 -1
  1309. package/dist/siemens-ix/p-0053fd70.entry.js +0 -2
  1310. package/dist/siemens-ix/p-00668881.entry.js +0 -2
  1311. package/dist/siemens-ix/p-0285fa1a.entry.js +0 -2
  1312. package/dist/siemens-ix/p-07733f87.entry.js +0 -2
  1313. package/dist/siemens-ix/p-07fa84e9.entry.js +0 -2
  1314. package/dist/siemens-ix/p-07fa84e9.entry.js.map +0 -1
  1315. package/dist/siemens-ix/p-094d6f0a.entry.js +0 -2
  1316. package/dist/siemens-ix/p-0e0019a3.entry.js +0 -2
  1317. package/dist/siemens-ix/p-125b66ec.entry.js +0 -2
  1318. package/dist/siemens-ix/p-1363ac29.entry.js +0 -2
  1319. package/dist/siemens-ix/p-138de76a.entry.js +0 -2
  1320. package/dist/siemens-ix/p-17a19a44.entry.js +0 -2
  1321. package/dist/siemens-ix/p-17a19a44.entry.js.map +0 -1
  1322. package/dist/siemens-ix/p-1b04e58a.entry.js +0 -2
  1323. package/dist/siemens-ix/p-1b04e58a.entry.js.map +0 -1
  1324. package/dist/siemens-ix/p-1cff42a5.entry.js +0 -2
  1325. package/dist/siemens-ix/p-1f5322d5.entry.js +0 -2
  1326. package/dist/siemens-ix/p-1fc79a42.entry.js +0 -2
  1327. package/dist/siemens-ix/p-227ea9bc.entry.js +0 -2
  1328. package/dist/siemens-ix/p-227ea9bc.entry.js.map +0 -1
  1329. package/dist/siemens-ix/p-25368187.entry.js +0 -2
  1330. package/dist/siemens-ix/p-25c27b28.entry.js +0 -2
  1331. package/dist/siemens-ix/p-26b072bb.entry.js +0 -2
  1332. package/dist/siemens-ix/p-29eb0f3c.entry.js +0 -2
  1333. package/dist/siemens-ix/p-2a1152d9.entry.js +0 -2
  1334. package/dist/siemens-ix/p-2a1152d9.entry.js.map +0 -1
  1335. package/dist/siemens-ix/p-2d383fa3.entry.js +0 -2
  1336. package/dist/siemens-ix/p-2e0dab7b.entry.js +0 -2
  1337. package/dist/siemens-ix/p-2e0dab7b.entry.js.map +0 -1
  1338. package/dist/siemens-ix/p-2edc9a43.entry.js +0 -2
  1339. package/dist/siemens-ix/p-2edc9a43.entry.js.map +0 -1
  1340. package/dist/siemens-ix/p-30e325ee.entry.js +0 -2
  1341. package/dist/siemens-ix/p-30e325ee.entry.js.map +0 -1
  1342. package/dist/siemens-ix/p-3725e281.entry.js +0 -2
  1343. package/dist/siemens-ix/p-381708ea.entry.js +0 -2
  1344. package/dist/siemens-ix/p-38fa1eec.entry.js +0 -2
  1345. package/dist/siemens-ix/p-3d4eba06.entry.js +0 -2
  1346. package/dist/siemens-ix/p-42cf2d8f.entry.js +0 -2
  1347. package/dist/siemens-ix/p-44a9c1db.entry.js +0 -2
  1348. package/dist/siemens-ix/p-44a9c1db.entry.js.map +0 -1
  1349. package/dist/siemens-ix/p-47956560.entry.js +0 -2
  1350. package/dist/siemens-ix/p-4a666ab2.entry.js +0 -2
  1351. package/dist/siemens-ix/p-4be22d4d.entry.js +0 -2
  1352. package/dist/siemens-ix/p-518290fd.entry.js +0 -2
  1353. package/dist/siemens-ix/p-53d1f804.entry.js +0 -2
  1354. package/dist/siemens-ix/p-5f494293.entry.js +0 -2
  1355. package/dist/siemens-ix/p-60c6eba1.entry.js +0 -2
  1356. package/dist/siemens-ix/p-61944945.entry.js +0 -2
  1357. package/dist/siemens-ix/p-61bf7678.entry.js +0 -2
  1358. package/dist/siemens-ix/p-64a2f777.entry.js +0 -2
  1359. package/dist/siemens-ix/p-64a2f777.entry.js.map +0 -1
  1360. package/dist/siemens-ix/p-674dd99b.entry.js +0 -2
  1361. package/dist/siemens-ix/p-6a275897.entry.js +0 -2
  1362. package/dist/siemens-ix/p-6b5cb4c3.entry.js +0 -2
  1363. package/dist/siemens-ix/p-6b5cb4c3.entry.js.map +0 -1
  1364. package/dist/siemens-ix/p-6cc4c39e.entry.js +0 -2
  1365. package/dist/siemens-ix/p-6dffce02.entry.js +0 -2
  1366. package/dist/siemens-ix/p-6dffce02.entry.js.map +0 -1
  1367. package/dist/siemens-ix/p-702d290f.entry.js +0 -2
  1368. package/dist/siemens-ix/p-702d290f.entry.js.map +0 -1
  1369. package/dist/siemens-ix/p-719704c7.entry.js +0 -2
  1370. package/dist/siemens-ix/p-719704c7.entry.js.map +0 -1
  1371. package/dist/siemens-ix/p-746f49b4.entry.js +0 -2
  1372. package/dist/siemens-ix/p-77d586e5.entry.js +0 -2
  1373. package/dist/siemens-ix/p-7978f54a.entry.js +0 -2
  1374. package/dist/siemens-ix/p-7b455f16.entry.js +0 -2
  1375. package/dist/siemens-ix/p-7b455f16.entry.js.map +0 -1
  1376. package/dist/siemens-ix/p-7b5eb3ca.entry.js +0 -2
  1377. package/dist/siemens-ix/p-7b5eb3ca.entry.js.map +0 -1
  1378. package/dist/siemens-ix/p-7da60ba2.entry.js +0 -2
  1379. package/dist/siemens-ix/p-7da60ba2.entry.js.map +0 -1
  1380. package/dist/siemens-ix/p-7fcec901.entry.js +0 -2
  1381. package/dist/siemens-ix/p-80dfc634.entry.js +0 -2
  1382. package/dist/siemens-ix/p-80dfc634.entry.js.map +0 -1
  1383. package/dist/siemens-ix/p-8774e0a8.entry.js +0 -2
  1384. package/dist/siemens-ix/p-92513d0e.entry.js +0 -2
  1385. package/dist/siemens-ix/p-92513d0e.entry.js.map +0 -1
  1386. package/dist/siemens-ix/p-9513a275.entry.js +0 -2
  1387. package/dist/siemens-ix/p-96687290.entry.js +0 -2
  1388. package/dist/siemens-ix/p-96687290.entry.js.map +0 -1
  1389. package/dist/siemens-ix/p-96c0acb2.entry.js +0 -2
  1390. package/dist/siemens-ix/p-97029efe.entry.js +0 -2
  1391. package/dist/siemens-ix/p-97eb6c3c.entry.js +0 -2
  1392. package/dist/siemens-ix/p-97eb6c3c.entry.js.map +0 -1
  1393. package/dist/siemens-ix/p-B6NtGPRE.js +0 -3
  1394. package/dist/siemens-ix/p-B6NtGPRE.js.map +0 -1
  1395. package/dist/siemens-ix/p-BaslXuvq.js +0 -2
  1396. package/dist/siemens-ix/p-BaslXuvq.js.map +0 -1
  1397. package/dist/siemens-ix/p-Bko0CTxK.js +0 -2
  1398. package/dist/siemens-ix/p-Bko0CTxK.js.map +0 -1
  1399. package/dist/siemens-ix/p-C1MjXHa0.js +0 -2
  1400. package/dist/siemens-ix/p-C1MjXHa0.js.map +0 -1
  1401. package/dist/siemens-ix/p-DeEsc3nL.js +0 -2
  1402. package/dist/siemens-ix/p-DeEsc3nL.js.map +0 -1
  1403. package/dist/siemens-ix/p-DhH1rUwy.js +0 -2
  1404. package/dist/siemens-ix/p-DhH1rUwy.js.map +0 -1
  1405. package/dist/siemens-ix/p-DyBJEhgA.js +0 -2
  1406. package/dist/siemens-ix/p-DyBJEhgA.js.map +0 -1
  1407. package/dist/siemens-ix/p-a09ec38c.entry.js +0 -2
  1408. package/dist/siemens-ix/p-a09ec38c.entry.js.map +0 -1
  1409. package/dist/siemens-ix/p-a15f3a9d.entry.js +0 -2
  1410. package/dist/siemens-ix/p-a15f3a9d.entry.js.map +0 -1
  1411. package/dist/siemens-ix/p-a7e339d0.entry.js +0 -2
  1412. package/dist/siemens-ix/p-a7e339d0.entry.js.map +0 -1
  1413. package/dist/siemens-ix/p-a951d9e7.entry.js +0 -2
  1414. package/dist/siemens-ix/p-b1bc33ef.entry.js +0 -2
  1415. package/dist/siemens-ix/p-b45ce132.entry.js +0 -2
  1416. package/dist/siemens-ix/p-b45ce132.entry.js.map +0 -1
  1417. package/dist/siemens-ix/p-b6f02420.entry.js +0 -2
  1418. package/dist/siemens-ix/p-b6f02420.entry.js.map +0 -1
  1419. package/dist/siemens-ix/p-c192caa5.entry.js +0 -2
  1420. package/dist/siemens-ix/p-c192caa5.entry.js.map +0 -1
  1421. package/dist/siemens-ix/p-c23031be.entry.js +0 -2
  1422. package/dist/siemens-ix/p-c5921b21.entry.js +0 -2
  1423. package/dist/siemens-ix/p-c6cb0b06.entry.js +0 -2
  1424. package/dist/siemens-ix/p-c6cb0b06.entry.js.map +0 -1
  1425. package/dist/siemens-ix/p-c7ead0ee.entry.js +0 -2
  1426. package/dist/siemens-ix/p-c7ead0ee.entry.js.map +0 -1
  1427. package/dist/siemens-ix/p-c9c30ce7.entry.js +0 -2
  1428. package/dist/siemens-ix/p-cb076f29.entry.js +0 -2
  1429. package/dist/siemens-ix/p-cf3c2573.entry.js +0 -2
  1430. package/dist/siemens-ix/p-cf3cbb46.entry.js +0 -2
  1431. package/dist/siemens-ix/p-cf3cbb46.entry.js.map +0 -1
  1432. package/dist/siemens-ix/p-cf7448b1.entry.js +0 -2
  1433. package/dist/siemens-ix/p-d2151941.entry.js +0 -2
  1434. package/dist/siemens-ix/p-d4284927.entry.js +0 -2
  1435. package/dist/siemens-ix/p-d4936531.entry.js +0 -2
  1436. package/dist/siemens-ix/p-daf2c2fd.entry.js +0 -2
  1437. package/dist/siemens-ix/p-de03778d.entry.js +0 -2
  1438. package/dist/siemens-ix/p-de03778d.entry.js.map +0 -1
  1439. package/dist/siemens-ix/p-e006c83c.entry.js +0 -2
  1440. package/dist/siemens-ix/p-e088e1d9.entry.js +0 -2
  1441. package/dist/siemens-ix/p-e40c900a.entry.js +0 -2
  1442. package/dist/siemens-ix/p-e499f85d.entry.js +0 -2
  1443. package/dist/siemens-ix/p-e636a236.entry.js +0 -2
  1444. package/dist/siemens-ix/p-e636a236.entry.js.map +0 -1
  1445. package/dist/siemens-ix/p-e850d862.entry.js +0 -2
  1446. package/dist/siemens-ix/p-ea980990.entry.js +0 -2
  1447. package/dist/siemens-ix/p-ec3786c3.entry.js +0 -2
  1448. package/dist/siemens-ix/p-ed05a3ed.entry.js +0 -2
  1449. package/dist/siemens-ix/p-ed05a3ed.entry.js.map +0 -1
  1450. package/dist/siemens-ix/p-ef56e825.entry.js +0 -2
  1451. package/dist/siemens-ix/p-f1d1c522.entry.js +0 -2
  1452. package/dist/siemens-ix/p-f426aa64.entry.js +0 -2
  1453. package/dist/siemens-ix/p-f426aa64.entry.js.map +0 -1
  1454. package/dist/siemens-ix/p-f61c1785.entry.js +0 -2
  1455. package/dist/siemens-ix/p-f66cb323.entry.js +0 -2
  1456. package/dist/siemens-ix/p-f66cb323.entry.js.map +0 -1
  1457. package/dist/siemens-ix/p-fadc415c.entry.js +0 -2
  1458. package/dist/siemens-ix/p-fadc415c.entry.js.map +0 -1
  1459. package/dist/siemens-ix/p-fe1e79d6.entry.js +0 -2
  1460. package/dist/siemens-ix/p-zYzFdFx8.js +0 -2
  1461. package/dist/siemens-ix/p-zYzFdFx8.js.map +0 -1
  1462. package/dist/types/interfaces.d.ts +0 -27
  1463. /package/dist/siemens-ix/{p-4be22d4d.entry.js.map → p-003ae2cf.entry.js.map} +0 -0
  1464. /package/dist/siemens-ix/{p-094d6f0a.entry.js.map → p-00eff8b5.entry.js.map} +0 -0
  1465. /package/dist/siemens-ix/{p-47956560.entry.js.map → p-0195766f.entry.js.map} +0 -0
  1466. /package/dist/siemens-ix/{p-c23031be.entry.js.map → p-025c5b1b.entry.js.map} +0 -0
  1467. /package/dist/siemens-ix/{p-25c27b28.entry.js.map → p-03b8e425.entry.js.map} +0 -0
  1468. /package/dist/siemens-ix/{p-9513a275.entry.js.map → p-04527b1e.entry.js.map} +0 -0
  1469. /package/dist/siemens-ix/{p-07733f87.entry.js.map → p-07b2da86.entry.js.map} +0 -0
  1470. /package/dist/siemens-ix/{p-746f49b4.entry.js.map → p-098aa857.entry.js.map} +0 -0
  1471. /package/dist/siemens-ix/{p-d4284927.entry.js.map → p-130ffc16.entry.js.map} +0 -0
  1472. /package/dist/siemens-ix/{p-1cff42a5.entry.js.map → p-13b5f3c3.entry.js.map} +0 -0
  1473. /package/dist/siemens-ix/{p-f61c1785.entry.js.map → p-14d2042d.entry.js.map} +0 -0
  1474. /package/dist/siemens-ix/{p-cb076f29.entry.js.map → p-19501b80.entry.js.map} +0 -0
  1475. /package/dist/siemens-ix/{p-d2151941.entry.js.map → p-1df6d18f.entry.js.map} +0 -0
  1476. /package/dist/siemens-ix/{p-518290fd.entry.js.map → p-1fdfe35a.entry.js.map} +0 -0
  1477. /package/dist/siemens-ix/{p-38fa1eec.entry.js.map → p-2642d96b.entry.js.map} +0 -0
  1478. /package/dist/siemens-ix/{p-0053fd70.entry.js.map → p-28aece6e.entry.js.map} +0 -0
  1479. /package/dist/siemens-ix/{p-00668881.entry.js.map → p-29d44cef.entry.js.map} +0 -0
  1480. /package/dist/siemens-ix/{p-1f5322d5.entry.js.map → p-2f2dfb6e.entry.js.map} +0 -0
  1481. /package/dist/siemens-ix/{p-7fcec901.entry.js.map → p-2f9b9e7a.entry.js.map} +0 -0
  1482. /package/dist/siemens-ix/{p-8774e0a8.entry.js.map → p-440a0ee0.entry.js.map} +0 -0
  1483. /package/dist/siemens-ix/{p-0e0019a3.entry.js.map → p-472c1d6b.entry.js.map} +0 -0
  1484. /package/dist/siemens-ix/{p-1363ac29.entry.js.map → p-47f395be.entry.js.map} +0 -0
  1485. /package/dist/siemens-ix/{p-cf7448b1.entry.js.map → p-483bc052.entry.js.map} +0 -0
  1486. /package/dist/siemens-ix/{p-3d4eba06.entry.js.map → p-4959b8e6.entry.js.map} +0 -0
  1487. /package/dist/siemens-ix/{p-e499f85d.entry.js.map → p-4fe2d0f7.entry.js.map} +0 -0
  1488. /package/dist/siemens-ix/{p-e006c83c.entry.js.map → p-5b22342c.entry.js.map} +0 -0
  1489. /package/dist/siemens-ix/{p-125b66ec.entry.js.map → p-605a9fe8.entry.js.map} +0 -0
  1490. /package/dist/siemens-ix/{p-2d383fa3.entry.js.map → p-6337e880.entry.js.map} +0 -0
  1491. /package/dist/siemens-ix/{p-0285fa1a.entry.js.map → p-6549edf0.entry.js.map} +0 -0
  1492. /package/dist/siemens-ix/{p-1fc79a42.entry.js.map → p-66d20585.entry.js.map} +0 -0
  1493. /package/dist/siemens-ix/{p-53d1f804.entry.js.map → p-6adde42d.entry.js.map} +0 -0
  1494. /package/dist/siemens-ix/{p-b1bc33ef.entry.js.map → p-6cc448b4.entry.js.map} +0 -0
  1495. /package/dist/siemens-ix/{p-ec3786c3.entry.js.map → p-7011678e.entry.js.map} +0 -0
  1496. /package/dist/siemens-ix/{p-6cc4c39e.entry.js.map → p-7111f065.entry.js.map} +0 -0
  1497. /package/dist/siemens-ix/{p-cf3c2573.entry.js.map → p-76f59fa5.entry.js.map} +0 -0
  1498. /package/dist/siemens-ix/{p-c5921b21.entry.js.map → p-777675ce.entry.js.map} +0 -0
  1499. /package/dist/siemens-ix/{p-4a666ab2.entry.js.map → p-8d4558b9.entry.js.map} +0 -0
  1500. /package/dist/siemens-ix/{p-ef56e825.entry.js.map → p-8fcada5a.entry.js.map} +0 -0
  1501. /package/dist/siemens-ix/{p-96c0acb2.entry.js.map → p-91ba2527.entry.js.map} +0 -0
  1502. /package/dist/siemens-ix/{p-e088e1d9.entry.js.map → p-97693d72.entry.js.map} +0 -0
  1503. /package/dist/siemens-ix/{p-29eb0f3c.entry.js.map → p-97a53af6.entry.js.map} +0 -0
  1504. /package/dist/siemens-ix/{p-5f494293.entry.js.map → p-988f37da.entry.js.map} +0 -0
  1505. /package/dist/siemens-ix/{p-61944945.entry.js.map → p-9f7d82d2.entry.js.map} +0 -0
  1506. /package/dist/siemens-ix/{p-d4936531.entry.js.map → p-a43c4907.entry.js.map} +0 -0
  1507. /package/dist/siemens-ix/{p-a951d9e7.entry.js.map → p-a9ec8094.entry.js.map} +0 -0
  1508. /package/dist/siemens-ix/{p-7978f54a.entry.js.map → p-afd392d5.entry.js.map} +0 -0
  1509. /package/dist/siemens-ix/{p-381708ea.entry.js.map → p-b00517df.entry.js.map} +0 -0
  1510. /package/dist/siemens-ix/{p-c9c30ce7.entry.js.map → p-b3d4d2cd.entry.js.map} +0 -0
  1511. /package/dist/siemens-ix/{p-fe1e79d6.entry.js.map → p-b548335e.entry.js.map} +0 -0
  1512. /package/dist/siemens-ix/{p-77d586e5.entry.js.map → p-b735b8ce.entry.js.map} +0 -0
  1513. /package/dist/siemens-ix/{p-138de76a.entry.js.map → p-bec289d7.entry.js.map} +0 -0
  1514. /package/dist/siemens-ix/{p-60c6eba1.entry.js.map → p-bf7fbdfc.entry.js.map} +0 -0
  1515. /package/dist/siemens-ix/{p-e850d862.entry.js.map → p-bf8dd5a1.entry.js.map} +0 -0
  1516. /package/dist/siemens-ix/{p-42cf2d8f.entry.js.map → p-c5f8ccc9.entry.js.map} +0 -0
  1517. /package/dist/siemens-ix/{p-26b072bb.entry.js.map → p-c9d48927.entry.js.map} +0 -0
  1518. /package/dist/siemens-ix/{p-ea980990.entry.js.map → p-ce3aebe6.entry.js.map} +0 -0
  1519. /package/dist/siemens-ix/{p-61bf7678.entry.js.map → p-d3458382.entry.js.map} +0 -0
  1520. /package/dist/siemens-ix/{p-674dd99b.entry.js.map → p-d605b181.entry.js.map} +0 -0
  1521. /package/dist/siemens-ix/{p-e40c900a.entry.js.map → p-dfb5f7d8.entry.js.map} +0 -0
  1522. /package/dist/siemens-ix/{p-97029efe.entry.js.map → p-dfe4de85.entry.js.map} +0 -0
  1523. /package/dist/siemens-ix/{p-f1d1c522.entry.js.map → p-ea142215.entry.js.map} +0 -0
  1524. /package/dist/siemens-ix/{p-6a275897.entry.js.map → p-ead88218.entry.js.map} +0 -0
  1525. /package/dist/siemens-ix/{p-25368187.entry.js.map → p-ec7cd008.entry.js.map} +0 -0
  1526. /package/dist/siemens-ix/{p-3725e281.entry.js.map → p-ee2902a5.entry.js.map} +0 -0
  1527. /package/dist/siemens-ix/{p-daf2c2fd.entry.js.map → p-f4415d44.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ix-typography.entry.js","sources":["src/components/typography/typography.scss?tag=ix-typography&encapsulation=shadow","src/components/typography/typography.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@import 'legacy/mixins/fonts';\n@import 'components/fonts';\n@import 'mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n}\n\n:host(.text-xs) {\n @include text-xs;\n}\n\n:host(.text-s) {\n @include text-s;\n}\n\n:host(.text-caption) {\n @include text-caption;\n}\n\n:host(.text-caption-single) {\n @include text-caption-single;\n}\n\n:host(.text-default) {\n @include text-default;\n}\n\n:host(.text-default-single) {\n @include text-default-single;\n}\n\n:host(.text-default-title) {\n @include text-default-title;\n}\n\n:host(.text-default-title-single) {\n @include text-default-title-single;\n}\n\n:host(.text-l) {\n @include text-l;\n}\n\n:host(.text-l-single) {\n @include text-l-single;\n}\n\n:host(.text-l-title) {\n @include text-l-title;\n}\n\n:host(.text-l-title-single) {\n @include text-l-title-single;\n}\n\n:host(.text-h2) {\n @include text-h2;\n}\n\n:host(.text-xl) {\n @include text-xl;\n}\n\n$typography-formats: label, label-xs, label-sm, label-lg, body, body-xs, body-sm,\n body-lg, display, display-xs, display-sm, display-lg, display-xl, display-xxl,\n h6, h5, h4, h3, h2, h1, code, code-sm, code-lg;\n\n@each $format in $typography-formats {\n :host(.typography-#{$format}) {\n @extend .typography-#{$format};\n }\n}\n\n$typography-decoration: none, underline, line-through;\n@each $decoration in $typography-decoration {\n :host(.typography-decoration-#{$decoration}) {\n @extend .typography-decoration-#{$decoration};\n }\n}\n\n:host(.typography-weight-bold) {\n @extend .typography-weight-bold;\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';\n\nexport type TypographyVariants =\n | 'x-small'\n | 'small'\n | 'caption'\n | 'caption-single'\n | 'default'\n | 'default-single'\n | 'default-title'\n | 'default-title-single'\n | 'large'\n | 'large-single'\n | 'large-title'\n | 'large-title-single'\n | 'h2'\n | 'display-large';\n\nexport type TypographyColors =\n | 'alarm'\n | 'alarm-contrast'\n | 'contrast'\n | 'critical-contrast'\n | 'info-contrast'\n | 'inv-contrast'\n | 'inv-soft'\n | 'inv-std'\n | 'inv-weak'\n | 'neutral-contrast'\n | 'primary-contrast'\n | 'soft'\n | 'std'\n | 'success-contrast'\n | 'warning-contrast'\n | 'weak';\n\ntype TypographyFormatLabel = 'label' | 'label-xs' | 'label-sm' | 'label-lg';\ntype TypographyFormatBody = 'body' | 'body-xs' | 'body-sm' | 'body-lg';\ntype TypographyFormatDisplay =\n | 'display'\n | 'display-xs'\n | 'display-sm'\n | 'display-lg'\n | 'display-xl'\n | 'display-xxl';\ntype TypographyFormatHeading = 'h6' | 'h5' | 'h4' | 'h3' | 'h2' | 'h1';\ntype TypographyFormatCode = 'code' | 'code-sm' | 'code-lg';\n\nexport type TypographyFormat =\n | TypographyFormatLabel\n | TypographyFormatBody\n | TypographyFormatDisplay\n | TypographyFormatHeading\n | TypographyFormatCode;\n\nexport type TextDecoration = 'none' | 'underline' | 'line-through';\n\n@Component({\n tag: 'ix-typography',\n styleUrl: 'typography.scss',\n shadow: true,\n})\nexport class IxTypography {\n /**\n * Text format\n */\n @Prop() format?: TypographyFormat;\n\n /**\n * Text color based on theme variables\n */\n @Prop() textColor?: TypographyColors;\n\n /**\n * Display text bold\n */\n @Prop() bold = false;\n\n /**\n * Text decoration\n */\n @Prop() textDecoration: TextDecoration = 'none';\n\n private static getTextColor(color: TypographyColors) {\n if (color.startsWith('inv-') || !color.endsWith('-contrast')) {\n return `var(--theme-color-${color}-text)`;\n }\n\n return `var(--theme-color-${color.replace('-', '--')})`;\n }\n\n render() {\n let typographyClass: Record<string, boolean> = {};\n typographyClass[`typography-${this.format ?? 'body'}`] = true;\n\n if (this.textDecoration !== 'none') {\n typographyClass[`typography-decoration-${this.textDecoration}`] = true;\n }\n\n typographyClass['typography-weight-bold'] = this.bold;\n\n let style = {};\n\n if (this.textColor) {\n style = {\n color: IxTypography.getTextColor(this.textColor),\n };\n }\n\n return (\n <Host class={typographyClass} style={style}>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A,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAA,EACxC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;"}
1
+ {"version":3,"file":"ix-typography.entry.js","sources":["src/components/typography/typography.scss?tag=ix-typography&encapsulation=shadow","src/components/typography/typography.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@import 'legacy/mixins/fonts';\n@import 'components/fonts';\n@import 'mixins/fonts';\n\n:host {\n @include ix-component;\n\n display: block;\n position: relative;\n}\n\n:host(.text-xs) {\n @include text-xs;\n}\n\n:host(.text-s) {\n @include text-s;\n}\n\n:host(.text-caption) {\n @include text-caption;\n}\n\n:host(.text-caption-single) {\n @include text-caption-single;\n}\n\n:host(.text-default) {\n @include text-default;\n}\n\n:host(.text-default-single) {\n @include text-default-single;\n}\n\n:host(.text-default-title) {\n @include text-default-title;\n}\n\n:host(.text-default-title-single) {\n @include text-default-title-single;\n}\n\n:host(.text-l) {\n @include text-l;\n}\n\n:host(.text-l-single) {\n @include text-l-single;\n}\n\n:host(.text-l-title) {\n @include text-l-title;\n}\n\n:host(.text-l-title-single) {\n @include text-l-title-single;\n}\n\n:host(.text-h2) {\n @include text-h2;\n}\n\n:host(.text-xl) {\n @include text-xl;\n}\n\n$typography-formats: label, label-xs, label-sm, label-lg, body, body-xs, body-sm,\n body-lg, display, display-xs, display-sm, display-lg, display-xl, display-xxl,\n h6, h5, h4, h3, h2, h1, code, code-sm, code-lg;\n\n@each $format in $typography-formats {\n :host(.typography-#{$format}) {\n @extend .typography-#{$format};\n }\n}\n\n$typography-decoration: none, underline, line-through;\n@each $decoration in $typography-decoration {\n :host(.typography-decoration-#{$decoration}) {\n @extend .typography-decoration-#{$decoration};\n }\n}\n\n:host(.typography-weight-bold) {\n @extend .typography-weight-bold;\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 {\n TypographyFormat,\n TextDecoration,\n TypographyColors,\n} from './typography.types';\n\n@Component({\n tag: 'ix-typography',\n styleUrl: 'typography.scss',\n shadow: true,\n})\nexport class IxTypography {\n /**\n * Text format\n */\n @Prop() format?: TypographyFormat;\n\n /**\n * Text color based on theme variables\n */\n @Prop() textColor?: TypographyColors;\n\n /**\n * Display text bold\n */\n @Prop() bold = false;\n\n /**\n * Text decoration\n */\n @Prop() textDecoration: TextDecoration = 'none';\n\n private static getTextColor(color: TypographyColors) {\n if (color.startsWith('inv-') || !color.endsWith('-contrast')) {\n return `var(--theme-color-${color}-text)`;\n }\n\n return `var(--theme-color-${color.replace('-', '--')})`;\n }\n\n render() {\n let typographyClass: Record<string, boolean> = {};\n typographyClass[`typography-${this.format ?? 'body'}`] = true;\n\n if (this.textDecoration !== 'none') {\n typographyClass[`typography-decoration-${this.textDecoration}`] = true;\n }\n\n typographyClass['typography-weight-bold'] = this.bold;\n\n let style = {};\n\n if (this.textColor) {\n style = {\n color: IxTypography.getTextColor(this.textColor),\n };\n }\n\n return (\n <Host class={typographyClass} style={style}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,+2bAA+2b;;MCqBx3b,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAgBE;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAEpB;;AAEG;AACK,QAAA,IAAc,CAAA,cAAA,GAAmB,MAAM;AAkChD;IAhCS,OAAO,YAAY,CAAC,KAAuB,EAAA;AACjD,QAAA,IAAI,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;YAC5D,OAAO,CAAA,kBAAA,EAAqB,KAAK,CAAA,MAAA,CAAQ;;QAG3C,OAAO,CAAA,kBAAA,EAAqB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA,CAAA,CAAG;;IAGzD,MAAM,GAAA;;QACJ,IAAI,eAAe,GAA4B,EAAE;AACjD,QAAA,eAAe,CAAC,CAAA,WAAA,EAAc,CAAA,EAAA,GAAA,IAAI,CAAC,MAAM,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,MAAM,CAAE,CAAA,CAAC,GAAG,IAAI;AAE7D,QAAA,IAAI,IAAI,CAAC,cAAc,KAAK,MAAM,EAAE;YAClC,eAAe,CAAC,yBAAyB,IAAI,CAAC,cAAc,CAAE,CAAA,CAAC,GAAG,IAAI;;AAGxE,QAAA,eAAe,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,IAAI;QAErD,IAAI,KAAK,GAAG,EAAE;AAEd,QAAA,IAAI,IAAI,CAAC,SAAS,EAAE;AAClB,YAAA,KAAK,GAAG;gBACN,KAAK,EAAE,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC;aACjD;;AAGH,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAA,EACxC,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B6NtGPRE.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DJsXFBNm.js';
2
2
  import { U as UploadFileState } from './upload-file-state-BGzrnl_l.js';
3
3
  import { c as iconSuccess, i as iconError } from './index-DLTnniMb.js';
4
4
  import { b as a11yHostAttributes } from './a11y-Bb7pDeaQ.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-B6NtGPRE.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DJsXFBNm.js';
2
2
  import { i as inline, s as shift, o as offset, f as flip, a as autoUpdate, b as arrow, c as computePosition } from './floating-ui.dom-CAqtPJ4-.js';
3
3
 
4
4
  const validationTooltipCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-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)}.text-default-title-single{-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.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}:host{display:inline-block;position:relative;width:100%;z-index:var(--theme-z-index-tooltip)}:host .validation-tooltip{background-color:var(--theme-tootlip--background);color:var(--theme-tooltip--color);padding:5px 10px;border-radius:4px;font-size:13px;border:1px solid var(--theme-tooltip--border-color);box-shadow:0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1)}:host .validation-tooltip #arrow,:host .validation-tooltip #arrow::before{position:absolute;width:8px;height:8px;background:inherit}:host .validation-tooltip #arrow{visibility:hidden}:host .validation-tooltip #arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}:host .validation-tooltip>#arrow{bottom:-5px}:host .validation-tooltip>#arrow::before{border-right:1px solid var(--theme-tooltip--border-color);border-bottom:1px solid var(--theme-tooltip--border-color)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-B6NtGPRE.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-DJsXFBNm.js';
2
2
  import { I as iconCircleDot, J as iconCircle, i as iconError, a as iconWarning, K as iconCircleFilled, c as iconSuccess, L as iconTriangleFilled } from './index-DLTnniMb.js';
3
3
 
4
4
  const workflowStepCss = ":host(:not(.host-vertical)){width:12rem;height:4rem;min-width:2rem;min-height:4rem;max-width:12rem}:host(.host-vertical){width:100%;height:4rem;min-width:4rem;min-height:2rem;max-height:12rem}:host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-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 .step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);padding:1.125rem 0 0.5rem 0}:host .step .wrapper{display:flex;width:100%;align-items:center;justify-content:center;position:relative}:host .step .wrapper .line{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}:host .step .wrapper .line.first,:host .step .wrapper .line.last{width:50%;margin:0 0 0 auto}:host .step .wrapper .line.last{margin:0 auto 0 0}:host .step .wrapper .line.single{width:0}:host .step .wrapper .line.selected{background-color:var(--theme-workflow-step-icon-default--color--selected)}:host .step .wrapper .line.done{background-color:var(--theme-workflow-step-icon-done--color)}:host .step .wrapper .line.done.selected{background-color:var(--theme-workflow-step-icon-done--color--selected)}:host .step .wrapper .line.warning{background-color:var(--theme-color-warning)}:host .step .wrapper .line.success{background-color:var(--theme-color-success)}:host .step .wrapper .line.error{background-color:var(--theme-color-alarm)}:host .step .wrapper .iconWrapper{display:flex;align-items:center;justify-content:center;position:absolute}:host .step .wrapper .iconWrapper .absolute{position:absolute}:host .step .text{margin-top:1rem;width:100%;padding:0 0.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}:host .step.vertical{flex-direction:row;padding:0;height:100%}:host .step.vertical .wrapper{width:auto;padding-left:1.125rem;height:100%}:host .step.vertical .wrapper .line{width:0.125rem;height:100%}:host .step.vertical .wrapper .line.first,:host .step.vertical .wrapper .line.last{height:50%;margin:auto 0 0 0}:host .step.vertical .wrapper .line.last{margin:0 0 auto 0}:host .step.vertical .wrapper .line.single{width:0}:host .step.vertical .text{margin:0 1rem;padding:0;width:auto}:host .step.clickable:hover{background-color:var(--theme-workflow-step--background--hover)}:host .step.clickable:active{background-color:var(--theme-workflow-step--background--active)}:host .step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}:host .step.selected{background-color:var(--theme-workflow-step--background--selected)}:host .step.disabled{background-color:var(--theme-workflow-step--background--disabled)}:host .step.disabled .line{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}:host .step.disabled .text{color:var(--theme-workflow-step--color--disabled)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B6NtGPRE.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DJsXFBNm.js';
2
2
  import { c as createMutationObserver } from './mutation-observer-CX81WQtk.js';
3
3
 
4
4
  const workflowStepsCss = ":host{display:block;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-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 .steps{display:flex;height:100%}:host .steps.vertical{flex-direction:column}";
@@ -0,0 +1,76 @@
1
+ import { a as getElement } from './index-DJsXFBNm.js';
2
+
3
+ /*
4
+ * SPDX-FileCopyrightText: 2024 Siemens AG
5
+ *
6
+ * SPDX-License-Identifier: MIT
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ const defaultOptions = {
12
+ target: 'window',
13
+ defaultEnabled: true,
14
+ };
15
+ function createListener(event, options = {}) {
16
+ const opts = Object.assign(Object.assign({}, defaultOptions), options);
17
+ let callback;
18
+ const onEvent = (event) => {
19
+ callback(event);
20
+ };
21
+ const resultObject = {
22
+ on: (onEventCallback) => {
23
+ callback = onEventCallback;
24
+ },
25
+ isEnabled: opts.defaultEnabled,
26
+ enable: (state) => {
27
+ resultObject.isEnabled = state;
28
+ if (state) {
29
+ addEventListener(event, onEvent);
30
+ }
31
+ else {
32
+ removeEventListener(event, onEvent);
33
+ }
34
+ },
35
+ destroy: () => {
36
+ resultObject.enable(false);
37
+ },
38
+ };
39
+ resultObject.enable(!!opts.defaultEnabled);
40
+ return resultObject;
41
+ }
42
+ function OnListener(event, fnExp) {
43
+ return (proto, methodName) => {
44
+ const { componentWillLoad, componentWillRender, disconnectedCallback } = proto;
45
+ if (fnExp) {
46
+ proto.componentWillRender = function () {
47
+ var _a;
48
+ const host = getElement(this);
49
+ (_a = host[`__ix__${methodName}`]) === null || _a === void 0 ? void 0 : _a.enable(fnExp(this));
50
+ return componentWillRender && componentWillRender.call(this);
51
+ };
52
+ }
53
+ proto.componentWillLoad = function () {
54
+ const listener = createListener(event);
55
+ const host = getElement(this);
56
+ const method = this[methodName];
57
+ host[`__ix__${methodName}`] = listener;
58
+ listener.on(method.bind(this));
59
+ return componentWillLoad && componentWillLoad.call(this);
60
+ };
61
+ proto.disconnectedCallback = function () {
62
+ var _a;
63
+ const host = getElement(this);
64
+ if (host && host[`__ix__${methodName}`]) {
65
+ (_a = host[`__ix__${methodName}`]) === null || _a === void 0 ? void 0 : _a.destroy();
66
+ host[`__ix__${methodName}`] = null;
67
+ }
68
+ return disconnectedCallback && disconnectedCallback.call(this);
69
+ };
70
+ };
71
+ }
72
+
73
+ export { OnListener as O };
74
+ //# sourceMappingURL=listener-B0yYRvMl.js.map
75
+
76
+ //# sourceMappingURL=listener-B0yYRvMl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listener-B0yYRvMl.js","sources":["src/components/utils/listener.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 */\n\nimport { getElement } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\n\nexport type ListenerOptions = {\n target?: 'window';\n defaultEnabled?: boolean;\n};\n\ntype HostListener = {\n on: (onEventCallback: any) => void;\n isEnabled: boolean | undefined;\n enable: (state: boolean) => void;\n destroy: () => void;\n};\n\nconst defaultOptions: ListenerOptions = {\n target: 'window',\n defaultEnabled: true,\n};\n\nexport function createListener(\n event: string,\n options: ListenerOptions = {}\n): HostListener {\n const opts = {\n ...defaultOptions,\n ...options,\n };\n\n let callback: any;\n const onEvent = (event: Event) => {\n callback(event);\n };\n\n const resultObject = {\n on: (onEventCallback: any) => {\n callback = onEventCallback;\n },\n\n isEnabled: opts.defaultEnabled,\n\n enable: (state: boolean) => {\n resultObject.isEnabled = state;\n\n if (state) {\n addEventListener(event, onEvent);\n } else {\n removeEventListener(event, onEvent);\n }\n },\n\n destroy: () => {\n resultObject.enable(false);\n },\n };\n\n resultObject.enable(!!opts.defaultEnabled);\n return resultObject;\n}\n\ntype HTMLStencilElementWithListener = HTMLStencilElement & {\n [K in `__ix__${string}`]?: HostListener | null;\n};\n\nexport function OnListener<T>(event: string, fnExp?: (self: T) => boolean) {\n return (proto: any, methodName: string) => {\n const { componentWillLoad, componentWillRender, disconnectedCallback } =\n proto;\n\n if (fnExp) {\n proto.componentWillRender = function () {\n const host = getElement(this) as HTMLStencilElementWithListener;\n host[`__ix__${methodName}`]?.enable(fnExp(this));\n return componentWillRender && componentWillRender.call(this);\n };\n }\n\n proto.componentWillLoad = function () {\n const listener = createListener(event);\n const host = getElement(this) as HTMLStencilElementWithListener;\n const method = this[methodName];\n\n host[`__ix__${methodName}`] = listener;\n\n listener.on(method.bind(this));\n return componentWillLoad && componentWillLoad.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this) as HTMLStencilElementWithListener;\n\n if (host && host[`__ix__${methodName}`]) {\n host[`__ix__${methodName}`]?.destroy();\n host[`__ix__${methodName}`] = null;\n }\n\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;AAiBH,MAAM,cAAc,GAAoB;AACtC,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,cAAc,EAAE,IAAI;CACrB;SAEe,cAAc,CAC5B,KAAa,EACb,UAA2B,EAAE,EAAA;AAE7B,IAAA,MAAM,IAAI,GACL,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,cAAc,CACd,EAAA,OAAO,CACX;AAED,IAAA,IAAI,QAAa;AACjB,IAAA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;AACxB,YAAA,MAAM,QAAQ,GAAG,cAAc,CAAC,KAAK,CAAC;AACtC,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAmC;AAC/D,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;AAE/B,YAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,GAAG,QAAQ;YAEtC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9B,OAAO,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC;AAC1D,SAAC;QAED,KAAK,CAAC,oBAAoB,GAAG,YAAA;;AAC3B,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAmC;YAE/D,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,UAAU,CAAA,CAAE,CAAC,EAAE;gBACvC,CAAA,EAAA,GAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,EAAE;AACtC,gBAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,GAAG,IAAI;;YAGpC,OAAO,oBAAoB,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;AAChE,SAAC;AACH,KAAC;AACH;;;;"}
@@ -1,5 +1,5 @@
1
- import { g as globalScripts, b as bootstrapLazy } from './index-B6NtGPRE.js';
2
- export { s as setNonce } from './index-B6NtGPRE.js';
1
+ import { g as globalScripts, b as bootstrapLazy } from './index-DJsXFBNm.js';
2
+ export { s as setNonce } from './index-DJsXFBNm.js';
3
3
 
4
4
  const defineCustomElements = async (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"modal-BldRA6Um.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.ts"],"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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\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 {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\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 { IxModalSize } from '../../modal/modal';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes"],"mappings":";;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,IAAA,MAAM,UAAU,CACd,IAAS,EACT,MAAuB,EAAA;;AAEvB,QAAA,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAC,IAAI;AAC9D,QAAA,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC;AACjC,QAAA,OAAO,IAAI;;IAGb,MAAM,UAAU,CAAC,IAAS,EAAA;QACxB,IAAI,CAAC,MAAM,EAAE;;AAEhB;AAED,MAAM,YAAY,GAAG,IAAI,wBAAwB,EAAE;AACnD,IAAI,eAAe,GAAsB,YAAY;AAE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B,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAC9C,0BAA0B,CAC3B;QAED,IAAI,gBAAgB,EAAE;YACnB,gBAAwC,CAAC,KAAK,EAAE;;AAErD,KAAC,CAAC;IAEF,OAAO;AACL,QAAA,WAAW,EAAE,SAAS;QACtB,OAAO;QACP,SAAS;KACV;AACH;;;;"}
1
+ {"version":3,"file":"modal-BldRA6Um.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.ts"],"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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\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 {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\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 type { IxModalSize } from '../../modal/modal.types';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes"],"mappings":";;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,IAAA,MAAM,UAAU,CACd,IAAS,EACT,MAAuB,EAAA;;AAEvB,QAAA,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,aAA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,CAAC;AACpB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CAAC;IAEF,SAAS,CAAC,gBAAgB,CACxB,eAAe,EACf,OAAO,EAAE,MAAM,EAAe,KAAI;AAChC,QAAA,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;AACtB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CACF;IAED,qBAAqB,CAAC,MAAK;QACzB,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAC9C,0BAA0B,CAC3B;QAED,IAAI,gBAAgB,EAAE;YACnB,gBAAwC,CAAC,KAAK,EAAE;;AAErD,KAAC,CAAC;IAEF,OAAO;AACL,QAAA,WAAW,EAAE,SAAS;QACtB,OAAO;QACP,SAAS;KACV;AACH;;;;"}
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-B6NtGPRE.js';
2
- export { s as setNonce } from './index-B6NtGPRE.js';
1
+ import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-DJsXFBNm.js';
2
+ export { s as setNonce } from './index-DJsXFBNm.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
@@ -0,0 +1,118 @@
1
+ import { a as getElement } from './index-DJsXFBNm.js';
2
+
3
+ /*
4
+ * SPDX-FileCopyrightText: 2024 Siemens AG
5
+ *
6
+ * SPDX-License-Identifier: MIT
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ async function isTouched(host) {
12
+ if (typeof host.isTouched === 'function') {
13
+ return host.isTouched();
14
+ }
15
+ }
16
+ async function shouldSuppressInternalValidation(host) {
17
+ if (host.getAssociatedFormElement &&
18
+ typeof host.getAssociatedFormElement === 'function') {
19
+ const form = await host.getAssociatedFormElement();
20
+ if (!form) {
21
+ return false;
22
+ }
23
+ return form.noValidate;
24
+ }
25
+ return false;
26
+ }
27
+ function createClassMutationObserver(element, callback, options) {
28
+ const observer = new MutationObserver(callback);
29
+ observer.observe(element, {
30
+ subtree: options === null || options === void 0 ? void 0 : options.includeChildren,
31
+ childList: options === null || options === void 0 ? void 0 : options.includeChildren,
32
+ attributes: true,
33
+ attributeFilter: ['class'],
34
+ });
35
+ return {
36
+ destroy() {
37
+ observer.disconnect();
38
+ },
39
+ };
40
+ }
41
+ function containsClass(hostElement, className, includeChildren) {
42
+ return (hostElement.classList.contains(`${className}`) ||
43
+ (includeChildren ? !!hostElement.querySelector(`.${className}`) : false));
44
+ }
45
+ function checkFieldClasses(hostElement, includeChildren = false) {
46
+ return {
47
+ isInvalid: containsClass(hostElement, 'ix-invalid', includeChildren),
48
+ isInvalidByRequired: containsClass(hostElement, 'ix-invalid--required', includeChildren),
49
+ isValid: containsClass(hostElement, 'ix-valid', includeChildren),
50
+ isInfo: containsClass(hostElement, 'ix-info', includeChildren),
51
+ isWarning: containsClass(hostElement, 'ix-warning', includeChildren),
52
+ };
53
+ }
54
+ function HookValidationLifecycle(options) {
55
+ return (proto, methodName) => {
56
+ let checkIfRequiredFunction;
57
+ let classMutationObserver;
58
+ const { componentWillLoad, disconnectedCallback, connectedCallback } = proto;
59
+ proto.connectedCallback = function () {
60
+ const host = getElement(this);
61
+ checkIfRequiredFunction = async () => {
62
+ const skipValidation = await shouldSuppressInternalValidation(host);
63
+ if (skipValidation) {
64
+ return;
65
+ }
66
+ if (host.hasValidValue && typeof host.hasValidValue === 'function') {
67
+ const hasValue = await host.hasValidValue();
68
+ const touched = await isTouched(host);
69
+ if (host.required) {
70
+ host.classList.toggle('ix-invalid--required', !hasValue && touched);
71
+ }
72
+ else {
73
+ host.classList.remove('ix-invalid--required');
74
+ }
75
+ }
76
+ if (host.getValidityState &&
77
+ typeof host.getValidityState === 'function') {
78
+ const validityState = await host.getValidityState();
79
+ host.classList.toggle(`ix-invalid--validity-patternMismatch`, validityState.patternMismatch);
80
+ }
81
+ };
82
+ host.addEventListener('checkedChange', checkIfRequiredFunction);
83
+ host.addEventListener('valueChange', checkIfRequiredFunction);
84
+ host.addEventListener('ixBlur', checkIfRequiredFunction);
85
+ setTimeout(checkIfRequiredFunction);
86
+ return connectedCallback === null || connectedCallback === void 0 ? void 0 : connectedCallback.call(this);
87
+ };
88
+ proto.componentWillLoad = function () {
89
+ const host = getElement(this);
90
+ classMutationObserver = createClassMutationObserver(host, () => {
91
+ const result = checkFieldClasses(host, options === null || options === void 0 ? void 0 : options.includeChildren);
92
+ proto[methodName].call(this, result);
93
+ }, options);
94
+ const result = checkFieldClasses(host, options === null || options === void 0 ? void 0 : options.includeChildren);
95
+ proto[methodName].call(this, result);
96
+ return componentWillLoad === null || componentWillLoad === void 0 ? void 0 : componentWillLoad.call(this);
97
+ };
98
+ proto.disconnectedCallback = function () {
99
+ const host = getElement(this);
100
+ if (host && classMutationObserver) {
101
+ classMutationObserver.destroy();
102
+ classMutationObserver = null;
103
+ }
104
+ if (host && checkIfRequiredFunction) {
105
+ host.removeEventListener('checkedChange', checkIfRequiredFunction);
106
+ host.removeEventListener('valueChange', checkIfRequiredFunction);
107
+ host.removeEventListener('ixBlur', checkIfRequiredFunction);
108
+ checkIfRequiredFunction = null;
109
+ }
110
+ return disconnectedCallback === null || disconnectedCallback === void 0 ? void 0 : disconnectedCallback.call(this);
111
+ };
112
+ };
113
+ }
114
+
115
+ export { HookValidationLifecycle as H, checkFieldClasses as a, createClassMutationObserver as c, shouldSuppressInternalValidation as s };
116
+ //# sourceMappingURL=validation-gQpVWmEm.js.map
117
+
118
+ //# sourceMappingURL=validation-gQpVWmEm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation-gQpVWmEm.js","sources":["src/components/utils/input/validation.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 { getElement } from '@stencil/core';\nimport { HTMLIxFormComponentElement, IxFormComponent } from '.';\nimport { IxComponent } from '../internal';\n\nexport type ClassMutationObserver = {\n destroy: () => void;\n};\n\nexport async function isTouched<T>(host: IxFormComponent<T>) {\n if (typeof host.isTouched === 'function') {\n return host.isTouched();\n }\n}\n\nexport async function shouldSuppressInternalValidation<T>(\n host: IxFormComponent<T>\n) {\n if (\n host.getAssociatedFormElement &&\n typeof host.getAssociatedFormElement === 'function'\n ) {\n const form = await host.getAssociatedFormElement();\n\n if (!form) {\n return false;\n }\n\n return form.noValidate;\n }\n\n return false;\n}\n\nexport function createClassMutationObserver(\n element: HTMLElement,\n callback: () => void,\n options?: {\n includeChildren?: boolean;\n }\n): ClassMutationObserver {\n const observer = new MutationObserver(callback);\n observer.observe(element, {\n subtree: options?.includeChildren,\n childList: options?.includeChildren,\n attributes: true,\n attributeFilter: ['class'],\n });\n\n return {\n destroy() {\n observer.disconnect();\n },\n };\n}\n\nexport type ValidationResultProperty =\n | 'isInvalid'\n | 'isInvalidByRequired'\n | 'isValid'\n | 'isInfo'\n | 'isWarning';\nexport type ValidationResults = Record<ValidationResultProperty, boolean>;\n\nfunction containsClass(\n hostElement: HTMLIxFormComponentElement<unknown>,\n className: string,\n includeChildren: boolean\n) {\n return (\n hostElement.classList.contains(`${className}`) ||\n (includeChildren ? !!hostElement.querySelector(`.${className}`) : false)\n );\n}\n\nexport function checkFieldClasses(\n hostElement: HTMLIxFormComponentElement<unknown>,\n includeChildren = false\n): ValidationResults {\n return {\n isInvalid: containsClass(hostElement, 'ix-invalid', includeChildren),\n isInvalidByRequired: containsClass(\n hostElement,\n 'ix-invalid--required',\n includeChildren\n ),\n isValid: containsClass(hostElement, 'ix-valid', includeChildren),\n isInfo: containsClass(hostElement, 'ix-info', includeChildren),\n isWarning: containsClass(hostElement, 'ix-warning', includeChildren),\n };\n}\n\nexport function HookValidationLifecycle(options?: {\n includeChildren?: boolean;\n}) {\n return (proto: IxComponent, methodName: string) => {\n let checkIfRequiredFunction: (() => Promise<void>) | null;\n let classMutationObserver: ClassMutationObserver | null;\n const { componentWillLoad, disconnectedCallback, connectedCallback } =\n proto;\n\n proto.connectedCallback = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n\n checkIfRequiredFunction = async () => {\n const skipValidation = await shouldSuppressInternalValidation(host);\n if (skipValidation) {\n return;\n }\n\n if (host.hasValidValue && typeof host.hasValidValue === 'function') {\n const hasValue = await host.hasValidValue();\n const touched = await isTouched(host);\n\n if (host.required) {\n host.classList.toggle('ix-invalid--required', !hasValue && touched);\n } else {\n host.classList.remove('ix-invalid--required');\n }\n }\n\n if (\n host.getValidityState &&\n typeof host.getValidityState === 'function'\n ) {\n const validityState = await host.getValidityState();\n\n host.classList.toggle(\n `ix-invalid--validity-patternMismatch`,\n validityState.patternMismatch\n );\n }\n };\n\n host.addEventListener('checkedChange', checkIfRequiredFunction);\n host.addEventListener('valueChange', checkIfRequiredFunction);\n host.addEventListener('ixBlur', checkIfRequiredFunction);\n setTimeout(checkIfRequiredFunction);\n return connectedCallback?.call(this);\n };\n\n proto.componentWillLoad = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n classMutationObserver = createClassMutationObserver(\n host,\n () => {\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n },\n options\n );\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n return componentWillLoad?.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && classMutationObserver) {\n classMutationObserver.destroy();\n classMutationObserver = null;\n }\n\n if (host && checkIfRequiredFunction) {\n host.removeEventListener('checkedChange', checkIfRequiredFunction);\n host.removeEventListener('valueChange', checkIfRequiredFunction);\n host.removeEventListener('ixBlur', checkIfRequiredFunction);\n checkIfRequiredFunction = null;\n }\n\n return disconnectedCallback?.call(this);\n };\n };\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AA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AU,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC;YACpC,OAAO,iBAAiB,KAAjB,IAAA,IAAA,iBAAiB,KAAjB,MAAA,GAAA,MAAA,GAAA,iBAAiB,CAAE,IAAI,CAAC,IAAI,CAAC;AACtC,SAAC;QAED,KAAK,CAAC,oBAAoB,GAAG,YAAA;AAC3B,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;AAE7B,YAAA,IAAI,IAAI,IAAI,qBAAqB,EAAE;gBACjC,qBAAqB,CAAC,OAAO,EAAE;gBAC/B,qBAAqB,GAAG,IAAI;;AAG9B,YAAA,IAAI,IAAI,IAAI,uBAAuB,EAAE;AACnC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,uBAAuB,CAAC;AAClE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,uBAAuB,CAAC;AAChE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAC3D,uBAAuB,GAAG,IAAI;;YAGhC,OAAO,oBAAoB,KAApB,IAAA,IAAA,oBAAoB,KAApB,MAAA,GAAA,MAAA,GAAA,oBAAoB,CAAE,IAAI,CAAC,IAAI,CAAC;AACzC,SAAC;AACH,KAAC;AACH;;;;"}
@@ -1,2 +1,2 @@
1
- export{I as InputState,L as LogicalFilterOperator}from"./p-BH3f5fa3.js";export{F as FlipTileState}from"./p-BQ6999e5.js";export{r as renderDefaultItem}from"./p-UQa1aROL.js";export{U as UploadFileState}from"./p-BGzrnl_l.js";import{g as o}from"./p-BxQZld1q.js";export{c as closeModal,d as dismissModal,r as registerFrameworkDelegate,a as resolveDelegate,b as showMessage,s as showModal}from"./p-BxQZld1q.js";import{A as n}from"./p-Dp15M30K.js";export{T as TypedEvent}from"./p-BdCnOrqW.js";export{a as convertToAbbreviationString,c as convertToRemString}from"./p-pXYAoEyc.js";export{g as getCurrentSystemAppearance,t as themeSwitcher}from"./p-Dp4RJcgZ.js";export{e as handlePlatformHelpers}from"./p-B6NtGPRE.js";import"./p-DLTnniMb.js";class i{constructor(){this.tokens=[];this.categories=[]}}function p(){const e=Array.from(document.querySelectorAll("ix-toast-container"));const[t]=e;if(e.length>1){console.warn("Multiple toast containers were found. Only the first one will be used.");return t}if(!t){const e=document.createElement("ix-toast-container");document.body.appendChild(e);return e}return t}function l(e){const t=p();t.setAttribute("position",e)}function m(e){const t=p();return t.showToast(e)}m.info=e=>m(Object.assign(Object.assign({},e),{type:"info"}));m.error=e=>m(Object.assign(Object.assign({},e),{type:"error"}));m.success=e=>m(Object.assign(Object.assign({},e),{type:"success"}));m.warning=e=>m(Object.assign(Object.assign({},e),{type:"warning"}));function f(e){const t=document.createElement("ix-modal");t.closeOnEscape=false;const s=document.createElement("ix-modal-loading");s.innerText=e;t.appendChild(s);o().attachView(t);t.showModal();return{update:e=>s.innerHTML=e,finish:(e,r=250)=>{if(e!==undefined){s.innerText=e}else{r=0}setTimeout((()=>{t.closeModal(null);setTimeout((async()=>await o().removeView(t)),n.mediumTime)}),r)}}}async function u(){}export{i as FilterState,u as applyPolyfills,o as getCoreDelegate,p as getToastContainer,l as setToastPosition,f as showModalLoading,m as toast};
1
+ export{I as InputState,L as LogicalFilterOperator}from"./p-BH3f5fa3.js";export{F as FlipTileState}from"./p-BQ6999e5.js";export{r as renderDefaultItem}from"./p-UQa1aROL.js";export{U as UploadFileState}from"./p-BGzrnl_l.js";import{g as o}from"./p-BxQZld1q.js";export{c as closeModal,d as dismissModal,r as registerFrameworkDelegate,a as resolveDelegate,b as showMessage,s as showModal}from"./p-BxQZld1q.js";import{A as n}from"./p-Dp15M30K.js";export{T as TypedEvent}from"./p-BdCnOrqW.js";export{a as convertToAbbreviationString,c as convertToRemString}from"./p-pXYAoEyc.js";export{g as getCurrentSystemAppearance,t as themeSwitcher}from"./p-Dp4RJcgZ.js";export{e as handlePlatformHelpers}from"./p-DJsXFBNm.js";import"./p-DLTnniMb.js";class i{constructor(){this.tokens=[];this.categories=[]}}function p(){const e=Array.from(document.querySelectorAll("ix-toast-container"));const[t]=e;if(e.length>1){console.warn("Multiple toast containers were found. Only the first one will be used.");return t}if(!t){const e=document.createElement("ix-toast-container");document.body.appendChild(e);return e}return t}function l(e){const t=p();t.setAttribute("position",e)}function m(e){const t=p();return t.showToast(e)}m.info=e=>m(Object.assign(Object.assign({},e),{type:"info"}));m.error=e=>m(Object.assign(Object.assign({},e),{type:"error"}));m.success=e=>m(Object.assign(Object.assign({},e),{type:"success"}));m.warning=e=>m(Object.assign(Object.assign({},e),{type:"warning"}));function f(e){const t=document.createElement("ix-modal");t.closeOnEscape=false;const s=document.createElement("ix-modal-loading");s.innerText=e;t.appendChild(s);o().attachView(t);t.showModal();return{update:e=>s.innerHTML=e,finish:(e,r=250)=>{if(e!==undefined){s.innerText=e}else{r=0}setTimeout((()=>{t.closeModal(null);setTimeout((async()=>await o().removeView(t)),n.mediumTime)}),r)}}}export{i as FilterState,o as getCoreDelegate,p as getToastContainer,l as setToastPosition,f as showModalLoading,m as toast};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["src/components/category-filter/filter-state.ts","src/components/toast/toast-utils.ts","src/components/utils/modal/loading.ts","src/index.ts"],"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\nimport { LogicalFilterOperator } from './logical-filter-operator';\nexport class FilterState {\n public tokens: string[] = [];\n public categories: {\n id: string;\n value: string;\n operator: LogicalFilterOperator;\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 { ShowToastResult } from './toast-container';\nexport type ToastType = 'info' | 'success' | 'error' | 'warning';\nexport type ToastPosition = 'bottom-right' | 'top-right';\n\nexport interface ToastConfig {\n title?: string;\n message: string | HTMLElement;\n type?: ToastType;\n autoClose?: boolean;\n autoCloseDelay?: number;\n icon?: string;\n iconColor?: string;\n}\n\nexport function getToastContainer() {\n const containerList = Array.from(\n document.querySelectorAll('ix-toast-container')\n );\n const [container] = containerList;\n if (containerList.length > 1) {\n console.warn(\n 'Multiple toast containers were found. Only the first one will be used.'\n );\n return container;\n }\n if (!container) {\n const toastContainer = document.createElement('ix-toast-container');\n document.body.appendChild(toastContainer);\n\n return toastContainer;\n }\n return container;\n}\n\nexport function setToastPosition(position: ToastPosition) {\n const container = getToastContainer();\n container.setAttribute('position', position);\n}\n\nfunction toast(config: ToastConfig): Promise<ShowToastResult> {\n const container = getToastContainer();\n return container.showToast(config);\n}\n\ntoast.info = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'info',\n });\n};\n\ntoast.error = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'error',\n });\n};\n\ntoast.success = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'success',\n });\n};\n\ntoast.warning = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'warning',\n });\n};\n\nexport { toast };\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 Animation from '../animation';\nimport { getCoreDelegate } from '../delegate';\n\nexport function showModalLoading(message: string) {\n const modal = document.createElement('ix-modal');\n modal.closeOnEscape = false;\n\n const loading = document.createElement('ix-modal-loading');\n loading.innerText = message;\n modal.appendChild(loading);\n\n getCoreDelegate().attachView(modal);\n modal.showModal();\n\n return {\n update: (text: string) => (loading.innerHTML = text),\n finish: (text?: string, timeout: number = 250) => {\n if (text !== undefined) {\n loading.innerText = text;\n } else {\n timeout = 0;\n }\n setTimeout(() => {\n modal.closeModal(null);\n setTimeout(\n async () => await getCoreDelegate().removeView(modal),\n Animation.mediumTime\n );\n }, timeout);\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\nexport * from './components/category-filter/filter-state';\nexport * from './components/category-filter/input-state';\nexport * from './components/category-filter/logical-filter-operator';\nexport { FlipTileState } from './components/flip-tile/flip-tile-state';\nexport * from './components/toast/toast-utils';\nexport * from './components/tree-item/default-tree-item';\nexport * from './components/tree/tree-model';\nexport * from './components/upload/upload-file-state';\nexport * from './components/utils/delegate';\nexport { ElementReference } from './components/utils/element-reference';\nexport * from './components/utils/modal';\nexport * from './components/utils/typed-event';\nexport { NotificationColor } from './components/utils/notification-color';\nexport {\n convertToAbbreviationString,\n convertToRemString,\n} from './components/utils/rwd.util';\nexport * from './components/utils/theme-switcher';\nexport { handlePlatformHelpers, IxConfig } from './setup';\n\nexport async function applyPolyfills() {\n /**\n * Placeholder to not break existing applications\n * https://github.com/ionic-team/stencil/issues/5780\n */\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;MAGU,WAAW,CAAA;AAAxB,IAAA,WAAA,GAAA;QACS,IAAM,CAAA,MAAA,GAAa,EAAE;QACrB,IAAU,CAAA,UAAA,GAIX,EAAE;;AACT;;SCKe,iBAAiB,GAAA;AAC/B,IAAA,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,QAAQ,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAChD;AACD,IAAA,MAAM,CAAC,SAAS,CAAC,GAAG,aAAa;AACjC,IAAA,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE;AAC5B,QAAA,OAAO,CAAC,IAAI,CACV,wEAAwE,CACzE;AACD,QAAA,OAAO,SAAS;;IAElB,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC;AACnE,QAAA,QAAQ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O,CAAC;AAE1B,IAAA,eAAe,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACnC,KAAK,CAAC,SAAS,EAAE;IAEjB,OAAO;AACL,QAAA,MAAM,EAAE,CAAC,IAAY,MAAM,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;AACpD,QAAA,MAAM,EAAE,CAAC,IAAa,EAAE,OAAkB,GAAA,GAAG,KAAI;AAC/C,YAAA,IAAI,IAAI,KAAK,SAAS,EAAE;AACtB,gBAAA,OAAO,CAAC,SAAS,GAAG,IAAI;;iBACnB;gBACL,OAAO,GAAG,CAAC;;YAEb,UAAU,CAAC,MAAK;AACd,gBAAA,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;AACtB,gBAAA,UAAU,CACR,YAAY,MAAM,eAAe,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACrD,SAAS,CAAC,UAAU,CACrB;aACF,EAAE,OAAO,CAAC;SACZ;KACF;AACH;;ACxCA;;;;;;;AAOG;AAsBI,eAAe,cAAc,GAAA;AAClC;;;AAGG;AACL;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":["src/components/category-filter/filter-state.ts","src/components/toast/toast-utils.ts","src/components/utils/modal/loading.ts"],"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\nimport { LogicalFilterOperator } from './logical-filter-operator';\nexport class FilterState {\n public tokens: string[] = [];\n public categories: {\n id: string;\n value: string;\n operator: LogicalFilterOperator;\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 type { ShowToastResult } from './toast-container.types';\nexport type ToastType = 'info' | 'success' | 'error' | 'warning';\nexport type ToastPosition = 'bottom-right' | 'top-right';\n\nexport interface ToastConfig {\n title?: string;\n message: string | HTMLElement;\n type?: ToastType;\n autoClose?: boolean;\n autoCloseDelay?: number;\n icon?: string;\n iconColor?: string;\n}\n\nexport function getToastContainer() {\n const containerList = Array.from(\n document.querySelectorAll('ix-toast-container')\n );\n const [container] = containerList;\n if (containerList.length > 1) {\n console.warn(\n 'Multiple toast containers were found. Only the first one will be used.'\n );\n return container;\n }\n if (!container) {\n const toastContainer = document.createElement('ix-toast-container');\n document.body.appendChild(toastContainer);\n\n return toastContainer;\n }\n return container;\n}\n\nexport function setToastPosition(position: ToastPosition) {\n const container = getToastContainer();\n container.setAttribute('position', position);\n}\n\nfunction toast(config: ToastConfig): Promise<ShowToastResult> {\n const container = getToastContainer();\n return container.showToast(config);\n}\n\ntoast.info = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'info',\n });\n};\n\ntoast.error = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'error',\n });\n};\n\ntoast.success = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'success',\n });\n};\n\ntoast.warning = (config: ToastConfig) => {\n return toast({\n ...config,\n type: 'warning',\n });\n};\n\nexport { toast };\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 Animation from '../animation';\nimport { getCoreDelegate } from '../delegate';\n\nexport function showModalLoading(message: string) {\n const modal = document.createElement('ix-modal');\n modal.closeOnEscape = false;\n\n const loading = document.createElement('ix-modal-loading');\n loading.innerText = message;\n modal.appendChild(loading);\n\n getCoreDelegate().attachView(modal);\n modal.showModal();\n\n return {\n update: (text: string) => (loading.innerHTML = text),\n finish: (text?: string, timeout: number = 250) => {\n if (text !== undefined) {\n loading.innerText = text;\n } else {\n timeout = 0;\n }\n setTimeout(() => {\n modal.closeModal(null);\n setTimeout(\n async () => await getCoreDelegate().removeView(modal),\n Animation.mediumTime\n );\n }, timeout);\n },\n };\n}\n"],"names":[],"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/action-card.scss?tag=ix-action-card&encapsulation=shadow","src/components/action-card/action-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@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: block;\n position: relative;\n min-width: 13.375rem;\n width: 13.375rem;\n height: 7.5rem;\n min-height: 7.5rem;\n cursor: pointer;\n\n margin: 0.25rem 0;\n\n ix-card {\n width: 100%;\n height: 100%;\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 { CardVariant } from '../card/card';\n\nexport type ActionCardVariant = CardVariant;\n\n@Component({\n tag: 'ix-action-card',\n styleUrl: 'action-card.scss',\n shadow: true,\n})\nexport class IxActionCard {\n /**\n * Card variant\n */\n @Prop() variant: ActionCardVariant = 'outline';\n\n /**\n * Card icon\n */\n @Prop() icon: string | undefined = undefined;\n\n /**\n * Card heading\n */\n @Prop() heading?: string;\n\n /**\n * Card subheading\n */\n @Prop() subheading?: string;\n\n /**\n * Card selection\n */\n @Prop() selected = false;\n\n render() {\n return (\n <Host>\n <ix-card\n selected={this.selected}\n variant={this.variant}\n class={'pointer'}\n >\n <ix-card-content>\n {this.icon ? (\n <ix-icon class={'icon'} name={this.icon} size=\"32\"></ix-icon>\n ) : null}\n <div>\n {this.heading ? (\n <ix-typography format=\"h4\">{this.heading}</ix-typography>\n ) : null}\n {this.subheading ? (\n <ix-typography format=\"h5\">{this.subheading}</ix-typography>\n ) : null}\n <slot></slot>\n </div>\n </ix-card-content>\n </ix-card>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,y6BAAy6B;;MCmBl7B,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAME;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAsB,SAAS;AAE9C;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAuB,SAAS;AAY5C;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AA4BzB;IA1BC,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,SAAS,EAAA,EAEhB,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,IAAI,CAAC,IAAI,IACR,CAAS,CAAA,SAAA,EAAA,EAAA,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,EAAA,CAAW,IAC3D,IAAI,EACR,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,IAAI,CAAC,OAAO,IACX,qBAAe,MAAM,EAAC,IAAI,EAAE,EAAA,IAAI,CAAC,OAAO,CAAiB,IACvD,IAAI,EACP,IAAI,CAAC,UAAU,IACd,qBAAe,MAAM,EAAC,IAAI,EAAE,EAAA,IAAI,CAAC,UAAU,CAAiB,IAC1D,IAAI,EACR,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACU,CACV,CACL;;;;;;;"}
1
+ {"version":3,"file":"ix-action-card.entry.esm.js","sources":["src/components/action-card/action-card.scss?tag=ix-action-card&encapsulation=shadow","src/components/action-card/action-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@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: block;\n position: relative;\n min-width: 13.375rem;\n width: 13.375rem;\n height: 7.5rem;\n min-height: 7.5rem;\n cursor: pointer;\n\n margin: 0.25rem 0;\n\n ix-card {\n width: 100%;\n height: 100%;\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 { ActionCardVariant } from './action-card.types';\n\n@Component({\n tag: 'ix-action-card',\n styleUrl: 'action-card.scss',\n shadow: true,\n})\nexport class IxActionCard {\n /**\n * Card variant\n */\n @Prop() variant: ActionCardVariant = 'outline';\n\n /**\n * Card icon\n */\n @Prop() icon: string | undefined = undefined;\n\n /**\n * Card heading\n */\n @Prop() heading?: string;\n\n /**\n * Card subheading\n */\n @Prop() subheading?: string;\n\n /**\n * Card selection\n */\n @Prop() selected = false;\n\n render() {\n return (\n <Host>\n <ix-card\n selected={this.selected}\n variant={this.variant}\n class={'pointer'}\n >\n <ix-card-content>\n {this.icon ? (\n <ix-icon class={'icon'} name={this.icon} size=\"32\"></ix-icon>\n ) : null}\n <div>\n {this.heading ? (\n <ix-typography format=\"h4\">{this.heading}</ix-typography>\n ) : null}\n {this.subheading ? (\n <ix-typography format=\"h5\">{this.subheading}</ix-typography>\n ) : null}\n <slot></slot>\n </div>\n </ix-card-content>\n </ix-card>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,y6BAAy6B;;MCiBl7B,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAME;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAsB,SAAS;AAE9C;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAuB,SAAS;AAY5C;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AA4BzB;IA1BC,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,SAAS,EAAA,EAEhB,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,IAAI,CAAC,IAAI,IACR,CAAS,CAAA,SAAA,EAAA,EAAA,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,EAAA,CAAW,IAC3D,IAAI,EACR,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,IAAI,CAAC,OAAO,IACX,qBAAe,MAAM,EAAC,IAAI,EAAE,EAAA,IAAI,CAAC,OAAO,CAAiB,IACvD,IAAI,EACP,IAAI,CAAC,UAAU,IACd,qBAAe,MAAM,EAAC,IAAI,EAAE,EAAA,IAAI,CAAC,UAAU,CAAiB,IAC1D,IAAI,EACR,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACU,CACV,CACL;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ix-blind.entry.esm.js","sources":["src/components/blind/blind.scss?tag=ix-blind&encapsulation=shadow","src/components/blind/blind.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 'legacy/mixins/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n@mixin blind($variant: 'filled') {\n :host(.blind-#{$variant}) {\n @if $variant == 'outline' {\n border: solid\n var(--theme-blind--border-thickness)\n var(--theme-blind-base--border-color);\n }\n\n .blind-header {\n @if $variant == 'outline' {\n background-color: var(--theme-color-ghost);\n } @else {\n background-color: var(--theme-color-#{$variant});\n }\n\n @if $variant == 'filled' or $variant == 'outline' {\n @include ghost-hover-pressed;\n } @else {\n @include hover {\n background-color: var(--theme-color-#{$variant}--hover);\n }\n\n @include active {\n background-color: var(--theme-color-#{$variant}--active);\n }\n }\n }\n\n @if $variant == 'filled' or $variant == 'outline' {\n .blind-header-title-label {\n color: var(--theme-color-std-text);\n }\n .blind-header-title-sublabel {\n color: var(--theme-color-soft-text);\n }\n } @else {\n .blind-header-title-label,\n .blind-header-title-sublabel {\n color: var(--theme-color-#{$variant}--contrast);\n }\n }\n\n @if $variant == 'outline' {\n border-color: var(--theme-color-soft-bdr);\n } @else {\n background-color: var(--theme-blind-base--background);\n }\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n border-radius: var(--theme-blind--border-radius);\n overflow: hidden;\n\n .blind-header-wrapper {\n position: relative;\n min-height: 3rem;\n height: 3rem;\n overflow: hidden;\n }\n\n .blind-header-content {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n\n width: 100%;\n height: 100%;\n\n pointer-events: none;\n padding-left: 0.5rem;\n }\n\n .blind-header-title {\n display: flex;\n position: relative;\n align-items: center;\n flex-grow: 1;\n margin-right: 0.5rem;\n }\n\n .blind-header {\n all: unset;\n @include ellipsis;\n\n display: block;\n position: absolute;\n\n top: 0px;\n left: 0px;\n\n pointer-events: all;\n\n padding-left: 2.5rem;\n min-height: 3rem;\n height: 3rem;\n width: calc(100% - 2 * var(--theme-blind--border-thickness));\n border: solid var(--theme-blind--border-thickness) transparent;\n border-radius: var(--theme-blind--border-radius)\n var(--theme-blind--border-radius) 0 0;\n cursor: pointer;\n\n @include focus-visible {\n border-color: var(--theme-color-focus-bdr);\n outline: none;\n }\n }\n\n .blind-header-title-icon,\n .collapse-icon {\n margin-right: $small-space;\n }\n\n .blind-header-title-row {\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n }\n\n .blind-header-title-col {\n display: inline-flex;\n align-items: center;\n width: calc(100% - 1rem);\n overflow: hidden;\n }\n\n .blind-header-title-col:not(:first-of-type) {\n justify-content: flex-end;\n }\n ix-typography {\n flex-grow: 1;\n @include ellipsis;\n }\n\n .blind-header-title-label {\n @include ellipsis;\n padding-inline-end: 0.5rem;\n }\n\n .blind-header-title-sublabel {\n @include ellipsis;\n padding-inline: 0.5rem;\n }\n\n .blind-header-title {\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n min-width: 0;\n }\n\n .blind-header-labels {\n display: inline-flex;\n flex-grow: 1;\n min-width: 0;\n }\n\n .blind-content {\n display: block;\n padding: 1rem;\n transition-property: padding;\n transition-duration: var(--theme-default-time);\n transition-timing-function: ease-in;\n\n &.hide {\n max-height: 0;\n padding-top: 0px;\n padding-bottom: 0px;\n }\n }\n\n .header-actions {\n pointer-events: all;\n margin-left: auto;\n }\n}\n\n$blind-variants: (\n alarm,\n critical,\n info,\n neutral,\n filled,\n success,\n warning,\n primary,\n outline\n);\n\n@each $variant in $blind-variants {\n @include blind($variant);\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 Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { CardVariant } from '../card/card';\nimport { a11yBoolean } from '../utils/a11y';\nimport { iconChevronRightSmall } from '@siemens/ix-icons/icons';\n\nexport type BlindVariant = CardVariant;\n\nlet sequentialInstanceId = 0;\n\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label?: string;\n\n /**\n * Secondary label inside blind header\n */\n @Prop() sublabel?: string;\n\n /**\n * Optional icon to be displayed next to the header label\n */\n @Prop() icon?: string;\n\n /**\n * Blind variant\n */\n @Prop() variant: BlindVariant = 'filled';\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange!: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef?: HTMLElement;\n private blindId = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick() {\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot!.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host\n class={{\n [`blind-${this.variant}`]: true,\n }}\n >\n <div class={'blind-header-wrapper'}>\n <button\n class={{\n 'blind-header': true,\n [`blind-${this.variant}`]: true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n aria-controls={`ix-blind-content-section-${this.blindId}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={() => this.onHeaderClick()}\n >\n <slot name=\"custom-header\"></slot>\n </button>\n\n <div class={'blind-header-content'}>\n <ix-icon\n class=\"collapse-icon\"\n name={iconChevronRightSmall}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-primary'\n : `color-${this.variant}--contrast`\n }\n ref={(ref: HTMLElement | undefined) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.blindId}`}\n >\n {this.label !== undefined ? (\n <Fragment>\n {this.icon && (\n <ix-icon\n class=\"blind-header-title-icon\"\n name={this.icon}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-std-text'\n : `color-${this.variant}--contrast`\n }\n ></ix-icon>\n )}\n <div class={'blind-header-title-row'}>\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.label} format=\"label-lg\" bold>\n <div\n class=\"blind-header-title-label\"\n title={this.label}\n >\n {this.label}\n </div>\n </ix-typography>\n </div>\n\n {this.sublabel && (\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.sublabel}>\n <div class=\"blind-header-title-sublabel\">\n {this.sublabel}\n </div>\n </ix-typography>\n </div>\n )}\n </div>\n <div class=\"header-actions\">\n <slot name=\"header-actions\"></slot>\n </div>\n </Fragment>\n ) : null}\n </div>\n </div>\n </div>\n <section\n id={`ix-blind-content-section-${this.blindId}`}\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,8jUAA8jU;;AC2B/kU,IAAI,oBAAoB,GAAG,CAAC;MAOf,KAAK,GAAA,MAAA;AAoChB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAnCA;;AAEG;AACqC,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAiBzD;;AAEG;AACK,QAAA,IAAO,CAAA,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AC,6BAA6B,EACrC,EAAA,IAAI,CAAC,QAAQ,CACV,CACQ,CACZ,CACP,CACG,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EACzB,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,gBAAgB,EAAA,CAAQ,CAC/B,CACG,IACT,IAAI,CACJ,CACF,CACF,EACN,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,EAAE,EAAE,4BAA4B,IAAI,CAAC,OAAO,CAAE,CAAA,EAAA,iBAAA,EAC7B,CAAA,sBAAA,EAAyB,IAAI,CAAC,OAAO,EAAE,EAAA,EAExD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,eAAe,EAAE,IAAI;gBACrB,IAAI,EAAE,IAAI,CAAC,SAAS;aACrB,EAAA,EAEA,CAAC,IAAI,CAAC,SAAS,GAAG,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,GAAG,IAAI,CACnC,CACE,CACL;;;;;;;;;;;"}
1
+ {"version":3,"file":"ix-blind.entry.esm.js","sources":["src/components/blind/blind.scss?tag=ix-blind&encapsulation=shadow","src/components/blind/blind.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 'legacy/mixins/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n@mixin blind($variant: 'filled') {\n :host(.blind-#{$variant}) {\n @if $variant == 'outline' {\n border: solid\n var(--theme-blind--border-thickness)\n var(--theme-blind-base--border-color);\n }\n\n .blind-header {\n @if $variant == 'outline' {\n background-color: var(--theme-color-ghost);\n } @else {\n background-color: var(--theme-color-#{$variant});\n }\n\n @if $variant == 'filled' or $variant == 'outline' {\n @include ghost-hover-pressed;\n } @else {\n @include hover {\n background-color: var(--theme-color-#{$variant}--hover);\n }\n\n @include active {\n background-color: var(--theme-color-#{$variant}--active);\n }\n }\n }\n\n @if $variant == 'filled' or $variant == 'outline' {\n .blind-header-title-label {\n color: var(--theme-color-std-text);\n }\n .blind-header-title-sublabel {\n color: var(--theme-color-soft-text);\n }\n } @else {\n .blind-header-title-label,\n .blind-header-title-sublabel {\n color: var(--theme-color-#{$variant}--contrast);\n }\n }\n\n @if $variant == 'outline' {\n border-color: var(--theme-color-soft-bdr);\n } @else {\n background-color: var(--theme-blind-base--background);\n }\n }\n}\n\n:host {\n @include ix-component;\n display: flex;\n flex-direction: column;\n border-radius: var(--theme-blind--border-radius);\n overflow: hidden;\n\n .blind-header-wrapper {\n position: relative;\n min-height: 3rem;\n height: 3rem;\n overflow: hidden;\n }\n\n .blind-header-content {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n\n width: 100%;\n height: 100%;\n\n pointer-events: none;\n padding-left: 0.5rem;\n }\n\n .blind-header-title {\n display: flex;\n position: relative;\n align-items: center;\n flex-grow: 1;\n margin-right: 0.5rem;\n }\n\n .blind-header {\n all: unset;\n @include ellipsis;\n\n display: block;\n position: absolute;\n\n top: 0px;\n left: 0px;\n\n pointer-events: all;\n\n padding-left: 2.5rem;\n min-height: 3rem;\n height: 3rem;\n width: calc(100% - 2 * var(--theme-blind--border-thickness));\n border: solid var(--theme-blind--border-thickness) transparent;\n border-radius: var(--theme-blind--border-radius)\n var(--theme-blind--border-radius) 0 0;\n cursor: pointer;\n\n @include focus-visible {\n border-color: var(--theme-color-focus-bdr);\n outline: none;\n }\n }\n\n .blind-header-title-icon,\n .collapse-icon {\n margin-right: $small-space;\n }\n\n .blind-header-title-row {\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n }\n\n .blind-header-title-col {\n display: inline-flex;\n align-items: center;\n width: calc(100% - 1rem);\n overflow: hidden;\n }\n\n .blind-header-title-col:not(:first-of-type) {\n justify-content: flex-end;\n }\n ix-typography {\n flex-grow: 1;\n @include ellipsis;\n }\n\n .blind-header-title-label {\n @include ellipsis;\n padding-inline-end: 0.5rem;\n }\n\n .blind-header-title-sublabel {\n @include ellipsis;\n padding-inline: 0.5rem;\n }\n\n .blind-header-title {\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n min-width: 0;\n }\n\n .blind-header-labels {\n display: inline-flex;\n flex-grow: 1;\n min-width: 0;\n }\n\n .blind-content {\n display: block;\n padding: 1rem;\n transition-property: padding;\n transition-duration: var(--theme-default-time);\n transition-timing-function: ease-in;\n\n &.hide {\n max-height: 0;\n padding-top: 0px;\n padding-bottom: 0px;\n }\n }\n\n .header-actions {\n pointer-events: all;\n margin-left: auto;\n }\n}\n\n$blind-variants: (\n alarm,\n critical,\n info,\n neutral,\n filled,\n success,\n warning,\n primary,\n outline\n);\n\n@each $variant in $blind-variants {\n @include blind($variant);\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 Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { a11yBoolean } from '../utils/a11y';\nimport { iconChevronRightSmall } from '@siemens/ix-icons/icons';\nimport type { BlindVariant } from './blind.types';\n\nlet sequentialInstanceId = 0;\n\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label?: string;\n\n /**\n * Secondary label inside blind header\n */\n @Prop() sublabel?: string;\n\n /**\n * Optional icon to be displayed next to the header label\n */\n @Prop() icon?: string;\n\n /**\n * Blind variant\n */\n @Prop() variant: BlindVariant = 'filled';\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange!: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef?: HTMLElement;\n private blindId = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick() {\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot!.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host\n class={{\n [`blind-${this.variant}`]: true,\n }}\n >\n <div class={'blind-header-wrapper'}>\n <button\n class={{\n 'blind-header': true,\n [`blind-${this.variant}`]: true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n aria-controls={`ix-blind-content-section-${this.blindId}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={() => this.onHeaderClick()}\n >\n <slot name=\"custom-header\"></slot>\n </button>\n\n <div class={'blind-header-content'}>\n <ix-icon\n class=\"collapse-icon\"\n name={iconChevronRightSmall}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-primary'\n : `color-${this.variant}--contrast`\n }\n ref={(ref: HTMLElement | undefined) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.blindId}`}\n >\n {this.label !== undefined ? (\n <Fragment>\n {this.icon && (\n <ix-icon\n class=\"blind-header-title-icon\"\n name={this.icon}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-std-text'\n : `color-${this.variant}--contrast`\n }\n ></ix-icon>\n )}\n <div class={'blind-header-title-row'}>\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.label} format=\"label-lg\" bold>\n <div\n class=\"blind-header-title-label\"\n title={this.label}\n >\n {this.label}\n </div>\n </ix-typography>\n </div>\n\n {this.sublabel && (\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.sublabel}>\n <div class=\"blind-header-title-sublabel\">\n {this.sublabel}\n </div>\n </ix-typography>\n </div>\n )}\n </div>\n <div class=\"header-actions\">\n <slot name=\"header-actions\"></slot>\n </div>\n </Fragment>\n ) : null}\n </div>\n </div>\n </div>\n <section\n id={`ix-blind-content-section-${this.blindId}`}\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,8jUAA8jU;;ACyB/kU,IAAI,oBAAoB,GAAG,CAAC;MAOf,KAAK,GAAA,MAAA;AAoChB,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAnCA;;AAEG;AACqC,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAiBzD;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAiB,QAAQ;AAUhC,QAAA,IAAO,CAAA,OAAA,GAAG,EAAE,oBAAoB;AAExB;IAER,aAAa,GAAA;AACnB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;QAChC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;;IAG3C,gBAAgB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F,EACN,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,EAAE,EAAE,4BAA4B,IAAI,CAAC,OAAO,CAAE,CAAA,EAAA,iBAAA,EAC7B,CAAA,sBAAA,EAAyB,IAAI,CAAC,OAAO,EAAE,EAAA,EAExD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,eAAe,EAAE,IAAI;gBACrB,IAAI,EAAE,IAAI,CAAC,SAAS;aACrB,EAAA,EAEA,CAAC,IAAI,CAAC,SAAS,GAAG,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,GAAG,IAAI,CACnC,CACE,CACL;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ix-breadcrumb-item.entry.esm.js","sources":["src/components/breadcrumb-item/breadcrumb-item.scss?tag=ix-breadcrumb-item&encapsulation=shadow","src/components/breadcrumb-item/breadcrumb-item.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 'mixins/shadow-dom/component';\n@import '../button/button-mixin';\n@import '../button/button';\n\n@include all-btn-variants;\n\n:host {\n @include ix-component;\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n margin-right: 0.25rem;\n max-width: 15rem;\n min-width: 0;\n\n li {\n display: contents;\n }\n\n .btn {\n pointer-events: all;\n width: fit-content;\n padding-right: 0;\n padding-left: 0.25rem;\n }\n\n .chevron {\n pointer-events: none;\n margin-left: 0.5rem;\n margin-right: 0rem;\n color: var(--theme-color-soft-text);\n }\n\n ::slotted(a[href]) {\n text-decoration: none !important;\n }\n\n ::slotted(a[href]:active) {\n text-decoration: none !important;\n }\n}\n\n:host(:last-child) {\n .btn:not(.dropdown-trigger) {\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.hide-chevron) {\n cursor: default;\n\n .btn {\n padding-right: 0.5rem;\n pointer-events: none;\n }\n}\n\n:host(.invisible) {\n display: none;\n}\n\n:host(:focus-visible) {\n outline: none;\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport animejs from 'animejs';\nimport { BaseButton, BaseButtonProps } from '../button/base-button';\nimport { a11yHostAttributes } from '../utils/a11y';\nimport { iconChevronRightSmall } from '@siemens/ix-icons/icons';\n\nexport type BreadcrumbItemLinkTarget =\n | '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string;\n\n@Component({\n tag: 'ix-breadcrumb-item',\n styleUrl: 'breadcrumb-item.scss',\n shadow: true,\n})\nexport class BreadcrumbItem {\n @Element() hostElement!: HTMLIxBreadcrumbItemElement;\n\n /**\n * Breadcrumb label\n */\n @Prop() label?: string;\n\n /**\n * Icon to be displayed next ot the label\n */\n @Prop() icon?: string;\n\n /**@internal */\n @Prop() ghost: boolean = true;\n\n /**@internal */\n @Prop() visible = true;\n\n /**@internal */\n @Prop() showChevron = true;\n\n /** @internal */\n @Prop() isDropdownTrigger = false;\n\n /**@internal */\n @Event() itemClick!: EventEmitter<string>;\n\n @State() a11y: any;\n\n componentDidLoad() {\n this.animationFadeIn();\n }\n\n componentWillLoad() {\n this.a11y = a11yHostAttributes(this.hostElement, [\n 'aria-describedby',\n 'aria-controls',\n 'aria-expanded',\n ]);\n }\n\n animationFadeIn() {\n animejs({\n targets: this.hostElement,\n duration: 150,\n opacity: [0, 1],\n translateX: ['-100%', '0%'],\n easing: 'linear',\n });\n }\n\n render() {\n const props: BaseButtonProps = {\n variant: this.ghost ? 'primary' : 'secondary',\n outline: false,\n ghost: this.ghost,\n iconOnly: false,\n iconOval: false,\n disabled: false,\n icon: this.icon,\n iconSize: '16',\n loading: false,\n selected: false,\n type: 'button',\n tabIndex:\n this.hostElement.tabIndex !== -1 ? this.hostElement.tabIndex : 0,\n extraClasses: {\n 'dropdown-trigger': this.isDropdownTrigger,\n },\n ariaAttributes: this.a11y,\n };\n\n if (!this.visible) {\n return <Host class={'invisible'}></Host>;\n }\n\n return (\n <Host\n class={{\n 'hide-chevron': !this.showChevron,\n }}\n onClick={() => this.itemClick.emit(this.label)}\n >\n <li>\n <BaseButton\n {...props}\n afterContent={\n <Fragment>\n {this.showChevron ? (\n <ix-icon\n name={iconChevronRightSmall}\n size=\"16\"\n class={'chevron'}\n ></ix-icon>\n ) : null}\n </Fragment>\n }\n >\n {this.label}\n <slot></slot>\n </BaseButton>\n </li>\n </Host>\n );\n }\n}\n"],"names":["animejs"],"mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,s0wCAAs0wC;;MCqCn1wC,cAAc,GAAA,MAAA;AAL3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAmBU,QAAA,IAAK,CAAA,KAAA,GAAY,IAAI;;AAGrB,QAAA,IAAO,CAAA,OAAA,GAAG,IAAI;;AAGd,QAAA,IAAW,CAAA,WAAA,GAAG,IAAI;;AAGlB,QAAA,IAAiB,CAAA,iBAAA,GAAG,KAAK;AAmFlC;IA5EC,gBAAgB,GAAA;QACd,IAAI,CAAC,eAAe,EAAE;;IAGxB,iBAAiB,GAAA;QACf,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE;YAC/C,kBAAkB;YAClB,eAAe;YACf,eAAe;AAChB,SAAA,CAAC;;IAGJ,eAAe,GAAA;AACb,QAAAA,KAAO,CAAC;YACN,OAAO,EAAE,IAAI,CAAC,WAAW;AACzB,YAAA,QAAQ,EAAE,GAAG;AACb,YAAA,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACf,YAAA,UAAU,EAAE,CAAC,OAAO,EAAE,IAAI,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A,EACE,IAAI,EAAE,qBAAqB,EAC3B,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,SAAS,GACP,IACT,IAAI,CACC,EAAA,CAAA,EAGZ,IAAI,CAAC,KAAK,EACX,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CACF,CACV,CACA;;;;;;;;"}
1
+ {"version":3,"file":"ix-breadcrumb-item.entry.esm.js","sources":["src/components/breadcrumb-item/breadcrumb-item.scss?tag=ix-breadcrumb-item&encapsulation=shadow","src/components/breadcrumb-item/breadcrumb-item.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 'mixins/shadow-dom/component';\n@import '../button/button-mixin';\n@import '../button/button';\n\n@include all-btn-variants;\n\n:host {\n @include ix-component;\n display: flex;\n position: relative;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n margin-right: 0.25rem;\n max-width: 15rem;\n min-width: 0;\n\n li {\n display: contents;\n }\n\n .btn {\n pointer-events: all;\n width: fit-content;\n padding-right: 0;\n padding-left: 0.25rem;\n }\n\n .chevron {\n pointer-events: none;\n margin-left: 0.5rem;\n margin-right: 0rem;\n color: var(--theme-color-soft-text);\n }\n\n ::slotted(a[href]) {\n text-decoration: none !important;\n }\n\n ::slotted(a[href]:active) {\n text-decoration: none !important;\n }\n}\n\n:host(:last-child) {\n .btn:not(.dropdown-trigger) {\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.hide-chevron) {\n cursor: default;\n\n .btn {\n padding-right: 0.5rem;\n pointer-events: none;\n }\n}\n\n:host(.invisible) {\n display: none;\n}\n\n:host(:focus-visible) {\n outline: none;\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 {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport animejs from 'animejs';\nimport { BaseButton, BaseButtonProps } from '../button/base-button';\nimport { a11yHostAttributes } from '../utils/a11y';\nimport { iconChevronRightSmall } from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-breadcrumb-item',\n styleUrl: 'breadcrumb-item.scss',\n shadow: true,\n})\nexport class BreadcrumbItem {\n @Element() hostElement!: HTMLIxBreadcrumbItemElement;\n\n /**\n * Breadcrumb label\n */\n @Prop() label?: string;\n\n /**\n * Icon to be displayed next ot the label\n */\n @Prop() icon?: string;\n\n /**@internal */\n @Prop() ghost: boolean = true;\n\n /**@internal */\n @Prop() visible = true;\n\n /**@internal */\n @Prop() showChevron = true;\n\n /** @internal */\n @Prop() isDropdownTrigger = false;\n\n /**@internal */\n @Event() itemClick!: EventEmitter<string>;\n\n @State() a11y: any;\n\n componentDidLoad() {\n this.animationFadeIn();\n }\n\n componentWillLoad() {\n this.a11y = a11yHostAttributes(this.hostElement, [\n 'aria-describedby',\n 'aria-controls',\n 'aria-expanded',\n ]);\n }\n\n animationFadeIn() {\n animejs({\n targets: this.hostElement,\n duration: 150,\n opacity: [0, 1],\n translateX: ['-100%', '0%'],\n easing: 'linear',\n });\n }\n\n render() {\n const props: BaseButtonProps = {\n variant: this.ghost ? 'primary' : 'secondary',\n outline: false,\n ghost: this.ghost,\n iconOnly: false,\n iconOval: false,\n disabled: false,\n icon: this.icon,\n iconSize: '16',\n loading: false,\n selected: false,\n type: 'button',\n tabIndex:\n this.hostElement.tabIndex !== -1 ? this.hostElement.tabIndex : 0,\n extraClasses: {\n 'dropdown-trigger': this.isDropdownTrigger,\n },\n ariaAttributes: this.a11y,\n };\n\n if (!this.visible) {\n return <Host class={'invisible'}></Host>;\n }\n\n return (\n <Host\n class={{\n 'hide-chevron': !this.showChevron,\n }}\n onClick={() => this.itemClick.emit(this.label)}\n >\n <li>\n <BaseButton\n {...props}\n afterContent={\n <Fragment>\n {this.showChevron ? (\n <ix-icon\n name={iconChevronRightSmall}\n size=\"16\"\n class={'chevron'}\n ></ix-icon>\n ) : null}\n </Fragment>\n }\n >\n {this.label}\n <slot></slot>\n </BaseButton>\n </li>\n </Host>\n );\n }\n}\n"],"names":["animejs"],"mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,s0wCAAs0wC;;MC8Bn1wC,cAAc,GAAA,MAAA;AAL3B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAmBU,QAAA,IAAK,CAAA,KAAA,GAAY,IAAI;;AAGrB,QAAA,IAAO,CAAA,OAAA,GAAG,IAAI;;AAGd,QAAA,IAAW,CAAA,WAAA,GAAG,IAAI;;AAGlB,QAAA,IAAiB,CAAA,iBAAA,GAAG,KAAK;AAmFlC;IA5EC,gBAAgB,GAAA;QACd,IAAI,CAAC,eAAe,EAAE;;IAGxB,iBAAiB,GAAA;QACf,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE;YAC/C,kBAAkB;YAClB,eAAe;YACf,eAAe;AAChB,SAAA,CAAC;;IAGJ,eAAe,GAAA;AACb,QAAAA,KAAO,CAAC;YACN,OAAO,EAAE,IAAI,CAAC,WAAW;AACzB,YAAA,QAAQ,EAAE,GAAG;AACb,YAAA,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACf,YAAA,UAAU,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC;AAC3B,YAAA,MAAM,EAAE,QAAQ;AACjB,SAAA,CAAC;;IAGJ,MAAM,GAAA;AACJ,QAAA,MAAM,KAAK,GAAoB;YAC7B,OAAO,EAAE,IAAI,CAAC,KAAK,GAAG,SAAS,GAAG,WAAW;AAC7C,YAAA,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,IAAI,CAAC,KAAK;AACjB,YAAA,QAAQ,EAAE,KAAK;AACf,YAAA,QAAQ,EAAE,KAAK;AACf,YAAA,QAAQ,EAAE,KAAK;YACf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