@siemens/ix 1.0.0-beta.2

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 (703) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/_commonjsHelpers-1a0c346f.js +23 -0
  3. package/dist/cjs/animation-dfe01edc.js +19 -0
  4. package/dist/cjs/anime.es-8822f296.js +1311 -0
  5. package/dist/cjs/base-button-eb1d47db.js +33 -0
  6. package/dist/cjs/default-tree-item-4597cd84.js +22 -0
  7. package/dist/cjs/flip-tile-state-c95639e5.js +18 -0
  8. package/dist/cjs/index-1e4a348f.js +1849 -0
  9. package/dist/cjs/index.cjs.js +96 -0
  10. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +217 -0
  11. package/dist/cjs/ix-application-header.cjs.entry.js +19 -0
  12. package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -0
  13. package/dist/cjs/ix-blind.cjs.entry.js +89 -0
  14. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +155 -0
  15. package/dist/cjs/ix-button.cjs.entry.js +50 -0
  16. package/dist/cjs/ix-category-filter.cjs.entry.js +399 -0
  17. package/dist/cjs/ix-chip.cjs.entry.js +47 -0
  18. package/dist/cjs/ix-counter-pill.cjs.entry.js +40 -0
  19. package/dist/cjs/ix-date-picker_2.cjs.entry.js +8881 -0
  20. package/dist/cjs/ix-date-time-card.cjs.entry.js +36 -0
  21. package/dist/cjs/ix-datetime-picker.cjs.entry.js +44 -0
  22. package/dist/cjs/ix-drawer.cjs.entry.js +122 -0
  23. package/dist/cjs/ix-dropdown_2.cjs.entry.js +203 -0
  24. package/dist/cjs/ix-event-list_2.cjs.entry.js +151 -0
  25. package/dist/cjs/ix-expanding-search.cjs.entry.js +91 -0
  26. package/dist/cjs/ix-filter-chip.cjs.entry.js +30 -0
  27. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +79 -0
  28. package/dist/cjs/ix-group_3.cjs.entry.js +174 -0
  29. package/dist/cjs/ix-icon-button.cjs.entry.js +40 -0
  30. package/dist/cjs/ix-icon.cjs.entry.js +33 -0
  31. package/dist/cjs/ix-input-group.cjs.entry.js +40 -0
  32. package/dist/cjs/ix-kpi.cjs.entry.js +50 -0
  33. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +190 -0
  34. package/dist/cjs/ix-menu_9.cjs.entry.js +872 -0
  35. package/dist/cjs/ix-message-bar.cjs.entry.js +58 -0
  36. package/dist/cjs/ix-modal-example.cjs.entry.js +24 -0
  37. package/dist/cjs/ix-modal_2.cjs.entry.js +14 -0
  38. package/dist/cjs/ix-pill.cjs.entry.js +40 -0
  39. package/dist/cjs/ix-select_2.cjs.entry.js +309 -0
  40. package/dist/cjs/ix-spinner.cjs.entry.js +30 -0
  41. package/dist/cjs/ix-split-button_2.cjs.entry.js +114 -0
  42. package/dist/cjs/ix-tab-item.cjs.entry.js +67 -0
  43. package/dist/cjs/ix-tabs.cjs.entry.js +187 -0
  44. package/dist/cjs/ix-tile.cjs.entry.js +27 -0
  45. package/dist/cjs/ix-toast_2.cjs.entry.js +155 -0
  46. package/dist/cjs/ix-toggle.cjs.entry.js +82 -0
  47. package/dist/cjs/ix-tree_2.cjs.entry.js +690 -0
  48. package/dist/cjs/ix-upload.cjs.entry.js +139 -0
  49. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +107 -0
  50. package/dist/cjs/ix-workflow-step.cjs.entry.js +114 -0
  51. package/dist/cjs/ix-workflow-steps.cjs.entry.js +83 -0
  52. package/dist/cjs/loader.cjs.js +21 -0
  53. package/dist/cjs/logical-filter-operator-467e2faf.js +35 -0
  54. package/dist/cjs/modal-5be2b1a3.js +221 -0
  55. package/dist/cjs/modal-utils-5d7bb217.js +42 -0
  56. package/dist/cjs/mutation-observer-29bedada.js +13 -0
  57. package/dist/cjs/my-component.cjs.entry.js +19 -0
  58. package/dist/cjs/popper-d7a0f999.js +1801 -0
  59. package/dist/cjs/rwd.util-482d41d4.js +42 -0
  60. package/dist/cjs/siemens-ix.cjs.js +19 -0
  61. package/dist/cjs/typed-event-8f5a32a2.js +46 -0
  62. package/dist/cjs/upload-file-state-923b2c65.js +17 -0
  63. package/dist/collection/collection-manifest.json +258 -0
  64. package/dist/collection/components/animated-tab/animated-tab.css +14 -0
  65. package/dist/collection/components/animated-tab/animated-tab.js +59 -0
  66. package/dist/collection/components/animated-tabs/animated-tabs.css +158 -0
  67. package/dist/collection/components/animated-tabs/animated-tabs.js +303 -0
  68. package/dist/collection/components/application-header/application-header.css +29 -0
  69. package/dist/collection/components/application-header/application-header.js +45 -0
  70. package/dist/collection/components/basic-navigation/basic-navigation.css +29 -0
  71. package/dist/collection/components/basic-navigation/basic-navigation.js +91 -0
  72. package/dist/collection/components/blind/blind.css +146 -0
  73. package/dist/collection/components/blind/blind.js +152 -0
  74. package/dist/collection/components/breadcrumb/breadcrumb.css +228 -0
  75. package/dist/collection/components/breadcrumb/breadcrumb.js +252 -0
  76. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +11 -0
  77. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +59 -0
  78. package/dist/collection/components/button/base-button.js +29 -0
  79. package/dist/collection/components/button/button.css +12 -0
  80. package/dist/collection/components/button/button.js +192 -0
  81. package/dist/collection/components/category-filter/category-filter.css +189 -0
  82. package/dist/collection/components/category-filter/category-filter.js +704 -0
  83. package/dist/collection/components/category-filter/filter-state.js +10 -0
  84. package/dist/collection/components/category-filter/input-state.js +17 -0
  85. package/dist/collection/components/category-filter/logical-filter-operator.js +13 -0
  86. package/dist/collection/components/chip/chip.css +475 -0
  87. package/dist/collection/components/chip/chip.js +197 -0
  88. package/dist/collection/components/counter-pill/counter-pill.css +313 -0
  89. package/dist/collection/components/counter-pill/counter-pill.js +137 -0
  90. package/dist/collection/components/date-picker/date-picker.css +222 -0
  91. package/dist/collection/components/date-picker/date-picker.js +365 -0
  92. package/dist/collection/components/date-time-card/date-time-card.css +49 -0
  93. package/dist/collection/components/date-time-card/date-time-card.js +89 -0
  94. package/dist/collection/components/datetime-picker/datetime-picker.css +35 -0
  95. package/dist/collection/components/datetime-picker/datetime-picker.js +161 -0
  96. package/dist/collection/components/drawer/drawer.css +78 -0
  97. package/dist/collection/components/drawer/drawer.js +300 -0
  98. package/dist/collection/components/dropdown/dropdown.css +536 -0
  99. package/dist/collection/components/dropdown/dropdown.js +392 -0
  100. package/dist/collection/components/dropdown-item/dropdown-item.css +61 -0
  101. package/dist/collection/components/dropdown-item/dropdown-item.js +187 -0
  102. package/dist/collection/components/event-list/event-list.css +58 -0
  103. package/dist/collection/components/event-list/event-list.js +197 -0
  104. package/dist/collection/components/event-list-item/event-list-item.css +109 -0
  105. package/dist/collection/components/event-list-item/event-list-item.js +162 -0
  106. package/dist/collection/components/expanding-search/expanding-search.css +124 -0
  107. package/dist/collection/components/expanding-search/expanding-search.js +177 -0
  108. package/dist/collection/components/filter-chip/filter-chip.css +82 -0
  109. package/dist/collection/components/filter-chip/filter-chip.js +74 -0
  110. package/dist/collection/components/flip-tile/flip-tile-state.js +16 -0
  111. package/dist/collection/components/flip-tile/flip-tile.css +143 -0
  112. package/dist/collection/components/flip-tile/flip-tile.js +125 -0
  113. package/dist/collection/components/flip-tile-content/flip-tile-content.css +12 -0
  114. package/dist/collection/components/flip-tile-content/flip-tile-content.js +23 -0
  115. package/dist/collection/components/group/group.css +170 -0
  116. package/dist/collection/components/group/group.js +329 -0
  117. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +11 -0
  118. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +60 -0
  119. package/dist/collection/components/group-item/group-item.css +116 -0
  120. package/dist/collection/components/group-item/group-item.js +200 -0
  121. package/dist/collection/components/icon/icon.css +45 -0
  122. package/dist/collection/components/icon/icon.js +91 -0
  123. package/dist/collection/components/icon-button/icon-button.js +242 -0
  124. package/dist/collection/components/input-group/input-group.css +27 -0
  125. package/dist/collection/components/input-group/input-group.js +48 -0
  126. package/dist/collection/components/kpi/kpi.css +131 -0
  127. package/dist/collection/components/kpi/kpi.js +151 -0
  128. package/dist/collection/components/map-navigation/map-navigation.css +161 -0
  129. package/dist/collection/components/map-navigation/map-navigation.js +355 -0
  130. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +237 -0
  131. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +105 -0
  132. package/dist/collection/components/menu/menu.css +128 -0
  133. package/dist/collection/components/menu/menu.js +969 -0
  134. package/dist/collection/components/menu-about/menu-about.css +207 -0
  135. package/dist/collection/components/menu-about/menu-about.js +188 -0
  136. package/dist/collection/components/menu-about-item/menu-about-item.css +12 -0
  137. package/dist/collection/components/menu-about-item/menu-about-item.js +42 -0
  138. package/dist/collection/components/menu-about-news/menu-about-news.css +99 -0
  139. package/dist/collection/components/menu-about-news/menu-about-news.js +204 -0
  140. package/dist/collection/components/menu-avatar/menu-avatar.css +91 -0
  141. package/dist/collection/components/menu-avatar/menu-avatar.js +136 -0
  142. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +12 -0
  143. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +79 -0
  144. package/dist/collection/components/menu-item/menu-item.css +140 -0
  145. package/dist/collection/components/menu-item/menu-item.js +166 -0
  146. package/dist/collection/components/menu-settings/menu-settings.css +204 -0
  147. package/dist/collection/components/menu-settings/menu-settings.js +151 -0
  148. package/dist/collection/components/menu-settings-item/menu-settings-item.css +13 -0
  149. package/dist/collection/components/menu-settings-item/menu-settings-item.js +42 -0
  150. package/dist/collection/components/message-bar/message-bar.css +68 -0
  151. package/dist/collection/components/message-bar/message-bar.js +125 -0
  152. package/dist/collection/components/modal/modal-utils.js +36 -0
  153. package/dist/collection/components/modal/modal.css +96 -0
  154. package/dist/collection/components/modal/modal.js +540 -0
  155. package/dist/collection/components/modal-container/modal-container.css +14 -0
  156. package/dist/collection/components/modal-container/modal-container.js +107 -0
  157. package/dist/collection/components/my-component/example-modal.js +31 -0
  158. package/dist/collection/components/my-component/my-component.css +34 -0
  159. package/dist/collection/components/my-component/my-component.js +22 -0
  160. package/dist/collection/components/pill/pill.css +269 -0
  161. package/dist/collection/components/pill/pill.js +155 -0
  162. package/dist/collection/components/select/select.css +176 -0
  163. package/dist/collection/components/select/select.js +509 -0
  164. package/dist/collection/components/select-item/select-item.css +14 -0
  165. package/dist/collection/components/select-item/select-item.js +169 -0
  166. package/dist/collection/components/spinner/spinner.css +42 -0
  167. package/dist/collection/components/spinner/spinner.js +137 -0
  168. package/dist/collection/components/split-button/split-button.css +11 -0
  169. package/dist/collection/components/split-button/split-button.js +310 -0
  170. package/dist/collection/components/split-button-item/split-button-item.css +12 -0
  171. package/dist/collection/components/split-button-item/split-button-item.js +79 -0
  172. package/dist/collection/components/tab-item/tab-item.css +195 -0
  173. package/dist/collection/components/tab-item/tab-item.js +219 -0
  174. package/dist/collection/components/tabs/tabs.css +84 -0
  175. package/dist/collection/components/tabs/tabs.js +305 -0
  176. package/dist/collection/components/tile/tile.css +92 -0
  177. package/dist/collection/components/tile/tile.js +60 -0
  178. package/dist/collection/components/time-picker/time-picker.css +94 -0
  179. package/dist/collection/components/time-picker/time-picker.js +274 -0
  180. package/dist/collection/components/toast/toast-container.js +170 -0
  181. package/dist/collection/components/toast/toast-utils.js +40 -0
  182. package/dist/collection/components/toast/toast.css +110 -0
  183. package/dist/collection/components/toast/toast.js +232 -0
  184. package/dist/collection/components/toggle/toggle.css +226 -0
  185. package/dist/collection/components/toggle/toggle.js +263 -0
  186. package/dist/collection/components/tree/tree-model.js +9 -0
  187. package/dist/collection/components/tree/tree.css +12 -0
  188. package/dist/collection/components/tree/tree.js +296 -0
  189. package/dist/collection/components/tree-item/default-tree-item.js +18 -0
  190. package/dist/collection/components/tree-item/tree-item.css +80 -0
  191. package/dist/collection/components/tree-item/tree-item.js +124 -0
  192. package/dist/collection/components/upload/upload-file-state.js +15 -0
  193. package/dist/collection/components/upload/upload.css +120 -0
  194. package/dist/collection/components/upload/upload.js +413 -0
  195. package/dist/collection/components/utils/animation.js +15 -0
  196. package/dist/collection/components/utils/button-variants.js +9 -0
  197. package/dist/collection/components/utils/mutation-observer.js +9 -0
  198. package/dist/collection/components/utils/notification-color.js +9 -0
  199. package/dist/collection/components/utils/popover.util.js +33 -0
  200. package/dist/collection/components/utils/rwd.util.js +37 -0
  201. package/dist/collection/components/utils/toggle-theme.js +24 -0
  202. package/dist/collection/components/utils/typed-event.js +42 -0
  203. package/dist/collection/components/validation-tooltip/validation-tooltip.css +235 -0
  204. package/dist/collection/components/validation-tooltip/validation-tooltip.js +167 -0
  205. package/dist/collection/components/workflow-step/workflow-step.css +131 -0
  206. package/dist/collection/components/workflow-step/workflow-step.js +249 -0
  207. package/dist/collection/components/workflow-steps/workflow-steps.css +29 -0
  208. package/dist/collection/components/workflow-steps/workflow-steps.js +182 -0
  209. package/dist/collection/env.js +9 -0
  210. package/dist/collection/exports.js +13 -0
  211. package/dist/collection/index.js +16 -0
  212. package/dist/collection/utils/test/index.js +9 -0
  213. package/dist/collection/utils/test/page.js +29 -0
  214. package/dist/components/_commonjsHelpers.js +19 -0
  215. package/dist/components/animation.js +17 -0
  216. package/dist/components/anime.es.js +1309 -0
  217. package/dist/components/application-header.js +32 -0
  218. package/dist/components/base-button.js +31 -0
  219. package/dist/components/button.js +68 -0
  220. package/dist/components/date-picker.js +268 -0
  221. package/dist/components/date-time-card.js +49 -0
  222. package/dist/components/default-tree-item.js +20 -0
  223. package/dist/components/dropdown-item.js +73 -0
  224. package/dist/components/dropdown.js +181 -0
  225. package/dist/components/filter-chip.js +48 -0
  226. package/dist/components/flip-tile-state.js +18 -0
  227. package/dist/components/group-item.js +63 -0
  228. package/dist/components/icon-button.js +68 -0
  229. package/dist/components/icon.js +47 -0
  230. package/dist/components/index.d.ts +26 -0
  231. package/dist/components/index.js +62 -0
  232. package/dist/components/ix-animated-tab.d.ts +11 -0
  233. package/dist/components/ix-animated-tab.js +35 -0
  234. package/dist/components/ix-animated-tabs.d.ts +11 -0
  235. package/dist/components/ix-animated-tabs.js +229 -0
  236. package/dist/components/ix-application-header.d.ts +11 -0
  237. package/dist/components/ix-application-header.js +6 -0
  238. package/dist/components/ix-basic-navigation.d.ts +11 -0
  239. package/dist/components/ix-basic-navigation.js +66 -0
  240. package/dist/components/ix-blind.d.ts +11 -0
  241. package/dist/components/ix-blind.js +105 -0
  242. package/dist/components/ix-breadcrumb-item.d.ts +11 -0
  243. package/dist/components/ix-breadcrumb-item.js +35 -0
  244. package/dist/components/ix-breadcrumb.d.ts +11 -0
  245. package/dist/components/ix-breadcrumb.js +180 -0
  246. package/dist/components/ix-button.d.ts +11 -0
  247. package/dist/components/ix-button.js +6 -0
  248. package/dist/components/ix-category-filter.d.ts +11 -0
  249. package/dist/components/ix-category-filter.js +447 -0
  250. package/dist/components/ix-chip.d.ts +11 -0
  251. package/dist/components/ix-chip.js +74 -0
  252. package/dist/components/ix-counter-pill.d.ts +11 -0
  253. package/dist/components/ix-counter-pill.js +59 -0
  254. package/dist/components/ix-date-picker.d.ts +11 -0
  255. package/dist/components/ix-date-picker.js +6 -0
  256. package/dist/components/ix-date-time-card.d.ts +11 -0
  257. package/dist/components/ix-date-time-card.js +6 -0
  258. package/dist/components/ix-datetime-picker.d.ts +11 -0
  259. package/dist/components/ix-datetime-picker.js +105 -0
  260. package/dist/components/ix-drawer.d.ts +11 -0
  261. package/dist/components/ix-drawer.js +155 -0
  262. package/dist/components/ix-dropdown-item.d.ts +11 -0
  263. package/dist/components/ix-dropdown-item.js +6 -0
  264. package/dist/components/ix-dropdown.d.ts +11 -0
  265. package/dist/components/ix-dropdown.js +6 -0
  266. package/dist/components/ix-event-list-item.d.ts +11 -0
  267. package/dist/components/ix-event-list-item.js +59 -0
  268. package/dist/components/ix-event-list.d.ts +11 -0
  269. package/dist/components/ix-event-list.js +135 -0
  270. package/dist/components/ix-expanding-search.d.ts +11 -0
  271. package/dist/components/ix-expanding-search.js +123 -0
  272. package/dist/components/ix-filter-chip.d.ts +11 -0
  273. package/dist/components/ix-filter-chip.js +6 -0
  274. package/dist/components/ix-flip-tile-content.d.ts +11 -0
  275. package/dist/components/ix-flip-tile-content.js +33 -0
  276. package/dist/components/ix-flip-tile.d.ts +11 -0
  277. package/dist/components/ix-flip-tile.js +96 -0
  278. package/dist/components/ix-group-dropdown-item.d.ts +11 -0
  279. package/dist/components/ix-group-dropdown-item.js +47 -0
  280. package/dist/components/ix-group-item.d.ts +11 -0
  281. package/dist/components/ix-group-item.js +6 -0
  282. package/dist/components/ix-group.d.ts +11 -0
  283. package/dist/components/ix-group.js +174 -0
  284. package/dist/components/ix-icon-button.d.ts +11 -0
  285. package/dist/components/ix-icon-button.js +6 -0
  286. package/dist/components/ix-icon.d.ts +11 -0
  287. package/dist/components/ix-icon.js +6 -0
  288. package/dist/components/ix-input-group.d.ts +11 -0
  289. package/dist/components/ix-input-group.js +53 -0
  290. package/dist/components/ix-kpi.d.ts +11 -0
  291. package/dist/components/ix-kpi.js +75 -0
  292. package/dist/components/ix-map-navigation-overlay.d.ts +11 -0
  293. package/dist/components/ix-map-navigation-overlay.js +6 -0
  294. package/dist/components/ix-map-navigation.d.ts +11 -0
  295. package/dist/components/ix-map-navigation.js +227 -0
  296. package/dist/components/ix-menu-about-item.d.ts +11 -0
  297. package/dist/components/ix-menu-about-item.js +34 -0
  298. package/dist/components/ix-menu-about-news.d.ts +11 -0
  299. package/dist/components/ix-menu-about-news.js +78 -0
  300. package/dist/components/ix-menu-about.d.ts +11 -0
  301. package/dist/components/ix-menu-about.js +6 -0
  302. package/dist/components/ix-menu-avatar-item.d.ts +11 -0
  303. package/dist/components/ix-menu-avatar-item.js +6 -0
  304. package/dist/components/ix-menu-avatar.d.ts +11 -0
  305. package/dist/components/ix-menu-avatar.js +83 -0
  306. package/dist/components/ix-menu-item.d.ts +11 -0
  307. package/dist/components/ix-menu-item.js +6 -0
  308. package/dist/components/ix-menu-settings-item.d.ts +11 -0
  309. package/dist/components/ix-menu-settings-item.js +34 -0
  310. package/dist/components/ix-menu-settings.d.ts +11 -0
  311. package/dist/components/ix-menu-settings.js +107 -0
  312. package/dist/components/ix-menu.d.ts +11 -0
  313. package/dist/components/ix-menu.js +601 -0
  314. package/dist/components/ix-message-bar.d.ts +11 -0
  315. package/dist/components/ix-message-bar.js +88 -0
  316. package/dist/components/ix-modal-container.d.ts +11 -0
  317. package/dist/components/ix-modal-container.js +6 -0
  318. package/dist/components/ix-modal-example.d.ts +11 -0
  319. package/dist/components/ix-modal-example.js +67 -0
  320. package/dist/components/ix-modal.d.ts +11 -0
  321. package/dist/components/ix-modal.js +6 -0
  322. package/dist/components/ix-pill.d.ts +11 -0
  323. package/dist/components/ix-pill.js +66 -0
  324. package/dist/components/ix-select-item.d.ts +11 -0
  325. package/dist/components/ix-select-item.js +6 -0
  326. package/dist/components/ix-select.d.ts +11 -0
  327. package/dist/components/ix-select.js +339 -0
  328. package/dist/components/ix-spinner.d.ts +11 -0
  329. package/dist/components/ix-spinner.js +6 -0
  330. package/dist/components/ix-split-button-item.d.ts +11 -0
  331. package/dist/components/ix-split-button-item.js +49 -0
  332. package/dist/components/ix-split-button.d.ts +11 -0
  333. package/dist/components/ix-split-button.js +135 -0
  334. package/dist/components/ix-tab-item.d.ts +11 -0
  335. package/dist/components/ix-tab-item.js +6 -0
  336. package/dist/components/ix-tabs.d.ts +11 -0
  337. package/dist/components/ix-tabs.js +6 -0
  338. package/dist/components/ix-tile.d.ts +11 -0
  339. package/dist/components/ix-tile.js +42 -0
  340. package/dist/components/ix-time-picker.d.ts +11 -0
  341. package/dist/components/ix-time-picker.js +6 -0
  342. package/dist/components/ix-toast-container.d.ts +11 -0
  343. package/dist/components/ix-toast-container.js +110 -0
  344. package/dist/components/ix-toast.d.ts +11 -0
  345. package/dist/components/ix-toast.js +6 -0
  346. package/dist/components/ix-toggle.d.ts +11 -0
  347. package/dist/components/ix-toggle.js +104 -0
  348. package/dist/components/ix-tree-item.d.ts +11 -0
  349. package/dist/components/ix-tree-item.js +6 -0
  350. package/dist/components/ix-tree.d.ts +11 -0
  351. package/dist/components/ix-tree.js +694 -0
  352. package/dist/components/ix-upload.d.ts +11 -0
  353. package/dist/components/ix-upload.js +178 -0
  354. package/dist/components/ix-validation-tooltip.d.ts +11 -0
  355. package/dist/components/ix-validation-tooltip.js +124 -0
  356. package/dist/components/ix-workflow-step.d.ts +11 -0
  357. package/dist/components/ix-workflow-step.js +142 -0
  358. package/dist/components/ix-workflow-steps.d.ts +11 -0
  359. package/dist/components/ix-workflow-steps.js +101 -0
  360. package/dist/components/logical-filter-operator.js +33 -0
  361. package/dist/components/luxon.js +8584 -0
  362. package/dist/components/map-navigation-overlay.js +53 -0
  363. package/dist/components/menu-about.js +120 -0
  364. package/dist/components/menu-avatar-item.js +46 -0
  365. package/dist/components/menu-item.js +65 -0
  366. package/dist/components/modal-container.js +99 -0
  367. package/dist/components/modal-utils.js +38 -0
  368. package/dist/components/modal.js +189 -0
  369. package/dist/components/mutation-observer.js +11 -0
  370. package/dist/components/my-component.d.ts +11 -0
  371. package/dist/components/my-component.js +32 -0
  372. package/dist/components/popover.util.js +36 -0
  373. package/dist/components/popper.js +1799 -0
  374. package/dist/components/rwd.util.js +39 -0
  375. package/dist/components/select-item.js +71 -0
  376. package/dist/components/spinner.js +43 -0
  377. package/dist/components/tab-item.js +86 -0
  378. package/dist/components/tabs.js +207 -0
  379. package/dist/components/time-picker.js +140 -0
  380. package/dist/components/toast.js +119 -0
  381. package/dist/components/tree-item.js +52 -0
  382. package/dist/components/typed-event.js +44 -0
  383. package/dist/components/upload-file-state.js +17 -0
  384. package/dist/esm/_commonjsHelpers-4bc7200a.js +19 -0
  385. package/dist/esm/animation-b667a4c4.js +17 -0
  386. package/dist/esm/anime.es-185e9087.js +1309 -0
  387. package/dist/esm/base-button-7bfb747f.js +31 -0
  388. package/dist/esm/default-tree-item-638c435a.js +20 -0
  389. package/dist/esm/flip-tile-state-28a1f8ce.js +18 -0
  390. package/dist/esm/index-55cfd20d.js +1819 -0
  391. package/dist/esm/index.js +64 -0
  392. package/dist/esm/ix-animated-tab_2.entry.js +212 -0
  393. package/dist/esm/ix-application-header.entry.js +15 -0
  394. package/dist/esm/ix-basic-navigation.entry.js +40 -0
  395. package/dist/esm/ix-blind.entry.js +85 -0
  396. package/dist/esm/ix-breadcrumb_2.entry.js +150 -0
  397. package/dist/esm/ix-button.entry.js +46 -0
  398. package/dist/esm/ix-category-filter.entry.js +395 -0
  399. package/dist/esm/ix-chip.entry.js +43 -0
  400. package/dist/esm/ix-counter-pill.entry.js +36 -0
  401. package/dist/esm/ix-date-picker_2.entry.js +8876 -0
  402. package/dist/esm/ix-date-time-card.entry.js +32 -0
  403. package/dist/esm/ix-datetime-picker.entry.js +40 -0
  404. package/dist/esm/ix-drawer.entry.js +118 -0
  405. package/dist/esm/ix-dropdown_2.entry.js +198 -0
  406. package/dist/esm/ix-event-list_2.entry.js +146 -0
  407. package/dist/esm/ix-expanding-search.entry.js +87 -0
  408. package/dist/esm/ix-filter-chip.entry.js +26 -0
  409. package/dist/esm/ix-flip-tile_2.entry.js +74 -0
  410. package/dist/esm/ix-group_3.entry.js +168 -0
  411. package/dist/esm/ix-icon-button.entry.js +36 -0
  412. package/dist/esm/ix-icon.entry.js +29 -0
  413. package/dist/esm/ix-input-group.entry.js +36 -0
  414. package/dist/esm/ix-kpi.entry.js +46 -0
  415. package/dist/esm/ix-map-navigation_2.entry.js +185 -0
  416. package/dist/esm/ix-menu_9.entry.js +860 -0
  417. package/dist/esm/ix-message-bar.entry.js +54 -0
  418. package/dist/esm/ix-modal-example.entry.js +20 -0
  419. package/dist/esm/ix-modal_2.entry.js +5 -0
  420. package/dist/esm/ix-pill.entry.js +36 -0
  421. package/dist/esm/ix-select_2.entry.js +304 -0
  422. package/dist/esm/ix-spinner.entry.js +26 -0
  423. package/dist/esm/ix-split-button_2.entry.js +109 -0
  424. package/dist/esm/ix-tab-item.entry.js +63 -0
  425. package/dist/esm/ix-tabs.entry.js +183 -0
  426. package/dist/esm/ix-tile.entry.js +23 -0
  427. package/dist/esm/ix-toast_2.entry.js +150 -0
  428. package/dist/esm/ix-toggle.entry.js +78 -0
  429. package/dist/esm/ix-tree_2.entry.js +685 -0
  430. package/dist/esm/ix-upload.entry.js +135 -0
  431. package/dist/esm/ix-validation-tooltip.entry.js +103 -0
  432. package/dist/esm/ix-workflow-step.entry.js +110 -0
  433. package/dist/esm/ix-workflow-steps.entry.js +79 -0
  434. package/dist/esm/loader.js +17 -0
  435. package/dist/esm/logical-filter-operator-1bf83315.js +33 -0
  436. package/dist/esm/modal-8ed87a6c.js +218 -0
  437. package/dist/esm/modal-utils-ec39c1bc.js +38 -0
  438. package/dist/esm/mutation-observer-379959bb.js +11 -0
  439. package/dist/esm/my-component.entry.js +15 -0
  440. package/dist/esm/polyfills/core-js.js +11 -0
  441. package/dist/esm/polyfills/css-shim.js +1 -0
  442. package/dist/esm/polyfills/dom.js +79 -0
  443. package/dist/esm/polyfills/es5-html-element.js +1 -0
  444. package/dist/esm/polyfills/index.js +34 -0
  445. package/dist/esm/polyfills/system.js +6 -0
  446. package/dist/esm/popper-42db9fbd.js +1799 -0
  447. package/dist/esm/rwd.util-33a69d24.js +39 -0
  448. package/dist/esm/siemens-ix.js +17 -0
  449. package/dist/esm/typed-event-dd6c83dd.js +44 -0
  450. package/dist/esm/upload-file-state-631bb8a2.js +17 -0
  451. package/dist/index.cjs.js +1 -0
  452. package/dist/index.js +1 -0
  453. package/dist/siemens-ix/index.esm.js +1 -0
  454. package/dist/siemens-ix/p-03d95feb.entry.js +1 -0
  455. package/dist/siemens-ix/p-0a12b3df.js +1 -0
  456. package/dist/siemens-ix/p-0bf04780.js +1 -0
  457. package/dist/siemens-ix/p-0e315bd7.entry.js +1 -0
  458. package/dist/siemens-ix/p-1c82637e.js +1 -0
  459. package/dist/siemens-ix/p-1d30454e.js +1 -0
  460. package/dist/siemens-ix/p-235606b2.entry.js +1 -0
  461. package/dist/siemens-ix/p-240d22b6.entry.js +1 -0
  462. package/dist/siemens-ix/p-2cda7278.entry.js +1 -0
  463. package/dist/siemens-ix/p-2ce29bcd.entry.js +1 -0
  464. package/dist/siemens-ix/p-301ddeb7.js +1 -0
  465. package/dist/siemens-ix/p-3613be96.entry.js +1 -0
  466. package/dist/siemens-ix/p-37417714.js +1 -0
  467. package/dist/siemens-ix/p-3f809fb3.entry.js +1 -0
  468. package/dist/siemens-ix/p-40842bea.entry.js +1 -0
  469. package/dist/siemens-ix/p-47ea9884.js +1 -0
  470. package/dist/siemens-ix/p-4ffec6ae.entry.js +1 -0
  471. package/dist/siemens-ix/p-504927a0.entry.js +1 -0
  472. package/dist/siemens-ix/p-5990f0cb.entry.js +1 -0
  473. package/dist/siemens-ix/p-59c81e2a.entry.js +1 -0
  474. package/dist/siemens-ix/p-5a1dcc74.js +1 -0
  475. package/dist/siemens-ix/p-5f9f25ef.entry.js +1 -0
  476. package/dist/siemens-ix/p-61b032bf.entry.js +1 -0
  477. package/dist/siemens-ix/p-662d756f.entry.js +1 -0
  478. package/dist/siemens-ix/p-6726f740.entry.js +1 -0
  479. package/dist/siemens-ix/p-67c2bca6.entry.js +1 -0
  480. package/dist/siemens-ix/p-6f625f0e.js +1 -0
  481. package/dist/siemens-ix/p-78df1e46.entry.js +1 -0
  482. package/dist/siemens-ix/p-7a4c744e.entry.js +1 -0
  483. package/dist/siemens-ix/p-7d667916.entry.js +1 -0
  484. package/dist/siemens-ix/p-7ec8a00e.entry.js +1 -0
  485. package/dist/siemens-ix/p-7f5a2e3c.entry.js +1 -0
  486. package/dist/siemens-ix/p-810b5232.js +1 -0
  487. package/dist/siemens-ix/p-81e46337.entry.js +1 -0
  488. package/dist/siemens-ix/p-8239c3a1.entry.js +1 -0
  489. package/dist/siemens-ix/p-9d9b8ad1.entry.js +1 -0
  490. package/dist/siemens-ix/p-ab715295.entry.js +1 -0
  491. package/dist/siemens-ix/p-b4003026.entry.js +1 -0
  492. package/dist/siemens-ix/p-bbcee9fb.entry.js +1 -0
  493. package/dist/siemens-ix/p-bd15d8ca.entry.js +1 -0
  494. package/dist/siemens-ix/p-bdd294d2.js +1 -0
  495. package/dist/siemens-ix/p-be1ec062.entry.js +1 -0
  496. package/dist/siemens-ix/p-c3738ffc.entry.js +1 -0
  497. package/dist/siemens-ix/p-ca71538c.entry.js +1 -0
  498. package/dist/siemens-ix/p-caf856f2.entry.js +1 -0
  499. package/dist/siemens-ix/p-cde8f20e.entry.js +1 -0
  500. package/dist/siemens-ix/p-d23706a7.js +1 -0
  501. package/dist/siemens-ix/p-d31bf6db.entry.js +1 -0
  502. package/dist/siemens-ix/p-da2cae32.js +1 -0
  503. package/dist/siemens-ix/p-df43662b.entry.js +1 -0
  504. package/dist/siemens-ix/p-e1f54836.entry.js +1 -0
  505. package/dist/siemens-ix/p-e4d1a964.entry.js +1 -0
  506. package/dist/siemens-ix/p-f2636faf.entry.js +1 -0
  507. package/dist/siemens-ix/p-f6da7e07.entry.js +1 -0
  508. package/dist/siemens-ix/p-f86fcdf4.js +1 -0
  509. package/dist/siemens-ix/p-fbe40498.js +1 -0
  510. package/dist/siemens-ix/p-fe020fa3.entry.js +1 -0
  511. package/dist/siemens-ix/p-fe5db4d1.entry.js +1 -0
  512. package/dist/siemens-ix/siemens-ix.css +19243 -0
  513. package/dist/siemens-ix/siemens-ix.esm.js +1 -0
  514. package/dist/types/components/animated-tab/animated-tab.d.ts +11 -0
  515. package/dist/types/components/animated-tabs/animated-tabs.d.ts +44 -0
  516. package/dist/types/components/application-header/application-header.d.ts +7 -0
  517. package/dist/types/components/basic-navigation/basic-navigation.d.ts +16 -0
  518. package/dist/types/components/blind/blind.d.ts +26 -0
  519. package/dist/types/components/breadcrumb/breadcrumb.d.ts +48 -0
  520. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +11 -0
  521. package/dist/types/components/button/base-button.d.ts +13 -0
  522. package/dist/types/components/button/button.d.ts +34 -0
  523. package/dist/types/components/category-filter/category-filter.d.ts +129 -0
  524. package/dist/types/components/category-filter/filter-state.d.ts +9 -0
  525. package/dist/types/components/category-filter/input-state.d.ts +6 -0
  526. package/dist/types/components/category-filter/logical-filter-operator.d.ts +4 -0
  527. package/dist/types/components/chip/chip.d.ts +38 -0
  528. package/dist/types/components/counter-pill/counter-pill.d.ts +24 -0
  529. package/dist/types/components/date-picker/date-picker.d.ts +56 -0
  530. package/dist/types/components/date-time-card/date-time-card.d.ts +14 -0
  531. package/dist/types/components/datetime-picker/datetime-picker.d.ts +31 -0
  532. package/dist/types/components/drawer/drawer.d.ts +49 -0
  533. package/dist/types/components/dropdown/dropdown.d.ts +70 -0
  534. package/dist/types/components/dropdown-item/dropdown-item.d.ts +33 -0
  535. package/dist/types/components/event-list/event-list.d.ts +31 -0
  536. package/dist/types/components/event-list-item/event-list-item.d.ts +34 -0
  537. package/dist/types/components/expanding-search/expanding-search.d.ts +31 -0
  538. package/dist/types/components/filter-chip/filter-chip.d.ts +14 -0
  539. package/dist/types/components/flip-tile/flip-tile-state.d.ts +7 -0
  540. package/dist/types/components/flip-tile/flip-tile.d.ts +22 -0
  541. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
  542. package/dist/types/components/group/group.d.ts +59 -0
  543. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +11 -0
  544. package/dist/types/components/group-item/group-item.d.ts +39 -0
  545. package/dist/types/components/icon/icon.d.ts +15 -0
  546. package/dist/types/components/icon-button/icon-button.d.ts +51 -0
  547. package/dist/types/components/input-group/input-group.d.ts +5 -0
  548. package/dist/types/components/kpi/kpi.d.ts +25 -0
  549. package/dist/types/components/map-navigation/map-navigation.d.ts +59 -0
  550. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +20 -0
  551. package/dist/types/components/menu/menu.d.ts +143 -0
  552. package/dist/types/components/menu-about/menu-about.d.ts +34 -0
  553. package/dist/types/components/menu-about-item/menu-about-item.d.ts +7 -0
  554. package/dist/types/components/menu-about-news/menu-about-news.d.ts +36 -0
  555. package/dist/types/components/menu-avatar/menu-avatar.d.ts +26 -0
  556. package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +17 -0
  557. package/dist/types/components/menu-item/menu-item.d.ts +31 -0
  558. package/dist/types/components/menu-settings/menu-settings.d.ts +27 -0
  559. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +7 -0
  560. package/dist/types/components/message-bar/message-bar.d.ts +23 -0
  561. package/dist/types/components/modal/modal-utils.d.ts +26 -0
  562. package/dist/types/components/modal/modal.d.ts +99 -0
  563. package/dist/types/components/modal-container/modal-container.d.ts +15 -0
  564. package/dist/types/components/my-component/example-modal.d.ts +6 -0
  565. package/dist/types/components/my-component/my-component.d.ts +3 -0
  566. package/dist/types/components/pill/pill.d.ts +28 -0
  567. package/dist/types/components/select/select.d.ts +83 -0
  568. package/dist/types/components/select-item/select-item.d.ts +31 -0
  569. package/dist/types/components/spinner/spinner.d.ts +11 -0
  570. package/dist/types/components/split-button/split-button.d.ts +57 -0
  571. package/dist/types/components/split-button-item/split-button-item.d.ts +17 -0
  572. package/dist/types/components/tab-item/tab-item.d.ts +36 -0
  573. package/dist/types/components/tabs/tabs.d.ts +46 -0
  574. package/dist/types/components/tile/tile.d.ts +7 -0
  575. package/dist/types/components/time-picker/time-picker.d.ts +46 -0
  576. package/dist/types/components/toast/toast-container.d.ts +25 -0
  577. package/dist/types/components/toast/toast-utils.d.ts +33 -0
  578. package/dist/types/components/toast/toast.d.ts +39 -0
  579. package/dist/types/components/toggle/toggle.d.ts +45 -0
  580. package/dist/types/components/tree/tree-model.d.ts +17 -0
  581. package/dist/types/components/tree/tree.d.ts +44 -0
  582. package/dist/types/components/tree-item/default-tree-item.d.ts +6 -0
  583. package/dist/types/components/tree-item/tree-item.d.ts +25 -0
  584. package/dist/types/components/upload/upload-file-state.d.ts +6 -0
  585. package/dist/types/components/upload/upload.d.ts +70 -0
  586. package/dist/types/components/utils/animation.d.ts +7 -0
  587. package/dist/types/components/utils/button-variants.d.ts +1 -0
  588. package/dist/types/components/utils/mutation-observer.d.ts +1 -0
  589. package/dist/types/components/utils/notification-color.d.ts +4 -0
  590. package/dist/types/components/utils/popover.util.d.ts +9 -0
  591. package/dist/types/components/utils/rwd.util.d.ts +2 -0
  592. package/dist/types/components/utils/toggle-theme.d.ts +1 -0
  593. package/dist/types/components/utils/typed-event.d.ts +15 -0
  594. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +31 -0
  595. package/dist/types/components/workflow-step/workflow-step.d.ts +35 -0
  596. package/dist/types/components/workflow-steps/workflow-steps.d.ts +29 -0
  597. package/dist/types/components.d.ts +3453 -0
  598. package/dist/types/env.d.ts +1 -0
  599. package/dist/types/exports.d.ts +5 -0
  600. package/dist/types/index.d.ts +11 -0
  601. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  602. package/dist/types/utils/test/index.d.ts +1 -0
  603. package/dist/types/utils/test/page.d.ts +3 -0
  604. package/loader/cdn.js +3 -0
  605. package/loader/index.cjs.js +3 -0
  606. package/loader/index.d.ts +12 -0
  607. package/loader/index.es2017.js +3 -0
  608. package/loader/index.js +4 -0
  609. package/loader/package.json +10 -0
  610. package/package.json +86 -0
  611. package/scss/_common-variables.scss +60 -0
  612. package/scss/_fonts.scss +70 -0
  613. package/scss/_z-index.scss +18 -0
  614. package/scss/components/_button-group.scss +24 -0
  615. package/scss/components/_buttons.scss +150 -0
  616. package/scss/components/_checkboxes.scss +177 -0
  617. package/scss/components/_dropdown.scss +175 -0
  618. package/scss/components/_forms.scss +146 -0
  619. package/scss/components/_input-group.scss +34 -0
  620. package/scss/components/_links.scss +31 -0
  621. package/scss/components/_modal.scss +41 -0
  622. package/scss/components/_radiobuttons.scss +169 -0
  623. package/scss/components/_shadows.scss +35 -0
  624. package/scss/components/_table.scss +27 -0
  625. package/scss/ix.scss +95 -0
  626. package/scss/mixins/_animations.scss +30 -0
  627. package/scss/mixins/_fonts.scss +166 -0
  628. package/scss/mixins/_hover.scss +59 -0
  629. package/scss/mixins/_shadows.scss +12 -0
  630. package/scss/mixins/_text-truncation.scss +14 -0
  631. package/scss/theme/_define-theme-colors.scss +22 -0
  632. package/scss/theme/_define-theme-variable.scss +12 -0
  633. package/scss/theme/_define-theme.scss +36 -0
  634. package/scss/theme/_static-colors.scss +19 -0
  635. package/scss/theme/classic-dark/_sizes.scss +66 -0
  636. package/scss/theme/classic-dark/_variables.scss +827 -0
  637. package/scss/theme/classic-dark/index.scss +15 -0
  638. package/scss/theme/classic-light/_sizes.scss +66 -0
  639. package/scss/theme/classic-light/_variables.scss +830 -0
  640. package/scss/theme/classic-light/index.scss +15 -0
  641. package/src/components/animated-tab/readme.md +24 -0
  642. package/src/components/animated-tabs/readme.md +32 -0
  643. package/src/components/application-header/readme.md +21 -0
  644. package/src/components/basic-navigation/readme.md +22 -0
  645. package/src/components/blind/readme.md +29 -0
  646. package/src/components/breadcrumb/readme.md +33 -0
  647. package/src/components/breadcrumb-item/readme.md +22 -0
  648. package/src/components/button/readme.md +27 -0
  649. package/src/components/category-filter/readme.md +40 -0
  650. package/src/components/chip/readme.md +36 -0
  651. package/src/components/counter-pill/readme.md +25 -0
  652. package/src/components/date-picker/readme.md +32 -0
  653. package/src/components/date-time-card/readme.md +22 -0
  654. package/src/components/datetime-picker/readme.md +32 -0
  655. package/src/components/drawer/readme.md +47 -0
  656. package/src/components/dropdown/readme.md +49 -0
  657. package/src/components/dropdown-item/readme.md +45 -0
  658. package/src/components/event-list/readme.md +24 -0
  659. package/src/components/event-list-item/readme.md +32 -0
  660. package/src/components/expanding-search/readme.md +32 -0
  661. package/src/components/filter-chip/readme.md +30 -0
  662. package/src/components/flip-tile/readme.md +22 -0
  663. package/src/components/flip-tile-content/readme.md +14 -0
  664. package/src/components/group/readme.md +36 -0
  665. package/src/components/group-dropdown-item/readme.md +22 -0
  666. package/src/components/group-item/readme.md +34 -0
  667. package/src/components/icon/readme.md +23 -0
  668. package/src/components/icon-button/readme.md +31 -0
  669. package/src/components/input-group/readme.md +14 -0
  670. package/src/components/kpi/readme.md +27 -0
  671. package/src/components/map-navigation/readme.md +54 -0
  672. package/src/components/map-navigation-overlay/readme.md +30 -0
  673. package/src/components/menu/readme.md +86 -0
  674. package/src/components/menu-about/readme.md +31 -0
  675. package/src/components/menu-about-item/readme.md +21 -0
  676. package/src/components/menu-about-news/readme.md +34 -0
  677. package/src/components/menu-avatar/readme.md +30 -0
  678. package/src/components/menu-avatar-item/readme.md +29 -0
  679. package/src/components/menu-item/readme.md +26 -0
  680. package/src/components/menu-settings/readme.md +30 -0
  681. package/src/components/menu-settings-item/readme.md +21 -0
  682. package/src/components/message-bar/readme.md +31 -0
  683. package/src/components/modal/readme.md +67 -0
  684. package/src/components/modal-container/readme.md +29 -0
  685. package/src/components/my-component/readme.md +16 -0
  686. package/src/components/pill/readme.md +26 -0
  687. package/src/components/select/readme.md +37 -0
  688. package/src/components/select-item/readme.md +44 -0
  689. package/src/components/spinner/readme.md +22 -0
  690. package/src/components/split-button/readme.md +36 -0
  691. package/src/components/split-button-item/readme.md +29 -0
  692. package/src/components/tab-item/readme.md +28 -0
  693. package/src/components/tabs/readme.md +25 -0
  694. package/src/components/tile/readme.md +21 -0
  695. package/src/components/time-picker/readme.md +34 -0
  696. package/src/components/toast/readme.md +36 -0
  697. package/src/components/toggle/readme.md +35 -0
  698. package/src/components/tree/readme.md +32 -0
  699. package/src/components/tree-item/readme.md +31 -0
  700. package/src/components/upload/readme.md +51 -0
  701. package/src/components/validation-tooltip/readme.md +31 -0
  702. package/src/components/workflow-step/readme.md +28 -0
  703. package/src/components/workflow-steps/readme.md +33 -0
@@ -0,0 +1,395 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-55cfd20d.js';
2
+ import { a as convertToRemString } from './rwd.util-33a69d24.js';
3
+ import { L as LogicalFilterOperator, I as InputState } from './logical-filter-operator-1bf83315.js';
4
+
5
+ const categoryFilterCss = "@charset \"UTF-8\";.sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .btn-close.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem;min-width:1.5rem;width:1.5rem;height:1.5rem}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-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);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter{box-shadow:var(--theme-box-shadow-level-1);background:var(--theme-color-1);position:absolute;top:2rem;overflow-y:auto;min-width:10rem;border:var(--theme-std-bdr-1);border-radius:0.25rem;padding:0.5rem;z-index:1}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter,.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{-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);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:2rem;padding:0.5rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-header.sc-ix-category-filter{color:var(--theme-color-soft-text)}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-id.sc-ix-category-filter{border-top-left-radius:1rem;border-bottom-left-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter{cursor:pointer}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .category-item.sc-ix-category-filter:focus{background-color:var(--theme-generic-bg-active);outline:none}.sc-ix-category-filter-h .category-selection-container.sc-ix-category-filter .plain-text-suggestion.sc-ix-category-filter{border-radius:1rem}.sc-ix-category-filter-h ul.sc-ix-category-filter{height:100%}.sc-ix-category-filter-h ul.sc-ix-category-filter>li.sc-ix-category-filter,.sc-ix-category-filter-h input.sc-ix-category-filter{padding-top:2px;padding-bottom:2px}";
6
+
7
+ const CategoryFilter = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.inputChanged = createEvent(this, "inputChanged", 7);
11
+ this.filterChanged = createEvent(this, "filterChanged", 7);
12
+ this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
13
+ this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
14
+ this.filterTokens = [];
15
+ /**
16
+ * In certain use cases some categories are not available for selection any more.
17
+ * To allow proper display of set filters with these categories this ID to label mapping can be populated.
18
+ * Configuration object hash used to supply labels to the filter chips in the input field.
19
+ * Each ID maps to a string representing the label to display.
20
+ */
21
+ this.nonSelectableCategories = {};
22
+ /**
23
+ * The icon next to the actual text input
24
+ * Defaults to 'search'
25
+ */
26
+ this.icon = 'search';
27
+ /**
28
+ * If set to true allows that a single category can be set more than once.
29
+ * An already set category will not appear in the category dropdown if set to false.
30
+ *
31
+ * Defaults to true
32
+ */
33
+ this.repeatCategories = true;
34
+ /**
35
+ * @deprecated For debugging purposes only!
36
+ */
37
+ this.tmpDisableScrollIntoView = true;
38
+ /**
39
+ * i18n
40
+ */
41
+ this.labelCategories = 'Categories';
42
+ /**
43
+ * i18n
44
+ */
45
+ this.i18nPlainText = 'Filter by text';
46
+ this.documentClickCallback = this.handleDocumentClick.bind(this);
47
+ }
48
+ watchFilterState(newValue) {
49
+ this.setFilterState(newValue);
50
+ }
51
+ watchShowCategorySelection(newValue) {
52
+ if (newValue) {
53
+ document.addEventListener('click', this.documentClickCallback);
54
+ }
55
+ else {
56
+ document.removeEventListener('click', this.documentClickCallback);
57
+ }
58
+ }
59
+ setDropdownOffset() {
60
+ const height = this.calculateDropdownHeight();
61
+ this.maxHeightDropdown = convertToRemString(height);
62
+ }
63
+ componentDidLoad() {
64
+ var _a, _b;
65
+ if (this.initialState !== undefined) {
66
+ this.setFilterState(this.initialState);
67
+ }
68
+ else if (this.filterState !== undefined) {
69
+ this.setFilterState(this.filterState);
70
+ }
71
+ (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.addEventListener('keydown', this.handleFormElementKeyDown.bind(this));
72
+ (_b = this.formElement) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', (e) => e.preventDefault());
73
+ if (this.textInput == null) {
74
+ console.warn('Core UI category filter - unable to add event listeners to native input element');
75
+ return;
76
+ }
77
+ this.textInput.addEventListener('click', () => (this.showCategorySelection = true));
78
+ this.textInput.addEventListener('focusin', () => {
79
+ this.hasFocus = true;
80
+ });
81
+ this.textInput.addEventListener('focusout', () => (this.hasFocus = false));
82
+ this.textInput.addEventListener('input', () => {
83
+ this.inputValue = this.textInput.value;
84
+ const inputState = new InputState(this.inputValue, this.category);
85
+ this.inputChanged.emit(inputState);
86
+ this.showCategorySelection = true;
87
+ });
88
+ this.textInput.addEventListener('keydown', this.handleInputElementKeyDown.bind(this));
89
+ }
90
+ setFilterState(state) {
91
+ this.filterTokens = [];
92
+ for (const token of state.tokens) {
93
+ this.addToken(token, this.ID_CUSTOM_FILTER_VALUE, this.categoryLogicalOperator, false);
94
+ }
95
+ for (const category of state.categories) {
96
+ this.addToken(category.value, category.id, category.operator, false);
97
+ }
98
+ this.emitFilterEvent();
99
+ }
100
+ handleDocumentClick(ev) {
101
+ const target = ev.target;
102
+ if (!this.hostElement.contains(target)) {
103
+ this.closeDropdown();
104
+ }
105
+ }
106
+ closeDropdown() {
107
+ this.showCategorySelection = false;
108
+ this.category = undefined;
109
+ }
110
+ handleFormElementKeyDown(e) {
111
+ switch (e.code) {
112
+ case 'Enter':
113
+ case 'NumpadEnter':
114
+ if (this.category ||
115
+ document.activeElement.classList.contains('plain-text-suggestion')) {
116
+ const token = document.activeElement.getAttribute('data-id');
117
+ this.addToken(token, this.category);
118
+ }
119
+ else if (document.activeElement.classList.contains('category-item-id')) {
120
+ this.selectCategory(document.activeElement.getAttribute('data-id'));
121
+ }
122
+ e.preventDefault();
123
+ break;
124
+ case 'ArrowUp':
125
+ this.focusPreviousItem();
126
+ e.preventDefault();
127
+ break;
128
+ case 'ArrowDown':
129
+ this.focusNextItem();
130
+ e.preventDefault();
131
+ break;
132
+ case 'Escape':
133
+ this.closeDropdown();
134
+ break;
135
+ }
136
+ }
137
+ focusPreviousItem() {
138
+ const sibling = document.activeElement.previousSibling;
139
+ if (sibling instanceof HTMLElement) {
140
+ sibling.focus();
141
+ }
142
+ }
143
+ focusNextItem() {
144
+ const sibling = document.activeElement.nextSibling;
145
+ if (sibling instanceof HTMLElement) {
146
+ sibling.focus();
147
+ }
148
+ }
149
+ handleInputElementKeyDown(e) {
150
+ var _a;
151
+ switch (e.code) {
152
+ case 'ArrowDown':
153
+ const selector = `.category-item-${this.category ? 'value' : 'id'}`;
154
+ let item = this.hostElement.querySelector(selector);
155
+ if (item instanceof HTMLElement) {
156
+ item.focus();
157
+ e.stopPropagation();
158
+ }
159
+ else if ((_a = this.suggestions) === null || _a === void 0 ? void 0 : _a.length) {
160
+ item = this.hostElement.querySelector('.category-item');
161
+ if (item instanceof HTMLElement) {
162
+ item.focus();
163
+ e.stopPropagation();
164
+ }
165
+ }
166
+ break;
167
+ case 'Backspace':
168
+ if (this.textInput.value !== '') {
169
+ return;
170
+ }
171
+ if (this.category) {
172
+ this.category = undefined;
173
+ return;
174
+ }
175
+ const tokenCount = this.filterTokens.length;
176
+ if (tokenCount > 0) {
177
+ this.removeToken(tokenCount - 1);
178
+ }
179
+ break;
180
+ case 'Enter':
181
+ case 'NumpadEnter':
182
+ this.addToken(this.inputValue, this.category);
183
+ e.preventDefault();
184
+ break;
185
+ }
186
+ }
187
+ emitFilterEvent() {
188
+ const tokens = this.filterTokens
189
+ .filter((item) => item.id === this.ID_CUSTOM_FILTER_VALUE)
190
+ .map((item) => item.value);
191
+ const categories = this.filterTokens.filter((item) => item.id !== this.ID_CUSTOM_FILTER_VALUE);
192
+ const filterState = {
193
+ tokens,
194
+ categories,
195
+ };
196
+ this.filterChanged.emit(filterState);
197
+ }
198
+ addToken(token, category = this.ID_CUSTOM_FILTER_VALUE, operator = this.categoryLogicalOperator, emitEvent = true) {
199
+ if (token === undefined || token === null) {
200
+ return;
201
+ }
202
+ const newToken = token.trim();
203
+ if (newToken === '') {
204
+ return;
205
+ }
206
+ if (this.filterTokens.find((value) => (value === null || value === void 0 ? void 0 : value.value) === newToken)) {
207
+ return;
208
+ }
209
+ const pair = { id: category, value: newToken, operator };
210
+ this.filterTokens = [...this.filterTokens, pair];
211
+ this.textInput.value = '';
212
+ this.inputValue = '';
213
+ this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
214
+ this.isScrollStateDirty = true;
215
+ this.textInput.focus();
216
+ if (emitEvent) {
217
+ this.emitFilterEvent();
218
+ }
219
+ this.closeDropdown();
220
+ }
221
+ removeToken(index) {
222
+ this.filterTokens = this.filterTokens.filter((_, i) => i !== index);
223
+ this.emitFilterEvent();
224
+ }
225
+ getCategoryIds() {
226
+ const ids = [];
227
+ for (const id in this.categories) {
228
+ if (Object.prototype.hasOwnProperty.call(this.categories, id)) {
229
+ ids.push(id);
230
+ }
231
+ }
232
+ return ids;
233
+ }
234
+ getCategoryLables() {
235
+ return this.getCategoryIds().map((id) => this.categories[id].label);
236
+ }
237
+ selectCategory(category) {
238
+ this.category = category;
239
+ this.textInput.value = '';
240
+ this.inputValue = '';
241
+ this.textInput.focus();
242
+ }
243
+ openCategorySelection() {
244
+ this.showCategorySelection = true;
245
+ }
246
+ resetFilter() {
247
+ this.closeDropdown();
248
+ this.filterTokens = [];
249
+ this.emitFilterEvent();
250
+ }
251
+ calculateDropdownX() {
252
+ var _a;
253
+ if (!this.textInput) {
254
+ return 0;
255
+ }
256
+ const xInput = this.textInput.getBoundingClientRect().x;
257
+ const xFrom = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x;
258
+ return xInput - xFrom;
259
+ }
260
+ calculateDropdownY() {
261
+ if (!this.textInput) {
262
+ return 32;
263
+ }
264
+ return this.hostElement.getBoundingClientRect().height;
265
+ }
266
+ calculateDropdownHeight(top = 32) {
267
+ const hostTop = this.hostElement.getBoundingClientRect().top;
268
+ const offset = hostTop + top;
269
+ return window.innerHeight - offset;
270
+ }
271
+ filterMultiples(value) {
272
+ if (this.repeatCategories) {
273
+ return true;
274
+ }
275
+ const isCategoryAlreadySet = this.filterTokens.find((token) => token.id === value);
276
+ return !isCategoryAlreadySet;
277
+ }
278
+ filterDuplicateTokens(value) {
279
+ const isTokenAlreadySet = this.filterTokens.some((token) => token.value === value);
280
+ return !isTokenAlreadySet;
281
+ }
282
+ filterByInput(value) {
283
+ if (this.inputValue === undefined || this.inputValue === '') {
284
+ return true;
285
+ }
286
+ return value.toLowerCase().indexOf(this.inputValue.toLowerCase()) !== -1;
287
+ }
288
+ toggleCategoryOperator() {
289
+ switch (this.categoryLogicalOperator) {
290
+ case LogicalFilterOperator.EQUAL:
291
+ this.categoryLogicalOperator = LogicalFilterOperator.NOT_EQUAL;
292
+ break;
293
+ case LogicalFilterOperator.NOT_EQUAL:
294
+ this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
295
+ break;
296
+ }
297
+ }
298
+ getFilterChipLabel(value) {
299
+ var _a, _b, _c;
300
+ if (value.id === this.ID_CUSTOM_FILTER_VALUE) {
301
+ return value.value;
302
+ }
303
+ const operatorString = value.operator === LogicalFilterOperator.EQUAL ? '=' : '!=';
304
+ const label = (_c = (_b = (_a = this.categories[value.id]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : this.nonSelectableCategories[value.id]) !== null && _c !== void 0 ? _c : value.id;
305
+ return `${label} ${operatorString} ${value.value}`;
306
+ }
307
+ componentDidRender() {
308
+ const newOffsetX = this.calculateDropdownX();
309
+ const newOffsetY = this.calculateDropdownY();
310
+ const newOffsetXRem = convertToRemString(newOffsetX);
311
+ const newOffsetYRem = convertToRemString(newOffsetY);
312
+ const maxWidthDropdown = this.hostElement.getBoundingClientRect().width - newOffsetX;
313
+ const maxHeightDropdown = this.calculateDropdownHeight(newOffsetY);
314
+ this.maxWidthDropdown = convertToRemString(maxWidthDropdown);
315
+ this.maxHeightDropdown = convertToRemString(maxHeightDropdown);
316
+ // This will throw a warning
317
+ if (newOffsetXRem !== this.offsetDropdownX) {
318
+ this.offsetDropdownX = newOffsetXRem;
319
+ }
320
+ // This will throw a warning
321
+ if (newOffsetYRem !== this.offsetDropdownY) {
322
+ this.offsetDropdownY = newOffsetYRem;
323
+ }
324
+ if (this.isScrollStateDirty) {
325
+ if (!this.tmpDisableScrollIntoView) {
326
+ this.textInput.scrollIntoView();
327
+ }
328
+ this.isScrollStateDirty = false;
329
+ }
330
+ }
331
+ render() {
332
+ var _a, _b, _c, _d, _e, _f;
333
+ return (h(Host, null, h("form", { ref: (el) => (this.formElement = el) }, h("div", { class: {
334
+ 'form-control': true,
335
+ 'input-container': true,
336
+ focus: this.hasFocus,
337
+ 'no-icon': this.hideIcon,
338
+ } }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { class: {
339
+ animate__animated: true,
340
+ animate__fadein: true,
341
+ } }, h("ix-filter-chip", { onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (h("li", { class: {
342
+ 'category-preview': true,
343
+ 'd-none': !this.category,
344
+ } }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
345
+ 'text-input': true,
346
+ 'hide-placeholder': this.category !== undefined,
347
+ }, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder, onFocus: () => this.openCategorySelection() }))), h("button", { class: {
348
+ btn: true,
349
+ 'btn-invisible-secondary': true,
350
+ 'btn-oval': true,
351
+ 'btn-close': true,
352
+ 'd-none': !this.filterTokens.length && !this.category,
353
+ }, onClick: () => this.resetFilter(), tabindex: "1" }, h("span", { class: "glyph glyph-error glyph-16" })))), h("div", { class: {
354
+ 'category-selection-container': true,
355
+ 'd-none': !this.showCategorySelection && this.category === undefined,
356
+ }, style: {
357
+ left: this.offsetDropdownX,
358
+ top: this.offsetDropdownY,
359
+ 'max-width': this.maxWidthDropdown,
360
+ 'max-height': this.maxHeightDropdown,
361
+ } }, h("div", { class: {
362
+ 'd-none': !this.showCategorySelection || this.category !== undefined,
363
+ } }, h("div", { class: {
364
+ 'category-item-header': true,
365
+ 'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
366
+ } }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
367
+ _b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
368
+ var _a;
369
+ return (h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
370
+ })), h("div", { class: {
371
+ 'd-none': this.category === undefined,
372
+ } }, h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
373
+ ? '='
374
+ : '!='), this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
375
+ ? ''
376
+ : (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
377
+ LogicalFilterOperator.EQUAL
378
+ ? '='
379
+ : '!='} ${id}`)))), h("div", { class: {
380
+ 'category-item-header': true,
381
+ 'd-none': this.category !== undefined ||
382
+ this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
383
+ } }, this.i18nPlainText), h("div", { class: {
384
+ 'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
385
+ } }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
386
+ }
387
+ get hostElement() { return getElement(this); }
388
+ static get watchers() { return {
389
+ "filterState": ["watchFilterState"],
390
+ "showCategorySelection": ["watchShowCategorySelection"]
391
+ }; }
392
+ };
393
+ CategoryFilter.style = categoryFilterCss;
394
+
395
+ export { CategoryFilter as ix_category_filter };
@@ -0,0 +1,43 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-55cfd20d.js';
2
+
3
+ const chipCss = ".sc-ix-chip-h{display:inline-flex;position:relative;align-items:center;border-radius:100px;padding:0.5rem 0.75rem;height:2rem;max-height:2rem;cursor:pointer;margin-left:0.25rem}.sc-ix-chip-h .with-icon.sc-ix-chip{margin-right:0.25rem}.sc-ix-chip-h .close-button-container.sc-ix-chip{display:inline-flex;flex-grow:1;margin-left:0.75rem}.sc-ix-chip-h .close-button.sc-ix-chip{position:relative;width:1rem;height:1rem;min-width:unset;min-height:unset;margin-left:auto;margin-right:0}[variant=primary].sc-ix-chip-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-chip-h .close-button.sc-ix-chip{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].sc-ix-chip-h:hover{background-color:var(--theme-chip-primary--background--hover)}[variant=primary].sc-ix-chip-h:active{background-color:var(--theme-chip-primary--background--active)}[variant=primary].sc-ix-chip-h:focus,[variant=primary].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=primary].outline.sc-ix-chip-h{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}[variant=primary].outline.sc-ix-chip-h .close-button.sc-ix-chip{color:var(--theme-chip-primary-outline--color)}[variant=primary].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-primary-outline--background--hover)}[variant=primary].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-primary-outline--background--active)}[variant=alarm].sc-ix-chip-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=alarm].active.sc-ix-chip-h::after,[variant=alarm].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=alarm].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-chip-h:not(.outline).active::after,[variant=alarm].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-chip-h:hover::after{display:none}[variant=alarm].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-chip-h::after,[variant=alarm].outline.sc-ix-chip-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-chip-h,[variant=alarm].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=alarm].sc-ix-chip-h:focus,[variant=alarm].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=critical].sc-ix-chip-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=critical].active.sc-ix-chip-h::after,[variant=critical].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=critical].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-chip-h:not(.outline).active::after,[variant=critical].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-chip-h:hover::after{display:none}[variant=critical].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-chip-h::after,[variant=critical].outline.sc-ix-chip-h:active::after{display:none}[variant=critical].outline.active.sc-ix-chip-h,[variant=critical].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-chip-h:focus,[variant=critical].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=warning].sc-ix-chip-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=warning].active.sc-ix-chip-h::after,[variant=warning].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=warning].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-chip-h:not(.outline).active::after,[variant=warning].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-chip-h:hover::after{display:none}[variant=warning].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-chip-h::after,[variant=warning].outline.sc-ix-chip-h:active::after{display:none}[variant=warning].outline.active.sc-ix-chip-h,[variant=warning].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-chip-h:focus,[variant=warning].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=info].sc-ix-chip-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=info].active.sc-ix-chip-h::after,[variant=info].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=info].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-chip-h:not(.outline).active::after,[variant=info].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-chip-h:hover::after{display:none}[variant=info].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-chip-h::after,[variant=info].outline.sc-ix-chip-h:active::after{display:none}[variant=info].outline.active.sc-ix-chip-h,[variant=info].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-chip-h:focus,[variant=info].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=neutral].sc-ix-chip-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=neutral].active.sc-ix-chip-h::after,[variant=neutral].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=neutral].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-chip-h:not(.outline).active::after,[variant=neutral].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-chip-h:hover::after{display:none}[variant=neutral].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-chip-h::after,[variant=neutral].outline.sc-ix-chip-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-chip-h,[variant=neutral].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-chip-h:focus,[variant=neutral].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=success].sc-ix-chip-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}[variant=success].active.sc-ix-chip-h::after,[variant=success].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}[variant=success].sc-ix-chip-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-chip-h:not(.outline) .close-button.sc-ix-chip{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-chip-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-chip-h:not(.outline).active::after,[variant=success].sc-ix-chip-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-chip-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-chip-h:hover::after{display:none}[variant=success].outline.sc-ix-chip-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-chip-h::after,[variant=success].outline.sc-ix-chip-h:active::after{display:none}[variant=success].outline.active.sc-ix-chip-h,[variant=success].outline.sc-ix-chip-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-chip-h:focus,[variant=success].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}[variant=custom].sc-ix-chip-h:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, var(--theme-l-hover));left:0;border-radius:100px;pointer-events:none}[variant=custom].active.sc-ix-chip-h::after,[variant=custom].sc-ix-chip-h:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, var(--theme-l-active));left:0;border-radius:100px;pointer-events:none}[variant=custom].sc-ix-chip-h:focus,[variant=custom].sc-ix-chip-h:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.sc-ix-chip-h .slot-container.sc-ix-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
4
+
5
+ const Chip = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.close = createEvent(this, "close", 7);
9
+ /**
10
+ * Chip variant
11
+ */
12
+ this.variant = 'primary';
13
+ /**
14
+ * Display chip in active state. Only working witht `variant="primary"`
15
+ */
16
+ this.active = false;
17
+ /**
18
+ * Show close icon
19
+ */
20
+ this.closable = false;
21
+ /**
22
+ * Show chip with outline style
23
+ */
24
+ this.outline = false;
25
+ }
26
+ getCloseButton() {
27
+ return (h("div", { class: "close-button-container" }, h("button", { type: "button", class: "btn btn-invisible-secondary btn-icon btn-oval close-button", onClick: (event) => this.close.emit(event) }, this.variant === 'custom' ? (h("i", { class: "glyph glyph-16 glyph-close-small", style: { color: this.color } })) : (h("ix-icon", { name: 'close-small', size: '16' })))));
28
+ }
29
+ render() {
30
+ return (h(Host, { class: {
31
+ outline: this.outline,
32
+ }, tabIndex: "-1", title: this.el.textContent, style: this.variant === 'custom'
33
+ ? {
34
+ color: this.color,
35
+ backgroundColor: this.background,
36
+ }
37
+ : {} }, this.icon ? (h("ix-icon", { class: 'with-icon', name: this.icon, size: '24' })) : null, h("span", { class: "slot-container" }, h("slot", null)), this.closable ? this.getCloseButton() : null));
38
+ }
39
+ get el() { return getElement(this); }
40
+ };
41
+ Chip.style = chipCss;
42
+
43
+ export { Chip as ix_chip };
@@ -0,0 +1,36 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-55cfd20d.js';
2
+
3
+ const counterPillCss = ".sc-ix-counter-pill-h{display:inline-flex;position:relative;align-items:center;justify-content:center;border-radius:100px;padding:0px 6px;margin-left:0.25rem;min-width:1.5rem;height:1.25rem;min-height:1.25rem;max-height:1.25rem;cursor:auto}.sc-ix-counter-pill-h .with-icon.sc-ix-counter-pill{margin-right:0.25rem}.align-left.sc-ix-counter-pill-h{justify-content:flex-start}[variant=primary].sc-ix-counter-pill-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].outline.sc-ix-counter-pill-h{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}[variant=primary].outline.sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary-outline--color)}[variant=alarm].sc-ix-counter-pill-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-counter-pill-h:not(.outline).active::after,[variant=alarm].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=alarm].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-counter-pill-h::after,[variant=alarm].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-counter-pill-h,[variant=alarm].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-counter-pill-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-counter-pill-h:not(.outline).active::after,[variant=critical].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=critical].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-counter-pill-h::after,[variant=critical].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=critical].outline.active.sc-ix-counter-pill-h,[variant=critical].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-counter-pill-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-counter-pill-h:not(.outline).active::after,[variant=warning].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=warning].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-counter-pill-h::after,[variant=warning].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=warning].outline.active.sc-ix-counter-pill-h,[variant=warning].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-counter-pill-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-counter-pill-h:not(.outline).active::after,[variant=info].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=info].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-counter-pill-h::after,[variant=info].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=info].outline.active.sc-ix-counter-pill-h,[variant=info].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-counter-pill-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-counter-pill-h:not(.outline).active::after,[variant=neutral].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=neutral].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-counter-pill-h::after,[variant=neutral].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-counter-pill-h,[variant=neutral].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-counter-pill-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-counter-pill-h:not(.outline).active::after,[variant=success].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=success].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-counter-pill-h::after,[variant=success].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=success].outline.active.sc-ix-counter-pill-h,[variant=success].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}.sc-ix-counter-pill-h .slot.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-counter-pill-h{min-height:1rem;max-height:1rem;height:1rem;font-size:0.75rem;padding:0 0.25rem;min-width:1rem;width:auto;padding:0 4px}.sc-ix-counter-pill-h .slot-container.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
4
+
5
+ const CounterPill = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /**
9
+ * Pill variant
10
+ */
11
+ this.variant = 'primary';
12
+ /**
13
+ * Show pill as outline
14
+ */
15
+ this.outline = false;
16
+ /**
17
+ * Align pill content left
18
+ */
19
+ this.alignLeft = false;
20
+ }
21
+ render() {
22
+ return (h(Host, { class: {
23
+ outline: this.outline,
24
+ 'align-left': this.alignLeft,
25
+ }, style: this.variant === 'custom'
26
+ ? {
27
+ color: this.color,
28
+ backgroundColor: this.background,
29
+ }
30
+ : {}, title: this.el.textContent }, h("span", { class: "slot-container" }, h("slot", null))));
31
+ }
32
+ get el() { return getElement(this); }
33
+ };
34
+ CounterPill.style = counterPillCss;
35
+
36
+ export { CounterPill as ix_counter_pill };