@siemens/ix 1.1.0-beta.2 → 1.1.0-beta.4

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/dist/cjs/_commonjsHelpers-1a0c346f.js +23 -0
  2. package/dist/cjs/animation-dfe01edc.js +19 -0
  3. package/dist/cjs/anime.es-8822f296.js +1311 -0
  4. package/dist/cjs/base-button-eb1d47db.js +33 -0
  5. package/dist/cjs/default-tree-item-4597cd84.js +22 -0
  6. package/dist/cjs/flip-tile-state-c95639e5.js +18 -0
  7. package/dist/cjs/index-1e4a348f.js +1849 -0
  8. package/dist/cjs/index.cjs.js +96 -0
  9. package/dist/cjs/ix-animated-tab_2.cjs.entry.js +217 -0
  10. package/dist/cjs/ix-application-header.cjs.entry.js +30 -0
  11. package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -0
  12. package/dist/cjs/ix-blind.cjs.entry.js +89 -0
  13. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +155 -0
  14. package/dist/cjs/ix-button.cjs.entry.js +50 -0
  15. package/dist/cjs/ix-category-filter.cjs.entry.js +399 -0
  16. package/dist/cjs/ix-chip.cjs.entry.js +47 -0
  17. package/dist/cjs/ix-counter-pill.cjs.entry.js +40 -0
  18. package/dist/cjs/ix-date-picker_2.cjs.entry.js +9039 -0
  19. package/dist/cjs/ix-date-time-card.cjs.entry.js +36 -0
  20. package/dist/cjs/ix-datetime-picker.cjs.entry.js +113 -0
  21. package/dist/cjs/ix-drawer.cjs.entry.js +122 -0
  22. package/dist/cjs/ix-dropdown_2.cjs.entry.js +203 -0
  23. package/dist/cjs/ix-event-list_2.cjs.entry.js +151 -0
  24. package/dist/cjs/ix-expanding-search.cjs.entry.js +92 -0
  25. package/dist/cjs/ix-filter-chip.cjs.entry.js +30 -0
  26. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +79 -0
  27. package/dist/cjs/ix-group_3.cjs.entry.js +174 -0
  28. package/dist/cjs/ix-icon-button.cjs.entry.js +40 -0
  29. package/dist/cjs/ix-icon.cjs.entry.js +33 -0
  30. package/dist/cjs/ix-input-group.cjs.entry.js +40 -0
  31. package/dist/cjs/ix-kpi.cjs.entry.js +50 -0
  32. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +165 -0
  33. package/dist/cjs/ix-menu_9.cjs.entry.js +888 -0
  34. package/dist/cjs/ix-message-bar.cjs.entry.js +58 -0
  35. package/dist/cjs/ix-modal-example.cjs.entry.js +24 -0
  36. package/dist/cjs/ix-modal_2.cjs.entry.js +14 -0
  37. package/dist/cjs/ix-pill.cjs.entry.js +40 -0
  38. package/dist/cjs/ix-select_2.cjs.entry.js +309 -0
  39. package/dist/cjs/ix-spinner.cjs.entry.js +30 -0
  40. package/dist/cjs/ix-split-button_2.cjs.entry.js +114 -0
  41. package/dist/cjs/ix-tab-item.cjs.entry.js +67 -0
  42. package/dist/cjs/ix-tabs.cjs.entry.js +187 -0
  43. package/dist/cjs/ix-tile.cjs.entry.js +27 -0
  44. package/dist/cjs/ix-toast_2.cjs.entry.js +159 -0
  45. package/dist/cjs/ix-toggle.cjs.entry.js +82 -0
  46. package/dist/cjs/ix-tree_2.cjs.entry.js +690 -0
  47. package/dist/cjs/ix-upload.cjs.entry.js +139 -0
  48. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +107 -0
  49. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +191 -0
  50. package/dist/cjs/loader.cjs.js +21 -0
  51. package/dist/cjs/logical-filter-operator-467e2faf.js +35 -0
  52. package/dist/cjs/modal-5be2b1a3.js +221 -0
  53. package/dist/cjs/modal-utils-5d7bb217.js +42 -0
  54. package/dist/cjs/mutation-observer-29bedada.js +13 -0
  55. package/dist/cjs/my-component.cjs.entry.js +19 -0
  56. package/dist/cjs/popper-d7a0f999.js +1801 -0
  57. package/dist/cjs/rwd.util-482d41d4.js +42 -0
  58. package/dist/cjs/siemens-ix.cjs.js +19 -0
  59. package/dist/cjs/typed-event-8f5a32a2.js +46 -0
  60. package/dist/cjs/upload-file-state-923b2c65.js +17 -0
  61. package/dist/collection/collection-manifest.json +264 -0
  62. package/dist/collection/components/animated-tab/animated-tab.css +14 -0
  63. package/dist/collection/components/animated-tab/animated-tab.js +59 -0
  64. package/dist/collection/components/animated-tabs/animated-tabs.css +158 -0
  65. package/dist/collection/components/animated-tabs/animated-tabs.js +303 -0
  66. package/dist/collection/components/application-header/application-header.css +30 -0
  67. package/dist/collection/components/application-header/application-header.js +56 -0
  68. package/dist/collection/components/basic-navigation/basic-navigation.css +29 -0
  69. package/dist/collection/components/basic-navigation/basic-navigation.js +91 -0
  70. package/dist/collection/components/blind/blind.css +146 -0
  71. package/dist/collection/components/blind/blind.js +152 -0
  72. package/dist/collection/components/breadcrumb/breadcrumb.css +228 -0
  73. package/dist/collection/components/breadcrumb/breadcrumb.js +252 -0
  74. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +11 -0
  75. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +59 -0
  76. package/dist/collection/components/button/base-button.js +29 -0
  77. package/dist/collection/components/button/button.css +15 -0
  78. package/dist/collection/components/button/button.js +192 -0
  79. package/dist/collection/components/category-filter/category-filter.css +188 -0
  80. package/dist/collection/components/category-filter/category-filter.js +704 -0
  81. package/dist/collection/components/category-filter/filter-state.js +10 -0
  82. package/dist/collection/components/category-filter/input-state.js +17 -0
  83. package/dist/collection/components/category-filter/logical-filter-operator.js +13 -0
  84. package/dist/collection/components/chip/chip.css +475 -0
  85. package/dist/collection/components/chip/chip.js +197 -0
  86. package/dist/collection/components/counter-pill/counter-pill.css +313 -0
  87. package/dist/collection/components/counter-pill/counter-pill.js +137 -0
  88. package/dist/collection/components/date-picker/date-picker.css +224 -0
  89. package/dist/collection/components/date-picker/date-picker.js +679 -0
  90. package/dist/collection/components/date-picker/events.js +1 -0
  91. package/dist/collection/components/date-time-card/date-time-card.css +51 -0
  92. package/dist/collection/components/date-time-card/date-time-card.js +89 -0
  93. package/dist/collection/components/datetime-picker/datetime-picker.css +44 -0
  94. package/dist/collection/components/datetime-picker/datetime-picker.js +501 -0
  95. package/dist/collection/components/datetime-picker/event.js +9 -0
  96. package/dist/collection/components/drawer/drawer.css +78 -0
  97. package/dist/collection/components/drawer/drawer.js +300 -0
  98. package/dist/collection/components/dropdown/dropdown.css +536 -0
  99. package/dist/collection/components/dropdown/dropdown.js +392 -0
  100. package/dist/collection/components/dropdown-item/dropdown-item.css +61 -0
  101. package/dist/collection/components/dropdown-item/dropdown-item.js +187 -0
  102. package/dist/collection/components/event-list/event-list.css +58 -0
  103. package/dist/collection/components/event-list/event-list.js +197 -0
  104. package/dist/collection/components/event-list-item/event-list-item.css +126 -0
  105. package/dist/collection/components/event-list-item/event-list-item.js +162 -0
  106. package/dist/collection/components/expanding-search/expanding-search.css +127 -0
  107. package/dist/collection/components/expanding-search/expanding-search.js +178 -0
  108. package/dist/collection/components/filter-chip/filter-chip.css +82 -0
  109. package/dist/collection/components/filter-chip/filter-chip.js +74 -0
  110. package/dist/collection/components/flip-tile/flip-tile-state.js +16 -0
  111. package/dist/collection/components/flip-tile/flip-tile.css +143 -0
  112. package/dist/collection/components/flip-tile/flip-tile.js +125 -0
  113. package/dist/collection/components/flip-tile-content/flip-tile-content.css +12 -0
  114. package/dist/collection/components/flip-tile-content/flip-tile-content.js +23 -0
  115. package/dist/collection/components/group/group.css +170 -0
  116. package/dist/collection/components/group/group.js +329 -0
  117. package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +11 -0
  118. package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +60 -0
  119. package/dist/collection/components/group-item/group-item.css +116 -0
  120. package/dist/collection/components/group-item/group-item.js +200 -0
  121. package/dist/collection/components/icon/icon.css +45 -0
  122. package/dist/collection/components/icon/icon.js +91 -0
  123. package/dist/collection/components/icon-button/icon-button.js +242 -0
  124. package/dist/collection/components/input-group/input-group.css +27 -0
  125. package/dist/collection/components/input-group/input-group.js +48 -0
  126. package/dist/collection/components/kpi/kpi.css +131 -0
  127. package/dist/collection/components/kpi/kpi.js +151 -0
  128. package/dist/collection/components/map-navigation/map-navigation.css +161 -0
  129. package/dist/collection/components/map-navigation/map-navigation.js +328 -0
  130. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +237 -0
  131. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +105 -0
  132. package/dist/collection/components/menu/menu.css +128 -0
  133. package/dist/collection/components/menu/menu.js +988 -0
  134. package/dist/collection/components/menu-about/menu-about.css +207 -0
  135. package/dist/collection/components/menu-about/menu-about.js +167 -0
  136. package/dist/collection/components/menu-about-item/menu-about-item.css +12 -0
  137. package/dist/collection/components/menu-about-item/menu-about-item.js +42 -0
  138. package/dist/collection/components/menu-about-news/menu-about-news.css +99 -0
  139. package/dist/collection/components/menu-about-news/menu-about-news.js +204 -0
  140. package/dist/collection/components/menu-avatar/menu-avatar.css +91 -0
  141. package/dist/collection/components/menu-avatar/menu-avatar.js +136 -0
  142. package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +12 -0
  143. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +79 -0
  144. package/dist/collection/components/menu-item/menu-item.css +143 -0
  145. package/dist/collection/components/menu-item/menu-item.js +166 -0
  146. package/dist/collection/components/menu-settings/menu-settings.css +204 -0
  147. package/dist/collection/components/menu-settings/menu-settings.js +151 -0
  148. package/dist/collection/components/menu-settings-item/menu-settings-item.css +13 -0
  149. package/dist/collection/components/menu-settings-item/menu-settings-item.js +42 -0
  150. package/dist/collection/components/message-bar/message-bar.css +68 -0
  151. package/dist/collection/components/message-bar/message-bar.js +125 -0
  152. package/dist/collection/components/modal/modal-utils.js +36 -0
  153. package/dist/collection/components/modal/modal.css +96 -0
  154. package/dist/collection/components/modal/modal.js +540 -0
  155. package/dist/collection/components/modal-container/modal-container.css +14 -0
  156. package/dist/collection/components/modal-container/modal-container.js +107 -0
  157. package/dist/collection/components/my-component/example-modal.js +31 -0
  158. package/dist/collection/components/my-component/my-component.css +34 -0
  159. package/dist/collection/components/my-component/my-component.js +22 -0
  160. package/dist/collection/components/pill/pill.css +269 -0
  161. package/dist/collection/components/pill/pill.js +155 -0
  162. package/dist/collection/components/select/select.css +176 -0
  163. package/dist/collection/components/select/select.js +509 -0
  164. package/dist/collection/components/select-item/select-item.css +14 -0
  165. package/dist/collection/components/select-item/select-item.js +169 -0
  166. package/dist/collection/components/spinner/spinner.css +42 -0
  167. package/dist/collection/components/spinner/spinner.js +137 -0
  168. package/dist/collection/components/split-button/split-button.css +11 -0
  169. package/dist/collection/components/split-button/split-button.js +310 -0
  170. package/dist/collection/components/split-button-item/split-button-item.css +12 -0
  171. package/dist/collection/components/split-button-item/split-button-item.js +79 -0
  172. package/dist/collection/components/tab-item/tab-item.css +195 -0
  173. package/dist/collection/components/tab-item/tab-item.js +219 -0
  174. package/dist/collection/components/tabs/tabs.css +84 -0
  175. package/dist/collection/components/tabs/tabs.js +305 -0
  176. package/dist/collection/components/tile/tile.css +92 -0
  177. package/dist/collection/components/tile/tile.js +60 -0
  178. package/dist/collection/components/time-picker/time-picker.css +94 -0
  179. package/dist/collection/components/time-picker/time-picker.js +431 -0
  180. package/dist/collection/components/toast/toast-container.js +170 -0
  181. package/dist/collection/components/toast/toast-utils.js +40 -0
  182. package/dist/collection/components/toast/toast.css +110 -0
  183. package/dist/collection/components/toast/toast.js +237 -0
  184. package/dist/collection/components/toggle/toggle.css +226 -0
  185. package/dist/collection/components/toggle/toggle.js +263 -0
  186. package/dist/collection/components/tree/tree-model.js +9 -0
  187. package/dist/collection/components/tree/tree.css +12 -0
  188. package/dist/collection/components/tree/tree.js +296 -0
  189. package/dist/collection/components/tree-item/default-tree-item.js +18 -0
  190. package/dist/collection/components/tree-item/tree-item.css +86 -0
  191. package/dist/collection/components/tree-item/tree-item.js +124 -0
  192. package/dist/collection/components/upload/upload-file-state.js +15 -0
  193. package/dist/collection/components/upload/upload.css +120 -0
  194. package/dist/collection/components/upload/upload.js +413 -0
  195. package/dist/collection/components/utils/animation.js +15 -0
  196. package/dist/collection/components/utils/button-variants.js +9 -0
  197. package/dist/collection/components/utils/mutation-observer.js +9 -0
  198. package/dist/collection/components/utils/notification-color.js +9 -0
  199. package/dist/collection/components/utils/popover.util.js +33 -0
  200. package/dist/collection/components/utils/rwd.util.js +37 -0
  201. package/dist/collection/components/utils/toggle-theme.js +24 -0
  202. package/dist/collection/components/utils/typed-event.js +42 -0
  203. package/dist/collection/components/validation-tooltip/validation-tooltip.css +236 -0
  204. package/dist/collection/components/validation-tooltip/validation-tooltip.js +167 -0
  205. package/dist/collection/components/workflow-step/workflow-step.css +131 -0
  206. package/dist/collection/components/workflow-step/workflow-step.js +249 -0
  207. package/dist/collection/components/workflow-steps/workflow-steps.css +29 -0
  208. package/dist/collection/components/workflow-steps/workflow-steps.js +182 -0
  209. package/dist/collection/env.js +9 -0
  210. package/dist/collection/exports.js +15 -0
  211. package/dist/collection/index.js +16 -0
  212. package/dist/collection/utils/test/index.js +9 -0
  213. package/dist/collection/utils/test/page.js +29 -0
  214. package/dist/components/_commonjsHelpers.js +19 -0
  215. package/dist/components/animation.js +17 -0
  216. package/dist/components/anime.es.js +1309 -0
  217. package/dist/components/application-header.js +43 -0
  218. package/dist/components/base-button.js +31 -0
  219. package/dist/components/button.js +68 -0
  220. package/dist/components/date-picker.js +385 -0
  221. package/dist/components/date-time-card.js +49 -0
  222. package/dist/components/default-tree-item.js +20 -0
  223. package/dist/components/dropdown-item.js +73 -0
  224. package/dist/components/dropdown.js +181 -0
  225. package/dist/components/filter-chip.js +48 -0
  226. package/dist/components/flip-tile-state.js +18 -0
  227. package/dist/components/group-item.js +63 -0
  228. package/dist/components/icon-button.js +68 -0
  229. package/dist/components/icon.js +47 -0
  230. package/dist/components/index.d.ts +26 -0
  231. package/dist/components/index.js +62 -0
  232. package/dist/components/ix-animated-tab.d.ts +11 -0
  233. package/dist/components/ix-animated-tab.js +35 -0
  234. package/dist/components/ix-animated-tabs.d.ts +11 -0
  235. package/dist/components/ix-animated-tabs.js +229 -0
  236. package/dist/components/ix-application-header.d.ts +11 -0
  237. package/dist/components/ix-application-header.js +6 -0
  238. package/dist/components/ix-basic-navigation.d.ts +11 -0
  239. package/dist/components/ix-basic-navigation.js +66 -0
  240. package/dist/components/ix-blind.d.ts +11 -0
  241. package/dist/components/ix-blind.js +105 -0
  242. package/dist/components/ix-breadcrumb-item.d.ts +11 -0
  243. package/dist/components/ix-breadcrumb-item.js +35 -0
  244. package/dist/components/ix-breadcrumb.d.ts +11 -0
  245. package/dist/components/ix-breadcrumb.js +180 -0
  246. package/dist/components/ix-button.d.ts +11 -0
  247. package/dist/components/ix-button.js +6 -0
  248. package/dist/components/ix-category-filter.d.ts +11 -0
  249. package/dist/components/ix-category-filter.js +447 -0
  250. package/dist/components/ix-chip.d.ts +11 -0
  251. package/dist/components/ix-chip.js +74 -0
  252. package/dist/components/ix-counter-pill.d.ts +11 -0
  253. package/dist/components/ix-counter-pill.js +59 -0
  254. package/dist/components/ix-date-picker.d.ts +11 -0
  255. package/dist/components/ix-date-picker.js +6 -0
  256. package/dist/components/ix-date-time-card.d.ts +11 -0
  257. package/dist/components/ix-date-time-card.js +6 -0
  258. package/dist/components/ix-datetime-picker.d.ts +11 -0
  259. package/dist/components/ix-datetime-picker.js +184 -0
  260. package/dist/components/ix-drawer.d.ts +11 -0
  261. package/dist/components/ix-drawer.js +155 -0
  262. package/dist/components/ix-dropdown-item.d.ts +11 -0
  263. package/dist/components/ix-dropdown-item.js +6 -0
  264. package/dist/components/ix-dropdown.d.ts +11 -0
  265. package/dist/components/ix-dropdown.js +6 -0
  266. package/dist/components/ix-event-list-item.d.ts +11 -0
  267. package/dist/components/ix-event-list-item.js +59 -0
  268. package/dist/components/ix-event-list.d.ts +11 -0
  269. package/dist/components/ix-event-list.js +135 -0
  270. package/dist/components/ix-expanding-search.d.ts +11 -0
  271. package/dist/components/ix-expanding-search.js +124 -0
  272. package/dist/components/ix-filter-chip.d.ts +11 -0
  273. package/dist/components/ix-filter-chip.js +6 -0
  274. package/dist/components/ix-flip-tile-content.d.ts +11 -0
  275. package/dist/components/ix-flip-tile-content.js +33 -0
  276. package/dist/components/ix-flip-tile.d.ts +11 -0
  277. package/dist/components/ix-flip-tile.js +96 -0
  278. package/dist/components/ix-group-dropdown-item.d.ts +11 -0
  279. package/dist/components/ix-group-dropdown-item.js +47 -0
  280. package/dist/components/ix-group-item.d.ts +11 -0
  281. package/dist/components/ix-group-item.js +6 -0
  282. package/dist/components/ix-group.d.ts +11 -0
  283. package/dist/components/ix-group.js +174 -0
  284. package/dist/components/ix-icon-button.d.ts +11 -0
  285. package/dist/components/ix-icon-button.js +6 -0
  286. package/dist/components/ix-icon.d.ts +11 -0
  287. package/dist/components/ix-icon.js +6 -0
  288. package/dist/components/ix-input-group.d.ts +11 -0
  289. package/dist/components/ix-input-group.js +53 -0
  290. package/dist/components/ix-kpi.d.ts +11 -0
  291. package/dist/components/ix-kpi.js +75 -0
  292. package/dist/components/ix-map-navigation-overlay.d.ts +11 -0
  293. package/dist/components/ix-map-navigation-overlay.js +6 -0
  294. package/dist/components/ix-map-navigation.d.ts +11 -0
  295. package/dist/components/ix-map-navigation.js +182 -0
  296. package/dist/components/ix-menu-about-item.d.ts +11 -0
  297. package/dist/components/ix-menu-about-item.js +34 -0
  298. package/dist/components/ix-menu-about-news.d.ts +11 -0
  299. package/dist/components/ix-menu-about-news.js +78 -0
  300. package/dist/components/ix-menu-about.d.ts +11 -0
  301. package/dist/components/ix-menu-about.js +120 -0
  302. package/dist/components/ix-menu-avatar-item.d.ts +11 -0
  303. package/dist/components/ix-menu-avatar-item.js +6 -0
  304. package/dist/components/ix-menu-avatar.d.ts +11 -0
  305. package/dist/components/ix-menu-avatar.js +83 -0
  306. package/dist/components/ix-menu-item.d.ts +11 -0
  307. package/dist/components/ix-menu-item.js +6 -0
  308. package/dist/components/ix-menu-settings-item.d.ts +11 -0
  309. package/dist/components/ix-menu-settings-item.js +34 -0
  310. package/dist/components/ix-menu-settings.d.ts +11 -0
  311. package/dist/components/ix-menu-settings.js +107 -0
  312. package/dist/components/ix-menu.d.ts +11 -0
  313. package/dist/components/ix-menu.js +619 -0
  314. package/dist/components/ix-message-bar.d.ts +11 -0
  315. package/dist/components/ix-message-bar.js +88 -0
  316. package/dist/components/ix-modal-container.d.ts +11 -0
  317. package/dist/components/ix-modal-container.js +6 -0
  318. package/dist/components/ix-modal-example.d.ts +11 -0
  319. package/dist/components/ix-modal-example.js +67 -0
  320. package/dist/components/ix-modal.d.ts +11 -0
  321. package/dist/components/ix-modal.js +6 -0
  322. package/dist/components/ix-pill.d.ts +11 -0
  323. package/dist/components/ix-pill.js +66 -0
  324. package/dist/components/ix-select-item.d.ts +11 -0
  325. package/dist/components/ix-select-item.js +6 -0
  326. package/dist/components/ix-select.d.ts +11 -0
  327. package/dist/components/ix-select.js +339 -0
  328. package/dist/components/ix-spinner.d.ts +11 -0
  329. package/dist/components/ix-spinner.js +6 -0
  330. package/dist/components/ix-split-button-item.d.ts +11 -0
  331. package/dist/components/ix-split-button-item.js +49 -0
  332. package/dist/components/ix-split-button.d.ts +11 -0
  333. package/dist/components/ix-split-button.js +135 -0
  334. package/dist/components/ix-tab-item.d.ts +11 -0
  335. package/dist/components/ix-tab-item.js +6 -0
  336. package/dist/components/ix-tabs.d.ts +11 -0
  337. package/dist/components/ix-tabs.js +6 -0
  338. package/dist/components/ix-tile.d.ts +11 -0
  339. package/dist/components/ix-tile.js +42 -0
  340. package/dist/components/ix-time-picker.d.ts +11 -0
  341. package/dist/components/ix-time-picker.js +6 -0
  342. package/dist/components/ix-toast-container.d.ts +11 -0
  343. package/dist/components/ix-toast-container.js +110 -0
  344. package/dist/components/ix-toast.d.ts +11 -0
  345. package/dist/components/ix-toast.js +6 -0
  346. package/dist/components/ix-toggle.d.ts +11 -0
  347. package/dist/components/ix-toggle.js +104 -0
  348. package/dist/components/ix-tree-item.d.ts +11 -0
  349. package/dist/components/ix-tree-item.js +6 -0
  350. package/dist/components/ix-tree.d.ts +11 -0
  351. package/dist/components/ix-tree.js +694 -0
  352. package/dist/components/ix-upload.d.ts +11 -0
  353. package/dist/components/ix-upload.js +178 -0
  354. package/dist/components/ix-validation-tooltip.d.ts +11 -0
  355. package/dist/components/ix-validation-tooltip.js +124 -0
  356. package/dist/components/ix-workflow-step.d.ts +11 -0
  357. package/dist/components/ix-workflow-step.js +142 -0
  358. package/dist/components/ix-workflow-steps.d.ts +11 -0
  359. package/dist/components/ix-workflow-steps.js +101 -0
  360. package/dist/components/logical-filter-operator.js +33 -0
  361. package/dist/components/luxon.js +8584 -0
  362. package/dist/components/map-navigation-overlay.js +53 -0
  363. package/dist/components/menu-avatar-item.js +46 -0
  364. package/dist/components/menu-item.js +65 -0
  365. package/dist/components/modal-container.js +99 -0
  366. package/dist/components/modal-utils.js +38 -0
  367. package/dist/components/modal.js +189 -0
  368. package/dist/components/mutation-observer.js +11 -0
  369. package/dist/components/my-component.d.ts +11 -0
  370. package/dist/components/my-component.js +32 -0
  371. package/dist/components/popover.util.js +36 -0
  372. package/dist/components/popper.js +1799 -0
  373. package/dist/components/rwd.util.js +39 -0
  374. package/dist/components/select-item.js +71 -0
  375. package/dist/components/spinner.js +43 -0
  376. package/dist/components/tab-item.js +86 -0
  377. package/dist/components/tabs.js +207 -0
  378. package/dist/components/time-picker.js +193 -0
  379. package/dist/components/toast.js +123 -0
  380. package/dist/components/tree-item.js +52 -0
  381. package/dist/components/typed-event.js +44 -0
  382. package/dist/components/upload-file-state.js +17 -0
  383. package/dist/esm/_commonjsHelpers-4bc7200a.js +19 -0
  384. package/dist/esm/animation-b667a4c4.js +17 -0
  385. package/dist/esm/anime.es-185e9087.js +1309 -0
  386. package/dist/esm/base-button-7bfb747f.js +31 -0
  387. package/dist/esm/default-tree-item-638c435a.js +20 -0
  388. package/dist/esm/flip-tile-state-28a1f8ce.js +18 -0
  389. package/dist/esm/index-55cfd20d.js +1819 -0
  390. package/dist/esm/index.js +64 -0
  391. package/dist/esm/ix-animated-tab_2.entry.js +212 -0
  392. package/dist/esm/ix-application-header.entry.js +26 -0
  393. package/dist/esm/ix-basic-navigation.entry.js +40 -0
  394. package/dist/esm/ix-blind.entry.js +85 -0
  395. package/dist/esm/ix-breadcrumb_2.entry.js +150 -0
  396. package/dist/esm/ix-button.entry.js +46 -0
  397. package/dist/esm/ix-category-filter.entry.js +395 -0
  398. package/dist/esm/ix-chip.entry.js +43 -0
  399. package/dist/esm/ix-counter-pill.entry.js +36 -0
  400. package/dist/esm/ix-date-picker_2.entry.js +9034 -0
  401. package/dist/esm/ix-date-time-card.entry.js +32 -0
  402. package/dist/esm/ix-datetime-picker.entry.js +109 -0
  403. package/dist/esm/ix-drawer.entry.js +118 -0
  404. package/dist/esm/ix-dropdown_2.entry.js +198 -0
  405. package/dist/esm/ix-event-list_2.entry.js +146 -0
  406. package/dist/esm/ix-expanding-search.entry.js +88 -0
  407. package/dist/esm/ix-filter-chip.entry.js +26 -0
  408. package/dist/esm/ix-flip-tile_2.entry.js +74 -0
  409. package/dist/esm/ix-group_3.entry.js +168 -0
  410. package/dist/esm/ix-icon-button.entry.js +36 -0
  411. package/dist/esm/ix-icon.entry.js +29 -0
  412. package/dist/esm/ix-input-group.entry.js +36 -0
  413. package/dist/esm/ix-kpi.entry.js +46 -0
  414. package/dist/esm/ix-map-navigation_2.entry.js +160 -0
  415. package/dist/esm/ix-menu_9.entry.js +876 -0
  416. package/dist/esm/ix-message-bar.entry.js +54 -0
  417. package/dist/esm/ix-modal-example.entry.js +20 -0
  418. package/dist/esm/ix-modal_2.entry.js +5 -0
  419. package/dist/esm/ix-pill.entry.js +36 -0
  420. package/dist/esm/ix-select_2.entry.js +304 -0
  421. package/dist/esm/ix-spinner.entry.js +26 -0
  422. package/dist/esm/ix-split-button_2.entry.js +109 -0
  423. package/dist/esm/ix-tab-item.entry.js +63 -0
  424. package/dist/esm/ix-tabs.entry.js +183 -0
  425. package/dist/esm/ix-tile.entry.js +23 -0
  426. package/dist/esm/ix-toast_2.entry.js +154 -0
  427. package/dist/esm/ix-toggle.entry.js +78 -0
  428. package/dist/esm/ix-tree_2.entry.js +685 -0
  429. package/dist/esm/ix-upload.entry.js +135 -0
  430. package/dist/esm/ix-validation-tooltip.entry.js +103 -0
  431. package/dist/esm/ix-workflow-step_2.entry.js +186 -0
  432. package/dist/esm/loader.js +17 -0
  433. package/dist/esm/logical-filter-operator-1bf83315.js +33 -0
  434. package/dist/esm/modal-8ed87a6c.js +218 -0
  435. package/dist/esm/modal-utils-ec39c1bc.js +38 -0
  436. package/dist/esm/mutation-observer-379959bb.js +11 -0
  437. package/dist/esm/my-component.entry.js +15 -0
  438. package/dist/esm/polyfills/core-js.js +11 -0
  439. package/dist/esm/polyfills/css-shim.js +1 -0
  440. package/dist/esm/polyfills/dom.js +79 -0
  441. package/dist/esm/polyfills/es5-html-element.js +1 -0
  442. package/dist/esm/polyfills/index.js +34 -0
  443. package/dist/esm/polyfills/system.js +6 -0
  444. package/dist/esm/popper-42db9fbd.js +1799 -0
  445. package/dist/esm/rwd.util-33a69d24.js +39 -0
  446. package/dist/esm/siemens-ix.js +17 -0
  447. package/dist/esm/typed-event-dd6c83dd.js +44 -0
  448. package/dist/esm/upload-file-state-631bb8a2.js +17 -0
  449. package/dist/index.cjs.js +1 -0
  450. package/dist/index.js +1 -0
  451. package/dist/siemens-ix/index.esm.js +1 -0
  452. package/dist/siemens-ix/p-02501b64.entry.js +1 -0
  453. package/dist/siemens-ix/p-03ef9fe5.entry.js +1 -0
  454. package/dist/siemens-ix/p-0a12b3df.js +1 -0
  455. package/dist/siemens-ix/p-0bf04780.js +1 -0
  456. package/dist/siemens-ix/p-0e315bd7.entry.js +1 -0
  457. package/dist/siemens-ix/p-1c82637e.js +1 -0
  458. package/dist/siemens-ix/p-1d30454e.js +1 -0
  459. package/dist/siemens-ix/p-1d56d9b6.entry.js +1 -0
  460. package/dist/siemens-ix/p-235606b2.entry.js +1 -0
  461. package/dist/siemens-ix/p-2b7ed5d4.entry.js +1 -0
  462. package/dist/siemens-ix/p-301ddeb7.js +1 -0
  463. package/dist/siemens-ix/p-334b7d5c.entry.js +1 -0
  464. package/dist/siemens-ix/p-37417714.js +1 -0
  465. package/dist/siemens-ix/p-3f809fb3.entry.js +1 -0
  466. package/dist/siemens-ix/p-4287bd7e.entry.js +1 -0
  467. package/dist/siemens-ix/p-47ea9884.js +1 -0
  468. package/dist/siemens-ix/p-52d99490.entry.js +1 -0
  469. package/dist/siemens-ix/p-5a1dcc74.js +1 -0
  470. package/dist/siemens-ix/p-5f9f25ef.entry.js +1 -0
  471. package/dist/siemens-ix/p-5fed62f8.entry.js +1 -0
  472. package/dist/siemens-ix/p-6726f740.entry.js +1 -0
  473. package/dist/siemens-ix/p-67c2bca6.entry.js +1 -0
  474. package/dist/siemens-ix/p-6f625f0e.js +1 -0
  475. package/dist/siemens-ix/p-71de6498.entry.js +1 -0
  476. package/dist/siemens-ix/p-77823732.entry.js +1 -0
  477. package/dist/siemens-ix/p-78df1e46.entry.js +1 -0
  478. package/dist/siemens-ix/p-7d667916.entry.js +1 -0
  479. package/dist/siemens-ix/p-7f5a2e3c.entry.js +1 -0
  480. package/dist/siemens-ix/p-810b5232.js +1 -0
  481. package/dist/siemens-ix/p-81e46337.entry.js +1 -0
  482. package/dist/siemens-ix/p-8239c3a1.entry.js +1 -0
  483. package/dist/siemens-ix/p-893b7bf6.entry.js +1 -0
  484. package/dist/siemens-ix/p-94b86dec.entry.js +1 -0
  485. package/dist/siemens-ix/p-a49005f3.entry.js +1 -0
  486. package/dist/siemens-ix/p-a8396077.entry.js +1 -0
  487. package/dist/siemens-ix/p-ab715295.entry.js +1 -0
  488. package/dist/siemens-ix/p-b4003026.entry.js +1 -0
  489. package/dist/siemens-ix/p-b93c2fab.entry.js +1 -0
  490. package/dist/siemens-ix/p-bd15d8ca.entry.js +1 -0
  491. package/dist/siemens-ix/p-bdd294d2.js +1 -0
  492. package/dist/siemens-ix/p-be1ec062.entry.js +1 -0
  493. package/dist/siemens-ix/p-bf5513a0.entry.js +1 -0
  494. package/dist/siemens-ix/p-c0c9fb81.entry.js +1 -0
  495. package/dist/siemens-ix/p-c3738ffc.entry.js +1 -0
  496. package/dist/siemens-ix/p-c792adb4.entry.js +1 -0
  497. package/dist/siemens-ix/p-c9a5d942.entry.js +1 -0
  498. package/dist/siemens-ix/p-cb6e62ff.entry.js +1 -0
  499. package/dist/siemens-ix/p-cbd0f8a7.entry.js +1 -0
  500. package/dist/siemens-ix/p-d23706a7.js +1 -0
  501. package/dist/siemens-ix/p-d2fc562a.entry.js +1 -0
  502. package/dist/siemens-ix/p-da2cae32.js +1 -0
  503. package/dist/siemens-ix/p-df43662b.entry.js +1 -0
  504. package/dist/siemens-ix/p-f2636faf.entry.js +1 -0
  505. package/dist/siemens-ix/p-f86fcdf4.js +1 -0
  506. package/dist/siemens-ix/p-fa44655a.entry.js +1 -0
  507. package/dist/siemens-ix/p-fbe40498.js +1 -0
  508. package/dist/siemens-ix/p-fe5db4d1.entry.js +1 -0
  509. package/dist/siemens-ix/siemens-ix.css +19249 -0
  510. package/dist/siemens-ix/siemens-ix.esm.js +1 -0
  511. package/dist/types/components/animated-tab/animated-tab.d.ts +11 -0
  512. package/dist/types/components/animated-tabs/animated-tabs.d.ts +44 -0
  513. package/dist/types/components/application-header/application-header.d.ts +10 -0
  514. package/dist/types/components/basic-navigation/basic-navigation.d.ts +16 -0
  515. package/dist/types/components/blind/blind.d.ts +26 -0
  516. package/dist/types/components/breadcrumb/breadcrumb.d.ts +48 -0
  517. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +11 -0
  518. package/dist/types/components/button/base-button.d.ts +13 -0
  519. package/dist/types/components/button/button.d.ts +34 -0
  520. package/dist/types/components/category-filter/category-filter.d.ts +129 -0
  521. package/dist/types/components/category-filter/filter-state.d.ts +9 -0
  522. package/dist/types/components/category-filter/input-state.d.ts +6 -0
  523. package/dist/types/components/category-filter/logical-filter-operator.d.ts +4 -0
  524. package/dist/types/components/chip/chip.d.ts +38 -0
  525. package/dist/types/components/counter-pill/counter-pill.d.ts +24 -0
  526. package/dist/types/components/date-picker/date-picker.d.ts +136 -0
  527. package/dist/types/components/date-picker/events.d.ts +5 -0
  528. package/dist/types/components/date-time-card/date-time-card.d.ts +14 -0
  529. package/dist/types/components/datetime-picker/datetime-picker.d.ts +128 -0
  530. package/dist/types/components/datetime-picker/event.d.ts +5 -0
  531. package/dist/types/components/drawer/drawer.d.ts +49 -0
  532. package/dist/types/components/dropdown/dropdown.d.ts +70 -0
  533. package/dist/types/components/dropdown-item/dropdown-item.d.ts +33 -0
  534. package/dist/types/components/event-list/event-list.d.ts +31 -0
  535. package/dist/types/components/event-list-item/event-list-item.d.ts +34 -0
  536. package/dist/types/components/expanding-search/expanding-search.d.ts +31 -0
  537. package/dist/types/components/filter-chip/filter-chip.d.ts +14 -0
  538. package/dist/types/components/flip-tile/flip-tile-state.d.ts +7 -0
  539. package/dist/types/components/flip-tile/flip-tile.d.ts +22 -0
  540. package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
  541. package/dist/types/components/group/group.d.ts +59 -0
  542. package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +11 -0
  543. package/dist/types/components/group-item/group-item.d.ts +39 -0
  544. package/dist/types/components/icon/icon.d.ts +15 -0
  545. package/dist/types/components/icon-button/icon-button.d.ts +51 -0
  546. package/dist/types/components/input-group/input-group.d.ts +5 -0
  547. package/dist/types/components/kpi/kpi.d.ts +25 -0
  548. package/dist/types/components/map-navigation/map-navigation.d.ts +51 -0
  549. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +20 -0
  550. package/dist/types/components/menu/menu.d.ts +145 -0
  551. package/dist/types/components/menu-about/menu-about.d.ts +31 -0
  552. package/dist/types/components/menu-about-item/menu-about-item.d.ts +7 -0
  553. package/dist/types/components/menu-about-news/menu-about-news.d.ts +36 -0
  554. package/dist/types/components/menu-avatar/menu-avatar.d.ts +26 -0
  555. package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +17 -0
  556. package/dist/types/components/menu-item/menu-item.d.ts +31 -0
  557. package/dist/types/components/menu-settings/menu-settings.d.ts +27 -0
  558. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +7 -0
  559. package/dist/types/components/message-bar/message-bar.d.ts +23 -0
  560. package/dist/types/components/modal/modal-utils.d.ts +26 -0
  561. package/dist/types/components/modal/modal.d.ts +99 -0
  562. package/dist/types/components/modal-container/modal-container.d.ts +15 -0
  563. package/dist/types/components/my-component/example-modal.d.ts +6 -0
  564. package/dist/types/components/my-component/my-component.d.ts +3 -0
  565. package/dist/types/components/pill/pill.d.ts +28 -0
  566. package/dist/types/components/select/select.d.ts +83 -0
  567. package/dist/types/components/select-item/select-item.d.ts +31 -0
  568. package/dist/types/components/spinner/spinner.d.ts +11 -0
  569. package/dist/types/components/split-button/split-button.d.ts +57 -0
  570. package/dist/types/components/split-button-item/split-button-item.d.ts +17 -0
  571. package/dist/types/components/tab-item/tab-item.d.ts +36 -0
  572. package/dist/types/components/tabs/tabs.d.ts +46 -0
  573. package/dist/types/components/tile/tile.d.ts +7 -0
  574. package/dist/types/components/time-picker/time-picker.d.ts +80 -0
  575. package/dist/types/components/toast/toast-container.d.ts +25 -0
  576. package/dist/types/components/toast/toast-utils.d.ts +33 -0
  577. package/dist/types/components/toast/toast.d.ts +39 -0
  578. package/dist/types/components/toggle/toggle.d.ts +45 -0
  579. package/dist/types/components/tree/tree-model.d.ts +17 -0
  580. package/dist/types/components/tree/tree.d.ts +44 -0
  581. package/dist/types/components/tree-item/default-tree-item.d.ts +6 -0
  582. package/dist/types/components/tree-item/tree-item.d.ts +25 -0
  583. package/dist/types/components/upload/upload-file-state.d.ts +6 -0
  584. package/dist/types/components/upload/upload.d.ts +70 -0
  585. package/dist/types/components/utils/animation.d.ts +7 -0
  586. package/dist/types/components/utils/button-variants.d.ts +1 -0
  587. package/dist/types/components/utils/mutation-observer.d.ts +1 -0
  588. package/dist/types/components/utils/notification-color.d.ts +4 -0
  589. package/dist/types/components/utils/popover.util.d.ts +9 -0
  590. package/dist/types/components/utils/rwd.util.d.ts +2 -0
  591. package/dist/types/components/utils/toggle-theme.d.ts +1 -0
  592. package/dist/types/components/utils/typed-event.d.ts +15 -0
  593. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +31 -0
  594. package/dist/types/components/workflow-step/workflow-step.d.ts +35 -0
  595. package/dist/types/components/workflow-steps/workflow-steps.d.ts +29 -0
  596. package/dist/types/components.d.ts +3689 -0
  597. package/dist/types/env.d.ts +1 -0
  598. package/dist/types/exports.d.ts +7 -0
  599. package/dist/types/index.d.ts +11 -0
  600. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  601. package/dist/types/utils/test/index.d.ts +1 -0
  602. package/dist/types/utils/test/page.d.ts +3 -0
  603. package/loader/cdn.js +3 -0
  604. package/loader/index.cjs.js +3 -0
  605. package/loader/index.d.ts +12 -0
  606. package/loader/index.es2017.js +3 -0
  607. package/loader/index.js +4 -0
  608. package/loader/package.json +10 -0
  609. package/package.json +1 -1
@@ -0,0 +1,39 @@
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
+ const convertToRemString = (value) => {
10
+ const valueRem = value / 16;
11
+ return `${valueRem}rem`;
12
+ };
13
+ const convertToAbbreviationString = (num) => {
14
+ if (isNaN(num) || num === null || num === undefined) {
15
+ return '';
16
+ }
17
+ let unit = '';
18
+ // Metric Units
19
+ const units = [
20
+ { unit: 'q', value: Math.pow(10, 15) },
21
+ { unit: 't', value: Math.pow(10, 12) },
22
+ { unit: 'B', value: Math.pow(10, 9) },
23
+ { unit: 'M', value: Math.pow(10, 6) },
24
+ { unit: 'K', value: Math.pow(10, 3) }, // 1000
25
+ ];
26
+ units.some(pow => {
27
+ let formattedNum = Math.abs(num);
28
+ if (formattedNum >= pow.value) {
29
+ formattedNum /= pow.value;
30
+ num = Math.round(formattedNum * 10) / 10;
31
+ unit = pow.unit;
32
+ return true;
33
+ }
34
+ return false;
35
+ });
36
+ return num + unit;
37
+ };
38
+
39
+ export { convertToRemString as a, convertToAbbreviationString as c };
@@ -0,0 +1,17 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-55cfd20d.js';
2
+
3
+ /*
4
+ Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
5
+ */
6
+ const patchBrowser = () => {
7
+ const importMeta = import.meta.url;
8
+ const opts = {};
9
+ if (importMeta !== '') {
10
+ opts.resourcesUrl = new URL('.', importMeta).href;
11
+ }
12
+ return promiseResolve(opts);
13
+ };
14
+
15
+ patchBrowser().then(options => {
16
+ return bootstrapLazy(JSON.parse("[[\"ix-icon\",[[6,\"ix-icon\",{\"size\":[1],\"color\":[1],\"name\":[513]}]]],[\"ix-datetime-picker\",[[2,\"ix-datetime-picker\",{\"range\":[4],\"showHour\":[4,\"show-hour\"],\"showMinutes\":[4,\"show-minutes\"],\"showSeconds\":[4,\"show-seconds\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"dateFormat\":[1,\"date-format\"],\"timeFormat\":[1,\"time-format\"],\"from\":[1],\"to\":[1],\"time\":[1],\"showTimeReference\":[8,\"show-time-reference\"],\"eventDelimiter\":[1,\"event-delimiter\"],\"timeReference\":[1,\"time-reference\"],\"textSelectDate\":[1,\"text-select-date\"]}]]],[\"ix-modal-example\",[[0,\"ix-modal-example\"]]],[\"ix-split-button_2\",[[6,\"ix-split-button\",{\"variant\":[1],\"outline\":[4],\"invisible\":[4],\"ghost\":[4],\"label\":[1],\"icon\":[1],\"splitIcon\":[1,\"split-icon\"],\"disabled\":[4],\"placement\":[1],\"toggle\":[32]}],[2,\"ix-split-button-item\",{\"icon\":[1],\"label\":[1]}]]],[\"ix-breadcrumb_2\",[[6,\"ix-breadcrumb\",{\"visibleItemCount\":[2,\"visible-item-count\"],\"nextItems\":[16],\"ghost\":[4],\"previousButtonRef\":[32],\"nextButtonRef\":[32],\"items\":[32]}],[6,\"ix-breadcrumb-item\",{\"label\":[1],\"icon\":[1]}]]],[\"ix-flip-tile_2\",[[6,\"ix-flip-tile\",{\"state\":[1],\"footer\":[1],\"index\":[32],\"isFlipAnimationActive\":[32]}],[1,\"ix-flip-tile-content\"]]],[\"ix-category-filter\",[[2,\"ix-category-filter\",{\"initialState\":[16],\"filterState\":[16],\"placeholder\":[1],\"categories\":[16],\"nonSelectableCategories\":[16],\"suggestions\":[16],\"icon\":[1],\"hideIcon\":[4,\"hide-icon\"],\"repeatCategories\":[4,\"repeat-categories\"],\"tmpDisableScrollIntoView\":[4,\"tmp-disable-scroll-into-view\"],\"labelCategories\":[1,\"label-categories\"],\"i18nPlainText\":[1,\"i-1-8n-plain-text\"],\"hasFocus\":[32],\"showCategorySelection\":[32],\"categoryLogicalOperator\":[32],\"inputValue\":[32],\"category\":[32],\"filterTokens\":[32],\"offsetDropdownX\":[32],\"offsetDropdownY\":[32],\"maxHeightDropdown\":[32],\"maxWidthDropdown\":[32]},[[9,\"resize\",\"setDropdownOffset\"]]]]],[\"ix-drawer\",[[6,\"ix-drawer\",{\"show\":[1028],\"closeOnClickOutside\":[4,\"close-on-click-outside\"],\"fullHeight\":[4,\"full-height\"],\"minWidth\":[2,\"min-width\"],\"maxWidth\":[2,\"max-width\"],\"width\":[8],\"toggleDrawer\":[64]}]]],[\"ix-expanding-search\",[[2,\"ix-expanding-search\",{\"icon\":[1],\"placeholder\":[1],\"value\":[1025],\"isFieldChanged\":[32],\"expanded\":[32],\"hasFocus\":[32]}]]],[\"ix-message-bar\",[[6,\"ix-message-bar\",{\"type\":[1],\"dismissible\":[4],\"icon\":[32],\"color\":[32]}]]],[\"ix-upload\",[[2,\"ix-upload\",{\"accept\":[1],\"multiple\":[4],\"multiline\":[4],\"disabled\":[4],\"state\":[1],\"selectFileText\":[1,\"select-file-text\"],\"loadingText\":[1,\"loading-text\"],\"uploadFailedText\":[1,\"upload-failed-text\"],\"uploadSuccessText\":[1,\"upload-success-text\"],\"i18nUploadFile\":[1,\"i-1-8n-upload-file\"],\"i18nUploadDisabled\":[1,\"i-1-8n-upload-disabled\"],\"isFileOver\":[32],\"setFilesToUpload\":[64]}]]],[\"ix-animated-tab_2\",[[6,\"ix-animated-tabs\",{\"disableAnimations\":[4,\"disable-animations\"],\"selectedIndex\":[2,\"selected-index\"],\"tabPlacement\":[1,\"tab-placement\"],\"tabs\":[32],\"activeIndex\":[32]},[[1,\"mouseup\",\"onMouseDown\"]]],[6,\"ix-animated-tab\",{\"icon\":[1],\"count\":[514]}]]],[\"ix-workflow-step_2\",[[6,\"ix-workflow-step\",{\"vertical\":[4],\"disabled\":[4],\"status\":[1],\"clickable\":[4],\"selected\":[1028],\"position\":[1],\"iconName\":[32],\"iconColor\":[32]}],[6,\"ix-workflow-steps\",{\"vertical\":[4],\"linear\":[4],\"clickable\":[4],\"selectedIndex\":[2,\"selected-index\"]}]]],[\"ix-application-header\",[[1,\"ix-application-header\",{\"name\":[1]}]]],[\"ix-basic-navigation\",[[6,\"ix-basic-navigation\",{\"applicationName\":[1,\"application-name\"],\"hideHeader\":[4,\"hide-header\"]}]]],[\"ix-chip\",[[6,\"ix-chip\",{\"variant\":[513],\"active\":[4],\"closable\":[4],\"icon\":[1],\"background\":[1],\"color\":[1],\"outline\":[4]}]]],[\"ix-kpi\",[[2,\"ix-kpi\",{\"label\":[1],\"value\":[8],\"unit\":[1],\"state\":[1],\"orientation\":[1]}]]],[\"ix-pill\",[[6,\"ix-pill\",{\"variant\":[513],\"outline\":[4],\"icon\":[1],\"background\":[1],\"color\":[1],\"alignLeft\":[4,\"align-left\"]}]]],[\"ix-event-list_2\",[[6,\"ix-event-list\",{\"itemHeight\":[8,\"item-height\"],\"compact\":[4],\"animated\":[4],\"chevron\":[4]}],[4,\"ix-event-list-item\",{\"color\":[1],\"selected\":[4],\"disabled\":[4],\"chevron\":[4],\"opacity\":[2]},[[1,\"click\",\"handleItemClick\"]]]]],[\"ix-blind\",[[6,\"ix-blind\",{\"collapsed\":[1540],\"label\":[1]}]]],[\"ix-counter-pill\",[[6,\"ix-counter-pill\",{\"variant\":[513],\"outline\":[4],\"background\":[1],\"color\":[1],\"alignLeft\":[4,\"align-left\"]}]]],[\"ix-input-group\",[[6,\"ix-input-group\"]]],[\"ix-tile\",[[6,\"ix-tile\",{\"size\":[1]}]]],[\"ix-toggle\",[[2,\"ix-toggle\",{\"checked\":[1540],\"disabled\":[4],\"indeterminate\":[4],\"color\":[1],\"textOn\":[1,\"text-on\"],\"textOff\":[1,\"text-off\"],\"textIndeterminate\":[1,\"text-indeterminate\"],\"hideText\":[4,\"hide-text\"]},[[8,\"keydown\",\"onKeyDown\"]]]]],[\"ix-validation-tooltip\",[[6,\"ix-validation-tooltip\",{\"message\":[1],\"placement\":[1],\"isInputValid\":[32]}]]],[\"my-component\",[[2,\"my-component\"]]],[\"ix-select_2\",[[6,\"ix-select\",{\"selectedIndices\":[1025,\"selected-indices\"],\"allowClear\":[4,\"allow-clear\"],\"mode\":[1],\"editable\":[4],\"disabled\":[4],\"readonly\":[4],\"i18nPlaceholder\":[1,\"i-1-8n-placeholder\"],\"i18nPlaceholderEditable\":[1,\"i-1-8n-placeholder-editable\"],\"i18nSelectListHeader\":[1,\"i-1-8n-select-list-header\"],\"dropdownShow\":[32],\"value\":[32],\"dropdownWrapperRef\":[32],\"dropdownAnchor\":[32],\"isDropdownEmpty\":[32],\"hasFocus\":[32],\"navigationItem\":[32],\"inputText\":[32]},[[0,\"itemClick\",\"onItemClicked\"],[8,\"keydown\",\"onKeyDown\"]]],[2,\"ix-select-item\",{\"label\":[513],\"value\":[520],\"selected\":[4],\"hover\":[4],\"onItemClick\":[64]}]]],[\"ix-group_3\",[[6,\"ix-group\",{\"suppressHeaderSelection\":[4,\"suppress-header-selection\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"collapsed\":[1540],\"selected\":[1540],\"index\":[1538],\"expandOnHeaderClick\":[4,\"expand-on-header-click\"],\"dropdownTriggerRef\":[32]},[[8,\"keydown\",\"onKeyDown\"]]],[6,\"ix-group-dropdown-item\",{\"label\":[1],\"icon\":[1]}],[6,\"ix-group-item\",{\"icon\":[1],\"text\":[1],\"secondaryText\":[1,\"secondary-text\"],\"suppressSelection\":[4,\"suppress-selection\"],\"selected\":[4],\"focusable\":[4],\"index\":[2]},[[1,\"click\",\"clickListen\"]]]]],[\"ix-map-navigation_2\",[[6,\"ix-map-navigation\",{\"applicationName\":[1,\"application-name\"],\"navigationTitle\":[1,\"navigation-title\"],\"hideContextMenu\":[4,\"hide-context-menu\"],\"isSidebarOpen\":[32],\"openOverlay\":[64],\"closeOverlay\":[64]}],[6,\"ix-map-navigation-overlay\",{\"name\":[1],\"icon\":[1],\"color\":[1]}]]],[\"ix-toast_2\",[[2,\"ix-toast-container\",{\"containerId\":[1,\"container-id\"],\"containerClass\":[1,\"container-class\"],\"position\":[1],\"showToast\":[64]}],[6,\"ix-toast\",{\"type\":[1],\"toastTitle\":[1,\"toast-title\"],\"autoCloseDelay\":[2,\"auto-close-delay\"],\"autoClose\":[4,\"auto-close\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"progress\":[32],\"isRunning\":[32],\"touched\":[32]}]]],[\"ix-tree_2\",[[6,\"ix-tree\",{\"root\":[1],\"model\":[16],\"renderItem\":[16],\"context\":[1040]}],[6,\"ix-tree-item\",{\"text\":[1],\"hasChildren\":[4,\"has-children\"],\"context\":[16]}]]],[\"ix-spinner\",[[2,\"ix-spinner\",{\"variant\":[1],\"size\":[1]}]]],[\"ix-menu_9\",[[6,\"ix-menu-about\",{\"activeTabLabel\":[1025,\"active-tab-label\"],\"label\":[1],\"show\":[4],\"labels\":[32]}],[6,\"ix-menu-avatar\",{\"top\":[1],\"bottom\":[1],\"i18nLogout\":[1,\"i-1-8n-logout\"],\"displayMenu\":[32]},[[1,\"click\",\"toggleMenu\"]]],[6,\"ix-menu-settings\",{\"activeTabLabel\":[1025,\"active-tab-label\"],\"label\":[1],\"show\":[4]}],[4,\"ix-menu\",{\"showSettings\":[1028,\"show-settings\"],\"showAbout\":[1028,\"show-about\"],\"enableToggleTheme\":[4,\"enable-toggle-theme\"],\"enableSettings\":[4,\"enable-settings\"],\"enableMapExpand\":[4,\"enable-map-expand\"],\"applicationName\":[1,\"application-name\"],\"applicationDescription\":[1,\"application-description\"],\"maxVisibleMenuItems\":[2,\"max-visible-menu-items\"],\"i18nLegal\":[1,\"i-1-8n-legal\"],\"i18nSettings\":[1,\"i-1-8n-settings\"],\"i18nToggleTheme\":[1,\"i-1-8n-toggle-theme\"],\"i18nExpand\":[1,\"i-1-8n-expand\"],\"i18nCollapse\":[1,\"i-1-8n-collapse\"],\"i18nMore\":[1,\"i-1-8n-more\"],\"expand\":[1540],\"showMoreItems\":[32],\"visibleMenuItems\":[32],\"countMoreNotifications\":[32],\"mapExpand\":[32],\"activeTab\":[32],\"isMoreTabEmpty\":[32],\"toggleMapExpand\":[64],\"toggleMenu\":[64],\"toggleSettings\":[64],\"toggleAbout\":[64]},[[9,\"resize\",\"onWindowResize\"]]],[6,\"ix-menu-about-news\",{\"show\":[1540],\"label\":[1],\"i18nShowMore\":[1,\"i-1-8n-show-more\"],\"aboutItemLabel\":[1,\"about-item-label\"],\"offsetBottom\":[2,\"offset-bottom\"],\"expanded\":[4]}],[6,\"ix-menu-about-item\",{\"label\":[513]}],[6,\"ix-menu-settings-item\",{\"label\":[1]}],[2,\"ix-menu-avatar-item\",{\"icon\":[1],\"label\":[1]}],[4,\"ix-menu-item\",{\"home\":[4],\"bottom\":[4],\"tabIcon\":[1,\"tab-icon\"],\"notifications\":[2],\"active\":[4],\"disabled\":[4],\"title\":[32]}]]],[\"ix-date-picker_2\",[[2,\"ix-date-picker\",{\"format\":[1],\"range\":[4],\"individual\":[4],\"corners\":[1],\"from\":[1],\"to\":[1],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"eventDelimiter\":[1,\"event-delimiter\"],\"textSelectDate\":[1,\"text-select-date\"],\"yearValue\":[32],\"today\":[32],\"monthValue\":[32],\"calendar\":[32],\"years\":[32],\"tempYear\":[32],\"tempMonth\":[32],\"start\":[32],\"end\":[32],\"dropdownButtonRef\":[32],\"yearContainerRef\":[32],\"getCurrentDate\":[64]}],[2,\"ix-time-picker\",{\"format\":[1],\"corners\":[1],\"individual\":[4],\"showHour\":[4,\"show-hour\"],\"showMinutes\":[4,\"show-minutes\"],\"showSeconds\":[4,\"show-seconds\"],\"time\":[1],\"showTimeReference\":[1032,\"show-time-reference\"],\"timeReference\":[1,\"time-reference\"],\"textSelectTime\":[1,\"text-select-time\"],\"hourInputRef\":[32],\"minuteInputRef\":[32],\"secondInputRef\":[32],\"referenceInputRef\":[32],\"getCurrentTime\":[64]}]]],[\"ix-filter-chip\",[[6,\"ix-filter-chip\",{\"disabled\":[4]}]]],[\"ix-tab-item\",[[4,\"ix-tab-item\",{\"selected\":[4],\"disabled\":[4],\"small\":[4],\"icon\":[4],\"rounded\":[4],\"counter\":[2],\"layout\":[1],\"placement\":[1]}]]],[\"ix-tabs\",[[4,\"ix-tabs\",{\"small\":[4],\"rounded\":[4],\"selected\":[1026],\"layout\":[1],\"placement\":[1],\"totalItems\":[32],\"currentScrollAmount\":[32],\"scrollAmount\":[32],\"scrollActionAmount\":[32]},[[9,\"resize\",\"onWindowResize\"]]]]],[\"ix-modal_2\",[[2,\"ix-modal-container\",{\"showModal\":[64]}],[6,\"ix-modal\",{\"animation\":[4],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"ariaLabelledBy\":[1,\"aria-labelled-by\"],\"backdrop\":[8],\"backdropClass\":[1,\"backdrop-class\"],\"beforeDismiss\":[16],\"centered\":[4],\"content\":[1],\"keyboard\":[4],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"modalDialogClass\":[1,\"modal-dialog-class\"],\"scrollable\":[4],\"size\":[1],\"headerTitle\":[1,\"header-title\"],\"windowClass\":[1,\"window-class\"],\"dismiss\":[64],\"close\":[64]}]]],[\"ix-date-time-card\",[[6,\"ix-date-time-card\",{\"individual\":[4],\"corners\":[1]}]]],[\"ix-button\",[[6,\"ix-button\",{\"variant\":[1],\"outline\":[4],\"invisible\":[4],\"ghost\":[4],\"selected\":[4],\"disabled\":[516],\"type\":[1]}]]],[\"ix-dropdown_2\",[[6,\"ix-dropdown-item\",{\"label\":[1],\"icon\":[1],\"hover\":[4],\"disabled\":[4],\"checked\":[4],\"emitItemClick\":[64]}],[1,\"ix-dropdown\",{\"show\":[1540],\"trigger\":[1],\"anchor\":[1],\"closeBehavior\":[8,\"close-behavior\"],\"placement\":[1],\"positioningStrategy\":[1,\"positioning-strategy\"],\"adjustDropdownWidthToReferenceWith\":[4,\"adjust-dropdown-width-to-reference-with\"],\"adjustDropdownWidthToReferenceWidth\":[4,\"adjust-dropdown-width-to-reference-width\"],\"header\":[1],\"updatePosition\":[64]},[[8,\"click\",\"clickOutside\"]]]]],[\"ix-icon-button\",[[6,\"ix-icon-button\",{\"variant\":[1],\"outline\":[4],\"invisible\":[4],\"ghost\":[4],\"oval\":[4],\"icon\":[1],\"size\":[1],\"color\":[1],\"selected\":[4],\"disabled\":[4],\"type\":[1]}]]]]"), options);
17
+ });
@@ -0,0 +1,44 @@
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
+ class TypedEvent {
10
+ constructor() {
11
+ this.listeners = [];
12
+ this.listenersOncer = [];
13
+ this.on = (listener) => {
14
+ this.listeners.push(listener);
15
+ return {
16
+ dispose: () => this.off(listener),
17
+ };
18
+ };
19
+ this.once = (listener) => {
20
+ this.listenersOncer.push(listener);
21
+ };
22
+ this.off = (listener) => {
23
+ const callbackIndex = this.listeners.indexOf(listener);
24
+ if (callbackIndex > -1) {
25
+ this.listeners.splice(callbackIndex, 1);
26
+ }
27
+ };
28
+ this.emit = (event) => {
29
+ /** Update any general listeners */
30
+ this.listeners.forEach(listener => listener(event));
31
+ /** Clear the `once` queue */
32
+ if (this.listenersOncer.length > 0) {
33
+ const toCall = this.listenersOncer;
34
+ this.listenersOncer = [];
35
+ toCall.forEach(listener => listener(event));
36
+ }
37
+ };
38
+ this.pipe = (te) => {
39
+ return this.on(e => te.emit(e));
40
+ };
41
+ }
42
+ }
43
+
44
+ export { TypedEvent as T };
@@ -0,0 +1,17 @@
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
+ var UploadFileState;
10
+ (function (UploadFileState) {
11
+ UploadFileState["SELECT_FILE"] = "SELECT_FILE";
12
+ UploadFileState["LOADING"] = "LOADING";
13
+ UploadFileState["UPLOAD_FAILED"] = "UPLOAD_FAILED";
14
+ UploadFileState["UPLOAD_SUCCESSED"] = "UPLOAD_SUCCESSED";
15
+ })(UploadFileState || (UploadFileState = {}));
16
+
17
+ export { UploadFileState as U };
@@ -0,0 +1 @@
1
+ module.exports = require('./cjs/index.cjs.js');
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './esm/index.js';
@@ -0,0 +1 @@
1
+ export{I as InputState,L as LogicalFilterOperator}from"./p-0a12b3df.js";export{F as FlipTileState}from"./p-1d30454e.js";export{a as Modal,M as ModalContainer}from"./p-301ddeb7.js";export{c as convertToAbbreviationString,a as convertToRemString}from"./p-0bf04780.js";export{c as closeModal,d as dismissModal,m as modal}from"./p-d23706a7.js";export{r as renderDefaultItem}from"./p-1c82637e.js";export{U as UploadFileState}from"./p-da2cae32.js";import"./p-47ea9884.js";import"./p-6f625f0e.js";import"./p-810b5232.js";import"./p-bdd294d2.js";class t{}async function e(t){const e=function(){const t=Array.from(document.querySelectorAll("ix-toast-container")),[e]=t;if(t.length>1)return console.warn("Multiple toast container are found. Only there first is used."),e;if(!e){const t=document.createElement("ix-toast-container");return document.body.appendChild(t),t}return e}();return await e.showToast(t)}e.info=t=>e(Object.assign(Object.assign({},t),{type:"info"})),e.error=t=>e(Object.assign(Object.assign({},t),{type:"error"})),e.success=t=>e(Object.assign(Object.assign({},t),{type:"success"})),e.warning=t=>e(Object.assign(Object.assign({},t),{type:"warning"}));export{t as FilterState,e as toast}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as o,H as i,g as a}from"./p-47ea9884.js";import{T as e}from"./p-6f625f0e.js";const r=class{constructor(o){t(this,o),this.closeToast=s(this,"closeToast",7),this.type="info",this.autoCloseDelay=5e3,this.autoClose=!0,this.progress=0,this.isRunning=!0,this.touched=!1}getIcon(){if(this.icon)return o("ix-icon",{name:this.icon,color:this.iconColor,size:"24"});switch(this.type){case"info":return o("ix-icon",{name:"info",size:"24",color:"color-std-text"});case"error":return o("ix-icon",{name:"error",size:"24",color:"color-alarm"});case"success":return o("ix-icon",{name:"success",size:"24",color:"color-success"});case"warning":return o("ix-icon",{name:"warning",size:"24",color:"color-warning"});default:return""}}close(){this.host&&this.host.classList.add("animate__fadeOut"),setTimeout((()=>{this.closeToast.emit()}),250)}render(){let t,s={};const a=["toast-progress-bar"];this.touched?a.push("toast-progress-bar--touched"):(s={animationDuration:`${this.autoCloseDelay}ms`,animationPlayState:this.isRunning?"running":"paused"},a.push("toast-progress-bar--animated"));const e=()=>{t&&(t.style.transform=`scaleX(${this.progress})`)};return o(i,{class:"animate__animated animate__fadeIn"},o("div",{class:"toast-body",onPointerLeave:()=>{this.progress=0,e()},onPointerEnter:()=>{this.isRunning=!1,this.touched=!0,this.progress=1,e()}},this.type||this.icon?o("div",{class:"toast-icon"},this.getIcon()):null,o("div",{class:"toast-content"},this.toastTitle?o("div",{class:"toast-title text-default-title-single"},this.toastTitle):null,o("div",{class:"toast-message text-default"},o("slot",null))),o("div",{class:"toast-close"},o("ix-icon-button",{icon:"close",size:"24",ghost:!0,onClick:()=>this.closeToast.emit()}))),this.autoClose?o("div",{class:a.join(" "),style:s,ref:s=>t=s,onAnimationEnd:()=>this.close(),onTransitionEnd:()=>{0===this.progress&&this.close()}}):null)}get host(){return a(this)}};r.style=".sc-ix-toast-h{display:flex;flex-direction:column;position:relative;min-width:17.5rem;max-width:17.5rem;min-height:3.5rem;pointer-events:all;background-color:var(--theme-toast--background);border:var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);border-radius:var(--theme-toast--border-radius);box-shadow:var(--theme-toast--box-shadow);--animate-duration:300ms}.sc-ix-toast-h .toast-body.sc-ix-toast{display:flex;position:relative;width:100%;flex-grow:1}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-icon.sc-ix-toast{display:flex;align-items:flex-start;margin:1rem}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-content.sc-ix-toast{overflow:hidden;text-overflow:ellipsis;min-width:0;width:100%;max-width:10.25rem;margin-top:calc(\n 1rem + var(--theme-toast--border-thickness)\n );margin-bottom:0.75rem}.sc-ix-toast-h .toast-body.sc-ix-toast .toast-content.sc-ix-toast .toast-message.sc-ix-toast{min-width:0}.sc-ix-toast-h .toast-close.sc-ix-toast{display:flex;position:relative;margin:0.75rem;pointer-events:all}.sc-ix-toast-h .toast-progress-bar.sc-ix-toast{position:absolute;bottom:0;height:0.25rem;width:100%;background-color:var(--theme-toast-timer-value--background);transform-origin:left}.sc-ix-toast-h .toast-progress-bar--animated.sc-ix-toast{animation:trackProgress linear 1 forwards}.sc-ix-toast-h .toast-progress-bar--touched.sc-ix-toast{transition:transform 1s}.sc-ix-toast-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-toast-h:not(.disabled):not(:disabled):hover .toast-progress-bar.sc-ix-toast{visibility:hidden;transition:none}@keyframes trackProgress{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}";const n=class{constructor(s){t(this,s),this.containerId="toast-container",this.containerClass="toast-container",this.position="bottom-right"}get hostContainer(){return document.getElementById(this.containerId)}componentDidLoad(){if(!document.getElementById(this.containerId)){const t=document.createElement("div");t.id=this.containerId,t.classList.add(this.containerClass),t.classList.add(`toast-container--${this.position}`),document.body.appendChild(t)}}async showToast(t){const s=document.createElement("ix-toast"),o=new e;function i(t){s.remove(),o.emit(t)}return s.toastTitle=t.title,s.type=t.type,s.autoClose=t.autoClose,s.autoCloseDelay=t.autoCloseDelay,s.icon=t.icon,s.iconColor=t.iconColor,s.addEventListener("closeToast",(t=>{const{detail:s}=t;i(s)})),"string"==typeof t.message?s.innerText=t.message:s.appendChild(t.message),this.hostContainer.appendChild(s),{onClose:o,close:t=>{i(t)}}}render(){return o(i,null)}get host(){return a(this)}};export{r as ix_toast,n as ix_toast_container}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e}from"./p-47ea9884.js";import{a as s}from"./p-810b5232.js";const r=class{constructor(e){t(this,e),this.open=i(this,"open",7),this.drawerClose=i(this,"drawerClose",7),this.show=!1,this.closeOnClickOutside=!0,this.fullHeight=!1,this.minWidth=16,this.maxWidth=28,this.width=this.minWidth,this.callback=this.clickedOutside.bind(this)}onShowChanged(t){this.show=void 0!==t?t:!this.show,this.toggleDrawer(this.show)}async toggleDrawer(t){return this.show=void 0!==t?t:!this.show,t?(this.open.emit(),this.slideInRight(this.divElement),setTimeout((()=>{window.addEventListener("mousedown",this.callback)}),300)):(this.drawerClose.emit(),this.slideOutRight(this.divElement),window.removeEventListener("mousedown",this.callback)),Promise.resolve()}onCloseClicked(){this.show=!1}clickedOutside(t){if(!this.closeOnClickOutside)return;const i=t.target,e=i.closest("#div-container"),s=i.closest("#drawer-btn");"button"!==t.target.type&&e!==this.divElement&&i!==s&&(this.show=!1)}slideOutRight(t){s({targets:t,duration:r.duration,translateX:[0,"16rem"],opacity:[1,0],easing:"easeInSine",complete:()=>{t.classList.add("d-none")}})}slideInRight(t){s({targets:t,duration:r.duration,translateX:["16rem",0],opacity:[0,1],easing:"easeOutSine",begin:()=>{t.classList.remove("d-none")}})}render(){return e("div",{class:{"drawer-container":!0,toggle:this.show,"full-height":this.fullHeight,"d-none":!0},style:{width:"auto"===this.width?this.width:`${this.width}rem`,"min-width":`${this.minWidth}rem`,"max-width":`${this.maxWidth}rem`},ref:t=>this.divElement=t,"data-testid":"container",id:"div-container"},e("div",{class:"header"},e("div",{class:"header-content"},e("slot",{name:"header"})),e("ix-icon-button",{icon:"close",size:"24",ghost:!0,onClick:()=>this.onCloseClicked(),"data-testid":"close-button"})),e("div",{class:"content"},e("slot",null)))}static get watchers(){return{show:["onShowChanged"]}}};r.duration=300,r.style=".drawer-container.sc-ix-drawer{top:0;right:0;box-shadow:var(--theme-box-shadow-level-3);visibility:hidden;display:flex;position:absolute;flex-flow:column nowrap;justify-content:flex-start;align-items:center;max-height:100vh;min-height:1.5rem;background-color:var(--theme-color-1);border-radius:0.25rem;transition:all 300ms ease-out}.toggle.sc-ix-drawer{z-index:100;visibility:visible}.drawer-container.full-height.sc-ix-drawer{min-height:100%}.header.sc-ix-drawer{display:flex;position:relative;align-items:center;justify-content:flex-end;height:3.5rem;padding:0.5rem 1rem;width:100%;order:1}.header.sc-ix-drawer .header-content.sc-ix-drawer{flex-grow:1;margin-right:1rem}.content.sc-ix-drawer{position:relative;flex:1;flex-grow:1;order:2;height:100%;width:100%;overflow-y:auto}";export{r as ix_drawer}
@@ -0,0 +1 @@
1
+ class t{constructor(t,s){this.token=t,this.category=s}hasCategory(){return void 0!==this.category}}var s;!function(t){t.EQUAL="Equal",t.NOT_EQUAL="Not equal"}(s||(s={}));export{t as I,s as L}
@@ -0,0 +1 @@
1
+ const t=t=>t/16+"rem",a=t=>{if(isNaN(t)||null==t)return"";let a="";return[{unit:"q",value:Math.pow(10,15)},{unit:"t",value:Math.pow(10,12)},{unit:"B",value:Math.pow(10,9)},{unit:"M",value:Math.pow(10,6)},{unit:"K",value:Math.pow(10,3)}].some((u=>{let e=Math.abs(t);return e>=u.value&&(e/=u.value,t=Math.round(10*e)/10,a=u.unit,!0)})),t+a};export{t as a,a as c}
@@ -0,0 +1 @@
1
+ import{r as i,h as e,H as s}from"./p-47ea9884.js";const r=class{constructor(e){i(this,e),this.state="neutral",this.orientation="horizontal"}getStateIcon(){switch(this.state){case"alarm":return e("ix-icon",{color:"kpi-display-icon--color",name:"alarm",size:"16"});case"warning":return e("ix-icon",{color:"kpi-display-icon--color",name:"warning",size:"16"});default:return""}}getTooltipText(){let i=`${this.label}: ${this.value}`;return this.unit&&(i=i.concat(` ${this.unit}`)),i}render(){return e(s,{title:this.getTooltipText(),tabindex:"1",class:{stacked:"vertical"===this.orientation}},e("div",{class:{"kpi-container":!0,alarm:"alarm"===this.state,warning:"warning"===this.state}},e("span",{class:"kpi-label"},this.getStateIcon(),e("span",{class:"kpi-label-text"},this.label)),e("span",{class:"kpi-value-container"},e("span",{class:"kpi-value"},this.value),this.unit?e("span",{class:"kpi-unit"},this.unit):"")))}};r.style=".sc-ix-kpi-h{display:flex;flex-grow:1;height:2.5rem;border-radius:var(--theme-kpi--border-radius);padding:0.375rem 0.25rem;min-width:0}.sc-ix-kpi-h span.sc-ix-kpi{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-kpi-h .kpi-container.sc-ix-kpi{display:flex;height:100%;width:100%;-webkit-border-after:2px solid grey;border-block-end:2px solid grey}.sc-ix-kpi-h .kpi-container.alarm.sc-ix-kpi{border-block-end-color:var(--theme-color-alarm)}.sc-ix-kpi-h .kpi-container.warning.sc-ix-kpi{border-block-end-color:var(--theme-color-warning)}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-label.sc-ix-kpi{display:flex;align-items:center;color:var(--theme-kpi-display-label--color);flex-grow:1;flex-shrink:9999}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-label.sc-ix-kpi ix-icon.sc-ix-kpi{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-value-container.sc-ix-kpi{display:flex;align-items:flex-end}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-value.sc-ix-kpi{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);color:var(--theme-kpi-display-value--color)}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-unit.sc-ix-kpi{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem;color:var(--theme-kpi-display-units--color)}.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-label.sc-ix-kpi,.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-unit.sc-ix-kpi{-webkit-margin-before:0.125rem;margin-block-start:0.125rem}.stacked.sc-ix-kpi-h{height:3.75rem}.stacked.sc-ix-kpi-h .kpi-container.sc-ix-kpi{justify-content:center;flex-wrap:wrap}.stacked.sc-ix-kpi-h .kpi-container.sc-ix-kpi .kpi-label.sc-ix-kpi{width:100%;justify-content:center}.sc-ix-kpi-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-kpi-h:not(.disabled):not(:disabled):hover{background-color:var(--theme-kpi-display--background--hover)}.sc-ix-kpi-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-kpi-h:not(.disabled):not(:disabled):active{background-color:var(--theme-kpi-display--background--active)}.sc-ix-kpi-h:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--focus--border-color)}";export{r as ix_kpi}
@@ -0,0 +1 @@
1
+ function t(t,e,n){const r=document.createElement("ix-tree-item");return r.hasChildren=t.hasChildren,r.context=e,r.text=t.data.name,n((t=>{r.text=t.data.name})),r}export{t as r}
@@ -0,0 +1 @@
1
+ var n;!function(n){n.None="None",n.Info="Info",n.Warning="Warning",n.Alarm="Alarm",n.Primary="Primary"}(n||(n={}));export{n as F}
@@ -0,0 +1 @@
1
+ import{r as e,h as i,H as t}from"./p-47ea9884.js";const l=class{constructor(i){e(this,i),this.size="medium"}render(){return i(t,{class:{"tile-small":"small"===this.size,"tile-medium":"medium"===this.size,"tile-big":"big"===this.size}},i("div",{class:"tile-header text-l-title"},i("slot",{name:"header"})),i("div",{class:"tile-subheader"},i("slot",{name:"subheader"})),i("div",{class:"tile-content"},i("slot",null)),i("div",{class:"tile-footer"},i("slot",{name:"footer"})))}};l.style=".sc-ix-tile-h{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}.tile-small.sc-ix-tile-h{height:2.5rem;min-height:2.5rem;max-height:2.5rem}.tile-medium.sc-ix-tile-h{height:5rem;min-height:5rem;max-height:5rem}.tile-big.sc-ix-tile-h{height:10rem;min-height:10rem;max-height:10rem}.sc-ix-tile-h:active,.sc-ix-tile-h:focus-visible,.sc-ix-tile-h:visited{outline:none}.sc-ix-tile-h .tile-header.sc-ix-tile{display:flex;align-items:center}.sc-ix-tile-h .tile-header.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-subheader.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-content.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-footer.sc-ix-tile:not(:empty){padding:0 1rem}.sc-ix-tile-h .tile-header.sc-ix-tile,.sc-ix-tile-h .tile-subheader.sc-ix-tile,.sc-ix-tile-h .tile-content.sc-ix-tile{flex-grow:1}.sc-ix-tile-h .tile-header.sc-ix-tile:not(:empty){display:flex;height:2.5rem;max-height:2.5rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem}.sc-ix-tile-h .tile-subheader.sc-ix-tile{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}.sc-ix-tile-h .tile-content.sc-ix-tile{flex-grow:1}.sc-ix-tile-h .tile-footer.sc-ix-tile:not(:empty){-webkit-border-before:1px solid var(--theme-color-1);border-block-start:1px solid var(--theme-color-1);height:2.5rem}";export{l as ix_tile}
@@ -0,0 +1 @@
1
+ import{r as i,h as a,H as r,g as l}from"./p-47ea9884.js";const o=class{constructor(a){i(this,a),this.variant="primary",this.outline=!1,this.alignLeft=!1}render(){return a(r,{class:{outline:this.outline,"align-left":this.alignLeft},style:"custom"===this.variant?{color:this.color,backgroundColor:this.background}:{},title:this.el.textContent},this.icon?a("ix-icon",{class:"with-icon",name:this.icon,size:"16"}):null,a("div",{class:"slot"},a("slot",null)))}get el(){return l(this)}};o.style='.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}';export{o as ix_pill}
@@ -0,0 +1 @@
1
+ import{r,h as e,H as a,g as d}from"./p-47ea9884.js";const t=class{constructor(e){r(this,e),this.individual=!0,this.corners="rounded"}cardClasses(){return{card:!0,individual:this.individual,left:"left"===this.corners,right:"right"===this.corners}}render(){return e(a,null,e("div",{class:this.cardClasses()},e("div",{class:"header"},e("slot",{name:"header"})),e("div",{class:"separator"}),e("div",{class:"content"},e("slot",null))))}get hostElement(){return d(this)}};t.style=".card.sc-ix-date-time-card{background-color:var(--theme-menu--background);width:100%;box-shadow:none;border:none;border-radius:unset}.card.individual.sc-ix-date-time-card{box-shadow:0 0 2px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 12px 18px 0px rgba(0, 0, 0, 0.1);border:1px solid var(--theme-menu--border-color);border-radius:4px}.card.left.sc-ix-date-time-card{border-radius:4px 0 0 4px;height:100%}.card.right.sc-ix-date-time-card{border-radius:0 4px 4px 0;height:100%}.card.sc-ix-date-time-card .header.sc-ix-date-time-card{padding:1rem}.card.sc-ix-date-time-card .separator.sc-ix-date-time-card{border:1px solid var(--theme-datepicker-separator--background);width:100%}.card.sc-ix-date-time-card .content.sc-ix-date-time-card{height:100%;padding:0px 1rem 1rem 1rem}";export{t as ix_date_time_card}
@@ -0,0 +1 @@
1
+ import{r as i,h as o,g as t,H as s,c as a}from"./p-47ea9884.js";import{T as l}from"./p-6f625f0e.js";import{a as e}from"./p-810b5232.js";import{A as d}from"./p-bdd294d2.js";const m=class{constructor(o){i(this,o)}async showModal(i){const o=new l,t=new l,s=document.createElement("ix-modal");let{title:a,content:e}=i,d=function(i,o){var t={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&o.indexOf(s)<0&&(t[s]=i[s]);if(null!=i&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(i);a<s.length;a++)o.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(i,s[a])&&(t[s[a]]=i[s[a]])}return t}(i,["title","content"]);if(Object.assign(s,Object.assign({headerTitle:a},d)),"string"==typeof e){const i=document.createElement("template");e=e.trim(),i.innerHTML=e,s.appendChild(i.content.firstChild)}else s.appendChild(e);return this.hostElement.appendChild(s),s.addEventListener("closed",(i=>{this.hostElement.removeChild(s),o.emit(i.detail)})),s.addEventListener("dismissed",(i=>{this.hostElement.removeChild(s),t.emit(i.detail)})),{onClose:o,onDismiss:t}}render(){return o(s,null)}get hostElement(){return t(this)}};m.style=".sc-ix-modal-container-h{position:absolute;top:0;left:0;z-index:9999}";const n=class{constructor(o){i(this,o),this.closed=a(this,"closed",7),this.dismissed=a(this,"dismissed",7),this.animation=!0,this.ariaLabelledBy="modal-title",this.backdrop=!0,this.centered=!1,this.keyboard=!0,this.iconColor="color-std-text",this.scrollable=!0,this.size="sm",this.onKeydown=this.handleKeydown.bind(this)}get modal(){return this.hostElement.querySelector(".modal")}get modalDialog(){return this.modal.querySelector(".modal-dialog")}get modalContent(){return this.modalDialog.querySelector(".modal-content")}get modalBackdrop(){return this.hostElement.querySelector(".backdrop")}slideDown(i){e({targets:i,duration:this.animation?d.mediumTime:0,opacity:[0,1],translateY:["-100%",0],easing:"easeOutSine"})}slideUp(i,o){e({targets:i,duration:this.animation?d.mediumTime:0,opacity:[1,0],translateY:[0,"-100%"],easing:"easeInSine",complete:()=>{o&&o()}})}componentDidLoad(){"static"===this.backdrop&&this.modalBackdrop.addEventListener("click",this.dismiss.bind(this)),this.backdropClass&&this.modalBackdrop.classList.add(this.backdropClass),this.modalDialogClass&&this.modalDialog.classList.add(this.modalDialogClass),this.windowClass&&this.modal.classList.add(this.windowClass),this.keyboard&&window.addEventListener("keydown",this.onKeydown),this.slideDown(this.modalContent)}handleKeydown(i){"Escape"===i.key&&this.dismiss(i.key)}disconnectedCallback(){window.removeEventListener("keydown",this.onKeydown)}async dismiss(i){this.beforeDismiss?!1!==await this.beforeDismiss(i)&&this.slideUp(this.modalContent,(()=>this.dismissed.emit(i))):this.slideUp(this.modalContent,(()=>this.dismissed.emit(i)))}async close(i){this.slideUp(this.modalContent,(()=>this.closed.emit(i)))}render(){return o(s,null,o("div",{class:{animation:this.animation,modal:!0,backdrop:"static"===this.backdrop||this.backdrop,"align-items-center":this.centered,scrollable:this.scrollable},"aria-describedby":this.ariaDescribedBy,"aria-labelledby":this.ariaLabelledBy},o("div",{class:{"modal-dialog":!0,"modal-sm":"sm"===this.size,"modal-lg":"lg"===this.size,"modal-xl":"xl"===this.size}},o("div",{class:"modal-content"},void 0===this.icon||""===this.icon?"":o("div",{class:"state-icon-container"},o("ix-icon",{name:this.icon,size:"32",color:this.iconColor})),o("div",{class:"slot-container"},o("slot",null))))))}get hostElement(){return t(this)}};n.style=".sc-ix-modal-h{position:relative;width:100vw;height:100vh}.sc-ix-modal-h .modal.sc-ix-modal{display:flex}.sc-ix-modal-h .modal.animation.sc-ix-modal{animation:modal-fade 300ms ease-in-out}.sc-ix-modal-h .modal.backdrop.sc-ix-modal{background-color:var(--theme-color-lightbox);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:none}.sc-ix-modal-h .modal.backdrop.animation.sc-ix-modal{transition:-webkit-backdrop-filter 0ms ease-in-out;transition:backdrop-filter 0ms ease-in-out;transition:backdrop-filter 0ms ease-in-out, -webkit-backdrop-filter 0ms ease-in-out}.sc-ix-modal-h .modal.sc-ix-modal .modal-dialog.sc-ix-modal{flex-grow:1}.sc-ix-modal-h .modal.scrollable.sc-ix-modal .modal-content.sc-ix-modal{max-height:100%}.sc-ix-modal-h .modal.scrollable.sc-ix-modal .modal-content.sc-ix-modal .modal-body.sc-ix-modal{overflow-y:auto}.sc-ix-modal-h .modal.sc-ix-modal .modal-content.sc-ix-modal{box-shadow:var(--theme-modal--box-shadow);flex-direction:row;background-color:var(--theme-modal--background);border:var(--modal--border-thickness) solid var(--theme-modal--border-color);padding:1.5rem}.sc-ix-modal-h .modal.sc-ix-modal .modal-content.sc-ix-modal .state-icon-container.sc-ix-modal{-webkit-margin-end:1rem;margin-inline-end:1rem}.sc-ix-modal-h .modal.sc-ix-modal .modal-content.sc-ix-modal .slot-container.sc-ix-modal{flex-grow:1}@media (min-width: 576px){.sc-ix-modal-h .modal.sc-ix-modal .modal-dialog.sc-ix-modal:not(.modal-dialog-centered){margin:2.5rem auto}}@media (max-width: 575.98px){.sc-ix-modal-h .modal.sc-ix-modal .modal-dialog.sc-ix-modal{height:100%;margin:0}.sc-ix-modal-h .modal.sc-ix-modal .modal-dialog.sc-ix-modal .modal-content.sc-ix-modal{height:100%;border-radius:0}}@keyframes modal-fade{from{opacity:0%}to{opacity:100%}}@keyframes slide-down{from{top:-100%}to{top:32px}}";export{m as M,n as a}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as i,g as s,c as r}from"./p-47ea9884.js";import{c as n}from"./p-fbe40498.js";import{a as o}from"./p-0bf04780.js";const l=class{constructor(t){e(this,t),this.mutationObserver=n(this.onMutation.bind(this)),this.itemHeight="S",this.compact=!1,this.animated=!0}componentDidLoad(){if(this.animated&&this.triggerFadeIn(),"number"==typeof this.itemHeight){const e=o(this.itemHeight);this.el.querySelectorAll(".ix-event-list-item").forEach((t=>{t.classList.add("d-flex"),this.setCustomHeight(t,e)}))}this.mutationObserver.observe(this.el,{childList:!0,subtree:!0})}onMutation(e){this.triggerFadeOut().then((()=>{if("number"==typeof this.itemHeight){const t=o(this.itemHeight);e.filter((e=>"childList"===e.type)).forEach((e=>e.addedNodes.forEach((e=>{var i;const s=e;(null===(i=s.classList)||void 0===i?void 0:i.contains("ix-event-list-item"))&&(s.classList.add("d-flex"),this.setCustomHeight(s,t))}))))}this.triggerFadeIn()}))}setCustomHeight(e,t){e.style.height=t,e.style.maxHeight=t}triggerFadeOut(){return this.animated?this.el.querySelector("ul").animate([{opacity:1,easing:"ease-in"},{opacity:0}],{duration:l.fadeOutDuration}).finished:Promise.resolve()}triggerFadeIn(){this.animated&&this.el.querySelectorAll(".ix-event-list-item").forEach(((e,t)=>{const i=80*t;e.animate([{opacity:0},{opacity:0,easing:"ease-out",offset:i/(i+l.fadeInDuration)},{opacity:1}],{duration:l.fadeInDuration+i,iterations:1})}))}render(){return t(i,{class:{"item-size-s":"S"===this.itemHeight,"item-size-l":"L"===this.itemHeight,compact:this.compact,chevron:this.chevron}},t("ul",null,t("slot",null)))}get el(){return s(this)}};l.fadeOutDuration=50,l.fadeInDuration=150,l.style=".sc-ix-event-list-h{display:block;position:relative}ul.sc-ix-event-list{list-style:none;padding:0;margin-bottom:0}.sc-ix-event-list-s>.sc-ix-event-list-h:not(.item-size-s) .ix-event-list-item,.sc-ix-event-list-h:not(.item-size-l) .ix-event-list-item.sc-ix-event-list{display:none}.sc-ix-event-list-h.chevron .sc-ix-event-list-s .ix-event-list-item .chevron-icon{display:initial}.item-size-l .sc-ix-event-list-s .ix-event-list-item{height:6.5rem;max-height:6.5rem}.item-size-l .sc-ix-event-list-s .ix-event-list-item .event-content{height:6.5rem;max-height:6.5rem;white-space:normal}.compact .sc-ix-event-list-s .ix-event-list-item{margin-bottom:0px;border-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .indicator{border-top-left-radius:0px;border-bottom-left-radius:0px}.compact .sc-ix-event-list-s .ix-event-list-item .event-list-item-container{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.compact .sc-ix-event-list-s .ix-event-list-item i.glyph{display:none}.compact.sc-ix-event-list .compact.sc-ix-event-list:not(:last-child) .event-list-item-container.sc-ix-event-list{border-bottom:none}";const a=class{constructor(t){e(this,t),this.itemClick=r(this,"itemClick",7),this.opacity=1}handleItemClick(){this.itemClick.emit()}render(){return t("div",{class:{"ix-event-list-item":!0,selected:this.selected,disabled:this.disabled}},t("div",{class:"indicator "+(this.color?"":"indicator-empty"),style:{"background-color":this.color?`var(--theme-${this.color})`:"inherit",opacity:`${this.disabled?.4:this.opacity}`}}),t("div",{class:"event-list-item-container"},t("div",{class:"event-content"},t("slot",null)),t("i",{class:"glyph glyph-16 glyph-chevron-right chevron-icon"})))}get el(){return s(this)}};a.style=".ix-event-list-item{display:flex;align-items:center;position:relative;height:2.5rem;max-height:2.5rem;border-radius:0.25rem;background-color:var(--theme-event-list-item-bg);overflow:hidden;cursor:pointer;margin-bottom:0.5rem}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):active{background-color:var(--theme-event-item--background--active)}.ix-event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem}.ix-event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}.ix-event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-list-item-border);border-top-left-radius:0;border-top-right-radius:0.25rem;border-bottom-left-radius:0;border-bottom-right-radius:0.25rem;border-left:none;padding-left:1rem}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):active{border-color:var(--theme-event-item--border--active)}.ix-event-list-item.selected:not(:active,.active) .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}.ix-event-list-item[disabled],.ix-event-list-item.disabled{pointer-events:none}.ix-event-list-item[disabled] .event-list-item-container,.ix-event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}.ix-event-list-item .chevron-icon{display:none;margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}.ix-event-list-item .event-content{display:flex;align-items:center;width:100%;height:100%;overflow:hidden}";export{l as ix_event_list,a as ix_event_list_item}
@@ -0,0 +1 @@
1
+ function r(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function n(r,n,e){return r(e={path:n,exports:{},require:function(){return t()}},e.exports),e.exports}function t(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}export{t as a,n as c,r as g}
@@ -0,0 +1 @@
1
+ import{r as t,h as s}from"./p-47ea9884.js";import{g as i}from"./p-5a1dcc74.js";const o=class{constructor(s){t(this,s),this.variant="Secondary",this.size="24",this.selected=!1,this.disabled=!1,this.type="button"}getIconButtonClasses(){return Object.assign({"btn-icon-xs":"12"===this.size,"btn-icon-s":"16"===this.size},i(this.variant,this.outline,this.ghost||this.invisible,!0,this.oval,this.selected,this.disabled))}render(){return s("button",{class:this.getIconButtonClasses(),type:this.type},s("ix-icon",{size:this.size,name:this.icon,color:this.color}),s("div",{style:{display:"none"}},s("slot",null)))}};export{o as ix_icon_button}
@@ -0,0 +1 @@
1
+ import{r as t,h as s}from"./p-47ea9884.js";import{g as i}from"./p-5a1dcc74.js";const h=class{constructor(s){t(this,s),this.variant="Primary",this.outline=!1,this.invisible=!1,this.ghost=!1,this.selected=!1,this.disabled=!1,this.type="button"}render(){return s("button",{type:this.type,class:i(this.variant,this.outline,this.ghost||this.invisible,!1,!1,this.selected,this.disabled)},s("slot",null))}};h.style=".sc-ix-button-h{display:inline-block;height:2rem}[disabled].sc-ix-button-h{pointer-events:none}";export{h as ix_button}
@@ -0,0 +1 @@
1
+ let t,e,n,l=!1,o=!1,s=!1,r=!1,i=!1;const c="undefined"!=typeof window?window:{},f=c.document||{head:{}},u={t:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),h=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=$(t,n),r=m(e,o),i=b(n);u.ael(s,l,r,i),(e.o=e.o||[]).push((()=>u.rel(s,l,r,i)))}))},m=(t,e)=>n=>{try{256&t.t?t.i[e](n):(t.u=t.u||[]).push([e,n])}catch(t){pt(t)}},$=(t,e)=>8&e?c:t,b=t=>0!=(2&t),p=new WeakMap,y=t=>"sc-"+t.h,w={},g=t=>"object"==(t=typeof t)||"function"===t,v=(t,e,...n)=>{let l=null,o=null,s=!1,r=!1,i=[];const c=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!g(l))&&(l+=""),s&&r?i[i.length-1].m+=l:i.push(s?j(null,l):l),r=s)};if(c(n),e){e.name&&(o=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,i,S);const f=j(t,null);return f.$=e,i.length>0&&(f.p=i),f.g=o,f},j=(t,e)=>({t:0,v:t,m:e,j:null,p:null,$:null,g:null}),O={},S={forEach:(t,e)=>t.map(k).forEach(e),map:(t,e)=>t.map(k).map(e).map(C)},k=t=>({vattrs:t.$,vchildren:t.p,vkey:t.O,vname:t.g,vtag:t.v,vtext:t.m}),C=t=>{if("function"==typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),v(t.vtag,e,...t.vchildren||[])}const e=j(t.vtag,t.vtext);return e.$=t.vattrs,e.p=t.vchildren,e.O=t.vkey,e.g=t.vname,e},M=(t,e,n,l,o,s)=>{if(n!==l){let r=bt(t,e),i=e.toLowerCase();if("class"===e){const e=t.classList,o=R(n),s=R(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("ref"===e)l&&l(t);else if(r||"o"!==e[0]||"n"!==e[1]){const i=g(l);if((r||i&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{let o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]==o||(t[e]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&s||o)&&!i&&t.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):bt(c,i)?i.slice(2):i[2]+e.slice(3),n&&u.rel(t,e,n,!1),l&&u.ael(t,e,l,!1)}},x=/\s/,R=t=>t?t.split(x):[],N=(t,e,n,l)=>{const o=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.$||w,r=e.$||w;for(l in s)l in r||M(o,l,s[l],void 0,n,e.t);for(l in r)M(o,l,s[l],r[l],n,e.t)},E=(o,i,c,u)=>{let a,d,h,m=i.p[c],$=0;if(l||(s=!0,"slot"===m.v&&(t&&u.classList.add(t+"-s"),m.t|=m.p?2:1)),null!==m.m)a=m.j=f.createTextNode(m.m);else if(1&m.t)a=m.j=f.createTextNode("");else{if(r||(r="svg"===m.v),a=m.j=f.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&m.t?"slot-fb":m.v),r&&"foreignObject"===m.v&&(r=!1),N(null,m,r),null!=t&&a["s-si"]!==t&&a.classList.add(a["s-si"]=t),m.p)for($=0;$<m.p.length;++$)d=E(o,m,$,a),d&&a.appendChild(d);"svg"===m.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=n,3&m.t&&(a["s-sr"]=!0,a["s-cr"]=e,a["s-sn"]=m.g||"",h=o&&o.p&&o.p[c],h&&h.v===m.v&&o.j&&P(o.j,!1)),a},P=(t,e)=>{u.t|=1;const l=t.childNodes;for(let t=l.length-1;t>=0;t--){const o=l[t];o["s-hn"]!==n&&o["s-ol"]&&(F(o).insertBefore(o,A(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),e&&P(o,e)}u.t&=-2},T=(t,e,l,o,s,r)=>{let i,c=t["s-cr"]&&t["s-cr"].parentNode||t;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=r;++s)o[s]&&(i=E(null,l,s,t),i&&(o[s].j=i,c.insertBefore(i,A(e))))},L=(t,e,n,l,s)=>{for(;e<=n;++e)(l=t[e])&&(s=l.j,_(l),o=!0,s["s-ol"]?s["s-ol"].remove():P(s,!0),s.remove())},W=(t,e)=>t.v===e.v&&("slot"!==t.v||t.g===e.g),A=t=>t&&t["s-ol"]||t,F=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,D=(t,e)=>{const n=e.j=t.j,l=t.p,o=e.p,s=e.v,i=e.m;let c;null===i?(r="svg"===s||"foreignObject"!==s&&r,"slot"===s||N(t,e,r),null!==l&&null!==o?((t,e,n,l)=>{let o,s=0,r=0,i=e.length-1,c=e[0],f=e[i],u=l.length-1,a=l[0],d=l[u];for(;s<=i&&r<=u;)null==c?c=e[++s]:null==f?f=e[--i]:null==a?a=l[++r]:null==d?d=l[--u]:W(c,a)?(D(c,a),c=e[++s],a=l[++r]):W(f,d)?(D(f,d),f=e[--i],d=l[--u]):W(c,d)?("slot"!==c.v&&"slot"!==d.v||P(c.j.parentNode,!1),D(c,d),t.insertBefore(c.j,f.j.nextSibling),c=e[++s],d=l[--u]):W(f,a)?("slot"!==c.v&&"slot"!==d.v||P(f.j.parentNode,!1),D(f,a),t.insertBefore(f.j,c.j),f=e[--i],a=l[++r]):(o=E(e&&e[r],n,r,t),a=l[++r],o&&F(c.j).insertBefore(o,A(c.j)));s>i?T(t,null==l[u+1]?null:l[u+1].j,n,l,r,u):r>u&&L(e,s,i)})(n,l,e,o):null!==o?(null!==t.m&&(n.textContent=""),T(n,null,e,o,0,o.length-1)):null!==l&&L(l,0,l.length-1),r&&"svg"===s&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:t.m!==i&&(n.data=i)},H=t=>{let e,n,l,o,s,r,i=t.childNodes;for(n=0,l=i.length;n<l;n++)if(e=i[n],1===e.nodeType){if(e["s-sr"])for(s=e["s-sn"],e.hidden=!1,o=0;o<l;o++)if(r=i[o].nodeType,i[o]["s-hn"]!==e["s-hn"]||""!==s){if(1===r&&s===i[o].getAttribute("slot")){e.hidden=!0;break}}else if(1===r||3===r&&""!==i[o].textContent.trim()){e.hidden=!0;break}H(e)}},U=[],q=t=>{let e,n,l,s,r,i,c=0,f=t.childNodes,u=f.length;for(;c<u;c++){if(e=f[c],e["s-sr"]&&(n=e["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=e["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(V(n,s)?(r=U.find((t=>t.S===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.k=e:U.push({k:e,S:n}),n["s-sr"]&&U.map((t=>{V(t.S,n["s-sn"])&&(r=U.find((t=>t.S===n)),r&&!t.k&&(t.k=r.k))}))):U.some((t=>t.S===n))||U.push({S:n}));1===e.nodeType&&q(e)}},V=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,_=t=>{t.$&&t.$.ref&&t.$.ref(null),t.p&&t.p.map(_)},z=t=>ht(t).C,B=(t,e,n)=>{const l=z(t);return{emit:t=>G(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},G=(t,e,n)=>{const l=u.ce(e,n);return t.dispatchEvent(l),l},I=(t,e)=>{e&&!t.M&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.M=e)))},J=(t,e)=>{if(t.t|=16,!(4&t.t))return I(t,t.R),Mt((()=>K(t,e)));t.t|=512},K=(t,e)=>{const n=t.i;let l;return e&&(t.t|=256,t.u&&(t.u.map((([t,e])=>et(n,t,e))),t.u=null),l=et(n,"componentWillLoad")),l=nt(l,(()=>et(n,"componentWillRender"))),nt(l,(()=>Q(t,n,e)))},Q=async(t,e,n)=>{const l=t.C,o=l["s-rc"];n&&(t=>{const e=t.N,n=t.C,l=e.t,o=((t,e)=>{let n=y(e),l=gt.get(n);if(t=11===t.nodeType?t:f,l)if("string"==typeof l){let e,o=p.get(t=t.head||t);o||p.set(t,o=new Set),o.has(n)||(e=f.createElement("style"),e.innerHTML=l,t.insertBefore(e,t.querySelector("link")),o&&o.add(n))}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);X(t,e),o&&(o.map((t=>t())),l["s-rc"]=void 0);{const e=l["s-p"],n=()=>Y(t);0===e.length?n():(Promise.all(e).then(n),t.t|=4,e.length=0)}},X=(r,i)=>{try{i=i.render(),r.t&=-17,r.t|=2,((r,i)=>{const c=r.C,a=r.N,d=r.P||j(null,null),h=(t=>t&&t.v===O)(i)?i:v(null,null,i);if(n=c.tagName,a.T&&(h.$=h.$||{},a.T.map((([t,e])=>h.$[e]=c[t]))),h.v=null,h.t|=4,r.P=h,h.j=d.j=c.shadowRoot||c,t=c["s-sc"],e=c["s-cr"],l=0!=(1&a.t),o=!1,D(d,h),u.t|=1,s){let t,e,n,l,o,s;q(h.j);let r=0;for(;r<U.length;r++)t=U[r],e=t.S,e["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(r=0;r<U.length;r++)if(t=U[r],e=t.S,t.k){for(l=t.k.parentNode,o=t.k.nextSibling,n=e["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===e["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==e.parentNode||e.nextSibling!==o)&&e!==o&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),l.insertBefore(e,o))}else 1===e.nodeType&&(e.hidden=!0)}o&&H(h.j),u.t&=-2,U.length=0})(r,i)}catch(t){pt(t,r.C)}return null},Y=t=>{const e=t.C,n=t.i,l=t.R;et(n,"componentDidRender"),64&t.t||(t.t|=64,lt(e),et(n,"componentDidLoad"),t.L(e),l||tt()),t.W(e),t.M&&(t.M(),t.M=void 0),512&t.t&&Ct((()=>J(t,!1))),t.t&=-517},Z=t=>{{const e=ht(t),n=e.C.isConnected;return n&&2==(18&e.t)&&J(e,!1),n}},tt=()=>{lt(f.documentElement),Ct((()=>G(c,"appload",{detail:{namespace:"siemens-ix"}})))},et=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){pt(t)}},nt=(t,e)=>t&&t.then?t.then(e):e(),lt=t=>t.classList.add("hydrated"),ot=(t,e,n)=>{if(e.A){t.watchers&&(e.F=t.watchers);const l=Object.entries(e.A),o=t.prototype;if(l.map((([t,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,t,{get(){return((t,e)=>ht(this).D.get(e))(0,t)},set(n){((t,e,n,l)=>{const o=ht(t),s=o.C,r=o.D.get(e),i=o.t,c=o.i;if(n=((t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,l.A[e][0]),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.D.set(e,n),c)){if(l.F&&128&i){const t=l.F[e];t&&t.map((t=>{try{c[t](n,r,e)}catch(t){pt(t,s)}}))}2==(18&i)&&J(o,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,t,{value(...e){const n=ht(this);return n.H.then((()=>n.i[t](...e)))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(t,e,l){u.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(o.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},t.observedAttributes=l.filter((([t,e])=>15&e[0])).map((([t,l])=>{const o=l[1]||t;return n.set(o,t),512&l[0]&&e.T.push([t,o]),o}))}}return t},st=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const e=t["s-sn"]=it(t),n=ct(this.childNodes,e);if(n){const l=ft(n,e),o=l[l.length-1];return o.parentNode.insertBefore(t,o.nextSibling)}return this.__appendChild(t)}},rt=(t,e)=>{class n extends Array{item(t){return this[t]}}if(8&e.t){const e=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get:()=>t.children.length}),Object.defineProperty(t,"childNodes",{get(){const t=e.call(this);if(0==(1&u.t)&&2&ht(this).t){const e=new n;for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&e.push(l)}return e}return n.from(t)}})}},it=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",ct=(t,e)=>{let n,l=0;for(;l<t.length;l++){if(n=t[l],n["s-sr"]&&n["s-sn"]===e)return n;if(n=ct(n.childNodes,e),n)return n}return null},ft=(t,e)=>{const n=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},ut=(t,e={})=>{const n=[],l=e.exclude||[],o=c.customElements,s=f.head,r=s.querySelector("meta[charset]"),i=f.createElement("style"),a=[];let m,$=!0;Object.assign(u,e),u.l=new URL(e.resourcesUrl||"./",f.baseURI).href,t.map((t=>{t[1].map((e=>{const s={t:e[0],h:e[1],A:e[2],U:e[3]};s.A=e[2],s.U=e[3],s.T=[],s.F={};const r=s.h,i=class extends HTMLElement{constructor(t){super(t),$t(t=this,s),1&s.t&&t.attachShadow({mode:"open"}),rt(t,s)}connectedCallback(){m&&(clearTimeout(m),m=null),$?a.push(this):u.jmp((()=>(t=>{if(0==(1&u.t)){const e=ht(t),n=e.N,l=()=>{};if(1&e.t)h(t,e,n.U);else{e.t|=1,12&n.t&&(t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){I(e,e.R=n);break}}n.A&&Object.entries(n.A).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n,l,o)=>{if(0==(32&e.t)){{if(e.t|=32,(o=wt(n)).then){const t=()=>{};o=await o,t()}o.isProxied||(n.F=o.watchers,ot(o,n,2),o.isProxied=!0);const t=()=>{};e.t|=8;try{new o(e)}catch(t){pt(t)}e.t&=-9,e.t|=128,t()}if(o.style){let t=o.style;const e=y(n);if(!gt.has(e)){const l=()=>{};((t,e,n)=>{let l=gt.get(t);d&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,gt.set(t,l)})(e,t,!!(1&n.t)),l()}}}const s=e.R,r=()=>J(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,e,n)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(()=>{if(0==(1&u.t)){const t=ht(this),e=t.i;t.o&&(t.o.map((t=>t())),t.o=void 0),et(e,"disconnectedCallback")}})()))}componentOnReady(){return ht(this).q}};st(i.prototype),s.V=t[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,ot(i,s,1)))}))})),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),s.insertBefore(i,r?r.nextSibling:s.firstChild),$=!1,a.length?a.map((t=>t.connectedCallback())):u.jmp((()=>m=setTimeout(tt,30)))},at=(t,e)=>e,dt=new WeakMap,ht=t=>dt.get(t),mt=(t,e)=>dt.set(e.i=t,e),$t=(t,e)=>{const n={t:0,C:t,N:e,D:new Map};return n.H=new Promise((t=>n.W=t)),n.q=new Promise((t=>n.L=t)),t["s-p"]=[],t["s-rc"]=[],h(t,n,e.U),dt.set(t,n)},bt=(t,e)=>e in t,pt=(t,e)=>(0,console.error)(t,e),yt=new Map,wt=t=>{const e=t.h.replace(/-/g,"_"),n=t.V,l=yt.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(yt.set(n,t),t[e])),pt)},gt=new Map,vt=[],jt=[],Ot=(t,e)=>n=>{t.push(n),i||(i=!0,e&&4&u.t?Ct(kt):u.raf(kt))},St=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){pt(t)}t.length=0},kt=()=>{St(vt),St(jt),(i=vt.length>0)&&u.raf(kt)},Ct=t=>a().then(t),Mt=Ot(jt,!0);export{at as F,O as H,ut as b,B as c,Z as f,z as g,v as h,a as p,mt as r}
@@ -0,0 +1 @@
1
+ import{r,c as e,h as c,H as b,g as i}from"./p-47ea9884.js";import{a as t}from"./p-810b5232.js";import{c as a}from"./p-fbe40498.js";const o=class{constructor(c){r(this,c),this.itemClick=e(this,"itemClick",7),this.nextClick=e(this,"nextClick",7),this.visibleItemCount=9,this.nextItems=[],this.ghost=!1,this.items=[]}get breadcrumbItems(){return Array.from(this.hostElement.querySelectorAll("ix-breadcrumb-item"))}get crumbItems(){return Array.from(this.hostElement.querySelectorAll(".crumb-items .crumb"))}onItemClick(r){this.itemClick.emit(r)}componentDidLoad(){this.mutationObserver=a((()=>{const r=this.getItems(),e=()=>{this.items=r};r.length>=this.items.length?e():r.length<this.items.length&&this.animationFadeOut(this.crumbItems[this.crumbItems.length-1],(()=>e()))})),this.mutationObserver.observe(this.hostElement.querySelector(".crumb-items"),{subtree:!0,childList:!0})}componentWillLoad(){this.items=this.getItems()}getItems(){return this.breadcrumbItems.map((r=>({label:r.label,icon:r.icon})))}disconnectedCallback(){var r;null===(r=this.mutationObserver)||void 0===r||r.disconnect()}animationFadeOut(r,e){t({targets:r,translateX:"-100%",duration:150,opacity:[1,0],easing:"linear",complete:()=>e()})}animationFadeIn(r){t({targets:r,duration:150,opacity:[0,1],translateX:["-100%","0%"],easing:"linear"})}handleLastButtonRef(r,e){var c;e&&this.animationFadeIn(r),e&&(null===(c=this.nextItems)||void 0===c?void 0:c.length)&&(this.nextButtonRef=r)}sliceHiddenItems(){let r=0;return this.items.length>this.visibleItemCount&&(r=this.items.length-this.visibleItemCount),this.items.slice(r)}clickItem(r,e){e||this.onItemClick(r)}renderBreadcrumbItems(){return this.sliceHiddenItems().map(((r,e,b)=>{var i;const t=e===b.length-1,a=t&&!(null===(i=this.nextItems)||void 0===i?void 0:i.length);return c("div",{ref:r=>this.handleLastButtonRef(r,t),"data-breadcrumb":e,class:{crumb:!0,clickable:!0,ghost:this.ghost,btn:!this.ghost,last:a,"remove-hover":a},onClick:()=>this.clickItem(r.label,t),"data-testid":"item"},c("span",{class:"crumb-text remove-anchor"},r.icon?c("ix-icon",{name:r.icon,size:"16"}):"",r.label),a?null:c("span",{class:"glyph glyph-18 glyph-chevron-right-small text-default-text"}))}))}render(){var r,e,i;return c(b,null,c("ix-dropdown",{trigger:(null===(r=this.items)||void 0===r?void 0:r.length)>this.visibleItemCount?this.previousButtonRef:null},this.items.slice(0,this.items.length-this.visibleItemCount).map((r=>c("ix-dropdown-item",{label:r.label,onClick:()=>this.onItemClick(r.label)})))),(null===(e=this.items)||void 0===e?void 0:e.length)>this.visibleItemCount?c("div",{class:"crumb crumb-dropdown",ref:r=>this.previousButtonRef=r},c("span",{class:"remove-anchor more-text"},c("span",{class:"more-text-ellipsis"},"..."),c("span",{class:"glyph glyph-16 glyph-chevron-right"}))):null,c("div",{class:"crumb-items"},this.renderBreadcrumbItems(),c("slot",null)),c("ix-dropdown",{trigger:this.nextButtonRef},null===(i=this.nextItems)||void 0===i?void 0:i.map((r=>c("ix-dropdown-item",{label:r,onClick:e=>{this.nextClick.emit({event:e,item:r})}})))))}get hostElement(){return i(this)}};o.style=".sc-ix-breadcrumb-h{display:flex;height:2.5rem;justify-content:flex-start;align-items:center;background-color:transparent;overflow:hidden}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb{position:relative;display:flex;justify-content:flex-start;align-items:center;white-space:nowrap;border-radius:var(--theme-breadcrumb--border-radius);height:2rem;max-height:2rem;min-width:0;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;padding:0.5rem 0 0.5rem 0.25rem;outline:none;cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-btn--background--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-btn--background--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-width:0;font-weight:700}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb ix-icon.sc-ix-breadcrumb{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem;-webkit-margin-end:0;margin-inline-end:0}.sc-ix-breadcrumb-h .crumb.last.sc-ix-breadcrumb{background-color:transparent !important;cursor:default;-webkit-padding-end:0.25rem;padding-inline-end:0.25rem}.sc-ix-breadcrumb-h .crumb.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(:last-of-type){flex-shrink:0;max-width:14rem}.sc-ix-breadcrumb-h .crumb-dropdown.sc-ix-breadcrumb{overflow:visible}.sc-ix-breadcrumb-h .crumb-dropdown.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb::after{display:none}.sc-ix-breadcrumb-h .remove-anchor.sc-ix-breadcrumb::after{display:none}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb{display:flex}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb .more-text-ellipsis.sc-ix-breadcrumb{width:1rem;display:inline-block;font-weight:700}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{line-height:unset}.sc-ix-breadcrumb-h .crumb-items.sc-ix-breadcrumb{display:contents}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb{background-color:var(--theme-breadcrumb-btn--background);border:var(--theme-btn--btn-thickness) solid transparent;transition:150ms}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color)}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color)}.sc-ix-breadcrumb-h .crumb.btn.last.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-last--color)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-btn--background--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-btn--background--active)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--active)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--active)}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb{background-color:var(--theme-breadcrumb-ghost--background);border:var(--theme-btn--ghost-thickness) solid transparent;transition:150ms}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color)}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color)}.sc-ix-breadcrumb-h .crumb.ghost.last.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-last--color)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-ghost--background--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-ghost--background--active)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color--active)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color--active)}.dropdown-overflow.sc-ix-breadcrumb .dropdown-menu.sc-ix-breadcrumb{max-height:25rem;overflow-y:auto}";const s=class{constructor(e){r(this,e)}render(){return c(b,null,c("slot",null))}};s.style=".sc-ix-breadcrumb-item-h{display:block}";export{o as ix_breadcrumb,s as ix_breadcrumb_item}
@@ -0,0 +1 @@
1
+ const n=n=>n.toUpperCase()==="Primary".toUpperCase(),i=n=>n.toUpperCase()==="Secondary".toUpperCase(),t=(t,e,r,b=!1,a=!1,o,s)=>({btn:!0,"btn-primary":n(t)&&!e&&!r,"btn-outline-primary":n(t)&&e&&!r,"btn-invisible-primary":n(t)&&!e&&r,"btn-secondary":i(t)&&!e&&!r,"btn-outline-secondary":i(t)&&e&&!r,"btn-invisible-secondary":i(t)&&!e&&r,"btn-icon":b,"btn-oval":a,selected:i(t)&&(e||r)&&o,disabled:s});export{t as g}
@@ -0,0 +1 @@
1
+ import{r as i,h as t,H as e,g as a}from"./p-47ea9884.js";const s=class{constructor(t){i(this,t),this.hideHeader=!1}get menu(){return this.hostElement.querySelector("ix-menu")}componentDidRender(){this.menu&&(this.appendMenu(),this.adjustMenuHeight(),this.menu.applicationName=this.applicationName)}appendMenu(){this.hostElement.querySelector("#menu-placeholder").appendChild(this.menu)}adjustMenuHeight(){this.hideHeader||(this.menu.style.height="calc(100% - 2.75rem)")}render(){return t(e,{class:{"hide-header":this.hideHeader}},this.hideHeader?null:t("ix-application-header",{name:this.applicationName},t("slot",{name:"logo"})),t("div",{id:"menu-placeholder"}),t("div",{class:"content",onClick:()=>this.menu.toggleMenu(!1)},t("slot",null)))}get hostElement(){return a(this)}};s.style=".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}";export{s as ix_basic_navigation}
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as i,g as e}from"./p-47ea9884.js";import{c as a}from"./p-f86fcdf4.js";const l=class{constructor(o){t(this,o),this.placement="top",this.isInputValid=!0,this.onSubmitBind=this.onSubmit.bind(this),this.onInputFocusBind=this.onInputFocus.bind(this)}get arrow(){return this.hostElement.querySelector("#arrow")}get inputElement(){return this.hostElement.querySelector("input")}get formElement(){return this.inputElement.form}get tooltipElement(){return this.hostElement.querySelector(".validation-tooltip")}componentDidLoad(){if(!this.inputElement)throw Error("Validation tooltip is only working with an direct input child.");if(!this.formElement)throw Error("Validation tooltip is only working with an form element.");this.formElement.addEventListener("submit",this.onSubmitBind),this.inputElement.addEventListener("focus",this.onInputFocusBind),this.observer=new MutationObserver((()=>{this.inputElement.classList.contains("is-invalid")&&(this.isInputValid=!1,this.validationChanged())})),this.observer.observe(this.inputElement,{childList:!1,subtree:!1,attributes:!0,attributeFilter:["class"]})}onInputFocus(){this.isInputValid=!0}onSubmit(){this.formElement.classList.contains("needs-validation")&&(this.isInputValid=this.inputElement.validity.valid)}disconnectedCallback(){var t,o;null===(t=this.observer)||void 0===t||t.disconnect(),null===(o=this.popper)||void 0===o||o.destroy(),this.formElement.removeEventListener("submit",this.onSubmitBind),this.inputElement.removeEventListener("focus",this.onInputFocusBind)}validationChanged(){this.isInputValid?(this.tooltipElement.style.display="none",this.popper.destroy()):(this.tooltipElement.style.display="block",this.popper=a(this.inputElement,this.tooltipElement,{placement:this.placement,strategy:"absolute",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"arrow",options:{element:this.arrow}}]}))}render(){return o(i,null,o("slot",null),o("div",{role:"tooltip",style:{display:"none"},class:"validation-tooltip text-default"},this.message,o("slot",{name:"tooltip-message"}),o("div",{id:"arrow","data-popper-arrow":!0})))}get hostElement(){return e(this)}static get watchers(){return{isInputValid:["validationChanged"]}}};l.style='.text-xs.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl.sc-ix-validation-tooltip{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a.sc-ix-validation-tooltip{color:var(--theme-color-primary)}.sc-ix-validation-tooltip-h{display:block}.sc-ix-validation-tooltip-h .validation-tooltip.sc-ix-validation-tooltip{background-color:var(--theme-tootlip--background);color:var(--theme-tooltip--color);padding:5px 10px;border-radius:4px;font-size:13px;border:1px solid var(--theme-tooltip--border-color);box-shadow:0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1)}.sc-ix-validation-tooltip-h .validation-tooltip.sc-ix-validation-tooltip #arrow.sc-ix-validation-tooltip,.sc-ix-validation-tooltip-h .validation-tooltip.sc-ix-validation-tooltip #arrow.sc-ix-validation-tooltip::before{position:absolute;width:8px;height:8px;background:inherit}.sc-ix-validation-tooltip-h .validation-tooltip.sc-ix-validation-tooltip #arrow.sc-ix-validation-tooltip{visibility:hidden}.sc-ix-validation-tooltip-h .validation-tooltip.sc-ix-validation-tooltip #arrow.sc-ix-validation-tooltip::before{visibility:visible;content:"";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=top].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip{bottom:-5px}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=top].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip::before{border-right:1px solid var(--theme-tooltip--border-color);border-bottom:1px solid var(--theme-tooltip--border-color)}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=bottom].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip{top:-5px}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=bottom].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip::before{border-left:1px solid var(--theme-tooltip--border-color);border-top:1px solid var(--theme-tooltip--border-color)}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=left].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip{right:-5px}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=left].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip::before{border-right:1px solid var(--theme-tooltip--border-color);border-top:1px solid var(--theme-tooltip--border-color)}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=right].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip{left:-5px}.sc-ix-validation-tooltip-h .validation-tooltip[data-popper-placement^=right].sc-ix-validation-tooltip>#arrow.sc-ix-validation-tooltip::before{border-left:1px solid var(--theme-tooltip--border-color);border-bottom:1px solid var(--theme-tooltip--border-color)}';export{l as ix_validation_tooltip}
@@ -0,0 +1 @@
1
+ import{r as e,c as o,h as r,H as t,g as i}from"./p-47ea9884.js";const s=class{constructor(r){e(this,r),this.selectGroup=o(this,"selectGroup",7),this.selectItem=o(this,"selectItem",7),this.collapsedChanged=o(this,"collapsedChanged",7),this.suppressHeaderSelection=!1,this.collapsed=!0,this.expandOnHeaderClick=!1}get dropdownItems(){return Array.from(this.hostElement.querySelectorAll("ix-group-dropdown-item"))}get groupItems(){return Array.from(this.hostElement.querySelectorAll("ix-group-item:not(.footer)"))}get groupContent(){return this.hostElement.querySelector(".group-content")}get footer(){return this.hostElement.querySelector(".footer")}async onKeyDown(e){const o=e.target;!this.hostElement.contains(o)||"Enter"!==e.code&&"NumpadEnter"!==e.code||(o.classList.contains("group-header")?this.suppressHeaderSelection?this.collapsed=!this.collapsed:this.selected=!this.selected:o.matches("ix-group-item")&&(o.selected=!o.selected))}onExpandClick(e){const o=this.collapsed;this.collapsed=!this.collapsed,o||void 0===this.index||(this.index=void 0,this.setGroupSelection(!0)),this.collapsedChanged.emit(this.collapsed),e.stopPropagation()}onHeaderClick(e){this.setGroupSelection(!this.selected),this.suppressHeaderSelection&&this.onExpandClick(e)}onItemClick(e){e===this.index?(this.index=void 0,this.selectItem.emit(void 0)):(this.index=e,this.selectItem.emit(e)),this.setGroupSelection(!1)}setGroupSelection(e){this.suppressHeaderSelection||(this.selected=e,this.selectGroup.emit(this.selected))}componentWillRender(){var e;this.groupItems.forEach(((e,o)=>{var r;e.selected=o===this.index,e.index=o,e.classList.remove("last"),(null===(r=this.footer)||void 0===r?void 0:r.children.length)||o!==this.groupItems.length-1||e.classList.add("last")})),(null===(e=this.footer)||void 0===e?void 0:e.childElementCount)>1&&this.groupContent.appendChild(this.footer)}componentDidLoad(){this.groupContent.addEventListener("selectedChanged",(e=>{this.onItemClick(e.detail.index)}))}render(){return r(t,null,r("div",{class:{"group-header":!0,expand:!this.collapsed,selected:this.selected},tabindex:"0"},r("div",{class:"group-header-clickable",onClick:e=>this.onHeaderClick(e)},r("div",{class:"group-header-selection-indicator"}),r("ix-icon",{class:"btn-expand-header",name:`chevron-${this.collapsed?"right":"down"}-small`,onClick:e=>this.onExpandClick(e)}),r("div",{class:"group-header-content"},this.header?r("div",{class:"group-header-props-container"},r("div",{class:"group-header-title"},r("span",{title:this.header},this.header)),r("div",{class:"group-subheader",title:this.subHeader},this.subHeader)):null,r("slot",{name:"header"}))),r("div",{class:{"group-header-context-button":!0,"d-none":!1}},r("ix-icon-button",{ref:e=>this.dropdownTriggerRef=e,size:"24",ghost:!0,icon:"context-menu"}),r("ix-dropdown",{trigger:this.dropdownTriggerRef},r("slot",{name:"dropdown"})))),r("div",{class:{"group-content":!0,"d-none":this.collapsed}},r("slot",null)),r("div",{class:"d-none"},r("ix-group-item",{class:"footer last",suppressSelection:!0,focusable:!1},r("slot",{name:"footer"}))))}get hostElement(){return i(this)}};s.style=".sc-ix-group-h{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;position:relative;max-width:19.75rem;border-color:var(--theme-group-item--border-color)}.sc-ix-group-h .group-header-context-button.sc-ix-group{display:block;position:relative;margin-top:5px;margin-right:5px;margin-left:auto}.sc-ix-group-h .group-header-context-button.sc-ix-group ix-icon-button.sc-ix-group::after{display:none}.sc-ix-group-h .group-header.sc-ix-group{height:4rem;min-height:4rem;max-height:4rem;border-radius:0.25rem;border:var(--theme-std-bdr-1);display:flex;background-color:var(--theme-group-item--background);border:1px solid var(--theme-group-item--border-color);color:var(--theme-group-header--color);cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):hover{background-color:var(--theme-group-item--background--hover);border-color:var(--theme-group-item--border-color--hover)}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):active{background-color:var(--theme-group-item--background--active);border-color:var(--theme-group-item--border-color--active)}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):focus-visible{border-color:var(--focus--border-color);border-radius:var(--theme-group--border-radius--focus);outline:none}.sc-ix-group-h .group-header-clickable.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;width:100%;min-width:0}.sc-ix-group-h .group-header.expand.sc-ix-group{border-bottom-left-radius:0;border-bottom-right-radius:0}.sc-ix-group-h .group-header-selection-indicator.sc-ix-group{width:0.25rem}.sc-ix-group-h .group-header-content.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;justify-content:space-between;min-width:0;padding:0.5rem;padding-left:0;width:100%}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-props-container.sc-ix-group{width:100%}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-title.sc-ix-group{display:flex;align-items:center;font-size:1rem;font-weight:700;height:1.5rem}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-title.sc-ix-group>*.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sc-ix-group-h .group-header-content.sc-ix-group .group-subheader.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:1.25rem;font-size:0.875rem;color:var(--theme-group-subheader--color)}.sc-ix-group-h .expand-icon.sc-ix-group{padding:0.125rem 0.437rem;color:var(--theme-color-std-text)}.sc-ix-group-h .btn-expand-header.sc-ix-group{margin:0.5rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}.sc-ix-group-h .group-content.sc-ix-group{display:flex;flex-direction:column}.sc-ix-group-h .group-header.selected.sc-ix-group{border:var(--theme-primary-bdr-2);background-color:var(--theme-group-item--background--selected)}.sc-ix-group-h .group-header.selected.sc-ix-group .group-header-selection-indicator.sc-ix-group{background-color:var(--theme-color-input-focus)}.sc-ix-group-h .footer.sc-ix-group{height:auto;min-height:0}";const n=class{constructor(o){e(this,o)}render(){return r(t,null,r("ix-dropdown-item",{label:this.label,icon:this.icon},r("slot",null)))}};n.style=".sc-ix-group-dropdown-item-h{display:contents}";const c=class{constructor(r){e(this,r),this.selectedChanged=o(this,"selectedChanged",7),this.suppressSelection=!1,this.focusable=!0}clickListen(){this.suppressSelection||this.selectedChanged.emit(this.hostElement)}render(){return r(t,{class:{selected:this.selected&&!this.suppressSelection,"suppress-selection":this.suppressSelection},tabindex:this.focusable?0:-1},r("div",{class:"group-entry-selection-indicator"}),this.icon?r("ix-icon",{size:"16",name:this.icon}):null,this.text?r("span",{class:"group-entry-text"},r("span",{title:this.text},this.text)):null,this.secondaryText?r("span",{class:"group-entry-text-secondary"},r("span",{title:this.secondaryText},this.secondaryText)):null,r("slot",null))}get hostElement(){return i(this)}};c.style=".sc-ix-group-item-h{display:flex;min-height:2.25rem;height:2.25rem;align-items:center;justify-content:space-between;padding:0.5rem 1.5rem 0.5rem 2.5rem;position:relative;margin-top:0.0625rem;border:1px solid var(--theme-group-item--border-color);outline:none;background-color:var(--theme-group-item--background)}.last.sc-ix-group-item-h{border-bottom-left-radius:0.25rem;border-bottom-right-radius:0.25rem}.sc-ix-group-item-h ix-icon.sc-ix-group-item{margin-right:0.25rem;margin-top:-0.125rem}.sc-ix-group-item-h .group-entry-selection-indicator.sc-ix-group-item{position:absolute;left:0;height:100%;width:0.25rem}.sc-ix-group-item-h .group-entry-text.sc-ix-group-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}.sc-ix-group-item-h .group-entry-text-secondary.sc-ix-group-item{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text);font-size:0.875rem}.sc-ix-group-item-h .group-entry-text-secondary.sc-ix-group-item,.sc-ix-group-item-h .group-entry-text-secondary.sc-ix-group-item span.sc-ix-group-item{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-group-item-h:not(.suppress-selection):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-item-h:not(.suppress-selection):not(.disabled):not(:disabled):hover{background-color:var(--theme-group-item--background--hover);border-color:var(--theme-group-item--border-color--hover)}.sc-ix-group-item-h:not(.suppress-selection):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-item-h:not(.suppress-selection):not(.disabled):not(:disabled):active{background-color:var(--theme-group-item--background--active);border-color:var(--theme-group-item--border-color--active)}.selected.sc-ix-group-item-h{border-top-width:0.062rem !important;border-color:var(--theme-group-item--border-color--selected);background-color:var(--theme-group-item--background--selected)}.selected.sc-ix-group-item-h .group-entry-selection-indicator.sc-ix-group-item{background-color:var(--theme-color-input-focus)}.sc-ix-group-item-h:not(.disabled):not(:disabled):focus-visible{border-color:var(--focus--border-color) !important}";export{s as ix_group,n as ix_group_dropdown_item,c as ix_group_item}
@@ -0,0 +1 @@
1
+ import{r as n,h as e,H as m}from"./p-47ea9884.js";const o=class{constructor(e){n(this,e)}render(){return e(m,null)}};o.style=".sc-my-component-h{display:flex;flex-direction:column;width:100vw;height:100vh}.sc-my-component-h main.sc-my-component{width:100%;padding:2rem}.sc-my-component-h ix-chip.sc-my-component{-webkit-margin-after:1rem;margin-block-end:1rem}";export{o as my_component}
@@ -0,0 +1 @@
1
+ class s{constructor(){this.listeners=[],this.listenersOncer=[],this.on=s=>(this.listeners.push(s),{dispose:()=>this.off(s)}),this.once=s=>{this.listenersOncer.push(s)},this.off=s=>{const t=this.listeners.indexOf(s);t>-1&&this.listeners.splice(t,1)},this.emit=s=>{if(this.listeners.forEach((t=>t(s))),this.listenersOncer.length>0){const t=this.listenersOncer;this.listenersOncer=[],t.forEach((t=>t(s)))}},this.pipe=s=>this.on((t=>s.emit(t)))}}export{s as T}
@@ -0,0 +1 @@
1
+ import{r as s,h as e,F as o,H as t,g as r,c as i}from"./p-47ea9884.js";const l=class{constructor(e){s(this,e),this.vertical=!1,this.disabled=!1,this.status="open",this.clickable=!1,this.selected=!1,this.position="undefined",this.iconName="circle",this.iconColor="workflow-step-icon-default--color"}select(){this.clickable&&(this.disabled||(this.selected=!0,this.selectedHandler()))}selectedHandler(){const s=this.selected?"--selected":"";"open"===this.status&&(this.iconName=this.selected?"circle-dot":"circle",this.iconColor=`workflow-step-icon-default--color${s}`),"done"!==this.status||this.disabled||(this.iconColor=`workflow-step-icon-done--color${s}`)}watchPropHandler(){switch(this.status){case"open":this.iconName="circle",this.iconColor="workflow-step-icon-default--color";break;case"success":this.iconName="success",this.iconColor="color-success";break;case"done":this.iconName="success",this.iconColor="workflow-step-icon-done--color";break;case"warning":this.iconName="warning",this.iconColor="color-warning";break;case"error":this.iconName="error",this.iconColor="color-alarm";break;default:this.iconName="circle"}this.disabled&&(this.iconColor="workflow-step-icon-success--color--disabled")}componentDidLoad(){this.watchPropHandler(),this.selectedHandler(),this.customIconSlot=!!this.hostElement.querySelector('[slot="custom-icon"]')}render(){const s=this.customIconSlot?"":e(o,null,e("ix-icon",{color:"color-1",name:"warning"===this.iconName?"triangle-filled":"circle-filled",class:"absolute",size:"24"}),e("ix-icon",{color:this.iconColor,name:this.iconName,class:"absolute",size:"24"}));return e(t,null,e("div",{tabIndex:0,onClick:()=>this.select(),class:{step:!0,selected:this.selected,vertical:this.vertical,disabled:this.disabled}},e("div",{class:"wrapper"},e("div",{class:{line:!0,selected:this.selected,[this.status]:!0,[this.position]:!0}}),e("div",{class:"iconWrapper"},s,e("slot",{name:"custom-icon"}))),e("div",{class:"text"},e("slot",null))))}get hostElement(){return r(this)}static get watchers(){return{selected:["selectedHandler"],status:["watchPropHandler"]}}};l.style=".sc-ix-workflow-step-h .step.sc-ix-workflow-step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);width:auto;padding:1.125rem 0 0.5rem 0;height:4rem;width:12.75rem}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step{display:flex;width:100%;align-items:center;justify-content:center}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.sc-ix-workflow-step{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.first.sc-ix-workflow-step,.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{width:50%;margin:0 0 0 auto}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{margin:0 auto 0 0}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-default--color--selected)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.done.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-done--color)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.done.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-done--color--selected)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.warning.sc-ix-workflow-step{background-color:var(--theme-color-warning)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.success.sc-ix-workflow-step{background-color:var(--theme-color-success)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.error.sc-ix-workflow-step{background-color:var(--theme-color-alarm)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .iconWrapper.sc-ix-workflow-step{display:flex;align-items:center;justify-content:center;position:absolute}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .iconWrapper.sc-ix-workflow-step .absolute.sc-ix-workflow-step{position:absolute}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .text.sc-ix-workflow-step{margin-top:1rem;width:auto;padding:0 0.5rem}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step{flex-direction:row;padding:0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step{width:auto;padding-left:1.125rem;height:4rem}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.sc-ix-workflow-step{width:0.125rem;height:100%}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.first.sc-ix-workflow-step,.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{height:50%;margin:auto 0 0 0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{margin:0 0 auto 0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .text.sc-ix-workflow-step{margin-top:0;margin-left:1rem;padding:0}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:hover{background-color:var(--theme-workflow-step--background--hover)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:active{background-color:var(--theme-workflow-step--background--active)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}.sc-ix-workflow-step-h .step.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step--background--selected)}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step{background-color:var(--theme-workflow-step--background--disabled)}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step .line.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step .text.sc-ix-workflow-step{color:var(--theme-workflow-step--color--disabled)}";const c=class{constructor(e){s(this,e),this.stepSelected=i(this,"stepSelected",7),this.vertical=!1,this.linear=!1,this.clickable=!1,this.selectedIndex=0}getSteps(){return Array.from(this.hostElement.querySelectorAll("ix-workflow-step"))}deselectAll(){this.getSteps().forEach((s=>{s.setAttribute("selected","false")}))}componentDidRender(){const s=this.getSteps();s.forEach(((e,o)=>{e.setAttribute("vertical",!0===this.vertical?"true":"false"),e.setAttribute("clickable",!0===this.clickable?"true":"false"),e.setAttribute("selected",this.selectedIndex===o?"true":"false"),0===o&&e.setAttribute("position","first"),o===s.length-1&&e.setAttribute("position","last")}))}componentWillRender(){const s=this.getSteps();s.forEach(((e,o)=>{e.addEventListener("click",(()=>{if(!this.clickable)return;const t=s[o-1];if(this.linear&&t&&!["done","success"].includes(null==t?void 0:t.status))return e.setAttribute("selected","false");this.deselectAll(),e.setAttribute("selected","true"),this.stepSelected.emit(o)}))}))}render(){return e(t,null,e("div",{class:{steps:!0,vertical:this.vertical}},e("slot",null)))}get hostElement(){return r(this)}};c.style=".sc-ix-workflow-steps-h .steps.sc-ix-workflow-steps{display:flex}.sc-ix-workflow-steps-h .steps.vertical.sc-ix-workflow-steps{display:block}";export{l as ix_workflow_step,c as ix_workflow_steps}
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as t,H as r,g as s}from"./p-47ea9884.js";const c=class{constructor(t){i(this,t),this.closeClick=e(this,"closeClick",7),this.disabled=!1}onCloseClick(i){i.preventDefault(),i.stopPropagation(),this.closeClick.emit()}render(){return t(r,{class:{disabled:this.disabled},title:this.el.textContent},t("div",{class:"slot-container"},t("slot",null)),t("button",{disabled:this.disabled,class:"btn btn-invisible-secondary btn-oval",onClick:i=>this.onCloseClick(i)},t("ix-icon",{name:"close-small",size:"16"})))}get el(){return s(this)}};c.style=".sc-ix-filter-chip-h{display:flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid transparent;border-radius:2rem;background-color:var(--theme-chip--background);color:var(--theme-chip--color)}.sc-ix-filter-chip-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-filter-chip-h:not(.disabled):not(:disabled):hover{background-color:var(--theme-chip--background--hover)}.sc-ix-filter-chip-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-filter-chip-h:not(.disabled):not(:disabled):active{background-color:var(--theme-chip--background--active)}.sc-ix-filter-chip-h:not(.disabled):not(:disabled):focus-visible{border-color:#199fff}.sc-ix-filter-chip-h .slot-container.sc-ix-filter-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-filter-chip-h .slot-container.sc-ix-filter-chip .disabled.sc-ix-filter-chip-h,.disabled .sc-ix-filter-chip-h{color:var(--theme-chip--color-diabled)}.sc-ix-filter-chip-h .btn-oval.sc-ix-filter-chip{height:1.5rem;width:1.5rem;min-width:1.5rem;margin-left:0.25rem;padding:0;vertical-align:top}.sc-ix-filter-chip-h .btn-oval.sc-ix-filter-chip:not(.disabled):not(:disabled):focus-visible{outline:none;border-color:#199fff}";export{c as ix_filter_chip}
@@ -0,0 +1 @@
1
+ import{r,h as i,H as o,g as t}from"./p-47ea9884.js";const e=class{constructor(i){r(this,i),this.variant="primary",this.outline=!1,this.alignLeft=!1}render(){return i(o,{class:{outline:this.outline,"align-left":this.alignLeft},style:"custom"===this.variant?{color:this.color,backgroundColor:this.background}:{},title:this.el.textContent},i("span",{class:"slot-container"},i("slot",null)))}get el(){return t(this)}};e.style='.sc-ix-counter-pill-h{display:inline-flex;position:relative;align-items:center;justify-content:center;border-radius:100px;padding:0px 6px;margin-left:0.25rem;min-width:1.5rem;height:1.25rem;min-height:1.25rem;max-height:1.25rem;cursor:auto}.sc-ix-counter-pill-h .with-icon.sc-ix-counter-pill{margin-right:0.25rem}.align-left.sc-ix-counter-pill-h{justify-content:flex-start}[variant=primary].sc-ix-counter-pill-h{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}[variant=primary].sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary--color);pointer-events:auto}[variant=primary].outline.sc-ix-counter-pill-h{color:var(--theme-chip-primary-outline--color);background-color:transparent;border:solid 1px var(--theme-chip-primary-outline--border-color)}[variant=primary].outline.sc-ix-counter-pill-h .close-button.sc-ix-counter-pill{color:var(--theme-chip-primary-outline--color)}[variant=alarm].sc-ix-counter-pill-h{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-alarm)}[variant=alarm].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-alarm--contrast)}[variant=alarm].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=alarm].sc-ix-counter-pill-h:not(.outline).active::after,[variant=alarm].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=alarm].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-alarm)}[variant=alarm].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=alarm].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=alarm].outline.active.sc-ix-counter-pill-h::after,[variant=alarm].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=alarm].outline.active.sc-ix-counter-pill-h,[variant=alarm].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=critical].sc-ix-counter-pill-h{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-critical)}[variant=critical].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-critical--contrast)}[variant=critical].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=critical].sc-ix-counter-pill-h:not(.outline).active::after,[variant=critical].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=critical].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-critical)}[variant=critical].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=critical].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=critical].outline.active.sc-ix-counter-pill-h::after,[variant=critical].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=critical].outline.active.sc-ix-counter-pill-h,[variant=critical].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=warning].sc-ix-counter-pill-h{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-warning)}[variant=warning].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-warning--contrast)}[variant=warning].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=warning].sc-ix-counter-pill-h:not(.outline).active::after,[variant=warning].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=warning].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-warning)}[variant=warning].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=warning].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=warning].outline.active.sc-ix-counter-pill-h::after,[variant=warning].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=warning].outline.active.sc-ix-counter-pill-h,[variant=warning].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=info].sc-ix-counter-pill-h{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-info)}[variant=info].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-info--contrast)}[variant=info].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=info].sc-ix-counter-pill-h:not(.outline).active::after,[variant=info].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=info].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-info)}[variant=info].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=info].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=info].outline.active.sc-ix-counter-pill-h::after,[variant=info].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=info].outline.active.sc-ix-counter-pill-h,[variant=info].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=neutral].sc-ix-counter-pill-h{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-neutral)}[variant=neutral].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-neutral--contrast)}[variant=neutral].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=neutral].sc-ix-counter-pill-h:not(.outline).active::after,[variant=neutral].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=neutral].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-neutral)}[variant=neutral].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=neutral].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=neutral].outline.active.sc-ix-counter-pill-h::after,[variant=neutral].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=neutral].outline.active.sc-ix-counter-pill-h,[variant=neutral].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}[variant=success].sc-ix-counter-pill-h{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline){background-color:var(--theme-color-success)}[variant=success].sc-ix-counter-pill-h:not(.outline) .close-button.sc-ix-counter-pill{color:var(--theme-color-success--contrast)}[variant=success].sc-ix-counter-pill-h:not(.outline):hover::after{content:"";background-color:rgba(0, 0, 0, 0.05)}[variant=success].sc-ix-counter-pill-h:not(.outline).active::after,[variant=success].sc-ix-counter-pill-h:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}[variant=success].outline.sc-ix-counter-pill-h{color:var(--theme-chip-outline--color);border:solid 1px var(--theme-color-success)}[variant=success].outline.sc-ix-counter-pill-h:hover::after{display:none}[variant=success].outline.sc-ix-counter-pill-h:hover{background-color:var(--theme-chip-outline--background--hover)}[variant=success].outline.active.sc-ix-counter-pill-h::after,[variant=success].outline.sc-ix-counter-pill-h:active::after{display:none}[variant=success].outline.active.sc-ix-counter-pill-h,[variant=success].outline.sc-ix-counter-pill-h:active{background-color:var(--theme-chip-outline--background--active)}.sc-ix-counter-pill-h .slot.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-counter-pill-h{min-height:1rem;max-height:1rem;height:1rem;font-size:0.75rem;padding:0 0.25rem;min-width:1rem;width:auto;padding:0 4px}.sc-ix-counter-pill-h .slot-container.sc-ix-counter-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}';export{e as ix_counter_pill}
@@ -0,0 +1 @@
1
+ import{r as e,c as i,h as a,H as s,g as l}from"./p-47ea9884.js";import{U as t}from"./p-da2cae32.js";const o=class{constructor(a){e(this,a),this.filesChanged=i(this,"filesChanged",7),this.multiple=!1,this.multiline=!1,this.disabled=!1,this.state=t.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=!1}get inputElement(){return this.hostElement.querySelector("#upload-browser")}fileDropped(e){e.preventDefault();const i=e.dataTransfer.files;this.isFileOver=!1,this.filesToUpload=this.convertToFileArray(i),this.filesChanged.emit(this.filesToUpload)}fileOver(e){e.preventDefault(),e.dataTransfer.dropEffect="move",!this.multiple&&e.dataTransfer.items.length>1?(e.preventDefault(),e.stopPropagation(),e.dataTransfer.effectAllowed="none",e.dataTransfer.dropEffect="none"):this.isFileOver=!0}fileLeave(){this.isFileOver=!1}fileChangeEvent(e){this.filesToUpload=this.convertToFileArray(e.target.files),this.filesChanged.emit(this.filesToUpload),this.inputElement.type="",this.inputElement.type="file"}convertToFileArray(e){let i=[];return i=e instanceof FileList?Array.from(e):[e],i}renderUploadState(){if(this.disabled)return a("span",{class:"state"},a("span",{class:"upload-text"},this.i18nUploadDisabled));switch(this.state){case t.SELECT_FILE:return a("span",{class:"state"},a("span",{class:"upload-text"},this.selectFileText));case t.LOADING:return a("span",{class:"state"},a("ix-spinner",{variant:"primary"}),a("span",{class:"upload-text"},this.loadingText));case t.UPLOAD_FAILED:return a("span",{class:"state"},a("i",{class:"glyph glyph-error"}),a("span",{class:"upload-text"},this.uploadFailedText));case t.UPLOAD_SUCCESSED:return a("span",{class:"state"},a("i",{class:"glyph glyph-success"}),a("span",{class:"upload-text"},this.uploadSuccessText));default:return""}}async setFilesToUpload(e){this.filesToUpload=e}render(){return a(s,null,a("div",{class:{"file-upload-area":!0,"file-over":this.isFileOver,checking:this.state===t.LOADING,disabled:this.disabled,multiline:this.multiline},onDrop:e=>this.fileDropped(e),onDragOver:e=>this.fileOver(e),onDragLeave:()=>this.fileLeave(),draggable:!this.disabled},this.renderUploadState(),a("div",null,a("input",{multiple:this.multiple,type:"file",class:"upload-browser",id:"upload-browser",onChange:e=>{this.fileChangeEvent(e)},accept:this.accept}),a("ix-button",{tabindex:"-1",outline:!0,onClick:()=>this.inputElement.click(),disabled:this.disabled||this.state===t.LOADING},this.i18nUploadFile))))}get hostElement(){return l(this)}};o.style=".sc-ix-upload-h{display:block;min-height:4rem;height:4rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload{display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden;height:100%;width:100%;padding:1rem;border:1px dashed var(--theme-upload--border-color);border-radius:var(--theme-upload--border-radius);color:var(--theme-upload-text--color)}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload{max-height:unset;height:auto}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload .glyph.sc-ix-upload{align-self:flex-start;-webkit-margin-before:3px;margin-block-start:3px}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload>div.sc-ix-upload{align-self:flex-start}.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .state.sc-ix-upload,.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .upload-text.sc-ix-upload{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-upload-h .file-upload-area.file-over.sc-ix-upload{border-color:var(--theme-upload--border-color--dragover);border-style:solid}.sc-ix-upload-h .file-upload-area.checking.sc-ix-upload{color:var(--theme-upload-text--color--checking);border-style:solid}.sc-ix-upload-h .file-upload-area.disabled.sc-ix-upload{border-style:solid;color:var(--theme-upload-text--color--disabled)}.sc-ix-upload-h .file-upload-area.sc-ix-upload ix-button.sc-ix-upload{-webkit-margin-start:1rem;margin-inline-start:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-browser.sc-ix-upload{opacity:0;overflow:hidden;position:absolute;z-index:-1}.sc-ix-upload-h .file-upload-area.sc-ix-upload .loader.sc-ix-upload{margin:2.187rem auto;font-size:0.937rem;width:1rem;height:1rem;border-radius:50%;position:relative;text-indent:-9999em;animation:optimise-loading 1.1s infinite ease;transform:translateZ(0)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-filename.sc-ix-upload{margin-bottom:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload{display:flex;align-items:center}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>ix-spinner.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;height:1.5rem;width:1.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-error.sc-ix-upload{color:var(--theme-color-alarm)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-success.sc-ix-upload{color:var(--theme-color-success)}";export{o as ix_upload}
@@ -0,0 +1 @@
1
+ import{r as i,h as s,H as h}from"./p-47ea9884.js";const t=class{constructor(s){i(this,s)}render(){return s(h,{style:{color:this.color?`var(--theme-${this.color})`:"inherit"},class:{"size-12":"12"===this.size,"size-16":"16"===this.size,"size-24":"24"===this.size,"size-32":"32"===this.size}},s("i",{class:{glyph:!0,[`glyph-${this.name}`]:!0,"glyph-12":"12"===this.size,"glyph-16":"16"===this.size,"glyph-24":"24"===this.size,"glyph-32":"32"===this.size}},s("slot",null)))}};t.style=".sc-ix-icon-h{display:inline-flex;height:1.5rem;width:1.5rem;color:var(--theme-color-std-text)}.sc-ix-icon-h i.sc-ix-icon{color:inherit;transition:color 150ms}.size-12.sc-ix-icon-h{height:0.75rem;width:0.75rem}.size-16.sc-ix-icon-h{height:1rem;width:1rem}.size-32.sc-ix-icon-h{height:2rem;width:2rem}";export{t as ix_icon}
@@ -0,0 +1 @@
1
+ var n={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},r={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},t=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],e={CSS:{},springs:{}};function u(n,r,t){return Math.min(Math.max(n,r),t)}function a(n,r){return n.indexOf(r)>-1}function o(n,r){return n.apply(null,r)}var i={arr:function(n){return Array.isArray(n)},obj:function(n){return a(Object.prototype.toString.call(n),"Object")},pth:function(n){return i.obj(n)&&n.hasOwnProperty("totalLength")},svg:function(n){return n instanceof SVGElement},inp:function(n){return n instanceof HTMLInputElement},dom:function(n){return n.nodeType||i.svg(n)},str:function(n){return"string"==typeof n},fnc:function(n){return"function"==typeof n},und:function(n){return void 0===n},nil:function(n){return i.und(n)||null===n},hex:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(n)},rgb:function(n){return/^rgb/.test(n)},hsl:function(n){return/^hsl/.test(n)},col:function(n){return i.hex(n)||i.rgb(n)||i.hsl(n)},key:function(t){return!n.hasOwnProperty(t)&&!r.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function c(n){var r=/\(([^)]+)\)/.exec(n);return r?r[1].split(",").map((function(n){return parseFloat(n)})):[]}function f(n,r){var t=c(n),a=u(i.und(t[0])?1:t[0],.1,100),o=u(i.und(t[1])?100:t[1],.1,100),f=u(i.und(t[2])?10:t[2],.1,100),v=u(i.und(t[3])?0:t[3],.1,100),s=Math.sqrt(o/a),l=f/(2*Math.sqrt(o*a)),d=l<1?s*Math.sqrt(1-l*l):0,h=l<1?(l*s-v)/d:-v+s;function p(n){var t=r?r*n/1e3:n;return t=l<1?Math.exp(-t*l*s)*(1*Math.cos(d*t)+h*Math.sin(d*t)):(1+h*t)*Math.exp(-t*s),0===n||1===n?n:1-t}return r?p:function(){var r=e.springs[n];if(r)return r;for(var t=1/6,u=0,a=0;;)if(1===p(u+=t)){if(++a>=16)break}else a=0;var o=u*t*1e3;return e.springs[n]=o,o}}function v(n){return void 0===n&&(n=10),function(r){return Math.ceil(u(r,1e-6,1)*n)*(1/n)}}var s,l,d=function(){var n=.1;function r(n,r){return 1-3*r+3*n}function t(n,r){return 3*r-6*n}function e(n){return 3*n}function u(n,u,a){return((r(u,a)*n+t(u,a))*n+e(u))*n}function a(n,u,a){return 3*r(u,a)*n*n+2*t(u,a)*n+e(u)}return function(r,t,e,o){if(0<=r&&r<=1&&0<=e&&e<=1){var i=new Float32Array(11);if(r!==t||e!==o)for(var c=0;c<11;++c)i[c]=u(c*n,r,e);return function(c){return r===t&&e===o||0===c||1===c?c:u(function(t){for(var o=0,c=1;10!==c&&i[c]<=t;++c)o+=n;--c;var f=o+(t-i[c])/(i[c+1]-i[c])*n,v=a(f,r,e);return v>=.001?function(n,r,t,e){for(var o=0;o<4;++o){var i=a(r,t,e);if(0===i)return r;r-=(u(r,t,e)-n)/i}return r}(t,f,r,e):0===v?f:function(n,r,t,e,a){var o,i,c=0;do{(o=u(i=r+(t-r)/2,e,a)-n)>0?t=i:r=i}while(Math.abs(o)>1e-7&&++c<10);return i}(t,o,o+n,r,e)}(c),t,o)}}}}(),h=(s={linear:function(){return function(n){return n}}},l={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var r,t=4;n<((r=Math.pow(2,--t))-1)/11;);return 1/Math.pow(4,3-t)-7.5625*Math.pow((3*r-2)/22-n,2)}},Elastic:function(n,r){void 0===n&&(n=1),void 0===r&&(r=.5);var t=u(n,1,10),e=u(r,.1,2);return function(n){return 0===n||1===n?n:-t*Math.pow(2,10*(n-1))*Math.sin((n-1-e/(2*Math.PI)*Math.asin(1/t))*(2*Math.PI)/e)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(n,r){l[n]=function(){return function(n){return Math.pow(n,r+2)}}})),Object.keys(l).forEach((function(n){var r=l[n];s["easeIn"+n]=r,s["easeOut"+n]=function(n,t){return function(e){return 1-r(n,t)(1-e)}},s["easeInOut"+n]=function(n,t){return function(e){return e<.5?r(n,t)(2*e)/2:1-r(n,t)(-2*e+2)/2}},s["easeOutIn"+n]=function(n,t){return function(e){return e<.5?(1-r(n,t)(1-2*e))/2:(r(n,t)(2*e-1)+1)/2}}})),s);function p(n,r){if(i.fnc(n))return n;var t=n.split("(")[0],e=h[t],u=c(n);switch(t){case"spring":return f(n,r);case"cubicBezier":return o(d,u);case"steps":return o(v,u);default:return o(e,u)}}function m(n){try{return document.querySelectorAll(n)}catch(n){return}}function M(n,r){for(var t=n.length,e=arguments.length>=2?arguments[1]:void 0,u=[],a=0;a<t;a++)if(a in n){var o=n[a];r.call(e,o,a,n)&&u.push(o)}return u}function g(n){return n.reduce((function(n,r){return n.concat(i.arr(r)?g(r):r)}),[])}function y(n){return i.arr(n)?n:(i.str(n)&&(n=m(n)||n),n instanceof NodeList||n instanceof HTMLCollection?[].slice.call(n):[n])}function b(n,r){return n.some((function(n){return n===r}))}function w(n){var r={};for(var t in n)r[t]=n[t];return r}function x(n,r){var t=w(n);for(var e in n)t[e]=r.hasOwnProperty(e)?r[e]:n[e];return t}function F(n,r){var t=w(n);for(var e in r)t[e]=i.und(n[e])?r[e]:n[e];return t}function C(n){var r=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);if(r)return r[1]}function I(n,r){return i.fnc(n)?n(r.target,r.id,r.total):n}function k(n,r){return n.getAttribute(r)}function B(n,r,t){if(b([t,"deg","rad","turn"],C(r)))return r;var u=e.CSS[r+t];if(!i.und(u))return u;var a=document.createElement(n.tagName),o=n.parentNode&&n.parentNode!==document?n.parentNode:document.body;o.appendChild(a),a.style.position="absolute",a.style.width=100+t;var c=100/a.offsetWidth;o.removeChild(a);var f=c*parseFloat(r);return e.CSS[r+t]=f,f}function O(n,r,t){if(r in n.style){var e=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),u=n.style[r]||getComputedStyle(n).getPropertyValue(e)||"0";return t?B(n,u,t):u}}function A(n,r){return i.dom(n)&&!i.inp(n)&&(!i.nil(k(n,r))||i.svg(n)&&n[r])?"attribute":i.dom(n)&&b(t,r)?"transform":i.dom(n)&&"transform"!==r&&O(n,r)?"css":null!=n[r]?"object":void 0}function j(n){if(i.dom(n)){for(var r,t=n.style.transform||"",e=/(\w+)\(([^)]*)\)/g,u=new Map;r=e.exec(t);)u.set(r[1],r[2]);return u}}function E(n,r,t,e){switch(A(n,r)){case"transform":return function(n,r,t,e){var u=a(r,"scale")?1:0+function(n){return a(n,"translate")||"perspective"===n?"px":a(n,"rotate")||a(n,"skew")?"deg":void 0}(r),o=j(n).get(r)||u;return t&&(t.transforms.list.set(r,o),t.transforms.last=r),e?B(n,o,e):o}(n,r,e,t);case"css":return O(n,r,t);case"attribute":return k(n,r);default:return n[r]||0}}function $(n,r){var t=/^(\*=|\+=|-=)/.exec(n);if(!t)return n;var e=C(n)||0,u=parseFloat(r),a=parseFloat(n.replace(t[0],""));switch(t[0][0]){case"+":return u+a+e;case"-":return u-a+e;case"*":return u*a+e}}function N(n,r){if(i.col(n))return function(n){return i.rgb(n)?(t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r=n))?"rgba("+t[1]+",1)":r:i.hex(n)?function(n){var r=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(n,r,t,e){return r+r+t+t+e+e})),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);return"rgba("+parseInt(t[1],16)+","+parseInt(t[2],16)+","+parseInt(t[3],16)+",1)"}(n):i.hsl(n)?function(n){var r,t,e,u=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(n)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(n),a=parseInt(u[1],10)/360,o=parseInt(u[2],10)/100,i=parseInt(u[3],10)/100,c=u[4]||1;function f(n,r,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+6*(r-n)*t:t<.5?r:t<2/3?n+(r-n)*(2/3-t)*6:n}if(0==o)r=t=e=i;else{var v=i<.5?i*(1+o):i+o-i*o,s=2*i-v;r=f(s,v,a+1/3),t=f(s,v,a),e=f(s,v,a-1/3)}return"rgba("+255*r+","+255*t+","+255*e+","+c+")"}(n):void 0;var r,t}(n);if(/\s/g.test(n))return n;var t=C(n),e=t?n.substr(0,n.length-t.length):n;return r?e+r:e}function L(n,r){return Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2))}function S(n){for(var r,t=n.points,e=0,u=0;u<t.numberOfItems;u++){var a=t.getItem(u);u>0&&(e+=L(r,a)),r=a}return e}function X(n){if(n.getTotalLength)return n.getTotalLength();switch(n.tagName.toLowerCase()){case"circle":return function(n){return 2*Math.PI*k(n,"r")}(n);case"rect":return function(n){return 2*k(n,"width")+2*k(n,"height")}(n);case"line":return function(n){return L({x:k(n,"x1"),y:k(n,"y1")},{x:k(n,"x2"),y:k(n,"y2")})}(n);case"polyline":return S(n);case"polygon":return function(n){var r=n.points;return S(n)+L(r.getItem(r.numberOfItems-1),r.getItem(0))}(n)}}function Y(n,r){var t=r||{},e=t.el||function(n){for(var r=n.parentNode;i.svg(r)&&i.svg(r.parentNode);)r=r.parentNode;return r}(n),u=e.getBoundingClientRect(),a=k(e,"viewBox"),o=u.width,c=u.height,f=t.viewBox||(a?a.split(" "):[0,0,o,c]);return{el:e,viewBox:f,x:f[0]/1,y:f[1]/1,w:o,h:c,vW:f[2],vH:f[3]}}function Z(n,r,t){function e(t){return void 0===t&&(t=0),n.el.getPointAtLength(r+t>=1?r+t:0)}var u=Y(n.el,n.svg),a=e(),o=e(-1),i=e(1),c=t?1:u.w/u.vW,f=t?1:u.h/u.vH;switch(n.property){case"x":return(a.x-u.x)*c;case"y":return(a.y-u.y)*f;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function D(n,r){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,e=N(i.pth(n)?n.totalLength:n,r)+"";return{original:e,numbers:e.match(t)?e.match(t).map(Number):[0],strings:i.str(n)||r?e.split(t):[]}}function H(n){return M(n?g(i.arr(n)?n.map(y):y(n)):[],(function(n,r,t){return t.indexOf(n)===r}))}function Q(n){var r=H(n);return r.map((function(n,t){return{target:n,id:t,total:r.length,transforms:{list:j(n)}}}))}function q(n,r){var t=w(r);if(/^spring/.test(t.easing)&&(t.duration=f(t.easing)),i.arr(n)){var e=n.length;2!==e||i.obj(n[0])?i.fnc(r.duration)||(t.duration=r.duration/e):n={value:n}}var u=i.arr(n)?n:[n];return u.map((function(n,t){var e=i.obj(n)&&!i.pth(n)?n:{value:n};return i.und(e.delay)&&(e.delay=t?0:r.delay),i.und(e.endDelay)&&(e.endDelay=t===u.length-1?r.endDelay:0),e})).map((function(n){return F(n,t)}))}var z={css:function(n,r,t){return n.style[r]=t},attribute:function(n,r,t){return n.setAttribute(r,t)},object:function(n,r,t){return n[r]=t},transform:function(n,r,t,e,u){if(e.list.set(r,t),r===e.last||u){var a="";e.list.forEach((function(n,r){a+=r+"("+n+") "})),n.style.transform=a}}};function P(n,r){Q(n).forEach((function(n){for(var t in r){var e=I(r[t],n),u=n.target,a=C(e),o=E(u,t,a,n),i=$(N(e,a||C(o)),o),c=A(u,t);z[c](u,t,i,n.transforms,!0)}}))}function T(n,r){return M(g(n.map((function(n){return r.map((function(r){return function(n,r){var t=A(n.target,r.name);if(t){var e=function(n,r){var t;return n.tweens.map((function(e){var u=function(n,r){var t={};for(var e in n){var u=I(n[e],r);i.arr(u)&&1===(u=u.map((function(n){return I(n,r)}))).length&&(u=u[0]),t[e]=u}return t.duration=parseFloat(t.duration),t.delay=parseFloat(t.delay),t}(e,r),a=u.value,o=i.arr(a)?a[1]:a,c=C(o),f=E(r.target,n.name,c,r),v=t?t.to.original:f,s=i.arr(a)?a[0]:v,l=C(s)||C(f),d=c||l;return i.und(o)&&(o=v),u.from=D(s,d),u.to=D($(o,s),d),u.start=t?t.end:0,u.end=u.start+u.delay+u.duration+u.endDelay,u.easing=p(u.easing,u.duration),u.isPath=i.pth(a),u.isPathTargetInsideSVG=u.isPath&&i.svg(r.target),u.isColor=i.col(u.from.original),u.isColor&&(u.round=1),t=u,u}))}(r,n),u=e[e.length-1];return{type:t,property:r.name,animatable:n,tweens:e,duration:u.end,delay:e[0].delay,endDelay:u.endDelay}}}(n,r)}))}))),(function(n){return!i.und(n)}))}function G(n,r){var t=n.length,e=function(n){return n.timelineOffset?n.timelineOffset:0},u={};return u.duration=t?Math.max.apply(Math,n.map((function(n){return e(n)+n.duration}))):r.duration,u.delay=t?Math.min.apply(Math,n.map((function(n){return e(n)+n.delay}))):r.delay,u.endDelay=t?u.duration-Math.max.apply(Math,n.map((function(n){return e(n)+n.duration-n.endDelay}))):r.endDelay,u}var V=0,W=[],J=function(){var n;function r(t){for(var e=W.length,u=0;u<e;){var a=W[u];a.paused?(W.splice(u,1),e--):(a.tick(t),u++)}n=u>0?requestAnimationFrame(r):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){R.suspendWhenDocumentHidden&&(K()?n=cancelAnimationFrame(n):(W.forEach((function(n){return n._onDocumentVisibility()})),J()))})),function(){n||K()&&R.suspendWhenDocumentHidden||!(W.length>0)||(n=requestAnimationFrame(r))}}();function K(){return!!document&&document.hidden}function R(t){void 0===t&&(t={});var e,a=0,o=0,c=0,f=0,v=null;function s(n){var r=window.Promise&&new Promise((function(n){return v=n}));return n.finished=r,r}var l=function(t){var e=x(n,t),u=x(r,t),a=function(n,r){var t=[],e=r.keyframes;for(var u in e&&(r=F(function(n){for(var r=M(g(n.map((function(n){return Object.keys(n)}))),(function(n){return i.key(n)})).reduce((function(n,r){return n.indexOf(r)<0&&n.push(r),n}),[]),t={},e=function(e){var u=r[e];t[u]=n.map((function(n){var r={};for(var t in n)i.key(t)?t==u&&(r.value=n[t]):r[t]=n[t];return r}))},u=0;u<r.length;u++)e(u);return t}(e),r)),r)i.key(u)&&t.push({name:u,tweens:q(r[u],n)});return t}(u,t),o=Q(t.targets),c=T(o,a),f=G(c,u),v=V;return V++,F(e,{id:v,children:[],animatables:o,animations:c,duration:f.duration,delay:f.delay,endDelay:f.endDelay})}(t);function d(){var n=l.direction;"alternate"!==n&&(l.direction="normal"!==n?"normal":"reverse"),l.reversed=!l.reversed,e.forEach((function(n){return n.reversed=l.reversed}))}function h(n){return l.reversed?l.duration-n:n}function p(){a=0,o=h(l.currentTime)*(1/R.speed)}function m(n,r){r&&r.seek(n-r.timelineOffset)}function y(n){for(var r=0,t=l.animations,e=t.length;r<e;){var a=t[r],o=a.animatable,i=a.tweens,c=i.length-1,f=i[c];c&&(f=M(i,(function(r){return n<r.end}))[0]||f);for(var v=u(n-f.start-f.delay,0,f.duration)/f.duration,s=isNaN(v)?1:f.easing(v),d=f.to.strings,h=f.round,p=[],m=f.to.numbers.length,g=void 0,y=0;y<m;y++){var b=void 0,w=f.to.numbers[y],x=f.from.numbers[y]||0;b=f.isPath?Z(f.value,s*w,f.isPathTargetInsideSVG):x+s*(w-x),h&&(f.isColor&&y>2||(b=Math.round(b*h)/h)),p.push(b)}var F=d.length;if(F){g=d[0];for(var C=0;C<F;C++){var I=d[C+1],k=p[C];isNaN(k)||(g+=I?k+I:k+" ")}}else g=p[0];z[a.type](o.target,a.property,g,o.transforms),a.currentValue=g,r++}}function b(n){l[n]&&!l.passThrough&&l[n](l)}function w(n){var r=l.duration,t=l.delay,i=r-l.endDelay,p=h(n);l.progress=u(p/r*100,0,100),l.reversePlayback=p<l.currentTime,e&&function(n){if(l.reversePlayback)for(var r=f;r--;)m(n,e[r]);else for(var t=0;t<f;t++)m(n,e[t])}(p),!l.began&&l.currentTime>0&&(l.began=!0,b("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,b("loopBegin")),p<=t&&0!==l.currentTime&&y(0),(p>=i&&l.currentTime!==r||!r)&&y(r),p>t&&p<i?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,b("changeBegin")),b("change"),y(p)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,b("changeComplete")),l.currentTime=u(p,0,r),l.began&&b("update"),n>=r&&(o=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(a=c,b("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&d()):(l.paused=!0,l.completed||(l.completed=!0,b("loopComplete"),b("complete"),!l.passThrough&&"Promise"in window&&(v(),s(l)))))}return s(l),l.reset=function(){var n=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===n,l.remaining=l.loop;for(var r=f=(e=l.children).length;r--;)l.children[r].reset();(l.reversed&&!0!==l.loop||"alternate"===n&&1===l.loop)&&l.remaining++,y(l.reversed?l.duration:0)},l._onDocumentVisibility=p,l.set=function(n,r){return P(n,r),l},l.tick=function(n){c=n,a||(a=c),w((c+(o-a))*R.speed)},l.seek=function(n){w(h(n))},l.pause=function(){l.paused=!0,p()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,W.push(l),p(),J())},l.reverse=function(){d(),l.completed=!l.reversed,p()},l.restart=function(){l.reset(),l.play()},l.remove=function(n){_(H(n),l)},l.reset(),l.autoplay&&l.play(),l}function U(n,r){for(var t=r.length;t--;)b(n,r[t].animatable.target)&&r.splice(t,1)}function _(n,r){var t=r.animations,e=r.children;U(n,t);for(var u=e.length;u--;){var a=e[u],o=a.animations;U(n,o),o.length||a.children.length||e.splice(u,1)}t.length||e.length||r.pause()}R.version="3.2.1",R.speed=1,R.suspendWhenDocumentHidden=!0,R.running=W,R.remove=function(n){for(var r=H(n),t=W.length;t--;)_(r,W[t])},R.get=E,R.set=P,R.convertPx=B,R.path=function(n,r){var t=i.str(n)?m(n)[0]:n,e=r||100;return function(n){return{property:n,el:t,svg:Y(t),totalLength:X(t)*(e/100)}}},R.setDashoffset=function(n){var r=X(n);return n.setAttribute("stroke-dasharray",r),r},R.stagger=function(n,r){void 0===r&&(r={});var t=r.direction||"normal",e=r.easing?p(r.easing):null,u=r.grid,a=r.axis,o=r.from||0,c="first"===o,f="center"===o,v="last"===o,s=i.arr(n),l=s?parseFloat(n[0]):parseFloat(n),d=s?parseFloat(n[1]):0,h=C(s?n[1]:n)||0,m=r.start||0+(s?l:0),M=[],g=0;return function(n,r,i){if(c&&(o=0),f&&(o=(i-1)/2),v&&(o=i-1),!M.length){for(var p=0;p<i;p++){if(u){var y=f?(u[0]-1)/2:o%u[0],b=f?(u[1]-1)/2:Math.floor(o/u[0]),w=y-p%u[0],x=b-Math.floor(p/u[0]),F=Math.sqrt(w*w+x*x);"x"===a&&(F=-w),"y"===a&&(F=-x),M.push(F)}else M.push(Math.abs(o-p));g=Math.max.apply(Math,M)}e&&(M=M.map((function(n){return e(n/g)*g}))),"reverse"===t&&(M=M.map((function(n){return a?n<0?-1*n:-n:Math.abs(g-n)})))}return m+(s?(d-l)/g:l)*(Math.round(100*M[r])/100)+h}},R.timeline=function(n){void 0===n&&(n={});var t=R(n);return t.duration=0,t.add=function(e,u){var a=W.indexOf(t),o=t.children;function c(n){n.passThrough=!0}a>-1&&W.splice(a,1);for(var f=0;f<o.length;f++)c(o[f]);var v=F(e,x(r,n));v.targets=v.targets||n.targets;var s=t.duration;v.autoplay=!1,v.direction=t.direction,v.timelineOffset=i.und(u)?s:$(u,s),c(t),t.seek(v.timelineOffset);var l=R(v);c(l),o.push(l);var d=G(o,n);return t.delay=d.delay,t.endDelay=d.endDelay,t.duration=d.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},R.easing=p,R.penner=h,R.random=function(n,r){return Math.floor(Math.random()*(r-n+1))+n};export{R as a}