@siemens/ix 1.1.0-beta.5 → 1.1.0

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 (342) hide show
  1. package/dist/cjs/{base-button-eb1d47db.js → base-button-6ef79cb6.js} +3 -3
  2. package/dist/cjs/{index-1e4a348f.js → index-40761405.js} +467 -275
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +7 -12
  5. package/dist/cjs/ix-application-header.cjs.entry.js +2 -1
  6. package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -4
  7. package/dist/cjs/ix-blind.cjs.entry.js +2 -9
  8. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +6 -11
  9. package/dist/cjs/ix-button.cjs.entry.js +2 -25
  10. package/dist/cjs/ix-category-filter.cjs.entry.js +16 -27
  11. package/dist/cjs/ix-chip.cjs.entry.js +4 -13
  12. package/dist/cjs/ix-counter-pill.cjs.entry.js +3 -10
  13. package/dist/cjs/ix-date-picker_2.cjs.entry.js +23 -91
  14. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -7
  15. package/dist/cjs/ix-datetime-picker.cjs.entry.js +9 -53
  16. package/dist/cjs/ix-drawer.cjs.entry.js +2 -20
  17. package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -30
  18. package/dist/cjs/ix-event-list_2.cjs.entry.js +6 -19
  19. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -10
  20. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -4
  21. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +4 -1
  22. package/dist/cjs/ix-group_3.cjs.entry.js +9 -26
  23. package/dist/cjs/ix-icon-button.cjs.entry.js +8 -17
  24. package/dist/cjs/ix-icon.cjs.entry.js +4 -1
  25. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ix-kpi.cjs.entry.js +4 -7
  27. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +44 -9
  28. package/dist/cjs/ix-menu_9.cjs.entry.js +26 -82
  29. package/dist/cjs/ix-message-bar.cjs.entry.js +3 -7
  30. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  31. package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
  32. package/dist/cjs/ix-pill.cjs.entry.js +4 -10
  33. package/dist/cjs/ix-select_2.cjs.entry.js +8 -34
  34. package/dist/cjs/ix-spinner.cjs.entry.js +1 -7
  35. package/dist/cjs/ix-split-button_2.cjs.entry.js +5 -28
  36. package/dist/cjs/ix-tab-item.cjs.entry.js +2 -22
  37. package/dist/cjs/ix-tabs.cjs.entry.js +5 -20
  38. package/dist/cjs/ix-tile.cjs.entry.js +1 -4
  39. package/dist/cjs/ix-toast_2.cjs.entry.js +4 -16
  40. package/dist/cjs/ix-toggle.cjs.entry.js +1 -26
  41. package/dist/cjs/ix-tree_2.cjs.entry.js +8 -5
  42. package/dist/cjs/ix-upload.cjs.entry.js +2 -46
  43. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -6
  44. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -31
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/cjs/{modal-5be2b1a3.js → modal-42934387.js} +10 -27
  47. package/dist/cjs/my-component.cjs.entry.js +1 -1
  48. package/dist/cjs/siemens-ix.cjs.js +2 -2
  49. package/dist/collection/collection-manifest.json +2 -2
  50. package/dist/collection/components/animated-tab/animated-tab.js +53 -44
  51. package/dist/collection/components/animated-tabs/animated-tabs.js +122 -123
  52. package/dist/collection/components/application-header/application-header.js +36 -31
  53. package/dist/collection/components/basic-navigation/basic-navigation.js +51 -52
  54. package/dist/collection/components/blind/blind.js +83 -83
  55. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -7
  56. package/dist/collection/components/breadcrumb/breadcrumb.js +119 -129
  57. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +53 -44
  58. package/dist/collection/components/button/base-button.js +3 -3
  59. package/dist/collection/components/button/button.js +143 -161
  60. package/dist/collection/components/category-filter/category-filter.js +355 -372
  61. package/dist/collection/components/chip/chip.js +154 -160
  62. package/dist/collection/components/counter-pill/counter-pill.js +102 -105
  63. package/dist/collection/components/date-picker/date-picker.js +352 -406
  64. package/dist/collection/components/date-time-card/date-time-card.js +54 -60
  65. package/dist/collection/components/datetime-picker/datetime-picker.js +399 -442
  66. package/dist/collection/components/datetime-picker/event.js +0 -8
  67. package/dist/collection/components/drawer/drawer.js +185 -197
  68. package/dist/collection/components/dropdown/dropdown.css +2 -0
  69. package/dist/collection/components/dropdown/dropdown.js +240 -245
  70. package/dist/collection/components/dropdown-item/dropdown-item.js +147 -149
  71. package/dist/collection/components/event-list/event-list.js +85 -92
  72. package/dist/collection/components/event-list-item/event-list-item.js +136 -133
  73. package/dist/collection/components/expanding-search/expanding-search.js +112 -116
  74. package/dist/collection/components/filter-chip/filter-chip.js +51 -50
  75. package/dist/collection/components/flip-tile/flip-tile.js +74 -72
  76. package/dist/collection/components/flip-tile-content/flip-tile-content.js +12 -9
  77. package/dist/collection/components/group/group.js +201 -221
  78. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +53 -45
  79. package/dist/collection/components/group-item/group-item.js +165 -164
  80. package/dist/collection/components/icon/icon.js +77 -68
  81. package/dist/collection/components/icon-button/icon-button.js +207 -217
  82. package/dist/collection/components/input-group/input-group.js +12 -13
  83. package/dist/collection/components/kpi/kpi.js +106 -110
  84. package/dist/collection/components/map-navigation/map-navigation.css +3 -10
  85. package/dist/collection/components/map-navigation/map-navigation.js +186 -185
  86. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +1 -0
  87. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +124 -88
  88. package/dist/collection/components/menu/menu.css +2 -3
  89. package/dist/collection/components/menu/menu.js +483 -527
  90. package/dist/collection/components/menu-about/menu-about.js +99 -98
  91. package/dist/collection/components/menu-about-item/menu-about-item.js +36 -28
  92. package/dist/collection/components/menu-about-news/menu-about-news.js +160 -174
  93. package/dist/collection/components/menu-avatar/menu-avatar.js +102 -101
  94. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +72 -60
  95. package/dist/collection/components/menu-item/menu-item.js +128 -127
  96. package/dist/collection/components/menu-settings/menu-settings.js +94 -94
  97. package/dist/collection/components/menu-settings-item/menu-settings-item.js +36 -28
  98. package/dist/collection/components/message-bar/message-bar.js +78 -77
  99. package/dist/collection/components/modal/modal.js +404 -418
  100. package/dist/collection/components/modal-container/modal-container.js +51 -44
  101. package/dist/collection/components/my-component/example-modal.js +2 -10
  102. package/dist/collection/components/my-component/my-component.js +11 -7
  103. package/dist/collection/components/pill/pill.js +119 -122
  104. package/dist/collection/components/select/select.js +282 -303
  105. package/dist/collection/components/select-item/select-item.js +134 -129
  106. package/dist/collection/components/spinner/spinner.js +51 -115
  107. package/dist/collection/components/split-button/split-button.js +208 -231
  108. package/dist/collection/components/split-button-item/split-button-item.js +72 -60
  109. package/dist/collection/components/tab-item/tab-item.js +160 -177
  110. package/dist/collection/components/tabs/tabs.js +123 -137
  111. package/dist/collection/components/tile/tile.js +34 -39
  112. package/dist/collection/components/time-picker/time-picker.js +274 -323
  113. package/dist/collection/components/toast/toast-container.js +94 -96
  114. package/dist/collection/components/toast/toast.js +159 -164
  115. package/dist/collection/components/toggle/toggle.js +189 -209
  116. package/dist/collection/components/tree/tree-model.js +0 -8
  117. package/dist/collection/components/tree/tree.js +144 -135
  118. package/dist/collection/components/tree-item/tree-item.js +111 -102
  119. package/dist/collection/components/upload/upload.js +276 -319
  120. package/dist/collection/components/utils/button-variants.js +0 -8
  121. package/dist/collection/components/utils/notification-color.js +0 -8
  122. package/dist/collection/components/validation-tooltip/validation-tooltip.js +68 -65
  123. package/dist/collection/components/workflow-step/workflow-step.js +145 -163
  124. package/dist/collection/components/workflow-steps/workflow-steps.js +102 -108
  125. package/dist/components/application-header.js +1 -0
  126. package/dist/components/base-button.js +3 -3
  127. package/dist/components/button.js +0 -23
  128. package/dist/components/date-picker.js +15 -50
  129. package/dist/components/date-time-card.js +0 -6
  130. package/dist/components/dropdown-item.js +2 -9
  131. package/dist/components/dropdown.js +4 -20
  132. package/dist/components/filter-chip.js +0 -3
  133. package/dist/components/group-item.js +5 -7
  134. package/dist/components/icon-button.js +6 -15
  135. package/dist/components/icon.js +3 -0
  136. package/dist/components/index.d.ts +65 -5
  137. package/dist/components/index.js +65 -5
  138. package/dist/components/ix-animated-tab.js +2 -0
  139. package/dist/components/ix-animated-tabs.js +4 -11
  140. package/dist/components/ix-basic-navigation.js +1 -3
  141. package/dist/components/ix-blind.js +1 -9
  142. package/dist/components/ix-breadcrumb-item.js +2 -0
  143. package/dist/components/ix-breadcrumb.js +3 -10
  144. package/dist/components/ix-category-filter.js +48 -28
  145. package/dist/components/ix-chip.js +3 -12
  146. package/dist/components/ix-counter-pill.js +2 -9
  147. package/dist/components/ix-datetime-picker.js +8 -52
  148. package/dist/components/ix-drawer.js +1 -19
  149. package/dist/components/ix-event-list-item.js +4 -6
  150. package/dist/components/ix-event-list.js +1 -12
  151. package/dist/components/ix-expanding-search.js +0 -9
  152. package/dist/components/ix-flip-tile.js +21 -2
  153. package/dist/components/ix-group-dropdown-item.js +2 -0
  154. package/dist/components/ix-group.js +1 -19
  155. package/dist/components/ix-kpi.js +3 -6
  156. package/dist/components/ix-map-navigation.js +9 -6
  157. package/dist/components/ix-menu-about-item.js +1 -0
  158. package/dist/components/ix-menu-about-news.js +2 -12
  159. package/dist/components/ix-menu-about.js +1 -6
  160. package/dist/components/ix-menu-avatar.js +3 -3
  161. package/dist/components/ix-menu-settings-item.js +1 -0
  162. package/dist/components/ix-menu-settings.js +1 -6
  163. package/dist/components/ix-menu.js +10 -45
  164. package/dist/components/ix-message-bar.js +2 -6
  165. package/dist/components/ix-modal-example.js +38 -2
  166. package/dist/components/ix-pill.js +3 -9
  167. package/dist/components/ix-select.js +5 -27
  168. package/dist/components/ix-split-button-item.js +2 -0
  169. package/dist/components/ix-split-button.js +1 -26
  170. package/dist/components/ix-tile.js +0 -3
  171. package/dist/components/ix-toast-container.js +0 -6
  172. package/dist/components/ix-toggle.js +0 -25
  173. package/dist/components/ix-tree.js +24 -6
  174. package/dist/components/ix-upload.js +18 -48
  175. package/dist/components/ix-validation-tooltip.js +3 -5
  176. package/dist/components/ix-workflow-step.js +0 -18
  177. package/dist/components/ix-workflow-steps.js +0 -12
  178. package/dist/components/map-navigation-overlay.js +35 -2
  179. package/dist/components/menu-avatar-item.js +2 -0
  180. package/dist/components/menu-item.js +4 -9
  181. package/dist/components/modal.js +9 -26
  182. package/dist/components/select-item.js +2 -6
  183. package/dist/components/spinner.js +0 -6
  184. package/dist/components/tab-item.js +1 -21
  185. package/dist/components/tabs.js +4 -19
  186. package/dist/components/time-picker.js +7 -40
  187. package/dist/components/toast.js +3 -9
  188. package/dist/components/tree-item.js +3 -0
  189. package/dist/esm/{base-button-7bfb747f.js → base-button-0b6635df.js} +3 -3
  190. package/dist/esm/{index-55cfd20d.js → index-b22287de.js} +467 -275
  191. package/dist/esm/index.js +2 -2
  192. package/dist/esm/ix-animated-tab_2.entry.js +7 -12
  193. package/dist/esm/ix-application-header.entry.js +2 -1
  194. package/dist/esm/ix-basic-navigation.entry.js +2 -4
  195. package/dist/esm/ix-blind.entry.js +2 -9
  196. package/dist/esm/ix-breadcrumb_2.entry.js +6 -11
  197. package/dist/esm/ix-button.entry.js +2 -25
  198. package/dist/esm/ix-category-filter.entry.js +16 -27
  199. package/dist/esm/ix-chip.entry.js +4 -13
  200. package/dist/esm/ix-counter-pill.entry.js +3 -10
  201. package/dist/esm/ix-date-picker_2.entry.js +23 -91
  202. package/dist/esm/ix-date-time-card.entry.js +1 -7
  203. package/dist/esm/ix-datetime-picker.entry.js +9 -53
  204. package/dist/esm/ix-drawer.entry.js +2 -20
  205. package/dist/esm/ix-dropdown_2.entry.js +7 -30
  206. package/dist/esm/ix-event-list_2.entry.js +6 -19
  207. package/dist/esm/ix-expanding-search.entry.js +1 -10
  208. package/dist/esm/ix-filter-chip.entry.js +1 -4
  209. package/dist/esm/ix-flip-tile_2.entry.js +4 -1
  210. package/dist/esm/ix-group_3.entry.js +9 -26
  211. package/dist/esm/ix-icon-button.entry.js +8 -17
  212. package/dist/esm/ix-icon.entry.js +4 -1
  213. package/dist/esm/ix-input-group.entry.js +1 -1
  214. package/dist/esm/ix-kpi.entry.js +4 -7
  215. package/dist/esm/ix-map-navigation_2.entry.js +44 -9
  216. package/dist/esm/ix-menu_9.entry.js +26 -82
  217. package/dist/esm/ix-message-bar.entry.js +3 -7
  218. package/dist/esm/ix-modal-example.entry.js +1 -1
  219. package/dist/esm/ix-modal_2.entry.js +2 -2
  220. package/dist/esm/ix-pill.entry.js +4 -10
  221. package/dist/esm/ix-select_2.entry.js +8 -34
  222. package/dist/esm/ix-spinner.entry.js +1 -7
  223. package/dist/esm/ix-split-button_2.entry.js +5 -28
  224. package/dist/esm/ix-tab-item.entry.js +2 -22
  225. package/dist/esm/ix-tabs.entry.js +5 -20
  226. package/dist/esm/ix-tile.entry.js +1 -4
  227. package/dist/esm/ix-toast_2.entry.js +4 -16
  228. package/dist/esm/ix-toggle.entry.js +1 -26
  229. package/dist/esm/ix-tree_2.entry.js +8 -5
  230. package/dist/esm/ix-upload.entry.js +2 -46
  231. package/dist/esm/ix-validation-tooltip.entry.js +4 -6
  232. package/dist/esm/ix-workflow-step_2.entry.js +1 -31
  233. package/dist/esm/loader.js +2 -2
  234. package/dist/esm/{modal-8ed87a6c.js → modal-f1e45879.js} +10 -27
  235. package/dist/esm/my-component.entry.js +1 -1
  236. package/dist/esm/polyfills/css-shim.js +1 -1
  237. package/dist/esm/siemens-ix.js +2 -2
  238. package/dist/siemens-ix/index.esm.js +1 -1
  239. package/dist/siemens-ix/p-003b58b3.js +1 -0
  240. package/dist/siemens-ix/p-0419f23d.entry.js +1 -0
  241. package/dist/siemens-ix/p-0cdac3da.entry.js +1 -0
  242. package/dist/siemens-ix/p-161561ef.entry.js +1 -0
  243. package/dist/siemens-ix/p-1686ce8c.entry.js +1 -0
  244. package/dist/siemens-ix/{p-df43662b.entry.js → p-18652f43.entry.js} +1 -1
  245. package/dist/siemens-ix/p-1cd8f35f.entry.js +1 -0
  246. package/dist/siemens-ix/{p-a49005f3.entry.js → p-1d1eeeea.entry.js} +1 -1
  247. package/dist/siemens-ix/{p-2b7ed5d4.entry.js → p-38a598ed.entry.js} +1 -1
  248. package/dist/siemens-ix/p-44ab1dce.entry.js +1 -0
  249. package/dist/siemens-ix/{p-81e46337.entry.js → p-477681a5.entry.js} +1 -1
  250. package/dist/siemens-ix/{p-d2fc562a.entry.js → p-4f2fbbb5.entry.js} +1 -1
  251. package/dist/siemens-ix/{p-71de6498.entry.js → p-56bba5f9.entry.js} +1 -1
  252. package/dist/siemens-ix/p-5b4399b3.entry.js +1 -0
  253. package/dist/siemens-ix/p-5c038d1d.js +2 -0
  254. package/dist/siemens-ix/p-6d075808.entry.js +1 -0
  255. package/dist/siemens-ix/p-72b5c8d5.entry.js +1 -0
  256. package/dist/siemens-ix/p-746ebc92.entry.js +1 -0
  257. package/dist/siemens-ix/p-7fb73253.entry.js +1 -0
  258. package/dist/siemens-ix/p-87c46ff3.entry.js +1 -0
  259. package/dist/siemens-ix/p-8c5948e2.entry.js +1 -0
  260. package/dist/siemens-ix/{p-03ef9fe5.entry.js → p-8e60010d.entry.js} +1 -1
  261. package/dist/siemens-ix/p-9cc43bf2.entry.js +1 -0
  262. package/dist/siemens-ix/p-a2e33741.entry.js +1 -0
  263. package/dist/siemens-ix/p-a3760331.entry.js +1 -0
  264. package/dist/siemens-ix/p-a4ed41f9.entry.js +1 -0
  265. package/dist/siemens-ix/p-aa620cc7.entry.js +1 -0
  266. package/dist/siemens-ix/p-afefc17c.entry.js +1 -0
  267. package/dist/siemens-ix/{p-5a1dcc74.js → p-b12006c6.js} +0 -0
  268. package/dist/siemens-ix/p-b18d15c7.entry.js +1 -0
  269. package/dist/siemens-ix/{p-cbd0f8a7.entry.js → p-b49fbfc3.entry.js} +1 -1
  270. package/dist/siemens-ix/p-b7a46add.entry.js +1 -0
  271. package/dist/siemens-ix/p-b8849072.entry.js +1 -0
  272. package/dist/siemens-ix/p-c0a126c6.entry.js +1 -0
  273. package/dist/siemens-ix/p-c1674778.entry.js +1 -0
  274. package/dist/siemens-ix/p-ca8a41ea.entry.js +1 -0
  275. package/dist/siemens-ix/{p-77823732.entry.js → p-d1a17dd8.entry.js} +1 -1
  276. package/dist/siemens-ix/p-d5199425.entry.js +1 -0
  277. package/dist/siemens-ix/{p-fa44655a.entry.js → p-d62d2304.entry.js} +1 -1
  278. package/dist/siemens-ix/{p-b4003026.entry.js → p-dc8f82d5.entry.js} +1 -1
  279. package/dist/siemens-ix/{p-1d56d9b6.entry.js → p-e0c85889.entry.js} +1 -1
  280. package/dist/siemens-ix/p-e5da6672.entry.js +1 -0
  281. package/dist/siemens-ix/{p-4287bd7e.entry.js → p-eff31ef4.entry.js} +1 -1
  282. package/dist/siemens-ix/{p-bd15d8ca.entry.js → p-f34f7e30.entry.js} +1 -1
  283. package/dist/siemens-ix/p-fca4a226.entry.js +1 -0
  284. package/dist/siemens-ix/siemens-ix.css +3 -0
  285. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  286. package/dist/types/components/date-picker/date-picker.d.ts +4 -4
  287. package/dist/types/components/datetime-picker/datetime-picker.d.ts +4 -3
  288. package/dist/types/components/map-navigation/map-navigation.d.ts +2 -0
  289. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +4 -0
  290. package/dist/types/components/menu-item/menu-item.d.ts +4 -0
  291. package/dist/types/components/modal/modal.d.ts +1 -1
  292. package/dist/types/components/time-picker/time-picker.d.ts +1 -2
  293. package/dist/types/components/upload/upload.d.ts +1 -1
  294. package/dist/types/components.d.ts +221 -74
  295. package/dist/types/stencil-public-runtime.d.ts +20 -4
  296. package/loader/package.json +1 -0
  297. package/package.json +4 -6
  298. package/scss/components/_buttons.scss +1 -0
  299. package/scss/components/_dropdown.scss +3 -0
  300. package/src/components/date-picker/readme.md +3 -3
  301. package/src/components/datetime-picker/readme.md +3 -3
  302. package/src/components/map-navigation/readme.md +2 -2
  303. package/src/components/menu-item/readme.md +8 -8
  304. package/src/components/modal/readme.md +1 -1
  305. package/src/components/time-picker/readme.md +2 -2
  306. package/src/components/upload/readme.md +13 -13
  307. package/dist/components/default-tree-item.js +0 -20
  308. package/dist/components/flip-tile-state.js +0 -18
  309. package/dist/components/logical-filter-operator.js +0 -33
  310. package/dist/components/modal-utils.js +0 -38
  311. package/dist/components/upload-file-state.js +0 -17
  312. package/dist/siemens-ix/p-02501b64.entry.js +0 -1
  313. package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
  314. package/dist/siemens-ix/p-235606b2.entry.js +0 -1
  315. package/dist/siemens-ix/p-301ddeb7.js +0 -1
  316. package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
  317. package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
  318. package/dist/siemens-ix/p-47ea9884.js +0 -1
  319. package/dist/siemens-ix/p-52d99490.entry.js +0 -1
  320. package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
  321. package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
  322. package/dist/siemens-ix/p-6726f740.entry.js +0 -1
  323. package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
  324. package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
  325. package/dist/siemens-ix/p-7d667916.entry.js +0 -1
  326. package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
  327. package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
  328. package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
  329. package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
  330. package/dist/siemens-ix/p-a8396077.entry.js +0 -1
  331. package/dist/siemens-ix/p-ab715295.entry.js +0 -1
  332. package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
  333. package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
  334. package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
  335. package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
  336. package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
  337. package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
  338. package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
  339. package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
  340. package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
  341. package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
  342. package/scripts/post-install/post-install.mjs +0 -111
@@ -6,52 +6,10 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { Component, Element, Event, h, Host, Method, Prop, State } from '@stencil/core';
9
+ import { h, Host, } from '@stencil/core';
10
10
  import { UploadFileState } from './upload-file-state';
11
11
  export class Upload {
12
- constructor() {
13
- /**
14
- * If multiple is true the user can drop or select multiple files
15
- */
16
- this.multiple = false;
17
- /**
18
- * Whether the text should wrap to more than one line
19
- */
20
- this.multiline = false;
21
- /**
22
- * Disable all input events
23
- */
24
- this.disabled = false;
25
- /**
26
- * After a file is uploaded you can set the upload component to a defined state
27
- */
28
- this.state = UploadFileState.SELECT_FILE;
29
- /**
30
- * Will be used by state = UploadFileState.SELECT_FILE
31
- */
32
- this.selectFileText = '+ Drag files here or…';
33
- /**
34
- * Will be used by state = UploadFileState.LOADING
35
- */
36
- this.loadingText = 'Checking files…';
37
- /**
38
- * Will be used by state = UploadFileState.UPLOAD_FAILED
39
- */
40
- this.uploadFailedText = 'Upload failed. Please try again.';
41
- /**
42
- * Will be used by state = UploadFileState.UPLOAD_SUCCESSED
43
- */
44
- this.uploadSuccessText = 'Upload successful';
45
- /**
46
- * Label for upload file button
47
- */
48
- this.i18nUploadFile = 'Upload file…';
49
- /**
50
- * Text for disabled state
51
- */
52
- this.i18nUploadDisabled = 'File upload currently not possible.';
53
- this.isFileOver = false;
54
- }
12
+ constructor() { this.accept = undefined; this.multiple = false; this.multiline = false; this.disabled = false; this.state = UploadFileState.SELECT_FILE; this.selectFileText = '+ Drag files here or…'; this.loadingText = 'Checking files…'; this.uploadFailedText = 'Upload failed. Please try again.'; this.uploadSuccessText = 'Upload successful'; this.i18nUploadFile = 'Upload file…'; this.i18nUploadDisabled = 'File upload currently not possible.'; this.isFileOver = false; }
55
13
  get inputElement() {
56
14
  return this.hostElement.querySelector('#upload-browser');
57
15
  }
@@ -98,25 +56,17 @@ export class Upload {
98
56
  }
99
57
  renderUploadState() {
100
58
  if (this.disabled) {
101
- return (h("span", { class: "state" },
102
- h("span", { class: "upload-text" }, this.i18nUploadDisabled)));
59
+ return (h("span", { class: "state" }, h("span", { class: "upload-text" }, this.i18nUploadDisabled)));
103
60
  }
104
61
  switch (this.state) {
105
62
  case UploadFileState.SELECT_FILE:
106
- return (h("span", { class: "state" },
107
- h("span", { class: "upload-text" }, this.selectFileText)));
63
+ return (h("span", { class: "state" }, h("span", { class: "upload-text" }, this.selectFileText)));
108
64
  case UploadFileState.LOADING:
109
- return (h("span", { class: "state" },
110
- h("ix-spinner", { variant: "primary" }),
111
- h("span", { class: "upload-text" }, this.loadingText)));
65
+ return (h("span", { class: "state" }, h("ix-spinner", { variant: "primary" }), h("span", { class: "upload-text" }, this.loadingText)));
112
66
  case UploadFileState.UPLOAD_FAILED:
113
- return (h("span", { class: "state" },
114
- h("i", { class: "glyph glyph-error" }),
115
- h("span", { class: "upload-text" }, this.uploadFailedText)));
67
+ return (h("span", { class: "state" }, h("i", { class: "glyph glyph-error" }), h("span", { class: "upload-text" }, this.uploadFailedText)));
116
68
  case UploadFileState.UPLOAD_SUCCESSED:
117
- return (h("span", { class: "state" },
118
- h("i", { class: "glyph glyph-success" }),
119
- h("span", { class: "upload-text" }, this.uploadSuccessText)));
69
+ return (h("span", { class: "state" }, h("i", { class: "glyph glyph-success" }), h("span", { class: "upload-text" }, this.uploadSuccessText)));
120
70
  default:
121
71
  return '';
122
72
  }
@@ -129,285 +79,292 @@ export class Upload {
129
79
  this.filesToUpload = obj;
130
80
  }
131
81
  render() {
132
- return (h(Host, null,
133
- h("div", { class: {
134
- 'file-upload-area': true,
135
- 'file-over': this.isFileOver,
136
- checking: this.state === UploadFileState.LOADING,
137
- disabled: this.disabled,
138
- multiline: this.multiline,
139
- }, onDrop: (e) => this.fileDropped(e), onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled },
140
- this.renderUploadState(),
141
- h("div", null,
142
- h("input", { multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", onChange: (e) => {
143
- this.fileChangeEvent(e);
144
- }, accept: this.accept }),
145
- h("ix-button", { tabindex: "-1", outline: true, onClick: () => this.inputElement.click(), disabled: this.disabled || this.state === UploadFileState.LOADING }, this.i18nUploadFile)))));
82
+ return (h(Host, null, h("div", { class: {
83
+ 'file-upload-area': true,
84
+ 'file-over': this.isFileOver,
85
+ checking: this.state === UploadFileState.LOADING,
86
+ disabled: this.disabled,
87
+ multiline: this.multiline,
88
+ }, onDrop: (e) => this.fileDropped(e), onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), h("div", null, h("input", { multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", onChange: (e) => {
89
+ this.fileChangeEvent(e);
90
+ }, accept: this.accept }), h("ix-button", { tabindex: "-1", outline: true, onClick: () => this.inputElement.click(), disabled: this.disabled || this.state === UploadFileState.LOADING }, this.i18nUploadFile)))));
146
91
  }
147
92
  static get is() { return "ix-upload"; }
148
93
  static get encapsulation() { return "scoped"; }
149
- static get originalStyleUrls() { return {
150
- "$": ["upload.scss"]
151
- }; }
152
- static get styleUrls() { return {
153
- "$": ["upload.css"]
154
- }; }
155
- static get properties() { return {
156
- "accept": {
157
- "type": "string",
158
- "mutable": false,
159
- "complexType": {
160
- "original": "string",
161
- "resolved": "string",
162
- "references": {}
163
- },
164
- "required": false,
165
- "optional": false,
166
- "docs": {
167
- "tags": [],
168
- "text": "The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload).\n[accept]{@link https ://www.w3schools.com/tags/att_input_accept.asp}"
169
- },
170
- "attribute": "accept",
171
- "reflect": false
172
- },
173
- "multiple": {
174
- "type": "boolean",
175
- "mutable": false,
176
- "complexType": {
177
- "original": "boolean",
178
- "resolved": "boolean",
179
- "references": {}
180
- },
181
- "required": false,
182
- "optional": false,
183
- "docs": {
184
- "tags": [],
185
- "text": "If multiple is true the user can drop or select multiple files"
186
- },
187
- "attribute": "multiple",
188
- "reflect": false,
189
- "defaultValue": "false"
190
- },
191
- "multiline": {
192
- "type": "boolean",
193
- "mutable": false,
194
- "complexType": {
195
- "original": "boolean",
196
- "resolved": "boolean",
197
- "references": {}
94
+ static get originalStyleUrls() {
95
+ return {
96
+ "$": ["upload.scss"]
97
+ };
98
+ }
99
+ static get styleUrls() {
100
+ return {
101
+ "$": ["upload.css"]
102
+ };
103
+ }
104
+ static get properties() {
105
+ return {
106
+ "accept": {
107
+ "type": "string",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "string",
111
+ "resolved": "string",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": false,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": "The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload).\n[accept]{@link \"https://www.w3schools.com/tags/att_input_accept.asp\"}"
119
+ },
120
+ "attribute": "accept",
121
+ "reflect": false
198
122
  },
199
- "required": false,
200
- "optional": false,
201
- "docs": {
202
- "tags": [],
203
- "text": "Whether the text should wrap to more than one line"
123
+ "multiple": {
124
+ "type": "boolean",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "boolean",
128
+ "resolved": "boolean",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": false,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": "If multiple is true the user can drop or select multiple files"
136
+ },
137
+ "attribute": "multiple",
138
+ "reflect": false,
139
+ "defaultValue": "false"
204
140
  },
205
- "attribute": "multiline",
206
- "reflect": false,
207
- "defaultValue": "false"
208
- },
209
- "disabled": {
210
- "type": "boolean",
211
- "mutable": false,
212
- "complexType": {
213
- "original": "boolean",
214
- "resolved": "boolean",
215
- "references": {}
141
+ "multiline": {
142
+ "type": "boolean",
143
+ "mutable": false,
144
+ "complexType": {
145
+ "original": "boolean",
146
+ "resolved": "boolean",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Whether the text should wrap to more than one line"
154
+ },
155
+ "attribute": "multiline",
156
+ "reflect": false,
157
+ "defaultValue": "false"
216
158
  },
217
- "required": false,
218
- "optional": false,
219
- "docs": {
220
- "tags": [],
221
- "text": "Disable all input events"
159
+ "disabled": {
160
+ "type": "boolean",
161
+ "mutable": false,
162
+ "complexType": {
163
+ "original": "boolean",
164
+ "resolved": "boolean",
165
+ "references": {}
166
+ },
167
+ "required": false,
168
+ "optional": false,
169
+ "docs": {
170
+ "tags": [],
171
+ "text": "Disable all input events"
172
+ },
173
+ "attribute": "disabled",
174
+ "reflect": false,
175
+ "defaultValue": "false"
222
176
  },
223
- "attribute": "disabled",
224
- "reflect": false,
225
- "defaultValue": "false"
226
- },
227
- "state": {
228
- "type": "string",
229
- "mutable": false,
230
- "complexType": {
231
- "original": "UploadFileState",
232
- "resolved": "UploadFileState.LOADING | UploadFileState.SELECT_FILE | UploadFileState.UPLOAD_FAILED | UploadFileState.UPLOAD_SUCCESSED",
233
- "references": {
234
- "UploadFileState": {
235
- "location": "import",
236
- "path": "./upload-file-state"
177
+ "state": {
178
+ "type": "string",
179
+ "mutable": false,
180
+ "complexType": {
181
+ "original": "UploadFileState",
182
+ "resolved": "UploadFileState.LOADING | UploadFileState.SELECT_FILE | UploadFileState.UPLOAD_FAILED | UploadFileState.UPLOAD_SUCCESSED",
183
+ "references": {
184
+ "UploadFileState": {
185
+ "location": "import",
186
+ "path": "./upload-file-state"
187
+ }
237
188
  }
238
- }
239
- },
240
- "required": false,
241
- "optional": false,
242
- "docs": {
243
- "tags": [],
244
- "text": "After a file is uploaded you can set the upload component to a defined state"
245
- },
246
- "attribute": "state",
247
- "reflect": false,
248
- "defaultValue": "UploadFileState.SELECT_FILE"
249
- },
250
- "selectFileText": {
251
- "type": "string",
252
- "mutable": false,
253
- "complexType": {
254
- "original": "string",
255
- "resolved": "string",
256
- "references": {}
257
- },
258
- "required": false,
259
- "optional": false,
260
- "docs": {
261
- "tags": [],
262
- "text": "Will be used by state = UploadFileState.SELECT_FILE"
263
- },
264
- "attribute": "select-file-text",
265
- "reflect": false,
266
- "defaultValue": "'+ Drag files here or\u2026'"
267
- },
268
- "loadingText": {
269
- "type": "string",
270
- "mutable": false,
271
- "complexType": {
272
- "original": "string",
273
- "resolved": "string",
274
- "references": {}
275
- },
276
- "required": false,
277
- "optional": false,
278
- "docs": {
279
- "tags": [],
280
- "text": "Will be used by state = UploadFileState.LOADING"
281
- },
282
- "attribute": "loading-text",
283
- "reflect": false,
284
- "defaultValue": "'Checking files\u2026'"
285
- },
286
- "uploadFailedText": {
287
- "type": "string",
288
- "mutable": false,
289
- "complexType": {
290
- "original": "string",
291
- "resolved": "string",
292
- "references": {}
293
- },
294
- "required": false,
295
- "optional": false,
296
- "docs": {
297
- "tags": [],
298
- "text": "Will be used by state = UploadFileState.UPLOAD_FAILED"
299
- },
300
- "attribute": "upload-failed-text",
301
- "reflect": false,
302
- "defaultValue": "'Upload failed. Please try again.'"
303
- },
304
- "uploadSuccessText": {
305
- "type": "string",
306
- "mutable": false,
307
- "complexType": {
308
- "original": "string",
309
- "resolved": "string",
310
- "references": {}
311
- },
312
- "required": false,
313
- "optional": false,
314
- "docs": {
315
- "tags": [],
316
- "text": "Will be used by state = UploadFileState.UPLOAD_SUCCESSED"
189
+ },
190
+ "required": false,
191
+ "optional": false,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": "After a file is uploaded you can set the upload component to a defined state"
195
+ },
196
+ "attribute": "state",
197
+ "reflect": false,
198
+ "defaultValue": "UploadFileState.SELECT_FILE"
317
199
  },
318
- "attribute": "upload-success-text",
319
- "reflect": false,
320
- "defaultValue": "'Upload successful'"
321
- },
322
- "i18nUploadFile": {
323
- "type": "string",
324
- "mutable": false,
325
- "complexType": {
326
- "original": "string",
327
- "resolved": "string",
328
- "references": {}
200
+ "selectFileText": {
201
+ "type": "string",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "string",
205
+ "resolved": "string",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": false,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": "Will be used by state = UploadFileState.SELECT_FILE"
213
+ },
214
+ "attribute": "select-file-text",
215
+ "reflect": false,
216
+ "defaultValue": "'+ Drag files here or\u2026'"
329
217
  },
330
- "required": false,
331
- "optional": false,
332
- "docs": {
333
- "tags": [],
334
- "text": "Label for upload file button"
218
+ "loadingText": {
219
+ "type": "string",
220
+ "mutable": false,
221
+ "complexType": {
222
+ "original": "string",
223
+ "resolved": "string",
224
+ "references": {}
225
+ },
226
+ "required": false,
227
+ "optional": false,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": "Will be used by state = UploadFileState.LOADING"
231
+ },
232
+ "attribute": "loading-text",
233
+ "reflect": false,
234
+ "defaultValue": "'Checking files\u2026'"
335
235
  },
336
- "attribute": "i-1-8n-upload-file",
337
- "reflect": false,
338
- "defaultValue": "'Upload file\u2026'"
339
- },
340
- "i18nUploadDisabled": {
341
- "type": "string",
342
- "mutable": false,
343
- "complexType": {
344
- "original": "string",
345
- "resolved": "string",
346
- "references": {}
236
+ "uploadFailedText": {
237
+ "type": "string",
238
+ "mutable": false,
239
+ "complexType": {
240
+ "original": "string",
241
+ "resolved": "string",
242
+ "references": {}
243
+ },
244
+ "required": false,
245
+ "optional": false,
246
+ "docs": {
247
+ "tags": [],
248
+ "text": "Will be used by state = UploadFileState.UPLOAD_FAILED"
249
+ },
250
+ "attribute": "upload-failed-text",
251
+ "reflect": false,
252
+ "defaultValue": "'Upload failed. Please try again.'"
347
253
  },
348
- "required": false,
349
- "optional": false,
350
- "docs": {
351
- "tags": [],
352
- "text": "Text for disabled state"
254
+ "uploadSuccessText": {
255
+ "type": "string",
256
+ "mutable": false,
257
+ "complexType": {
258
+ "original": "string",
259
+ "resolved": "string",
260
+ "references": {}
261
+ },
262
+ "required": false,
263
+ "optional": false,
264
+ "docs": {
265
+ "tags": [],
266
+ "text": "Will be used by state = UploadFileState.UPLOAD_SUCCESSED"
267
+ },
268
+ "attribute": "upload-success-text",
269
+ "reflect": false,
270
+ "defaultValue": "'Upload successful'"
353
271
  },
354
- "attribute": "i-1-8n-upload-disabled",
355
- "reflect": false,
356
- "defaultValue": "'File upload currently not possible.'"
357
- }
358
- }; }
359
- static get states() { return {
360
- "isFileOver": {}
361
- }; }
362
- static get events() { return [{
363
- "method": "filesChanged",
364
- "name": "filesChanged",
365
- "bubbles": true,
366
- "cancelable": true,
367
- "composed": true,
368
- "docs": {
369
- "tags": [],
370
- "text": "You get an array of Files after drop-action or browse action is finished"
272
+ "i18nUploadFile": {
273
+ "type": "string",
274
+ "mutable": false,
275
+ "complexType": {
276
+ "original": "string",
277
+ "resolved": "string",
278
+ "references": {}
279
+ },
280
+ "required": false,
281
+ "optional": false,
282
+ "docs": {
283
+ "tags": [],
284
+ "text": "Label for upload file button"
285
+ },
286
+ "attribute": "i-1-8n-upload-file",
287
+ "reflect": false,
288
+ "defaultValue": "'Upload file\u2026'"
371
289
  },
372
- "complexType": {
373
- "original": "Array<File>",
374
- "resolved": "File[]",
375
- "references": {
376
- "Array": {
377
- "location": "global"
378
- },
379
- "File": {
380
- "location": "global"
381
- }
382
- }
290
+ "i18nUploadDisabled": {
291
+ "type": "string",
292
+ "mutable": false,
293
+ "complexType": {
294
+ "original": "string",
295
+ "resolved": "string",
296
+ "references": {}
297
+ },
298
+ "required": false,
299
+ "optional": false,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": "Text for disabled state"
303
+ },
304
+ "attribute": "i-1-8n-upload-disabled",
305
+ "reflect": false,
306
+ "defaultValue": "'File upload currently not possible.'"
383
307
  }
384
- }]; }
385
- static get methods() { return {
386
- "setFilesToUpload": {
387
- "complexType": {
388
- "signature": "(obj: any) => Promise<void>",
389
- "parameters": [{
390
- "tags": [{
391
- "name": "param",
392
- "text": "obj"
393
- }],
394
- "text": ""
395
- }],
396
- "references": {
397
- "Promise": {
398
- "location": "global"
308
+ };
309
+ }
310
+ static get states() {
311
+ return {
312
+ "isFileOver": {}
313
+ };
314
+ }
315
+ static get events() {
316
+ return [{
317
+ "method": "filesChanged",
318
+ "name": "filesChanged",
319
+ "bubbles": true,
320
+ "cancelable": true,
321
+ "composed": true,
322
+ "docs": {
323
+ "tags": [],
324
+ "text": "You get an array of Files after drop-action or browse action is finished"
325
+ },
326
+ "complexType": {
327
+ "original": "Array<File>",
328
+ "resolved": "File[]",
329
+ "references": {
330
+ "Array": {
331
+ "location": "global"
332
+ },
333
+ "File": {
334
+ "location": "global"
335
+ }
399
336
  }
337
+ }
338
+ }];
339
+ }
340
+ static get methods() {
341
+ return {
342
+ "setFilesToUpload": {
343
+ "complexType": {
344
+ "signature": "(obj: any) => Promise<void>",
345
+ "parameters": [{
346
+ "tags": [{
347
+ "name": "param",
348
+ "text": "obj"
349
+ }],
350
+ "text": ""
351
+ }],
352
+ "references": {
353
+ "Promise": {
354
+ "location": "global"
355
+ }
356
+ },
357
+ "return": "Promise<void>"
400
358
  },
401
- "return": "Promise<void>"
402
- },
403
- "docs": {
404
- "text": "Set files",
405
- "tags": [{
406
- "name": "param",
407
- "text": "obj"
408
- }]
359
+ "docs": {
360
+ "text": "Set files",
361
+ "tags": [{
362
+ "name": "param",
363
+ "text": "obj"
364
+ }]
365
+ }
409
366
  }
410
- }
411
- }; }
367
+ };
368
+ }
412
369
  static get elementRef() { return "hostElement"; }
413
370
  }
@@ -1,9 +1 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
1
  export {};
@@ -1,9 +1 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2022 Siemens AG
3
- *
4
- * SPDX-License-Identifier: MIT
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
1
  export {};