@siemens/ix 1.1.0-beta.1 → 1.1.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 (609) hide show
  1. package/package.json +1 -1
  2. package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -23
  3. package/dist/cjs/animation-dfe01edc.js +0 -19
  4. package/dist/cjs/anime.es-8822f296.js +0 -1311
  5. package/dist/cjs/base-button-eb1d47db.js +0 -33
  6. package/dist/cjs/default-tree-item-4597cd84.js +0 -22
  7. package/dist/cjs/flip-tile-state-c95639e5.js +0 -18
  8. package/dist/cjs/index-1e4a348f.js +0 -1849
  9. package/dist/cjs/index.cjs.js +0 -96
  10. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -217
  11. package/dist/cjs/ix-application-header.cjs.entry.js +0 -30
  12. package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -44
  13. package/dist/cjs/ix-blind.cjs.entry.js +0 -89
  14. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -155
  15. package/dist/cjs/ix-button.cjs.entry.js +0 -50
  16. package/dist/cjs/ix-category-filter.cjs.entry.js +0 -399
  17. package/dist/cjs/ix-chip.cjs.entry.js +0 -47
  18. package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -40
  19. package/dist/cjs/ix-date-picker_2.cjs.entry.js +0 -9039
  20. package/dist/cjs/ix-date-time-card.cjs.entry.js +0 -36
  21. package/dist/cjs/ix-datetime-picker.cjs.entry.js +0 -113
  22. package/dist/cjs/ix-drawer.cjs.entry.js +0 -122
  23. package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -203
  24. package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -151
  25. package/dist/cjs/ix-expanding-search.cjs.entry.js +0 -92
  26. package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
  27. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -79
  28. package/dist/cjs/ix-group_3.cjs.entry.js +0 -174
  29. package/dist/cjs/ix-icon-button.cjs.entry.js +0 -40
  30. package/dist/cjs/ix-icon.cjs.entry.js +0 -33
  31. package/dist/cjs/ix-input-group.cjs.entry.js +0 -40
  32. package/dist/cjs/ix-kpi.cjs.entry.js +0 -50
  33. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -165
  34. package/dist/cjs/ix-menu_9.cjs.entry.js +0 -888
  35. package/dist/cjs/ix-message-bar.cjs.entry.js +0 -58
  36. package/dist/cjs/ix-modal-example.cjs.entry.js +0 -24
  37. package/dist/cjs/ix-modal_2.cjs.entry.js +0 -14
  38. package/dist/cjs/ix-pill.cjs.entry.js +0 -40
  39. package/dist/cjs/ix-select_2.cjs.entry.js +0 -309
  40. package/dist/cjs/ix-spinner.cjs.entry.js +0 -30
  41. package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -114
  42. package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
  43. package/dist/cjs/ix-tabs.cjs.entry.js +0 -187
  44. package/dist/cjs/ix-tile.cjs.entry.js +0 -27
  45. package/dist/cjs/ix-toast_2.cjs.entry.js +0 -159
  46. package/dist/cjs/ix-toggle.cjs.entry.js +0 -82
  47. package/dist/cjs/ix-tree_2.cjs.entry.js +0 -690
  48. package/dist/cjs/ix-upload.cjs.entry.js +0 -139
  49. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -107
  50. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -191
  51. package/dist/cjs/loader.cjs.js +0 -21
  52. package/dist/cjs/logical-filter-operator-467e2faf.js +0 -35
  53. package/dist/cjs/modal-5be2b1a3.js +0 -221
  54. package/dist/cjs/modal-utils-5d7bb217.js +0 -42
  55. package/dist/cjs/mutation-observer-29bedada.js +0 -13
  56. package/dist/cjs/my-component.cjs.entry.js +0 -19
  57. package/dist/cjs/popper-d7a0f999.js +0 -1801
  58. package/dist/cjs/rwd.util-482d41d4.js +0 -42
  59. package/dist/cjs/siemens-ix.cjs.js +0 -19
  60. package/dist/cjs/typed-event-8f5a32a2.js +0 -46
  61. package/dist/cjs/upload-file-state-923b2c65.js +0 -17
  62. package/dist/collection/collection-manifest.json +0 -264
  63. package/dist/collection/components/animated-tab/animated-tab.css +0 -14
  64. package/dist/collection/components/animated-tab/animated-tab.js +0 -59
  65. package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
  66. package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
  67. package/dist/collection/components/application-header/application-header.css +0 -30
  68. package/dist/collection/components/application-header/application-header.js +0 -56
  69. package/dist/collection/components/basic-navigation/basic-navigation.css +0 -29
  70. package/dist/collection/components/basic-navigation/basic-navigation.js +0 -91
  71. package/dist/collection/components/blind/blind.css +0 -146
  72. package/dist/collection/components/blind/blind.js +0 -152
  73. package/dist/collection/components/breadcrumb/breadcrumb.css +0 -228
  74. package/dist/collection/components/breadcrumb/breadcrumb.js +0 -252
  75. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +0 -11
  76. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +0 -59
  77. package/dist/collection/components/button/base-button.js +0 -29
  78. package/dist/collection/components/button/button.css +0 -15
  79. package/dist/collection/components/button/button.js +0 -192
  80. package/dist/collection/components/category-filter/category-filter.css +0 -188
  81. package/dist/collection/components/category-filter/category-filter.js +0 -704
  82. package/dist/collection/components/category-filter/filter-state.js +0 -10
  83. package/dist/collection/components/category-filter/input-state.js +0 -17
  84. package/dist/collection/components/category-filter/logical-filter-operator.js +0 -13
  85. package/dist/collection/components/chip/chip.css +0 -475
  86. package/dist/collection/components/chip/chip.js +0 -197
  87. package/dist/collection/components/counter-pill/counter-pill.css +0 -313
  88. package/dist/collection/components/counter-pill/counter-pill.js +0 -137
  89. package/dist/collection/components/date-picker/date-picker.css +0 -224
  90. package/dist/collection/components/date-picker/date-picker.js +0 -679
  91. package/dist/collection/components/date-picker/events.js +0 -1
  92. package/dist/collection/components/date-time-card/date-time-card.css +0 -51
  93. package/dist/collection/components/date-time-card/date-time-card.js +0 -89
  94. package/dist/collection/components/datetime-picker/datetime-picker.css +0 -44
  95. package/dist/collection/components/datetime-picker/datetime-picker.js +0 -501
  96. package/dist/collection/components/datetime-picker/event.js +0 -9
  97. package/dist/collection/components/drawer/drawer.css +0 -78
  98. package/dist/collection/components/drawer/drawer.js +0 -300
  99. package/dist/collection/components/dropdown/dropdown.css +0 -536
  100. package/dist/collection/components/dropdown/dropdown.js +0 -392
  101. package/dist/collection/components/dropdown-item/dropdown-item.css +0 -61
  102. package/dist/collection/components/dropdown-item/dropdown-item.js +0 -187
  103. package/dist/collection/components/event-list/event-list.css +0 -58
  104. package/dist/collection/components/event-list/event-list.js +0 -197
  105. package/dist/collection/components/event-list-item/event-list-item.css +0 -126
  106. package/dist/collection/components/event-list-item/event-list-item.js +0 -162
  107. package/dist/collection/components/expanding-search/expanding-search.css +0 -127
  108. package/dist/collection/components/expanding-search/expanding-search.js +0 -178
  109. package/dist/collection/components/filter-chip/filter-chip.css +0 -82
  110. package/dist/collection/components/filter-chip/filter-chip.js +0 -74
  111. package/dist/collection/components/flip-tile/flip-tile-state.js +0 -16
  112. package/dist/collection/components/flip-tile/flip-tile.css +0 -143
  113. package/dist/collection/components/flip-tile/flip-tile.js +0 -125
  114. package/dist/collection/components/flip-tile-content/flip-tile-content.css +0 -12
  115. package/dist/collection/components/flip-tile-content/flip-tile-content.js +0 -23
  116. package/dist/collection/components/group/group.css +0 -170
  117. package/dist/collection/components/group/group.js +0 -329
  118. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
  119. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -60
  120. package/dist/collection/components/group-item/group-item.css +0 -116
  121. package/dist/collection/components/group-item/group-item.js +0 -200
  122. package/dist/collection/components/icon/icon.css +0 -45
  123. package/dist/collection/components/icon/icon.js +0 -91
  124. package/dist/collection/components/icon-button/icon-button.js +0 -242
  125. package/dist/collection/components/input-group/input-group.css +0 -27
  126. package/dist/collection/components/input-group/input-group.js +0 -48
  127. package/dist/collection/components/kpi/kpi.css +0 -131
  128. package/dist/collection/components/kpi/kpi.js +0 -151
  129. package/dist/collection/components/map-navigation/map-navigation.css +0 -161
  130. package/dist/collection/components/map-navigation/map-navigation.js +0 -328
  131. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -237
  132. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -105
  133. package/dist/collection/components/menu/menu.css +0 -128
  134. package/dist/collection/components/menu/menu.js +0 -988
  135. package/dist/collection/components/menu-about/menu-about.css +0 -207
  136. package/dist/collection/components/menu-about/menu-about.js +0 -167
  137. package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
  138. package/dist/collection/components/menu-about-item/menu-about-item.js +0 -42
  139. package/dist/collection/components/menu-about-news/menu-about-news.css +0 -99
  140. package/dist/collection/components/menu-about-news/menu-about-news.js +0 -204
  141. package/dist/collection/components/menu-avatar/menu-avatar.css +0 -91
  142. package/dist/collection/components/menu-avatar/menu-avatar.js +0 -136
  143. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +0 -12
  144. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +0 -79
  145. package/dist/collection/components/menu-item/menu-item.css +0 -143
  146. package/dist/collection/components/menu-item/menu-item.js +0 -166
  147. package/dist/collection/components/menu-settings/menu-settings.css +0 -204
  148. package/dist/collection/components/menu-settings/menu-settings.js +0 -151
  149. package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -13
  150. package/dist/collection/components/menu-settings-item/menu-settings-item.js +0 -42
  151. package/dist/collection/components/message-bar/message-bar.css +0 -68
  152. package/dist/collection/components/message-bar/message-bar.js +0 -125
  153. package/dist/collection/components/modal/modal-utils.js +0 -36
  154. package/dist/collection/components/modal/modal.css +0 -96
  155. package/dist/collection/components/modal/modal.js +0 -540
  156. package/dist/collection/components/modal-container/modal-container.css +0 -14
  157. package/dist/collection/components/modal-container/modal-container.js +0 -107
  158. package/dist/collection/components/my-component/example-modal.js +0 -31
  159. package/dist/collection/components/my-component/my-component.css +0 -34
  160. package/dist/collection/components/my-component/my-component.js +0 -22
  161. package/dist/collection/components/pill/pill.css +0 -269
  162. package/dist/collection/components/pill/pill.js +0 -155
  163. package/dist/collection/components/select/select.css +0 -176
  164. package/dist/collection/components/select/select.js +0 -509
  165. package/dist/collection/components/select-item/select-item.css +0 -14
  166. package/dist/collection/components/select-item/select-item.js +0 -169
  167. package/dist/collection/components/spinner/spinner.css +0 -42
  168. package/dist/collection/components/spinner/spinner.js +0 -137
  169. package/dist/collection/components/split-button/split-button.css +0 -11
  170. package/dist/collection/components/split-button/split-button.js +0 -310
  171. package/dist/collection/components/split-button-item/split-button-item.css +0 -12
  172. package/dist/collection/components/split-button-item/split-button-item.js +0 -79
  173. package/dist/collection/components/tab-item/tab-item.css +0 -195
  174. package/dist/collection/components/tab-item/tab-item.js +0 -219
  175. package/dist/collection/components/tabs/tabs.css +0 -84
  176. package/dist/collection/components/tabs/tabs.js +0 -305
  177. package/dist/collection/components/tile/tile.css +0 -92
  178. package/dist/collection/components/tile/tile.js +0 -60
  179. package/dist/collection/components/time-picker/time-picker.css +0 -94
  180. package/dist/collection/components/time-picker/time-picker.js +0 -431
  181. package/dist/collection/components/toast/toast-container.js +0 -170
  182. package/dist/collection/components/toast/toast-utils.js +0 -40
  183. package/dist/collection/components/toast/toast.css +0 -110
  184. package/dist/collection/components/toast/toast.js +0 -237
  185. package/dist/collection/components/toggle/toggle.css +0 -226
  186. package/dist/collection/components/toggle/toggle.js +0 -263
  187. package/dist/collection/components/tree/tree-model.js +0 -9
  188. package/dist/collection/components/tree/tree.css +0 -12
  189. package/dist/collection/components/tree/tree.js +0 -296
  190. package/dist/collection/components/tree-item/default-tree-item.js +0 -18
  191. package/dist/collection/components/tree-item/tree-item.css +0 -86
  192. package/dist/collection/components/tree-item/tree-item.js +0 -124
  193. package/dist/collection/components/upload/upload-file-state.js +0 -15
  194. package/dist/collection/components/upload/upload.css +0 -120
  195. package/dist/collection/components/upload/upload.js +0 -413
  196. package/dist/collection/components/utils/animation.js +0 -15
  197. package/dist/collection/components/utils/button-variants.js +0 -9
  198. package/dist/collection/components/utils/mutation-observer.js +0 -9
  199. package/dist/collection/components/utils/notification-color.js +0 -9
  200. package/dist/collection/components/utils/popover.util.js +0 -33
  201. package/dist/collection/components/utils/rwd.util.js +0 -37
  202. package/dist/collection/components/utils/toggle-theme.js +0 -24
  203. package/dist/collection/components/utils/typed-event.js +0 -42
  204. package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -236
  205. package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -167
  206. package/dist/collection/components/workflow-step/workflow-step.css +0 -131
  207. package/dist/collection/components/workflow-step/workflow-step.js +0 -249
  208. package/dist/collection/components/workflow-steps/workflow-steps.css +0 -29
  209. package/dist/collection/components/workflow-steps/workflow-steps.js +0 -182
  210. package/dist/collection/env.js +0 -9
  211. package/dist/collection/exports.js +0 -15
  212. package/dist/collection/index.js +0 -16
  213. package/dist/collection/utils/test/index.js +0 -9
  214. package/dist/collection/utils/test/page.js +0 -29
  215. package/dist/components/_commonjsHelpers.js +0 -19
  216. package/dist/components/animation.js +0 -17
  217. package/dist/components/anime.es.js +0 -1309
  218. package/dist/components/application-header.js +0 -43
  219. package/dist/components/base-button.js +0 -31
  220. package/dist/components/button.js +0 -68
  221. package/dist/components/date-picker.js +0 -385
  222. package/dist/components/date-time-card.js +0 -49
  223. package/dist/components/default-tree-item.js +0 -20
  224. package/dist/components/dropdown-item.js +0 -73
  225. package/dist/components/dropdown.js +0 -181
  226. package/dist/components/filter-chip.js +0 -48
  227. package/dist/components/flip-tile-state.js +0 -18
  228. package/dist/components/group-item.js +0 -63
  229. package/dist/components/icon-button.js +0 -68
  230. package/dist/components/icon.js +0 -47
  231. package/dist/components/index.d.ts +0 -26
  232. package/dist/components/index.js +0 -62
  233. package/dist/components/ix-animated-tab.d.ts +0 -11
  234. package/dist/components/ix-animated-tab.js +0 -35
  235. package/dist/components/ix-animated-tabs.d.ts +0 -11
  236. package/dist/components/ix-animated-tabs.js +0 -229
  237. package/dist/components/ix-application-header.d.ts +0 -11
  238. package/dist/components/ix-application-header.js +0 -6
  239. package/dist/components/ix-basic-navigation.d.ts +0 -11
  240. package/dist/components/ix-basic-navigation.js +0 -66
  241. package/dist/components/ix-blind.d.ts +0 -11
  242. package/dist/components/ix-blind.js +0 -105
  243. package/dist/components/ix-breadcrumb-item.d.ts +0 -11
  244. package/dist/components/ix-breadcrumb-item.js +0 -35
  245. package/dist/components/ix-breadcrumb.d.ts +0 -11
  246. package/dist/components/ix-breadcrumb.js +0 -180
  247. package/dist/components/ix-button.d.ts +0 -11
  248. package/dist/components/ix-button.js +0 -6
  249. package/dist/components/ix-category-filter.d.ts +0 -11
  250. package/dist/components/ix-category-filter.js +0 -447
  251. package/dist/components/ix-chip.d.ts +0 -11
  252. package/dist/components/ix-chip.js +0 -74
  253. package/dist/components/ix-counter-pill.d.ts +0 -11
  254. package/dist/components/ix-counter-pill.js +0 -59
  255. package/dist/components/ix-date-picker.d.ts +0 -11
  256. package/dist/components/ix-date-picker.js +0 -6
  257. package/dist/components/ix-date-time-card.d.ts +0 -11
  258. package/dist/components/ix-date-time-card.js +0 -6
  259. package/dist/components/ix-datetime-picker.d.ts +0 -11
  260. package/dist/components/ix-datetime-picker.js +0 -184
  261. package/dist/components/ix-drawer.d.ts +0 -11
  262. package/dist/components/ix-drawer.js +0 -155
  263. package/dist/components/ix-dropdown-item.d.ts +0 -11
  264. package/dist/components/ix-dropdown-item.js +0 -6
  265. package/dist/components/ix-dropdown.d.ts +0 -11
  266. package/dist/components/ix-dropdown.js +0 -6
  267. package/dist/components/ix-event-list-item.d.ts +0 -11
  268. package/dist/components/ix-event-list-item.js +0 -59
  269. package/dist/components/ix-event-list.d.ts +0 -11
  270. package/dist/components/ix-event-list.js +0 -135
  271. package/dist/components/ix-expanding-search.d.ts +0 -11
  272. package/dist/components/ix-expanding-search.js +0 -124
  273. package/dist/components/ix-filter-chip.d.ts +0 -11
  274. package/dist/components/ix-filter-chip.js +0 -6
  275. package/dist/components/ix-flip-tile-content.d.ts +0 -11
  276. package/dist/components/ix-flip-tile-content.js +0 -33
  277. package/dist/components/ix-flip-tile.d.ts +0 -11
  278. package/dist/components/ix-flip-tile.js +0 -96
  279. package/dist/components/ix-group-dropdown-item.d.ts +0 -11
  280. package/dist/components/ix-group-dropdown-item.js +0 -47
  281. package/dist/components/ix-group-item.d.ts +0 -11
  282. package/dist/components/ix-group-item.js +0 -6
  283. package/dist/components/ix-group.d.ts +0 -11
  284. package/dist/components/ix-group.js +0 -174
  285. package/dist/components/ix-icon-button.d.ts +0 -11
  286. package/dist/components/ix-icon-button.js +0 -6
  287. package/dist/components/ix-icon.d.ts +0 -11
  288. package/dist/components/ix-icon.js +0 -6
  289. package/dist/components/ix-input-group.d.ts +0 -11
  290. package/dist/components/ix-input-group.js +0 -53
  291. package/dist/components/ix-kpi.d.ts +0 -11
  292. package/dist/components/ix-kpi.js +0 -75
  293. package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
  294. package/dist/components/ix-map-navigation-overlay.js +0 -6
  295. package/dist/components/ix-map-navigation.d.ts +0 -11
  296. package/dist/components/ix-map-navigation.js +0 -182
  297. package/dist/components/ix-menu-about-item.d.ts +0 -11
  298. package/dist/components/ix-menu-about-item.js +0 -34
  299. package/dist/components/ix-menu-about-news.d.ts +0 -11
  300. package/dist/components/ix-menu-about-news.js +0 -78
  301. package/dist/components/ix-menu-about.d.ts +0 -11
  302. package/dist/components/ix-menu-about.js +0 -120
  303. package/dist/components/ix-menu-avatar-item.d.ts +0 -11
  304. package/dist/components/ix-menu-avatar-item.js +0 -6
  305. package/dist/components/ix-menu-avatar.d.ts +0 -11
  306. package/dist/components/ix-menu-avatar.js +0 -83
  307. package/dist/components/ix-menu-item.d.ts +0 -11
  308. package/dist/components/ix-menu-item.js +0 -6
  309. package/dist/components/ix-menu-settings-item.d.ts +0 -11
  310. package/dist/components/ix-menu-settings-item.js +0 -34
  311. package/dist/components/ix-menu-settings.d.ts +0 -11
  312. package/dist/components/ix-menu-settings.js +0 -107
  313. package/dist/components/ix-menu.d.ts +0 -11
  314. package/dist/components/ix-menu.js +0 -619
  315. package/dist/components/ix-message-bar.d.ts +0 -11
  316. package/dist/components/ix-message-bar.js +0 -88
  317. package/dist/components/ix-modal-container.d.ts +0 -11
  318. package/dist/components/ix-modal-container.js +0 -6
  319. package/dist/components/ix-modal-example.d.ts +0 -11
  320. package/dist/components/ix-modal-example.js +0 -67
  321. package/dist/components/ix-modal.d.ts +0 -11
  322. package/dist/components/ix-modal.js +0 -6
  323. package/dist/components/ix-pill.d.ts +0 -11
  324. package/dist/components/ix-pill.js +0 -66
  325. package/dist/components/ix-select-item.d.ts +0 -11
  326. package/dist/components/ix-select-item.js +0 -6
  327. package/dist/components/ix-select.d.ts +0 -11
  328. package/dist/components/ix-select.js +0 -339
  329. package/dist/components/ix-spinner.d.ts +0 -11
  330. package/dist/components/ix-spinner.js +0 -6
  331. package/dist/components/ix-split-button-item.d.ts +0 -11
  332. package/dist/components/ix-split-button-item.js +0 -49
  333. package/dist/components/ix-split-button.d.ts +0 -11
  334. package/dist/components/ix-split-button.js +0 -135
  335. package/dist/components/ix-tab-item.d.ts +0 -11
  336. package/dist/components/ix-tab-item.js +0 -6
  337. package/dist/components/ix-tabs.d.ts +0 -11
  338. package/dist/components/ix-tabs.js +0 -6
  339. package/dist/components/ix-tile.d.ts +0 -11
  340. package/dist/components/ix-tile.js +0 -42
  341. package/dist/components/ix-time-picker.d.ts +0 -11
  342. package/dist/components/ix-time-picker.js +0 -6
  343. package/dist/components/ix-toast-container.d.ts +0 -11
  344. package/dist/components/ix-toast-container.js +0 -110
  345. package/dist/components/ix-toast.d.ts +0 -11
  346. package/dist/components/ix-toast.js +0 -6
  347. package/dist/components/ix-toggle.d.ts +0 -11
  348. package/dist/components/ix-toggle.js +0 -104
  349. package/dist/components/ix-tree-item.d.ts +0 -11
  350. package/dist/components/ix-tree-item.js +0 -6
  351. package/dist/components/ix-tree.d.ts +0 -11
  352. package/dist/components/ix-tree.js +0 -694
  353. package/dist/components/ix-upload.d.ts +0 -11
  354. package/dist/components/ix-upload.js +0 -178
  355. package/dist/components/ix-validation-tooltip.d.ts +0 -11
  356. package/dist/components/ix-validation-tooltip.js +0 -124
  357. package/dist/components/ix-workflow-step.d.ts +0 -11
  358. package/dist/components/ix-workflow-step.js +0 -142
  359. package/dist/components/ix-workflow-steps.d.ts +0 -11
  360. package/dist/components/ix-workflow-steps.js +0 -101
  361. package/dist/components/logical-filter-operator.js +0 -33
  362. package/dist/components/luxon.js +0 -8584
  363. package/dist/components/map-navigation-overlay.js +0 -53
  364. package/dist/components/menu-avatar-item.js +0 -46
  365. package/dist/components/menu-item.js +0 -65
  366. package/dist/components/modal-container.js +0 -99
  367. package/dist/components/modal-utils.js +0 -38
  368. package/dist/components/modal.js +0 -189
  369. package/dist/components/mutation-observer.js +0 -11
  370. package/dist/components/my-component.d.ts +0 -11
  371. package/dist/components/my-component.js +0 -32
  372. package/dist/components/popover.util.js +0 -36
  373. package/dist/components/popper.js +0 -1799
  374. package/dist/components/rwd.util.js +0 -39
  375. package/dist/components/select-item.js +0 -71
  376. package/dist/components/spinner.js +0 -43
  377. package/dist/components/tab-item.js +0 -86
  378. package/dist/components/tabs.js +0 -207
  379. package/dist/components/time-picker.js +0 -193
  380. package/dist/components/toast.js +0 -123
  381. package/dist/components/tree-item.js +0 -52
  382. package/dist/components/typed-event.js +0 -44
  383. package/dist/components/upload-file-state.js +0 -17
  384. package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -19
  385. package/dist/esm/animation-b667a4c4.js +0 -17
  386. package/dist/esm/anime.es-185e9087.js +0 -1309
  387. package/dist/esm/base-button-7bfb747f.js +0 -31
  388. package/dist/esm/default-tree-item-638c435a.js +0 -20
  389. package/dist/esm/flip-tile-state-28a1f8ce.js +0 -18
  390. package/dist/esm/index-55cfd20d.js +0 -1819
  391. package/dist/esm/index.js +0 -64
  392. package/dist/esm/ix-animated-tab_2.entry.js +0 -212
  393. package/dist/esm/ix-application-header.entry.js +0 -26
  394. package/dist/esm/ix-basic-navigation.entry.js +0 -40
  395. package/dist/esm/ix-blind.entry.js +0 -85
  396. package/dist/esm/ix-breadcrumb_2.entry.js +0 -150
  397. package/dist/esm/ix-button.entry.js +0 -46
  398. package/dist/esm/ix-category-filter.entry.js +0 -395
  399. package/dist/esm/ix-chip.entry.js +0 -43
  400. package/dist/esm/ix-counter-pill.entry.js +0 -36
  401. package/dist/esm/ix-date-picker_2.entry.js +0 -9034
  402. package/dist/esm/ix-date-time-card.entry.js +0 -32
  403. package/dist/esm/ix-datetime-picker.entry.js +0 -109
  404. package/dist/esm/ix-drawer.entry.js +0 -118
  405. package/dist/esm/ix-dropdown_2.entry.js +0 -198
  406. package/dist/esm/ix-event-list_2.entry.js +0 -146
  407. package/dist/esm/ix-expanding-search.entry.js +0 -88
  408. package/dist/esm/ix-filter-chip.entry.js +0 -26
  409. package/dist/esm/ix-flip-tile_2.entry.js +0 -74
  410. package/dist/esm/ix-group_3.entry.js +0 -168
  411. package/dist/esm/ix-icon-button.entry.js +0 -36
  412. package/dist/esm/ix-icon.entry.js +0 -29
  413. package/dist/esm/ix-input-group.entry.js +0 -36
  414. package/dist/esm/ix-kpi.entry.js +0 -46
  415. package/dist/esm/ix-map-navigation_2.entry.js +0 -160
  416. package/dist/esm/ix-menu_9.entry.js +0 -876
  417. package/dist/esm/ix-message-bar.entry.js +0 -54
  418. package/dist/esm/ix-modal-example.entry.js +0 -20
  419. package/dist/esm/ix-modal_2.entry.js +0 -5
  420. package/dist/esm/ix-pill.entry.js +0 -36
  421. package/dist/esm/ix-select_2.entry.js +0 -304
  422. package/dist/esm/ix-spinner.entry.js +0 -26
  423. package/dist/esm/ix-split-button_2.entry.js +0 -109
  424. package/dist/esm/ix-tab-item.entry.js +0 -63
  425. package/dist/esm/ix-tabs.entry.js +0 -183
  426. package/dist/esm/ix-tile.entry.js +0 -23
  427. package/dist/esm/ix-toast_2.entry.js +0 -154
  428. package/dist/esm/ix-toggle.entry.js +0 -78
  429. package/dist/esm/ix-tree_2.entry.js +0 -685
  430. package/dist/esm/ix-upload.entry.js +0 -135
  431. package/dist/esm/ix-validation-tooltip.entry.js +0 -103
  432. package/dist/esm/ix-workflow-step_2.entry.js +0 -186
  433. package/dist/esm/loader.js +0 -17
  434. package/dist/esm/logical-filter-operator-1bf83315.js +0 -33
  435. package/dist/esm/modal-8ed87a6c.js +0 -218
  436. package/dist/esm/modal-utils-ec39c1bc.js +0 -38
  437. package/dist/esm/mutation-observer-379959bb.js +0 -11
  438. package/dist/esm/my-component.entry.js +0 -15
  439. package/dist/esm/polyfills/core-js.js +0 -11
  440. package/dist/esm/polyfills/css-shim.js +0 -1
  441. package/dist/esm/polyfills/dom.js +0 -79
  442. package/dist/esm/polyfills/es5-html-element.js +0 -1
  443. package/dist/esm/polyfills/index.js +0 -34
  444. package/dist/esm/polyfills/system.js +0 -6
  445. package/dist/esm/popper-42db9fbd.js +0 -1799
  446. package/dist/esm/rwd.util-33a69d24.js +0 -39
  447. package/dist/esm/siemens-ix.js +0 -17
  448. package/dist/esm/typed-event-dd6c83dd.js +0 -44
  449. package/dist/esm/upload-file-state-631bb8a2.js +0 -17
  450. package/dist/index.cjs.js +0 -1
  451. package/dist/index.js +0 -1
  452. package/dist/siemens-ix/index.esm.js +0 -1
  453. package/dist/siemens-ix/p-02501b64.entry.js +0 -1
  454. package/dist/siemens-ix/p-03ef9fe5.entry.js +0 -1
  455. package/dist/siemens-ix/p-0a12b3df.js +0 -1
  456. package/dist/siemens-ix/p-0bf04780.js +0 -1
  457. package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
  458. package/dist/siemens-ix/p-1c82637e.js +0 -1
  459. package/dist/siemens-ix/p-1d30454e.js +0 -1
  460. package/dist/siemens-ix/p-1d56d9b6.entry.js +0 -1
  461. package/dist/siemens-ix/p-235606b2.entry.js +0 -1
  462. package/dist/siemens-ix/p-2b7ed5d4.entry.js +0 -1
  463. package/dist/siemens-ix/p-301ddeb7.js +0 -1
  464. package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
  465. package/dist/siemens-ix/p-37417714.js +0 -1
  466. package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
  467. package/dist/siemens-ix/p-4287bd7e.entry.js +0 -1
  468. package/dist/siemens-ix/p-47ea9884.js +0 -1
  469. package/dist/siemens-ix/p-52d99490.entry.js +0 -1
  470. package/dist/siemens-ix/p-5a1dcc74.js +0 -1
  471. package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
  472. package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
  473. package/dist/siemens-ix/p-6726f740.entry.js +0 -1
  474. package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
  475. package/dist/siemens-ix/p-6f625f0e.js +0 -1
  476. package/dist/siemens-ix/p-71de6498.entry.js +0 -1
  477. package/dist/siemens-ix/p-77823732.entry.js +0 -1
  478. package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
  479. package/dist/siemens-ix/p-7d667916.entry.js +0 -1
  480. package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
  481. package/dist/siemens-ix/p-810b5232.js +0 -1
  482. package/dist/siemens-ix/p-81e46337.entry.js +0 -1
  483. package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
  484. package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
  485. package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
  486. package/dist/siemens-ix/p-a49005f3.entry.js +0 -1
  487. package/dist/siemens-ix/p-a8396077.entry.js +0 -1
  488. package/dist/siemens-ix/p-ab715295.entry.js +0 -1
  489. package/dist/siemens-ix/p-b4003026.entry.js +0 -1
  490. package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
  491. package/dist/siemens-ix/p-bd15d8ca.entry.js +0 -1
  492. package/dist/siemens-ix/p-bdd294d2.js +0 -1
  493. package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
  494. package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
  495. package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
  496. package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
  497. package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
  498. package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
  499. package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
  500. package/dist/siemens-ix/p-cbd0f8a7.entry.js +0 -1
  501. package/dist/siemens-ix/p-d23706a7.js +0 -1
  502. package/dist/siemens-ix/p-d2fc562a.entry.js +0 -1
  503. package/dist/siemens-ix/p-da2cae32.js +0 -1
  504. package/dist/siemens-ix/p-df43662b.entry.js +0 -1
  505. package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
  506. package/dist/siemens-ix/p-f86fcdf4.js +0 -1
  507. package/dist/siemens-ix/p-fa44655a.entry.js +0 -1
  508. package/dist/siemens-ix/p-fbe40498.js +0 -1
  509. package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
  510. package/dist/siemens-ix/siemens-ix.css +0 -19249
  511. package/dist/siemens-ix/siemens-ix.esm.js +0 -1
  512. package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
  513. package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
  514. package/dist/types/components/application-header/application-header.d.ts +0 -10
  515. package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -16
  516. package/dist/types/components/blind/blind.d.ts +0 -26
  517. package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -48
  518. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -11
  519. package/dist/types/components/button/base-button.d.ts +0 -13
  520. package/dist/types/components/button/button.d.ts +0 -34
  521. package/dist/types/components/category-filter/category-filter.d.ts +0 -129
  522. package/dist/types/components/category-filter/filter-state.d.ts +0 -9
  523. package/dist/types/components/category-filter/input-state.d.ts +0 -6
  524. package/dist/types/components/category-filter/logical-filter-operator.d.ts +0 -4
  525. package/dist/types/components/chip/chip.d.ts +0 -38
  526. package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
  527. package/dist/types/components/date-picker/date-picker.d.ts +0 -136
  528. package/dist/types/components/date-picker/events.d.ts +0 -5
  529. package/dist/types/components/date-time-card/date-time-card.d.ts +0 -14
  530. package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -128
  531. package/dist/types/components/datetime-picker/event.d.ts +0 -5
  532. package/dist/types/components/drawer/drawer.d.ts +0 -49
  533. package/dist/types/components/dropdown/dropdown.d.ts +0 -70
  534. package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -33
  535. package/dist/types/components/event-list/event-list.d.ts +0 -31
  536. package/dist/types/components/event-list-item/event-list-item.d.ts +0 -34
  537. package/dist/types/components/expanding-search/expanding-search.d.ts +0 -31
  538. package/dist/types/components/filter-chip/filter-chip.d.ts +0 -14
  539. package/dist/types/components/flip-tile/flip-tile-state.d.ts +0 -7
  540. package/dist/types/components/flip-tile/flip-tile.d.ts +0 -22
  541. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +0 -3
  542. package/dist/types/components/group/group.d.ts +0 -59
  543. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
  544. package/dist/types/components/group-item/group-item.d.ts +0 -39
  545. package/dist/types/components/icon/icon.d.ts +0 -15
  546. package/dist/types/components/icon-button/icon-button.d.ts +0 -51
  547. package/dist/types/components/input-group/input-group.d.ts +0 -5
  548. package/dist/types/components/kpi/kpi.d.ts +0 -25
  549. package/dist/types/components/map-navigation/map-navigation.d.ts +0 -51
  550. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -20
  551. package/dist/types/components/menu/menu.d.ts +0 -145
  552. package/dist/types/components/menu-about/menu-about.d.ts +0 -31
  553. package/dist/types/components/menu-about-item/menu-about-item.d.ts +0 -7
  554. package/dist/types/components/menu-about-news/menu-about-news.d.ts +0 -36
  555. package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -26
  556. package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +0 -17
  557. package/dist/types/components/menu-item/menu-item.d.ts +0 -31
  558. package/dist/types/components/menu-settings/menu-settings.d.ts +0 -27
  559. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +0 -7
  560. package/dist/types/components/message-bar/message-bar.d.ts +0 -23
  561. package/dist/types/components/modal/modal-utils.d.ts +0 -26
  562. package/dist/types/components/modal/modal.d.ts +0 -99
  563. package/dist/types/components/modal-container/modal-container.d.ts +0 -15
  564. package/dist/types/components/my-component/example-modal.d.ts +0 -6
  565. package/dist/types/components/my-component/my-component.d.ts +0 -3
  566. package/dist/types/components/pill/pill.d.ts +0 -28
  567. package/dist/types/components/select/select.d.ts +0 -83
  568. package/dist/types/components/select-item/select-item.d.ts +0 -31
  569. package/dist/types/components/spinner/spinner.d.ts +0 -11
  570. package/dist/types/components/split-button/split-button.d.ts +0 -57
  571. package/dist/types/components/split-button-item/split-button-item.d.ts +0 -17
  572. package/dist/types/components/tab-item/tab-item.d.ts +0 -36
  573. package/dist/types/components/tabs/tabs.d.ts +0 -46
  574. package/dist/types/components/tile/tile.d.ts +0 -7
  575. package/dist/types/components/time-picker/time-picker.d.ts +0 -80
  576. package/dist/types/components/toast/toast-container.d.ts +0 -25
  577. package/dist/types/components/toast/toast-utils.d.ts +0 -33
  578. package/dist/types/components/toast/toast.d.ts +0 -39
  579. package/dist/types/components/toggle/toggle.d.ts +0 -45
  580. package/dist/types/components/tree/tree-model.d.ts +0 -17
  581. package/dist/types/components/tree/tree.d.ts +0 -44
  582. package/dist/types/components/tree-item/default-tree-item.d.ts +0 -6
  583. package/dist/types/components/tree-item/tree-item.d.ts +0 -25
  584. package/dist/types/components/upload/upload-file-state.d.ts +0 -6
  585. package/dist/types/components/upload/upload.d.ts +0 -70
  586. package/dist/types/components/utils/animation.d.ts +0 -7
  587. package/dist/types/components/utils/button-variants.d.ts +0 -1
  588. package/dist/types/components/utils/mutation-observer.d.ts +0 -1
  589. package/dist/types/components/utils/notification-color.d.ts +0 -4
  590. package/dist/types/components/utils/popover.util.d.ts +0 -9
  591. package/dist/types/components/utils/rwd.util.d.ts +0 -2
  592. package/dist/types/components/utils/toggle-theme.d.ts +0 -1
  593. package/dist/types/components/utils/typed-event.d.ts +0 -15
  594. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -31
  595. package/dist/types/components/workflow-step/workflow-step.d.ts +0 -35
  596. package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -29
  597. package/dist/types/components.d.ts +0 -3689
  598. package/dist/types/env.d.ts +0 -1
  599. package/dist/types/exports.d.ts +0 -7
  600. package/dist/types/index.d.ts +0 -11
  601. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  602. package/dist/types/utils/test/index.d.ts +0 -1
  603. package/dist/types/utils/test/page.d.ts +0 -3
  604. package/loader/cdn.js +0 -3
  605. package/loader/index.cjs.js +0 -3
  606. package/loader/index.d.ts +0 -12
  607. package/loader/index.es2017.js +0 -3
  608. package/loader/index.js +0 -4
  609. package/loader/package.json +0 -10
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
- const anime_es = require('./anime.es-8822f296.js');
7
-
8
- const messageBarCss = ".message-container.sc-ix-message-bar{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:space-between;min-height:3.375rem;margin:0.5rem 0.5rem 0rem 0.5rem;padding:calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;border-radius:var(--theme-message-bar--border-radius);background-color:var(--theme-messagebar--background)}.danger.sc-ix-message-bar{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm)}.warning.sc-ix-message-bar{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-warning)}.info.sc-ix-message-bar{border:solid var(--theme-message-bar--border-thickness) var(--theme-color-info)}.message-content.sc-ix-message-bar{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;align-self:center;min-height:1.25rem;padding:0 1rem;font-weight:bold;white-space:normal}ix-icon.sc-ix-message-bar{margin-top:0.25rem}";
9
-
10
- const MessageBar = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.closedChange = index.createEvent(this, "closedChange", 7);
14
- /**
15
- * Specifies the type of the alert.
16
- */
17
- this.type = 'info';
18
- /**
19
- * If true, close button is enabled and alert can be dismissed by the user
20
- */
21
- this.dismissible = true;
22
- }
23
- componentWillRender() {
24
- if (this.type === 'danger') {
25
- this.icon = 'error';
26
- this.color = 'color-alarm';
27
- }
28
- if (this.type === 'info') {
29
- this.icon = 'info';
30
- this.color = 'color-info';
31
- }
32
- if (this.type === 'warning') {
33
- this.icon = 'warning';
34
- this.color = 'color-warning';
35
- }
36
- }
37
- closeAlert(el) {
38
- anime_es.anime({
39
- targets: el,
40
- duration: MessageBar.duration,
41
- opacity: [1, 0],
42
- easing: 'easeOutSine',
43
- complete: () => {
44
- el.classList.add('d-none');
45
- },
46
- });
47
- this.closedChange.emit();
48
- }
49
- render() {
50
- return (index.h(index.Host, null, index.h("div", { class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, index.h("ix-icon", { color: this.color, name: this.icon }), index.h("div", { class: "message-content" }, index.h("slot", null)), this.dismissible ? (index.h("ix-icon-button", { icon: "close", size: "24", ghost: true, onClick: () => {
51
- this.closeAlert(this.divElement);
52
- }, "data-testid": "close-btn" })) : (''))));
53
- }
54
- };
55
- MessageBar.duration = 300;
56
- MessageBar.style = messageBarCss;
57
-
58
- exports.ix_message_bar = MessageBar;
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
- const modalUtils = require('./modal-utils-5d7bb217.js');
7
-
8
- const ModalExample = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- }
12
- dismiss() {
13
- modalUtils.dismissModal(this.host);
14
- }
15
- close() {
16
- modalUtils.closeModal(this.host, 'Done!');
17
- }
18
- render() {
19
- return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "modal-header" }, "Message headline", index.h("ix-icon-button", { "data-close-button": true, ghost: true, icon: "close", onClick: () => this.dismiss() })), index.h("div", { class: "modal-body" }, "Message text lorem ipsum"), index.h("div", { class: "modal-footer" }, index.h("ix-button", { outline: true, onClick: () => this.dismiss() }, "Cancel"), index.h("ix-button", { onClick: () => this.close() }, "OK")))));
20
- }
21
- get host() { return index.getElement(this); }
22
- };
23
-
24
- exports.ix_modal_example = ModalExample;
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const modal = require('./modal-5be2b1a3.js');
6
- require('./index-1e4a348f.js');
7
- require('./typed-event-8f5a32a2.js');
8
- require('./anime.es-8822f296.js');
9
- require('./animation-dfe01edc.js');
10
-
11
-
12
-
13
- exports.ix_modal = modal.Modal;
14
- exports.ix_modal_container = modal.ModalContainer;
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
-
7
- const pillCss = ".sc-ix-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-pill-h .with-icon.sc-ix-pill{margin-right:0.25rem}.align-left.sc-ix-pill-h{justify-content:flex-start}[variant=primary].sc-ix-pill-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-pill-h .close-button.sc-ix-pill{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].outline.sc-ix-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-pill-h .close-button.sc-ix-pill{color:var(--theme-chip-primary-outline--color)}[variant=alarm].sc-ix-pill-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-pill-h:not(.outline).active::after,[variant=alarm].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-pill-h:hover::after{display:none}[variant=alarm].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-pill-h::after,[variant=alarm].outline.sc-ix-pill-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-pill-h,[variant=alarm].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-pill-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-pill-h:not(.outline).active::after,[variant=critical].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-pill-h:hover::after{display:none}[variant=critical].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-pill-h::after,[variant=critical].outline.sc-ix-pill-h:active::after{display:none}[variant=critical].outline.active.sc-ix-pill-h,[variant=critical].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-pill-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-pill-h:not(.outline).active::after,[variant=warning].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-pill-h:hover::after{display:none}[variant=warning].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-pill-h::after,[variant=warning].outline.sc-ix-pill-h:active::after{display:none}[variant=warning].outline.active.sc-ix-pill-h,[variant=warning].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-pill-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-pill-h:not(.outline).active::after,[variant=info].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-pill-h:hover::after{display:none}[variant=info].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-pill-h::after,[variant=info].outline.sc-ix-pill-h:active::after{display:none}[variant=info].outline.active.sc-ix-pill-h,[variant=info].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-pill-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-pill-h:not(.outline).active::after,[variant=neutral].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-pill-h:hover::after{display:none}[variant=neutral].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-pill-h::after,[variant=neutral].outline.sc-ix-pill-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-pill-h,[variant=neutral].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-pill-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-pill-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-pill-h:not(.outline) .close-button.sc-ix-pill{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-pill-h:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-pill-h:not(.outline).active::after,[variant=success].sc-ix-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-pill-h:hover::after{display:none}[variant=success].outline.sc-ix-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-pill-h::after,[variant=success].outline.sc-ix-pill-h:active::after{display:none}[variant=success].outline.active.sc-ix-pill-h,[variant=success].outline.sc-ix-pill-h:active{background-color:var(--theme-chip-outline--background--active)}.sc-ix-pill-h .slot.sc-ix-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
8
-
9
- const Pill = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- /**
13
- * Pill variant
14
- */
15
- this.variant = 'primary';
16
- /**
17
- * Show pill as outline
18
- */
19
- this.outline = false;
20
- /**
21
- * Align pill content left
22
- */
23
- this.alignLeft = false;
24
- }
25
- render() {
26
- return (index.h(index.Host, { class: {
27
- outline: this.outline,
28
- 'align-left': this.alignLeft,
29
- }, style: this.variant === 'custom'
30
- ? {
31
- color: this.color,
32
- backgroundColor: this.background,
33
- }
34
- : {}, title: this.el.textContent }, this.icon ? (index.h("ix-icon", { class: 'with-icon', name: this.icon, size: '16' })) : null, index.h("div", { class: "slot" }, index.h("slot", null))));
35
- }
36
- get el() { return index.getElement(this); }
37
- };
38
- Pill.style = pillCss;
39
-
40
- exports.ix_pill = Pill;
@@ -1,309 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
-
7
- const selectCss = ".sc-ix-select-h{display:inline-block;position:relative;height:auto;width:100%}.sc-ix-select-h .select.sc-ix-select{position:relative;display:flex;align-items:center;height:auto;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}.sc-ix-select-h .select.sc-ix-select:focus-within{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline:1px solid #119fff !important;outline-offset:var(--theme-input--focus--outline-offset)}.sc-ix-select-h .trigger.sc-ix-select{display:flex;align-items:center;flex-grow:1;height:100%}.sc-ix-select-h .input-container.sc-ix-select{display:flex;position:relative;align-items:flex-start;height:calc(2rem - 2 * var(--theme-input--border-thickness));width:100%}.sc-ix-select-h .input-container.allow-clear.sc-ix-select{padding-right:3.5rem}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select{position:relative;display:flex;align-items:center;flex-wrap:wrap;height:100%;max-width:70%;flex-shrink:0;margin:auto}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select>ix-filter-chip.sc-ix-select{margin:0.1rem}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select{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;height:1.75rem;width:100%;-webkit-margin-end:2rem;margin-inline-end:2rem}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:hover,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:focus-visible{border:none;outline:none}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::-moz-placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::-moz-placeholder{opacity:0}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::placeholder{opacity:0}.sc-ix-select-h .chevron-down-container.sc-ix-select{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:100%}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-secondary--background--hover)}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):active{background-color:var(--theme-btn-invisible-secondary--background--active)}.sc-ix-select-h .clear.sc-ix-select{position:absolute;right:2rem}.sc-ix-select-h .add-item.sc-ix-select{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}.sc-ix-select-h .select-list-header.sc-ix-select{display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 2rem}.sc-ix-select-h ix-dropdown.sc-ix-select{background-color:var(--theme-select-list--background)}";
8
-
9
- const Select = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.itemSelectionChange = index.createEvent(this, "itemSelectionChange", 7);
13
- this.addItem = index.createEvent(this, "addItem", 7);
14
- /**
15
- * Indices of selected items
16
- */
17
- this.selectedIndices = [];
18
- /**
19
- * Show clear button
20
- */
21
- this.allowClear = false;
22
- /**
23
- * Selection mode
24
- */
25
- this.mode = 'single';
26
- /**
27
- * Select is extendable
28
- */
29
- this.editable = false;
30
- /**
31
- * If true the select will be in disabled state
32
- */
33
- this.disabled = false;
34
- /**
35
- * If true the select will be in readonly mode
36
- */
37
- this.readonly = false;
38
- /**
39
- * Input field placeholder
40
- */
41
- this.i18nPlaceholder = 'Select an option';
42
- /**
43
- * Input field placeholder for editable select
44
- */
45
- this.i18nPlaceholderEditable = 'Type of select option';
46
- /**
47
- * Select list header
48
- */
49
- this.i18nSelectListHeader = 'Please select an option';
50
- this.dropdownShow = false;
51
- this.isDropdownEmpty = false;
52
- this.hasFocus = false;
53
- }
54
- get items() {
55
- return Array.from(this.hostElement.querySelectorAll('ix-select-item'));
56
- }
57
- get selectedItems() {
58
- return this.items.filter((item) => item.selected);
59
- }
60
- get addItemButton() {
61
- return this.hostElement.querySelector('.add-item');
62
- }
63
- get isSingleMode() {
64
- return this.mode === 'single';
65
- }
66
- get isMultipleMode() {
67
- return this.mode === 'multiple';
68
- }
69
- watchSelectedIndices(newId) {
70
- if (newId) {
71
- this.selectValue([...newId]);
72
- }
73
- }
74
- onItemClicked(event) {
75
- const newId = event.detail;
76
- this.emitItemClick(newId);
77
- }
78
- watchInputText(newValue) {
79
- if (!this.editable) {
80
- return;
81
- }
82
- if (this.itemExists(newValue)) {
83
- return;
84
- }
85
- }
86
- emitItemClick(newId) {
87
- if (this.isMultipleMode && Array.isArray(this.selectedIndices)) {
88
- if (this.selectedIndices.includes(newId)) {
89
- this.selectedIndices = this.selectedIndices.filter((i) => i !== newId);
90
- }
91
- else {
92
- this.selectedIndices = [...this.selectedIndices, newId];
93
- }
94
- }
95
- else {
96
- this.selectedIndices = [newId];
97
- }
98
- this.selectValue(this.selectedIndices);
99
- this.itemSelectionChange.emit(this.selectedIndices);
100
- }
101
- emitAddItem(value) {
102
- if (value.trim() === '') {
103
- return;
104
- }
105
- const test = document.createElement('ix-select-item');
106
- test.value = value;
107
- test.label = value;
108
- this.addItemRef.appendChild(test);
109
- this.clearInput();
110
- this.emitItemClick(value);
111
- this.addItem.emit(value);
112
- }
113
- selectValue(ids) {
114
- this.items.forEach((item) => {
115
- item.selected = ids.some((i) => i === item.value);
116
- });
117
- this.value = this.selectedItems.map((item) => item.label);
118
- }
119
- componentWillLoad() {
120
- if (this.selectedIndices) {
121
- this.selectValue(Array.isArray(this.selectedIndices)
122
- ? this.selectedIndices
123
- : [this.selectedIndices]);
124
- }
125
- }
126
- itemExists(item) {
127
- return this.items.find((i) => i.label === item);
128
- }
129
- dropdownVisibilityChanged(event) {
130
- this.dropdownShow = event.detail;
131
- if (event.detail) {
132
- this.inputRef.focus();
133
- this.inputRef.select();
134
- this.navigationItem = this.items[0];
135
- this.setHoverEffectForNavigatedSelectItem();
136
- this.removeHiddenFromItems();
137
- }
138
- this.hasFocus = event.detail;
139
- }
140
- async onKeyDown(event) {
141
- if (!this.dropdownShow) {
142
- return;
143
- }
144
- if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {
145
- this.onArrowNavigation(event);
146
- }
147
- if (event.code === 'Enter' || event.code === 'NumpadEnter') {
148
- await this.onEnterNavigation();
149
- }
150
- if (event.code === 'Escape') {
151
- this.dropdownShow = false;
152
- }
153
- }
154
- async onEnterNavigation() {
155
- var _a, _b;
156
- if (this.editable && !this.itemExists(this.inputText)) {
157
- this.emitAddItem(this.inputText);
158
- this.navigationItem = this.items[this.items.length - 1];
159
- }
160
- (_a = this.navigationItem) === null || _a === void 0 ? void 0 : _a.onItemClick();
161
- await ((_b = this.dropdownRef) === null || _b === void 0 ? void 0 : _b.updatePosition());
162
- if (this.isSingleMode && !this.editable) {
163
- this.dropdownShow = false;
164
- }
165
- }
166
- onArrowNavigation(event) {
167
- event.stopPropagation();
168
- event.preventDefault();
169
- const selectItems = this.items.filter((i) => !i.classList.contains('d-none'));
170
- const index = selectItems.indexOf(this.navigationItem);
171
- if (event.code === 'ArrowDown' && index < selectItems.length - 1) {
172
- this.navigationItem = selectItems[index + 1];
173
- }
174
- else if (event.code === 'ArrowUp' && index > 0) {
175
- this.navigationItem = selectItems[index - 1];
176
- }
177
- this.setHoverEffectForNavigatedSelectItem();
178
- }
179
- setHoverEffectForNavigatedSelectItem() {
180
- this.items.forEach((item) => {
181
- item.hover = item === this.navigationItem;
182
- });
183
- }
184
- filterItemsWithTypeahead() {
185
- this.inputText = this.inputRef.value;
186
- if (this.inputText) {
187
- this.items.forEach((item) => {
188
- item.classList.remove('d-none');
189
- if (!item.label.toLowerCase().includes(this.inputText.toLowerCase())) {
190
- item.classList.add('d-none');
191
- }
192
- });
193
- }
194
- else {
195
- this.removeHiddenFromItems();
196
- }
197
- this.isDropdownEmpty = this.items.every((item) => item.classList.contains('d-none'));
198
- }
199
- removeHiddenFromItems() {
200
- this.items.forEach((item) => {
201
- item.classList.remove('d-none');
202
- });
203
- }
204
- clearInput() {
205
- this.inputRef.value = '';
206
- this.inputText = '';
207
- }
208
- clear() {
209
- this.clearInput();
210
- this.value = [];
211
- this.selectedIndices = [];
212
- this.itemSelectionChange.emit(null);
213
- }
214
- getInputValue() {
215
- var _a;
216
- if (this.isSingleMode) {
217
- return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) ? this.value[0] : null;
218
- }
219
- return null;
220
- }
221
- render() {
222
- var _a, _b, _c;
223
- return (index.h(index.Host, null, index.h("div", { class: {
224
- 'form-control': true,
225
- select: true,
226
- focus: this.hasFocus,
227
- editable: this.editable,
228
- disabled: this.disabled,
229
- readonly: this.readonly,
230
- }, ref: (ref) => {
231
- this.dropdownAnchor = ref;
232
- if (!this.editable)
233
- this.dropdownWrapperRef = ref;
234
- } }, index.h("div", { class: "input-container" }, this.isMultipleMode ? (index.h("div", { class: "chips" }, (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, onCloseClick: (e) => {
235
- e.preventDefault();
236
- e.stopPropagation();
237
- this.emitItemClick(item.value);
238
- } }, item.label))))) : null, index.h("div", { class: "trigger" }, index.h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
239
- 'allow-clear': this.allowClear && !!((_b = this.value) === null || _b === void 0 ? void 0 : _b.length),
240
- }, placeholder: this.editable
241
- ? this.i18nPlaceholderEditable
242
- : this.i18nPlaceholder, value: this.getInputValue(), ref: (ref) => (this.inputRef = ref), onInput: () => this.filterItemsWithTypeahead() }), this.disabled || this.readonly ? null : (index.h("div", { class: "chevron-down-container", ref: (ref) => {
243
- if (this.editable)
244
- this.dropdownWrapperRef = ref;
245
- } }, index.h("ix-icon", { class: "chevron", name: "chevron-down-small" }))))), this.allowClear && (((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) || this.inputText) ? (index.h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "24", onClick: (e) => {
246
- e.preventDefault();
247
- e.stopPropagation();
248
- this.clear();
249
- } })) : null), index.h("ix-dropdown", { ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, style: {
250
- width: '100%',
251
- }, class: {
252
- 'd-none': this.disabled ||
253
- this.readonly ||
254
- (this.isDropdownEmpty && !this.editable),
255
- }, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom", positioningStrategy: 'fixed', adjustDropdownWidthToReferenceWidth: true }, index.h("div", { class: "select-list-header" }, this.i18nSelectListHeader), index.h("slot", null), index.h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.itemExists(this.inputText) ? ('') : (index.h("ix-dropdown-item", { "data-testid": "add-item", icon: "plus", class: {
256
- 'add-item': true,
257
- 'd-none': !(this.editable && this.inputText),
258
- }, label: this.inputText, onItemClick: (e) => {
259
- e.preventDefault();
260
- e.stopPropagation();
261
- this.emitAddItem(this.inputText);
262
- } })))));
263
- }
264
- get hostElement() { return index.getElement(this); }
265
- static get watchers() { return {
266
- "selectedIndices": ["watchSelectedIndices"],
267
- "inputText": ["watchInputText"]
268
- }; }
269
- };
270
- Select.style = selectCss;
271
-
272
- const selectItemCss = ".sc-ix-select-item-h{display:block}.sc-ix-select-item-h ix-dropdown-item.sc-ix-select-item button.sc-ix-select-item{margin-left:1rem}";
273
-
274
- const SelectItem = class {
275
- constructor(hostRef) {
276
- index.registerInstance(this, hostRef);
277
- this.itemClick = index.createEvent(this, "itemClick", 7);
278
- /**
279
- * Whether the item is selected.
280
- */
281
- this.selected = false;
282
- /**
283
- * ***Internal***
284
- */
285
- this.hover = false;
286
- }
287
- /**
288
- * Internal
289
- * @param event
290
- */
291
- async onItemClick(event) {
292
- event === null || event === void 0 ? void 0 : event.preventDefault();
293
- event === null || event === void 0 ? void 0 : event.stopPropagation();
294
- this.itemClick.emit(this.value);
295
- }
296
- componentDidRender() {
297
- if (!this.value) {
298
- throw Error('ix-select-item must have a `value` property');
299
- }
300
- }
301
- render() {
302
- return (index.h(index.Host, null, index.h("ix-dropdown-item", { checked: this.selected, hover: this.hover, label: this.label ? this.label : this.value, onItemClick: (e) => this.onItemClick(e) })));
303
- }
304
- get hostElement() { return index.getElement(this); }
305
- };
306
- SelectItem.style = selectItemCss;
307
-
308
- exports.ix_select = Select;
309
- exports.ix_select_item = SelectItem;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
-
7
- const spinnerCss = ".sc-ix-spinner-h{display:flex;position:relative;height:2rem;width:2rem;justify-content:center;align-items:center}.sc-ix-spinner-h svg.sc-ix-spinner{height:2rem;width:2rem}.sc-ix-spinner-h #fill.sc-ix-spinner{fill:var(--theme-color-weak-text)}.sc-ix-spinner-h #stroke.sc-ix-spinner{stroke:var(--theme-color-weak-text)}.primary.sc-ix-spinner-h #fill.sc-ix-spinner{fill:var(--theme-color-primary)}.primary.sc-ix-spinner-h #stroke.sc-ix-spinner{stroke:var(--theme-color-primary)}.large.sc-ix-spinner-h{height:6rem;width:6rem}.large.sc-ix-spinner-h svg.sc-ix-spinner{height:5.75rem;width:6rem}";
8
-
9
- const Spinner = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- /**
13
- * Variant of spinner
14
- */
15
- this.variant = 'secondary';
16
- /**
17
- * Size of spinner
18
- */
19
- this.size = 'medium';
20
- }
21
- render() {
22
- return (index.h(index.Host, { class: {
23
- primary: this.variant === 'primary',
24
- large: this.size === 'large',
25
- } }, index.h("svg", { viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { id: "waiting-anim", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, index.h("g", { id: "stroke", transform: "translate(4.5, 3)", "fill-rule": "nonzero", stroke: "#0F8287", "stroke-linejoin": "round" }, index.h("polygon", { id: "w1", points: "11.2583302 0 11.2583302 6.5 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "0s;w6ul.end", to: "visible" }), index.h("animate", { id: "w1l", attributeName: "points", calcMode: "spline", begin: "0s;w6ul.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 11.2583302 6.5 11.2583302 13", to: "11.2583302 0 22.5166605 6.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w1ul", attributeName: "points", calcMode: "spline", begin: "f6uf.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 22.5166605 6.5 11.2583302 13", to: "16.88749535 9.25 22.5166605 6.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w1ul.end", to: "hidden" })), index.h("polygon", { id: "w2", points: "22.5166605 6.5 16.88749535 10 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w1l.end", to: "visible" }), index.h("animate", { id: "w2l", attributeName: "points", calcMode: "spline", begin: "w1l.end", dur: "0.4s", keyTimes: "0;1", from: "22.5166605 6.5 16.88749535 10 11.2583302 13", to: "22.5166605 6.5 22.5166605 19.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w2ul", attributeName: "points", calcMode: "spline", begin: "w1ul.end", dur: "0.4s", keyTimes: "0;1", from: "22.5166605 6.5 22.5166605 19.5 11.2583302 13", to: "16.88749535 16.25 22.5166605 19.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w2ul.end", to: "hidden" })), index.h("polygon", { id: "w3", points: "11.2583302 13 22.5166605 19.5 16.88749535 16.75", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w2l.end", to: "visible" }), index.h("animate", { id: "w3l", attributeName: "points", calcMode: "spline", begin: "w2l.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 22.5166605 19.5 16.88749535 16.75", to: "11.2583302 13 22.5166605 19.5 11.2583302 26", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w3ul", attributeName: "points", calcMode: "spline", begin: "w2ul.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 22.5166605 19.5 11.2583302 26", to: "11.2583302 13 11.2583302 19.5 11.2583302 26", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w3ul.end", to: "hidden" })), index.h("polygon", { id: "w4", points: "11.2583302 26 11.2583302 19.5 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w3l.end", to: "visible" }), index.h("animate", { id: "w4l", attributeName: "points", calcMode: "spline", begin: "w3l.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 26 11.2583302 19.5 11.2583302 13", to: "11.2583302 26 4.4408921e-15 19.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w4ul", attributeName: "points", calcMode: "spline", begin: "w3ul.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 26 4.4408921e-15 19.5 11.2583302 13", to: "5.62651 16.25 4.4408921e-15 19.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w4ul.end", to: "hidden" })), index.h("polygon", { id: "w5", points: "11.2583302 13 2.4062463e-14 19.5 5.6291651 16.25", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w4l.end", to: "visible" }), index.h("animate", { id: "w5l", attributeName: "points", calcMode: "spline", begin: "w4l.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 2.4062463e-14 19.5 5.6291651 16.25", to: "11.2583302 13 2.4062463e-14 19.5 1.687539e-14 6.5", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w5ul", attributeName: "points", calcMode: "spline", begin: "w4ul.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 2.4062463e-14 19.5 1.687539e-14 6.5", to: "11.2583302 13 5.6291651 9.75 1.687539e-14 6.5", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w5ul.end", to: "hidden" })), index.h("polygon", { id: "w6", points: "5.6291651 9.75 11.2583302 13 2.66453526e-15 6.5", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w5l.end", to: "visible" }), index.h("animate", { id: "w6l", attributeName: "points", calcMode: "spline", begin: "w5l.end", dur: "0.4s", keyTimes: "0;1", from: "5.6291651 9.75 11.2583302 13 2.66453526e-15 6.5", to: "11.2583302 0 11.2583302 13 2.66453526e-15 6.5", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "w6ul", attributeName: "points", calcMode: "spline", begin: "w5ul.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 11.2583302 13 2.66453526e-15 6.5", to: "11.2583302 0 11.2583302 13 11.2583302 6.5", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "w6ul.end", to: "hidden" }))), index.h("g", { id: "fill", transform: "translate(4.5, 3)", fill: "#0F8287", "fill-rule": "nonzero" }, index.h("polygon", { id: "f1", points: "11.2583302 0 11.2583302 6.5 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "w6l.end", to: "visible" }), index.h("animate", { id: "f1f", attributeName: "points", calcMode: "spline", begin: "w6l.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 11.2583302 6.5 11.2583302 13", to: "11.2583302 0 22.5166605 6.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f1uf", attributeName: "points", calcMode: "spline", begin: "f6f.end + 0.2s", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 22.5166605 6.5 11.2583302 13", to: "16.88749535 9.25 22.5166605 6.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f1uf.end", to: "hidden" })), index.h("polygon", { id: "f2", points: "22.5166605 6.5 16.88749535 10 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "f1f.end", to: "visible" }), index.h("animate", { id: "f2f", attributeName: "points", calcMode: "spline", begin: "f1f.end", dur: "0.4s", keyTimes: "0;1", from: "22.5166605 6.5 16.88749535 10 11.2583302 13", to: "22.5166605 6.5 22.5166605 19.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f2uf", attributeName: "points", calcMode: "spline", begin: "f1uf.end", dur: "0.4s", keyTimes: "0;1", from: "22.5166605 6.5 22.5166605 19.5 11.2583302 13", to: "16.88749535 16.25 22.5166605 19.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f2uf.end", to: "hidden" })), index.h("polygon", { id: "f3", points: "11.2583302 13 22.5166605 19.5 16.88749535 16.75", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "f2f.end", to: "visible" }), index.h("animate", { id: "f3f", attributeName: "points", calcMode: "spline", begin: "f2f.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 22.5166605 19.5 16.88749535 16.75", to: "11.2583302 13 22.5166605 19.5 11.2583302 26", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f3uf", attributeName: "points", calcMode: "spline", begin: "f2uf.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 22.5166605 19.5 11.2583302 26", to: "11.2583302 13 11.2583302 19.5 11.2583302 26", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f3uf.end", to: "hidden" })), index.h("polygon", { id: "f4", points: "11.2583302 26 11.2583302 19.5 11.2583302 13", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "f3f.end", to: "visible" }), index.h("animate", { id: "f4f", attributeName: "points", calcMode: "spline", begin: "f3f.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 26 11.2583302 19.5 11.2583302 13", to: "11.2583302 26 4.4408921e-15 19.5 11.2583302 13", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f4uf", attributeName: "points", calcMode: "spline", begin: "f3uf.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 26 4.4408921e-15 19.5 11.2583302 13", to: "5.62651 16.25 4.4408921e-15 19.5 11.2583302 13", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f4uf.end", to: "hidden" })), index.h("polygon", { id: "f5", points: "11.2583302 13 2.4062463e-14 19.5 5.6291651 16.25", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "f4f.end", to: "visible" }), index.h("animate", { id: "f5f", attributeName: "points", calcMode: "spline", begin: "f4f.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 2.4062463e-14 19.5 5.6291651 16.25", to: "11.2583302 13 2.4062463e-14 19.5 1.687539e-14 6.5", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f5uf", attributeName: "points", calcMode: "spline", begin: "f4uf.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 13 2.4062463e-14 19.5 1.687539e-14 6.5", to: "11.2583302 13 5.6291651 9.75 1.687539e-14 6.5", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f5uf.end", to: "hidden" })), index.h("polygon", { id: "f6", points: "5.6291651 9.75 11.2583302 13 2.66453526e-15 6.5", visibility: "hidden" }, index.h("set", { attributeName: "visibility", begin: "f5f.end", to: "visible" }), index.h("animate", { id: "f6f", attributeName: "points", calcMode: "spline", begin: "f5f.end", dur: "0.4s", keyTimes: "0;1", from: "5.6291651 9.75 11.2583302 13 2.66453526e-15 6.5", to: "11.2583302 0 11.2583302 13 2.66453526e-15 6.5", keySplines: "1 0 0.8 1", fill: "freeze" }), index.h("animate", { id: "f6uf", attributeName: "points", calcMode: "spline", begin: "f5uf.end", dur: "0.4s", keyTimes: "0;1", from: "11.2583302 0 11.2583302 13 2.66453526e-15 6.5", to: "11.2583302 0 11.2583302 13 11.2583302 6.5", keySplines: "0.2 0 0 1", fill: "freeze" }), index.h("set", { attributeName: "visibility", begin: "f6uf.end", to: "hidden" })))))));
26
- }
27
- };
28
- Spinner.style = spinnerCss;
29
-
30
- exports.ix_spinner = Spinner;
@@ -1,114 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-1e4a348f.js');
6
- const baseButton = require('./base-button-eb1d47db.js');
7
- const popper = require('./popper-d7a0f999.js');
8
-
9
- const splitButtonCss = ".sc-ix-split-button-h{display:block}";
10
-
11
- const SplitButton = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.buttonClick = index.createEvent(this, "buttonClick", 7);
15
- /**
16
- * Color variant of button
17
- */
18
- this.variant = 'Primary';
19
- /**
20
- * Button outline variant
21
- */
22
- this.outline = false;
23
- /**
24
- * Button invisible
25
- *
26
- * @deprecated use ghost property
27
- */
28
- this.invisible = false;
29
- /**
30
- * Button invisible
31
- */
32
- this.ghost = false;
33
- /**
34
- * Button icon
35
- */
36
- this.icon = '';
37
- /**
38
- * Splitbutton icon
39
- */
40
- this.splitIcon = 'context-menu';
41
- /**
42
- * Disabled
43
- */
44
- this.disabled = false;
45
- /**
46
- * Placement of the dropdown
47
- */
48
- this.placement = 'bottom-start';
49
- this.toggle = false;
50
- }
51
- get splitItems() {
52
- return Array.from(this.hostElement.querySelectorAll('ix-split-button-item'));
53
- }
54
- clickOutside(e) {
55
- if (!this.hostElement.contains(e.target)) {
56
- this.toggle = false;
57
- }
58
- }
59
- componentDidLoad() {
60
- const element = this.hostElement.querySelector('.anchor');
61
- this.popover = this.hostElement.querySelector('ix-dropdown');
62
- this.popperInstance = popper.createPopper(element, this.popover, {
63
- strategy: 'fixed',
64
- placement: this.placement,
65
- modifiers: [
66
- {
67
- name: 'offset',
68
- options: {
69
- offset: [0, 0],
70
- },
71
- },
72
- {
73
- name: 'flip',
74
- options: {
75
- padding: 8,
76
- },
77
- },
78
- ],
79
- });
80
- window.addEventListener('click', this.clickOutside.bind(this));
81
- }
82
- disconnectedCallback() {
83
- var _a;
84
- (_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
85
- window.removeEventListener('click', this.clickOutside.bind(this));
86
- }
87
- toggleDropdown() {
88
- this.toggle = !this.toggle;
89
- }
90
- render() {
91
- return (index.h(index.Host, { class: "btn-group" }, index.h("button", { class: baseButton.getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, !this.label, false, false, this.disabled), onClick: (e) => this.buttonClick.emit(e) }, this.icon ? index.h("ix-icon", { name: this.icon }) : null, " ", this.label), index.h("button", { class: Object.assign(Object.assign({}, baseButton.getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, false, false, this.disabled)), {
92
- anchor: true,
93
- }), onClick: () => this.toggleDropdown() }, index.h("ix-icon", { name: this.splitIcon }), index.h("ix-dropdown", { show: this.toggle }, index.h("slot", null)))));
94
- }
95
- get hostElement() { return index.getElement(this); }
96
- };
97
- SplitButton.style = splitButtonCss;
98
-
99
- const splitButtonItemCss = ".sc-ix-split-button-item-h{display:block}";
100
-
101
- const SplitButtonItem = class {
102
- constructor(hostRef) {
103
- index.registerInstance(this, hostRef);
104
- this.itemClick = index.createEvent(this, "itemClick", 7);
105
- }
106
- render() {
107
- return (index.h("ix-dropdown-item", { icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
108
- }
109
- get hostElement() { return index.getElement(this); }
110
- };
111
- SplitButtonItem.style = splitButtonItemCss;
112
-
113
- exports.ix_split_button = SplitButton;
114
- exports.ix_split_button_item = SplitButtonItem;