voyager-ionic-core 8.2.0 → 8.2.6

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 (794) hide show
  1. package/components/action-sheet.js +7 -4
  2. package/components/alert.js +6 -3
  3. package/components/ion-loading.js +6 -3
  4. package/components/ion-modal.js +8 -5
  5. package/components/ion-picker-legacy.js +6 -3
  6. package/components/ion-refresher.js +28 -1
  7. package/components/ion-toast.js +6 -3
  8. package/components/item.js +3 -3
  9. package/components/popover.js +4 -3
  10. package/dist/cjs/{app-globals-1c261a7f.js → app-globals-7dbf2ade.js} +1 -1
  11. package/dist/cjs/{button-active-8da8d63e.js → button-active-cf1c215d.js} +1 -1
  12. package/dist/cjs/{hardware-back-button-93f7a8f0.js → hardware-back-button-ddbc12ea.js} +2 -2
  13. package/dist/cjs/{index-fa3cf6ba.js → index-24fe3fe6.js} +4 -4
  14. package/dist/cjs/{index-ceeb4ff8.js → index-480c143c.js} +234 -185
  15. package/dist/cjs/{index-93b3a556.js → index-a3f97de0.js} +2 -2
  16. package/dist/cjs/index.cjs.js +8 -8
  17. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  18. package/dist/cjs/ion-action-sheet.cjs.entry.js +12 -9
  19. package/dist/cjs/ion-alert.cjs.entry.js +11 -8
  20. package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
  21. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  22. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  23. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  27. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  31. package/dist/cjs/ion-datetime_3.cjs.entry.js +10 -7
  32. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  33. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  35. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
  39. package/dist/cjs/ion-loading.cjs.entry.js +10 -7
  40. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  41. package/dist/cjs/ion-modal.cjs.entry.js +13 -10
  42. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  43. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  46. package/dist/cjs/ion-popover.cjs.entry.js +9 -8
  47. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  50. package/dist/cjs/ion-refresher_2.cjs.entry.js +30 -3
  51. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  52. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  55. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  56. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  57. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  58. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  59. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  60. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  61. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  62. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  63. package/dist/cjs/ion-toast.cjs.entry.js +10 -7
  64. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/{ionic-global-f401ca2e.js → ionic-global-c1db87a5.js} +1 -1
  66. package/dist/cjs/ionic.cjs.js +5 -5
  67. package/dist/cjs/{ios.transition-ae54d131.js → ios.transition-8419294d.js} +3 -3
  68. package/dist/cjs/loader.cjs.js +4 -4
  69. package/dist/cjs/{md.transition-dbc2d3f3.js → md.transition-39852d6b.js} +3 -3
  70. package/dist/cjs/{overlays-d4afb0bd.js → overlays-55d77381.js} +2 -2
  71. package/dist/cjs/{status-tap-0a82a165.js → status-tap-b68fa888.js} +1 -1
  72. package/dist/collection/collection-manifest.json +1 -1
  73. package/dist/collection/components/action-sheet/action-sheet.js +7 -4
  74. package/dist/collection/components/alert/alert.js +6 -3
  75. package/dist/collection/components/item/item.js +3 -3
  76. package/dist/collection/components/loading/loading.js +6 -3
  77. package/dist/collection/components/modal/modal.js +8 -5
  78. package/dist/collection/components/picker-legacy/picker.js +6 -3
  79. package/dist/collection/components/popover/popover.js +4 -3
  80. package/dist/collection/components/refresher/refresher.js +28 -1
  81. package/dist/collection/components/toast/toast.js +6 -3
  82. package/dist/docs.json +3 -3
  83. package/dist/esm/{app-globals-7c667c11.js → app-globals-7f30ce3c.js} +1 -1
  84. package/dist/esm/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
  85. package/dist/esm/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +2 -2
  86. package/dist/esm/{index-1e2f8425.js → index-4094f808.js} +2 -2
  87. package/dist/esm/{index-8d8c14b0.js → index-7a952e7a.js} +234 -185
  88. package/dist/esm/{index-91ed2172.js → index-8808daa5.js} +4 -4
  89. package/dist/esm/index.js +8 -8
  90. package/dist/esm/ion-accordion_2.entry.js +2 -2
  91. package/dist/esm/ion-action-sheet.entry.js +12 -9
  92. package/dist/esm/ion-alert.entry.js +11 -8
  93. package/dist/esm/ion-app_8.entry.js +6 -6
  94. package/dist/esm/ion-avatar_3.entry.js +2 -2
  95. package/dist/esm/ion-back-button.entry.js +2 -2
  96. package/dist/esm/ion-backdrop.entry.js +2 -2
  97. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  98. package/dist/esm/ion-button_2.entry.js +2 -2
  99. package/dist/esm/ion-card_5.entry.js +2 -2
  100. package/dist/esm/ion-checkbox.entry.js +2 -2
  101. package/dist/esm/ion-chip.entry.js +2 -2
  102. package/dist/esm/ion-col_3.entry.js +2 -2
  103. package/dist/esm/ion-datetime-button.entry.js +2 -2
  104. package/dist/esm/ion-datetime_3.entry.js +10 -7
  105. package/dist/esm/ion-fab_3.entry.js +2 -2
  106. package/dist/esm/ion-img.entry.js +2 -2
  107. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  108. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  109. package/dist/esm/ion-input.entry.js +2 -2
  110. package/dist/esm/ion-item-option_3.entry.js +2 -2
  111. package/dist/esm/ion-item_8.entry.js +4 -4
  112. package/dist/esm/ion-loading.entry.js +10 -7
  113. package/dist/esm/ion-menu_3.entry.js +5 -5
  114. package/dist/esm/ion-modal.entry.js +13 -10
  115. package/dist/esm/ion-nav_2.entry.js +3 -3
  116. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  117. package/dist/esm/ion-picker-column.entry.js +2 -2
  118. package/dist/esm/ion-picker.entry.js +1 -1
  119. package/dist/esm/ion-popover.entry.js +9 -8
  120. package/dist/esm/ion-progress-bar.entry.js +2 -2
  121. package/dist/esm/ion-radio_2.entry.js +2 -2
  122. package/dist/esm/ion-range.entry.js +2 -2
  123. package/dist/esm/ion-refresher_2.entry.js +30 -3
  124. package/dist/esm/ion-reorder_2.entry.js +2 -2
  125. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  126. package/dist/esm/ion-route_4.entry.js +2 -2
  127. package/dist/esm/ion-searchbar.entry.js +2 -2
  128. package/dist/esm/ion-segment_2.entry.js +2 -2
  129. package/dist/esm/ion-select_3.entry.js +4 -4
  130. package/dist/esm/ion-spinner.entry.js +2 -2
  131. package/dist/esm/ion-split-pane.entry.js +2 -2
  132. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  133. package/dist/esm/ion-tab_2.entry.js +1 -1
  134. package/dist/esm/ion-text.entry.js +2 -2
  135. package/dist/esm/ion-textarea.entry.js +2 -2
  136. package/dist/esm/ion-toast.entry.js +10 -7
  137. package/dist/esm/ion-toggle.entry.js +2 -2
  138. package/dist/esm/{ionic-global-8180d812.js → ionic-global-81a1064f.js} +1 -1
  139. package/dist/esm/ionic.js +6 -6
  140. package/dist/esm/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +3 -3
  141. package/dist/esm/loader.js +5 -5
  142. package/dist/esm/{md.transition-4961bea4.js → md.transition-b6135ada.js} +3 -3
  143. package/dist/esm/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +2 -2
  144. package/dist/esm/{status-tap-0502d0fd.js → status-tap-17122cea.js} +1 -1
  145. package/dist/esm-es5/app-globals-7f30ce3c.js +4 -0
  146. package/dist/esm-es5/{button-active-7c57df95.js → button-active-78f50add.js} +1 -1
  147. package/dist/esm-es5/{hardware-back-button-63852d15.js → hardware-back-button-2e99752e.js} +1 -1
  148. package/dist/esm-es5/{index-1e2f8425.js → index-4094f808.js} +1 -1
  149. package/dist/esm-es5/index-7a952e7a.js +5 -0
  150. package/dist/esm-es5/{index-91ed2172.js → index-8808daa5.js} +1 -1
  151. package/dist/esm-es5/index.js +1 -1
  152. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  153. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  154. package/dist/esm-es5/ion-alert.entry.js +1 -1
  155. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  156. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  157. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  158. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  159. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  160. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  161. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  162. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  163. package/dist/esm-es5/ion-chip.entry.js +1 -1
  164. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  165. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  166. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  167. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  168. package/dist/esm-es5/ion-img.entry.js +1 -1
  169. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  170. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  171. package/dist/esm-es5/ion-input.entry.js +1 -1
  172. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  173. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  174. package/dist/esm-es5/ion-loading.entry.js +1 -1
  175. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  176. package/dist/esm-es5/ion-modal.entry.js +1 -1
  177. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  178. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  179. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  180. package/dist/esm-es5/ion-picker.entry.js +1 -1
  181. package/dist/esm-es5/ion-popover.entry.js +1 -1
  182. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  183. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  184. package/dist/esm-es5/ion-range.entry.js +1 -1
  185. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  186. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  187. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  188. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  189. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  190. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  191. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  192. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  193. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  194. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  195. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  196. package/dist/esm-es5/ion-text.entry.js +1 -1
  197. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  198. package/dist/esm-es5/ion-toast.entry.js +1 -1
  199. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  200. package/dist/esm-es5/{ionic-global-8180d812.js → ionic-global-81a1064f.js} +1 -1
  201. package/dist/esm-es5/ionic.js +1 -1
  202. package/dist/esm-es5/{ios.transition-140cedc8.js → ios.transition-0a5004b4.js} +1 -1
  203. package/dist/esm-es5/loader.js +1 -1
  204. package/dist/esm-es5/{md.transition-4961bea4.js → md.transition-b6135ada.js} +1 -1
  205. package/dist/esm-es5/{overlays-e8e5bd06.js → overlays-e1bad9cd.js} +1 -1
  206. package/dist/esm-es5/{status-tap-0502d0fd.js → status-tap-17122cea.js} +1 -1
  207. package/dist/ionic/index.esm.js +1 -1
  208. package/dist/ionic/ionic.esm.js +1 -1
  209. package/dist/ionic/ionic.js +1 -1
  210. package/dist/ionic/{p-f9b3ffd6.system.entry.js → p-013621f0.system.entry.js} +1 -1
  211. package/dist/ionic/p-071cb08a.entry.js +4 -0
  212. package/dist/ionic/{p-4713f5f0.entry.js → p-096664b8.entry.js} +1 -1
  213. package/dist/ionic/{p-a0abe7ab.system.entry.js → p-09f64b99.system.entry.js} +1 -1
  214. package/dist/ionic/{p-00f85ca4.entry.js → p-0abd2546.entry.js} +1 -1
  215. package/dist/ionic/{p-111b0e11.system.entry.js → p-0db55ab4.system.entry.js} +1 -1
  216. package/dist/ionic/{p-5e1094ae.system.entry.js → p-11c4215a.system.entry.js} +1 -1
  217. package/dist/ionic/{p-fcbd65bc.system.js → p-14f0f49f.system.js} +1 -1
  218. package/dist/ionic/{p-b7299e38.system.entry.js → p-15c36478.system.entry.js} +1 -1
  219. package/dist/ionic/{p-bd7ad51d.system.entry.js → p-1924eefd.system.entry.js} +1 -1
  220. package/dist/ionic/{p-c5c65bbe.js → p-1974d32f.js} +1 -1
  221. package/dist/ionic/{p-79f4cb29.entry.js → p-1b2c22ed.entry.js} +1 -1
  222. package/dist/ionic/{p-aeb61b82.entry.js → p-1c6cd5bc.entry.js} +1 -1
  223. package/dist/ionic/{p-5f610767.entry.js → p-2496a357.entry.js} +1 -1
  224. package/dist/ionic/{p-4816d827.entry.js → p-25467ef7.entry.js} +1 -1
  225. package/dist/ionic/{p-f5efe527.entry.js → p-271076f2.entry.js} +1 -1
  226. package/dist/ionic/{p-4691dc8d.js → p-274496f1.js} +1 -1
  227. package/dist/ionic/{p-a00a5621.entry.js → p-283c6631.entry.js} +1 -1
  228. package/dist/ionic/{p-bad2e0c8.system.entry.js → p-299a2ccb.system.entry.js} +1 -1
  229. package/dist/ionic/{p-370835b4.system.js → p-2a08e244.system.js} +1 -1
  230. package/dist/ionic/{p-c4493e98.system.entry.js → p-2b017e39.system.entry.js} +1 -1
  231. package/dist/ionic/{p-ae3be67f.system.entry.js → p-33ce19cf.system.entry.js} +1 -1
  232. package/dist/ionic/{p-7a416af9.entry.js → p-344d6225.entry.js} +1 -1
  233. package/dist/ionic/{p-a5adb027.entry.js → p-3961b22e.entry.js} +1 -1
  234. package/dist/ionic/{p-78bf8302.system.entry.js → p-39af4fa4.system.entry.js} +1 -1
  235. package/dist/ionic/{p-0617a85d.entry.js → p-3b767add.entry.js} +1 -1
  236. package/dist/ionic/{p-27317f8f.system.js → p-3fcfe35c.system.js} +1 -1
  237. package/dist/ionic/p-41e85f07.js +4 -0
  238. package/dist/ionic/{p-1dd59f8d.system.entry.js → p-437d3e12.system.entry.js} +1 -1
  239. package/dist/ionic/{p-c6143912.entry.js → p-46cf378f.entry.js} +1 -1
  240. package/dist/ionic/{p-71f25447.system.entry.js → p-49c011e3.system.entry.js} +1 -1
  241. package/dist/ionic/{p-c44efdb8.entry.js → p-4af59128.entry.js} +1 -1
  242. package/dist/ionic/{p-fa7234ee.entry.js → p-4c68bf47.entry.js} +1 -1
  243. package/dist/ionic/{p-eaab79f3.entry.js → p-4d96e6a7.entry.js} +1 -1
  244. package/dist/ionic/{p-764eb419.system.entry.js → p-4de0819c.system.entry.js} +1 -1
  245. package/dist/ionic/{p-11feccde.system.entry.js → p-4f54d1aa.system.entry.js} +1 -1
  246. package/dist/ionic/{p-4fa57f1e.system.entry.js → p-527815e1.system.entry.js} +1 -1
  247. package/dist/ionic/{p-935221f8.system.entry.js → p-5303af24.system.entry.js} +1 -1
  248. package/dist/ionic/{p-71e2f283.system.entry.js → p-54690f26.system.entry.js} +1 -1
  249. package/dist/ionic/p-5a28559b.js +5 -0
  250. package/dist/ionic/{p-967da5f2.system.js → p-5c00ca73.system.js} +1 -1
  251. package/dist/ionic/{p-80aae5d7.entry.js → p-5c5e7f5c.entry.js} +1 -1
  252. package/dist/ionic/{p-c1d7a187.system.entry.js → p-5d0b285d.system.entry.js} +1 -1
  253. package/dist/ionic/p-5e17dc69.entry.js +4 -0
  254. package/dist/ionic/{p-bdc1b4e3.js → p-5e687df9.js} +1 -1
  255. package/dist/ionic/{p-0973cae7.entry.js → p-60a6fadb.entry.js} +1 -1
  256. package/dist/ionic/{p-8c7490bc.system.entry.js → p-611bb4d1.system.entry.js} +1 -1
  257. package/dist/ionic/{p-a931cd3e.system.entry.js → p-6782ffa5.system.entry.js} +1 -1
  258. package/dist/ionic/{p-0f89c47c.js → p-678beb9e.js} +1 -1
  259. package/dist/ionic/{p-fba8ea9e.entry.js → p-679744bf.entry.js} +1 -1
  260. package/dist/ionic/{p-cf8ad0c3.entry.js → p-67bc0359.entry.js} +1 -1
  261. package/dist/ionic/{p-3fd68f4e.system.entry.js → p-6904a62e.system.entry.js} +1 -1
  262. package/dist/ionic/{p-ee8bf348.system.entry.js → p-6b14212a.system.entry.js} +1 -1
  263. package/dist/ionic/{p-eef82267.entry.js → p-6c8d40f8.entry.js} +1 -1
  264. package/dist/ionic/{p-d7e957e9.entry.js → p-6d32eb3c.entry.js} +1 -1
  265. package/dist/ionic/p-6e3e94e2.js +4 -0
  266. package/dist/ionic/{p-f1c090c5.system.entry.js → p-6ef231bc.system.entry.js} +1 -1
  267. package/dist/ionic/p-6f7eb5d1.system.js +5 -0
  268. package/dist/ionic/{p-a055fdcf.system.entry.js → p-6fb5e9a7.system.entry.js} +1 -1
  269. package/dist/ionic/{p-7198726e.entry.js → p-7048fe74.entry.js} +1 -1
  270. package/dist/ionic/{p-aeef6ac4.entry.js → p-70e786ea.entry.js} +1 -1
  271. package/dist/ionic/{p-94b46442.entry.js → p-74890c76.entry.js} +1 -1
  272. package/dist/ionic/{p-30bbe61c.system.js → p-767a0d69.system.js} +1 -1
  273. package/dist/ionic/{p-c89af27e.entry.js → p-7a6e6896.entry.js} +1 -1
  274. package/dist/ionic/{p-443cbfcb.entry.js → p-7dbadc9f.entry.js} +1 -1
  275. package/dist/ionic/{p-4455daad.entry.js → p-7e192c6a.entry.js} +1 -1
  276. package/dist/ionic/{p-c5543c41.system.entry.js → p-804c9125.system.entry.js} +1 -1
  277. package/dist/ionic/{p-98125393.system.js → p-8df34150.system.js} +1 -1
  278. package/dist/ionic/{p-c7717147.js → p-972902db.js} +1 -1
  279. package/dist/ionic/{p-750e902d.system.entry.js → p-978bbfe5.system.entry.js} +1 -1
  280. package/dist/ionic/{p-f896c857.system.entry.js → p-9847b92f.system.entry.js} +1 -1
  281. package/dist/ionic/{p-24b0ece0.entry.js → p-98566693.entry.js} +1 -1
  282. package/dist/ionic/{p-e08d9edc.system.entry.js → p-99740380.system.entry.js} +1 -1
  283. package/dist/ionic/{p-ddde112a.js → p-9d88dc43.js} +1 -1
  284. package/dist/ionic/{p-c7a015e4.entry.js → p-9df171a1.entry.js} +1 -1
  285. package/dist/ionic/{p-9b46f7e0.entry.js → p-a60914c0.entry.js} +1 -1
  286. package/dist/ionic/{p-7058dfda.entry.js → p-a69e118f.entry.js} +1 -1
  287. package/dist/ionic/{p-5cd86cdb.system.entry.js → p-a8ed8cd3.system.entry.js} +1 -1
  288. package/dist/ionic/{p-54b04ed1.system.entry.js → p-aa34fd2f.system.entry.js} +1 -1
  289. package/dist/ionic/{p-45a51395.system.js → p-b0bd4813.system.js} +1 -1
  290. package/dist/ionic/{p-fc6f99be.js → p-b2cd7aae.js} +1 -1
  291. package/dist/ionic/p-b59d0fab.system.js +4 -0
  292. package/dist/ionic/{p-34827988.system.entry.js → p-b7b4c08d.system.entry.js} +1 -1
  293. package/dist/ionic/{p-3b0711a0.system.entry.js → p-b7d1659f.system.entry.js} +1 -1
  294. package/dist/ionic/{p-eea44228.entry.js → p-bbeeadc8.entry.js} +1 -1
  295. package/dist/ionic/{p-00343522.system.entry.js → p-be9fe750.system.entry.js} +1 -1
  296. package/dist/ionic/{p-b84d9005.system.entry.js → p-c21ea624.system.entry.js} +1 -1
  297. package/dist/ionic/{p-3d1951f5.entry.js → p-c2438564.entry.js} +1 -1
  298. package/dist/ionic/{p-f149e6c3.system.entry.js → p-c29d39e0.system.entry.js} +1 -1
  299. package/dist/ionic/{p-69cc64ab.entry.js → p-c8a847f1.entry.js} +1 -1
  300. package/dist/ionic/{p-4927bd6e.entry.js → p-cb19fdbf.entry.js} +1 -1
  301. package/dist/ionic/{p-06330374.system.entry.js → p-cec53b82.system.entry.js} +1 -1
  302. package/dist/ionic/{p-7171dbf4.system.js → p-cfcc1b63.system.js} +1 -1
  303. package/dist/ionic/{p-d8a1f0e2.entry.js → p-d274a7d8.entry.js} +1 -1
  304. package/dist/ionic/{p-09bd8558.system.entry.js → p-d450f1f9.system.entry.js} +1 -1
  305. package/dist/ionic/{p-c6d9d978.system.entry.js → p-d755fc91.system.entry.js} +1 -1
  306. package/dist/ionic/{p-941ecbba.entry.js → p-d950be65.entry.js} +1 -1
  307. package/dist/ionic/{p-b0ff8469.system.entry.js → p-d967f9ce.system.entry.js} +1 -1
  308. package/dist/ionic/{p-a4116282.entry.js → p-dc321750.entry.js} +1 -1
  309. package/dist/ionic/{p-8d0eb68d.js → p-dc4a3358.js} +1 -1
  310. package/dist/ionic/{p-18657fab.system.entry.js → p-ddd3b389.system.entry.js} +1 -1
  311. package/dist/ionic/{p-b7eecfa6.entry.js → p-deb257b7.entry.js} +1 -1
  312. package/dist/ionic/p-df4c53fe.entry.js +4 -0
  313. package/dist/ionic/{p-aef1c744.system.js → p-e72fcc94.system.js} +1 -1
  314. package/dist/ionic/{p-dba2da82.system.entry.js → p-e8162d35.system.entry.js} +1 -1
  315. package/dist/ionic/{p-1e5cabf8.entry.js → p-eb988a08.entry.js} +1 -1
  316. package/dist/ionic/p-ec1562e7.system.js +4 -0
  317. package/dist/ionic/p-eda5abe2.entry.js +4 -0
  318. package/dist/ionic/{p-a4a45ad9.system.js → p-ef57ad27.system.js} +1 -1
  319. package/dist/ionic/{p-f9046353.system.entry.js → p-ef83f46b.system.entry.js} +1 -1
  320. package/dist/ionic/{p-8890e47f.system.entry.js → p-f0899af9.system.entry.js} +1 -1
  321. package/dist/ionic/{p-66de062f.system.entry.js → p-f66fed32.system.entry.js} +1 -1
  322. package/dist/ionic/{p-c623f0d9.entry.js → p-f7ed7806.entry.js} +1 -1
  323. package/dist/ionic/{p-036382b2.system.entry.js → p-f8083fd4.system.entry.js} +1 -1
  324. package/dist/ionic/{p-1ca3679b.entry.js → p-f81cef9b.entry.js} +1 -1
  325. package/dist/ionic/{p-a87b1500.entry.js → p-f8856320.entry.js} +1 -1
  326. package/dist/ionic/{p-0a9c8c36.system.entry.js → p-fc55e1c2.system.entry.js} +1 -1
  327. package/dist/ionic/{p-6e76ed16.entry.js → p-fca84e5b.entry.js} +1 -1
  328. package/dist/ionic/{p-47ab6574.system.entry.js → p-fd61bdcd.system.entry.js} +1 -1
  329. package/dist/ionic/{p-76637161.system.entry.js → p-fe74ecc0.system.entry.js} +1 -1
  330. package/dist/types/components/refresher/refresher.d.ts +1 -0
  331. package/dist/types/stencil-public-runtime.d.ts +2 -10
  332. package/hydrate/index.d.ts +29 -11
  333. package/hydrate/index.js +493 -400
  334. package/hydrate/index.mjs +48671 -0
  335. package/hydrate/package.json +7 -1
  336. package/loader/index.d.ts +3 -0
  337. package/package.json +7 -5
  338. package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
  339. package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
  340. package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
  341. package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
  342. package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
  343. package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
  344. package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
  345. package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
  346. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
  347. package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
  348. package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
  349. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
  350. package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
  351. package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
  352. package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
  353. package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
  354. package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
  355. package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
  356. package/dist/collection/components/alert/test/alert.spec.js +0 -37
  357. package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
  358. package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
  359. package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
  360. package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
  361. package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
  362. package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
  363. package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
  364. package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
  365. package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
  366. package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
  367. package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
  368. package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
  369. package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
  370. package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
  371. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
  372. package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
  373. package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
  374. package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
  375. package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
  376. package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
  377. package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
  378. package/dist/collection/components/button/test/clear/button.e2e.js +0 -14
  379. package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
  380. package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
  381. package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
  382. package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
  383. package/dist/collection/components/button/test/outline/button.e2e.js +0 -14
  384. package/dist/collection/components/button/test/round/button.e2e.js +0 -52
  385. package/dist/collection/components/button/test/size/button.e2e.js +0 -43
  386. package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
  387. package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
  388. package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
  389. package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
  390. package/dist/collection/components/card/test/aria.spec.js +0 -16
  391. package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
  392. package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
  393. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
  394. package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -87
  395. package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
  396. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
  397. package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
  398. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
  399. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
  400. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -37
  401. package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
  402. package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
  403. package/dist/collection/components/chip/test/states/chip.e2e.js +0 -35
  404. package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
  405. package/dist/collection/components/content/test/content.spec.js +0 -27
  406. package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
  407. package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
  408. package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
  409. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
  410. package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
  411. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
  412. package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
  413. package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
  414. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
  415. package/dist/collection/components/datetime/test/data.spec.js +0 -456
  416. package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
  417. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
  418. package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
  419. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
  420. package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
  421. package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
  422. package/dist/collection/components/datetime/test/format.spec.js +0 -174
  423. package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
  424. package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
  425. package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
  426. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
  427. package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
  428. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
  429. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
  430. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
  431. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
  432. package/dist/collection/components/datetime/test/parse.spec.js +0 -222
  433. package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
  434. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
  435. package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
  436. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
  437. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
  438. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
  439. package/dist/collection/components/datetime/test/state.spec.js +0 -114
  440. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
  441. package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
  442. package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
  443. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
  444. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
  445. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
  446. package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
  447. package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
  448. package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
  449. package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
  450. package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
  451. package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
  452. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
  453. package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
  454. package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
  455. package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
  456. package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
  457. package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
  458. package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
  459. package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
  460. package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
  461. package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
  462. package/dist/collection/components/header/test/basic/header.e2e.js +0 -147
  463. package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
  464. package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
  465. package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
  466. package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
  467. package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
  468. package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
  469. package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
  470. package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
  471. package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
  472. package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
  473. package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
  474. package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
  475. package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
  476. package/dist/collection/components/input/test/basic/input.e2e.js +0 -102
  477. package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -145
  478. package/dist/collection/components/input/test/card/input.e2e.js +0 -22
  479. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
  480. package/dist/collection/components/input/test/color/input.e2e.js +0 -130
  481. package/dist/collection/components/input/test/fill/input.e2e.js +0 -203
  482. package/dist/collection/components/input/test/highlight/input.e2e.js +0 -300
  483. package/dist/collection/components/input/test/input.e2e.js +0 -17
  484. package/dist/collection/components/input/test/input.spec.js +0 -98
  485. package/dist/collection/components/input/test/item/input.e2e.js +0 -64
  486. package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
  487. package/dist/collection/components/input/test/slot/input.e2e.js +0 -63
  488. package/dist/collection/components/input/test/states/input.e2e.js +0 -23
  489. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
  490. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
  491. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
  492. package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
  493. package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
  494. package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
  495. package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
  496. package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
  497. package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
  498. package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
  499. package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
  500. package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
  501. package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
  502. package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
  503. package/dist/collection/components/item/test/images/item.e2e.js +0 -14
  504. package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
  505. package/dist/collection/components/item/test/item.spec.js +0 -20
  506. package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
  507. package/dist/collection/components/item/test/media/item.e2e.js +0 -14
  508. package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
  509. package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
  510. package/dist/collection/components/item/test/states/item.e2e.js +0 -17
  511. package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
  512. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
  513. package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
  514. package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
  515. package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
  516. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
  517. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
  518. package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
  519. package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
  520. package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
  521. package/dist/collection/components/label/test/color/label.e2e.js +0 -39
  522. package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
  523. package/dist/collection/components/label/test/item/item.e2e.js +0 -24
  524. package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
  525. package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
  526. package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
  527. package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
  528. package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
  529. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
  530. package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
  531. package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
  532. package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
  533. package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
  534. package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
  535. package/dist/collection/components/loading/test/loading.spec.js +0 -37
  536. package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
  537. package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
  538. package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
  539. package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
  540. package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
  541. package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
  542. package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
  543. package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
  544. package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
  545. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
  546. package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
  547. package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
  548. package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
  549. package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
  550. package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
  551. package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
  552. package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
  553. package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
  554. package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
  555. package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
  556. package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
  557. package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
  558. package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
  559. package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
  560. package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
  561. package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
  562. package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
  563. package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
  564. package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
  565. package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
  566. package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
  567. package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
  568. package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
  569. package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
  570. package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
  571. package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
  572. package/dist/collection/components/modal/utils.spec.js +0 -13
  573. package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
  574. package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
  575. package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
  576. package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
  577. package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
  578. package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
  579. package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
  580. package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
  581. package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
  582. package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
  583. package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
  584. package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
  585. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
  586. package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
  587. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
  588. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
  589. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
  590. package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
  591. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
  592. package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
  593. package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
  594. package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
  595. package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
  596. package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
  597. package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
  598. package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
  599. package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
  600. package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
  601. package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
  602. package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
  603. package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
  604. package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
  605. package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
  606. package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
  607. package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
  608. package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
  609. package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
  610. package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
  611. package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
  612. package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
  613. package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
  614. package/dist/collection/components/popover/test/util.spec.js +0 -53
  615. package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
  616. package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
  617. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
  618. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
  619. package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
  620. package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
  621. package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
  622. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
  623. package/dist/collection/components/radio/test/radio.spec.js +0 -60
  624. package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
  625. package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
  626. package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
  627. package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
  628. package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
  629. package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
  630. package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
  631. package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
  632. package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
  633. package/dist/collection/components/range/test/color/range.e2e.js +0 -20
  634. package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
  635. package/dist/collection/components/range/test/item/range.e2e.js +0 -70
  636. package/dist/collection/components/range/test/label/range.e2e.js +0 -179
  637. package/dist/collection/components/range/test/label/range.spec.js +0 -47
  638. package/dist/collection/components/range/test/range-events.e2e.js +0 -179
  639. package/dist/collection/components/range/test/range.spec.js +0 -209
  640. package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
  641. package/dist/collection/components/range/test/states/range.e2e.js +0 -53
  642. package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
  643. package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
  644. package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
  645. package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
  646. package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
  647. package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
  648. package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
  649. package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
  650. package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
  651. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
  652. package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
  653. package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
  654. package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
  655. package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
  656. package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
  657. package/dist/collection/components/router/test/matching.spec.js +0 -250
  658. package/dist/collection/components/router/test/parser.spec.js +0 -133
  659. package/dist/collection/components/router/test/path.spec.js +0 -218
  660. package/dist/collection/components/router/test/router.spec.js +0 -55
  661. package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
  662. package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
  663. package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
  664. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
  665. package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
  666. package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
  667. package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
  668. package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
  669. package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
  670. package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
  671. package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
  672. package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
  673. package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
  674. package/dist/collection/components/segment/test/segment.spec.js +0 -37
  675. package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
  676. package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
  677. package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
  678. package/dist/collection/components/select/test/async/select.e2e.js +0 -25
  679. package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
  680. package/dist/collection/components/select/test/card/select.e2e.js +0 -22
  681. package/dist/collection/components/select/test/color/select.e2e.js +0 -42
  682. package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
  683. package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
  684. package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
  685. package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
  686. package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
  687. package/dist/collection/components/select/test/item/select.e2e.js +0 -56
  688. package/dist/collection/components/select/test/label/select.e2e.js +0 -245
  689. package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
  690. package/dist/collection/components/select/test/select.spec.js +0 -96
  691. package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
  692. package/dist/collection/components/select/test/states/select.e2e.js +0 -41
  693. package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
  694. package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
  695. package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
  696. package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
  697. package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
  698. package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
  699. package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
  700. package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
  701. package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
  702. package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
  703. package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
  704. package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
  705. package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -43
  706. package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
  707. package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
  708. package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
  709. package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
  710. package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
  711. package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
  712. package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
  713. package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
  714. package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
  715. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
  716. package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
  717. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
  718. package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
  719. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
  720. package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
  721. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
  722. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
  723. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
  724. package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
  725. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
  726. package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
  727. package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
  728. package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
  729. package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
  730. package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
  731. package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
  732. package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
  733. package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
  734. package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
  735. package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
  736. package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
  737. package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
  738. package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
  739. package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
  740. package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
  741. package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
  742. package/dist/collection/components/toast/test/toast.spec.js +0 -212
  743. package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
  744. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
  745. package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
  746. package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
  747. package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
  748. package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
  749. package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
  750. package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
  751. package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
  752. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
  753. package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
  754. package/dist/collection/css/test/a11y/typography.e2e.js +0 -50
  755. package/dist/collection/global/test/config-controller.spec.js +0 -85
  756. package/dist/collection/themes/test/colors/theme.e2e.js +0 -170
  757. package/dist/collection/utils/animation/test/animation.spec.js +0 -358
  758. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
  759. package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
  760. package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
  761. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
  762. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
  763. package/dist/collection/utils/content/content.utils.spec.js +0 -137
  764. package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
  765. package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
  766. package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
  767. package/dist/collection/utils/helpers.spec.js +0 -36
  768. package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
  769. package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
  770. package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
  771. package/dist/collection/utils/rtl/dir.spec.js +0 -25
  772. package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
  773. package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
  774. package/dist/collection/utils/test/attributes.spec.js +0 -53
  775. package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
  776. package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
  777. package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
  778. package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
  779. package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
  780. package/dist/collection/utils/test/platform.spec.js +0 -132
  781. package/dist/collection/utils/test/ready.spec.js +0 -39
  782. package/dist/collection/utils/test/theme.spec.js +0 -56
  783. package/dist/esm-es5/app-globals-7c667c11.js +0 -4
  784. package/dist/esm-es5/index-8d8c14b0.js +0 -5
  785. package/dist/ionic/p-0213e506.entry.js +0 -4
  786. package/dist/ionic/p-13a736a9.entry.js +0 -4
  787. package/dist/ionic/p-39303199.system.js +0 -4
  788. package/dist/ionic/p-479e7655.system.js +0 -5
  789. package/dist/ionic/p-65a8336f.entry.js +0 -4
  790. package/dist/ionic/p-6c16d0e8.js +0 -4
  791. package/dist/ionic/p-a82d4913.system.js +0 -4
  792. package/dist/ionic/p-cd681265.entry.js +0 -4
  793. package/dist/ionic/p-d6dbda17.js +0 -5
  794. package/dist/ionic/p-f6a419d2.js +0 -4
package/hydrate/index.js CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
+ var stream = require('stream');
9
+
8
10
  function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResults, $stencilAfterHydrate, $stencilHydrateResolve) {
9
11
  var globalThis = $stencilWindow;
10
12
  var self = $stencilWindow;
@@ -125,10 +127,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
125
127
 
126
128
 
127
129
  const NAMESPACE = 'ionic';
128
- const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
130
+ const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
129
131
 
130
132
  /*
131
- Stencil Hydrate Platform v4.18.1 | MIT Licensed | https://stenciljs.com
133
+ Stencil Hydrate Platform v4.19.2 | MIT Licensed | https://stenciljs.com
132
134
  */
133
135
  var __defProp = Object.defineProperty;
134
136
  var __export = (target, all) => {
@@ -147,7 +149,6 @@ var isComplexType = (o) => {
147
149
  o = typeof o;
148
150
  return o === "object" || o === "function";
149
151
  };
150
- var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function") && typeof v.then === "function";
151
152
 
152
153
  // src/utils/query-nonce-meta-tag-content.ts
153
154
  function queryNonceMetaTagContent(doc2) {
@@ -626,7 +627,7 @@ var attachStyles = (hostRef) => {
626
627
  const flags = cmpMeta.$flags$;
627
628
  const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
628
629
  const scopeId2 = addStyle(
629
- elm.getRootNode(),
630
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
630
631
  cmpMeta,
631
632
  hostRef.$modeName$
632
633
  );
@@ -806,7 +807,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
806
807
  }
807
808
  elm = newVNode2.$elm$ = doc$1.createElementNS(
808
809
  isSvgMode ? SVG_NS : HTML_NS,
809
- newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
810
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
810
811
  ) ;
811
812
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
812
813
  isSvgMode = false;
@@ -817,6 +818,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
817
818
  if (isDef(scopeId) && elm["s-si"] !== scopeId) {
818
819
  elm.classList.add(elm["s-si"] = scopeId);
819
820
  }
821
+ {
822
+ updateElementScopeIds(elm, parentElm);
823
+ }
820
824
  if (newVNode2.$children$) {
821
825
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
822
826
  childNode = createElm(oldParentVNode, newVNode2, i2, elm);
@@ -1153,22 +1157,33 @@ var nullifyVNodeRefs = (vNode) => {
1153
1157
  var insertBefore = (parent, newNode, reference) => {
1154
1158
  const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
1155
1159
  {
1156
- setParentScopeIdAsClassName(newNode, parent);
1160
+ updateElementScopeIds(newNode, parent);
1157
1161
  }
1158
1162
  return inserted;
1159
1163
  };
1160
- var findParentScopeId = (element) => {
1161
- return element ? element["s-rsc"] || element["s-si"] || element["s-sc"] || findParentScopeId(element.parentElement) : void 0;
1164
+ var findScopeIds = (element) => {
1165
+ const scopeIds = [];
1166
+ if (element) {
1167
+ scopeIds.push(
1168
+ ...element["s-scs"] || [],
1169
+ element["s-si"],
1170
+ element["s-sc"],
1171
+ ...findScopeIds(element.parentElement)
1172
+ );
1173
+ }
1174
+ return scopeIds;
1162
1175
  };
1163
- var setParentScopeIdAsClassName = (element, parent) => {
1164
- var _a, _b, _c;
1165
- if (element && parent) {
1166
- const oldRootScopeId = element["s-rsc"];
1167
- const newRootScopeId = findParentScopeId(parent);
1168
- oldRootScopeId && ((_a = element.classList) == null ? void 0 : _a.contains(oldRootScopeId)) && element.classList.remove(oldRootScopeId);
1169
- if (newRootScopeId) {
1170
- element["s-rsc"] = newRootScopeId;
1171
- !((_b = element.classList) == null ? void 0 : _b.contains(newRootScopeId)) && ((_c = element.classList) == null ? void 0 : _c.add(newRootScopeId));
1176
+ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
1177
+ var _a;
1178
+ if (element && parent && element.nodeType === 1 /* ElementNode */) {
1179
+ const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
1180
+ if (scopeIds.size) {
1181
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
1182
+ if (element["s-ol"] || iterateChildNodes) {
1183
+ for (const childNode of Array.from(element.childNodes)) {
1184
+ updateElementScopeIds(childNode, element, true);
1185
+ }
1186
+ }
1172
1187
  }
1173
1188
  }
1174
1189
  };
@@ -1199,7 +1214,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1199
1214
  {
1200
1215
  scopeId = hostElm["s-sc"];
1201
1216
  }
1202
- useNativeShadowDom = supportsShadow ;
1217
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1203
1218
  {
1204
1219
  contentRef = hostElm["s-cr"];
1205
1220
  checkSlotFallbackVisibility = false;
@@ -1296,8 +1311,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
1296
1311
  return writeTask(dispatch) ;
1297
1312
  };
1298
1313
  var dispatchHooks = (hostRef, isInitialLoad) => {
1314
+ const elm = hostRef.$hostElement$;
1299
1315
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1300
1316
  const instance = hostRef.$lazyInstance$ ;
1317
+ if (!instance) {
1318
+ throw new Error(
1319
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1320
+ );
1321
+ }
1301
1322
  let maybePromise;
1302
1323
  if (isInitialLoad) {
1303
1324
  {
@@ -1317,7 +1338,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1317
1338
  endSchedule();
1318
1339
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1319
1340
  };
1320
- var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1341
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1342
+ console.error(err2);
1343
+ fn();
1344
+ }) : fn();
1321
1345
  var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1322
1346
  var updateComponent = async (hostRef, instance, isInitialLoad) => {
1323
1347
  var _a;
@@ -1447,7 +1471,10 @@ var safeCall$1 = (instance, method, arg) => {
1447
1471
  }
1448
1472
  return void 0;
1449
1473
  };
1450
- var addHydratedFlag = (elm) => elm.classList.add("hydrated") ;
1474
+ var addHydratedFlag = (elm) => {
1475
+ var _a;
1476
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1477
+ };
1451
1478
  var serverSideConnected = (elm) => {
1452
1479
  const children = elm.children;
1453
1480
  if (children != null) {
@@ -1501,13 +1528,13 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1501
1528
 
1502
1529
  // src/runtime/proxy-component.ts
1503
1530
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1504
- var _a;
1531
+ var _a, _b;
1505
1532
  const prototype = Cstr.prototype;
1506
- if (cmpMeta.$members$) {
1507
- if (Cstr.watchers) {
1533
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1534
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1508
1535
  cmpMeta.$watchers$ = Cstr.watchers;
1509
1536
  }
1510
- const members = Object.entries(cmpMeta.$members$);
1537
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1511
1538
  members.map(([memberName, [memberFlags]]) => {
1512
1539
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1513
1540
  Object.defineProperty(prototype, memberName, {
@@ -1563,7 +1590,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1563
1590
  };
1564
1591
  Cstr.observedAttributes = Array.from(
1565
1592
  /* @__PURE__ */ new Set([
1566
- ...Object.keys((_a = cmpMeta.$watchers$) != null ? _a : {}),
1593
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1567
1594
  ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1568
1595
  var _a2;
1569
1596
  const attrName = m[1] || propName;
@@ -1587,11 +1614,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1587
1614
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1588
1615
  const bundleId = cmpMeta.$lazyBundleId$;
1589
1616
  if (bundleId) {
1590
- Cstr = loadModule(cmpMeta);
1591
- if (Cstr.then) {
1617
+ const CstrImport = loadModule(cmpMeta);
1618
+ if (CstrImport && "then" in CstrImport) {
1592
1619
  const endLoad = uniqueTime();
1593
- Cstr = await Cstr;
1620
+ Cstr = await CstrImport;
1594
1621
  endLoad();
1622
+ } else {
1623
+ Cstr = CstrImport;
1624
+ }
1625
+ if (!Cstr) {
1626
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1595
1627
  }
1596
1628
  if (!Cstr.isProxied) {
1597
1629
  {
@@ -1619,12 +1651,18 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1619
1651
  fireConnectedCallback(hostRef.$lazyInstance$);
1620
1652
  } else {
1621
1653
  Cstr = elm.constructor;
1622
- customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1623
- }
1624
- if (Cstr.style) {
1625
- let style = Cstr.style;
1626
- if (typeof style !== "string") {
1627
- style = style[hostRef.$modeName$ = computeMode(elm)];
1654
+ const cmpTag = elm.localName;
1655
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1656
+ }
1657
+ if (Cstr && Cstr.style) {
1658
+ let style;
1659
+ if (typeof Cstr.style === "string") {
1660
+ style = Cstr.style;
1661
+ } else if (typeof Cstr.style !== "string") {
1662
+ hostRef.$modeName$ = computeMode(elm);
1663
+ if (hostRef.$modeName$) {
1664
+ style = Cstr.style[hostRef.$modeName$];
1665
+ }
1628
1666
  if (hostRef.$modeName$) {
1629
1667
  elm.setAttribute("s-mode", hostRef.$modeName$);
1630
1668
  }
@@ -1663,6 +1701,10 @@ var connectedCallback = (elm) => {
1663
1701
  {
1664
1702
  hostId = elm.getAttribute(HYDRATE_ID);
1665
1703
  if (hostId) {
1704
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1705
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) ;
1706
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1707
+ }
1666
1708
  initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1667
1709
  }
1668
1710
  }
@@ -1713,10 +1755,11 @@ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =>
1713
1755
  }
1714
1756
  };
1715
1757
  var hostListenerProxy = (hostRef, methodName) => (ev) => {
1758
+ var _a;
1716
1759
  try {
1717
1760
  {
1718
1761
  if (hostRef.$flags$ & 256 /* isListenReady */) {
1719
- hostRef.$lazyInstance$[methodName](ev);
1762
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
1720
1763
  } else {
1721
1764
  (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1722
1765
  }
@@ -1785,6 +1828,7 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
1785
1828
  }
1786
1829
  };
1787
1830
  var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
1831
+ var _a;
1788
1832
  if (node == null) {
1789
1833
  return;
1790
1834
  }
@@ -1792,7 +1836,8 @@ var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
1792
1836
  orgLocationNodes.push(node);
1793
1837
  }
1794
1838
  if (node.nodeType === 1 /* ElementNode */) {
1795
- node.childNodes.forEach((childNode) => {
1839
+ const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a = node.shadowRoot) == null ? void 0 : _a.childNodes) || [])];
1840
+ childNodes.forEach((childNode) => {
1796
1841
  const hostRef = getHostRef(childNode);
1797
1842
  if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
1798
1843
  const cmpData = {
@@ -1873,44 +1918,54 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
1873
1918
  var hAsync = (nodeName, vnodeData, ...children) => {
1874
1919
  if (Array.isArray(children) && children.length > 0) {
1875
1920
  const flatChildren = children.flat(Infinity);
1876
- if (flatChildren.some(isPromise)) {
1921
+ if (flatChildren.some((child) => child instanceof Promise)) {
1877
1922
  return Promise.all(flatChildren).then((resolvedChildren) => {
1878
1923
  return h(nodeName, vnodeData, ...resolvedChildren);
1879
1924
  }).catch((err2) => {
1880
1925
  return h(nodeName, vnodeData);
1881
1926
  });
1882
1927
  }
1883
- return h(nodeName, vnodeData, ...children);
1928
+ return h(nodeName, vnodeData, ...flatChildren);
1884
1929
  }
1885
1930
  return h(nodeName, vnodeData);
1886
1931
  };
1887
-
1888
- // src/hydrate/platform/proxy-host-element.ts
1889
- function proxyHostElement(elm, cmpMeta) {
1932
+ function proxyHostElement(elm, cmpMeta, opts) {
1890
1933
  if (typeof elm.componentOnReady !== "function") {
1891
1934
  elm.componentOnReady = componentOnReady$1;
1892
1935
  }
1893
1936
  if (typeof elm.forceUpdate !== "function") {
1894
1937
  elm.forceUpdate = forceUpdate2;
1895
1938
  }
1896
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1897
- elm.shadowRoot = elm;
1939
+ if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1940
+ {
1941
+ elm.attachShadow({
1942
+ mode: "open",
1943
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
1944
+ });
1945
+ }
1898
1946
  }
1899
1947
  if (cmpMeta.$members$ != null) {
1900
1948
  const hostRef = getHostRef(elm);
1901
1949
  const members = Object.entries(cmpMeta.$members$);
1902
1950
  members.forEach(([memberName, m]) => {
1951
+ var _a, _b;
1903
1952
  const memberFlags = m[0];
1904
1953
  if (memberFlags & 31 /* Prop */) {
1905
1954
  const attributeName = m[1] || memberName;
1906
- const attrValue = elm.getAttribute(attributeName);
1955
+ let attrValue = elm.getAttribute(attributeName);
1956
+ if ((attrValue == null ? void 0 : attrValue.startsWith("{")) && attrValue.endsWith("}") || (attrValue == null ? void 0 : attrValue.startsWith("[")) && attrValue.endsWith("]")) {
1957
+ try {
1958
+ attrValue = JSON.parse(attrValue);
1959
+ } catch (e) {
1960
+ }
1961
+ }
1907
1962
  if (attrValue != null) {
1908
1963
  const parsedAttrValue = parsePropertyValue(attrValue, memberFlags);
1909
- hostRef.$instanceValues$.set(memberName, parsedAttrValue);
1964
+ (_a = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a.set(memberName, parsedAttrValue);
1910
1965
  }
1911
1966
  const ownValue = elm[memberName];
1912
1967
  if (ownValue !== void 0) {
1913
- hostRef.$instanceValues$.set(memberName, ownValue);
1968
+ (_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, ownValue);
1914
1969
  delete elm[memberName];
1915
1970
  }
1916
1971
  Object.defineProperty(elm, memberName, {
@@ -1926,8 +1981,12 @@ function proxyHostElement(elm, cmpMeta) {
1926
1981
  } else if (memberFlags & 64 /* Method */) {
1927
1982
  Object.defineProperty(elm, memberName, {
1928
1983
  value(...args) {
1984
+ var _a2;
1929
1985
  const ref = getHostRef(this);
1930
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args)).catch(consoleError);
1986
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1987
+ var _a3;
1988
+ return (_a3 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1989
+ }).catch(consoleError);
1931
1990
  }
1932
1991
  });
1933
1992
  }
@@ -1935,7 +1994,8 @@ function proxyHostElement(elm, cmpMeta) {
1935
1994
  }
1936
1995
  }
1937
1996
  function componentOnReady$1() {
1938
- return getHostRef(this).$onReadyPromise$;
1997
+ var _a;
1998
+ return (_a = getHostRef(this)) == null ? void 0 : _a.$onReadyPromise$;
1939
1999
  }
1940
2000
  function forceUpdate2() {
1941
2001
  }
@@ -1951,7 +2011,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
1951
2011
  let tmrId;
1952
2012
  let ranCompleted = false;
1953
2013
  function hydratedComplete() {
1954
- global.clearTimeout(tmrId);
2014
+ globalThis.clearTimeout(tmrId);
1955
2015
  createdElements.clear();
1956
2016
  connectedElements.clear();
1957
2017
  if (!ranCompleted) {
@@ -2009,7 +2069,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
2009
2069
  if (isValidComponent(elm, opts) && results.hydratedCount < opts.maxHydrateCount) {
2010
2070
  if (!connectedElements.has(elm) && shouldHydrate(elm)) {
2011
2071
  connectedElements.add(elm);
2012
- return hydrateComponent(win2, results, elm.nodeName, elm, waitingElements);
2072
+ return hydrateComponent.call(elm, win2, results, elm.nodeName, elm, waitingElements);
2013
2073
  }
2014
2074
  }
2015
2075
  return resolved2;
@@ -2030,7 +2090,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
2030
2090
  patchElement2(elm);
2031
2091
  return elm;
2032
2092
  };
2033
- tmrId = global.setTimeout(timeoutExceeded, opts.timeout);
2093
+ tmrId = globalThis.setTimeout(timeoutExceeded, opts.timeout);
2034
2094
  plt.$resourcesUrl$ = new URL(opts.resourcesUrl || "./", doc$1.baseURI).href;
2035
2095
  patchChild2(win2.document.body);
2036
2096
  waitLoop2().then(hydratedComplete).catch(hydratedError);
@@ -2049,6 +2109,8 @@ async function hydrateComponent(win2, results, tagName, elm, waitingElements) {
2049
2109
  const cmpMeta = Cstr.cmpMeta;
2050
2110
  if (cmpMeta != null) {
2051
2111
  waitingElements.add(elm);
2112
+ const hostRef = getHostRef(this);
2113
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
2052
2114
  try {
2053
2115
  connectedCallback(elm);
2054
2116
  await elm.componentOnReady();
@@ -2219,7 +2281,7 @@ var registerComponents = (Cstrs) => {
2219
2281
  var win$2 = window;
2220
2282
  var doc$1 = win$2.document;
2221
2283
  var readTask = (cb) => {
2222
- process.nextTick(() => {
2284
+ nextTick(() => {
2223
2285
  try {
2224
2286
  cb();
2225
2287
  } catch (e) {
@@ -2228,7 +2290,7 @@ var readTask = (cb) => {
2228
2290
  });
2229
2291
  };
2230
2292
  var writeTask = (cb) => {
2231
- process.nextTick(() => {
2293
+ nextTick(() => {
2232
2294
  try {
2233
2295
  cb();
2234
2296
  } catch (e) {
@@ -2253,7 +2315,7 @@ var plt = {
2253
2315
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2254
2316
  ce: (eventName, opts) => new win$2.CustomEvent(eventName, opts)
2255
2317
  };
2256
- var supportsShadow = false;
2318
+ var supportsShadow = BUILD.shadowDom;
2257
2319
  var hostRefs = /* @__PURE__ */ new WeakMap();
2258
2320
  var getHostRef = (ref) => hostRefs.get(ref);
2259
2321
  var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
@@ -2269,7 +2331,6 @@ var registerHost = (elm, cmpMeta) => {
2269
2331
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
2270
2332
  elm["s-p"] = [];
2271
2333
  elm["s-rc"] = [];
2272
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2273
2334
  return hostRefs.set(elm, hostRef);
2274
2335
  };
2275
2336
  var Build = {
@@ -6414,7 +6475,10 @@ class ActionSheet {
6414
6475
  this.triggerController.removeClickListener();
6415
6476
  }
6416
6477
  componentWillLoad() {
6417
- setOverlayId(this.el);
6478
+ var _a;
6479
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
6480
+ setOverlayId(this.el);
6481
+ }
6418
6482
  }
6419
6483
  componentDidLoad() {
6420
6484
  /**
@@ -6459,12 +6523,12 @@ class ActionSheet {
6459
6523
  const cancelButton = allButtons.find((b) => b.role === 'cancel');
6460
6524
  const buttons = allButtons.filter((b) => b.role !== 'cancel');
6461
6525
  const headerID = `action-sheet-${overlayIndex}-header`;
6462
- return (hAsync(Host, Object.assign({ key: 'b640e9730af4bd9ec569884cf203c63102e0ea59', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
6526
+ return (hAsync(Host, Object.assign({ key: '7bbd202ca9e19727e7514abbe073687d982f80c3', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
6463
6527
  zIndex: `${20000 + this.overlayIndex}`,
6464
- }, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: 'bcfa5b7ffb5c265ef54caa114e697ada11f20c12', tappable: this.backdropDismiss }), hAsync("div", { key: '207ae95b5365ce1d76170a05bdf8c83c3ba5de42', tabindex: "0" }), hAsync("div", { key: 'bf2b4e8d57c822a4ea2bbe6c34b1b2f2067e4c02', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: '9c4841eb03ca1378c5abc1e3aafbbcfaaa43c345', class: "action-sheet-container" }, hAsync("div", { key: 'fa438b8663f5d30852e5967da0471489efa783b2', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (hAsync("div", { key: '2c600f1cd8314d65137fb1bfa180312b4791121a', id: headerID, class: {
6528
+ }, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: '23344a9221a2e6720d7b9de5249dc37256cafa7b', tappable: this.backdropDismiss }), hAsync("div", { key: 'd46361bb5cdc32a7922dcf76b566f358a6174bfa', tabindex: "0" }), hAsync("div", { key: '136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: '6168ea8b2be42020b2edeb8ff3a0f3d1254be37a', class: "action-sheet-container" }, hAsync("div", { key: '29b9e6619dc54574733a704d6bf885839151bd84', class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (hAsync("div", { key: '536ce764bfddb3816ea3512d90f4acef2ccb8589', id: headerID, class: {
6465
6529
  'action-sheet-title': true,
6466
6530
  'action-sheet-has-sub-title': this.subHeader !== undefined,
6467
- } }, header, this.subHeader && hAsync("div", { key: 'a98d6a3f7948733de22a07432e56255f11243b7b', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (hAsync("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass$3(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), hAsync("span", { class: "action-sheet-button-inner" }, b.icon && hAsync("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && hAsync("ion-ripple-effect", null))))), cancelButton && (hAsync("div", { key: '5c5abd0e0b3d486ba2bfe437e28a23b2c7c4c955', class: "action-sheet-group action-sheet-group-cancel" }, hAsync("button", Object.assign({ key: '520a23bbbe6c7436f5bc58bad162d7894b870e54' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass$3(cancelButton), onClick: () => this.buttonClick(cancelButton) }), hAsync("span", { key: '28c90f66786ee82316adc6cfd68d322d2038357d', class: "action-sheet-button-inner" }, cancelButton.icon && (hAsync("ion-icon", { key: 'fd49fcea260c7addc9b07718eeb02d4fa6e4d900', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && hAsync("ion-ripple-effect", { key: 'c83f636e171fe77635a4fce2b97161447e10546a' })))))), hAsync("div", { key: 'd304920fc7cb006b87542183a3224a7e460abd3d', tabindex: "0" })));
6531
+ } }, header, this.subHeader && hAsync("div", { key: '6d888219145824fd36cdfe0d3c8388bbf2769777', class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (hAsync("button", Object.assign({}, b.htmlAttributes, { type: "button", id: b.id, class: buttonClass$3(b), onClick: () => this.buttonClick(b), disabled: b.disabled }), hAsync("span", { class: "action-sheet-button-inner" }, b.icon && hAsync("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && hAsync("ion-ripple-effect", null))))), cancelButton && (hAsync("div", { key: '46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77', class: "action-sheet-group action-sheet-group-cancel" }, hAsync("button", Object.assign({ key: 'e3c457bced8ad5f692e48de26e65f731fd631b4f' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass$3(cancelButton), onClick: () => this.buttonClick(cancelButton) }), hAsync("span", { key: '4cba6dc559f734ecc852e024959210cd0dd25354', class: "action-sheet-button-inner" }, cancelButton.icon && (hAsync("ion-icon", { key: '9df64989aad1b4d1e75edf4d37ab208965cfe37f', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && hAsync("ion-ripple-effect", { key: '558089275a29177cefdb2e38eefc9b5c8b62872b' })))))), hAsync("div", { key: 'fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc', tabindex: "0" })));
6468
6532
  }
6469
6533
  get el() { return getElement(this); }
6470
6534
  static get watchers() { return {
@@ -6921,7 +6985,10 @@ class Alert {
6921
6985
  this.triggerChanged();
6922
6986
  }
6923
6987
  componentWillLoad() {
6924
- setOverlayId(this.el);
6988
+ var _a;
6989
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
6990
+ setOverlayId(this.el);
6991
+ }
6925
6992
  this.inputsChanged();
6926
6993
  this.buttonsChanged();
6927
6994
  }
@@ -7147,9 +7214,9 @@ class Alert {
7147
7214
  * If neither is defined, don't set aria-labelledby.
7148
7215
  */
7149
7216
  const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
7150
- return (hAsync(Host, Object.assign({ key: 'b1875ea565c40a25915e26e61864f8c61d840ccc', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
7217
+ return (hAsync(Host, Object.assign({ key: 'c7d53f48b359f2bc3480a2e1ba34948fc9378fb0', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
7151
7218
  zIndex: `${20000 + overlayIndex}`,
7152
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: '37d9d7d1a47bfa23c3bb8d8d9805f52a5bbedf61', tappable: this.backdropDismiss }), hAsync("div", { key: '0134cc90b7f02dcdd13dfdc39a72f2259182de90', tabindex: "0" }), hAsync("div", { key: 'ed054b063ec2d1847b3234d5bdf3e66054784ed7', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: 'fb81befae081424f03c64b434ffdd79bb1b00d0c', class: "alert-head" }, header && (hAsync("h2", { key: '92596dfdd92c4f63c82ed86b4a2473b3110daae3', id: hdrId, class: "alert-title" }, header)), subHeader && (hAsync("h2", { key: 'ba7a0734cf818224f453604ec638770ca61bfef6', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: '41a2619836a4af5d158216ef14b49985c7941b78', tabindex: "0" })));
7219
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: '18c7e6b5d63435d9a6a82bda951158e7e1af6e92', tappable: this.backdropDismiss }), hAsync("div", { key: 'e35e1a4b81286976c8a6bab570c986f3196b21f4', tabindex: "0" }), hAsync("div", { key: '9089864c80d96ed834bf723f3de863cf1c4a5b97', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: 'dd600f02c84352059c6cdf98821b9c9a831bcdcb', class: "alert-head" }, header && (hAsync("h2", { key: '11afb605e1ccefc889fbdd2533d491bea8fbf183', id: hdrId, class: "alert-title" }, header)), subHeader && (hAsync("h2", { key: 'e53b0613d09d26e5a2cd7c9c6e63ec2535625ce5', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: 'cef60ec8b34c9aec8bc698f16f55324d1ce67c72', tabindex: "0" })));
7153
7220
  }
7154
7221
  get el() { return getElement(this); }
7155
7222
  static get watchers() { return {
@@ -15619,7 +15686,7 @@ class Item {
15619
15686
  * However, other form controls such as checkboxes and radios do.
15620
15687
  */
15621
15688
  const firstInteractiveNeedsPointerCursor = firstInteractive !== undefined && !['ION-INPUT', 'ION-TEXTAREA'].includes(firstInteractive.tagName);
15622
- return (hAsync(Host, { key: '6fe6bae954259703482f175312a051ff1b315a95', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
15689
+ return (hAsync(Host, { key: 'f7986b5b81c4f289460bff2c452ce993b674236b', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
15623
15690
  item: true,
15624
15691
  [mode]: true,
15625
15692
  'item-lines-default': lines === undefined,
@@ -15631,7 +15698,7 @@ class Item {
15631
15698
  'ion-activatable': canActivate,
15632
15699
  'ion-focusable': this.focusable,
15633
15700
  'item-rtl': document.dir === 'rtl',
15634
- })), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: 'fcfcffacb7d4e52f9458724332efa93d140cf637' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), hAsync("slot", { key: '2c1be89990d1b4264f056f3afca2657dc25e868f', name: "start" }), hAsync("div", { key: 'a12010f2f251c29870806050357e247f297f752d', class: "item-inner" }, hAsync("div", { key: 'd0dc5901d634d3b7d8c9b4339ed02585b5b88828', class: "input-wrapper" }, hAsync("slot", { key: '5589d491f6058858310c72971de50ddf441379b1' })), hAsync("slot", { key: '7b2d2182336abef508d00882759df1a99a1cf93e', name: "end" }), showDetail && (hAsync("ion-icon", { key: 'f93f7e7166413f1f2691430dcda83ecf858f7e1f', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && hAsync("ion-ripple-effect", { key: '3d13ce7623813d650ada97974b29a2e94e2405b1' }))));
15701
+ })), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: 'cfafac67cdb532e4bce2dd4989e1936c013396ba' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), hAsync("slot", { key: '68a5b8e978eed62d7d913ca006bd4bd01497cd32', name: "start" }), hAsync("div", { key: '5b052cc338b00e8d40ab77cac7a139448f9b6452', class: "item-inner" }, hAsync("div", { key: '7548addbe881a41ee32fd51627db230b56510760', class: "input-wrapper" }, hAsync("slot", { key: 'b6f4edd5895b9f91bf060edb35666b0e7ea26ccc' })), hAsync("slot", { key: 'b595e7fb96461ea2e356dbad6529531ca19705db', name: "end" }), showDetail && (hAsync("ion-icon", { key: '091aa449464d530c921bd7de79bdc16fbdc14a70', icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }))), canActivate && mode === 'md' && hAsync("ion-ripple-effect", { key: 'a4454f5ad15a67d5e41173d0227b77cd69776a18' }))));
15635
15702
  }
15636
15703
  get el() { return getElement(this); }
15637
15704
  static get watchers() { return {
@@ -15649,7 +15716,7 @@ class Item {
15649
15716
  "button": [4],
15650
15717
  "detail": [4],
15651
15718
  "detailIcon": [1, "detail-icon"],
15652
- "disabled": [4],
15719
+ "disabled": [516],
15653
15720
  "download": [1],
15654
15721
  "href": [1],
15655
15722
  "rel": [1],
@@ -15663,7 +15730,7 @@ class Item {
15663
15730
  },
15664
15731
  "$listeners$": [[0, "ionColor", "labelColorChanged"], [0, "ionStyle", "itemStyle"]],
15665
15732
  "$lazyBundleId$": "-",
15666
- "$attrsToReflect$": [["color", "color"]]
15733
+ "$attrsToReflect$": [["color", "color"], ["disabled", "disabled"]]
15667
15734
  }; }
15668
15735
  }
15669
15736
 
@@ -16699,11 +16766,14 @@ class Loading {
16699
16766
  this.triggerChanged();
16700
16767
  }
16701
16768
  componentWillLoad() {
16769
+ var _a;
16702
16770
  if (this.spinner === undefined) {
16703
16771
  const mode = getIonMode$1(this);
16704
16772
  this.spinner = config.get('loadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));
16705
16773
  }
16706
- setOverlayId(this.el);
16774
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
16775
+ setOverlayId(this.el);
16776
+ }
16707
16777
  }
16708
16778
  componentDidLoad() {
16709
16779
  /**
@@ -16792,9 +16862,9 @@ class Loading {
16792
16862
  * Otherwise, don't set aria-labelledby.
16793
16863
  */
16794
16864
  const ariaLabelledBy = message !== undefined ? msgId : null;
16795
- return (hAsync(Host, Object.assign({ key: '4610b316b10a4df3416d0e83062935f3079baff2', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
16865
+ return (hAsync(Host, Object.assign({ key: 'fb3d2cd7cd0539ed6540d8be50e243c7916b3ca2', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
16796
16866
  zIndex: `${40000 + this.overlayIndex}`,
16797
- }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'd07d0759ed13093c4c4fe06be442dde4bd9c2c31', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'ed3ec8b48f049b592fbea9767cc3d448dc037938', tabindex: "0" }), hAsync("div", { key: 'c515f3badf149d83c1d67374ef3507415fe51422', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '265d1673c2deb751aeca285f5a18863bb629ca5e', class: "loading-spinner" }, hAsync("ion-spinner", { key: '155bf7c92f6d7afd8edbb39f2b47ad05b7d503f1', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'b0e21df5cf54f9b48a218a03543d8c86f5406522', tabindex: "0" })));
16867
+ }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'c8bd30782f3040b1b80e88aa924861e439d40754', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '4ebfbb67c92e8eb56c27dd7c199b35bf6be1cf63', tabindex: "0" }), hAsync("div", { key: '9492723cd87f1ef75534e449d4bc2b2deb0cb3cc', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: 'd9eb42454e48c82704d974a68b80ceb4de990417', class: "loading-spinner" }, hAsync("ion-spinner", { key: 'cdb046bad89872f4208ae466979315652766bf3a', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: '412d1bb537dafa6e6863d07ddc15f5969fe0617d', tabindex: "0" })));
16798
16868
  }
16799
16869
  get el() { return getElement(this); }
16800
16870
  static get watchers() { return {
@@ -19516,6 +19586,7 @@ class Modal {
19516
19586
  this.triggerController.removeClickListener();
19517
19587
  }
19518
19588
  componentWillLoad() {
19589
+ var _a;
19519
19590
  const { breakpoints, initialBreakpoint, el, htmlAttributes } = this;
19520
19591
  const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);
19521
19592
  const attributesToInherit = ['aria-label', 'role'];
@@ -19557,7 +19628,9 @@ class Modal {
19557
19628
  if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
19558
19629
  printIonWarning('Your breakpoints array must include the initialBreakpoint value.');
19559
19630
  }
19560
- setOverlayId(el);
19631
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
19632
+ setOverlayId(this.el);
19633
+ }
19561
19634
  }
19562
19635
  componentDidLoad() {
19563
19636
  /**
@@ -19947,18 +20020,18 @@ class Modal {
19947
20020
  const mode = getIonMode$1(this);
19948
20021
  const isCardModal = presentingElement !== undefined && mode === 'ios';
19949
20022
  const isHandleCycle = handleBehavior === 'cycle';
19950
- return (hAsync(Host, Object.assign({ key: 'fe6fd17cf857127f89d652b9aa3e9473d28c55db', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
20023
+ return (hAsync(Host, Object.assign({ key: '013ba4864ca4d2c1052c512f6a4b0732b8decff7', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
19951
20024
  zIndex: `${20000 + this.overlayIndex}`,
19952
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), hAsync("ion-backdrop", { key: '0f3a31363c2717e5483bc0412c25804897d4aff8', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: '0e5ed59162ff08fe0a9f757e06bdacc75f65c0ed', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '35cdbe2238765e5f346ad7be64f7eefa8c78f0c0',
20025
+ }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), hAsync("ion-backdrop", { key: '498b1c0a03836d6799dcf3b8e9315805c70f6480', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'ce22e4caf1096e87248926fe2477f0d5a4c8a5cf', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '540e47b15d8290166c39b022c725182114a75682',
19953
20026
  /*
19954
20027
  role and aria-modal must be used on the
19955
20028
  same element. They must also be set inside the
19956
20029
  shadow DOM otherwise ion-button will not be highlighted
19957
20030
  when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
19958
20031
  */
19959
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '7a4031eaebf9a098f4c4220a5fe9d1c25cc0ec92', class: "modal-handle",
20032
+ role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'f3b352ec9a63a7ec801462aacfd8295b4302d115', class: "modal-handle",
19960
20033
  // Prevents the handle from receiving keyboard focus when it does not cycle
19961
- tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), hAsync("slot", { key: '534adc8e5bd850199fe2e9e16f0e7c19217d8486' }))));
20034
+ tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), hAsync("slot", { key: '31a3f58f4c733ffdf736523c154200874a96b1d0' }))));
19962
20035
  }
19963
20036
  get el() { return getElement(this); }
19964
20037
  static get watchers() { return {
@@ -21665,7 +21738,10 @@ class Picker {
21665
21738
  this.triggerController.removeClickListener();
21666
21739
  }
21667
21740
  componentWillLoad() {
21668
- setOverlayId(this.el);
21741
+ var _a;
21742
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
21743
+ setOverlayId(this.el);
21744
+ }
21669
21745
  }
21670
21746
  componentDidLoad() {
21671
21747
  printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
@@ -21778,11 +21854,11 @@ class Picker {
21778
21854
  render() {
21779
21855
  const { htmlAttributes } = this;
21780
21856
  const mode = getIonMode$1(this);
21781
- return (hAsync(Host, Object.assign({ key: '26e3144adcdf01605271d01e468bb4a75ce854b1', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
21857
+ return (hAsync(Host, Object.assign({ key: '3b163ca87354a3a4f302ff016d5affd0dc97bccc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
21782
21858
  zIndex: `${20000 + this.overlayIndex}`,
21783
21859
  }, class: Object.assign({ [mode]: true,
21784
21860
  // Used internally for styling
21785
- [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: 'fa212d21406606186cd95f8c7a4f119696ac8d4a', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '19ea889f65cb6a68a9db26cf9f83c6587cfcf07e', tabindex: "0" }), hAsync("div", { key: '5fc0f5d26915ba353b9f0335946f94b6fda95e1e', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '3fa5bff4ac0013ef31845482a27a14caebbdcd2f', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '2ff6376956d01dcd9ec01b8d6972dd4b37ffb1a1', class: "picker-columns" }, hAsync("div", { key: '4adcef77429f10a3faa50b41d1eaf3404387997c', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'e0f37d3e9896eb2bc0f0aef4762a897130851963', class: "picker-below-highlight" }))), hAsync("div", { key: '671bb7d0f487b0d7c7fa70388f8fa1de77448b9f', tabindex: "0" })));
21861
+ [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: 'da4224447bdbcfbadd1bd63ebe7a7bfdb8aa3129', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '211475c859b7acf4d64556905c45993201d92d43', tabindex: "0" }), hAsync("div", { key: 'c3b3674038155809caea84ae6348ff0d66897a64', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: 'a21757da70dc7864945a5751d9da3ca4bf87897b', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '0220da1854d09ef22d2d9a32eaa3c3b222be5a0a', class: "picker-columns" }, hAsync("div", { key: '55757c165ba9e38e56b4dee76a9b13d3ff8b21e6', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: '160092a46a48287bf75e5dfe3502f1755a2d0c70', class: "picker-below-highlight" }))), hAsync("div", { key: 'e212db6cca7d75fc0eda0baf4312dd51b9b7a4ef', tabindex: "0" })));
21786
21862
  }
21787
21863
  get el() { return getElement(this); }
21788
21864
  static get watchers() { return {
@@ -23975,8 +24051,9 @@ class Popover {
23975
24051
  }
23976
24052
  }
23977
24053
  componentWillLoad() {
24054
+ var _a, _b;
23978
24055
  const { el } = this;
23979
- const popoverId = setOverlayId(el);
24056
+ const popoverId = (_b = (_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : setOverlayId(el);
23980
24057
  this.parentPopover = el.closest(`ion-popover:not(#${popoverId})`);
23981
24058
  if (this.alignment === undefined) {
23982
24059
  this.alignment = getIonMode$1(this) === 'ios' ? 'center' : 'start';
@@ -24179,9 +24256,9 @@ class Popover {
24179
24256
  const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
24180
24257
  const desktop = isPlatform('desktop');
24181
24258
  const enableArrow = arrow && !parentPopover;
24182
- return (hAsync(Host, Object.assign({ key: '17e5e8b3e7ba5e251665fb9d0ade10c781f82f0e', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
24259
+ return (hAsync(Host, Object.assign({ key: '3a7c4c39384bab1447c4bd6b9b06d7837a09353b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
24183
24260
  zIndex: `${20000 + this.overlayIndex}`,
24184
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: 'c12fb94b375d7e88a0c5d715440c0f66ad7ee817', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: '478b388cc9a5a382003a2863e968e77a174914ab', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: 'f1c63a0079f197a8d4577e7c00a654871fb9d816', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '08b62a321c09ad4b0f90460468ecbc1d56320bf1', class: "popover-content", part: "content" }, hAsync("slot", { key: '55645ff597f64d434219caa28015cf2a4ceb0ee5' })))));
24261
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '38a1c4ad29238d1e81cab407f099121fa4947cce', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'f825494c5e3be89d7fcf0229e29b405bccb13edb', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '3acae5a0106389c776c8ffe5bf10f3ff006e0346', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '2aa73e9f06b1d2ac4c0d36c23186b9164f395079', class: "popover-content", part: "content" }, hAsync("slot", { key: '62f5713414aae47dde6a8aef1f9b69af287534ae' })))));
24185
24262
  }
24186
24263
  get el() { return getElement(this); }
24187
24264
  static get watchers() { return {
@@ -25580,6 +25657,7 @@ class Refresher {
25580
25657
  this.pointerDown = false;
25581
25658
  this.needsCompletion = false;
25582
25659
  this.didRefresh = false;
25660
+ this.contentFullscreen = false;
25583
25661
  this.lastVelocityY = 0;
25584
25662
  this.animations = [];
25585
25663
  this.nativeRefresher = false;
@@ -25874,6 +25952,12 @@ class Refresher {
25874
25952
  * Query the background content element from the host ion-content element directly.
25875
25953
  */
25876
25954
  this.backgroundContentEl = await contentEl.getBackgroundElement();
25955
+ /**
25956
+ * Check if the content element is fullscreen to apply the correct styles
25957
+ * when the refresher is refreshing. Otherwise, the refresher will be
25958
+ * hidden because it is positioned behind the background content element.
25959
+ */
25960
+ this.contentFullscreen = contentEl.fullscreen;
25877
25961
  if (await shouldUseNativeRefresher(this.el, getIonMode$1(this))) {
25878
25962
  this.setupNativeRefresher(contentEl);
25879
25963
  }
@@ -25967,6 +26051,14 @@ class Refresher {
25967
26051
  this.progress = 0;
25968
26052
  this.state = 1 /* RefresherState.Inactive */;
25969
26053
  this.memoizeOverflowStyle();
26054
+ /**
26055
+ * If the content is fullscreen, then we need to
26056
+ * set the offset-top style on the background content
26057
+ * element to ensure that the refresher is shown.
26058
+ */
26059
+ if (this.contentFullscreen && this.backgroundContentEl) {
26060
+ this.backgroundContentEl.style.setProperty('--offset-top', '0px');
26061
+ }
25970
26062
  }
25971
26063
  onMove(detail) {
25972
26064
  if (!this.scrollEl) {
@@ -26094,6 +26186,7 @@ class Refresher {
26094
26186
  close(state, delay) {
26095
26187
  // create fallback timer incase something goes wrong with transitionEnd event
26096
26188
  setTimeout(() => {
26189
+ var _a;
26097
26190
  this.state = 1 /* RefresherState.Inactive */;
26098
26191
  this.progress = 0;
26099
26192
  this.didStart = false;
@@ -26102,6 +26195,17 @@ class Refresher {
26102
26195
  * user can scroll again.
26103
26196
  */
26104
26197
  this.setCss(0, '0ms', false, '', true);
26198
+ /**
26199
+ * Reset the offset-top style on the background content
26200
+ * when the refresher is no longer refreshing and the
26201
+ * content is fullscreen.
26202
+ *
26203
+ * This ensures that the behavior of background content
26204
+ * does not change when refreshing is complete.
26205
+ */
26206
+ if (this.contentFullscreen && this.backgroundContentEl) {
26207
+ (_a = this.backgroundContentEl) === null || _a === void 0 ? void 0 : _a.style.removeProperty('--offset-top');
26208
+ }
26105
26209
  }, 600);
26106
26210
  // reset the styles on the scroll element
26107
26211
  // set that the refresh is actively cancelling/completing
@@ -26155,7 +26259,7 @@ class Refresher {
26155
26259
  }
26156
26260
  render() {
26157
26261
  const mode = getIonMode$1(this);
26158
- return (hAsync(Host, { key: '1696f66f62d18c9075294f17cb24263325fcf35d', slot: "fixed", class: {
26262
+ return (hAsync(Host, { key: '3270f181a5141e7d886ec554a3e892974446b90e', slot: "fixed", class: {
26159
26263
  [mode]: true,
26160
26264
  // Used internally for styling
26161
26265
  [`refresher-${mode}`]: true,
@@ -31542,7 +31646,10 @@ class Toast {
31542
31646
  this.triggerController.removeClickListener();
31543
31647
  }
31544
31648
  componentWillLoad() {
31545
- setOverlayId(this.el);
31649
+ var _a;
31650
+ if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
31651
+ setOverlayId(this.el);
31652
+ }
31546
31653
  }
31547
31654
  componentDidLoad() {
31548
31655
  /**
@@ -31780,9 +31887,9 @@ class Toast {
31780
31887
  if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
31781
31888
  printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
31782
31889
  }
31783
- return (hAsync(Host, Object.assign({ key: 'da148788489146a20b42023fdc6401e53c044767', tabindex: "-1" }, this.htmlAttributes, { style: {
31890
+ return (hAsync(Host, Object.assign({ key: '68c336f80af04ba484ca9899bae8f40c0d9b7691', tabindex: "-1" }, this.htmlAttributes, { style: {
31784
31891
  zIndex: `${60000 + this.overlayIndex}`,
31785
- }, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: 'ab0a4d783aa43ba961492b3eb8beb60a38153057', class: wrapperClass }, hAsync("div", { key: '83e49027fd1ca6553d6910ff91befeea43576f3c', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '025cb4b6b170a89548969a25bcce4ab7a3817898', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: 'b811b4e1cbc1528c2cfb57898f5615692120f840', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
31892
+ }, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '3483b188f14b700964a123997a60a43a2023a1b6', class: wrapperClass }, hAsync("div", { key: '1b88544a9b87253b364cbec6285625388979b560', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: 'bd1c42e3b14af66b880dfe283e3ae910075c0f70', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: 'a5ef6cdabc1f7c70d11a5f2a0abf8737fe7550e8', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
31786
31893
  }
31787
31894
  get el() { return getElement(this); }
31788
31895
  static get watchers() { return {
@@ -33108,7 +33215,7 @@ exports.hydrateApp = hydrateApp;
33108
33215
  }
33109
33216
 
33110
33217
  /*
33111
- Stencil Hydrate Runner v4.18.1 | MIT Licensed | https://stenciljs.com
33218
+ Stencil Hydrate Runner v4.19.2 | MIT Licensed | https://stenciljs.com
33112
33219
  */
33113
33220
  var __defProp = Object.defineProperty;
33114
33221
  var __export = (target, all) => {
@@ -43506,67 +43613,50 @@ function humanReadableList(items) {
43506
43613
  }
43507
43614
 
43508
43615
  // src/mock-doc/serialize-node.ts
43509
- function serializeNodeToHtml(elm, opts = {}) {
43616
+ function normalizeSerializationOptions(opts = {}) {
43617
+ return {
43618
+ ...opts,
43619
+ outerHtml: typeof opts.outerHtml !== "boolean" ? false : opts.outerHtml,
43620
+ ...opts.prettyHtml ? {
43621
+ indentSpaces: typeof opts.indentSpaces !== "number" ? 2 : opts.indentSpaces,
43622
+ newLines: typeof opts.newLines !== "boolean" ? true : opts.newLines
43623
+ } : {
43624
+ prettyHtml: false,
43625
+ indentSpaces: typeof opts.indentSpaces !== "number" ? 0 : opts.indentSpaces,
43626
+ newLines: typeof opts.newLines !== "boolean" ? false : opts.newLines
43627
+ },
43628
+ approximateLineWidth: typeof opts.approximateLineWidth !== "number" ? -1 : opts.approximateLineWidth,
43629
+ removeEmptyAttributes: typeof opts.removeEmptyAttributes !== "boolean" ? true : opts.removeEmptyAttributes,
43630
+ removeAttributeQuotes: typeof opts.removeAttributeQuotes !== "boolean" ? false : opts.removeAttributeQuotes,
43631
+ removeBooleanAttributeQuotes: typeof opts.removeBooleanAttributeQuotes !== "boolean" ? false : opts.removeBooleanAttributeQuotes,
43632
+ removeHtmlComments: typeof opts.removeHtmlComments !== "boolean" ? false : opts.removeHtmlComments,
43633
+ serializeShadowRoot: typeof opts.serializeShadowRoot !== "boolean" ? false : opts.serializeShadowRoot,
43634
+ fullDocument: typeof opts.fullDocument !== "boolean" ? true : opts.fullDocument
43635
+ };
43636
+ }
43637
+ function serializeNodeToHtml(elm, serializationOptions = {}) {
43638
+ const opts = normalizeSerializationOptions(serializationOptions);
43510
43639
  const output = {
43511
43640
  currentLineWidth: 0,
43512
43641
  indent: 0,
43513
43642
  isWithinBody: false,
43514
43643
  text: []
43515
43644
  };
43516
- if (opts.prettyHtml) {
43517
- if (typeof opts.indentSpaces !== "number") {
43518
- opts.indentSpaces = 2;
43519
- }
43520
- if (typeof opts.newLines !== "boolean") {
43521
- opts.newLines = true;
43522
- }
43523
- opts.approximateLineWidth = -1;
43524
- } else {
43525
- opts.prettyHtml = false;
43526
- if (typeof opts.newLines !== "boolean") {
43527
- opts.newLines = false;
43528
- }
43529
- if (typeof opts.indentSpaces !== "number") {
43530
- opts.indentSpaces = 0;
43531
- }
43532
- }
43533
- if (typeof opts.approximateLineWidth !== "number") {
43534
- opts.approximateLineWidth = -1;
43535
- }
43536
- if (typeof opts.removeEmptyAttributes !== "boolean") {
43537
- opts.removeEmptyAttributes = true;
43538
- }
43539
- if (typeof opts.removeAttributeQuotes !== "boolean") {
43540
- opts.removeAttributeQuotes = false;
43541
- }
43542
- if (typeof opts.removeBooleanAttributeQuotes !== "boolean") {
43543
- opts.removeBooleanAttributeQuotes = false;
43544
- }
43545
- if (typeof opts.removeHtmlComments !== "boolean") {
43546
- opts.removeHtmlComments = false;
43547
- }
43548
- if (typeof opts.serializeShadowRoot !== "boolean") {
43549
- opts.serializeShadowRoot = false;
43550
- }
43551
- if (opts.outerHtml) {
43552
- serializeToHtml(elm, opts, output, false);
43553
- } else {
43554
- for (let i = 0, ii = elm.childNodes.length; i < ii; i++) {
43555
- serializeToHtml(elm.childNodes[i], opts, output, false);
43556
- }
43557
- }
43558
- if (output.text[0] === "\n") {
43559
- output.text.shift();
43560
- }
43561
- if (output.text[output.text.length - 1] === "\n") {
43562
- output.text.pop();
43645
+ let renderedNode = "";
43646
+ const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(elm.childNodes);
43647
+ for (let i = 0, ii = children.length; i < ii; i++) {
43648
+ const child = children[i];
43649
+ const chunks = Array.from(streamToHtml(child, opts, output));
43650
+ renderedNode += chunks.join("");
43563
43651
  }
43564
- return output.text.join("");
43652
+ return renderedNode.trim();
43565
43653
  }
43566
- function serializeToHtml(node, opts, output, isShadowRoot) {
43654
+ var shadowRootTag = "mock:shadow-root";
43655
+ function* streamToHtml(node, opts, output) {
43567
43656
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
43657
+ const isShadowRoot = node.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */;
43568
43658
  if (node.nodeType === 1 /* ELEMENT_NODE */ || isShadowRoot) {
43569
- const tagName = isShadowRoot ? "mock:shadow-root" : getTagName(node);
43659
+ const tagName = isShadowRoot ? shadowRootTag : getTagName(node);
43570
43660
  if (tagName === "body") {
43571
43661
  output.isWithinBody = true;
43572
43662
  }
@@ -43574,17 +43664,23 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43574
43664
  if (ignoreTag === false) {
43575
43665
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a2 = opts.indentSpaces) != null ? _a2 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
43576
43666
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43577
- output.text.push("\n");
43667
+ yield "\n";
43578
43668
  output.currentLineWidth = 0;
43579
43669
  }
43580
43670
  if (((_b = opts.indentSpaces) != null ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43581
43671
  for (let i = 0; i < output.indent; i++) {
43582
- output.text.push(" ");
43672
+ yield " ";
43583
43673
  }
43584
43674
  output.currentLineWidth += output.indent;
43585
43675
  }
43586
- output.text.push("<" + tagName);
43587
- output.currentLineWidth += tagName.length + 1;
43676
+ const tag = tagName === shadowRootTag ? "template" : tagName;
43677
+ yield "<" + tag;
43678
+ output.currentLineWidth += tag.length + 1;
43679
+ if (tag === "template") {
43680
+ const mode = ` shadowrootmode="open"`;
43681
+ yield mode;
43682
+ output.currentLineWidth += mode.length;
43683
+ }
43588
43684
  const attrsLength = node.attributes.length;
43589
43685
  const attributes = opts.prettyHtml && attrsLength > 1 ? cloneAttributes(node.attributes, true) : node.attributes;
43590
43686
  for (let i = 0; i < attrsLength; i++) {
@@ -43601,27 +43697,27 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43601
43697
  if (attrNamespaceURI == null) {
43602
43698
  output.currentLineWidth += attrName.length + 1;
43603
43699
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
43604
- output.text.push("\n" + attrName);
43700
+ yield "\n" + attrName;
43605
43701
  output.currentLineWidth = 0;
43606
43702
  } else {
43607
- output.text.push(" " + attrName);
43703
+ yield " " + attrName;
43608
43704
  }
43609
43705
  } else if (attrNamespaceURI === "http://www.w3.org/XML/1998/namespace") {
43610
- output.text.push(" xml:" + attrName);
43706
+ yield " xml:" + attrName;
43611
43707
  output.currentLineWidth += attrName.length + 5;
43612
43708
  } else if (attrNamespaceURI === "http://www.w3.org/2000/xmlns/") {
43613
43709
  if (attrName !== "xmlns") {
43614
- output.text.push(" xmlns:" + attrName);
43710
+ yield " xmlns:" + attrName;
43615
43711
  output.currentLineWidth += attrName.length + 7;
43616
43712
  } else {
43617
- output.text.push(" " + attrName);
43713
+ yield " " + attrName;
43618
43714
  output.currentLineWidth += attrName.length + 1;
43619
43715
  }
43620
43716
  } else if (attrNamespaceURI === XLINK_NS) {
43621
- output.text.push(" xlink:" + attrName);
43717
+ yield " xlink:" + attrName;
43622
43718
  output.currentLineWidth += attrName.length + 7;
43623
43719
  } else {
43624
- output.text.push(" " + attrNamespaceURI + ":" + attrName);
43720
+ yield " " + attrNamespaceURI + ":" + attrName;
43625
43721
  output.currentLineWidth += attrNamespaceURI.length + attrName.length + 2;
43626
43722
  }
43627
43723
  if (opts.prettyHtml && attrName === "class") {
@@ -43636,43 +43732,45 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43636
43732
  }
43637
43733
  }
43638
43734
  if (opts.removeAttributeQuotes && CAN_REMOVE_ATTR_QUOTES.test(attrValue)) {
43639
- output.text.push("=" + escapeString(attrValue, true));
43735
+ yield "=" + escapeString(attrValue, true);
43640
43736
  output.currentLineWidth += attrValue.length + 1;
43641
43737
  } else {
43642
- output.text.push('="' + escapeString(attrValue, true) + '"');
43738
+ yield '="' + escapeString(attrValue, true) + '"';
43643
43739
  output.currentLineWidth += attrValue.length + 3;
43644
43740
  }
43645
43741
  }
43646
43742
  if (node.hasAttribute("style")) {
43647
43743
  const cssText = node.style.cssText;
43648
43744
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
43649
- output.text.push(`
43650
- style="${cssText}">`);
43745
+ yield `
43746
+ style="${cssText}">`;
43651
43747
  output.currentLineWidth = 0;
43652
43748
  } else {
43653
- output.text.push(` style="${cssText}">`);
43749
+ yield ` style="${cssText}">`;
43654
43750
  output.currentLineWidth += cssText.length + 10;
43655
43751
  }
43656
43752
  } else {
43657
- output.text.push(">");
43753
+ yield ">";
43658
43754
  output.currentLineWidth += 1;
43659
43755
  }
43660
43756
  }
43661
43757
  if (EMPTY_ELEMENTS.has(tagName) === false) {
43662
- if (opts.serializeShadowRoot && node.shadowRoot != null) {
43758
+ const shadowRoot = node.shadowRoot;
43759
+ if (opts.serializeShadowRoot && shadowRoot != null) {
43663
43760
  output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
43664
- serializeToHtml(node.shadowRoot, opts, output, true);
43761
+ yield* streamToHtml(shadowRoot, opts, output);
43665
43762
  output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
43666
43763
  if (opts.newLines && (node.childNodes.length === 0 || node.childNodes.length === 1 && node.childNodes[0].nodeType === 3 /* TEXT_NODE */ && ((_e = node.childNodes[0].nodeValue) == null ? void 0 : _e.trim()) === "")) {
43667
- output.text.push("\n");
43764
+ yield "\n";
43668
43765
  output.currentLineWidth = 0;
43669
43766
  for (let i = 0; i < output.indent; i++) {
43670
- output.text.push(" ");
43767
+ yield " ";
43671
43768
  }
43672
43769
  output.currentLineWidth += output.indent;
43673
43770
  }
43674
43771
  }
43675
43772
  if (opts.excludeTagContent == null || opts.excludeTagContent.includes(tagName) === false) {
43773
+ const tag = tagName === shadowRootTag ? "template" : tagName;
43676
43774
  const childNodes = tagName === "template" ? node.content.childNodes : node.childNodes;
43677
43775
  const childNodeLength = childNodes.length;
43678
43776
  if (childNodeLength > 0) {
@@ -43683,17 +43781,17 @@ style="${cssText}">`);
43683
43781
  output.indent = output.indent + ((_h = opts.indentSpaces) != null ? _h : 0);
43684
43782
  }
43685
43783
  for (let i = 0; i < childNodeLength; i++) {
43686
- serializeToHtml(childNodes[i], opts, output, false);
43784
+ yield* streamToHtml(childNodes[i], opts, output);
43687
43785
  }
43688
43786
  if (ignoreTag === false) {
43689
43787
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43690
- output.text.push("\n");
43788
+ yield "\n";
43691
43789
  output.currentLineWidth = 0;
43692
43790
  }
43693
43791
  if (((_i = opts.indentSpaces) != null ? _i : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43694
43792
  output.indent = output.indent - ((_j = opts.indentSpaces) != null ? _j : 0);
43695
43793
  for (let i = 0; i < output.indent; i++) {
43696
- output.text.push(" ");
43794
+ yield " ";
43697
43795
  }
43698
43796
  output.currentLineWidth += output.indent;
43699
43797
  }
@@ -43701,13 +43799,13 @@ style="${cssText}">`);
43701
43799
  }
43702
43800
  }
43703
43801
  if (ignoreTag === false) {
43704
- output.text.push("</" + tagName + ">");
43705
- output.currentLineWidth += tagName.length + 3;
43802
+ yield "</" + tag + ">";
43803
+ output.currentLineWidth += tag.length + 3;
43706
43804
  }
43707
43805
  }
43708
43806
  }
43709
43807
  if (((_k = opts.approximateLineWidth) != null ? _k : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
43710
- output.text.push("\n");
43808
+ yield "\n";
43711
43809
  output.currentLineWidth = 0;
43712
43810
  }
43713
43811
  if (tagName === "body") {
@@ -43719,27 +43817,27 @@ style="${cssText}">`);
43719
43817
  const trimmedTextContent = textContent.trim();
43720
43818
  if (trimmedTextContent === "") {
43721
43819
  if (isWithinWhitespaceSensitive(node)) {
43722
- output.text.push(textContent);
43820
+ yield textContent;
43723
43821
  output.currentLineWidth += textContent.length;
43724
43822
  } else if (((_l = opts.approximateLineWidth) != null ? _l : 0) > 0 && !output.isWithinBody) {
43725
43823
  } else if (!opts.prettyHtml) {
43726
43824
  output.currentLineWidth += 1;
43727
43825
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
43728
- output.text.push("\n");
43826
+ yield "\n";
43729
43827
  output.currentLineWidth = 0;
43730
43828
  } else {
43731
- output.text.push(" ");
43829
+ yield " ";
43732
43830
  }
43733
43831
  }
43734
43832
  } else {
43735
43833
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_m = opts.indentSpaces) != null ? _m : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
43736
43834
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43737
- output.text.push("\n");
43835
+ yield "\n";
43738
43836
  output.currentLineWidth = 0;
43739
43837
  }
43740
43838
  if (((_n = opts.indentSpaces) != null ? _n : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43741
43839
  for (let i = 0; i < output.indent; i++) {
43742
- output.text.push(" ");
43840
+ yield " ";
43743
43841
  }
43744
43842
  output.currentLineWidth += output.indent;
43745
43843
  }
@@ -43748,15 +43846,15 @@ style="${cssText}">`);
43748
43846
  const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* ELEMENT_NODE */ ? node.parentNode.nodeName : null;
43749
43847
  if (typeof parentTagName === "string" && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
43750
43848
  if (isWithinWhitespaceSensitive(node)) {
43751
- output.text.push(textContent);
43849
+ yield textContent;
43752
43850
  } else {
43753
- output.text.push(trimmedTextContent);
43851
+ yield trimmedTextContent;
43754
43852
  textContentLength = trimmedTextContent.length;
43755
43853
  }
43756
43854
  output.currentLineWidth += textContentLength;
43757
43855
  } else {
43758
43856
  if (opts.prettyHtml && !isWithinWhitespaceSensitiveNode) {
43759
- output.text.push(escapeString(textContent.replace(/\s\s+/g, " ").trim(), false));
43857
+ yield escapeString(textContent.replace(/\s\s+/g, " ").trim(), false);
43760
43858
  output.currentLineWidth += textContentLength;
43761
43859
  } else {
43762
43860
  if (isWithinWhitespaceSensitive(node)) {
@@ -43778,7 +43876,7 @@ style="${cssText}">`);
43778
43876
  }
43779
43877
  output.currentLineWidth += textContentLength;
43780
43878
  }
43781
- output.text.push(escapeString(textContent, false));
43879
+ yield escapeString(textContent, false);
43782
43880
  }
43783
43881
  }
43784
43882
  }
@@ -43786,27 +43884,27 @@ style="${cssText}">`);
43786
43884
  }
43787
43885
  } else if (node.nodeType === 8 /* COMMENT_NODE */) {
43788
43886
  const nodeValue = node.nodeValue;
43789
- if (opts.removeHtmlComments) {
43790
- const isHydrateAnnotation = (nodeValue == null ? void 0 : nodeValue.startsWith(CONTENT_REF_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(ORG_LOCATION_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(SLOT_NODE_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(TEXT_NODE_ID + "."));
43791
- if (!isHydrateAnnotation) {
43792
- return;
43793
- }
43887
+ const isHydrateAnnotation = (nodeValue == null ? void 0 : nodeValue.startsWith(CONTENT_REF_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(ORG_LOCATION_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(SLOT_NODE_ID + ".")) || (nodeValue == null ? void 0 : nodeValue.startsWith(TEXT_NODE_ID + "."));
43888
+ if (opts.removeHtmlComments && !isHydrateAnnotation) {
43889
+ return;
43794
43890
  }
43795
43891
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) != null ? _o : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
43796
43892
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43797
- output.text.push("\n");
43893
+ yield "\n";
43798
43894
  output.currentLineWidth = 0;
43799
43895
  }
43800
43896
  if (((_p = opts.indentSpaces) != null ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43801
43897
  for (let i = 0; i < output.indent; i++) {
43802
- output.text.push(" ");
43898
+ yield " ";
43803
43899
  }
43804
43900
  output.currentLineWidth += output.indent;
43805
43901
  }
43806
- output.text.push("<!--" + nodeValue + "-->");
43807
- output.currentLineWidth += nodeValue.length + 7;
43902
+ yield "<!--" + nodeValue + "-->";
43903
+ if (nodeValue) {
43904
+ output.currentLineWidth += nodeValue.length + 7;
43905
+ }
43808
43906
  } else if (node.nodeType === 10 /* DOCUMENT_TYPE_NODE */) {
43809
- output.text.push("<!doctype html>");
43907
+ yield "<!doctype html>";
43810
43908
  }
43811
43909
  }
43812
43910
  var AMP_REGEX = /&/g;
@@ -43831,7 +43929,7 @@ function escapeString(str, attrMode) {
43831
43929
  }
43832
43930
  function isWithinWhitespaceSensitive(node) {
43833
43931
  let _node = node;
43834
- while (_node != null) {
43932
+ while (_node == null ? void 0 : _node.nodeName) {
43835
43933
  if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
43836
43934
  return true;
43837
43935
  }
@@ -44147,6 +44245,10 @@ Testing components with ElementInternals is fully supported in e2e tests.`
44147
44245
  get shadowRoot() {
44148
44246
  return this.__shadowRoot || null;
44149
44247
  }
44248
+ /**
44249
+ * Set shadow root for element
44250
+ * @param shadowRoot - ShadowRoot to set
44251
+ */
44150
44252
  set shadowRoot(shadowRoot) {
44151
44253
  if (shadowRoot != null) {
44152
44254
  shadowRoot.host = this;
@@ -45438,67 +45540,75 @@ var MockUListElement = class extends MockHTMLElement {
45438
45540
  super(ownerDocument, "ul");
45439
45541
  }
45440
45542
  };
45543
+ var CanvasRenderingContext = class {
45544
+ constructor(context, contextAttributes) {
45545
+ this.context = context;
45546
+ this.contextAttributes = contextAttributes;
45547
+ }
45548
+ fillRect() {
45549
+ return;
45550
+ }
45551
+ clearRect() {
45552
+ }
45553
+ getImageData(_, __, w, h) {
45554
+ return {
45555
+ data: new Array(w * h * 4)
45556
+ };
45557
+ }
45558
+ toDataURL() {
45559
+ return "data:,";
45560
+ }
45561
+ putImageData() {
45562
+ }
45563
+ createImageData() {
45564
+ return {};
45565
+ }
45566
+ setTransform() {
45567
+ }
45568
+ drawImage() {
45569
+ }
45570
+ save() {
45571
+ }
45572
+ fillText() {
45573
+ }
45574
+ restore() {
45575
+ }
45576
+ beginPath() {
45577
+ }
45578
+ moveTo() {
45579
+ }
45580
+ lineTo() {
45581
+ }
45582
+ closePath() {
45583
+ }
45584
+ stroke() {
45585
+ }
45586
+ translate() {
45587
+ }
45588
+ scale() {
45589
+ }
45590
+ rotate() {
45591
+ }
45592
+ arc() {
45593
+ }
45594
+ fill() {
45595
+ }
45596
+ measureText() {
45597
+ return { width: 0 };
45598
+ }
45599
+ transform() {
45600
+ }
45601
+ rect() {
45602
+ }
45603
+ clip() {
45604
+ }
45605
+ };
45441
45606
  var MockCanvasElement = class extends MockHTMLElement {
45442
45607
  constructor(ownerDocument) {
45443
45608
  super(ownerDocument, "canvas");
45444
45609
  }
45445
- getContext() {
45446
- return {
45447
- fillRect() {
45448
- return;
45449
- },
45450
- clearRect() {
45451
- },
45452
- getImageData: function(_, __, w, h) {
45453
- return {
45454
- data: new Array(w * h * 4)
45455
- };
45456
- },
45457
- putImageData() {
45458
- },
45459
- createImageData: function() {
45460
- return [];
45461
- },
45462
- setTransform() {
45463
- },
45464
- drawImage() {
45465
- },
45466
- save() {
45467
- },
45468
- fillText() {
45469
- },
45470
- restore() {
45471
- },
45472
- beginPath() {
45473
- },
45474
- moveTo() {
45475
- },
45476
- lineTo() {
45477
- },
45478
- closePath() {
45479
- },
45480
- stroke() {
45481
- },
45482
- translate() {
45483
- },
45484
- scale() {
45485
- },
45486
- rotate() {
45487
- },
45488
- arc() {
45489
- },
45490
- fill() {
45491
- },
45492
- measureText() {
45493
- return { width: 0 };
45494
- },
45495
- transform() {
45496
- },
45497
- rect() {
45498
- },
45499
- clip() {
45500
- }
45501
- };
45610
+ getContext(context, contextAttributes) {
45611
+ return new CanvasRenderingContext(context, contextAttributes);
45502
45612
  }
45503
45613
  };
45504
45614
  function fullUrl(elm, attrName) {
@@ -45925,14 +46035,16 @@ var WINDOW_PROPS = [
45925
46035
  ];
45926
46036
  var GLOBAL_CONSTRUCTORS = [
45927
46037
  ["CustomEvent", MockCustomEvent],
46038
+ ["DocumentFragment", MockDocumentFragment],
46039
+ ["DOMParser", MockDOMParser],
45928
46040
  ["Event", MockEvent],
45929
- ["Headers", MockHeaders],
45930
46041
  ["FocusEvent", MockFocusEvent],
46042
+ ["Headers", MockHeaders],
45931
46043
  ["KeyboardEvent", MockKeyboardEvent],
45932
46044
  ["MouseEvent", MockMouseEvent],
45933
46045
  ["Request", MockRequest],
45934
46046
  ["Response", MockResponse],
45935
- ["DOMParser", MockDOMParser],
46047
+ ["ShadowRoot", MockDocumentFragment],
45936
46048
  ["HTMLAnchorElement", MockAnchorElement],
45937
46049
  ["HTMLBaseElement", MockBaseElement],
45938
46050
  ["HTMLButtonElement", MockButtonElement],
@@ -46143,6 +46255,7 @@ var nativeClearTimeout = clearTimeout;
46143
46255
  var nativeSetInterval = setInterval;
46144
46256
  var nativeSetTimeout = setTimeout;
46145
46257
  var nativeURL = URL;
46258
+ var nativeWindow = globalThis.window;
46146
46259
  var MockWindow = class {
46147
46260
  constructor(html = null) {
46148
46261
  if (html !== false) {
@@ -46169,10 +46282,10 @@ var MockWindow = class {
46169
46282
  blur() {
46170
46283
  }
46171
46284
  cancelAnimationFrame(id) {
46172
- this.__clearTimeout(id);
46285
+ this.__clearTimeout.call(nativeWindow || this, id);
46173
46286
  }
46174
46287
  cancelIdleCallback(id) {
46175
- this.__clearTimeout(id);
46288
+ this.__clearTimeout.call(nativeWindow || this, id);
46176
46289
  }
46177
46290
  get CharacterData() {
46178
46291
  if (this.__charDataCstr == null) {
@@ -46190,10 +46303,10 @@ var MockWindow = class {
46190
46303
  this.__charDataCstr = charDataCstr;
46191
46304
  }
46192
46305
  clearInterval(id) {
46193
- this.__clearInterval(id);
46306
+ this.__clearInterval.call(nativeWindow || this, id);
46194
46307
  }
46195
46308
  clearTimeout(id) {
46196
- this.__clearTimeout(id);
46309
+ this.__clearTimeout.call(nativeWindow || this, id);
46197
46310
  }
46198
46311
  close() {
46199
46312
  resetWindow(this);
@@ -46493,20 +46606,24 @@ var MockWindow = class {
46493
46606
  }
46494
46607
  return intervalId;
46495
46608
  }
46496
- const timeoutId = this.__setTimeout(() => {
46497
- if (this.__timeouts) {
46498
- this.__timeouts.delete(timeoutId);
46499
- try {
46500
- callback(...args);
46501
- } catch (e) {
46502
- if (this.console) {
46503
- this.console.error(e);
46504
- } else {
46505
- console.error(e);
46609
+ const timeoutId = this.__setTimeout.call(
46610
+ nativeWindow || this,
46611
+ () => {
46612
+ if (this.__timeouts) {
46613
+ this.__timeouts.delete(timeoutId);
46614
+ try {
46615
+ callback(...args);
46616
+ } catch (e) {
46617
+ if (this.console) {
46618
+ this.console.error(e);
46619
+ } else {
46620
+ console.error(e);
46621
+ }
46506
46622
  }
46507
46623
  }
46508
- }
46509
- }, ms);
46624
+ },
46625
+ ms
46626
+ );
46510
46627
  if (this.__timeouts) {
46511
46628
  this.__timeouts.add(timeoutId);
46512
46629
  }
@@ -46517,20 +46634,24 @@ var MockWindow = class {
46517
46634
  this.__timeouts = /* @__PURE__ */ new Set();
46518
46635
  }
46519
46636
  ms = Math.min(ms, this.__maxTimeout);
46520
- const timeoutId = this.__setTimeout(() => {
46521
- if (this.__timeouts) {
46522
- this.__timeouts.delete(timeoutId);
46523
- try {
46524
- callback(...args);
46525
- } catch (e) {
46526
- if (this.console) {
46527
- this.console.error(e);
46528
- } else {
46529
- console.error(e);
46637
+ const timeoutId = this.__setTimeout.call(
46638
+ nativeWindow || this,
46639
+ () => {
46640
+ if (this.__timeouts) {
46641
+ this.__timeouts.delete(timeoutId);
46642
+ try {
46643
+ callback(...args);
46644
+ } catch (e) {
46645
+ if (this.console) {
46646
+ this.console.error(e);
46647
+ } else {
46648
+ console.error(e);
46649
+ }
46530
46650
  }
46531
46651
  }
46532
- }
46533
- }, ms);
46652
+ },
46653
+ ms
46654
+ );
46534
46655
  if (this.__timeouts) {
46535
46656
  this.__timeouts.add(timeoutId);
46536
46657
  }
@@ -47105,7 +47226,6 @@ function createWindowFromHtml(templateHtml, uniqueId) {
47105
47226
 
47106
47227
  // src/utils/helpers.ts
47107
47228
  var isString = (v) => typeof v === "string";
47108
- var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function") && typeof v.then === "function";
47109
47229
 
47110
47230
  // src/utils/message-utils.ts
47111
47231
  var catchError = (diagnostics, err2, msg) => {
@@ -47196,6 +47316,7 @@ var unwrapErr = (result) => {
47196
47316
 
47197
47317
  // src/compiler/html/canonical-link.ts
47198
47318
  var updateCanonicalLink = (doc, href) => {
47319
+ var _a2;
47199
47320
  let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
47200
47321
  if (typeof href === "string") {
47201
47322
  if (canonicalLinkElm == null) {
@@ -47208,7 +47329,7 @@ var updateCanonicalLink = (doc, href) => {
47208
47329
  if (canonicalLinkElm != null) {
47209
47330
  const existingHref = canonicalLinkElm.getAttribute("href");
47210
47331
  if (!existingHref) {
47211
- canonicalLinkElm.parentNode.removeChild(canonicalLinkElm);
47332
+ (_a2 = canonicalLinkElm.parentNode) == null ? void 0 : _a2.removeChild(canonicalLinkElm);
47212
47333
  }
47213
47334
  }
47214
47335
  }
@@ -48242,10 +48363,10 @@ function renderBuildDiagnostic(results, level, header, msg) {
48242
48363
  return diagnostic;
48243
48364
  }
48244
48365
  function renderBuildError(results, msg) {
48245
- return renderBuildDiagnostic(results, "error", "Hydrate Error", msg);
48366
+ return renderBuildDiagnostic(results, "error", "Hydrate Error", msg || "");
48246
48367
  }
48247
48368
  function renderCatchError(results, err2) {
48248
- const diagnostic = renderBuildError(results, null);
48369
+ const diagnostic = renderBuildError(results);
48249
48370
  if (err2 != null) {
48250
48371
  if (err2.stack != null) {
48251
48372
  diagnostic.messageText = err2.stack.toString();
@@ -48307,10 +48428,11 @@ function runtimeLog(pathname, type, msgs) {
48307
48428
 
48308
48429
  // src/hydrate/runner/window-initialize.ts
48309
48430
  function initializeWindow(win, doc, opts, results) {
48310
- try {
48311
- win.location.href = opts.url;
48312
- } catch (e) {
48313
- renderCatchError(results, e);
48431
+ if (typeof opts.url === "string") {
48432
+ try {
48433
+ win.location.href = opts.url;
48434
+ } catch (e) {
48435
+ }
48314
48436
  }
48315
48437
  if (typeof opts.userAgent === "string") {
48316
48438
  try {
@@ -48360,134 +48482,99 @@ function initializeWindow(win, doc, opts, results) {
48360
48482
  }
48361
48483
 
48362
48484
  // src/hydrate/runner/render.ts
48363
- function renderToString(html, options) {
48485
+ var NOOP = () => {
48486
+ };
48487
+ function streamToString(html, option) {
48488
+ return renderToString(html, option, true);
48489
+ }
48490
+ function renderToString(html, options, asStream) {
48364
48491
  const opts = normalizeHydrateOptions(options);
48365
48492
  opts.serializeToHtml = true;
48366
- return new Promise((resolve) => {
48367
- let win;
48368
- const results = generateHydrateResults(opts);
48369
- if (hasError(results.diagnostics)) {
48370
- resolve(results);
48371
- } else if (typeof html === "string") {
48372
- try {
48373
- opts.destroyWindow = true;
48374
- opts.destroyDocument = true;
48375
- win = new MockWindow(html);
48376
- render(win, opts, results, resolve);
48377
- } catch (e) {
48378
- if (win && win.close) {
48379
- win.close();
48380
- }
48381
- win = null;
48382
- renderCatchError(results, e);
48383
- resolve(results);
48493
+ opts.fullDocument = typeof opts.fullDocument === "boolean" ? opts.fullDocument : true;
48494
+ opts.serializeShadowRoot = Boolean(opts.serializeShadowRoot);
48495
+ opts.constrainTimeouts = false;
48496
+ return hydrateDocument(html, opts, asStream);
48497
+ }
48498
+ function hydrateDocument(doc, options, asStream) {
48499
+ const opts = normalizeHydrateOptions(options);
48500
+ let win = null;
48501
+ const results = generateHydrateResults(opts);
48502
+ if (hasError(results.diagnostics)) {
48503
+ return Promise.resolve(results);
48504
+ }
48505
+ if (typeof doc === "string") {
48506
+ try {
48507
+ opts.destroyWindow = true;
48508
+ opts.destroyDocument = true;
48509
+ win = new MockWindow(doc);
48510
+ if (!asStream) {
48511
+ return render(win, opts, results).then(() => results);
48384
48512
  }
48385
- } else if (isValidDocument(html)) {
48386
- try {
48387
- opts.destroyDocument = false;
48388
- win = patchDomImplementation(html, opts);
48389
- render(win, opts, results, resolve);
48390
- } catch (e) {
48391
- if (win && win.close) {
48392
- win.close();
48393
- }
48394
- win = null;
48395
- renderCatchError(results, e);
48396
- resolve(results);
48513
+ return renderStream(win, opts, results);
48514
+ } catch (e) {
48515
+ if (win && win.close) {
48516
+ win.close();
48397
48517
  }
48398
- } else {
48399
- renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48400
- resolve(results);
48518
+ win = null;
48519
+ renderCatchError(results, e);
48520
+ return Promise.resolve(results);
48401
48521
  }
48402
- });
48403
- }
48404
- function hydrateDocument(doc, options) {
48405
- const opts = normalizeHydrateOptions(options);
48406
- opts.serializeToHtml = false;
48407
- return new Promise((resolve) => {
48408
- let win;
48409
- const results = generateHydrateResults(opts);
48410
- if (hasError(results.diagnostics)) {
48411
- resolve(results);
48412
- } else if (typeof doc === "string") {
48413
- try {
48414
- opts.destroyWindow = true;
48415
- opts.destroyDocument = true;
48416
- win = new MockWindow(doc);
48417
- render(win, opts, results, resolve);
48418
- } catch (e) {
48419
- if (win && win.close) {
48420
- win.close();
48421
- }
48422
- win = null;
48423
- renderCatchError(results, e);
48424
- resolve(results);
48522
+ }
48523
+ if (isValidDocument(doc)) {
48524
+ try {
48525
+ opts.destroyDocument = false;
48526
+ win = patchDomImplementation(doc, opts);
48527
+ if (!asStream) {
48528
+ return render(win, opts, results).then(() => results);
48425
48529
  }
48426
- } else if (isValidDocument(doc)) {
48427
- try {
48428
- opts.destroyDocument = false;
48429
- win = patchDomImplementation(doc, opts);
48430
- render(win, opts, results, resolve);
48431
- } catch (e) {
48432
- if (win && win.close) {
48433
- win.close();
48434
- }
48435
- win = null;
48436
- renderCatchError(results, e);
48437
- resolve(results);
48530
+ return renderStream(win, opts, results);
48531
+ } catch (e) {
48532
+ if (win && win.close) {
48533
+ win.close();
48438
48534
  }
48439
- } else {
48440
- renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48441
- resolve(results);
48535
+ win = null;
48536
+ renderCatchError(results, e);
48537
+ return Promise.resolve(results);
48442
48538
  }
48443
- });
48539
+ }
48540
+ renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48541
+ return Promise.resolve(results);
48444
48542
  }
48445
- function render(win, opts, results, resolve) {
48446
- if (!process.__stencilErrors) {
48543
+ async function render(win, opts, results) {
48544
+ if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
48447
48545
  process.__stencilErrors = true;
48448
48546
  process.on("unhandledRejection", (e) => {
48449
48547
  console.log("unhandledRejection", e);
48450
48548
  });
48451
48549
  }
48452
48550
  initializeWindow(win, win.document, opts, results);
48453
- if (typeof opts.beforeHydrate === "function") {
48454
- try {
48455
- const rtn = opts.beforeHydrate(win.document);
48456
- if (isPromise(rtn)) {
48457
- rtn.then(() => {
48458
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48459
- });
48460
- } else {
48461
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48462
- }
48463
- } catch (e) {
48464
- renderCatchError(results, e);
48465
- finalizeHydrate(win, win.document, opts, results, resolve);
48466
- }
48467
- } else {
48468
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48551
+ const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate(win.document) : NOOP;
48552
+ try {
48553
+ await Promise.resolve(beforeHydrateFn(win.document));
48554
+ return new Promise((resolve) => hydrateFactory(win, opts, results, afterHydrate, resolve));
48555
+ } catch (e) {
48556
+ renderCatchError(results, e);
48557
+ return finalizeHydrate(win, win.document, opts, results);
48469
48558
  }
48470
48559
  }
48471
- function afterHydrate(win, opts, results, resolve) {
48472
- if (typeof opts.afterHydrate === "function") {
48473
- try {
48474
- const rtn = opts.afterHydrate(win.document);
48475
- if (isPromise(rtn)) {
48476
- rtn.then(() => {
48477
- finalizeHydrate(win, win.document, opts, results, resolve);
48478
- });
48479
- } else {
48480
- finalizeHydrate(win, win.document, opts, results, resolve);
48481
- }
48482
- } catch (e) {
48483
- renderCatchError(results, e);
48484
- finalizeHydrate(win, win.document, opts, results, resolve);
48485
- }
48486
- } else {
48487
- finalizeHydrate(win, win.document, opts, results, resolve);
48560
+ function renderStream(win, opts, results) {
48561
+ async function* processRender() {
48562
+ const renderResult = await render(win, opts, results);
48563
+ yield renderResult.html;
48564
+ }
48565
+ return stream.Readable.from(processRender());
48566
+ }
48567
+ async function afterHydrate(win, opts, results, resolve) {
48568
+ const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate(win.document) : NOOP;
48569
+ try {
48570
+ await Promise.resolve(afterHydrateFn(win.document));
48571
+ return resolve(finalizeHydrate(win, win.document, opts, results));
48572
+ } catch (e) {
48573
+ renderCatchError(results, e);
48574
+ return resolve(finalizeHydrate(win, win.document, opts, results));
48488
48575
  }
48489
48576
  }
48490
- function finalizeHydrate(win, doc, opts, results, resolve) {
48577
+ function finalizeHydrate(win, doc, opts, results) {
48491
48578
  try {
48492
48579
  inspectElement(results, doc.documentElement, 0);
48493
48580
  if (opts.removeUnusedStyles !== false) {
@@ -48539,20 +48626,24 @@ function finalizeHydrate(win, doc, opts, results, resolve) {
48539
48626
  } catch (e) {
48540
48627
  renderCatchError(results, e);
48541
48628
  }
48542
- if (opts.destroyWindow) {
48543
- try {
48544
- if (!opts.destroyDocument) {
48545
- win.document = null;
48546
- doc.defaultView = null;
48547
- }
48548
- if (win.close) {
48549
- win.close();
48550
- }
48551
- } catch (e) {
48552
- renderCatchError(results, e);
48629
+ destroyWindow(win, doc, opts, results);
48630
+ return results;
48631
+ }
48632
+ function destroyWindow(win, doc, opts, results) {
48633
+ if (!opts.destroyWindow) {
48634
+ return;
48635
+ }
48636
+ try {
48637
+ if (!opts.destroyDocument) {
48638
+ win.document = null;
48639
+ doc.defaultView = null;
48640
+ }
48641
+ if (win.close) {
48642
+ win.close();
48553
48643
  }
48644
+ } catch (e) {
48645
+ renderCatchError(results, e);
48554
48646
  }
48555
- resolve(results);
48556
48647
  }
48557
48648
  function serializeDocumentToString(doc, opts) {
48558
48649
  return serializeNodeToHtml(doc, {
@@ -48563,7 +48654,8 @@ function serializeDocumentToString(doc, opts) {
48563
48654
  removeBooleanAttributeQuotes: opts.removeBooleanAttributeQuotes,
48564
48655
  removeEmptyAttributes: opts.removeEmptyAttributes,
48565
48656
  removeHtmlComments: opts.removeHtmlComments,
48566
- serializeShadowRoot: false
48657
+ serializeShadowRoot: opts.serializeShadowRoot,
48658
+ fullDocument: opts.fullDocument
48567
48659
  });
48568
48660
  }
48569
48661
  function isValidDocument(doc) {
@@ -48584,3 +48676,4 @@ exports.createWindowFromHtml = createWindowFromHtml;
48584
48676
  exports.hydrateDocument = hydrateDocument;
48585
48677
  exports.renderToString = renderToString;
48586
48678
  exports.serializeDocumentToString = serializeDocumentToString;
48679
+ exports.streamToString = streamToString;