@siemens/ix 2.0.0-beta.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1272) hide show
  1. package/dist/cjs/_commonjsHelpers-0c557e26.js +28 -0
  2. package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
  3. package/dist/cjs/a11y-4fdcefb4.js +82 -0
  4. package/dist/cjs/a11y-4fdcefb4.js.map +1 -0
  5. package/dist/cjs/app-globals-1fe10058.js +31 -0
  6. package/dist/cjs/app-globals-1fe10058.js.map +1 -0
  7. package/dist/cjs/breakpoints-7ca69aa8.js +27 -0
  8. package/dist/cjs/breakpoints-7ca69aa8.js.map +1 -0
  9. package/dist/cjs/core-js-3b34c0b6.js +27 -0
  10. package/dist/cjs/core-js-3b34c0b6.js.map +1 -0
  11. package/dist/cjs/dom-83fb07d8.js +74 -0
  12. package/dist/cjs/dom-83fb07d8.js.map +1 -0
  13. package/dist/cjs/index-be499a74.js +186 -130
  14. package/dist/cjs/index.cjs.js +0 -2
  15. package/dist/cjs/index.cjs.js.map +1 -1
  16. package/dist/cjs/index.es2017-b42376b6.js +1504 -0
  17. package/dist/cjs/index.es2017-b42376b6.js.map +1 -0
  18. package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
  19. package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
  21. package/dist/cjs/ix-application.cjs.entry.js +2 -2
  22. package/dist/cjs/ix-avatar_2.cjs.entry.js +56 -0
  23. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
  25. package/dist/cjs/ix-blind.cjs.entry.js +13 -5
  26. package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +68 -0
  28. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ix-breadcrumb.cjs.entry.js +104 -0
  30. package/dist/cjs/ix-breadcrumb.cjs.entry.js.map +1 -0
  31. package/dist/cjs/ix-burger-menu.cjs.entry.js +2 -2
  32. package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +4 -6
  34. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ix-card-list.cjs.entry.js +3 -3
  36. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ix-card_2.cjs.entry.js +2 -2
  38. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
  40. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ix-chip.cjs.entry.js +3 -5
  42. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ix-col.cjs.entry.js +3 -3
  44. package/dist/cjs/ix-col.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
  46. package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ix-date-picker_2.cjs.entry.js +8 -8
  48. package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
  50. package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -2
  52. package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ix-dropdown-item.cjs.entry.js +49 -0
  54. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ix-dropdown.cjs.entry.js +322 -0
  56. package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ix-event-list-item.cjs.entry.js +42 -0
  58. package/dist/cjs/ix-event-list-item.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ix-event-list.cjs.entry.js +124 -0
  60. package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -0
  61. package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
  62. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +91 -0
  64. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -0
  65. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +22 -0
  66. package/dist/cjs/ix-flip-tile-content.cjs.entry.js.map +1 -0
  67. package/dist/cjs/ix-flip-tile.cjs.entry.js +89 -0
  68. package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ix-form-field.cjs.entry.js +1 -1
  70. package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +79 -0
  72. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -0
  73. package/dist/cjs/ix-group.cjs.entry.js +128 -0
  74. package/dist/cjs/ix-group.cjs.entry.js.map +1 -0
  75. package/dist/cjs/ix-icon-button_2.cjs.entry.js +97 -0
  76. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -0
  77. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +2 -2
  78. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ix-icon.entry-6cd45fec.js +1487 -0
  80. package/dist/cjs/ix-icon.entry-6cd45fec.js.map +1 -0
  81. package/dist/cjs/ix-input-group.cjs.entry.js +19 -15
  82. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ix-kpi.cjs.entry.js +2 -2
  84. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ix-layout-grid.cjs.entry.js +29 -0
  86. package/dist/cjs/ix-layout-grid.cjs.entry.js.map +1 -0
  87. package/dist/cjs/ix-link-button.cjs.entry.js +1 -1
  88. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +62 -0
  90. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -0
  91. package/dist/cjs/ix-map-navigation.cjs.entry.js +174 -0
  92. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ix-menu-about-item.cjs.entry.js +22 -0
  94. package/dist/cjs/ix-menu-about-item.cjs.entry.js.map +1 -0
  95. package/dist/cjs/ix-menu-about-news.cjs.entry.js +38 -0
  96. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ix-menu-about.cjs.entry.js +76 -0
  98. package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -0
  99. package/dist/cjs/ix-menu-avatar.cjs.entry.js +33 -0
  100. package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ix-menu-category.cjs.entry.js +1 -1
  102. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ix-menu-item.cjs.entry.js +72 -0
  104. package/dist/cjs/ix-menu-item.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +22 -0
  106. package/dist/cjs/ix-menu-settings-item.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ix-menu-settings.cjs.entry.js +64 -0
  108. package/dist/cjs/ix-menu-settings.cjs.entry.js.map +1 -0
  109. package/dist/cjs/ix-menu.cjs.entry.js +444 -0
  110. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -0
  111. package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
  112. package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
  114. package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ix-modal.cjs.entry.js +4 -3
  116. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
  118. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  119. package/dist/cjs/ix-pill.cjs.entry.js +1 -1
  120. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  121. package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
  122. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  123. package/dist/cjs/ix-row.cjs.entry.js +1 -1
  124. package/dist/cjs/ix-row.cjs.entry.js.map +1 -1
  125. package/dist/cjs/ix-select.cjs.entry.js +341 -0
  126. package/dist/cjs/ix-select.cjs.entry.js.map +1 -0
  127. package/dist/cjs/ix-slider.cjs.entry.js +151 -0
  128. package/dist/cjs/ix-slider.cjs.entry.js.map +1 -0
  129. package/dist/cjs/ix-split-button-item.cjs.entry.js +28 -0
  130. package/dist/cjs/ix-split-button-item.cjs.entry.js.map +1 -0
  131. package/dist/cjs/ix-split-button.cjs.entry.js +49 -0
  132. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -0
  133. package/dist/cjs/ix-tab-item_2.cjs.entry.js +263 -0
  134. package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -0
  135. package/dist/cjs/ix-toast-container.cjs.entry.js +87 -0
  136. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -0
  137. package/dist/cjs/ix-toast.cjs.entry.js +73 -0
  138. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -0
  139. package/dist/cjs/ix-toggle-button.cjs.entry.js +1 -1
  140. package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
  141. package/dist/cjs/ix-tooltip.cjs.entry.js +21 -7
  142. package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -1
  143. package/dist/cjs/ix-tree-item.cjs.entry.js +36 -0
  144. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -0
  145. package/dist/cjs/ix-tree.cjs.entry.js +702 -0
  146. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -0
  147. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  148. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  149. package/dist/cjs/ix-workflow-step.cjs.entry.js +97 -0
  150. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -0
  151. package/dist/cjs/ix-workflow-steps.cjs.entry.js +81 -0
  152. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -0
  153. package/dist/cjs/loader.cjs.js +3 -1
  154. package/dist/cjs/loader.cjs.js.map +1 -1
  155. package/dist/cjs/menu-service-000df68d.js +159 -0
  156. package/dist/cjs/menu-service-000df68d.js.map +1 -0
  157. package/dist/cjs/shadow-dom-9b10f758.js.map +1 -1
  158. package/dist/cjs/siemens-ix.cjs.js +3 -1
  159. package/dist/cjs/siemens-ix.cjs.js.map +1 -1
  160. package/dist/collection/collection-manifest.json +6 -196
  161. package/dist/collection/components/action-card/action-card.css +15 -0
  162. package/dist/collection/components/action-card/action-card.js +1 -1
  163. package/dist/collection/components/application-header/test/application-headet.ct.js +4 -0
  164. package/dist/collection/components/application-header/test/application-headet.ct.js.map +1 -1
  165. package/dist/collection/components/blind/blind.css +242 -63
  166. package/dist/collection/components/blind/blind.js +37 -3
  167. package/dist/collection/components/blind/blind.js.map +1 -1
  168. package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +1 -1
  169. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -2
  170. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  171. package/dist/collection/components/card/card.css +5 -1
  172. package/dist/collection/components/card/card.js +1 -1
  173. package/dist/collection/components/card/card.js.map +1 -1
  174. package/dist/collection/components/card-accordion/card-accordion.css +12 -15
  175. package/dist/collection/components/card-accordion/card-accordion.js +2 -4
  176. package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
  177. package/dist/collection/components/card-content/card-content.css +1 -0
  178. package/dist/collection/components/card-list/card-list.css +0 -1
  179. package/dist/collection/components/card-list/card-list.js +2 -2
  180. package/dist/collection/components/card-list/card-list.js.map +1 -1
  181. package/dist/collection/components/card-title/card-title.css +1 -1
  182. package/dist/collection/components/category-filter/category-filter.css +56 -0
  183. package/dist/collection/components/category-filter/category-filter.js +1 -1
  184. package/dist/collection/components/category-filter/category-filter.js.map +1 -1
  185. package/dist/collection/components/chip/chip.css +1 -0
  186. package/dist/collection/components/chip/chip.js +3 -22
  187. package/dist/collection/components/chip/chip.js.map +1 -1
  188. package/dist/collection/components/col/col.css +50 -3
  189. package/dist/collection/components/col/col.js +1 -1
  190. package/dist/collection/components/col/col.js.map +1 -1
  191. package/dist/collection/components/content-header/content-header.js +1 -1
  192. package/dist/collection/components/content-header/content-header.js.map +1 -1
  193. package/dist/collection/components/date-picker/date-picker.css +3 -0
  194. package/dist/collection/components/date-picker/date-picker.js +4 -4
  195. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  196. package/dist/collection/components/drawer/drawer.js +1 -1
  197. package/dist/collection/components/drawer/drawer.js.map +1 -1
  198. package/dist/collection/components/dropdown/dropdown.js +39 -34
  199. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  200. package/dist/collection/components/dropdown/test/dropdown.ct.js +79 -0
  201. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -0
  202. package/dist/collection/components/dropdown-button/dropdown-button.js +1 -23
  203. package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
  204. package/dist/collection/components/dropdown-item/dropdown-item.js +6 -4
  205. package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
  206. package/dist/collection/components/event-list-item/event-list-item.js +2 -24
  207. package/dist/collection/components/event-list-item/event-list-item.js.map +1 -1
  208. package/dist/collection/components/expanding-search/expanding-search.js +1 -1
  209. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  210. package/dist/collection/components/filter-chip/filter-chip.js +1 -1
  211. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  212. package/dist/collection/components/flip-tile/flip-tile.js +1 -1
  213. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  214. package/dist/collection/components/form-field/form-field.css +35 -0
  215. package/dist/collection/components/grid/layout-grid.css +21 -0
  216. package/dist/collection/components/grid/layout-grid.js +98 -0
  217. package/dist/collection/components/grid/layout-grid.js.map +1 -0
  218. package/dist/collection/components/group/group-context-menu.js +1 -1
  219. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  220. package/dist/collection/components/group/group.js +1 -1
  221. package/dist/collection/components/group/group.js.map +1 -1
  222. package/dist/collection/components/icon-button/icon-button.css +1 -1
  223. package/dist/collection/components/icon-button/test/icon-button.ct.js +1 -1
  224. package/dist/collection/components/icon-button/test/icon-button.ct.js.map +1 -1
  225. package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +1 -1
  226. package/dist/collection/components/input-group/input-group.js +19 -15
  227. package/dist/collection/components/input-group/input-group.js.map +1 -1
  228. package/dist/collection/components/kpi/kpi.js +2 -2
  229. package/dist/collection/components/kpi/kpi.js.map +1 -1
  230. package/dist/collection/components/link-button/link-button.js +1 -1
  231. package/dist/collection/components/link-button/link-button.js.map +1 -1
  232. package/dist/collection/components/map-navigation/map-navigation.js +1 -1
  233. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  234. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -1
  235. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
  236. package/dist/collection/components/menu/burger-menu.js +1 -1
  237. package/dist/collection/components/menu/burger-menu.js.map +1 -1
  238. package/dist/collection/components/menu/menu.js +2 -2
  239. package/dist/collection/components/menu/menu.js.map +1 -1
  240. package/dist/collection/components/menu/test/menu.ct.js +22 -2
  241. package/dist/collection/components/menu/test/menu.ct.js.map +1 -1
  242. package/dist/collection/components/menu-about/menu-about.js +1 -1
  243. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  244. package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
  245. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  246. package/dist/collection/components/menu-avatar/menu-avatar.js +1 -1
  247. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  248. package/dist/collection/components/menu-category/menu-category.js +1 -1
  249. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  250. package/dist/collection/components/menu-item/menu-item.js +1 -1
  251. package/dist/collection/components/menu-item/menu-item.js.map +1 -1
  252. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  253. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  254. package/dist/collection/components/message-bar/message-bar.js +1 -1
  255. package/dist/collection/components/message-bar/message-bar.js.map +1 -1
  256. package/dist/collection/components/modal/modal.css +14 -0
  257. package/dist/collection/components/modal/modal.js +3 -2
  258. package/dist/collection/components/modal/modal.js.map +1 -1
  259. package/dist/collection/components/my-component/example-modal.js +1 -1
  260. package/dist/collection/components/my-component/example-modal.js.map +1 -1
  261. package/dist/collection/components/pagination/pagination.css +1 -1
  262. package/dist/collection/components/pagination/pagination.js +2 -2
  263. package/dist/collection/components/pagination/pagination.js.map +1 -1
  264. package/dist/collection/components/pagination/test/pagination.ct.js +40 -0
  265. package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -0
  266. package/dist/collection/components/pill/pill.css +1 -0
  267. package/dist/collection/components/push-card/push-card.css +7 -4
  268. package/dist/collection/components/push-card/push-card.js +2 -2
  269. package/dist/collection/components/push-card/push-card.js.map +1 -1
  270. package/dist/collection/components/row/row.css +2 -2
  271. package/dist/collection/components/select/select.css +4 -34
  272. package/dist/collection/components/select/select.js +38 -25
  273. package/dist/collection/components/select/select.js.map +1 -1
  274. package/dist/collection/components/select/test/select.ct.js +13 -12
  275. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  276. package/dist/collection/components/slider/slider.css +265 -0
  277. package/dist/collection/components/slider/slider.js +380 -0
  278. package/dist/collection/components/slider/slider.js.map +1 -0
  279. package/dist/collection/components/slider/test/slider.ct.js +35 -0
  280. package/dist/collection/components/slider/test/slider.ct.js.map +1 -0
  281. package/dist/collection/components/split-button/split-button.js +0 -3
  282. package/dist/collection/components/split-button/split-button.js.map +1 -1
  283. package/dist/collection/components/split-button-item/split-button-item.js +3 -0
  284. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  285. package/dist/collection/components/tabs/tabs.js +7 -7
  286. package/dist/collection/components/tabs/tabs.js.map +1 -1
  287. package/dist/collection/components/time-picker/time-picker.css +35 -0
  288. package/dist/collection/components/time-picker/time-picker.js +2 -2
  289. package/dist/collection/components/time-picker/time-picker.js.map +1 -1
  290. package/dist/collection/components/toast/styles/toast-container.css +91 -0
  291. package/dist/collection/components/toast/toast-container.js +20 -4
  292. package/dist/collection/components/toast/toast-container.js.map +1 -1
  293. package/dist/collection/components/toast/toast.css +9 -7
  294. package/dist/collection/components/toast/toast.js +1 -1
  295. package/dist/collection/components/toast/toast.js.map +1 -1
  296. package/dist/collection/components/tooltip/tooltip.js +88 -8
  297. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  298. package/dist/collection/components/tree-item/tree-item.js +1 -1
  299. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  300. package/dist/collection/components/utils/a11y.js +2 -2
  301. package/dist/collection/components/utils/a11y.js.map +1 -1
  302. package/dist/collection/components/utils/breakpoints.js +3 -3
  303. package/dist/collection/components/utils/breakpoints.js.map +1 -1
  304. package/dist/collection/components/utils/shadow-dom.js +7 -0
  305. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  306. package/dist/collection/components/validation-tooltip/validation-tooltip.css +1 -0
  307. package/dist/collection/index.js +0 -9
  308. package/dist/collection/index.js.map +1 -1
  309. package/dist/collection/setup.js +24 -0
  310. package/dist/collection/setup.js.map +1 -0
  311. package/dist/collection/tests/utils/test/index.js +14 -0
  312. package/dist/collection/tests/utils/test/index.js.map +1 -1
  313. package/dist/esm/_commonjsHelpers-dd6fe9fb.js +23 -0
  314. package/dist/esm/_commonjsHelpers-dd6fe9fb.js.map +1 -0
  315. package/dist/esm/a11y-d5dd20ad.js +79 -0
  316. package/dist/esm/a11y-d5dd20ad.js.map +1 -0
  317. package/dist/esm/app-globals-4d2941ae.js +29 -0
  318. package/dist/esm/app-globals-4d2941ae.js.map +1 -0
  319. package/dist/esm/breakpoints-b76e9f27.js +25 -0
  320. package/dist/esm/breakpoints-b76e9f27.js.map +1 -0
  321. package/dist/esm/core-js-de462567.js +25 -0
  322. package/dist/esm/core-js-de462567.js.map +1 -0
  323. package/dist/esm/dom-64ac48b5.js +72 -0
  324. package/dist/esm/dom-64ac48b5.js.map +1 -0
  325. package/dist/esm/index-eb0be730.js +186 -130
  326. package/dist/esm/index.es2017-1478d9a9.js +1479 -0
  327. package/dist/esm/index.es2017-1478d9a9.js.map +1 -0
  328. package/dist/esm/index.js +0 -2
  329. package/dist/esm/index.js.map +1 -1
  330. package/dist/esm/ix-action-card.entry.js +1 -1
  331. package/dist/esm/ix-action-card.entry.js.map +1 -1
  332. package/dist/esm/ix-application-header.entry.js +2 -2
  333. package/dist/esm/ix-application.entry.js +2 -2
  334. package/dist/esm/ix-avatar_2.entry.js +51 -0
  335. package/dist/esm/ix-avatar_2.entry.js.map +1 -0
  336. package/dist/esm/ix-basic-navigation.entry.js +2 -2
  337. package/dist/esm/ix-blind.entry.js +13 -5
  338. package/dist/esm/ix-blind.entry.js.map +1 -1
  339. package/dist/esm/ix-breadcrumb-item.entry.js +64 -0
  340. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -0
  341. package/dist/esm/ix-breadcrumb.entry.js +100 -0
  342. package/dist/esm/ix-breadcrumb.entry.js.map +1 -0
  343. package/dist/esm/ix-burger-menu.entry.js +2 -2
  344. package/dist/esm/ix-burger-menu.entry.js.map +1 -1
  345. package/dist/esm/ix-card-accordion_2.entry.js +4 -6
  346. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  347. package/dist/esm/ix-card-list.entry.js +3 -3
  348. package/dist/esm/ix-card-list.entry.js.map +1 -1
  349. package/dist/esm/ix-card_2.entry.js +2 -2
  350. package/dist/esm/ix-card_2.entry.js.map +1 -1
  351. package/dist/esm/ix-category-filter.entry.js +2 -2
  352. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  353. package/dist/esm/ix-chip.entry.js +3 -5
  354. package/dist/esm/ix-chip.entry.js.map +1 -1
  355. package/dist/esm/ix-col.entry.js +3 -3
  356. package/dist/esm/ix-col.entry.js.map +1 -1
  357. package/dist/esm/ix-content-header.entry.js +1 -1
  358. package/dist/esm/ix-content-header.entry.js.map +1 -1
  359. package/dist/esm/ix-date-picker_2.entry.js +8 -8
  360. package/dist/esm/ix-date-picker_2.entry.js.map +1 -1
  361. package/dist/esm/ix-drawer.entry.js +1 -1
  362. package/dist/esm/ix-drawer.entry.js.map +1 -1
  363. package/dist/esm/ix-dropdown-button.entry.js +1 -2
  364. package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
  365. package/dist/esm/ix-dropdown-item.entry.js +45 -0
  366. package/dist/esm/ix-dropdown-item.entry.js.map +1 -0
  367. package/dist/esm/ix-dropdown.entry.js +318 -0
  368. package/dist/esm/ix-dropdown.entry.js.map +1 -0
  369. package/dist/esm/ix-event-list-item.entry.js +38 -0
  370. package/dist/esm/ix-event-list-item.entry.js.map +1 -0
  371. package/dist/esm/ix-event-list.entry.js +120 -0
  372. package/dist/esm/ix-event-list.entry.js.map +1 -0
  373. package/dist/esm/ix-expanding-search.entry.js +1 -1
  374. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  375. package/dist/esm/ix-filter-chip_2.entry.js +86 -0
  376. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -0
  377. package/dist/esm/ix-flip-tile-content.entry.js +18 -0
  378. package/dist/esm/ix-flip-tile-content.entry.js.map +1 -0
  379. package/dist/esm/ix-flip-tile.entry.js +85 -0
  380. package/dist/esm/ix-flip-tile.entry.js.map +1 -0
  381. package/dist/esm/ix-form-field.entry.js +1 -1
  382. package/dist/esm/ix-form-field.entry.js.map +1 -1
  383. package/dist/esm/ix-group-context-menu_2.entry.js +74 -0
  384. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -0
  385. package/dist/esm/ix-group.entry.js +124 -0
  386. package/dist/esm/ix-group.entry.js.map +1 -0
  387. package/dist/esm/ix-icon-button_2.entry.js +92 -0
  388. package/dist/esm/ix-icon-button_2.entry.js.map +1 -0
  389. package/dist/esm/ix-icon-toggle-button.entry.js +2 -2
  390. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  391. package/dist/esm/ix-icon.entry-5065bd80.js +1485 -0
  392. package/dist/esm/ix-icon.entry-5065bd80.js.map +1 -0
  393. package/dist/esm/ix-input-group.entry.js +19 -15
  394. package/dist/esm/ix-input-group.entry.js.map +1 -1
  395. package/dist/esm/ix-kpi.entry.js +2 -2
  396. package/dist/esm/ix-kpi.entry.js.map +1 -1
  397. package/dist/esm/ix-layout-grid.entry.js +25 -0
  398. package/dist/esm/ix-layout-grid.entry.js.map +1 -0
  399. package/dist/esm/ix-link-button.entry.js +1 -1
  400. package/dist/esm/ix-link-button.entry.js.map +1 -1
  401. package/dist/esm/ix-map-navigation-overlay.entry.js +58 -0
  402. package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -0
  403. package/dist/esm/ix-map-navigation.entry.js +170 -0
  404. package/dist/esm/ix-map-navigation.entry.js.map +1 -0
  405. package/dist/esm/ix-menu-about-item.entry.js +18 -0
  406. package/dist/esm/ix-menu-about-item.entry.js.map +1 -0
  407. package/dist/esm/ix-menu-about-news.entry.js +34 -0
  408. package/dist/esm/ix-menu-about-news.entry.js.map +1 -0
  409. package/dist/esm/ix-menu-about.entry.js +72 -0
  410. package/dist/esm/ix-menu-about.entry.js.map +1 -0
  411. package/dist/esm/ix-menu-avatar.entry.js +29 -0
  412. package/dist/esm/ix-menu-avatar.entry.js.map +1 -0
  413. package/dist/esm/ix-menu-category.entry.js +1 -1
  414. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  415. package/dist/esm/ix-menu-item.entry.js +68 -0
  416. package/dist/esm/ix-menu-item.entry.js.map +1 -0
  417. package/dist/esm/ix-menu-settings-item.entry.js +18 -0
  418. package/dist/esm/ix-menu-settings-item.entry.js.map +1 -0
  419. package/dist/esm/ix-menu-settings.entry.js +60 -0
  420. package/dist/esm/ix-menu-settings.entry.js.map +1 -0
  421. package/dist/esm/ix-menu.entry.js +440 -0
  422. package/dist/esm/ix-menu.entry.js.map +1 -0
  423. package/dist/esm/ix-message-bar.entry.js +1 -1
  424. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  425. package/dist/esm/ix-modal-example.entry.js +1 -1
  426. package/dist/esm/ix-modal-example.entry.js.map +1 -1
  427. package/dist/esm/ix-modal.entry.js +4 -3
  428. package/dist/esm/ix-modal.entry.js.map +1 -1
  429. package/dist/esm/ix-pagination.entry.js +4 -4
  430. package/dist/esm/ix-pagination.entry.js.map +1 -1
  431. package/dist/esm/ix-pill.entry.js +1 -1
  432. package/dist/esm/ix-pill.entry.js.map +1 -1
  433. package/dist/esm/ix-push-card.entry.js +2 -2
  434. package/dist/esm/ix-push-card.entry.js.map +1 -1
  435. package/dist/esm/ix-row.entry.js +1 -1
  436. package/dist/esm/ix-row.entry.js.map +1 -1
  437. package/dist/esm/ix-select.entry.js +337 -0
  438. package/dist/esm/ix-select.entry.js.map +1 -0
  439. package/dist/esm/ix-slider.entry.js +147 -0
  440. package/dist/esm/ix-slider.entry.js.map +1 -0
  441. package/dist/esm/ix-split-button-item.entry.js +24 -0
  442. package/dist/esm/ix-split-button-item.entry.js.map +1 -0
  443. package/dist/esm/ix-split-button.entry.js +45 -0
  444. package/dist/esm/ix-split-button.entry.js.map +1 -0
  445. package/dist/esm/ix-tab-item_2.entry.js +258 -0
  446. package/dist/esm/ix-tab-item_2.entry.js.map +1 -0
  447. package/dist/esm/ix-toast-container.entry.js +83 -0
  448. package/dist/esm/ix-toast-container.entry.js.map +1 -0
  449. package/dist/esm/ix-toast.entry.js +69 -0
  450. package/dist/esm/ix-toast.entry.js.map +1 -0
  451. package/dist/esm/ix-toggle-button.entry.js +1 -1
  452. package/dist/esm/ix-toggle.entry.js +1 -1
  453. package/dist/esm/ix-tooltip.entry.js +21 -7
  454. package/dist/esm/ix-tooltip.entry.js.map +1 -1
  455. package/dist/esm/ix-tree-item.entry.js +32 -0
  456. package/dist/esm/ix-tree-item.entry.js.map +1 -0
  457. package/dist/esm/ix-tree.entry.js +698 -0
  458. package/dist/esm/ix-tree.entry.js.map +1 -0
  459. package/dist/esm/ix-validation-tooltip.entry.js +2 -2
  460. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  461. package/dist/esm/ix-workflow-step.entry.js +93 -0
  462. package/dist/esm/ix-workflow-step.entry.js.map +1 -0
  463. package/dist/esm/ix-workflow-steps.entry.js +77 -0
  464. package/dist/esm/ix-workflow-steps.entry.js.map +1 -0
  465. package/dist/esm/loader.js +3 -1
  466. package/dist/esm/loader.js.map +1 -1
  467. package/dist/esm/menu-service-5555b4fa.js +156 -0
  468. package/dist/esm/menu-service-5555b4fa.js.map +1 -0
  469. package/dist/esm/shadow-dom-b9df3d9b.js.map +1 -1
  470. package/dist/esm/siemens-ix.js +3 -1
  471. package/dist/esm/siemens-ix.js.map +1 -1
  472. package/dist/siemens-ix/index.esm.js +1 -1
  473. package/dist/siemens-ix/index.esm.js.map +1 -1
  474. package/dist/siemens-ix/p-0169cf74.entry.js +2 -0
  475. package/dist/siemens-ix/p-0169cf74.entry.js.map +1 -0
  476. package/dist/siemens-ix/p-04eeba9e.js.map +1 -1
  477. package/dist/siemens-ix/p-05e9397f.entry.js +2 -0
  478. package/dist/siemens-ix/p-05e9397f.entry.js.map +1 -0
  479. package/dist/siemens-ix/p-0ebc6c4d.entry.js +2 -0
  480. package/dist/siemens-ix/p-0ebc6c4d.entry.js.map +1 -0
  481. package/dist/siemens-ix/p-0fd2388f.entry.js +2 -0
  482. package/dist/siemens-ix/p-0fd2388f.entry.js.map +1 -0
  483. package/dist/siemens-ix/p-124d83b5.entry.js +2 -0
  484. package/dist/siemens-ix/p-124d83b5.entry.js.map +1 -0
  485. package/dist/siemens-ix/p-129b6290.entry.js +2 -0
  486. package/dist/siemens-ix/p-129b6290.entry.js.map +1 -0
  487. package/dist/siemens-ix/p-167c037c.entry.js +2 -0
  488. package/dist/siemens-ix/p-167c037c.entry.js.map +1 -0
  489. package/dist/siemens-ix/p-20e12c7e.js +2 -0
  490. package/dist/siemens-ix/p-20e12c7e.js.map +1 -0
  491. package/dist/siemens-ix/p-2baebeee.entry.js +2 -0
  492. package/dist/siemens-ix/p-2baebeee.entry.js.map +1 -0
  493. package/dist/siemens-ix/p-2e75f0e4.entry.js +2 -0
  494. package/dist/siemens-ix/p-2e75f0e4.entry.js.map +1 -0
  495. package/dist/siemens-ix/p-3103917f.entry.js +2 -0
  496. package/dist/siemens-ix/p-3103917f.entry.js.map +1 -0
  497. package/dist/siemens-ix/p-314f344d.entry.js +2 -0
  498. package/dist/siemens-ix/p-314f344d.entry.js.map +1 -0
  499. package/dist/siemens-ix/p-3ab30153.entry.js +2 -0
  500. package/dist/siemens-ix/p-3ab30153.entry.js.map +1 -0
  501. package/dist/siemens-ix/p-3e7b4990.js +2 -0
  502. package/dist/siemens-ix/p-4796a3ae.entry.js +2 -0
  503. package/dist/siemens-ix/p-4796a3ae.entry.js.map +1 -0
  504. package/dist/siemens-ix/p-4968df15.entry.js +2 -0
  505. package/dist/siemens-ix/p-4968df15.entry.js.map +1 -0
  506. package/dist/siemens-ix/p-5056c8a9.entry.js +2 -0
  507. package/dist/siemens-ix/p-5056c8a9.entry.js.map +1 -0
  508. package/dist/siemens-ix/p-5285864c.entry.js +2 -0
  509. package/dist/siemens-ix/p-5285864c.entry.js.map +1 -0
  510. package/dist/siemens-ix/p-5516480a.entry.js +2 -0
  511. package/dist/siemens-ix/p-5516480a.entry.js.map +1 -0
  512. package/dist/siemens-ix/p-57fd45e2.entry.js +2 -0
  513. package/dist/siemens-ix/p-57fd45e2.entry.js.map +1 -0
  514. package/dist/siemens-ix/p-5a5e155c.entry.js +2 -0
  515. package/dist/siemens-ix/p-5a5e155c.entry.js.map +1 -0
  516. package/dist/siemens-ix/p-5d132cc5.entry.js.map +1 -1
  517. package/dist/siemens-ix/p-5d17102b.entry.js +2 -0
  518. package/dist/siemens-ix/p-5d17102b.entry.js.map +1 -0
  519. package/dist/siemens-ix/p-5d172daa.js +2 -0
  520. package/dist/siemens-ix/p-5d43cae8.js +22 -0
  521. package/dist/siemens-ix/p-5d43cae8.js.map +1 -0
  522. package/dist/siemens-ix/p-61ffc6e1.entry.js.map +1 -1
  523. package/dist/siemens-ix/p-62fb5c19.entry.js +2 -0
  524. package/dist/siemens-ix/p-62fb5c19.entry.js.map +1 -0
  525. package/dist/siemens-ix/p-634da7f2.entry.js +2 -0
  526. package/dist/siemens-ix/p-634da7f2.entry.js.map +1 -0
  527. package/dist/siemens-ix/p-6370a04a.entry.js +2 -0
  528. package/dist/siemens-ix/p-6370a04a.entry.js.map +1 -0
  529. package/dist/siemens-ix/p-66d7fbd9.entry.js +2 -0
  530. package/dist/siemens-ix/p-66d7fbd9.entry.js.map +1 -0
  531. package/dist/siemens-ix/p-6ae65cac.entry.js +2 -0
  532. package/dist/siemens-ix/p-6ae65cac.entry.js.map +1 -0
  533. package/dist/siemens-ix/p-74a7d191.entry.js +2 -0
  534. package/dist/siemens-ix/p-74a7d191.entry.js.map +1 -0
  535. package/dist/siemens-ix/p-7712c4a9.entry.js +2 -0
  536. package/dist/siemens-ix/p-7712c4a9.entry.js.map +1 -0
  537. package/dist/siemens-ix/p-774eca79.entry.js +2 -0
  538. package/dist/siemens-ix/p-774eca79.entry.js.map +1 -0
  539. package/dist/siemens-ix/p-77b14ca1.entry.js +2 -0
  540. package/dist/siemens-ix/p-7865aa63.entry.js +2 -0
  541. package/dist/siemens-ix/p-7865aa63.entry.js.map +1 -0
  542. package/dist/siemens-ix/p-78c9489b.js +2 -0
  543. package/dist/siemens-ix/p-78c9489b.js.map +1 -0
  544. package/dist/siemens-ix/p-794769ed.entry.js +2 -0
  545. package/dist/siemens-ix/p-794769ed.entry.js.map +1 -0
  546. package/dist/siemens-ix/p-7a884056.entry.js.map +1 -1
  547. package/dist/siemens-ix/p-7b362f58.entry.js +2 -0
  548. package/dist/siemens-ix/p-7b362f58.entry.js.map +1 -0
  549. package/dist/siemens-ix/p-80871c9a.entry.js +2 -0
  550. package/dist/siemens-ix/p-80871c9a.entry.js.map +1 -0
  551. package/dist/siemens-ix/p-812b01d1.js +2 -0
  552. package/dist/siemens-ix/p-812b01d1.js.map +1 -0
  553. package/dist/siemens-ix/p-847da072.entry.js +2 -0
  554. package/dist/siemens-ix/p-847da072.entry.js.map +1 -0
  555. package/dist/siemens-ix/p-8952f1cd.entry.js +2 -0
  556. package/dist/siemens-ix/p-8952f1cd.entry.js.map +1 -0
  557. package/dist/siemens-ix/p-8c5f7419.entry.js +2 -0
  558. package/dist/siemens-ix/p-8c5f7419.entry.js.map +1 -0
  559. package/dist/siemens-ix/p-8fdf4407.entry.js +2 -0
  560. package/dist/siemens-ix/p-8fdf4407.entry.js.map +1 -0
  561. package/dist/siemens-ix/p-90efad65.entry.js +2 -0
  562. package/dist/siemens-ix/p-90efad65.entry.js.map +1 -0
  563. package/dist/siemens-ix/p-9848e4de.entry.js.map +1 -1
  564. package/dist/siemens-ix/p-9cd93c03.js +2 -0
  565. package/dist/siemens-ix/p-9cd93c03.js.map +1 -0
  566. package/dist/siemens-ix/p-9e0af149.entry.js +2 -0
  567. package/dist/siemens-ix/p-9e0af149.entry.js.map +1 -0
  568. package/dist/siemens-ix/p-ada4a328.entry.js +2 -0
  569. package/dist/siemens-ix/p-ada4a328.entry.js.map +1 -0
  570. package/dist/siemens-ix/p-aef14f96.entry.js +2 -0
  571. package/dist/siemens-ix/p-aef14f96.entry.js.map +1 -0
  572. package/dist/siemens-ix/p-b007e4b4.entry.js.map +1 -1
  573. package/dist/siemens-ix/p-b49627fa.js +4 -0
  574. package/dist/siemens-ix/p-b49627fa.js.map +1 -0
  575. package/dist/siemens-ix/p-b53bed3a.entry.js +2 -0
  576. package/dist/siemens-ix/p-b6d40648.entry.js +2 -0
  577. package/dist/siemens-ix/p-b6d40648.entry.js.map +1 -0
  578. package/dist/siemens-ix/p-b803c716.entry.js +2 -0
  579. package/dist/siemens-ix/p-b803c716.entry.js.map +1 -0
  580. package/dist/siemens-ix/p-b94ab301.entry.js +2 -0
  581. package/dist/siemens-ix/p-b94ab301.entry.js.map +1 -0
  582. package/dist/siemens-ix/p-bc811c4b.js +2 -0
  583. package/dist/siemens-ix/p-bc811c4b.js.map +1 -0
  584. package/dist/siemens-ix/p-c4216f17.entry.js +2 -0
  585. package/dist/siemens-ix/p-c4216f17.entry.js.map +1 -0
  586. package/dist/siemens-ix/p-c7d24831.entry.js +2 -0
  587. package/dist/siemens-ix/p-c7d24831.entry.js.map +1 -0
  588. package/dist/siemens-ix/p-cd1e0061.entry.js.map +1 -1
  589. package/dist/siemens-ix/p-d16a4670.entry.js +2 -0
  590. package/dist/siemens-ix/p-d16a4670.entry.js.map +1 -0
  591. package/dist/siemens-ix/p-d78cd3f4.entry.js +2 -0
  592. package/dist/siemens-ix/p-d78cd3f4.entry.js.map +1 -0
  593. package/dist/siemens-ix/p-d7e974a8.entry.js +2 -0
  594. package/dist/siemens-ix/p-d7e974a8.entry.js.map +1 -0
  595. package/dist/siemens-ix/p-d87de06f.entry.js.map +1 -1
  596. package/dist/siemens-ix/p-d9c99b88.entry.js +2 -0
  597. package/dist/siemens-ix/p-d9c99b88.entry.js.map +1 -0
  598. package/dist/siemens-ix/p-da133606.entry.js.map +1 -1
  599. package/dist/siemens-ix/p-dcb957d8.entry.js +2 -0
  600. package/dist/siemens-ix/p-dcb957d8.entry.js.map +1 -0
  601. package/dist/siemens-ix/p-dd2fb887.entry.js +2 -0
  602. package/dist/siemens-ix/p-dd2fb887.entry.js.map +1 -0
  603. package/dist/siemens-ix/p-e5beabf4.entry.js +2 -0
  604. package/dist/siemens-ix/p-e5beabf4.entry.js.map +1 -0
  605. package/dist/siemens-ix/p-f63b47c1.entry.js +2 -0
  606. package/dist/siemens-ix/p-f63b47c1.entry.js.map +1 -0
  607. package/dist/siemens-ix/p-f7b95fd7.entry.js +2 -0
  608. package/dist/siemens-ix/p-f7b95fd7.entry.js.map +1 -0
  609. package/dist/siemens-ix/p-f97f2394.entry.js +2 -0
  610. package/dist/siemens-ix/p-fa0d5f4e.entry.js +2 -0
  611. package/dist/siemens-ix/p-fa0d5f4e.entry.js.map +1 -0
  612. package/dist/siemens-ix/p-fba61526.entry.js +2 -0
  613. package/dist/siemens-ix/p-fba61526.entry.js.map +1 -0
  614. package/dist/siemens-ix/p-fd08b7ad.entry.js +2 -0
  615. package/dist/siemens-ix/p-fd08b7ad.entry.js.map +1 -0
  616. package/dist/siemens-ix/p-fd6006d2.entry.js +2 -0
  617. package/dist/siemens-ix/p-fd6006d2.entry.js.map +1 -0
  618. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  619. package/dist/siemens-ix/siemens-ix.css +259 -1
  620. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  621. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  622. package/dist/types/components/blind/blind.d.ts +8 -1
  623. package/dist/types/components/card/card.d.ts +1 -1
  624. package/dist/types/components/chip/chip.d.ts +1 -7
  625. package/dist/types/components/dropdown/dropdown.d.ts +4 -2
  626. package/dist/types/components/dropdown/test/dropdown.ct.d.ts +1 -0
  627. package/dist/types/components/dropdown-button/dropdown-button.d.ts +0 -5
  628. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -9
  629. package/dist/types/components/event-list-item/event-list-item.d.ts +0 -7
  630. package/dist/types/components/grid/layout-grid.d.ts +18 -0
  631. package/dist/types/components/menu-item/menu-item.d.ts +1 -1
  632. package/dist/types/components/modal/modal.d.ts +1 -1
  633. package/dist/types/components/pagination/test/pagination.ct.d.ts +1 -0
  634. package/dist/types/components/select/select.d.ts +1 -1
  635. package/dist/types/components/slider/slider.d.ts +70 -0
  636. package/dist/types/components/slider/test/slider.ct.d.ts +1 -0
  637. package/dist/types/components/split-button/split-button.d.ts +0 -1
  638. package/dist/types/components/split-button-item/split-button-item.d.ts +3 -0
  639. package/dist/types/components/tabs/tabs.d.ts +1 -0
  640. package/dist/types/components/tooltip/tooltip.d.ts +8 -2
  641. package/dist/types/components/utils/a11y.d.ts +1 -1
  642. package/dist/types/components/utils/breakpoints.d.ts +3 -3
  643. package/dist/types/components/utils/shadow-dom.d.ts +1 -0
  644. package/dist/types/components.d.ts +188 -84
  645. package/dist/types/index.d.ts +0 -1
  646. package/dist/types/setup.d.ts +1 -0
  647. package/dist/types/tests/utils/test/index.d.ts +14 -0
  648. package/package.json +5 -3
  649. package/scss/_core.scss +1 -0
  650. package/scss/components/_radiobuttons.scss +1 -1
  651. package/scss/components/form/_input.scss +18 -2
  652. package/scss/mixins/_break-points.scss +30 -6
  653. package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -25
  654. package/dist/cjs/_commonjsHelpers-1a0c346f.js.map +0 -1
  655. package/dist/cjs/a11y-fa9abd92.js +0 -82
  656. package/dist/cjs/a11y-fa9abd92.js.map +0 -1
  657. package/dist/cjs/breakpoints-e19e827e.js +0 -27
  658. package/dist/cjs/breakpoints-e19e827e.js.map +0 -1
  659. package/dist/cjs/icon-9e9f2faf.js +0 -114
  660. package/dist/cjs/icon-9e9f2faf.js.map +0 -1
  661. package/dist/cjs/index-1061a1c1.js +0 -8
  662. package/dist/cjs/index-1061a1c1.js.map +0 -1
  663. package/dist/cjs/ix-avatar.cjs.entry.js +0 -39
  664. package/dist/cjs/ix-avatar.cjs.entry.js.map +0 -1
  665. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -164
  666. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +0 -1
  667. package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -359
  668. package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +0 -1
  669. package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -159
  670. package/dist/cjs/ix-event-list_2.cjs.entry.js.map +0 -1
  671. package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
  672. package/dist/cjs/ix-filter-chip.cjs.entry.js.map +0 -1
  673. package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -103
  674. package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +0 -1
  675. package/dist/cjs/ix-grid.cjs.entry.js +0 -29
  676. package/dist/cjs/ix-grid.cjs.entry.js.map +0 -1
  677. package/dist/cjs/ix-group-context-menu.cjs.entry.js +0 -48
  678. package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +0 -1
  679. package/dist/cjs/ix-group_2.cjs.entry.js +0 -159
  680. package/dist/cjs/ix-group_2.cjs.entry.js.map +0 -1
  681. package/dist/cjs/ix-icon-button.cjs.entry.js +0 -72
  682. package/dist/cjs/ix-icon-button.cjs.entry.js.map +0 -1
  683. package/dist/cjs/ix-icon.cjs.entry.js +0 -12
  684. package/dist/cjs/ix-icon.cjs.entry.js.map +0 -1
  685. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -227
  686. package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +0 -1
  687. package/dist/cjs/ix-menu_9.cjs.entry.js +0 -732
  688. package/dist/cjs/ix-menu_9.cjs.entry.js.map +0 -1
  689. package/dist/cjs/ix-select_2.cjs.entry.js +0 -389
  690. package/dist/cjs/ix-select_2.cjs.entry.js.map +0 -1
  691. package/dist/cjs/ix-spinner.cjs.entry.js +0 -33
  692. package/dist/cjs/ix-spinner.cjs.entry.js.map +0 -1
  693. package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -72
  694. package/dist/cjs/ix-split-button_2.cjs.entry.js.map +0 -1
  695. package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
  696. package/dist/cjs/ix-tab-item.cjs.entry.js.map +0 -1
  697. package/dist/cjs/ix-tabs.cjs.entry.js +0 -204
  698. package/dist/cjs/ix-tabs.cjs.entry.js.map +0 -1
  699. package/dist/cjs/ix-toast_2.cjs.entry.js +0 -143
  700. package/dist/cjs/ix-toast_2.cjs.entry.js.map +0 -1
  701. package/dist/cjs/ix-tree_2.cjs.entry.js +0 -730
  702. package/dist/cjs/ix-tree_2.cjs.entry.js.map +0 -1
  703. package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -170
  704. package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +0 -1
  705. package/dist/cjs/menu-service-f7ef5265.js +0 -159
  706. package/dist/cjs/menu-service-f7ef5265.js.map +0 -1
  707. package/dist/collection/components/grid/grid.css +0 -26
  708. package/dist/collection/components/grid/grid.js +0 -98
  709. package/dist/collection/components/grid/grid.js.map +0 -1
  710. package/dist/components/_commonjsHelpers.js +0 -21
  711. package/dist/components/_commonjsHelpers.js.map +0 -1
  712. package/dist/components/a11y.js +0 -79
  713. package/dist/components/a11y.js.map +0 -1
  714. package/dist/components/animation.js +0 -19
  715. package/dist/components/animation.js.map +0 -1
  716. package/dist/components/anime.es.js +0 -1311
  717. package/dist/components/anime.es.js.map +0 -1
  718. package/dist/components/application-header.js +0 -101
  719. package/dist/components/application-header.js.map +0 -1
  720. package/dist/components/avatar.js +0 -53
  721. package/dist/components/avatar.js.map +0 -1
  722. package/dist/components/base-button.js +0 -47
  723. package/dist/components/base-button.js.map +0 -1
  724. package/dist/components/base-icon-button.js +0 -18
  725. package/dist/components/base-icon-button.js.map +0 -1
  726. package/dist/components/breadcrumb-item.js +0 -99
  727. package/dist/components/breadcrumb-item.js.map +0 -1
  728. package/dist/components/breakpoints.js +0 -25
  729. package/dist/components/breakpoints.js.map +0 -1
  730. package/dist/components/burger-menu.js +0 -61
  731. package/dist/components/burger-menu.js.map +0 -1
  732. package/dist/components/button.js +0 -97
  733. package/dist/components/button.js.map +0 -1
  734. package/dist/components/card-accordion.js +0 -80
  735. package/dist/components/card-accordion.js.map +0 -1
  736. package/dist/components/card-content.js +0 -32
  737. package/dist/components/card-content.js.map +0 -1
  738. package/dist/components/card-title.js +0 -32
  739. package/dist/components/card-title.js.map +0 -1
  740. package/dist/components/card.js +0 -36
  741. package/dist/components/card.js.map +0 -1
  742. package/dist/components/context.js +0 -101
  743. package/dist/components/context.js.map +0 -1
  744. package/dist/components/date-picker.js +0 -378
  745. package/dist/components/date-picker.js.map +0 -1
  746. package/dist/components/date-time-card.js +0 -45
  747. package/dist/components/date-time-card.js.map +0 -1
  748. package/dist/components/default-tree-item.js +0 -22
  749. package/dist/components/default-tree-item.js.map +0 -1
  750. package/dist/components/divider.js +0 -32
  751. package/dist/components/divider.js.map +0 -1
  752. package/dist/components/dropdown-item.js +0 -76
  753. package/dist/components/dropdown-item.js.map +0 -1
  754. package/dist/components/dropdown.js +0 -341
  755. package/dist/components/dropdown.js.map +0 -1
  756. package/dist/components/filter-chip.js +0 -62
  757. package/dist/components/filter-chip.js.map +0 -1
  758. package/dist/components/flip-tile-state.js +0 -20
  759. package/dist/components/flip-tile-state.js.map +0 -1
  760. package/dist/components/floating-ui.dom.esm.js +0 -1512
  761. package/dist/components/floating-ui.dom.esm.js.map +0 -1
  762. package/dist/components/group-context-menu.js +0 -79
  763. package/dist/components/group-context-menu.js.map +0 -1
  764. package/dist/components/group-item.js +0 -64
  765. package/dist/components/group-item.js.map +0 -1
  766. package/dist/components/icon-button.js +0 -105
  767. package/dist/components/icon-button.js.map +0 -1
  768. package/dist/components/icon.js +0 -133
  769. package/dist/components/icon.js.map +0 -1
  770. package/dist/components/index.d.ts +0 -27
  771. package/dist/components/index.js +0 -101
  772. package/dist/components/index.js.map +0 -1
  773. package/dist/components/index2.js +0 -6
  774. package/dist/components/index2.js.map +0 -1
  775. package/dist/components/ix-action-card.d.ts +0 -11
  776. package/dist/components/ix-action-card.js +0 -72
  777. package/dist/components/ix-action-card.js.map +0 -1
  778. package/dist/components/ix-application-header.d.ts +0 -11
  779. package/dist/components/ix-application-header.js +0 -8
  780. package/dist/components/ix-application-header.js.map +0 -1
  781. package/dist/components/ix-application-sidebar.d.ts +0 -11
  782. package/dist/components/ix-application-sidebar.js +0 -63
  783. package/dist/components/ix-application-sidebar.js.map +0 -1
  784. package/dist/components/ix-application.d.ts +0 -11
  785. package/dist/components/ix-application.js +0 -128
  786. package/dist/components/ix-application.js.map +0 -1
  787. package/dist/components/ix-avatar.d.ts +0 -11
  788. package/dist/components/ix-avatar.js +0 -8
  789. package/dist/components/ix-avatar.js.map +0 -1
  790. package/dist/components/ix-basic-navigation.d.ts +0 -11
  791. package/dist/components/ix-basic-navigation.js +0 -138
  792. package/dist/components/ix-basic-navigation.js.map +0 -1
  793. package/dist/components/ix-blind.d.ts +0 -11
  794. package/dist/components/ix-blind.js +0 -125
  795. package/dist/components/ix-blind.js.map +0 -1
  796. package/dist/components/ix-breadcrumb-item.d.ts +0 -11
  797. package/dist/components/ix-breadcrumb-item.js +0 -8
  798. package/dist/components/ix-breadcrumb-item.js.map +0 -1
  799. package/dist/components/ix-breadcrumb.d.ts +0 -11
  800. package/dist/components/ix-breadcrumb.js +0 -157
  801. package/dist/components/ix-breadcrumb.js.map +0 -1
  802. package/dist/components/ix-burger-menu.d.ts +0 -11
  803. package/dist/components/ix-burger-menu.js +0 -8
  804. package/dist/components/ix-burger-menu.js.map +0 -1
  805. package/dist/components/ix-button.d.ts +0 -11
  806. package/dist/components/ix-button.js +0 -8
  807. package/dist/components/ix-button.js.map +0 -1
  808. package/dist/components/ix-card-accordion.d.ts +0 -11
  809. package/dist/components/ix-card-accordion.js +0 -8
  810. package/dist/components/ix-card-accordion.js.map +0 -1
  811. package/dist/components/ix-card-content.d.ts +0 -11
  812. package/dist/components/ix-card-content.js +0 -8
  813. package/dist/components/ix-card-content.js.map +0 -1
  814. package/dist/components/ix-card-list.d.ts +0 -11
  815. package/dist/components/ix-card-list.js +0 -234
  816. package/dist/components/ix-card-list.js.map +0 -1
  817. package/dist/components/ix-card-title.d.ts +0 -11
  818. package/dist/components/ix-card-title.js +0 -8
  819. package/dist/components/ix-card-title.js.map +0 -1
  820. package/dist/components/ix-card.d.ts +0 -11
  821. package/dist/components/ix-card.js +0 -8
  822. package/dist/components/ix-card.js.map +0 -1
  823. package/dist/components/ix-category-filter.d.ts +0 -11
  824. package/dist/components/ix-category-filter.js +0 -470
  825. package/dist/components/ix-category-filter.js.map +0 -1
  826. package/dist/components/ix-chip.d.ts +0 -11
  827. package/dist/components/ix-chip.js +0 -106
  828. package/dist/components/ix-chip.js.map +0 -1
  829. package/dist/components/ix-col.d.ts +0 -11
  830. package/dist/components/ix-col.js +0 -96
  831. package/dist/components/ix-col.js.map +0 -1
  832. package/dist/components/ix-content-header.d.ts +0 -11
  833. package/dist/components/ix-content-header.js +0 -69
  834. package/dist/components/ix-content-header.js.map +0 -1
  835. package/dist/components/ix-content.d.ts +0 -11
  836. package/dist/components/ix-content.js +0 -48
  837. package/dist/components/ix-content.js.map +0 -1
  838. package/dist/components/ix-css-grid-item.d.ts +0 -11
  839. package/dist/components/ix-css-grid-item.js +0 -40
  840. package/dist/components/ix-css-grid-item.js.map +0 -1
  841. package/dist/components/ix-css-grid.d.ts +0 -11
  842. package/dist/components/ix-css-grid.js +0 -113
  843. package/dist/components/ix-css-grid.js.map +0 -1
  844. package/dist/components/ix-date-picker.d.ts +0 -11
  845. package/dist/components/ix-date-picker.js +0 -8
  846. package/dist/components/ix-date-picker.js.map +0 -1
  847. package/dist/components/ix-date-time-card.d.ts +0 -11
  848. package/dist/components/ix-date-time-card.js +0 -8
  849. package/dist/components/ix-date-time-card.js.map +0 -1
  850. package/dist/components/ix-datetime-picker.d.ts +0 -11
  851. package/dist/components/ix-datetime-picker.js +0 -155
  852. package/dist/components/ix-datetime-picker.js.map +0 -1
  853. package/dist/components/ix-divider.d.ts +0 -11
  854. package/dist/components/ix-divider.js +0 -8
  855. package/dist/components/ix-divider.js.map +0 -1
  856. package/dist/components/ix-drawer.d.ts +0 -11
  857. package/dist/components/ix-drawer.js +0 -151
  858. package/dist/components/ix-drawer.js.map +0 -1
  859. package/dist/components/ix-dropdown-button.d.ts +0 -11
  860. package/dist/components/ix-dropdown-button.js +0 -100
  861. package/dist/components/ix-dropdown-button.js.map +0 -1
  862. package/dist/components/ix-dropdown-header.d.ts +0 -11
  863. package/dist/components/ix-dropdown-header.js +0 -44
  864. package/dist/components/ix-dropdown-header.js.map +0 -1
  865. package/dist/components/ix-dropdown-item.d.ts +0 -11
  866. package/dist/components/ix-dropdown-item.js +0 -8
  867. package/dist/components/ix-dropdown-item.js.map +0 -1
  868. package/dist/components/ix-dropdown-quick-actions.d.ts +0 -11
  869. package/dist/components/ix-dropdown-quick-actions.js +0 -35
  870. package/dist/components/ix-dropdown-quick-actions.js.map +0 -1
  871. package/dist/components/ix-dropdown.d.ts +0 -11
  872. package/dist/components/ix-dropdown.js +0 -8
  873. package/dist/components/ix-dropdown.js.map +0 -1
  874. package/dist/components/ix-empty-state.d.ts +0 -11
  875. package/dist/components/ix-empty-state.js +0 -71
  876. package/dist/components/ix-empty-state.js.map +0 -1
  877. package/dist/components/ix-event-list-item.d.ts +0 -11
  878. package/dist/components/ix-event-list-item.js +0 -69
  879. package/dist/components/ix-event-list-item.js.map +0 -1
  880. package/dist/components/ix-event-list.d.ts +0 -11
  881. package/dist/components/ix-event-list.js +0 -143
  882. package/dist/components/ix-event-list.js.map +0 -1
  883. package/dist/components/ix-expanding-search.d.ts +0 -11
  884. package/dist/components/ix-expanding-search.js +0 -125
  885. package/dist/components/ix-expanding-search.js.map +0 -1
  886. package/dist/components/ix-filter-chip.d.ts +0 -11
  887. package/dist/components/ix-filter-chip.js +0 -8
  888. package/dist/components/ix-filter-chip.js.map +0 -1
  889. package/dist/components/ix-flip-tile-content.d.ts +0 -11
  890. package/dist/components/ix-flip-tile-content.js +0 -38
  891. package/dist/components/ix-flip-tile-content.js.map +0 -1
  892. package/dist/components/ix-flip-tile.d.ts +0 -11
  893. package/dist/components/ix-flip-tile.js +0 -127
  894. package/dist/components/ix-flip-tile.js.map +0 -1
  895. package/dist/components/ix-form-field.d.ts +0 -11
  896. package/dist/components/ix-form-field.js +0 -43
  897. package/dist/components/ix-form-field.js.map +0 -1
  898. package/dist/components/ix-grid.d.ts +0 -11
  899. package/dist/components/ix-grid.js +0 -47
  900. package/dist/components/ix-grid.js.map +0 -1
  901. package/dist/components/ix-group-context-menu.d.ts +0 -11
  902. package/dist/components/ix-group-context-menu.js +0 -8
  903. package/dist/components/ix-group-context-menu.js.map +0 -1
  904. package/dist/components/ix-group-item.d.ts +0 -11
  905. package/dist/components/ix-group-item.js +0 -8
  906. package/dist/components/ix-group-item.js.map +0 -1
  907. package/dist/components/ix-group.d.ts +0 -11
  908. package/dist/components/ix-group.js +0 -184
  909. package/dist/components/ix-group.js.map +0 -1
  910. package/dist/components/ix-icon-button.d.ts +0 -11
  911. package/dist/components/ix-icon-button.js +0 -8
  912. package/dist/components/ix-icon-button.js.map +0 -1
  913. package/dist/components/ix-icon-toggle-button.d.ts +0 -11
  914. package/dist/components/ix-icon-toggle-button.js +0 -122
  915. package/dist/components/ix-icon-toggle-button.js.map +0 -1
  916. package/dist/components/ix-icon.js +0 -8
  917. package/dist/components/ix-icon.js.map +0 -1
  918. package/dist/components/ix-input-group.d.ts +0 -11
  919. package/dist/components/ix-input-group.js +0 -126
  920. package/dist/components/ix-input-group.js.map +0 -1
  921. package/dist/components/ix-key-value-list.d.ts +0 -11
  922. package/dist/components/ix-key-value-list.js +0 -38
  923. package/dist/components/ix-key-value-list.js.map +0 -1
  924. package/dist/components/ix-key-value.d.ts +0 -11
  925. package/dist/components/ix-key-value.js +0 -53
  926. package/dist/components/ix-key-value.js.map +0 -1
  927. package/dist/components/ix-kpi.d.ts +0 -11
  928. package/dist/components/ix-kpi.js +0 -75
  929. package/dist/components/ix-kpi.js.map +0 -1
  930. package/dist/components/ix-link-button.d.ts +0 -11
  931. package/dist/components/ix-link-button.js +0 -54
  932. package/dist/components/ix-link-button.js.map +0 -1
  933. package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
  934. package/dist/components/ix-map-navigation-overlay.js +0 -8
  935. package/dist/components/ix-map-navigation-overlay.js.map +0 -1
  936. package/dist/components/ix-map-navigation.d.ts +0 -11
  937. package/dist/components/ix-map-navigation.js +0 -232
  938. package/dist/components/ix-map-navigation.js.map +0 -1
  939. package/dist/components/ix-menu-about-item.d.ts +0 -11
  940. package/dist/components/ix-menu-about-item.js +0 -38
  941. package/dist/components/ix-menu-about-item.js.map +0 -1
  942. package/dist/components/ix-menu-about-news.d.ts +0 -11
  943. package/dist/components/ix-menu-about-news.js +0 -89
  944. package/dist/components/ix-menu-about-news.js.map +0 -1
  945. package/dist/components/ix-menu-about.d.ts +0 -11
  946. package/dist/components/ix-menu-about.js +0 -125
  947. package/dist/components/ix-menu-about.js.map +0 -1
  948. package/dist/components/ix-menu-avatar-item.d.ts +0 -11
  949. package/dist/components/ix-menu-avatar-item.js +0 -8
  950. package/dist/components/ix-menu-avatar-item.js.map +0 -1
  951. package/dist/components/ix-menu-avatar.d.ts +0 -11
  952. package/dist/components/ix-menu-avatar.js +0 -83
  953. package/dist/components/ix-menu-avatar.js.map +0 -1
  954. package/dist/components/ix-menu-category.d.ts +0 -11
  955. package/dist/components/ix-menu-category.js +0 -196
  956. package/dist/components/ix-menu-category.js.map +0 -1
  957. package/dist/components/ix-menu-item.d.ts +0 -11
  958. package/dist/components/ix-menu-item.js +0 -8
  959. package/dist/components/ix-menu-item.js.map +0 -1
  960. package/dist/components/ix-menu-settings-item.d.ts +0 -11
  961. package/dist/components/ix-menu-settings-item.js +0 -38
  962. package/dist/components/ix-menu-settings-item.js.map +0 -1
  963. package/dist/components/ix-menu-settings.d.ts +0 -11
  964. package/dist/components/ix-menu-settings.js +0 -112
  965. package/dist/components/ix-menu-settings.js.map +0 -1
  966. package/dist/components/ix-menu.d.ts +0 -11
  967. package/dist/components/ix-menu.js +0 -514
  968. package/dist/components/ix-menu.js.map +0 -1
  969. package/dist/components/ix-message-bar.d.ts +0 -11
  970. package/dist/components/ix-message-bar.js +0 -93
  971. package/dist/components/ix-message-bar.js.map +0 -1
  972. package/dist/components/ix-modal-content.d.ts +0 -11
  973. package/dist/components/ix-modal-content.js +0 -35
  974. package/dist/components/ix-modal-content.js.map +0 -1
  975. package/dist/components/ix-modal-example.d.ts +0 -11
  976. package/dist/components/ix-modal-example.js +0 -64
  977. package/dist/components/ix-modal-example.js.map +0 -1
  978. package/dist/components/ix-modal-footer.d.ts +0 -11
  979. package/dist/components/ix-modal-footer.js +0 -35
  980. package/dist/components/ix-modal-footer.js.map +0 -1
  981. package/dist/components/ix-modal-header.d.ts +0 -11
  982. package/dist/components/ix-modal-header.js +0 -90
  983. package/dist/components/ix-modal-header.js.map +0 -1
  984. package/dist/components/ix-modal-loading.d.ts +0 -11
  985. package/dist/components/ix-modal-loading.js +0 -41
  986. package/dist/components/ix-modal-loading.js.map +0 -1
  987. package/dist/components/ix-modal.d.ts +0 -11
  988. package/dist/components/ix-modal.js +0 -155
  989. package/dist/components/ix-modal.js.map +0 -1
  990. package/dist/components/ix-pagination.d.ts +0 -11
  991. package/dist/components/ix-pagination.js +0 -217
  992. package/dist/components/ix-pagination.js.map +0 -1
  993. package/dist/components/ix-pill.d.ts +0 -11
  994. package/dist/components/ix-pill.js +0 -84
  995. package/dist/components/ix-pill.js.map +0 -1
  996. package/dist/components/ix-push-card.d.ts +0 -11
  997. package/dist/components/ix-push-card.js +0 -86
  998. package/dist/components/ix-push-card.js.map +0 -1
  999. package/dist/components/ix-row.d.ts +0 -11
  1000. package/dist/components/ix-row.js +0 -35
  1001. package/dist/components/ix-row.js.map +0 -1
  1002. package/dist/components/ix-select-item.d.ts +0 -11
  1003. package/dist/components/ix-select-item.js +0 -8
  1004. package/dist/components/ix-select-item.js.map +0 -1
  1005. package/dist/components/ix-select.d.ts +0 -11
  1006. package/dist/components/ix-select.js +0 -8
  1007. package/dist/components/ix-select.js.map +0 -1
  1008. package/dist/components/ix-spinner.d.ts +0 -11
  1009. package/dist/components/ix-spinner.js +0 -8
  1010. package/dist/components/ix-spinner.js.map +0 -1
  1011. package/dist/components/ix-split-button-item.d.ts +0 -11
  1012. package/dist/components/ix-split-button-item.js +0 -57
  1013. package/dist/components/ix-split-button-item.js.map +0 -1
  1014. package/dist/components/ix-split-button.d.ts +0 -11
  1015. package/dist/components/ix-split-button.js +0 -106
  1016. package/dist/components/ix-split-button.js.map +0 -1
  1017. package/dist/components/ix-tab-item.d.ts +0 -11
  1018. package/dist/components/ix-tab-item.js +0 -8
  1019. package/dist/components/ix-tab-item.js.map +0 -1
  1020. package/dist/components/ix-tabs.d.ts +0 -11
  1021. package/dist/components/ix-tabs.js +0 -8
  1022. package/dist/components/ix-tabs.js.map +0 -1
  1023. package/dist/components/ix-tile.d.ts +0 -11
  1024. package/dist/components/ix-tile.js +0 -59
  1025. package/dist/components/ix-tile.js.map +0 -1
  1026. package/dist/components/ix-time-picker.d.ts +0 -11
  1027. package/dist/components/ix-time-picker.js +0 -8
  1028. package/dist/components/ix-time-picker.js.map +0 -1
  1029. package/dist/components/ix-toast-container.d.ts +0 -11
  1030. package/dist/components/ix-toast-container.js +0 -121
  1031. package/dist/components/ix-toast-container.js.map +0 -1
  1032. package/dist/components/ix-toast.d.ts +0 -11
  1033. package/dist/components/ix-toast.js +0 -8
  1034. package/dist/components/ix-toast.js.map +0 -1
  1035. package/dist/components/ix-toggle-button.d.ts +0 -11
  1036. package/dist/components/ix-toggle-button.js +0 -111
  1037. package/dist/components/ix-toggle-button.js.map +0 -1
  1038. package/dist/components/ix-toggle.d.ts +0 -11
  1039. package/dist/components/ix-toggle.js +0 -62
  1040. package/dist/components/ix-toggle.js.map +0 -1
  1041. package/dist/components/ix-tooltip.d.ts +0 -11
  1042. package/dist/components/ix-tooltip.js +0 -183
  1043. package/dist/components/ix-tooltip.js.map +0 -1
  1044. package/dist/components/ix-tree-item.d.ts +0 -11
  1045. package/dist/components/ix-tree-item.js +0 -8
  1046. package/dist/components/ix-tree-item.js.map +0 -1
  1047. package/dist/components/ix-tree.d.ts +0 -11
  1048. package/dist/components/ix-tree.js +0 -733
  1049. package/dist/components/ix-tree.js.map +0 -1
  1050. package/dist/components/ix-typography.d.ts +0 -11
  1051. package/dist/components/ix-typography.js +0 -8
  1052. package/dist/components/ix-typography.js.map +0 -1
  1053. package/dist/components/ix-upload.d.ts +0 -11
  1054. package/dist/components/ix-upload.js +0 -153
  1055. package/dist/components/ix-upload.js.map +0 -1
  1056. package/dist/components/ix-validation-tooltip.d.ts +0 -11
  1057. package/dist/components/ix-validation-tooltip.js +0 -170
  1058. package/dist/components/ix-validation-tooltip.js.map +0 -1
  1059. package/dist/components/ix-workflow-step.d.ts +0 -11
  1060. package/dist/components/ix-workflow-step.js +0 -126
  1061. package/dist/components/ix-workflow-step.js.map +0 -1
  1062. package/dist/components/ix-workflow-steps.d.ts +0 -11
  1063. package/dist/components/ix-workflow-steps.js +0 -99
  1064. package/dist/components/ix-workflow-steps.js.map +0 -1
  1065. package/dist/components/logical-filter-operator.js +0 -35
  1066. package/dist/components/logical-filter-operator.js.map +0 -1
  1067. package/dist/components/luxon.js +0 -7828
  1068. package/dist/components/luxon.js.map +0 -1
  1069. package/dist/components/map-navigation-overlay.js +0 -95
  1070. package/dist/components/map-navigation-overlay.js.map +0 -1
  1071. package/dist/components/menu-avatar-item.js +0 -51
  1072. package/dist/components/menu-avatar-item.js.map +0 -1
  1073. package/dist/components/menu-item.js +0 -98
  1074. package/dist/components/menu-item.js.map +0 -1
  1075. package/dist/components/menu-service.js +0 -156
  1076. package/dist/components/menu-service.js.map +0 -1
  1077. package/dist/components/modal.js +0 -245
  1078. package/dist/components/modal.js.map +0 -1
  1079. package/dist/components/mutation-observer.js +0 -13
  1080. package/dist/components/mutation-observer.js.map +0 -1
  1081. package/dist/components/my-component.d.ts +0 -11
  1082. package/dist/components/my-component.js +0 -34
  1083. package/dist/components/my-component.js.map +0 -1
  1084. package/dist/components/rwd.util.js +0 -41
  1085. package/dist/components/rwd.util.js.map +0 -1
  1086. package/dist/components/select-item.js +0 -98
  1087. package/dist/components/select-item.js.map +0 -1
  1088. package/dist/components/select.js +0 -403
  1089. package/dist/components/select.js.map +0 -1
  1090. package/dist/components/shadow-dom.js +0 -21
  1091. package/dist/components/shadow-dom.js.map +0 -1
  1092. package/dist/components/spinner.js +0 -48
  1093. package/dist/components/spinner.js.map +0 -1
  1094. package/dist/components/tab-item.js +0 -87
  1095. package/dist/components/tab-item.js.map +0 -1
  1096. package/dist/components/tabs.js +0 -233
  1097. package/dist/components/tabs.js.map +0 -1
  1098. package/dist/components/theme-switcher.js +0 -123
  1099. package/dist/components/theme-switcher.js.map +0 -1
  1100. package/dist/components/time-picker.js +0 -258
  1101. package/dist/components/time-picker.js.map +0 -1
  1102. package/dist/components/toast.js +0 -111
  1103. package/dist/components/toast.js.map +0 -1
  1104. package/dist/components/tree-item.js +0 -57
  1105. package/dist/components/tree-item.js.map +0 -1
  1106. package/dist/components/typed-event.js +0 -46
  1107. package/dist/components/typed-event.js.map +0 -1
  1108. package/dist/components/typography.js +0 -76
  1109. package/dist/components/typography.js.map +0 -1
  1110. package/dist/components/upload-file-state.js +0 -19
  1111. package/dist/components/upload-file-state.js.map +0 -1
  1112. package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -21
  1113. package/dist/esm/_commonjsHelpers-4bc7200a.js.map +0 -1
  1114. package/dist/esm/a11y-aa83c2d1.js +0 -79
  1115. package/dist/esm/a11y-aa83c2d1.js.map +0 -1
  1116. package/dist/esm/breakpoints-b8d59fd9.js +0 -25
  1117. package/dist/esm/breakpoints-b8d59fd9.js.map +0 -1
  1118. package/dist/esm/icon-f54a8bc4.js +0 -112
  1119. package/dist/esm/icon-f54a8bc4.js.map +0 -1
  1120. package/dist/esm/index-7b24b7fa.js +0 -6
  1121. package/dist/esm/index-7b24b7fa.js.map +0 -1
  1122. package/dist/esm/ix-avatar.entry.js +0 -35
  1123. package/dist/esm/ix-avatar.entry.js.map +0 -1
  1124. package/dist/esm/ix-breadcrumb_2.entry.js +0 -159
  1125. package/dist/esm/ix-breadcrumb_2.entry.js.map +0 -1
  1126. package/dist/esm/ix-dropdown_2.entry.js +0 -354
  1127. package/dist/esm/ix-dropdown_2.entry.js.map +0 -1
  1128. package/dist/esm/ix-event-list_2.entry.js +0 -154
  1129. package/dist/esm/ix-event-list_2.entry.js.map +0 -1
  1130. package/dist/esm/ix-filter-chip.entry.js +0 -26
  1131. package/dist/esm/ix-filter-chip.entry.js.map +0 -1
  1132. package/dist/esm/ix-flip-tile_2.entry.js +0 -98
  1133. package/dist/esm/ix-flip-tile_2.entry.js.map +0 -1
  1134. package/dist/esm/ix-grid.entry.js +0 -25
  1135. package/dist/esm/ix-grid.entry.js.map +0 -1
  1136. package/dist/esm/ix-group-context-menu.entry.js +0 -44
  1137. package/dist/esm/ix-group-context-menu.entry.js.map +0 -1
  1138. package/dist/esm/ix-group_2.entry.js +0 -154
  1139. package/dist/esm/ix-group_2.entry.js.map +0 -1
  1140. package/dist/esm/ix-icon-button.entry.js +0 -68
  1141. package/dist/esm/ix-icon-button.entry.js.map +0 -1
  1142. package/dist/esm/ix-icon.entry.js +0 -4
  1143. package/dist/esm/ix-icon.entry.js.map +0 -1
  1144. package/dist/esm/ix-map-navigation_2.entry.js +0 -222
  1145. package/dist/esm/ix-map-navigation_2.entry.js.map +0 -1
  1146. package/dist/esm/ix-menu_9.entry.js +0 -720
  1147. package/dist/esm/ix-menu_9.entry.js.map +0 -1
  1148. package/dist/esm/ix-select_2.entry.js +0 -384
  1149. package/dist/esm/ix-select_2.entry.js.map +0 -1
  1150. package/dist/esm/ix-spinner.entry.js +0 -29
  1151. package/dist/esm/ix-spinner.entry.js.map +0 -1
  1152. package/dist/esm/ix-split-button_2.entry.js +0 -67
  1153. package/dist/esm/ix-split-button_2.entry.js.map +0 -1
  1154. package/dist/esm/ix-tab-item.entry.js +0 -63
  1155. package/dist/esm/ix-tab-item.entry.js.map +0 -1
  1156. package/dist/esm/ix-tabs.entry.js +0 -200
  1157. package/dist/esm/ix-tabs.entry.js.map +0 -1
  1158. package/dist/esm/ix-toast_2.entry.js +0 -138
  1159. package/dist/esm/ix-toast_2.entry.js.map +0 -1
  1160. package/dist/esm/ix-tree_2.entry.js +0 -725
  1161. package/dist/esm/ix-tree_2.entry.js.map +0 -1
  1162. package/dist/esm/ix-workflow-step_2.entry.js +0 -165
  1163. package/dist/esm/ix-workflow-step_2.entry.js.map +0 -1
  1164. package/dist/esm/menu-service-12a09006.js +0 -156
  1165. package/dist/esm/menu-service-12a09006.js.map +0 -1
  1166. package/dist/siemens-ix/p-00616f87.entry.js +0 -2
  1167. package/dist/siemens-ix/p-00616f87.entry.js.map +0 -1
  1168. package/dist/siemens-ix/p-0b71cde4.js +0 -2
  1169. package/dist/siemens-ix/p-0b71cde4.js.map +0 -1
  1170. package/dist/siemens-ix/p-134b6bd5.js +0 -2
  1171. package/dist/siemens-ix/p-134b6bd5.js.map +0 -1
  1172. package/dist/siemens-ix/p-14621fbd.entry.js +0 -2
  1173. package/dist/siemens-ix/p-14621fbd.entry.js.map +0 -1
  1174. package/dist/siemens-ix/p-1b705d7b.js +0 -2
  1175. package/dist/siemens-ix/p-1b705d7b.js.map +0 -1
  1176. package/dist/siemens-ix/p-1fc8e513.entry.js +0 -2
  1177. package/dist/siemens-ix/p-1fc8e513.entry.js.map +0 -1
  1178. package/dist/siemens-ix/p-281fa225.entry.js +0 -2
  1179. package/dist/siemens-ix/p-281fa225.entry.js.map +0 -1
  1180. package/dist/siemens-ix/p-2a29e187.entry.js +0 -2
  1181. package/dist/siemens-ix/p-2a29e187.entry.js.map +0 -1
  1182. package/dist/siemens-ix/p-36c48f12.entry.js +0 -2
  1183. package/dist/siemens-ix/p-36c48f12.entry.js.map +0 -1
  1184. package/dist/siemens-ix/p-36f0b470.entry.js +0 -2
  1185. package/dist/siemens-ix/p-36f0b470.entry.js.map +0 -1
  1186. package/dist/siemens-ix/p-37417714.js +0 -2
  1187. package/dist/siemens-ix/p-37dd62fc.entry.js +0 -2
  1188. package/dist/siemens-ix/p-37dd62fc.entry.js.map +0 -1
  1189. package/dist/siemens-ix/p-3983ee89.entry.js +0 -2
  1190. package/dist/siemens-ix/p-3983ee89.entry.js.map +0 -1
  1191. package/dist/siemens-ix/p-3dbeeecf.entry.js +0 -2
  1192. package/dist/siemens-ix/p-3dbeeecf.entry.js.map +0 -1
  1193. package/dist/siemens-ix/p-3eabf464.entry.js +0 -2
  1194. package/dist/siemens-ix/p-3eabf464.entry.js.map +0 -1
  1195. package/dist/siemens-ix/p-40ecc8be.entry.js +0 -2
  1196. package/dist/siemens-ix/p-40ecc8be.entry.js.map +0 -1
  1197. package/dist/siemens-ix/p-475d8732.entry.js +0 -2
  1198. package/dist/siemens-ix/p-475d8732.entry.js.map +0 -1
  1199. package/dist/siemens-ix/p-4f8954a7.entry.js +0 -2
  1200. package/dist/siemens-ix/p-4f8954a7.entry.js.map +0 -1
  1201. package/dist/siemens-ix/p-5017cf39.entry.js +0 -2
  1202. package/dist/siemens-ix/p-5017cf39.entry.js.map +0 -1
  1203. package/dist/siemens-ix/p-5029fd0f.entry.js +0 -2
  1204. package/dist/siemens-ix/p-5029fd0f.entry.js.map +0 -1
  1205. package/dist/siemens-ix/p-553ebcb1.entry.js +0 -2
  1206. package/dist/siemens-ix/p-553ebcb1.entry.js.map +0 -1
  1207. package/dist/siemens-ix/p-5650383d.entry.js +0 -2
  1208. package/dist/siemens-ix/p-567f71a2.entry.js +0 -2
  1209. package/dist/siemens-ix/p-567f71a2.entry.js.map +0 -1
  1210. package/dist/siemens-ix/p-5e3f8c0b.entry.js +0 -2
  1211. package/dist/siemens-ix/p-5e3f8c0b.entry.js.map +0 -1
  1212. package/dist/siemens-ix/p-7918fd50.entry.js +0 -2
  1213. package/dist/siemens-ix/p-7918fd50.entry.js.map +0 -1
  1214. package/dist/siemens-ix/p-7b536489.entry.js +0 -2
  1215. package/dist/siemens-ix/p-7b536489.entry.js.map +0 -1
  1216. package/dist/siemens-ix/p-8c7d1e06.js +0 -2
  1217. package/dist/siemens-ix/p-8c7d1e06.js.map +0 -1
  1218. package/dist/siemens-ix/p-8e39298f.js +0 -2
  1219. package/dist/siemens-ix/p-94ecb1af.entry.js +0 -2
  1220. package/dist/siemens-ix/p-94ecb1af.entry.js.map +0 -1
  1221. package/dist/siemens-ix/p-98b03a9b.entry.js +0 -2
  1222. package/dist/siemens-ix/p-98b03a9b.entry.js.map +0 -1
  1223. package/dist/siemens-ix/p-9b6075de.entry.js +0 -2
  1224. package/dist/siemens-ix/p-9b6075de.entry.js.map +0 -1
  1225. package/dist/siemens-ix/p-a0fdaa04.entry.js +0 -2
  1226. package/dist/siemens-ix/p-a0fdaa04.entry.js.map +0 -1
  1227. package/dist/siemens-ix/p-a18f1744.entry.js +0 -2
  1228. package/dist/siemens-ix/p-a18f1744.entry.js.map +0 -1
  1229. package/dist/siemens-ix/p-a3d6abfb.entry.js +0 -2
  1230. package/dist/siemens-ix/p-a3d6abfb.entry.js.map +0 -1
  1231. package/dist/siemens-ix/p-a5ae7bfa.entry.js +0 -2
  1232. package/dist/siemens-ix/p-a5ae7bfa.entry.js.map +0 -1
  1233. package/dist/siemens-ix/p-a6345f97.entry.js +0 -2
  1234. package/dist/siemens-ix/p-a6345f97.entry.js.map +0 -1
  1235. package/dist/siemens-ix/p-a8424ce3.entry.js +0 -2
  1236. package/dist/siemens-ix/p-a8424ce3.entry.js.map +0 -1
  1237. package/dist/siemens-ix/p-a85299c6.entry.js +0 -2
  1238. package/dist/siemens-ix/p-a85299c6.entry.js.map +0 -1
  1239. package/dist/siemens-ix/p-ab4bdb4e.entry.js +0 -2
  1240. package/dist/siemens-ix/p-ab4bdb4e.entry.js.map +0 -1
  1241. package/dist/siemens-ix/p-ac00ae47.entry.js +0 -2
  1242. package/dist/siemens-ix/p-ac00ae47.entry.js.map +0 -1
  1243. package/dist/siemens-ix/p-b38eff08.entry.js +0 -2
  1244. package/dist/siemens-ix/p-b38eff08.entry.js.map +0 -1
  1245. package/dist/siemens-ix/p-b45ca515.entry.js +0 -2
  1246. package/dist/siemens-ix/p-b45ca515.entry.js.map +0 -1
  1247. package/dist/siemens-ix/p-c1ac2d01.entry.js +0 -2
  1248. package/dist/siemens-ix/p-c1ac2d01.entry.js.map +0 -1
  1249. package/dist/siemens-ix/p-c1f5a59a.entry.js +0 -2
  1250. package/dist/siemens-ix/p-c1f5a59a.entry.js.map +0 -1
  1251. package/dist/siemens-ix/p-c75264af.entry.js +0 -2
  1252. package/dist/siemens-ix/p-c75264af.entry.js.map +0 -1
  1253. package/dist/siemens-ix/p-db174600.entry.js +0 -2
  1254. package/dist/siemens-ix/p-db174600.entry.js.map +0 -1
  1255. package/dist/siemens-ix/p-db2f237f.entry.js +0 -2
  1256. package/dist/siemens-ix/p-db2f237f.entry.js.map +0 -1
  1257. package/dist/siemens-ix/p-dc77f962.entry.js +0 -2
  1258. package/dist/siemens-ix/p-de013166.entry.js +0 -2
  1259. package/dist/siemens-ix/p-de013166.entry.js.map +0 -1
  1260. package/dist/siemens-ix/p-eb3f1ef6.entry.js +0 -2
  1261. package/dist/siemens-ix/p-eb3f1ef6.entry.js.map +0 -1
  1262. package/dist/siemens-ix/p-f71da594.entry.js +0 -2
  1263. package/dist/siemens-ix/p-f71da594.entry.js.map +0 -1
  1264. package/dist/siemens-ix/p-f9b004ba.entry.js +0 -2
  1265. package/dist/siemens-ix/p-f9b004ba.entry.js.map +0 -1
  1266. package/dist/siemens-ix/p-f9d4ca13.entry.js +0 -2
  1267. package/dist/types/components/grid/grid.d.ts +0 -18
  1268. /package/dist/siemens-ix/{p-37417714.js.map → p-3e7b4990.js.map} +0 -0
  1269. /package/dist/siemens-ix/{p-8e39298f.js.map → p-5d172daa.js.map} +0 -0
  1270. /package/dist/siemens-ix/{p-dc77f962.entry.js.map → p-77b14ca1.entry.js.map} +0 -0
  1271. /package/dist/siemens-ix/{p-5650383d.entry.js.map → p-b53bed3a.entry.js.map} +0 -0
  1272. /package/dist/siemens-ix/{p-f9d4ca13.entry.js.map → p-f97f2394.entry.js.map} +0 -0
@@ -0,0 +1,1504 @@
1
+ 'use strict';
2
+
3
+ function _interopNamespace(e) {
4
+ if (e && e.__esModule) return e;
5
+ var n = Object.create(null);
6
+ if (e) {
7
+ Object.keys(e).forEach(function (k) {
8
+ if (k !== 'default') {
9
+ var d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: function () {
13
+ return e[k];
14
+ }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n['default'] = e;
20
+ return Object.freeze(n);
21
+ }
22
+
23
+ function applyPolyfills() {
24
+ var promises = [];
25
+ if (typeof window !== 'undefined') {
26
+ var win = window;
27
+
28
+ if (!win.customElements ||
29
+ (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove || !win.Element.prototype.getRootNode))) {
30
+ promises.push(Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-dom" */ './dom-83fb07d8.js'); }));
31
+ }
32
+
33
+ var checkIfURLIsSupported = function() {
34
+ try {
35
+ var u = new URL('b', 'http://a');
36
+ u.pathname = 'c%20d';
37
+ return (u.href === 'http://a/c%20d') && u.searchParams;
38
+ } catch (e) {
39
+ return false;
40
+ }
41
+ };
42
+
43
+ if (
44
+ 'function' !== typeof Object.assign || !Object.entries ||
45
+ !Array.prototype.find || !Array.prototype.includes ||
46
+ !String.prototype.startsWith || !String.prototype.endsWith ||
47
+ (win.NodeList && !win.NodeList.prototype.forEach) ||
48
+ !win.fetch ||
49
+ !checkIfURLIsSupported() ||
50
+ typeof WeakMap == 'undefined'
51
+ ) {
52
+ promises.push(Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-core-js" */ './core-js-3b34c0b6.js'); }).then(function (n) { return n.coreJs; }));
53
+ }
54
+ }
55
+ return Promise.all(promises);
56
+ }
57
+
58
+ const NAMESPACE = 'ix-icons';
59
+
60
+ /**
61
+ * Virtual DOM patching algorithm based on Snabbdom by
62
+ * Simon Friis Vindum (@paldepind)
63
+ * Licensed under the MIT License
64
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
65
+ *
66
+ * Modified for Stencil's renderer and slot projection
67
+ */
68
+ let scopeId;
69
+ let hostTagName;
70
+ let isSvgMode = false;
71
+ let queuePending = false;
72
+ const createTime = (fnName, tagName = '') => {
73
+ {
74
+ return () => {
75
+ return;
76
+ };
77
+ }
78
+ };
79
+ const uniqueTime = (key, measureText) => {
80
+ {
81
+ return () => {
82
+ return;
83
+ };
84
+ }
85
+ };
86
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
87
+ /**
88
+ * Default style mode id
89
+ */
90
+ /**
91
+ * Reusable empty obj/array
92
+ * Don't add values to these!!
93
+ */
94
+ const EMPTY_OBJ = {};
95
+ /**
96
+ * Namespaces
97
+ */
98
+ const SVG_NS = 'http://www.w3.org/2000/svg';
99
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
100
+ const isDef = (v) => v != null;
101
+ /**
102
+ * Check whether a value is a 'complex type', defined here as an object or a
103
+ * function.
104
+ *
105
+ * @param o the value to check
106
+ * @returns whether it's a complex type or not
107
+ */
108
+ const isComplexType = (o) => {
109
+ // https://jsperf.com/typeof-fn-object/5
110
+ o = typeof o;
111
+ return o === 'object' || o === 'function';
112
+ };
113
+ /**
114
+ * Helper method for querying a `meta` tag that contains a nonce value
115
+ * out of a DOM's head.
116
+ *
117
+ * @param doc The DOM containing the `head` to query against
118
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
119
+ * exists or the tag has no content.
120
+ */
121
+ function queryNonceMetaTagContent(doc) {
122
+ var _a, _b, _c;
123
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
124
+ }
125
+ /**
126
+ * Production h() function based on Preact by
127
+ * Jason Miller (@developit)
128
+ * Licensed under the MIT License
129
+ * https://github.com/developit/preact/blob/master/LICENSE
130
+ *
131
+ * Modified for Stencil's compiler and vdom
132
+ */
133
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
134
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
135
+ const h = (nodeName, vnodeData, ...children) => {
136
+ let child = null;
137
+ let simple = false;
138
+ let lastSimple = false;
139
+ const vNodeChildren = [];
140
+ const walk = (c) => {
141
+ for (let i = 0; i < c.length; i++) {
142
+ child = c[i];
143
+ if (Array.isArray(child)) {
144
+ walk(child);
145
+ }
146
+ else if (child != null && typeof child !== 'boolean') {
147
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
148
+ child = String(child);
149
+ }
150
+ if (simple && lastSimple) {
151
+ // If the previous child was simple (string), we merge both
152
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
153
+ }
154
+ else {
155
+ // Append a new vNode, if it's text, we create a text vNode
156
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
157
+ }
158
+ lastSimple = simple;
159
+ }
160
+ }
161
+ };
162
+ walk(children);
163
+ if (vnodeData) {
164
+ {
165
+ const classData = vnodeData.className || vnodeData.class;
166
+ if (classData) {
167
+ vnodeData.class =
168
+ typeof classData !== 'object'
169
+ ? classData
170
+ : Object.keys(classData)
171
+ .filter((k) => classData[k])
172
+ .join(' ');
173
+ }
174
+ }
175
+ }
176
+ const vnode = newVNode(nodeName, null);
177
+ vnode.$attrs$ = vnodeData;
178
+ if (vNodeChildren.length > 0) {
179
+ vnode.$children$ = vNodeChildren;
180
+ }
181
+ return vnode;
182
+ };
183
+ /**
184
+ * A utility function for creating a virtual DOM node from a tag and some
185
+ * possible text content.
186
+ *
187
+ * @param tag the tag for this element
188
+ * @param text possible text content for the node
189
+ * @returns a newly-minted virtual DOM node
190
+ */
191
+ const newVNode = (tag, text) => {
192
+ const vnode = {
193
+ $flags$: 0,
194
+ $tag$: tag,
195
+ $text$: text,
196
+ $elm$: null,
197
+ $children$: null,
198
+ };
199
+ {
200
+ vnode.$attrs$ = null;
201
+ }
202
+ return vnode;
203
+ };
204
+ const Host = {};
205
+ /**
206
+ * Check whether a given node is a Host node or not
207
+ *
208
+ * @param node the virtual DOM node to check
209
+ * @returns whether it's a Host node or not
210
+ */
211
+ const isHost = (node) => node && node.$tag$ === Host;
212
+ /**
213
+ * Parse a new property value for a given property type.
214
+ *
215
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
216
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
217
+ * 1. `any`, the type given to `propValue` in the function signature
218
+ * 2. the type stored from `propType`.
219
+ *
220
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
221
+ *
222
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
223
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
224
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
225
+ * ```tsx
226
+ * <my-cmp prop-val={0}></my-cmp>
227
+ * ```
228
+ *
229
+ * HTML prop values on the other hand, will always a string
230
+ *
231
+ * @param propValue the new value to coerce to some type
232
+ * @param propType the type of the prop, expressed as a binary number
233
+ * @returns the parsed/coerced value
234
+ */
235
+ const parsePropertyValue = (propValue, propType) => {
236
+ // ensure this value is of the correct prop type
237
+ if (propValue != null && !isComplexType(propValue)) {
238
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
239
+ // could have been passed as a number or boolean
240
+ // but we still want it as a string
241
+ return String(propValue);
242
+ }
243
+ // redundant return here for better minification
244
+ return propValue;
245
+ }
246
+ // not sure exactly what type we want
247
+ // so no need to change to a different type
248
+ return propValue;
249
+ };
250
+ /**
251
+ * Helper function to create & dispatch a custom Event on a provided target
252
+ * @param elm the target of the Event
253
+ * @param name the name to give the custom Event
254
+ * @param opts options for configuring a custom Event
255
+ * @returns the custom Event
256
+ */
257
+ const emitEvent = (elm, name, opts) => {
258
+ const ev = plt.ce(name, opts);
259
+ elm.dispatchEvent(ev);
260
+ return ev;
261
+ };
262
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
263
+ const registerStyle = (scopeId, cssText, allowCS) => {
264
+ let style = styles.get(scopeId);
265
+ if (supportsConstructableStylesheets && allowCS) {
266
+ style = (style || new CSSStyleSheet());
267
+ if (typeof style === 'string') {
268
+ style = cssText;
269
+ }
270
+ else {
271
+ style.replaceSync(cssText);
272
+ }
273
+ }
274
+ else {
275
+ style = cssText;
276
+ }
277
+ styles.set(scopeId, style);
278
+ };
279
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
280
+ var _a;
281
+ let scopeId = getScopeId(cmpMeta);
282
+ const style = styles.get(scopeId);
283
+ // if an element is NOT connected then getRootNode() will return the wrong root node
284
+ // so the fallback is to always use the document for the root node in those cases
285
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
286
+ if (style) {
287
+ if (typeof style === 'string') {
288
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
289
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
290
+ let styleElm;
291
+ if (!appliedStyles) {
292
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
293
+ }
294
+ if (!appliedStyles.has(scopeId)) {
295
+ {
296
+ // TODO(STENCIL-659): Remove code implementing the CSS variable shim
297
+ {
298
+ styleElm = doc.createElement('style');
299
+ styleElm.innerHTML = style;
300
+ }
301
+ // Apply CSP nonce to the style tag if it exists
302
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
303
+ if (nonce != null) {
304
+ styleElm.setAttribute('nonce', nonce);
305
+ }
306
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
307
+ }
308
+ if (appliedStyles) {
309
+ appliedStyles.add(scopeId);
310
+ }
311
+ }
312
+ }
313
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
314
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
315
+ }
316
+ }
317
+ return scopeId;
318
+ };
319
+ const attachStyles = (hostRef) => {
320
+ const cmpMeta = hostRef.$cmpMeta$;
321
+ const elm = hostRef.$hostElement$;
322
+ const flags = cmpMeta.$flags$;
323
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
324
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
325
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
326
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
327
+ // only required when we're NOT using native shadow dom (slot)
328
+ // or this browser doesn't support native shadow dom
329
+ // and this host element was NOT created with SSR
330
+ // let's pick out the inner content for slot projection
331
+ // create a node to represent where the original
332
+ // content was first placed, which is useful later on
333
+ // DOM WRITE!!
334
+ elm['s-sc'] = scopeId;
335
+ elm.classList.add(scopeId + '-h');
336
+ }
337
+ endAttachStyles();
338
+ };
339
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
340
+ /**
341
+ * Production setAccessor() function based on Preact by
342
+ * Jason Miller (@developit)
343
+ * Licensed under the MIT License
344
+ * https://github.com/developit/preact/blob/master/LICENSE
345
+ *
346
+ * Modified for Stencil's compiler and vdom
347
+ */
348
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
349
+ if (oldValue !== newValue) {
350
+ let isProp = isMemberInElement(elm, memberName);
351
+ memberName.toLowerCase();
352
+ if (memberName === 'class') {
353
+ const classList = elm.classList;
354
+ const oldClasses = parseClassList(oldValue);
355
+ const newClasses = parseClassList(newValue);
356
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
357
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
358
+ }
359
+ else if (memberName === 'style') {
360
+ // update style attribute, css properties and values
361
+ {
362
+ for (const prop in oldValue) {
363
+ if (!newValue || newValue[prop] == null) {
364
+ if (prop.includes('-')) {
365
+ elm.style.removeProperty(prop);
366
+ }
367
+ else {
368
+ elm.style[prop] = '';
369
+ }
370
+ }
371
+ }
372
+ }
373
+ for (const prop in newValue) {
374
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
375
+ if (prop.includes('-')) {
376
+ elm.style.setProperty(prop, newValue[prop]);
377
+ }
378
+ else {
379
+ elm.style[prop] = newValue[prop];
380
+ }
381
+ }
382
+ }
383
+ }
384
+ else {
385
+ // Set property if it exists and it's not a SVG
386
+ const isComplex = isComplexType(newValue);
387
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
388
+ try {
389
+ if (!elm.tagName.includes('-')) {
390
+ const n = newValue == null ? '' : newValue;
391
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
392
+ if (memberName === 'list') {
393
+ isProp = false;
394
+ }
395
+ else if (oldValue == null || elm[memberName] != n) {
396
+ elm[memberName] = n;
397
+ }
398
+ }
399
+ else {
400
+ elm[memberName] = newValue;
401
+ }
402
+ }
403
+ catch (e) { }
404
+ }
405
+ if (newValue == null || newValue === false) {
406
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
407
+ {
408
+ elm.removeAttribute(memberName);
409
+ }
410
+ }
411
+ }
412
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
413
+ newValue = newValue === true ? '' : newValue;
414
+ {
415
+ elm.setAttribute(memberName, newValue);
416
+ }
417
+ }
418
+ }
419
+ }
420
+ };
421
+ const parseClassListRegex = /\s/;
422
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
423
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
424
+ // if the element passed in is a shadow root, which is a document fragment
425
+ // then we want to be adding attrs/props to the shadow root's "host" element
426
+ // if it's not a shadow root, then we add attrs/props to the same element
427
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
428
+ ? newVnode.$elm$.host
429
+ : newVnode.$elm$;
430
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
431
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
432
+ {
433
+ // remove attributes no longer present on the vnode by setting them to undefined
434
+ for (memberName in oldVnodeAttrs) {
435
+ if (!(memberName in newVnodeAttrs)) {
436
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
437
+ }
438
+ }
439
+ }
440
+ // add new & update changed attributes
441
+ for (memberName in newVnodeAttrs) {
442
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
443
+ }
444
+ };
445
+ /**
446
+ * Create a DOM Node corresponding to one of the children of a given VNode.
447
+ *
448
+ * @param oldParentVNode the parent VNode from the previous render
449
+ * @param newParentVNode the parent VNode from the current render
450
+ * @param childIndex the index of the VNode, in the _new_ parent node's
451
+ * children, for which we will create a new DOM node
452
+ * @param parentElm the parent DOM node which our new node will be a child of
453
+ * @returns the newly created node
454
+ */
455
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
456
+ // tslint:disable-next-line: prefer-const
457
+ const newVNode = newParentVNode.$children$[childIndex];
458
+ let i = 0;
459
+ let elm;
460
+ let childNode;
461
+ {
462
+ if (!isSvgMode) {
463
+ isSvgMode = newVNode.$tag$ === 'svg';
464
+ }
465
+ // create element
466
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$tag$)
467
+ );
468
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
469
+ isSvgMode = false;
470
+ }
471
+ // add css classes, attrs, props, listeners, etc.
472
+ {
473
+ updateElement(null, newVNode, isSvgMode);
474
+ }
475
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
476
+ // if there is a scopeId and this is the initial render
477
+ // then let's add the scopeId as a css class
478
+ elm.classList.add((elm['s-si'] = scopeId));
479
+ }
480
+ if (newVNode.$children$) {
481
+ for (i = 0; i < newVNode.$children$.length; ++i) {
482
+ // create the node
483
+ childNode = createElm(oldParentVNode, newVNode, i);
484
+ // return node could have been null
485
+ if (childNode) {
486
+ // append our new node
487
+ elm.appendChild(childNode);
488
+ }
489
+ }
490
+ }
491
+ {
492
+ if (newVNode.$tag$ === 'svg') {
493
+ // Only reset the SVG context when we're exiting <svg> element
494
+ isSvgMode = false;
495
+ }
496
+ else if (elm.tagName === 'foreignObject') {
497
+ // Reenter SVG context when we're exiting <foreignObject> element
498
+ isSvgMode = true;
499
+ }
500
+ }
501
+ }
502
+ return elm;
503
+ };
504
+ /**
505
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
506
+ * add them to the DOM in the appropriate place.
507
+ *
508
+ * @param parentElm the DOM node which should be used as a parent for the new
509
+ * DOM nodes
510
+ * @param before a child of the `parentElm` which the new children should be
511
+ * inserted before (optional)
512
+ * @param parentVNode the parent virtual DOM node
513
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
514
+ * @param startIdx the index in the child virtual DOM nodes at which to start
515
+ * creating DOM nodes (inclusive)
516
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
517
+ * creating DOM nodes (inclusive)
518
+ */
519
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
520
+ let containerElm = (parentElm);
521
+ let childNode;
522
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
523
+ containerElm = containerElm.shadowRoot;
524
+ }
525
+ for (; startIdx <= endIdx; ++startIdx) {
526
+ if (vnodes[startIdx]) {
527
+ childNode = createElm(null, parentVNode, startIdx);
528
+ if (childNode) {
529
+ vnodes[startIdx].$elm$ = childNode;
530
+ containerElm.insertBefore(childNode, before);
531
+ }
532
+ }
533
+ }
534
+ };
535
+ /**
536
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
537
+ * This can be used to, for instance, clean up after a list of children which
538
+ * should no longer be shown.
539
+ *
540
+ * This function also handles some of Stencil's slot relocation logic.
541
+ *
542
+ * @param vnodes a list of virtual DOM nodes to remove
543
+ * @param startIdx the index at which to start removing nodes (inclusive)
544
+ * @param endIdx the index at which to stop removing nodes (inclusive)
545
+ * @param vnode a VNode
546
+ * @param elm an element
547
+ */
548
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
549
+ for (; startIdx <= endIdx; ++startIdx) {
550
+ if ((vnode = vnodes[startIdx])) {
551
+ elm = vnode.$elm$;
552
+ // remove the vnode's element from the dom
553
+ elm.remove();
554
+ }
555
+ }
556
+ };
557
+ /**
558
+ * Reconcile the children of a new VNode with the children of an old VNode by
559
+ * traversing the two collections of children, identifying nodes that are
560
+ * conserved or changed, calling out to `patch` to make any necessary
561
+ * updates to the DOM, and rearranging DOM nodes as needed.
562
+ *
563
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
564
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
565
+ * 'windows' by storing start and end indices and references to the
566
+ * corresponding array entries. Initially the two 'windows' are basically equal
567
+ * to the entire array, but we progressively narrow the windows until there are
568
+ * no children left to update by doing the following:
569
+ *
570
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
571
+ * that if we have an initial array like the following we'll end up dealing
572
+ * only with a window bounded by the highlighted elements:
573
+ *
574
+ * [null, null, VNode1 , ... , VNode2, null, null]
575
+ * ^^^^^^ ^^^^^^
576
+ *
577
+ * 2. Check to see if the elements at the head and tail positions are equal
578
+ * across the windows. This will basically detect elements which haven't
579
+ * been added, removed, or changed position, i.e. if you had the following
580
+ * VNode elements (represented as HTML):
581
+ *
582
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
583
+ * newVNode: `<div><p><span>THERE</span></p></div>`
584
+ *
585
+ * Then when comparing the children of the `<div>` tag we check the equality
586
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
587
+ * same tag in the same position, we'd be able to avoid completely
588
+ * re-rendering the subtree under them with a new DOM element and would just
589
+ * call out to `patch` to handle reconciling their children and so on.
590
+ *
591
+ * 3. Check, for both windows, to see if the element at the beginning of the
592
+ * window corresponds to the element at the end of the other window. This is
593
+ * a heuristic which will let us identify _some_ situations in which
594
+ * elements have changed position, for instance it _should_ detect that the
595
+ * children nodes themselves have not changed but merely moved in the
596
+ * following example:
597
+ *
598
+ * oldVNode: `<div><element-one /><element-two /></div>`
599
+ * newVNode: `<div><element-two /><element-one /></div>`
600
+ *
601
+ * If we find cases like this then we also need to move the concrete DOM
602
+ * elements corresponding to the moved children to write the re-order to the
603
+ * DOM.
604
+ *
605
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
606
+ * nodes in the old children which have the same key as the first element in
607
+ * our window on the new children. If we find such a node we handle calling
608
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
609
+ * what we find.
610
+ *
611
+ * Finally, once we've narrowed our 'windows' to the point that either of them
612
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
613
+ * insertion or deletion that needs to happen to get a DOM state that correctly
614
+ * reflects the new child VNodes. If, for instance, after our window on the old
615
+ * children has collapsed we still have more nodes on the new children that
616
+ * we haven't dealt with yet then we need to add them, or if the new children
617
+ * collapse but we still have unhandled _old_ children then we need to make
618
+ * sure the corresponding DOM nodes are removed.
619
+ *
620
+ * @param parentElm the node into which the parent VNode is rendered
621
+ * @param oldCh the old children of the parent node
622
+ * @param newVNode the new VNode which will replace the parent
623
+ * @param newCh the new children of the parent node
624
+ */
625
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
626
+ let oldStartIdx = 0;
627
+ let newStartIdx = 0;
628
+ let oldEndIdx = oldCh.length - 1;
629
+ let oldStartVnode = oldCh[0];
630
+ let oldEndVnode = oldCh[oldEndIdx];
631
+ let newEndIdx = newCh.length - 1;
632
+ let newStartVnode = newCh[0];
633
+ let newEndVnode = newCh[newEndIdx];
634
+ let node;
635
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
636
+ if (oldStartVnode == null) {
637
+ // VNode might have been moved left
638
+ oldStartVnode = oldCh[++oldStartIdx];
639
+ }
640
+ else if (oldEndVnode == null) {
641
+ oldEndVnode = oldCh[--oldEndIdx];
642
+ }
643
+ else if (newStartVnode == null) {
644
+ newStartVnode = newCh[++newStartIdx];
645
+ }
646
+ else if (newEndVnode == null) {
647
+ newEndVnode = newCh[--newEndIdx];
648
+ }
649
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
650
+ // if the start nodes are the same then we should patch the new VNode
651
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
652
+ // indices to reflect that. We don't need to move any DOM Nodes around
653
+ // since things are matched up in order.
654
+ patch(oldStartVnode, newStartVnode);
655
+ oldStartVnode = oldCh[++oldStartIdx];
656
+ newStartVnode = newCh[++newStartIdx];
657
+ }
658
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
659
+ // likewise, if the end nodes are the same we patch new onto old and
660
+ // decrement our end indices, and also likewise in this case we don't
661
+ // need to move any DOM Nodes.
662
+ patch(oldEndVnode, newEndVnode);
663
+ oldEndVnode = oldCh[--oldEndIdx];
664
+ newEndVnode = newCh[--newEndIdx];
665
+ }
666
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
667
+ patch(oldStartVnode, newEndVnode);
668
+ // We need to move the element for `oldStartVnode` into a position which
669
+ // will be appropriate for `newEndVnode`. For this we can use
670
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
671
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
672
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
673
+ //
674
+ // <old-start-node />
675
+ // <some-intervening-node />
676
+ // <old-end-node />
677
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
678
+ // <next-sibling />
679
+ //
680
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
681
+ // the node for `oldStartVnode` at the end of the children of
682
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
683
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
684
+ // append it to the children of the parent element.
685
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
686
+ oldStartVnode = oldCh[++oldStartIdx];
687
+ newEndVnode = newCh[--newEndIdx];
688
+ }
689
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
690
+ patch(oldEndVnode, newStartVnode);
691
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
692
+ // the same node, so since we're here we know that they are not. Thus we
693
+ // can move the element for `oldEndVnode` _before_ the element for
694
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
695
+ // future.
696
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
697
+ oldEndVnode = oldCh[--oldEndIdx];
698
+ newStartVnode = newCh[++newStartIdx];
699
+ }
700
+ else {
701
+ {
702
+ // We either didn't find an element in the old children that matches
703
+ // the key of the first new child OR the build is not using `key`
704
+ // attributes at all. In either case we need to create a new element
705
+ // for the new node.
706
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
707
+ newStartVnode = newCh[++newStartIdx];
708
+ }
709
+ if (node) {
710
+ // if we created a new node then handle inserting it to the DOM
711
+ {
712
+ oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
713
+ }
714
+ }
715
+ }
716
+ }
717
+ if (oldStartIdx > oldEndIdx) {
718
+ // we have some more new nodes to add which don't match up with old nodes
719
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
720
+ }
721
+ else if (newStartIdx > newEndIdx) {
722
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
723
+ // in the new array, so lets remove them (which entails cleaning up the
724
+ // relevant DOM nodes)
725
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
726
+ }
727
+ };
728
+ /**
729
+ * Compare two VNodes to determine if they are the same
730
+ *
731
+ * **NB**: This function is an equality _heuristic_ based on the available
732
+ * information set on the two VNodes and can be misleading under certain
733
+ * circumstances. In particular, if the two nodes do not have `key` attrs
734
+ * (available under `$key$` on VNodes) then the function falls back on merely
735
+ * checking that they have the same tag.
736
+ *
737
+ * So, in other words, if `key` attrs are not set on VNodes which may be
738
+ * changing order within a `children` array or something along those lines then
739
+ * we could obtain a false negative and then have to do needless re-rendering
740
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
741
+ *
742
+ * @param leftVNode the first VNode to check
743
+ * @param rightVNode the second VNode to check
744
+ * @returns whether they're equal or not
745
+ */
746
+ const isSameVnode = (leftVNode, rightVNode) => {
747
+ // compare if two vnode to see if they're "technically" the same
748
+ // need to have the same element tag, and same key to be the same
749
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
750
+ return true;
751
+ }
752
+ return false;
753
+ };
754
+ /**
755
+ * Handle reconciling an outdated VNode with a new one which corresponds to
756
+ * it. This function handles flushing updates to the DOM and reconciling the
757
+ * children of the two nodes (if any).
758
+ *
759
+ * @param oldVNode an old VNode whose DOM element and children we want to update
760
+ * @param newVNode a new VNode representing an updated version of the old one
761
+ */
762
+ const patch = (oldVNode, newVNode) => {
763
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
764
+ const oldChildren = oldVNode.$children$;
765
+ const newChildren = newVNode.$children$;
766
+ const tag = newVNode.$tag$;
767
+ {
768
+ {
769
+ // test if we're rendering an svg element, or still rendering nodes inside of one
770
+ // only add this to the when the compiler sees we're using an svg somewhere
771
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
772
+ }
773
+ {
774
+ {
775
+ // either this is the first render of an element OR it's an update
776
+ // AND we already know it's possible it could have changed
777
+ // this updates the element's css classes, attrs, props, listeners, etc.
778
+ updateElement(oldVNode, newVNode, isSvgMode);
779
+ }
780
+ }
781
+ if (oldChildren !== null && newChildren !== null) {
782
+ // looks like there's child vnodes for both the old and new vnodes
783
+ // so we need to call `updateChildren` to reconcile them
784
+ updateChildren(elm, oldChildren, newVNode, newChildren);
785
+ }
786
+ else if (newChildren !== null) {
787
+ // add the new vnode children
788
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
789
+ }
790
+ else if (oldChildren !== null) {
791
+ // no new child vnodes, but there are old child vnodes to remove
792
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
793
+ }
794
+ if (isSvgMode && tag === 'svg') {
795
+ isSvgMode = false;
796
+ }
797
+ }
798
+ };
799
+ /**
800
+ * The main entry point for Stencil's virtual DOM-based rendering engine
801
+ *
802
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
803
+ * function will handle creating a virtual DOM tree with a single root, patching
804
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
805
+ * relocation, and reflecting attributes.
806
+ *
807
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
808
+ * the DOM node into which it should be rendered.
809
+ * @param renderFnResults the virtual DOM nodes to be rendered
810
+ */
811
+ const renderVdom = (hostRef, renderFnResults) => {
812
+ const hostElm = hostRef.$hostElement$;
813
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
814
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
815
+ hostTagName = hostElm.tagName;
816
+ rootVnode.$tag$ = null;
817
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
818
+ hostRef.$vnode$ = rootVnode;
819
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
820
+ {
821
+ scopeId = hostElm['s-sc'];
822
+ }
823
+ // synchronous patch
824
+ patch(oldVNode, rootVnode);
825
+ };
826
+ const attachToAncestor = (hostRef, ancestorComponent) => {
827
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
828
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
829
+ }
830
+ };
831
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
832
+ {
833
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
834
+ }
835
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
836
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
837
+ return;
838
+ }
839
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
840
+ // there is no ancestor component or the ancestor component
841
+ // has already fired off its lifecycle update then
842
+ // fire off the initial update
843
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
844
+ return writeTask(dispatch) ;
845
+ };
846
+ const dispatchHooks = (hostRef, isInitialLoad) => {
847
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
848
+ const instance = hostRef.$lazyInstance$ ;
849
+ let promise;
850
+ endSchedule();
851
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
852
+ };
853
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
854
+ // updateComponent
855
+ const elm = hostRef.$hostElement$;
856
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
857
+ const rc = elm['s-rc'];
858
+ if (isInitialLoad) {
859
+ // DOM WRITE!
860
+ attachStyles(hostRef);
861
+ }
862
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
863
+ {
864
+ callRender(hostRef, instance);
865
+ }
866
+ if (rc) {
867
+ // ok, so turns out there are some child host elements
868
+ // waiting on this parent element to load
869
+ // let's fire off all update callbacks waiting
870
+ rc.map((cb) => cb());
871
+ elm['s-rc'] = undefined;
872
+ }
873
+ endRender();
874
+ endUpdate();
875
+ {
876
+ const childrenPromises = elm['s-p'];
877
+ const postUpdate = () => postUpdateComponent(hostRef);
878
+ if (childrenPromises.length === 0) {
879
+ postUpdate();
880
+ }
881
+ else {
882
+ Promise.all(childrenPromises).then(postUpdate);
883
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
884
+ childrenPromises.length = 0;
885
+ }
886
+ }
887
+ };
888
+ const callRender = (hostRef, instance, elm) => {
889
+ try {
890
+ instance = instance.render() ;
891
+ {
892
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
893
+ }
894
+ {
895
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
896
+ }
897
+ {
898
+ {
899
+ // looks like we've got child nodes to render into this host element
900
+ // or we need to update the css class/attrs on the host element
901
+ // DOM WRITE!
902
+ {
903
+ renderVdom(hostRef, instance);
904
+ }
905
+ }
906
+ }
907
+ }
908
+ catch (e) {
909
+ consoleError(e, hostRef.$hostElement$);
910
+ }
911
+ return null;
912
+ };
913
+ const postUpdateComponent = (hostRef) => {
914
+ const tagName = hostRef.$cmpMeta$.$tagName$;
915
+ const elm = hostRef.$hostElement$;
916
+ const endPostUpdate = createTime('postUpdate', tagName);
917
+ const ancestorComponent = hostRef.$ancestorComponent$;
918
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
919
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
920
+ {
921
+ // DOM WRITE!
922
+ addHydratedFlag(elm);
923
+ }
924
+ endPostUpdate();
925
+ {
926
+ hostRef.$onReadyResolve$(elm);
927
+ if (!ancestorComponent) {
928
+ appDidLoad();
929
+ }
930
+ }
931
+ }
932
+ else {
933
+ endPostUpdate();
934
+ }
935
+ // load events fire from bottom to top
936
+ // the deepest elements load first then bubbles up
937
+ {
938
+ if (hostRef.$onRenderResolve$) {
939
+ hostRef.$onRenderResolve$();
940
+ hostRef.$onRenderResolve$ = undefined;
941
+ }
942
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
943
+ nextTick(() => scheduleUpdate(hostRef, false));
944
+ }
945
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
946
+ }
947
+ // ( •_•)
948
+ // ( •_•)>⌐■-■
949
+ // (⌐■_■)
950
+ };
951
+ const appDidLoad = (who) => {
952
+ // on appload
953
+ // we have finish the first big initial render
954
+ {
955
+ addHydratedFlag(doc.documentElement);
956
+ }
957
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
958
+ };
959
+ const safeCall = (instance, method, arg) => {
960
+ if (instance && instance[method]) {
961
+ try {
962
+ return instance[method](arg);
963
+ }
964
+ catch (e) {
965
+ consoleError(e);
966
+ }
967
+ }
968
+ return undefined;
969
+ };
970
+ const then = (promise, thenFn) => {
971
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
972
+ };
973
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
974
+ ;
975
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
976
+ const setValue = (ref, propName, newVal, cmpMeta) => {
977
+ // check our new property value against our internal value
978
+ const hostRef = getHostRef(ref);
979
+ const elm = hostRef.$hostElement$ ;
980
+ const oldVal = hostRef.$instanceValues$.get(propName);
981
+ const flags = hostRef.$flags$;
982
+ const instance = hostRef.$lazyInstance$ ;
983
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
984
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
985
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
986
+ const didValueChange = newVal !== oldVal && !areBothNaN;
987
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
988
+ // gadzooks! the property's value has changed!!
989
+ // set our new value!
990
+ hostRef.$instanceValues$.set(propName, newVal);
991
+ if (instance) {
992
+ // get an array of method names of watch functions to call
993
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
994
+ const watchMethods = cmpMeta.$watchers$[propName];
995
+ if (watchMethods) {
996
+ // this instance is watching for when this property changed
997
+ watchMethods.map((watchMethodName) => {
998
+ try {
999
+ // fire off each of the watch methods that are watching this property
1000
+ instance[watchMethodName](newVal, oldVal, propName);
1001
+ }
1002
+ catch (e) {
1003
+ consoleError(e, elm);
1004
+ }
1005
+ });
1006
+ }
1007
+ }
1008
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1009
+ // looks like this value actually changed, so we've got work to do!
1010
+ // but only if we've already rendered, otherwise just chill out
1011
+ // queue that we need to do an update, but don't worry about queuing
1012
+ // up millions cuz this function ensures it only runs once
1013
+ scheduleUpdate(hostRef, false);
1014
+ }
1015
+ }
1016
+ }
1017
+ };
1018
+ /**
1019
+ * Attach a series of runtime constructs to a compiled Stencil component
1020
+ * constructor, including getters and setters for the `@Prop` and `@State`
1021
+ * decorators, callbacks for when attributes change, and so on.
1022
+ *
1023
+ * @param Cstr the constructor for a component that we need to process
1024
+ * @param cmpMeta metadata collected previously about the component
1025
+ * @param flags a number used to store a series of bit flags
1026
+ * @returns a reference to the same constructor passed in (but now mutated)
1027
+ */
1028
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1029
+ if (cmpMeta.$members$) {
1030
+ if (Cstr.watchers) {
1031
+ cmpMeta.$watchers$ = Cstr.watchers;
1032
+ }
1033
+ // It's better to have a const than two Object.entries()
1034
+ const members = Object.entries(cmpMeta.$members$);
1035
+ const prototype = Cstr.prototype;
1036
+ members.map(([memberName, [memberFlags]]) => {
1037
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1038
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1039
+ // proxyComponent - prop
1040
+ Object.defineProperty(prototype, memberName, {
1041
+ get() {
1042
+ // proxyComponent, get value
1043
+ return getValue(this, memberName);
1044
+ },
1045
+ set(newValue) {
1046
+ // proxyComponent, set value
1047
+ setValue(this, memberName, newValue, cmpMeta);
1048
+ },
1049
+ configurable: true,
1050
+ enumerable: true,
1051
+ });
1052
+ }
1053
+ });
1054
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1055
+ const attrNameToPropName = new Map();
1056
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1057
+ plt.jmp(() => {
1058
+ const propName = attrNameToPropName.get(attrName);
1059
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1060
+ // in the case where an attribute was set inline.
1061
+ // ```html
1062
+ // <my-component some-attribute="some-value"></my-component>
1063
+ // ```
1064
+ //
1065
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1066
+ // programmatically changes it before it has been upgraded as shown below:
1067
+ //
1068
+ // ```html
1069
+ // <!-- this component has _not_ been upgraded yet -->
1070
+ // <my-component id="test" some-attribute="some-value"></my-component>
1071
+ // <script>
1072
+ // // grab non-upgraded component
1073
+ // el = document.querySelector("#test");
1074
+ // el.someAttribute = "another-value";
1075
+ // // upgrade component
1076
+ // customElements.define('my-component', MyComponent);
1077
+ // </script>
1078
+ // ```
1079
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1080
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1081
+ // to the value that was set inline i.e. "some-value" from above example. When
1082
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1083
+ //
1084
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1085
+ // by connectedCallback as this attributeChangedCallback will not fire.
1086
+ //
1087
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1088
+ //
1089
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1090
+ // properties here given that this goes against best practices outlined here
1091
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1092
+ if (this.hasOwnProperty(propName)) {
1093
+ newValue = this[propName];
1094
+ delete this[propName];
1095
+ }
1096
+ else if (prototype.hasOwnProperty(propName) &&
1097
+ typeof this[propName] === 'number' &&
1098
+ this[propName] == newValue) {
1099
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1100
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1101
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1102
+ return;
1103
+ }
1104
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1105
+ });
1106
+ };
1107
+ // create an array of attributes to observe
1108
+ // and also create a map of html attribute name to js property name
1109
+ Cstr.observedAttributes = members
1110
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1111
+ .map(([propName, m]) => {
1112
+ const attrName = m[1] || propName;
1113
+ attrNameToPropName.set(attrName, propName);
1114
+ return attrName;
1115
+ });
1116
+ }
1117
+ }
1118
+ return Cstr;
1119
+ };
1120
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1121
+ // initializeComponent
1122
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1123
+ {
1124
+ // we haven't initialized this element yet
1125
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1126
+ // lazy loaded components
1127
+ // request the component's implementation to be
1128
+ // wired up with the host element
1129
+ Cstr = loadModule(cmpMeta);
1130
+ if (Cstr.then) {
1131
+ // Await creates a micro-task avoid if possible
1132
+ const endLoad = uniqueTime();
1133
+ Cstr = await Cstr;
1134
+ endLoad();
1135
+ }
1136
+ if (!Cstr.isProxied) {
1137
+ // we've never proxied this Constructor before
1138
+ // let's add the getters/setters to its prototype before
1139
+ // the first time we create an instance of the implementation
1140
+ {
1141
+ cmpMeta.$watchers$ = Cstr.watchers;
1142
+ }
1143
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1144
+ Cstr.isProxied = true;
1145
+ }
1146
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1147
+ // ok, time to construct the instance
1148
+ // but let's keep track of when we start and stop
1149
+ // so that the getters/setters don't incorrectly step on data
1150
+ {
1151
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1152
+ }
1153
+ // construct the lazy-loaded component implementation
1154
+ // passing the hostRef is very important during
1155
+ // construction in order to directly wire together the
1156
+ // host element and the lazy-loaded instance
1157
+ try {
1158
+ new Cstr(hostRef);
1159
+ }
1160
+ catch (e) {
1161
+ consoleError(e);
1162
+ }
1163
+ {
1164
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1165
+ }
1166
+ {
1167
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1168
+ }
1169
+ endNewInstance();
1170
+ fireConnectedCallback(hostRef.$lazyInstance$);
1171
+ }
1172
+ if (Cstr.style) {
1173
+ // this component has styles but we haven't registered them yet
1174
+ let style = Cstr.style;
1175
+ const scopeId = getScopeId(cmpMeta);
1176
+ if (!styles.has(scopeId)) {
1177
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1178
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1179
+ endRegisterStyles();
1180
+ }
1181
+ }
1182
+ }
1183
+ // we've successfully created a lazy instance
1184
+ const ancestorComponent = hostRef.$ancestorComponent$;
1185
+ const schedule = () => scheduleUpdate(hostRef, true);
1186
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1187
+ // this is the initial load and this component it has an ancestor component
1188
+ // but the ancestor component has NOT fired its will update lifecycle yet
1189
+ // so let's just cool our jets and wait for the ancestor to continue first
1190
+ // this will get fired off when the ancestor component
1191
+ // finally gets around to rendering its lazy self
1192
+ // fire off the initial update
1193
+ ancestorComponent['s-rc'].push(schedule);
1194
+ }
1195
+ else {
1196
+ schedule();
1197
+ }
1198
+ };
1199
+ const fireConnectedCallback = (instance) => {
1200
+ {
1201
+ safeCall(instance, 'connectedCallback');
1202
+ }
1203
+ };
1204
+ const connectedCallback = (elm) => {
1205
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1206
+ const hostRef = getHostRef(elm);
1207
+ const cmpMeta = hostRef.$cmpMeta$;
1208
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1209
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1210
+ // first time this component has connected
1211
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1212
+ {
1213
+ // find the first ancestor component (if there is one) and register
1214
+ // this component as one of the actively loading child components for its ancestor
1215
+ let ancestorComponent = elm;
1216
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1217
+ // climb up the ancestors looking for the first
1218
+ // component that hasn't finished its lifecycle update yet
1219
+ if (ancestorComponent['s-p']) {
1220
+ // we found this components first ancestor component
1221
+ // keep a reference to this component's ancestor component
1222
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1223
+ break;
1224
+ }
1225
+ }
1226
+ }
1227
+ // Lazy properties
1228
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1229
+ if (cmpMeta.$members$) {
1230
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1231
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1232
+ const value = elm[memberName];
1233
+ delete elm[memberName];
1234
+ elm[memberName] = value;
1235
+ }
1236
+ });
1237
+ }
1238
+ {
1239
+ initializeComponent(elm, hostRef, cmpMeta);
1240
+ }
1241
+ }
1242
+ else {
1243
+ // fire off connectedCallback() on component instance
1244
+ fireConnectedCallback(hostRef.$lazyInstance$);
1245
+ }
1246
+ endConnected();
1247
+ }
1248
+ };
1249
+ const disconnectedCallback = (elm) => {
1250
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1251
+ getHostRef(elm);
1252
+ }
1253
+ };
1254
+ const bootstrapLazy = (lazyBundles, options = {}) => {
1255
+ var _a;
1256
+ const endBootstrap = createTime();
1257
+ const cmpTags = [];
1258
+ const exclude = options.exclude || [];
1259
+ const customElements = win.customElements;
1260
+ const head = doc.head;
1261
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1262
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1263
+ const deferredConnectedCallbacks = [];
1264
+ let appLoadFallback;
1265
+ let isBootstrapping = true;
1266
+ Object.assign(plt, options);
1267
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1268
+ lazyBundles.map((lazyBundle) => {
1269
+ lazyBundle[1].map((compactMeta) => {
1270
+ const cmpMeta = {
1271
+ $flags$: compactMeta[0],
1272
+ $tagName$: compactMeta[1],
1273
+ $members$: compactMeta[2],
1274
+ $listeners$: compactMeta[3],
1275
+ };
1276
+ {
1277
+ cmpMeta.$members$ = compactMeta[2];
1278
+ }
1279
+ {
1280
+ cmpMeta.$watchers$ = {};
1281
+ }
1282
+ const tagName = cmpMeta.$tagName$;
1283
+ const HostElement = class extends HTMLElement {
1284
+ // StencilLazyHost
1285
+ constructor(self) {
1286
+ // @ts-ignore
1287
+ super(self);
1288
+ self = this;
1289
+ registerHost(self, cmpMeta);
1290
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1291
+ // this component is using shadow dom
1292
+ // and this browser supports shadow dom
1293
+ // add the read-only property "shadowRoot" to the host element
1294
+ // adding the shadow root build conditionals to minimize runtime
1295
+ {
1296
+ {
1297
+ self.attachShadow({ mode: 'open' });
1298
+ }
1299
+ }
1300
+ }
1301
+ }
1302
+ connectedCallback() {
1303
+ if (appLoadFallback) {
1304
+ clearTimeout(appLoadFallback);
1305
+ appLoadFallback = null;
1306
+ }
1307
+ if (isBootstrapping) {
1308
+ // connectedCallback will be processed once all components have been registered
1309
+ deferredConnectedCallbacks.push(this);
1310
+ }
1311
+ else {
1312
+ plt.jmp(() => connectedCallback(this));
1313
+ }
1314
+ }
1315
+ disconnectedCallback() {
1316
+ plt.jmp(() => disconnectedCallback(this));
1317
+ }
1318
+ componentOnReady() {
1319
+ return getHostRef(this).$onReadyPromise$;
1320
+ }
1321
+ };
1322
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1323
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1324
+ cmpTags.push(tagName);
1325
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1326
+ }
1327
+ });
1328
+ });
1329
+ {
1330
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1331
+ visibilityStyle.setAttribute('data-styles', '');
1332
+ // Apply CSP nonce to the style tag if it exists
1333
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1334
+ if (nonce != null) {
1335
+ visibilityStyle.setAttribute('nonce', nonce);
1336
+ }
1337
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1338
+ }
1339
+ // Process deferred connectedCallbacks now all components have been registered
1340
+ isBootstrapping = false;
1341
+ if (deferredConnectedCallbacks.length) {
1342
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1343
+ }
1344
+ else {
1345
+ {
1346
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1347
+ }
1348
+ }
1349
+ // Fallback appLoad event
1350
+ endBootstrap();
1351
+ };
1352
+ /**
1353
+ * Assigns the given value to the nonce property on the runtime platform object.
1354
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
1355
+ * @param nonce The value to be assigned to the platform nonce property.
1356
+ * @returns void
1357
+ */
1358
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
1359
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1360
+ const getHostRef = (ref) => hostRefs.get(ref);
1361
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1362
+ const registerHost = (elm, cmpMeta) => {
1363
+ const hostRef = {
1364
+ $flags$: 0,
1365
+ $hostElement$: elm,
1366
+ $cmpMeta$: cmpMeta,
1367
+ $instanceValues$: new Map(),
1368
+ };
1369
+ {
1370
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1371
+ elm['s-p'] = [];
1372
+ elm['s-rc'] = [];
1373
+ }
1374
+ return hostRefs.set(elm, hostRef);
1375
+ };
1376
+ const isMemberInElement = (elm, memberName) => memberName in elm;
1377
+ const consoleError = (e, el) => (0, console.error)(e, el);
1378
+ const cmpModules = /*@__PURE__*/ new Map();
1379
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1380
+ // loadModuleImport
1381
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1382
+ const bundleId = cmpMeta.$lazyBundleId$;
1383
+ const module = cmpModules.get(bundleId) ;
1384
+ if (module) {
1385
+ return module[exportName];
1386
+ }
1387
+
1388
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1389
+ const processMod = importedModule => {
1390
+ cmpModules.set(bundleId, importedModule);
1391
+ return importedModule[exportName];
1392
+ };
1393
+ switch(bundleId) {
1394
+
1395
+ case 'ix-icon':
1396
+ return Promise.resolve().then(function () { return require(
1397
+ /* webpackMode: "lazy" */
1398
+ './ix-icon.entry-6cd45fec.js'); }).then(processMod, consoleError);
1399
+ }
1400
+ }
1401
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1402
+ /* @vite-ignore */
1403
+ /* webpackInclude: /\.entry\.js$/ */
1404
+ /* webpackExclude: /\.system\.entry\.js$/ */
1405
+ /* webpackMode: "lazy" */
1406
+ `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
1407
+ {
1408
+ cmpModules.set(bundleId, importedModule);
1409
+ }
1410
+ return importedModule[exportName];
1411
+ }, consoleError);
1412
+ };
1413
+ const styles = /*@__PURE__*/ new Map();
1414
+ const win = typeof window !== 'undefined' ? window : {};
1415
+ const doc = win.document || { head: {} };
1416
+ const plt = {
1417
+ $flags$: 0,
1418
+ $resourcesUrl$: '',
1419
+ jmp: (h) => h(),
1420
+ raf: (h) => requestAnimationFrame(h),
1421
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1422
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1423
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
1424
+ };
1425
+ const promiseResolve = (v) => Promise.resolve(v);
1426
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
1427
+ try {
1428
+ new CSSStyleSheet();
1429
+ return typeof new CSSStyleSheet().replaceSync === 'function';
1430
+ }
1431
+ catch (e) { }
1432
+ return false;
1433
+ })()
1434
+ ;
1435
+ const queueDomReads = [];
1436
+ const queueDomWrites = [];
1437
+ const queueTask = (queue, write) => (cb) => {
1438
+ queue.push(cb);
1439
+ if (!queuePending) {
1440
+ queuePending = true;
1441
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
1442
+ nextTick(flush);
1443
+ }
1444
+ else {
1445
+ plt.raf(flush);
1446
+ }
1447
+ }
1448
+ };
1449
+ const consume = (queue) => {
1450
+ for (let i = 0; i < queue.length; i++) {
1451
+ try {
1452
+ queue[i](performance.now());
1453
+ }
1454
+ catch (e) {
1455
+ consoleError(e);
1456
+ }
1457
+ }
1458
+ queue.length = 0;
1459
+ };
1460
+ const flush = () => {
1461
+ // always force a bunch of medium callbacks to run, but still have
1462
+ // a throttle on how many can run in a certain time
1463
+ // DOM READS!!!
1464
+ consume(queueDomReads);
1465
+ // DOM WRITES!!!
1466
+ {
1467
+ consume(queueDomWrites);
1468
+ if ((queuePending = queueDomReads.length > 0)) {
1469
+ // still more to do yet, but we've run out of time
1470
+ // let's let this thing cool off and try again in the next tick
1471
+ plt.raf(flush);
1472
+ }
1473
+ }
1474
+ };
1475
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1476
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1477
+
1478
+ /*
1479
+ Stencil Client Patch Esm v3.2.1 | MIT Licensed | https://stenciljs.com
1480
+ */
1481
+ const patchEsm = () => {
1482
+ return promiseResolve();
1483
+ };
1484
+
1485
+ const defineCustomElements = (win, options) => {
1486
+ if (typeof window === 'undefined') return Promise.resolve();
1487
+ return patchEsm().then(() => {
1488
+ return bootstrapLazy([["ix-icon",[[1,"ix-icon",{"size":[1],"color":[1],"name":[1],"svgContent":[32]}]]]], options);
1489
+ });
1490
+ };
1491
+
1492
+ const index_es2017 = /*#__PURE__*/Object.freeze({
1493
+ __proto__: null,
1494
+ applyPolyfills: applyPolyfills,
1495
+ setNonce: setNonce,
1496
+ defineCustomElements: defineCustomElements
1497
+ });
1498
+
1499
+ exports.Host = Host;
1500
+ exports.h = h;
1501
+ exports.index_es2017 = index_es2017;
1502
+ exports.registerInstance = registerInstance;
1503
+
1504
+ //# sourceMappingURL=index.es2017-b42376b6.js.map