@ionic/core 8.2.3-nightly.20240625 → 8.2.3

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 (775) hide show
  1. package/components/item.js +3 -3
  2. package/dist/cjs/{app-globals-64aa7919.js → app-globals-fa7f31d6.js} +1 -1
  3. package/dist/cjs/{button-active-b75108e6.js → button-active-24593fe7.js} +1 -1
  4. package/dist/cjs/{hardware-back-button-9931602c.js → hardware-back-button-afaf185c.js} +2 -2
  5. package/dist/cjs/{index-63e64bb7.js → index-28e4e7aa.js} +2 -2
  6. package/dist/cjs/{index-7f6ce0b7.js → index-cbd1dbd9.js} +185 -170
  7. package/dist/cjs/{index-8a653282.js → index-e2659e6c.js} +4 -4
  8. package/dist/cjs/index.cjs.js +8 -8
  9. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  10. package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
  11. package/dist/cjs/ion-alert.cjs.entry.js +5 -5
  12. package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
  13. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  14. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  15. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  16. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  17. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  18. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  21. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  22. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  23. package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
  24. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  27. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
  31. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  32. package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
  33. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  34. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  35. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  38. package/dist/cjs/ion-popover.cjs.entry.js +5 -5
  39. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  42. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  49. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  50. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  52. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  53. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  55. package/dist/cjs/ion-toast.cjs.entry.js +4 -4
  56. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  57. package/dist/cjs/{ionic-global-46459c38.js → ionic-global-965d38d0.js} +1 -1
  58. package/dist/cjs/ionic.cjs.js +5 -5
  59. package/dist/cjs/{ios.transition-d94b6863.js → ios.transition-6e9c7e9b.js} +3 -3
  60. package/dist/cjs/loader.cjs.js +4 -4
  61. package/dist/cjs/{md.transition-297be114.js → md.transition-a9d8f0eb.js} +3 -3
  62. package/dist/cjs/{overlays-569f7878.js → overlays-cc4ac193.js} +2 -2
  63. package/dist/cjs/{status-tap-607c6244.js → status-tap-f0912d4a.js} +1 -1
  64. package/dist/collection/collection-manifest.json +1 -1
  65. package/dist/collection/components/item/item.js +3 -3
  66. package/dist/docs.json +3 -3
  67. package/dist/esm/{app-globals-232dc3ed.js → app-globals-a53a506f.js} +1 -1
  68. package/dist/esm/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
  69. package/dist/esm/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +2 -2
  70. package/dist/esm/{index-c8c3afda.js → index-1d0629cf.js} +2 -2
  71. package/dist/esm/{index-92f14156.js → index-2f8c4022.js} +4 -4
  72. package/dist/esm/{index-c71c5417.js → index-e06ef154.js} +185 -170
  73. package/dist/esm/index.js +8 -8
  74. package/dist/esm/ion-accordion_2.entry.js +2 -2
  75. package/dist/esm/ion-action-sheet.entry.js +5 -5
  76. package/dist/esm/ion-alert.entry.js +5 -5
  77. package/dist/esm/ion-app_8.entry.js +6 -6
  78. package/dist/esm/ion-avatar_3.entry.js +2 -2
  79. package/dist/esm/ion-back-button.entry.js +2 -2
  80. package/dist/esm/ion-backdrop.entry.js +2 -2
  81. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  82. package/dist/esm/ion-button_2.entry.js +2 -2
  83. package/dist/esm/ion-card_5.entry.js +2 -2
  84. package/dist/esm/ion-checkbox.entry.js +2 -2
  85. package/dist/esm/ion-chip.entry.js +2 -2
  86. package/dist/esm/ion-col_3.entry.js +2 -2
  87. package/dist/esm/ion-datetime-button.entry.js +2 -2
  88. package/dist/esm/ion-datetime_3.entry.js +4 -4
  89. package/dist/esm/ion-fab_3.entry.js +2 -2
  90. package/dist/esm/ion-img.entry.js +2 -2
  91. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  92. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  93. package/dist/esm/ion-input.entry.js +2 -2
  94. package/dist/esm/ion-item-option_3.entry.js +2 -2
  95. package/dist/esm/ion-item_8.entry.js +4 -4
  96. package/dist/esm/ion-loading.entry.js +4 -4
  97. package/dist/esm/ion-menu_3.entry.js +5 -5
  98. package/dist/esm/ion-modal.entry.js +5 -5
  99. package/dist/esm/ion-nav_2.entry.js +3 -3
  100. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  101. package/dist/esm/ion-picker-column.entry.js +2 -2
  102. package/dist/esm/ion-picker.entry.js +1 -1
  103. package/dist/esm/ion-popover.entry.js +5 -5
  104. package/dist/esm/ion-progress-bar.entry.js +2 -2
  105. package/dist/esm/ion-radio_2.entry.js +2 -2
  106. package/dist/esm/ion-range.entry.js +2 -2
  107. package/dist/esm/ion-refresher_2.entry.js +2 -2
  108. package/dist/esm/ion-reorder_2.entry.js +2 -2
  109. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  110. package/dist/esm/ion-route_4.entry.js +2 -2
  111. package/dist/esm/ion-searchbar.entry.js +2 -2
  112. package/dist/esm/ion-segment_2.entry.js +2 -2
  113. package/dist/esm/ion-select_3.entry.js +4 -4
  114. package/dist/esm/ion-spinner.entry.js +2 -2
  115. package/dist/esm/ion-split-pane.entry.js +2 -2
  116. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  117. package/dist/esm/ion-tab_2.entry.js +1 -1
  118. package/dist/esm/ion-text.entry.js +2 -2
  119. package/dist/esm/ion-textarea.entry.js +2 -2
  120. package/dist/esm/ion-toast.entry.js +4 -4
  121. package/dist/esm/ion-toggle.entry.js +2 -2
  122. package/dist/esm/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
  123. package/dist/esm/ionic.js +6 -6
  124. package/dist/esm/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +3 -3
  125. package/dist/esm/loader.js +5 -5
  126. package/dist/esm/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +3 -3
  127. package/dist/esm/{overlays-0d212972.js → overlays-6e1a7f53.js} +2 -2
  128. package/dist/esm/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
  129. package/dist/esm-es5/app-globals-a53a506f.js +4 -0
  130. package/dist/esm-es5/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
  131. package/dist/esm-es5/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +1 -1
  132. package/dist/esm-es5/{index-c8c3afda.js → index-1d0629cf.js} +1 -1
  133. package/dist/esm-es5/{index-92f14156.js → index-2f8c4022.js} +1 -1
  134. package/dist/esm-es5/index-e06ef154.js +5 -0
  135. package/dist/esm-es5/index.js +1 -1
  136. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  137. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  138. package/dist/esm-es5/ion-alert.entry.js +1 -1
  139. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  140. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  141. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  142. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  143. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  144. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  145. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  146. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  147. package/dist/esm-es5/ion-chip.entry.js +1 -1
  148. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  149. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  150. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  151. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  152. package/dist/esm-es5/ion-img.entry.js +1 -1
  153. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  154. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  155. package/dist/esm-es5/ion-input.entry.js +1 -1
  156. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  157. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  158. package/dist/esm-es5/ion-loading.entry.js +1 -1
  159. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  160. package/dist/esm-es5/ion-modal.entry.js +1 -1
  161. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  162. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  163. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  164. package/dist/esm-es5/ion-picker.entry.js +1 -1
  165. package/dist/esm-es5/ion-popover.entry.js +1 -1
  166. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  167. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  168. package/dist/esm-es5/ion-range.entry.js +1 -1
  169. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  170. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  171. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  172. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  173. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  174. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  175. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  176. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  177. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  178. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  179. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  180. package/dist/esm-es5/ion-text.entry.js +1 -1
  181. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  182. package/dist/esm-es5/ion-toast.entry.js +1 -1
  183. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  184. package/dist/esm-es5/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
  185. package/dist/esm-es5/ionic.js +1 -1
  186. package/dist/esm-es5/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +1 -1
  187. package/dist/esm-es5/loader.js +1 -1
  188. package/dist/esm-es5/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +1 -1
  189. package/dist/esm-es5/{overlays-0d212972.js → overlays-6e1a7f53.js} +1 -1
  190. package/dist/esm-es5/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
  191. package/dist/ionic/index.esm.js +1 -1
  192. package/dist/ionic/ionic.esm.js +1 -1
  193. package/dist/ionic/ionic.js +1 -1
  194. package/dist/ionic/{p-dbee9e95.system.entry.js → p-032df8ba.system.entry.js} +1 -1
  195. package/dist/ionic/{p-94c6f6ab.system.entry.js → p-05cc8aee.system.entry.js} +1 -1
  196. package/dist/ionic/{p-18fd2107.entry.js → p-06ebecaf.entry.js} +1 -1
  197. package/dist/ionic/{p-266db4b6.entry.js → p-083bbf52.entry.js} +1 -1
  198. package/dist/ionic/{p-3a0091c2.system.entry.js → p-0be9ba18.system.entry.js} +1 -1
  199. package/dist/ionic/{p-943bc98f.system.entry.js → p-0ddd9286.system.entry.js} +1 -1
  200. package/dist/ionic/{p-e12d7323.entry.js → p-12292d37.entry.js} +1 -1
  201. package/dist/ionic/{p-6c76eff8.system.entry.js → p-127dfa94.system.entry.js} +2 -2
  202. package/dist/ionic/{p-b1e856df.entry.js → p-1304b2f4.entry.js} +1 -1
  203. package/dist/ionic/{p-d7b97091.entry.js → p-144b1092.entry.js} +1 -1
  204. package/dist/ionic/{p-705c21cb.system.entry.js → p-14b28c4d.system.entry.js} +1 -1
  205. package/dist/ionic/{p-a688052d.system.js → p-187ca590.system.js} +1 -1
  206. package/dist/ionic/{p-65fd47cb.system.entry.js → p-1bb21eb2.system.entry.js} +2 -2
  207. package/dist/ionic/{p-bbc5329a.system.entry.js → p-1c9205c6.system.entry.js} +1 -1
  208. package/dist/ionic/{p-624e1ca6.system.js → p-1df99167.system.js} +1 -1
  209. package/dist/ionic/{p-ed72bc6c.system.entry.js → p-1e9bc4e0.system.entry.js} +1 -1
  210. package/dist/ionic/{p-00333e13.js → p-200c7b0a.js} +1 -1
  211. package/dist/ionic/{p-5f2dc7f9.entry.js → p-21c31c91.entry.js} +1 -1
  212. package/dist/ionic/{p-796cfde4.entry.js → p-2212b3dd.entry.js} +1 -1
  213. package/dist/ionic/{p-98f199c6.system.entry.js → p-251e35bf.system.entry.js} +1 -1
  214. package/dist/ionic/{p-66621486.system.entry.js → p-29e70980.system.entry.js} +1 -1
  215. package/dist/ionic/{p-733db888.entry.js → p-2b50ae21.entry.js} +1 -1
  216. package/dist/ionic/{p-df3ebee9.system.entry.js → p-2f51a59e.system.entry.js} +1 -1
  217. package/dist/ionic/{p-ab27a195.system.entry.js → p-3251f335.system.entry.js} +1 -1
  218. package/dist/ionic/{p-2b13fb8c.entry.js → p-3289aa03.entry.js} +1 -1
  219. package/dist/ionic/{p-d820d1f1.entry.js → p-368bd8e0.entry.js} +1 -1
  220. package/dist/ionic/{p-3c1b674f.entry.js → p-36d47091.entry.js} +1 -1
  221. package/dist/ionic/{p-eaed7394.entry.js → p-38857824.entry.js} +1 -1
  222. package/dist/ionic/{p-60eb4c0d.system.entry.js → p-3b3d4722.system.entry.js} +1 -1
  223. package/dist/ionic/{p-1a0848af.system.entry.js → p-3fc4ade9.system.entry.js} +1 -1
  224. package/dist/ionic/{p-fa2abaef.entry.js → p-46453157.entry.js} +1 -1
  225. package/dist/ionic/{p-75cb6744.system.js → p-4a56ed61.system.js} +1 -1
  226. package/dist/ionic/{p-05bbe79d.entry.js → p-4b9f2be3.entry.js} +1 -1
  227. package/dist/ionic/{p-d2293261.system.entry.js → p-4e71d73a.system.entry.js} +1 -1
  228. package/dist/ionic/{p-184fc032.system.js → p-504b58cb.system.js} +1 -1
  229. package/dist/ionic/{p-cdddc32e.entry.js → p-5172d29f.entry.js} +1 -1
  230. package/dist/ionic/{p-646d46b1.entry.js → p-541189ff.entry.js} +1 -1
  231. package/dist/ionic/{p-e4587da1.js → p-571b616a.js} +1 -1
  232. package/dist/ionic/p-597849ee.entry.js +4 -0
  233. package/dist/ionic/p-59da9e8c.entry.js +4 -0
  234. package/dist/ionic/p-5cf05ae4.system.js +4 -0
  235. package/dist/ionic/{p-e08fb9c2.system.entry.js → p-5d030f7f.system.entry.js} +1 -1
  236. package/dist/ionic/{p-6ee1e402.system.js → p-619129e1.system.js} +1 -1
  237. package/dist/ionic/{p-8d3e57a0.system.entry.js → p-635c947e.system.entry.js} +1 -1
  238. package/dist/ionic/{p-4d6b6aef.system.entry.js → p-63ad45da.system.entry.js} +1 -1
  239. package/dist/ionic/{p-1731ab58.system.entry.js → p-646ecffd.system.entry.js} +1 -1
  240. package/dist/ionic/{p-52df00b5.entry.js → p-64c31fa6.entry.js} +1 -1
  241. package/dist/ionic/{p-64e15640.system.entry.js → p-660aa713.system.entry.js} +1 -1
  242. package/dist/ionic/{p-1cebad78.system.entry.js → p-6621dd27.system.entry.js} +1 -1
  243. package/dist/ionic/{p-4f610234.entry.js → p-662a0f75.entry.js} +1 -1
  244. package/dist/ionic/{p-5b121ea3.system.entry.js → p-6859acef.system.entry.js} +1 -1
  245. package/dist/ionic/{p-da0001cd.system.entry.js → p-704d249b.system.entry.js} +1 -1
  246. package/dist/ionic/{p-f3ff1e58.entry.js → p-712f4ef9.entry.js} +1 -1
  247. package/dist/ionic/{p-1e2b2b60.entry.js → p-71d0f3b5.entry.js} +1 -1
  248. package/dist/ionic/{p-4d7ab66a.system.entry.js → p-724156b4.system.entry.js} +1 -1
  249. package/dist/ionic/{p-d2753e35.js → p-72a09ad4.js} +1 -1
  250. package/dist/ionic/{p-ef1c5743.entry.js → p-751d9583.entry.js} +1 -1
  251. package/dist/ionic/{p-a3aaeca8.system.entry.js → p-7708f99f.system.entry.js} +1 -1
  252. package/dist/ionic/{p-ac34105e.entry.js → p-77a18aee.entry.js} +1 -1
  253. package/dist/ionic/{p-5bbd2b10.entry.js → p-77db4711.entry.js} +1 -1
  254. package/dist/ionic/{p-ccab4d05.system.entry.js → p-78b156e3.system.entry.js} +1 -1
  255. package/dist/ionic/{p-418ad596.entry.js → p-7975ca12.entry.js} +1 -1
  256. package/dist/ionic/{p-c5477854.system.entry.js → p-7e1e459c.system.entry.js} +1 -1
  257. package/dist/ionic/{p-af9d3f33.entry.js → p-8211deec.entry.js} +1 -1
  258. package/dist/ionic/{p-8ee5c5bf.js → p-84fabe48.js} +1 -1
  259. package/dist/ionic/{p-b6fe4a42.entry.js → p-86b152cd.entry.js} +1 -1
  260. package/dist/ionic/{p-f181073a.entry.js → p-880030e5.entry.js} +1 -1
  261. package/dist/ionic/{p-c91c13d2.js → p-8bbc2e78.js} +1 -1
  262. package/dist/ionic/{p-68f01c55.system.entry.js → p-8c4a8b15.system.entry.js} +1 -1
  263. package/dist/ionic/{p-5d6e77bd.system.entry.js → p-8cb94ab0.system.entry.js} +1 -1
  264. package/dist/ionic/{p-38c67b66.system.entry.js → p-8d781910.system.entry.js} +1 -1
  265. package/dist/ionic/{p-0769896d.system.entry.js → p-8fb9a997.system.entry.js} +1 -1
  266. package/dist/ionic/{p-6ad705f8.system.js → p-98701ffb.system.js} +1 -1
  267. package/dist/ionic/{p-6167004c.system.entry.js → p-9b0315b8.system.entry.js} +1 -1
  268. package/dist/ionic/{p-13260c59.entry.js → p-9c328f29.entry.js} +1 -1
  269. package/dist/ionic/{p-c1859486.system.js → p-9f25dac5.system.js} +1 -1
  270. package/dist/ionic/{p-3886b5d0.entry.js → p-9f66851e.entry.js} +1 -1
  271. package/dist/ionic/{p-eb8098d5.system.entry.js → p-a13d5fdc.system.entry.js} +1 -1
  272. package/dist/ionic/p-a29432a7.system.js +5 -0
  273. package/dist/ionic/p-a4869688.js +4 -0
  274. package/dist/ionic/{p-3ea44c31.system.entry.js → p-a5b7a083.system.entry.js} +1 -1
  275. package/dist/ionic/{p-e6a47e94.entry.js → p-a790dcd8.entry.js} +1 -1
  276. package/dist/ionic/{p-1de7f9e4.entry.js → p-ab11f574.entry.js} +1 -1
  277. package/dist/ionic/{p-68e5bec9.system.entry.js → p-af19e2b0.system.entry.js} +1 -1
  278. package/dist/ionic/{p-617caf82.entry.js → p-af4e7c44.entry.js} +1 -1
  279. package/dist/ionic/{p-9f5f3485.js → p-b27b19c5.js} +1 -1
  280. package/dist/ionic/p-b5feddc3.js +5 -0
  281. package/dist/ionic/{p-72ee2cd6.entry.js → p-bf602e15.entry.js} +1 -1
  282. package/dist/ionic/p-c0b66c05.entry.js +4 -0
  283. package/dist/ionic/{p-9690c79d.system.entry.js → p-c22a5a42.system.entry.js} +1 -1
  284. package/dist/ionic/{p-7a86bd75.js → p-c5904db9.js} +1 -1
  285. package/dist/ionic/{p-b9fcfe50.system.js → p-ca09cfeb.system.js} +1 -1
  286. package/dist/ionic/{p-9286b16d.system.entry.js → p-ca370b5c.system.entry.js} +1 -1
  287. package/dist/ionic/{p-666583e1.system.entry.js → p-cc5d299d.system.entry.js} +1 -1
  288. package/dist/ionic/{p-5c22c8fa.system.js → p-cf0cb1fe.system.js} +1 -1
  289. package/dist/ionic/{p-17c10451.system.entry.js → p-d043806a.system.entry.js} +1 -1
  290. package/dist/ionic/{p-13d3abce.system.entry.js → p-d3a59491.system.entry.js} +1 -1
  291. package/dist/ionic/{p-d2db72d1.entry.js → p-d82e2857.entry.js} +1 -1
  292. package/dist/ionic/{p-c350c8f8.system.entry.js → p-dd0f72f1.system.entry.js} +1 -1
  293. package/dist/ionic/{p-6cf5d476.system.js → p-e0c85680.system.js} +1 -1
  294. package/dist/ionic/{p-56cb7d41.entry.js → p-e1693e82.entry.js} +1 -1
  295. package/dist/ionic/{p-d5f62e4e.entry.js → p-e1accd5b.entry.js} +1 -1
  296. package/dist/ionic/{p-3dba7283.entry.js → p-e3407e40.entry.js} +1 -1
  297. package/dist/ionic/{p-738cb3bd.entry.js → p-e43c3327.entry.js} +1 -1
  298. package/dist/ionic/{p-cb5d9dd4.entry.js → p-e549747a.entry.js} +1 -1
  299. package/dist/ionic/{p-ecf5f3e0.entry.js → p-e6114d2e.entry.js} +1 -1
  300. package/dist/ionic/{p-591528fc.entry.js → p-e72ce03d.entry.js} +1 -1
  301. package/dist/ionic/{p-b7fa6074.js → p-e7a7a142.js} +1 -1
  302. package/dist/ionic/{p-4c3d1c73.entry.js → p-e8a328c9.entry.js} +1 -1
  303. package/dist/ionic/{p-a07f9cb7.system.entry.js → p-e8fd9c89.system.entry.js} +1 -1
  304. package/dist/ionic/{p-f52c2d9a.entry.js → p-e97b8dc6.entry.js} +1 -1
  305. package/dist/ionic/{p-7a43878b.system.js → p-f2103451.system.js} +1 -1
  306. package/dist/ionic/{p-2e7673a0.system.entry.js → p-f3bbe501.system.entry.js} +1 -1
  307. package/dist/ionic/{p-395a0dd7.js → p-f5d40d6e.js} +1 -1
  308. package/dist/ionic/{p-26e469a2.system.entry.js → p-f7508243.system.entry.js} +1 -1
  309. package/dist/ionic/{p-ea4f2b31.entry.js → p-f7f0eb36.entry.js} +1 -1
  310. package/dist/ionic/{p-d9e26540.system.entry.js → p-f85fc0e3.system.entry.js} +1 -1
  311. package/dist/ionic/{p-94953ea1.system.entry.js → p-fa058cd0.system.entry.js} +1 -1
  312. package/dist/ionic/{p-7f84a4c8.system.entry.js → p-fd108dce.system.entry.js} +1 -1
  313. package/dist/ionic/{p-d529141b.entry.js → p-feb153ae.entry.js} +1 -1
  314. package/dist/types/stencil-public-runtime.d.ts +0 -2
  315. package/hydrate/index.d.ts +29 -11
  316. package/hydrate/index.js +306 -298
  317. package/hydrate/index.mjs +48653 -0
  318. package/hydrate/package.json +7 -1
  319. package/loader/index.d.ts +3 -0
  320. package/package.json +2 -2
  321. package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
  322. package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
  323. package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
  324. package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
  325. package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
  326. package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
  327. package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
  328. package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
  329. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
  330. package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
  331. package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
  332. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
  333. package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
  334. package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
  335. package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
  336. package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
  337. package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
  338. package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
  339. package/dist/collection/components/alert/test/alert.spec.js +0 -37
  340. package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
  341. package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
  342. package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
  343. package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
  344. package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
  345. package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
  346. package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
  347. package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
  348. package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
  349. package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
  350. package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
  351. package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
  352. package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
  353. package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
  354. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
  355. package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
  356. package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
  357. package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
  358. package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
  359. package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
  360. package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
  361. package/dist/collection/components/button/test/clear/button.e2e.js +0 -14
  362. package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
  363. package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
  364. package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
  365. package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
  366. package/dist/collection/components/button/test/outline/button.e2e.js +0 -14
  367. package/dist/collection/components/button/test/round/button.e2e.js +0 -52
  368. package/dist/collection/components/button/test/size/button.e2e.js +0 -43
  369. package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
  370. package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
  371. package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
  372. package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
  373. package/dist/collection/components/card/test/aria.spec.js +0 -16
  374. package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
  375. package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
  376. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
  377. package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -87
  378. package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
  379. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
  380. package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
  381. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
  382. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
  383. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -37
  384. package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
  385. package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
  386. package/dist/collection/components/chip/test/states/chip.e2e.js +0 -35
  387. package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
  388. package/dist/collection/components/content/test/content.spec.js +0 -27
  389. package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
  390. package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
  391. package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
  392. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
  393. package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
  394. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
  395. package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
  396. package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
  397. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
  398. package/dist/collection/components/datetime/test/data.spec.js +0 -456
  399. package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
  400. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
  401. package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
  402. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
  403. package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
  404. package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
  405. package/dist/collection/components/datetime/test/format.spec.js +0 -174
  406. package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
  407. package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
  408. package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
  409. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
  410. package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
  411. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
  412. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
  413. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
  414. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
  415. package/dist/collection/components/datetime/test/parse.spec.js +0 -222
  416. package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
  417. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
  418. package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
  419. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
  420. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
  421. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
  422. package/dist/collection/components/datetime/test/state.spec.js +0 -114
  423. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
  424. package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
  425. package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
  426. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
  427. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
  428. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
  429. package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
  430. package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
  431. package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
  432. package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
  433. package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
  434. package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
  435. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
  436. package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
  437. package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
  438. package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
  439. package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
  440. package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
  441. package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
  442. package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
  443. package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
  444. package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
  445. package/dist/collection/components/header/test/basic/header.e2e.js +0 -147
  446. package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
  447. package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
  448. package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
  449. package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
  450. package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
  451. package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
  452. package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
  453. package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
  454. package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
  455. package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
  456. package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
  457. package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
  458. package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
  459. package/dist/collection/components/input/test/basic/input.e2e.js +0 -102
  460. package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -145
  461. package/dist/collection/components/input/test/card/input.e2e.js +0 -22
  462. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
  463. package/dist/collection/components/input/test/color/input.e2e.js +0 -130
  464. package/dist/collection/components/input/test/fill/input.e2e.js +0 -203
  465. package/dist/collection/components/input/test/highlight/input.e2e.js +0 -300
  466. package/dist/collection/components/input/test/input.e2e.js +0 -17
  467. package/dist/collection/components/input/test/input.spec.js +0 -98
  468. package/dist/collection/components/input/test/item/input.e2e.js +0 -64
  469. package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
  470. package/dist/collection/components/input/test/slot/input.e2e.js +0 -63
  471. package/dist/collection/components/input/test/states/input.e2e.js +0 -23
  472. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
  473. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
  474. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
  475. package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
  476. package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
  477. package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
  478. package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
  479. package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
  480. package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
  481. package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
  482. package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
  483. package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
  484. package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
  485. package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
  486. package/dist/collection/components/item/test/images/item.e2e.js +0 -14
  487. package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
  488. package/dist/collection/components/item/test/item.spec.js +0 -20
  489. package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
  490. package/dist/collection/components/item/test/media/item.e2e.js +0 -14
  491. package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
  492. package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
  493. package/dist/collection/components/item/test/states/item.e2e.js +0 -17
  494. package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
  495. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
  496. package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
  497. package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
  498. package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
  499. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
  500. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
  501. package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
  502. package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
  503. package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
  504. package/dist/collection/components/label/test/color/label.e2e.js +0 -39
  505. package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
  506. package/dist/collection/components/label/test/item/item.e2e.js +0 -24
  507. package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
  508. package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
  509. package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
  510. package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
  511. package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
  512. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
  513. package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
  514. package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
  515. package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
  516. package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
  517. package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
  518. package/dist/collection/components/loading/test/loading.spec.js +0 -37
  519. package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
  520. package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
  521. package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
  522. package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
  523. package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
  524. package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
  525. package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
  526. package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
  527. package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
  528. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
  529. package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
  530. package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
  531. package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
  532. package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
  533. package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
  534. package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
  535. package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
  536. package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
  537. package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
  538. package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
  539. package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
  540. package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
  541. package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
  542. package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
  543. package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
  544. package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
  545. package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
  546. package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
  547. package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
  548. package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
  549. package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
  550. package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
  551. package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
  552. package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
  553. package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
  554. package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
  555. package/dist/collection/components/modal/utils.spec.js +0 -13
  556. package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
  557. package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
  558. package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
  559. package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
  560. package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
  561. package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
  562. package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
  563. package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
  564. package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
  565. package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
  566. package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
  567. package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
  568. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
  569. package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
  570. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
  571. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
  572. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
  573. package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
  574. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
  575. package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
  576. package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
  577. package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
  578. package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
  579. package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
  580. package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
  581. package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
  582. package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
  583. package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
  584. package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
  585. package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
  586. package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
  587. package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
  588. package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
  589. package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
  590. package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
  591. package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
  592. package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
  593. package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
  594. package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
  595. package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
  596. package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
  597. package/dist/collection/components/popover/test/util.spec.js +0 -53
  598. package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
  599. package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
  600. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
  601. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
  602. package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
  603. package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
  604. package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
  605. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
  606. package/dist/collection/components/radio/test/radio.spec.js +0 -60
  607. package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
  608. package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
  609. package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
  610. package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
  611. package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
  612. package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
  613. package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
  614. package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
  615. package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
  616. package/dist/collection/components/range/test/color/range.e2e.js +0 -20
  617. package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
  618. package/dist/collection/components/range/test/item/range.e2e.js +0 -70
  619. package/dist/collection/components/range/test/label/range.e2e.js +0 -179
  620. package/dist/collection/components/range/test/label/range.spec.js +0 -47
  621. package/dist/collection/components/range/test/range-events.e2e.js +0 -179
  622. package/dist/collection/components/range/test/range.spec.js +0 -209
  623. package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
  624. package/dist/collection/components/range/test/states/range.e2e.js +0 -53
  625. package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
  626. package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
  627. package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +0 -77
  628. package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
  629. package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
  630. package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
  631. package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
  632. package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
  633. package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
  634. package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
  635. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
  636. package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
  637. package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
  638. package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
  639. package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
  640. package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
  641. package/dist/collection/components/router/test/matching.spec.js +0 -250
  642. package/dist/collection/components/router/test/parser.spec.js +0 -133
  643. package/dist/collection/components/router/test/path.spec.js +0 -218
  644. package/dist/collection/components/router/test/router.spec.js +0 -55
  645. package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
  646. package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
  647. package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
  648. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
  649. package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
  650. package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
  651. package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
  652. package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
  653. package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
  654. package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
  655. package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
  656. package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
  657. package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
  658. package/dist/collection/components/segment/test/segment.spec.js +0 -37
  659. package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
  660. package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
  661. package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
  662. package/dist/collection/components/select/test/async/select.e2e.js +0 -25
  663. package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
  664. package/dist/collection/components/select/test/card/select.e2e.js +0 -22
  665. package/dist/collection/components/select/test/color/select.e2e.js +0 -42
  666. package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
  667. package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
  668. package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
  669. package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
  670. package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
  671. package/dist/collection/components/select/test/item/select.e2e.js +0 -56
  672. package/dist/collection/components/select/test/label/select.e2e.js +0 -245
  673. package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
  674. package/dist/collection/components/select/test/select.spec.js +0 -96
  675. package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
  676. package/dist/collection/components/select/test/states/select.e2e.js +0 -41
  677. package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
  678. package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
  679. package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
  680. package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
  681. package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
  682. package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
  683. package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
  684. package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
  685. package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
  686. package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
  687. package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
  688. package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
  689. package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -43
  690. package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
  691. package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
  692. package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
  693. package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
  694. package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
  695. package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
  696. package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
  697. package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
  698. package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
  699. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
  700. package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
  701. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
  702. package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
  703. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
  704. package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
  705. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
  706. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
  707. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
  708. package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
  709. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
  710. package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
  711. package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
  712. package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
  713. package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
  714. package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
  715. package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
  716. package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
  717. package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
  718. package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
  719. package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
  720. package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
  721. package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
  722. package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
  723. package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
  724. package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
  725. package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
  726. package/dist/collection/components/toast/test/toast.spec.js +0 -212
  727. package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
  728. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
  729. package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
  730. package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
  731. package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
  732. package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
  733. package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
  734. package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
  735. package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
  736. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
  737. package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
  738. package/dist/collection/css/test/a11y/typography.e2e.js +0 -50
  739. package/dist/collection/global/test/config-controller.spec.js +0 -85
  740. package/dist/collection/themes/test/colors/theme.e2e.js +0 -170
  741. package/dist/collection/utils/animation/test/animation.spec.js +0 -358
  742. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
  743. package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
  744. package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
  745. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
  746. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
  747. package/dist/collection/utils/content/content.utils.spec.js +0 -137
  748. package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
  749. package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
  750. package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
  751. package/dist/collection/utils/helpers.spec.js +0 -36
  752. package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
  753. package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
  754. package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
  755. package/dist/collection/utils/rtl/dir.spec.js +0 -25
  756. package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
  757. package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
  758. package/dist/collection/utils/test/attributes.spec.js +0 -53
  759. package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
  760. package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
  761. package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
  762. package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
  763. package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
  764. package/dist/collection/utils/test/platform.spec.js +0 -132
  765. package/dist/collection/utils/test/ready.spec.js +0 -39
  766. package/dist/collection/utils/test/theme.spec.js +0 -56
  767. package/dist/esm-es5/app-globals-232dc3ed.js +0 -4
  768. package/dist/esm-es5/index-c71c5417.js +0 -5
  769. package/dist/ionic/p-3b199ab6.entry.js +0 -4
  770. package/dist/ionic/p-44c6eb74.js +0 -4
  771. package/dist/ionic/p-6017cbeb.system.js +0 -4
  772. package/dist/ionic/p-99a4d7c7.system.js +0 -5
  773. package/dist/ionic/p-df4bdf05.entry.js +0 -4
  774. package/dist/ionic/p-e6964b3a.js +0 -5
  775. package/dist/ionic/p-f654e4df.entry.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;
@@ -128,7 +130,7 @@ const NAMESPACE = 'ionic';
128
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.3 | MIT Licensed | https://stenciljs.com
133
+ Stencil Hydrate Platform v4.19.0 | 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) {
@@ -583,19 +584,21 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
583
584
  };
584
585
  var addStyle = (styleContainerNode, cmpMeta, mode) => {
585
586
  var _a;
587
+ const styleContainerDocument = styleContainerNode;
588
+ const styleContainerShadowRoot = styleContainerNode;
586
589
  const scopeId2 = getScopeId(cmpMeta, mode);
587
590
  const style = styles.get(scopeId2);
588
591
  styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc$1;
589
592
  if (style) {
590
593
  if (typeof style === "string") {
591
- styleContainerNode = styleContainerNode.head || styleContainerNode;
594
+ styleContainerNode = styleContainerDocument.head || styleContainerNode;
592
595
  let appliedStyles = rootAppliedStyles.get(styleContainerNode);
593
596
  let styleElm;
594
597
  if (!appliedStyles) {
595
598
  rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
596
599
  }
597
600
  if (!appliedStyles.has(scopeId2)) {
598
- if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
601
+ if (styleContainerShadowRoot.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
599
602
  styleElm.innerHTML = style;
600
603
  } else {
601
604
  styleElm = doc$1.createElement("style");
@@ -626,7 +629,7 @@ var attachStyles = (hostRef) => {
626
629
  const flags = cmpMeta.$flags$;
627
630
  const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
628
631
  const scopeId2 = addStyle(
629
- elm.getRootNode(),
632
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
630
633
  cmpMeta,
631
634
  hostRef.$modeName$
632
635
  );
@@ -806,7 +809,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
806
809
  }
807
810
  elm = newVNode2.$elm$ = doc$1.createElementNS(
808
811
  isSvgMode ? SVG_NS : HTML_NS,
809
- newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
812
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
810
813
  ) ;
811
814
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
812
815
  isSvgMode = false;
@@ -1213,7 +1216,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1213
1216
  {
1214
1217
  scopeId = hostElm["s-sc"];
1215
1218
  }
1216
- useNativeShadowDom = supportsShadow ;
1219
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1217
1220
  {
1218
1221
  contentRef = hostElm["s-cr"];
1219
1222
  checkSlotFallbackVisibility = false;
@@ -1337,7 +1340,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1337
1340
  endSchedule();
1338
1341
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1339
1342
  };
1340
- var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1343
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1344
+ console.error(err2);
1345
+ fn();
1346
+ }) : fn();
1341
1347
  var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1342
1348
  var updateComponent = async (hostRef, instance, isInitialLoad) => {
1343
1349
  var _a;
@@ -1524,13 +1530,13 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1524
1530
 
1525
1531
  // src/runtime/proxy-component.ts
1526
1532
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1527
- var _a;
1533
+ var _a, _b;
1528
1534
  const prototype = Cstr.prototype;
1529
- if (cmpMeta.$members$) {
1530
- if (Cstr.watchers) {
1535
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1536
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1531
1537
  cmpMeta.$watchers$ = Cstr.watchers;
1532
1538
  }
1533
- const members = Object.entries(cmpMeta.$members$);
1539
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1534
1540
  members.map(([memberName, [memberFlags]]) => {
1535
1541
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1536
1542
  Object.defineProperty(prototype, memberName, {
@@ -1586,7 +1592,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1586
1592
  };
1587
1593
  Cstr.observedAttributes = Array.from(
1588
1594
  /* @__PURE__ */ new Set([
1589
- ...Object.keys((_a = cmpMeta.$watchers$) != null ? _a : {}),
1595
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1590
1596
  ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1591
1597
  var _a2;
1592
1598
  const attrName = m[1] || propName;
@@ -1651,11 +1657,13 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1651
1657
  customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1652
1658
  }
1653
1659
  if (Cstr && Cstr.style) {
1654
- let style = Cstr.style;
1655
- if (typeof style !== "string") {
1660
+ let style;
1661
+ if (typeof Cstr.style === "string") {
1662
+ style = Cstr.style;
1663
+ } else if (typeof Cstr.style !== "string") {
1656
1664
  hostRef.$modeName$ = computeMode(elm);
1657
1665
  if (hostRef.$modeName$) {
1658
- style = style[hostRef.$modeName$];
1666
+ style = Cstr.style[hostRef.$modeName$];
1659
1667
  }
1660
1668
  if (hostRef.$modeName$) {
1661
1669
  elm.setAttribute("s-mode", hostRef.$modeName$);
@@ -1695,6 +1703,10 @@ var connectedCallback = (elm) => {
1695
1703
  {
1696
1704
  hostId = elm.getAttribute(HYDRATE_ID);
1697
1705
  if (hostId) {
1706
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1707
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) ;
1708
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1709
+ }
1698
1710
  initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1699
1711
  }
1700
1712
  }
@@ -1818,6 +1830,7 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
1818
1830
  }
1819
1831
  };
1820
1832
  var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
1833
+ var _a;
1821
1834
  if (node == null) {
1822
1835
  return;
1823
1836
  }
@@ -1825,7 +1838,8 @@ var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
1825
1838
  orgLocationNodes.push(node);
1826
1839
  }
1827
1840
  if (node.nodeType === 1 /* ElementNode */) {
1828
- node.childNodes.forEach((childNode) => {
1841
+ const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a = node.shadowRoot) == null ? void 0 : _a.childNodes) || [])];
1842
+ childNodes.forEach((childNode) => {
1829
1843
  const hostRef = getHostRef(childNode);
1830
1844
  if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
1831
1845
  const cmpData = {
@@ -1906,44 +1920,54 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
1906
1920
  var hAsync = (nodeName, vnodeData, ...children) => {
1907
1921
  if (Array.isArray(children) && children.length > 0) {
1908
1922
  const flatChildren = children.flat(Infinity);
1909
- if (flatChildren.some(isPromise)) {
1923
+ if (flatChildren.some((child) => child instanceof Promise)) {
1910
1924
  return Promise.all(flatChildren).then((resolvedChildren) => {
1911
1925
  return h(nodeName, vnodeData, ...resolvedChildren);
1912
1926
  }).catch((err2) => {
1913
1927
  return h(nodeName, vnodeData);
1914
1928
  });
1915
1929
  }
1916
- return h(nodeName, vnodeData, ...children);
1930
+ return h(nodeName, vnodeData, ...flatChildren);
1917
1931
  }
1918
1932
  return h(nodeName, vnodeData);
1919
1933
  };
1920
-
1921
- // src/hydrate/platform/proxy-host-element.ts
1922
- function proxyHostElement(elm, cmpMeta) {
1934
+ function proxyHostElement(elm, cmpMeta, opts) {
1923
1935
  if (typeof elm.componentOnReady !== "function") {
1924
1936
  elm.componentOnReady = componentOnReady$1;
1925
1937
  }
1926
1938
  if (typeof elm.forceUpdate !== "function") {
1927
1939
  elm.forceUpdate = forceUpdate2;
1928
1940
  }
1929
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1930
- elm.shadowRoot = elm;
1941
+ if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1942
+ {
1943
+ elm.attachShadow({
1944
+ mode: "open",
1945
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
1946
+ });
1947
+ }
1931
1948
  }
1932
1949
  if (cmpMeta.$members$ != null) {
1933
1950
  const hostRef = getHostRef(elm);
1934
1951
  const members = Object.entries(cmpMeta.$members$);
1935
1952
  members.forEach(([memberName, m]) => {
1953
+ var _a, _b;
1936
1954
  const memberFlags = m[0];
1937
1955
  if (memberFlags & 31 /* Prop */) {
1938
1956
  const attributeName = m[1] || memberName;
1939
- const attrValue = elm.getAttribute(attributeName);
1957
+ let attrValue = elm.getAttribute(attributeName);
1958
+ if ((attrValue == null ? void 0 : attrValue.startsWith("{")) && attrValue.endsWith("}") || (attrValue == null ? void 0 : attrValue.startsWith("[")) && attrValue.endsWith("]")) {
1959
+ try {
1960
+ attrValue = JSON.parse(attrValue);
1961
+ } catch (e) {
1962
+ }
1963
+ }
1940
1964
  if (attrValue != null) {
1941
1965
  const parsedAttrValue = parsePropertyValue(attrValue, memberFlags);
1942
- hostRef.$instanceValues$.set(memberName, parsedAttrValue);
1966
+ (_a = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a.set(memberName, parsedAttrValue);
1943
1967
  }
1944
1968
  const ownValue = elm[memberName];
1945
1969
  if (ownValue !== void 0) {
1946
- hostRef.$instanceValues$.set(memberName, ownValue);
1970
+ (_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, ownValue);
1947
1971
  delete elm[memberName];
1948
1972
  }
1949
1973
  Object.defineProperty(elm, memberName, {
@@ -1959,8 +1983,12 @@ function proxyHostElement(elm, cmpMeta) {
1959
1983
  } else if (memberFlags & 64 /* Method */) {
1960
1984
  Object.defineProperty(elm, memberName, {
1961
1985
  value(...args) {
1986
+ var _a2;
1962
1987
  const ref = getHostRef(this);
1963
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args)).catch(consoleError);
1988
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1989
+ var _a3;
1990
+ return (_a3 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1991
+ }).catch(consoleError);
1964
1992
  }
1965
1993
  });
1966
1994
  }
@@ -1968,7 +1996,8 @@ function proxyHostElement(elm, cmpMeta) {
1968
1996
  }
1969
1997
  }
1970
1998
  function componentOnReady$1() {
1971
- return getHostRef(this).$onReadyPromise$;
1999
+ var _a;
2000
+ return (_a = getHostRef(this)) == null ? void 0 : _a.$onReadyPromise$;
1972
2001
  }
1973
2002
  function forceUpdate2() {
1974
2003
  }
@@ -1984,7 +2013,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
1984
2013
  let tmrId;
1985
2014
  let ranCompleted = false;
1986
2015
  function hydratedComplete() {
1987
- global.clearTimeout(tmrId);
2016
+ globalThis.clearTimeout(tmrId);
1988
2017
  createdElements.clear();
1989
2018
  connectedElements.clear();
1990
2019
  if (!ranCompleted) {
@@ -2063,7 +2092,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
2063
2092
  patchElement2(elm);
2064
2093
  return elm;
2065
2094
  };
2066
- tmrId = global.setTimeout(timeoutExceeded, opts.timeout);
2095
+ tmrId = globalThis.setTimeout(timeoutExceeded, opts.timeout);
2067
2096
  plt.$resourcesUrl$ = new URL(opts.resourcesUrl || "./", doc$1.baseURI).href;
2068
2097
  patchChild2(win2.document.body);
2069
2098
  waitLoop2().then(hydratedComplete).catch(hydratedError);
@@ -2082,6 +2111,8 @@ async function hydrateComponent(win2, results, tagName, elm, waitingElements) {
2082
2111
  const cmpMeta = Cstr.cmpMeta;
2083
2112
  if (cmpMeta != null) {
2084
2113
  waitingElements.add(elm);
2114
+ const hostRef = getHostRef(this);
2115
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
2085
2116
  try {
2086
2117
  connectedCallback(elm);
2087
2118
  await elm.componentOnReady();
@@ -2252,7 +2283,7 @@ var registerComponents = (Cstrs) => {
2252
2283
  var win$2 = window;
2253
2284
  var doc$1 = win$2.document;
2254
2285
  var readTask = (cb) => {
2255
- process.nextTick(() => {
2286
+ nextTick(() => {
2256
2287
  try {
2257
2288
  cb();
2258
2289
  } catch (e) {
@@ -2261,7 +2292,7 @@ var readTask = (cb) => {
2261
2292
  });
2262
2293
  };
2263
2294
  var writeTask = (cb) => {
2264
- process.nextTick(() => {
2295
+ nextTick(() => {
2265
2296
  try {
2266
2297
  cb();
2267
2298
  } catch (e) {
@@ -2286,7 +2317,7 @@ var plt = {
2286
2317
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2287
2318
  ce: (eventName, opts) => new win$2.CustomEvent(eventName, opts)
2288
2319
  };
2289
- var supportsShadow = false;
2320
+ var supportsShadow = BUILD.shadowDom;
2290
2321
  var hostRefs = /* @__PURE__ */ new WeakMap();
2291
2322
  var getHostRef = (ref) => hostRefs.get(ref);
2292
2323
  var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
@@ -2302,7 +2333,6 @@ var registerHost = (elm, cmpMeta) => {
2302
2333
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
2303
2334
  elm["s-p"] = [];
2304
2335
  elm["s-rc"] = [];
2305
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2306
2336
  return hostRefs.set(elm, hostRef);
2307
2337
  };
2308
2338
  var Build = {
@@ -15652,7 +15682,7 @@ class Item {
15652
15682
  * However, other form controls such as checkboxes and radios do.
15653
15683
  */
15654
15684
  const firstInteractiveNeedsPointerCursor = firstInteractive !== undefined && !['ION-INPUT', 'ION-TEXTAREA'].includes(firstInteractive.tagName);
15655
- return (hAsync(Host, { key: '6fe6bae954259703482f175312a051ff1b315a95', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
15685
+ return (hAsync(Host, { key: 'f7986b5b81c4f289460bff2c452ce993b674236b', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
15656
15686
  item: true,
15657
15687
  [mode]: true,
15658
15688
  'item-lines-default': lines === undefined,
@@ -15664,7 +15694,7 @@ class Item {
15664
15694
  'ion-activatable': canActivate,
15665
15695
  'ion-focusable': this.focusable,
15666
15696
  'item-rtl': document.dir === 'rtl',
15667
- })), 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' }))));
15697
+ })), 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' }))));
15668
15698
  }
15669
15699
  get el() { return getElement(this); }
15670
15700
  static get watchers() { return {
@@ -15682,7 +15712,7 @@ class Item {
15682
15712
  "button": [4],
15683
15713
  "detail": [4],
15684
15714
  "detailIcon": [1, "detail-icon"],
15685
- "disabled": [4],
15715
+ "disabled": [516],
15686
15716
  "download": [1],
15687
15717
  "href": [1],
15688
15718
  "rel": [1],
@@ -15696,7 +15726,7 @@ class Item {
15696
15726
  },
15697
15727
  "$listeners$": [[0, "ionColor", "labelColorChanged"], [0, "ionStyle", "itemStyle"]],
15698
15728
  "$lazyBundleId$": "-",
15699
- "$attrsToReflect$": [["color", "color"]]
15729
+ "$attrsToReflect$": [["color", "color"], ["disabled", "disabled"]]
15700
15730
  }; }
15701
15731
  }
15702
15732
 
@@ -33167,7 +33197,7 @@ exports.hydrateApp = hydrateApp;
33167
33197
  }
33168
33198
 
33169
33199
  /*
33170
- Stencil Hydrate Runner v4.18.3 | MIT Licensed | https://stenciljs.com
33200
+ Stencil Hydrate Runner v4.19.0 | MIT Licensed | https://stenciljs.com
33171
33201
  */
33172
33202
  var __defProp = Object.defineProperty;
33173
33203
  var __export = (target, all) => {
@@ -43565,67 +43595,50 @@ function humanReadableList(items) {
43565
43595
  }
43566
43596
 
43567
43597
  // src/mock-doc/serialize-node.ts
43568
- function serializeNodeToHtml(elm, opts = {}) {
43598
+ function normalizeSerializationOptions(opts = {}) {
43599
+ return {
43600
+ ...opts,
43601
+ outerHtml: typeof opts.outerHtml !== "boolean" ? false : opts.outerHtml,
43602
+ ...opts.prettyHtml ? {
43603
+ indentSpaces: typeof opts.indentSpaces !== "number" ? 2 : opts.indentSpaces,
43604
+ newLines: typeof opts.newLines !== "boolean" ? true : opts.newLines
43605
+ } : {
43606
+ prettyHtml: false,
43607
+ indentSpaces: typeof opts.indentSpaces !== "number" ? 0 : opts.indentSpaces,
43608
+ newLines: typeof opts.newLines !== "boolean" ? false : opts.newLines
43609
+ },
43610
+ approximateLineWidth: typeof opts.approximateLineWidth !== "number" ? -1 : opts.approximateLineWidth,
43611
+ removeEmptyAttributes: typeof opts.removeEmptyAttributes !== "boolean" ? true : opts.removeEmptyAttributes,
43612
+ removeAttributeQuotes: typeof opts.removeAttributeQuotes !== "boolean" ? false : opts.removeAttributeQuotes,
43613
+ removeBooleanAttributeQuotes: typeof opts.removeBooleanAttributeQuotes !== "boolean" ? false : opts.removeBooleanAttributeQuotes,
43614
+ removeHtmlComments: typeof opts.removeHtmlComments !== "boolean" ? false : opts.removeHtmlComments,
43615
+ serializeShadowRoot: typeof opts.serializeShadowRoot !== "boolean" ? false : opts.serializeShadowRoot,
43616
+ fullDocument: typeof opts.fullDocument !== "boolean" ? true : opts.fullDocument
43617
+ };
43618
+ }
43619
+ function serializeNodeToHtml(elm, serializationOptions = {}) {
43620
+ const opts = normalizeSerializationOptions(serializationOptions);
43569
43621
  const output = {
43570
43622
  currentLineWidth: 0,
43571
43623
  indent: 0,
43572
43624
  isWithinBody: false,
43573
43625
  text: []
43574
43626
  };
43575
- if (opts.prettyHtml) {
43576
- if (typeof opts.indentSpaces !== "number") {
43577
- opts.indentSpaces = 2;
43578
- }
43579
- if (typeof opts.newLines !== "boolean") {
43580
- opts.newLines = true;
43581
- }
43582
- opts.approximateLineWidth = -1;
43583
- } else {
43584
- opts.prettyHtml = false;
43585
- if (typeof opts.newLines !== "boolean") {
43586
- opts.newLines = false;
43587
- }
43588
- if (typeof opts.indentSpaces !== "number") {
43589
- opts.indentSpaces = 0;
43590
- }
43591
- }
43592
- if (typeof opts.approximateLineWidth !== "number") {
43593
- opts.approximateLineWidth = -1;
43594
- }
43595
- if (typeof opts.removeEmptyAttributes !== "boolean") {
43596
- opts.removeEmptyAttributes = true;
43597
- }
43598
- if (typeof opts.removeAttributeQuotes !== "boolean") {
43599
- opts.removeAttributeQuotes = false;
43600
- }
43601
- if (typeof opts.removeBooleanAttributeQuotes !== "boolean") {
43602
- opts.removeBooleanAttributeQuotes = false;
43603
- }
43604
- if (typeof opts.removeHtmlComments !== "boolean") {
43605
- opts.removeHtmlComments = false;
43606
- }
43607
- if (typeof opts.serializeShadowRoot !== "boolean") {
43608
- opts.serializeShadowRoot = false;
43609
- }
43610
- if (opts.outerHtml) {
43611
- serializeToHtml(elm, opts, output, false);
43612
- } else {
43613
- for (let i = 0, ii = elm.childNodes.length; i < ii; i++) {
43614
- serializeToHtml(elm.childNodes[i], opts, output, false);
43615
- }
43616
- }
43617
- if (output.text[0] === "\n") {
43618
- output.text.shift();
43619
- }
43620
- if (output.text[output.text.length - 1] === "\n") {
43621
- output.text.pop();
43627
+ let renderedNode = "";
43628
+ const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(elm.childNodes);
43629
+ for (let i = 0, ii = children.length; i < ii; i++) {
43630
+ const child = children[i];
43631
+ const chunks = Array.from(streamToHtml(child, opts, output));
43632
+ renderedNode += chunks.join("");
43622
43633
  }
43623
- return output.text.join("");
43634
+ return renderedNode.trim();
43624
43635
  }
43625
- function serializeToHtml(node, opts, output, isShadowRoot) {
43636
+ var shadowRootTag = "mock:shadow-root";
43637
+ function* streamToHtml(node, opts, output) {
43626
43638
  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
43639
+ const isShadowRoot = node.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */;
43627
43640
  if (node.nodeType === 1 /* ELEMENT_NODE */ || isShadowRoot) {
43628
- const tagName = isShadowRoot ? "mock:shadow-root" : getTagName(node);
43641
+ const tagName = isShadowRoot ? shadowRootTag : getTagName(node);
43629
43642
  if (tagName === "body") {
43630
43643
  output.isWithinBody = true;
43631
43644
  }
@@ -43633,17 +43646,23 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43633
43646
  if (ignoreTag === false) {
43634
43647
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a2 = opts.indentSpaces) != null ? _a2 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
43635
43648
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43636
- output.text.push("\n");
43649
+ yield "\n";
43637
43650
  output.currentLineWidth = 0;
43638
43651
  }
43639
43652
  if (((_b = opts.indentSpaces) != null ? _b : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43640
43653
  for (let i = 0; i < output.indent; i++) {
43641
- output.text.push(" ");
43654
+ yield " ";
43642
43655
  }
43643
43656
  output.currentLineWidth += output.indent;
43644
43657
  }
43645
- output.text.push("<" + tagName);
43646
- output.currentLineWidth += tagName.length + 1;
43658
+ const tag = tagName === shadowRootTag ? "template" : tagName;
43659
+ yield "<" + tag;
43660
+ output.currentLineWidth += tag.length + 1;
43661
+ if (tag === "template") {
43662
+ const mode = ` shadowrootmode="open"`;
43663
+ yield mode;
43664
+ output.currentLineWidth += mode.length;
43665
+ }
43647
43666
  const attrsLength = node.attributes.length;
43648
43667
  const attributes = opts.prettyHtml && attrsLength > 1 ? cloneAttributes(node.attributes, true) : node.attributes;
43649
43668
  for (let i = 0; i < attrsLength; i++) {
@@ -43660,27 +43679,27 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43660
43679
  if (attrNamespaceURI == null) {
43661
43680
  output.currentLineWidth += attrName.length + 1;
43662
43681
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
43663
- output.text.push("\n" + attrName);
43682
+ yield "\n" + attrName;
43664
43683
  output.currentLineWidth = 0;
43665
43684
  } else {
43666
- output.text.push(" " + attrName);
43685
+ yield " " + attrName;
43667
43686
  }
43668
43687
  } else if (attrNamespaceURI === "http://www.w3.org/XML/1998/namespace") {
43669
- output.text.push(" xml:" + attrName);
43688
+ yield " xml:" + attrName;
43670
43689
  output.currentLineWidth += attrName.length + 5;
43671
43690
  } else if (attrNamespaceURI === "http://www.w3.org/2000/xmlns/") {
43672
43691
  if (attrName !== "xmlns") {
43673
- output.text.push(" xmlns:" + attrName);
43692
+ yield " xmlns:" + attrName;
43674
43693
  output.currentLineWidth += attrName.length + 7;
43675
43694
  } else {
43676
- output.text.push(" " + attrName);
43695
+ yield " " + attrName;
43677
43696
  output.currentLineWidth += attrName.length + 1;
43678
43697
  }
43679
43698
  } else if (attrNamespaceURI === XLINK_NS) {
43680
- output.text.push(" xlink:" + attrName);
43699
+ yield " xlink:" + attrName;
43681
43700
  output.currentLineWidth += attrName.length + 7;
43682
43701
  } else {
43683
- output.text.push(" " + attrNamespaceURI + ":" + attrName);
43702
+ yield " " + attrNamespaceURI + ":" + attrName;
43684
43703
  output.currentLineWidth += attrNamespaceURI.length + attrName.length + 2;
43685
43704
  }
43686
43705
  if (opts.prettyHtml && attrName === "class") {
@@ -43695,43 +43714,45 @@ function serializeToHtml(node, opts, output, isShadowRoot) {
43695
43714
  }
43696
43715
  }
43697
43716
  if (opts.removeAttributeQuotes && CAN_REMOVE_ATTR_QUOTES.test(attrValue)) {
43698
- output.text.push("=" + escapeString(attrValue, true));
43717
+ yield "=" + escapeString(attrValue, true);
43699
43718
  output.currentLineWidth += attrValue.length + 1;
43700
43719
  } else {
43701
- output.text.push('="' + escapeString(attrValue, true) + '"');
43720
+ yield '="' + escapeString(attrValue, true) + '"';
43702
43721
  output.currentLineWidth += attrValue.length + 3;
43703
43722
  }
43704
43723
  }
43705
43724
  if (node.hasAttribute("style")) {
43706
43725
  const cssText = node.style.cssText;
43707
43726
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth + cssText.length + 10 > opts.approximateLineWidth) {
43708
- output.text.push(`
43709
- style="${cssText}">`);
43727
+ yield `
43728
+ style="${cssText}">`;
43710
43729
  output.currentLineWidth = 0;
43711
43730
  } else {
43712
- output.text.push(` style="${cssText}">`);
43731
+ yield ` style="${cssText}">`;
43713
43732
  output.currentLineWidth += cssText.length + 10;
43714
43733
  }
43715
43734
  } else {
43716
- output.text.push(">");
43735
+ yield ">";
43717
43736
  output.currentLineWidth += 1;
43718
43737
  }
43719
43738
  }
43720
43739
  if (EMPTY_ELEMENTS.has(tagName) === false) {
43721
- if (opts.serializeShadowRoot && node.shadowRoot != null) {
43740
+ const shadowRoot = node.shadowRoot;
43741
+ if (opts.serializeShadowRoot && shadowRoot != null) {
43722
43742
  output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
43723
- serializeToHtml(node.shadowRoot, opts, output, true);
43743
+ yield* streamToHtml(shadowRoot, opts, output);
43724
43744
  output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
43725
43745
  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()) === "")) {
43726
- output.text.push("\n");
43746
+ yield "\n";
43727
43747
  output.currentLineWidth = 0;
43728
43748
  for (let i = 0; i < output.indent; i++) {
43729
- output.text.push(" ");
43749
+ yield " ";
43730
43750
  }
43731
43751
  output.currentLineWidth += output.indent;
43732
43752
  }
43733
43753
  }
43734
43754
  if (opts.excludeTagContent == null || opts.excludeTagContent.includes(tagName) === false) {
43755
+ const tag = tagName === shadowRootTag ? "template" : tagName;
43735
43756
  const childNodes = tagName === "template" ? node.content.childNodes : node.childNodes;
43736
43757
  const childNodeLength = childNodes.length;
43737
43758
  if (childNodeLength > 0) {
@@ -43742,17 +43763,17 @@ style="${cssText}">`);
43742
43763
  output.indent = output.indent + ((_h = opts.indentSpaces) != null ? _h : 0);
43743
43764
  }
43744
43765
  for (let i = 0; i < childNodeLength; i++) {
43745
- serializeToHtml(childNodes[i], opts, output, false);
43766
+ yield* streamToHtml(childNodes[i], opts, output);
43746
43767
  }
43747
43768
  if (ignoreTag === false) {
43748
43769
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43749
- output.text.push("\n");
43770
+ yield "\n";
43750
43771
  output.currentLineWidth = 0;
43751
43772
  }
43752
43773
  if (((_i = opts.indentSpaces) != null ? _i : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43753
43774
  output.indent = output.indent - ((_j = opts.indentSpaces) != null ? _j : 0);
43754
43775
  for (let i = 0; i < output.indent; i++) {
43755
- output.text.push(" ");
43776
+ yield " ";
43756
43777
  }
43757
43778
  output.currentLineWidth += output.indent;
43758
43779
  }
@@ -43760,13 +43781,13 @@ style="${cssText}">`);
43760
43781
  }
43761
43782
  }
43762
43783
  if (ignoreTag === false) {
43763
- output.text.push("</" + tagName + ">");
43764
- output.currentLineWidth += tagName.length + 3;
43784
+ yield "</" + tag + ">";
43785
+ output.currentLineWidth += tag.length + 3;
43765
43786
  }
43766
43787
  }
43767
43788
  }
43768
43789
  if (((_k = opts.approximateLineWidth) != null ? _k : 0) > 0 && STRUCTURE_ELEMENTS.has(tagName)) {
43769
- output.text.push("\n");
43790
+ yield "\n";
43770
43791
  output.currentLineWidth = 0;
43771
43792
  }
43772
43793
  if (tagName === "body") {
@@ -43778,27 +43799,27 @@ style="${cssText}">`);
43778
43799
  const trimmedTextContent = textContent.trim();
43779
43800
  if (trimmedTextContent === "") {
43780
43801
  if (isWithinWhitespaceSensitive(node)) {
43781
- output.text.push(textContent);
43802
+ yield textContent;
43782
43803
  output.currentLineWidth += textContent.length;
43783
43804
  } else if (((_l = opts.approximateLineWidth) != null ? _l : 0) > 0 && !output.isWithinBody) {
43784
43805
  } else if (!opts.prettyHtml) {
43785
43806
  output.currentLineWidth += 1;
43786
43807
  if (opts.approximateLineWidth && opts.approximateLineWidth > 0 && output.currentLineWidth > opts.approximateLineWidth) {
43787
- output.text.push("\n");
43808
+ yield "\n";
43788
43809
  output.currentLineWidth = 0;
43789
43810
  } else {
43790
- output.text.push(" ");
43811
+ yield " ";
43791
43812
  }
43792
43813
  }
43793
43814
  } else {
43794
43815
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_m = opts.indentSpaces) != null ? _m : 0) > 0 || opts.prettyHtml ? isWithinWhitespaceSensitive(node) : false;
43795
43816
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43796
- output.text.push("\n");
43817
+ yield "\n";
43797
43818
  output.currentLineWidth = 0;
43798
43819
  }
43799
43820
  if (((_n = opts.indentSpaces) != null ? _n : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43800
43821
  for (let i = 0; i < output.indent; i++) {
43801
- output.text.push(" ");
43822
+ yield " ";
43802
43823
  }
43803
43824
  output.currentLineWidth += output.indent;
43804
43825
  }
@@ -43807,15 +43828,15 @@ style="${cssText}">`);
43807
43828
  const parentTagName = node.parentNode != null && node.parentNode.nodeType === 1 /* ELEMENT_NODE */ ? node.parentNode.nodeName : null;
43808
43829
  if (typeof parentTagName === "string" && NON_ESCAPABLE_CONTENT.has(parentTagName)) {
43809
43830
  if (isWithinWhitespaceSensitive(node)) {
43810
- output.text.push(textContent);
43831
+ yield textContent;
43811
43832
  } else {
43812
- output.text.push(trimmedTextContent);
43833
+ yield trimmedTextContent;
43813
43834
  textContentLength = trimmedTextContent.length;
43814
43835
  }
43815
43836
  output.currentLineWidth += textContentLength;
43816
43837
  } else {
43817
43838
  if (opts.prettyHtml && !isWithinWhitespaceSensitiveNode) {
43818
- output.text.push(escapeString(textContent.replace(/\s\s+/g, " ").trim(), false));
43839
+ yield escapeString(textContent.replace(/\s\s+/g, " ").trim(), false);
43819
43840
  output.currentLineWidth += textContentLength;
43820
43841
  } else {
43821
43842
  if (isWithinWhitespaceSensitive(node)) {
@@ -43837,7 +43858,7 @@ style="${cssText}">`);
43837
43858
  }
43838
43859
  output.currentLineWidth += textContentLength;
43839
43860
  }
43840
- output.text.push(escapeString(textContent, false));
43861
+ yield escapeString(textContent, false);
43841
43862
  }
43842
43863
  }
43843
43864
  }
@@ -43845,27 +43866,27 @@ style="${cssText}">`);
43845
43866
  }
43846
43867
  } else if (node.nodeType === 8 /* COMMENT_NODE */) {
43847
43868
  const nodeValue = node.nodeValue;
43848
- if (opts.removeHtmlComments) {
43849
- 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 + "."));
43850
- if (!isHydrateAnnotation) {
43851
- return;
43852
- }
43869
+ 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 + "."));
43870
+ if (opts.removeHtmlComments && !isHydrateAnnotation) {
43871
+ return;
43853
43872
  }
43854
43873
  const isWithinWhitespaceSensitiveNode = opts.newLines || ((_o = opts.indentSpaces) != null ? _o : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
43855
43874
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
43856
- output.text.push("\n");
43875
+ yield "\n";
43857
43876
  output.currentLineWidth = 0;
43858
43877
  }
43859
43878
  if (((_p = opts.indentSpaces) != null ? _p : 0) > 0 && !isWithinWhitespaceSensitiveNode) {
43860
43879
  for (let i = 0; i < output.indent; i++) {
43861
- output.text.push(" ");
43880
+ yield " ";
43862
43881
  }
43863
43882
  output.currentLineWidth += output.indent;
43864
43883
  }
43865
- output.text.push("<!--" + nodeValue + "-->");
43866
- output.currentLineWidth += nodeValue.length + 7;
43884
+ yield "<!--" + nodeValue + "-->";
43885
+ if (nodeValue) {
43886
+ output.currentLineWidth += nodeValue.length + 7;
43887
+ }
43867
43888
  } else if (node.nodeType === 10 /* DOCUMENT_TYPE_NODE */) {
43868
- output.text.push("<!doctype html>");
43889
+ yield "<!doctype html>";
43869
43890
  }
43870
43891
  }
43871
43892
  var AMP_REGEX = /&/g;
@@ -43890,7 +43911,7 @@ function escapeString(str, attrMode) {
43890
43911
  }
43891
43912
  function isWithinWhitespaceSensitive(node) {
43892
43913
  let _node = node;
43893
- while (_node != null) {
43914
+ while (_node == null ? void 0 : _node.nodeName) {
43894
43915
  if (WHITESPACE_SENSITIVE.has(_node.nodeName)) {
43895
43916
  return true;
43896
43917
  }
@@ -44206,6 +44227,10 @@ Testing components with ElementInternals is fully supported in e2e tests.`
44206
44227
  get shadowRoot() {
44207
44228
  return this.__shadowRoot || null;
44208
44229
  }
44230
+ /**
44231
+ * Set shadow root for element
44232
+ * @param shadowRoot - ShadowRoot to set
44233
+ */
44209
44234
  set shadowRoot(shadowRoot) {
44210
44235
  if (shadowRoot != null) {
44211
44236
  shadowRoot.host = this;
@@ -45992,14 +46017,16 @@ var WINDOW_PROPS = [
45992
46017
  ];
45993
46018
  var GLOBAL_CONSTRUCTORS = [
45994
46019
  ["CustomEvent", MockCustomEvent],
46020
+ ["DocumentFragment", MockDocumentFragment],
46021
+ ["DOMParser", MockDOMParser],
45995
46022
  ["Event", MockEvent],
45996
- ["Headers", MockHeaders],
45997
46023
  ["FocusEvent", MockFocusEvent],
46024
+ ["Headers", MockHeaders],
45998
46025
  ["KeyboardEvent", MockKeyboardEvent],
45999
46026
  ["MouseEvent", MockMouseEvent],
46000
46027
  ["Request", MockRequest],
46001
46028
  ["Response", MockResponse],
46002
- ["DOMParser", MockDOMParser],
46029
+ ["ShadowRoot", MockDocumentFragment],
46003
46030
  ["HTMLAnchorElement", MockAnchorElement],
46004
46031
  ["HTMLBaseElement", MockBaseElement],
46005
46032
  ["HTMLButtonElement", MockButtonElement],
@@ -46210,6 +46237,7 @@ var nativeClearTimeout = clearTimeout;
46210
46237
  var nativeSetInterval = setInterval;
46211
46238
  var nativeSetTimeout = setTimeout;
46212
46239
  var nativeURL = URL;
46240
+ var nativeWindow = globalThis.window;
46213
46241
  var MockWindow = class {
46214
46242
  constructor(html = null) {
46215
46243
  if (html !== false) {
@@ -46236,10 +46264,10 @@ var MockWindow = class {
46236
46264
  blur() {
46237
46265
  }
46238
46266
  cancelAnimationFrame(id) {
46239
- this.__clearTimeout(id);
46267
+ this.__clearTimeout.call(nativeWindow || this, id);
46240
46268
  }
46241
46269
  cancelIdleCallback(id) {
46242
- this.__clearTimeout(id);
46270
+ this.__clearTimeout.call(nativeWindow || this, id);
46243
46271
  }
46244
46272
  get CharacterData() {
46245
46273
  if (this.__charDataCstr == null) {
@@ -46257,10 +46285,10 @@ var MockWindow = class {
46257
46285
  this.__charDataCstr = charDataCstr;
46258
46286
  }
46259
46287
  clearInterval(id) {
46260
- this.__clearInterval(id);
46288
+ this.__clearInterval.call(nativeWindow || this, id);
46261
46289
  }
46262
46290
  clearTimeout(id) {
46263
- this.__clearTimeout(id);
46291
+ this.__clearTimeout.call(nativeWindow || this, id);
46264
46292
  }
46265
46293
  close() {
46266
46294
  resetWindow(this);
@@ -46560,20 +46588,24 @@ var MockWindow = class {
46560
46588
  }
46561
46589
  return intervalId;
46562
46590
  }
46563
- const timeoutId = this.__setTimeout(() => {
46564
- if (this.__timeouts) {
46565
- this.__timeouts.delete(timeoutId);
46566
- try {
46567
- callback(...args);
46568
- } catch (e) {
46569
- if (this.console) {
46570
- this.console.error(e);
46571
- } else {
46572
- console.error(e);
46591
+ const timeoutId = this.__setTimeout.call(
46592
+ nativeWindow || this,
46593
+ () => {
46594
+ if (this.__timeouts) {
46595
+ this.__timeouts.delete(timeoutId);
46596
+ try {
46597
+ callback(...args);
46598
+ } catch (e) {
46599
+ if (this.console) {
46600
+ this.console.error(e);
46601
+ } else {
46602
+ console.error(e);
46603
+ }
46573
46604
  }
46574
46605
  }
46575
- }
46576
- }, ms);
46606
+ },
46607
+ ms
46608
+ );
46577
46609
  if (this.__timeouts) {
46578
46610
  this.__timeouts.add(timeoutId);
46579
46611
  }
@@ -46584,20 +46616,24 @@ var MockWindow = class {
46584
46616
  this.__timeouts = /* @__PURE__ */ new Set();
46585
46617
  }
46586
46618
  ms = Math.min(ms, this.__maxTimeout);
46587
- const timeoutId = this.__setTimeout(() => {
46588
- if (this.__timeouts) {
46589
- this.__timeouts.delete(timeoutId);
46590
- try {
46591
- callback(...args);
46592
- } catch (e) {
46593
- if (this.console) {
46594
- this.console.error(e);
46595
- } else {
46596
- console.error(e);
46619
+ const timeoutId = this.__setTimeout.call(
46620
+ nativeWindow || this,
46621
+ () => {
46622
+ if (this.__timeouts) {
46623
+ this.__timeouts.delete(timeoutId);
46624
+ try {
46625
+ callback(...args);
46626
+ } catch (e) {
46627
+ if (this.console) {
46628
+ this.console.error(e);
46629
+ } else {
46630
+ console.error(e);
46631
+ }
46597
46632
  }
46598
46633
  }
46599
- }
46600
- }, ms);
46634
+ },
46635
+ ms
46636
+ );
46601
46637
  if (this.__timeouts) {
46602
46638
  this.__timeouts.add(timeoutId);
46603
46639
  }
@@ -47172,7 +47208,6 @@ function createWindowFromHtml(templateHtml, uniqueId) {
47172
47208
 
47173
47209
  // src/utils/helpers.ts
47174
47210
  var isString = (v) => typeof v === "string";
47175
- var isPromise = (v) => !!v && (typeof v === "object" || typeof v === "function") && typeof v.then === "function";
47176
47211
 
47177
47212
  // src/utils/message-utils.ts
47178
47213
  var catchError = (diagnostics, err2, msg) => {
@@ -47263,6 +47298,7 @@ var unwrapErr = (result) => {
47263
47298
 
47264
47299
  // src/compiler/html/canonical-link.ts
47265
47300
  var updateCanonicalLink = (doc, href) => {
47301
+ var _a2;
47266
47302
  let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
47267
47303
  if (typeof href === "string") {
47268
47304
  if (canonicalLinkElm == null) {
@@ -47275,7 +47311,7 @@ var updateCanonicalLink = (doc, href) => {
47275
47311
  if (canonicalLinkElm != null) {
47276
47312
  const existingHref = canonicalLinkElm.getAttribute("href");
47277
47313
  if (!existingHref) {
47278
- canonicalLinkElm.parentNode.removeChild(canonicalLinkElm);
47314
+ (_a2 = canonicalLinkElm.parentNode) == null ? void 0 : _a2.removeChild(canonicalLinkElm);
47279
47315
  }
47280
47316
  }
47281
47317
  }
@@ -48309,10 +48345,10 @@ function renderBuildDiagnostic(results, level, header, msg) {
48309
48345
  return diagnostic;
48310
48346
  }
48311
48347
  function renderBuildError(results, msg) {
48312
- return renderBuildDiagnostic(results, "error", "Hydrate Error", msg);
48348
+ return renderBuildDiagnostic(results, "error", "Hydrate Error", msg || "");
48313
48349
  }
48314
48350
  function renderCatchError(results, err2) {
48315
- const diagnostic = renderBuildError(results, null);
48351
+ const diagnostic = renderBuildError(results);
48316
48352
  if (err2 != null) {
48317
48353
  if (err2.stack != null) {
48318
48354
  diagnostic.messageText = err2.stack.toString();
@@ -48374,10 +48410,11 @@ function runtimeLog(pathname, type, msgs) {
48374
48410
 
48375
48411
  // src/hydrate/runner/window-initialize.ts
48376
48412
  function initializeWindow(win, doc, opts, results) {
48377
- try {
48378
- win.location.href = opts.url;
48379
- } catch (e) {
48380
- renderCatchError(results, e);
48413
+ if (typeof opts.url === "string") {
48414
+ try {
48415
+ win.location.href = opts.url;
48416
+ } catch (e) {
48417
+ }
48381
48418
  }
48382
48419
  if (typeof opts.userAgent === "string") {
48383
48420
  try {
@@ -48427,134 +48464,99 @@ function initializeWindow(win, doc, opts, results) {
48427
48464
  }
48428
48465
 
48429
48466
  // src/hydrate/runner/render.ts
48430
- function renderToString(html, options) {
48467
+ var NOOP = () => {
48468
+ };
48469
+ function streamToString(html, option) {
48470
+ return renderToString(html, option, true);
48471
+ }
48472
+ function renderToString(html, options, asStream) {
48431
48473
  const opts = normalizeHydrateOptions(options);
48432
48474
  opts.serializeToHtml = true;
48433
- return new Promise((resolve) => {
48434
- let win;
48435
- const results = generateHydrateResults(opts);
48436
- if (hasError(results.diagnostics)) {
48437
- resolve(results);
48438
- } else if (typeof html === "string") {
48439
- try {
48440
- opts.destroyWindow = true;
48441
- opts.destroyDocument = true;
48442
- win = new MockWindow(html);
48443
- render(win, opts, results, resolve);
48444
- } catch (e) {
48445
- if (win && win.close) {
48446
- win.close();
48447
- }
48448
- win = null;
48449
- renderCatchError(results, e);
48450
- resolve(results);
48475
+ opts.fullDocument = typeof opts.fullDocument === "boolean" ? opts.fullDocument : true;
48476
+ opts.serializeShadowRoot = Boolean(opts.serializeShadowRoot);
48477
+ opts.constrainTimeouts = false;
48478
+ return hydrateDocument(html, opts, asStream);
48479
+ }
48480
+ function hydrateDocument(doc, options, asStream) {
48481
+ const opts = normalizeHydrateOptions(options);
48482
+ let win = null;
48483
+ const results = generateHydrateResults(opts);
48484
+ if (hasError(results.diagnostics)) {
48485
+ return Promise.resolve(results);
48486
+ }
48487
+ if (typeof doc === "string") {
48488
+ try {
48489
+ opts.destroyWindow = true;
48490
+ opts.destroyDocument = true;
48491
+ win = new MockWindow(doc);
48492
+ if (!asStream) {
48493
+ return render(win, opts, results).then(() => results);
48451
48494
  }
48452
- } else if (isValidDocument(html)) {
48453
- try {
48454
- opts.destroyDocument = false;
48455
- win = patchDomImplementation(html, opts);
48456
- render(win, opts, results, resolve);
48457
- } catch (e) {
48458
- if (win && win.close) {
48459
- win.close();
48460
- }
48461
- win = null;
48462
- renderCatchError(results, e);
48463
- resolve(results);
48495
+ return renderStream(win, opts, results);
48496
+ } catch (e) {
48497
+ if (win && win.close) {
48498
+ win.close();
48464
48499
  }
48465
- } else {
48466
- renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48467
- resolve(results);
48500
+ win = null;
48501
+ renderCatchError(results, e);
48502
+ return Promise.resolve(results);
48468
48503
  }
48469
- });
48470
- }
48471
- function hydrateDocument(doc, options) {
48472
- const opts = normalizeHydrateOptions(options);
48473
- opts.serializeToHtml = false;
48474
- return new Promise((resolve) => {
48475
- let win;
48476
- const results = generateHydrateResults(opts);
48477
- if (hasError(results.diagnostics)) {
48478
- resolve(results);
48479
- } else if (typeof doc === "string") {
48480
- try {
48481
- opts.destroyWindow = true;
48482
- opts.destroyDocument = true;
48483
- win = new MockWindow(doc);
48484
- render(win, opts, results, resolve);
48485
- } catch (e) {
48486
- if (win && win.close) {
48487
- win.close();
48488
- }
48489
- win = null;
48490
- renderCatchError(results, e);
48491
- resolve(results);
48504
+ }
48505
+ if (isValidDocument(doc)) {
48506
+ try {
48507
+ opts.destroyDocument = false;
48508
+ win = patchDomImplementation(doc, opts);
48509
+ if (!asStream) {
48510
+ return render(win, opts, results).then(() => results);
48492
48511
  }
48493
- } else if (isValidDocument(doc)) {
48494
- try {
48495
- opts.destroyDocument = false;
48496
- win = patchDomImplementation(doc, opts);
48497
- render(win, opts, results, resolve);
48498
- } catch (e) {
48499
- if (win && win.close) {
48500
- win.close();
48501
- }
48502
- win = null;
48503
- renderCatchError(results, e);
48504
- resolve(results);
48512
+ return renderStream(win, opts, results);
48513
+ } catch (e) {
48514
+ if (win && win.close) {
48515
+ win.close();
48505
48516
  }
48506
- } else {
48507
- renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48508
- resolve(results);
48517
+ win = null;
48518
+ renderCatchError(results, e);
48519
+ return Promise.resolve(results);
48509
48520
  }
48510
- });
48521
+ }
48522
+ renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
48523
+ return Promise.resolve(results);
48511
48524
  }
48512
- function render(win, opts, results, resolve) {
48513
- if (!process.__stencilErrors) {
48525
+ async function render(win, opts, results) {
48526
+ if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
48514
48527
  process.__stencilErrors = true;
48515
48528
  process.on("unhandledRejection", (e) => {
48516
48529
  console.log("unhandledRejection", e);
48517
48530
  });
48518
48531
  }
48519
48532
  initializeWindow(win, win.document, opts, results);
48520
- if (typeof opts.beforeHydrate === "function") {
48521
- try {
48522
- const rtn = opts.beforeHydrate(win.document);
48523
- if (isPromise(rtn)) {
48524
- rtn.then(() => {
48525
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48526
- });
48527
- } else {
48528
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48529
- }
48530
- } catch (e) {
48531
- renderCatchError(results, e);
48532
- finalizeHydrate(win, win.document, opts, results, resolve);
48533
- }
48534
- } else {
48535
- hydrateFactory(win, opts, results, afterHydrate, resolve);
48533
+ const beforeHydrateFn = typeof opts.beforeHydrate === "function" ? opts.beforeHydrate(win.document) : NOOP;
48534
+ try {
48535
+ await Promise.resolve(beforeHydrateFn(win.document));
48536
+ return new Promise((resolve) => hydrateFactory(win, opts, results, afterHydrate, resolve));
48537
+ } catch (e) {
48538
+ renderCatchError(results, e);
48539
+ return finalizeHydrate(win, win.document, opts, results);
48536
48540
  }
48537
48541
  }
48538
- function afterHydrate(win, opts, results, resolve) {
48539
- if (typeof opts.afterHydrate === "function") {
48540
- try {
48541
- const rtn = opts.afterHydrate(win.document);
48542
- if (isPromise(rtn)) {
48543
- rtn.then(() => {
48544
- finalizeHydrate(win, win.document, opts, results, resolve);
48545
- });
48546
- } else {
48547
- finalizeHydrate(win, win.document, opts, results, resolve);
48548
- }
48549
- } catch (e) {
48550
- renderCatchError(results, e);
48551
- finalizeHydrate(win, win.document, opts, results, resolve);
48552
- }
48553
- } else {
48554
- finalizeHydrate(win, win.document, opts, results, resolve);
48542
+ function renderStream(win, opts, results) {
48543
+ async function* processRender() {
48544
+ const renderResult = await render(win, opts, results);
48545
+ yield renderResult.html;
48555
48546
  }
48547
+ return stream.Readable.from(processRender());
48556
48548
  }
48557
- function finalizeHydrate(win, doc, opts, results, resolve) {
48549
+ async function afterHydrate(win, opts, results, resolve) {
48550
+ const afterHydrateFn = typeof opts.afterHydrate === "function" ? opts.afterHydrate(win.document) : NOOP;
48551
+ try {
48552
+ await Promise.resolve(afterHydrateFn(win.document));
48553
+ return resolve(finalizeHydrate(win, win.document, opts, results));
48554
+ } catch (e) {
48555
+ renderCatchError(results, e);
48556
+ return resolve(finalizeHydrate(win, win.document, opts, results));
48557
+ }
48558
+ }
48559
+ function finalizeHydrate(win, doc, opts, results) {
48558
48560
  try {
48559
48561
  inspectElement(results, doc.documentElement, 0);
48560
48562
  if (opts.removeUnusedStyles !== false) {
@@ -48606,20 +48608,24 @@ function finalizeHydrate(win, doc, opts, results, resolve) {
48606
48608
  } catch (e) {
48607
48609
  renderCatchError(results, e);
48608
48610
  }
48609
- if (opts.destroyWindow) {
48610
- try {
48611
- if (!opts.destroyDocument) {
48612
- win.document = null;
48613
- doc.defaultView = null;
48614
- }
48615
- if (win.close) {
48616
- win.close();
48617
- }
48618
- } catch (e) {
48619
- renderCatchError(results, e);
48611
+ destroyWindow(win, doc, opts, results);
48612
+ return results;
48613
+ }
48614
+ function destroyWindow(win, doc, opts, results) {
48615
+ if (!opts.destroyWindow) {
48616
+ return;
48617
+ }
48618
+ try {
48619
+ if (!opts.destroyDocument) {
48620
+ win.document = null;
48621
+ doc.defaultView = null;
48622
+ }
48623
+ if (win.close) {
48624
+ win.close();
48620
48625
  }
48626
+ } catch (e) {
48627
+ renderCatchError(results, e);
48621
48628
  }
48622
- resolve(results);
48623
48629
  }
48624
48630
  function serializeDocumentToString(doc, opts) {
48625
48631
  return serializeNodeToHtml(doc, {
@@ -48630,7 +48636,8 @@ function serializeDocumentToString(doc, opts) {
48630
48636
  removeBooleanAttributeQuotes: opts.removeBooleanAttributeQuotes,
48631
48637
  removeEmptyAttributes: opts.removeEmptyAttributes,
48632
48638
  removeHtmlComments: opts.removeHtmlComments,
48633
- serializeShadowRoot: false
48639
+ serializeShadowRoot: opts.serializeShadowRoot,
48640
+ fullDocument: opts.fullDocument
48634
48641
  });
48635
48642
  }
48636
48643
  function isValidDocument(doc) {
@@ -48651,3 +48658,4 @@ exports.createWindowFromHtml = createWindowFromHtml;
48651
48658
  exports.hydrateDocument = hydrateDocument;
48652
48659
  exports.renderToString = renderToString;
48653
48660
  exports.serializeDocumentToString = serializeDocumentToString;
48661
+ exports.streamToString = streamToString;