@ionic/core 8.2.3-nightly.20240626 → 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.
- package/components/item.js +3 -3
- package/dist/cjs/{app-globals-64aa7919.js → app-globals-fa7f31d6.js} +1 -1
- package/dist/cjs/{button-active-b75108e6.js → button-active-24593fe7.js} +1 -1
- package/dist/cjs/{hardware-back-button-9931602c.js → hardware-back-button-afaf185c.js} +2 -2
- package/dist/cjs/{index-63e64bb7.js → index-28e4e7aa.js} +2 -2
- package/dist/cjs/{index-7f6ce0b7.js → index-cbd1dbd9.js} +185 -170
- package/dist/cjs/{index-8a653282.js → index-e2659e6c.js} +4 -4
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-46459c38.js → ionic-global-965d38d0.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-d94b6863.js → ios.transition-6e9c7e9b.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-297be114.js → md.transition-a9d8f0eb.js} +3 -3
- package/dist/cjs/{overlays-569f7878.js → overlays-cc4ac193.js} +2 -2
- package/dist/cjs/{status-tap-607c6244.js → status-tap-f0912d4a.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/docs.json +3 -3
- package/dist/esm/{app-globals-232dc3ed.js → app-globals-a53a506f.js} +1 -1
- package/dist/esm/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +2 -2
- package/dist/esm/{index-c8c3afda.js → index-1d0629cf.js} +2 -2
- package/dist/esm/{index-92f14156.js → index-2f8c4022.js} +4 -4
- package/dist/esm/{index-c71c5417.js → index-e06ef154.js} +185 -170
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +6 -6
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +3 -3
- package/dist/esm/{overlays-0d212972.js → overlays-6e1a7f53.js} +2 -2
- package/dist/esm/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
- package/dist/esm-es5/app-globals-a53a506f.js +4 -0
- package/dist/esm-es5/{button-active-f7898f4b.js → button-active-ff6f2f4b.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-7f93f261.js → hardware-back-button-fb02649b.js} +1 -1
- package/dist/esm-es5/{index-c8c3afda.js → index-1d0629cf.js} +1 -1
- package/dist/esm-es5/{index-92f14156.js → index-2f8c4022.js} +1 -1
- package/dist/esm-es5/index-e06ef154.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-b9c0d1da.js → ionic-global-d92bc7d9.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-2f45f5c1.js → ios.transition-b70d7564.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-6fcc955f.js → md.transition-cd8b30a7.js} +1 -1
- package/dist/esm-es5/{overlays-0d212972.js → overlays-6e1a7f53.js} +1 -1
- package/dist/esm-es5/{status-tap-53150009.js → status-tap-89432b2d.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-dbee9e95.system.entry.js → p-032df8ba.system.entry.js} +1 -1
- package/dist/ionic/{p-94c6f6ab.system.entry.js → p-05cc8aee.system.entry.js} +1 -1
- package/dist/ionic/{p-18fd2107.entry.js → p-06ebecaf.entry.js} +1 -1
- package/dist/ionic/{p-266db4b6.entry.js → p-083bbf52.entry.js} +1 -1
- package/dist/ionic/{p-3a0091c2.system.entry.js → p-0be9ba18.system.entry.js} +1 -1
- package/dist/ionic/{p-943bc98f.system.entry.js → p-0ddd9286.system.entry.js} +1 -1
- package/dist/ionic/{p-e12d7323.entry.js → p-12292d37.entry.js} +1 -1
- package/dist/ionic/{p-6c76eff8.system.entry.js → p-127dfa94.system.entry.js} +2 -2
- package/dist/ionic/{p-b1e856df.entry.js → p-1304b2f4.entry.js} +1 -1
- package/dist/ionic/{p-d7b97091.entry.js → p-144b1092.entry.js} +1 -1
- package/dist/ionic/{p-705c21cb.system.entry.js → p-14b28c4d.system.entry.js} +1 -1
- package/dist/ionic/{p-a688052d.system.js → p-187ca590.system.js} +1 -1
- package/dist/ionic/{p-65fd47cb.system.entry.js → p-1bb21eb2.system.entry.js} +2 -2
- package/dist/ionic/{p-bbc5329a.system.entry.js → p-1c9205c6.system.entry.js} +1 -1
- package/dist/ionic/{p-624e1ca6.system.js → p-1df99167.system.js} +1 -1
- package/dist/ionic/{p-ed72bc6c.system.entry.js → p-1e9bc4e0.system.entry.js} +1 -1
- package/dist/ionic/{p-00333e13.js → p-200c7b0a.js} +1 -1
- package/dist/ionic/{p-5f2dc7f9.entry.js → p-21c31c91.entry.js} +1 -1
- package/dist/ionic/{p-796cfde4.entry.js → p-2212b3dd.entry.js} +1 -1
- package/dist/ionic/{p-98f199c6.system.entry.js → p-251e35bf.system.entry.js} +1 -1
- package/dist/ionic/{p-66621486.system.entry.js → p-29e70980.system.entry.js} +1 -1
- package/dist/ionic/{p-733db888.entry.js → p-2b50ae21.entry.js} +1 -1
- package/dist/ionic/{p-df3ebee9.system.entry.js → p-2f51a59e.system.entry.js} +1 -1
- package/dist/ionic/{p-ab27a195.system.entry.js → p-3251f335.system.entry.js} +1 -1
- package/dist/ionic/{p-2b13fb8c.entry.js → p-3289aa03.entry.js} +1 -1
- package/dist/ionic/{p-d820d1f1.entry.js → p-368bd8e0.entry.js} +1 -1
- package/dist/ionic/{p-3c1b674f.entry.js → p-36d47091.entry.js} +1 -1
- package/dist/ionic/{p-eaed7394.entry.js → p-38857824.entry.js} +1 -1
- package/dist/ionic/{p-60eb4c0d.system.entry.js → p-3b3d4722.system.entry.js} +1 -1
- package/dist/ionic/{p-1a0848af.system.entry.js → p-3fc4ade9.system.entry.js} +1 -1
- package/dist/ionic/{p-fa2abaef.entry.js → p-46453157.entry.js} +1 -1
- package/dist/ionic/{p-75cb6744.system.js → p-4a56ed61.system.js} +1 -1
- package/dist/ionic/{p-05bbe79d.entry.js → p-4b9f2be3.entry.js} +1 -1
- package/dist/ionic/{p-d2293261.system.entry.js → p-4e71d73a.system.entry.js} +1 -1
- package/dist/ionic/{p-184fc032.system.js → p-504b58cb.system.js} +1 -1
- package/dist/ionic/{p-cdddc32e.entry.js → p-5172d29f.entry.js} +1 -1
- package/dist/ionic/{p-646d46b1.entry.js → p-541189ff.entry.js} +1 -1
- package/dist/ionic/{p-e4587da1.js → p-571b616a.js} +1 -1
- package/dist/ionic/p-597849ee.entry.js +4 -0
- package/dist/ionic/p-59da9e8c.entry.js +4 -0
- package/dist/ionic/p-5cf05ae4.system.js +4 -0
- package/dist/ionic/{p-e08fb9c2.system.entry.js → p-5d030f7f.system.entry.js} +1 -1
- package/dist/ionic/{p-6ee1e402.system.js → p-619129e1.system.js} +1 -1
- package/dist/ionic/{p-8d3e57a0.system.entry.js → p-635c947e.system.entry.js} +1 -1
- package/dist/ionic/{p-4d6b6aef.system.entry.js → p-63ad45da.system.entry.js} +1 -1
- package/dist/ionic/{p-1731ab58.system.entry.js → p-646ecffd.system.entry.js} +1 -1
- package/dist/ionic/{p-52df00b5.entry.js → p-64c31fa6.entry.js} +1 -1
- package/dist/ionic/{p-64e15640.system.entry.js → p-660aa713.system.entry.js} +1 -1
- package/dist/ionic/{p-1cebad78.system.entry.js → p-6621dd27.system.entry.js} +1 -1
- package/dist/ionic/{p-4f610234.entry.js → p-662a0f75.entry.js} +1 -1
- package/dist/ionic/{p-5b121ea3.system.entry.js → p-6859acef.system.entry.js} +1 -1
- package/dist/ionic/{p-da0001cd.system.entry.js → p-704d249b.system.entry.js} +1 -1
- package/dist/ionic/{p-f3ff1e58.entry.js → p-712f4ef9.entry.js} +1 -1
- package/dist/ionic/{p-1e2b2b60.entry.js → p-71d0f3b5.entry.js} +1 -1
- package/dist/ionic/{p-4d7ab66a.system.entry.js → p-724156b4.system.entry.js} +1 -1
- package/dist/ionic/{p-d2753e35.js → p-72a09ad4.js} +1 -1
- package/dist/ionic/{p-ef1c5743.entry.js → p-751d9583.entry.js} +1 -1
- package/dist/ionic/{p-a3aaeca8.system.entry.js → p-7708f99f.system.entry.js} +1 -1
- package/dist/ionic/{p-ac34105e.entry.js → p-77a18aee.entry.js} +1 -1
- package/dist/ionic/{p-5bbd2b10.entry.js → p-77db4711.entry.js} +1 -1
- package/dist/ionic/{p-ccab4d05.system.entry.js → p-78b156e3.system.entry.js} +1 -1
- package/dist/ionic/{p-418ad596.entry.js → p-7975ca12.entry.js} +1 -1
- package/dist/ionic/{p-c5477854.system.entry.js → p-7e1e459c.system.entry.js} +1 -1
- package/dist/ionic/{p-af9d3f33.entry.js → p-8211deec.entry.js} +1 -1
- package/dist/ionic/{p-8ee5c5bf.js → p-84fabe48.js} +1 -1
- package/dist/ionic/{p-b6fe4a42.entry.js → p-86b152cd.entry.js} +1 -1
- package/dist/ionic/{p-f181073a.entry.js → p-880030e5.entry.js} +1 -1
- package/dist/ionic/{p-c91c13d2.js → p-8bbc2e78.js} +1 -1
- package/dist/ionic/{p-68f01c55.system.entry.js → p-8c4a8b15.system.entry.js} +1 -1
- package/dist/ionic/{p-5d6e77bd.system.entry.js → p-8cb94ab0.system.entry.js} +1 -1
- package/dist/ionic/{p-38c67b66.system.entry.js → p-8d781910.system.entry.js} +1 -1
- package/dist/ionic/{p-0769896d.system.entry.js → p-8fb9a997.system.entry.js} +1 -1
- package/dist/ionic/{p-6ad705f8.system.js → p-98701ffb.system.js} +1 -1
- package/dist/ionic/{p-6167004c.system.entry.js → p-9b0315b8.system.entry.js} +1 -1
- package/dist/ionic/{p-13260c59.entry.js → p-9c328f29.entry.js} +1 -1
- package/dist/ionic/{p-c1859486.system.js → p-9f25dac5.system.js} +1 -1
- package/dist/ionic/{p-3886b5d0.entry.js → p-9f66851e.entry.js} +1 -1
- package/dist/ionic/{p-eb8098d5.system.entry.js → p-a13d5fdc.system.entry.js} +1 -1
- package/dist/ionic/p-a29432a7.system.js +5 -0
- package/dist/ionic/p-a4869688.js +4 -0
- package/dist/ionic/{p-3ea44c31.system.entry.js → p-a5b7a083.system.entry.js} +1 -1
- package/dist/ionic/{p-e6a47e94.entry.js → p-a790dcd8.entry.js} +1 -1
- package/dist/ionic/{p-1de7f9e4.entry.js → p-ab11f574.entry.js} +1 -1
- package/dist/ionic/{p-68e5bec9.system.entry.js → p-af19e2b0.system.entry.js} +1 -1
- package/dist/ionic/{p-617caf82.entry.js → p-af4e7c44.entry.js} +1 -1
- package/dist/ionic/{p-9f5f3485.js → p-b27b19c5.js} +1 -1
- package/dist/ionic/p-b5feddc3.js +5 -0
- package/dist/ionic/{p-72ee2cd6.entry.js → p-bf602e15.entry.js} +1 -1
- package/dist/ionic/p-c0b66c05.entry.js +4 -0
- package/dist/ionic/{p-9690c79d.system.entry.js → p-c22a5a42.system.entry.js} +1 -1
- package/dist/ionic/{p-7a86bd75.js → p-c5904db9.js} +1 -1
- package/dist/ionic/{p-b9fcfe50.system.js → p-ca09cfeb.system.js} +1 -1
- package/dist/ionic/{p-9286b16d.system.entry.js → p-ca370b5c.system.entry.js} +1 -1
- package/dist/ionic/{p-666583e1.system.entry.js → p-cc5d299d.system.entry.js} +1 -1
- package/dist/ionic/{p-5c22c8fa.system.js → p-cf0cb1fe.system.js} +1 -1
- package/dist/ionic/{p-17c10451.system.entry.js → p-d043806a.system.entry.js} +1 -1
- package/dist/ionic/{p-13d3abce.system.entry.js → p-d3a59491.system.entry.js} +1 -1
- package/dist/ionic/{p-d2db72d1.entry.js → p-d82e2857.entry.js} +1 -1
- package/dist/ionic/{p-c350c8f8.system.entry.js → p-dd0f72f1.system.entry.js} +1 -1
- package/dist/ionic/{p-6cf5d476.system.js → p-e0c85680.system.js} +1 -1
- package/dist/ionic/{p-56cb7d41.entry.js → p-e1693e82.entry.js} +1 -1
- package/dist/ionic/{p-d5f62e4e.entry.js → p-e1accd5b.entry.js} +1 -1
- package/dist/ionic/{p-3dba7283.entry.js → p-e3407e40.entry.js} +1 -1
- package/dist/ionic/{p-738cb3bd.entry.js → p-e43c3327.entry.js} +1 -1
- package/dist/ionic/{p-cb5d9dd4.entry.js → p-e549747a.entry.js} +1 -1
- package/dist/ionic/{p-ecf5f3e0.entry.js → p-e6114d2e.entry.js} +1 -1
- package/dist/ionic/{p-591528fc.entry.js → p-e72ce03d.entry.js} +1 -1
- package/dist/ionic/{p-b7fa6074.js → p-e7a7a142.js} +1 -1
- package/dist/ionic/{p-4c3d1c73.entry.js → p-e8a328c9.entry.js} +1 -1
- package/dist/ionic/{p-a07f9cb7.system.entry.js → p-e8fd9c89.system.entry.js} +1 -1
- package/dist/ionic/{p-f52c2d9a.entry.js → p-e97b8dc6.entry.js} +1 -1
- package/dist/ionic/{p-7a43878b.system.js → p-f2103451.system.js} +1 -1
- package/dist/ionic/{p-2e7673a0.system.entry.js → p-f3bbe501.system.entry.js} +1 -1
- package/dist/ionic/{p-395a0dd7.js → p-f5d40d6e.js} +1 -1
- package/dist/ionic/{p-26e469a2.system.entry.js → p-f7508243.system.entry.js} +1 -1
- package/dist/ionic/{p-ea4f2b31.entry.js → p-f7f0eb36.entry.js} +1 -1
- package/dist/ionic/{p-d9e26540.system.entry.js → p-f85fc0e3.system.entry.js} +1 -1
- package/dist/ionic/{p-94953ea1.system.entry.js → p-fa058cd0.system.entry.js} +1 -1
- package/dist/ionic/{p-7f84a4c8.system.entry.js → p-fd108dce.system.entry.js} +1 -1
- package/dist/ionic/{p-d529141b.entry.js → p-feb153ae.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/hydrate/index.d.ts +29 -11
- package/hydrate/index.js +306 -298
- package/hydrate/index.mjs +48653 -0
- package/hydrate/package.json +7 -1
- package/loader/index.d.ts +3 -0
- package/package.json +2 -2
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
- package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
- package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
- package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
- package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
- package/dist/collection/components/alert/test/alert.spec.js +0 -37
- package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
- package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
- package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
- package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
- package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
- package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
- package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
- package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
- package/dist/collection/components/button/test/clear/button.e2e.js +0 -14
- package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
- package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
- package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
- package/dist/collection/components/button/test/outline/button.e2e.js +0 -14
- package/dist/collection/components/button/test/round/button.e2e.js +0 -52
- package/dist/collection/components/button/test/size/button.e2e.js +0 -43
- package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
- package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
- package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
- package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
- package/dist/collection/components/card/test/aria.spec.js +0 -16
- package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -87
- package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -37
- package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
- package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
- package/dist/collection/components/chip/test/states/chip.e2e.js +0 -35
- package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
- package/dist/collection/components/content/test/content.spec.js +0 -27
- package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
- package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
- package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
- package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
- package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
- package/dist/collection/components/datetime/test/data.spec.js +0 -456
- package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
- package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
- package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
- package/dist/collection/components/datetime/test/format.spec.js +0 -174
- package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
- package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
- package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
- package/dist/collection/components/datetime/test/parse.spec.js +0 -222
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
- package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
- package/dist/collection/components/datetime/test/state.spec.js +0 -114
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
- package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
- package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
- package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
- package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
- package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
- package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
- package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
- package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
- package/dist/collection/components/header/test/basic/header.e2e.js +0 -147
- package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
- package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
- package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
- package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
- package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
- package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
- package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
- package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
- package/dist/collection/components/input/test/basic/input.e2e.js +0 -102
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -145
- package/dist/collection/components/input/test/card/input.e2e.js +0 -22
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
- package/dist/collection/components/input/test/color/input.e2e.js +0 -130
- package/dist/collection/components/input/test/fill/input.e2e.js +0 -203
- package/dist/collection/components/input/test/highlight/input.e2e.js +0 -300
- package/dist/collection/components/input/test/input.e2e.js +0 -17
- package/dist/collection/components/input/test/input.spec.js +0 -98
- package/dist/collection/components/input/test/item/input.e2e.js +0 -64
- package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
- package/dist/collection/components/input/test/slot/input.e2e.js +0 -63
- package/dist/collection/components/input/test/states/input.e2e.js +0 -23
- package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
- package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
- package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
- package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
- package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
- package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
- package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
- package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
- package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
- package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
- package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
- package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
- package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
- package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
- package/dist/collection/components/item/test/images/item.e2e.js +0 -14
- package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
- package/dist/collection/components/item/test/item.spec.js +0 -20
- package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
- package/dist/collection/components/item/test/media/item.e2e.js +0 -14
- package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
- package/dist/collection/components/item/test/states/item.e2e.js +0 -17
- package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
- package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
- package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
- package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
- package/dist/collection/components/label/test/color/label.e2e.js +0 -39
- package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
- package/dist/collection/components/label/test/item/item.e2e.js +0 -24
- package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
- package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
- package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
- package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
- package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
- package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
- package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
- package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
- package/dist/collection/components/loading/test/loading.spec.js +0 -37
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
- package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
- package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
- package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
- package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
- package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
- package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
- package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
- package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
- package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
- package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
- package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
- package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
- package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
- package/dist/collection/components/modal/utils.spec.js +0 -13
- package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
- package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
- package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
- package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
- package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
- package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
- package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
- package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
- package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
- package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
- package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
- package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
- package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
- package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
- package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
- package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
- package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
- package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
- package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
- package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
- package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
- package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
- package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
- package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
- package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
- package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
- package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
- package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
- package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
- package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
- package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
- package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
- package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
- package/dist/collection/components/popover/test/util.spec.js +0 -53
- package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
- package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
- package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
- package/dist/collection/components/radio/test/radio.spec.js +0 -60
- package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
- package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
- package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
- package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
- package/dist/collection/components/range/test/color/range.e2e.js +0 -20
- package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
- package/dist/collection/components/range/test/item/range.e2e.js +0 -70
- package/dist/collection/components/range/test/label/range.e2e.js +0 -179
- package/dist/collection/components/range/test/label/range.spec.js +0 -47
- package/dist/collection/components/range/test/range-events.e2e.js +0 -179
- package/dist/collection/components/range/test/range.spec.js +0 -209
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
- package/dist/collection/components/range/test/states/range.e2e.js +0 -53
- package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +0 -77
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
- package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
- package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
- package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
- package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
- package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
- package/dist/collection/components/router/test/matching.spec.js +0 -250
- package/dist/collection/components/router/test/parser.spec.js +0 -133
- package/dist/collection/components/router/test/path.spec.js +0 -218
- package/dist/collection/components/router/test/router.spec.js +0 -55
- package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
- package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
- package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
- package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
- package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
- package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
- package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
- package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
- package/dist/collection/components/segment/test/segment.spec.js +0 -37
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
- package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
- package/dist/collection/components/select/test/async/select.e2e.js +0 -25
- package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
- package/dist/collection/components/select/test/card/select.e2e.js +0 -22
- package/dist/collection/components/select/test/color/select.e2e.js +0 -42
- package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
- package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
- package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
- package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
- package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
- package/dist/collection/components/select/test/item/select.e2e.js +0 -56
- package/dist/collection/components/select/test/label/select.e2e.js +0 -245
- package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
- package/dist/collection/components/select/test/select.spec.js +0 -96
- package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
- package/dist/collection/components/select/test/states/select.e2e.js +0 -41
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
- package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
- package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
- package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
- package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
- package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -43
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
- package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
- package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
- package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
- package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
- package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
- package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
- package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
- package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
- package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
- package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
- package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
- package/dist/collection/components/toast/test/toast.spec.js +0 -212
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
- package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
- package/dist/collection/css/test/a11y/typography.e2e.js +0 -50
- package/dist/collection/global/test/config-controller.spec.js +0 -85
- package/dist/collection/themes/test/colors/theme.e2e.js +0 -170
- package/dist/collection/utils/animation/test/animation.spec.js +0 -358
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
- package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
- package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
- package/dist/collection/utils/content/content.utils.spec.js +0 -137
- package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
- package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
- package/dist/collection/utils/helpers.spec.js +0 -36
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
- package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
- package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
- package/dist/collection/utils/rtl/dir.spec.js +0 -25
- package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
- package/dist/collection/utils/test/attributes.spec.js +0 -53
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
- package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
- package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
- package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
- package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
- package/dist/collection/utils/test/platform.spec.js +0 -132
- package/dist/collection/utils/test/ready.spec.js +0 -39
- package/dist/collection/utils/test/theme.spec.js +0 -56
- package/dist/esm-es5/app-globals-232dc3ed.js +0 -4
- package/dist/esm-es5/index-c71c5417.js +0 -5
- package/dist/ionic/p-3b199ab6.entry.js +0 -4
- package/dist/ionic/p-44c6eb74.js +0 -4
- package/dist/ionic/p-6017cbeb.system.js +0 -4
- package/dist/ionic/p-99a4d7c7.system.js +0 -5
- package/dist/ionic/p-df4bdf05.entry.js +0 -4
- package/dist/ionic/p-e6964b3a.js +0 -5
- 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.
|
|
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 =
|
|
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 (
|
|
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 =
|
|
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)
|
|
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((
|
|
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
|
|
1655
|
-
if (typeof style
|
|
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.
|
|
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(
|
|
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, ...
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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: '
|
|
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: '
|
|
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": [
|
|
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.
|
|
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
|
|
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
|
-
|
|
43576
|
-
|
|
43577
|
-
|
|
43578
|
-
|
|
43579
|
-
|
|
43580
|
-
|
|
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
|
|
43634
|
+
return renderedNode.trim();
|
|
43624
43635
|
}
|
|
43625
|
-
|
|
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 ?
|
|
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
|
-
|
|
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
|
-
|
|
43654
|
+
yield " ";
|
|
43642
43655
|
}
|
|
43643
43656
|
output.currentLineWidth += output.indent;
|
|
43644
43657
|
}
|
|
43645
|
-
|
|
43646
|
-
|
|
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
|
-
|
|
43682
|
+
yield "\n" + attrName;
|
|
43664
43683
|
output.currentLineWidth = 0;
|
|
43665
43684
|
} else {
|
|
43666
|
-
|
|
43685
|
+
yield " " + attrName;
|
|
43667
43686
|
}
|
|
43668
43687
|
} else if (attrNamespaceURI === "http://www.w3.org/XML/1998/namespace") {
|
|
43669
|
-
|
|
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
|
-
|
|
43692
|
+
yield " xmlns:" + attrName;
|
|
43674
43693
|
output.currentLineWidth += attrName.length + 7;
|
|
43675
43694
|
} else {
|
|
43676
|
-
|
|
43695
|
+
yield " " + attrName;
|
|
43677
43696
|
output.currentLineWidth += attrName.length + 1;
|
|
43678
43697
|
}
|
|
43679
43698
|
} else if (attrNamespaceURI === XLINK_NS) {
|
|
43680
|
-
|
|
43699
|
+
yield " xlink:" + attrName;
|
|
43681
43700
|
output.currentLineWidth += attrName.length + 7;
|
|
43682
43701
|
} else {
|
|
43683
|
-
|
|
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
|
-
|
|
43717
|
+
yield "=" + escapeString(attrValue, true);
|
|
43699
43718
|
output.currentLineWidth += attrValue.length + 1;
|
|
43700
43719
|
} else {
|
|
43701
|
-
|
|
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
|
-
|
|
43709
|
-
style="${cssText}"
|
|
43727
|
+
yield `
|
|
43728
|
+
style="${cssText}">`;
|
|
43710
43729
|
output.currentLineWidth = 0;
|
|
43711
43730
|
} else {
|
|
43712
|
-
|
|
43731
|
+
yield ` style="${cssText}">`;
|
|
43713
43732
|
output.currentLineWidth += cssText.length + 10;
|
|
43714
43733
|
}
|
|
43715
43734
|
} else {
|
|
43716
|
-
|
|
43735
|
+
yield ">";
|
|
43717
43736
|
output.currentLineWidth += 1;
|
|
43718
43737
|
}
|
|
43719
43738
|
}
|
|
43720
43739
|
if (EMPTY_ELEMENTS.has(tagName) === false) {
|
|
43721
|
-
|
|
43740
|
+
const shadowRoot = node.shadowRoot;
|
|
43741
|
+
if (opts.serializeShadowRoot && shadowRoot != null) {
|
|
43722
43742
|
output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
|
|
43723
|
-
|
|
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
|
-
|
|
43746
|
+
yield "\n";
|
|
43727
43747
|
output.currentLineWidth = 0;
|
|
43728
43748
|
for (let i = 0; i < output.indent; i++) {
|
|
43729
|
-
|
|
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
|
-
|
|
43766
|
+
yield* streamToHtml(childNodes[i], opts, output);
|
|
43746
43767
|
}
|
|
43747
43768
|
if (ignoreTag === false) {
|
|
43748
43769
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
43749
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43764
|
-
output.currentLineWidth +=
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43808
|
+
yield "\n";
|
|
43788
43809
|
output.currentLineWidth = 0;
|
|
43789
43810
|
} else {
|
|
43790
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43831
|
+
yield textContent;
|
|
43811
43832
|
} else {
|
|
43812
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43849
|
-
|
|
43850
|
-
|
|
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
|
-
|
|
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
|
-
|
|
43880
|
+
yield " ";
|
|
43862
43881
|
}
|
|
43863
43882
|
output.currentLineWidth += output.indent;
|
|
43864
43883
|
}
|
|
43865
|
-
|
|
43866
|
-
|
|
43884
|
+
yield "<!--" + nodeValue + "-->";
|
|
43885
|
+
if (nodeValue) {
|
|
43886
|
+
output.currentLineWidth += nodeValue.length + 7;
|
|
43887
|
+
}
|
|
43867
43888
|
} else if (node.nodeType === 10 /* DOCUMENT_TYPE_NODE */) {
|
|
43868
|
-
|
|
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
|
|
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
|
-
["
|
|
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
|
-
|
|
46565
|
-
|
|
46566
|
-
|
|
46567
|
-
|
|
46568
|
-
|
|
46569
|
-
|
|
46570
|
-
|
|
46571
|
-
|
|
46572
|
-
|
|
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
|
-
|
|
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
|
-
|
|
46589
|
-
|
|
46590
|
-
|
|
46591
|
-
|
|
46592
|
-
|
|
46593
|
-
|
|
46594
|
-
|
|
46595
|
-
|
|
46596
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
48378
|
-
|
|
48379
|
-
|
|
48380
|
-
|
|
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
|
-
|
|
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
|
-
|
|
48434
|
-
|
|
48435
|
-
|
|
48436
|
-
|
|
48437
|
-
|
|
48438
|
-
|
|
48439
|
-
|
|
48440
|
-
|
|
48441
|
-
|
|
48442
|
-
|
|
48443
|
-
|
|
48444
|
-
|
|
48445
|
-
|
|
48446
|
-
|
|
48447
|
-
|
|
48448
|
-
|
|
48449
|
-
|
|
48450
|
-
|
|
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
|
-
|
|
48453
|
-
|
|
48454
|
-
|
|
48455
|
-
win
|
|
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
|
-
|
|
48466
|
-
|
|
48467
|
-
resolve(results);
|
|
48500
|
+
win = null;
|
|
48501
|
+
renderCatchError(results, e);
|
|
48502
|
+
return Promise.resolve(results);
|
|
48468
48503
|
}
|
|
48469
|
-
}
|
|
48470
|
-
|
|
48471
|
-
|
|
48472
|
-
|
|
48473
|
-
|
|
48474
|
-
|
|
48475
|
-
|
|
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
|
-
|
|
48494
|
-
|
|
48495
|
-
|
|
48496
|
-
win
|
|
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
|
-
|
|
48507
|
-
|
|
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
|
|
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
|
-
|
|
48521
|
-
|
|
48522
|
-
|
|
48523
|
-
|
|
48524
|
-
|
|
48525
|
-
|
|
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
|
|
48539
|
-
|
|
48540
|
-
|
|
48541
|
-
|
|
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
|
|
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
|
-
|
|
48610
|
-
|
|
48611
|
-
|
|
48612
|
-
|
|
48613
|
-
|
|
48614
|
-
|
|
48615
|
-
|
|
48616
|
-
|
|
48617
|
-
|
|
48618
|
-
|
|
48619
|
-
|
|
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:
|
|
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;
|